react-error-boundary 1.2.4 → 1.2.5
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/commonjs/ErrorBoundary.js +116 -0
- package/dist/commonjs/ErrorBoundaryFallbackComponent.js +57 -0
- package/dist/commonjs/__tests__/ErrorBoundary.test.js +244 -0
- package/dist/commonjs/__tests__/ErrorBoundaryFallbackComponent.test.js +27 -0
- package/dist/commonjs/__tests__/__snapshots__/ErrorBoundaryFallbackComponent.test.js.snap +213 -0
- package/dist/commonjs/index.js +21 -0
- package/dist/commonjs/setupTests.js +13 -0
- package/dist/es/ErrorBoundary.js +101 -0
- package/dist/es/ErrorBoundaryFallbackComponent.js +47 -0
- package/dist/es/__tests__/ErrorBoundary.test.js +232 -0
- package/dist/es/__tests__/ErrorBoundaryFallbackComponent.test.js +18 -0
- package/dist/es/__tests__/__snapshots__/ErrorBoundaryFallbackComponent.test.js.snap +213 -0
- package/dist/es/index.js +6 -0
- package/dist/es/setupTests.js +4 -0
- package/dist/umd/react-error-boundary.js +1231 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1231 @@
|
|
|
1
|
+
!function(root, factory) {
|
|
2
|
+
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("React")) : "function" == typeof define && define.amd ? define([ "React" ], factory) : "object" == typeof exports ? exports.ReactErrorBoundary = factory(require("React")) : root.ReactErrorBoundary = factory(root.React);
|
|
3
|
+
}(this, function(__WEBPACK_EXTERNAL_MODULE_29__) {
|
|
4
|
+
/******/
|
|
5
|
+
return function(modules) {
|
|
6
|
+
/******/
|
|
7
|
+
/******/
|
|
8
|
+
// The require function
|
|
9
|
+
/******/
|
|
10
|
+
function __webpack_require__(moduleId) {
|
|
11
|
+
/******/
|
|
12
|
+
/******/
|
|
13
|
+
// Check if module is in cache
|
|
14
|
+
/******/
|
|
15
|
+
if (installedModules[moduleId]) /******/
|
|
16
|
+
return installedModules[moduleId].exports;
|
|
17
|
+
/******/
|
|
18
|
+
// Create a new module (and put it into the cache)
|
|
19
|
+
/******/
|
|
20
|
+
var module = installedModules[moduleId] = {
|
|
21
|
+
/******/
|
|
22
|
+
i: moduleId,
|
|
23
|
+
/******/
|
|
24
|
+
l: !1,
|
|
25
|
+
/******/
|
|
26
|
+
exports: {}
|
|
27
|
+
};
|
|
28
|
+
/******/
|
|
29
|
+
/******/
|
|
30
|
+
// Return the exports of the module
|
|
31
|
+
/******/
|
|
32
|
+
/******/
|
|
33
|
+
/******/
|
|
34
|
+
// Execute the module function
|
|
35
|
+
/******/
|
|
36
|
+
/******/
|
|
37
|
+
/******/
|
|
38
|
+
// Flag the module as loaded
|
|
39
|
+
/******/
|
|
40
|
+
return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__),
|
|
41
|
+
module.l = !0, module.exports;
|
|
42
|
+
}
|
|
43
|
+
// webpackBootstrap
|
|
44
|
+
/******/
|
|
45
|
+
// The module cache
|
|
46
|
+
/******/
|
|
47
|
+
var installedModules = {};
|
|
48
|
+
/******/
|
|
49
|
+
/******/
|
|
50
|
+
// Load entry module and return exports
|
|
51
|
+
/******/
|
|
52
|
+
/******/
|
|
53
|
+
/******/
|
|
54
|
+
/******/
|
|
55
|
+
// expose the modules object (__webpack_modules__)
|
|
56
|
+
/******/
|
|
57
|
+
/******/
|
|
58
|
+
/******/
|
|
59
|
+
// expose the module cache
|
|
60
|
+
/******/
|
|
61
|
+
/******/
|
|
62
|
+
/******/
|
|
63
|
+
// define getter function for harmony exports
|
|
64
|
+
/******/
|
|
65
|
+
/******/
|
|
66
|
+
/******/
|
|
67
|
+
// getDefaultExport function for compatibility with non-harmony modules
|
|
68
|
+
/******/
|
|
69
|
+
/******/
|
|
70
|
+
/******/
|
|
71
|
+
// Object.prototype.hasOwnProperty.call
|
|
72
|
+
/******/
|
|
73
|
+
/******/
|
|
74
|
+
/******/
|
|
75
|
+
// __webpack_public_path__
|
|
76
|
+
/******/
|
|
77
|
+
return __webpack_require__.m = modules, __webpack_require__.c = installedModules,
|
|
78
|
+
__webpack_require__.d = function(exports, name, getter) {
|
|
79
|
+
/******/
|
|
80
|
+
__webpack_require__.o(exports, name) || /******/
|
|
81
|
+
Object.defineProperty(exports, name, {
|
|
82
|
+
/******/
|
|
83
|
+
configurable: !1,
|
|
84
|
+
/******/
|
|
85
|
+
enumerable: !0,
|
|
86
|
+
/******/
|
|
87
|
+
get: getter
|
|
88
|
+
});
|
|
89
|
+
}, __webpack_require__.n = function(module) {
|
|
90
|
+
/******/
|
|
91
|
+
var getter = module && module.__esModule ? /******/
|
|
92
|
+
function() {
|
|
93
|
+
return module.default;
|
|
94
|
+
} : /******/
|
|
95
|
+
function() {
|
|
96
|
+
return module;
|
|
97
|
+
};
|
|
98
|
+
/******/
|
|
99
|
+
/******/
|
|
100
|
+
return __webpack_require__.d(getter, "a", getter), getter;
|
|
101
|
+
}, __webpack_require__.o = function(object, property) {
|
|
102
|
+
return Object.prototype.hasOwnProperty.call(object, property);
|
|
103
|
+
}, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 43);
|
|
104
|
+
}([ /* 0 */
|
|
105
|
+
/***/
|
|
106
|
+
function(module, exports) {
|
|
107
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
108
|
+
var global = module.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")();
|
|
109
|
+
"number" == typeof __g && (__g = global);
|
|
110
|
+
}, /* 1 */
|
|
111
|
+
/***/
|
|
112
|
+
function(module, exports) {
|
|
113
|
+
var core = module.exports = {
|
|
114
|
+
version: "2.5.1"
|
|
115
|
+
};
|
|
116
|
+
"number" == typeof __e && (__e = core);
|
|
117
|
+
}, /* 2 */
|
|
118
|
+
/***/
|
|
119
|
+
function(module, exports) {
|
|
120
|
+
var hasOwnProperty = {}.hasOwnProperty;
|
|
121
|
+
module.exports = function(it, key) {
|
|
122
|
+
return hasOwnProperty.call(it, key);
|
|
123
|
+
};
|
|
124
|
+
}, /* 3 */
|
|
125
|
+
/***/
|
|
126
|
+
function(module, exports, __webpack_require__) {
|
|
127
|
+
var anObject = __webpack_require__(9), IE8_DOM_DEFINE = __webpack_require__(33), toPrimitive = __webpack_require__(17), dP = Object.defineProperty;
|
|
128
|
+
exports.f = __webpack_require__(4) ? Object.defineProperty : function(O, P, Attributes) {
|
|
129
|
+
if (anObject(O), P = toPrimitive(P, !0), anObject(Attributes), IE8_DOM_DEFINE) try {
|
|
130
|
+
return dP(O, P, Attributes);
|
|
131
|
+
} catch (e) {}
|
|
132
|
+
if ("get" in Attributes || "set" in Attributes) throw TypeError("Accessors not supported!");
|
|
133
|
+
return "value" in Attributes && (O[P] = Attributes.value), O;
|
|
134
|
+
};
|
|
135
|
+
}, /* 4 */
|
|
136
|
+
/***/
|
|
137
|
+
function(module, exports, __webpack_require__) {
|
|
138
|
+
// Thank's IE8 for his funny defineProperty
|
|
139
|
+
module.exports = !__webpack_require__(11)(function() {
|
|
140
|
+
return 7 != Object.defineProperty({}, "a", {
|
|
141
|
+
get: function() {
|
|
142
|
+
return 7;
|
|
143
|
+
}
|
|
144
|
+
}).a;
|
|
145
|
+
});
|
|
146
|
+
}, /* 5 */
|
|
147
|
+
/***/
|
|
148
|
+
function(module, exports, __webpack_require__) {
|
|
149
|
+
var global = __webpack_require__(0), core = __webpack_require__(1), ctx = __webpack_require__(32), hide = __webpack_require__(6), $export = function(type, name, source) {
|
|
150
|
+
var key, own, out, IS_FORCED = type & $export.F, IS_GLOBAL = type & $export.G, IS_STATIC = type & $export.S, IS_PROTO = type & $export.P, IS_BIND = type & $export.B, IS_WRAP = type & $export.W, exports = IS_GLOBAL ? core : core[name] || (core[name] = {}), expProto = exports.prototype, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {}).prototype;
|
|
151
|
+
IS_GLOBAL && (source = name);
|
|
152
|
+
for (key in source) // contains in native
|
|
153
|
+
(own = !IS_FORCED && target && void 0 !== target[key]) && key in exports || (// export native or passed
|
|
154
|
+
out = own ? target[key] : source[key], // prevent global pollution for namespaces
|
|
155
|
+
exports[key] = IS_GLOBAL && "function" != typeof target[key] ? source[key] : IS_BIND && own ? ctx(out, global) : IS_WRAP && target[key] == out ? function(C) {
|
|
156
|
+
var F = function(a, b, c) {
|
|
157
|
+
if (this instanceof C) {
|
|
158
|
+
switch (arguments.length) {
|
|
159
|
+
case 0:
|
|
160
|
+
return new C();
|
|
161
|
+
|
|
162
|
+
case 1:
|
|
163
|
+
return new C(a);
|
|
164
|
+
|
|
165
|
+
case 2:
|
|
166
|
+
return new C(a, b);
|
|
167
|
+
}
|
|
168
|
+
return new C(a, b, c);
|
|
169
|
+
}
|
|
170
|
+
return C.apply(this, arguments);
|
|
171
|
+
};
|
|
172
|
+
return F.prototype = C.prototype, F;
|
|
173
|
+
}(out) : IS_PROTO && "function" == typeof out ? ctx(Function.call, out) : out, // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
|
|
174
|
+
IS_PROTO && ((exports.virtual || (exports.virtual = {}))[key] = out, // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
|
|
175
|
+
type & $export.R && expProto && !expProto[key] && hide(expProto, key, out)));
|
|
176
|
+
};
|
|
177
|
+
// type bitmap
|
|
178
|
+
$export.F = 1, // forced
|
|
179
|
+
$export.G = 2, // global
|
|
180
|
+
$export.S = 4, // static
|
|
181
|
+
$export.P = 8, // proto
|
|
182
|
+
$export.B = 16, // bind
|
|
183
|
+
$export.W = 32, // wrap
|
|
184
|
+
$export.U = 64, // safe
|
|
185
|
+
$export.R = 128, // real proto method for `library`
|
|
186
|
+
module.exports = $export;
|
|
187
|
+
}, /* 6 */
|
|
188
|
+
/***/
|
|
189
|
+
function(module, exports, __webpack_require__) {
|
|
190
|
+
var dP = __webpack_require__(3), createDesc = __webpack_require__(13);
|
|
191
|
+
module.exports = __webpack_require__(4) ? function(object, key, value) {
|
|
192
|
+
return dP.f(object, key, createDesc(1, value));
|
|
193
|
+
} : function(object, key, value) {
|
|
194
|
+
return object[key] = value, object;
|
|
195
|
+
};
|
|
196
|
+
}, /* 7 */
|
|
197
|
+
/***/
|
|
198
|
+
function(module, exports, __webpack_require__) {
|
|
199
|
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
200
|
+
var IObject = __webpack_require__(62), defined = __webpack_require__(14);
|
|
201
|
+
module.exports = function(it) {
|
|
202
|
+
return IObject(defined(it));
|
|
203
|
+
};
|
|
204
|
+
}, /* 8 */
|
|
205
|
+
/***/
|
|
206
|
+
function(module, exports, __webpack_require__) {
|
|
207
|
+
var store = __webpack_require__(16)("wks"), uid = __webpack_require__(12), Symbol = __webpack_require__(0).Symbol, USE_SYMBOL = "function" == typeof Symbol;
|
|
208
|
+
(module.exports = function(name) {
|
|
209
|
+
return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)("Symbol." + name));
|
|
210
|
+
}).store = store;
|
|
211
|
+
}, /* 9 */
|
|
212
|
+
/***/
|
|
213
|
+
function(module, exports, __webpack_require__) {
|
|
214
|
+
var isObject = __webpack_require__(10);
|
|
215
|
+
module.exports = function(it) {
|
|
216
|
+
if (!isObject(it)) throw TypeError(it + " is not an object!");
|
|
217
|
+
return it;
|
|
218
|
+
};
|
|
219
|
+
}, /* 10 */
|
|
220
|
+
/***/
|
|
221
|
+
function(module, exports) {
|
|
222
|
+
module.exports = function(it) {
|
|
223
|
+
return "object" == typeof it ? null !== it : "function" == typeof it;
|
|
224
|
+
};
|
|
225
|
+
}, /* 11 */
|
|
226
|
+
/***/
|
|
227
|
+
function(module, exports) {
|
|
228
|
+
module.exports = function(exec) {
|
|
229
|
+
try {
|
|
230
|
+
return !!exec();
|
|
231
|
+
} catch (e) {
|
|
232
|
+
return !0;
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
}, /* 12 */
|
|
236
|
+
/***/
|
|
237
|
+
function(module, exports) {
|
|
238
|
+
var id = 0, px = Math.random();
|
|
239
|
+
module.exports = function(key) {
|
|
240
|
+
return "Symbol(".concat(void 0 === key ? "" : key, ")_", (++id + px).toString(36));
|
|
241
|
+
};
|
|
242
|
+
}, /* 13 */
|
|
243
|
+
/***/
|
|
244
|
+
function(module, exports) {
|
|
245
|
+
module.exports = function(bitmap, value) {
|
|
246
|
+
return {
|
|
247
|
+
enumerable: !(1 & bitmap),
|
|
248
|
+
configurable: !(2 & bitmap),
|
|
249
|
+
writable: !(4 & bitmap),
|
|
250
|
+
value: value
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
}, /* 14 */
|
|
254
|
+
/***/
|
|
255
|
+
function(module, exports) {
|
|
256
|
+
// 7.2.1 RequireObjectCoercible(argument)
|
|
257
|
+
module.exports = function(it) {
|
|
258
|
+
if (void 0 == it) throw TypeError("Can't call method on " + it);
|
|
259
|
+
return it;
|
|
260
|
+
};
|
|
261
|
+
}, /* 15 */
|
|
262
|
+
/***/
|
|
263
|
+
function(module, exports, __webpack_require__) {
|
|
264
|
+
var shared = __webpack_require__(16)("keys"), uid = __webpack_require__(12);
|
|
265
|
+
module.exports = function(key) {
|
|
266
|
+
return shared[key] || (shared[key] = uid(key));
|
|
267
|
+
};
|
|
268
|
+
}, /* 16 */
|
|
269
|
+
/***/
|
|
270
|
+
function(module, exports, __webpack_require__) {
|
|
271
|
+
var global = __webpack_require__(0), store = global["__core-js_shared__"] || (global["__core-js_shared__"] = {});
|
|
272
|
+
module.exports = function(key) {
|
|
273
|
+
return store[key] || (store[key] = {});
|
|
274
|
+
};
|
|
275
|
+
}, /* 17 */
|
|
276
|
+
/***/
|
|
277
|
+
function(module, exports, __webpack_require__) {
|
|
278
|
+
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
279
|
+
var isObject = __webpack_require__(10);
|
|
280
|
+
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
281
|
+
// and the second argument - flag - preferred type is a string
|
|
282
|
+
module.exports = function(it, S) {
|
|
283
|
+
if (!isObject(it)) return it;
|
|
284
|
+
var fn, val;
|
|
285
|
+
if (S && "function" == typeof (fn = it.toString) && !isObject(val = fn.call(it))) return val;
|
|
286
|
+
if ("function" == typeof (fn = it.valueOf) && !isObject(val = fn.call(it))) return val;
|
|
287
|
+
if (!S && "function" == typeof (fn = it.toString) && !isObject(val = fn.call(it))) return val;
|
|
288
|
+
throw TypeError("Can't convert object to primitive value");
|
|
289
|
+
};
|
|
290
|
+
}, /* 18 */
|
|
291
|
+
/***/
|
|
292
|
+
function(module, exports) {
|
|
293
|
+
// 7.1.4 ToInteger
|
|
294
|
+
var ceil = Math.ceil, floor = Math.floor;
|
|
295
|
+
module.exports = function(it) {
|
|
296
|
+
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
|
297
|
+
};
|
|
298
|
+
}, /* 19 */
|
|
299
|
+
/***/
|
|
300
|
+
function(module, exports) {
|
|
301
|
+
module.exports = !0;
|
|
302
|
+
}, /* 20 */
|
|
303
|
+
/***/
|
|
304
|
+
function(module, exports) {
|
|
305
|
+
module.exports = {};
|
|
306
|
+
}, /* 21 */
|
|
307
|
+
/***/
|
|
308
|
+
function(module, exports, __webpack_require__) {
|
|
309
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
310
|
+
var anObject = __webpack_require__(9), dPs = __webpack_require__(61), enumBugKeys = __webpack_require__(23), IE_PROTO = __webpack_require__(15)("IE_PROTO"), Empty = function() {}, createDict = function() {
|
|
311
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
312
|
+
var iframeDocument, iframe = __webpack_require__(34)("iframe"), i = enumBugKeys.length;
|
|
313
|
+
for (iframe.style.display = "none", __webpack_require__(66).appendChild(iframe),
|
|
314
|
+
iframe.src = "javascript:", // eslint-disable-line no-script-url
|
|
315
|
+
// createDict = iframe.contentWindow.Object;
|
|
316
|
+
// html.removeChild(iframe);
|
|
317
|
+
iframeDocument = iframe.contentWindow.document, iframeDocument.open(), iframeDocument.write("<script>document.F=Object<\/script>"),
|
|
318
|
+
iframeDocument.close(), createDict = iframeDocument.F; i--; ) delete createDict.prototype[enumBugKeys[i]];
|
|
319
|
+
return createDict();
|
|
320
|
+
};
|
|
321
|
+
module.exports = Object.create || function(O, Properties) {
|
|
322
|
+
var result;
|
|
323
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
324
|
+
return null !== O ? (Empty.prototype = anObject(O), result = new Empty(), Empty.prototype = null,
|
|
325
|
+
result[IE_PROTO] = O) : result = createDict(), void 0 === Properties ? result : dPs(result, Properties);
|
|
326
|
+
};
|
|
327
|
+
}, /* 22 */
|
|
328
|
+
/***/
|
|
329
|
+
function(module, exports, __webpack_require__) {
|
|
330
|
+
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
331
|
+
var $keys = __webpack_require__(38), enumBugKeys = __webpack_require__(23);
|
|
332
|
+
module.exports = Object.keys || function(O) {
|
|
333
|
+
return $keys(O, enumBugKeys);
|
|
334
|
+
};
|
|
335
|
+
}, /* 23 */
|
|
336
|
+
/***/
|
|
337
|
+
function(module, exports) {
|
|
338
|
+
// IE 8- don't enum bug keys
|
|
339
|
+
module.exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
|
340
|
+
}, /* 24 */
|
|
341
|
+
/***/
|
|
342
|
+
function(module, exports, __webpack_require__) {
|
|
343
|
+
var def = __webpack_require__(3).f, has = __webpack_require__(2), TAG = __webpack_require__(8)("toStringTag");
|
|
344
|
+
module.exports = function(it, tag, stat) {
|
|
345
|
+
it && !has(it = stat ? it : it.prototype, TAG) && def(it, TAG, {
|
|
346
|
+
configurable: !0,
|
|
347
|
+
value: tag
|
|
348
|
+
});
|
|
349
|
+
};
|
|
350
|
+
}, /* 25 */
|
|
351
|
+
/***/
|
|
352
|
+
function(module, exports, __webpack_require__) {
|
|
353
|
+
exports.f = __webpack_require__(8);
|
|
354
|
+
}, /* 26 */
|
|
355
|
+
/***/
|
|
356
|
+
function(module, exports, __webpack_require__) {
|
|
357
|
+
var global = __webpack_require__(0), core = __webpack_require__(1), LIBRARY = __webpack_require__(19), wksExt = __webpack_require__(25), defineProperty = __webpack_require__(3).f;
|
|
358
|
+
module.exports = function(name) {
|
|
359
|
+
var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
|
|
360
|
+
"_" == name.charAt(0) || name in $Symbol || defineProperty($Symbol, name, {
|
|
361
|
+
value: wksExt.f(name)
|
|
362
|
+
});
|
|
363
|
+
};
|
|
364
|
+
}, /* 27 */
|
|
365
|
+
/***/
|
|
366
|
+
function(module, exports) {
|
|
367
|
+
exports.f = {}.propertyIsEnumerable;
|
|
368
|
+
}, /* 28 */
|
|
369
|
+
/***/
|
|
370
|
+
function(module, exports, __webpack_require__) {
|
|
371
|
+
"use strict";
|
|
372
|
+
Object.defineProperty(exports, "__esModule", {
|
|
373
|
+
value: !0
|
|
374
|
+
});
|
|
375
|
+
var _react = __webpack_require__(29), _react2 = function(obj) {
|
|
376
|
+
return obj && obj.__esModule ? obj : {
|
|
377
|
+
default: obj
|
|
378
|
+
};
|
|
379
|
+
}(_react), toTitle = function(error, componentStack) {
|
|
380
|
+
return error.toString() + "\n\nThis is located at:" + componentStack;
|
|
381
|
+
}, ErrorBoundaryFallbackComponent = function(_ref) {
|
|
382
|
+
var componentStack = _ref.componentStack, error = _ref.error;
|
|
383
|
+
return _react2.default.createElement("div", {
|
|
384
|
+
style: style,
|
|
385
|
+
title: toTitle(error, componentStack)
|
|
386
|
+
}, _react2.default.createElement("svg", {
|
|
387
|
+
style: svgStyle,
|
|
388
|
+
viewBox: "0 0 24 24",
|
|
389
|
+
preserveAspectRatio: "xMidYMid"
|
|
390
|
+
}, _react2.default.createElement("path", {
|
|
391
|
+
d: "M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,\n 12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,\n 12M15.5,8C16.3,8 17,8.7 17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,\n 9.5C14,8.7 14.7,8 15.5,8M10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,\n 8.7 7.7,8 8.5,8C9.3,8 10,8.7 10,9.5M12,14C13.75,14 15.29,14.72 16.19,\n 15.81L14.77,17.23C14.32,16.5 13.25,16 12,16C10.75,16 9.68,16.5 9.23,\n 17.23L7.81,15.81C8.71,14.72 10.25,14 12,14Z"
|
|
392
|
+
})));
|
|
393
|
+
}, style = {
|
|
394
|
+
height: "100%",
|
|
395
|
+
maxHeight: "100vh",
|
|
396
|
+
width: "100%",
|
|
397
|
+
maxWidth: "100vw",
|
|
398
|
+
display: "flex",
|
|
399
|
+
flexDirection: "column",
|
|
400
|
+
alignItems: "center",
|
|
401
|
+
textAlign: "center",
|
|
402
|
+
backgroundColor: "#C00",
|
|
403
|
+
color: "#FFF",
|
|
404
|
+
boxSizing: "border-box",
|
|
405
|
+
cursor: "help"
|
|
406
|
+
}, svgStyle = {
|
|
407
|
+
fill: "currentColor",
|
|
408
|
+
flex: "1 1 auto"
|
|
409
|
+
};
|
|
410
|
+
exports.default = ErrorBoundaryFallbackComponent;
|
|
411
|
+
}, /* 29 */
|
|
412
|
+
/***/
|
|
413
|
+
function(module, exports) {
|
|
414
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE_29__;
|
|
415
|
+
}, /* 30 */
|
|
416
|
+
/***/
|
|
417
|
+
function(module, exports, __webpack_require__) {
|
|
418
|
+
// 7.1.13 ToObject(argument)
|
|
419
|
+
var defined = __webpack_require__(14);
|
|
420
|
+
module.exports = function(it) {
|
|
421
|
+
return Object(defined(it));
|
|
422
|
+
};
|
|
423
|
+
}, /* 31 */
|
|
424
|
+
/***/
|
|
425
|
+
function(module, exports, __webpack_require__) {
|
|
426
|
+
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
427
|
+
var has = __webpack_require__(2), toObject = __webpack_require__(30), IE_PROTO = __webpack_require__(15)("IE_PROTO"), ObjectProto = Object.prototype;
|
|
428
|
+
module.exports = Object.getPrototypeOf || function(O) {
|
|
429
|
+
return O = toObject(O), has(O, IE_PROTO) ? O[IE_PROTO] : "function" == typeof O.constructor && O instanceof O.constructor ? O.constructor.prototype : O instanceof Object ? ObjectProto : null;
|
|
430
|
+
};
|
|
431
|
+
}, /* 32 */
|
|
432
|
+
/***/
|
|
433
|
+
function(module, exports, __webpack_require__) {
|
|
434
|
+
// optional / simple context binding
|
|
435
|
+
var aFunction = __webpack_require__(49);
|
|
436
|
+
module.exports = function(fn, that, length) {
|
|
437
|
+
if (aFunction(fn), void 0 === that) return fn;
|
|
438
|
+
switch (length) {
|
|
439
|
+
case 1:
|
|
440
|
+
return function(a) {
|
|
441
|
+
return fn.call(that, a);
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
case 2:
|
|
445
|
+
return function(a, b) {
|
|
446
|
+
return fn.call(that, a, b);
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
case 3:
|
|
450
|
+
return function(a, b, c) {
|
|
451
|
+
return fn.call(that, a, b, c);
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
return function() {
|
|
455
|
+
return fn.apply(that, arguments);
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
}, /* 33 */
|
|
459
|
+
/***/
|
|
460
|
+
function(module, exports, __webpack_require__) {
|
|
461
|
+
module.exports = !__webpack_require__(4) && !__webpack_require__(11)(function() {
|
|
462
|
+
return 7 != Object.defineProperty(__webpack_require__(34)("div"), "a", {
|
|
463
|
+
get: function() {
|
|
464
|
+
return 7;
|
|
465
|
+
}
|
|
466
|
+
}).a;
|
|
467
|
+
});
|
|
468
|
+
}, /* 34 */
|
|
469
|
+
/***/
|
|
470
|
+
function(module, exports, __webpack_require__) {
|
|
471
|
+
var isObject = __webpack_require__(10), document = __webpack_require__(0).document, is = isObject(document) && isObject(document.createElement);
|
|
472
|
+
module.exports = function(it) {
|
|
473
|
+
return is ? document.createElement(it) : {};
|
|
474
|
+
};
|
|
475
|
+
}, /* 35 */
|
|
476
|
+
/***/
|
|
477
|
+
function(module, exports, __webpack_require__) {
|
|
478
|
+
"use strict";
|
|
479
|
+
function _interopRequireDefault(obj) {
|
|
480
|
+
return obj && obj.__esModule ? obj : {
|
|
481
|
+
default: obj
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
exports.__esModule = !0;
|
|
485
|
+
var _iterator = __webpack_require__(56), _iterator2 = _interopRequireDefault(_iterator), _symbol = __webpack_require__(71), _symbol2 = _interopRequireDefault(_symbol), _typeof = "function" == typeof _symbol2.default && "symbol" == typeof _iterator2.default ? function(obj) {
|
|
486
|
+
return typeof obj;
|
|
487
|
+
} : function(obj) {
|
|
488
|
+
return obj && "function" == typeof _symbol2.default && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : typeof obj;
|
|
489
|
+
};
|
|
490
|
+
exports.default = "function" == typeof _symbol2.default && "symbol" === _typeof(_iterator2.default) ? function(obj) {
|
|
491
|
+
return void 0 === obj ? "undefined" : _typeof(obj);
|
|
492
|
+
} : function(obj) {
|
|
493
|
+
return obj && "function" == typeof _symbol2.default && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? "symbol" : void 0 === obj ? "undefined" : _typeof(obj);
|
|
494
|
+
};
|
|
495
|
+
}, /* 36 */
|
|
496
|
+
/***/
|
|
497
|
+
function(module, exports, __webpack_require__) {
|
|
498
|
+
"use strict";
|
|
499
|
+
var LIBRARY = __webpack_require__(19), $export = __webpack_require__(5), redefine = __webpack_require__(37), hide = __webpack_require__(6), has = __webpack_require__(2), Iterators = __webpack_require__(20), $iterCreate = __webpack_require__(60), setToStringTag = __webpack_require__(24), getPrototypeOf = __webpack_require__(31), ITERATOR = __webpack_require__(8)("iterator"), BUGGY = !([].keys && "next" in [].keys()), returnThis = function() {
|
|
500
|
+
return this;
|
|
501
|
+
};
|
|
502
|
+
module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
|
|
503
|
+
$iterCreate(Constructor, NAME, next);
|
|
504
|
+
var methods, key, IteratorPrototype, getMethod = function(kind) {
|
|
505
|
+
if (!BUGGY && kind in proto) return proto[kind];
|
|
506
|
+
switch (kind) {
|
|
507
|
+
case "keys":
|
|
508
|
+
case "values":
|
|
509
|
+
return function() {
|
|
510
|
+
return new Constructor(this, kind);
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
return function() {
|
|
514
|
+
return new Constructor(this, kind);
|
|
515
|
+
};
|
|
516
|
+
}, TAG = NAME + " Iterator", DEF_VALUES = "values" == DEFAULT, VALUES_BUG = !1, proto = Base.prototype, $native = proto[ITERATOR] || proto["@@iterator"] || DEFAULT && proto[DEFAULT], $default = $native || getMethod(DEFAULT), $entries = DEFAULT ? DEF_VALUES ? getMethod("entries") : $default : void 0, $anyNative = "Array" == NAME ? proto.entries || $native : $native;
|
|
517
|
+
if (// Fix native
|
|
518
|
+
$anyNative && (IteratorPrototype = getPrototypeOf($anyNative.call(new Base()))) !== Object.prototype && IteratorPrototype.next && (// Set @@toStringTag to native iterators
|
|
519
|
+
setToStringTag(IteratorPrototype, TAG, !0), // fix for some old engines
|
|
520
|
+
LIBRARY || has(IteratorPrototype, ITERATOR) || hide(IteratorPrototype, ITERATOR, returnThis)),
|
|
521
|
+
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
522
|
+
DEF_VALUES && $native && "values" !== $native.name && (VALUES_BUG = !0, $default = function() {
|
|
523
|
+
return $native.call(this);
|
|
524
|
+
}), // Define iterator
|
|
525
|
+
LIBRARY && !FORCED || !BUGGY && !VALUES_BUG && proto[ITERATOR] || hide(proto, ITERATOR, $default),
|
|
526
|
+
// Plug for library
|
|
527
|
+
Iterators[NAME] = $default, Iterators[TAG] = returnThis, DEFAULT) if (methods = {
|
|
528
|
+
values: DEF_VALUES ? $default : getMethod("values"),
|
|
529
|
+
keys: IS_SET ? $default : getMethod("keys"),
|
|
530
|
+
entries: $entries
|
|
531
|
+
}, FORCED) for (key in methods) key in proto || redefine(proto, key, methods[key]); else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
532
|
+
return methods;
|
|
533
|
+
};
|
|
534
|
+
}, /* 37 */
|
|
535
|
+
/***/
|
|
536
|
+
function(module, exports, __webpack_require__) {
|
|
537
|
+
module.exports = __webpack_require__(6);
|
|
538
|
+
}, /* 38 */
|
|
539
|
+
/***/
|
|
540
|
+
function(module, exports, __webpack_require__) {
|
|
541
|
+
var has = __webpack_require__(2), toIObject = __webpack_require__(7), arrayIndexOf = __webpack_require__(63)(!1), IE_PROTO = __webpack_require__(15)("IE_PROTO");
|
|
542
|
+
module.exports = function(object, names) {
|
|
543
|
+
var key, O = toIObject(object), i = 0, result = [];
|
|
544
|
+
for (key in O) key != IE_PROTO && has(O, key) && result.push(key);
|
|
545
|
+
// Don't enum bug & hidden keys
|
|
546
|
+
for (;names.length > i; ) has(O, key = names[i++]) && (~arrayIndexOf(result, key) || result.push(key));
|
|
547
|
+
return result;
|
|
548
|
+
};
|
|
549
|
+
}, /* 39 */
|
|
550
|
+
/***/
|
|
551
|
+
function(module, exports) {
|
|
552
|
+
var toString = {}.toString;
|
|
553
|
+
module.exports = function(it) {
|
|
554
|
+
return toString.call(it).slice(8, -1);
|
|
555
|
+
};
|
|
556
|
+
}, /* 40 */
|
|
557
|
+
/***/
|
|
558
|
+
function(module, exports) {
|
|
559
|
+
exports.f = Object.getOwnPropertySymbols;
|
|
560
|
+
}, /* 41 */
|
|
561
|
+
/***/
|
|
562
|
+
function(module, exports, __webpack_require__) {
|
|
563
|
+
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
|
564
|
+
var $keys = __webpack_require__(38), hiddenKeys = __webpack_require__(23).concat("length", "prototype");
|
|
565
|
+
exports.f = Object.getOwnPropertyNames || function(O) {
|
|
566
|
+
return $keys(O, hiddenKeys);
|
|
567
|
+
};
|
|
568
|
+
}, /* 42 */
|
|
569
|
+
/***/
|
|
570
|
+
function(module, exports, __webpack_require__) {
|
|
571
|
+
var pIE = __webpack_require__(27), createDesc = __webpack_require__(13), toIObject = __webpack_require__(7), toPrimitive = __webpack_require__(17), has = __webpack_require__(2), IE8_DOM_DEFINE = __webpack_require__(33), gOPD = Object.getOwnPropertyDescriptor;
|
|
572
|
+
exports.f = __webpack_require__(4) ? gOPD : function(O, P) {
|
|
573
|
+
if (O = toIObject(O), P = toPrimitive(P, !0), IE8_DOM_DEFINE) try {
|
|
574
|
+
return gOPD(O, P);
|
|
575
|
+
} catch (e) {}
|
|
576
|
+
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
|
|
577
|
+
};
|
|
578
|
+
}, /* 43 */
|
|
579
|
+
/***/
|
|
580
|
+
function(module, exports, __webpack_require__) {
|
|
581
|
+
"use strict";
|
|
582
|
+
function _interopRequireDefault(obj) {
|
|
583
|
+
return obj && obj.__esModule ? obj : {
|
|
584
|
+
default: obj
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
Object.defineProperty(exports, "__esModule", {
|
|
588
|
+
value: !0
|
|
589
|
+
}), exports.ErrorBoundaryFallbackComponent = exports.withErrorBoundary = exports.ErrorBoundary = void 0;
|
|
590
|
+
var _ErrorBoundaryFallbackComponent = __webpack_require__(28), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), _ErrorBoundary = __webpack_require__(44), _ErrorBoundary2 = _interopRequireDefault(_ErrorBoundary);
|
|
591
|
+
exports.default = _ErrorBoundary2.default, exports.ErrorBoundary = _ErrorBoundary2.default,
|
|
592
|
+
exports.withErrorBoundary = _ErrorBoundary.withErrorBoundary, exports.ErrorBoundaryFallbackComponent = _ErrorBoundaryFallbackComponent2.default;
|
|
593
|
+
}, /* 44 */
|
|
594
|
+
/***/
|
|
595
|
+
function(module, exports, __webpack_require__) {
|
|
596
|
+
"use strict";
|
|
597
|
+
function _interopRequireDefault(obj) {
|
|
598
|
+
return obj && obj.__esModule ? obj : {
|
|
599
|
+
default: obj
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
Object.defineProperty(exports, "__esModule", {
|
|
603
|
+
value: !0
|
|
604
|
+
}), exports.withErrorBoundary = void 0;
|
|
605
|
+
var _getPrototypeOf = __webpack_require__(45), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(50), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(51), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(55), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(81), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(29), _react2 = _interopRequireDefault(_react), _ErrorBoundaryFallbackComponent = __webpack_require__(28), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), ErrorBoundary = function(_Component) {
|
|
606
|
+
function ErrorBoundary() {
|
|
607
|
+
var _ref, _temp, _this, _ret;
|
|
608
|
+
(0, _classCallCheck3.default)(this, ErrorBoundary);
|
|
609
|
+
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
|
|
610
|
+
return _temp = _this = (0, _possibleConstructorReturn3.default)(this, (_ref = ErrorBoundary.__proto__ || (0,
|
|
611
|
+
_getPrototypeOf2.default)(ErrorBoundary)).call.apply(_ref, [ this ].concat(args))),
|
|
612
|
+
_this.state = {
|
|
613
|
+
error: null,
|
|
614
|
+
info: null
|
|
615
|
+
}, _ret = _temp, (0, _possibleConstructorReturn3.default)(_this, _ret);
|
|
616
|
+
}
|
|
617
|
+
return (0, _inherits3.default)(ErrorBoundary, _Component), (0, _createClass3.default)(ErrorBoundary, [ {
|
|
618
|
+
key: "componentDidCatch",
|
|
619
|
+
value: function(error, info) {
|
|
620
|
+
var onError = this.props.onError;
|
|
621
|
+
if ("function" == typeof onError) try {
|
|
622
|
+
onError.call(this, error, info ? info.componentStack : "");
|
|
623
|
+
} catch (ignoredError) {}
|
|
624
|
+
this.setState({
|
|
625
|
+
error: error,
|
|
626
|
+
info: info
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
}, {
|
|
630
|
+
key: "render",
|
|
631
|
+
value: function() {
|
|
632
|
+
var _props = this.props, children = _props.children, FallbackComponent = _props.FallbackComponent, _state = this.state, error = _state.error, info = _state.info;
|
|
633
|
+
return null !== error ? _react2.default.createElement(FallbackComponent, {
|
|
634
|
+
componentStack: info ? info.componentStack : "",
|
|
635
|
+
error: error
|
|
636
|
+
}) : children || null;
|
|
637
|
+
}
|
|
638
|
+
} ]), ErrorBoundary;
|
|
639
|
+
}(_react.Component);
|
|
640
|
+
ErrorBoundary.defaultProps = {
|
|
641
|
+
FallbackComponent: _ErrorBoundaryFallbackComponent2.default
|
|
642
|
+
};
|
|
643
|
+
exports.withErrorBoundary = function(Component, FallbackComponent, onError) {
|
|
644
|
+
var Wrapped = function(props) {
|
|
645
|
+
return _react2.default.createElement(ErrorBoundary, {
|
|
646
|
+
FallbackComponent: FallbackComponent,
|
|
647
|
+
onError: onError
|
|
648
|
+
}, _react2.default.createElement(Component, props));
|
|
649
|
+
}, name = Component.displayName || Component.name;
|
|
650
|
+
return Wrapped.displayName = name ? "WithErrorBoundary(" + name + ")" : "WithErrorBoundary",
|
|
651
|
+
Wrapped;
|
|
652
|
+
};
|
|
653
|
+
exports.default = ErrorBoundary;
|
|
654
|
+
}, /* 45 */
|
|
655
|
+
/***/
|
|
656
|
+
function(module, exports, __webpack_require__) {
|
|
657
|
+
module.exports = {
|
|
658
|
+
default: __webpack_require__(46),
|
|
659
|
+
__esModule: !0
|
|
660
|
+
};
|
|
661
|
+
}, /* 46 */
|
|
662
|
+
/***/
|
|
663
|
+
function(module, exports, __webpack_require__) {
|
|
664
|
+
__webpack_require__(47), module.exports = __webpack_require__(1).Object.getPrototypeOf;
|
|
665
|
+
}, /* 47 */
|
|
666
|
+
/***/
|
|
667
|
+
function(module, exports, __webpack_require__) {
|
|
668
|
+
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
669
|
+
var toObject = __webpack_require__(30), $getPrototypeOf = __webpack_require__(31);
|
|
670
|
+
__webpack_require__(48)("getPrototypeOf", function() {
|
|
671
|
+
return function(it) {
|
|
672
|
+
return $getPrototypeOf(toObject(it));
|
|
673
|
+
};
|
|
674
|
+
});
|
|
675
|
+
}, /* 48 */
|
|
676
|
+
/***/
|
|
677
|
+
function(module, exports, __webpack_require__) {
|
|
678
|
+
// most Object methods by ES6 should accept primitives
|
|
679
|
+
var $export = __webpack_require__(5), core = __webpack_require__(1), fails = __webpack_require__(11);
|
|
680
|
+
module.exports = function(KEY, exec) {
|
|
681
|
+
var fn = (core.Object || {})[KEY] || Object[KEY], exp = {};
|
|
682
|
+
exp[KEY] = exec(fn), $export($export.S + $export.F * fails(function() {
|
|
683
|
+
fn(1);
|
|
684
|
+
}), "Object", exp);
|
|
685
|
+
};
|
|
686
|
+
}, /* 49 */
|
|
687
|
+
/***/
|
|
688
|
+
function(module, exports) {
|
|
689
|
+
module.exports = function(it) {
|
|
690
|
+
if ("function" != typeof it) throw TypeError(it + " is not a function!");
|
|
691
|
+
return it;
|
|
692
|
+
};
|
|
693
|
+
}, /* 50 */
|
|
694
|
+
/***/
|
|
695
|
+
function(module, exports, __webpack_require__) {
|
|
696
|
+
"use strict";
|
|
697
|
+
exports.__esModule = !0, exports.default = function(instance, Constructor) {
|
|
698
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
699
|
+
};
|
|
700
|
+
}, /* 51 */
|
|
701
|
+
/***/
|
|
702
|
+
function(module, exports, __webpack_require__) {
|
|
703
|
+
"use strict";
|
|
704
|
+
exports.__esModule = !0;
|
|
705
|
+
var _defineProperty = __webpack_require__(52), _defineProperty2 = function(obj) {
|
|
706
|
+
return obj && obj.__esModule ? obj : {
|
|
707
|
+
default: obj
|
|
708
|
+
};
|
|
709
|
+
}(_defineProperty);
|
|
710
|
+
exports.default = function() {
|
|
711
|
+
function defineProperties(target, props) {
|
|
712
|
+
for (var i = 0; i < props.length; i++) {
|
|
713
|
+
var descriptor = props[i];
|
|
714
|
+
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0,
|
|
715
|
+
"value" in descriptor && (descriptor.writable = !0), (0, _defineProperty2.default)(target, descriptor.key, descriptor);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
return function(Constructor, protoProps, staticProps) {
|
|
719
|
+
return protoProps && defineProperties(Constructor.prototype, protoProps), staticProps && defineProperties(Constructor, staticProps),
|
|
720
|
+
Constructor;
|
|
721
|
+
};
|
|
722
|
+
}();
|
|
723
|
+
}, /* 52 */
|
|
724
|
+
/***/
|
|
725
|
+
function(module, exports, __webpack_require__) {
|
|
726
|
+
module.exports = {
|
|
727
|
+
default: __webpack_require__(53),
|
|
728
|
+
__esModule: !0
|
|
729
|
+
};
|
|
730
|
+
}, /* 53 */
|
|
731
|
+
/***/
|
|
732
|
+
function(module, exports, __webpack_require__) {
|
|
733
|
+
__webpack_require__(54);
|
|
734
|
+
var $Object = __webpack_require__(1).Object;
|
|
735
|
+
module.exports = function(it, key, desc) {
|
|
736
|
+
return $Object.defineProperty(it, key, desc);
|
|
737
|
+
};
|
|
738
|
+
}, /* 54 */
|
|
739
|
+
/***/
|
|
740
|
+
function(module, exports, __webpack_require__) {
|
|
741
|
+
var $export = __webpack_require__(5);
|
|
742
|
+
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
743
|
+
$export($export.S + $export.F * !__webpack_require__(4), "Object", {
|
|
744
|
+
defineProperty: __webpack_require__(3).f
|
|
745
|
+
});
|
|
746
|
+
}, /* 55 */
|
|
747
|
+
/***/
|
|
748
|
+
function(module, exports, __webpack_require__) {
|
|
749
|
+
"use strict";
|
|
750
|
+
exports.__esModule = !0;
|
|
751
|
+
var _typeof2 = __webpack_require__(35), _typeof3 = function(obj) {
|
|
752
|
+
return obj && obj.__esModule ? obj : {
|
|
753
|
+
default: obj
|
|
754
|
+
};
|
|
755
|
+
}(_typeof2);
|
|
756
|
+
exports.default = function(self, call) {
|
|
757
|
+
if (!self) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
758
|
+
return !call || "object" !== (void 0 === call ? "undefined" : (0, _typeof3.default)(call)) && "function" != typeof call ? self : call;
|
|
759
|
+
};
|
|
760
|
+
}, /* 56 */
|
|
761
|
+
/***/
|
|
762
|
+
function(module, exports, __webpack_require__) {
|
|
763
|
+
module.exports = {
|
|
764
|
+
default: __webpack_require__(57),
|
|
765
|
+
__esModule: !0
|
|
766
|
+
};
|
|
767
|
+
}, /* 57 */
|
|
768
|
+
/***/
|
|
769
|
+
function(module, exports, __webpack_require__) {
|
|
770
|
+
__webpack_require__(58), __webpack_require__(67), module.exports = __webpack_require__(25).f("iterator");
|
|
771
|
+
}, /* 58 */
|
|
772
|
+
/***/
|
|
773
|
+
function(module, exports, __webpack_require__) {
|
|
774
|
+
"use strict";
|
|
775
|
+
var $at = __webpack_require__(59)(!0);
|
|
776
|
+
// 21.1.3.27 String.prototype[@@iterator]()
|
|
777
|
+
__webpack_require__(36)(String, "String", function(iterated) {
|
|
778
|
+
this._t = String(iterated), // target
|
|
779
|
+
this._i = 0;
|
|
780
|
+
}, function() {
|
|
781
|
+
var point, O = this._t, index = this._i;
|
|
782
|
+
return index >= O.length ? {
|
|
783
|
+
value: void 0,
|
|
784
|
+
done: !0
|
|
785
|
+
} : (point = $at(O, index), this._i += point.length, {
|
|
786
|
+
value: point,
|
|
787
|
+
done: !1
|
|
788
|
+
});
|
|
789
|
+
});
|
|
790
|
+
}, /* 59 */
|
|
791
|
+
/***/
|
|
792
|
+
function(module, exports, __webpack_require__) {
|
|
793
|
+
var toInteger = __webpack_require__(18), defined = __webpack_require__(14);
|
|
794
|
+
// true -> String#at
|
|
795
|
+
// false -> String#codePointAt
|
|
796
|
+
module.exports = function(TO_STRING) {
|
|
797
|
+
return function(that, pos) {
|
|
798
|
+
var a, b, s = String(defined(that)), i = toInteger(pos), l = s.length;
|
|
799
|
+
return i < 0 || i >= l ? TO_STRING ? "" : void 0 : (a = s.charCodeAt(i), a < 55296 || a > 56319 || i + 1 === l || (b = s.charCodeAt(i + 1)) < 56320 || b > 57343 ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : b - 56320 + (a - 55296 << 10) + 65536);
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
}, /* 60 */
|
|
803
|
+
/***/
|
|
804
|
+
function(module, exports, __webpack_require__) {
|
|
805
|
+
"use strict";
|
|
806
|
+
var create = __webpack_require__(21), descriptor = __webpack_require__(13), setToStringTag = __webpack_require__(24), IteratorPrototype = {};
|
|
807
|
+
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
|
808
|
+
__webpack_require__(6)(IteratorPrototype, __webpack_require__(8)("iterator"), function() {
|
|
809
|
+
return this;
|
|
810
|
+
}), module.exports = function(Constructor, NAME, next) {
|
|
811
|
+
Constructor.prototype = create(IteratorPrototype, {
|
|
812
|
+
next: descriptor(1, next)
|
|
813
|
+
}), setToStringTag(Constructor, NAME + " Iterator");
|
|
814
|
+
};
|
|
815
|
+
}, /* 61 */
|
|
816
|
+
/***/
|
|
817
|
+
function(module, exports, __webpack_require__) {
|
|
818
|
+
var dP = __webpack_require__(3), anObject = __webpack_require__(9), getKeys = __webpack_require__(22);
|
|
819
|
+
module.exports = __webpack_require__(4) ? Object.defineProperties : function(O, Properties) {
|
|
820
|
+
anObject(O);
|
|
821
|
+
for (var P, keys = getKeys(Properties), length = keys.length, i = 0; length > i; ) dP.f(O, P = keys[i++], Properties[P]);
|
|
822
|
+
return O;
|
|
823
|
+
};
|
|
824
|
+
}, /* 62 */
|
|
825
|
+
/***/
|
|
826
|
+
function(module, exports, __webpack_require__) {
|
|
827
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
828
|
+
var cof = __webpack_require__(39);
|
|
829
|
+
// eslint-disable-next-line no-prototype-builtins
|
|
830
|
+
module.exports = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
|
|
831
|
+
return "String" == cof(it) ? it.split("") : Object(it);
|
|
832
|
+
};
|
|
833
|
+
}, /* 63 */
|
|
834
|
+
/***/
|
|
835
|
+
function(module, exports, __webpack_require__) {
|
|
836
|
+
// false -> Array#indexOf
|
|
837
|
+
// true -> Array#includes
|
|
838
|
+
var toIObject = __webpack_require__(7), toLength = __webpack_require__(64), toAbsoluteIndex = __webpack_require__(65);
|
|
839
|
+
module.exports = function(IS_INCLUDES) {
|
|
840
|
+
return function($this, el, fromIndex) {
|
|
841
|
+
var value, O = toIObject($this), length = toLength(O.length), index = toAbsoluteIndex(fromIndex, length);
|
|
842
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
843
|
+
// eslint-disable-next-line no-self-compare
|
|
844
|
+
if (IS_INCLUDES && el != el) {
|
|
845
|
+
for (;length > index; ) // eslint-disable-next-line no-self-compare
|
|
846
|
+
if ((value = O[index++]) != value) return !0;
|
|
847
|
+
} else for (;length > index; index++) if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
848
|
+
return !IS_INCLUDES && -1;
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
}, /* 64 */
|
|
852
|
+
/***/
|
|
853
|
+
function(module, exports, __webpack_require__) {
|
|
854
|
+
// 7.1.15 ToLength
|
|
855
|
+
var toInteger = __webpack_require__(18), min = Math.min;
|
|
856
|
+
module.exports = function(it) {
|
|
857
|
+
return it > 0 ? min(toInteger(it), 9007199254740991) : 0;
|
|
858
|
+
};
|
|
859
|
+
}, /* 65 */
|
|
860
|
+
/***/
|
|
861
|
+
function(module, exports, __webpack_require__) {
|
|
862
|
+
var toInteger = __webpack_require__(18), max = Math.max, min = Math.min;
|
|
863
|
+
module.exports = function(index, length) {
|
|
864
|
+
return index = toInteger(index), index < 0 ? max(index + length, 0) : min(index, length);
|
|
865
|
+
};
|
|
866
|
+
}, /* 66 */
|
|
867
|
+
/***/
|
|
868
|
+
function(module, exports, __webpack_require__) {
|
|
869
|
+
var document = __webpack_require__(0).document;
|
|
870
|
+
module.exports = document && document.documentElement;
|
|
871
|
+
}, /* 67 */
|
|
872
|
+
/***/
|
|
873
|
+
function(module, exports, __webpack_require__) {
|
|
874
|
+
__webpack_require__(68);
|
|
875
|
+
for (var global = __webpack_require__(0), hide = __webpack_require__(6), Iterators = __webpack_require__(20), TO_STRING_TAG = __webpack_require__(8)("toStringTag"), DOMIterables = "CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","), i = 0; i < DOMIterables.length; i++) {
|
|
876
|
+
var NAME = DOMIterables[i], Collection = global[NAME], proto = Collection && Collection.prototype;
|
|
877
|
+
proto && !proto[TO_STRING_TAG] && hide(proto, TO_STRING_TAG, NAME), Iterators[NAME] = Iterators.Array;
|
|
878
|
+
}
|
|
879
|
+
}, /* 68 */
|
|
880
|
+
/***/
|
|
881
|
+
function(module, exports, __webpack_require__) {
|
|
882
|
+
"use strict";
|
|
883
|
+
var addToUnscopables = __webpack_require__(69), step = __webpack_require__(70), Iterators = __webpack_require__(20), toIObject = __webpack_require__(7);
|
|
884
|
+
// 22.1.3.4 Array.prototype.entries()
|
|
885
|
+
// 22.1.3.13 Array.prototype.keys()
|
|
886
|
+
// 22.1.3.29 Array.prototype.values()
|
|
887
|
+
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
888
|
+
module.exports = __webpack_require__(36)(Array, "Array", function(iterated, kind) {
|
|
889
|
+
this._t = toIObject(iterated), // target
|
|
890
|
+
this._i = 0, // next index
|
|
891
|
+
this._k = kind;
|
|
892
|
+
}, function() {
|
|
893
|
+
var O = this._t, kind = this._k, index = this._i++;
|
|
894
|
+
return !O || index >= O.length ? (this._t = void 0, step(1)) : "keys" == kind ? step(0, index) : "values" == kind ? step(0, O[index]) : step(0, [ index, O[index] ]);
|
|
895
|
+
}, "values"), // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
|
|
896
|
+
Iterators.Arguments = Iterators.Array, addToUnscopables("keys"), addToUnscopables("values"),
|
|
897
|
+
addToUnscopables("entries");
|
|
898
|
+
}, /* 69 */
|
|
899
|
+
/***/
|
|
900
|
+
function(module, exports) {
|
|
901
|
+
module.exports = function() {};
|
|
902
|
+
}, /* 70 */
|
|
903
|
+
/***/
|
|
904
|
+
function(module, exports) {
|
|
905
|
+
module.exports = function(done, value) {
|
|
906
|
+
return {
|
|
907
|
+
value: value,
|
|
908
|
+
done: !!done
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
}, /* 71 */
|
|
912
|
+
/***/
|
|
913
|
+
function(module, exports, __webpack_require__) {
|
|
914
|
+
module.exports = {
|
|
915
|
+
default: __webpack_require__(72),
|
|
916
|
+
__esModule: !0
|
|
917
|
+
};
|
|
918
|
+
}, /* 72 */
|
|
919
|
+
/***/
|
|
920
|
+
function(module, exports, __webpack_require__) {
|
|
921
|
+
__webpack_require__(73), __webpack_require__(78), __webpack_require__(79), __webpack_require__(80),
|
|
922
|
+
module.exports = __webpack_require__(1).Symbol;
|
|
923
|
+
}, /* 73 */
|
|
924
|
+
/***/
|
|
925
|
+
function(module, exports, __webpack_require__) {
|
|
926
|
+
"use strict";
|
|
927
|
+
// ECMAScript 6 symbols shim
|
|
928
|
+
var global = __webpack_require__(0), has = __webpack_require__(2), DESCRIPTORS = __webpack_require__(4), $export = __webpack_require__(5), redefine = __webpack_require__(37), META = __webpack_require__(74).KEY, $fails = __webpack_require__(11), shared = __webpack_require__(16), setToStringTag = __webpack_require__(24), uid = __webpack_require__(12), wks = __webpack_require__(8), wksExt = __webpack_require__(25), wksDefine = __webpack_require__(26), enumKeys = __webpack_require__(75), isArray = __webpack_require__(76), anObject = __webpack_require__(9), toIObject = __webpack_require__(7), toPrimitive = __webpack_require__(17), createDesc = __webpack_require__(13), _create = __webpack_require__(21), gOPNExt = __webpack_require__(77), $GOPD = __webpack_require__(42), $DP = __webpack_require__(3), $keys = __webpack_require__(22), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global.Symbol, $JSON = global.JSON, _stringify = $JSON && $JSON.stringify, HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object.prototype, USE_NATIVE = "function" == typeof $Symbol, QObject = global.QObject, setter = !QObject || !QObject.prototype || !QObject.prototype.findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
|
|
929
|
+
return 7 != _create(dP({}, "a", {
|
|
930
|
+
get: function() {
|
|
931
|
+
return dP(this, "a", {
|
|
932
|
+
value: 7
|
|
933
|
+
}).a;
|
|
934
|
+
}
|
|
935
|
+
})).a;
|
|
936
|
+
}) ? function(it, key, D) {
|
|
937
|
+
var protoDesc = gOPD(ObjectProto, key);
|
|
938
|
+
protoDesc && delete ObjectProto[key], dP(it, key, D), protoDesc && it !== ObjectProto && dP(ObjectProto, key, protoDesc);
|
|
939
|
+
} : dP, wrap = function(tag) {
|
|
940
|
+
var sym = AllSymbols[tag] = _create($Symbol.prototype);
|
|
941
|
+
return sym._k = tag, sym;
|
|
942
|
+
}, isSymbol = USE_NATIVE && "symbol" == typeof $Symbol.iterator ? function(it) {
|
|
943
|
+
return "symbol" == typeof it;
|
|
944
|
+
} : function(it) {
|
|
945
|
+
return it instanceof $Symbol;
|
|
946
|
+
}, $defineProperty = function(it, key, D) {
|
|
947
|
+
return it === ObjectProto && $defineProperty(OPSymbols, key, D), anObject(it), key = toPrimitive(key, !0),
|
|
948
|
+
anObject(D), has(AllSymbols, key) ? (D.enumerable ? (has(it, HIDDEN) && it[HIDDEN][key] && (it[HIDDEN][key] = !1),
|
|
949
|
+
D = _create(D, {
|
|
950
|
+
enumerable: createDesc(0, !1)
|
|
951
|
+
})) : (has(it, HIDDEN) || dP(it, HIDDEN, createDesc(1, {})), it[HIDDEN][key] = !0),
|
|
952
|
+
setSymbolDesc(it, key, D)) : dP(it, key, D);
|
|
953
|
+
}, $defineProperties = function(it, P) {
|
|
954
|
+
anObject(it);
|
|
955
|
+
for (var key, keys = enumKeys(P = toIObject(P)), i = 0, l = keys.length; l > i; ) $defineProperty(it, key = keys[i++], P[key]);
|
|
956
|
+
return it;
|
|
957
|
+
}, $create = function(it, P) {
|
|
958
|
+
return void 0 === P ? _create(it) : $defineProperties(_create(it), P);
|
|
959
|
+
}, $propertyIsEnumerable = function(key) {
|
|
960
|
+
var E = isEnum.call(this, key = toPrimitive(key, !0));
|
|
961
|
+
return !(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) && (!(E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]) || E);
|
|
962
|
+
}, $getOwnPropertyDescriptor = function(it, key) {
|
|
963
|
+
if (it = toIObject(it), key = toPrimitive(key, !0), it !== ObjectProto || !has(AllSymbols, key) || has(OPSymbols, key)) {
|
|
964
|
+
var D = gOPD(it, key);
|
|
965
|
+
return !D || !has(AllSymbols, key) || has(it, HIDDEN) && it[HIDDEN][key] || (D.enumerable = !0),
|
|
966
|
+
D;
|
|
967
|
+
}
|
|
968
|
+
}, $getOwnPropertyNames = function(it) {
|
|
969
|
+
for (var key, names = gOPN(toIObject(it)), result = [], i = 0; names.length > i; ) has(AllSymbols, key = names[i++]) || key == HIDDEN || key == META || result.push(key);
|
|
970
|
+
return result;
|
|
971
|
+
}, $getOwnPropertySymbols = function(it) {
|
|
972
|
+
for (var key, IS_OP = it === ObjectProto, names = gOPN(IS_OP ? OPSymbols : toIObject(it)), result = [], i = 0; names.length > i; ) !has(AllSymbols, key = names[i++]) || IS_OP && !has(ObjectProto, key) || result.push(AllSymbols[key]);
|
|
973
|
+
return result;
|
|
974
|
+
};
|
|
975
|
+
// 19.4.1.1 Symbol([description])
|
|
976
|
+
USE_NATIVE || ($Symbol = function() {
|
|
977
|
+
if (this instanceof $Symbol) throw TypeError("Symbol is not a constructor!");
|
|
978
|
+
var tag = uid(arguments.length > 0 ? arguments[0] : void 0), $set = function(value) {
|
|
979
|
+
this === ObjectProto && $set.call(OPSymbols, value), has(this, HIDDEN) && has(this[HIDDEN], tag) && (this[HIDDEN][tag] = !1),
|
|
980
|
+
setSymbolDesc(this, tag, createDesc(1, value));
|
|
981
|
+
};
|
|
982
|
+
return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
|
|
983
|
+
configurable: !0,
|
|
984
|
+
set: $set
|
|
985
|
+
}), wrap(tag);
|
|
986
|
+
}, redefine($Symbol.prototype, "toString", function() {
|
|
987
|
+
return this._k;
|
|
988
|
+
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, __webpack_require__(41).f = gOPNExt.f = $getOwnPropertyNames,
|
|
989
|
+
__webpack_require__(27).f = $propertyIsEnumerable, __webpack_require__(40).f = $getOwnPropertySymbols,
|
|
990
|
+
DESCRIPTORS && !__webpack_require__(19) && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable, !0),
|
|
991
|
+
wksExt.f = function(name) {
|
|
992
|
+
return wrap(wks(name));
|
|
993
|
+
}), $export($export.G + $export.W + $export.F * !USE_NATIVE, {
|
|
994
|
+
Symbol: $Symbol
|
|
995
|
+
});
|
|
996
|
+
for (var es6Symbols = "hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), j = 0; es6Symbols.length > j; ) wks(es6Symbols[j++]);
|
|
997
|
+
for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k; ) wksDefine(wellKnownSymbols[k++]);
|
|
998
|
+
$export($export.S + $export.F * !USE_NATIVE, "Symbol", {
|
|
999
|
+
// 19.4.2.1 Symbol.for(key)
|
|
1000
|
+
for: function(key) {
|
|
1001
|
+
return has(SymbolRegistry, key += "") ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key);
|
|
1002
|
+
},
|
|
1003
|
+
// 19.4.2.5 Symbol.keyFor(sym)
|
|
1004
|
+
keyFor: function(sym) {
|
|
1005
|
+
if (!isSymbol(sym)) throw TypeError(sym + " is not a symbol!");
|
|
1006
|
+
for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
|
|
1007
|
+
},
|
|
1008
|
+
useSetter: function() {
|
|
1009
|
+
setter = !0;
|
|
1010
|
+
},
|
|
1011
|
+
useSimple: function() {
|
|
1012
|
+
setter = !1;
|
|
1013
|
+
}
|
|
1014
|
+
}), $export($export.S + $export.F * !USE_NATIVE, "Object", {
|
|
1015
|
+
// 19.1.2.2 Object.create(O [, Properties])
|
|
1016
|
+
create: $create,
|
|
1017
|
+
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
1018
|
+
defineProperty: $defineProperty,
|
|
1019
|
+
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
1020
|
+
defineProperties: $defineProperties,
|
|
1021
|
+
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
1022
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
1023
|
+
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
1024
|
+
getOwnPropertyNames: $getOwnPropertyNames,
|
|
1025
|
+
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
1026
|
+
getOwnPropertySymbols: $getOwnPropertySymbols
|
|
1027
|
+
}), // 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
1028
|
+
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function() {
|
|
1029
|
+
var S = $Symbol();
|
|
1030
|
+
// MS Edge converts symbol values to JSON as {}
|
|
1031
|
+
// WebKit converts symbol values to JSON as null
|
|
1032
|
+
// V8 throws on boxed symbols
|
|
1033
|
+
return "[null]" != _stringify([ S ]) || "{}" != _stringify({
|
|
1034
|
+
a: S
|
|
1035
|
+
}) || "{}" != _stringify(Object(S));
|
|
1036
|
+
})), "JSON", {
|
|
1037
|
+
stringify: function(it) {
|
|
1038
|
+
if (void 0 !== it && !isSymbol(it)) {
|
|
1039
|
+
for (// IE8 returns string on undefined
|
|
1040
|
+
var replacer, $replacer, args = [ it ], i = 1; arguments.length > i; ) args.push(arguments[i++]);
|
|
1041
|
+
return replacer = args[1], "function" == typeof replacer && ($replacer = replacer),
|
|
1042
|
+
!$replacer && isArray(replacer) || (replacer = function(key, value) {
|
|
1043
|
+
if ($replacer && (value = $replacer.call(this, key, value)), !isSymbol(value)) return value;
|
|
1044
|
+
}), args[1] = replacer, _stringify.apply($JSON, args);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}), // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
|
|
1048
|
+
$Symbol.prototype[TO_PRIMITIVE] || __webpack_require__(6)($Symbol.prototype, TO_PRIMITIVE, $Symbol.prototype.valueOf),
|
|
1049
|
+
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
1050
|
+
setToStringTag($Symbol, "Symbol"), // 20.2.1.9 Math[@@toStringTag]
|
|
1051
|
+
setToStringTag(Math, "Math", !0), // 24.3.3 JSON[@@toStringTag]
|
|
1052
|
+
setToStringTag(global.JSON, "JSON", !0);
|
|
1053
|
+
}, /* 74 */
|
|
1054
|
+
/***/
|
|
1055
|
+
function(module, exports, __webpack_require__) {
|
|
1056
|
+
var META = __webpack_require__(12)("meta"), isObject = __webpack_require__(10), has = __webpack_require__(2), setDesc = __webpack_require__(3).f, id = 0, isExtensible = Object.isExtensible || function() {
|
|
1057
|
+
return !0;
|
|
1058
|
+
}, FREEZE = !__webpack_require__(11)(function() {
|
|
1059
|
+
return isExtensible(Object.preventExtensions({}));
|
|
1060
|
+
}), setMeta = function(it) {
|
|
1061
|
+
setDesc(it, META, {
|
|
1062
|
+
value: {
|
|
1063
|
+
i: "O" + ++id,
|
|
1064
|
+
// object ID
|
|
1065
|
+
w: {}
|
|
1066
|
+
}
|
|
1067
|
+
});
|
|
1068
|
+
}, fastKey = function(it, create) {
|
|
1069
|
+
// return primitive with prefix
|
|
1070
|
+
if (!isObject(it)) return "symbol" == typeof it ? it : ("string" == typeof it ? "S" : "P") + it;
|
|
1071
|
+
if (!has(it, META)) {
|
|
1072
|
+
// can't set metadata to uncaught frozen object
|
|
1073
|
+
if (!isExtensible(it)) return "F";
|
|
1074
|
+
// not necessary to add metadata
|
|
1075
|
+
if (!create) return "E";
|
|
1076
|
+
// add missing metadata
|
|
1077
|
+
setMeta(it);
|
|
1078
|
+
}
|
|
1079
|
+
return it[META].i;
|
|
1080
|
+
}, getWeak = function(it, create) {
|
|
1081
|
+
if (!has(it, META)) {
|
|
1082
|
+
// can't set metadata to uncaught frozen object
|
|
1083
|
+
if (!isExtensible(it)) return !0;
|
|
1084
|
+
// not necessary to add metadata
|
|
1085
|
+
if (!create) return !1;
|
|
1086
|
+
// add missing metadata
|
|
1087
|
+
setMeta(it);
|
|
1088
|
+
}
|
|
1089
|
+
return it[META].w;
|
|
1090
|
+
}, onFreeze = function(it) {
|
|
1091
|
+
return FREEZE && meta.NEED && isExtensible(it) && !has(it, META) && setMeta(it),
|
|
1092
|
+
it;
|
|
1093
|
+
}, meta = module.exports = {
|
|
1094
|
+
KEY: META,
|
|
1095
|
+
NEED: !1,
|
|
1096
|
+
fastKey: fastKey,
|
|
1097
|
+
getWeak: getWeak,
|
|
1098
|
+
onFreeze: onFreeze
|
|
1099
|
+
};
|
|
1100
|
+
}, /* 75 */
|
|
1101
|
+
/***/
|
|
1102
|
+
function(module, exports, __webpack_require__) {
|
|
1103
|
+
// all enumerable object keys, includes symbols
|
|
1104
|
+
var getKeys = __webpack_require__(22), gOPS = __webpack_require__(40), pIE = __webpack_require__(27);
|
|
1105
|
+
module.exports = function(it) {
|
|
1106
|
+
var result = getKeys(it), getSymbols = gOPS.f;
|
|
1107
|
+
if (getSymbols) for (var key, symbols = getSymbols(it), isEnum = pIE.f, i = 0; symbols.length > i; ) isEnum.call(it, key = symbols[i++]) && result.push(key);
|
|
1108
|
+
return result;
|
|
1109
|
+
};
|
|
1110
|
+
}, /* 76 */
|
|
1111
|
+
/***/
|
|
1112
|
+
function(module, exports, __webpack_require__) {
|
|
1113
|
+
// 7.2.2 IsArray(argument)
|
|
1114
|
+
var cof = __webpack_require__(39);
|
|
1115
|
+
module.exports = Array.isArray || function(arg) {
|
|
1116
|
+
return "Array" == cof(arg);
|
|
1117
|
+
};
|
|
1118
|
+
}, /* 77 */
|
|
1119
|
+
/***/
|
|
1120
|
+
function(module, exports, __webpack_require__) {
|
|
1121
|
+
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
1122
|
+
var toIObject = __webpack_require__(7), gOPN = __webpack_require__(41).f, toString = {}.toString, windowNames = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(it) {
|
|
1123
|
+
try {
|
|
1124
|
+
return gOPN(it);
|
|
1125
|
+
} catch (e) {
|
|
1126
|
+
return windowNames.slice();
|
|
1127
|
+
}
|
|
1128
|
+
};
|
|
1129
|
+
module.exports.f = function(it) {
|
|
1130
|
+
return windowNames && "[object Window]" == toString.call(it) ? getWindowNames(it) : gOPN(toIObject(it));
|
|
1131
|
+
};
|
|
1132
|
+
}, /* 78 */
|
|
1133
|
+
/***/
|
|
1134
|
+
function(module, exports) {}, /* 79 */
|
|
1135
|
+
/***/
|
|
1136
|
+
function(module, exports, __webpack_require__) {
|
|
1137
|
+
__webpack_require__(26)("asyncIterator");
|
|
1138
|
+
}, /* 80 */
|
|
1139
|
+
/***/
|
|
1140
|
+
function(module, exports, __webpack_require__) {
|
|
1141
|
+
__webpack_require__(26)("observable");
|
|
1142
|
+
}, /* 81 */
|
|
1143
|
+
/***/
|
|
1144
|
+
function(module, exports, __webpack_require__) {
|
|
1145
|
+
"use strict";
|
|
1146
|
+
function _interopRequireDefault(obj) {
|
|
1147
|
+
return obj && obj.__esModule ? obj : {
|
|
1148
|
+
default: obj
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
exports.__esModule = !0;
|
|
1152
|
+
var _setPrototypeOf = __webpack_require__(82), _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf), _create = __webpack_require__(86), _create2 = _interopRequireDefault(_create), _typeof2 = __webpack_require__(35), _typeof3 = _interopRequireDefault(_typeof2);
|
|
1153
|
+
exports.default = function(subClass, superClass) {
|
|
1154
|
+
if ("function" != typeof superClass && null !== superClass) throw new TypeError("Super expression must either be null or a function, not " + (void 0 === superClass ? "undefined" : (0,
|
|
1155
|
+
_typeof3.default)(superClass)));
|
|
1156
|
+
subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {
|
|
1157
|
+
constructor: {
|
|
1158
|
+
value: subClass,
|
|
1159
|
+
enumerable: !1,
|
|
1160
|
+
writable: !0,
|
|
1161
|
+
configurable: !0
|
|
1162
|
+
}
|
|
1163
|
+
}), superClass && (_setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass);
|
|
1164
|
+
};
|
|
1165
|
+
}, /* 82 */
|
|
1166
|
+
/***/
|
|
1167
|
+
function(module, exports, __webpack_require__) {
|
|
1168
|
+
module.exports = {
|
|
1169
|
+
default: __webpack_require__(83),
|
|
1170
|
+
__esModule: !0
|
|
1171
|
+
};
|
|
1172
|
+
}, /* 83 */
|
|
1173
|
+
/***/
|
|
1174
|
+
function(module, exports, __webpack_require__) {
|
|
1175
|
+
__webpack_require__(84), module.exports = __webpack_require__(1).Object.setPrototypeOf;
|
|
1176
|
+
}, /* 84 */
|
|
1177
|
+
/***/
|
|
1178
|
+
function(module, exports, __webpack_require__) {
|
|
1179
|
+
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
|
1180
|
+
var $export = __webpack_require__(5);
|
|
1181
|
+
$export($export.S, "Object", {
|
|
1182
|
+
setPrototypeOf: __webpack_require__(85).set
|
|
1183
|
+
});
|
|
1184
|
+
}, /* 85 */
|
|
1185
|
+
/***/
|
|
1186
|
+
function(module, exports, __webpack_require__) {
|
|
1187
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1188
|
+
/* eslint-disable no-proto */
|
|
1189
|
+
var isObject = __webpack_require__(10), anObject = __webpack_require__(9), check = function(O, proto) {
|
|
1190
|
+
if (anObject(O), !isObject(proto) && null !== proto) throw TypeError(proto + ": can't set as prototype!");
|
|
1191
|
+
};
|
|
1192
|
+
module.exports = {
|
|
1193
|
+
set: Object.setPrototypeOf || ("__proto__" in {} ? // eslint-disable-line
|
|
1194
|
+
function(test, buggy, set) {
|
|
1195
|
+
try {
|
|
1196
|
+
set = __webpack_require__(32)(Function.call, __webpack_require__(42).f(Object.prototype, "__proto__").set, 2),
|
|
1197
|
+
set(test, []), buggy = !(test instanceof Array);
|
|
1198
|
+
} catch (e) {
|
|
1199
|
+
buggy = !0;
|
|
1200
|
+
}
|
|
1201
|
+
return function(O, proto) {
|
|
1202
|
+
return check(O, proto), buggy ? O.__proto__ = proto : set(O, proto), O;
|
|
1203
|
+
};
|
|
1204
|
+
}({}, !1) : void 0),
|
|
1205
|
+
check: check
|
|
1206
|
+
};
|
|
1207
|
+
}, /* 86 */
|
|
1208
|
+
/***/
|
|
1209
|
+
function(module, exports, __webpack_require__) {
|
|
1210
|
+
module.exports = {
|
|
1211
|
+
default: __webpack_require__(87),
|
|
1212
|
+
__esModule: !0
|
|
1213
|
+
};
|
|
1214
|
+
}, /* 87 */
|
|
1215
|
+
/***/
|
|
1216
|
+
function(module, exports, __webpack_require__) {
|
|
1217
|
+
__webpack_require__(88);
|
|
1218
|
+
var $Object = __webpack_require__(1).Object;
|
|
1219
|
+
module.exports = function(P, D) {
|
|
1220
|
+
return $Object.create(P, D);
|
|
1221
|
+
};
|
|
1222
|
+
}, /* 88 */
|
|
1223
|
+
/***/
|
|
1224
|
+
function(module, exports, __webpack_require__) {
|
|
1225
|
+
var $export = __webpack_require__(5);
|
|
1226
|
+
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
1227
|
+
$export($export.S, "Object", {
|
|
1228
|
+
create: __webpack_require__(21)
|
|
1229
|
+
});
|
|
1230
|
+
} ]);
|
|
1231
|
+
});
|