@dereekb/model 12.6.21 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,6 +1,10 @@
1
- import { ZIP_CODE_STRING_REGEX, US_STATE_CODE_STRING_REGEX, splitJoinRemainder, filterFalsyAndEmptyValues, isolateWebsitePathFunction, toRelativeSlashPathStartType, addPrefix, hasWebsiteDomain, toAbsoluteSlashPathStartType, removeHttpFromUrl, forEachKeyValue, iterableToArray, arrayToObject, MAP_IDENTITY, makeValuesGroupMap, cachedGetter, filterMaybeArrayValues, sortByNumberFunction, performAsyncTasks, pushArrayItemsIntoArray, stringToBoolean, splitCommaSeparatedString, mapPromiseOrValue, isISO8601DayString, isMinuteOfDay, isE164PhoneNumber, isE164PhoneNumberWithExtension, isUniqueKeyedFunction, isWebsiteUrl, isWebsiteUrlWithPrefix } from '@dereekb/util';
1
+ import { ZIP_CODE_STRING_REGEX, US_STATE_CODE_STRING_REGEX, splitJoinRemainder, filterFalsyAndEmptyValues, isolateWebsitePathFunction, toRelativeSlashPathStartType, addPrefix, hasWebsiteDomain, toAbsoluteSlashPathStartType, removeHttpFromUrl, forEachKeyValue, iterableToArray, arrayToObject, MAP_IDENTITY, makeValuesGroupMap, cachedGetter, filterMaybeArrayValues, sortByNumberFunction, performAsyncTasks, pushArrayItemsIntoArray, splitCommaSeparatedString, stringToBoolean, mapPromiseOrValue, isISO8601DayString, isMinuteOfDay, isE164PhoneNumber, isE164PhoneNumberWithExtension, isUniqueKeyedFunction, isWebsiteUrl, isWebsiteUrlWithPrefix } from '@dereekb/util';
2
2
  import { Expose, Transform, plainToInstance } from 'class-transformer';
3
3
  import { IsString, IsNotEmpty, MaxLength, IsOptional, Matches, MinLength, validate, registerDecorator, buildMessage } from 'class-validator';
4
+ import 'core-js/modules/es.iterator.constructor.js';
5
+ import 'core-js/modules/es.iterator.map.js';
6
+ import 'core-js/modules/es.map.get-or-insert.js';
7
+ import 'core-js/modules/es.map.get-or-insert-computed.js';
4
8
 
