hoeditor-web 3.1.197 → 3.1.198

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,4 +1,4 @@
1
- ((typeof self !== 'undefined' ? self : this)["webpackChunkhoeditor"] = (typeof self !== 'undefined' ? self : this)["webpackChunkhoeditor"] || []).push([[132],{
1
+ ((typeof self !== 'undefined' ? self : this)["webpackChunkhoeditor"] = (typeof self !== 'undefined' ? self : this)["webpackChunkhoeditor"] || []).push([[982],{
2
2
 
3
3
  /***/ 82855:
4
4
  /***/ (function(module) {
@@ -307,6 +307,548 @@ module.exports = function(color_string) {
307
307
  }
308
308
 
309
309
 
310
+ /***/ }),
311
+
312
+ /***/ 80926:
313
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
314
+
315
+ "use strict";
316
+
317
+ var aCallable = __webpack_require__(79306);
318
+ var toObject = __webpack_require__(48981);
319
+ var IndexedObject = __webpack_require__(47055);
320
+ var lengthOfArrayLike = __webpack_require__(26198);
321
+
322
+ var $TypeError = TypeError;
323
+
324
+ var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
325
+
326
+ // `Array.prototype.{ reduce, reduceRight }` methods implementation
327
+ var createMethod = function (IS_RIGHT) {
328
+ return function (that, callbackfn, argumentsLength, memo) {
329
+ var O = toObject(that);
330
+ var self = IndexedObject(O);
331
+ var length = lengthOfArrayLike(O);
332
+ aCallable(callbackfn);
333
+ if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);
334
+ var index = IS_RIGHT ? length - 1 : 0;
335
+ var i = IS_RIGHT ? -1 : 1;
336
+ if (argumentsLength < 2) while (true) {
337
+ if (index in self) {
338
+ memo = self[index];
339
+ index += i;
340
+ break;
341
+ }
342
+ index += i;
343
+ if (IS_RIGHT ? index < 0 : length <= index) {
344
+ throw new $TypeError(REDUCE_EMPTY);
345
+ }
346
+ }
347
+ for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
348
+ memo = callbackfn(memo, self[index], index, O);
349
+ }
350
+ return memo;
351
+ };
352
+ };
353
+
354
+ module.exports = {
355
+ // `Array.prototype.reduce` method
356
+ // https://tc39.es/ecma262/#sec-array.prototype.reduce
357
+ left: createMethod(false),
358
+ // `Array.prototype.reduceRight` method
359
+ // https://tc39.es/ecma262/#sec-array.prototype.reduceright
360
+ right: createMethod(true)
361
+ };
362
+
363
+
364
+ /***/ }),
365
+
366
+ /***/ 41436:
367
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
368
+
369
+ "use strict";
370
+
371
+ var wellKnownSymbol = __webpack_require__(78227);
372
+
373
+ var MATCH = wellKnownSymbol('match');
374
+
375
+ module.exports = function (METHOD_NAME) {
376
+ var regexp = /./;
377
+ try {
378
+ '/./'[METHOD_NAME](regexp);
379
+ } catch (error1) {
380
+ try {
381
+ regexp[MATCH] = false;
382
+ return '/./'[METHOD_NAME](regexp);
383
+ } catch (error2) { /* empty */ }
384
+ } return false;
385
+ };
386
+
387
+
388
+ /***/ }),
389
+
390
+ /***/ 44265:
391
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
392
+
393
+ "use strict";
394
+
395
+ var userAgent = __webpack_require__(82839);
396
+
397
+ module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';
398
+
399
+
400
+ /***/ }),
401
+
402
+ /***/ 89544:
403
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
404
+
405
+ "use strict";
406
+
407
+ var userAgent = __webpack_require__(82839);
408
+
409
+ // eslint-disable-next-line redos/no-vulnerable -- safe
410
+ module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
411
+
412
+
413
+ /***/ }),
414
+
415
+ /***/ 7860:
416
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
417
+
418
+ "use strict";
419
+
420
+ var userAgent = __webpack_require__(82839);
421
+
422
+ module.exports = /web0s(?!.*chrome)/i.test(userAgent);
423
+
424
+
425
+ /***/ }),
426
+
427
+ /***/ 90757:
428
+ /***/ (function(module) {
429
+
430
+ "use strict";
431
+
432
+ module.exports = function (a, b) {
433
+ try {
434
+ // eslint-disable-next-line no-console -- safe
435
+ arguments.length === 1 ? console.error(a) : console.error(a, b);
436
+ } catch (error) { /* empty */ }
437
+ };
438
+
439
+
440
+ /***/ }),
441
+
442
+ /***/ 91955:
443
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
444
+
445
+ "use strict";
446
+
447
+ var globalThis = __webpack_require__(44576);
448
+ var safeGetBuiltIn = __webpack_require__(93389);
449
+ var bind = __webpack_require__(76080);
450
+ var macrotask = (__webpack_require__(59225).set);
451
+ var Queue = __webpack_require__(18265);
452
+ var IS_IOS = __webpack_require__(89544);
453
+ var IS_IOS_PEBBLE = __webpack_require__(44265);
454
+ var IS_WEBOS_WEBKIT = __webpack_require__(7860);
455
+ var IS_NODE = __webpack_require__(38574);
456
+
457
+ var MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;
458
+ var document = globalThis.document;
459
+ var process = globalThis.process;
460
+ var Promise = globalThis.Promise;
461
+ var microtask = safeGetBuiltIn('queueMicrotask');
462
+ var notify, toggle, node, promise, then;
463
+
464
+ // modern engines have queueMicrotask method
465
+ if (!microtask) {
466
+ var queue = new Queue();
467
+
468
+ var flush = function () {
469
+ var parent, fn;
470
+ if (IS_NODE && (parent = process.domain)) parent.exit();
471
+ while (fn = queue.get()) try {
472
+ fn();
473
+ } catch (error) {
474
+ if (queue.head) notify();
475
+ throw error;
476
+ }
477
+ if (parent) parent.enter();
478
+ };
479
+
480
+ // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
481
+ // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
482
+ if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {
483
+ toggle = true;
484
+ node = document.createTextNode('');
485
+ new MutationObserver(flush).observe(node, { characterData: true });
486
+ notify = function () {
487
+ node.data = toggle = !toggle;
488
+ };
489
+ // environments with maybe non-completely correct, but existent Promise
490
+ } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {
491
+ // Promise.resolve without an argument throws an error in LG WebOS 2
492
+ promise = Promise.resolve(undefined);
493
+ // workaround of WebKit ~ iOS Safari 10.1 bug
494
+ promise.constructor = Promise;
495
+ then = bind(promise.then, promise);
496
+ notify = function () {
497
+ then(flush);
498
+ };
499
+ // Node.js without promises
500
+ } else if (IS_NODE) {
501
+ notify = function () {
502
+ process.nextTick(flush);
503
+ };
504
+ // for other environments - macrotask based on:
505
+ // - setImmediate
506
+ // - MessageChannel
507
+ // - window.postMessage
508
+ // - onreadystatechange
509
+ // - setTimeout
510
+ } else {
511
+ // `webpack` dev server bug on IE global methods - use bind(fn, global)
512
+ macrotask = bind(macrotask, globalThis);
513
+ notify = function () {
514
+ macrotask(flush);
515
+ };
516
+ }
517
+
518
+ microtask = function (fn) {
519
+ if (!queue.head) notify();
520
+ queue.add(fn);
521
+ };
522
+ }
523
+
524
+ module.exports = microtask;
525
+
526
+
527
+ /***/ }),
528
+
529
+ /***/ 36043:
530
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
531
+
532
+ "use strict";
533
+
534
+ var aCallable = __webpack_require__(79306);
535
+
536
+ var $TypeError = TypeError;
537
+
538
+ var PromiseCapability = function (C) {
539
+ var resolve, reject;
540
+ this.promise = new C(function ($$resolve, $$reject) {
541
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');
542
+ resolve = $$resolve;
543
+ reject = $$reject;
544
+ });
545
+ this.resolve = aCallable(resolve);
546
+ this.reject = aCallable(reject);
547
+ };
548
+
549
+ // `NewPromiseCapability` abstract operation
550
+ // https://tc39.es/ecma262/#sec-newpromisecapability
551
+ module.exports.f = function (C) {
552
+ return new PromiseCapability(C);
553
+ };
554
+
555
+
556
+ /***/ }),
557
+
558
+ /***/ 60511:
559
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
560
+
561
+ "use strict";
562
+
563
+ var isRegExp = __webpack_require__(60788);
564
+
565
+ var $TypeError = TypeError;
566
+
567
+ module.exports = function (it) {
568
+ if (isRegExp(it)) {
569
+ throw new $TypeError("The method doesn't accept regular expressions");
570
+ } return it;
571
+ };
572
+
573
+
574
+ /***/ }),
575
+
576
+ /***/ 1103:
577
+ /***/ (function(module) {
578
+
579
+ "use strict";
580
+
581
+ module.exports = function (exec) {
582
+ try {
583
+ return { error: false, value: exec() };
584
+ } catch (error) {
585
+ return { error: true, value: error };
586
+ }
587
+ };
588
+
589
+
590
+ /***/ }),
591
+
592
+ /***/ 10916:
593
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
594
+
595
+ "use strict";
596
+
597
+ var globalThis = __webpack_require__(44576);
598
+ var NativePromiseConstructor = __webpack_require__(80550);
599
+ var isCallable = __webpack_require__(94901);
600
+ var isForced = __webpack_require__(92796);
601
+ var inspectSource = __webpack_require__(33706);
602
+ var wellKnownSymbol = __webpack_require__(78227);
603
+ var ENVIRONMENT = __webpack_require__(84215);
604
+ var IS_PURE = __webpack_require__(96395);
605
+ var V8_VERSION = __webpack_require__(39519);
606
+
607
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
608
+ var SPECIES = wellKnownSymbol('species');
609
+ var SUBCLASSING = false;
610
+ var NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);
611
+
612
+ var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {
613
+ var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);
614
+ var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);
615
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
616
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
617
+ // We can't detect it synchronously, so just check versions
618
+ if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
619
+ // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution
620
+ if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;
621
+ // We can't use @@species feature detection in V8 since it causes
622
+ // deoptimization and performance degradation
623
+ // https://github.com/zloirock/core-js/issues/679
624
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
625
+ // Detect correctness of subclassing with @@species support
626
+ var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });
627
+ var FakePromise = function (exec) {
628
+ exec(function () { /* empty */ }, function () { /* empty */ });
629
+ };
630
+ var constructor = promise.constructor = {};
631
+ constructor[SPECIES] = FakePromise;
632
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
633
+ if (!SUBCLASSING) return true;
634
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
635
+ } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;
636
+ });
637
+
638
+ module.exports = {
639
+ CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,
640
+ REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,
641
+ SUBCLASSING: SUBCLASSING
642
+ };
643
+
644
+
645
+ /***/ }),
646
+
647
+ /***/ 80550:
648
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
649
+
650
+ "use strict";
651
+
652
+ var globalThis = __webpack_require__(44576);
653
+
654
+ module.exports = globalThis.Promise;
655
+
656
+
657
+ /***/ }),
658
+
659
+ /***/ 93438:
660
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
661
+
662
+ "use strict";
663
+
664
+ var anObject = __webpack_require__(28551);
665
+ var isObject = __webpack_require__(20034);
666
+ var newPromiseCapability = __webpack_require__(36043);
667
+
668
+ module.exports = function (C, x) {
669
+ anObject(C);
670
+ if (isObject(x) && x.constructor === C) return x;
671
+ var promiseCapability = newPromiseCapability.f(C);
672
+ var resolve = promiseCapability.resolve;
673
+ resolve(x);
674
+ return promiseCapability.promise;
675
+ };
676
+
677
+
678
+ /***/ }),
679
+
680
+ /***/ 90537:
681
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
682
+
683
+ "use strict";
684
+
685
+ var NativePromiseConstructor = __webpack_require__(80550);
686
+ var checkCorrectnessOfIteration = __webpack_require__(84428);
687
+ var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(10916).CONSTRUCTOR);
688
+
689
+ module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
690
+ NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
691
+ });
692
+
693
+
694
+ /***/ }),
695
+
696
+ /***/ 18265:
697
+ /***/ (function(module) {
698
+
699
+ "use strict";
700
+
701
+ var Queue = function () {
702
+ this.head = null;
703
+ this.tail = null;
704
+ };
705
+
706
+ Queue.prototype = {
707
+ add: function (item) {
708
+ var entry = { item: item, next: null };
709
+ var tail = this.tail;
710
+ if (tail) tail.next = entry;
711
+ else this.head = entry;
712
+ this.tail = entry;
713
+ },
714
+ get: function () {
715
+ var entry = this.head;
716
+ if (entry) {
717
+ var next = this.head = entry.next;
718
+ if (next === null) this.tail = null;
719
+ return entry.item;
720
+ }
721
+ }
722
+ };
723
+
724
+ module.exports = Queue;
725
+
726
+
727
+ /***/ }),
728
+
729
+ /***/ 59225:
730
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
731
+
732
+ "use strict";
733
+
734
+ var globalThis = __webpack_require__(44576);
735
+ var apply = __webpack_require__(18745);
736
+ var bind = __webpack_require__(76080);
737
+ var isCallable = __webpack_require__(94901);
738
+ var hasOwn = __webpack_require__(39297);
739
+ var fails = __webpack_require__(79039);
740
+ var html = __webpack_require__(20397);
741
+ var arraySlice = __webpack_require__(67680);
742
+ var createElement = __webpack_require__(4055);
743
+ var validateArgumentsLength = __webpack_require__(22812);
744
+ var IS_IOS = __webpack_require__(89544);
745
+ var IS_NODE = __webpack_require__(38574);
746
+
747
+ var set = globalThis.setImmediate;
748
+ var clear = globalThis.clearImmediate;
749
+ var process = globalThis.process;
750
+ var Dispatch = globalThis.Dispatch;
751
+ var Function = globalThis.Function;
752
+ var MessageChannel = globalThis.MessageChannel;
753
+ var String = globalThis.String;
754
+ var counter = 0;
755
+ var queue = {};
756
+ var ONREADYSTATECHANGE = 'onreadystatechange';
757
+ var $location, defer, channel, port;
758
+
759
+ fails(function () {
760
+ // Deno throws a ReferenceError on `location` access without `--location` flag
761
+ $location = globalThis.location;
762
+ });
763
+
764
+ var run = function (id) {
765
+ if (hasOwn(queue, id)) {
766
+ var fn = queue[id];
767
+ delete queue[id];
768
+ fn();
769
+ }
770
+ };
771
+
772
+ var runner = function (id) {
773
+ return function () {
774
+ run(id);
775
+ };
776
+ };
777
+
778
+ var eventListener = function (event) {
779
+ run(event.data);
780
+ };
781
+
782
+ var globalPostMessageDefer = function (id) {
783
+ // old engines have not location.origin
784
+ globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);
785
+ };
786
+
787
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
788
+ if (!set || !clear) {
789
+ set = function setImmediate(handler) {
790
+ validateArgumentsLength(arguments.length, 1);
791
+ var fn = isCallable(handler) ? handler : Function(handler);
792
+ var args = arraySlice(arguments, 1);
793
+ queue[++counter] = function () {
794
+ apply(fn, undefined, args);
795
+ };
796
+ defer(counter);
797
+ return counter;
798
+ };
799
+ clear = function clearImmediate(id) {
800
+ delete queue[id];
801
+ };
802
+ // Node.js 0.8-
803
+ if (IS_NODE) {
804
+ defer = function (id) {
805
+ process.nextTick(runner(id));
806
+ };
807
+ // Sphere (JS game engine) Dispatch API
808
+ } else if (Dispatch && Dispatch.now) {
809
+ defer = function (id) {
810
+ Dispatch.now(runner(id));
811
+ };
812
+ // Browsers with MessageChannel, includes WebWorkers
813
+ // except iOS - https://github.com/zloirock/core-js/issues/624
814
+ } else if (MessageChannel && !IS_IOS) {
815
+ channel = new MessageChannel();
816
+ port = channel.port2;
817
+ channel.port1.onmessage = eventListener;
818
+ defer = bind(port.postMessage, port);
819
+ // Browsers with postMessage, skip WebWorkers
820
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
821
+ } else if (
822
+ globalThis.addEventListener &&
823
+ isCallable(globalThis.postMessage) &&
824
+ !globalThis.importScripts &&
825
+ $location && $location.protocol !== 'file:' &&
826
+ !fails(globalPostMessageDefer)
827
+ ) {
828
+ defer = globalPostMessageDefer;
829
+ globalThis.addEventListener('message', eventListener, false);
830
+ // IE8-
831
+ } else if (ONREADYSTATECHANGE in createElement('script')) {
832
+ defer = function (id) {
833
+ html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
834
+ html.removeChild(this);
835
+ run(id);
836
+ };
837
+ };
838
+ // Rest old browsers
839
+ } else {
840
+ defer = function (id) {
841
+ setTimeout(runner(id), 0);
842
+ };
843
+ }
844
+ }
845
+
846
+ module.exports = {
847
+ set: set,
848
+ clear: clear
849
+ };
850
+
851
+
310
852
  /***/ }),
