vue-sw-updater 0.0.2 → 0.0.4

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.
@@ -1,3876 +0,0 @@
1
- /******/ (function() { // webpackBootstrap
2
- /******/ var __webpack_modules__ = ({
3
-
4
- /***/ 34:
5
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
6
-
7
- "use strict";
8
-
9
- var isCallable = __webpack_require__(4901);
10
-
11
- module.exports = function (it) {
12
- return typeof it == 'object' ? it !== null : isCallable(it);
13
- };
14
-
15
-
16
- /***/ }),
17
-
18
- /***/ 283:
19
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
20
-
21
- "use strict";
22
-
23
- var uncurryThis = __webpack_require__(9504);
24
- var fails = __webpack_require__(9039);
25
- var isCallable = __webpack_require__(4901);
26
- var hasOwn = __webpack_require__(9297);
27
- var DESCRIPTORS = __webpack_require__(3724);
28
- var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(350).CONFIGURABLE);
29
- var inspectSource = __webpack_require__(3706);
30
- var InternalStateModule = __webpack_require__(1181);
31
-
32
- var enforceInternalState = InternalStateModule.enforce;
33
- var getInternalState = InternalStateModule.get;
34
- var $String = String;
35
- // eslint-disable-next-line es/no-object-defineproperty -- safe
36
- var defineProperty = Object.defineProperty;
37
- var stringSlice = uncurryThis(''.slice);
38
- var replace = uncurryThis(''.replace);
39
- var join = uncurryThis([].join);
40
-
41
- var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
42
- return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
43
- });
44
-
45
- var TEMPLATE = String(String).split('String');
46
-
47
- var makeBuiltIn = module.exports = function (value, name, options) {
48
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
49
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
50
- }
51
- if (options && options.getter) name = 'get ' + name;
52
- if (options && options.setter) name = 'set ' + name;
53
- if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
54
- if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });
55
- else value.name = name;
56
- }
57
- if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
58
- defineProperty(value, 'length', { value: options.arity });
59
- }
60
- try {
61
- if (options && hasOwn(options, 'constructor') && options.constructor) {
62
- if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });
63
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
64
- } else if (value.prototype) value.prototype = undefined;
65
- } catch (error) { /* empty */ }
66
- var state = enforceInternalState(value);
67
- if (!hasOwn(state, 'source')) {
68
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
69
- } return value;
70
- };
71
-
72
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
73
- // eslint-disable-next-line no-extend-native -- required
74
- Function.prototype.toString = makeBuiltIn(function toString() {
75
- return isCallable(this) && getInternalState(this).source || inspectSource(this);
76
- }, 'toString');
77
-
78
-
79
- /***/ }),
80
-
81
- /***/ 350:
82
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
83
-
84
- "use strict";
85
-
86
- var DESCRIPTORS = __webpack_require__(3724);
87
- var hasOwn = __webpack_require__(9297);
88
-
89
- var FunctionPrototype = Function.prototype;
90
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
91
- var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
92
-
93
- var EXISTS = hasOwn(FunctionPrototype, 'name');
94
- // additional protection from minified / mangled / dropped function names
95
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
96
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
97
-
98
- module.exports = {
99
- EXISTS: EXISTS,
100
- PROPER: PROPER,
101
- CONFIGURABLE: CONFIGURABLE
102
- };
103
-
104
-
105
- /***/ }),
106
-
107
- /***/ 421:
108
- /***/ (function(module) {
109
-
110
- "use strict";
111
-
112
- module.exports = {};
113
-
114
-
115
- /***/ }),
116
-
117
- /***/ 616:
118
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
119
-
120
- "use strict";
121
-
122
- var fails = __webpack_require__(9039);
123
-
124
- module.exports = !fails(function () {
125
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
126
- var test = (function () { /* empty */ }).bind();
127
- // eslint-disable-next-line no-prototype-builtins -- safe
128
- return typeof test != 'function' || test.hasOwnProperty('prototype');
129
- });
130
-
131
-
132
- /***/ }),
133
-
134
- /***/ 655:
135
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
136
-
137
- "use strict";
138
-
139
- var classof = __webpack_require__(6955);
140
-
141
- var $String = String;
142
-
143
- module.exports = function (argument) {
144
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
145
- return $String(argument);
146
- };
147
-
148
-
149
- /***/ }),
150
-
151
- /***/ 741:
152
- /***/ (function(module) {
153
-
154
- "use strict";
155
-
156
- var ceil = Math.ceil;
157
- var floor = Math.floor;
158
-
159
- // `Math.trunc` method
160
- // https://tc39.es/ecma262/#sec-math.trunc
161
- // eslint-disable-next-line es/no-math-trunc -- safe
162
- module.exports = Math.trunc || function trunc(x) {
163
- var n = +x;
164
- return (n > 0 ? floor : ceil)(n);
165
- };
166
-
167
-
168
- /***/ }),
169
-
170
- /***/ 757:
171
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
172
-
173
- "use strict";
174
-
175
- var getBuiltIn = __webpack_require__(7751);
176
- var isCallable = __webpack_require__(4901);
177
- var isPrototypeOf = __webpack_require__(1625);
178
- var USE_SYMBOL_AS_UID = __webpack_require__(7040);
179
-
180
- var $Object = Object;
181
-
182
- module.exports = USE_SYMBOL_AS_UID ? function (it) {
183
- return typeof it == 'symbol';
184
- } : function (it) {
185
- var $Symbol = getBuiltIn('Symbol');
186
- return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
187
- };
188
-
189
-
190
- /***/ }),
191
-
192
- /***/ 1181:
193
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
194
-
195
- "use strict";
196
-
197
- var NATIVE_WEAK_MAP = __webpack_require__(8622);
198
- var globalThis = __webpack_require__(4576);
199
- var isObject = __webpack_require__(34);
200
- var createNonEnumerableProperty = __webpack_require__(6699);
201
- var hasOwn = __webpack_require__(9297);
202
- var shared = __webpack_require__(7629);
203
- var sharedKey = __webpack_require__(6119);
204
- var hiddenKeys = __webpack_require__(421);
205
-
206
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
207
- var TypeError = globalThis.TypeError;
208
- var WeakMap = globalThis.WeakMap;
209
- var set, get, has;
210
-
211
- var enforce = function (it) {
212
- return has(it) ? get(it) : set(it, {});
213
- };
214
-
215
- var getterFor = function (TYPE) {
216
- return function (it) {
217
- var state;
218
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
219
- throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
220
- } return state;
221
- };
222
- };
223
-
224
- if (NATIVE_WEAK_MAP || shared.state) {
225
- var store = shared.state || (shared.state = new WeakMap());
226
- /* eslint-disable no-self-assign -- prototype methods protection */
227
- store.get = store.get;
228
- store.has = store.has;
229
- store.set = store.set;
230
- /* eslint-enable no-self-assign -- prototype methods protection */
231
- set = function (it, metadata) {
232
- if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
233
- metadata.facade = it;
234
- store.set(it, metadata);
235
- return metadata;
236
- };
237
- get = function (it) {
238
- return store.get(it) || {};
239
- };
240
- has = function (it) {
241
- return store.has(it);
242
- };
243
- } else {
244
- var STATE = sharedKey('state');
245
- hiddenKeys[STATE] = true;
246
- set = function (it, metadata) {
247
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
248
- metadata.facade = it;
249
- createNonEnumerableProperty(it, STATE, metadata);
250
- return metadata;
251
- };
252
- get = function (it) {
253
- return hasOwn(it, STATE) ? it[STATE] : {};
254
- };
255
- has = function (it) {
256
- return hasOwn(it, STATE);
257
- };
258
- }
259
-
260
- module.exports = {
261
- set: set,
262
- get: get,
263
- has: has,
264
- enforce: enforce,
265
- getterFor: getterFor
266
- };
267
-
268
-
269
- /***/ }),
270
-
271
- /***/ 1291:
272
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
273
-
274
- "use strict";
275
-
276
- var trunc = __webpack_require__(741);
277
-
278
- // `ToIntegerOrInfinity` abstract operation
279
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
280
- module.exports = function (argument) {
281
- var number = +argument;
282
- // eslint-disable-next-line no-self-compare -- NaN check
283
- return number !== number || number === 0 ? 0 : trunc(number);
284
- };
285
-
286
-
287
- /***/ }),
288
-
289
- /***/ 1601:
290
- /***/ (function(module) {
291
-
292
- "use strict";
293
-
294
-
295
- module.exports = function (i) {
296
- return i[1];
297
- };
298
-
299
- /***/ }),
300
-
301
- /***/ 1625:
302
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
303
-
304
- "use strict";
305
-
306
- var uncurryThis = __webpack_require__(9504);
307
-
308
- module.exports = uncurryThis({}.isPrototypeOf);
309
-
310
-
311
- /***/ }),
312
-
313
- /***/ 1828:
314
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
315
-
316
- "use strict";
317
-
318
- var uncurryThis = __webpack_require__(9504);
319
- var hasOwn = __webpack_require__(9297);
320
- var toIndexedObject = __webpack_require__(5397);
321
- var indexOf = (__webpack_require__(9617).indexOf);
322
- var hiddenKeys = __webpack_require__(421);
323
-
324
- var push = uncurryThis([].push);
325
-
326
- module.exports = function (object, names) {
327
- var O = toIndexedObject(object);
328
- var i = 0;
329
- var result = [];
330
- var key;
331
- for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
332
- // Don't enum bug & hidden keys
333
- while (names.length > i) if (hasOwn(O, key = names[i++])) {
334
- ~indexOf(result, key) || push(result, key);
335
- }
336
- return result;
337
- };
338
-
339
-
340
- /***/ }),
341
-
342
- /***/ 2106:
343
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
344
-
345
- "use strict";
346
-
347
- var makeBuiltIn = __webpack_require__(283);
348
- var defineProperty = __webpack_require__(4913);
349
-
350
- module.exports = function (target, name, descriptor) {
351
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
352
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
353
- return defineProperty.f(target, name, descriptor);
354
- };
355
-
356
-
357
- /***/ }),
358
-
359
- /***/ 2140:
360
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
361
-
362
- "use strict";
363
-
364
- var wellKnownSymbol = __webpack_require__(8227);
365
-
366
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
367
- var test = {};
368
- // eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
369
- test[TO_STRING_TAG] = 'z';
370
-
371
- module.exports = String(test) === '[object z]';
372
-
373
-
374
- /***/ }),
375
-
376
- /***/ 2195:
377
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
378
-
379
- "use strict";
380
-
381
- var uncurryThis = __webpack_require__(9504);
382
-
383
- var toString = uncurryThis({}.toString);
384
- var stringSlice = uncurryThis(''.slice);
385
-
386
- module.exports = function (it) {
387
- return stringSlice(toString(it), 8, -1);
388
- };
389
-
390
-
391
- /***/ }),
392
-
393
- /***/ 2777:
394
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
395
-
396
- "use strict";
397
-
398
- var call = __webpack_require__(9565);
399
- var isObject = __webpack_require__(34);
400
- var isSymbol = __webpack_require__(757);
401
- var getMethod = __webpack_require__(5966);
402
- var ordinaryToPrimitive = __webpack_require__(4270);
403
- var wellKnownSymbol = __webpack_require__(8227);
404
-
405
- var $TypeError = TypeError;
406
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
407
-
408
- // `ToPrimitive` abstract operation
409
- // https://tc39.es/ecma262/#sec-toprimitive
410
- module.exports = function (input, pref) {
411
- if (!isObject(input) || isSymbol(input)) return input;
412
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
413
- var result;
414
- if (exoticToPrim) {
415
- if (pref === undefined) pref = 'default';
416
- result = call(exoticToPrim, input, pref);
417
- if (!isObject(result) || isSymbol(result)) return result;
418
- throw new $TypeError("Can't convert object to primitive value");
419
- }
420
- if (pref === undefined) pref = 'number';
421
- return ordinaryToPrimitive(input, pref);
422
- };
423
-
424
-
425
- /***/ }),
426
-
427
- /***/ 2796:
428
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
429
-
430
- "use strict";
431
-
432
- var fails = __webpack_require__(9039);
433
- var isCallable = __webpack_require__(4901);
434
-
435
- var replacement = /#|\.prototype\./;
436
-
437
- var isForced = function (feature, detection) {
438
- var value = data[normalize(feature)];
439
- return value === POLYFILL ? true
440
- : value === NATIVE ? false
441
- : isCallable(detection) ? fails(detection)
442
- : !!detection;
443
- };
444
-
445
- var normalize = isForced.normalize = function (string) {
446
- return String(string).replace(replacement, '.').toLowerCase();
447
- };
448
-
449
- var data = isForced.data = {};
450
- var NATIVE = isForced.NATIVE = 'N';
451
- var POLYFILL = isForced.POLYFILL = 'P';
452
-
453
- module.exports = isForced;
454
-
455
-
456
- /***/ }),
457
-
458
- /***/ 2812:
459
- /***/ (function(module) {
460
-
461
- "use strict";
462
-
463
- var $TypeError = TypeError;
464
-
465
- module.exports = function (passed, required) {
466
- if (passed < required) throw new $TypeError('Not enough arguments');
467
- return passed;
468
- };
469
-
470
-
471
- /***/ }),
472
-
473
- /***/ 2839:
474
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
475
-
476
- "use strict";
477
-
478
- var globalThis = __webpack_require__(4576);
479
-
480
- var navigator = globalThis.navigator;
481
- var userAgent = navigator && navigator.userAgent;
482
-
483
- module.exports = userAgent ? String(userAgent) : '';
484
-
485
-
486
- /***/ }),
487
-
488
- /***/ 3392:
489
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
490
-
491
- "use strict";
492
-
493
- var uncurryThis = __webpack_require__(9504);
494
-
495
- var id = 0;
496
- var postfix = Math.random();
497
- var toString = uncurryThis(1.1.toString);
498
-
499
- module.exports = function (key) {
500
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
501
- };
502
-
503
-
504
- /***/ }),
505
-
506
- /***/ 3706:
507
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
508
-
509
- "use strict";
510
-
511
- var uncurryThis = __webpack_require__(9504);
512
- var isCallable = __webpack_require__(4901);
513
- var store = __webpack_require__(7629);
514
-
515
- var functionToString = uncurryThis(Function.toString);
516
-
517
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
518
- if (!isCallable(store.inspectSource)) {
519
- store.inspectSource = function (it) {
520
- return functionToString(it);
521
- };
522
- }
523
-
524
- module.exports = store.inspectSource;
525
-
526
-
527
- /***/ }),
528
-
529
- /***/ 3717:
530
- /***/ (function(__unused_webpack_module, exports) {
531
-
532
- "use strict";
533
-
534
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
535
- exports.f = Object.getOwnPropertySymbols;
536
-
537
-
538
- /***/ }),
539
-
540
- /***/ 3724:
541
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
542
-
543
- "use strict";
544
-
545
- var fails = __webpack_require__(9039);
546
-
547
- // Detect IE8's incomplete defineProperty implementation
548
- module.exports = !fails(function () {
549
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
550
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
551
- });
552
-
553
-
554
- /***/ }),
555
-
556
- /***/ 4055:
557
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
558
-
559
- "use strict";
560
-
561
- var globalThis = __webpack_require__(4576);
562
- var isObject = __webpack_require__(34);
563
-
564
- var document = globalThis.document;
565
- // typeof document.createElement is 'object' in old IE
566
- var EXISTS = isObject(document) && isObject(document.createElement);
567
-
568
- module.exports = function (it) {
569
- return EXISTS ? document.createElement(it) : {};
570
- };
571
-
572
-
573
- /***/ }),
574
-
575
- /***/ 4114:
576
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
577
-
578
- "use strict";
579
-
580
- var $ = __webpack_require__(6518);
581
- var toObject = __webpack_require__(8981);
582
- var lengthOfArrayLike = __webpack_require__(6198);
583
- var setArrayLength = __webpack_require__(4527);
584
- var doesNotExceedSafeInteger = __webpack_require__(6837);
585
- var fails = __webpack_require__(9039);
586
-
587
- var INCORRECT_TO_LENGTH = fails(function () {
588
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
589
- });
590
-
591
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
592
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
593
- var properErrorOnNonWritableLength = function () {
594
- try {
595
- // eslint-disable-next-line es/no-object-defineproperty -- safe
596
- Object.defineProperty([], 'length', { writable: false }).push();
597
- } catch (error) {
598
- return error instanceof TypeError;
599
- }
600
- };
601
-
602
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
603
-
604
- // `Array.prototype.push` method
605
- // https://tc39.es/ecma262/#sec-array.prototype.push
606
- $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
607
- // eslint-disable-next-line no-unused-vars -- required for `.length`
608
- push: function push(item) {
609
- var O = toObject(this);
610
- var len = lengthOfArrayLike(O);
611
- var argCount = arguments.length;
612
- doesNotExceedSafeInteger(len + argCount);
613
- for (var i = 0; i < argCount; i++) {
614
- O[len] = arguments[i];
615
- len++;
616
- }
617
- setArrayLength(O, len);
618
- return len;
619
- }
620
- });
621
-
622
-
623
- /***/ }),
624
-
625
- /***/ 4117:
626
- /***/ (function(module) {
627
-
628
- "use strict";
629
-
630
- // we can't use just `it == null` since of `document.all` special case
631
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
632
- module.exports = function (it) {
633
- return it === null || it === undefined;
634
- };
635
-
636
-
637
- /***/ }),
638
-
639
- /***/ 4270:
640
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
641
-
642
- "use strict";
643
-
644
- var call = __webpack_require__(9565);
645
- var isCallable = __webpack_require__(4901);
646
- var isObject = __webpack_require__(34);
647
-
648
- var $TypeError = TypeError;
649
-
650
- // `OrdinaryToPrimitive` abstract operation
651
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
652
- module.exports = function (input, pref) {
653
- var fn, val;
654
- if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
655
- if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
656
- if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
657
- throw new $TypeError("Can't convert object to primitive value");
658
- };
659
-
660
-
661
- /***/ }),
662
-
663
- /***/ 4376:
664
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
665
-
666
- "use strict";
667
-
668
- var classof = __webpack_require__(2195);
669
-
670
- // `IsArray` abstract operation
671
- // https://tc39.es/ecma262/#sec-isarray
672
- // eslint-disable-next-line es/no-array-isarray -- safe
673
- module.exports = Array.isArray || function isArray(argument) {
674
- return classof(argument) === 'Array';
675
- };
676
-
677
-
678
- /***/ }),
679
-
680
- /***/ 4495:
681
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
682
-
683
- "use strict";
684
-
685
- /* eslint-disable es/no-symbol -- required for testing */
686
- var V8_VERSION = __webpack_require__(9519);
687
- var fails = __webpack_require__(9039);
688
- var globalThis = __webpack_require__(4576);
689
-
690
- var $String = globalThis.String;
691
-
692
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
693
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
694
- var symbol = Symbol('symbol detection');
695
- // Chrome 38 Symbol has incorrect toString conversion
696
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
697
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
698
- // of course, fail.
699
- return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
700
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
701
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
702
- });
703
-
704
-
705
- /***/ }),
706
-
707
- /***/ 4527:
708
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
709
-
710
- "use strict";
711
-
712
- var DESCRIPTORS = __webpack_require__(3724);
713
- var isArray = __webpack_require__(4376);
714
-
715
- var $TypeError = TypeError;
716
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
717
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
718
-
719
- // Safari < 13 does not throw an error in this case
720
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
721
- // makes no sense without proper strict mode support
722
- if (this !== undefined) return true;
723
- try {
724
- // eslint-disable-next-line es/no-object-defineproperty -- safe
725
- Object.defineProperty([], 'length', { writable: false }).length = 1;
726
- } catch (error) {
727
- return error instanceof TypeError;
728
- }
729
- }();
730
-
731
- module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
732
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
733
- throw new $TypeError('Cannot set read only .length');
734
- } return O.length = length;
735
- } : function (O, length) {
736
- return O.length = length;
737
- };
738
-
739
-
740
- /***/ }),
741
-
742
- /***/ 4576:
743
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
744
-
745
- "use strict";
746
-
747
- var check = function (it) {
748
- return it && it.Math === Math && it;
749
- };
750
-
751
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
752
- module.exports =
753
- // eslint-disable-next-line es/no-global-this -- safe
754
- check(typeof globalThis == 'object' && globalThis) ||
755
- check(typeof window == 'object' && window) ||
756
- // eslint-disable-next-line no-restricted-globals -- safe
757
- check(typeof self == 'object' && self) ||
758
- check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
759
- check(typeof this == 'object' && this) ||
760
- // eslint-disable-next-line no-new-func -- fallback
761
- (function () { return this; })() || Function('return this')();
762
-
763
-
764
- /***/ }),
765
-
766
- /***/ 4603:
767
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
768
-
769
- "use strict";
770
-
771
- var defineBuiltIn = __webpack_require__(6840);
772
- var uncurryThis = __webpack_require__(9504);
773
- var toString = __webpack_require__(655);
774
- var validateArgumentsLength = __webpack_require__(2812);
775
-
776
- var $URLSearchParams = URLSearchParams;
777
- var URLSearchParamsPrototype = $URLSearchParams.prototype;
778
- var append = uncurryThis(URLSearchParamsPrototype.append);
779
- var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
780
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
781
- var push = uncurryThis([].push);
782
- var params = new $URLSearchParams('a=1&a=2&b=3');
783
-
784
- params['delete']('a', 1);
785
- // `undefined` case is a Chromium 117 bug
786
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
787
- params['delete']('b', undefined);
788
-
789
- if (params + '' !== 'a=2') {
790
- defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
791
- var length = arguments.length;
792
- var $value = length < 2 ? undefined : arguments[1];
793
- if (length && $value === undefined) return $delete(this, name);
794
- var entries = [];
795
- forEach(this, function (v, k) { // also validates `this`
796
- push(entries, { key: k, value: v });
797
- });
798
- validateArgumentsLength(length, 1);
799
- var key = toString(name);
800
- var value = toString($value);
801
- var index = 0;
802
- var dindex = 0;
803
- var found = false;
804
- var entriesLength = entries.length;
805
- var entry;
806
- while (index < entriesLength) {
807
- entry = entries[index++];
808
- if (found || entry.key === key) {
809
- found = true;
810
- $delete(this, entry.key);
811
- } else dindex++;
812
- }
813
- while (dindex < entriesLength) {
814
- entry = entries[dindex++];
815
- if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
816
- }
817
- }, { enumerable: true, unsafe: true });
818
- }
819
-
820
-
821
- /***/ }),
822
-
823
- /***/ 4901:
824
- /***/ (function(module) {
825
-
826
- "use strict";
827
-
828
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
829
- var documentAll = typeof document == 'object' && document.all;
830
-
831
- // `IsCallable` abstract operation
832
- // https://tc39.es/ecma262/#sec-iscallable
833
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
834
- module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
835
- return typeof argument == 'function' || argument === documentAll;
836
- } : function (argument) {
837
- return typeof argument == 'function';
838
- };
839
-
840
-
841
- /***/ }),
842
-
843
- /***/ 4913:
844
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
845
-
846
- "use strict";
847
-
848
- var DESCRIPTORS = __webpack_require__(3724);
849
- var IE8_DOM_DEFINE = __webpack_require__(5917);
850
- var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(8686);
851
- var anObject = __webpack_require__(8551);
852
- var toPropertyKey = __webpack_require__(6969);
853
-
854
- var $TypeError = TypeError;
855
- // eslint-disable-next-line es/no-object-defineproperty -- safe
856
- var $defineProperty = Object.defineProperty;
857
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
858
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
859
- var ENUMERABLE = 'enumerable';
860
- var CONFIGURABLE = 'configurable';
861
- var WRITABLE = 'writable';
862
-
863
- // `Object.defineProperty` method
864
- // https://tc39.es/ecma262/#sec-object.defineproperty
865
- exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
866
- anObject(O);
867
- P = toPropertyKey(P);
868
- anObject(Attributes);
869
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
870
- var current = $getOwnPropertyDescriptor(O, P);
871
- if (current && current[WRITABLE]) {
872
- O[P] = Attributes.value;
873
- Attributes = {
874
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
875
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
876
- writable: false
877
- };
878
- }
879
- } return $defineProperty(O, P, Attributes);
880
- } : $defineProperty : function defineProperty(O, P, Attributes) {
881
- anObject(O);
882
- P = toPropertyKey(P);
883
- anObject(Attributes);
884
- if (IE8_DOM_DEFINE) try {
885
- return $defineProperty(O, P, Attributes);
886
- } catch (error) { /* empty */ }
887
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
888
- if ('value' in Attributes) O[P] = Attributes.value;
889
- return O;
890
- };
891
-
892
-
893
- /***/ }),
894
-
895
- /***/ 5031:
896
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
897
-
898
- "use strict";
899
-
900
- var getBuiltIn = __webpack_require__(7751);
901
- var uncurryThis = __webpack_require__(9504);
902
- var getOwnPropertyNamesModule = __webpack_require__(8480);
903
- var getOwnPropertySymbolsModule = __webpack_require__(3717);
904
- var anObject = __webpack_require__(8551);
905
-
906
- var concat = uncurryThis([].concat);
907
-
908
- // all object keys, includes non-enumerable and symbols
909
- module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
910
- var keys = getOwnPropertyNamesModule.f(anObject(it));
911
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
912
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
913
- };
914
-
915
-
916
- /***/ }),
917
-
918
- /***/ 5135:
919
- /***/ (function(module, exports, __webpack_require__) {
920
-
921
- var __WEBPACK_AMD_DEFINE_RESULT__;/////////////////////////////////////////////////////////////////////////////////
922
- /* UAParser.js v1.0.41
923
- Copyright © 2012-2025 Faisal Salman <f@faisalman.com>
924
- MIT License */ /*
925
- Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.
926
- Supports browser & node.js environment.
927
- Demo : https://faisalman.github.io/ua-parser-js
928
- Source : https://github.com/faisalman/ua-parser-js */
929
- /////////////////////////////////////////////////////////////////////////////////
930
-
931
- (function (window, undefined) {
932
- 'use strict';
933
-
934
- //////////////
935
- // Constants
936
- /////////////
937
- var LIBVERSION = '1.0.41',
938
- EMPTY = '',
939
- UNKNOWN = '?',
940
- FUNC_TYPE = 'function',
941
- UNDEF_TYPE = 'undefined',
942
- OBJ_TYPE = 'object',
943
- STR_TYPE = 'string',
944
- MAJOR = 'major',
945
- MODEL = 'model',
946
- NAME = 'name',
947
- TYPE = 'type',
948
- VENDOR = 'vendor',
949
- VERSION = 'version',
950
- ARCHITECTURE = 'architecture',
951
- CONSOLE = 'console',
952
- MOBILE = 'mobile',
953
- TABLET = 'tablet',
954
- SMARTTV = 'smarttv',
955
- WEARABLE = 'wearable',
956
- EMBEDDED = 'embedded',
957
- UA_MAX_LENGTH = 500;
958
- var AMAZON = 'Amazon',
959
- APPLE = 'Apple',
960
- ASUS = 'ASUS',
961
- BLACKBERRY = 'BlackBerry',
962
- BROWSER = 'Browser',
963
- CHROME = 'Chrome',
964
- EDGE = 'Edge',
965
- FIREFOX = 'Firefox',
966
- GOOGLE = 'Google',
967
- HONOR = 'Honor',
968
- HUAWEI = 'Huawei',
969
- LENOVO = 'Lenovo',
970
- LG = 'LG',
971
- MICROSOFT = 'Microsoft',
972
- MOTOROLA = 'Motorola',
973
- NVIDIA = 'Nvidia',
974
- ONEPLUS = 'OnePlus',
975
- OPERA = 'Opera',
976
- OPPO = 'OPPO',
977
- SAMSUNG = 'Samsung',
978
- SHARP = 'Sharp',
979
- SONY = 'Sony',
980
- XIAOMI = 'Xiaomi',
981
- ZEBRA = 'Zebra',
982
- FACEBOOK = 'Facebook',
983
- CHROMIUM_OS = 'Chromium OS',
984
- MAC_OS = 'Mac OS',
985
- SUFFIX_BROWSER = ' Browser';
986
-
987
- ///////////
988
- // Helper
989
- //////////
990
-
991
- var extend = function (regexes, extensions) {
992
- var mergedRegexes = {};
993
- for (var i in regexes) {
994
- if (extensions[i] && extensions[i].length % 2 === 0) {
995
- mergedRegexes[i] = extensions[i].concat(regexes[i]);
996
- } else {
997
- mergedRegexes[i] = regexes[i];
998
- }
999
- }
1000
- return mergedRegexes;
1001
- },
1002
- enumerize = function (arr) {
1003
- var enums = {};
1004
- for (var i = 0; i < arr.length; i++) {
1005
- enums[arr[i].toUpperCase()] = arr[i];
1006
- }
1007
- return enums;
1008
- },
1009
- has = function (str1, str2) {
1010
- return typeof str1 === STR_TYPE ? lowerize(str2).indexOf(lowerize(str1)) !== -1 : false;
1011
- },
1012
- lowerize = function (str) {
1013
- return str.toLowerCase();
1014
- },
1015
- majorize = function (version) {
1016
- return typeof version === STR_TYPE ? version.replace(/[^\d\.]/g, EMPTY).split('.')[0] : undefined;
1017
- },
1018
- trim = function (str, len) {
1019
- if (typeof str === STR_TYPE) {
1020
- str = str.replace(/^\s\s*/, EMPTY);
1021
- return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
1022
- }
1023
- };
1024
-
1025
- ///////////////
1026
- // Map helper
1027
- //////////////
1028
-
1029
- var rgxMapper = function (ua, arrays) {
1030
- var i = 0,
1031
- j,
1032
- k,
1033
- p,
1034
- q,
1035
- matches,
1036
- match;
1037
-
1038
- // loop through all regexes maps
1039
- while (i < arrays.length && !matches) {
1040
- var regex = arrays[i],
1041
- // even sequence (0,2,4,..)
1042
- props = arrays[i + 1]; // odd sequence (1,3,5,..)
1043
- j = k = 0;
1044
-
1045
- // try matching uastring with regexes
1046
- while (j < regex.length && !matches) {
1047
- if (!regex[j]) {
1048
- break;
1049
- }
1050
- matches = regex[j++].exec(ua);
1051
- if (!!matches) {
1052
- for (p = 0; p < props.length; p++) {
1053
- match = matches[++k];
1054
- q = props[p];
1055
- // check if given property is actually array
1056
- if (typeof q === OBJ_TYPE && q.length > 0) {
1057
- if (q.length === 2) {
1058
- if (typeof q[1] == FUNC_TYPE) {
1059
- // assign modified match
1060
- this[q[0]] = q[1].call(this, match);
1061
- } else {
1062
- // assign given value, ignore regex match
1063
- this[q[0]] = q[1];
1064
- }
1065
- } else if (q.length === 3) {
1066
- // check whether function or regex
1067
- if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {
1068
- // call function (usually string mapper)
1069
- this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;
1070
- } else {
1071
- // sanitize match using given regex
1072
- this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;
1073
- }
1074
- } else if (q.length === 4) {
1075
- this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;
1076
- }
1077
- } else {
1078
- this[q] = match ? match : undefined;
1079
- }
1080
- }
1081
- }
1082
- }
1083
- i += 2;
1084
- }
1085
- },
1086
- strMapper = function (str, map) {
1087
- for (var i in map) {
1088
- // check if current value is array
1089
- if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
1090
- for (var j = 0; j < map[i].length; j++) {
1091
- if (has(map[i][j], str)) {
1092
- return i === UNKNOWN ? undefined : i;
1093
- }
1094
- }
1095
- } else if (has(map[i], str)) {
1096
- return i === UNKNOWN ? undefined : i;
1097
- }
1098
- }
1099
- return map.hasOwnProperty('*') ? map['*'] : str;
1100
- };
1101
-
1102
- ///////////////
1103
- // String map
1104
- //////////////
1105
-
1106
- // Safari < 3.0
1107
- var oldSafariMap = {
1108
- '1.0': '/8',
1109
- '1.2': '/1',
1110
- '1.3': '/3',
1111
- '2.0': '/412',
1112
- '2.0.2': '/416',
1113
- '2.0.3': '/417',
1114
- '2.0.4': '/419',
1115
- '?': '/'
1116
- },
1117
- windowsVersionMap = {
1118
- 'ME': '4.90',
1119
- 'NT 3.11': 'NT3.51',
1120
- 'NT 4.0': 'NT4.0',
1121
- '2000': 'NT 5.0',
1122
- 'XP': ['NT 5.1', 'NT 5.2'],
1123
- 'Vista': 'NT 6.0',
1124
- '7': 'NT 6.1',
1125
- '8': 'NT 6.2',
1126
- '8.1': 'NT 6.3',
1127
- '10': ['NT 6.4', 'NT 10.0'],
1128
- 'RT': 'ARM'
1129
- };
1130
-
1131
- //////////////
1132
- // Regex map
1133
- /////////////
1134
-
1135
- var regexes = {
1136
- browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i // Chrome for Android/iOS
1137
- ], [VERSION, [NAME, 'Chrome']], [/edg(?:e|ios|a)?\/([\w\.]+)/i // Microsoft Edge
1138
- ], [VERSION, [NAME, 'Edge']], [
1139
- // Presto based
1140
- /(opera mini)\/([-\w\.]+)/i,
1141
- // Opera Mini
1142
- /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,
1143
- // Opera Mobi/Tablet
1144
- /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i // Opera
1145
- ], [NAME, VERSION], [/opios[\/ ]+([\w\.]+)/i // Opera mini on iphone >= 8.0
1146
- ], [VERSION, [NAME, OPERA + ' Mini']], [/\bop(?:rg)?x\/([\w\.]+)/i // Opera GX
1147
- ], [VERSION, [NAME, OPERA + ' GX']], [/\bopr\/([\w\.]+)/i // Opera Webkit
1148
- ], [VERSION, [NAME, OPERA]], [
1149
- // Mixed
1150
- /\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i // Baidu
1151
- ], [VERSION, [NAME, 'Baidu']], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i // Maxthon
1152
- ], [VERSION, [NAME, 'Maxthon']], [/(kindle)\/([\w\.]+)/i,
1153
- // Kindle
1154
- /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,
1155
- // Lunascape/Maxthon/Netfront/Jasmine/Blazer/Sleipnir
1156
- // Trident based
1157
- /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,
1158
- // Avant/IEMobile/SlimBrowser/SlimBoat/Slimjet
1159
- /(?:ms|\()(ie) ([\w\.]+)/i,
1160
- // Internet Explorer
1161
-
1162
- // Blink/Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon
1163
- /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,
1164
- // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ//Vivaldi/DuckDuckGo/Klar/Helio/Dragon
1165
- /(heytap|ovi|115)browser\/([\d\.]+)/i,
1166
- // HeyTap/Ovi/115
1167
- /(weibo)__([\d\.]+)/i // Weibo
1168
- ], [NAME, VERSION], [/quark(?:pc)?\/([-\w\.]+)/i // Quark
1169
- ], [VERSION, [NAME, 'Quark']], [/\bddg\/([\w\.]+)/i // DuckDuckGo
1170
- ], [VERSION, [NAME, 'DuckDuckGo']], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i // UCBrowser
1171
- ], [VERSION, [NAME, 'UC' + BROWSER]], [/microm.+\bqbcore\/([\w\.]+)/i,
1172
- // WeChat Desktop for Windows Built-in Browser
1173
- /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i // WeChat
1174
- ], [VERSION, [NAME, 'WeChat']], [/konqueror\/([\w\.]+)/i // Konqueror
1175
- ], [VERSION, [NAME, 'Konqueror']], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i // IE11
1176
- ], [VERSION, [NAME, 'IE']], [/ya(?:search)?browser\/([\w\.]+)/i // Yandex
1177
- ], [VERSION, [NAME, 'Yandex']], [/slbrowser\/([\w\.]+)/i // Smart Lenovo Browser
1178
- ], [VERSION, [NAME, 'Smart Lenovo ' + BROWSER]], [/(avast|avg)\/([\w\.]+)/i // Avast/AVG Secure Browser
1179
- ], [[NAME, /(.+)/, '$1 Secure ' + BROWSER], VERSION], [/\bfocus\/([\w\.]+)/i // Firefox Focus
1180
- ], [VERSION, [NAME, FIREFOX + ' Focus']], [/\bopt\/([\w\.]+)/i // Opera Touch
1181
- ], [VERSION, [NAME, OPERA + ' Touch']], [/coc_coc\w+\/([\w\.]+)/i // Coc Coc Browser
1182
- ], [VERSION, [NAME, 'Coc Coc']], [/dolfin\/([\w\.]+)/i // Dolphin
1183
- ], [VERSION, [NAME, 'Dolphin']], [/coast\/([\w\.]+)/i // Opera Coast
1184
- ], [VERSION, [NAME, OPERA + ' Coast']], [/miuibrowser\/([\w\.]+)/i // MIUI Browser
1185
- ], [VERSION, [NAME, 'MIUI' + SUFFIX_BROWSER]], [/fxios\/([\w\.-]+)/i // Firefox for iOS
1186
- ], [VERSION, [NAME, FIREFOX]], [/\bqihoobrowser\/?([\w\.]*)/i // 360
1187
- ], [VERSION, [NAME, '360']], [/\b(qq)\/([\w\.]+)/i // QQ
1188
- ], [[NAME, /(.+)/, '$1Browser'], VERSION], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[NAME, /(.+)/, '$1' + SUFFIX_BROWSER], VERSION], [
1189
- // Oculus/Sailfish/HuaweiBrowser/VivoBrowser/PicoBrowser
1190
- /samsungbrowser\/([\w\.]+)/i // Samsung Internet
1191
- ], [VERSION, [NAME, SAMSUNG + ' Internet']], [/metasr[\/ ]?([\d\.]+)/i // Sogou Explorer
1192
- ], [VERSION, [NAME, 'Sogou Explorer']], [/(sogou)mo\w+\/([\d\.]+)/i // Sogou Mobile
1193
- ], [[NAME, 'Sogou Mobile'], VERSION], [/(electron)\/([\w\.]+) safari/i,
1194
- // Electron-based App
1195
- /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,
1196
- // Tesla
1197
- /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i // QQ/2345
1198
- ], [NAME, VERSION], [/(lbbrowser|rekonq)/i,
1199
- // LieBao Browser/Rekonq
1200
- /\[(linkedin)app\]/i // LinkedIn App for iOS & Android
1201
- ], [NAME], [/ome\/([\w\.]+) \w* ?(iron) saf/i,
1202
- // Iron
1203
- /ome\/([\w\.]+).+qihu (360)[es]e/i // 360
1204
- ], [VERSION, NAME], [
1205
- // WebView
1206
- /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i // Facebook App for iOS & Android
1207
- ], [[NAME, FACEBOOK], VERSION], [/(Klarna)\/([\w\.]+)/i,
1208
- // Klarna Shopping Browser for iOS & Android
1209
- /(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
1210
- // Kakao App
1211
- /(naver)\(.*?(\d+\.[\w\.]+).*\)/i,
1212
- // Naver InApp
1213
- /(daum)apps[\/ ]([\w\.]+)/i,
1214
- // Daum App
1215
- /safari (line)\/([\w\.]+)/i,
1216
- // Line App for iOS
1217
- /\b(line)\/([\w\.]+)\/iab/i,
1218
- // Line App for Android
1219
- /(alipay)client\/([\w\.]+)/i,
1220
- // Alipay
1221
- /(twitter)(?:and| f.+e\/([\w\.]+))/i,
1222
- // Twitter
1223
- /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i // Chromium/Instagram/Snapchat
1224
- ], [NAME, VERSION], [/\bgsa\/([\w\.]+) .*safari\//i // Google Search Appliance on iOS
1225
- ], [VERSION, [NAME, 'GSA']], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i // TikTok
1226
- ], [VERSION, [NAME, 'TikTok']], [/headlesschrome(?:\/([\w\.]+)| )/i // Chrome Headless
1227
- ], [VERSION, [NAME, CHROME + ' Headless']], [/ wv\).+(chrome)\/([\w\.]+)/i // Chrome WebView
1228
- ], [[NAME, CHROME + ' WebView'], VERSION], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i // Android Browser
1229
- ], [VERSION, [NAME, 'Android ' + BROWSER]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia
1230
- ], [NAME, VERSION], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i // Mobile Safari
1231
- ], [VERSION, [NAME, 'Mobile Safari']], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile
1232
- ], [VERSION, NAME], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i // Safari < 3.0
1233
- ], [NAME, [VERSION, strMapper, oldSafariMap]], [/(webkit|khtml)\/([\w\.]+)/i], [NAME, VERSION], [
1234
- // Gecko based
1235
- /(navigator|netscape\d?)\/([-\w\.]+)/i // Netscape
1236
- ], [[NAME, 'Netscape'], VERSION], [/(wolvic|librewolf)\/([\w\.]+)/i // Wolvic/LibreWolf
1237
- ], [NAME, VERSION], [/mobile vr; rv:([\w\.]+)\).+firefox/i // Firefox Reality
1238
- ], [VERSION, [NAME, FIREFOX + ' Reality']], [/ekiohf.+(flow)\/([\w\.]+)/i,
1239
- // Flow
1240
- /(swiftfox)/i,
1241
- // Swiftfox
1242
- /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,
1243
- // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror
1244
- /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,
1245
- // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix
1246
- /(firefox)\/([\w\.]+)/i,
1247
- // Other Firefox-based
1248
- /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,
1249
- // Mozilla
1250
-
1251
- // Other
1252
- /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
1253
- // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Obigo/Mosaic/Go/ICE/UP.Browser/Ladybird
1254
- /\b(links) \(([\w\.]+)/i // Links
1255
- ], [NAME, [VERSION, /_/g, '.']], [/(cobalt)\/([\w\.]+)/i // Cobalt
1256
- ], [NAME, [VERSION, /master.|lts./, ""]]],
1257
- cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i // AMD64 (x64)
1258
- ], [[ARCHITECTURE, 'amd64']], [/(ia32(?=;))/i,
1259
- // IA32 (quicktime)
1260
- /\b((i[346]|x)86)(pc)?\b/i // IA32 (x86)
1261
- ], [[ARCHITECTURE, 'ia32']], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i // ARM64
1262
- ], [[ARCHITECTURE, 'arm64']], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i // ARMHF
1263
- ], [[ARCHITECTURE, 'armhf']], [
1264
- // PocketPC mistakenly identified as PowerPC
1265
- /( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[ARCHITECTURE, 'arm']], [/((ppc|powerpc)(64)?)( mac|;|\))/i // PowerPC
1266
- ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [/ sun4\w[;\)]/i // SPARC
1267
- ], [[ARCHITECTURE, 'sparc']], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i
1268
- // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC
1269
- ], [[ARCHITECTURE, lowerize]]],
1270
- device: [[
1271
- //////////////////////////
1272
- // MOBILES & TABLETS
1273
- /////////////////////////
1274
-
1275
- // Samsung
1276
- /\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [
1277
- // Apple
1278
- /(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i // iPod/iPhone
1279
- ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [/\((ipad);[-\w\),; ]+apple/i,
1280
- // iPad
1281
- /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [/(macintosh);/i], [MODEL, [VENDOR, APPLE]], [
1282
- // Sharp
1283
- /\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [
1284
- // Honor
1285
- /\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [MODEL, [VENDOR, HONOR], [TYPE, TABLET]], [/honor([-\w ]+)[;\)]/i], [MODEL, [VENDOR, HONOR], [TYPE, MOBILE]], [
1286
- // Huawei
1287
- /\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [
1288
- // Xiaomi
1289
- /oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i // Mi Pad tablets
1290
- ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
1291
- // Xiaomi POCO
1292
- /\b; (\w+) build\/hm\1/i,
1293
- // Xiaomi Hongmi 'numeric' models
1294
- /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,
1295
- // Xiaomi Hongmi
1296
- /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,
1297
- // Xiaomi Redmi
1298
- /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,
1299
- // Xiaomi Redmi 'numeric' models
1300
- /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,
1301
- // Xiaomi Mi
1302
- / ([\w ]+) miui\/v?\d/i], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [
1303
- // OPPO
1304
- /; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [MODEL, [VENDOR, OPPO], [TYPE, MOBILE]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [MODEL, [VENDOR, strMapper, {
1305
- 'OnePlus': ['304', '403', '203'],
1306
- '*': OPPO
1307
- }], [TYPE, TABLET]], [
1308
- // Vivo
1309
- /vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [
1310
- // Realme
1311
- /\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [
1312
- // Motorola
1313
- /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [
1314
- // LG
1315
- /((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [
1316
- // Lenovo
1317
- /(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [MODEL, [VENDOR, LENOVO], [TYPE, TABLET]], [
1318
- // Nokia
1319
- /(nokia) (t[12][01])/i], [VENDOR, MODEL, [TYPE, TABLET]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[MODEL, /_/g, ' '], [TYPE, MOBILE], [VENDOR, 'Nokia']], [
1320
- // Google
1321
- /(pixel (c|tablet))\b/i // Google Pixel C/Tablet
1322
- ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i // Google Pixel
1323
- ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [
1324
- // Sony
1325
- /droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [
1326
- // OnePlus
1327
- / (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [MODEL, [VENDOR, ONEPLUS], [TYPE, MOBILE]], [
1328
- // Amazon
1329
- /(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,
1330
- // Kindle Fire without Silk / Echo Show
1331
- /(kf[a-z]+)( bui|\)).+silk\//i // Kindle Fire HD
1332
- ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i // Fire Phone
1333
- ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [
1334
- // BlackBerry
1335
- /(playbook);[-\w\),; ]+(rim)/i // BlackBerry PlayBook
1336
- ], [MODEL, VENDOR, [TYPE, TABLET]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i // BlackBerry 10
1337
- ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [
1338
- // Asus
1339
- /(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [
1340
- // HTC
1341
- /(nexus 9)/i // HTC Nexus 9
1342
- ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
1343
- // HTC
1344
-
1345
- // ZTE
1346
- /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
1347
- ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [
1348
- // TCL
1349
- /droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [MODEL, [VENDOR, 'TCL'], [TYPE, TABLET]], [
1350
- // itel
1351
- /(itel) ((\w+))/i], [[VENDOR, lowerize], MODEL, [TYPE, strMapper, {
1352
- 'tablet': ['p10001l', 'w7001'],
1353
- '*': 'mobile'
1354
- }]], [
1355
- // Acer
1356
- /droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [
1357
- // Meizu
1358
- /droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [
1359
- // Ulefone
1360
- /; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [MODEL, [VENDOR, 'Ulefone'], [TYPE, MOBILE]], [
1361
- // Energizer
1362
- /; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [MODEL, [VENDOR, 'Energizer'], [TYPE, MOBILE]], [
1363
- // Cat
1364
- /; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [MODEL, [VENDOR, 'Cat'], [TYPE, MOBILE]], [
1365
- // Smartfren
1366
- /((?:new )?andromax[\w- ]+)(?: bui|\))/i], [MODEL, [VENDOR, 'Smartfren'], [TYPE, MOBILE]], [
1367
- // Nothing
1368
- /droid.+; (a(?:015|06[35]|142p?))/i], [MODEL, [VENDOR, 'Nothing'], [TYPE, MOBILE]], [
1369
- // Archos
1370
- /; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [MODEL, [VENDOR, 'Archos'], [TYPE, TABLET]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [MODEL, [VENDOR, 'Archos'], [TYPE, MOBILE]], [
1371
- // MIXED
1372
- /(imo) (tab \w+)/i,
1373
- // IMO
1374
- /(infinix) (x1101b?)/i // Infinix XPad
1375
- ], [VENDOR, MODEL, [TYPE, TABLET]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
1376
- // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron/Infinix/Tecno/Micromax/Advan
1377
- /; (hmd|imo) ([\w ]+?)(?: bui|\))/i,
1378
- // HMD/IMO
1379
- /(hp) ([\w ]+\w)/i,
1380
- // HP iPAQ
1381
- /(microsoft); (lumia[\w ]+)/i,
1382
- // Microsoft Lumia
1383
- /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,
1384
- // Lenovo
1385
- /(oppo) ?([\w ]+) bui/i // OPPO
1386
- ], [VENDOR, MODEL, [TYPE, MOBILE]], [/(kobo)\s(ereader|touch)/i,
1387
- // Kobo
1388
- /(hp).+(touchpad(?!.+tablet)|tablet)/i,
1389
- // HP TouchPad
1390
- /(kindle)\/([\w\.]+)/i,
1391
- // Kindle
1392
- /(nook)[\w ]+build\/(\w+)/i,
1393
- // Nook
1394
- /(dell) (strea[kpr\d ]*[\dko])/i,
1395
- // Dell Streak
1396
- /(le[- ]+pan)[- ]+(\w{1,9}) bui/i,
1397
- // Le Pan Tablets
1398
- /(trinity)[- ]*(t\d{3}) bui/i,
1399
- // Trinity Tablets
1400
- /(gigaset)[- ]+(q\w{1,9}) bui/i,
1401
- // Gigaset Tablets
1402
- /(vodafone) ([\w ]+)(?:\)| bui)/i // Vodafone
1403
- ], [VENDOR, MODEL, [TYPE, TABLET]], [/(surface duo)/i // Surface Duo
1404
- ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i // Fairphone
1405
- ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [/(u304aa)/i // AT&T
1406
- ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [/\bsie-(\w*)/i // Siemens
1407
- ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [/\b(rct\w+) b/i // RCA Tablets
1408
- ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [/\b(venue[\d ]{2,7}) b/i // Dell Venue Tablets
1409
- ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [/\b(q(?:mv|ta)\w+) b/i // Verizon Tablet
1410
- ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i // Barnes & Noble Tablet
1411
- ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [/\b(tm\d{3}\w+) b/i], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [/\b(k88) b/i // ZTE K Series Tablet
1412
- ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [/\b(nx\d{3}j) b/i // ZTE Nubia
1413
- ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [/\b(gen\d{3}) b.+49h/i // Swiss GEN Mobile
1414
- ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [/\b(zur\d{3}) b/i // Swiss ZUR Tablet
1415
- ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [/\b((zeki)?tb.*\b) b/i // Zeki Tablets
1416
- ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i // Dragon Touch Tablet
1417
- ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [/\b(ns-?\w{0,9}) b/i // Insignia Tablets
1418
- ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [/\b((nxa|next)-?\w{0,9}) b/i // NextBook Tablets
1419
- ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones
1420
- ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [/\b(lvtel\-)?(v1[12]) b/i // LvTel Phones
1421
- ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [/\b(ph-1) /i // Essential PH-1
1422
- ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [/\b(v(100md|700na|7011|917g).*\b) b/i // Envizen Tablets
1423
- ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [/\b(trio[-\w\. ]+) b/i // MachSpeed Tablets
1424
- ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [/\btu_(1491) b/i // Rotor Tablets
1425
- ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i // Nvidia Tablets
1426
- ], [MODEL, [VENDOR, NVIDIA], [TYPE, TABLET]], [/(sprint) (\w+)/i // Sprint Phones
1427
- ], [VENDOR, MODEL, [TYPE, MOBILE]], [/(kin\.[onetw]{3})/i // Microsoft Kin
1428
- ], [[MODEL, /\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i // Zebra
1429
- ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [
1430
- ///////////////////
1431
- // SMARTTVS
1432
- ///////////////////
1433
-
1434
- /smart-tv.+(samsung)/i // Samsung
1435
- ], [VENDOR, [TYPE, SMARTTV]], [/hbbtv.+maple;(\d+)/i], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i // LG SmartTV
1436
- ], [[VENDOR, LG], [TYPE, SMARTTV]], [/(apple) ?tv/i // Apple TV
1437
- ], [VENDOR, [MODEL, APPLE + ' TV'], [TYPE, SMARTTV]], [/crkey/i // Google Chromecast
1438
- ], [[MODEL, CHROME + 'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [/droid.+aft(\w+)( bui|\))/i // Fire TV
1439
- ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [/(shield \w+ tv)/i // Nvidia Shield TV
1440
- ], [MODEL, [VENDOR, NVIDIA], [TYPE, SMARTTV]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i // Sharp
1441
- ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]], [/(bravia[\w ]+)( bui|\))/i // Sony
1442
- ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [/(mi(tv|box)-?\w+) bui/i // Xiaomi
1443
- ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [/Hbbtv.*(technisat) (.*);/i // TechniSAT
1444
- ], [VENDOR, MODEL, [TYPE, SMARTTV]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,
1445
- // Roku
1446
- /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i // HbbTV devices
1447
- ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [
1448
- // SmartTV from Unidentified Vendors
1449
- /droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [MODEL, [TYPE, SMARTTV]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[TYPE, SMARTTV]], [
1450
- ///////////////////
1451
- // CONSOLES
1452
- ///////////////////
1453
-
1454
- /(ouya)/i,
1455
- // Ouya
1456
- /(nintendo) ([wids3utch]+)/i // Nintendo
1457
- ], [VENDOR, MODEL, [TYPE, CONSOLE]], [/droid.+; (shield)( bui|\))/i // Nvidia Portable
1458
- ], [MODEL, [VENDOR, NVIDIA], [TYPE, CONSOLE]], [/(playstation \w+)/i // Playstation
1459
- ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i // Microsoft Xbox
1460
- ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [
1461
- ///////////////////
1462
- // WEARABLES
1463
- ///////////////////
1464
-
1465
- /\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i // Samsung Galaxy Watch
1466
- ], [MODEL, [VENDOR, SAMSUNG], [TYPE, WEARABLE]], [/((pebble))app/i,
1467
- // Pebble
1468
- /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i // Asus ZenWatch / LG Watch / Pixel Watch
1469
- ], [VENDOR, MODEL, [TYPE, WEARABLE]], [/(ow(?:19|20)?we?[1-3]{1,3})/i // Oppo Watch
1470
- ], [MODEL, [VENDOR, OPPO], [TYPE, WEARABLE]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i // Apple Watch
1471
- ], [MODEL, [VENDOR, APPLE], [TYPE, WEARABLE]], [/(opwwe\d{3})/i // OnePlus Watch
1472
- ], [MODEL, [VENDOR, ONEPLUS], [TYPE, WEARABLE]], [/(moto 360)/i // Motorola 360
1473
- ], [MODEL, [VENDOR, MOTOROLA], [TYPE, WEARABLE]], [/(smartwatch 3)/i // Sony SmartWatch
1474
- ], [MODEL, [VENDOR, SONY], [TYPE, WEARABLE]], [/(g watch r)/i // LG G Watch R
1475
- ], [MODEL, [VENDOR, LG], [TYPE, WEARABLE]], [/droid.+; (wt63?0{2,3})\)/i], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [
1476
- ///////////////////
1477
- // XR
1478
- ///////////////////
1479
-
1480
- /droid.+; (glass) \d/i // Google Glass
1481
- ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [/(pico) (4|neo3(?: link|pro)?)/i // Pico
1482
- ], [VENDOR, MODEL, [TYPE, WEARABLE]], [/; (quest( \d| pro)?)/i // Oculus Quest
1483
- ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [
1484
- ///////////////////
1485
- // EMBEDDED
1486
- ///////////////////
1487
-
1488
- /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i // Tesla
1489
- ], [VENDOR, [TYPE, EMBEDDED]], [/(aeobc)\b/i // Echo Dot
1490
- ], [MODEL, [VENDOR, AMAZON], [TYPE, EMBEDDED]], [/(homepod).+mac os/i // Apple HomePod
1491
- ], [MODEL, [VENDOR, APPLE], [TYPE, EMBEDDED]], [/windows iot/i], [[TYPE, EMBEDDED]], [
1492
- ////////////////////
1493
- // MIXED (GENERIC)
1494
- ///////////////////
1495
-
1496
- /droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors
1497
- ], [MODEL, [TYPE, MOBILE]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors
1498
- ], [MODEL, [TYPE, TABLET]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i // Unidentifiable Tablet
1499
- ], [[TYPE, TABLET]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile
1500
- ], [[TYPE, MOBILE]], [/droid .+?; ([\w\. -]+)( bui|\))/i // Generic Android Device
1501
- ], [MODEL, [VENDOR, 'Generic']]],
1502
- engine: [[/windows.+ edge\/([\w\.]+)/i // EdgeHTML
1503
- ], [VERSION, [NAME, EDGE + 'HTML']], [/(arkweb)\/([\w\.]+)/i // ArkWeb
1504
- ], [NAME, VERSION], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i // Blink
1505
- ], [VERSION, [NAME, 'Blink']], [/(presto)\/([\w\.]+)/i,
1506
- // Presto
1507
- /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,
1508
- // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna/Servo
1509
- /ekioh(flow)\/([\w\.]+)/i,
1510
- // Flow
1511
- /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,
1512
- // KHTML/Tasman/Links
1513
- /(icab)[\/ ]([23]\.[\d\.]+)/i,
1514
- // iCab
1515
-
1516
- /\b(libweb)/i // LibWeb
1517
- ], [NAME, VERSION], [/ladybird\//i], [[NAME, 'LibWeb']], [/rv\:([\w\.]{1,9})\b.+(gecko)/i // Gecko
1518
- ], [VERSION, NAME]],
1519
- os: [[
1520
- // Windows
1521
- /microsoft (windows) (vista|xp)/i // Windows (iTunes)
1522
- ], [NAME, VERSION], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i // Windows Phone
1523
- ], [NAME, [VERSION, strMapper, windowsVersionMap]], [/windows nt 6\.2; (arm)/i,
1524
- // Windows RT
1525
- /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[VERSION, strMapper, windowsVersionMap], [NAME, 'Windows']], [
1526
- // iOS/macOS
1527
- /[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
1528
- // iOS
1529
- /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i // Mac OS
1530
- ], [[NAME, MAC_OS], [VERSION, /_/g, '.']], [
1531
- // Mobile OSes
1532
- /droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS
1533
- ], [VERSION, NAME], [/(ubuntu) ([\w\.]+) like android/i // Ubuntu Touch
1534
- ], [[NAME, /(.+)/, '$1 Touch'], VERSION], [
1535
- // Android/Blackberry/WebOS/QNX/Bada/RIM/KaiOS/Maemo/MeeGo/S40/Sailfish OS/OpenHarmony/Tizen
1536
- /(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [NAME, VERSION], [/\(bb(10);/i // BlackBerry 10
1537
- ], [VERSION, [NAME, BLACKBERRY]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i // Symbian
1538
- ], [VERSION, [NAME, 'Symbian']], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i // Firefox OS
1539
- ], [VERSION, [NAME, FIREFOX + ' OS']], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i // WebOS
1540
- ], [VERSION, [NAME, 'webOS']], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i // watchOS
1541
- ], [VERSION, [NAME, 'watchOS']], [
1542
- // Google Chromecast
1543
- /crkey\/([\d\.]+)/i // Google Chromecast
1544
- ], [VERSION, [NAME, CHROME + 'cast']], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i // Chromium OS
1545
- ], [[NAME, CHROMIUM_OS], VERSION], [
1546
- // Smart TVs
1547
- /panasonic;(viera)/i,
1548
- // Panasonic Viera
1549
- /(netrange)mmh/i,
1550
- // Netrange
1551
- /(nettv)\/(\d+\.[\w\.]+)/i,
1552
- // NetTV
1553
-
1554
- // Console
1555
- /(nintendo|playstation) ([wids345portablevuch]+)/i,
1556
- // Nintendo/Playstation
1557
- /(xbox); +xbox ([^\);]+)/i,
1558
- // Microsoft Xbox (360, One, X, S, Series X, Series S)
1559
-
1560
- // Other
1561
- /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,
1562
- // Joli/Palm
1563
- /(mint)[\/\(\) ]?(\w*)/i,
1564
- // Mint
1565
- /(mageia|vectorlinux)[; ]/i,
1566
- // Mageia/VectorLinux
1567
- /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,
1568
- // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire
1569
- /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,
1570
- // Hurd/Linux
1571
- /(gnu) ?([\w\.]*)/i,
1572
- // GNU
1573
- /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
1574
- // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly
1575
- /(haiku) (\w+)/i // Haiku
1576
- ], [NAME, VERSION], [/(sunos) ?([\w\.\d]*)/i // Solaris
1577
- ], [[NAME, 'Solaris'], VERSION], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
1578
- // Solaris
1579
- /(aix) ((\d)(?=\.|\)| )[\w\.])*/i,
1580
- // AIX
1581
- /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,
1582
- // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS
1583
- /(unix) ?([\w\.]*)/i // UNIX
1584
- ], [NAME, VERSION]]
1585
- };
1586
-
1587
- /////////////////
1588
- // Constructor
1589
- ////////////////
1590
-
1591
- var UAParser = function (ua, extensions) {
1592
- if (typeof ua === OBJ_TYPE) {
1593
- extensions = ua;
1594
- ua = undefined;
1595
- }
1596
- if (!(this instanceof UAParser)) {
1597
- return new UAParser(ua, extensions).getResult();
1598
- }
1599
- var _navigator = typeof window !== UNDEF_TYPE && window.navigator ? window.navigator : undefined;
1600
- var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
1601
- var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined;
1602
- var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
1603
- var _isSelfNav = _navigator && _navigator.userAgent == _ua;
1604
- this.getBrowser = function () {
1605
- var _browser = {};
1606
- _browser[NAME] = undefined;
1607
- _browser[VERSION] = undefined;
1608
- rgxMapper.call(_browser, _ua, _rgxmap.browser);
1609
- _browser[MAJOR] = majorize(_browser[VERSION]);
1610
- // Brave-specific detection
1611
- if (_isSelfNav && _navigator && _navigator.brave && typeof _navigator.brave.isBrave == FUNC_TYPE) {
1612
- _browser[NAME] = 'Brave';
1613
- }
1614
- return _browser;
1615
- };
1616
- this.getCPU = function () {
1617
- var _cpu = {};
1618
- _cpu[ARCHITECTURE] = undefined;
1619
- rgxMapper.call(_cpu, _ua, _rgxmap.cpu);
1620
- return _cpu;
1621
- };
1622
- this.getDevice = function () {
1623
- var _device = {};
1624
- _device[VENDOR] = undefined;
1625
- _device[MODEL] = undefined;
1626
- _device[TYPE] = undefined;
1627
- rgxMapper.call(_device, _ua, _rgxmap.device);
1628
- if (_isSelfNav && !_device[TYPE] && _uach && _uach.mobile) {
1629
- _device[TYPE] = MOBILE;
1630
- }
1631
- // iPadOS-specific detection: identified as Mac, but has some iOS-only properties
1632
- if (_isSelfNav && _device[MODEL] == 'Macintosh' && _navigator && typeof _navigator.standalone !== UNDEF_TYPE && _navigator.maxTouchPoints && _navigator.maxTouchPoints > 2) {
1633
- _device[MODEL] = 'iPad';
1634
- _device[TYPE] = TABLET;
1635
- }
1636
- return _device;
1637
- };
1638
- this.getEngine = function () {
1639
- var _engine = {};
1640
- _engine[NAME] = undefined;
1641
- _engine[VERSION] = undefined;
1642
- rgxMapper.call(_engine, _ua, _rgxmap.engine);
1643
- return _engine;
1644
- };
1645
- this.getOS = function () {
1646
- var _os = {};
1647
- _os[NAME] = undefined;
1648
- _os[VERSION] = undefined;
1649
- rgxMapper.call(_os, _ua, _rgxmap.os);
1650
- if (_isSelfNav && !_os[NAME] && _uach && _uach.platform && _uach.platform != 'Unknown') {
1651
- _os[NAME] = _uach.platform.replace(/chrome os/i, CHROMIUM_OS).replace(/macos/i, MAC_OS); // backward compatibility
1652
- }
1653
- return _os;
1654
- };
1655
- this.getResult = function () {
1656
- return {
1657
- ua: this.getUA(),
1658
- browser: this.getBrowser(),
1659
- engine: this.getEngine(),
1660
- os: this.getOS(),
1661
- device: this.getDevice(),
1662
- cpu: this.getCPU()
1663
- };
1664
- };
1665
- this.getUA = function () {
1666
- return _ua;
1667
- };
1668
- this.setUA = function (ua) {
1669
- _ua = typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH ? trim(ua, UA_MAX_LENGTH) : ua;
1670
- return this;
1671
- };
1672
- this.setUA(_ua);
1673
- return this;
1674
- };
1675
- UAParser.VERSION = LIBVERSION;
1676
- UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);
1677
- UAParser.CPU = enumerize([ARCHITECTURE]);
1678
- UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);
1679
- UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);
1680
-
1681
- ///////////
1682
- // Export
1683
- //////////
1684
-
1685
- // check js environment
1686
- if (typeof exports !== UNDEF_TYPE) {
1687
- // nodejs env
1688
- if ("object" !== UNDEF_TYPE && module.exports) {
1689
- exports = module.exports = UAParser;
1690
- }
1691
- exports.UAParser = UAParser;
1692
- } else {
1693
- // requirejs env (optional)
1694
- if ("function" === FUNC_TYPE && __webpack_require__.amdO) {
1695
- !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
1696
- return UAParser;
1697
- }).call(exports, __webpack_require__, exports, module),
1698
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
1699
- } else if (typeof window !== UNDEF_TYPE) {
1700
- // browser env
1701
- window.UAParser = UAParser;
1702
- }
1703
- }
1704
-
1705
- // jQuery/Zepto specific (optional)
1706
- // Note:
1707
- // In AMD env the global scope should be kept clean, but jQuery is an exception.
1708
- // jQuery always exports to global scope, unless jQuery.noConflict(true) is used,
1709
- // and we should catch that.
1710
- var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);
1711
- if ($ && !$.ua) {
1712
- var parser = new UAParser();
1713
- $.ua = parser.getResult();
1714
- $.ua.get = function () {
1715
- return parser.getUA();
1716
- };
1717
- $.ua.set = function (ua) {
1718
- parser.setUA(ua);
1719
- var result = parser.getResult();
1720
- for (var prop in result) {
1721
- $.ua[prop] = result[prop];
1722
- }
1723
- };
1724
- }
1725
- })(typeof window === 'object' ? window : this);
1726
-
1727
- /***/ }),
1728
-
1729
- /***/ 5313:
1730
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1731
-
1732
- "use strict";
1733
- __webpack_require__.r(__webpack_exports__);
1734
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
1735
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
1736
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
1737
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
1738
- // Imports
1739
-
1740
-
1741
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
1742
- // Module
1743
- ___CSS_LOADER_EXPORT___.push([module.id, ".browser-error-content[data-v-cc0260f0]{text-align:center;padding:20px 0}.error-icon[data-v-cc0260f0]{font-size:48px;margin-bottom:16px}.error-title[data-v-cc0260f0]{font-size:16px;font-weight:700;color:#333;margin-bottom:12px}.browser-info[data-v-cc0260f0]{background:#f5f5f5;padding:10px;border-radius:4px;margin:10px 0;text-align:left;display:inline-block}.browser-info p[data-v-cc0260f0]{margin:0}.suggestion[data-v-cc0260f0]{color:#1890ff;font-weight:700;margin-top:10px}.error-detail[data-v-cc0260f0]{color:#999;font-size:12px;margin-top:10px}", ""]);
1744
- // Exports
1745
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
1746
-
1747
-
1748
- /***/ }),
1749
-
1750
- /***/ 5397:
1751
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1752
-
1753
- "use strict";
1754
-
1755
- // toObject with fallback for non-array-like ES3 strings
1756
- var IndexedObject = __webpack_require__(7055);
1757
- var requireObjectCoercible = __webpack_require__(7750);
1758
-
1759
- module.exports = function (it) {
1760
- return IndexedObject(requireObjectCoercible(it));
1761
- };
1762
-
1763
-
1764
- /***/ }),
1765
-
1766
- /***/ 5532:
1767
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1768
-
1769
- // style-loader: Adds some css to the DOM by adding a <style> tag
1770
-
1771
- // load the styles
1772
- var content = __webpack_require__(9204);
1773
- if(content.__esModule) content = content.default;
1774
- if(typeof content === 'string') content = [[module.id, content, '']];
1775
- if(content.locals) module.exports = content.locals;
1776
- // add the styles to the DOM
1777
- var add = (__webpack_require__(8459)/* ["default"] */ .A)
1778
- var update = add("3f993574", content, true, {"sourceMap":false,"shadowMode":false});
1779
-
1780
- /***/ }),
1781
-
1782
- /***/ 5610:
1783
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1784
-
1785
- "use strict";
1786
-
1787
- var toIntegerOrInfinity = __webpack_require__(1291);
1788
-
1789
- var max = Math.max;
1790
- var min = Math.min;
1791
-
1792
- // Helper for a popular repeating case of the spec:
1793
- // Let integer be ? ToInteger(index).
1794
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1795
- module.exports = function (index, length) {
1796
- var integer = toIntegerOrInfinity(index);
1797
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
1798
- };
1799
-
1800
-
1801
- /***/ }),
1802
-
1803
- /***/ 5745:
1804
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1805
-
1806
- "use strict";
1807
-
1808
- var store = __webpack_require__(7629);
1809
-
1810
- module.exports = function (key, value) {
1811
- return store[key] || (store[key] = value || {});
1812
- };
1813
-
1814
-
1815
- /***/ }),
1816
-
1817
- /***/ 5917:
1818
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1819
-
1820
- "use strict";
1821
-
1822
- var DESCRIPTORS = __webpack_require__(3724);
1823
- var fails = __webpack_require__(9039);
1824
- var createElement = __webpack_require__(4055);
1825
-
1826
- // Thanks to IE8 for its funny defineProperty
1827
- module.exports = !DESCRIPTORS && !fails(function () {
1828
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1829
- return Object.defineProperty(createElement('div'), 'a', {
1830
- get: function () { return 7; }
1831
- }).a !== 7;
1832
- });
1833
-
1834
-
1835
- /***/ }),
1836
-
1837
- /***/ 5966:
1838
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1839
-
1840
- "use strict";
1841
-
1842
- var aCallable = __webpack_require__(9306);
1843
- var isNullOrUndefined = __webpack_require__(4117);
1844
-
1845
- // `GetMethod` abstract operation
1846
- // https://tc39.es/ecma262/#sec-getmethod
1847
- module.exports = function (V, P) {
1848
- var func = V[P];
1849
- return isNullOrUndefined(func) ? undefined : aCallable(func);
1850
- };
1851
-
1852
-
1853
- /***/ }),
1854
-
1855
- /***/ 6024:
1856
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1857
-
1858
- // style-loader: Adds some css to the DOM by adding a <style> tag
1859
-
1860
- // load the styles
1861
- var content = __webpack_require__(5313);
1862
- if(content.__esModule) content = content.default;
1863
- if(typeof content === 'string') content = [[module.id, content, '']];
1864
- if(content.locals) module.exports = content.locals;
1865
- // add the styles to the DOM
1866
- var add = (__webpack_require__(8459)/* ["default"] */ .A)
1867
- var update = add("64d5b796", content, true, {"sourceMap":false,"shadowMode":false});
1868
-
1869
- /***/ }),
1870
-
1871
- /***/ 6119:
1872
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1873
-
1874
- "use strict";
1875
-
1876
- var shared = __webpack_require__(5745);
1877
- var uid = __webpack_require__(3392);
1878
-
1879
- var keys = shared('keys');
1880
-
1881
- module.exports = function (key) {
1882
- return keys[key] || (keys[key] = uid(key));
1883
- };
1884
-
1885
-
1886
- /***/ }),
1887
-
1888
- /***/ 6198:
1889
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
1890
-
1891
- "use strict";
1892
-
1893
- var toLength = __webpack_require__(8014);
1894
-
1895
- // `LengthOfArrayLike` abstract operation
1896
- // https://tc39.es/ecma262/#sec-lengthofarraylike
1897
- module.exports = function (obj) {
1898
- return toLength(obj.length);
1899
- };
1900
-
1901
-
1902
- /***/ }),
1903
-
1904
- /***/ 6314:
1905
- /***/ (function(module) {
1906
-
1907
- "use strict";
1908
-
1909
-
1910
- /*
1911
- MIT License http://www.opensource.org/licenses/mit-license.php
1912
- Author Tobias Koppers @sokra
1913
- */
1914
- module.exports = function (cssWithMappingToString) {
1915
- var list = [];
1916
-
1917
- // return the list of modules as css string
1918
- list.toString = function toString() {
1919
- return this.map(function (item) {
1920
- var content = "";
1921
- var needLayer = typeof item[5] !== "undefined";
1922
- if (item[4]) {
1923
- content += "@supports (".concat(item[4], ") {");
1924
- }
1925
- if (item[2]) {
1926
- content += "@media ".concat(item[2], " {");
1927
- }
1928
- if (needLayer) {
1929
- content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
1930
- }
1931
- content += cssWithMappingToString(item);
1932
- if (needLayer) {
1933
- content += "}";
1934
- }
1935
- if (item[2]) {
1936
- content += "}";
1937
- }
1938
- if (item[4]) {
1939
- content += "}";
1940
- }
1941
- return content;
1942
- }).join("");
1943
- };
1944
-
1945
- // import a list of modules into the list
1946
- list.i = function i(modules, media, dedupe, supports, layer) {
1947
- if (typeof modules === "string") {
1948
- modules = [[null, modules, undefined]];
1949
- }
1950
- var alreadyImportedModules = {};
1951
- if (dedupe) {
1952
- for (var k = 0; k < this.length; k++) {
1953
- var id = this[k][0];
1954
- if (id != null) {
1955
- alreadyImportedModules[id] = true;
1956
- }
1957
- }
1958
- }
1959
- for (var _k = 0; _k < modules.length; _k++) {
1960
- var item = [].concat(modules[_k]);
1961
- if (dedupe && alreadyImportedModules[item[0]]) {
1962
- continue;
1963
- }
1964
- if (typeof layer !== "undefined") {
1965
- if (typeof item[5] === "undefined") {
1966
- item[5] = layer;
1967
- } else {
1968
- item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
1969
- item[5] = layer;
1970
- }
1971
- }
1972
- if (media) {
1973
- if (!item[2]) {
1974
- item[2] = media;
1975
- } else {
1976
- item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
1977
- item[2] = media;
1978
- }
1979
- }
1980
- if (supports) {
1981
- if (!item[4]) {
1982
- item[4] = "".concat(supports);
1983
- } else {
1984
- item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
1985
- item[4] = supports;
1986
- }
1987
- }
1988
- list.push(item);
1989
- }
1990
- };
1991
- return list;
1992
- };
1993
-
1994
- /***/ }),
1995
-
1996
- /***/ 6395:
1997
- /***/ (function(module) {
1998
-
1999
- "use strict";
2000
-
2001
- module.exports = false;
2002
-
2003
-
2004
- /***/ }),
2005
-
2006
- /***/ 6518:
2007
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2008
-
2009
- "use strict";
2010
-
2011
- var globalThis = __webpack_require__(4576);
2012
- var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
2013
- var createNonEnumerableProperty = __webpack_require__(6699);
2014
- var defineBuiltIn = __webpack_require__(6840);
2015
- var defineGlobalProperty = __webpack_require__(9433);
2016
- var copyConstructorProperties = __webpack_require__(7740);
2017
- var isForced = __webpack_require__(2796);
2018
-
2019
- /*
2020
- options.target - name of the target object
2021
- options.global - target is the global object
2022
- options.stat - export as static methods of target
2023
- options.proto - export as prototype methods of target
2024
- options.real - real prototype method for the `pure` version
2025
- options.forced - export even if the native feature is available
2026
- options.bind - bind methods to the target, required for the `pure` version
2027
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
2028
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
2029
- options.sham - add a flag to not completely full polyfills
2030
- options.enumerable - export as enumerable property
2031
- options.dontCallGetSet - prevent calling a getter on target
2032
- options.name - the .name of the function if it does not match the key
2033
- */
2034
- module.exports = function (options, source) {
2035
- var TARGET = options.target;
2036
- var GLOBAL = options.global;
2037
- var STATIC = options.stat;
2038
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2039
- if (GLOBAL) {
2040
- target = globalThis;
2041
- } else if (STATIC) {
2042
- target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
2043
- } else {
2044
- target = globalThis[TARGET] && globalThis[TARGET].prototype;
2045
- }
2046
- if (target) for (key in source) {
2047
- sourceProperty = source[key];
2048
- if (options.dontCallGetSet) {
2049
- descriptor = getOwnPropertyDescriptor(target, key);
2050
- targetProperty = descriptor && descriptor.value;
2051
- } else targetProperty = target[key];
2052
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
2053
- // contained in target
2054
- if (!FORCED && targetProperty !== undefined) {
2055
- if (typeof sourceProperty == typeof targetProperty) continue;
2056
- copyConstructorProperties(sourceProperty, targetProperty);
2057
- }
2058
- // add a flag to not completely full polyfills
2059
- if (options.sham || (targetProperty && targetProperty.sham)) {
2060
- createNonEnumerableProperty(sourceProperty, 'sham', true);
2061
- }
2062
- defineBuiltIn(target, key, sourceProperty, options);
2063
- }
2064
- };
2065
-
2066
-
2067
- /***/ }),
2068
-
2069
- /***/ 6699:
2070
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2071
-
2072
- "use strict";
2073
-
2074
- var DESCRIPTORS = __webpack_require__(3724);
2075
- var definePropertyModule = __webpack_require__(4913);
2076
- var createPropertyDescriptor = __webpack_require__(6980);
2077
-
2078
- module.exports = DESCRIPTORS ? function (object, key, value) {
2079
- return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
2080
- } : function (object, key, value) {
2081
- object[key] = value;
2082
- return object;
2083
- };
2084
-
2085
-
2086
- /***/ }),
2087
-
2088
- /***/ 6823:
2089
- /***/ (function(module) {
2090
-
2091
- "use strict";
2092
-
2093
- var $String = String;
2094
-
2095
- module.exports = function (argument) {
2096
- try {
2097
- return $String(argument);
2098
- } catch (error) {
2099
- return 'Object';
2100
- }
2101
- };
2102
-
2103
-
2104
- /***/ }),
2105
-
2106
- /***/ 6837:
2107
- /***/ (function(module) {
2108
-
2109
- "use strict";
2110
-
2111
- var $TypeError = TypeError;
2112
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2113
-
2114
- module.exports = function (it) {
2115
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2116
- return it;
2117
- };
2118
-
2119
-
2120
- /***/ }),
2121
-
2122
- /***/ 6840:
2123
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2124
-
2125
- "use strict";
2126
-
2127
- var isCallable = __webpack_require__(4901);
2128
- var definePropertyModule = __webpack_require__(4913);
2129
- var makeBuiltIn = __webpack_require__(283);
2130
- var defineGlobalProperty = __webpack_require__(9433);
2131
-
2132
- module.exports = function (O, key, value, options) {
2133
- if (!options) options = {};
2134
- var simple = options.enumerable;
2135
- var name = options.name !== undefined ? options.name : key;
2136
- if (isCallable(value)) makeBuiltIn(value, name, options);
2137
- if (options.global) {
2138
- if (simple) O[key] = value;
2139
- else defineGlobalProperty(key, value);
2140
- } else {
2141
- try {
2142
- if (!options.unsafe) delete O[key];
2143
- else if (O[key]) simple = true;
2144
- } catch (error) { /* empty */ }
2145
- if (simple) O[key] = value;
2146
- else definePropertyModule.f(O, key, {
2147
- value: value,
2148
- enumerable: false,
2149
- configurable: !options.nonConfigurable,
2150
- writable: !options.nonWritable
2151
- });
2152
- } return O;
2153
- };
2154
-
2155
-
2156
- /***/ }),
2157
-
2158
- /***/ 6955:
2159
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2160
-
2161
- "use strict";
2162
-
2163
- var TO_STRING_TAG_SUPPORT = __webpack_require__(2140);
2164
- var isCallable = __webpack_require__(4901);
2165
- var classofRaw = __webpack_require__(2195);
2166
- var wellKnownSymbol = __webpack_require__(8227);
2167
-
2168
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2169
- var $Object = Object;
2170
-
2171
- // ES3 wrong here
2172
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
2173
-
2174
- // fallback for IE11 Script Access Denied error
2175
- var tryGet = function (it, key) {
2176
- try {
2177
- return it[key];
2178
- } catch (error) { /* empty */ }
2179
- };
2180
-
2181
- // getting tag from ES6+ `Object.prototype.toString`
2182
- module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
2183
- var O, tag, result;
2184
- return it === undefined ? 'Undefined' : it === null ? 'Null'
2185
- // @@toStringTag case
2186
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2187
- // builtinTag case
2188
- : CORRECT_ARGUMENTS ? classofRaw(O)
2189
- // ES3 arguments fallback
2190
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
2191
- };
2192
-
2193
-
2194
- /***/ }),
2195
-
2196
- /***/ 6969:
2197
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2198
-
2199
- "use strict";
2200
-
2201
- var toPrimitive = __webpack_require__(2777);
2202
- var isSymbol = __webpack_require__(757);
2203
-
2204
- // `ToPropertyKey` abstract operation
2205
- // https://tc39.es/ecma262/#sec-topropertykey
2206
- module.exports = function (argument) {
2207
- var key = toPrimitive(argument, 'string');
2208
- return isSymbol(key) ? key : key + '';
2209
- };
2210
-
2211
-
2212
- /***/ }),
2213
-
2214
- /***/ 6980:
2215
- /***/ (function(module) {
2216
-
2217
- "use strict";
2218
-
2219
- module.exports = function (bitmap, value) {
2220
- return {
2221
- enumerable: !(bitmap & 1),
2222
- configurable: !(bitmap & 2),
2223
- writable: !(bitmap & 4),
2224
- value: value
2225
- };
2226
- };
2227
-
2228
-
2229
- /***/ }),
2230
-
2231
- /***/ 7040:
2232
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2233
-
2234
- "use strict";
2235
-
2236
- /* eslint-disable es/no-symbol -- required for testing */
2237
- var NATIVE_SYMBOL = __webpack_require__(4495);
2238
-
2239
- module.exports = NATIVE_SYMBOL &&
2240
- !Symbol.sham &&
2241
- typeof Symbol.iterator == 'symbol';
2242
-
2243
-
2244
- /***/ }),
2245
-
2246
- /***/ 7055:
2247
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2248
-
2249
- "use strict";
2250
-
2251
- var uncurryThis = __webpack_require__(9504);
2252
- var fails = __webpack_require__(9039);
2253
- var classof = __webpack_require__(2195);
2254
-
2255
- var $Object = Object;
2256
- var split = uncurryThis(''.split);
2257
-
2258
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
2259
- module.exports = fails(function () {
2260
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
2261
- // eslint-disable-next-line no-prototype-builtins -- safe
2262
- return !$Object('z').propertyIsEnumerable(0);
2263
- }) ? function (it) {
2264
- return classof(it) === 'String' ? split(it, '') : $Object(it);
2265
- } : $Object;
2266
-
2267
-
2268
- /***/ }),
2269
-
2270
- /***/ 7347:
2271
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2272
-
2273
- "use strict";
2274
-
2275
- var DESCRIPTORS = __webpack_require__(3724);
2276
- var call = __webpack_require__(9565);
2277
- var propertyIsEnumerableModule = __webpack_require__(8773);
2278
- var createPropertyDescriptor = __webpack_require__(6980);
2279
- var toIndexedObject = __webpack_require__(5397);
2280
- var toPropertyKey = __webpack_require__(6969);
2281
- var hasOwn = __webpack_require__(9297);
2282
- var IE8_DOM_DEFINE = __webpack_require__(5917);
2283
-
2284
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2285
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2286
-
2287
- // `Object.getOwnPropertyDescriptor` method
2288
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
2289
- exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
2290
- O = toIndexedObject(O);
2291
- P = toPropertyKey(P);
2292
- if (IE8_DOM_DEFINE) try {
2293
- return $getOwnPropertyDescriptor(O, P);
2294
- } catch (error) { /* empty */ }
2295
- if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
2296
- };
2297
-
2298
-
2299
- /***/ }),
2300
-
2301
- /***/ 7566:
2302
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2303
-
2304
- "use strict";
2305
-
2306
- var defineBuiltIn = __webpack_require__(6840);
2307
- var uncurryThis = __webpack_require__(9504);
2308
- var toString = __webpack_require__(655);
2309
- var validateArgumentsLength = __webpack_require__(2812);
2310
-
2311
- var $URLSearchParams = URLSearchParams;
2312
- var URLSearchParamsPrototype = $URLSearchParams.prototype;
2313
- var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
2314
- var $has = uncurryThis(URLSearchParamsPrototype.has);
2315
- var params = new $URLSearchParams('a=1');
2316
-
2317
- // `undefined` case is a Chromium 117 bug
2318
- // https://bugs.chromium.org/p/v8/issues/detail?id=14222
2319
- if (params.has('a', 2) || !params.has('a', undefined)) {
2320
- defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
2321
- var length = arguments.length;
2322
- var $value = length < 2 ? undefined : arguments[1];
2323
- if (length && $value === undefined) return $has(this, name);
2324
- var values = getAll(this, name); // also validates `this`
2325
- validateArgumentsLength(length, 1);
2326
- var value = toString($value);
2327
- var index = 0;
2328
- while (index < values.length) {
2329
- if (values[index++] === value) return true;
2330
- } return false;
2331
- }, { enumerable: true, unsafe: true });
2332
- }
2333
-
2334
-
2335
- /***/ }),
2336
-
2337
- /***/ 7629:
2338
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2339
-
2340
- "use strict";
2341
-
2342
- var IS_PURE = __webpack_require__(6395);
2343
- var globalThis = __webpack_require__(4576);
2344
- var defineGlobalProperty = __webpack_require__(9433);
2345
-
2346
- var SHARED = '__core-js_shared__';
2347
- var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
2348
-
2349
- (store.versions || (store.versions = [])).push({
2350
- version: '3.48.0',
2351
- mode: IS_PURE ? 'pure' : 'global',
2352
- copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
2353
- license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
2354
- source: 'https://github.com/zloirock/core-js'
2355
- });
2356
-
2357
-
2358
- /***/ }),
2359
-
2360
- /***/ 7740:
2361
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2362
-
2363
- "use strict";
2364
-
2365
- var hasOwn = __webpack_require__(9297);
2366
- var ownKeys = __webpack_require__(5031);
2367
- var getOwnPropertyDescriptorModule = __webpack_require__(7347);
2368
- var definePropertyModule = __webpack_require__(4913);
2369
-
2370
- module.exports = function (target, source, exceptions) {
2371
- var keys = ownKeys(source);
2372
- var defineProperty = definePropertyModule.f;
2373
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2374
- for (var i = 0; i < keys.length; i++) {
2375
- var key = keys[i];
2376
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
2377
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2378
- }
2379
- }
2380
- };
2381
-
2382
-
2383
- /***/ }),
2384
-
2385
- /***/ 7750:
2386
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2387
-
2388
- "use strict";
2389
-
2390
- var isNullOrUndefined = __webpack_require__(4117);
2391
-
2392
- var $TypeError = TypeError;
2393
-
2394
- // `RequireObjectCoercible` abstract operation
2395
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
2396
- module.exports = function (it) {
2397
- if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it);
2398
- return it;
2399
- };
2400
-
2401
-
2402
- /***/ }),
2403
-
2404
- /***/ 7751:
2405
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2406
-
2407
- "use strict";
2408
-
2409
- var globalThis = __webpack_require__(4576);
2410
- var isCallable = __webpack_require__(4901);
2411
-
2412
- var aFunction = function (argument) {
2413
- return isCallable(argument) ? argument : undefined;
2414
- };
2415
-
2416
- module.exports = function (namespace, method) {
2417
- return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
2418
- };
2419
-
2420
-
2421
- /***/ }),
2422
-
2423
- /***/ 8014:
2424
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2425
-
2426
- "use strict";
2427
-
2428
- var toIntegerOrInfinity = __webpack_require__(1291);
2429
-
2430
- var min = Math.min;
2431
-
2432
- // `ToLength` abstract operation
2433
- // https://tc39.es/ecma262/#sec-tolength
2434
- module.exports = function (argument) {
2435
- var len = toIntegerOrInfinity(argument);
2436
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
2437
- };
2438
-
2439
-
2440
- /***/ }),
2441
-
2442
- /***/ 8227:
2443
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2444
-
2445
- "use strict";
2446
-
2447
- var globalThis = __webpack_require__(4576);
2448
- var shared = __webpack_require__(5745);
2449
- var hasOwn = __webpack_require__(9297);
2450
- var uid = __webpack_require__(3392);
2451
- var NATIVE_SYMBOL = __webpack_require__(4495);
2452
- var USE_SYMBOL_AS_UID = __webpack_require__(7040);
2453
-
2454
- var Symbol = globalThis.Symbol;
2455
- var WellKnownSymbolsStore = shared('wks');
2456
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
2457
-
2458
- module.exports = function (name) {
2459
- if (!hasOwn(WellKnownSymbolsStore, name)) {
2460
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
2461
- ? Symbol[name]
2462
- : createWellKnownSymbol('Symbol.' + name);
2463
- } return WellKnownSymbolsStore[name];
2464
- };
2465
-
2466
-
2467
- /***/ }),
2468
-
2469
- /***/ 8459:
2470
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2471
-
2472
- "use strict";
2473
-
2474
- // EXPORTS
2475
- __webpack_require__.d(__webpack_exports__, {
2476
- A: function() { return /* binding */ addStylesClient; }
2477
- });
2478
-
2479
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2480
- var es_array_push = __webpack_require__(4114);
2481
- ;// ./node_modules/vue-style-loader/lib/listToStyles.js
2482
-
2483
- /**
2484
- * Translates the list format produced by css-loader into something
2485
- * easier to manipulate.
2486
- */
2487
- function listToStyles(parentId, list) {
2488
- var styles = [];
2489
- var newStyles = {};
2490
- for (var i = 0; i < list.length; i++) {
2491
- var item = list[i];
2492
- var id = item[0];
2493
- var css = item[1];
2494
- var media = item[2];
2495
- var sourceMap = item[3];
2496
- var part = {
2497
- id: parentId + ':' + i,
2498
- css: css,
2499
- media: media,
2500
- sourceMap: sourceMap
2501
- };
2502
- if (!newStyles[id]) {
2503
- styles.push(newStyles[id] = {
2504
- id: id,
2505
- parts: [part]
2506
- });
2507
- } else {
2508
- newStyles[id].parts.push(part);
2509
- }
2510
- }
2511
- return styles;
2512
- }
2513
- ;// ./node_modules/vue-style-loader/lib/addStylesClient.js
2514
- /*
2515
- MIT License http://www.opensource.org/licenses/mit-license.php
2516
- Author Tobias Koppers @sokra
2517
- Modified by Evan You @yyx990803
2518
- */
2519
-
2520
-
2521
-
2522
- var hasDocument = typeof document !== 'undefined'
2523
-
2524
- if (typeof DEBUG !== 'undefined' && DEBUG) {
2525
- if (!hasDocument) {
2526
- throw new Error(
2527
- 'vue-style-loader cannot be used in a non-browser environment. ' +
2528
- "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
2529
- ) }
2530
- }
2531
-
2532
- /*
2533
- type StyleObject = {
2534
- id: number;
2535
- parts: Array<StyleObjectPart>
2536
- }
2537
-
2538
- type StyleObjectPart = {
2539
- css: string;
2540
- media: string;
2541
- sourceMap: ?string
2542
- }
2543
- */
2544
-
2545
- var stylesInDom = {/*
2546
- [id: number]: {
2547
- id: number,
2548
- refs: number,
2549
- parts: Array<(obj?: StyleObjectPart) => void>
2550
- }
2551
- */}
2552
-
2553
- var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
2554
- var singletonElement = null
2555
- var singletonCounter = 0
2556
- var isProduction = false
2557
- var noop = function () {}
2558
- var options = null
2559
- var ssrIdKey = 'data-vue-ssr-id'
2560
-
2561
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
2562
- // tags it will allow on a page
2563
- var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
2564
-
2565
- function addStylesClient (parentId, list, _isProduction, _options) {
2566
- isProduction = _isProduction
2567
-
2568
- options = _options || {}
2569
-
2570
- var styles = listToStyles(parentId, list)
2571
- addStylesToDom(styles)
2572
-
2573
- return function update (newList) {
2574
- var mayRemove = []
2575
- for (var i = 0; i < styles.length; i++) {
2576
- var item = styles[i]
2577
- var domStyle = stylesInDom[item.id]
2578
- domStyle.refs--
2579
- mayRemove.push(domStyle)
2580
- }
2581
- if (newList) {
2582
- styles = listToStyles(parentId, newList)
2583
- addStylesToDom(styles)
2584
- } else {
2585
- styles = []
2586
- }
2587
- for (var i = 0; i < mayRemove.length; i++) {
2588
- var domStyle = mayRemove[i]
2589
- if (domStyle.refs === 0) {
2590
- for (var j = 0; j < domStyle.parts.length; j++) {
2591
- domStyle.parts[j]()
2592
- }
2593
- delete stylesInDom[domStyle.id]
2594
- }
2595
- }
2596
- }
2597
- }
2598
-
2599
- function addStylesToDom (styles /* Array<StyleObject> */) {
2600
- for (var i = 0; i < styles.length; i++) {
2601
- var item = styles[i]
2602
- var domStyle = stylesInDom[item.id]
2603
- if (domStyle) {
2604
- domStyle.refs++
2605
- for (var j = 0; j < domStyle.parts.length; j++) {
2606
- domStyle.parts[j](item.parts[j])
2607
- }
2608
- for (; j < item.parts.length; j++) {
2609
- domStyle.parts.push(addStyle(item.parts[j]))
2610
- }
2611
- if (domStyle.parts.length > item.parts.length) {
2612
- domStyle.parts.length = item.parts.length
2613
- }
2614
- } else {
2615
- var parts = []
2616
- for (var j = 0; j < item.parts.length; j++) {
2617
- parts.push(addStyle(item.parts[j]))
2618
- }
2619
- stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
2620
- }
2621
- }
2622
- }
2623
-
2624
- function createStyleElement () {
2625
- var styleElement = document.createElement('style')
2626
- styleElement.type = 'text/css'
2627
- head.appendChild(styleElement)
2628
- return styleElement
2629
- }
2630
-
2631
- function addStyle (obj /* StyleObjectPart */) {
2632
- var update, remove
2633
- var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
2634
-
2635
- if (styleElement) {
2636
- if (isProduction) {
2637
- // has SSR styles and in production mode.
2638
- // simply do nothing.
2639
- return noop
2640
- } else {
2641
- // has SSR styles but in dev mode.
2642
- // for some reason Chrome can't handle source map in server-rendered
2643
- // style tags - source maps in <style> only works if the style tag is
2644
- // created and inserted dynamically. So we remove the server rendered
2645
- // styles and inject new ones.
2646
- styleElement.parentNode.removeChild(styleElement)
2647
- }
2648
- }
2649
-
2650
- if (isOldIE) {
2651
- // use singleton mode for IE9.
2652
- var styleIndex = singletonCounter++
2653
- styleElement = singletonElement || (singletonElement = createStyleElement())
2654
- update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
2655
- remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
2656
- } else {
2657
- // use multi-style-tag mode in all other cases
2658
- styleElement = createStyleElement()
2659
- update = applyToTag.bind(null, styleElement)
2660
- remove = function () {
2661
- styleElement.parentNode.removeChild(styleElement)
2662
- }
2663
- }
2664
-
2665
- update(obj)
2666
-
2667
- return function updateStyle (newObj /* StyleObjectPart */) {
2668
- if (newObj) {
2669
- if (newObj.css === obj.css &&
2670
- newObj.media === obj.media &&
2671
- newObj.sourceMap === obj.sourceMap) {
2672
- return
2673
- }
2674
- update(obj = newObj)
2675
- } else {
2676
- remove()
2677
- }
2678
- }
2679
- }
2680
-
2681
- var replaceText = (function () {
2682
- var textStore = []
2683
-
2684
- return function (index, replacement) {
2685
- textStore[index] = replacement
2686
- return textStore.filter(Boolean).join('\n')
2687
- }
2688
- })()
2689
-
2690
- function applyToSingletonTag (styleElement, index, remove, obj) {
2691
- var css = remove ? '' : obj.css
2692
-
2693
- if (styleElement.styleSheet) {
2694
- styleElement.styleSheet.cssText = replaceText(index, css)
2695
- } else {
2696
- var cssNode = document.createTextNode(css)
2697
- var childNodes = styleElement.childNodes
2698
- if (childNodes[index]) styleElement.removeChild(childNodes[index])
2699
- if (childNodes.length) {
2700
- styleElement.insertBefore(cssNode, childNodes[index])
2701
- } else {
2702
- styleElement.appendChild(cssNode)
2703
- }
2704
- }
2705
- }
2706
-
2707
- function applyToTag (styleElement, obj) {
2708
- var css = obj.css
2709
- var media = obj.media
2710
- var sourceMap = obj.sourceMap
2711
-
2712
- if (media) {
2713
- styleElement.setAttribute('media', media)
2714
- }
2715
- if (options.ssrId) {
2716
- styleElement.setAttribute(ssrIdKey, obj.id)
2717
- }
2718
-
2719
- if (sourceMap) {
2720
- // https://developer.chrome.com/devtools/docs/javascript-debugging
2721
- // this makes source maps inside style tags work properly in Chrome
2722
- css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
2723
- // http://stackoverflow.com/a/26603875
2724
- css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
2725
- }
2726
-
2727
- if (styleElement.styleSheet) {
2728
- styleElement.styleSheet.cssText = css
2729
- } else {
2730
- while (styleElement.firstChild) {
2731
- styleElement.removeChild(styleElement.firstChild)
2732
- }
2733
- styleElement.appendChild(document.createTextNode(css))
2734
- }
2735
- }
2736
-
2737
-
2738
- /***/ }),
2739
-
2740
- /***/ 8480:
2741
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
2742
-
2743
- "use strict";
2744
-
2745
- var internalObjectKeys = __webpack_require__(1828);
2746
- var enumBugKeys = __webpack_require__(8727);
2747
-
2748
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
2749
-
2750
- // `Object.getOwnPropertyNames` method
2751
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
2752
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
2753
- exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
2754
- return internalObjectKeys(O, hiddenKeys);
2755
- };
2756
-
2757
-
2758
- /***/ }),
2759
-
2760
- /***/ 8551:
2761
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2762
-
2763
- "use strict";
2764
-
2765
- var isObject = __webpack_require__(34);
2766
-
2767
- var $String = String;
2768
- var $TypeError = TypeError;
2769
-
2770
- // `Assert: Type(argument) is Object`
2771
- module.exports = function (argument) {
2772
- if (isObject(argument)) return argument;
2773
- throw new $TypeError($String(argument) + ' is not an object');
2774
- };
2775
-
2776
-
2777
- /***/ }),
2778
-
2779
- /***/ 8622:
2780
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2781
-
2782
- "use strict";
2783
-
2784
- var globalThis = __webpack_require__(4576);
2785
- var isCallable = __webpack_require__(4901);
2786
-
2787
- var WeakMap = globalThis.WeakMap;
2788
-
2789
- module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
2790
-
2791
-
2792
- /***/ }),
2793
-
2794
- /***/ 8686:
2795
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2796
-
2797
- "use strict";
2798
-
2799
- var DESCRIPTORS = __webpack_require__(3724);
2800
- var fails = __webpack_require__(9039);
2801
-
2802
- // V8 ~ Chrome 36-
2803
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
2804
- module.exports = DESCRIPTORS && fails(function () {
2805
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2806
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
2807
- value: 42,
2808
- writable: false
2809
- }).prototype !== 42;
2810
- });
2811
-
2812
-
2813
- /***/ }),
2814
-
2815
- /***/ 8721:
2816
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2817
-
2818
- "use strict";
2819
-
2820
- var DESCRIPTORS = __webpack_require__(3724);
2821
- var uncurryThis = __webpack_require__(9504);
2822
- var defineBuiltInAccessor = __webpack_require__(2106);
2823
-
2824
- var URLSearchParamsPrototype = URLSearchParams.prototype;
2825
- var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
2826
-
2827
- // `URLSearchParams.prototype.size` getter
2828
- // https://github.com/whatwg/url/pull/734
2829
- if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
2830
- defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
2831
- get: function size() {
2832
- var count = 0;
2833
- forEach(this, function () { count++; });
2834
- return count;
2835
- },
2836
- configurable: true,
2837
- enumerable: true
2838
- });
2839
- }
2840
-
2841
-
2842
- /***/ }),
2843
-
2844
- /***/ 8727:
2845
- /***/ (function(module) {
2846
-
2847
- "use strict";
2848
-
2849
- // IE8- don't enum bug keys
2850
- module.exports = [
2851
- 'constructor',
2852
- 'hasOwnProperty',
2853
- 'isPrototypeOf',
2854
- 'propertyIsEnumerable',
2855
- 'toLocaleString',
2856
- 'toString',
2857
- 'valueOf'
2858
- ];
2859
-
2860
-
2861
- /***/ }),
2862
-
2863
- /***/ 8773:
2864
- /***/ (function(__unused_webpack_module, exports) {
2865
-
2866
- "use strict";
2867
-
2868
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
2869
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2870
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2871
-
2872
- // Nashorn ~ JDK8 bug
2873
- var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
2874
-
2875
- // `Object.prototype.propertyIsEnumerable` method implementation
2876
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
2877
- exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
2878
- var descriptor = getOwnPropertyDescriptor(this, V);
2879
- return !!descriptor && descriptor.enumerable;
2880
- } : $propertyIsEnumerable;
2881
-
2882
-
2883
- /***/ }),
2884
-
2885
- /***/ 8981:
2886
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2887
-
2888
- "use strict";
2889
-
2890
- var requireObjectCoercible = __webpack_require__(7750);
2891
-
2892
- var $Object = Object;
2893
-
2894
- // `ToObject` abstract operation
2895
- // https://tc39.es/ecma262/#sec-toobject
2896
- module.exports = function (argument) {
2897
- return $Object(requireObjectCoercible(argument));
2898
- };
2899
-
2900
-
2901
- /***/ }),
2902
-
2903
- /***/ 9039:
2904
- /***/ (function(module) {
2905
-
2906
- "use strict";
2907
-
2908
- module.exports = function (exec) {
2909
- try {
2910
- return !!exec();
2911
- } catch (error) {
2912
- return true;
2913
- }
2914
- };
2915
-
2916
-
2917
- /***/ }),
2918
-
2919
- /***/ 9204:
2920
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2921
-
2922
- "use strict";
2923
- __webpack_require__.r(__webpack_exports__);
2924
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
2925
- /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
2926
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
2927
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
2928
- // Imports
2929
-
2930
-
2931
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
2932
- // Module
2933
- ___CSS_LOADER_EXPORT___.push([module.id, ".update-content[data-v-b732f484]{display:flex;align-items:flex-start;padding:10px 0}.update-icon[data-v-b732f484]{font-size:32px;margin-right:16px;margin-top:4px}.update-text p[data-v-b732f484]{margin-bottom:8px}.update-title[data-v-b732f484]{font-size:18px;font-weight:600;color:#333}", ""]);
2934
- // Exports
2935
- /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
2936
-
2937
-
2938
- /***/ }),
2939
-
2940
- /***/ 9297:
2941
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2942
-
2943
- "use strict";
2944
-
2945
- var uncurryThis = __webpack_require__(9504);
2946
- var toObject = __webpack_require__(8981);
2947
-
2948
- var hasOwnProperty = uncurryThis({}.hasOwnProperty);
2949
-
2950
- // `HasOwnProperty` abstract operation
2951
- // https://tc39.es/ecma262/#sec-hasownproperty
2952
- // eslint-disable-next-line es/no-object-hasown -- safe
2953
- module.exports = Object.hasOwn || function hasOwn(it, key) {
2954
- return hasOwnProperty(toObject(it), key);
2955
- };
2956
-
2957
-
2958
- /***/ }),
2959
-
2960
- /***/ 9306:
2961
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2962
-
2963
- "use strict";
2964
-
2965
- var isCallable = __webpack_require__(4901);
2966
- var tryToString = __webpack_require__(6823);
2967
-
2968
- var $TypeError = TypeError;
2969
-
2970
- // `Assert: IsCallable(argument) is true`
2971
- module.exports = function (argument) {
2972
- if (isCallable(argument)) return argument;
2973
- throw new $TypeError(tryToString(argument) + ' is not a function');
2974
- };
2975
-
2976
-
2977
- /***/ }),
2978
-
2979
- /***/ 9433:
2980
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2981
-
2982
- "use strict";
2983
-
2984
- var globalThis = __webpack_require__(4576);
2985
-
2986
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2987
- var defineProperty = Object.defineProperty;
2988
-
2989
- module.exports = function (key, value) {
2990
- try {
2991
- defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
2992
- } catch (error) {
2993
- globalThis[key] = value;
2994
- } return value;
2995
- };
2996
-
2997
-
2998
- /***/ }),
2999
-
3000
- /***/ 9504:
3001
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3002
-
3003
- "use strict";
3004
-
3005
- var NATIVE_BIND = __webpack_require__(616);
3006
-
3007
- var FunctionPrototype = Function.prototype;
3008
- var call = FunctionPrototype.call;
3009
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
3010
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
3011
-
3012
- module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
3013
- return function () {
3014
- return call.apply(fn, arguments);
3015
- };
3016
- };
3017
-
3018
-
3019
- /***/ }),
3020
-
3021
- /***/ 9519:
3022
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3023
-
3024
- "use strict";
3025
-
3026
- var globalThis = __webpack_require__(4576);
3027
- var userAgent = __webpack_require__(2839);
3028
-
3029
- var process = globalThis.process;
3030
- var Deno = globalThis.Deno;
3031
- var versions = process && process.versions || Deno && Deno.version;
3032
- var v8 = versions && versions.v8;
3033
- var match, version;
3034
-
3035
- if (v8) {
3036
- match = v8.split('.');
3037
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
3038
- // but their correct versions are not interesting for us
3039
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
3040
- }
3041
-
3042
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
3043
- // so check `userAgent` even if `.v8` exists, but 0
3044
- if (!version && userAgent) {
3045
- match = userAgent.match(/Edge\/(\d+)/);
3046
- if (!match || match[1] >= 74) {
3047
- match = userAgent.match(/Chrome\/(\d+)/);
3048
- if (match) version = +match[1];
3049
- }
3050
- }
3051
-
3052
- module.exports = version;
3053
-
3054
-
3055
- /***/ }),
3056
-
3057
- /***/ 9565:
3058
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3059
-
3060
- "use strict";
3061
-
3062
- var NATIVE_BIND = __webpack_require__(616);
3063
-
3064
- var call = Function.prototype.call;
3065
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
3066
- module.exports = NATIVE_BIND ? call.bind(call) : function () {
3067
- return call.apply(call, arguments);
3068
- };
3069
-
3070
-
3071
- /***/ }),
3072
-
3073
- /***/ 9617:
3074
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
3075
-
3076
- "use strict";
3077
-
3078
- var toIndexedObject = __webpack_require__(5397);
3079
- var toAbsoluteIndex = __webpack_require__(5610);
3080
- var lengthOfArrayLike = __webpack_require__(6198);
3081
-
3082
- // `Array.prototype.{ indexOf, includes }` methods implementation
3083
- var createMethod = function (IS_INCLUDES) {
3084
- return function ($this, el, fromIndex) {
3085
- var O = toIndexedObject($this);
3086
- var length = lengthOfArrayLike(O);
3087
- if (length === 0) return !IS_INCLUDES && -1;
3088
- var index = toAbsoluteIndex(fromIndex, length);
3089
- var value;
3090
- // Array#includes uses SameValueZero equality algorithm
3091
- // eslint-disable-next-line no-self-compare -- NaN check
3092
- if (IS_INCLUDES && el !== el) while (length > index) {
3093
- value = O[index++];
3094
- // eslint-disable-next-line no-self-compare -- NaN check
3095
- if (value !== value) return true;
3096
- // Array#indexOf ignores holes, Array#includes - not
3097
- } else for (;length > index; index++) {
3098
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
3099
- } return !IS_INCLUDES && -1;
3100
- };
3101
- };
3102
-
3103
- module.exports = {
3104
- // `Array.prototype.includes` method
3105
- // https://tc39.es/ecma262/#sec-array.prototype.includes
3106
- includes: createMethod(true),
3107
- // `Array.prototype.indexOf` method
3108
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
3109
- indexOf: createMethod(false)
3110
- };
3111
-
3112
-
3113
- /***/ })
3114
-
3115
- /******/ });
3116
- /************************************************************************/
3117
- /******/ // The module cache
3118
- /******/ var __webpack_module_cache__ = {};
3119
- /******/
3120
- /******/ // The require function
3121
- /******/ function __webpack_require__(moduleId) {
3122
- /******/ // Check if module is in cache
3123
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
3124
- /******/ if (cachedModule !== undefined) {
3125
- /******/ return cachedModule.exports;
3126
- /******/ }
3127
- /******/ // Create a new module (and put it into the cache)
3128
- /******/ var module = __webpack_module_cache__[moduleId] = {
3129
- /******/ id: moduleId,
3130
- /******/ // no module.loaded needed
3131
- /******/ exports: {}
3132
- /******/ };
3133
- /******/
3134
- /******/ // Execute the module function
3135
- /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
3136
- /******/
3137
- /******/ // Return the exports of the module
3138
- /******/ return module.exports;
3139
- /******/ }
3140
- /******/
3141
- /************************************************************************/
3142
- /******/ /* webpack/runtime/amd options */
3143
- /******/ !function() {
3144
- /******/ __webpack_require__.amdO = {};
3145
- /******/ }();
3146
- /******/
3147
- /******/ /* webpack/runtime/compat get default export */
3148
- /******/ !function() {
3149
- /******/ // getDefaultExport function for compatibility with non-harmony modules
3150
- /******/ __webpack_require__.n = function(module) {
3151
- /******/ var getter = module && module.__esModule ?
3152
- /******/ function() { return module['default']; } :
3153
- /******/ function() { return module; };
3154
- /******/ __webpack_require__.d(getter, { a: getter });
3155
- /******/ return getter;
3156
- /******/ };
3157
- /******/ }();
3158
- /******/
3159
- /******/ /* webpack/runtime/define property getters */
3160
- /******/ !function() {
3161
- /******/ // define getter functions for harmony exports
3162
- /******/ __webpack_require__.d = function(exports, definition) {
3163
- /******/ for(var key in definition) {
3164
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
3165
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
3166
- /******/ }
3167
- /******/ }
3168
- /******/ };
3169
- /******/ }();
3170
- /******/
3171
- /******/ /* webpack/runtime/global */
3172
- /******/ !function() {
3173
- /******/ __webpack_require__.g = (function() {
3174
- /******/ if (typeof globalThis === 'object') return globalThis;
3175
- /******/ try {
3176
- /******/ return this || new Function('return this')();
3177
- /******/ } catch (e) {
3178
- /******/ if (typeof window === 'object') return window;
3179
- /******/ }
3180
- /******/ })();
3181
- /******/ }();
3182
- /******/
3183
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
3184
- /******/ !function() {
3185
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
3186
- /******/ }();
3187
- /******/
3188
- /******/ /* webpack/runtime/make namespace object */
3189
- /******/ !function() {
3190
- /******/ // define __esModule on exports
3191
- /******/ __webpack_require__.r = function(exports) {
3192
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
3193
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3194
- /******/ }
3195
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
3196
- /******/ };
3197
- /******/ }();
3198
- /******/
3199
- /******/ /* webpack/runtime/publicPath */
3200
- /******/ !function() {
3201
- /******/ __webpack_require__.p = "";
3202
- /******/ }();
3203
- /******/
3204
- /************************************************************************/
3205
- var __webpack_exports__ = {};
3206
- // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
3207
- !function() {
3208
- "use strict";
3209
- // ESM COMPAT FLAG
3210
- __webpack_require__.r(__webpack_exports__);
3211
-
3212
- // EXPORTS
3213
- __webpack_require__.d(__webpack_exports__, {
3214
- BrowserError: function() { return /* reexport */ BrowserError; },
3215
- ServiceWorkerUpdater: function() { return /* reexport */ ServiceWorkerUpdater; },
3216
- UpdateModal: function() { return /* reexport */ UpdateModal; },
3217
- checkBrowserSupport: function() { return /* reexport */ checkBrowserSupport; },
3218
- "default": function() { return /* binding */ entry_lib; }
3219
- });
3220
-
3221
- ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
3222
- /* eslint-disable no-var */
3223
- // This file is imported into lib/wc client bundles.
3224
-
3225
- if (typeof window !== 'undefined') {
3226
- var currentScript = window.document.currentScript
3227
- if (false) // removed by dead control flow
3228
- { var getCurrentScript; }
3229
-
3230
- var src = currentScript && currentScript.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
3231
- if (src) {
3232
- __webpack_require__.p = src[1] // eslint-disable-line
3233
- }
3234
- }
3235
-
3236
- // Indicate to webpack that this file can be concatenated
3237
- /* harmony default export */ var setPublicPath = (null);
3238
-
3239
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.delete.js
3240
- var web_url_search_params_delete = __webpack_require__(4603);
3241
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.has.js
3242
- var web_url_search_params_has = __webpack_require__(7566);
3243
- // EXTERNAL MODULE: ./node_modules/core-js/modules/web.url-search-params.size.js
3244
- var web_url_search_params_size = __webpack_require__(8721);
3245
- ;// ./node_modules/register-service-worker/index.js
3246
- // Register a service worker to serve assets from local cache.
3247
-
3248
- // This lets the app load faster on subsequent visits in production, and gives
3249
- // it offline capabilities. However, it also means that developers (and users)
3250
- // will only see deployed updates on the "N+1" visit to a page, since previously
3251
- // cached resources are updated in the background.
3252
-
3253
- var isLocalhost = function () {
3254
- return Boolean(window.location.hostname === 'localhost' ||
3255
- // [::1] is the IPv6 localhost address.
3256
- window.location.hostname === '[::1]' ||
3257
- // 127.0.0.1/8 is considered localhost for IPv4.
3258
- window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
3259
- };
3260
- var waitWindowLoad;
3261
- // https://github.com/yyx990803/register-service-worker/pull/33#discussion_r394181861
3262
- if (typeof window !== 'undefined') {
3263
- // Typically, a browser that supports `serviceWorker` should also have supported
3264
- // `Promise`. But as this package can be used in environments without service
3265
- // worker support (in that case it would do nothing), there's a chance that
3266
- // `Promise` does not exist. So we must check for its existence first.
3267
- if (typeof Promise !== 'undefined') {
3268
- waitWindowLoad = new Promise(function (resolve) {
3269
- return window.addEventListener('load', resolve);
3270
- });
3271
- } else {
3272
- waitWindowLoad = {
3273
- then: function (cb) {
3274
- return window.addEventListener('load', cb);
3275
- }
3276
- };
3277
- }
3278
- }
3279
- function register(swUrl, hooks) {
3280
- if (hooks === void 0) hooks = {};
3281
- var registrationOptions = hooks.registrationOptions;
3282
- if (registrationOptions === void 0) registrationOptions = {};
3283
- delete hooks.registrationOptions;
3284
- var emit = function (hook) {
3285
- var args = [],
3286
- len = arguments.length - 1;
3287
- while (len-- > 0) args[len] = arguments[len + 1];
3288
- if (hooks && hooks[hook]) {
3289
- hooks[hook].apply(hooks, args);
3290
- }
3291
- };
3292
- if ('serviceWorker' in navigator) {
3293
- waitWindowLoad.then(function () {
3294
- if (isLocalhost()) {
3295
- // This is running on localhost. Lets check if a service worker still exists or not.
3296
- checkValidServiceWorker(swUrl, emit, registrationOptions);
3297
- navigator.serviceWorker.ready.then(function (registration) {
3298
- emit('ready', registration);
3299
- }).catch(function (error) {
3300
- return handleError(emit, error);
3301
- });
3302
- } else {
3303
- // Is not local host. Just register service worker
3304
- registerValidSW(swUrl, emit, registrationOptions);
3305
- navigator.serviceWorker.ready.then(function (registration) {
3306
- emit('ready', registration);
3307
- }).catch(function (error) {
3308
- return handleError(emit, error);
3309
- });
3310
- }
3311
- });
3312
- }
3313
- }
3314
- function handleError(emit, error) {
3315
- if (!navigator.onLine) {
3316
- emit('offline');
3317
- }
3318
- emit('error', error);
3319
- }
3320
- function registerValidSW(swUrl, emit, registrationOptions) {
3321
- navigator.serviceWorker.register(swUrl, registrationOptions).then(function (registration) {
3322
- emit('registered', registration);
3323
- if (registration.waiting) {
3324
- emit('updated', registration);
3325
- return;
3326
- }
3327
- registration.onupdatefound = function () {
3328
- emit('updatefound', registration);
3329
- var installingWorker = registration.installing;
3330
- installingWorker.onstatechange = function () {
3331
- if (installingWorker.state === 'installed') {
3332
- if (navigator.serviceWorker.controller) {
3333
- // At this point, the old content will have been purged and
3334
- // the fresh content will have been added to the cache.
3335
- // It's the perfect time to display a "New content is
3336
- // available; please refresh." message in your web app.
3337
- emit('updated', registration);
3338
- } else {
3339
- // At this point, everything has been precached.
3340
- // It's the perfect time to display a
3341
- // "Content is cached for offline use." message.
3342
- emit('cached', registration);
3343
- }
3344
- }
3345
- };
3346
- };
3347
- }).catch(function (error) {
3348
- return handleError(emit, error);
3349
- });
3350
- }
3351
- function checkValidServiceWorker(swUrl, emit, registrationOptions) {
3352
- // Check if the service worker can be found.
3353
- fetch(swUrl).then(function (response) {
3354
- // Ensure service worker exists, and that we really are getting a JS file.
3355
- if (response.status === 404) {
3356
- // No service worker found.
3357
- emit('error', new Error("Service worker not found at " + swUrl));
3358
- unregister();
3359
- } else if (response.headers.get('content-type').indexOf('javascript') === -1) {
3360
- emit('error', new Error("Expected " + swUrl + " to have javascript content-type, " + "but received " + response.headers.get('content-type')));
3361
- unregister();
3362
- } else {
3363
- // Service worker found. Proceed as normal.
3364
- registerValidSW(swUrl, emit, registrationOptions);
3365
- }
3366
- }).catch(function (error) {
3367
- return handleError(emit, error);
3368
- });
3369
- }
3370
- function unregister() {
3371
- if ('serviceWorker' in navigator) {
3372
- navigator.serviceWorker.ready.then(function (registration) {
3373
- registration.unregister();
3374
- }).catch(function (error) {
3375
- return handleError(emit, error);
3376
- });
3377
- }
3378
- }
3379
- ;// ./src/lib/utils/Updater.js
3380
-
3381
- class ServiceWorkerUpdater {
3382
- constructor(options = {}) {
3383
- this.swUrl = options.swUrl || '/service-worker.js';
3384
- this.registration = null;
3385
- this.onUpdateFound = options.onUpdateFound || (() => {});
3386
- this.onError = options.onError || (() => {});
3387
- }
3388
- init() {
3389
- if (false) // removed by dead control flow
3390
- {}
3391
- register(this.swUrl, {
3392
- ready: registration => {
3393
- console.log('应用正在通过 Service Worker 从缓存中提供服务。');
3394
- this.registration = registration;
3395
- },
3396
- registered: registration => {
3397
- console.log('Service Worker 已注册。');
3398
- this.registration = registration;
3399
- },
3400
- cached: registration => {
3401
- console.log('内容已缓存,可供离线使用。');
3402
- this.registration = registration;
3403
- },
3404
- updatefound: registration => {
3405
- console.log('正在下载新内容。');
3406
- this.registration = registration;
3407
- },
3408
- updated: registration => {
3409
- console.log('新内容可用,请刷新。');
3410
- this.registration = registration;
3411
- // Trigger the update callback (Show UI)
3412
- this.onUpdateFound(this);
3413
- },
3414
- offline: () => {
3415
- console.log('未检测到网络连接。应用正在离线模式下运行。');
3416
- },
3417
- error: error => {
3418
- console.error('Service Worker 注册期间发生错误:', error);
3419
- this.onError(error);
3420
- }
3421
- });
3422
-
3423
- // Handle controller change (reload page)
3424
- let refreshing = false;
3425
- if (navigator.serviceWorker) {
3426
- navigator.serviceWorker.addEventListener('controllerchange', () => {
3427
- if (refreshing) return;
3428
- refreshing = true;
3429
- // 强制刷新逻辑:
3430
- // 虽然 window.location.reload(true) 在现代浏览器中已被弃用或行为不一致
3431
- // 但 controllerchange 意味着新 SW 已经接管,我们在这里只需重载页面
3432
- // 为了模拟 Ctrl+Shift+R 的“清理缓存”效果,我们在 SW 中已经做了 caches.delete
3433
- // 这里我们主要负责刷新页面
3434
- window.location.reload();
3435
- });
3436
- }
3437
- }
3438
-
3439
- // Called when user accepts the update
3440
- applyUpdate() {
3441
- if (!this.registration || !this.registration.waiting) {
3442
- console.warn('未找到等待中的 Service Worker。');
3443
- // 如果没有 waiting 的 SW,但也触发了更新(极少数情况),强制刷新
3444
- window.location.reload();
3445
- return;
3446
- }
3447
- // Send message to SW to skip waiting
3448
- // 这会触发 SW 中的 message 监听,执行 self.skipWaiting()
3449
- // 进而触发 controllerchange,最终执行上面的 window.location.reload()
3450
- this.registration.waiting.postMessage({
3451
- type: 'SKIP_WAITING'
3452
- });
3453
- }
3454
- }
3455
- // EXTERNAL MODULE: ./node_modules/ua-parser-js/src/ua-parser.js
3456
- var ua_parser = __webpack_require__(5135);
3457
- var ua_parser_default = /*#__PURE__*/__webpack_require__.n(ua_parser);
3458
- ;// ./src/lib/utils/browserCheck.js
3459
-
3460
- const MIN_VERSIONS = {
3461
- Chrome: 45,
3462
- // Service Worker supported since 40, but safer to say 45+
3463
- Firefox: 44,
3464
- Safari: 11,
3465
- // Safari 11.1+
3466
- Edge: 17,
3467
- 'Mobile Safari': 11
3468
- };
3469
- function checkBrowserSupport() {
3470
- const parser = new (ua_parser_default())();
3471
- const browser = parser.getBrowser();
3472
- const name = browser.name;
3473
- const version = parseFloat(browser.version);
3474
- const result = {
3475
- supported: true,
3476
- message: '',
3477
- browserName: name,
3478
- browserVersion: browser.version
3479
- };
3480
-
3481
- // 1. Check Service Worker API
3482
- if (!('serviceWorker' in navigator)) {
3483
- result.supported = false;
3484
- result.message = '当前浏览器不支持 Service Worker API。';
3485
- return result;
3486
- }
3487
-
3488
- // 2. Check Version
3489
- if (MIN_VERSIONS[name]) {
3490
- if (version < MIN_VERSIONS[name]) {
3491
- result.supported = false;
3492
- result.message = `浏览器版本过低。${name} ${version} < 需要 ${MIN_VERSIONS[name]}+`;
3493
- }
3494
- } else {
3495
- // Unknown browser, but supports SW (passed step 1)
3496
- // We can assume it's okay or warn user. Let's assume okay if SW API exists.
3497
- console.warn('检测到未知浏览器,但存在 Service Worker API。');
3498
- }
3499
- return result;
3500
- }
3501
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/UpdateModal.vue?vue&type=template&id=b732f484&scoped=true
3502
- var render = function render() {
3503
- var _vm = this,
3504
- _c = _vm._self._c;
3505
- return _c('a-modal', {
3506
- attrs: {
3507
- "visible": _vm.visible,
3508
- "title": "版本更新提示",
3509
- "closable": false,
3510
- "maskClosable": false,
3511
- "okText": "立即更新",
3512
- "cancelButtonProps": {
3513
- style: {
3514
- display: 'none'
3515
- }
3516
- }
3517
- },
3518
- on: {
3519
- "ok": _vm.handleOk
3520
- }
3521
- }, [_c('div', {
3522
- staticClass: "update-content"
3523
- }, [_c('a-icon', {
3524
- staticClass: "update-icon",
3525
- attrs: {
3526
- "type": "exclamation-circle",
3527
- "theme": "twoTone",
3528
- "twoToneColor": "#faad14"
3529
- }
3530
- }), _c('div', {
3531
- staticClass: "update-text"
3532
- }, [_c('p', {
3533
- staticClass: "update-title"
3534
- }, [_vm._v("检测到新版本发布!")]), _c('p', [_vm._v("为了获得更好的体验,请点击更新以加载最新版本。")])])], 1)]);
3535
- };
3536
- var staticRenderFns = [];
3537
-
3538
- ;// external "ant-design-vue"
3539
- var external_ant_design_vue_namespaceObject = require("ant-design-vue");
3540
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/UpdateModal.vue?vue&type=script&lang=js
3541
-
3542
- /* harmony default export */ var UpdateModalvue_type_script_lang_js = ({
3543
- name: 'UpdateModal',
3544
- components: {
3545
- AModal: external_ant_design_vue_namespaceObject.Modal,
3546
- AIcon: external_ant_design_vue_namespaceObject.Icon
3547
- },
3548
- props: {
3549
- updater: {
3550
- type: Object,
3551
- required: true
3552
- }
3553
- },
3554
- data() {
3555
- return {
3556
- visible: false
3557
- };
3558
- },
3559
- methods: {
3560
- show() {
3561
- this.visible = true;
3562
- },
3563
- hide() {
3564
- this.visible = false;
3565
- },
3566
- handleOk() {
3567
- this.visible = false;
3568
- // 调用 Updater 的 applyUpdate 方法
3569
- if (this.updater) {
3570
- this.updater.applyUpdate();
3571
- }
3572
- }
3573
- }
3574
- });
3575
- ;// ./src/lib/components/UpdateModal.vue?vue&type=script&lang=js
3576
- /* harmony default export */ var components_UpdateModalvue_type_script_lang_js = (UpdateModalvue_type_script_lang_js);
3577
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/UpdateModal.vue?vue&type=style&index=0&id=b732f484&prod&scoped=true&lang=css
3578
- var UpdateModalvue_type_style_index_0_id_b732f484_prod_scoped_true_lang_css = __webpack_require__(5532);
3579
- ;// ./src/lib/components/UpdateModal.vue?vue&type=style&index=0&id=b732f484&prod&scoped=true&lang=css
3580
-
3581
- ;// ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
3582
- /* globals __VUE_SSR_CONTEXT__ */
3583
-
3584
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
3585
- // This module is a runtime utility for cleaner component module output and will
3586
- // be included in the final webpack user bundle.
3587
-
3588
- function normalizeComponent(
3589
- scriptExports,
3590
- render,
3591
- staticRenderFns,
3592
- functionalTemplate,
3593
- injectStyles,
3594
- scopeId,
3595
- moduleIdentifier /* server only */,
3596
- shadowMode /* vue-cli only */
3597
- ) {
3598
- // Vue.extend constructor export interop
3599
- var options =
3600
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
3601
-
3602
- // render functions
3603
- if (render) {
3604
- options.render = render
3605
- options.staticRenderFns = staticRenderFns
3606
- options._compiled = true
3607
- }
3608
-
3609
- // functional template
3610
- if (functionalTemplate) {
3611
- options.functional = true
3612
- }
3613
-
3614
- // scopedId
3615
- if (scopeId) {
3616
- options._scopeId = 'data-v-' + scopeId
3617
- }
3618
-
3619
- var hook
3620
- if (moduleIdentifier) {
3621
- // server build
3622
- hook = function (context) {
3623
- // 2.3 injection
3624
- context =
3625
- context || // cached call
3626
- (this.$vnode && this.$vnode.ssrContext) || // stateful
3627
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
3628
- // 2.2 with runInNewContext: true
3629
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
3630
- context = __VUE_SSR_CONTEXT__
3631
- }
3632
- // inject component styles
3633
- if (injectStyles) {
3634
- injectStyles.call(this, context)
3635
- }
3636
- // register component module identifier for async chunk inferrence
3637
- if (context && context._registeredComponents) {
3638
- context._registeredComponents.add(moduleIdentifier)
3639
- }
3640
- }
3641
- // used by ssr in case component is cached and beforeCreate
3642
- // never gets called
3643
- options._ssrRegister = hook
3644
- } else if (injectStyles) {
3645
- hook = shadowMode
3646
- ? function () {
3647
- injectStyles.call(
3648
- this,
3649
- (options.functional ? this.parent : this).$root.$options.shadowRoot
3650
- )
3651
- }
3652
- : injectStyles
3653
- }
3654
-
3655
- if (hook) {
3656
- if (options.functional) {
3657
- // for template-only hot-reload because in that case the render fn doesn't
3658
- // go through the normalizer
3659
- options._injectStyles = hook
3660
- // register for functional component in vue file
3661
- var originalRender = options.render
3662
- options.render = function renderWithStyleInjection(h, context) {
3663
- hook.call(context)
3664
- return originalRender(h, context)
3665
- }
3666
- } else {
3667
- // inject component registration as beforeCreate hook
3668
- var existing = options.beforeCreate
3669
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
3670
- }
3671
- }
3672
-
3673
- return {
3674
- exports: scriptExports,
3675
- options: options
3676
- }
3677
- }
3678
-
3679
- ;// ./src/lib/components/UpdateModal.vue
3680
-
3681
-
3682
-
3683
- ;
3684
-
3685
-
3686
- /* normalize component */
3687
-
3688
- var component = normalizeComponent(
3689
- components_UpdateModalvue_type_script_lang_js,
3690
- render,
3691
- staticRenderFns,
3692
- false,
3693
- null,
3694
- "b732f484",
3695
- null
3696
-
3697
- )
3698
-
3699
- /* harmony default export */ var UpdateModal = (component.exports);
3700
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/BrowserError.vue?vue&type=template&id=cc0260f0&scoped=true
3701
- var BrowserErrorvue_type_template_id_cc0260f0_scoped_true_render = function render() {
3702
- var _vm = this,
3703
- _c = _vm._self._c;
3704
- return _c('a-modal', {
3705
- attrs: {
3706
- "visible": _vm.visible,
3707
- "title": "浏览器版本过低",
3708
- "closable": false,
3709
- "maskClosable": false,
3710
- "footer": null,
3711
- "keyboard": false
3712
- }
3713
- }, [_c('div', {
3714
- staticClass: "browser-error-content"
3715
- }, [_c('a-icon', {
3716
- staticClass: "error-icon",
3717
- attrs: {
3718
- "type": "close-circle",
3719
- "theme": "twoTone",
3720
- "twoToneColor": "#f5222d"
3721
- }
3722
- }), _c('div', {
3723
- staticClass: "error-text"
3724
- }, [_c('p', {
3725
- staticClass: "error-title"
3726
- }, [_vm._v("您的浏览器不支持本系统所需的特性")]), _c('p', [_vm._v("检测到您的浏览器信息如下:")]), _c('div', {
3727
- staticClass: "browser-info"
3728
- }, [_c('p', [_c('strong', [_vm._v("浏览器:")]), _vm._v(" " + _vm._s(_vm.browserName))]), _c('p', [_c('strong', [_vm._v("版本:")]), _vm._v(" " + _vm._s(_vm.browserVersion))])]), _c('p', {
3729
- staticClass: "suggestion"
3730
- }, [_vm._v("请升级您的浏览器(推荐 Chrome 80+)以获得正常的使用体验。")]), _c('p', {
3731
- staticClass: "error-detail"
3732
- }, [_vm._v(_vm._s(_vm.message))])])], 1)]);
3733
- };
3734
- var BrowserErrorvue_type_template_id_cc0260f0_scoped_true_staticRenderFns = [];
3735
-
3736
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/BrowserError.vue?vue&type=script&lang=js
3737
-
3738
- /* harmony default export */ var BrowserErrorvue_type_script_lang_js = ({
3739
- name: 'BrowserError',
3740
- components: {
3741
- AModal: external_ant_design_vue_namespaceObject.Modal,
3742
- AIcon: external_ant_design_vue_namespaceObject.Icon
3743
- },
3744
- data() {
3745
- return {
3746
- visible: false,
3747
- browserName: '',
3748
- browserVersion: '',
3749
- message: ''
3750
- };
3751
- },
3752
- methods: {
3753
- show(info) {
3754
- this.browserName = info.browserName;
3755
- this.browserVersion = info.browserVersion;
3756
- this.message = info.message;
3757
- this.visible = true;
3758
- }
3759
- }
3760
- });
3761
- ;// ./src/lib/components/BrowserError.vue?vue&type=script&lang=js
3762
- /* harmony default export */ var components_BrowserErrorvue_type_script_lang_js = (BrowserErrorvue_type_script_lang_js);
3763
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/lib/components/BrowserError.vue?vue&type=style&index=0&id=cc0260f0&prod&scoped=true&lang=css
3764
- var BrowserErrorvue_type_style_index_0_id_cc0260f0_prod_scoped_true_lang_css = __webpack_require__(6024);
3765
- ;// ./src/lib/components/BrowserError.vue?vue&type=style&index=0&id=cc0260f0&prod&scoped=true&lang=css
3766
-
3767
- ;// ./src/lib/components/BrowserError.vue
3768
-
3769
-
3770
-
3771
- ;
3772
-
3773
-
3774
- /* normalize component */
3775
-
3776
- var BrowserError_component = normalizeComponent(
3777
- components_BrowserErrorvue_type_script_lang_js,
3778
- BrowserErrorvue_type_template_id_cc0260f0_scoped_true_render,
3779
- BrowserErrorvue_type_template_id_cc0260f0_scoped_true_staticRenderFns,
3780
- false,
3781
- null,
3782
- "cc0260f0",
3783
- null
3784
-
3785
- )
3786
-
3787
- /* harmony default export */ var BrowserError = (BrowserError_component.exports);
3788
- ;// ./src/lib/index.js
3789
-
3790
-
3791
-
3792
-
3793
-
3794
-
3795
-
3796
-
3797
- // 导出单独的组件和工具,以便高级用户按需使用
3798
-
3799
- const Plugin = {
3800
- install(Vue, options = {}) {
3801
- // 1. Browser Check
3802
- const checkResult = checkBrowserSupport();
3803
- if (!checkResult.supported) {
3804
- // Mount BrowserError
3805
- const ErrorConstructor = Vue.extend(BrowserError);
3806
- const errorInstance = new ErrorConstructor();
3807
- errorInstance.$mount();
3808
- document.body.appendChild(errorInstance.$el);
3809
-
3810
- // Delay show slightly to ensure mount
3811
- Vue.nextTick(() => {
3812
- errorInstance.show(checkResult);
3813
- });
3814
- return; // Stop initialization of SW
3815
- }
3816
-
3817
- // 2. Prepare UpdateModal Instance
3818
- let modalInstance = null;
3819
-
3820
- // 3. Service Worker Updater
3821
- // 构造带参数的 SW URL
3822
- let swUrl = options.swUrl || '/service-worker.js';
3823
- const params = new URLSearchParams();
3824
- if (options.version) params.append('v', options.version);
3825
- if (options.appName) params.append('app', options.appName);
3826
- if (options.env) params.append('env', options.env);
3827
- const queryString = params.toString();
3828
- if (queryString) {
3829
- swUrl += (swUrl.indexOf('?') === -1 ? '?' : '&') + queryString;
3830
- }
3831
- const updater = new ServiceWorkerUpdater({
3832
- swUrl: swUrl,
3833
- onUpdateFound: () => {
3834
- if (modalInstance) {
3835
- modalInstance.show();
3836
- }
3837
- },
3838
- onError: err => {
3839
- if (options.debug) {
3840
- console.error('[VueSWUpdater] SW 注册错误:', err);
3841
- }
3842
- }
3843
- });
3844
-
3845
- // 4. Mount UpdateModal
3846
- const ModalConstructor = Vue.extend(UpdateModal);
3847
- modalInstance = new ModalConstructor({
3848
- propsData: {
3849
- updater: updater
3850
- }
3851
- });
3852
- modalInstance.$mount();
3853
- document.body.appendChild(modalInstance.$el);
3854
-
3855
- // 5. Init Updater
3856
- // Wait for window load to avoid affecting page load performance
3857
- window.addEventListener('load', () => {
3858
- updater.init();
3859
- });
3860
-
3861
- // 6. Expose to Vue prototype
3862
- Vue.prototype.$swUpdater = updater;
3863
- }
3864
- };
3865
- /* harmony default export */ var lib = (Plugin);
3866
- ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
3867
-
3868
-
3869
- /* harmony default export */ var entry_lib = (lib);
3870
-
3871
-
3872
- }();
3873
- module.exports = __webpack_exports__;
3874
- /******/ })()
3875
- ;
3876
- //# sourceMappingURL=vue-sw-updater.common.js.map