5
9
  /******************************************************************************
6
10
  Copyright (c) Microsoft Corporation.
@@ -567,1466 +571,9 @@ function syncEntityFactory(config) {
567
571
  };
568
572
  }
569
573
 
570
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
571
-
572
- var check = function (it) {
573
- return it && it.Math === Math && it;
574
- };
575
-
576
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
577
- var global$b =
578
- // eslint-disable-next-line es/no-global-this -- safe
579
- check(typeof globalThis == 'object' && globalThis) ||
580
- check(typeof window == 'object' && window) ||
581
- // eslint-disable-next-line no-restricted-globals -- safe
582
- check(typeof self == 'object' && self) ||
583
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
584
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
585
- // eslint-disable-next-line no-new-func -- fallback
586
- (function () { return this; })() || Function('return this')();
587
-
588
- var objectGetOwnPropertyDescriptor = {};
589
-
590
- var fails$c = function (exec) {
591
- try {
592
- return !!exec();
593
- } catch (error) {
594
- return true;
595
- }
596
- };
597
-
598
- var fails$b = fails$c;
599
-
600
- // Detect IE8's incomplete defineProperty implementation
601
- var descriptors = !fails$b(function () {
602
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
603
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
604
- });
605
-
606
- var fails$a = fails$c;
607
-
608
- var functionBindNative = !fails$a(function () {
609
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
610
- var test = (function () { /* empty */ }).bind();
611
- // eslint-disable-next-line no-prototype-builtins -- safe
612
- return typeof test != 'function' || test.hasOwnProperty('prototype');
613
- });
614
-
615
- var NATIVE_BIND$1 = functionBindNative;
616
-
617
- var call$7 = Function.prototype.call;
618
-
619
- var functionCall = NATIVE_BIND$1 ? call$7.bind(call$7) : function () {
620
- return call$7.apply(call$7, arguments);
621
- };
622
-
623
- var objectPropertyIsEnumerable = {};
624
-
625
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
626
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
627
- var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
628
-
629
- // Nashorn ~ JDK8 bug
630
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
631
-
632
- // `Object.prototype.propertyIsEnumerable` method implementation
633
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
634
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
635
- var descriptor = getOwnPropertyDescriptor$2(this, V);
636
- return !!descriptor && descriptor.enumerable;
637
- } : $propertyIsEnumerable;
638
-
639
- var createPropertyDescriptor$3 = function (bitmap, value) {
640
- return {
641
- enumerable: !(bitmap & 1),
642
- configurable: !(bitmap & 2),
643
- writable: !(bitmap & 4),
644
- value: value
645
- };
646
- };
647
-
648
- var NATIVE_BIND = functionBindNative;
649
-
650
- var FunctionPrototype$1 = Function.prototype;
651
- var call$6 = FunctionPrototype$1.call;
652
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$6, call$6);
653
-
654
- var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
655
- return function () {
656
- return call$6.apply(fn, arguments);
657
- };
658
- };
659
-
660
- var uncurryThis$8 = functionUncurryThis;
661
-
662
- var toString$1 = uncurryThis$8({}.toString);
663
- var stringSlice$1 = uncurryThis$8(''.slice);
664
-
665
- var classofRaw = function (it) {
666
- return stringSlice$1(toString$1(it), 8, -1);
667
- };
668
-
669
- var uncurryThis$7 = functionUncurryThis;
670
- var fails$9 = fails$c;
671
- var classof$1 = classofRaw;
672
-
673
- var $Object$3 = Object;
674
- var split = uncurryThis$7(''.split);
675
-
676
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
677
- var indexedObject = fails$9(function () {
678
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
679
- // eslint-disable-next-line no-prototype-builtins -- safe
680
- return !$Object$3('z').propertyIsEnumerable(0);
681
- }) ? function (it) {
682
- return classof$1(it) === 'String' ? split(it, '') : $Object$3(it);
683
- } : $Object$3;
684
-
685
- // we can't use just `it == null` since of `document.all` special case
686
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
687
- var isNullOrUndefined$2 = function (it) {
688
- return it === null || it === undefined;
689
- };
690
-
691
- var isNullOrUndefined$1 = isNullOrUndefined$2;
692
-
693
- var $TypeError$9 = TypeError;
694
-
695
- // `RequireObjectCoercible` abstract operation
696
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
697
- var requireObjectCoercible$2 = function (it) {
698
- if (isNullOrUndefined$1(it)) throw new $TypeError$9("Can't call method on " + it);
699
- return it;
700
- };
701
-
702
- // toObject with fallback for non-array-like ES3 strings
703
- var IndexedObject = indexedObject;
704
- var requireObjectCoercible$1 = requireObjectCoercible$2;
705
-
706
- var toIndexedObject$4 = function (it) {
707
- return IndexedObject(requireObjectCoercible$1(it));
708
- };
709
-
710
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
711
- var documentAll = typeof document == 'object' && document.all;
712
-
713
- // `IsCallable` abstract operation
714
- // https://tc39.es/ecma262/#sec-iscallable
715
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
716
- var isCallable$d = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
717
- return typeof argument == 'function' || argument === documentAll;
718
- } : function (argument) {
719
- return typeof argument == 'function';
720
- };
721
-
722
- var isCallable$c = isCallable$d;
723
-
724
- var isObject$6 = function (it) {
725
- return typeof it == 'object' ? it !== null : isCallable$c(it);
726
- };
727
-
728
- var global$a = global$b;
729
- var isCallable$b = isCallable$d;
730
-
731
- var aFunction = function (argument) {
732
- return isCallable$b(argument) ? argument : undefined;
733
- };
734
-
735
- var getBuiltIn$3 = function (namespace, method) {
736
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
737
- };
738
-
739
- var uncurryThis$6 = functionUncurryThis;
740
-
741
- var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
742
-
743
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
744
-
745
- var global$9 = global$b;
746
- var userAgent = engineUserAgent;
747
-
748
- var process = global$9.process;
749
- var Deno = global$9.Deno;
750
- var versions = process && process.versions || Deno && Deno.version;
751
- var v8 = versions && versions.v8;
752
- var match, version;
753
-
754
- if (v8) {
755
- match = v8.split('.');
756
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
757
- // but their correct versions are not interesting for us
758
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
759
- }
760
-
761
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
762
- // so check `userAgent` even if `.v8` exists, but 0
763
- if (!version && userAgent) {
764
- match = userAgent.match(/Edge\/(\d+)/);
765
- if (!match || match[1] >= 74) {
766
- match = userAgent.match(/Chrome\/(\d+)/);
767
- if (match) version = +match[1];
768
- }
769
- }
770
-
771
- var engineV8Version = version;
772
-
773
- /* eslint-disable es/no-symbol -- required for testing */
774
- var V8_VERSION = engineV8Version;
775
- var fails$8 = fails$c;
776
- var global$8 = global$b;
777
-
778
- var $String$3 = global$8.String;
779
-
780
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
781
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
782
- var symbol = Symbol('symbol detection');
783
- // Chrome 38 Symbol has incorrect toString conversion
784
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
785
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
786
- // of course, fail.
787
- return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
788
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
789
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
790
- });
791
-
792
- /* eslint-disable es/no-symbol -- required for testing */
793
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
794
-
795
- var useSymbolAsUid = NATIVE_SYMBOL$1
796
- && !Symbol.sham
797
- && typeof Symbol.iterator == 'symbol';
798
-
799
- var getBuiltIn$2 = getBuiltIn$3;
800
- var isCallable$a = isCallable$d;
801
- var isPrototypeOf$1 = objectIsPrototypeOf;
802
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
803
-
804
- var $Object$2 = Object;
805
-
806
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
807
- return typeof it == 'symbol';
808
- } : function (it) {
809
- var $Symbol = getBuiltIn$2('Symbol');
810
- return isCallable$a($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
811
- };
812
-
813
- var $String$2 = String;
814
-
815
- var tryToString$1 = function (argument) {
816
- try {
817
- return $String$2(argument);
818
- } catch (error) {
819
- return 'Object';
820
- }
821
- };
822
-
823
- var isCallable$9 = isCallable$d;
824
- var tryToString = tryToString$1;
825
-
826
- var $TypeError$8 = TypeError;
827
-
828
- // `Assert: IsCallable(argument) is true`
829
- var aCallable$2 = function (argument) {
830
- if (isCallable$9(argument)) return argument;
831
- throw new $TypeError$8(tryToString(argument) + ' is not a function');
832
- };
833
-
834
- var aCallable$1 = aCallable$2;
835
- var isNullOrUndefined = isNullOrUndefined$2;
836
-
837
- // `GetMethod` abstract operation
838
- // https://tc39.es/ecma262/#sec-getmethod
839
- var getMethod$3 = function (V, P) {
840
- var func = V[P];
841
- return isNullOrUndefined(func) ? undefined : aCallable$1(func);
842
- };
843
-
844
- var call$5 = functionCall;
845
- var isCallable$8 = isCallable$d;
846
- var isObject$5 = isObject$6;
847
-
848
- var $TypeError$7 = TypeError;
849
-
850
- // `OrdinaryToPrimitive` abstract operation
851
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
852
- var ordinaryToPrimitive$1 = function (input, pref) {
853
- var fn, val;
854
- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
855
- if (isCallable$8(fn = input.valueOf) && !isObject$5(val = call$5(fn, input))) return val;
856
- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
857
- throw new $TypeError$7("Can't convert object to primitive value");
858
- };
859
-
860
- var sharedStore = {exports: {}};
861
-
862
- var isPure = false;
863
-
864
- var global$7 = global$b;
865
-
866
- // eslint-disable-next-line es/no-object-defineproperty -- safe
867
- var defineProperty$2 = Object.defineProperty;
868
-
869
- var defineGlobalProperty$3 = function (key, value) {
870
- try {
871
- defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
872
- } catch (error) {
873
- global$7[key] = value;
874
- } return value;
875
- };
876
-
877
- var globalThis$1 = global$b;
878
- var defineGlobalProperty$2 = defineGlobalProperty$3;
879
-
880
- var SHARED = '__core-js_shared__';
881
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
882
-
883
- (store$3.versions || (store$3.versions = [])).push({
884
- version: '3.36.1',
885
- mode: 'global',
886
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
887
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
888
- source: 'https://github.com/zloirock/core-js'
889
- });
890
-
891
- var sharedStoreExports = sharedStore.exports;
892
-
893
- var store$2 = sharedStoreExports;
894
-
895
- var shared$3 = function (key, value) {
896
- return store$2[key] || (store$2[key] = value || {});
897
- };
898
-
899
- var requireObjectCoercible = requireObjectCoercible$2;
900
-
901
- var $Object$1 = Object;
902
-
903
- // `ToObject` abstract operation
904
- // https://tc39.es/ecma262/#sec-toobject
905
- var toObject$3 = function (argument) {
906
- return $Object$1(requireObjectCoercible(argument));
907
- };
908
-
909
- var uncurryThis$5 = functionUncurryThis;
910
- var toObject$2 = toObject$3;
911
-
912
- var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
913
-
914
- // `HasOwnProperty` abstract operation
915
- // https://tc39.es/ecma262/#sec-hasownproperty
916
- // eslint-disable-next-line es/no-object-hasown -- safe
917
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
918
- return hasOwnProperty(toObject$2(it), key);
919
- };
920
-
921
- var uncurryThis$4 = functionUncurryThis;
922
-
923
- var id = 0;
924
- var postfix = Math.random();
925
- var toString = uncurryThis$4(1.0.toString);
926
-
927
- var uid$2 = function (key) {
928
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
929
- };
930
-
931
- var global$6 = global$b;
932
- var shared$2 = shared$3;
933
- var hasOwn$8 = hasOwnProperty_1;
934
- var uid$1 = uid$2;
935
- var NATIVE_SYMBOL = symbolConstructorDetection;
936
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
937
-
938
- var Symbol$1 = global$6.Symbol;
939
- var WellKnownSymbolsStore = shared$2('wks');
940
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
941
-
942
- var wellKnownSymbol$4 = function (name) {
943
- if (!hasOwn$8(WellKnownSymbolsStore, name)) {
944
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
945
- ? Symbol$1[name]
946
- : createWellKnownSymbol('Symbol.' + name);
947
- } return WellKnownSymbolsStore[name];
948
- };
949
-
950
- var call$4 = functionCall;
951
- var isObject$4 = isObject$6;
952
- var isSymbol$1 = isSymbol$2;
953
- var getMethod$2 = getMethod$3;
954
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
955
- var wellKnownSymbol$3 = wellKnownSymbol$4;
956
-
957
- var $TypeError$6 = TypeError;
958
- var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
959
-
960
- // `ToPrimitive` abstract operation
961
- // https://tc39.es/ecma262/#sec-toprimitive
962
- var toPrimitive$1 = function (input, pref) {
963
- if (!isObject$4(input) || isSymbol$1(input)) return input;
964
- var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
965
- var result;
966
- if (exoticToPrim) {
967
- if (pref === undefined) pref = 'default';
968
- result = call$4(exoticToPrim, input, pref);
969
- if (!isObject$4(result) || isSymbol$1(result)) return result;
970
- throw new $TypeError$6("Can't convert object to primitive value");
971
- }
972
- if (pref === undefined) pref = 'number';
973
- return ordinaryToPrimitive(input, pref);
974
- };
975
-
976
- var toPrimitive = toPrimitive$1;
977
- var isSymbol = isSymbol$2;
978
-
979
- // `ToPropertyKey` abstract operation
980
- // https://tc39.es/ecma262/#sec-topropertykey
981
- var toPropertyKey$2 = function (argument) {
982
- var key = toPrimitive(argument, 'string');
983
- return isSymbol(key) ? key : key + '';
984
- };
985
-
986
- var global$5 = global$b;
987
- var isObject$3 = isObject$6;
988
-
989
- var document$1 = global$5.document;
990
- // typeof document.createElement is 'object' in old IE
991
- var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
992
-
993
- var documentCreateElement$1 = function (it) {
994
- return EXISTS$1 ? document$1.createElement(it) : {};
995
- };
996
-
997
- var DESCRIPTORS$a = descriptors;
998
- var fails$7 = fails$c;
999
- var createElement = documentCreateElement$1;
1000
-
1001
- // Thanks to IE8 for its funny defineProperty
1002
- var ie8DomDefine = !DESCRIPTORS$a && !fails$7(function () {
1003
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1004
- return Object.defineProperty(createElement('div'), 'a', {
1005
- get: function () { return 7; }
1006
- }).a !== 7;
1007
- });
1008
-
1009
- var DESCRIPTORS$9 = descriptors;
1010
- var call$3 = functionCall;
1011
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1012
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
1013
- var toIndexedObject$3 = toIndexedObject$4;
1014
- var toPropertyKey$1 = toPropertyKey$2;
1015
- var hasOwn$7 = hasOwnProperty_1;
1016
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
1017
-
1018
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1019
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
1020
-
1021
- // `Object.getOwnPropertyDescriptor` method
1022
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1023
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1024
- O = toIndexedObject$3(O);
1025
- P = toPropertyKey$1(P);
1026
- if (IE8_DOM_DEFINE$1) try {
1027
- return $getOwnPropertyDescriptor$1(O, P);
1028
- } catch (error) { /* empty */ }
1029
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$3(propertyIsEnumerableModule.f, O, P), O[P]);
1030
- };
1031
-
1032
- var objectDefineProperty = {};
1033
-
1034
- var DESCRIPTORS$8 = descriptors;
1035
- var fails$6 = fails$c;
1036
-
1037
- // V8 ~ Chrome 36-
1038
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1039
- var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$6(function () {
1040
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1041
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1042
- value: 42,
1043
- writable: false
1044
- }).prototype !== 42;
1045
- });
1046
-
1047
- var isObject$2 = isObject$6;
1048
-
1049
- var $String$1 = String;
1050
- var $TypeError$5 = TypeError;
1051
-
1052
- // `Assert: Type(argument) is Object`
1053
- var anObject$8 = function (argument) {
1054
- if (isObject$2(argument)) return argument;
1055
- throw new $TypeError$5($String$1(argument) + ' is not an object');
1056
- };
1057
-
1058
- var DESCRIPTORS$7 = descriptors;
1059
- var IE8_DOM_DEFINE = ie8DomDefine;
1060
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1061
- var anObject$7 = anObject$8;
1062
- var toPropertyKey = toPropertyKey$2;
1063
-
1064
- var $TypeError$4 = TypeError;
1065
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1066
- var $defineProperty = Object.defineProperty;
1067
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1068
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1069
- var ENUMERABLE = 'enumerable';
1070
- var CONFIGURABLE$1 = 'configurable';
1071
- var WRITABLE = 'writable';
1072
-
1073
- // `Object.defineProperty` method
1074
- // https://tc39.es/ecma262/#sec-object.defineproperty
1075
- objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1076
- anObject$7(O);
1077
- P = toPropertyKey(P);
1078
- anObject$7(Attributes);
1079
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
1080
- var current = $getOwnPropertyDescriptor(O, P);
1081
- if (current && current[WRITABLE]) {
1082
- O[P] = Attributes.value;
1083
- Attributes = {
1084
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
1085
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
1086
- writable: false
1087
- };
1088
- }
1089
- } return $defineProperty(O, P, Attributes);
1090
- } : $defineProperty : function defineProperty(O, P, Attributes) {
1091
- anObject$7(O);
1092
- P = toPropertyKey(P);
1093
- anObject$7(Attributes);
1094
- if (IE8_DOM_DEFINE) try {
1095
- return $defineProperty(O, P, Attributes);
1096
- } catch (error) { /* empty */ }
1097
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
1098
- if ('value' in Attributes) O[P] = Attributes.value;
1099
- return O;
1100
- };
1101
-
1102
- var DESCRIPTORS$6 = descriptors;
1103
- var definePropertyModule$4 = objectDefineProperty;
1104
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
1105
-
1106
- var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
1107
- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
1108
- } : function (object, key, value) {
1109
- object[key] = value;
1110
- return object;
1111
- };
1112
-
1113
- var makeBuiltIn$3 = {exports: {}};
1114
-
1115
- var DESCRIPTORS$5 = descriptors;
1116
- var hasOwn$6 = hasOwnProperty_1;
1117
-
1118
- var FunctionPrototype = Function.prototype;
1119
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1120
- var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
1121
-
1122
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
1123
- // additional protection from minified / mangled / dropped function names
1124
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1125
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
1126
-
1127
- var functionName = {
1128
- EXISTS: EXISTS,
1129
- PROPER: PROPER,
1130
- CONFIGURABLE: CONFIGURABLE
1131
- };
1132
-
1133
- var uncurryThis$3 = functionUncurryThis;
1134
- var isCallable$7 = isCallable$d;
1135
- var store$1 = sharedStoreExports;
1136
-
1137
- var functionToString = uncurryThis$3(Function.toString);
1138
-
1139
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1140
- if (!isCallable$7(store$1.inspectSource)) {
1141
- store$1.inspectSource = function (it) {
1142
- return functionToString(it);
1143
- };
1144
- }
1145
-
1146
- var inspectSource$1 = store$1.inspectSource;
1147
-
1148
- var global$4 = global$b;
1149
- var isCallable$6 = isCallable$d;
1150
-
1151
- var WeakMap$1 = global$4.WeakMap;
1152
-
1153
- var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));
1154
-
1155
- var shared$1 = shared$3;
1156
- var uid = uid$2;
1157
-
1158
- var keys = shared$1('keys');
1159
-
1160
- var sharedKey$3 = function (key) {
1161
- return keys[key] || (keys[key] = uid(key));
1162
- };
1163
-
1164
- var hiddenKeys$4 = {};
1165
-
1166
- var NATIVE_WEAK_MAP = weakMapBasicDetection;
1167
- var global$3 = global$b;
1168
- var isObject$1 = isObject$6;
1169
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
1170
- var hasOwn$5 = hasOwnProperty_1;
1171
- var shared = sharedStoreExports;
1172
- var sharedKey$2 = sharedKey$3;
1173
- var hiddenKeys$3 = hiddenKeys$4;
1174
-
1175
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1176
- var TypeError$1 = global$3.TypeError;
1177
- var WeakMap = global$3.WeakMap;
1178
- var set, get, has;
1179
-
1180
- var enforce = function (it) {
1181
- return has(it) ? get(it) : set(it, {});
1182
- };
1183
-
1184
- var getterFor = function (TYPE) {
1185
- return function (it) {
1186
- var state;
1187
- if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
1188
- throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
1189
- } return state;
1190
- };
1191
- };
1192
-
1193
- if (NATIVE_WEAK_MAP || shared.state) {
1194
- var store = shared.state || (shared.state = new WeakMap());
1195
- /* eslint-disable no-self-assign -- prototype methods protection */
1196
- store.get = store.get;
1197
- store.has = store.has;
1198
- store.set = store.set;
1199
- /* eslint-enable no-self-assign -- prototype methods protection */
1200
- set = function (it, metadata) {
1201
- if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
1202
- metadata.facade = it;
1203
- store.set(it, metadata);
1204
- return metadata;
1205
- };
1206
- get = function (it) {
1207
- return store.get(it) || {};
1208
- };
1209
- has = function (it) {
1210
- return store.has(it);
1211
- };
1212
- } else {
1213
- var STATE = sharedKey$2('state');
1214
- hiddenKeys$3[STATE] = true;
1215
- set = function (it, metadata) {
1216
- if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
1217
- metadata.facade = it;
1218
- createNonEnumerableProperty$2(it, STATE, metadata);
1219
- return metadata;
1220
- };
1221
- get = function (it) {
1222
- return hasOwn$5(it, STATE) ? it[STATE] : {};
1223
- };
1224
- has = function (it) {
1225
- return hasOwn$5(it, STATE);
1226
- };
1227
- }
1228
-
1229
- var internalState = {
1230
- set: set,
1231
- get: get,
1232
- has: has,
1233
- enforce: enforce,
1234
- getterFor: getterFor
1235
- };
1236
-
1237
- var uncurryThis$2 = functionUncurryThis;
1238
- var fails$5 = fails$c;
1239
- var isCallable$5 = isCallable$d;
1240
- var hasOwn$4 = hasOwnProperty_1;
1241
- var DESCRIPTORS$4 = descriptors;
1242
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
1243
- var inspectSource = inspectSource$1;
1244
- var InternalStateModule$1 = internalState;
1245
-
1246
- var enforceInternalState = InternalStateModule$1.enforce;
1247
- var getInternalState = InternalStateModule$1.get;
1248
- var $String = String;
1249
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1250
- var defineProperty$1 = Object.defineProperty;
1251
- var stringSlice = uncurryThis$2(''.slice);
1252
- var replace = uncurryThis$2(''.replace);
1253
- var join = uncurryThis$2([].join);
1254
-
1255
- var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
1256
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1257
- });
1258
-
1259
- var TEMPLATE = String(String).split('String');
1260
-
1261
- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
1262
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
1263
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
1264
- }
1265
- if (options && options.getter) name = 'get ' + name;
1266
- if (options && options.setter) name = 'set ' + name;
1267
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
1268
- if (DESCRIPTORS$4) defineProperty$1(value, 'name', { value: name, configurable: true });
1269
- else value.name = name;
1270
- }
1271
- if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
1272
- defineProperty$1(value, 'length', { value: options.arity });
1273
- }
1274
- try {
1275
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
1276
- if (DESCRIPTORS$4) defineProperty$1(value, 'prototype', { writable: false });
1277
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
1278
- } else if (value.prototype) value.prototype = undefined;
1279
- } catch (error) { /* empty */ }
1280
- var state = enforceInternalState(value);
1281
- if (!hasOwn$4(state, 'source')) {
1282
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
1283
- } return value;
1284
- };
1285
-
1286
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1287
- // eslint-disable-next-line no-extend-native -- required
1288
- Function.prototype.toString = makeBuiltIn$2(function toString() {
1289
- return isCallable$5(this) && getInternalState(this).source || inspectSource(this);
1290
- }, 'toString');
1291
-
1292
- var makeBuiltInExports = makeBuiltIn$3.exports;
1293
-
1294
- var isCallable$4 = isCallable$d;
1295
- var definePropertyModule$3 = objectDefineProperty;
1296
- var makeBuiltIn$1 = makeBuiltInExports;
1297
- var defineGlobalProperty$1 = defineGlobalProperty$3;
1298
-
1299
- var defineBuiltIn$3 = function (O, key, value, options) {
1300
- if (!options) options = {};
1301
- var simple = options.enumerable;
1302
- var name = options.name !== undefined ? options.name : key;
1303
- if (isCallable$4(value)) makeBuiltIn$1(value, name, options);
1304
- if (options.global) {
1305
- if (simple) O[key] = value;
1306
- else defineGlobalProperty$1(key, value);
1307
- } else {
1308
- try {
1309
- if (!options.unsafe) delete O[key];
1310
- else if (O[key]) simple = true;
1311
- } catch (error) { /* empty */ }
1312
- if (simple) O[key] = value;
1313
- else definePropertyModule$3.f(O, key, {
1314
- value: value,
1315
- enumerable: false,
1316
- configurable: !options.nonConfigurable,
1317
- writable: !options.nonWritable
1318
- });
1319
- } return O;
1320
- };
1321
-
1322
- var objectGetOwnPropertyNames = {};
1323
-
1324
- var ceil = Math.ceil;
1325
- var floor = Math.floor;
1326
-
1327
- // `Math.trunc` method
1328
- // https://tc39.es/ecma262/#sec-math.trunc
1329
- // eslint-disable-next-line es/no-math-trunc -- safe
1330
- var mathTrunc = Math.trunc || function trunc(x) {
1331
- var n = +x;
1332
- return (n > 0 ? floor : ceil)(n);
1333
- };
1334
-
1335
- var trunc = mathTrunc;
1336
-
1337
- // `ToIntegerOrInfinity` abstract operation
1338
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
1339
- var toIntegerOrInfinity$2 = function (argument) {
1340
- var number = +argument;
1341
- // eslint-disable-next-line no-self-compare -- NaN check
1342
- return number !== number || number === 0 ? 0 : trunc(number);
1343
- };
1344
-
1345
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
1346
-
1347
- var max = Math.max;
1348
- var min$1 = Math.min;
1349
-
1350
- // Helper for a popular repeating case of the spec:
1351
- // Let integer be ? ToInteger(index).
1352
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
1353
- var toAbsoluteIndex$1 = function (index, length) {
1354
- var integer = toIntegerOrInfinity$1(index);
1355
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
1356
- };
1357
-
1358
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
1359
-
1360
- var min = Math.min;
1361
-
1362
- // `ToLength` abstract operation
1363
- // https://tc39.es/ecma262/#sec-tolength
1364
- var toLength$1 = function (argument) {
1365
- var len = toIntegerOrInfinity(argument);
1366
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
1367
- };
1368
-
1369
- var toLength = toLength$1;
1370
-
1371
- // `LengthOfArrayLike` abstract operation
1372
- // https://tc39.es/ecma262/#sec-lengthofarraylike
1373
- var lengthOfArrayLike$2 = function (obj) {
1374
- return toLength(obj.length);
1375
- };
1376
-
1377
- var toIndexedObject$2 = toIndexedObject$4;
1378
- var toAbsoluteIndex = toAbsoluteIndex$1;
1379
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
1380
-
1381
- // `Array.prototype.{ indexOf, includes }` methods implementation
1382
- var createMethod = function (IS_INCLUDES) {
1383
- return function ($this, el, fromIndex) {
1384
- var O = toIndexedObject$2($this);
1385
- var length = lengthOfArrayLike$1(O);
1386
- if (length === 0) return !IS_INCLUDES && -1;
1387
- var index = toAbsoluteIndex(fromIndex, length);
1388
- var value;
1389
- // Array#includes uses SameValueZero equality algorithm
1390
- // eslint-disable-next-line no-self-compare -- NaN check
1391
- if (IS_INCLUDES && el !== el) while (length > index) {
1392
- value = O[index++];
1393
- // eslint-disable-next-line no-self-compare -- NaN check
1394
- if (value !== value) return true;
1395
- // Array#indexOf ignores holes, Array#includes - not
1396
- } else for (;length > index; index++) {
1397
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
1398
- } return !IS_INCLUDES && -1;
1399
- };
1400
- };
1401
-
1402
- var arrayIncludes = {
1403
- // `Array.prototype.includes` method
1404
- // https://tc39.es/ecma262/#sec-array.prototype.includes
1405
- includes: createMethod(true),
1406
- // `Array.prototype.indexOf` method
1407
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
1408
- indexOf: createMethod(false)
1409
- };
1410
-
1411
- var uncurryThis$1 = functionUncurryThis;
1412
- var hasOwn$3 = hasOwnProperty_1;
1413
- var toIndexedObject$1 = toIndexedObject$4;
1414
- var indexOf = arrayIncludes.indexOf;
1415
- var hiddenKeys$2 = hiddenKeys$4;
1416
-
1417
- var push = uncurryThis$1([].push);
1418
-
1419
- var objectKeysInternal = function (object, names) {
1420
- var O = toIndexedObject$1(object);
1421
- var i = 0;
1422
- var result = [];
1423
- var key;
1424
- for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
1425
- // Don't enum bug & hidden keys
1426
- while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
1427
- ~indexOf(result, key) || push(result, key);
1428
- }
1429
- return result;
1430
- };
1431
-
1432
- // IE8- don't enum bug keys
1433
- var enumBugKeys$3 = [
1434
- 'constructor',
1435
- 'hasOwnProperty',
1436
- 'isPrototypeOf',
1437
- 'propertyIsEnumerable',
1438
- 'toLocaleString',
1439
- 'toString',
1440
- 'valueOf'
1441
- ];
1442
-
1443
- var internalObjectKeys$1 = objectKeysInternal;
1444
- var enumBugKeys$2 = enumBugKeys$3;
1445
-
1446
- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1447
-
1448
- // `Object.getOwnPropertyNames` method
1449
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
1450
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1451
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1452
- return internalObjectKeys$1(O, hiddenKeys$1);
1453
- };
1454
-
1455
- var objectGetOwnPropertySymbols = {};
1456
-
1457
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1458
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1459
-
1460
- var getBuiltIn$1 = getBuiltIn$3;
1461
- var uncurryThis = functionUncurryThis;
1462
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1463
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1464
- var anObject$6 = anObject$8;
1465
-
1466
- var concat = uncurryThis([].concat);
1467
-
1468
- // all object keys, includes non-enumerable and symbols
1469
- var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
1470
- var keys = getOwnPropertyNamesModule.f(anObject$6(it));
1471
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1472
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
1473
- };
1474
-
1475
- var hasOwn$2 = hasOwnProperty_1;
1476
- var ownKeys = ownKeys$1;
1477
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1478
- var definePropertyModule$2 = objectDefineProperty;
1479
-
1480
- var copyConstructorProperties$1 = function (target, source, exceptions) {
1481
- var keys = ownKeys(source);
1482
- var defineProperty = definePropertyModule$2.f;
1483
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1484
- for (var i = 0; i < keys.length; i++) {
1485
- var key = keys[i];
1486
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1487
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1488
- }
1489
- }
1490
- };
1491
-
1492
- var fails$4 = fails$c;
1493
- var isCallable$3 = isCallable$d;
1494
-
1495
- var replacement = /#|\.prototype\./;
1496
-
1497
- var isForced$1 = function (feature, detection) {
1498
- var value = data[normalize(feature)];
1499
- return value === POLYFILL ? true
1500
- : value === NATIVE ? false
1501
- : isCallable$3(detection) ? fails$4(detection)
1502
- : !!detection;
1503
- };
1504
-
1505
- var normalize = isForced$1.normalize = function (string) {
1506
- return String(string).replace(replacement, '.').toLowerCase();
1507
- };
1508
-
1509
- var data = isForced$1.data = {};
1510
- var NATIVE = isForced$1.NATIVE = 'N';
1511
- var POLYFILL = isForced$1.POLYFILL = 'P';
1512
-
1513
- var isForced_1 = isForced$1;
1514
-
1515
- var global$2 = global$b;
1516
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
1517
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
1518
- var defineBuiltIn$2 = defineBuiltIn$3;
1519
- var defineGlobalProperty = defineGlobalProperty$3;
1520
- var copyConstructorProperties = copyConstructorProperties$1;
1521
- var isForced = isForced_1;
1522
-
1523
- /*
1524
- options.target - name of the target object
1525
- options.global - target is the global object
1526
- options.stat - export as static methods of target
1527
- options.proto - export as prototype methods of target
1528
- options.real - real prototype method for the `pure` version
1529
- options.forced - export even if the native feature is available
1530
- options.bind - bind methods to the target, required for the `pure` version
1531
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1532
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1533
- options.sham - add a flag to not completely full polyfills
1534
- options.enumerable - export as enumerable property
1535
- options.dontCallGetSet - prevent calling a getter on target
1536
- options.name - the .name of the function if it does not match the key
1537
- */
1538
- var _export = function (options, source) {
1539
- var TARGET = options.target;
1540
- var GLOBAL = options.global;
1541
- var STATIC = options.stat;
1542
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1543
- if (GLOBAL) {
1544
- target = global$2;
1545
- } else if (STATIC) {
1546
- target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
1547
- } else {
1548
- target = global$2[TARGET] && global$2[TARGET].prototype;
1549
- }
1550
- if (target) for (key in source) {
1551
- sourceProperty = source[key];
1552
- if (options.dontCallGetSet) {
1553
- descriptor = getOwnPropertyDescriptor$1(target, key);
1554
- targetProperty = descriptor && descriptor.value;
1555
- } else targetProperty = target[key];
1556
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1557
- // contained in target
1558
- if (!FORCED && targetProperty !== undefined) {
1559
- if (typeof sourceProperty == typeof targetProperty) continue;
1560
- copyConstructorProperties(sourceProperty, targetProperty);
1561
- }
1562
- // add a flag to not completely full polyfills
1563
- if (options.sham || (targetProperty && targetProperty.sham)) {
1564
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1565
- }
1566
- defineBuiltIn$2(target, key, sourceProperty, options);
1567
- }
1568
- };
1569
-
1570
- var isPrototypeOf = objectIsPrototypeOf;
1571
-
1572
- var $TypeError$3 = TypeError;
1573
-
1574
- var anInstance$1 = function (it, Prototype) {
1575
- if (isPrototypeOf(Prototype, it)) return it;
1576
- throw new $TypeError$3('Incorrect invocation');
1577
- };
1578
-
1579
- var fails$3 = fails$c;
1580
-
1581
- var correctPrototypeGetter = !fails$3(function () {
1582
- function F() { /* empty */ }
1583
- F.prototype.constructor = null;
1584
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1585
- return Object.getPrototypeOf(new F()) !== F.prototype;
1586
- });
1587
-
1588
- var hasOwn$1 = hasOwnProperty_1;
1589
- var isCallable$2 = isCallable$d;
1590
- var toObject$1 = toObject$3;
1591
- var sharedKey$1 = sharedKey$3;
1592
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1593
-
1594
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1595
- var $Object = Object;
1596
- var ObjectPrototype = $Object.prototype;
1597
-
1598
- // `Object.getPrototypeOf` method
1599
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1600
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1601
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1602
- var object = toObject$1(O);
1603
- if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
1604
- var constructor = object.constructor;
1605
- if (isCallable$2(constructor) && object instanceof constructor) {
1606
- return constructor.prototype;
1607
- } return object instanceof $Object ? ObjectPrototype : null;
1608
- };
1609
-
1610
- var makeBuiltIn = makeBuiltInExports;
1611
- var defineProperty = objectDefineProperty;
1612
-
1613
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1614
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1615
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1616
- return defineProperty.f(target, name, descriptor);
1617
- };
1618
-
1619
- var DESCRIPTORS$3 = descriptors;
1620
- var definePropertyModule$1 = objectDefineProperty;
1621
- var createPropertyDescriptor = createPropertyDescriptor$3;
1622
-
1623
- var createProperty$1 = function (object, key, value) {
1624
- if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
1625
- else object[key] = value;
1626
- };
1627
-
1628
- var objectDefineProperties = {};
1629
-
1630
- var internalObjectKeys = objectKeysInternal;
1631
- var enumBugKeys$1 = enumBugKeys$3;
1632
-
1633
- // `Object.keys` method
1634
- // https://tc39.es/ecma262/#sec-object.keys
1635
- // eslint-disable-next-line es/no-object-keys -- safe
1636
- var objectKeys$1 = Object.keys || function keys(O) {
1637
- return internalObjectKeys(O, enumBugKeys$1);
1638
- };
1639
-
1640
- var DESCRIPTORS$2 = descriptors;
1641
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1642
- var definePropertyModule = objectDefineProperty;
1643
- var anObject$5 = anObject$8;
1644
- var toIndexedObject = toIndexedObject$4;
1645
- var objectKeys = objectKeys$1;
1646
-
1647
- // `Object.defineProperties` method
1648
- // https://tc39.es/ecma262/#sec-object.defineproperties
1649
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1650
- objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1651
- anObject$5(O);
1652
- var props = toIndexedObject(Properties);
1653
- var keys = objectKeys(Properties);
1654
- var length = keys.length;
1655
- var index = 0;
1656
- var key;
1657
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1658
- return O;
1659
- };
1660
-
1661
- var getBuiltIn = getBuiltIn$3;
1662
-
1663
- var html$1 = getBuiltIn('document', 'documentElement');
1664
-
1665
- /* global ActiveXObject -- old IE, WSH */
1666
- var anObject$4 = anObject$8;
1667
- var definePropertiesModule = objectDefineProperties;
1668
- var enumBugKeys = enumBugKeys$3;
1669
- var hiddenKeys = hiddenKeys$4;
1670
- var html = html$1;
1671
- var documentCreateElement = documentCreateElement$1;
1672
- var sharedKey = sharedKey$3;
1673
-
1674
- var GT = '>';
1675
- var LT = '<';
1676
- var PROTOTYPE = 'prototype';
1677
- var SCRIPT = 'script';
1678
- var IE_PROTO = sharedKey('IE_PROTO');
1679
-
1680
- var EmptyConstructor = function () { /* empty */ };
1681
-
1682
- var scriptTag = function (content) {
1683
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1684
- };
1685
-
1686
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1687
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1688
- activeXDocument.write(scriptTag(''));
1689
- activeXDocument.close();
1690
- var temp = activeXDocument.parentWindow.Object;
1691
- activeXDocument = null; // avoid memory leak
1692
- return temp;
1693
- };
1694
-
1695
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1696
- var NullProtoObjectViaIFrame = function () {
1697
- // Thrash, waste and sodomy: IE GC bug
1698
- var iframe = documentCreateElement('iframe');
1699
- var JS = 'java' + SCRIPT + ':';
1700
- var iframeDocument;
1701
- iframe.style.display = 'none';
1702
- html.appendChild(iframe);
1703
- // https://github.com/zloirock/core-js/issues/475
1704
- iframe.src = String(JS);
1705
- iframeDocument = iframe.contentWindow.document;
1706
- iframeDocument.open();
1707
- iframeDocument.write(scriptTag('document.F=Object'));
1708
- iframeDocument.close();
1709
- return iframeDocument.F;
1710
- };
1711
-
1712
- // Check for document.domain and active x support
1713
- // No need to use active x approach when document.domain is not set
1714
- // see https://github.com/es-shims/es5-shim/issues/150
1715
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1716
- // avoid IE GC bug
1717
- var activeXDocument;
1718
- var NullProtoObject = function () {
1719
- try {
1720
- activeXDocument = new ActiveXObject('htmlfile');
1721
- } catch (error) { /* ignore */ }
1722
- NullProtoObject = typeof document != 'undefined'
1723
- ? document.domain && activeXDocument
1724
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1725
- : NullProtoObjectViaIFrame()
1726
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1727
- var length = enumBugKeys.length;
1728
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1729
- return NullProtoObject();
1730
- };
1731
-
1732
- hiddenKeys[IE_PROTO] = true;
1733
-
1734
- // `Object.create` method
1735
- // https://tc39.es/ecma262/#sec-object.create
1736
- // eslint-disable-next-line es/no-object-create -- safe
1737
- var objectCreate = Object.create || function create(O, Properties) {
1738
- var result;
1739
- if (O !== null) {
1740
- EmptyConstructor[PROTOTYPE] = anObject$4(O);
1741
- result = new EmptyConstructor();
1742
- EmptyConstructor[PROTOTYPE] = null;
1743
- // add "__proto__" for Object.getPrototypeOf polyfill
1744
- result[IE_PROTO] = O;
1745
- } else result = NullProtoObject();
1746
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1747
- };
1748
-
1749
- var fails$2 = fails$c;
1750
- var isCallable$1 = isCallable$d;
1751
- var isObject = isObject$6;
1752
- var getPrototypeOf$1 = objectGetPrototypeOf;
1753
- var defineBuiltIn$1 = defineBuiltIn$3;
1754
- var wellKnownSymbol$2 = wellKnownSymbol$4;
1755
-
1756
- var ITERATOR$1 = wellKnownSymbol$2('iterator');
1757
- var BUGGY_SAFARI_ITERATORS = false;
1758
-
1759
- // `%IteratorPrototype%` object
1760
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1761
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1762
-
1763
- /* eslint-disable es/no-array-prototype-keys -- safe */
1764
- if ([].keys) {
1765
- arrayIterator = [].keys();
1766
- // Safari 8 has buggy iterators w/o `next`
1767
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1768
- else {
1769
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1770
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1771
- }
1772
- }
1773
-
1774
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$2(function () {
1775
- var test = {};
1776
- // FF44- legacy iterators case
1777
- return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
1778
- });
1779
-
1780
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1781
-
1782
- // `%IteratorPrototype%[@@iterator]()` method
1783
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1784
- if (!isCallable$1(IteratorPrototype$2[ITERATOR$1])) {
1785
- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$1, function () {
1786
- return this;
1787
- });
1788
- }
1789
-
1790
- var iteratorsCore = {
1791
- IteratorPrototype: IteratorPrototype$2,
1792
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1793
- };
1794
-
1795
- var $$2 = _export;
1796
- var global$1 = global$b;
1797
- var anInstance = anInstance$1;
1798
- var anObject$3 = anObject$8;
1799
- var isCallable = isCallable$d;
1800
- var getPrototypeOf = objectGetPrototypeOf;
1801
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
1802
- var createProperty = createProperty$1;
1803
- var fails$1 = fails$c;
1804
- var hasOwn = hasOwnProperty_1;
1805
- var wellKnownSymbol$1 = wellKnownSymbol$4;
1806
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1807
- var DESCRIPTORS$1 = descriptors;
1808
-
1809
- var CONSTRUCTOR = 'constructor';
1810
- var ITERATOR = 'Iterator';
1811
- var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
1812
-
1813
- var $TypeError$2 = TypeError;
1814
- var NativeIterator = global$1[ITERATOR];
1815
-
1816
- // FF56- have non-standard global helper `Iterator`
1817
- var FORCED$1 = !isCallable(NativeIterator)
1818
- || NativeIterator.prototype !== IteratorPrototype$1
1819
- // FF44- non-standard `Iterator` passes previous tests
1820
- || !fails$1(function () { NativeIterator({}); });
1821
-
1822
- var IteratorConstructor = function Iterator() {
1823
- anInstance(this, IteratorPrototype$1);
1824
- if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$2('Abstract class Iterator not directly constructable');
1825
- };
1826
-
1827
- var defineIteratorPrototypeAccessor = function (key, value) {
1828
- if (DESCRIPTORS$1) {
1829
- defineBuiltInAccessor(IteratorPrototype$1, key, {
1830
- configurable: true,
1831
- get: function () {
1832
- return value;
1833
- },
1834
- set: function (replacement) {
1835
- anObject$3(this);
1836
- if (this === IteratorPrototype$1) throw new $TypeError$2("You can't redefine this property");
1837
- if (hasOwn(this, key)) this[key] = replacement;
1838
- else createProperty(this, key, replacement);
1839
- }
1840
- });
1841
- } else IteratorPrototype$1[key] = value;
1842
- };
1843
-
1844
- if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
1845
-
1846
- if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
1847
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1848
- }
1849
-
1850
- IteratorConstructor.prototype = IteratorPrototype$1;
1851
-
1852
- // `Iterator` constructor
1853
- // https://github.com/tc39/proposal-iterator-helpers
1854
- $$2({ global: true, constructor: true, forced: FORCED$1 }, {
1855
- Iterator: IteratorConstructor
1856
- });
1857
-
1858
- // `GetIteratorDirect(obj)` abstract operation
1859
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
1860
- var getIteratorDirect$1 = function (obj) {
1861
- return {
1862
- iterator: obj,
1863
- next: obj.next,
1864
- done: false
1865
- };
1866
- };
1867
-
1868
- var defineBuiltIn = defineBuiltIn$3;
1869
-
1870
- var defineBuiltIns$1 = function (target, src, options) {
1871
- for (var key in src) defineBuiltIn(target, key, src[key], options);
1872
- return target;
1873
- };
1874
-
1875
- // `CreateIterResultObject` abstract operation
1876
- // https://tc39.es/ecma262/#sec-createiterresultobject
1877
- var createIterResultObject$1 = function (value, done) {
1878
- return { value: value, done: done };
1879
- };
1880
-
1881
- var call$2 = functionCall;
1882
- var anObject$2 = anObject$8;
1883
- var getMethod$1 = getMethod$3;
1884
-
1885
- var iteratorClose$2 = function (iterator, kind, value) {
1886
- var innerResult, innerError;
1887
- anObject$2(iterator);
1888
- try {
1889
- innerResult = getMethod$1(iterator, 'return');
1890
- if (!innerResult) {
1891
- if (kind === 'throw') throw value;
1892
- return value;
1893
- }
1894
- innerResult = call$2(innerResult, iterator);
1895
- } catch (error) {
1896
- innerError = true;
1897
- innerResult = error;
1898
- }
1899
- if (kind === 'throw') throw value;
1900
- if (innerError) throw innerResult;
1901
- anObject$2(innerResult);
1902
- return value;
1903
- };
1904
-
1905
- var call$1 = functionCall;
1906
- var create = objectCreate;
1907
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
1908
- var defineBuiltIns = defineBuiltIns$1;
1909
- var wellKnownSymbol = wellKnownSymbol$4;
1910
- var InternalStateModule = internalState;
1911
- var getMethod = getMethod$3;
1912
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
1913
- var createIterResultObject = createIterResultObject$1;
1914
- var iteratorClose$1 = iteratorClose$2;
1915
-
1916
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1917
- var ITERATOR_HELPER = 'IteratorHelper';
1918
- var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
1919
- var setInternalState = InternalStateModule.set;
1920
-
1921
- var createIteratorProxyPrototype = function (IS_ITERATOR) {
1922
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1923
-
1924
- return defineBuiltIns(create(IteratorPrototype), {
1925
- next: function next() {
1926
- var state = getInternalState(this);
1927
- // for simplification:
1928
- // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
1929
- // for `%IteratorHelperPrototype%.next` - just a value
1930
- if (IS_ITERATOR) return state.nextHandler();
1931
- try {
1932
- var result = state.done ? undefined : state.nextHandler();
1933
- return createIterResultObject(result, state.done);
1934
- } catch (error) {
1935
- state.done = true;
1936
- throw error;
1937
- }
1938
- },
1939
- 'return': function () {
1940
- var state = getInternalState(this);
1941
- var iterator = state.iterator;
1942
- state.done = true;
1943
- if (IS_ITERATOR) {
1944
- var returnMethod = getMethod(iterator, 'return');
1945
- return returnMethod ? call$1(returnMethod, iterator) : createIterResultObject(undefined, true);
1946
- }
1947
- if (state.inner) try {
1948
- iteratorClose$1(state.inner.iterator, 'normal');
1949
- } catch (error) {
1950
- return iteratorClose$1(iterator, 'throw', error);
1951
- }
1952
- iteratorClose$1(iterator, 'normal');
1953
- return createIterResultObject(undefined, true);
1954
- }
1955
- });
1956
- };
1957
-
1958
- var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1959
- var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1960
-
1961
- createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
1962
-
1963
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
1964
- var IteratorProxy = function Iterator(record, state) {
1965
- if (state) {
1966
- state.iterator = record.iterator;
1967
- state.next = record.next;
1968
- } else state = record;
1969
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1970
- state.nextHandler = nextHandler;
1971
- state.counter = 0;
1972
- state.done = false;
1973
- setInternalState(this, state);
1974
- };
1975
-
1976
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1977
-
1978
- return IteratorProxy;
1979
- };
1980
-
1981
- var anObject$1 = anObject$8;
1982
- var iteratorClose = iteratorClose$2;
1983
-
1984
- // call something on iterator step with safe closing on error
1985
- var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
1986
- try {
1987
- return ENTRIES ? fn(anObject$1(value)[0], value[1]) : fn(value);
1988
- } catch (error) {
1989
- iteratorClose(iterator, 'throw', error);
1990
- }
1991
- };
1992
-
1993
- var call = functionCall;
1994
- var aCallable = aCallable$2;
1995
- var anObject = anObject$8;
1996
- var getIteratorDirect = getIteratorDirect$1;
1997
- var createIteratorProxy = iteratorCreateProxy;
1998
- var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
1999
-
2000
- var IteratorProxy = createIteratorProxy(function () {
2001
- var iterator = this.iterator;
2002
- var result = anObject(call(this.next, iterator));
2003
- var done = this.done = !!result.done;
2004
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
2005
- });
2006
-
2007
- // `Iterator.prototype.map` method
2008
- // https://github.com/tc39/proposal-iterator-helpers
2009
- var iteratorMap = function map(mapper) {
2010
- anObject(this);
2011
- aCallable(mapper);
2012
- return new IteratorProxy(getIteratorDirect(this), {
2013
- mapper: mapper
2014
- });
2015
- };
2016
-
2017
- var $$1 = _export;
2018
- var map = iteratorMap;
2019
- var IS_PURE = isPure;
2020
-
2021
- // `Iterator.prototype.map` method
2022
- // https://github.com/tc39/proposal-iterator-helpers
2023
- $$1({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
2024
- map: map
2025
- });
2026
-
2027
574
  var makeError = {exports: {}};