311
853
 
312
854
  /***/ 25276:
@@ -368,7 +910,805 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
368
910
 
369
911
  /***/ }),
370
912
 
371
- /***/ 61132:
913
+ /***/ 16499:
914
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
915
+
916
+ "use strict";
917
+
918
+ var $ = __webpack_require__(46518);
919
+ var call = __webpack_require__(69565);
920
+ var aCallable = __webpack_require__(79306);
921
+ var newPromiseCapabilityModule = __webpack_require__(36043);
922
+ var perform = __webpack_require__(1103);
923
+ var iterate = __webpack_require__(72652);
924
+ var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(90537);
925
+
926
+ // `Promise.all` method
927
+ // https://tc39.es/ecma262/#sec-promise.all
928
+ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
929
+ all: function all(iterable) {
930
+ var C = this;
931
+ var capability = newPromiseCapabilityModule.f(C);
932
+ var resolve = capability.resolve;
933
+ var reject = capability.reject;
934
+ var result = perform(function () {
935
+ var $promiseResolve = aCallable(C.resolve);
936
+ var values = [];
937
+ var counter = 0;
938
+ var remaining = 1;
939
+ iterate(iterable, function (promise) {
940
+ var index = counter++;
941
+ var alreadyCalled = false;
942
+ remaining++;
943
+ call($promiseResolve, C, promise).then(function (value) {
944
+ if (alreadyCalled) return;
945
+ alreadyCalled = true;
946
+ values[index] = value;
947
+ --remaining || resolve(values);
948
+ }, reject);
949
+ });
950
+ --remaining || resolve(values);
951
+ });
952
+ if (result.error) reject(result.value);
953
+ return capability.promise;
954
+ }
955
+ });
956
+
957
+
958
+ /***/ }),
959
+
960
+ /***/ 82003:
961
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
962
+
963
+ "use strict";
964
+
965
+ var $ = __webpack_require__(46518);
966
+ var IS_PURE = __webpack_require__(96395);
967
+ var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(10916).CONSTRUCTOR);
968
+ var NativePromiseConstructor = __webpack_require__(80550);
969
+ var getBuiltIn = __webpack_require__(97751);
970
+ var isCallable = __webpack_require__(94901);
971
+ var defineBuiltIn = __webpack_require__(36840);
972
+
973
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
974
+
975
+ // `Promise.prototype.catch` method
976
+ // https://tc39.es/ecma262/#sec-promise.prototype.catch
977
+ $({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {
978
+ 'catch': function (onRejected) {
979
+ return this.then(undefined, onRejected);
980
+ }
981
+ });
982
+
983
+ // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
984
+ if (!IS_PURE && isCallable(NativePromiseConstructor)) {
985
+ var method = getBuiltIn('Promise').prototype['catch'];
986
+ if (NativePromisePrototype['catch'] !== method) {
987
+ defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });
988
+ }
989
+ }
990
+
991
+
992
+ /***/ }),
993
+
994
+ /***/ 10436:
995
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
996
+
997
+ "use strict";
998
+
999
+ var $ = __webpack_require__(46518);
1000
+ var IS_PURE = __webpack_require__(96395);
1001
+ var IS_NODE = __webpack_require__(38574);
1002
+ var globalThis = __webpack_require__(44576);
1003
+ var call = __webpack_require__(69565);
1004
+ var defineBuiltIn = __webpack_require__(36840);
1005
+ var setPrototypeOf = __webpack_require__(52967);
1006
+ var setToStringTag = __webpack_require__(10687);
1007
+ var setSpecies = __webpack_require__(87633);
1008
+ var aCallable = __webpack_require__(79306);
1009
+ var isCallable = __webpack_require__(94901);
1010
+ var isObject = __webpack_require__(20034);
1011
+ var anInstance = __webpack_require__(90679);
1012
+ var speciesConstructor = __webpack_require__(2293);
1013
+ var task = (__webpack_require__(59225).set);
1014
+ var microtask = __webpack_require__(91955);
1015
+ var hostReportErrors = __webpack_require__(90757);
1016
+ var perform = __webpack_require__(1103);
1017
+ var Queue = __webpack_require__(18265);
1018
+ var InternalStateModule = __webpack_require__(91181);
1019
+ var NativePromiseConstructor = __webpack_require__(80550);
1020
+ var PromiseConstructorDetection = __webpack_require__(10916);
1021
+ var newPromiseCapabilityModule = __webpack_require__(36043);
1022
+
1023
+ var PROMISE = 'Promise';
1024
+ var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;
1025
+ var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
1026
+ var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
1027
+ var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
1028
+ var setInternalState = InternalStateModule.set;
1029
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
1030
+ var PromiseConstructor = NativePromiseConstructor;
1031
+ var PromisePrototype = NativePromisePrototype;
1032
+ var TypeError = globalThis.TypeError;
1033
+ var document = globalThis.document;
1034
+ var process = globalThis.process;
1035
+ var newPromiseCapability = newPromiseCapabilityModule.f;
1036
+ var newGenericPromiseCapability = newPromiseCapability;
1037
+
1038
+ var DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);
1039
+ var UNHANDLED_REJECTION = 'unhandledrejection';
1040
+ var REJECTION_HANDLED = 'rejectionhandled';
1041
+ var PENDING = 0;
1042
+ var FULFILLED = 1;
1043
+ var REJECTED = 2;
1044
+ var HANDLED = 1;
1045
+ var UNHANDLED = 2;
1046
+
1047
+ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
1048
+
1049
+ // helpers
1050
+ var isThenable = function (it) {
1051
+ var then;
1052
+ return isObject(it) && isCallable(then = it.then) ? then : false;
1053
+ };
1054
+
1055
+ var callReaction = function (reaction, state) {
1056
+ var value = state.value;
1057
+ var ok = state.state === FULFILLED;
1058
+ var handler = ok ? reaction.ok : reaction.fail;
1059
+ var resolve = reaction.resolve;
1060
+ var reject = reaction.reject;
1061
+ var domain = reaction.domain;
1062
+ var result, then, exited;
1063
+ try {
1064
+ if (handler) {
1065
+ if (!ok) {
1066
+ if (state.rejection === UNHANDLED) onHandleUnhandled(state);
1067
+ state.rejection = HANDLED;
1068
+ }
1069
+ if (handler === true) result = value;
1070
+ else {
1071
+ if (domain) domain.enter();
1072
+ result = handler(value); // can throw
1073
+ if (domain) {
1074
+ domain.exit();
1075
+ exited = true;
1076
+ }
1077
+ }
1078
+ if (result === reaction.promise) {
1079
+ reject(new TypeError('Promise-chain cycle'));
1080
+ } else if (then = isThenable(result)) {
1081
+ call(then, result, resolve, reject);
1082
+ } else resolve(result);
1083
+ } else reject(value);
1084
+ } catch (error) {
1085
+ if (domain && !exited) domain.exit();
1086
+ reject(error);
1087
+ }
1088
+ };
1089
+
1090
+ var notify = function (state, isReject) {
1091
+ if (state.notified) return;
1092
+ state.notified = true;
1093
+ microtask(function () {
1094
+ var reactions = state.reactions;
1095
+ var reaction;
1096
+ while (reaction = reactions.get()) {
1097
+ callReaction(reaction, state);
1098
+ }
1099
+ state.notified = false;
1100
+ if (isReject && !state.rejection) onUnhandled(state);
1101
+ });
1102
+ };
1103
+
1104
+ var dispatchEvent = function (name, promise, reason) {
1105
+ var event, handler;
1106
+ if (DISPATCH_EVENT) {
1107
+ event = document.createEvent('Event');
1108
+ event.promise = promise;
1109
+ event.reason = reason;
1110
+ event.initEvent(name, false, true);
1111
+ globalThis.dispatchEvent(event);
1112
+ } else event = { promise: promise, reason: reason };
1113
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);
1114
+ else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
1115
+ };
1116
+
1117
+ var onUnhandled = function (state) {
1118
+ call(task, globalThis, function () {
1119
+ var promise = state.facade;
1120
+ var value = state.value;
1121
+ var IS_UNHANDLED = isUnhandled(state);
1122
+ var result;
1123
+ if (IS_UNHANDLED) {
1124
+ result = perform(function () {
1125
+ if (IS_NODE) {
1126
+ process.emit('unhandledRejection', value, promise);
1127
+ } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
1128
+ });
1129
+ // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
1130
+ state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
1131
+ if (result.error) throw result.value;
1132
+ }
1133
+ });
1134
+ };
1135
+
1136
+ var isUnhandled = function (state) {
1137
+ return state.rejection !== HANDLED && !state.parent;
1138
+ };
1139
+
1140
+ var onHandleUnhandled = function (state) {
1141
+ call(task, globalThis, function () {
1142
+ var promise = state.facade;
1143
+ if (IS_NODE) {
1144
+ process.emit('rejectionHandled', promise);
1145
+ } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
1146
+ });
1147
+ };
1148
+
1149
+ var bind = function (fn, state, unwrap) {
1150
+ return function (value) {
1151
+ fn(state, value, unwrap);
1152
+ };
1153
+ };
1154
+
1155
+ var internalReject = function (state, value, unwrap) {
1156
+ if (state.done) return;
1157
+ state.done = true;
1158
+ if (unwrap) state = unwrap;
1159
+ state.value = value;
1160
+ state.state = REJECTED;
1161
+ notify(state, true);
1162
+ };
1163
+
1164
+ var internalResolve = function (state, value, unwrap) {
1165
+ if (state.done) return;
1166
+ state.done = true;
1167
+ if (unwrap) state = unwrap;
1168
+ try {
1169
+ if (state.facade === value) throw new TypeError("Promise can't be resolved itself");
1170
+ var then = isThenable(value);
1171
+ if (then) {
1172
+ microtask(function () {
1173
+ var wrapper = { done: false };
1174
+ try {
1175
+ call(then, value,
1176
+ bind(internalResolve, wrapper, state),
1177
+ bind(internalReject, wrapper, state)
1178
+ );
1179
+ } catch (error) {
1180
+ internalReject(wrapper, error, state);
1181
+ }
1182
+ });
1183
+ } else {
1184
+ state.value = value;
1185
+ state.state = FULFILLED;
1186
+ notify(state, false);
1187
+ }
1188
+ } catch (error) {
1189
+ internalReject({ done: false }, error, state);
1190
+ }
1191
+ };
1192
+
1193
+ // constructor polyfill
1194
+ if (FORCED_PROMISE_CONSTRUCTOR) {
1195
+ // 25.4.3.1 Promise(executor)
1196
+ PromiseConstructor = function Promise(executor) {
1197
+ anInstance(this, PromisePrototype);
1198
+ aCallable(executor);
1199
+ call(Internal, this);
1200
+ var state = getInternalPromiseState(this);
1201
+ try {
1202
+ executor(bind(internalResolve, state), bind(internalReject, state));
1203
+ } catch (error) {
1204
+ internalReject(state, error);
1205
+ }
1206
+ };
1207
+
1208
+ PromisePrototype = PromiseConstructor.prototype;
1209
+
1210
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
1211
+ Internal = function Promise(executor) {
1212
+ setInternalState(this, {
1213
+ type: PROMISE,
1214
+ done: false,
1215
+ notified: false,
1216
+ parent: false,
1217
+ reactions: new Queue(),
1218
+ rejection: false,
1219
+ state: PENDING,
1220
+ value: null
1221
+ });
1222
+ };
1223
+
1224
+ // `Promise.prototype.then` method
1225
+ // https://tc39.es/ecma262/#sec-promise.prototype.then
1226
+ Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
1227
+ var state = getInternalPromiseState(this);
1228
+ var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));
1229
+ state.parent = true;
1230
+ reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;
1231
+ reaction.fail = isCallable(onRejected) && onRejected;
1232
+ reaction.domain = IS_NODE ? process.domain : undefined;
1233
+ if (state.state === PENDING) state.reactions.add(reaction);
1234
+ else microtask(function () {
1235
+ callReaction(reaction, state);
1236
+ });
1237
+ return reaction.promise;
1238
+ });
1239
+
1240
+ OwnPromiseCapability = function () {
1241
+ var promise = new Internal();
1242
+ var state = getInternalPromiseState(promise);
1243
+ this.promise = promise;
1244
+ this.resolve = bind(internalResolve, state);
1245
+ this.reject = bind(internalReject, state);
1246
+ };
1247
+
1248
+ newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
1249
+ return C === PromiseConstructor || C === PromiseWrapper
1250
+ ? new OwnPromiseCapability(C)
1251
+ : newGenericPromiseCapability(C);
1252
+ };
1253
+
1254
+ if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {
1255
+ nativeThen = NativePromisePrototype.then;
1256
+
1257
+ if (!NATIVE_PROMISE_SUBCLASSING) {
1258
+ // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
1259
+ defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {
1260
+ var that = this;
1261
+ return new PromiseConstructor(function (resolve, reject) {
1262
+ call(nativeThen, that, resolve, reject);
1263
+ }).then(onFulfilled, onRejected);
1264
+ // https://github.com/zloirock/core-js/issues/640
1265
+ }, { unsafe: true });
1266
+ }
1267
+
1268
+ // make `.constructor === Promise` work for native promise-based APIs
1269
+ try {
1270
+ delete NativePromisePrototype.constructor;
1271
+ } catch (error) { /* empty */ }
1272
+
1273
+ // make `instanceof Promise` work for native promise-based APIs
1274
+ if (setPrototypeOf) {
1275
+ setPrototypeOf(NativePromisePrototype, PromisePrototype);
1276
+ }
1277
+ }
1278
+ }
1279
+
1280
+ // `Promise` constructor
1281
+ // https://tc39.es/ecma262/#sec-promise-executor
1282
+ $({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
1283
+ Promise: PromiseConstructor
1284
+ });
1285
+
1286
+ setToStringTag(PromiseConstructor, PROMISE, false, true);
1287
+ setSpecies(PROMISE);
1288
+
1289
+
1290
+ /***/ }),
1291
+
1292
+ /***/ 3362:
1293
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1294
+
1295
+ "use strict";
1296
+
1297
+ // TODO: Remove this module from `core-js@4` since it's split to modules listed below
1298
+ __webpack_require__(10436);
1299
+ __webpack_require__(16499);
1300
+ __webpack_require__(82003);
1301
+ __webpack_require__(7743);
1302
+ __webpack_require__(51481);
1303
+ __webpack_require__(40280);
1304
+
1305
+
1306
+ /***/ }),
1307
+
1308
+ /***/ 7743:
1309
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1310
+
1311
+ "use strict";
1312
+
1313
+ var $ = __webpack_require__(46518);
1314
+ var call = __webpack_require__(69565);
1315
+ var aCallable = __webpack_require__(79306);
1316
+ var newPromiseCapabilityModule = __webpack_require__(36043);
1317
+ var perform = __webpack_require__(1103);
1318
+ var iterate = __webpack_require__(72652);
1319
+ var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(90537);
1320
+
1321
+ // `Promise.race` method
1322
+ // https://tc39.es/ecma262/#sec-promise.race
1323
+ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
1324
+ race: function race(iterable) {
1325
+ var C = this;
1326
+ var capability = newPromiseCapabilityModule.f(C);
1327
+ var reject = capability.reject;
1328
+ var result = perform(function () {
1329
+ var $promiseResolve = aCallable(C.resolve);
1330
+ iterate(iterable, function (promise) {
1331
+ call($promiseResolve, C, promise).then(capability.resolve, reject);
1332
+ });
1333
+ });
1334
+ if (result.error) reject(result.value);
1335
+ return capability.promise;
1336
+ }
1337
+ });
1338
+
1339
+
1340
+ /***/ }),
1341
+
1342
+ /***/ 51481:
1343
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1344
+
1345
+ "use strict";
1346
+
1347
+ var $ = __webpack_require__(46518);
1348
+ var newPromiseCapabilityModule = __webpack_require__(36043);
1349
+ var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(10916).CONSTRUCTOR);
1350
+
1351
+ // `Promise.reject` method
1352
+ // https://tc39.es/ecma262/#sec-promise.reject
1353
+ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
1354
+ reject: function reject(r) {
1355
+ var capability = newPromiseCapabilityModule.f(this);
1356
+ var capabilityReject = capability.reject;
1357
+ capabilityReject(r);
1358
+ return capability.promise;
1359
+ }
1360
+ });
1361
+
1362
+
1363
+ /***/ }),
1364
+
1365
+ /***/ 40280:
1366
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1367
+
1368
+ "use strict";
1369
+
1370
+ var $ = __webpack_require__(46518);
1371
+ var getBuiltIn = __webpack_require__(97751);
1372
+ var IS_PURE = __webpack_require__(96395);
1373
+ var NativePromiseConstructor = __webpack_require__(80550);
1374
+ var FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(10916).CONSTRUCTOR);
1375
+ var promiseResolve = __webpack_require__(93438);
1376
+
1377
+ var PromiseConstructorWrapper = getBuiltIn('Promise');
1378
+ var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;
1379
+
1380
+ // `Promise.resolve` method
1381
+ // https://tc39.es/ecma262/#sec-promise.resolve
1382
+ $({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {
1383
+ resolve: function resolve(x) {
1384
+ return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);
1385
+ }
1386
+ });
1387
+
1388
+
1389
+ /***/ }),
1390
+
1391
+ /***/ 38781:
1392
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1393
+
1394
+ "use strict";
1395
+
1396
+ var PROPER_FUNCTION_NAME = (__webpack_require__(10350).PROPER);
1397
+ var defineBuiltIn = __webpack_require__(36840);
1398
+ var anObject = __webpack_require__(28551);
1399
+ var $toString = __webpack_require__(655);
1400
+ var fails = __webpack_require__(79039);
1401
+ var getRegExpFlags = __webpack_require__(61034);
1402
+
1403
+ var TO_STRING = 'toString';
1404
+ var RegExpPrototype = RegExp.prototype;
1405
+ var nativeToString = RegExpPrototype[TO_STRING];
1406
+
1407
+ var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1408
+ // FF44- RegExp#toString has a wrong name
1409
+ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
1410
+
1411
+ // `RegExp.prototype.toString` method
1412
+ // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1413
+ if (NOT_GENERIC || INCORRECT_NAME) {
1414
+ defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
1415
+ var R = anObject(this);
1416
+ var pattern = $toString(R.source);
1417
+ var flags = $toString(getRegExpFlags(R));
1418
+ return '/' + pattern + '/' + flags;
1419
+ }, { unsafe: true });
1420
+ }
1421
+
1422
+
1423
+ /***/ }),
1424
+
1425
+ /***/ 99449:
1426
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1427
+
1428
+ "use strict";
1429
+
1430
+ var $ = __webpack_require__(46518);
1431
+ var uncurryThis = __webpack_require__(27476);
1432
+ var getOwnPropertyDescriptor = (__webpack_require__(77347).f);
1433
+ var toLength = __webpack_require__(18014);
1434
+ var toString = __webpack_require__(655);
1435
+ var notARegExp = __webpack_require__(60511);
1436
+ var requireObjectCoercible = __webpack_require__(67750);
1437
+ var correctIsRegExpLogic = __webpack_require__(41436);
1438
+ var IS_PURE = __webpack_require__(96395);
1439
+
1440
+ var slice = uncurryThis(''.slice);
1441
+ var min = Math.min;
1442
+
1443
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
1444
+ // https://github.com/zloirock/core-js/pull/702
1445
+ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
1446
+ var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
1447
+ return descriptor && !descriptor.writable;
1448
+ }();
1449
+
1450
+ // `String.prototype.endsWith` method
1451
+ // https://tc39.es/ecma262/#sec-string.prototype.endswith
1452
+ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
1453
+ endsWith: function endsWith(searchString /* , endPosition = @length */) {
1454
+ var that = toString(requireObjectCoercible(this));
1455
+ notARegExp(searchString);
1456
+ var endPosition = arguments.length > 1 ? arguments[1] : undefined;
1457
+ var len = that.length;
1458
+ var end = endPosition === undefined ? len : min(toLength(endPosition), len);
1459
+ var search = toString(searchString);
1460
+ return slice(that, end - search.length, end) === search;
1461
+ }
1462
+ });
1463
+
1464
+
1465
+ /***/ }),
1466
+
1467
+ /***/ 21699:
1468
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1469
+
1470
+ "use strict";
1471
+
1472
+ var $ = __webpack_require__(46518);
1473
+ var uncurryThis = __webpack_require__(79504);
1474
+ var notARegExp = __webpack_require__(60511);
1475
+ var requireObjectCoercible = __webpack_require__(67750);
1476
+ var toString = __webpack_require__(655);
1477
+ var correctIsRegExpLogic = __webpack_require__(41436);
1478
+
1479
+ var stringIndexOf = uncurryThis(''.indexOf);
1480
+
1481
+ // `String.prototype.includes` method
1482
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
1483
+ $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
1484
+ includes: function includes(searchString /* , position = 0 */) {
1485
+ return !!~stringIndexOf(
1486
+ toString(requireObjectCoercible(this)),
1487
+ toString(notARegExp(searchString)),
1488
+ arguments.length > 1 ? arguments[1] : undefined
1489
+ );
1490
+ }
1491
+ });
1492
+
1493
+
1494
+ /***/ }),
1495
+
1496
+ /***/ 71761:
1497
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1498
+
1499
+ "use strict";
1500
+
1501
+ var call = __webpack_require__(69565);
1502
+ var fixRegExpWellKnownSymbolLogic = __webpack_require__(89228);
1503
+ var anObject = __webpack_require__(28551);
1504
+ var isNullOrUndefined = __webpack_require__(64117);
1505
+ var toLength = __webpack_require__(18014);
1506
+ var toString = __webpack_require__(655);
1507
+ var requireObjectCoercible = __webpack_require__(67750);
1508
+ var getMethod = __webpack_require__(55966);
1509
+ var advanceStringIndex = __webpack_require__(57829);
1510
+ var regExpExec = __webpack_require__(56682);
1511
+
1512
+ // @@match logic
1513
+ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {
1514
+ return [
1515
+ // `String.prototype.match` method
1516
+ // https://tc39.es/ecma262/#sec-string.prototype.match
1517
+ function match(regexp) {
1518
+ var O = requireObjectCoercible(this);
1519
+ var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);
1520
+ return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));
1521
+ },
1522
+ // `RegExp.prototype[@@match]` method
1523
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
1524
+ function (string) {
1525
+ var rx = anObject(this);
1526
+ var S = toString(string);
1527
+ var res = maybeCallNative(nativeMatch, rx, S);
1528
+
1529
+ if (res.done) return res.value;
1530
+
1531
+ if (!rx.global) return regExpExec(rx, S);
1532
+
1533
+ var fullUnicode = rx.unicode;
1534
+ rx.lastIndex = 0;
1535
+ var A = [];
1536
+ var n = 0;
1537
+ var result;
1538
+ while ((result = regExpExec(rx, S)) !== null) {
1539
+ var matchStr = toString(result[0]);
1540
+ A[n] = matchStr;
1541
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
1542
+ n++;
1543
+ }
1544
+ return n === 0 ? null : A;
1545
+ }
1546
+ ];
1547
+ });
1548
+
1549
+
1550
+ /***/ }),
1551
+
1552
+ /***/ 90744:
1553
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1554
+
1555
+ "use strict";
1556
+
1557
+ var call = __webpack_require__(69565);
1558
+ var uncurryThis = __webpack_require__(79504);
1559
+ var fixRegExpWellKnownSymbolLogic = __webpack_require__(89228);
1560
+ var anObject = __webpack_require__(28551);
1561
+ var isNullOrUndefined = __webpack_require__(64117);
1562
+ var requireObjectCoercible = __webpack_require__(67750);
1563
+ var speciesConstructor = __webpack_require__(2293);
1564
+ var advanceStringIndex = __webpack_require__(57829);
1565
+ var toLength = __webpack_require__(18014);
1566
+ var toString = __webpack_require__(655);
1567
+ var getMethod = __webpack_require__(55966);
1568
+ var regExpExec = __webpack_require__(56682);
1569
+ var stickyHelpers = __webpack_require__(58429);
1570
+ var fails = __webpack_require__(79039);
1571
+
1572
+ var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
1573
+ var MAX_UINT32 = 0xFFFFFFFF;
1574
+ var min = Math.min;
1575
+ var push = uncurryThis([].push);
1576
+ var stringSlice = uncurryThis(''.slice);
1577
+
1578
+ // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1579
+ // Weex JS has frozen built-in prototypes, so use try / catch wrapper
1580
+ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {
1581
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
1582
+ var re = /(?:)/;
1583
+ var originalExec = re.exec;
1584
+ re.exec = function () { return originalExec.apply(this, arguments); };
1585
+ var result = 'ab'.split(re);
1586
+ return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';
1587
+ });
1588
+
1589
+ var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' ||
1590
+ // eslint-disable-next-line regexp/no-empty-group -- required for testing
1591
+ 'test'.split(/(?:)/, -1).length !== 4 ||
1592
+ 'ab'.split(/(?:ab)*/).length !== 2 ||
1593
+ '.'.split(/(.?)(.?)/).length !== 4 ||
1594
+ // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing
1595
+ '.'.split(/()()/).length > 1 ||
1596
+ ''.split(/.?/).length;
1597
+
1598
+ // @@split logic
1599
+ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {
1600
+ var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) {
1601
+ return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);
1602
+ } : nativeSplit;
1603
+
1604
+ return [
1605
+ // `String.prototype.split` method
1606
+ // https://tc39.es/ecma262/#sec-string.prototype.split
1607
+ function split(separator, limit) {
1608
+ var O = requireObjectCoercible(this);
1609
+ var splitter = isNullOrUndefined(separator) ? undefined : getMethod(separator, SPLIT);
1610
+ return splitter
1611
+ ? call(splitter, separator, O, limit)
1612
+ : call(internalSplit, toString(O), separator, limit);
1613
+ },
1614
+ // `RegExp.prototype[@@split]` method
1615
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
1616
+ //
1617
+ // NOTE: This cannot be properly polyfilled in engines that don't support
1618
+ // the 'y' flag.
1619
+ function (string, limit) {
1620
+ var rx = anObject(this);
1621
+ var S = toString(string);
1622
+
1623
+ if (!BUGGY) {
1624
+ var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);
1625
+ if (res.done) return res.value;
1626
+ }
1627
+
1628
+ var C = speciesConstructor(rx, RegExp);
1629
+ var unicodeMatching = rx.unicode;
1630
+ var flags = (rx.ignoreCase ? 'i' : '') +
1631
+ (rx.multiline ? 'm' : '') +
1632
+ (rx.unicode ? 'u' : '') +
1633
+ (UNSUPPORTED_Y ? 'g' : 'y');
1634
+ // ^(? + rx + ) is needed, in combination with some S slicing, to
1635
+ // simulate the 'y' flag.
1636
+ var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);
1637
+ var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
1638
+ if (lim === 0) return [];
1639
+ if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : [];
1640
+ var p = 0;
1641
+ var q = 0;
1642
+ var A = [];
1643
+ while (q < S.length) {
1644
+ splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
1645
+ var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);
1646
+ var e;
1647
+ if (
1648
+ z === null ||
1649
+ (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p
1650
+ ) {
1651
+ q = advanceStringIndex(S, q, unicodeMatching);
1652
+ } else {
1653
+ push(A, stringSlice(S, p, q));
1654
+ if (A.length === lim) return A;
1655
+ for (var i = 1; i <= z.length - 1; i++) {
1656
+ push(A, z[i]);
1657
+ if (A.length === lim) return A;
1658
+ }
1659
+ q = p = e;
1660
+ }
1661
+ }
1662
+ push(A, stringSlice(S, p));
1663
+ return A;
1664
+ }
1665
+ ];
1666
+ }, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
1667
+
1668
+
1669
+ /***/ }),
1670
+
1671
+ /***/ 11392:
1672
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
1673
+
1674
+ "use strict";
1675
+
1676
+ var $ = __webpack_require__(46518);
1677
+ var uncurryThis = __webpack_require__(27476);
1678
+ var getOwnPropertyDescriptor = (__webpack_require__(77347).f);
1679
+ var toLength = __webpack_require__(18014);
1680
+ var toString = __webpack_require__(655);
1681
+ var notARegExp = __webpack_require__(60511);
1682
+ var requireObjectCoercible = __webpack_require__(67750);
1683
+ var correctIsRegExpLogic = __webpack_require__(41436);
1684
+ var IS_PURE = __webpack_require__(96395);
1685
+
1686
+ var stringSlice = uncurryThis(''.slice);
1687
+ var min = Math.min;
1688
+
1689
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
1690
+ // https://github.com/zloirock/core-js/pull/702
1691
+ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
1692
+ var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');
1693
+ return descriptor && !descriptor.writable;
1694
+ }();
1695
+
1696
+ // `String.prototype.startsWith` method
1697
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
1698
+ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
1699
+ startsWith: function startsWith(searchString /* , position = 0 */) {
1700
+ var that = toString(requireObjectCoercible(this));
1701
+ notARegExp(searchString);
1702
+ var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
1703
+ var search = toString(searchString);
1704
+ return stringSlice(that, index, index + search.length) === search;
1705
+ }
1706
+ });
1707
+
1708
+
1709
+ /***/ }),
1710
+
1711
+ /***/ 12982:
372
1712
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
373
1713
 
