@monei-js/components 1.7.8 → 1.7.9
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/components.cjs.development.js +2426 -187
- package/dist/components.cjs.development.js.map +1 -1
- package/dist/components.cjs.production.min.js +1 -1
- package/dist/components.cjs.production.min.js.map +1 -1
- package/dist/components.esm.js +2426 -187
- package/dist/components.esm.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/package.json +3 -2
|
@@ -56,6 +56,105 @@ function _extends() {
|
|
|
56
56
|
return _extends.apply(this, arguments);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
function _inherits(subClass, superClass) {
|
|
60
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
61
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
65
|
+
constructor: {
|
|
66
|
+
value: subClass,
|
|
67
|
+
writable: true,
|
|
68
|
+
configurable: true
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function _getPrototypeOf(o) {
|
|
75
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
76
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
77
|
+
};
|
|
78
|
+
return _getPrototypeOf(o);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
function _setPrototypeOf(o, p) {
|
|
82
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
83
|
+
o.__proto__ = p;
|
|
84
|
+
return o;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
return _setPrototypeOf(o, p);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function _isNativeReflectConstruct() {
|
|
91
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
92
|
+
if (Reflect.construct.sham) return false;
|
|
93
|
+
if (typeof Proxy === "function") return true;
|
|
94
|
+
|
|
95
|
+
try {
|
|
96
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
97
|
+
return true;
|
|
98
|
+
} catch (e) {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function _construct(Parent, args, Class) {
|
|
104
|
+
if (_isNativeReflectConstruct()) {
|
|
105
|
+
_construct = Reflect.construct;
|
|
106
|
+
} else {
|
|
107
|
+
_construct = function _construct(Parent, args, Class) {
|
|
108
|
+
var a = [null];
|
|
109
|
+
a.push.apply(a, args);
|
|
110
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
111
|
+
var instance = new Constructor();
|
|
112
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
113
|
+
return instance;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return _construct.apply(null, arguments);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function _isNativeFunction(fn) {
|
|
121
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function _wrapNativeSuper(Class) {
|
|
125
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
126
|
+
|
|
127
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
128
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
129
|
+
|
|
130
|
+
if (typeof Class !== "function") {
|
|
131
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (typeof _cache !== "undefined") {
|
|
135
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
136
|
+
|
|
137
|
+
_cache.set(Class, Wrapper);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
function Wrapper() {
|
|
141
|
+
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
145
|
+
constructor: {
|
|
146
|
+
value: Wrapper,
|
|
147
|
+
enumerable: false,
|
|
148
|
+
writable: true,
|
|
149
|
+
configurable: true
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
return _wrapNativeSuper(Class);
|
|
156
|
+
}
|
|
157
|
+
|
|
59
158
|
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
60
159
|
if (source == null) return {};
|
|
61
160
|
var target = {};
|
|
@@ -71,6 +170,113 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
71
170
|
return target;
|
|
72
171
|
}
|
|
73
172
|
|
|
173
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
174
|
+
if (!o) return;
|
|
175
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
176
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
177
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
178
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
179
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
function _arrayLikeToArray(arr, len) {
|
|
183
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
184
|
+
|
|
185
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
186
|
+
|
|
187
|
+
return arr2;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
191
|
+
var it;
|
|
192
|
+
|
|
193
|
+
if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
|
|
194
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
195
|
+
if (it) o = it;
|
|
196
|
+
var i = 0;
|
|
197
|
+
return function () {
|
|
198
|
+
if (i >= o.length) return {
|
|
199
|
+
done: true
|
|
200
|
+
};
|
|
201
|
+
return {
|
|
202
|
+
done: false,
|
|
203
|
+
value: o[i++]
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
it = o[Symbol.iterator]();
|
|
212
|
+
return it.next.bind(it);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
function _wrapRegExp(re, groups) {
|
|
216
|
+
_wrapRegExp = function (re, groups) {
|
|
217
|
+
return new BabelRegExp(re, undefined, groups);
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
var _RegExp = _wrapNativeSuper(RegExp);
|
|
221
|
+
|
|
222
|
+
var _super = RegExp.prototype;
|
|
223
|
+
|
|
224
|
+
var _groups = new WeakMap();
|
|
225
|
+
|
|
226
|
+
function BabelRegExp(re, flags, groups) {
|
|
227
|
+
var _this = _RegExp.call(this, re, flags);
|
|
228
|
+
|
|
229
|
+
_groups.set(_this, groups || _groups.get(re));
|
|
230
|
+
|
|
231
|
+
return _this;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
_inherits(BabelRegExp, _RegExp);
|
|
235
|
+
|
|
236
|
+
BabelRegExp.prototype.exec = function (str) {
|
|
237
|
+
var result = _super.exec.call(this, str);
|
|
238
|
+
|
|
239
|
+
if (result) result.groups = buildGroups(result, this);
|
|
240
|
+
return result;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
|
|
244
|
+
if (typeof substitution === "string") {
|
|
245
|
+
var groups = _groups.get(this);
|
|
246
|
+
|
|
247
|
+
return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
|
|
248
|
+
return "$" + groups[name];
|
|
249
|
+
}));
|
|
250
|
+
} else if (typeof substitution === "function") {
|
|
251
|
+
var _this = this;
|
|
252
|
+
|
|
253
|
+
return _super[Symbol.replace].call(this, str, function () {
|
|
254
|
+
var args = [];
|
|
255
|
+
args.push.apply(args, arguments);
|
|
256
|
+
|
|
257
|
+
if (typeof args[args.length - 1] !== "object") {
|
|
258
|
+
args.push(buildGroups(args, _this));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
return substitution.apply(this, args);
|
|
262
|
+
});
|
|
263
|
+
} else {
|
|
264
|
+
return _super[Symbol.replace].call(this, str, substitution);
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
function buildGroups(result, re) {
|
|
269
|
+
var g = _groups.get(re);
|
|
270
|
+
|
|
271
|
+
return Object.keys(g).reduce(function (groups, name) {
|
|
272
|
+
groups[name] = result[g[name]];
|
|
273
|
+
return groups;
|
|
274
|
+
}, Object.create(null));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
return _wrapRegExp.apply(this, arguments);
|
|
278
|
+
}
|
|
279
|
+
|
|
74
280
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
75
281
|
|
|
76
282
|
function unwrapExports (x) {
|
|
@@ -809,199 +1015,2197 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
809
1015
|
}
|
|
810
1016
|
});
|
|
811
1017
|
|
|
812
|
-
var
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
1018
|
+
var e = 2592e5,
|
|
1019
|
+
t = "thumbmark",
|
|
1020
|
+
n = "https://api.thumbmarkjs.com",
|
|
1021
|
+
o = {
|
|
1022
|
+
exclude: [],
|
|
1023
|
+
include: [],
|
|
1024
|
+
stabilize: ["private", "iframe"],
|
|
1025
|
+
logging: !0,
|
|
1026
|
+
timeout: 5e3,
|
|
1027
|
+
cache_api_call: !0,
|
|
1028
|
+
cache_lifetime_in_ms: 0,
|
|
1029
|
+
performance: !1,
|
|
1030
|
+
experimental: !1,
|
|
1031
|
+
property_name_factory: function property_name_factory(e) {
|
|
1032
|
+
return t + "_" + e;
|
|
1033
|
+
}
|
|
822
1034
|
};
|
|
823
|
-
var loadScript = function loadScript(src, nonce, dataset, forceReload) {
|
|
824
|
-
return new Promise(function (resolve, reject) {
|
|
825
|
-
var existingScript = Array.from(document.scripts).find(function (s) {
|
|
826
|
-
return s.src === src;
|
|
827
|
-
});
|
|
828
1035
|
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
1036
|
+
var a = {
|
|
1037
|
+
"private": [{
|
|
1038
|
+
exclude: ["canvas"],
|
|
1039
|
+
browsers: ["firefox", "safari>=17", "brave"]
|
|
1040
|
+
}, {
|
|
1041
|
+
exclude: ["audio"],
|
|
1042
|
+
browsers: ["samsungbrowser", "safari"]
|
|
1043
|
+
}, {
|
|
1044
|
+
exclude: ["fonts"],
|
|
1045
|
+
browsers: ["firefox"]
|
|
1046
|
+
}, {
|
|
1047
|
+
exclude: ["audio.sampleHash", "hardware.deviceMemory", "header.acceptLanguage.q", "system.hardwareConcurrency", "plugins"],
|
|
1048
|
+
browsers: ["brave"]
|
|
1049
|
+
}, {
|
|
1050
|
+
exclude: ["tls.extensions"],
|
|
1051
|
+
browsers: ["firefox", "chrome", "safari"]
|
|
1052
|
+
}, {
|
|
1053
|
+
exclude: ["header.acceptLanguage"],
|
|
1054
|
+
browsers: ["edge", "chrome"]
|
|
1055
|
+
}],
|
|
1056
|
+
iframe: [{
|
|
1057
|
+
exclude: ["system.applePayVersion", "system.cookieEnabled"],
|
|
1058
|
+
browsers: ["safari"]
|
|
1059
|
+
}, {
|
|
1060
|
+
exclude: ["permissions"]
|
|
1061
|
+
}],
|
|
1062
|
+
vpn: [{
|
|
1063
|
+
exclude: ["ip"]
|
|
1064
|
+
}],
|
|
1065
|
+
always: [{
|
|
1066
|
+
exclude: ["speech"],
|
|
1067
|
+
browsers: ["brave", "firefox"]
|
|
1068
|
+
}]
|
|
1069
|
+
},
|
|
1070
|
+
s = "undefined" != typeof window ? window.OfflineAudioContext || window.webkitOfflineAudioContext : null;
|
|
1071
|
+
|
|
1072
|
+
function c(e) {
|
|
1073
|
+
var t = 0;
|
|
1074
|
+
|
|
1075
|
+
for (var _n = 0; _n < e.length; ++_n) {
|
|
1076
|
+
t += Math.abs(e[_n]);
|
|
1077
|
+
}
|
|
837
1078
|
|
|
838
|
-
|
|
839
|
-
|
|
1079
|
+
return t;
|
|
1080
|
+
}
|
|
840
1081
|
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
};
|
|
1082
|
+
function u(e, t, n) {
|
|
1083
|
+
var o = [];
|
|
844
1084
|
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
};
|
|
1085
|
+
for (var _t = 0; _t < e[0].data.length; _t++) {
|
|
1086
|
+
var _n2 = [];
|
|
848
1087
|
|
|
849
|
-
|
|
850
|
-
|
|
1088
|
+
for (var _o = 0; _o < e.length; _o++) {
|
|
1089
|
+
_n2.push(e[_o].data[_t]);
|
|
851
1090
|
}
|
|
852
1091
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
if (dataset[key]) {
|
|
856
|
-
script.dataset[key] = dataset[key];
|
|
857
|
-
}
|
|
858
|
-
});
|
|
859
|
-
}
|
|
1092
|
+
o.push(l(_n2));
|
|
1093
|
+
}
|
|
860
1094
|
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}
|
|
864
|
-
var stringify = function stringify(obj) {
|
|
865
|
-
return Object.keys(obj).reduce(function (result, key) {
|
|
866
|
-
if (obj[key] !== undefined) {
|
|
867
|
-
result.push(key + "=" + obj[key]);
|
|
868
|
-
}
|
|
1095
|
+
var r = new Uint8ClampedArray(o);
|
|
1096
|
+
return new ImageData(r, t, n);
|
|
1097
|
+
}
|
|
869
1098
|
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
};
|
|
873
|
-
var fixLocalstorage = function fixLocalstorage() {
|
|
874
|
-
var localStorage;
|
|
1099
|
+
function l(e) {
|
|
1100
|
+
if (0 === e.length) return 0;
|
|
1101
|
+
var t = {};
|
|
875
1102
|
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
var store = new Map();
|
|
881
|
-
return {
|
|
882
|
-
getItem: function getItem(key) {
|
|
883
|
-
return store.get(key);
|
|
884
|
-
},
|
|
885
|
-
setItem: function setItem(key, value) {
|
|
886
|
-
store.set(key, value);
|
|
887
|
-
},
|
|
888
|
-
clear: function clear() {
|
|
889
|
-
store = new Map();
|
|
890
|
-
},
|
|
891
|
-
removeItem: function removeItem(key) {
|
|
892
|
-
store["delete"](key);
|
|
893
|
-
}
|
|
894
|
-
};
|
|
895
|
-
}();
|
|
1103
|
+
for (var _iterator = _createForOfIteratorHelperLoose(e), _step; !(_step = _iterator()).done;) {
|
|
1104
|
+
var _n3 = _step.value;
|
|
1105
|
+
t[_n3] = (t[_n3] || 0) + 1;
|
|
1106
|
+
}
|
|
896
1107
|
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
1108
|
+
var n = e[0];
|
|
1109
|
+
|
|
1110
|
+
for (var _e in t) {
|
|
1111
|
+
t[_e] > t[n] && (n = parseInt(_e, 10));
|
|
901
1112
|
}
|
|
902
1113
|
|
|
903
|
-
return
|
|
904
|
-
}
|
|
1114
|
+
return n;
|
|
1115
|
+
}
|
|
905
1116
|
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
1117
|
+
function d(e) {
|
|
1118
|
+
return e ^= e >>> 16, e = Math.imul(e, 2246822507), e ^= e >>> 13, e = Math.imul(e, 3266489909), (e ^= e >>> 16) >>> 0;
|
|
1119
|
+
}
|
|
909
1120
|
|
|
910
|
-
|
|
911
|
-
lang = localStorage.getItem('i18nextLng');
|
|
912
|
-
} catch (error) {}
|
|
1121
|
+
var m = /*#__PURE__*/new Uint32Array([597399067, 2869860233, 951274213, 2716044179]);
|
|
913
1122
|
|
|
914
|
-
|
|
915
|
-
|
|
1123
|
+
function p(e, t) {
|
|
1124
|
+
return e << t | e >>> 32 - t;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
function f(e, t) {
|
|
1128
|
+
if (t === void 0) {
|
|
1129
|
+
t = 0;
|
|
916
1130
|
}
|
|
917
1131
|
|
|
918
|
-
|
|
919
|
-
|
|
1132
|
+
if (t = t ? 0 | t : 0, "string" == typeof e && (e = function (e) {
|
|
1133
|
+
if ("undefined" != typeof TextEncoder) return new TextEncoder().encode(e).buffer;
|
|
1134
|
+
var t = [];
|
|
920
1135
|
|
|
921
|
-
var
|
|
922
|
-
|
|
923
|
-
var _fn;
|
|
1136
|
+
for (var _n4 = 0; _n4 < e.length; _n4++) {
|
|
1137
|
+
var _o2 = e.charCodeAt(_n4);
|
|
924
1138
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
return '';
|
|
928
|
-
}
|
|
929
|
-
};
|
|
1139
|
+
_o2 < 128 ? t.push(_o2) : _o2 < 2048 ? t.push(192 | _o2 >> 6, 128 | 63 & _o2) : _o2 < 55296 || _o2 >= 57344 ? t.push(224 | _o2 >> 12, 128 | _o2 >> 6 & 63, 128 | 63 & _o2) : (_n4++, _o2 = 65536 + ((1023 & _o2) << 10 | 1023 & e.charCodeAt(_n4)), t.push(240 | _o2 >> 18, 128 | _o2 >> 12 & 63, 128 | _o2 >> 6 & 63, 128 | 63 & _o2));
|
|
1140
|
+
}
|
|
930
1141
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
return navigator.hardwareConcurrency;
|
|
938
|
-
}), safe(function () {
|
|
939
|
-
return navigator.deviceMemory;
|
|
940
|
-
}), safe(function () {
|
|
941
|
-
return navigator.maxTouchPoints;
|
|
942
|
-
}), safe(function () {
|
|
943
|
-
return navigator.platform;
|
|
944
|
-
}), safe(function () {
|
|
945
|
-
var _navigator$languages;
|
|
1142
|
+
return new Uint8Array(t).buffer;
|
|
1143
|
+
}(e)), !(e instanceof ArrayBuffer)) throw new TypeError("Expected key to be ArrayBuffer or string");
|
|
1144
|
+
var n = new Uint32Array([t, t, t, t]);
|
|
1145
|
+
!function (e, t) {
|
|
1146
|
+
var n = e.byteLength / 16 | 0,
|
|
1147
|
+
o = new Uint32Array(e, 0, 4 * n);
|
|
946
1148
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
return window.btoa(env);
|
|
950
|
-
};
|
|
951
|
-
var withError = /*#__PURE__*/function () {
|
|
952
|
-
var _ref = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee(p) {
|
|
953
|
-
return runtime_1.wrap(function _callee$(_context) {
|
|
954
|
-
while (1) {
|
|
955
|
-
switch (_context.prev = _context.next) {
|
|
956
|
-
case 0:
|
|
957
|
-
_context.prev = 0;
|
|
958
|
-
_context.t0 = undefined;
|
|
959
|
-
_context.next = 4;
|
|
960
|
-
return p;
|
|
1149
|
+
for (var _e2 = 0; _e2 < n; _e2++) {
|
|
1150
|
+
var _n5 = o.subarray(4 * _e2, 4 * (_e2 + 1));
|
|
961
1151
|
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1152
|
+
_n5[0] = Math.imul(_n5[0], m[0]), _n5[0] = p(_n5[0], 15), _n5[0] = Math.imul(_n5[0], m[1]), t[0] = t[0] ^ _n5[0], t[0] = p(t[0], 19), t[0] = t[0] + t[1], t[0] = Math.imul(t[0], 5) + 1444728091, _n5[1] = Math.imul(_n5[1], m[1]), _n5[1] = p(_n5[1], 16), _n5[1] = Math.imul(_n5[1], m[2]), t[1] = t[1] ^ _n5[1], t[1] = p(t[1], 17), t[1] = t[1] + t[2], t[1] = Math.imul(t[1], 5) + 197830471, _n5[2] = Math.imul(_n5[2], m[2]), _n5[2] = p(_n5[2], 17), _n5[2] = Math.imul(_n5[2], m[3]), t[2] = t[2] ^ _n5[2], t[2] = p(t[2], 15), t[2] = t[2] + t[3], t[2] = Math.imul(t[2], 5) + 2530024501, _n5[3] = Math.imul(_n5[3], m[3]), _n5[3] = p(_n5[3], 18), _n5[3] = Math.imul(_n5[3], m[0]), t[3] = t[3] ^ _n5[3], t[3] = p(t[3], 13), t[3] = t[3] + t[0], t[3] = Math.imul(t[3], 5) + 850148119;
|
|
1153
|
+
}
|
|
1154
|
+
}(e, n), function (e, t) {
|
|
1155
|
+
var n = e.byteLength / 16 | 0,
|
|
1156
|
+
o = e.byteLength % 16,
|
|
1157
|
+
r = new Uint32Array(4),
|
|
1158
|
+
i = new Uint8Array(e, 16 * n, o);
|
|
965
1159
|
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
return _context.abrupt("return", [_context.t2, undefined]);
|
|
1160
|
+
switch (o) {
|
|
1161
|
+
case 15:
|
|
1162
|
+
r[3] = r[3] ^ i[14] << 16;
|
|
970
1163
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
return _context.stop();
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}, _callee, null, [[0, 8]]);
|
|
977
|
-
}));
|
|
1164
|
+
case 14:
|
|
1165
|
+
r[3] = r[3] ^ i[13] << 8;
|
|
978
1166
|
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
};
|
|
982
|
-
}();
|
|
983
|
-
var isMethodSupported = function isMethodSupported(config, paymentMethod) {
|
|
984
|
-
return config.paymentMethods && config.paymentMethods.includes(paymentMethod);
|
|
985
|
-
};
|
|
986
|
-
var validateComponentProps = function validateComponentProps(props) {
|
|
987
|
-
if (props.paymentId) return;
|
|
988
|
-
if (props.accountId && props.amount && props.currency) return;
|
|
989
|
-
throw new Error('You need to provide paymentId or accountId amount and currency');
|
|
990
|
-
};
|
|
1167
|
+
case 13:
|
|
1168
|
+
r[3] = r[3] ^ i[12], r[3] = Math.imul(r[3], m[3]), r[3] = p(r[3], 18), r[3] = Math.imul(r[3], m[0]), t[3] = t[3] ^ r[3];
|
|
991
1169
|
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
transformStyle: transformStyle,
|
|
995
|
-
loadScript: loadScript,
|
|
996
|
-
stringify: stringify,
|
|
997
|
-
fixLocalstorage: fixLocalstorage,
|
|
998
|
-
getClientEnv: getClientEnv,
|
|
999
|
-
withError: withError,
|
|
1000
|
-
isMethodSupported: isMethodSupported,
|
|
1001
|
-
validateComponentProps: validateComponentProps
|
|
1002
|
-
};
|
|
1170
|
+
case 12:
|
|
1171
|
+
r[2] = r[2] ^ i[11] << 24;
|
|
1003
1172
|
|
|
1004
|
-
|
|
1173
|
+
case 11:
|
|
1174
|
+
r[2] = r[2] ^ i[10] << 16;
|
|
1175
|
+
|
|
1176
|
+
case 10:
|
|
1177
|
+
r[2] = r[2] ^ i[9] << 8;
|
|
1178
|
+
|
|
1179
|
+
case 9:
|
|
1180
|
+
r[2] = r[2] ^ i[8], r[2] = Math.imul(r[2], m[2]), r[2] = p(r[2], 17), r[2] = Math.imul(r[2], m[3]), t[2] = t[2] ^ r[2];
|
|
1181
|
+
|
|
1182
|
+
case 8:
|
|
1183
|
+
r[1] = r[1] ^ i[7] << 24;
|
|
1184
|
+
|
|
1185
|
+
case 7:
|
|
1186
|
+
r[1] = r[1] ^ i[6] << 16;
|
|
1187
|
+
|
|
1188
|
+
case 6:
|
|
1189
|
+
r[1] = r[1] ^ i[5] << 8;
|
|
1190
|
+
|
|
1191
|
+
case 5:
|
|
1192
|
+
r[1] = r[1] ^ i[4], r[1] = Math.imul(r[1], m[1]), r[1] = p(r[1], 16), r[1] = Math.imul(r[1], m[2]), t[1] = t[1] ^ r[1];
|
|
1193
|
+
|
|
1194
|
+
case 4:
|
|
1195
|
+
r[0] = r[0] ^ i[3] << 24;
|
|
1196
|
+
|
|
1197
|
+
case 3:
|
|
1198
|
+
r[0] = r[0] ^ i[2] << 16;
|
|
1199
|
+
|
|
1200
|
+
case 2:
|
|
1201
|
+
r[0] = r[0] ^ i[1] << 8;
|
|
1202
|
+
|
|
1203
|
+
case 1:
|
|
1204
|
+
r[0] = r[0] ^ i[0], r[0] = Math.imul(r[0], m[0]), r[0] = p(r[0], 15), r[0] = Math.imul(r[0], m[1]), t[0] = t[0] ^ r[0];
|
|
1205
|
+
}
|
|
1206
|
+
}(e, n), function (e, t) {
|
|
1207
|
+
t[0] = t[0] ^ e.byteLength, t[1] = t[1] ^ e.byteLength, t[2] = t[2] ^ e.byteLength, t[3] = t[3] ^ e.byteLength, t[0] = t[0] + t[1] | 0, t[0] = t[0] + t[2] | 0, t[0] = t[0] + t[3] | 0, t[1] = t[1] + t[0] | 0, t[2] = t[2] + t[0] | 0, t[3] = t[3] + t[0] | 0, t[0] = d(t[0]), t[1] = d(t[1]), t[2] = d(t[2]), t[3] = d(t[3]), t[0] = t[0] + t[1] | 0, t[0] = t[0] + t[2] | 0, t[0] = t[0] + t[3] | 0, t[1] = t[1] + t[0] | 0, t[2] = t[2] + t[0] | 0, t[3] = t[3] + t[0] | 0;
|
|
1208
|
+
}(e, n);
|
|
1209
|
+
var o = new Uint8Array(n.buffer);
|
|
1210
|
+
return Array.from(o).map(function (e) {
|
|
1211
|
+
return e.toString(16).padStart(2, "0");
|
|
1212
|
+
}).join("");
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
var h = 280;
|
|
1216
|
+
|
|
1217
|
+
function g(_x) {
|
|
1218
|
+
return _g.apply(this, arguments);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
function _g() {
|
|
1222
|
+
_g = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee16(e) {
|
|
1223
|
+
var t, n, o, r;
|
|
1224
|
+
return runtime_1.wrap(function _callee16$(_context16) {
|
|
1225
|
+
while (1) {
|
|
1226
|
+
switch (_context16.prev = _context16.next) {
|
|
1227
|
+
case 0:
|
|
1228
|
+
if (document.body) {
|
|
1229
|
+
_context16.next = 5;
|
|
1230
|
+
break;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
_context16.next = 3;
|
|
1234
|
+
return w(50);
|
|
1235
|
+
|
|
1236
|
+
case 3:
|
|
1237
|
+
_context16.next = 0;
|
|
1238
|
+
break;
|
|
1239
|
+
|
|
1240
|
+
case 5:
|
|
1241
|
+
n = document.createElement("iframe");
|
|
1242
|
+
n.setAttribute("frameBorder", "0");
|
|
1243
|
+
o = n.style;
|
|
1244
|
+
o.setProperty("position", "fixed"), o.setProperty("display", "block", "important"), o.setProperty("visibility", "visible"), o.setProperty("border", "0"), o.setProperty("opacity", "0"), n.src = "about:blank", document.body.appendChild(n);
|
|
1245
|
+
r = n.contentDocument || (null === (t = n.contentWindow) || void 0 === t ? void 0 : t.document);
|
|
1246
|
+
|
|
1247
|
+
if (r) {
|
|
1248
|
+
_context16.next = 12;
|
|
1249
|
+
break;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
throw new Error("Iframe document is not accessible");
|
|
1253
|
+
|
|
1254
|
+
case 12:
|
|
1255
|
+
e({
|
|
1256
|
+
iframe: r
|
|
1257
|
+
}), setTimeout(function () {
|
|
1258
|
+
document.body.removeChild(n);
|
|
1259
|
+
}, 0);
|
|
1260
|
+
|
|
1261
|
+
case 13:
|
|
1262
|
+
case "end":
|
|
1263
|
+
return _context16.stop();
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}, _callee16);
|
|
1267
|
+
}));
|
|
1268
|
+
return _g.apply(this, arguments);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
function w(e, t) {
|
|
1272
|
+
return new Promise(function (n) {
|
|
1273
|
+
return setTimeout(n, e, t);
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
var v = ["Arial", "Arial Black", "Arial Narrow", "Arial Rounded MT", "Arimo", "Archivo", "Barlow", "Bebas Neue", "Bitter", "Bookman", "Calibri", "Cabin", "Candara", "Century", "Century Gothic", "Comic Sans MS", "Constantia", "Courier", "Courier New", "Crimson Text", "DM Mono", "DM Sans", "DM Serif Display", "DM Serif Text", "Dosis", "Droid Sans", "Exo", "Fira Code", "Fira Sans", "Franklin Gothic Medium", "Garamond", "Geneva", "Georgia", "Gill Sans", "Helvetica", "Impact", "Inconsolata", "Indie Flower", "Inter", "Josefin Sans", "Karla", "Lato", "Lexend", "Lucida Bright", "Lucida Console", "Lucida Sans Unicode", "Manrope", "Merriweather", "Merriweather Sans", "Montserrat", "Myriad", "Noto Sans", "Nunito", "Nunito Sans", "Open Sans", "Optima", "Orbitron", "Oswald", "Pacifico", "Palatino", "Perpetua", "PT Sans", "PT Serif", "Poppins", "Prompt", "Public Sans", "Quicksand", "Rajdhani", "Recursive", "Roboto", "Roboto Condensed", "Rockwell", "Rubik", "Segoe Print", "Segoe Script", "Segoe UI", "Sora", "Source Sans Pro", "Space Mono", "Tahoma", "Taviraj", "Times", "Times New Roman", "Titillium Web", "Trebuchet MS", "Ubuntu", "Varela Round", "Verdana", "Work Sans"],
|
|
1278
|
+
y = ["monospace", "sans-serif", "serif"];
|
|
1279
|
+
|
|
1280
|
+
function S(e, t) {
|
|
1281
|
+
return e.font = "72px " + t, e.measureText("WwMmLli0Oo").width;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
function b() {
|
|
1285
|
+
var e;
|
|
1286
|
+
var t = document.createElement("canvas"),
|
|
1287
|
+
n = null !== (e = t.getContext("webgl")) && void 0 !== e ? e : t.getContext("experimental-webgl");
|
|
1288
|
+
if (n && "getParameter" in n) try {
|
|
1289
|
+
var _e3 = (n.getParameter(n.VENDOR) || "").toString(),
|
|
1290
|
+
_t2 = (n.getParameter(n.RENDERER) || "").toString();
|
|
1291
|
+
|
|
1292
|
+
var _o3 = {
|
|
1293
|
+
vendor: _e3,
|
|
1294
|
+
renderer: _t2,
|
|
1295
|
+
version: (n.getParameter(n.VERSION) || "").toString(),
|
|
1296
|
+
shadingLanguageVersion: (n.getParameter(n.SHADING_LANGUAGE_VERSION) || "").toString()
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
if (!_t2.length || !_e3.length) {
|
|
1300
|
+
var _e4 = n.getExtension("WEBGL_debug_renderer_info");
|
|
1301
|
+
|
|
1302
|
+
if (_e4) {
|
|
1303
|
+
var _t3 = (n.getParameter(_e4.UNMASKED_VENDOR_WEBGL) || "").toString(),
|
|
1304
|
+
_r = (n.getParameter(_e4.UNMASKED_RENDERER_WEBGL) || "").toString();
|
|
1305
|
+
|
|
1306
|
+
_t3 && (_o3.vendorUnmasked = _t3), _r && (_o3.rendererUnmasked = _r);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
return _o3;
|
|
1311
|
+
} catch (e) {}
|
|
1312
|
+
return "undefined";
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
function E() {
|
|
1316
|
+
var e = new Float32Array(1),
|
|
1317
|
+
t = new Uint8Array(e.buffer);
|
|
1318
|
+
return e[0] = 1 / 0, e[0] = e[0] - e[0], t[3];
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
var M = function M(e, t, n, o) {
|
|
1322
|
+
var r = (n - t) / o;
|
|
1323
|
+
var i = 0;
|
|
1324
|
+
|
|
1325
|
+
for (var _n6 = 0; _n6 < o; _n6++) {
|
|
1326
|
+
i += e(t + (_n6 + .5) * r);
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
return i * r;
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
function P(e, t) {
|
|
1333
|
+
var n = {};
|
|
1334
|
+
return t.forEach(function (t) {
|
|
1335
|
+
var o = function (e) {
|
|
1336
|
+
if (0 === e.length) return null;
|
|
1337
|
+
var t = {};
|
|
1338
|
+
e.forEach(function (e) {
|
|
1339
|
+
var n = String(e);
|
|
1340
|
+
t[n] = (t[n] || 0) + 1;
|
|
1341
|
+
});
|
|
1342
|
+
var n = e[0],
|
|
1343
|
+
o = 1;
|
|
1344
|
+
return Object.keys(t).forEach(function (e) {
|
|
1345
|
+
t[e] > o && (n = e, o = t[e]);
|
|
1346
|
+
}), n;
|
|
1347
|
+
}(e.map(function (e) {
|
|
1348
|
+
return t in e ? e[t] : void 0;
|
|
1349
|
+
}).filter(function (e) {
|
|
1350
|
+
return void 0 !== e;
|
|
1351
|
+
}));
|
|
1352
|
+
|
|
1353
|
+
o && (n[t] = o);
|
|
1354
|
+
}), n;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
var x = ["accelerometer", "accessibility", "accessibility-events", "ambient-light-sensor", "background-fetch", "background-sync", "bluetooth", "camera", "clipboard-read", "clipboard-write", "device-info", "display-capture", "gyroscope", "geolocation", "local-fonts", "magnetometer", "microphone", "midi", "nfc", "notifications", "payment-handler", "persistent-storage", "push", "speaker", "storage-access", "top-level-storage-access", "window-management", "query"];
|
|
1358
|
+
|
|
1359
|
+
function C() {
|
|
1360
|
+
if ("undefined" == typeof navigator) return {
|
|
1361
|
+
name: "unknown",
|
|
1362
|
+
version: "unknown"
|
|
1363
|
+
};
|
|
1364
|
+
var e = [{
|
|
1365
|
+
name: "Brave",
|
|
1366
|
+
detect: function detect() {
|
|
1367
|
+
return !!navigator.brave;
|
|
1368
|
+
}
|
|
1369
|
+
}];
|
|
1370
|
+
|
|
1371
|
+
for (var _i = 0, _e5 = e; _i < _e5.length; _i++) {
|
|
1372
|
+
var _t4 = _e5[_i];
|
|
1373
|
+
|
|
1374
|
+
if (_t4.detect()) {
|
|
1375
|
+
var _e6 = A(navigator.userAgent);
|
|
1376
|
+
|
|
1377
|
+
return {
|
|
1378
|
+
name: _t4.name,
|
|
1379
|
+
version: _e6.version
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
return A(navigator.userAgent);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
function A(e) {
|
|
1388
|
+
var t, n, o, r, i, a;
|
|
1389
|
+
var s = [/*#__PURE__*/_wrapRegExp(/(SamsungBrowser)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1390
|
+
name: 1,
|
|
1391
|
+
version: 2
|
|
1392
|
+
}), /*#__PURE__*/_wrapRegExp(/(EdgA|EdgiOS|Edg)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1393
|
+
name: 1,
|
|
1394
|
+
version: 2
|
|
1395
|
+
}), /*#__PURE__*/_wrapRegExp(/(OPR|OPX)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1396
|
+
name: 1,
|
|
1397
|
+
version: 2
|
|
1398
|
+
}), /*#__PURE__*/_wrapRegExp(/Opera[\t-\r \/\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]([0-9]+(?:\.[0-9]+)+)/, {
|
|
1399
|
+
version: 1
|
|
1400
|
+
}), /*#__PURE__*/_wrapRegExp(/Opera Mini\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1401
|
+
version: 1
|
|
1402
|
+
}), /*#__PURE__*/_wrapRegExp(/Opera Mobi\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1403
|
+
version: 1
|
|
1404
|
+
}), /*#__PURE__*/_wrapRegExp(/(Vivaldi)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1405
|
+
name: 1,
|
|
1406
|
+
version: 2
|
|
1407
|
+
}), /*#__PURE__*/_wrapRegExp(/(CriOS)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1408
|
+
name: 1,
|
|
1409
|
+
version: 2
|
|
1410
|
+
}), /*#__PURE__*/_wrapRegExp(/(FxiOS)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1411
|
+
name: 1,
|
|
1412
|
+
version: 2
|
|
1413
|
+
}), /*#__PURE__*/_wrapRegExp(/(Chrome|Chromium)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1414
|
+
name: 1,
|
|
1415
|
+
version: 2
|
|
1416
|
+
}), /*#__PURE__*/_wrapRegExp(/(Firefox|Waterfox|Iceweasel|IceCat)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1417
|
+
name: 1,
|
|
1418
|
+
version: 2
|
|
1419
|
+
}), /*#__PURE__*/_wrapRegExp(/Version\/([\.0-9]+).*Safari\/[\.0-9]+|(Safari)\/([\.0-9]+)/, {
|
|
1420
|
+
version1: 1,
|
|
1421
|
+
name: 2,
|
|
1422
|
+
version2: 3
|
|
1423
|
+
}), /*#__PURE__*/_wrapRegExp(/(MSIE|Trident|IEMobile).+?([0-9]+(?:\.[0-9]+)+)/, {
|
|
1424
|
+
name: 1,
|
|
1425
|
+
version: 2
|
|
1426
|
+
}), /*#__PURE__*/_wrapRegExp(/([A-Za-z]+)\/([0-9]+(?:\.[0-9]+)+)/, {
|
|
1427
|
+
name: 1,
|
|
1428
|
+
version: 2
|
|
1429
|
+
})],
|
|
1430
|
+
c = {
|
|
1431
|
+
edg: "Edge",
|
|
1432
|
+
edga: "Edge",
|
|
1433
|
+
edgios: "Edge",
|
|
1434
|
+
opr: "Opera",
|
|
1435
|
+
opx: "Opera",
|
|
1436
|
+
crios: "Chrome",
|
|
1437
|
+
fxios: "Firefox",
|
|
1438
|
+
samsung: "SamsungBrowser",
|
|
1439
|
+
vivaldi: "Vivaldi"
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
for (var _i2 = 0, _s = s; _i2 < _s.length; _i2++) {
|
|
1443
|
+
var _u = _s[_i2];
|
|
1444
|
+
|
|
1445
|
+
var _s2 = e.match(_u);
|
|
1446
|
+
|
|
1447
|
+
if (_s2) {
|
|
1448
|
+
var _e7 = null === (t = _s2.groups) || void 0 === t ? void 0 : t.name,
|
|
1449
|
+
_l = (null === (n = _s2.groups) || void 0 === n ? void 0 : n.version) || (null === (o = _s2.groups) || void 0 === o ? void 0 : o.version1) || (null === (r = _s2.groups) || void 0 === r ? void 0 : r.version2);
|
|
1450
|
+
|
|
1451
|
+
if (_e7 || !(null === (i = _s2.groups) || void 0 === i ? void 0 : i.version1) && !(null === (a = _s2.groups) || void 0 === a ? void 0 : a.version2) || (_e7 = "Safari"), !_e7 && _u.source.includes("Opera Mini") && (_e7 = "Opera Mini"), !_e7 && _u.source.includes("Opera Mobi") && (_e7 = "Opera Mobi"), !_e7 && _u.source.includes("Opera") && (_e7 = "Opera"), !_e7 && _s2[1] && (_e7 = _s2[1]), !_l && _s2[2] && (_l = _s2[2]), _e7) {
|
|
1452
|
+
return {
|
|
1453
|
+
name: c[_e7.toLowerCase()] || _e7,
|
|
1454
|
+
version: _l || "unknown"
|
|
1455
|
+
};
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
return {
|
|
1461
|
+
name: "unknown",
|
|
1462
|
+
version: "unknown"
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
function _() {
|
|
1467
|
+
if ("undefined" == typeof navigator || !navigator.userAgent) return !1;
|
|
1468
|
+
var e = navigator.userAgent;
|
|
1469
|
+
return /Mobi|Android|iPhone|iPod|IEMobile|Opera Mini|Opera Mobi|webOS|BlackBerry|Windows Phone/i.test(e) && !/iPad/i.test(e);
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
function I() {
|
|
1473
|
+
var e = [];
|
|
1474
|
+
var t = {
|
|
1475
|
+
"prefers-contrast": ["high", "more", "low", "less", "forced", "no-preference"],
|
|
1476
|
+
"any-hover": ["hover", "none"],
|
|
1477
|
+
"any-pointer": ["none", "coarse", "fine"],
|
|
1478
|
+
pointer: ["none", "coarse", "fine"],
|
|
1479
|
+
hover: ["hover", "none"],
|
|
1480
|
+
update: ["fast", "slow"],
|
|
1481
|
+
"inverted-colors": ["inverted", "none"],
|
|
1482
|
+
"prefers-reduced-motion": ["reduce", "no-preference"],
|
|
1483
|
+
"prefers-reduced-transparency": ["reduce", "no-preference"],
|
|
1484
|
+
scripting: ["none", "initial-only", "enabled"],
|
|
1485
|
+
"forced-colors": ["active", "none"]
|
|
1486
|
+
};
|
|
1487
|
+
return Object.keys(t).forEach(function (n) {
|
|
1488
|
+
t[n].forEach(function (t) {
|
|
1489
|
+
matchMedia("(" + n + ": " + t + ")").matches && e.push(n + ": " + t);
|
|
1490
|
+
});
|
|
1491
|
+
}), e;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
function T() {
|
|
1495
|
+
if ("https:" === window.location.protocol && "function" == typeof window.ApplePaySession) try {
|
|
1496
|
+
var _e8 = window.ApplePaySession.supportsVersion;
|
|
1497
|
+
|
|
1498
|
+
for (var _t5 = 15; _t5 > 0; _t5--) {
|
|
1499
|
+
if (_e8(_t5)) return _t5;
|
|
1500
|
+
}
|
|
1501
|
+
} catch (e) {
|
|
1502
|
+
return 0;
|
|
1503
|
+
}
|
|
1504
|
+
return 0;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
var R = "SamsungBrowser" !== /*#__PURE__*/C().name ? 1 : 3;
|
|
1508
|
+
var k,
|
|
1509
|
+
O = null;
|
|
1510
|
+
|
|
1511
|
+
function L(e) {
|
|
1512
|
+
var t = [];
|
|
1513
|
+
return function e(n) {
|
|
1514
|
+
if (n && n.toJSON && "function" == typeof n.toJSON && (n = n.toJSON()), void 0 === n) return;
|
|
1515
|
+
if ("number" == typeof n) return isFinite(n) ? "" + n : "null";
|
|
1516
|
+
if ("object" != typeof n) return JSON.stringify(n);
|
|
1517
|
+
var o, r;
|
|
1518
|
+
|
|
1519
|
+
if (Array.isArray(n)) {
|
|
1520
|
+
for (r = "[", o = 0; o < n.length; o++) {
|
|
1521
|
+
o && (r += ","), r += e(n[o]) || "null";
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
return r + "]";
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
if (null === n) return "null";
|
|
1528
|
+
if (-1 !== t.indexOf(n)) throw new TypeError("Converting circular structure to JSON");
|
|
1529
|
+
var i = t.push(n) - 1,
|
|
1530
|
+
a = Object.keys(n).sort();
|
|
1531
|
+
|
|
1532
|
+
for (r = "", o = 0; o < a.length; o++) {
|
|
1533
|
+
var _t6 = a[o],
|
|
1534
|
+
_i3 = e(n[_t6]);
|
|
1535
|
+
|
|
1536
|
+
_i3 && (r && (r += ","), r += JSON.stringify(_t6) + ":" + _i3);
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
return t.splice(i, 1), "{" + r + "}";
|
|
1540
|
+
}(e) || "";
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
var N = ["𝔄", "𝔅", "ℭ", "𝔇", "𝔈", "𝔉", "𝔸", "𝔹", "ℂ", "𝔻", "𝔼", "𝔽"],
|
|
1544
|
+
B = ["β", "ψ", "λ", "ε", "ζ", "α", "ξ", "μ", "ρ", "φ", "κ", "τ", "η", "σ", "ι", "ω", "γ", "ν", "χ", "δ", "θ", "π", "υ", "ο"];
|
|
1545
|
+
|
|
1546
|
+
function D(e, t) {
|
|
1547
|
+
return "<math><mrow>" + t + "</mrow></math>";
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
function $() {
|
|
1551
|
+
var e = "<mo>∏</mo>";
|
|
1552
|
+
return N.forEach(function (t, n) {
|
|
1553
|
+
var o = 2 * n,
|
|
1554
|
+
r = B.slice(o, o + 2);
|
|
1555
|
+
2 === r.length && (e += "<mmultiscripts><mi>" + t + "</mi><none/><mi>" + r[1] + "</mi><mprescripts></mprescripts><mi>" + r[0] + "</mi><none/></mmultiscripts>");
|
|
1556
|
+
}), D(0, "<munderover><mmultiscripts>" + e + "</mmultiscripts></munderover>");
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
function F() {
|
|
1560
|
+
var e = [];
|
|
1561
|
+
return N.forEach(function (t, n) {
|
|
1562
|
+
var o = 2 * n,
|
|
1563
|
+
r = B.slice(o, o + 2);
|
|
1564
|
+
2 === r.length && e.push(D(0, "<mmultiscripts><mi>" + t + "</mi><none/><mi>" + r[1] + "</mi><mprescripts></mprescripts><mi>" + r[0] + "</mi><none/></mmultiscripts>"));
|
|
1565
|
+
}), e;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
var V = {
|
|
1569
|
+
audio: /*#__PURE__*/function () {
|
|
1570
|
+
var _audio = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2() {
|
|
1571
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
|
1572
|
+
while (1) {
|
|
1573
|
+
switch (_context2.prev = _context2.next) {
|
|
1574
|
+
case 0:
|
|
1575
|
+
return _context2.abrupt("return", s ? _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee() {
|
|
1576
|
+
return runtime_1.wrap(function _callee$(_context) {
|
|
1577
|
+
while (1) {
|
|
1578
|
+
switch (_context.prev = _context.next) {
|
|
1579
|
+
case 0:
|
|
1580
|
+
return _context.abrupt("return", new Promise(function (e, t) {
|
|
1581
|
+
try {
|
|
1582
|
+
var _t7 = new s(1, 5e3, 44100),
|
|
1583
|
+
_n7 = _t7.createBufferSource(),
|
|
1584
|
+
_o4 = _t7.createOscillator();
|
|
1585
|
+
|
|
1586
|
+
_o4.frequency.value = 1e3;
|
|
1587
|
+
|
|
1588
|
+
var _r2 = _t7.createDynamicsCompressor();
|
|
1589
|
+
|
|
1590
|
+
var _i4;
|
|
1591
|
+
|
|
1592
|
+
_r2.threshold.value = -50, _r2.knee.value = 40, _r2.ratio.value = 12, _r2.attack.value = 0, _r2.release.value = .2, _o4.connect(_r2), _r2.connect(_t7.destination), _o4.start(), _t7.oncomplete = function (o) {
|
|
1593
|
+
_i4 = o.renderedBuffer.getChannelData(0), e({
|
|
1594
|
+
sampleHash: c(_i4),
|
|
1595
|
+
maxChannels: _t7.destination.maxChannelCount,
|
|
1596
|
+
channelCountMode: _n7.channelCountMode
|
|
1597
|
+
});
|
|
1598
|
+
}, _t7.startRendering();
|
|
1599
|
+
} catch (e) {
|
|
1600
|
+
console.error("Error creating audio fingerprint:", e), t(e);
|
|
1601
|
+
}
|
|
1602
|
+
}));
|
|
1603
|
+
|
|
1604
|
+
case 1:
|
|
1605
|
+
case "end":
|
|
1606
|
+
return _context.stop();
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
}, _callee);
|
|
1610
|
+
}))() : null);
|
|
1611
|
+
|
|
1612
|
+
case 1:
|
|
1613
|
+
case "end":
|
|
1614
|
+
return _context2.stop();
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
}, _callee2);
|
|
1618
|
+
}));
|
|
1619
|
+
|
|
1620
|
+
function audio() {
|
|
1621
|
+
return _audio.apply(this, arguments);
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
return audio;
|
|
1625
|
+
}(),
|
|
1626
|
+
canvas: /*#__PURE__*/function () {
|
|
1627
|
+
var _canvas = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee3() {
|
|
1628
|
+
return runtime_1.wrap(function _callee3$(_context3) {
|
|
1629
|
+
while (1) {
|
|
1630
|
+
switch (_context3.prev = _context3.next) {
|
|
1631
|
+
case 0:
|
|
1632
|
+
return _context3.abrupt("return", new Promise(function (e) {
|
|
1633
|
+
var t = Array.from({
|
|
1634
|
+
length: 3
|
|
1635
|
+
}, function () {
|
|
1636
|
+
return function () {
|
|
1637
|
+
var e = document.createElement("canvas"),
|
|
1638
|
+
t = e.getContext("2d");
|
|
1639
|
+
if (!t) return null;
|
|
1640
|
+
e.width = h, e.height = 20;
|
|
1641
|
+
var n = t.createLinearGradient(0, 0, e.width, e.height);
|
|
1642
|
+
n.addColorStop(0, "red"), n.addColorStop(1 / 6, "orange"), n.addColorStop(2 / 6, "yellow"), n.addColorStop(.5, "green"), n.addColorStop(4 / 6, "blue"), n.addColorStop(5 / 6, "indigo"), n.addColorStop(1, "violet"), t.fillStyle = n, t.fillRect(0, 0, e.width, e.height);
|
|
1643
|
+
var o = "Random Text WMwmil10Oo";
|
|
1644
|
+
t.font = "23.123px Arial", t.fillStyle = "black", t.fillText(o, -5, 15), t.fillStyle = "rgba(0, 0, 255, 0.5)", t.fillText(o, -3.3, 17.7), t.beginPath(), t.moveTo(0, 0), t.lineTo(2 * e.width / 7, e.height), t.strokeStyle = "white", t.lineWidth = 2, t.stroke();
|
|
1645
|
+
var r = t.getImageData(0, 0, e.width, e.height);
|
|
1646
|
+
return r;
|
|
1647
|
+
}();
|
|
1648
|
+
}).filter(function (e) {
|
|
1649
|
+
return null !== e;
|
|
1650
|
+
});
|
|
1651
|
+
0 !== t.length ? e({
|
|
1652
|
+
commonPixelsHash: f(u(t, h, 20).data.toString()).toString()
|
|
1653
|
+
}) : e(null);
|
|
1654
|
+
}));
|
|
1655
|
+
|
|
1656
|
+
case 1:
|
|
1657
|
+
case "end":
|
|
1658
|
+
return _context3.stop();
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
}, _callee3);
|
|
1662
|
+
}));
|
|
1663
|
+
|
|
1664
|
+
function canvas() {
|
|
1665
|
+
return _canvas.apply(this, arguments);
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
return canvas;
|
|
1669
|
+
}(),
|
|
1670
|
+
fonts: /*#__PURE__*/function () {
|
|
1671
|
+
var _fonts = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee5(e) {
|
|
1672
|
+
return runtime_1.wrap(function _callee5$(_context5) {
|
|
1673
|
+
while (1) {
|
|
1674
|
+
switch (_context5.prev = _context5.next) {
|
|
1675
|
+
case 0:
|
|
1676
|
+
return _context5.abrupt("return", new Promise(function (e) {
|
|
1677
|
+
try {
|
|
1678
|
+
g( /*#__PURE__*/function () {
|
|
1679
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee4(_ref2) {
|
|
1680
|
+
var t, n, o, r;
|
|
1681
|
+
return runtime_1.wrap(function _callee4$(_context4) {
|
|
1682
|
+
while (1) {
|
|
1683
|
+
switch (_context4.prev = _context4.next) {
|
|
1684
|
+
case 0:
|
|
1685
|
+
t = _ref2.iframe;
|
|
1686
|
+
n = t.createElement("canvas").getContext("2d");
|
|
1687
|
+
|
|
1688
|
+
if (n) {
|
|
1689
|
+
_context4.next = 4;
|
|
1690
|
+
break;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
return _context4.abrupt("return", void e(null));
|
|
1694
|
+
|
|
1695
|
+
case 4:
|
|
1696
|
+
o = y.map(function (e) {
|
|
1697
|
+
return S(n, e);
|
|
1698
|
+
});
|
|
1699
|
+
r = {};
|
|
1700
|
+
v.forEach(function (e) {
|
|
1701
|
+
var t = S(n, e);
|
|
1702
|
+
o.includes(t) || (r[e] = t);
|
|
1703
|
+
}), e(r);
|
|
1704
|
+
|
|
1705
|
+
case 7:
|
|
1706
|
+
case "end":
|
|
1707
|
+
return _context4.stop();
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
}, _callee4);
|
|
1711
|
+
}));
|
|
1712
|
+
|
|
1713
|
+
return function (_x3) {
|
|
1714
|
+
return _ref3.apply(this, arguments);
|
|
1715
|
+
};
|
|
1716
|
+
}());
|
|
1717
|
+
} catch (t) {
|
|
1718
|
+
e(null);
|
|
1719
|
+
}
|
|
1720
|
+
}));
|
|
1721
|
+
|
|
1722
|
+
case 1:
|
|
1723
|
+
case "end":
|
|
1724
|
+
return _context5.stop();
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
}, _callee5);
|
|
1728
|
+
}));
|
|
1729
|
+
|
|
1730
|
+
function fonts(_x2) {
|
|
1731
|
+
return _fonts.apply(this, arguments);
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
return fonts;
|
|
1735
|
+
}(),
|
|
1736
|
+
hardware: function hardware() {
|
|
1737
|
+
return new Promise(function (e, t) {
|
|
1738
|
+
var n = void 0 !== navigator.deviceMemory ? navigator.deviceMemory : 0,
|
|
1739
|
+
o = window.performance && window.performance.memory ? window.performance.memory : 0;
|
|
1740
|
+
e({
|
|
1741
|
+
videocard: b(),
|
|
1742
|
+
architecture: E(),
|
|
1743
|
+
deviceMemory: n.toString() || "undefined",
|
|
1744
|
+
jsHeapSizeLimit: o.jsHeapSizeLimit || 0
|
|
1745
|
+
});
|
|
1746
|
+
});
|
|
1747
|
+
},
|
|
1748
|
+
locales: function locales() {
|
|
1749
|
+
return new Promise(function (e) {
|
|
1750
|
+
e({
|
|
1751
|
+
languages: navigator.language,
|
|
1752
|
+
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
1753
|
+
});
|
|
1754
|
+
});
|
|
1755
|
+
},
|
|
1756
|
+
math: function math() {
|
|
1757
|
+
return new Promise(function (e) {
|
|
1758
|
+
e({
|
|
1759
|
+
acos: Math.acos(.5),
|
|
1760
|
+
asin: M(Math.asin, -1, 1, 97),
|
|
1761
|
+
cos: M(Math.cos, 0, Math.PI, 97),
|
|
1762
|
+
largeCos: Math.cos(1e20),
|
|
1763
|
+
largeSin: Math.sin(1e20),
|
|
1764
|
+
largeTan: Math.tan(1e20),
|
|
1765
|
+
sin: M(Math.sin, -Math.PI, Math.PI, 97),
|
|
1766
|
+
tan: M(Math.tan, 0, 2 * Math.PI, 97)
|
|
1767
|
+
});
|
|
1768
|
+
});
|
|
1769
|
+
},
|
|
1770
|
+
permissions: /*#__PURE__*/function () {
|
|
1771
|
+
var _permissions = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee7(e) {
|
|
1772
|
+
var t;
|
|
1773
|
+
return runtime_1.wrap(function _callee7$(_context7) {
|
|
1774
|
+
while (1) {
|
|
1775
|
+
switch (_context7.prev = _context7.next) {
|
|
1776
|
+
case 0:
|
|
1777
|
+
t = (null == e ? void 0 : e.permissions_to_check) || x;
|
|
1778
|
+
_context7.t0 = P;
|
|
1779
|
+
_context7.next = 4;
|
|
1780
|
+
return Promise.all(Array.from({
|
|
1781
|
+
length: 3
|
|
1782
|
+
}, function () {
|
|
1783
|
+
return function () {
|
|
1784
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee6(e) {
|
|
1785
|
+
var t, _iterator2, _step2, _n8, _e9;
|
|
1786
|
+
|
|
1787
|
+
return runtime_1.wrap(function _callee6$(_context6) {
|
|
1788
|
+
while (1) {
|
|
1789
|
+
switch (_context6.prev = _context6.next) {
|
|
1790
|
+
case 0:
|
|
1791
|
+
t = {};
|
|
1792
|
+
_iterator2 = _createForOfIteratorHelperLoose(e);
|
|
1793
|
+
|
|
1794
|
+
case 2:
|
|
1795
|
+
if ((_step2 = _iterator2()).done) {
|
|
1796
|
+
_context6.next = 15;
|
|
1797
|
+
break;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
_n8 = _step2.value;
|
|
1801
|
+
_context6.prev = 4;
|
|
1802
|
+
_context6.next = 7;
|
|
1803
|
+
return navigator.permissions.query({
|
|
1804
|
+
name: _n8
|
|
1805
|
+
});
|
|
1806
|
+
|
|
1807
|
+
case 7:
|
|
1808
|
+
_e9 = _context6.sent;
|
|
1809
|
+
t[_n8] = _e9.state.toString();
|
|
1810
|
+
_context6.next = 13;
|
|
1811
|
+
break;
|
|
1812
|
+
|
|
1813
|
+
case 11:
|
|
1814
|
+
_context6.prev = 11;
|
|
1815
|
+
_context6.t0 = _context6["catch"](4);
|
|
1816
|
+
|
|
1817
|
+
case 13:
|
|
1818
|
+
_context6.next = 2;
|
|
1819
|
+
break;
|
|
1820
|
+
|
|
1821
|
+
case 15:
|
|
1822
|
+
return _context6.abrupt("return", t);
|
|
1823
|
+
|
|
1824
|
+
case 16:
|
|
1825
|
+
case "end":
|
|
1826
|
+
return _context6.stop();
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
}, _callee6, null, [[4, 11]]);
|
|
1830
|
+
}));
|
|
1831
|
+
|
|
1832
|
+
return function (_x5) {
|
|
1833
|
+
return _ref4.apply(this, arguments);
|
|
1834
|
+
};
|
|
1835
|
+
}()(t);
|
|
1836
|
+
}));
|
|
1837
|
+
|
|
1838
|
+
case 4:
|
|
1839
|
+
_context7.t1 = _context7.sent;
|
|
1840
|
+
_context7.t2 = t;
|
|
1841
|
+
return _context7.abrupt("return", (0, _context7.t0)(_context7.t1, _context7.t2));
|
|
1842
|
+
|
|
1843
|
+
case 7:
|
|
1844
|
+
case "end":
|
|
1845
|
+
return _context7.stop();
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
}, _callee7);
|
|
1849
|
+
}));
|
|
1850
|
+
|
|
1851
|
+
function permissions(_x4) {
|
|
1852
|
+
return _permissions.apply(this, arguments);
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
return permissions;
|
|
1856
|
+
}(),
|
|
1857
|
+
plugins: /*#__PURE__*/function () {
|
|
1858
|
+
var _plugins = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee8() {
|
|
1859
|
+
var e, _t8, _n9;
|
|
1860
|
+
|
|
1861
|
+
return runtime_1.wrap(function _callee8$(_context8) {
|
|
1862
|
+
while (1) {
|
|
1863
|
+
switch (_context8.prev = _context8.next) {
|
|
1864
|
+
case 0:
|
|
1865
|
+
e = [];
|
|
1866
|
+
if (navigator.plugins) for (_t8 = 0; _t8 < navigator.plugins.length; _t8++) {
|
|
1867
|
+
_n9 = navigator.plugins[_t8];
|
|
1868
|
+
e.push([_n9.name, _n9.filename, _n9.description].join("|"));
|
|
1869
|
+
}
|
|
1870
|
+
return _context8.abrupt("return", new Promise(function (t) {
|
|
1871
|
+
t({
|
|
1872
|
+
plugins: e
|
|
1873
|
+
});
|
|
1874
|
+
}));
|
|
1875
|
+
|
|
1876
|
+
case 3:
|
|
1877
|
+
case "end":
|
|
1878
|
+
return _context8.stop();
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
}, _callee8);
|
|
1882
|
+
}));
|
|
1883
|
+
|
|
1884
|
+
function plugins() {
|
|
1885
|
+
return _plugins.apply(this, arguments);
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
return plugins;
|
|
1889
|
+
}(),
|
|
1890
|
+
screen: /*#__PURE__*/function (_screen) {
|
|
1891
|
+
function screen() {
|
|
1892
|
+
return _screen.apply(this, arguments);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
screen.toString = function () {
|
|
1896
|
+
return _screen.toString();
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
return screen;
|
|
1900
|
+
}(function () {
|
|
1901
|
+
return new Promise(function (e) {
|
|
1902
|
+
if ("undefined" == typeof matchMedia || "undefined" == typeof screen) return void e(null);
|
|
1903
|
+
var t = {
|
|
1904
|
+
is_touchscreen: navigator.maxTouchPoints > 0,
|
|
1905
|
+
maxTouchPoints: navigator.maxTouchPoints,
|
|
1906
|
+
colorDepth: screen.colorDepth,
|
|
1907
|
+
mediaMatches: I()
|
|
1908
|
+
};
|
|
1909
|
+
_() && navigator.maxTouchPoints > 0 && (t.resolution = function () {
|
|
1910
|
+
var e = window.screen.width,
|
|
1911
|
+
t = window.screen.height,
|
|
1912
|
+
n = Math.max(e, t).toString(),
|
|
1913
|
+
o = Math.min(e, t).toString();
|
|
1914
|
+
return n + "x" + o;
|
|
1915
|
+
}()), e(t);
|
|
1916
|
+
});
|
|
1917
|
+
}),
|
|
1918
|
+
system: function system() {
|
|
1919
|
+
return new Promise(function (e) {
|
|
1920
|
+
var t = C();
|
|
1921
|
+
e({
|
|
1922
|
+
platform: window.navigator.platform,
|
|
1923
|
+
productSub: navigator.productSub,
|
|
1924
|
+
product: navigator.product,
|
|
1925
|
+
useragent: navigator.userAgent,
|
|
1926
|
+
hardwareConcurrency: navigator.hardwareConcurrency,
|
|
1927
|
+
browser: {
|
|
1928
|
+
name: t.name,
|
|
1929
|
+
version: t.version
|
|
1930
|
+
},
|
|
1931
|
+
mobile: _(),
|
|
1932
|
+
applePayVersion: T(),
|
|
1933
|
+
cookieEnabled: window.navigator.cookieEnabled
|
|
1934
|
+
});
|
|
1935
|
+
});
|
|
1936
|
+
},
|
|
1937
|
+
webgl: /*#__PURE__*/function () {
|
|
1938
|
+
var _webgl = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee9() {
|
|
1939
|
+
var _e10;
|
|
1940
|
+
|
|
1941
|
+
return runtime_1.wrap(function _callee9$(_context9) {
|
|
1942
|
+
while (1) {
|
|
1943
|
+
switch (_context9.prev = _context9.next) {
|
|
1944
|
+
case 0:
|
|
1945
|
+
"undefined" != typeof document && (k = document.createElement("canvas"), k.width = 200, k.height = 100, O = k.getContext("webgl"));
|
|
1946
|
+
_context9.prev = 1;
|
|
1947
|
+
|
|
1948
|
+
if (O) {
|
|
1949
|
+
_context9.next = 4;
|
|
1950
|
+
break;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
throw new Error("WebGL not supported");
|
|
1954
|
+
|
|
1955
|
+
case 4:
|
|
1956
|
+
_e10 = Array.from({
|
|
1957
|
+
length: R
|
|
1958
|
+
}, function () {
|
|
1959
|
+
return function () {
|
|
1960
|
+
try {
|
|
1961
|
+
if (!O) throw new Error("WebGL not supported");
|
|
1962
|
+
|
|
1963
|
+
var _e11 = "\n attribute vec2 position;\n void main() {\n gl_Position = vec4(position, 0.0, 1.0);\n }\n ",
|
|
1964
|
+
_t9 = "\n precision mediump float;\n void main() {\n gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n }\n ",
|
|
1965
|
+
_n10 = O.createShader(O.VERTEX_SHADER),
|
|
1966
|
+
_o5 = O.createShader(O.FRAGMENT_SHADER);
|
|
1967
|
+
|
|
1968
|
+
if (!_n10 || !_o5) throw new Error("Failed to create shaders");
|
|
1969
|
+
if (O.shaderSource(_n10, _e11), O.shaderSource(_o5, _t9), O.compileShader(_n10), !O.getShaderParameter(_n10, O.COMPILE_STATUS)) throw new Error("Vertex shader compilation failed: " + O.getShaderInfoLog(_n10));
|
|
1970
|
+
if (O.compileShader(_o5), !O.getShaderParameter(_o5, O.COMPILE_STATUS)) throw new Error("Fragment shader compilation failed: " + O.getShaderInfoLog(_o5));
|
|
1971
|
+
|
|
1972
|
+
var _r3 = O.createProgram();
|
|
1973
|
+
|
|
1974
|
+
if (!_r3) throw new Error("Failed to create shader program");
|
|
1975
|
+
if (O.attachShader(_r3, _n10), O.attachShader(_r3, _o5), O.linkProgram(_r3), !O.getProgramParameter(_r3, O.LINK_STATUS)) throw new Error("Shader program linking failed: " + O.getProgramInfoLog(_r3));
|
|
1976
|
+
O.useProgram(_r3);
|
|
1977
|
+
|
|
1978
|
+
var _i5 = 137,
|
|
1979
|
+
_a = new Float32Array(4 * _i5),
|
|
1980
|
+
_s3 = 2 * Math.PI / _i5;
|
|
1981
|
+
|
|
1982
|
+
for (var _e12 = 0; _e12 < _i5; _e12++) {
|
|
1983
|
+
var _t10 = _e12 * _s3;
|
|
1984
|
+
|
|
1985
|
+
_a[4 * _e12] = 0, _a[4 * _e12 + 1] = 0, _a[4 * _e12 + 2] = Math.cos(_t10) * (k.width / 2), _a[4 * _e12 + 3] = Math.sin(_t10) * (k.height / 2);
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
var _c = O.createBuffer();
|
|
1989
|
+
|
|
1990
|
+
O.bindBuffer(O.ARRAY_BUFFER, _c), O.bufferData(O.ARRAY_BUFFER, _a, O.STATIC_DRAW);
|
|
1991
|
+
|
|
1992
|
+
var _u2 = O.getAttribLocation(_r3, "position");
|
|
1993
|
+
|
|
1994
|
+
O.enableVertexAttribArray(_u2), O.vertexAttribPointer(_u2, 2, O.FLOAT, !1, 0, 0), O.viewport(0, 0, k.width, k.height), O.clearColor(0, 0, 0, 1), O.clear(O.COLOR_BUFFER_BIT), O.drawArrays(O.LINES, 0, 2 * _i5);
|
|
1995
|
+
|
|
1996
|
+
var _l2 = new Uint8ClampedArray(k.width * k.height * 4);
|
|
1997
|
+
|
|
1998
|
+
O.readPixels(0, 0, k.width, k.height, O.RGBA, O.UNSIGNED_BYTE, _l2);
|
|
1999
|
+
return new ImageData(_l2, k.width, k.height);
|
|
2000
|
+
} catch (e) {
|
|
2001
|
+
return new ImageData(1, 1);
|
|
2002
|
+
} finally {
|
|
2003
|
+
O && (O.bindBuffer(O.ARRAY_BUFFER, null), O.useProgram(null), O.viewport(0, 0, O.drawingBufferWidth, O.drawingBufferHeight), O.clearColor(0, 0, 0, 0));
|
|
2004
|
+
}
|
|
2005
|
+
}();
|
|
2006
|
+
});
|
|
2007
|
+
return _context9.abrupt("return", {
|
|
2008
|
+
commonPixelsHash: f(u(_e10, k.width, k.height).data.toString()).toString()
|
|
2009
|
+
});
|
|
2010
|
+
|
|
2011
|
+
case 8:
|
|
2012
|
+
_context9.prev = 8;
|
|
2013
|
+
_context9.t0 = _context9["catch"](1);
|
|
2014
|
+
return _context9.abrupt("return", {
|
|
2015
|
+
webgl: "unsupported"
|
|
2016
|
+
});
|
|
2017
|
+
|
|
2018
|
+
case 11:
|
|
2019
|
+
case "end":
|
|
2020
|
+
return _context9.stop();
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
2023
|
+
}, _callee9, null, [[1, 8]]);
|
|
2024
|
+
}));
|
|
2025
|
+
|
|
2026
|
+
function webgl() {
|
|
2027
|
+
return _webgl.apply(this, arguments);
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
return webgl;
|
|
2031
|
+
}(),
|
|
2032
|
+
webrtc: /*#__PURE__*/function () {
|
|
2033
|
+
var _webrtc = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee11(e) {
|
|
2034
|
+
return runtime_1.wrap(function _callee11$(_context11) {
|
|
2035
|
+
while (1) {
|
|
2036
|
+
switch (_context11.prev = _context11.next) {
|
|
2037
|
+
case 0:
|
|
2038
|
+
return _context11.abrupt("return", new Promise(function (t) {
|
|
2039
|
+
try {
|
|
2040
|
+
var _n11 = window.RTCPeerConnection || window.webkitRTCPeerConnection || window.mozRTCPeerConnection;
|
|
2041
|
+
|
|
2042
|
+
if (!_n11) return void t({
|
|
2043
|
+
supported: !1,
|
|
2044
|
+
error: "WebRTC not supported"
|
|
2045
|
+
});
|
|
2046
|
+
|
|
2047
|
+
var _o6 = new _n11({
|
|
2048
|
+
iceCandidatePoolSize: 1,
|
|
2049
|
+
iceServers: []
|
|
2050
|
+
});
|
|
2051
|
+
|
|
2052
|
+
_o6.createDataChannel("");
|
|
2053
|
+
|
|
2054
|
+
_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10() {
|
|
2055
|
+
var _n12, _r4, _i6, _a2, _s4, _c2, _u3, _l3, _d, _m, _p, _h;
|
|
2056
|
+
|
|
2057
|
+
return runtime_1.wrap(function _callee10$(_context10) {
|
|
2058
|
+
while (1) {
|
|
2059
|
+
switch (_context10.prev = _context10.next) {
|
|
2060
|
+
case 0:
|
|
2061
|
+
_context10.prev = 0;
|
|
2062
|
+
_n12 = {
|
|
2063
|
+
offerToReceiveAudio: !0,
|
|
2064
|
+
offerToReceiveVideo: !0
|
|
2065
|
+
};
|
|
2066
|
+
_context10.next = 4;
|
|
2067
|
+
return _o6.createOffer(_n12);
|
|
2068
|
+
|
|
2069
|
+
case 4:
|
|
2070
|
+
_r4 = _context10.sent;
|
|
2071
|
+
_context10.next = 7;
|
|
2072
|
+
return _o6.setLocalDescription(_r4);
|
|
2073
|
+
|
|
2074
|
+
case 7:
|
|
2075
|
+
_i6 = _r4.sdp || "";
|
|
2076
|
+
_a2 = [].concat(new Set((_i6.match(/extmap:\d+ [^\n\r]+/g) || []).map(function (e) {
|
|
2077
|
+
return e.replace(/extmap:\d+ /, "");
|
|
2078
|
+
}))).sort();
|
|
2079
|
+
|
|
2080
|
+
_s4 = function _s4(e) {
|
|
2081
|
+
var t = _i6.match(new RegExp("m=" + e + " [^\\s]+ [^\\s]+ ([^\\n\\r]+)"));
|
|
2082
|
+
|
|
2083
|
+
return t ? t[1].split(" ") : [];
|
|
2084
|
+
};
|
|
2085
|
+
|
|
2086
|
+
_c2 = function _c2(e, t) {
|
|
2087
|
+
return t.map(function (t) {
|
|
2088
|
+
var n = new RegExp("(rtpmap|fmtp|rtcp-fb):" + t + " (.+)", "g"),
|
|
2089
|
+
o = [].concat(_i6.matchAll(n));
|
|
2090
|
+
if (!o.length) return null;
|
|
2091
|
+
var r = {};
|
|
2092
|
+
return o.forEach(function (t) {
|
|
2093
|
+
var n = t[0],
|
|
2094
|
+
o = t[1],
|
|
2095
|
+
i = t[2],
|
|
2096
|
+
a = i.split("/");
|
|
2097
|
+
"rtpmap" === o ? (r.mimeType = e + "/" + a[0], r.clockRate = +a[1], "audio" === e && (r.channels = +a[2] || 1)) : "rtcp-fb" === o ? (r.feedbackSupport = r.feedbackSupport || [], r.feedbackSupport.push(i)) : "fmtp" === o && (r.sdpFmtpLine = i);
|
|
2098
|
+
}), r;
|
|
2099
|
+
}).filter(Boolean);
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
_u3 = _c2("audio", _s4("audio"));
|
|
2103
|
+
_l3 = _c2("video", _s4("video"));
|
|
2104
|
+
_d = {
|
|
2105
|
+
audio: {
|
|
2106
|
+
count: _u3.length,
|
|
2107
|
+
hash: f(L(_u3))
|
|
2108
|
+
},
|
|
2109
|
+
video: {
|
|
2110
|
+
count: _l3.length,
|
|
2111
|
+
hash: f(L(_l3))
|
|
2112
|
+
},
|
|
2113
|
+
extensionsHash: f(L(_a2))
|
|
2114
|
+
};
|
|
2115
|
+
_m = (null == e ? void 0 : e.timeout) || 5e3;
|
|
2116
|
+
_p = Math.floor(.9 * _m);
|
|
2117
|
+
_context10.next = 18;
|
|
2118
|
+
return new Promise(function (e) {
|
|
2119
|
+
var t = setTimeout(function () {
|
|
2120
|
+
_o6.removeEventListener("icecandidate", n), _o6.close(), e(_extends({
|
|
2121
|
+
supported: !0
|
|
2122
|
+
}, _d, {
|
|
2123
|
+
timeout: !0
|
|
2124
|
+
}));
|
|
2125
|
+
}, _p),
|
|
2126
|
+
n = function n(r) {
|
|
2127
|
+
var i = r.candidate;
|
|
2128
|
+
i && i.candidate && (clearTimeout(t), _o6.removeEventListener("icecandidate", n), _o6.close(), e(_extends({
|
|
2129
|
+
supported: !0
|
|
2130
|
+
}, _d, {
|
|
2131
|
+
candidateType: i.type || ""
|
|
2132
|
+
})));
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
_o6.addEventListener("icecandidate", n);
|
|
2136
|
+
});
|
|
2137
|
+
|
|
2138
|
+
case 18:
|
|
2139
|
+
_h = _context10.sent;
|
|
2140
|
+
t({
|
|
2141
|
+
details: _h,
|
|
2142
|
+
hash: f(L(_h))
|
|
2143
|
+
});
|
|
2144
|
+
_context10.next = 25;
|
|
2145
|
+
break;
|
|
2146
|
+
|
|
2147
|
+
case 22:
|
|
2148
|
+
_context10.prev = 22;
|
|
2149
|
+
_context10.t0 = _context10["catch"](0);
|
|
2150
|
+
_o6.close(), t({
|
|
2151
|
+
supported: !0,
|
|
2152
|
+
error: "WebRTC offer failed: " + _context10.t0.message
|
|
2153
|
+
});
|
|
2154
|
+
|
|
2155
|
+
case 25:
|
|
2156
|
+
case "end":
|
|
2157
|
+
return _context10.stop();
|
|
2158
|
+
}
|
|
2159
|
+
}
|
|
2160
|
+
}, _callee10, null, [[0, 22]]);
|
|
2161
|
+
}))();
|
|
2162
|
+
} catch (e) {
|
|
2163
|
+
t({
|
|
2164
|
+
supported: !1,
|
|
2165
|
+
error: "WebRTC error: " + e.message
|
|
2166
|
+
});
|
|
2167
|
+
}
|
|
2168
|
+
}));
|
|
2169
|
+
|
|
2170
|
+
case 1:
|
|
2171
|
+
case "end":
|
|
2172
|
+
return _context11.stop();
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
}, _callee11);
|
|
2176
|
+
}));
|
|
2177
|
+
|
|
2178
|
+
function webrtc(_x6) {
|
|
2179
|
+
return _webrtc.apply(this, arguments);
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
return webrtc;
|
|
2183
|
+
}(),
|
|
2184
|
+
speech: /*#__PURE__*/function () {
|
|
2185
|
+
var _speech = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee12() {
|
|
2186
|
+
return runtime_1.wrap(function _callee12$(_context12) {
|
|
2187
|
+
while (1) {
|
|
2188
|
+
switch (_context12.prev = _context12.next) {
|
|
2189
|
+
case 0:
|
|
2190
|
+
return _context12.abrupt("return", new Promise(function (e) {
|
|
2191
|
+
try {
|
|
2192
|
+
if ("undefined" == typeof window || !window.speechSynthesis || "function" != typeof window.speechSynthesis.getVoices) return void e({
|
|
2193
|
+
supported: !1,
|
|
2194
|
+
error: "Speech Synthesis API not supported"
|
|
2195
|
+
});
|
|
2196
|
+
|
|
2197
|
+
var _t11 = !1,
|
|
2198
|
+
_n13 = null;
|
|
2199
|
+
|
|
2200
|
+
var _o7 = function _o7(o) {
|
|
2201
|
+
if (!_t11) {
|
|
2202
|
+
_t11 = !0, _n13 && clearTimeout(_n13);
|
|
2203
|
+
|
|
2204
|
+
try {
|
|
2205
|
+
var _t12 = o.map(function (e) {
|
|
2206
|
+
var t = function t(e) {
|
|
2207
|
+
return e.replace(/\\/g, "\\\\").replace(/,/g, "\\,");
|
|
2208
|
+
};
|
|
2209
|
+
|
|
2210
|
+
return [t(e.voiceURI || ""), t(e.name || ""), t(e.lang || ""), e.localService ? "1" : "0", e["default"] ? "1" : "0"].join(",");
|
|
2211
|
+
});
|
|
2212
|
+
|
|
2213
|
+
_t12.sort();
|
|
2214
|
+
|
|
2215
|
+
var _n14 = {
|
|
2216
|
+
voiceCount: o.length,
|
|
2217
|
+
voicesHash: f(L(_t12))
|
|
2218
|
+
};
|
|
2219
|
+
e({
|
|
2220
|
+
details: _n14,
|
|
2221
|
+
hash: f(L(_n14))
|
|
2222
|
+
});
|
|
2223
|
+
} catch (t) {
|
|
2224
|
+
e({
|
|
2225
|
+
supported: !0,
|
|
2226
|
+
error: "Voice processing failed: " + t.message
|
|
2227
|
+
});
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
},
|
|
2231
|
+
_r5 = window.speechSynthesis.getVoices();
|
|
2232
|
+
|
|
2233
|
+
if (_r5.length > 0) return void _o7(_r5);
|
|
2234
|
+
_n13 = setTimeout(function () {
|
|
2235
|
+
var e = window.speechSynthesis.getVoices();
|
|
2236
|
+
|
|
2237
|
+
_o7(e);
|
|
2238
|
+
}, 800);
|
|
2239
|
+
|
|
2240
|
+
var _i7 = function _i7() {
|
|
2241
|
+
window.speechSynthesis.removeEventListener("voiceschanged", _i7);
|
|
2242
|
+
var e = window.speechSynthesis.getVoices();
|
|
2243
|
+
|
|
2244
|
+
_o7(e);
|
|
2245
|
+
};
|
|
2246
|
+
|
|
2247
|
+
window.speechSynthesis.addEventListener("voiceschanged", _i7);
|
|
2248
|
+
} catch (t) {
|
|
2249
|
+
e({
|
|
2250
|
+
supported: !1,
|
|
2251
|
+
error: "Speech Synthesis error: " + t.message
|
|
2252
|
+
});
|
|
2253
|
+
}
|
|
2254
|
+
}));
|
|
2255
|
+
|
|
2256
|
+
case 1:
|
|
2257
|
+
case "end":
|
|
2258
|
+
return _context12.stop();
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}, _callee12);
|
|
2262
|
+
}));
|
|
2263
|
+
|
|
2264
|
+
function speech() {
|
|
2265
|
+
return _speech.apply(this, arguments);
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
return speech;
|
|
2269
|
+
}()
|
|
2270
|
+
},
|
|
2271
|
+
U = {
|
|
2272
|
+
mathml: /*#__PURE__*/function () {
|
|
2273
|
+
var _mathml = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee14() {
|
|
2274
|
+
return runtime_1.wrap(function _callee14$(_context14) {
|
|
2275
|
+
while (1) {
|
|
2276
|
+
switch (_context14.prev = _context14.next) {
|
|
2277
|
+
case 0:
|
|
2278
|
+
return _context14.abrupt("return", new Promise(function (e) {
|
|
2279
|
+
try {
|
|
2280
|
+
g( /*#__PURE__*/function () {
|
|
2281
|
+
var _ref7 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee13(_ref6) {
|
|
2282
|
+
var t, _n15, _o8, _r6, _i8;
|
|
2283
|
+
|
|
2284
|
+
return runtime_1.wrap(function _callee13$(_context13) {
|
|
2285
|
+
while (1) {
|
|
2286
|
+
switch (_context13.prev = _context13.next) {
|
|
2287
|
+
case 0:
|
|
2288
|
+
t = _ref6.iframe;
|
|
2289
|
+
_context13.prev = 1;
|
|
2290
|
+
|
|
2291
|
+
if (function (e) {
|
|
2292
|
+
try {
|
|
2293
|
+
var _t13 = e.createElement("math");
|
|
2294
|
+
|
|
2295
|
+
_t13.innerHTML = "<mrow><mi>x</mi></mrow>", _t13.style.position = "absolute", _t13.style.visibility = "hidden", e.body.appendChild(_t13);
|
|
2296
|
+
|
|
2297
|
+
var _n16 = _t13.getBoundingClientRect();
|
|
2298
|
+
|
|
2299
|
+
return e.body.removeChild(_t13), _n16.width > 0 && _n16.height > 0;
|
|
2300
|
+
} catch (e) {
|
|
2301
|
+
return !1;
|
|
2302
|
+
}
|
|
2303
|
+
}(t)) {
|
|
2304
|
+
_context13.next = 4;
|
|
2305
|
+
break;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
return _context13.abrupt("return", void e({
|
|
2309
|
+
supported: !1,
|
|
2310
|
+
error: "MathML not supported"
|
|
2311
|
+
}));
|
|
2312
|
+
|
|
2313
|
+
case 4:
|
|
2314
|
+
_n15 = [D("integral", "<msubsup><mo>∫</mo><mi>a</mi><mi>b</mi></msubsup><mfrac><mrow><mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mrow><mi>g</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mfrac><mi>dx</mi>"), D("fraction", "<mfrac><mrow><mi>π</mi><mo>×</mo><msup><mi>r</mi><mn>2</mn></msup></mrow><mrow><mn>2</mn><mi>σ</mi></mrow></mfrac>"), D("matrix", "<mo>[</mo><mtable><mtr><mtd><mi>α</mi></mtd><mtd><mi>β</mi></mtd></mtr><mtr><mtd><mi>γ</mi></mtd><mtd><mi>δ</mi></mtd></mtr></mtable><mo>]</mo>"), $()].concat(F()), _o8 = [];
|
|
2315
|
+
_r6 = "";
|
|
2316
|
+
|
|
2317
|
+
_n15.forEach(function (e, n) {
|
|
2318
|
+
var i = function (e, t) {
|
|
2319
|
+
try {
|
|
2320
|
+
var _n17 = t.createElement("math");
|
|
2321
|
+
|
|
2322
|
+
_n17.innerHTML = e.replace(/<\/?math>/g, ""), _n17.style.whiteSpace = "nowrap", _n17.style.position = "absolute", _n17.style.visibility = "hidden", _n17.style.top = "-9999px", t.body.appendChild(_n17);
|
|
2323
|
+
|
|
2324
|
+
var _o9 = _n17.getBoundingClientRect(),
|
|
2325
|
+
_r7 = (t.defaultView || window).getComputedStyle(_n17),
|
|
2326
|
+
_i9 = {
|
|
2327
|
+
dimensions: {
|
|
2328
|
+
width: _o9.width,
|
|
2329
|
+
height: _o9.height
|
|
2330
|
+
},
|
|
2331
|
+
fontInfo: {
|
|
2332
|
+
fontFamily: _r7.fontFamily,
|
|
2333
|
+
fontSize: _r7.fontSize,
|
|
2334
|
+
fontWeight: _r7.fontWeight,
|
|
2335
|
+
fontStyle: _r7.fontStyle,
|
|
2336
|
+
lineHeight: _r7.lineHeight,
|
|
2337
|
+
fontVariant: _r7.fontVariant || "normal",
|
|
2338
|
+
fontStretch: _r7.fontStretch || "normal",
|
|
2339
|
+
fontSizeAdjust: _r7.fontSizeAdjust || "none",
|
|
2340
|
+
textRendering: _r7.textRendering || "auto",
|
|
2341
|
+
fontFeatureSettings: _r7.fontFeatureSettings || "normal",
|
|
2342
|
+
fontVariantNumeric: _r7.fontVariantNumeric || "normal",
|
|
2343
|
+
fontKerning: _r7.fontKerning || "auto"
|
|
2344
|
+
}
|
|
2345
|
+
};
|
|
2346
|
+
|
|
2347
|
+
return t.body.removeChild(_n17), _i9;
|
|
2348
|
+
} catch (e) {
|
|
2349
|
+
return {
|
|
2350
|
+
error: e.message
|
|
2351
|
+
};
|
|
2352
|
+
}
|
|
2353
|
+
}(e, t);
|
|
2354
|
+
|
|
2355
|
+
_o8.push({
|
|
2356
|
+
width: i.dimensions.width,
|
|
2357
|
+
height: i.dimensions.height
|
|
2358
|
+
}), 0 === n && i.fontInfo && (_r6 = f(L(i.fontInfo)));
|
|
2359
|
+
});
|
|
2360
|
+
|
|
2361
|
+
_i8 = {
|
|
2362
|
+
fontStyleHash: _r6,
|
|
2363
|
+
dimensions: _o8
|
|
2364
|
+
};
|
|
2365
|
+
e({
|
|
2366
|
+
details: _i8,
|
|
2367
|
+
hash: f(L(_i8))
|
|
2368
|
+
});
|
|
2369
|
+
_context13.next = 14;
|
|
2370
|
+
break;
|
|
2371
|
+
|
|
2372
|
+
case 11:
|
|
2373
|
+
_context13.prev = 11;
|
|
2374
|
+
_context13.t0 = _context13["catch"](1);
|
|
2375
|
+
e({
|
|
2376
|
+
supported: !1,
|
|
2377
|
+
error: "MathML error: " + _context13.t0.message
|
|
2378
|
+
});
|
|
2379
|
+
|
|
2380
|
+
case 14:
|
|
2381
|
+
case "end":
|
|
2382
|
+
return _context13.stop();
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
}, _callee13, null, [[1, 11]]);
|
|
2386
|
+
}));
|
|
2387
|
+
|
|
2388
|
+
return function (_x7) {
|
|
2389
|
+
return _ref7.apply(this, arguments);
|
|
2390
|
+
};
|
|
2391
|
+
}());
|
|
2392
|
+
} catch (t) {
|
|
2393
|
+
e({
|
|
2394
|
+
supported: !1,
|
|
2395
|
+
error: "MathML error: " + t.message
|
|
2396
|
+
});
|
|
2397
|
+
}
|
|
2398
|
+
}));
|
|
2399
|
+
|
|
2400
|
+
case 1:
|
|
2401
|
+
case "end":
|
|
2402
|
+
return _context14.stop();
|
|
2403
|
+
}
|
|
2404
|
+
}
|
|
2405
|
+
}, _callee14);
|
|
2406
|
+
}));
|
|
2407
|
+
|
|
2408
|
+
function mathml() {
|
|
2409
|
+
return _mathml.apply(this, arguments);
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
return mathml;
|
|
2413
|
+
}()
|
|
2414
|
+
},
|
|
2415
|
+
j = {},
|
|
2416
|
+
W = {
|
|
2417
|
+
timeout: "true"
|
|
2418
|
+
},
|
|
2419
|
+
H = function H(e, t, n) {
|
|
2420
|
+
j[e] = t;
|
|
2421
|
+
};
|
|
2422
|
+
|
|
2423
|
+
function z(e, t) {
|
|
2424
|
+
var n, o;
|
|
2425
|
+
var r = C();
|
|
2426
|
+
|
|
2427
|
+
if ("unknown" === r.name && t) {
|
|
2428
|
+
var _e13 = null === (n = t.system) || void 0 === n ? void 0 : n.browser;
|
|
2429
|
+
|
|
2430
|
+
(null == _e13 ? void 0 : _e13.name) && (r = {
|
|
2431
|
+
name: String(_e13.name),
|
|
2432
|
+
version: String(_e13.version || "unknown")
|
|
2433
|
+
});
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
var i = r.name.toLowerCase(),
|
|
2437
|
+
s = parseInt(r.version.split(".")[0] || "0", 10),
|
|
2438
|
+
c = [].concat((null == e ? void 0 : e.exclude) || []),
|
|
2439
|
+
u = [].concat(new Set([].concat((null == e ? void 0 : e.stabilize) || [], ["always"])));
|
|
2440
|
+
|
|
2441
|
+
for (var _iterator3 = _createForOfIteratorHelperLoose(u), _step3; !(_step3 = _iterator3()).done;) {
|
|
2442
|
+
var _e14 = _step3.value;
|
|
2443
|
+
var _t14 = a[_e14];
|
|
2444
|
+
|
|
2445
|
+
if (_t14) {
|
|
2446
|
+
for (var _iterator4 = _createForOfIteratorHelperLoose(_t14), _step4; !(_step4 = _iterator4()).done;) {
|
|
2447
|
+
var _e15 = _step4.value;
|
|
2448
|
+
"browsers" in _e15 && !(null === (o = _e15.browsers) || void 0 === o ? void 0 : o.some(function (e) {
|
|
2449
|
+
var t = e.match(/(.+?)(>=)(\d+)/);
|
|
2450
|
+
return t ? i === t[1] && s >= +t[3] : i === e;
|
|
2451
|
+
})) || c.push.apply(c, _e15.exclude);
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
return c;
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
function J(e, t) {
|
|
2460
|
+
var n = z(t, e),
|
|
2461
|
+
o = (null == t ? void 0 : t.include) || [];
|
|
2462
|
+
return function e(t, r) {
|
|
2463
|
+
if (r === void 0) {
|
|
2464
|
+
r = "";
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
var i = {};
|
|
2468
|
+
|
|
2469
|
+
var _loop = function _loop() {
|
|
2470
|
+
var _Object$entries$_i = _Object$entries[_i10],
|
|
2471
|
+
a = _Object$entries$_i[0],
|
|
2472
|
+
s = _Object$entries$_i[1];
|
|
2473
|
+
var t = r ? r + "." + a : a;
|
|
2474
|
+
|
|
2475
|
+
if ("object" != typeof s || Array.isArray(s) || null === s) {
|
|
2476
|
+
var _e16 = n.some(function (e) {
|
|
2477
|
+
return t.startsWith(e);
|
|
2478
|
+
}),
|
|
2479
|
+
_r8 = o.some(function (e) {
|
|
2480
|
+
return t.startsWith(e);
|
|
2481
|
+
});
|
|
2482
|
+
|
|
2483
|
+
_e16 && !_r8 || (i[a] = s);
|
|
2484
|
+
} else {
|
|
2485
|
+
var _n18 = e(s, t);
|
|
2486
|
+
|
|
2487
|
+
Object.keys(_n18).length > 0 && (i[a] = _n18);
|
|
2488
|
+
}
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
for (var _i10 = 0, _Object$entries = Object.entries(t); _i10 < _Object$entries.length; _i10++) {
|
|
2492
|
+
_loop();
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
return i;
|
|
2496
|
+
}(e);
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
var q = "visitor_id";
|
|
2500
|
+
|
|
2501
|
+
function K(e) {
|
|
2502
|
+
return e.storage_property_name ? e.storage_property_name : e.property_name_factory(q);
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
var Y = t + "_" + q;
|
|
2506
|
+
|
|
2507
|
+
function X(e, t) {
|
|
2508
|
+
try {
|
|
2509
|
+
localStorage.setItem(K(t), e);
|
|
2510
|
+
} catch (e) {}
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2513
|
+
var Z = "cache";
|
|
2514
|
+
|
|
2515
|
+
function Q(e) {
|
|
2516
|
+
try {
|
|
2517
|
+
var _t15 = localStorage.getItem(e.property_name_factory(Z)),
|
|
2518
|
+
_n19 = JSON.parse(_t15);
|
|
2519
|
+
|
|
2520
|
+
return _n19 || {};
|
|
2521
|
+
} catch (e) {}
|
|
2522
|
+
|
|
2523
|
+
return {};
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
function ee(t) {
|
|
2527
|
+
return t.cache_lifetime_in_ms > e ? Date.now() + e : Date.now() + t.cache_lifetime_in_ms;
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
var te = null,
|
|
2531
|
+
ne = null;
|
|
2532
|
+
|
|
2533
|
+
var oe = function oe(e, t) {
|
|
2534
|
+
if (e.cache_api_call) {
|
|
2535
|
+
if (ne) return Promise.resolve(ne);
|
|
2536
|
+
|
|
2537
|
+
var _t16 = function (e) {
|
|
2538
|
+
var t = Q(e);
|
|
2539
|
+
if (t && t.apiResponse && t.apiResponseExpiry && Date.now() <= t.apiResponseExpiry) return t.apiResponse;
|
|
2540
|
+
return;
|
|
2541
|
+
}(e);
|
|
2542
|
+
|
|
2543
|
+
if (_t16) return Promise.resolve(_t16);
|
|
2544
|
+
if (te) return te;
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
var o = (e.api_endpoint || n) + "/thumbmark",
|
|
2548
|
+
r = function (e) {
|
|
2549
|
+
try {
|
|
2550
|
+
var _t17 = K(e);
|
|
2551
|
+
|
|
2552
|
+
var _n20 = localStorage.getItem(_t17);
|
|
2553
|
+
|
|
2554
|
+
return _n20 || _t17 === Y || (_n20 = localStorage.getItem(Y), _n20 && X(_n20, e)), _n20;
|
|
2555
|
+
} catch (e) {
|
|
2556
|
+
return null;
|
|
2557
|
+
}
|
|
2558
|
+
}(e),
|
|
2559
|
+
i = {
|
|
2560
|
+
components: t,
|
|
2561
|
+
options: e,
|
|
2562
|
+
clientHash: f(L(t)),
|
|
2563
|
+
version: "1.7.4"
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
if (r && (i.visitorId = r), e.metadata) {
|
|
2567
|
+
var _t18 = "function" == typeof e.metadata ? e.metadata() : e.metadata;
|
|
2568
|
+
|
|
2569
|
+
if (_t18) {
|
|
2570
|
+
("string" == typeof _t18 ? _t18.length : JSON.stringify(_t18).length) > 1e3 ? console.error("ThumbmarkJS: Metadata exceeds 1000 characters. Skipping metadata.") : i.metadata = _t18;
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
var a = fetch(o, {
|
|
2575
|
+
method: "POST",
|
|
2576
|
+
headers: {
|
|
2577
|
+
"x-api-key": e.api_key,
|
|
2578
|
+
Authorization: "custom-authorized",
|
|
2579
|
+
"Content-Type": "application/json"
|
|
2580
|
+
},
|
|
2581
|
+
body: JSON.stringify(i)
|
|
2582
|
+
}).then(function (e) {
|
|
2583
|
+
if (!e.ok) {
|
|
2584
|
+
if (403 === e.status) throw new Error("INVALID_API_KEY");
|
|
2585
|
+
throw new Error("HTTP error! status: " + e.status);
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
return e.json();
|
|
2589
|
+
}).then(function (t) {
|
|
2590
|
+
return t.visitorId && t.visitorId !== r && X(t.visitorId, e), ne = t, function (e, t) {
|
|
2591
|
+
if (!e.cache_api_call || !e.cache_lifetime_in_ms) return;
|
|
2592
|
+
!function (e, t) {
|
|
2593
|
+
var n = _extends({}, Q(e), t);
|
|
2594
|
+
|
|
2595
|
+
try {
|
|
2596
|
+
localStorage.setItem(e.property_name_factory(Z), JSON.stringify(n));
|
|
2597
|
+
} catch (e) {}
|
|
2598
|
+
}(e, {
|
|
2599
|
+
apiResponseExpiry: ee(e),
|
|
2600
|
+
apiResponse: t
|
|
2601
|
+
});
|
|
2602
|
+
}(e, t), te = null, t;
|
|
2603
|
+
})["catch"](function (e) {
|
|
2604
|
+
throw te = null, e;
|
|
2605
|
+
}),
|
|
2606
|
+
s = e.timeout || 5e3,
|
|
2607
|
+
c = new Promise(function (t) {
|
|
2608
|
+
setTimeout(function () {
|
|
2609
|
+
var n = Q(e);
|
|
2610
|
+
n && n.apiResponse ? t(n.apiResponse) : t(_extends({
|
|
2611
|
+
info: {
|
|
2612
|
+
timed_out: !0
|
|
2613
|
+
}
|
|
2614
|
+
}, r && {
|
|
2615
|
+
visitorId: r
|
|
2616
|
+
}));
|
|
2617
|
+
}, s);
|
|
2618
|
+
});
|
|
2619
|
+
return te = Promise.race([a, c]), te;
|
|
2620
|
+
};
|
|
2621
|
+
|
|
2622
|
+
function re(_x8) {
|
|
2623
|
+
return _re.apply(this, arguments);
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
function _re() {
|
|
2627
|
+
_re = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee18(e) {
|
|
2628
|
+
var t, r, _i11, _a3, _s5, _c3, _yield$ie, _u4, _l4, _d2, _m2, _p2, _yield$ie2, _e17, _t19, _n21, _h2, _g2, _w, _v, _y, _S, _b, _E, _M;
|
|
2629
|
+
|
|
2630
|
+
return runtime_1.wrap(function _callee18$(_context18) {
|
|
2631
|
+
while (1) {
|
|
2632
|
+
switch (_context18.prev = _context18.next) {
|
|
2633
|
+
case 0:
|
|
2634
|
+
if (!("undefined" == typeof document || "undefined" == typeof window)) {
|
|
2635
|
+
_context18.next = 2;
|
|
2636
|
+
break;
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
return _context18.abrupt("return", {
|
|
2640
|
+
thumbmark: "",
|
|
2641
|
+
components: {},
|
|
2642
|
+
info: {},
|
|
2643
|
+
version: "1.7.4",
|
|
2644
|
+
error: [{
|
|
2645
|
+
type: "fatal",
|
|
2646
|
+
message: "Browser environment required"
|
|
2647
|
+
}]
|
|
2648
|
+
});
|
|
2649
|
+
|
|
2650
|
+
case 2:
|
|
2651
|
+
_context18.prev = 2;
|
|
2652
|
+
_i11 = _extends({}, o, e);
|
|
2653
|
+
_a3 = [];
|
|
2654
|
+
_s5 = _i11.logging && !sessionStorage.getItem("_tmjs_l") && Math.random() < 1e-4;
|
|
2655
|
+
_c3 = _extends({}, V, j);
|
|
2656
|
+
_context18.next = 9;
|
|
2657
|
+
return ie(_c3, _i11);
|
|
2658
|
+
|
|
2659
|
+
case 9:
|
|
2660
|
+
_yield$ie = _context18.sent;
|
|
2661
|
+
_u4 = _yield$ie.elapsed;
|
|
2662
|
+
_l4 = _yield$ie.resolvedComponents;
|
|
2663
|
+
_d2 = _yield$ie.errors;
|
|
2664
|
+
|
|
2665
|
+
_a3.push.apply(_a3, _d2);
|
|
2666
|
+
|
|
2667
|
+
_m2 = {}, _p2 = {};
|
|
2668
|
+
|
|
2669
|
+
if (!(_s5 || _i11.experimental)) {
|
|
2670
|
+
_context18.next = 23;
|
|
2671
|
+
break;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
_context18.next = 18;
|
|
2675
|
+
return ie(U, _i11);
|
|
2676
|
+
|
|
2677
|
+
case 18:
|
|
2678
|
+
_yield$ie2 = _context18.sent;
|
|
2679
|
+
_e17 = _yield$ie2.elapsed;
|
|
2680
|
+
_t19 = _yield$ie2.resolvedComponents;
|
|
2681
|
+
_n21 = _yield$ie2.errors;
|
|
2682
|
+
_m2 = _t19, _p2 = _e17, _a3.push.apply(_a3, _n21);
|
|
2683
|
+
|
|
2684
|
+
case 23:
|
|
2685
|
+
_h2 = _i11.api_key ? oe(_i11, _l4) : null;
|
|
2686
|
+
_g2 = null;
|
|
2687
|
+
|
|
2688
|
+
if (!_h2) {
|
|
2689
|
+
_context18.next = 37;
|
|
2690
|
+
break;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
_context18.prev = 26;
|
|
2694
|
+
_context18.next = 29;
|
|
2695
|
+
return _h2;
|
|
2696
|
+
|
|
2697
|
+
case 29:
|
|
2698
|
+
_g2 = _context18.sent;
|
|
2699
|
+
_context18.next = 37;
|
|
2700
|
+
break;
|
|
2701
|
+
|
|
2702
|
+
case 32:
|
|
2703
|
+
_context18.prev = 32;
|
|
2704
|
+
_context18.t0 = _context18["catch"](26);
|
|
2705
|
+
|
|
2706
|
+
if (!(_context18.t0 instanceof Error && "INVALID_API_KEY" === _context18.t0.message)) {
|
|
2707
|
+
_context18.next = 36;
|
|
2708
|
+
break;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
return _context18.abrupt("return", {
|
|
2712
|
+
error: [{
|
|
2713
|
+
type: "api_unauthorized",
|
|
2714
|
+
message: "Invalid API key or quota exceeded"
|
|
2715
|
+
}],
|
|
2716
|
+
components: {},
|
|
2717
|
+
info: {},
|
|
2718
|
+
version: "1.7.4",
|
|
2719
|
+
thumbmark: ""
|
|
2720
|
+
});
|
|
2721
|
+
|
|
2722
|
+
case 36:
|
|
2723
|
+
_a3.push({
|
|
2724
|
+
type: "api_error",
|
|
2725
|
+
message: _context18.t0 instanceof Error ? _context18.t0.message : String(_context18.t0)
|
|
2726
|
+
});
|
|
2727
|
+
|
|
2728
|
+
case 37:
|
|
2729
|
+
(null === (t = null == _g2 ? void 0 : _g2.info) || void 0 === t ? void 0 : t.timed_out) && _a3.push({
|
|
2730
|
+
type: "api_timeout",
|
|
2731
|
+
message: "API request timed out"
|
|
2732
|
+
});
|
|
2733
|
+
_w = _extends({}, _u4, _p2), _v = _i11.performance ? {
|
|
2734
|
+
elapsed: _w
|
|
2735
|
+
} : {}, _y = J((null == _g2 ? void 0 : _g2.components) || {}, _i11), _S = _extends({}, _l4, _y), _b = (null == _g2 ? void 0 : _g2.info) || {
|
|
2736
|
+
uniqueness: {
|
|
2737
|
+
score: "api only"
|
|
2738
|
+
}
|
|
2739
|
+
}, _E = null !== (r = null == _g2 ? void 0 : _g2.thumbmark) && void 0 !== r ? r : f(L(_S)), _M = "1.7.4";
|
|
2740
|
+
_s5 && function () {
|
|
2741
|
+
var _ref8 = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee17(e, t, o, r, i) {
|
|
2742
|
+
var a, s, c;
|
|
2743
|
+
return runtime_1.wrap(function _callee17$(_context17) {
|
|
2744
|
+
while (1) {
|
|
2745
|
+
switch (_context17.prev = _context17.next) {
|
|
2746
|
+
case 0:
|
|
2747
|
+
if (r === void 0) {
|
|
2748
|
+
r = {};
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
if (i === void 0) {
|
|
2752
|
+
i = [];
|
|
2753
|
+
}
|
|
2754
|
+
|
|
2755
|
+
s = n + "/log", c = _extends({
|
|
2756
|
+
thumbmark: e,
|
|
2757
|
+
components: t,
|
|
2758
|
+
experimental: r,
|
|
2759
|
+
version: "1.7.4",
|
|
2760
|
+
options: o,
|
|
2761
|
+
path: null === (a = null === window || void 0 === window ? void 0 : window.location) || void 0 === a ? void 0 : a.pathname
|
|
2762
|
+
}, i.length > 0 && {
|
|
2763
|
+
errors: i
|
|
2764
|
+
});
|
|
2765
|
+
sessionStorage.setItem("_tmjs_l", "1");
|
|
2766
|
+
_context17.prev = 4;
|
|
2767
|
+
_context17.next = 7;
|
|
2768
|
+
return fetch(s, {
|
|
2769
|
+
method: "POST",
|
|
2770
|
+
headers: {
|
|
2771
|
+
"Content-Type": "application/json"
|
|
2772
|
+
},
|
|
2773
|
+
body: JSON.stringify(c)
|
|
2774
|
+
});
|
|
2775
|
+
|
|
2776
|
+
case 7:
|
|
2777
|
+
_context17.next = 11;
|
|
2778
|
+
break;
|
|
2779
|
+
|
|
2780
|
+
case 9:
|
|
2781
|
+
_context17.prev = 9;
|
|
2782
|
+
_context17.t0 = _context17["catch"](4);
|
|
2783
|
+
|
|
2784
|
+
case 11:
|
|
2785
|
+
case "end":
|
|
2786
|
+
return _context17.stop();
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
}, _callee17, null, [[4, 9]]);
|
|
2790
|
+
}));
|
|
2791
|
+
|
|
2792
|
+
return function (_x13, _x14, _x15, _x16, _x17) {
|
|
2793
|
+
return _ref8.apply(this, arguments);
|
|
2794
|
+
};
|
|
2795
|
+
}()(_E, _S, _i11, _m2, _a3)["catch"](function () {});
|
|
2796
|
+
return _context18.abrupt("return", _extends({}, (null == _g2 ? void 0 : _g2.visitorId) && {
|
|
2797
|
+
visitorId: _g2.visitorId
|
|
2798
|
+
}, {
|
|
2799
|
+
thumbmark: _E,
|
|
2800
|
+
components: _S,
|
|
2801
|
+
info: _b,
|
|
2802
|
+
version: _M
|
|
2803
|
+
}, _v, _a3.length > 0 && {
|
|
2804
|
+
error: _a3
|
|
2805
|
+
}, Object.keys(_m2).length > 0 && _i11.experimental && {
|
|
2806
|
+
experimental: _m2
|
|
2807
|
+
}, (null == _g2 ? void 0 : _g2.requestId) && {
|
|
2808
|
+
requestId: _g2.requestId
|
|
2809
|
+
}, (null == _g2 ? void 0 : _g2.metadata) && {
|
|
2810
|
+
metadata: _g2.metadata
|
|
2811
|
+
}));
|
|
2812
|
+
|
|
2813
|
+
case 43:
|
|
2814
|
+
_context18.prev = 43;
|
|
2815
|
+
_context18.t1 = _context18["catch"](2);
|
|
2816
|
+
return _context18.abrupt("return", {
|
|
2817
|
+
thumbmark: "",
|
|
2818
|
+
components: {},
|
|
2819
|
+
info: {},
|
|
2820
|
+
version: "1.7.4",
|
|
2821
|
+
error: [{
|
|
2822
|
+
type: "fatal",
|
|
2823
|
+
message: _context18.t1 instanceof Error ? _context18.t1.message : String(_context18.t1)
|
|
2824
|
+
}]
|
|
2825
|
+
});
|
|
2826
|
+
|
|
2827
|
+
case 46:
|
|
2828
|
+
case "end":
|
|
2829
|
+
return _context18.stop();
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
}, _callee18, null, [[2, 43], [26, 32]]);
|
|
2833
|
+
}));
|
|
2834
|
+
return _re.apply(this, arguments);
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
function ie(_x9, _x10) {
|
|
2838
|
+
return _ie.apply(this, arguments);
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
function _ie() {
|
|
2842
|
+
_ie = _asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee19(e, t) {
|
|
2843
|
+
var n, r, i, a, s, c, u, l, d, m;
|
|
2844
|
+
return runtime_1.wrap(function _callee19$(_context19) {
|
|
2845
|
+
while (1) {
|
|
2846
|
+
switch (_context19.prev = _context19.next) {
|
|
2847
|
+
case 0:
|
|
2848
|
+
n = _extends({}, o, t);
|
|
2849
|
+
r = z(n).filter(function (e) {
|
|
2850
|
+
return !e.includes(".");
|
|
2851
|
+
});
|
|
2852
|
+
i = Object.entries(e).filter(function (_ref9) {
|
|
2853
|
+
var e = _ref9[0];
|
|
2854
|
+
var t;
|
|
2855
|
+
return !(null === (t = null == n ? void 0 : n.exclude) || void 0 === t ? void 0 : t.includes(e));
|
|
2856
|
+
}).filter(function (_ref10) {
|
|
2857
|
+
var e = _ref10[0];
|
|
2858
|
+
return !r.includes(e);
|
|
2859
|
+
}).filter(function (_ref11) {
|
|
2860
|
+
var e = _ref11[0];
|
|
2861
|
+
var t, o, r, i;
|
|
2862
|
+
return (null === (t = null == n ? void 0 : n.include) || void 0 === t ? void 0 : t.some(function (e) {
|
|
2863
|
+
return e.includes(".");
|
|
2864
|
+
})) ? null === (o = null == n ? void 0 : n.include) || void 0 === o ? void 0 : o.some(function (t) {
|
|
2865
|
+
return t.startsWith(e);
|
|
2866
|
+
}) : 0 === (null === (r = null == n ? void 0 : n.include) || void 0 === r ? void 0 : r.length) || (null === (i = null == n ? void 0 : n.include) || void 0 === i ? void 0 : i.includes(e));
|
|
2867
|
+
});
|
|
2868
|
+
a = i.map(function (_ref12) {
|
|
2869
|
+
var e = _ref12[0];
|
|
2870
|
+
return e;
|
|
2871
|
+
});
|
|
2872
|
+
s = i.map(function (_ref13) {
|
|
2873
|
+
var n = _ref13[1];
|
|
2874
|
+
return n(t);
|
|
2875
|
+
});
|
|
2876
|
+
_context19.next = 7;
|
|
2877
|
+
return function (e, t, n) {
|
|
2878
|
+
return Promise.all(e.map(function (e) {
|
|
2879
|
+
var o = performance.now();
|
|
2880
|
+
return Promise.race([e.then(function (e) {
|
|
2881
|
+
return {
|
|
2882
|
+
value: e,
|
|
2883
|
+
elapsed: performance.now() - o
|
|
2884
|
+
};
|
|
2885
|
+
})["catch"](function (e) {
|
|
2886
|
+
return {
|
|
2887
|
+
value: n,
|
|
2888
|
+
elapsed: performance.now() - o,
|
|
2889
|
+
error: e instanceof Error ? e.message : String(e)
|
|
2890
|
+
};
|
|
2891
|
+
}), (r = t, i = n, new Promise(function (e) {
|
|
2892
|
+
setTimeout(function () {
|
|
2893
|
+
return e(i);
|
|
2894
|
+
}, r);
|
|
2895
|
+
})).then(function (e) {
|
|
2896
|
+
return {
|
|
2897
|
+
value: e,
|
|
2898
|
+
elapsed: performance.now() - o,
|
|
2899
|
+
error: "timeout"
|
|
2900
|
+
};
|
|
2901
|
+
})]);
|
|
2902
|
+
var r, i;
|
|
2903
|
+
}));
|
|
2904
|
+
}(s, (null == n ? void 0 : n.timeout) || 5e3, W);
|
|
2905
|
+
|
|
2906
|
+
case 7:
|
|
2907
|
+
c = _context19.sent;
|
|
2908
|
+
u = {};
|
|
2909
|
+
l = {};
|
|
2910
|
+
d = [];
|
|
2911
|
+
c.forEach(function (e, t) {
|
|
2912
|
+
var n;
|
|
2913
|
+
var o = a[t];
|
|
2914
|
+
u[o] = null !== (n = e.elapsed) && void 0 !== n ? n : 0, "timeout" === e.error ? d.push({
|
|
2915
|
+
type: "component_timeout",
|
|
2916
|
+
message: "Component '" + o + "' timed out",
|
|
2917
|
+
component: o
|
|
2918
|
+
}) : e.error && d.push({
|
|
2919
|
+
type: "component_error",
|
|
2920
|
+
message: e.error,
|
|
2921
|
+
component: o
|
|
2922
|
+
}), null != e.value && (l[o] = e.value);
|
|
2923
|
+
});
|
|
2924
|
+
m = J(l, n);
|
|
2925
|
+
return _context19.abrupt("return", {
|
|
2926
|
+
elapsed: u,
|
|
2927
|
+
resolvedComponents: m,
|
|
2928
|
+
errors: d
|
|
2929
|
+
});
|
|
2930
|
+
|
|
2931
|
+
case 14:
|
|
2932
|
+
case "end":
|
|
2933
|
+
return _context19.stop();
|
|
2934
|
+
}
|
|
2935
|
+
}
|
|
2936
|
+
}, _callee19);
|
|
2937
|
+
}));
|
|
2938
|
+
return _ie.apply(this, arguments);
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
var ue = /*#__PURE__*/function () {
|
|
2942
|
+
function ue(e) {
|
|
2943
|
+
this.options = _extends({}, o, e);
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
var _proto = ue.prototype;
|
|
2947
|
+
|
|
2948
|
+
_proto.get = /*#__PURE__*/function () {
|
|
2949
|
+
var _get = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee15(e) {
|
|
2950
|
+
return runtime_1.wrap(function _callee15$(_context15) {
|
|
2951
|
+
while (1) {
|
|
2952
|
+
switch (_context15.prev = _context15.next) {
|
|
2953
|
+
case 0:
|
|
2954
|
+
return _context15.abrupt("return", re(_extends({}, this.options, e)));
|
|
2955
|
+
|
|
2956
|
+
case 1:
|
|
2957
|
+
case "end":
|
|
2958
|
+
return _context15.stop();
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
}, _callee15, this);
|
|
2962
|
+
}));
|
|
2963
|
+
|
|
2964
|
+
function get(_x12) {
|
|
2965
|
+
return _get.apply(this, arguments);
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2968
|
+
return get;
|
|
2969
|
+
}();
|
|
2970
|
+
|
|
2971
|
+
_proto.getVersion = function getVersion() {
|
|
2972
|
+
return "1.7.4";
|
|
2973
|
+
};
|
|
2974
|
+
|
|
2975
|
+
_proto.includeComponent = function includeComponent(e, t) {
|
|
2976
|
+
H(e, t);
|
|
2977
|
+
};
|
|
2978
|
+
|
|
2979
|
+
return ue;
|
|
2980
|
+
}();
|
|
2981
|
+
|
|
2982
|
+
var transformStyle = function transformStyle(style) {
|
|
2983
|
+
return Object.keys(style).reduce(function (result, prop) {
|
|
2984
|
+
if (typeof style[prop] === 'string') {
|
|
2985
|
+
result[prop] = style[prop];
|
|
2986
|
+
} else {
|
|
2987
|
+
result[prop] = style[prop] + "px";
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
return result;
|
|
2991
|
+
}, {});
|
|
2992
|
+
};
|
|
2993
|
+
var loadScript = function loadScript(src, nonce, dataset, forceReload) {
|
|
2994
|
+
return new Promise(function (resolve, reject) {
|
|
2995
|
+
var existingScript = Array.from(document.scripts).find(function (s) {
|
|
2996
|
+
return s.src === src;
|
|
2997
|
+
});
|
|
2998
|
+
|
|
2999
|
+
if (existingScript) {
|
|
3000
|
+
if (forceReload) {
|
|
3001
|
+
existingScript.remove();
|
|
3002
|
+
} else {
|
|
3003
|
+
resolve(existingScript);
|
|
3004
|
+
return;
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
var script = document.createElement('script');
|
|
3009
|
+
script.src = src;
|
|
3010
|
+
|
|
3011
|
+
script.onload = function () {
|
|
3012
|
+
return resolve(script);
|
|
3013
|
+
};
|
|
3014
|
+
|
|
3015
|
+
script.onerror = function (error) {
|
|
3016
|
+
return reject(error);
|
|
3017
|
+
};
|
|
3018
|
+
|
|
3019
|
+
if (nonce) {
|
|
3020
|
+
script.setAttribute('nonce', nonce);
|
|
3021
|
+
}
|
|
3022
|
+
|
|
3023
|
+
if (dataset) {
|
|
3024
|
+
Object.keys(dataset).forEach(function (key) {
|
|
3025
|
+
if (dataset[key]) {
|
|
3026
|
+
script.dataset[key] = dataset[key];
|
|
3027
|
+
}
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
document.head.appendChild(script);
|
|
3032
|
+
});
|
|
3033
|
+
};
|
|
3034
|
+
var stringify = function stringify(obj) {
|
|
3035
|
+
return Object.keys(obj).reduce(function (result, key) {
|
|
3036
|
+
if (obj[key] !== undefined) {
|
|
3037
|
+
result.push(key + "=" + obj[key]);
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
return result;
|
|
3041
|
+
}, []).join('&');
|
|
3042
|
+
};
|
|
3043
|
+
var fixLocalstorage = function fixLocalstorage() {
|
|
3044
|
+
var localStorage;
|
|
3045
|
+
|
|
3046
|
+
try {
|
|
3047
|
+
localStorage = window.localStorage;
|
|
3048
|
+
} catch (error) {
|
|
3049
|
+
var localStorageMock = function () {
|
|
3050
|
+
var store = new Map();
|
|
3051
|
+
return {
|
|
3052
|
+
getItem: function getItem(key) {
|
|
3053
|
+
return store.get(key);
|
|
3054
|
+
},
|
|
3055
|
+
setItem: function setItem(key, value) {
|
|
3056
|
+
store.set(key, value);
|
|
3057
|
+
},
|
|
3058
|
+
clear: function clear() {
|
|
3059
|
+
store = new Map();
|
|
3060
|
+
},
|
|
3061
|
+
removeItem: function removeItem(key) {
|
|
3062
|
+
store["delete"](key);
|
|
3063
|
+
}
|
|
3064
|
+
};
|
|
3065
|
+
}();
|
|
3066
|
+
|
|
3067
|
+
Object.defineProperty(window, 'localStorage', {
|
|
3068
|
+
value: localStorageMock
|
|
3069
|
+
});
|
|
3070
|
+
localStorage = localStorageMock;
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
return localStorage;
|
|
3074
|
+
};
|
|
3075
|
+
|
|
3076
|
+
var getLanguage = function getLanguage() {
|
|
3077
|
+
var lang;
|
|
3078
|
+
var localStorage = fixLocalstorage();
|
|
3079
|
+
|
|
3080
|
+
try {
|
|
3081
|
+
lang = localStorage.getItem('i18nextLng');
|
|
3082
|
+
} catch (error) {}
|
|
3083
|
+
|
|
3084
|
+
if (lang) {
|
|
3085
|
+
return lang.split('-')[0];
|
|
3086
|
+
}
|
|
3087
|
+
|
|
3088
|
+
return '';
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
var safe = function safe(fn) {
|
|
3092
|
+
try {
|
|
3093
|
+
var _fn;
|
|
3094
|
+
|
|
3095
|
+
return String((_fn = fn()) != null ? _fn : '');
|
|
3096
|
+
} catch (_unused) {
|
|
3097
|
+
return '';
|
|
3098
|
+
}
|
|
3099
|
+
};
|
|
3100
|
+
|
|
3101
|
+
var getClientEnv = function getClientEnv() {
|
|
3102
|
+
var env = [window.screen.colorDepth, window.screen.height, window.screen.width, new Date().getTimezoneOffset(), getLanguage(), safe(function () {
|
|
3103
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
3104
|
+
}), safe(function () {
|
|
3105
|
+
return window.devicePixelRatio;
|
|
3106
|
+
}), safe(function () {
|
|
3107
|
+
return navigator.hardwareConcurrency;
|
|
3108
|
+
}), safe(function () {
|
|
3109
|
+
return navigator.deviceMemory;
|
|
3110
|
+
}), safe(function () {
|
|
3111
|
+
return navigator.maxTouchPoints;
|
|
3112
|
+
}), safe(function () {
|
|
3113
|
+
return navigator.platform;
|
|
3114
|
+
}), safe(function () {
|
|
3115
|
+
var _navigator$languages;
|
|
3116
|
+
|
|
3117
|
+
return (_navigator$languages = navigator.languages) == null ? void 0 : _navigator$languages.join(',');
|
|
3118
|
+
})].join('|');
|
|
3119
|
+
return window.btoa(env);
|
|
3120
|
+
};
|
|
3121
|
+
var thumbmark = /*#__PURE__*/new ue({
|
|
3122
|
+
stabilize: []
|
|
3123
|
+
});
|
|
3124
|
+
var getClientFingerprint = /*#__PURE__*/function () {
|
|
3125
|
+
var _ref = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee() {
|
|
3126
|
+
var _result$thumbmark;
|
|
3127
|
+
|
|
3128
|
+
var _yield$withError, result;
|
|
3129
|
+
|
|
3130
|
+
return runtime_1.wrap(function _callee$(_context) {
|
|
3131
|
+
while (1) {
|
|
3132
|
+
switch (_context.prev = _context.next) {
|
|
3133
|
+
case 0:
|
|
3134
|
+
_context.next = 2;
|
|
3135
|
+
return withError(thumbmark.get());
|
|
3136
|
+
|
|
3137
|
+
case 2:
|
|
3138
|
+
_yield$withError = _context.sent;
|
|
3139
|
+
result = _yield$withError[1];
|
|
3140
|
+
return _context.abrupt("return", (_result$thumbmark = result == null ? void 0 : result.thumbmark) != null ? _result$thumbmark : '');
|
|
3141
|
+
|
|
3142
|
+
case 5:
|
|
3143
|
+
case "end":
|
|
3144
|
+
return _context.stop();
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
}, _callee);
|
|
3148
|
+
}));
|
|
3149
|
+
|
|
3150
|
+
return function getClientFingerprint() {
|
|
3151
|
+
return _ref.apply(this, arguments);
|
|
3152
|
+
};
|
|
3153
|
+
}();
|
|
3154
|
+
var withError = /*#__PURE__*/function () {
|
|
3155
|
+
var _ref2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee2(p) {
|
|
3156
|
+
return runtime_1.wrap(function _callee2$(_context2) {
|
|
3157
|
+
while (1) {
|
|
3158
|
+
switch (_context2.prev = _context2.next) {
|
|
3159
|
+
case 0:
|
|
3160
|
+
_context2.prev = 0;
|
|
3161
|
+
_context2.t0 = undefined;
|
|
3162
|
+
_context2.next = 4;
|
|
3163
|
+
return p;
|
|
3164
|
+
|
|
3165
|
+
case 4:
|
|
3166
|
+
_context2.t1 = _context2.sent;
|
|
3167
|
+
return _context2.abrupt("return", [_context2.t0, _context2.t1]);
|
|
3168
|
+
|
|
3169
|
+
case 8:
|
|
3170
|
+
_context2.prev = 8;
|
|
3171
|
+
_context2.t2 = _context2["catch"](0);
|
|
3172
|
+
return _context2.abrupt("return", [_context2.t2, undefined]);
|
|
3173
|
+
|
|
3174
|
+
case 11:
|
|
3175
|
+
case "end":
|
|
3176
|
+
return _context2.stop();
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
}, _callee2, null, [[0, 8]]);
|
|
3180
|
+
}));
|
|
3181
|
+
|
|
3182
|
+
return function withError(_x) {
|
|
3183
|
+
return _ref2.apply(this, arguments);
|
|
3184
|
+
};
|
|
3185
|
+
}();
|
|
3186
|
+
var isMethodSupported = function isMethodSupported(config, paymentMethod) {
|
|
3187
|
+
return config.paymentMethods && config.paymentMethods.includes(paymentMethod);
|
|
3188
|
+
};
|
|
3189
|
+
var validateComponentProps = function validateComponentProps(props) {
|
|
3190
|
+
if (props.paymentId) return;
|
|
3191
|
+
if (props.accountId && props.amount && props.currency) return;
|
|
3192
|
+
throw new Error('You need to provide paymentId or accountId amount and currency');
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3195
|
+
var _utils = {
|
|
3196
|
+
__proto__: null,
|
|
3197
|
+
transformStyle: transformStyle,
|
|
3198
|
+
loadScript: loadScript,
|
|
3199
|
+
stringify: stringify,
|
|
3200
|
+
fixLocalstorage: fixLocalstorage,
|
|
3201
|
+
getClientEnv: getClientEnv,
|
|
3202
|
+
getClientFingerprint: getClientFingerprint,
|
|
3203
|
+
withError: withError,
|
|
3204
|
+
isMethodSupported: isMethodSupported,
|
|
3205
|
+
validateComponentProps: validateComponentProps
|
|
3206
|
+
};
|
|
3207
|
+
|
|
3208
|
+
var stage = "prod" ;
|
|
1005
3209
|
var domain = "https://js.monei.com" ;
|
|
1006
3210
|
var version = "v2" ;
|
|
1007
3211
|
var globalConfig = {
|
|
@@ -1153,7 +3357,7 @@ var getPaymentMethods = /*#__PURE__*/function () {
|
|
|
1153
3357
|
case 10:
|
|
1154
3358
|
query = stringify(params);
|
|
1155
3359
|
|
|
1156
|
-
if (!pmCache
|
|
3360
|
+
if (!(query in pmCache)) {
|
|
1157
3361
|
_context2.next = 13;
|
|
1158
3362
|
break;
|
|
1159
3363
|
}
|
|
@@ -1219,15 +3423,26 @@ var createToken = /*#__PURE__*/function () {
|
|
|
1219
3423
|
throw new Error('You need to provide paymentId or accountId');
|
|
1220
3424
|
|
|
1221
3425
|
case 10:
|
|
1222
|
-
|
|
3426
|
+
_context3.t0 = request;
|
|
3427
|
+
_context3.t1 = getClientEnv();
|
|
3428
|
+
_context3.next = 14;
|
|
3429
|
+
return getClientFingerprint();
|
|
3430
|
+
|
|
3431
|
+
case 14:
|
|
3432
|
+
_context3.t2 = _context3.sent;
|
|
3433
|
+
_context3.t3 = {
|
|
3434
|
+
'X-Client-Env': _context3.t1,
|
|
3435
|
+
'X-Client-Fingerprint': _context3.t2
|
|
3436
|
+
};
|
|
3437
|
+
_context3.t4 = body;
|
|
3438
|
+
_context3.t5 = {
|
|
1223
3439
|
method: 'POST',
|
|
1224
|
-
headers:
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
}));
|
|
3440
|
+
headers: _context3.t3,
|
|
3441
|
+
body: _context3.t4
|
|
3442
|
+
};
|
|
3443
|
+
return _context3.abrupt("return", (0, _context3.t0)('/tokens', _context3.t5));
|
|
1229
3444
|
|
|
1230
|
-
case
|
|
3445
|
+
case 19:
|
|
1231
3446
|
case "end":
|
|
1232
3447
|
return _context3.stop();
|
|
1233
3448
|
}
|
|
@@ -1267,15 +3482,27 @@ var confirmPayment = /*#__PURE__*/function () {
|
|
|
1267
3482
|
switch (_context5.prev = _context5.next) {
|
|
1268
3483
|
case 0:
|
|
1269
3484
|
paymentId = _ref8.paymentId, body = /*#__PURE__*/_objectWithoutPropertiesLoose(_ref8, ["paymentId"]);
|
|
1270
|
-
|
|
3485
|
+
_context5.t0 = request;
|
|
3486
|
+
_context5.t1 = "/payments/" + paymentId + "/client-confirm";
|
|
3487
|
+
_context5.t2 = getClientEnv();
|
|
3488
|
+
_context5.next = 6;
|
|
3489
|
+
return getClientFingerprint();
|
|
3490
|
+
|
|
3491
|
+
case 6:
|
|
3492
|
+
_context5.t3 = _context5.sent;
|
|
3493
|
+
_context5.t4 = {
|
|
3494
|
+
'X-Client-Env': _context5.t2,
|
|
3495
|
+
'X-Client-Fingerprint': _context5.t3
|
|
3496
|
+
};
|
|
3497
|
+
_context5.t5 = body;
|
|
3498
|
+
_context5.t6 = {
|
|
1271
3499
|
method: 'POST',
|
|
1272
|
-
headers:
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
}));
|
|
3500
|
+
headers: _context5.t4,
|
|
3501
|
+
body: _context5.t5
|
|
3502
|
+
};
|
|
3503
|
+
return _context5.abrupt("return", (0, _context5.t0)(_context5.t1, _context5.t6));
|
|
1277
3504
|
|
|
1278
|
-
case
|
|
3505
|
+
case 11:
|
|
1279
3506
|
case "end":
|
|
1280
3507
|
return _context5.stop();
|
|
1281
3508
|
}
|
|
@@ -1295,16 +3522,28 @@ var createPayment = /*#__PURE__*/function () {
|
|
|
1295
3522
|
switch (_context6.prev = _context6.next) {
|
|
1296
3523
|
case 0:
|
|
1297
3524
|
signature = _ref10.signature, body = /*#__PURE__*/_objectWithoutPropertiesLoose(_ref10, ["signature"]);
|
|
1298
|
-
|
|
3525
|
+
_context6.t0 = request;
|
|
3526
|
+
_context6.t1 = getClientEnv();
|
|
3527
|
+
_context6.next = 5;
|
|
3528
|
+
return getClientFingerprint();
|
|
3529
|
+
|
|
3530
|
+
case 5:
|
|
3531
|
+
_context6.t2 = _context6.sent;
|
|
3532
|
+
_context6.t3 = signature;
|
|
3533
|
+
_context6.t4 = {
|
|
3534
|
+
'X-Client-Env': _context6.t1,
|
|
3535
|
+
'X-Client-Fingerprint': _context6.t2,
|
|
3536
|
+
'Client-Signature': _context6.t3
|
|
3537
|
+
};
|
|
3538
|
+
_context6.t5 = body;
|
|
3539
|
+
_context6.t6 = {
|
|
1299
3540
|
method: 'POST',
|
|
1300
|
-
headers:
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
body: body
|
|
1305
|
-
}));
|
|
3541
|
+
headers: _context6.t4,
|
|
3542
|
+
body: _context6.t5
|
|
3543
|
+
};
|
|
3544
|
+
return _context6.abrupt("return", (0, _context6.t0)('/client-payments', _context6.t6));
|
|
1306
3545
|
|
|
1307
|
-
case
|
|
3546
|
+
case 11:
|
|
1308
3547
|
case "end":
|
|
1309
3548
|
return _context6.stop();
|
|
1310
3549
|
}
|