2028
575
 
2029
- (function (module, exports) {
576
+ (function (module, exports$1) {
2030
577
 
2031
578
  // ===================================================================
2032
579
 
@@ -2173,8 +720,8 @@ var makeError = {exports: {}};
2173
720
 
2174
721
  return constructor;
2175
722
  }
2176
- exports = module.exports = makeError;
2177
- exports.BaseError = BaseError;
723
+ exports$1 = module.exports = makeError;
724
+ exports$1.BaseError = BaseError;
2178
725
  } (makeError, makeError.exports));
2179
726
 
2180
727
  var makeErrorExports = makeError.exports;
@@ -2242,92 +789,6 @@ function syncEntitySynchronizer(config) {
2242
789
  };
2243
790
  }
2244
791
 
2245
- var classof = classofRaw;
2246
-
2247
- // `IsArray` abstract operation
2248
- // https://tc39.es/ecma262/#sec-isarray
2249
- // eslint-disable-next-line es/no-array-isarray -- safe
2250
- var isArray$1 = Array.isArray || function isArray(argument) {
2251
- return classof(argument) === 'Array';
2252
- };
2253
-
2254
- var DESCRIPTORS = descriptors;
2255
- var isArray = isArray$1;
2256
-
2257
- var $TypeError$1 = TypeError;
2258
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2259
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2260
-
2261
- // Safari < 13 does not throw an error in this case
2262
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
2263
- // makes no sense without proper strict mode support
2264
- if (this !== undefined) return true;
2265
- try {
2266
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2267
- Object.defineProperty([], 'length', { writable: false }).length = 1;
2268
- } catch (error) {
2269
- return error instanceof TypeError;
2270
- }
2271
- }();
2272
-
2273
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2274
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
2275
- throw new $TypeError$1('Cannot set read only .length');
2276
- } return O.length = length;
2277
- } : function (O, length) {
2278
- return O.length = length;
2279
- };
2280
-
2281
- var $TypeError = TypeError;
2282
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2283
-
2284
- var doesNotExceedSafeInteger$1 = function (it) {
2285
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2286
- return it;
2287
- };
2288
-
2289
- var $ = _export;
2290
- var toObject = toObject$3;
2291
- var lengthOfArrayLike = lengthOfArrayLike$2;
2292
- var setArrayLength = arraySetLength;
2293
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2294
- var fails = fails$c;
2295
-
2296
- var INCORRECT_TO_LENGTH = fails(function () {
2297
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2298
- });
2299
-
2300
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2301
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2302
- var properErrorOnNonWritableLength = function () {
2303
- try {
2304
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2305
- Object.defineProperty([], 'length', { writable: false }).push();
2306
- } catch (error) {
2307
- return error instanceof TypeError;
2308
- }
2309
- };
2310
-
2311
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2312
-
2313
- // `Array.prototype.push` method
2314
- // https://tc39.es/ecma262/#sec-array.prototype.push
2315
- $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2316
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2317
- push: function push(item) {
2318
- var O = toObject(this);
2319
- var len = lengthOfArrayLike(O);
2320
- var argCount = arguments.length;
2321
- doesNotExceedSafeInteger(len + argCount);
2322
- for (var i = 0; i < argCount; i++) {
2323
- O[len] = arguments[i];
2324
- len++;
2325
- }
2326
- setArrayLength(O, len);
2327
- return len;
2328
- }
2329
- });
2330
-
2331
792
  function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
