adata-ui 0.1.12 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adata-ui.common.js +1886 -34
- package/dist/adata-ui.common.js.map +1 -1
- package/dist/adata-ui.css +1 -1
- package/dist/adata-ui.umd.js +1886 -34
- package/dist/adata-ui.umd.js.map +1 -1
- package/dist/adata-ui.umd.min.js +1 -1
- package/dist/adata-ui.umd.min.js.map +1 -1
- package/package-lock.json +1065 -136
- package/package.json +3 -1
- package/public/index.html +2 -2
- package/public/logo.svg +4 -0
- package/src/components/Alert/Alert.stories.js +5 -5
- package/src/components/Button/Button.stories.js +6 -6
- package/src/components/Footer/Footer.stories.js +5 -5
- package/src/components/Footer/Footer.vue +5 -5
- package/src/components/Header/Header.stories.js +8 -7
- package/src/components/Header/Header.vue +9 -8
- package/src/components/Header/Profile.vue +29 -8
- package/src/components/Introduction.stories.mdx +7 -0
- package/src/components/PasswordField/PasswordField.stories.js +5 -5
- package/src/components/TextField/TextField.stories.js +5 -5
- package/src/stories/Button.stories.js +0 -46
- package/src/stories/Button.vue +0 -54
- package/src/stories/Header.stories.js +0 -21
- package/src/stories/Header.vue +0 -59
- package/src/stories/Introduction.stories.mdx +0 -211
- package/src/stories/Page.stories.js +0 -25
- package/src/stories/Page.vue +0 -88
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/button.css +0 -30
- package/src/stories/header.css +0 -26
- package/src/stories/page.css +0 -69
package/dist/adata-ui.common.js
CHANGED
|
@@ -144,6 +144,36 @@ test[TO_STRING_TAG] = 'z';
|
|
|
144
144
|
module.exports = String(test) === '[object z]';
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
/***/ }),
|
|
148
|
+
|
|
149
|
+
/***/ "01b4":
|
|
150
|
+
/***/ (function(module, exports) {
|
|
151
|
+
|
|
152
|
+
var Queue = function () {
|
|
153
|
+
this.head = null;
|
|
154
|
+
this.tail = null;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
Queue.prototype = {
|
|
158
|
+
add: function (item) {
|
|
159
|
+
var entry = { item: item, next: null };
|
|
160
|
+
if (this.head) this.tail.next = entry;
|
|
161
|
+
else this.head = entry;
|
|
162
|
+
this.tail = entry;
|
|
163
|
+
},
|
|
164
|
+
get: function () {
|
|
165
|
+
var entry = this.head;
|
|
166
|
+
if (entry) {
|
|
167
|
+
this.head = entry.next;
|
|
168
|
+
if (this.tail === entry) this.tail = null;
|
|
169
|
+
return entry.item;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
module.exports = Queue;
|
|
175
|
+
|
|
176
|
+
|
|
147
177
|
/***/ }),
|
|
148
178
|
|
|
149
179
|
/***/ "0366":
|
|
@@ -475,6 +505,22 @@ module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
|
475
505
|
} : [].forEach;
|
|
476
506
|
|
|
477
507
|
|
|
508
|
+
/***/ }),
|
|
509
|
+
|
|
510
|
+
/***/ "19aa":
|
|
511
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
512
|
+
|
|
513
|
+
var global = __webpack_require__("da84");
|
|
514
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
515
|
+
|
|
516
|
+
var TypeError = global.TypeError;
|
|
517
|
+
|
|
518
|
+
module.exports = function (it, Prototype) {
|
|
519
|
+
if (isPrototypeOf(Prototype, it)) return it;
|
|
520
|
+
throw TypeError('Incorrect invocation');
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
|
|
478
524
|
/***/ }),
|
|
479
525
|
|
|
480
526
|
/***/ "1a2d":
|
|
@@ -547,6 +593,16 @@ module.exports = function (exec, SKIP_CLOSING) {
|
|
|
547
593
|
};
|
|
548
594
|
|
|
549
595
|
|
|
596
|
+
/***/ }),
|
|
597
|
+
|
|
598
|
+
/***/ "1cdc":
|
|
599
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
600
|
+
|
|
601
|
+
var userAgent = __webpack_require__("342f");
|
|
602
|
+
|
|
603
|
+
module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
|
|
604
|
+
|
|
605
|
+
|
|
550
606
|
/***/ }),
|
|
551
607
|
|
|
552
608
|
/***/ "1d80":
|
|
@@ -590,6 +646,79 @@ module.exports = function (METHOD_NAME) {
|
|
|
590
646
|
};
|
|
591
647
|
|
|
592
648
|
|
|
649
|
+
/***/ }),
|
|
650
|
+
|
|
651
|
+
/***/ "2266":
|
|
652
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
653
|
+
|
|
654
|
+
var global = __webpack_require__("da84");
|
|
655
|
+
var bind = __webpack_require__("0366");
|
|
656
|
+
var call = __webpack_require__("c65b");
|
|
657
|
+
var anObject = __webpack_require__("825a");
|
|
658
|
+
var tryToString = __webpack_require__("0d51");
|
|
659
|
+
var isArrayIteratorMethod = __webpack_require__("e95a");
|
|
660
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
661
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
662
|
+
var getIterator = __webpack_require__("9a1f");
|
|
663
|
+
var getIteratorMethod = __webpack_require__("35a1");
|
|
664
|
+
var iteratorClose = __webpack_require__("2a62");
|
|
665
|
+
|
|
666
|
+
var TypeError = global.TypeError;
|
|
667
|
+
|
|
668
|
+
var Result = function (stopped, result) {
|
|
669
|
+
this.stopped = stopped;
|
|
670
|
+
this.result = result;
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
var ResultPrototype = Result.prototype;
|
|
674
|
+
|
|
675
|
+
module.exports = function (iterable, unboundFunction, options) {
|
|
676
|
+
var that = options && options.that;
|
|
677
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
678
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
679
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
680
|
+
var fn = bind(unboundFunction, that);
|
|
681
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
682
|
+
|
|
683
|
+
var stop = function (condition) {
|
|
684
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
685
|
+
return new Result(true, condition);
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
var callFn = function (value) {
|
|
689
|
+
if (AS_ENTRIES) {
|
|
690
|
+
anObject(value);
|
|
691
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
692
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
if (IS_ITERATOR) {
|
|
696
|
+
iterator = iterable;
|
|
697
|
+
} else {
|
|
698
|
+
iterFn = getIteratorMethod(iterable);
|
|
699
|
+
if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');
|
|
700
|
+
// optimisation for array iterators
|
|
701
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
702
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
703
|
+
result = callFn(iterable[index]);
|
|
704
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
705
|
+
} return new Result(false);
|
|
706
|
+
}
|
|
707
|
+
iterator = getIterator(iterable, iterFn);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
next = iterator.next;
|
|
711
|
+
while (!(step = call(next, iterator)).done) {
|
|
712
|
+
try {
|
|
713
|
+
result = callFn(step.value);
|
|
714
|
+
} catch (error) {
|
|
715
|
+
iteratorClose(iterator, 'throw', error);
|
|
716
|
+
}
|
|
717
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
718
|
+
} return new Result(false);
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
|
|
593
722
|
/***/ }),
|
|
594
723
|
|
|
595
724
|
/***/ "23cb":
|
|
@@ -756,6 +885,33 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
756
885
|
}
|
|
757
886
|
|
|
758
887
|
|
|
888
|
+
/***/ }),
|
|
889
|
+
|
|
890
|
+
/***/ "2626":
|
|
891
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
892
|
+
|
|
893
|
+
"use strict";
|
|
894
|
+
|
|
895
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
896
|
+
var definePropertyModule = __webpack_require__("9bf2");
|
|
897
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
898
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
899
|
+
|
|
900
|
+
var SPECIES = wellKnownSymbol('species');
|
|
901
|
+
|
|
902
|
+
module.exports = function (CONSTRUCTOR_NAME) {
|
|
903
|
+
var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
|
|
904
|
+
var defineProperty = definePropertyModule.f;
|
|
905
|
+
|
|
906
|
+
if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
|
|
907
|
+
defineProperty(Constructor, SPECIES, {
|
|
908
|
+
configurable: true,
|
|
909
|
+
get: function () { return this; }
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
|
|
759
915
|
/***/ }),
|
|
760
916
|
|
|
761
917
|
/***/ "2a09":
|
|
@@ -810,6 +966,126 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
810
966
|
});
|
|
811
967
|
|
|
812
968
|
|
|
969
|
+
/***/ }),
|
|
970
|
+
|
|
971
|
+
/***/ "2cf4":
|
|
972
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
973
|
+
|
|
974
|
+
var global = __webpack_require__("da84");
|
|
975
|
+
var apply = __webpack_require__("2ba4");
|
|
976
|
+
var bind = __webpack_require__("0366");
|
|
977
|
+
var isCallable = __webpack_require__("1626");
|
|
978
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
979
|
+
var fails = __webpack_require__("d039");
|
|
980
|
+
var html = __webpack_require__("1be4");
|
|
981
|
+
var arraySlice = __webpack_require__("f36a");
|
|
982
|
+
var createElement = __webpack_require__("cc12");
|
|
983
|
+
var IS_IOS = __webpack_require__("1cdc");
|
|
984
|
+
var IS_NODE = __webpack_require__("605d");
|
|
985
|
+
|
|
986
|
+
var set = global.setImmediate;
|
|
987
|
+
var clear = global.clearImmediate;
|
|
988
|
+
var process = global.process;
|
|
989
|
+
var Dispatch = global.Dispatch;
|
|
990
|
+
var Function = global.Function;
|
|
991
|
+
var MessageChannel = global.MessageChannel;
|
|
992
|
+
var String = global.String;
|
|
993
|
+
var counter = 0;
|
|
994
|
+
var queue = {};
|
|
995
|
+
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
996
|
+
var location, defer, channel, port;
|
|
997
|
+
|
|
998
|
+
try {
|
|
999
|
+
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
1000
|
+
location = global.location;
|
|
1001
|
+
} catch (error) { /* empty */ }
|
|
1002
|
+
|
|
1003
|
+
var run = function (id) {
|
|
1004
|
+
if (hasOwn(queue, id)) {
|
|
1005
|
+
var fn = queue[id];
|
|
1006
|
+
delete queue[id];
|
|
1007
|
+
fn();
|
|
1008
|
+
}
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
var runner = function (id) {
|
|
1012
|
+
return function () {
|
|
1013
|
+
run(id);
|
|
1014
|
+
};
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
|
+
var listener = function (event) {
|
|
1018
|
+
run(event.data);
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
var post = function (id) {
|
|
1022
|
+
// old engines have not location.origin
|
|
1023
|
+
global.postMessage(String(id), location.protocol + '//' + location.host);
|
|
1024
|
+
};
|
|
1025
|
+
|
|
1026
|
+
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
1027
|
+
if (!set || !clear) {
|
|
1028
|
+
set = function setImmediate(fn) {
|
|
1029
|
+
var args = arraySlice(arguments, 1);
|
|
1030
|
+
queue[++counter] = function () {
|
|
1031
|
+
apply(isCallable(fn) ? fn : Function(fn), undefined, args);
|
|
1032
|
+
};
|
|
1033
|
+
defer(counter);
|
|
1034
|
+
return counter;
|
|
1035
|
+
};
|
|
1036
|
+
clear = function clearImmediate(id) {
|
|
1037
|
+
delete queue[id];
|
|
1038
|
+
};
|
|
1039
|
+
// Node.js 0.8-
|
|
1040
|
+
if (IS_NODE) {
|
|
1041
|
+
defer = function (id) {
|
|
1042
|
+
process.nextTick(runner(id));
|
|
1043
|
+
};
|
|
1044
|
+
// Sphere (JS game engine) Dispatch API
|
|
1045
|
+
} else if (Dispatch && Dispatch.now) {
|
|
1046
|
+
defer = function (id) {
|
|
1047
|
+
Dispatch.now(runner(id));
|
|
1048
|
+
};
|
|
1049
|
+
// Browsers with MessageChannel, includes WebWorkers
|
|
1050
|
+
// except iOS - https://github.com/zloirock/core-js/issues/624
|
|
1051
|
+
} else if (MessageChannel && !IS_IOS) {
|
|
1052
|
+
channel = new MessageChannel();
|
|
1053
|
+
port = channel.port2;
|
|
1054
|
+
channel.port1.onmessage = listener;
|
|
1055
|
+
defer = bind(port.postMessage, port);
|
|
1056
|
+
// Browsers with postMessage, skip WebWorkers
|
|
1057
|
+
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
1058
|
+
} else if (
|
|
1059
|
+
global.addEventListener &&
|
|
1060
|
+
isCallable(global.postMessage) &&
|
|
1061
|
+
!global.importScripts &&
|
|
1062
|
+
location && location.protocol !== 'file:' &&
|
|
1063
|
+
!fails(post)
|
|
1064
|
+
) {
|
|
1065
|
+
defer = post;
|
|
1066
|
+
global.addEventListener('message', listener, false);
|
|
1067
|
+
// IE8-
|
|
1068
|
+
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
1069
|
+
defer = function (id) {
|
|
1070
|
+
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
|
1071
|
+
html.removeChild(this);
|
|
1072
|
+
run(id);
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
// Rest old browsers
|
|
1076
|
+
} else {
|
|
1077
|
+
defer = function (id) {
|
|
1078
|
+
setTimeout(runner(id), 0);
|
|
1079
|
+
};
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
module.exports = {
|
|
1084
|
+
set: set,
|
|
1085
|
+
clear: clear
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
|
|
813
1089
|
/***/ }),
|
|
814
1090
|
|
|
815
1091
|
/***/ "2d00":
|
|
@@ -1084,6 +1360,21 @@ module.exports = function (key) {
|
|
|
1084
1360
|
};
|
|
1085
1361
|
|
|
1086
1362
|
|
|
1363
|
+
/***/ }),
|
|
1364
|
+
|
|
1365
|
+
/***/ "44de":
|
|
1366
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1367
|
+
|
|
1368
|
+
var global = __webpack_require__("da84");
|
|
1369
|
+
|
|
1370
|
+
module.exports = function (a, b) {
|
|
1371
|
+
var console = global.console;
|
|
1372
|
+
if (console && console.error) {
|
|
1373
|
+
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
1374
|
+
}
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
|
|
1087
1378
|
/***/ }),
|
|
1088
1379
|
|
|
1089
1380
|
/***/ "44e7":
|
|
@@ -1103,6 +1394,26 @@ module.exports = function (it) {
|
|
|
1103
1394
|
};
|
|
1104
1395
|
|
|
1105
1396
|
|
|
1397
|
+
/***/ }),
|
|
1398
|
+
|
|
1399
|
+
/***/ "4840":
|
|
1400
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1401
|
+
|
|
1402
|
+
var anObject = __webpack_require__("825a");
|
|
1403
|
+
var aConstructor = __webpack_require__("5087");
|
|
1404
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
1405
|
+
|
|
1406
|
+
var SPECIES = wellKnownSymbol('species');
|
|
1407
|
+
|
|
1408
|
+
// `SpeciesConstructor` abstract operation
|
|
1409
|
+
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
1410
|
+
module.exports = function (O, defaultConstructor) {
|
|
1411
|
+
var C = anObject(O).constructor;
|
|
1412
|
+
var S;
|
|
1413
|
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
|
|
1106
1417
|
/***/ }),
|
|
1107
1418
|
|
|
1108
1419
|
/***/ "485a":
|
|
@@ -1294,6 +1605,24 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
1294
1605
|
};
|
|
1295
1606
|
|
|
1296
1607
|
|
|
1608
|
+
/***/ }),
|
|
1609
|
+
|
|
1610
|
+
/***/ "5087":
|
|
1611
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1612
|
+
|
|
1613
|
+
var global = __webpack_require__("da84");
|
|
1614
|
+
var isConstructor = __webpack_require__("68ee");
|
|
1615
|
+
var tryToString = __webpack_require__("0d51");
|
|
1616
|
+
|
|
1617
|
+
var TypeError = global.TypeError;
|
|
1618
|
+
|
|
1619
|
+
// `Assert: IsConstructor(argument) is true`
|
|
1620
|
+
module.exports = function (argument) {
|
|
1621
|
+
if (isConstructor(argument)) return argument;
|
|
1622
|
+
throw TypeError(tryToString(argument) + ' is not a constructor');
|
|
1623
|
+
};
|
|
1624
|
+
|
|
1625
|
+
|
|
1297
1626
|
/***/ }),
|
|
1298
1627
|
|
|
1299
1628
|
/***/ "50c4":
|
|
@@ -1660,6 +1989,25 @@ module.exports = {
|
|
|
1660
1989
|
};
|
|
1661
1990
|
|
|
1662
1991
|
|
|
1992
|
+
/***/ }),
|
|
1993
|
+
|
|
1994
|
+
/***/ "605d":
|
|
1995
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1996
|
+
|
|
1997
|
+
var classof = __webpack_require__("c6b6");
|
|
1998
|
+
var global = __webpack_require__("da84");
|
|
1999
|
+
|
|
2000
|
+
module.exports = classof(global.process) == 'process';
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
/***/ }),
|
|
2004
|
+
|
|
2005
|
+
/***/ "6069":
|
|
2006
|
+
/***/ (function(module, exports) {
|
|
2007
|
+
|
|
2008
|
+
module.exports = typeof window == 'object';
|
|
2009
|
+
|
|
2010
|
+
|
|
1663
2011
|
/***/ }),
|
|
1664
2012
|
|
|
1665
2013
|
/***/ "6547":
|
|
@@ -2123,6 +2471,35 @@ module.exports = Object.create || function create(O, Properties) {
|
|
|
2123
2471
|
};
|
|
2124
2472
|
|
|
2125
2473
|
|
|
2474
|
+
/***/ }),
|
|
2475
|
+
|
|
2476
|
+
/***/ "7db0":
|
|
2477
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2478
|
+
|
|
2479
|
+
"use strict";
|
|
2480
|
+
|
|
2481
|
+
var $ = __webpack_require__("23e7");
|
|
2482
|
+
var $find = __webpack_require__("b727").find;
|
|
2483
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
2484
|
+
|
|
2485
|
+
var FIND = 'find';
|
|
2486
|
+
var SKIPS_HOLES = true;
|
|
2487
|
+
|
|
2488
|
+
// Shouldn't skip holes
|
|
2489
|
+
if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
|
|
2490
|
+
|
|
2491
|
+
// `Array.prototype.find` method
|
|
2492
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
2493
|
+
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
2494
|
+
find: function find(callbackfn /* , that = undefined */) {
|
|
2495
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
2496
|
+
}
|
|
2497
|
+
});
|
|
2498
|
+
|
|
2499
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2500
|
+
addToUnscopables(FIND);
|
|
2501
|
+
|
|
2502
|
+
|
|
2126
2503
|
/***/ }),
|
|
2127
2504
|
|
|
2128
2505
|
/***/ "7dd0":
|
|
@@ -2629,6 +3006,767 @@ var POLYFILL = isForced.POLYFILL = 'P';
|
|
|
2629
3006
|
module.exports = isForced;
|
|
2630
3007
|
|
|
2631
3008
|
|
|
3009
|
+
/***/ }),
|
|
3010
|
+
|
|
3011
|
+
/***/ "96cf":
|
|
3012
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* Copyright (c) 2014-present, Facebook, Inc.
|
|
3016
|
+
*
|
|
3017
|
+
* This source code is licensed under the MIT license found in the
|
|
3018
|
+
* LICENSE file in the root directory of this source tree.
|
|
3019
|
+
*/
|
|
3020
|
+
|
|
3021
|
+
var runtime = (function (exports) {
|
|
3022
|
+
"use strict";
|
|
3023
|
+
|
|
3024
|
+
var Op = Object.prototype;
|
|
3025
|
+
var hasOwn = Op.hasOwnProperty;
|
|
3026
|
+
var undefined; // More compressible than void 0.
|
|
3027
|
+
var $Symbol = typeof Symbol === "function" ? Symbol : {};
|
|
3028
|
+
var iteratorSymbol = $Symbol.iterator || "@@iterator";
|
|
3029
|
+
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
|
3030
|
+
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
3031
|
+
|
|
3032
|
+
function define(obj, key, value) {
|
|
3033
|
+
Object.defineProperty(obj, key, {
|
|
3034
|
+
value: value,
|
|
3035
|
+
enumerable: true,
|
|
3036
|
+
configurable: true,
|
|
3037
|
+
writable: true
|
|
3038
|
+
});
|
|
3039
|
+
return obj[key];
|
|
3040
|
+
}
|
|
3041
|
+
try {
|
|
3042
|
+
// IE 8 has a broken Object.defineProperty that only works on DOM objects.
|
|
3043
|
+
define({}, "");
|
|
3044
|
+
} catch (err) {
|
|
3045
|
+
define = function(obj, key, value) {
|
|
3046
|
+
return obj[key] = value;
|
|
3047
|
+
};
|
|
3048
|
+
}
|
|
3049
|
+
|
|
3050
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
3051
|
+
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
|
3052
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
|
3053
|
+
var generator = Object.create(protoGenerator.prototype);
|
|
3054
|
+
var context = new Context(tryLocsList || []);
|
|
3055
|
+
|
|
3056
|
+
// The ._invoke method unifies the implementations of the .next,
|
|
3057
|
+
// .throw, and .return methods.
|
|
3058
|
+
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
|
3059
|
+
|
|
3060
|
+
return generator;
|
|
3061
|
+
}
|
|
3062
|
+
exports.wrap = wrap;
|
|
3063
|
+
|
|
3064
|
+
// Try/catch helper to minimize deoptimizations. Returns a completion
|
|
3065
|
+
// record like context.tryEntries[i].completion. This interface could
|
|
3066
|
+
// have been (and was previously) designed to take a closure to be
|
|
3067
|
+
// invoked without arguments, but in all the cases we care about we
|
|
3068
|
+
// already have an existing method we want to call, so there's no need
|
|
3069
|
+
// to create a new function object. We can even get away with assuming
|
|
3070
|
+
// the method takes exactly one argument, since that happens to be true
|
|
3071
|
+
// in every case, so we don't have to touch the arguments object. The
|
|
3072
|
+
// only additional allocation required is the completion record, which
|
|
3073
|
+
// has a stable shape and so hopefully should be cheap to allocate.
|
|
3074
|
+
function tryCatch(fn, obj, arg) {
|
|
3075
|
+
try {
|
|
3076
|
+
return { type: "normal", arg: fn.call(obj, arg) };
|
|
3077
|
+
} catch (err) {
|
|
3078
|
+
return { type: "throw", arg: err };
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
|
|
3082
|
+
var GenStateSuspendedStart = "suspendedStart";
|
|
3083
|
+
var GenStateSuspendedYield = "suspendedYield";
|
|
3084
|
+
var GenStateExecuting = "executing";
|
|
3085
|
+
var GenStateCompleted = "completed";
|
|
3086
|
+
|
|
3087
|
+
// Returning this object from the innerFn has the same effect as
|
|
3088
|
+
// breaking out of the dispatch switch statement.
|
|
3089
|
+
var ContinueSentinel = {};
|
|
3090
|
+
|
|
3091
|
+
// Dummy constructor functions that we use as the .constructor and
|
|
3092
|
+
// .constructor.prototype properties for functions that return Generator
|
|
3093
|
+
// objects. For full spec compliance, you may wish to configure your
|
|
3094
|
+
// minifier not to mangle the names of these two functions.
|
|
3095
|
+
function Generator() {}
|
|
3096
|
+
function GeneratorFunction() {}
|
|
3097
|
+
function GeneratorFunctionPrototype() {}
|
|
3098
|
+
|
|
3099
|
+
// This is a polyfill for %IteratorPrototype% for environments that
|
|
3100
|
+
// don't natively support it.
|
|
3101
|
+
var IteratorPrototype = {};
|
|
3102
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
3103
|
+
return this;
|
|
3104
|
+
});
|
|
3105
|
+
|
|
3106
|
+
var getProto = Object.getPrototypeOf;
|
|
3107
|
+
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
3108
|
+
if (NativeIteratorPrototype &&
|
|
3109
|
+
NativeIteratorPrototype !== Op &&
|
|
3110
|
+
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
|
|
3111
|
+
// This environment has a native %IteratorPrototype%; use it instead
|
|
3112
|
+
// of the polyfill.
|
|
3113
|
+
IteratorPrototype = NativeIteratorPrototype;
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
var Gp = GeneratorFunctionPrototype.prototype =
|
|
3117
|
+
Generator.prototype = Object.create(IteratorPrototype);
|
|
3118
|
+
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
3119
|
+
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
3120
|
+
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
3121
|
+
GeneratorFunction.displayName = define(
|
|
3122
|
+
GeneratorFunctionPrototype,
|
|
3123
|
+
toStringTagSymbol,
|
|
3124
|
+
"GeneratorFunction"
|
|
3125
|
+
);
|
|
3126
|
+
|
|
3127
|
+
// Helper for defining the .next, .throw, and .return methods of the
|
|
3128
|
+
// Iterator interface in terms of a single ._invoke method.
|
|
3129
|
+
function defineIteratorMethods(prototype) {
|
|
3130
|
+
["next", "throw", "return"].forEach(function(method) {
|
|
3131
|
+
define(prototype, method, function(arg) {
|
|
3132
|
+
return this._invoke(method, arg);
|
|
3133
|
+
});
|
|
3134
|
+
});
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
exports.isGeneratorFunction = function(genFun) {
|
|
3138
|
+
var ctor = typeof genFun === "function" && genFun.constructor;
|
|
3139
|
+
return ctor
|
|
3140
|
+
? ctor === GeneratorFunction ||
|
|
3141
|
+
// For the native GeneratorFunction constructor, the best we can
|
|
3142
|
+
// do is to check its .name property.
|
|
3143
|
+
(ctor.displayName || ctor.name) === "GeneratorFunction"
|
|
3144
|
+
: false;
|
|
3145
|
+
};
|
|
3146
|
+
|
|
3147
|
+
exports.mark = function(genFun) {
|
|
3148
|
+
if (Object.setPrototypeOf) {
|
|
3149
|
+
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
|
3150
|
+
} else {
|
|
3151
|
+
genFun.__proto__ = GeneratorFunctionPrototype;
|
|
3152
|
+
define(genFun, toStringTagSymbol, "GeneratorFunction");
|
|
3153
|
+
}
|
|
3154
|
+
genFun.prototype = Object.create(Gp);
|
|
3155
|
+
return genFun;
|
|
3156
|
+
};
|
|
3157
|
+
|
|
3158
|
+
// Within the body of any async function, `await x` is transformed to
|
|
3159
|
+
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
|
3160
|
+
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
|
3161
|
+
// meant to be awaited.
|
|
3162
|
+
exports.awrap = function(arg) {
|
|
3163
|
+
return { __await: arg };
|
|
3164
|
+
};
|
|
3165
|
+
|
|
3166
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
3167
|
+
function invoke(method, arg, resolve, reject) {
|
|
3168
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
3169
|
+
if (record.type === "throw") {
|
|
3170
|
+
reject(record.arg);
|
|
3171
|
+
} else {
|
|
3172
|
+
var result = record.arg;
|
|
3173
|
+
var value = result.value;
|
|
3174
|
+
if (value &&
|
|
3175
|
+
typeof value === "object" &&
|
|
3176
|
+
hasOwn.call(value, "__await")) {
|
|
3177
|
+
return PromiseImpl.resolve(value.__await).then(function(value) {
|
|
3178
|
+
invoke("next", value, resolve, reject);
|
|
3179
|
+
}, function(err) {
|
|
3180
|
+
invoke("throw", err, resolve, reject);
|
|
3181
|
+
});
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
return PromiseImpl.resolve(value).then(function(unwrapped) {
|
|
3185
|
+
// When a yielded Promise is resolved, its final value becomes
|
|
3186
|
+
// the .value of the Promise<{value,done}> result for the
|
|
3187
|
+
// current iteration.
|
|
3188
|
+
result.value = unwrapped;
|
|
3189
|
+
resolve(result);
|
|
3190
|
+
}, function(error) {
|
|
3191
|
+
// If a rejected Promise was yielded, throw the rejection back
|
|
3192
|
+
// into the async generator function so it can be handled there.
|
|
3193
|
+
return invoke("throw", error, resolve, reject);
|
|
3194
|
+
});
|
|
3195
|
+
}
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
var previousPromise;
|
|
3199
|
+
|
|
3200
|
+
function enqueue(method, arg) {
|
|
3201
|
+
function callInvokeWithMethodAndArg() {
|
|
3202
|
+
return new PromiseImpl(function(resolve, reject) {
|
|
3203
|
+
invoke(method, arg, resolve, reject);
|
|
3204
|
+
});
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
return previousPromise =
|
|
3208
|
+
// If enqueue has been called before, then we want to wait until
|
|
3209
|
+
// all previous Promises have been resolved before calling invoke,
|
|
3210
|
+
// so that results are always delivered in the correct order. If
|
|
3211
|
+
// enqueue has not been called before, then it is important to
|
|
3212
|
+
// call invoke immediately, without waiting on a callback to fire,
|
|
3213
|
+
// so that the async generator function has the opportunity to do
|
|
3214
|
+
// any necessary setup in a predictable way. This predictability
|
|
3215
|
+
// is why the Promise constructor synchronously invokes its
|
|
3216
|
+
// executor callback, and why async functions synchronously
|
|
3217
|
+
// execute code before the first await. Since we implement simple
|
|
3218
|
+
// async functions in terms of async generators, it is especially
|
|
3219
|
+
// important to get this right, even though it requires care.
|
|
3220
|
+
previousPromise ? previousPromise.then(
|
|
3221
|
+
callInvokeWithMethodAndArg,
|
|
3222
|
+
// Avoid propagating failures to Promises returned by later
|
|
3223
|
+
// invocations of the iterator.
|
|
3224
|
+
callInvokeWithMethodAndArg
|
|
3225
|
+
) : callInvokeWithMethodAndArg();
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
// Define the unified helper method that is used to implement .next,
|
|
3229
|
+
// .throw, and .return (see defineIteratorMethods).
|
|
3230
|
+
this._invoke = enqueue;
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
defineIteratorMethods(AsyncIterator.prototype);
|
|
3234
|
+
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
3235
|
+
return this;
|
|
3236
|
+
});
|
|
3237
|
+
exports.AsyncIterator = AsyncIterator;
|
|
3238
|
+
|
|
3239
|
+
// Note that simple async functions are implemented on top of
|
|
3240
|
+
// AsyncIterator objects; they just return a Promise for the value of
|
|
3241
|
+
// the final result produced by the iterator.
|
|
3242
|
+
exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
3243
|
+
if (PromiseImpl === void 0) PromiseImpl = Promise;
|
|
3244
|
+
|
|
3245
|
+
var iter = new AsyncIterator(
|
|
3246
|
+
wrap(innerFn, outerFn, self, tryLocsList),
|
|
3247
|
+
PromiseImpl
|
|
3248
|
+
);
|
|
3249
|
+
|
|
3250
|
+
return exports.isGeneratorFunction(outerFn)
|
|
3251
|
+
? iter // If outerFn is a generator, return the full iterator.
|
|
3252
|
+
: iter.next().then(function(result) {
|
|
3253
|
+
return result.done ? result.value : iter.next();
|
|
3254
|
+
});
|
|
3255
|
+
};
|
|
3256
|
+
|
|
3257
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
3258
|
+
var state = GenStateSuspendedStart;
|
|
3259
|
+
|
|
3260
|
+
return function invoke(method, arg) {
|
|
3261
|
+
if (state === GenStateExecuting) {
|
|
3262
|
+
throw new Error("Generator is already running");
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3265
|
+
if (state === GenStateCompleted) {
|
|
3266
|
+
if (method === "throw") {
|
|
3267
|
+
throw arg;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
// Be forgiving, per 25.3.3.3.3 of the spec:
|
|
3271
|
+
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
|
|
3272
|
+
return doneResult();
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
context.method = method;
|
|
3276
|
+
context.arg = arg;
|
|
3277
|
+
|
|
3278
|
+
while (true) {
|
|
3279
|
+
var delegate = context.delegate;
|
|
3280
|
+
if (delegate) {
|
|
3281
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
3282
|
+
if (delegateResult) {
|
|
3283
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
3284
|
+
return delegateResult;
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
if (context.method === "next") {
|
|
3289
|
+
// Setting context._sent for legacy support of Babel's
|
|
3290
|
+
// function.sent implementation.
|
|
3291
|
+
context.sent = context._sent = context.arg;
|
|
3292
|
+
|
|
3293
|
+
} else if (context.method === "throw") {
|
|
3294
|
+
if (state === GenStateSuspendedStart) {
|
|
3295
|
+
state = GenStateCompleted;
|
|
3296
|
+
throw context.arg;
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
context.dispatchException(context.arg);
|
|
3300
|
+
|
|
3301
|
+
} else if (context.method === "return") {
|
|
3302
|
+
context.abrupt("return", context.arg);
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
state = GenStateExecuting;
|
|
3306
|
+
|
|
3307
|
+
var record = tryCatch(innerFn, self, context);
|
|
3308
|
+
if (record.type === "normal") {
|
|
3309
|
+
// If an exception is thrown from innerFn, we leave state ===
|
|
3310
|
+
// GenStateExecuting and loop back for another invocation.
|
|
3311
|
+
state = context.done
|
|
3312
|
+
? GenStateCompleted
|
|
3313
|
+
: GenStateSuspendedYield;
|
|
3314
|
+
|
|
3315
|
+
if (record.arg === ContinueSentinel) {
|
|
3316
|
+
continue;
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
return {
|
|
3320
|
+
value: record.arg,
|
|
3321
|
+
done: context.done
|
|
3322
|
+
};
|
|
3323
|
+
|
|
3324
|
+
} else if (record.type === "throw") {
|
|
3325
|
+
state = GenStateCompleted;
|
|
3326
|
+
// Dispatch the exception by looping back around to the
|
|
3327
|
+
// context.dispatchException(context.arg) call above.
|
|
3328
|
+
context.method = "throw";
|
|
3329
|
+
context.arg = record.arg;
|
|
3330
|
+
}
|
|
3331
|
+
}
|
|
3332
|
+
};
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
// Call delegate.iterator[context.method](context.arg) and handle the
|
|
3336
|
+
// result, either by returning a { value, done } result from the
|
|
3337
|
+
// delegate iterator, or by modifying context.method and context.arg,
|
|
3338
|
+
// setting context.delegate to null, and returning the ContinueSentinel.
|
|
3339
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
3340
|
+
var method = delegate.iterator[context.method];
|
|
3341
|
+
if (method === undefined) {
|
|
3342
|
+
// A .throw or .return when the delegate iterator has no .throw
|
|
3343
|
+
// method always terminates the yield* loop.
|
|
3344
|
+
context.delegate = null;
|
|
3345
|
+
|
|
3346
|
+
if (context.method === "throw") {
|
|
3347
|
+
// Note: ["return"] must be used for ES3 parsing compatibility.
|
|
3348
|
+
if (delegate.iterator["return"]) {
|
|
3349
|
+
// If the delegate iterator has a return method, give it a
|
|
3350
|
+
// chance to clean up.
|
|
3351
|
+
context.method = "return";
|
|
3352
|
+
context.arg = undefined;
|
|
3353
|
+
maybeInvokeDelegate(delegate, context);
|
|
3354
|
+
|
|
3355
|
+
if (context.method === "throw") {
|
|
3356
|
+
// If maybeInvokeDelegate(context) changed context.method from
|
|
3357
|
+
// "return" to "throw", let that override the TypeError below.
|
|
3358
|
+
return ContinueSentinel;
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
context.method = "throw";
|
|
3363
|
+
context.arg = new TypeError(
|
|
3364
|
+
"The iterator does not provide a 'throw' method");
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
return ContinueSentinel;
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
3371
|
+
|
|
3372
|
+
if (record.type === "throw") {
|
|
3373
|
+
context.method = "throw";
|
|
3374
|
+
context.arg = record.arg;
|
|
3375
|
+
context.delegate = null;
|
|
3376
|
+
return ContinueSentinel;
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
var info = record.arg;
|
|
3380
|
+
|
|
3381
|
+
if (! info) {
|
|
3382
|
+
context.method = "throw";
|
|
3383
|
+
context.arg = new TypeError("iterator result is not an object");
|
|
3384
|
+
context.delegate = null;
|
|
3385
|
+
return ContinueSentinel;
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
if (info.done) {
|
|
3389
|
+
// Assign the result of the finished delegate to the temporary
|
|
3390
|
+
// variable specified by delegate.resultName (see delegateYield).
|
|
3391
|
+
context[delegate.resultName] = info.value;
|
|
3392
|
+
|
|
3393
|
+
// Resume execution at the desired location (see delegateYield).
|
|
3394
|
+
context.next = delegate.nextLoc;
|
|
3395
|
+
|
|
3396
|
+
// If context.method was "throw" but the delegate handled the
|
|
3397
|
+
// exception, let the outer generator proceed normally. If
|
|
3398
|
+
// context.method was "next", forget context.arg since it has been
|
|
3399
|
+
// "consumed" by the delegate iterator. If context.method was
|
|
3400
|
+
// "return", allow the original .return call to continue in the
|
|
3401
|
+
// outer generator.
|
|
3402
|
+
if (context.method !== "return") {
|
|
3403
|
+
context.method = "next";
|
|
3404
|
+
context.arg = undefined;
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
} else {
|
|
3408
|
+
// Re-yield the result returned by the delegate method.
|
|
3409
|
+
return info;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
// The delegate iterator is finished, so forget it and continue with
|
|
3413
|
+
// the outer generator.
|
|
3414
|
+
context.delegate = null;
|
|
3415
|
+
return ContinueSentinel;
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
// Define Generator.prototype.{next,throw,return} in terms of the
|
|
3419
|
+
// unified ._invoke helper method.
|
|
3420
|
+
defineIteratorMethods(Gp);
|
|
3421
|
+
|
|
3422
|
+
define(Gp, toStringTagSymbol, "Generator");
|
|
3423
|
+
|
|
3424
|
+
// A Generator should always return itself as the iterator object when the
|
|
3425
|
+
// @@iterator function is called on it. Some browsers' implementations of the
|
|
3426
|
+
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
3427
|
+
// object to not be returned from this call. This ensures that doesn't happen.
|
|
3428
|
+
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
3429
|
+
define(Gp, iteratorSymbol, function() {
|
|
3430
|
+
return this;
|
|
3431
|
+
});
|
|
3432
|
+
|
|
3433
|
+
define(Gp, "toString", function() {
|
|
3434
|
+
return "[object Generator]";
|
|
3435
|
+
});
|
|
3436
|
+
|
|
3437
|
+
function pushTryEntry(locs) {
|
|
3438
|
+
var entry = { tryLoc: locs[0] };
|
|
3439
|
+
|
|
3440
|
+
if (1 in locs) {
|
|
3441
|
+
entry.catchLoc = locs[1];
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
if (2 in locs) {
|
|
3445
|
+
entry.finallyLoc = locs[2];
|
|
3446
|
+
entry.afterLoc = locs[3];
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
this.tryEntries.push(entry);
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
function resetTryEntry(entry) {
|
|
3453
|
+
var record = entry.completion || {};
|
|
3454
|
+
record.type = "normal";
|
|
3455
|
+
delete record.arg;
|
|
3456
|
+
entry.completion = record;
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
function Context(tryLocsList) {
|
|
3460
|
+
// The root entry object (effectively a try statement without a catch
|
|
3461
|
+
// or a finally block) gives us a place to store values thrown from
|
|
3462
|
+
// locations where there is no enclosing try statement.
|
|
3463
|
+
this.tryEntries = [{ tryLoc: "root" }];
|
|
3464
|
+
tryLocsList.forEach(pushTryEntry, this);
|
|
3465
|
+
this.reset(true);
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
exports.keys = function(object) {
|
|
3469
|
+
var keys = [];
|
|
3470
|
+
for (var key in object) {
|
|
3471
|
+
keys.push(key);
|
|
3472
|
+
}
|
|
3473
|
+
keys.reverse();
|
|
3474
|
+
|
|
3475
|
+
// Rather than returning an object with a next method, we keep
|
|
3476
|
+
// things simple and return the next function itself.
|
|
3477
|
+
return function next() {
|
|
3478
|
+
while (keys.length) {
|
|
3479
|
+
var key = keys.pop();
|
|
3480
|
+
if (key in object) {
|
|
3481
|
+
next.value = key;
|
|
3482
|
+
next.done = false;
|
|
3483
|
+
return next;
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
// To avoid creating an additional object, we just hang the .value
|
|
3488
|
+
// and .done properties off the next function object itself. This
|
|
3489
|
+
// also ensures that the minifier will not anonymize the function.
|
|
3490
|
+
next.done = true;
|
|
3491
|
+
return next;
|
|
3492
|
+
};
|
|
3493
|
+
};
|
|
3494
|
+
|
|
3495
|
+
function values(iterable) {
|
|
3496
|
+
if (iterable) {
|
|
3497
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
3498
|
+
if (iteratorMethod) {
|
|
3499
|
+
return iteratorMethod.call(iterable);
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
if (typeof iterable.next === "function") {
|
|
3503
|
+
return iterable;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
if (!isNaN(iterable.length)) {
|
|
3507
|
+
var i = -1, next = function next() {
|
|
3508
|
+
while (++i < iterable.length) {
|
|
3509
|
+
if (hasOwn.call(iterable, i)) {
|
|
3510
|
+
next.value = iterable[i];
|
|
3511
|
+
next.done = false;
|
|
3512
|
+
return next;
|
|
3513
|
+
}
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
next.value = undefined;
|
|
3517
|
+
next.done = true;
|
|
3518
|
+
|
|
3519
|
+
return next;
|
|
3520
|
+
};
|
|
3521
|
+
|
|
3522
|
+
return next.next = next;
|
|
3523
|
+
}
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
// Return an iterator with no values.
|
|
3527
|
+
return { next: doneResult };
|
|
3528
|
+
}
|
|
3529
|
+
exports.values = values;
|
|
3530
|
+
|
|
3531
|
+
function doneResult() {
|
|
3532
|
+
return { value: undefined, done: true };
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
Context.prototype = {
|
|
3536
|
+
constructor: Context,
|
|
3537
|
+
|
|
3538
|
+
reset: function(skipTempReset) {
|
|
3539
|
+
this.prev = 0;
|
|
3540
|
+
this.next = 0;
|
|
3541
|
+
// Resetting context._sent for legacy support of Babel's
|
|
3542
|
+
// function.sent implementation.
|
|
3543
|
+
this.sent = this._sent = undefined;
|
|
3544
|
+
this.done = false;
|
|
3545
|
+
this.delegate = null;
|
|
3546
|
+
|
|
3547
|
+
this.method = "next";
|
|
3548
|
+
this.arg = undefined;
|
|
3549
|
+
|
|
3550
|
+
this.tryEntries.forEach(resetTryEntry);
|
|
3551
|
+
|
|
3552
|
+
if (!skipTempReset) {
|
|
3553
|
+
for (var name in this) {
|
|
3554
|
+
// Not sure about the optimal order of these conditions:
|
|
3555
|
+
if (name.charAt(0) === "t" &&
|
|
3556
|
+
hasOwn.call(this, name) &&
|
|
3557
|
+
!isNaN(+name.slice(1))) {
|
|
3558
|
+
this[name] = undefined;
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
},
|
|
3563
|
+
|
|
3564
|
+
stop: function() {
|
|
3565
|
+
this.done = true;
|
|
3566
|
+
|
|
3567
|
+
var rootEntry = this.tryEntries[0];
|
|
3568
|
+
var rootRecord = rootEntry.completion;
|
|
3569
|
+
if (rootRecord.type === "throw") {
|
|
3570
|
+
throw rootRecord.arg;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
return this.rval;
|
|
3574
|
+
},
|
|
3575
|
+
|
|
3576
|
+
dispatchException: function(exception) {
|
|
3577
|
+
if (this.done) {
|
|
3578
|
+
throw exception;
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
var context = this;
|
|
3582
|
+
function handle(loc, caught) {
|
|
3583
|
+
record.type = "throw";
|
|
3584
|
+
record.arg = exception;
|
|
3585
|
+
context.next = loc;
|
|
3586
|
+
|
|
3587
|
+
if (caught) {
|
|
3588
|
+
// If the dispatched exception was caught by a catch block,
|
|
3589
|
+
// then let that catch block handle the exception normally.
|
|
3590
|
+
context.method = "next";
|
|
3591
|
+
context.arg = undefined;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
return !! caught;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
3598
|
+
var entry = this.tryEntries[i];
|
|
3599
|
+
var record = entry.completion;
|
|
3600
|
+
|
|
3601
|
+
if (entry.tryLoc === "root") {
|
|
3602
|
+
// Exception thrown outside of any try block that could handle
|
|
3603
|
+
// it, so set the completion value of the entire function to
|
|
3604
|
+
// throw the exception.
|
|
3605
|
+
return handle("end");
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
if (entry.tryLoc <= this.prev) {
|
|
3609
|
+
var hasCatch = hasOwn.call(entry, "catchLoc");
|
|
3610
|
+
var hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
3611
|
+
|
|
3612
|
+
if (hasCatch && hasFinally) {
|
|
3613
|
+
if (this.prev < entry.catchLoc) {
|
|
3614
|
+
return handle(entry.catchLoc, true);
|
|
3615
|
+
} else if (this.prev < entry.finallyLoc) {
|
|
3616
|
+
return handle(entry.finallyLoc);
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
} else if (hasCatch) {
|
|
3620
|
+
if (this.prev < entry.catchLoc) {
|
|
3621
|
+
return handle(entry.catchLoc, true);
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
} else if (hasFinally) {
|
|
3625
|
+
if (this.prev < entry.finallyLoc) {
|
|
3626
|
+
return handle(entry.finallyLoc);
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
} else {
|
|
3630
|
+
throw new Error("try statement without catch or finally");
|
|
3631
|
+
}
|
|
3632
|
+
}
|
|
3633
|
+
}
|
|
3634
|
+
},
|
|
3635
|
+
|
|
3636
|
+
abrupt: function(type, arg) {
|
|
3637
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
3638
|
+
var entry = this.tryEntries[i];
|
|
3639
|
+
if (entry.tryLoc <= this.prev &&
|
|
3640
|
+
hasOwn.call(entry, "finallyLoc") &&
|
|
3641
|
+
this.prev < entry.finallyLoc) {
|
|
3642
|
+
var finallyEntry = entry;
|
|
3643
|
+
break;
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
if (finallyEntry &&
|
|
3648
|
+
(type === "break" ||
|
|
3649
|
+
type === "continue") &&
|
|
3650
|
+
finallyEntry.tryLoc <= arg &&
|
|
3651
|
+
arg <= finallyEntry.finallyLoc) {
|
|
3652
|
+
// Ignore the finally entry if control is not jumping to a
|
|
3653
|
+
// location outside the try/catch block.
|
|
3654
|
+
finallyEntry = null;
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
3658
|
+
record.type = type;
|
|
3659
|
+
record.arg = arg;
|
|
3660
|
+
|
|
3661
|
+
if (finallyEntry) {
|
|
3662
|
+
this.method = "next";
|
|
3663
|
+
this.next = finallyEntry.finallyLoc;
|
|
3664
|
+
return ContinueSentinel;
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3667
|
+
return this.complete(record);
|
|
3668
|
+
},
|
|
3669
|
+
|
|
3670
|
+
complete: function(record, afterLoc) {
|
|
3671
|
+
if (record.type === "throw") {
|
|
3672
|
+
throw record.arg;
|
|
3673
|
+
}
|
|
3674
|
+
|
|
3675
|
+
if (record.type === "break" ||
|
|
3676
|
+
record.type === "continue") {
|
|
3677
|
+
this.next = record.arg;
|
|
3678
|
+
} else if (record.type === "return") {
|
|
3679
|
+
this.rval = this.arg = record.arg;
|
|
3680
|
+
this.method = "return";
|
|
3681
|
+
this.next = "end";
|
|
3682
|
+
} else if (record.type === "normal" && afterLoc) {
|
|
3683
|
+
this.next = afterLoc;
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
return ContinueSentinel;
|
|
3687
|
+
},
|
|
3688
|
+
|
|
3689
|
+
finish: function(finallyLoc) {
|
|
3690
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
3691
|
+
var entry = this.tryEntries[i];
|
|
3692
|
+
if (entry.finallyLoc === finallyLoc) {
|
|
3693
|
+
this.complete(entry.completion, entry.afterLoc);
|
|
3694
|
+
resetTryEntry(entry);
|
|
3695
|
+
return ContinueSentinel;
|
|
3696
|
+
}
|
|
3697
|
+
}
|
|
3698
|
+
},
|
|
3699
|
+
|
|
3700
|
+
"catch": function(tryLoc) {
|
|
3701
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
3702
|
+
var entry = this.tryEntries[i];
|
|
3703
|
+
if (entry.tryLoc === tryLoc) {
|
|
3704
|
+
var record = entry.completion;
|
|
3705
|
+
if (record.type === "throw") {
|
|
3706
|
+
var thrown = record.arg;
|
|
3707
|
+
resetTryEntry(entry);
|
|
3708
|
+
}
|
|
3709
|
+
return thrown;
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
// The context.catch method must only be called with a location
|
|
3714
|
+
// argument that corresponds to a known catch block.
|
|
3715
|
+
throw new Error("illegal catch attempt");
|
|
3716
|
+
},
|
|
3717
|
+
|
|
3718
|
+
delegateYield: function(iterable, resultName, nextLoc) {
|
|
3719
|
+
this.delegate = {
|
|
3720
|
+
iterator: values(iterable),
|
|
3721
|
+
resultName: resultName,
|
|
3722
|
+
nextLoc: nextLoc
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
if (this.method === "next") {
|
|
3726
|
+
// Deliberately forget the last sent value so that we don't
|
|
3727
|
+
// accidentally pass it on to the delegate.
|
|
3728
|
+
this.arg = undefined;
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
return ContinueSentinel;
|
|
3732
|
+
}
|
|
3733
|
+
};
|
|
3734
|
+
|
|
3735
|
+
// Regardless of whether this script is executing as a CommonJS module
|
|
3736
|
+
// or not, return the runtime object so that we can declare the variable
|
|
3737
|
+
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
3738
|
+
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
3739
|
+
return exports;
|
|
3740
|
+
|
|
3741
|
+
}(
|
|
3742
|
+
// If this script is executing as a CommonJS module, use module.exports
|
|
3743
|
+
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
|
3744
|
+
// object. Either way, the resulting object will be used to initialize
|
|
3745
|
+
// the regeneratorRuntime variable at the top of this file.
|
|
3746
|
+
true ? module.exports : undefined
|
|
3747
|
+
));
|
|
3748
|
+
|
|
3749
|
+
try {
|
|
3750
|
+
regeneratorRuntime = runtime;
|
|
3751
|
+
} catch (accidentalStrictMode) {
|
|
3752
|
+
// This module should not be running in strict mode, so the above
|
|
3753
|
+
// assignment should always work unless something is misconfigured. Just
|
|
3754
|
+
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
3755
|
+
// we can explicitly access globalThis. In older engines we can escape
|
|
3756
|
+
// strict mode using a global Function call. This could conceivably fail
|
|
3757
|
+
// if a Content Security Policy forbids using Function, but in that case
|
|
3758
|
+
// the proper solution is to fix the accidental strict mode problem. If
|
|
3759
|
+
// you've misconfigured your bundler to force strict mode and applied a
|
|
3760
|
+
// CSP to forbid Function, and you're not willing to fix either of those
|
|
3761
|
+
// problems, please detail your unique predicament in a GitHub issue.
|
|
3762
|
+
if (typeof globalThis === "object") {
|
|
3763
|
+
globalThis.regeneratorRuntime = runtime;
|
|
3764
|
+
} else {
|
|
3765
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
|
|
2632
3770
|
/***/ }),
|
|
2633
3771
|
|
|
2634
3772
|
/***/ "9a1f":
|
|
@@ -2796,6 +3934,16 @@ module.exports = function (argument) {
|
|
|
2796
3934
|
};
|
|
2797
3935
|
|
|
2798
3936
|
|
|
3937
|
+
/***/ }),
|
|
3938
|
+
|
|
3939
|
+
/***/ "a4b4":
|
|
3940
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3941
|
+
|
|
3942
|
+
var userAgent = __webpack_require__("342f");
|
|
3943
|
+
|
|
3944
|
+
module.exports = /web0s(?!.*chrome)/i.test(userAgent);
|
|
3945
|
+
|
|
3946
|
+
|
|
2799
3947
|
/***/ }),
|
|
2800
3948
|
|
|
2801
3949
|
/***/ "a4d3":
|
|
@@ -3479,6 +4627,98 @@ if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {
|
|
|
3479
4627
|
}
|
|
3480
4628
|
|
|
3481
4629
|
|
|
4630
|
+
/***/ }),
|
|
4631
|
+
|
|
4632
|
+
/***/ "b575":
|
|
4633
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4634
|
+
|
|
4635
|
+
var global = __webpack_require__("da84");
|
|
4636
|
+
var bind = __webpack_require__("0366");
|
|
4637
|
+
var getOwnPropertyDescriptor = __webpack_require__("06cf").f;
|
|
4638
|
+
var macrotask = __webpack_require__("2cf4").set;
|
|
4639
|
+
var IS_IOS = __webpack_require__("1cdc");
|
|
4640
|
+
var IS_IOS_PEBBLE = __webpack_require__("d4c3");
|
|
4641
|
+
var IS_WEBOS_WEBKIT = __webpack_require__("a4b4");
|
|
4642
|
+
var IS_NODE = __webpack_require__("605d");
|
|
4643
|
+
|
|
4644
|
+
var MutationObserver = global.MutationObserver || global.WebKitMutationObserver;
|
|
4645
|
+
var document = global.document;
|
|
4646
|
+
var process = global.process;
|
|
4647
|
+
var Promise = global.Promise;
|
|
4648
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
4649
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');
|
|
4650
|
+
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
4651
|
+
|
|
4652
|
+
var flush, head, last, notify, toggle, node, promise, then;
|
|
4653
|
+
|
|
4654
|
+
// modern engines have queueMicrotask method
|
|
4655
|
+
if (!queueMicrotask) {
|
|
4656
|
+
flush = function () {
|
|
4657
|
+
var parent, fn;
|
|
4658
|
+
if (IS_NODE && (parent = process.domain)) parent.exit();
|
|
4659
|
+
while (head) {
|
|
4660
|
+
fn = head.fn;
|
|
4661
|
+
head = head.next;
|
|
4662
|
+
try {
|
|
4663
|
+
fn();
|
|
4664
|
+
} catch (error) {
|
|
4665
|
+
if (head) notify();
|
|
4666
|
+
else last = undefined;
|
|
4667
|
+
throw error;
|
|
4668
|
+
}
|
|
4669
|
+
} last = undefined;
|
|
4670
|
+
if (parent) parent.enter();
|
|
4671
|
+
};
|
|
4672
|
+
|
|
4673
|
+
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
4674
|
+
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
4675
|
+
if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
|
|
4676
|
+
toggle = true;
|
|
4677
|
+
node = document.createTextNode('');
|
|
4678
|
+
new MutationObserver(flush).observe(node, { characterData: true });
|
|
4679
|
+
notify = function () {
|
|
4680
|
+
node.data = toggle = !toggle;
|
|
4681
|
+
};
|
|
4682
|
+
// environments with maybe non-completely correct, but existent Promise
|
|
4683
|
+
} else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
|
|
4684
|
+
// Promise.resolve without an argument throws an error in LG WebOS 2
|
|
4685
|
+
promise = Promise.resolve(undefined);
|
|
4686
|
+
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
4687
|
+
promise.constructor = Promise;
|
|
4688
|
+
then = bind(promise.then, promise);
|
|
4689
|
+
notify = function () {
|
|
4690
|
+
then(flush);
|
|
4691
|
+
};
|
|
4692
|
+
// Node.js without promises
|
|
4693
|
+
} else if (IS_NODE) {
|
|
4694
|
+
notify = function () {
|
|
4695
|
+
process.nextTick(flush);
|
|
4696
|
+
};
|
|
4697
|
+
// for other environments - macrotask based on:
|
|
4698
|
+
// - setImmediate
|
|
4699
|
+
// - MessageChannel
|
|
4700
|
+
// - window.postMessag
|
|
4701
|
+
// - onreadystatechange
|
|
4702
|
+
// - setTimeout
|
|
4703
|
+
} else {
|
|
4704
|
+
// strange IE + webpack dev server bug - use .bind(global)
|
|
4705
|
+
macrotask = bind(macrotask, global);
|
|
4706
|
+
notify = function () {
|
|
4707
|
+
macrotask(flush);
|
|
4708
|
+
};
|
|
4709
|
+
}
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
module.exports = queueMicrotask || function (fn) {
|
|
4713
|
+
var task = { fn: fn, next: undefined };
|
|
4714
|
+
if (last) last.next = task;
|
|
4715
|
+
if (!head) {
|
|
4716
|
+
head = task;
|
|
4717
|
+
notify();
|
|
4718
|
+
} last = task;
|
|
4719
|
+
};
|
|
4720
|
+
|
|
4721
|
+
|
|
3482
4722
|
/***/ }),
|
|
3483
4723
|
|
|
3484
4724
|
/***/ "b622":
|
|
@@ -3853,6 +5093,25 @@ module.exports = function (it) {
|
|
|
3853
5093
|
};
|
|
3854
5094
|
|
|
3855
5095
|
|
|
5096
|
+
/***/ }),
|
|
5097
|
+
|
|
5098
|
+
/***/ "cdf9":
|
|
5099
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5100
|
+
|
|
5101
|
+
var anObject = __webpack_require__("825a");
|
|
5102
|
+
var isObject = __webpack_require__("861d");
|
|
5103
|
+
var newPromiseCapability = __webpack_require__("f069");
|
|
5104
|
+
|
|
5105
|
+
module.exports = function (C, x) {
|
|
5106
|
+
anObject(C);
|
|
5107
|
+
if (isObject(x) && x.constructor === C) return x;
|
|
5108
|
+
var promiseCapability = newPromiseCapability.f(C);
|
|
5109
|
+
var resolve = promiseCapability.resolve;
|
|
5110
|
+
resolve(x);
|
|
5111
|
+
return promiseCapability.promise;
|
|
5112
|
+
};
|
|
5113
|
+
|
|
5114
|
+
|
|
3856
5115
|
/***/ }),
|
|
3857
5116
|
|
|
3858
5117
|
/***/ "ce4e":
|
|
@@ -4014,6 +5273,17 @@ module.exports = function (target, TAG, STATIC) {
|
|
|
4014
5273
|
};
|
|
4015
5274
|
|
|
4016
5275
|
|
|
5276
|
+
/***/ }),
|
|
5277
|
+
|
|
5278
|
+
/***/ "d4c3":
|
|
5279
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5280
|
+
|
|
5281
|
+
var userAgent = __webpack_require__("342f");
|
|
5282
|
+
var global = __webpack_require__("da84");
|
|
5283
|
+
|
|
5284
|
+
module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;
|
|
5285
|
+
|
|
5286
|
+
|
|
4017
5287
|
/***/ }),
|
|
4018
5288
|
|
|
4019
5289
|
/***/ "d784":
|
|
@@ -4468,6 +5738,19 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
|
|
|
4468
5738
|
} catch (error) { /* empty */ }
|
|
4469
5739
|
|
|
4470
5740
|
|
|
5741
|
+
/***/ }),
|
|
5742
|
+
|
|
5743
|
+
/***/ "e2cc":
|
|
5744
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5745
|
+
|
|
5746
|
+
var redefine = __webpack_require__("6eeb");
|
|
5747
|
+
|
|
5748
|
+
module.exports = function (target, src, options) {
|
|
5749
|
+
for (var key in src) redefine(target, key, src[key], options);
|
|
5750
|
+
return target;
|
|
5751
|
+
};
|
|
5752
|
+
|
|
5753
|
+
|
|
4471
5754
|
/***/ }),
|
|
4472
5755
|
|
|
4473
5756
|
/***/ "e330":
|
|
@@ -4579,6 +5862,430 @@ module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
|
4579
5862
|
};
|
|
4580
5863
|
|
|
4581
5864
|
|
|
5865
|
+
/***/ }),
|
|
5866
|
+
|
|
5867
|
+
/***/ "e667":
|
|
5868
|
+
/***/ (function(module, exports) {
|
|
5869
|
+
|
|
5870
|
+
module.exports = function (exec) {
|
|
5871
|
+
try {
|
|
5872
|
+
return { error: false, value: exec() };
|
|
5873
|
+
} catch (error) {
|
|
5874
|
+
return { error: true, value: error };
|
|
5875
|
+
}
|
|
5876
|
+
};
|
|
5877
|
+
|
|
5878
|
+
|
|
5879
|
+
/***/ }),
|
|
5880
|
+
|
|
5881
|
+
/***/ "e6cf":
|
|
5882
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
5883
|
+
|
|
5884
|
+
"use strict";
|
|
5885
|
+
|
|
5886
|
+
var $ = __webpack_require__("23e7");
|
|
5887
|
+
var IS_PURE = __webpack_require__("c430");
|
|
5888
|
+
var global = __webpack_require__("da84");
|
|
5889
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
5890
|
+
var call = __webpack_require__("c65b");
|
|
5891
|
+
var NativePromise = __webpack_require__("fea9");
|
|
5892
|
+
var redefine = __webpack_require__("6eeb");
|
|
5893
|
+
var redefineAll = __webpack_require__("e2cc");
|
|
5894
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
5895
|
+
var setToStringTag = __webpack_require__("d44e");
|
|
5896
|
+
var setSpecies = __webpack_require__("2626");
|
|
5897
|
+
var aCallable = __webpack_require__("59ed");
|
|
5898
|
+
var isCallable = __webpack_require__("1626");
|
|
5899
|
+
var isObject = __webpack_require__("861d");
|
|
5900
|
+
var anInstance = __webpack_require__("19aa");
|
|
5901
|
+
var inspectSource = __webpack_require__("8925");
|
|
5902
|
+
var iterate = __webpack_require__("2266");
|
|
5903
|
+
var checkCorrectnessOfIteration = __webpack_require__("1c7e");
|
|
5904
|
+
var speciesConstructor = __webpack_require__("4840");
|
|
5905
|
+
var task = __webpack_require__("2cf4").set;
|
|
5906
|
+
var microtask = __webpack_require__("b575");
|
|
5907
|
+
var promiseResolve = __webpack_require__("cdf9");
|
|
5908
|
+
var hostReportErrors = __webpack_require__("44de");
|
|
5909
|
+
var newPromiseCapabilityModule = __webpack_require__("f069");
|
|
5910
|
+
var perform = __webpack_require__("e667");
|
|
5911
|
+
var Queue = __webpack_require__("01b4");
|
|
5912
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
5913
|
+
var isForced = __webpack_require__("94ca");
|
|
5914
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
5915
|
+
var IS_BROWSER = __webpack_require__("6069");
|
|
5916
|
+
var IS_NODE = __webpack_require__("605d");
|
|
5917
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
5918
|
+
|
|
5919
|
+
var SPECIES = wellKnownSymbol('species');
|
|
5920
|
+
var PROMISE = 'Promise';
|
|
5921
|
+
|
|
5922
|
+
var getInternalState = InternalStateModule.getterFor(PROMISE);
|
|
5923
|
+
var setInternalState = InternalStateModule.set;
|
|
5924
|
+
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
5925
|
+
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
|
5926
|
+
var PromiseConstructor = NativePromise;
|
|
5927
|
+
var PromisePrototype = NativePromisePrototype;
|
|
5928
|
+
var TypeError = global.TypeError;
|
|
5929
|
+
var document = global.document;
|
|
5930
|
+
var process = global.process;
|
|
5931
|
+
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
5932
|
+
var newGenericPromiseCapability = newPromiseCapability;
|
|
5933
|
+
|
|
5934
|
+
var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);
|
|
5935
|
+
var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);
|
|
5936
|
+
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
5937
|
+
var REJECTION_HANDLED = 'rejectionhandled';
|
|
5938
|
+
var PENDING = 0;
|
|
5939
|
+
var FULFILLED = 1;
|
|
5940
|
+
var REJECTED = 2;
|
|
5941
|
+
var HANDLED = 1;
|
|
5942
|
+
var UNHANDLED = 2;
|
|
5943
|
+
var SUBCLASSING = false;
|
|
5944
|
+
|
|
5945
|
+
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
5946
|
+
|
|
5947
|
+
var FORCED = isForced(PROMISE, function () {
|
|
5948
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);
|
|
5949
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);
|
|
5950
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
5951
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
5952
|
+
// We can't detect it synchronously, so just check versions
|
|
5953
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
5954
|
+
// We need Promise#finally in the pure version for preventing prototype pollution
|
|
5955
|
+
if (IS_PURE && !PromisePrototype['finally']) return true;
|
|
5956
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
5957
|
+
// deoptimization and performance degradation
|
|
5958
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
5959
|
+
if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
|
|
5960
|
+
// Detect correctness of subclassing with @@species support
|
|
5961
|
+
var promise = new PromiseConstructor(function (resolve) { resolve(1); });
|
|
5962
|
+
var FakePromise = function (exec) {
|
|
5963
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
5964
|
+
};
|
|
5965
|
+
var constructor = promise.constructor = {};
|
|
5966
|
+
constructor[SPECIES] = FakePromise;
|
|
5967
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
5968
|
+
if (!SUBCLASSING) return true;
|
|
5969
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
5970
|
+
return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;
|
|
5971
|
+
});
|
|
5972
|
+
|
|
5973
|
+
var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {
|
|
5974
|
+
PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });
|
|
5975
|
+
});
|
|
5976
|
+
|
|
5977
|
+
// helpers
|
|
5978
|
+
var isThenable = function (it) {
|
|
5979
|
+
var then;
|
|
5980
|
+
return isObject(it) && isCallable(then = it.then) ? then : false;
|
|
5981
|
+
};
|
|
5982
|
+
|
|
5983
|
+
var callReaction = function (reaction, state) {
|
|
5984
|
+
var value = state.value;
|
|
5985
|
+
var ok = state.state == FULFILLED;
|
|
5986
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
5987
|
+
var resolve = reaction.resolve;
|
|
5988
|
+
var reject = reaction.reject;
|
|
5989
|
+
var domain = reaction.domain;
|
|
5990
|
+
var result, then, exited;
|
|
5991
|
+
try {
|
|
5992
|
+
if (handler) {
|
|
5993
|
+
if (!ok) {
|
|
5994
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
5995
|
+
state.rejection = HANDLED;
|
|
5996
|
+
}
|
|
5997
|
+
if (handler === true) result = value;
|
|
5998
|
+
else {
|
|
5999
|
+
if (domain) domain.enter();
|
|
6000
|
+
result = handler(value); // can throw
|
|
6001
|
+
if (domain) {
|
|
6002
|
+
domain.exit();
|
|
6003
|
+
exited = true;
|
|
6004
|
+
}
|
|
6005
|
+
}
|
|
6006
|
+
if (result === reaction.promise) {
|
|
6007
|
+
reject(TypeError('Promise-chain cycle'));
|
|
6008
|
+
} else if (then = isThenable(result)) {
|
|
6009
|
+
call(then, result, resolve, reject);
|
|
6010
|
+
} else resolve(result);
|
|
6011
|
+
} else reject(value);
|
|
6012
|
+
} catch (error) {
|
|
6013
|
+
if (domain && !exited) domain.exit();
|
|
6014
|
+
reject(error);
|
|
6015
|
+
}
|
|
6016
|
+
};
|
|
6017
|
+
|
|
6018
|
+
var notify = function (state, isReject) {
|
|
6019
|
+
if (state.notified) return;
|
|
6020
|
+
state.notified = true;
|
|
6021
|
+
microtask(function () {
|
|
6022
|
+
var reactions = state.reactions;
|
|
6023
|
+
var reaction;
|
|
6024
|
+
while (reaction = reactions.get()) {
|
|
6025
|
+
callReaction(reaction, state);
|
|
6026
|
+
}
|
|
6027
|
+
state.notified = false;
|
|
6028
|
+
if (isReject && !state.rejection) onUnhandled(state);
|
|
6029
|
+
});
|
|
6030
|
+
};
|
|
6031
|
+
|
|
6032
|
+
var dispatchEvent = function (name, promise, reason) {
|
|
6033
|
+
var event, handler;
|
|
6034
|
+
if (DISPATCH_EVENT) {
|
|
6035
|
+
event = document.createEvent('Event');
|
|
6036
|
+
event.promise = promise;
|
|
6037
|
+
event.reason = reason;
|
|
6038
|
+
event.initEvent(name, false, true);
|
|
6039
|
+
global.dispatchEvent(event);
|
|
6040
|
+
} else event = { promise: promise, reason: reason };
|
|
6041
|
+
if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);
|
|
6042
|
+
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
6043
|
+
};
|
|
6044
|
+
|
|
6045
|
+
var onUnhandled = function (state) {
|
|
6046
|
+
call(task, global, function () {
|
|
6047
|
+
var promise = state.facade;
|
|
6048
|
+
var value = state.value;
|
|
6049
|
+
var IS_UNHANDLED = isUnhandled(state);
|
|
6050
|
+
var result;
|
|
6051
|
+
if (IS_UNHANDLED) {
|
|
6052
|
+
result = perform(function () {
|
|
6053
|
+
if (IS_NODE) {
|
|
6054
|
+
process.emit('unhandledRejection', value, promise);
|
|
6055
|
+
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
|
6056
|
+
});
|
|
6057
|
+
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
|
6058
|
+
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
|
6059
|
+
if (result.error) throw result.value;
|
|
6060
|
+
}
|
|
6061
|
+
});
|
|
6062
|
+
};
|
|
6063
|
+
|
|
6064
|
+
var isUnhandled = function (state) {
|
|
6065
|
+
return state.rejection !== HANDLED && !state.parent;
|
|
6066
|
+
};
|
|
6067
|
+
|
|
6068
|
+
var onHandleUnhandled = function (state) {
|
|
6069
|
+
call(task, global, function () {
|
|
6070
|
+
var promise = state.facade;
|
|
6071
|
+
if (IS_NODE) {
|
|
6072
|
+
process.emit('rejectionHandled', promise);
|
|
6073
|
+
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
|
6074
|
+
});
|
|
6075
|
+
};
|
|
6076
|
+
|
|
6077
|
+
var bind = function (fn, state, unwrap) {
|
|
6078
|
+
return function (value) {
|
|
6079
|
+
fn(state, value, unwrap);
|
|
6080
|
+
};
|
|
6081
|
+
};
|
|
6082
|
+
|
|
6083
|
+
var internalReject = function (state, value, unwrap) {
|
|
6084
|
+
if (state.done) return;
|
|
6085
|
+
state.done = true;
|
|
6086
|
+
if (unwrap) state = unwrap;
|
|
6087
|
+
state.value = value;
|
|
6088
|
+
state.state = REJECTED;
|
|
6089
|
+
notify(state, true);
|
|
6090
|
+
};
|
|
6091
|
+
|
|
6092
|
+
var internalResolve = function (state, value, unwrap) {
|
|
6093
|
+
if (state.done) return;
|
|
6094
|
+
state.done = true;
|
|
6095
|
+
if (unwrap) state = unwrap;
|
|
6096
|
+
try {
|
|
6097
|
+
if (state.facade === value) throw TypeError("Promise can't be resolved itself");
|
|
6098
|
+
var then = isThenable(value);
|
|
6099
|
+
if (then) {
|
|
6100
|
+
microtask(function () {
|
|
6101
|
+
var wrapper = { done: false };
|
|
6102
|
+
try {
|
|
6103
|
+
call(then, value,
|
|
6104
|
+
bind(internalResolve, wrapper, state),
|
|
6105
|
+
bind(internalReject, wrapper, state)
|
|
6106
|
+
);
|
|
6107
|
+
} catch (error) {
|
|
6108
|
+
internalReject(wrapper, error, state);
|
|
6109
|
+
}
|
|
6110
|
+
});
|
|
6111
|
+
} else {
|
|
6112
|
+
state.value = value;
|
|
6113
|
+
state.state = FULFILLED;
|
|
6114
|
+
notify(state, false);
|
|
6115
|
+
}
|
|
6116
|
+
} catch (error) {
|
|
6117
|
+
internalReject({ done: false }, error, state);
|
|
6118
|
+
}
|
|
6119
|
+
};
|
|
6120
|
+
|
|
6121
|
+
// constructor polyfill
|
|
6122
|
+
if (FORCED) {
|
|
6123
|
+
// 25.4.3.1 Promise(executor)
|
|
6124
|
+
PromiseConstructor = function Promise(executor) {
|
|
6125
|
+
anInstance(this, PromisePrototype);
|
|
6126
|
+
aCallable(executor);
|
|
6127
|
+
call(Internal, this);
|
|
6128
|
+
var state = getInternalState(this);
|
|
6129
|
+
try {
|
|
6130
|
+
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
6131
|
+
} catch (error) {
|
|
6132
|
+
internalReject(state, error);
|
|
6133
|
+
}
|
|
6134
|
+
};
|
|
6135
|
+
PromisePrototype = PromiseConstructor.prototype;
|
|
6136
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
6137
|
+
Internal = function Promise(executor) {
|
|
6138
|
+
setInternalState(this, {
|
|
6139
|
+
type: PROMISE,
|
|
6140
|
+
done: false,
|
|
6141
|
+
notified: false,
|
|
6142
|
+
parent: false,
|
|
6143
|
+
reactions: new Queue(),
|
|
6144
|
+
rejection: false,
|
|
6145
|
+
state: PENDING,
|
|
6146
|
+
value: undefined
|
|
6147
|
+
});
|
|
6148
|
+
};
|
|
6149
|
+
Internal.prototype = redefineAll(PromisePrototype, {
|
|
6150
|
+
// `Promise.prototype.then` method
|
|
6151
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
6152
|
+
// eslint-disable-next-line unicorn/no-thenable -- safe
|
|
6153
|
+
then: function then(onFulfilled, onRejected) {
|
|
6154
|
+
var state = getInternalPromiseState(this);
|
|
6155
|
+
var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
|
|
6156
|
+
state.parent = true;
|
|
6157
|
+
reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
|
|
6158
|
+
reaction.fail = isCallable(onRejected) && onRejected;
|
|
6159
|
+
reaction.domain = IS_NODE ? process.domain : undefined;
|
|
6160
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
6161
|
+
else microtask(function () {
|
|
6162
|
+
callReaction(reaction, state);
|
|
6163
|
+
});
|
|
6164
|
+
return reaction.promise;
|
|
6165
|
+
},
|
|
6166
|
+
// `Promise.prototype.catch` method
|
|
6167
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
6168
|
+
'catch': function (onRejected) {
|
|
6169
|
+
return this.then(undefined, onRejected);
|
|
6170
|
+
}
|
|
6171
|
+
});
|
|
6172
|
+
OwnPromiseCapability = function () {
|
|
6173
|
+
var promise = new Internal();
|
|
6174
|
+
var state = getInternalState(promise);
|
|
6175
|
+
this.promise = promise;
|
|
6176
|
+
this.resolve = bind(internalResolve, state);
|
|
6177
|
+
this.reject = bind(internalReject, state);
|
|
6178
|
+
};
|
|
6179
|
+
newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
|
|
6180
|
+
return C === PromiseConstructor || C === PromiseWrapper
|
|
6181
|
+
? new OwnPromiseCapability(C)
|
|
6182
|
+
: newGenericPromiseCapability(C);
|
|
6183
|
+
};
|
|
6184
|
+
|
|
6185
|
+
if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {
|
|
6186
|
+
nativeThen = NativePromisePrototype.then;
|
|
6187
|
+
|
|
6188
|
+
if (!SUBCLASSING) {
|
|
6189
|
+
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
6190
|
+
redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
6191
|
+
var that = this;
|
|
6192
|
+
return new PromiseConstructor(function (resolve, reject) {
|
|
6193
|
+
call(nativeThen, that, resolve, reject);
|
|
6194
|
+
}).then(onFulfilled, onRejected);
|
|
6195
|
+
// https://github.com/zloirock/core-js/issues/640
|
|
6196
|
+
}, { unsafe: true });
|
|
6197
|
+
|
|
6198
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
6199
|
+
redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });
|
|
6200
|
+
}
|
|
6201
|
+
|
|
6202
|
+
// make `.constructor === Promise` work for native promise-based APIs
|
|
6203
|
+
try {
|
|
6204
|
+
delete NativePromisePrototype.constructor;
|
|
6205
|
+
} catch (error) { /* empty */ }
|
|
6206
|
+
|
|
6207
|
+
// make `instanceof Promise` work for native promise-based APIs
|
|
6208
|
+
if (setPrototypeOf) {
|
|
6209
|
+
setPrototypeOf(NativePromisePrototype, PromisePrototype);
|
|
6210
|
+
}
|
|
6211
|
+
}
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
$({ global: true, wrap: true, forced: FORCED }, {
|
|
6215
|
+
Promise: PromiseConstructor
|
|
6216
|
+
});
|
|
6217
|
+
|
|
6218
|
+
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
6219
|
+
setSpecies(PROMISE);
|
|
6220
|
+
|
|
6221
|
+
PromiseWrapper = getBuiltIn(PROMISE);
|
|
6222
|
+
|
|
6223
|
+
// statics
|
|
6224
|
+
$({ target: PROMISE, stat: true, forced: FORCED }, {
|
|
6225
|
+
// `Promise.reject` method
|
|
6226
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
6227
|
+
reject: function reject(r) {
|
|
6228
|
+
var capability = newPromiseCapability(this);
|
|
6229
|
+
call(capability.reject, undefined, r);
|
|
6230
|
+
return capability.promise;
|
|
6231
|
+
}
|
|
6232
|
+
});
|
|
6233
|
+
|
|
6234
|
+
$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {
|
|
6235
|
+
// `Promise.resolve` method
|
|
6236
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
6237
|
+
resolve: function resolve(x) {
|
|
6238
|
+
return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);
|
|
6239
|
+
}
|
|
6240
|
+
});
|
|
6241
|
+
|
|
6242
|
+
$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
6243
|
+
// `Promise.all` method
|
|
6244
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
6245
|
+
all: function all(iterable) {
|
|
6246
|
+
var C = this;
|
|
6247
|
+
var capability = newPromiseCapability(C);
|
|
6248
|
+
var resolve = capability.resolve;
|
|
6249
|
+
var reject = capability.reject;
|
|
6250
|
+
var result = perform(function () {
|
|
6251
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
6252
|
+
var values = [];
|
|
6253
|
+
var counter = 0;
|
|
6254
|
+
var remaining = 1;
|
|
6255
|
+
iterate(iterable, function (promise) {
|
|
6256
|
+
var index = counter++;
|
|
6257
|
+
var alreadyCalled = false;
|
|
6258
|
+
remaining++;
|
|
6259
|
+
call($promiseResolve, C, promise).then(function (value) {
|
|
6260
|
+
if (alreadyCalled) return;
|
|
6261
|
+
alreadyCalled = true;
|
|
6262
|
+
values[index] = value;
|
|
6263
|
+
--remaining || resolve(values);
|
|
6264
|
+
}, reject);
|
|
6265
|
+
});
|
|
6266
|
+
--remaining || resolve(values);
|
|
6267
|
+
});
|
|
6268
|
+
if (result.error) reject(result.value);
|
|
6269
|
+
return capability.promise;
|
|
6270
|
+
},
|
|
6271
|
+
// `Promise.race` method
|
|
6272
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
6273
|
+
race: function race(iterable) {
|
|
6274
|
+
var C = this;
|
|
6275
|
+
var capability = newPromiseCapability(C);
|
|
6276
|
+
var reject = capability.reject;
|
|
6277
|
+
var result = perform(function () {
|
|
6278
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
6279
|
+
iterate(iterable, function (promise) {
|
|
6280
|
+
call($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
6281
|
+
});
|
|
6282
|
+
});
|
|
6283
|
+
if (result.error) reject(result.value);
|
|
6284
|
+
return capability.promise;
|
|
6285
|
+
}
|
|
6286
|
+
});
|
|
6287
|
+
|
|
6288
|
+
|
|
4582
6289
|
/***/ }),
|
|
4583
6290
|
|
|
4584
6291
|
/***/ "e893":
|
|
@@ -4645,6 +6352,33 @@ module.exports = function (it) {
|
|
|
4645
6352
|
/* unused harmony reexport * */
|
|
4646
6353
|
|
|
4647
6354
|
|
|
6355
|
+
/***/ }),
|
|
6356
|
+
|
|
6357
|
+
/***/ "f069":
|
|
6358
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6359
|
+
|
|
6360
|
+
"use strict";
|
|
6361
|
+
|
|
6362
|
+
var aCallable = __webpack_require__("59ed");
|
|
6363
|
+
|
|
6364
|
+
var PromiseCapability = function (C) {
|
|
6365
|
+
var resolve, reject;
|
|
6366
|
+
this.promise = new C(function ($$resolve, $$reject) {
|
|
6367
|
+
if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
|
|
6368
|
+
resolve = $$resolve;
|
|
6369
|
+
reject = $$reject;
|
|
6370
|
+
});
|
|
6371
|
+
this.resolve = aCallable(resolve);
|
|
6372
|
+
this.reject = aCallable(reject);
|
|
6373
|
+
};
|
|
6374
|
+
|
|
6375
|
+
// `NewPromiseCapability` abstract operation
|
|
6376
|
+
// https://tc39.es/ecma262/#sec-newpromisecapability
|
|
6377
|
+
module.exports.f = function (C) {
|
|
6378
|
+
return new PromiseCapability(C);
|
|
6379
|
+
};
|
|
6380
|
+
|
|
6381
|
+
|
|
4648
6382
|
/***/ }),
|
|
4649
6383
|
|
|
4650
6384
|
/***/ "f36a":
|
|
@@ -4753,7 +6487,7 @@ var es_object_keys = __webpack_require__("b64b");
|
|
|
4753
6487
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
4754
6488
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
4755
6489
|
|
|
4756
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6490
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Button/BaseButton.vue?vue&type=template&id=666255ba&
|
|
4757
6491
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'nuxt-link' : 'button',_vm._g(_vm._b({tag:"component",class:[
|
|
4758
6492
|
'btn',
|
|
4759
6493
|
{'full-width': _vm.fullwidth},
|
|
@@ -4961,7 +6695,7 @@ var component = normalizeComponent(
|
|
|
4961
6695
|
)
|
|
4962
6696
|
|
|
4963
6697
|
/* harmony default export */ var BaseButton = (component.exports);
|
|
4964
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6698
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField/TextField.vue?vue&type=template&id=0b0b00cd&
|
|
4965
6699
|
var TextFieldvue_type_template_id_0b0b00cd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[(!_vm.mask)?_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}):_c('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label)),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()],1),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
4966
6700
|
var TextFieldvue_type_template_id_0b0b00cd_staticRenderFns = []
|
|
4967
6701
|
|
|
@@ -5091,7 +6825,7 @@ var TextField_component = normalizeComponent(
|
|
|
5091
6825
|
)
|
|
5092
6826
|
|
|
5093
6827
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
5094
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6828
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField/PasswordField.vue?vue&type=template&id=5de3e742&
|
|
5095
6829
|
var PasswordFieldvue_type_template_id_5de3e742_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label))]),(_vm.showPassword)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = false}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 511.992 511.992","id":"openedEye"}},[_c('path',{attrs:{"d":"M510.096 249.937c-4.032-5.867-100.928-143.275-254.101-143.275-131.435 0-248.555 136.619-253.483 142.443-3.349 3.968-3.349 9.792 0 13.781C7.44 268.71 124.56 405.329 255.995 405.329S504.549 268.71 509.477 262.886c3.094-3.669 3.371-8.981.619-12.949zM255.995 383.996c-105.365 0-205.547-100.48-230.997-128 25.408-27.541 125.483-128 230.997-128 123.285 0 210.304 100.331 231.552 127.424-24.534 26.645-125.291 128.576-231.552 128.576z"}}),_c('path',{attrs:{"d":"M255.995 170.662c-47.061 0-85.333 38.272-85.333 85.333s38.272 85.333 85.333 85.333 85.333-38.272 85.333-85.333-38.272-85.333-85.333-85.333zm0 149.334c-35.285 0-64-28.715-64-64s28.715-64 64-64 64 28.715 64 64-28.715 64-64 64z"}})])]):_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = true}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512.001 512.001","id":"closedEye"}},[_c('path',{attrs:{"d":"M316.332 195.662c-4.16-4.16-10.923-4.16-15.083 0s-4.16 10.944 0 15.083c12.075 12.075 18.752 28.139 18.752 45.248 0 35.285-28.715 64-64 64-17.109 0-33.173-6.656-45.248-18.752-4.16-4.16-10.923-4.16-15.083 0-4.16 4.139-4.16 10.923 0 15.083 16.085 16.128 37.525 25.003 60.331 25.003 47.061 0 85.333-38.272 85.333-85.333 0-22.807-8.874-44.247-25.002-60.332zm-45.462-23.531c-4.843-.853-9.792-1.472-14.869-1.472-47.061 0-85.333 38.272-85.333 85.333 0 5.077.619 10.027 1.493 14.869.917 5.163 5.419 8.811 10.475 8.811.619 0 1.237-.043 1.877-.171 5.781-1.024 9.664-6.571 8.64-12.352-.661-3.627-1.152-7.317-1.152-11.157 0-35.285 28.715-64 64-64 3.84 0 7.531.491 11.157 1.131 5.675 1.152 11.328-2.859 12.352-8.64 1.024-5.781-2.858-11.328-8.64-12.352z"}}),_c('path',{attrs:{"d":"M509.462 249.102c-2.411-2.859-60.117-70.208-139.712-111.445-5.163-2.709-11.669-.661-14.379 4.587-2.709 5.227-.661 11.669 4.587 14.379 61.312 31.744 110.293 81.28 127.04 99.371-25.429 27.541-125.504 128-230.997 128-35.797 0-71.872-8.64-107.264-25.707-5.248-2.581-11.669-.341-14.229 4.971-2.581 5.291-.341 11.669 4.971 14.229 38.293 18.496 77.504 27.84 116.523 27.84 131.435 0 248.555-136.619 253.483-142.443 3.369-3.969 3.348-9.793-.023-13.782zM325.996 118.947c-24.277-8.171-47.829-12.288-69.995-12.288-131.435 0-248.555 136.619-253.483 142.443-3.115 3.669-3.371 9.003-.597 12.992 1.472 2.112 36.736 52.181 97.856 92.779a10.48 10.48 0 005.888 1.792c3.435 0 6.827-1.664 8.875-4.8 3.264-4.885 1.92-11.52-2.987-14.763-44.885-29.845-75.605-65.877-87.104-80.533 24.555-26.667 125.291-128.576 231.552-128.576 19.861 0 41.131 3.755 63.189 11.157 5.589 2.005 11.648-1.088 13.504-6.699 1.878-5.589-1.109-11.626-6.698-13.504z"}}),_c('path',{attrs:{"d":"M444.865 67.128c-4.16-4.16-10.923-4.16-15.083 0L67.116 429.795c-4.16 4.16-4.16 10.923 0 15.083a10.716 10.716 0 007.552 3.115c2.731 0 5.461-1.045 7.531-3.115L444.865 82.211c4.16-4.16 4.16-10.923 0-15.083z"}})])])]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
|
|
5096
6830
|
var PasswordFieldvue_type_template_id_5de3e742_staticRenderFns = []
|
|
5097
6831
|
|
|
@@ -5186,7 +6920,7 @@ var PasswordField_component = normalizeComponent(
|
|
|
5186
6920
|
)
|
|
5187
6921
|
|
|
5188
6922
|
/* harmony default export */ var PasswordField = (PasswordField_component.exports);
|
|
5189
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6923
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Alert/Alert.vue?vue&type=template&id=49ee10ec&
|
|
5190
6924
|
var Alertvue_type_template_id_49ee10ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['note', {'note--error': _vm.error}]},[_c('div',{staticClass:"note-svg"},[(!_vm.error)?_c('svg',{attrs:{"fill":"none","width":"14","height":"14","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#007AFF"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#007AFF"}})]):_c('svg',{attrs:{"width":"14","height":"14","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"note-error-svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#e60000"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#e60000"}})])]),_vm._t("default")],2)}
|
|
5191
6925
|
var Alertvue_type_template_id_49ee10ec_staticRenderFns = []
|
|
5192
6926
|
|
|
@@ -5249,14 +6983,14 @@ var Alert_component = normalizeComponent(
|
|
|
5249
6983
|
)
|
|
5250
6984
|
|
|
5251
6985
|
/* harmony default export */ var Alert = (Alert_component.exports);
|
|
5252
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5253
|
-
var
|
|
6986
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=template&id=0267d418&
|
|
6987
|
+
var Headervue_type_template_id_0267d418_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"a-header",class:[{'bordered': _vm.isBordered}, {'fixed': _vm.isFixed}]},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"a-header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.toAdtdev('https://adata.kz')}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":item.url}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"isDev":_vm.isDev,"isAuthenticated":_vm.isAuthenticated,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) { _vm.$emit('showBalanceModal', val) },"setShowModal":function (val) { _vm.$emit('setShowModal', val) },"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) { _vm.$emit('setIsReplenishModal', val) }}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
5254
6988
|
var animationClass = ref.animationClass;
|
|
5255
|
-
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('div',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': _vm.locationUrl.includes(item.url)},on:{"click":function($event){return _vm.handleClick(item.url)}}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
5256
|
-
var
|
|
6989
|
+
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('div',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': _vm.locationUrl.includes(_vm.toAdtdev(item.url))},on:{"click":function($event){return _vm.handleClick(item.url)}}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
|
|
6990
|
+
var Headervue_type_template_id_0267d418_staticRenderFns = []
|
|
5257
6991
|
|
|
5258
6992
|
|
|
5259
|
-
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=
|
|
6993
|
+
// CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=0267d418&
|
|
5260
6994
|
|
|
5261
6995
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
|
|
5262
6996
|
var es_number_constructor = __webpack_require__("a9e3");
|
|
@@ -5273,21 +7007,63 @@ var es_function_name = __webpack_require__("b0c0");
|
|
|
5273
7007
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
5274
7008
|
var es_regexp_to_string = __webpack_require__("25f0");
|
|
5275
7009
|
|
|
5276
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5277
|
-
var
|
|
7010
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Profile.vue?vue&type=template&id=4ff2c258&
|
|
7011
|
+
var Profilevue_type_template_id_4ff2c258_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[(_vm.requestCount !== null && _vm.isAuthenticated)?_c('div',{staticClass:"requests__link"},[_vm._v(" Суточный лимит запросов: "),_c('span',[_vm._v(" "+_vm._s(_vm.requestCount)+" "+_vm._s((_vm.daysRemaining === null || _vm.daysRemaining === '-') ? '' : ("(" + _vm.daysRemaining + ")"))+" ")])]):_vm._e(),_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
5278
7012
|
var animationClass = ref.animationClass;
|
|
5279
|
-
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem.url)?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.
|
|
7013
|
+
return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem.url)?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem.url, elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
5280
7014
|
var animationClass = ref.animationClass;
|
|
5281
7015
|
return [(elem.opened)?_c('div',[_vm._l((elem.children),function(child,idx){return [(child.url)?_c('div',{key:idx + 'link',staticClass:"profile-menu__item__child",on:{"click":function($event){return _vm.handleClick(child.url, child.name)}}},[_c('span',[_c('svg',{attrs:{"width":"4","height":"4","viewBox":"0 0 4 4","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('circle',{attrs:{"cx":"2","cy":"2","r":"2","fill":"#2C3E50"}})]),_vm._v(" "+_vm._s(child.name)+" ")])]):_vm._e()]})],2):_vm._e()]}}],null,true)})],1):_vm._e()])}),0):_vm._e(),_c('div',{staticClass:"exit",on:{"click":_vm.logout}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M11 10l2-2.054L11.077 6M10 11.9V14H2V2h8v1.65M12 8H5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_vm._v(" Выход ")])])]):_vm._e()]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
5282
7016
|
var animationClass = ref.animationClass;
|
|
5283
7017
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated && _vm.active),expression:"isAuthenticated && active"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head"},[_c('p',[_vm._v("Профиль пользователя")]),_c('svg',{attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24","id":"close_hamburger"},on:{"click":function($event){$event.stopPropagation();_vm.active = !_vm.active}}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.listDropDown.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem.url)?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[(!elem.link)?_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]):_vm._e(),(elem.link)?_c('div',{staticClass:"profile-menu-mobile__balance-items"},[_c('div',{staticClass:"profile-menu-mobile__balance-items__upper-text"},[_vm._v(" "+_vm._s(elem.name.substr(0, 15))+" ")]),_c('div',{staticClass:"profile-menu-mobile__balance__bot-text"},[_vm._v(" "+_vm._s(elem.name.substr(15))+" ")])]):_vm._e(),(elem.link)?_c('span',{staticClass:"profile-menu-mobile__balance",on:{"click":function($event){return _vm.$emit('showBalanceModal', true)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"profile-menu-mobile__links",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))]),_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])}),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
5284
7018
|
var animationClass = ref.animationClass;
|
|
5285
7019
|
return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.someMobileOpened.length > 0 && _vm.chosenElem && _vm.chosenElem.children.length > 0),expression:"someMobileOpened.length > 0 && chosenElem && chosenElem.children.length > 0"}],staticClass:"mobile-table",class:animationClass},[_c('div',{staticClass:"mobile-table-head mobile-table-head-chosen"},[_c('div',{on:{"click":function($event){_vm.chosenElem.opened = false}}},[_c('svg',{staticClass:"rotated",attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 10 18"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.108.59L9.318 9l-7.21 8.41L.59 16.108 6.683 9 .59 1.892 2.108.59z","fill":"#2C3E50"}})])]),_c('p',[_vm._v(_vm._s(_vm.chosenElem.name))])]),_c('div',{staticClass:"profile-menu-mobile"},[_c('div',{staticClass:"profile-menu-mobile__inner"},[(_vm.chosenElem.children.length > 0)?_c('div',{staticClass:"profile-menu-mobile__items"},_vm._l((_vm.chosenElem.children),function(elem,index){return _c('div',{key:index,staticClass:"bb"},[(elem.url)?_c('div',{class:elem.link ? 'profile-menu-mobile__balance-link': 'profile-menu-mobile__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[_c('div',{staticClass:"button-inner"},[_c('div',[_vm._v(_vm._s(elem.name))])])]):_vm._e()])}),0):_vm._e()]),_c('div',{staticClass:"exit-mob",on:{"click":_vm.logout}},[_c('svg',{staticClass:"arrow-svg",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M17.7501 7.93933L21.8108 12L17.7501 16.0607L16.6895 15L19.6895 12L16.6895 8.99999L17.7501 7.93933Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 2.25H2V21.75H15.5V17.25H14V20.25H3.5V3.75H14V6.75H15.5V2.25Z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M7 11.25L20.5 11.25L20.5 12.75L7 12.75L7 11.25Z","fill":"#2C3E50"}})]),_vm._v(" Выход ")])])])]}}])})],1)])}
|
|
5286
|
-
var
|
|
7020
|
+
var Profilevue_type_template_id_4ff2c258_staticRenderFns = []
|
|
7021
|
+
|
|
7022
|
+
|
|
7023
|
+
// CONCATENATED MODULE: ./src/components/Header/Profile.vue?vue&type=template&id=4ff2c258&
|
|
7024
|
+
|
|
7025
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
7026
|
+
var es_promise = __webpack_require__("e6cf");
|
|
7027
|
+
|
|
7028
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
7029
|
+
|
|
5287
7030
|
|
|
5288
7031
|
|
|
5289
|
-
|
|
7032
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
7033
|
+
try {
|
|
7034
|
+
var info = gen[key](arg);
|
|
7035
|
+
var value = info.value;
|
|
7036
|
+
} catch (error) {
|
|
7037
|
+
reject(error);
|
|
7038
|
+
return;
|
|
7039
|
+
}
|
|
7040
|
+
|
|
7041
|
+
if (info.done) {
|
|
7042
|
+
resolve(value);
|
|
7043
|
+
} else {
|
|
7044
|
+
Promise.resolve(value).then(_next, _throw);
|
|
7045
|
+
}
|
|
7046
|
+
}
|
|
5290
7047
|
|
|
7048
|
+
function _asyncToGenerator(fn) {
|
|
7049
|
+
return function () {
|
|
7050
|
+
var self = this,
|
|
7051
|
+
args = arguments;
|
|
7052
|
+
return new Promise(function (resolve, reject) {
|
|
7053
|
+
var gen = fn.apply(self, args);
|
|
7054
|
+
|
|
7055
|
+
function _next(value) {
|
|
7056
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
7057
|
+
}
|
|
7058
|
+
|
|
7059
|
+
function _throw(err) {
|
|
7060
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
7061
|
+
}
|
|
7062
|
+
|
|
7063
|
+
_next(undefined);
|
|
7064
|
+
});
|
|
7065
|
+
};
|
|
7066
|
+
}
|
|
5291
7067
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
5292
7068
|
function _arrayLikeToArray(arr, len) {
|
|
5293
7069
|
if (len == null || len > arr.length) len = arr.length;
|
|
@@ -5375,13 +7151,19 @@ function _nonIterableSpread() {
|
|
|
5375
7151
|
function _toConsumableArray(arr) {
|
|
5376
7152
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
5377
7153
|
}
|
|
7154
|
+
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
7155
|
+
var runtime = __webpack_require__("96cf");
|
|
7156
|
+
|
|
7157
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
7158
|
+
var es_array_find = __webpack_require__("7db0");
|
|
7159
|
+
|
|
5378
7160
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
5379
7161
|
var es_array_filter = __webpack_require__("4de4");
|
|
5380
7162
|
|
|
5381
7163
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
5382
7164
|
var es_string_includes = __webpack_require__("2532");
|
|
5383
7165
|
|
|
5384
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7166
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/SlideToggle.vue?vue&type=template&id=6ddd4cf0&
|
|
5385
7167
|
var SlideTogglevue_type_template_id_6ddd4cf0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification',"fastAnimation":'fastAnimation'})],2)}
|
|
5386
7168
|
var SlideTogglevue_type_template_id_6ddd4cf0_staticRenderFns = []
|
|
5387
7169
|
|
|
@@ -5459,7 +7241,7 @@ var SlideToggle_component = normalizeComponent(
|
|
|
5459
7241
|
var v_click_outside_umd = __webpack_require__("c28b");
|
|
5460
7242
|
var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_umd);
|
|
5461
7243
|
|
|
5462
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
7244
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/VerticalMobileToggle.vue?vue&type=template&id=0eccf0ba&
|
|
5463
7245
|
var VerticalMobileTogglevue_type_template_id_0eccf0ba_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification'})],2)}
|
|
5464
7246
|
var VerticalMobileTogglevue_type_template_id_0eccf0ba_staticRenderFns = []
|
|
5465
7247
|
|
|
@@ -5569,6 +7351,11 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
5569
7351
|
|
|
5570
7352
|
|
|
5571
7353
|
|
|
7354
|
+
|
|
7355
|
+
|
|
7356
|
+
|
|
7357
|
+
|
|
7358
|
+
//
|
|
5572
7359
|
//
|
|
5573
7360
|
//
|
|
5574
7361
|
//
|
|
@@ -5837,6 +7624,11 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
5837
7624
|
type: String,
|
|
5838
7625
|
default: "",
|
|
5839
7626
|
required: true
|
|
7627
|
+
},
|
|
7628
|
+
activeTabKey: {
|
|
7629
|
+
type: String,
|
|
7630
|
+
default: "",
|
|
7631
|
+
required: true
|
|
5840
7632
|
}
|
|
5841
7633
|
},
|
|
5842
7634
|
components: {
|
|
@@ -5856,6 +7648,22 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
5856
7648
|
if (this.profileDropDown && this.profileDropDown.length > 0) {
|
|
5857
7649
|
this.listDropDown = _toConsumableArray(this.profileDropDown);
|
|
5858
7650
|
}
|
|
7651
|
+
|
|
7652
|
+
if (this.activeTabKey === 'counterparty') {
|
|
7653
|
+
this.chosenElem = this.listDropDown.find(function (el) {
|
|
7654
|
+
return el.name === 'Контрагенты';
|
|
7655
|
+
});
|
|
7656
|
+
} else if (this.activeTabKey === 'tender') {
|
|
7657
|
+
this.chosenElem = this.listDropDown.find(function (el) {
|
|
7658
|
+
return el.name === 'Тендеры';
|
|
7659
|
+
});
|
|
7660
|
+
} else if (this.activeTabKey === 'work') {
|
|
7661
|
+
this.chosenElem = this.listDropDown.find(function (el) {
|
|
7662
|
+
return el.name === 'Работа';
|
|
7663
|
+
});
|
|
7664
|
+
}
|
|
7665
|
+
|
|
7666
|
+
this.chosenElem.opened = true;
|
|
5859
7667
|
},
|
|
5860
7668
|
computed: {
|
|
5861
7669
|
someMobileOpened: function someMobileOpened() {
|
|
@@ -5871,16 +7679,49 @@ var VerticalMobileToggle_component = normalizeComponent(
|
|
|
5871
7679
|
logout: function logout() {
|
|
5872
7680
|
this.$emit("logout");
|
|
5873
7681
|
},
|
|
7682
|
+
showModal: function showModal(url, name) {
|
|
7683
|
+
var _this = this;
|
|
7684
|
+
|
|
7685
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
7686
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
7687
|
+
while (1) {
|
|
7688
|
+
switch (_context.prev = _context.next) {
|
|
7689
|
+
case 0:
|
|
7690
|
+
if (!name.includes('Текущий')) {
|
|
7691
|
+
_context.next = 8;
|
|
7692
|
+
break;
|
|
7693
|
+
}
|
|
7694
|
+
|
|
7695
|
+
if (!window.location.href.includes(_this.toAdtdev(url))) {
|
|
7696
|
+
_context.next = 6;
|
|
7697
|
+
break;
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7700
|
+
_this.$emit("setIsReplenishModal", true);
|
|
7701
|
+
|
|
7702
|
+
_this.setShowModal(true);
|
|
7703
|
+
|
|
7704
|
+
_context.next = 8;
|
|
7705
|
+
break;
|
|
7706
|
+
|
|
7707
|
+
case 6:
|
|
7708
|
+
_context.next = 8;
|
|
7709
|
+
return window.open(_this.toAdtdev(url) + "&modal=show", "_self");
|
|
7710
|
+
|
|
7711
|
+
case 8:
|
|
7712
|
+
case "end":
|
|
7713
|
+
return _context.stop();
|
|
7714
|
+
}
|
|
7715
|
+
}
|
|
7716
|
+
}, _callee);
|
|
7717
|
+
}))();
|
|
7718
|
+
},
|
|
5874
7719
|
handleClick: function handleClick(url, name) {
|
|
5875
|
-
if (name.includes('Текущий')) {
|
|
5876
|
-
window.open(this.toAdtdev(url), "_self");
|
|
5877
|
-
this.$emit("setIsReplenishModal", true);
|
|
5878
|
-
} else {
|
|
7720
|
+
if (!name.includes('Текущий')) {
|
|
5879
7721
|
window.open(this.toAdtdev(url), "_self");
|
|
7722
|
+
this.active = false;
|
|
7723
|
+
if (this.chosenElem) this.chosenElem.opened = false;
|
|
5880
7724
|
}
|
|
5881
|
-
|
|
5882
|
-
this.active = false;
|
|
5883
|
-
if (this.chosenElem) this.chosenElem.opened = false;
|
|
5884
7725
|
},
|
|
5885
7726
|
rotateItem: function rotateItem(index) {
|
|
5886
7727
|
this.chosenElem = this.listDropDown[index];
|
|
@@ -5907,8 +7748,8 @@ var Profilevue_type_style_index_0_lang_scss_ = __webpack_require__("ee80");
|
|
|
5907
7748
|
|
|
5908
7749
|
var Profile_component = normalizeComponent(
|
|
5909
7750
|
Header_Profilevue_type_script_lang_js_,
|
|
5910
|
-
|
|
5911
|
-
|
|
7751
|
+
Profilevue_type_template_id_4ff2c258_render,
|
|
7752
|
+
Profilevue_type_template_id_4ff2c258_staticRenderFns,
|
|
5912
7753
|
false,
|
|
5913
7754
|
null,
|
|
5914
7755
|
null,
|
|
@@ -6143,7 +7984,8 @@ var profileDropDown = [{
|
|
|
6143
7984
|
},
|
|
6144
7985
|
activeTabKey: {
|
|
6145
7986
|
type: String,
|
|
6146
|
-
default:
|
|
7987
|
+
default: "",
|
|
7988
|
+
required: true
|
|
6147
7989
|
},
|
|
6148
7990
|
balance: {
|
|
6149
7991
|
type: Number,
|
|
@@ -6208,8 +8050,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
|
|
|
6208
8050
|
|
|
6209
8051
|
var Header_component = normalizeComponent(
|
|
6210
8052
|
Header_Headervue_type_script_lang_js_,
|
|
6211
|
-
|
|
6212
|
-
|
|
8053
|
+
Headervue_type_template_id_0267d418_render,
|
|
8054
|
+
Headervue_type_template_id_0267d418_staticRenderFns,
|
|
6213
8055
|
false,
|
|
6214
8056
|
null,
|
|
6215
8057
|
null,
|
|
@@ -6218,12 +8060,12 @@ var Header_component = normalizeComponent(
|
|
|
6218
8060
|
)
|
|
6219
8061
|
|
|
6220
8062
|
/* harmony default export */ var Header = (Header_component.exports);
|
|
6221
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6222
|
-
var
|
|
6223
|
-
var
|
|
8063
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Footer/Footer.vue?vue&type=template&id=2578c2ff&
|
|
8064
|
+
var Footervue_type_template_id_2578c2ff_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"a-footer",class:[{'paddinged': _vm.hasBottomMenu}]},[_c('div',{staticClass:"a-footer__top"},[_c('ul',{staticClass:"nav"},[_c('a',{staticClass:"logo adata-logo",attrs:{"href":"https://adata.kz"}},[_c('svg',{attrs:{"fill":"#2C3E50","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),_c('div',{staticClass:"social"},[_c('a',{attrs:{"target":"_blank","href":"https://www.facebook.com/adata.kz"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M13.6562 0H2.34375C1.05151 0 0 1.05151 0 2.34375V13.6562C0 14.9485 1.05151 16 2.34375 16H7.0625V10.3438H5.1875V7.53125H7.0625V5.625C7.0625 4.0741 8.3241 2.8125 9.875 2.8125H12.7188V5.625H9.875V7.53125H12.7188L12.25 10.3438H9.875V16H13.6562C14.9485 16 16 14.9485 16 13.6562V2.34375C16 1.05151 14.9485 0 13.6562 0Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.instagram.com/adata.kz/?igshid=253i4qxg3els"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M3.01562 0.0166016C1.35877 0.0166016 0.015625 1.35975 0.015625 3.0166V13.001C0.015625 14.6578 1.35877 16.001 3.01562 16.001H13C14.6569 16.001 16 14.6578 16 13.001V3.0166C16 1.35975 14.6569 0.0166016 13 0.0166016H3.01562ZM14.3891 3.20021C14.3891 3.6416 14.0313 3.99943 13.5899 3.99943C13.1485 3.99943 12.7906 3.6416 12.7906 3.20021C12.7906 2.75881 13.1485 2.40099 13.5899 2.40099C14.0313 2.40099 14.3891 2.75881 14.3891 3.20021ZM8.01132 11.5982C9.99761 11.5982 11.6078 9.98805 11.6078 8.00176C11.6078 6.01548 9.99761 4.40528 8.01132 4.40528C6.02504 4.40528 4.41484 6.01548 4.41484 8.00176C4.41484 9.98805 6.02504 11.5982 8.01132 11.5982ZM8.01132 12.7971C10.6597 12.7971 12.8066 10.6501 12.8066 8.00176C12.8066 5.35339 10.6597 3.20645 8.01132 3.20645C5.36295 3.20645 3.21601 5.35339 3.21601 8.00176C3.21601 10.6501 5.36295 12.7971 8.01132 12.7971Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/about"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM13.7528 4.98132C13.6144 4.46732 13.2092 4.06205 12.6952 3.92367C11.7561 3.66667 7.99997 3.66667 7.99997 3.66667C7.99997 3.66667 4.24381 3.66667 3.30477 3.91378C2.80066 4.05217 2.3855 4.46732 2.24712 4.98132C2 5.92036 2 7.86764 2 7.86764C2 7.86764 2 9.82479 2.24712 10.7539C2.3855 11.268 2.79077 11.6732 3.30477 11.8116C4.2537 12.0686 7.99997 12.0686 7.99997 12.0686C7.99997 12.0686 11.7561 12.0686 12.6952 11.8215C13.2092 11.6831 13.6144 11.2778 13.7528 10.7638C13.9999 9.82479 13.9999 7.87752 13.9999 7.87752C13.9999 7.87752 14.0098 5.92036 13.7528 4.98132ZM6.80392 9.59801L9.92747 7.799L6.80392 6V9.59801Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.tiktok.com/@adata.kz?lang=ru-RU"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM8.27136 9.89447C8.27136 10.8688 7.54987 11.506 6.65988 11.506C5.76988 11.506 5.04839 10.7845 5.04839 9.89447C5.04839 9.0988 5.7895 8.37096 6.68689 8.40404C6.86305 8.40404 7.06987 8.44599 7.15006 8.47436V6.62331C5.55588 6.30091 3.14893 7.62001 3.14893 9.89447C3.14893 11.506 4.38899 13.3333 6.65988 13.3333C8.93076 13.3333 10.1985 11.506 10.1985 9.89447V6.23373C10.5643 6.52374 11.6152 7.04631 12.8511 7.04631V5.229C11.406 5.25812 10.0956 3.98482 10.204 2.66667H8.27136V9.89447Z","fill":"#2C3E50"}})])])]),_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5)])]),_vm._m(6)])}
|
|
8065
|
+
var Footervue_type_template_id_2578c2ff_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/tariffs"}},[_vm._v("Тарифы")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/about"}},[_vm._v("О сервисе")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/apiInfo"}},[_vm._v("Описание API")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/user-agreements"}},[_vm._v("Пользовательское соглашение")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/vacancy"}},[_vm._v("Вакансии")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/contacts"}},[_vm._v("Контакты")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"a-footer__bottom"},[_c('span',[_vm._v("2022 © ТОО \"Alldata\"")])])}]
|
|
6224
8066
|
|
|
6225
8067
|
|
|
6226
|
-
// CONCATENATED MODULE: ./src/components/Footer/Footer.vue?vue&type=template&id=
|
|
8068
|
+
// CONCATENATED MODULE: ./src/components/Footer/Footer.vue?vue&type=template&id=2578c2ff&
|
|
6227
8069
|
|
|
6228
8070
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Footer/Footer.vue?vue&type=script&lang=js&
|
|
6229
8071
|
//
|
|
@@ -6306,8 +8148,8 @@ var Footervue_type_style_index_0_lang_scss_ = __webpack_require__("7433");
|
|
|
6306
8148
|
|
|
6307
8149
|
var Footer_component = normalizeComponent(
|
|
6308
8150
|
Footer_Footervue_type_script_lang_js_,
|
|
6309
|
-
|
|
6310
|
-
|
|
8151
|
+
Footervue_type_template_id_2578c2ff_render,
|
|
8152
|
+
Footervue_type_template_id_2578c2ff_staticRenderFns,
|
|
6311
8153
|
false,
|
|
6312
8154
|
null,
|
|
6313
8155
|
null,
|
|
@@ -6490,6 +8332,16 @@ module.exports = NATIVE_SYMBOL
|
|
|
6490
8332
|
&& typeof Symbol.iterator == 'symbol';
|
|
6491
8333
|
|
|
6492
8334
|
|
|
8335
|
+
/***/ }),
|
|
8336
|
+
|
|
8337
|
+
/***/ "fea9":
|
|
8338
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8339
|
+
|
|
8340
|
+
var global = __webpack_require__("da84");
|
|
8341
|
+
|
|
8342
|
+
module.exports = global.Promise;
|
|
8343
|
+
|
|
8344
|
+
|
|
6493
8345
|
/***/ })
|
|
6494
8346
|
|
|
6495
8347
|
/******/ });
|