374
1714
  "use strict";
@@ -467,8 +1807,33 @@ __webpack_require__.d(__webpack_exports__, {
467
1807
 
468
1808
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
469
1809
  var es_promise = __webpack_require__(3362);
470
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
471
- var asyncToGenerator = __webpack_require__(89165);
1810
+ ;// ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
1811
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
1812
+ try {
1813
+ var i = n[a](c),
1814
+ u = i.value;
1815
+ } catch (n) {
1816
+ return void e(n);
1817
+ }
1818
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
1819
+ }
1820
+ function _asyncToGenerator(n) {
1821
+ return function () {
1822
+ var t = this,
1823
+ e = arguments;
1824
+ return new Promise(function (r, o) {
1825
+ var a = n.apply(t, e);
1826
+ function _next(n) {
1827
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
1828
+ }
1829
+ function _throw(n) {
1830
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
1831
+ }
1832
+ _next(void 0);
1833
+ });
1834
+ };
1835
+ }
1836
+
472
1837
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
473
1838
  var es_string_match = __webpack_require__(71761);
474
1839
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
@@ -479,8 +1844,8 @@ var es_string_starts_with = __webpack_require__(11392);
479
1844
  var es_array_iterator = __webpack_require__(23792);
480
1845
  // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
481
1846
  var web_dom_collections_iterator = __webpack_require__(62953);
482
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
483
- var defineProperty = __webpack_require__(68845);
1847
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 2 modules
1848
+ var defineProperty = __webpack_require__(32356);
484
1849
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
485
1850
  var es_array_reduce = __webpack_require__(72712);
486
1851
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
@@ -1203,7 +2568,7 @@ function offscreen() {
1203
2568
  },
1204
2569
 
1205
2570
  createImage(url) {
1206
- return (0,asyncToGenerator/* default */.A)(function* () {
2571
+ return _asyncToGenerator(function* () {
1207
2572
  var response = yield fetch(url);
1208
2573
  var blob = yield response.blob();
1209
2574
  var img = yield createImageBitmap(blob);
@@ -2445,7 +3810,7 @@ class Parser {
2445
3810
  parse(resource) {
2446
3811
  var _this = this;
2447
3812
 
2448
- return (0,asyncToGenerator/* default */.A)(function* () {
3813
+ return _asyncToGenerator(function* () {
2449
3814
  if (resource.startsWith('<')) {
2450
3815
  return _this.parseFromString(resource);
2451
3816
  }
@@ -2477,7 +3842,7 @@ class Parser {
2477
3842
  load(url) {
2478
3843
  var _this2 = this;
2479
3844
 
2480
- return (0,asyncToGenerator/* default */.A)(function* () {
3845
+ return _asyncToGenerator(function* () {
2481
3846
  var response = yield _this2.fetch(url);
2482
3847
  var xml = yield response.text();
2483
3848
  return _this2.parseFromString(xml);
@@ -6677,7 +8042,7 @@ class ImageElement extends RenderedElement {
6677
8042
  loadImage(href) {
6678
8043
  var _this = this;
6679
8044
 
6680
- return (0,asyncToGenerator/* default */.A)(function* () {
8045
+ return _asyncToGenerator(function* () {
6681
8046
  try {
6682
8047
  var image = yield _this.document.createImage(href);
6683
8048
  _this.image = image;
@@ -6692,7 +8057,7 @@ class ImageElement extends RenderedElement {
6692
8057
  loadSvg(href) {
6693
8058
  var _this2 = this;
6694
8059
 
6695
- return (0,asyncToGenerator/* default */.A)(function* () {
8060
+ return _asyncToGenerator(function* () {
6696
8061
  var match = dataUriRegex.exec(href);
6697
8062
 
6698
8063
  if (match) {
@@ -6800,7 +8165,7 @@ class SVGFontLoader {
6800
8165
  load(fontFamily, url) {
6801
8166
  var _this = this;
6802
8167
 
6803
- return (0,asyncToGenerator/* default */.A)(function* () {
8168
+ return _asyncToGenerator(function* () {
6804
8169
  try {
6805
8170
  var {
6806
8171
  document
@@ -7408,7 +8773,7 @@ function createImage(_x) {
7408
8773
  }
7409
8774
 
7410
8775
  function _createImage() {
7411
- _createImage = (0,asyncToGenerator/* default */.A)(function* (src) {
8776
+ _createImage = _asyncToGenerator(function* (src) {
7412
8777
  var anonymousCrossOrigin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
7413
8778
  var image = document.createElement('img');
7414
8779
 
@@ -7579,7 +8944,7 @@ class Canvg {
7579
8944
 
7580
8945
  static from(ctx, svg) {
7581
8946
  var _arguments = arguments;
7582
- return (0,asyncToGenerator/* default */.A)(function* () {
8947
+ return _asyncToGenerator(function* () {
7583
8948
  var options = _arguments.length > 2 && _arguments[2] !== undefined ? _arguments[2] : {};
7584
8949
  var parser = new Parser(options);
7585
8950
  var svgDocument = yield parser.parse(svg);
@@ -7655,7 +9020,7 @@ class Canvg {
7655
9020
  var _arguments2 = arguments,
7656
9021
  _this = this;
7657
9022
 
7658
- return (0,asyncToGenerator/* default */.A)(function* () {
9023
+ return _asyncToGenerator(function* () {
7659
9024
  var options = _arguments2.length > 0 && _arguments2[0] !== undefined ? _arguments2[0] : {};
7660
9025
 
7661
9026
  _this.start(_objectSpread({