2332
793
  const {
2333
794
  commonType,
@@ -2466,7 +927,6 @@ function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
2466
927
  }
2467
928
  async function performSynchronizationOfSources(input) {
2468
929
  const {
2469
- syncRecursionDepth,
2470
930
  secondaryFlaggedDelete
2471
931
  } = input;
2472
932
  let result;
@@ -2490,12 +950,6 @@ function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
2490
950
  switch (secondarySyncResult.type) {
2491
951
  case 'deleted':
2492
952
  if (primaryFlaggedDelete === false) {
2493
- if (syncRecursionDepth === 1) {
2494
- result = await performSynchronizationOfSources({
2495
- syncRecursionDepth: syncRecursionDepth + 1,
2496
- secondaryFlaggedDelete: true
2497
- });
2498
- }
2499
953
  break;
2500
954
  }
2501
955
  break;
@@ -2521,8 +975,7 @@ function basicSyncEntityCommonTypeSynchronizerInstanceFactory(config) {
2521
975
  return result;
2522
976
  }
2523
977
  const result = await performSynchronizationOfSources({
2524
- syncRecursionDepth: 0
2525
- });
978
+ });
2526
979
  return {
2527
980
  targetPair: syncEntityCommonTypeIdPair,
2528
981
  entitiesSynchronized: result.synchronizedEntityResults