@dereekb/firebase 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/LICENSE +1 -1
- package/index.cjs.js +53 -2239
- package/index.esm.js +34 -2216
- package/package.json +21 -15
- package/src/lib/client/storage/driver.accessor.d.ts +1 -1
- package/src/lib/common/firestore/query/iterator.d.ts +0 -4
- package/src/lib/common/firestore/snapshot/snapshot.field.d.ts +0 -6
- package/src/lib/common/model/model.service.d.ts +1 -1
- package/src/lib/common/storage/driver/accessor.d.ts +1 -1
- package/src/lib/common/storage/types.d.ts +3 -3
- package/src/lib/model/notification/notification.api.d.ts +1 -1
- package/src/lib/model/notification/notification.config.d.ts +5 -5
- package/src/lib/model/notification/notification.d.ts +15 -15
- package/src/lib/model/notification/notification.details.d.ts +0 -4
- package/src/lib/model/notification/notification.item.d.ts +1 -1
- package/src/lib/model/storagefile/storagefile.api.d.ts +4 -4
- package/src/lib/model/storagefile/storagefile.d.ts +7 -7
- package/src/lib/model/storagefile/storagefile.task.d.ts +1 -13
- package/src/lib/model/system/system.d.ts +2 -2
- package/test/index.cjs.js +4043 -0
- package/test/index.esm.js +3957 -0
- package/test/package.json +27 -9
- package/test/src/lib/client/firebase.authorized.d.ts +2 -2
- package/test/src/lib/client/firebase.d.ts +4 -3
- package/test/src/lib/client/firestore.mock.item.fixture.authorized.d.ts +2 -2
- package/test/src/lib/common/firebase.instance.d.ts +7 -3
- package/test/src/lib/common/firestore/firestore.instance.d.ts +7 -3
- package/test/src/lib/common/mock/mock.item.collection.fixture.d.ts +5 -2
- package/test/src/lib/common/mock/mock.item.storage.fixture.d.ts +4 -4
- package/test/src/lib/common/storage/storage.instance.d.ts +7 -3
- package/test/CHANGELOG.md +0 -2114
- package/test/README.md +0 -11
- package/test/src/index.js +0 -5
- package/test/src/index.js.map +0 -1
- package/test/src/lib/client/firebase.authorized.js +0 -35
- package/test/src/lib/client/firebase.authorized.js.map +0 -1
- package/test/src/lib/client/firebase.js +0 -125
- package/test/src/lib/client/firebase.js.map +0 -1
- package/test/src/lib/client/firestore.mock.item.fixture.authorized.js +0 -19
- package/test/src/lib/client/firestore.mock.item.fixture.authorized.js.map +0 -1
- package/test/src/lib/client/index.js +0 -7
- package/test/src/lib/client/index.js.map +0 -1
- package/test/src/lib/common/firebase.instance.js +0 -35
- package/test/src/lib/common/firebase.instance.js.map +0 -1
- package/test/src/lib/common/firestore/firestore.instance.js +0 -24
- package/test/src/lib/common/firestore/firestore.instance.js.map +0 -1
- package/test/src/lib/common/firestore/firestore.js +0 -67
- package/test/src/lib/common/firestore/firestore.js.map +0 -1
- package/test/src/lib/common/firestore/index.js +0 -9
- package/test/src/lib/common/firestore/index.js.map +0 -1
- package/test/src/lib/common/firestore/test.driver.accessor.js +0 -767
- package/test/src/lib/common/firestore/test.driver.accessor.js.map +0 -1
- package/test/src/lib/common/firestore/test.driver.query.js +0 -1361
- package/test/src/lib/common/firestore/test.driver.query.js.map +0 -1
- package/test/src/lib/common/firestore/test.iterator.js +0 -221
- package/test/src/lib/common/firestore/test.iterator.js.map +0 -1
- package/test/src/lib/common/index.js +0 -8
- package/test/src/lib/common/index.js.map +0 -1
- package/test/src/lib/common/mock/index.js +0 -10
- package/test/src/lib/common/mock/index.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.collection.fixture.js +0 -64
- package/test/src/lib/common/mock/mock.item.collection.fixture.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.id.js +0 -3
- package/test/src/lib/common/mock/mock.item.id.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.js +0 -339
- package/test/src/lib/common/mock/mock.item.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.query.js +0 -33
- package/test/src/lib/common/mock/mock.item.query.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.service.js +0 -77
- package/test/src/lib/common/mock/mock.item.service.js.map +0 -1
- package/test/src/lib/common/mock/mock.item.storage.fixture.js +0 -40
- package/test/src/lib/common/mock/mock.item.storage.fixture.js.map +0 -1
- package/test/src/lib/common/storage/index.js +0 -7
- package/test/src/lib/common/storage/index.js.map +0 -1
- package/test/src/lib/common/storage/storage.instance.js +0 -24
- package/test/src/lib/common/storage/storage.instance.js.map +0 -1
- package/test/src/lib/common/storage/storage.js +0 -37
- package/test/src/lib/common/storage/storage.js.map +0 -1
- package/test/src/lib/common/storage/test.driver.accessor.js +0 -669
- package/test/src/lib/common/storage/test.driver.accessor.js.map +0 -1
- package/test/src/lib/index.js +0 -6
- package/test/src/lib/index.js.map +0 -1
- /package/{index.cjs.d.ts → index.d.ts} +0 -0
- /package/{index.esm.d.ts → test/index.d.ts} +0 -0
package/index.esm.js
CHANGED
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
import { increment,
|
|
2
|
-
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, wrapUseAsyncFunction,
|
|
1
|
+
import { increment, arrayRemove, arrayUnion, onSnapshot, getDoc, deleteDoc, setDoc, updateDoc, collection, collectionGroup, doc, writeBatch, runTransaction, getDocs, getCountFromServer, endBefore as endBefore$1, endAt as endAt$1, startAfter as startAfter$1, startAt as startAt$1, where as where$1, documentId, orderBy as orderBy$1, limitToLast as limitToLast$1, limit as limit$1, query } from 'firebase/firestore';
|
|
2
|
+
import { cachedGetter, mergeModifiers, asArray, filterUndefinedValues, objectHasNoKeys, filterFalsyAndEmptyValues, build, wrapUseAsyncFunction, useAsync, runAsyncTasksForValues, filterMaybeArrayValues, performMakeLoop, makeWithFactory, toModelFieldConversions, makeModelMapFunctions, modifyModelMapFunctions, assignValuesToPOJOFunction, KeyValueTypleValueFilter, asObjectCopyFactory, transformStringFunctionConfig, transformStringFunction, passThrough, filterUniqueTransform, unique, transformNumberFunction, sortValuesFunctionOrMapIdentityWithSortRef, toModelMapFunctions, isEqualToValueDecisionFunction, filterFromPOJOFunction, mapObjectMap, copyObject, modelFieldMapFunctions, filterNullAndUndefinedValues, isDate, bitwiseSetDencoder, sortAscendingIndexNumberRefFunction, latLngStringFunction, DEFAULT_LAT_LNG_STRING_VALUE, mapObjectMapFunction, filterEmptyArrayValues, filterUniqueFunction, isMapIdentityFunction, chainMapSameFunctions, unixDateTimeSecondsNumberFromDate, dateFromDateOrTimeSecondsNumber, MAP_IDENTITY, pushItemOrArrayItemsIntoArray, separateValues, convertToArray, UTF_PRIVATE_USAGE_AREA_START, UTF_8_START_CHARACTER, mergeArraysIntoArray, lastValue, flattenArrayOrValueArray, allowValueOnceFilter, asGetter, getValueFromGetter, mapIdentityFunction, performTasksFromFactoryInParallelFunction, performAsyncTasks, batch, flattenArray, calculateExpirationDate, groupValues, forEachInIterable, arrayToObject, takeFront, stringContains, isOddNumber, objectToMap, ServerErrorResponse, toReadableError, capitalizeFirstLetter, lowercaseFirstLetter, toRelativeSlashPathStartType, mappedUseFunction, iterableToArray, setContainsAllValues, usePromise, slashPathFactory, errorMessageContainsString, bitwiseObjectDencoder, UNSET_INDEX_NUMBER, mergeObjectsFunction, mergeObjects, forEachKeyValue, updateMaybeValue, ModelRelationUtility, filterKeysOnPOJOFunction, areEqualPOJOValuesUsingPojoFilter, filterOnlyUndefinedValues, makeModelMap, isThrottled, MS_IN_HOUR, multiValueMapBuilder, mergeSlashPaths, slashPathDetails, toAbsoluteSlashPathStartType, SLASH_PATH_FILE_TYPE_SEPARATOR, slashPathPathMatcher, decisionFunction, slashPathSubPathMatcher } from '@dereekb/util';
|
|
3
3
|
import { filterMaybe, lazyFrom, itemAccumulator, ItemPageIterator, mappedPageItemIteration } from '@dereekb/rxjs';
|
|
4
|
-
import { from,
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import { map, from, shareReplay, combineLatest, of, exhaustMap, Observable, switchMap, timer, skip } from 'rxjs';
|
|
5
|
+
import 'core-js/modules/es.iterator.constructor.js';
|
|
6
|
+
import 'core-js/modules/es.iterator.filter.js';
|
|
7
|
+
import 'core-js/modules/es.iterator.map.js';
|
|
8
|
+
import 'core-js/modules/es.set.difference.v2.js';
|
|
9
|
+
import 'core-js/modules/es.set.symmetric-difference.v2.js';
|
|
10
|
+
import 'core-js/modules/es.set.union.v2.js';
|
|
11
|
+
import { UNKNOWN_WEBSITE_LINK_TYPE, encodeWebsiteFileLinkToWebsiteLinkEncodedData, decodeWebsiteLinkEncodedDataToWebsiteFileLink, AbstractModelPermissionService, grantedRoleMapReader, noAccessRoleMap, fullAccessRoleMap, IsE164PhoneNumber } from '@dereekb/model';
|
|
12
|
+
import { toISODateString, formatToISO8601DateString, toJsDate, isSameDate, dateRange, sortByDateFunction, yearWeekCode, UNKNOWN_YEAR_WEEK_CODE } from '@dereekb/date';
|
|
13
|
+
import 'core-js/modules/es.iterator.for-each.js';
|
|
14
|
+
import 'core-js/modules/es.map.get-or-insert.js';
|
|
15
|
+
import 'core-js/modules/es.map.get-or-insert-computed.js';
|
|
7
16
|
import { httpsCallable } from 'firebase/functions';
|
|
8
|
-
import
|
|
17
|
+
import 'core-js/modules/es.typed-array.with.js';
|
|
18
|
+
import 'core-js/modules/es.uint8-array.set-from-base64.js';
|
|
19
|
+
import 'core-js/modules/es.uint8-array.set-from-hex.js';
|
|
20
|
+
import 'core-js/modules/es.uint8-array.to-base64.js';
|
|
21
|
+
import 'core-js/modules/es.uint8-array.to-hex.js';
|
|
22
|
+
import { getMetadata, ref, deleteObject, uploadBytesResumable, getBlob, getBytes, uploadString, uploadBytes, updateMetadata, getDownloadURL, list } from 'firebase/storage';
|
|
9
23
|
import { Expose, Type } from 'class-transformer';
|
|
10
24
|
import { IsEnum, IsString, IsOptional, registerDecorator, buildMessage, IsNotEmpty, IsBoolean, IsNumber, IsEmail, IsArray, ValidateNested, IsPhoneNumber, IsDate, MinLength, MaxLength, Min, IsMimeType } from 'class-validator';
|
|
11
|
-
import {
|
|
25
|
+
import { iterateFetchPages, iterateFetchPagesByEachItem, fetchPageFactory } from '@dereekb/util/fetch';
|
|
12
26
|
import { isAfter } from 'date-fns';
|
|
27
|
+
import 'core-js/modules/es.iterator.some.js';
|
|
13
28
|
|
|
14
29
|
/**
|
|
15
30
|
* Returns true if the input is seen as a client-side FirebaseError.
|
|
@@ -330,7 +345,7 @@ function dataFromSnapshotStream(stream, options) {
|
|
|
330
345
|
* @returns An operator that transforms DocumentSnapshots into document data (or undefined if the document doesn't exist)
|
|
331
346
|
*/
|
|
332
347
|
function mapDataFromSnapshot(options) {
|
|
333
|
-
return map
|
|
348
|
+
return map(x => x.data(options));
|
|
334
349
|
}
|
|
335
350
|
/**
|
|
336
351
|
* Creates a function that updates a document using a data converter.
|
|
@@ -680,1498 +695,6 @@ function extendFirestoreCollectionWithSingleDocumentAccessor(x, singleItemIdenti
|
|
|
680
695
|
x.loadDocumentForWriteBatch = singleAccessor.loadDocumentForWriteBatch;
|
|
681
696
|
}
|
|
682
697
|
|
|
683
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
684
|
-
|
|
685
|
-
var check = function (it) {
|
|
686
|
-
return it && it.Math === Math && it;
|
|
687
|
-
};
|
|
688
|
-
|
|
689
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
690
|
-
var global$b =
|
|
691
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
692
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
693
|
-
check(typeof window == 'object' && window) ||
|
|
694
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
695
|
-
check(typeof self == 'object' && self) ||
|
|
696
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
697
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
698
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
699
|
-
(function () { return this; })() || Function('return this')();
|
|
700
|
-
|
|
701
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
702
|
-
|
|
703
|
-
var fails$d = function (exec) {
|
|
704
|
-
try {
|
|
705
|
-
return !!exec();
|
|
706
|
-
} catch (error) {
|
|
707
|
-
return true;
|
|
708
|
-
}
|
|
709
|
-
};
|
|
710
|
-
|
|
711
|
-
var fails$c = fails$d;
|
|
712
|
-
|
|
713
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
714
|
-
var descriptors = !fails$c(function () {
|
|
715
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
716
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
717
|
-
});
|
|
718
|
-
|
|
719
|
-
var fails$b = fails$d;
|
|
720
|
-
|
|
721
|
-
var functionBindNative = !fails$b(function () {
|
|
722
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
723
|
-
var test = (function () { /* empty */ }).bind();
|
|
724
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
725
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
726
|
-
});
|
|
727
|
-
|
|
728
|
-
var NATIVE_BIND$2 = functionBindNative;
|
|
729
|
-
|
|
730
|
-
var call$c = Function.prototype.call;
|
|
731
|
-
|
|
732
|
-
var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
|
|
733
|
-
return call$c.apply(call$c, arguments);
|
|
734
|
-
};
|
|
735
|
-
|
|
736
|
-
var objectPropertyIsEnumerable = {};
|
|
737
|
-
|
|
738
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
739
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
740
|
-
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
741
|
-
|
|
742
|
-
// Nashorn ~ JDK8 bug
|
|
743
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
744
|
-
|
|
745
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
746
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
747
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
748
|
-
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
749
|
-
return !!descriptor && descriptor.enumerable;
|
|
750
|
-
} : $propertyIsEnumerable;
|
|
751
|
-
|
|
752
|
-
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
753
|
-
return {
|
|
754
|
-
enumerable: !(bitmap & 1),
|
|
755
|
-
configurable: !(bitmap & 2),
|
|
756
|
-
writable: !(bitmap & 4),
|
|
757
|
-
value: value
|
|
758
|
-
};
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
762
|
-
|
|
763
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
764
|
-
var call$b = FunctionPrototype$1.call;
|
|
765
|
-
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$b, call$b);
|
|
766
|
-
|
|
767
|
-
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
768
|
-
return function () {
|
|
769
|
-
return call$b.apply(fn, arguments);
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
|
|
773
|
-
var uncurryThis$d = functionUncurryThis;
|
|
774
|
-
|
|
775
|
-
var toString$1 = uncurryThis$d({}.toString);
|
|
776
|
-
var stringSlice$1 = uncurryThis$d(''.slice);
|
|
777
|
-
|
|
778
|
-
var classofRaw$2 = function (it) {
|
|
779
|
-
return stringSlice$1(toString$1(it), 8, -1);
|
|
780
|
-
};
|
|
781
|
-
|
|
782
|
-
var uncurryThis$c = functionUncurryThis;
|
|
783
|
-
var fails$a = fails$d;
|
|
784
|
-
var classof$3 = classofRaw$2;
|
|
785
|
-
|
|
786
|
-
var $Object$4 = Object;
|
|
787
|
-
var split = uncurryThis$c(''.split);
|
|
788
|
-
|
|
789
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
790
|
-
var indexedObject = fails$a(function () {
|
|
791
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
792
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
793
|
-
return !$Object$4('z').propertyIsEnumerable(0);
|
|
794
|
-
}) ? function (it) {
|
|
795
|
-
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
796
|
-
} : $Object$4;
|
|
797
|
-
|
|
798
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
799
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
800
|
-
var isNullOrUndefined$3 = function (it) {
|
|
801
|
-
return it === null || it === undefined;
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
805
|
-
|
|
806
|
-
var $TypeError$c = TypeError;
|
|
807
|
-
|
|
808
|
-
// `RequireObjectCoercible` abstract operation
|
|
809
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
810
|
-
var requireObjectCoercible$2 = function (it) {
|
|
811
|
-
if (isNullOrUndefined$2(it)) throw new $TypeError$c("Can't call method on " + it);
|
|
812
|
-
return it;
|
|
813
|
-
};
|
|
814
|
-
|
|
815
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
816
|
-
var IndexedObject = indexedObject;
|
|
817
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
818
|
-
|
|
819
|
-
var toIndexedObject$4 = function (it) {
|
|
820
|
-
return IndexedObject(requireObjectCoercible$1(it));
|
|
821
|
-
};
|
|
822
|
-
|
|
823
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
824
|
-
var documentAll = typeof document == 'object' && document.all;
|
|
825
|
-
|
|
826
|
-
// `IsCallable` abstract operation
|
|
827
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
828
|
-
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
829
|
-
var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
830
|
-
return typeof argument == 'function' || argument === documentAll;
|
|
831
|
-
} : function (argument) {
|
|
832
|
-
return typeof argument == 'function';
|
|
833
|
-
};
|
|
834
|
-
|
|
835
|
-
var isCallable$d = isCallable$e;
|
|
836
|
-
|
|
837
|
-
var isObject$6 = function (it) {
|
|
838
|
-
return typeof it == 'object' ? it !== null : isCallable$d(it);
|
|
839
|
-
};
|
|
840
|
-
|
|
841
|
-
var global$a = global$b;
|
|
842
|
-
var isCallable$c = isCallable$e;
|
|
843
|
-
|
|
844
|
-
var aFunction = function (argument) {
|
|
845
|
-
return isCallable$c(argument) ? argument : undefined;
|
|
846
|
-
};
|
|
847
|
-
|
|
848
|
-
var getBuiltIn$4 = function (namespace, method) {
|
|
849
|
-
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
|
850
|
-
};
|
|
851
|
-
|
|
852
|
-
var uncurryThis$b = functionUncurryThis;
|
|
853
|
-
|
|
854
|
-
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
855
|
-
|
|
856
|
-
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
857
|
-
|
|
858
|
-
var global$9 = global$b;
|
|
859
|
-
var userAgent = engineUserAgent;
|
|
860
|
-
|
|
861
|
-
var process = global$9.process;
|
|
862
|
-
var Deno = global$9.Deno;
|
|
863
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
864
|
-
var v8 = versions && versions.v8;
|
|
865
|
-
var match, version;
|
|
866
|
-
|
|
867
|
-
if (v8) {
|
|
868
|
-
match = v8.split('.');
|
|
869
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
870
|
-
// but their correct versions are not interesting for us
|
|
871
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
875
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
876
|
-
if (!version && userAgent) {
|
|
877
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
878
|
-
if (!match || match[1] >= 74) {
|
|
879
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
880
|
-
if (match) version = +match[1];
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
var engineV8Version = version;
|
|
885
|
-
|
|
886
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
887
|
-
var V8_VERSION = engineV8Version;
|
|
888
|
-
var fails$9 = fails$d;
|
|
889
|
-
var global$8 = global$b;
|
|
890
|
-
|
|
891
|
-
var $String$3 = global$8.String;
|
|
892
|
-
|
|
893
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
894
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
|
895
|
-
var symbol = Symbol('symbol detection');
|
|
896
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
897
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
898
|
-
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
899
|
-
// of course, fail.
|
|
900
|
-
return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
901
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
902
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
903
|
-
});
|
|
904
|
-
|
|
905
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
906
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
907
|
-
|
|
908
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
909
|
-
&& !Symbol.sham
|
|
910
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
911
|
-
|
|
912
|
-
var getBuiltIn$3 = getBuiltIn$4;
|
|
913
|
-
var isCallable$b = isCallable$e;
|
|
914
|
-
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
915
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
916
|
-
|
|
917
|
-
var $Object$3 = Object;
|
|
918
|
-
|
|
919
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
920
|
-
return typeof it == 'symbol';
|
|
921
|
-
} : function (it) {
|
|
922
|
-
var $Symbol = getBuiltIn$3('Symbol');
|
|
923
|
-
return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
924
|
-
};
|
|
925
|
-
|
|
926
|
-
var $String$2 = String;
|
|
927
|
-
|
|
928
|
-
var tryToString$3 = function (argument) {
|
|
929
|
-
try {
|
|
930
|
-
return $String$2(argument);
|
|
931
|
-
} catch (error) {
|
|
932
|
-
return 'Object';
|
|
933
|
-
}
|
|
934
|
-
};
|
|
935
|
-
|
|
936
|
-
var isCallable$a = isCallable$e;
|
|
937
|
-
var tryToString$2 = tryToString$3;
|
|
938
|
-
|
|
939
|
-
var $TypeError$b = TypeError;
|
|
940
|
-
|
|
941
|
-
// `Assert: IsCallable(argument) is true`
|
|
942
|
-
var aCallable$9 = function (argument) {
|
|
943
|
-
if (isCallable$a(argument)) return argument;
|
|
944
|
-
throw new $TypeError$b(tryToString$2(argument) + ' is not a function');
|
|
945
|
-
};
|
|
946
|
-
|
|
947
|
-
var aCallable$8 = aCallable$9;
|
|
948
|
-
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
949
|
-
|
|
950
|
-
// `GetMethod` abstract operation
|
|
951
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
952
|
-
var getMethod$4 = function (V, P) {
|
|
953
|
-
var func = V[P];
|
|
954
|
-
return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
var call$a = functionCall;
|
|
958
|
-
var isCallable$9 = isCallable$e;
|
|
959
|
-
var isObject$5 = isObject$6;
|
|
960
|
-
|
|
961
|
-
var $TypeError$a = TypeError;
|
|
962
|
-
|
|
963
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
964
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
965
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
966
|
-
var fn, val;
|
|
967
|
-
if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
968
|
-
if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
|
|
969
|
-
if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
|
|
970
|
-
throw new $TypeError$a("Can't convert object to primitive value");
|
|
971
|
-
};
|
|
972
|
-
|
|
973
|
-
var sharedStore = {exports: {}};
|
|
974
|
-
|
|
975
|
-
var isPure = false;
|
|
976
|
-
|
|
977
|
-
var global$7 = global$b;
|
|
978
|
-
|
|
979
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
980
|
-
var defineProperty$2 = Object.defineProperty;
|
|
981
|
-
|
|
982
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
983
|
-
try {
|
|
984
|
-
defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
|
|
985
|
-
} catch (error) {
|
|
986
|
-
global$7[key] = value;
|
|
987
|
-
} return value;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
|
-
var globalThis$1 = global$b;
|
|
991
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
992
|
-
|
|
993
|
-
var SHARED = '__core-js_shared__';
|
|
994
|
-
var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
995
|
-
|
|
996
|
-
(store$3.versions || (store$3.versions = [])).push({
|
|
997
|
-
version: '3.36.1',
|
|
998
|
-
mode: 'global',
|
|
999
|
-
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
1000
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
|
|
1001
|
-
source: 'https://github.com/zloirock/core-js'
|
|
1002
|
-
});
|
|
1003
|
-
|
|
1004
|
-
var sharedStoreExports = sharedStore.exports;
|
|
1005
|
-
|
|
1006
|
-
var store$2 = sharedStoreExports;
|
|
1007
|
-
|
|
1008
|
-
var shared$3 = function (key, value) {
|
|
1009
|
-
return store$2[key] || (store$2[key] = value || {});
|
|
1010
|
-
};
|
|
1011
|
-
|
|
1012
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
1013
|
-
|
|
1014
|
-
var $Object$2 = Object;
|
|
1015
|
-
|
|
1016
|
-
// `ToObject` abstract operation
|
|
1017
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
1018
|
-
var toObject$3 = function (argument) {
|
|
1019
|
-
return $Object$2(requireObjectCoercible(argument));
|
|
1020
|
-
};
|
|
1021
|
-
|
|
1022
|
-
var uncurryThis$a = functionUncurryThis;
|
|
1023
|
-
var toObject$2 = toObject$3;
|
|
1024
|
-
|
|
1025
|
-
var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
|
|
1026
|
-
|
|
1027
|
-
// `HasOwnProperty` abstract operation
|
|
1028
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
1029
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
1030
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
1031
|
-
return hasOwnProperty(toObject$2(it), key);
|
|
1032
|
-
};
|
|
1033
|
-
|
|
1034
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
1035
|
-
|
|
1036
|
-
var id = 0;
|
|
1037
|
-
var postfix = Math.random();
|
|
1038
|
-
var toString = uncurryThis$9(1.0.toString);
|
|
1039
|
-
|
|
1040
|
-
var uid$2 = function (key) {
|
|
1041
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
var global$6 = global$b;
|
|
1045
|
-
var shared$2 = shared$3;
|
|
1046
|
-
var hasOwn$8 = hasOwnProperty_1;
|
|
1047
|
-
var uid$1 = uid$2;
|
|
1048
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
1049
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
1050
|
-
|
|
1051
|
-
var Symbol$1 = global$6.Symbol;
|
|
1052
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
1053
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
1054
|
-
|
|
1055
|
-
var wellKnownSymbol$8 = function (name) {
|
|
1056
|
-
if (!hasOwn$8(WellKnownSymbolsStore, name)) {
|
|
1057
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
|
|
1058
|
-
? Symbol$1[name]
|
|
1059
|
-
: createWellKnownSymbol('Symbol.' + name);
|
|
1060
|
-
} return WellKnownSymbolsStore[name];
|
|
1061
|
-
};
|
|
1062
|
-
|
|
1063
|
-
var call$9 = functionCall;
|
|
1064
|
-
var isObject$4 = isObject$6;
|
|
1065
|
-
var isSymbol$1 = isSymbol$2;
|
|
1066
|
-
var getMethod$3 = getMethod$4;
|
|
1067
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1068
|
-
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
1069
|
-
|
|
1070
|
-
var $TypeError$9 = TypeError;
|
|
1071
|
-
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
1072
|
-
|
|
1073
|
-
// `ToPrimitive` abstract operation
|
|
1074
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
1075
|
-
var toPrimitive$1 = function (input, pref) {
|
|
1076
|
-
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
1077
|
-
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
1078
|
-
var result;
|
|
1079
|
-
if (exoticToPrim) {
|
|
1080
|
-
if (pref === undefined) pref = 'default';
|
|
1081
|
-
result = call$9(exoticToPrim, input, pref);
|
|
1082
|
-
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
1083
|
-
throw new $TypeError$9("Can't convert object to primitive value");
|
|
1084
|
-
}
|
|
1085
|
-
if (pref === undefined) pref = 'number';
|
|
1086
|
-
return ordinaryToPrimitive(input, pref);
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
var toPrimitive = toPrimitive$1;
|
|
1090
|
-
var isSymbol = isSymbol$2;
|
|
1091
|
-
|
|
1092
|
-
// `ToPropertyKey` abstract operation
|
|
1093
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
1094
|
-
var toPropertyKey$2 = function (argument) {
|
|
1095
|
-
var key = toPrimitive(argument, 'string');
|
|
1096
|
-
return isSymbol(key) ? key : key + '';
|
|
1097
|
-
};
|
|
1098
|
-
|
|
1099
|
-
var global$5 = global$b;
|
|
1100
|
-
var isObject$3 = isObject$6;
|
|
1101
|
-
|
|
1102
|
-
var document$1 = global$5.document;
|
|
1103
|
-
// typeof document.createElement is 'object' in old IE
|
|
1104
|
-
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
1105
|
-
|
|
1106
|
-
var documentCreateElement$1 = function (it) {
|
|
1107
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
1108
|
-
};
|
|
1109
|
-
|
|
1110
|
-
var DESCRIPTORS$a = descriptors;
|
|
1111
|
-
var fails$8 = fails$d;
|
|
1112
|
-
var createElement = documentCreateElement$1;
|
|
1113
|
-
|
|
1114
|
-
// Thanks to IE8 for its funny defineProperty
|
|
1115
|
-
var ie8DomDefine = !DESCRIPTORS$a && !fails$8(function () {
|
|
1116
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1117
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
1118
|
-
get: function () { return 7; }
|
|
1119
|
-
}).a !== 7;
|
|
1120
|
-
});
|
|
1121
|
-
|
|
1122
|
-
var DESCRIPTORS$9 = descriptors;
|
|
1123
|
-
var call$8 = functionCall;
|
|
1124
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1125
|
-
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
1126
|
-
var toIndexedObject$3 = toIndexedObject$4;
|
|
1127
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
1128
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
1129
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
1130
|
-
|
|
1131
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1132
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
1133
|
-
|
|
1134
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
1135
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1136
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
1137
|
-
O = toIndexedObject$3(O);
|
|
1138
|
-
P = toPropertyKey$1(P);
|
|
1139
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
1140
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
1141
|
-
} catch (error) { /* empty */ }
|
|
1142
|
-
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
|
-
var objectDefineProperty = {};
|
|
1146
|
-
|
|
1147
|
-
var DESCRIPTORS$8 = descriptors;
|
|
1148
|
-
var fails$7 = fails$d;
|
|
1149
|
-
|
|
1150
|
-
// V8 ~ Chrome 36-
|
|
1151
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1152
|
-
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$7(function () {
|
|
1153
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1154
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1155
|
-
value: 42,
|
|
1156
|
-
writable: false
|
|
1157
|
-
}).prototype !== 42;
|
|
1158
|
-
});
|
|
1159
|
-
|
|
1160
|
-
var isObject$2 = isObject$6;
|
|
1161
|
-
|
|
1162
|
-
var $String$1 = String;
|
|
1163
|
-
var $TypeError$8 = TypeError;
|
|
1164
|
-
|
|
1165
|
-
// `Assert: Type(argument) is Object`
|
|
1166
|
-
var anObject$e = function (argument) {
|
|
1167
|
-
if (isObject$2(argument)) return argument;
|
|
1168
|
-
throw new $TypeError$8($String$1(argument) + ' is not an object');
|
|
1169
|
-
};
|
|
1170
|
-
|
|
1171
|
-
var DESCRIPTORS$7 = descriptors;
|
|
1172
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1173
|
-
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1174
|
-
var anObject$d = anObject$e;
|
|
1175
|
-
var toPropertyKey = toPropertyKey$2;
|
|
1176
|
-
|
|
1177
|
-
var $TypeError$7 = TypeError;
|
|
1178
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1179
|
-
var $defineProperty = Object.defineProperty;
|
|
1180
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1181
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
1182
|
-
var ENUMERABLE = 'enumerable';
|
|
1183
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
1184
|
-
var WRITABLE = 'writable';
|
|
1185
|
-
|
|
1186
|
-
// `Object.defineProperty` method
|
|
1187
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1188
|
-
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
1189
|
-
anObject$d(O);
|
|
1190
|
-
P = toPropertyKey(P);
|
|
1191
|
-
anObject$d(Attributes);
|
|
1192
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
1193
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
1194
|
-
if (current && current[WRITABLE]) {
|
|
1195
|
-
O[P] = Attributes.value;
|
|
1196
|
-
Attributes = {
|
|
1197
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
1198
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
1199
|
-
writable: false
|
|
1200
|
-
};
|
|
1201
|
-
}
|
|
1202
|
-
} return $defineProperty(O, P, Attributes);
|
|
1203
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
1204
|
-
anObject$d(O);
|
|
1205
|
-
P = toPropertyKey(P);
|
|
1206
|
-
anObject$d(Attributes);
|
|
1207
|
-
if (IE8_DOM_DEFINE) try {
|
|
1208
|
-
return $defineProperty(O, P, Attributes);
|
|
1209
|
-
} catch (error) { /* empty */ }
|
|
1210
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
|
|
1211
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1212
|
-
return O;
|
|
1213
|
-
};
|
|
1214
|
-
|
|
1215
|
-
var DESCRIPTORS$6 = descriptors;
|
|
1216
|
-
var definePropertyModule$4 = objectDefineProperty;
|
|
1217
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
1218
|
-
|
|
1219
|
-
var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? function (object, key, value) {
|
|
1220
|
-
return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
|
|
1221
|
-
} : function (object, key, value) {
|
|
1222
|
-
object[key] = value;
|
|
1223
|
-
return object;
|
|
1224
|
-
};
|
|
1225
|
-
|
|
1226
|
-
var makeBuiltIn$3 = {exports: {}};
|
|
1227
|
-
|
|
1228
|
-
var DESCRIPTORS$5 = descriptors;
|
|
1229
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
1230
|
-
|
|
1231
|
-
var FunctionPrototype = Function.prototype;
|
|
1232
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1233
|
-
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
1234
|
-
|
|
1235
|
-
var EXISTS = hasOwn$6(FunctionPrototype, 'name');
|
|
1236
|
-
// additional protection from minified / mangled / dropped function names
|
|
1237
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1238
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1239
|
-
|
|
1240
|
-
var functionName = {
|
|
1241
|
-
EXISTS: EXISTS,
|
|
1242
|
-
PROPER: PROPER,
|
|
1243
|
-
CONFIGURABLE: CONFIGURABLE
|
|
1244
|
-
};
|
|
1245
|
-
|
|
1246
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
1247
|
-
var isCallable$8 = isCallable$e;
|
|
1248
|
-
var store$1 = sharedStoreExports;
|
|
1249
|
-
|
|
1250
|
-
var functionToString = uncurryThis$8(Function.toString);
|
|
1251
|
-
|
|
1252
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1253
|
-
if (!isCallable$8(store$1.inspectSource)) {
|
|
1254
|
-
store$1.inspectSource = function (it) {
|
|
1255
|
-
return functionToString(it);
|
|
1256
|
-
};
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
var inspectSource$1 = store$1.inspectSource;
|
|
1260
|
-
|
|
1261
|
-
var global$4 = global$b;
|
|
1262
|
-
var isCallable$7 = isCallable$e;
|
|
1263
|
-
|
|
1264
|
-
var WeakMap$1 = global$4.WeakMap;
|
|
1265
|
-
|
|
1266
|
-
var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
1267
|
-
|
|
1268
|
-
var shared$1 = shared$3;
|
|
1269
|
-
var uid = uid$2;
|
|
1270
|
-
|
|
1271
|
-
var keys$1 = shared$1('keys');
|
|
1272
|
-
|
|
1273
|
-
var sharedKey$3 = function (key) {
|
|
1274
|
-
return keys$1[key] || (keys$1[key] = uid(key));
|
|
1275
|
-
};
|
|
1276
|
-
|
|
1277
|
-
var hiddenKeys$4 = {};
|
|
1278
|
-
|
|
1279
|
-
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
1280
|
-
var global$3 = global$b;
|
|
1281
|
-
var isObject$1 = isObject$6;
|
|
1282
|
-
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
1283
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
1284
|
-
var shared = sharedStoreExports;
|
|
1285
|
-
var sharedKey$2 = sharedKey$3;
|
|
1286
|
-
var hiddenKeys$3 = hiddenKeys$4;
|
|
1287
|
-
|
|
1288
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1289
|
-
var TypeError$1 = global$3.TypeError;
|
|
1290
|
-
var WeakMap = global$3.WeakMap;
|
|
1291
|
-
var set, get, has$6;
|
|
1292
|
-
|
|
1293
|
-
var enforce = function (it) {
|
|
1294
|
-
return has$6(it) ? get(it) : set(it, {});
|
|
1295
|
-
};
|
|
1296
|
-
|
|
1297
|
-
var getterFor = function (TYPE) {
|
|
1298
|
-
return function (it) {
|
|
1299
|
-
var state;
|
|
1300
|
-
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
1301
|
-
throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
1302
|
-
} return state;
|
|
1303
|
-
};
|
|
1304
|
-
};
|
|
1305
|
-
|
|
1306
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1307
|
-
var store = shared.state || (shared.state = new WeakMap());
|
|
1308
|
-
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
1309
|
-
store.get = store.get;
|
|
1310
|
-
store.has = store.has;
|
|
1311
|
-
store.set = store.set;
|
|
1312
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
1313
|
-
set = function (it, metadata) {
|
|
1314
|
-
if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1315
|
-
metadata.facade = it;
|
|
1316
|
-
store.set(it, metadata);
|
|
1317
|
-
return metadata;
|
|
1318
|
-
};
|
|
1319
|
-
get = function (it) {
|
|
1320
|
-
return store.get(it) || {};
|
|
1321
|
-
};
|
|
1322
|
-
has$6 = function (it) {
|
|
1323
|
-
return store.has(it);
|
|
1324
|
-
};
|
|
1325
|
-
} else {
|
|
1326
|
-
var STATE = sharedKey$2('state');
|
|
1327
|
-
hiddenKeys$3[STATE] = true;
|
|
1328
|
-
set = function (it, metadata) {
|
|
1329
|
-
if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
1330
|
-
metadata.facade = it;
|
|
1331
|
-
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
1332
|
-
return metadata;
|
|
1333
|
-
};
|
|
1334
|
-
get = function (it) {
|
|
1335
|
-
return hasOwn$5(it, STATE) ? it[STATE] : {};
|
|
1336
|
-
};
|
|
1337
|
-
has$6 = function (it) {
|
|
1338
|
-
return hasOwn$5(it, STATE);
|
|
1339
|
-
};
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
var internalState = {
|
|
1343
|
-
set: set,
|
|
1344
|
-
get: get,
|
|
1345
|
-
has: has$6,
|
|
1346
|
-
enforce: enforce,
|
|
1347
|
-
getterFor: getterFor
|
|
1348
|
-
};
|
|
1349
|
-
|
|
1350
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
1351
|
-
var fails$6 = fails$d;
|
|
1352
|
-
var isCallable$6 = isCallable$e;
|
|
1353
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
1354
|
-
var DESCRIPTORS$4 = descriptors;
|
|
1355
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
1356
|
-
var inspectSource = inspectSource$1;
|
|
1357
|
-
var InternalStateModule$1 = internalState;
|
|
1358
|
-
|
|
1359
|
-
var enforceInternalState = InternalStateModule$1.enforce;
|
|
1360
|
-
var getInternalState = InternalStateModule$1.get;
|
|
1361
|
-
var $String = String;
|
|
1362
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1363
|
-
var defineProperty$1 = Object.defineProperty;
|
|
1364
|
-
var stringSlice = uncurryThis$7(''.slice);
|
|
1365
|
-
var replace = uncurryThis$7(''.replace);
|
|
1366
|
-
var join = uncurryThis$7([].join);
|
|
1367
|
-
|
|
1368
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$6(function () {
|
|
1369
|
-
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1370
|
-
});
|
|
1371
|
-
|
|
1372
|
-
var TEMPLATE = String(String).split('String');
|
|
1373
|
-
|
|
1374
|
-
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
1375
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
1376
|
-
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
1377
|
-
}
|
|
1378
|
-
if (options && options.getter) name = 'get ' + name;
|
|
1379
|
-
if (options && options.setter) name = 'set ' + name;
|
|
1380
|
-
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1381
|
-
if (DESCRIPTORS$4) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
1382
|
-
else value.name = name;
|
|
1383
|
-
}
|
|
1384
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
1385
|
-
defineProperty$1(value, 'length', { value: options.arity });
|
|
1386
|
-
}
|
|
1387
|
-
try {
|
|
1388
|
-
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
1389
|
-
if (DESCRIPTORS$4) defineProperty$1(value, 'prototype', { writable: false });
|
|
1390
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1391
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
1392
|
-
} catch (error) { /* empty */ }
|
|
1393
|
-
var state = enforceInternalState(value);
|
|
1394
|
-
if (!hasOwn$4(state, 'source')) {
|
|
1395
|
-
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
1396
|
-
} return value;
|
|
1397
|
-
};
|
|
1398
|
-
|
|
1399
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1400
|
-
// eslint-disable-next-line no-extend-native -- required
|
|
1401
|
-
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
1402
|
-
return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
|
|
1403
|
-
}, 'toString');
|
|
1404
|
-
|
|
1405
|
-
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
1406
|
-
|
|
1407
|
-
var isCallable$5 = isCallable$e;
|
|
1408
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
1409
|
-
var makeBuiltIn$1 = makeBuiltInExports;
|
|
1410
|
-
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1411
|
-
|
|
1412
|
-
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
1413
|
-
if (!options) options = {};
|
|
1414
|
-
var simple = options.enumerable;
|
|
1415
|
-
var name = options.name !== undefined ? options.name : key;
|
|
1416
|
-
if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
|
|
1417
|
-
if (options.global) {
|
|
1418
|
-
if (simple) O[key] = value;
|
|
1419
|
-
else defineGlobalProperty$1(key, value);
|
|
1420
|
-
} else {
|
|
1421
|
-
try {
|
|
1422
|
-
if (!options.unsafe) delete O[key];
|
|
1423
|
-
else if (O[key]) simple = true;
|
|
1424
|
-
} catch (error) { /* empty */ }
|
|
1425
|
-
if (simple) O[key] = value;
|
|
1426
|
-
else definePropertyModule$3.f(O, key, {
|
|
1427
|
-
value: value,
|
|
1428
|
-
enumerable: false,
|
|
1429
|
-
configurable: !options.nonConfigurable,
|
|
1430
|
-
writable: !options.nonWritable
|
|
1431
|
-
});
|
|
1432
|
-
} return O;
|
|
1433
|
-
};
|
|
1434
|
-
|
|
1435
|
-
var objectGetOwnPropertyNames = {};
|
|
1436
|
-
|
|
1437
|
-
var ceil = Math.ceil;
|
|
1438
|
-
var floor = Math.floor;
|
|
1439
|
-
|
|
1440
|
-
// `Math.trunc` method
|
|
1441
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
1442
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
1443
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
1444
|
-
var n = +x;
|
|
1445
|
-
return (n > 0 ? floor : ceil)(n);
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
var trunc = mathTrunc;
|
|
1449
|
-
|
|
1450
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
1451
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
1452
|
-
var toIntegerOrInfinity$3 = function (argument) {
|
|
1453
|
-
var number = +argument;
|
|
1454
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1455
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
1456
|
-
};
|
|
1457
|
-
|
|
1458
|
-
var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
|
|
1459
|
-
|
|
1460
|
-
var max$1 = Math.max;
|
|
1461
|
-
var min$1 = Math.min;
|
|
1462
|
-
|
|
1463
|
-
// Helper for a popular repeating case of the spec:
|
|
1464
|
-
// Let integer be ? ToInteger(index).
|
|
1465
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
1466
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
1467
|
-
var integer = toIntegerOrInfinity$2(index);
|
|
1468
|
-
return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
|
|
1469
|
-
};
|
|
1470
|
-
|
|
1471
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
|
|
1472
|
-
|
|
1473
|
-
var min = Math.min;
|
|
1474
|
-
|
|
1475
|
-
// `ToLength` abstract operation
|
|
1476
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
1477
|
-
var toLength$1 = function (argument) {
|
|
1478
|
-
var len = toIntegerOrInfinity$1(argument);
|
|
1479
|
-
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
1480
|
-
};
|
|
1481
|
-
|
|
1482
|
-
var toLength = toLength$1;
|
|
1483
|
-
|
|
1484
|
-
// `LengthOfArrayLike` abstract operation
|
|
1485
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
1486
|
-
var lengthOfArrayLike$3 = function (obj) {
|
|
1487
|
-
return toLength(obj.length);
|
|
1488
|
-
};
|
|
1489
|
-
|
|
1490
|
-
var toIndexedObject$2 = toIndexedObject$4;
|
|
1491
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1492
|
-
var lengthOfArrayLike$2 = lengthOfArrayLike$3;
|
|
1493
|
-
|
|
1494
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1495
|
-
var createMethod = function (IS_INCLUDES) {
|
|
1496
|
-
return function ($this, el, fromIndex) {
|
|
1497
|
-
var O = toIndexedObject$2($this);
|
|
1498
|
-
var length = lengthOfArrayLike$2(O);
|
|
1499
|
-
if (length === 0) return !IS_INCLUDES && -1;
|
|
1500
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
1501
|
-
var value;
|
|
1502
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
1503
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1504
|
-
if (IS_INCLUDES && el !== el) while (length > index) {
|
|
1505
|
-
value = O[index++];
|
|
1506
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1507
|
-
if (value !== value) return true;
|
|
1508
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
1509
|
-
} else for (;length > index; index++) {
|
|
1510
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
1511
|
-
} return !IS_INCLUDES && -1;
|
|
1512
|
-
};
|
|
1513
|
-
};
|
|
1514
|
-
|
|
1515
|
-
var arrayIncludes = {
|
|
1516
|
-
// `Array.prototype.includes` method
|
|
1517
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1518
|
-
includes: createMethod(true),
|
|
1519
|
-
// `Array.prototype.indexOf` method
|
|
1520
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1521
|
-
indexOf: createMethod(false)
|
|
1522
|
-
};
|
|
1523
|
-
|
|
1524
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
1525
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
1526
|
-
var toIndexedObject$1 = toIndexedObject$4;
|
|
1527
|
-
var indexOf = arrayIncludes.indexOf;
|
|
1528
|
-
var hiddenKeys$2 = hiddenKeys$4;
|
|
1529
|
-
|
|
1530
|
-
var push = uncurryThis$6([].push);
|
|
1531
|
-
|
|
1532
|
-
var objectKeysInternal = function (object, names) {
|
|
1533
|
-
var O = toIndexedObject$1(object);
|
|
1534
|
-
var i = 0;
|
|
1535
|
-
var result = [];
|
|
1536
|
-
var key;
|
|
1537
|
-
for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
|
|
1538
|
-
// Don't enum bug & hidden keys
|
|
1539
|
-
while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
|
|
1540
|
-
~indexOf(result, key) || push(result, key);
|
|
1541
|
-
}
|
|
1542
|
-
return result;
|
|
1543
|
-
};
|
|
1544
|
-
|
|
1545
|
-
// IE8- don't enum bug keys
|
|
1546
|
-
var enumBugKeys$3 = [
|
|
1547
|
-
'constructor',
|
|
1548
|
-
'hasOwnProperty',
|
|
1549
|
-
'isPrototypeOf',
|
|
1550
|
-
'propertyIsEnumerable',
|
|
1551
|
-
'toLocaleString',
|
|
1552
|
-
'toString',
|
|
1553
|
-
'valueOf'
|
|
1554
|
-
];
|
|
1555
|
-
|
|
1556
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
1557
|
-
var enumBugKeys$2 = enumBugKeys$3;
|
|
1558
|
-
|
|
1559
|
-
var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
1560
|
-
|
|
1561
|
-
// `Object.getOwnPropertyNames` method
|
|
1562
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1563
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1564
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1565
|
-
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
1566
|
-
};
|
|
1567
|
-
|
|
1568
|
-
var objectGetOwnPropertySymbols = {};
|
|
1569
|
-
|
|
1570
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1571
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1572
|
-
|
|
1573
|
-
var getBuiltIn$2 = getBuiltIn$4;
|
|
1574
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
1575
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1576
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1577
|
-
var anObject$c = anObject$e;
|
|
1578
|
-
|
|
1579
|
-
var concat = uncurryThis$5([].concat);
|
|
1580
|
-
|
|
1581
|
-
// all object keys, includes non-enumerable and symbols
|
|
1582
|
-
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1583
|
-
var keys = getOwnPropertyNamesModule.f(anObject$c(it));
|
|
1584
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1585
|
-
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
1586
|
-
};
|
|
1587
|
-
|
|
1588
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
1589
|
-
var ownKeys = ownKeys$1;
|
|
1590
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1591
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
1592
|
-
|
|
1593
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
1594
|
-
var keys = ownKeys(source);
|
|
1595
|
-
var defineProperty = definePropertyModule$2.f;
|
|
1596
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1597
|
-
for (var i = 0; i < keys.length; i++) {
|
|
1598
|
-
var key = keys[i];
|
|
1599
|
-
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
1600
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
};
|
|
1604
|
-
|
|
1605
|
-
var fails$5 = fails$d;
|
|
1606
|
-
var isCallable$4 = isCallable$e;
|
|
1607
|
-
|
|
1608
|
-
var replacement = /#|\.prototype\./;
|
|
1609
|
-
|
|
1610
|
-
var isForced$1 = function (feature, detection) {
|
|
1611
|
-
var value = data[normalize(feature)];
|
|
1612
|
-
return value === POLYFILL ? true
|
|
1613
|
-
: value === NATIVE ? false
|
|
1614
|
-
: isCallable$4(detection) ? fails$5(detection)
|
|
1615
|
-
: !!detection;
|
|
1616
|
-
};
|
|
1617
|
-
|
|
1618
|
-
var normalize = isForced$1.normalize = function (string) {
|
|
1619
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
1620
|
-
};
|
|
1621
|
-
|
|
1622
|
-
var data = isForced$1.data = {};
|
|
1623
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
|
1624
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
1625
|
-
|
|
1626
|
-
var isForced_1 = isForced$1;
|
|
1627
|
-
|
|
1628
|
-
var global$2 = global$b;
|
|
1629
|
-
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1630
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
1631
|
-
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
1632
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1633
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1634
|
-
var isForced = isForced_1;
|
|
1635
|
-
|
|
1636
|
-
/*
|
|
1637
|
-
options.target - name of the target object
|
|
1638
|
-
options.global - target is the global object
|
|
1639
|
-
options.stat - export as static methods of target
|
|
1640
|
-
options.proto - export as prototype methods of target
|
|
1641
|
-
options.real - real prototype method for the `pure` version
|
|
1642
|
-
options.forced - export even if the native feature is available
|
|
1643
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
1644
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1645
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1646
|
-
options.sham - add a flag to not completely full polyfills
|
|
1647
|
-
options.enumerable - export as enumerable property
|
|
1648
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
1649
|
-
options.name - the .name of the function if it does not match the key
|
|
1650
|
-
*/
|
|
1651
|
-
var _export = function (options, source) {
|
|
1652
|
-
var TARGET = options.target;
|
|
1653
|
-
var GLOBAL = options.global;
|
|
1654
|
-
var STATIC = options.stat;
|
|
1655
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1656
|
-
if (GLOBAL) {
|
|
1657
|
-
target = global$2;
|
|
1658
|
-
} else if (STATIC) {
|
|
1659
|
-
target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1660
|
-
} else {
|
|
1661
|
-
target = global$2[TARGET] && global$2[TARGET].prototype;
|
|
1662
|
-
}
|
|
1663
|
-
if (target) for (key in source) {
|
|
1664
|
-
sourceProperty = source[key];
|
|
1665
|
-
if (options.dontCallGetSet) {
|
|
1666
|
-
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
1667
|
-
targetProperty = descriptor && descriptor.value;
|
|
1668
|
-
} else targetProperty = target[key];
|
|
1669
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1670
|
-
// contained in target
|
|
1671
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
1672
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1673
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1674
|
-
}
|
|
1675
|
-
// add a flag to not completely full polyfills
|
|
1676
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1677
|
-
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
|
1678
|
-
}
|
|
1679
|
-
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1680
|
-
}
|
|
1681
|
-
};
|
|
1682
|
-
|
|
1683
|
-
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1684
|
-
|
|
1685
|
-
var $TypeError$6 = TypeError;
|
|
1686
|
-
|
|
1687
|
-
var anInstance$1 = function (it, Prototype) {
|
|
1688
|
-
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
1689
|
-
throw new $TypeError$6('Incorrect invocation');
|
|
1690
|
-
};
|
|
1691
|
-
|
|
1692
|
-
var fails$4 = fails$d;
|
|
1693
|
-
|
|
1694
|
-
var correctPrototypeGetter = !fails$4(function () {
|
|
1695
|
-
function F() { /* empty */ }
|
|
1696
|
-
F.prototype.constructor = null;
|
|
1697
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1698
|
-
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1699
|
-
});
|
|
1700
|
-
|
|
1701
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
1702
|
-
var isCallable$3 = isCallable$e;
|
|
1703
|
-
var toObject$1 = toObject$3;
|
|
1704
|
-
var sharedKey$1 = sharedKey$3;
|
|
1705
|
-
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1706
|
-
|
|
1707
|
-
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
|
1708
|
-
var $Object$1 = Object;
|
|
1709
|
-
var ObjectPrototype = $Object$1.prototype;
|
|
1710
|
-
|
|
1711
|
-
// `Object.getPrototypeOf` method
|
|
1712
|
-
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1713
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1714
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1715
|
-
var object = toObject$1(O);
|
|
1716
|
-
if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
|
|
1717
|
-
var constructor = object.constructor;
|
|
1718
|
-
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1719
|
-
return constructor.prototype;
|
|
1720
|
-
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1721
|
-
};
|
|
1722
|
-
|
|
1723
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
1724
|
-
var defineProperty = objectDefineProperty;
|
|
1725
|
-
|
|
1726
|
-
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
1727
|
-
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1728
|
-
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1729
|
-
return defineProperty.f(target, name, descriptor);
|
|
1730
|
-
};
|
|
1731
|
-
|
|
1732
|
-
var DESCRIPTORS$3 = descriptors;
|
|
1733
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
1734
|
-
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1735
|
-
|
|
1736
|
-
var createProperty$1 = function (object, key, value) {
|
|
1737
|
-
if (DESCRIPTORS$3) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
|
|
1738
|
-
else object[key] = value;
|
|
1739
|
-
};
|
|
1740
|
-
|
|
1741
|
-
var objectDefineProperties = {};
|
|
1742
|
-
|
|
1743
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1744
|
-
var enumBugKeys$1 = enumBugKeys$3;
|
|
1745
|
-
|
|
1746
|
-
// `Object.keys` method
|
|
1747
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
1748
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1749
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1750
|
-
return internalObjectKeys(O, enumBugKeys$1);
|
|
1751
|
-
};
|
|
1752
|
-
|
|
1753
|
-
var DESCRIPTORS$2 = descriptors;
|
|
1754
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1755
|
-
var definePropertyModule = objectDefineProperty;
|
|
1756
|
-
var anObject$b = anObject$e;
|
|
1757
|
-
var toIndexedObject = toIndexedObject$4;
|
|
1758
|
-
var objectKeys = objectKeys$1;
|
|
1759
|
-
|
|
1760
|
-
// `Object.defineProperties` method
|
|
1761
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1762
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1763
|
-
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1764
|
-
anObject$b(O);
|
|
1765
|
-
var props = toIndexedObject(Properties);
|
|
1766
|
-
var keys = objectKeys(Properties);
|
|
1767
|
-
var length = keys.length;
|
|
1768
|
-
var index = 0;
|
|
1769
|
-
var key;
|
|
1770
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1771
|
-
return O;
|
|
1772
|
-
};
|
|
1773
|
-
|
|
1774
|
-
var getBuiltIn$1 = getBuiltIn$4;
|
|
1775
|
-
|
|
1776
|
-
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1777
|
-
|
|
1778
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
1779
|
-
var anObject$a = anObject$e;
|
|
1780
|
-
var definePropertiesModule = objectDefineProperties;
|
|
1781
|
-
var enumBugKeys = enumBugKeys$3;
|
|
1782
|
-
var hiddenKeys = hiddenKeys$4;
|
|
1783
|
-
var html = html$1;
|
|
1784
|
-
var documentCreateElement = documentCreateElement$1;
|
|
1785
|
-
var sharedKey = sharedKey$3;
|
|
1786
|
-
|
|
1787
|
-
var GT = '>';
|
|
1788
|
-
var LT = '<';
|
|
1789
|
-
var PROTOTYPE = 'prototype';
|
|
1790
|
-
var SCRIPT = 'script';
|
|
1791
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1792
|
-
|
|
1793
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
1794
|
-
|
|
1795
|
-
var scriptTag = function (content) {
|
|
1796
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
1797
|
-
};
|
|
1798
|
-
|
|
1799
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
1800
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
1801
|
-
activeXDocument.write(scriptTag(''));
|
|
1802
|
-
activeXDocument.close();
|
|
1803
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
1804
|
-
activeXDocument = null; // avoid memory leak
|
|
1805
|
-
return temp;
|
|
1806
|
-
};
|
|
1807
|
-
|
|
1808
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1809
|
-
var NullProtoObjectViaIFrame = function () {
|
|
1810
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
1811
|
-
var iframe = documentCreateElement('iframe');
|
|
1812
|
-
var JS = 'java' + SCRIPT + ':';
|
|
1813
|
-
var iframeDocument;
|
|
1814
|
-
iframe.style.display = 'none';
|
|
1815
|
-
html.appendChild(iframe);
|
|
1816
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
1817
|
-
iframe.src = String(JS);
|
|
1818
|
-
iframeDocument = iframe.contentWindow.document;
|
|
1819
|
-
iframeDocument.open();
|
|
1820
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
1821
|
-
iframeDocument.close();
|
|
1822
|
-
return iframeDocument.F;
|
|
1823
|
-
};
|
|
1824
|
-
|
|
1825
|
-
// Check for document.domain and active x support
|
|
1826
|
-
// No need to use active x approach when document.domain is not set
|
|
1827
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
1828
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
1829
|
-
// avoid IE GC bug
|
|
1830
|
-
var activeXDocument;
|
|
1831
|
-
var NullProtoObject = function () {
|
|
1832
|
-
try {
|
|
1833
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
1834
|
-
} catch (error) { /* ignore */ }
|
|
1835
|
-
NullProtoObject = typeof document != 'undefined'
|
|
1836
|
-
? document.domain && activeXDocument
|
|
1837
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
1838
|
-
: NullProtoObjectViaIFrame()
|
|
1839
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
1840
|
-
var length = enumBugKeys.length;
|
|
1841
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
1842
|
-
return NullProtoObject();
|
|
1843
|
-
};
|
|
1844
|
-
|
|
1845
|
-
hiddenKeys[IE_PROTO] = true;
|
|
1846
|
-
|
|
1847
|
-
// `Object.create` method
|
|
1848
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
1849
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
1850
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
1851
|
-
var result;
|
|
1852
|
-
if (O !== null) {
|
|
1853
|
-
EmptyConstructor[PROTOTYPE] = anObject$a(O);
|
|
1854
|
-
result = new EmptyConstructor();
|
|
1855
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
1856
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1857
|
-
result[IE_PROTO] = O;
|
|
1858
|
-
} else result = NullProtoObject();
|
|
1859
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1860
|
-
};
|
|
1861
|
-
|
|
1862
|
-
var fails$3 = fails$d;
|
|
1863
|
-
var isCallable$2 = isCallable$e;
|
|
1864
|
-
var isObject = isObject$6;
|
|
1865
|
-
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1866
|
-
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1867
|
-
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1868
|
-
|
|
1869
|
-
var ITERATOR$3 = wellKnownSymbol$6('iterator');
|
|
1870
|
-
var BUGGY_SAFARI_ITERATORS = false;
|
|
1871
|
-
|
|
1872
|
-
// `%IteratorPrototype%` object
|
|
1873
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1874
|
-
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1875
|
-
|
|
1876
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1877
|
-
if ([].keys) {
|
|
1878
|
-
arrayIterator = [].keys();
|
|
1879
|
-
// Safari 8 has buggy iterators w/o `next`
|
|
1880
|
-
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
|
|
1881
|
-
else {
|
|
1882
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1883
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$3(function () {
|
|
1888
|
-
var test = {};
|
|
1889
|
-
// FF44- legacy iterators case
|
|
1890
|
-
return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
|
|
1891
|
-
});
|
|
1892
|
-
|
|
1893
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1894
|
-
|
|
1895
|
-
// `%IteratorPrototype%[@@iterator]()` method
|
|
1896
|
-
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1897
|
-
if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
|
|
1898
|
-
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
|
|
1899
|
-
return this;
|
|
1900
|
-
});
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
var iteratorsCore = {
|
|
1904
|
-
IteratorPrototype: IteratorPrototype$2,
|
|
1905
|
-
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
1906
|
-
};
|
|
1907
|
-
|
|
1908
|
-
var $$c = _export;
|
|
1909
|
-
var global$1 = global$b;
|
|
1910
|
-
var anInstance = anInstance$1;
|
|
1911
|
-
var anObject$9 = anObject$e;
|
|
1912
|
-
var isCallable$1 = isCallable$e;
|
|
1913
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1914
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
1915
|
-
var createProperty = createProperty$1;
|
|
1916
|
-
var fails$2 = fails$d;
|
|
1917
|
-
var hasOwn = hasOwnProperty_1;
|
|
1918
|
-
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1919
|
-
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1920
|
-
var DESCRIPTORS$1 = descriptors;
|
|
1921
|
-
|
|
1922
|
-
var CONSTRUCTOR = 'constructor';
|
|
1923
|
-
var ITERATOR$2 = 'Iterator';
|
|
1924
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
|
|
1925
|
-
|
|
1926
|
-
var $TypeError$5 = TypeError;
|
|
1927
|
-
var NativeIterator = global$1[ITERATOR$2];
|
|
1928
|
-
|
|
1929
|
-
// FF56- have non-standard global helper `Iterator`
|
|
1930
|
-
var FORCED$1 = !isCallable$1(NativeIterator)
|
|
1931
|
-
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
1932
|
-
// FF44- non-standard `Iterator` passes previous tests
|
|
1933
|
-
|| !fails$2(function () { NativeIterator({}); });
|
|
1934
|
-
|
|
1935
|
-
var IteratorConstructor = function Iterator() {
|
|
1936
|
-
anInstance(this, IteratorPrototype$1);
|
|
1937
|
-
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$5('Abstract class Iterator not directly constructable');
|
|
1938
|
-
};
|
|
1939
|
-
|
|
1940
|
-
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
1941
|
-
if (DESCRIPTORS$1) {
|
|
1942
|
-
defineBuiltInAccessor(IteratorPrototype$1, key, {
|
|
1943
|
-
configurable: true,
|
|
1944
|
-
get: function () {
|
|
1945
|
-
return value;
|
|
1946
|
-
},
|
|
1947
|
-
set: function (replacement) {
|
|
1948
|
-
anObject$9(this);
|
|
1949
|
-
if (this === IteratorPrototype$1) throw new $TypeError$5("You can't redefine this property");
|
|
1950
|
-
if (hasOwn(this, key)) this[key] = replacement;
|
|
1951
|
-
else createProperty(this, key, replacement);
|
|
1952
|
-
}
|
|
1953
|
-
});
|
|
1954
|
-
} else IteratorPrototype$1[key] = value;
|
|
1955
|
-
};
|
|
1956
|
-
|
|
1957
|
-
if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
|
|
1958
|
-
|
|
1959
|
-
if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
1960
|
-
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
1964
|
-
|
|
1965
|
-
// `Iterator` constructor
|
|
1966
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
1967
|
-
$$c({ global: true, constructor: true, forced: FORCED$1 }, {
|
|
1968
|
-
Iterator: IteratorConstructor
|
|
1969
|
-
});
|
|
1970
|
-
|
|
1971
|
-
// `GetIteratorDirect(obj)` abstract operation
|
|
1972
|
-
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
1973
|
-
var getIteratorDirect$5 = function (obj) {
|
|
1974
|
-
return {
|
|
1975
|
-
iterator: obj,
|
|
1976
|
-
next: obj.next,
|
|
1977
|
-
done: false
|
|
1978
|
-
};
|
|
1979
|
-
};
|
|
1980
|
-
|
|
1981
|
-
var defineBuiltIn = defineBuiltIn$3;
|
|
1982
|
-
|
|
1983
|
-
var defineBuiltIns$1 = function (target, src, options) {
|
|
1984
|
-
for (var key in src) defineBuiltIn(target, key, src[key], options);
|
|
1985
|
-
return target;
|
|
1986
|
-
};
|
|
1987
|
-
|
|
1988
|
-
// `CreateIterResultObject` abstract operation
|
|
1989
|
-
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1990
|
-
var createIterResultObject$1 = function (value, done) {
|
|
1991
|
-
return { value: value, done: done };
|
|
1992
|
-
};
|
|
1993
|
-
|
|
1994
|
-
var call$7 = functionCall;
|
|
1995
|
-
var anObject$8 = anObject$e;
|
|
1996
|
-
var getMethod$2 = getMethod$4;
|
|
1997
|
-
|
|
1998
|
-
var iteratorClose$5 = function (iterator, kind, value) {
|
|
1999
|
-
var innerResult, innerError;
|
|
2000
|
-
anObject$8(iterator);
|
|
2001
|
-
try {
|
|
2002
|
-
innerResult = getMethod$2(iterator, 'return');
|
|
2003
|
-
if (!innerResult) {
|
|
2004
|
-
if (kind === 'throw') throw value;
|
|
2005
|
-
return value;
|
|
2006
|
-
}
|
|
2007
|
-
innerResult = call$7(innerResult, iterator);
|
|
2008
|
-
} catch (error) {
|
|
2009
|
-
innerError = true;
|
|
2010
|
-
innerResult = error;
|
|
2011
|
-
}
|
|
2012
|
-
if (kind === 'throw') throw value;
|
|
2013
|
-
if (innerError) throw innerResult;
|
|
2014
|
-
anObject$8(innerResult);
|
|
2015
|
-
return value;
|
|
2016
|
-
};
|
|
2017
|
-
|
|
2018
|
-
var call$6 = functionCall;
|
|
2019
|
-
var create = objectCreate;
|
|
2020
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
2021
|
-
var defineBuiltIns = defineBuiltIns$1;
|
|
2022
|
-
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
2023
|
-
var InternalStateModule = internalState;
|
|
2024
|
-
var getMethod$1 = getMethod$4;
|
|
2025
|
-
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
2026
|
-
var createIterResultObject = createIterResultObject$1;
|
|
2027
|
-
var iteratorClose$4 = iteratorClose$5;
|
|
2028
|
-
|
|
2029
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
|
|
2030
|
-
var ITERATOR_HELPER = 'IteratorHelper';
|
|
2031
|
-
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
2032
|
-
var setInternalState = InternalStateModule.set;
|
|
2033
|
-
|
|
2034
|
-
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
2035
|
-
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2036
|
-
|
|
2037
|
-
return defineBuiltIns(create(IteratorPrototype), {
|
|
2038
|
-
next: function next() {
|
|
2039
|
-
var state = getInternalState(this);
|
|
2040
|
-
// for simplification:
|
|
2041
|
-
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
2042
|
-
// for `%IteratorHelperPrototype%.next` - just a value
|
|
2043
|
-
if (IS_ITERATOR) return state.nextHandler();
|
|
2044
|
-
try {
|
|
2045
|
-
var result = state.done ? undefined : state.nextHandler();
|
|
2046
|
-
return createIterResultObject(result, state.done);
|
|
2047
|
-
} catch (error) {
|
|
2048
|
-
state.done = true;
|
|
2049
|
-
throw error;
|
|
2050
|
-
}
|
|
2051
|
-
},
|
|
2052
|
-
'return': function () {
|
|
2053
|
-
var state = getInternalState(this);
|
|
2054
|
-
var iterator = state.iterator;
|
|
2055
|
-
state.done = true;
|
|
2056
|
-
if (IS_ITERATOR) {
|
|
2057
|
-
var returnMethod = getMethod$1(iterator, 'return');
|
|
2058
|
-
return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2059
|
-
}
|
|
2060
|
-
if (state.inner) try {
|
|
2061
|
-
iteratorClose$4(state.inner.iterator, 'normal');
|
|
2062
|
-
} catch (error) {
|
|
2063
|
-
return iteratorClose$4(iterator, 'throw', error);
|
|
2064
|
-
}
|
|
2065
|
-
iteratorClose$4(iterator, 'normal');
|
|
2066
|
-
return createIterResultObject(undefined, true);
|
|
2067
|
-
}
|
|
2068
|
-
});
|
|
2069
|
-
};
|
|
2070
|
-
|
|
2071
|
-
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
2072
|
-
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
2073
|
-
|
|
2074
|
-
createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG$2, 'Iterator Helper');
|
|
2075
|
-
|
|
2076
|
-
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
2077
|
-
var IteratorProxy = function Iterator(record, state) {
|
|
2078
|
-
if (state) {
|
|
2079
|
-
state.iterator = record.iterator;
|
|
2080
|
-
state.next = record.next;
|
|
2081
|
-
} else state = record;
|
|
2082
|
-
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
2083
|
-
state.nextHandler = nextHandler;
|
|
2084
|
-
state.counter = 0;
|
|
2085
|
-
state.done = false;
|
|
2086
|
-
setInternalState(this, state);
|
|
2087
|
-
};
|
|
2088
|
-
|
|
2089
|
-
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
2090
|
-
|
|
2091
|
-
return IteratorProxy;
|
|
2092
|
-
};
|
|
2093
|
-
|
|
2094
|
-
var anObject$7 = anObject$e;
|
|
2095
|
-
var iteratorClose$3 = iteratorClose$5;
|
|
2096
|
-
|
|
2097
|
-
// call something on iterator step with safe closing on error
|
|
2098
|
-
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
2099
|
-
try {
|
|
2100
|
-
return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
|
|
2101
|
-
} catch (error) {
|
|
2102
|
-
iteratorClose$3(iterator, 'throw', error);
|
|
2103
|
-
}
|
|
2104
|
-
};
|
|
2105
|
-
|
|
2106
|
-
var $$b = _export;
|
|
2107
|
-
var call$5 = functionCall;
|
|
2108
|
-
var aCallable$7 = aCallable$9;
|
|
2109
|
-
var anObject$6 = anObject$e;
|
|
2110
|
-
var getIteratorDirect$4 = getIteratorDirect$5;
|
|
2111
|
-
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
2112
|
-
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
2113
|
-
var IS_PURE$1 = isPure;
|
|
2114
|
-
|
|
2115
|
-
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
2116
|
-
var iterator = this.iterator;
|
|
2117
|
-
var predicate = this.predicate;
|
|
2118
|
-
var next = this.next;
|
|
2119
|
-
var result, done, value;
|
|
2120
|
-
while (true) {
|
|
2121
|
-
result = anObject$6(call$5(next, iterator));
|
|
2122
|
-
done = this.done = !!result.done;
|
|
2123
|
-
if (done) return;
|
|
2124
|
-
value = result.value;
|
|
2125
|
-
if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
|
|
2126
|
-
}
|
|
2127
|
-
});
|
|
2128
|
-
|
|
2129
|
-
// `Iterator.prototype.filter` method
|
|
2130
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
2131
|
-
$$b({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2132
|
-
filter: function filter(predicate) {
|
|
2133
|
-
anObject$6(this);
|
|
2134
|
-
aCallable$7(predicate);
|
|
2135
|
-
return new IteratorProxy$1(getIteratorDirect$4(this), {
|
|
2136
|
-
predicate: predicate
|
|
2137
|
-
});
|
|
2138
|
-
}
|
|
2139
|
-
});
|
|
2140
|
-
|
|
2141
|
-
var call$4 = functionCall;
|
|
2142
|
-
var aCallable$6 = aCallable$9;
|
|
2143
|
-
var anObject$5 = anObject$e;
|
|
2144
|
-
var getIteratorDirect$3 = getIteratorDirect$5;
|
|
2145
|
-
var createIteratorProxy = iteratorCreateProxy;
|
|
2146
|
-
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
2147
|
-
|
|
2148
|
-
var IteratorProxy = createIteratorProxy(function () {
|
|
2149
|
-
var iterator = this.iterator;
|
|
2150
|
-
var result = anObject$5(call$4(this.next, iterator));
|
|
2151
|
-
var done = this.done = !!result.done;
|
|
2152
|
-
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
2153
|
-
});
|
|
2154
|
-
|
|
2155
|
-
// `Iterator.prototype.map` method
|
|
2156
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
2157
|
-
var iteratorMap = function map(mapper) {
|
|
2158
|
-
anObject$5(this);
|
|
2159
|
-
aCallable$6(mapper);
|
|
2160
|
-
return new IteratorProxy(getIteratorDirect$3(this), {
|
|
2161
|
-
mapper: mapper
|
|
2162
|
-
});
|
|
2163
|
-
};
|
|
2164
|
-
|
|
2165
|
-
var $$a = _export;
|
|
2166
|
-
var map = iteratorMap;
|
|
2167
|
-
var IS_PURE = isPure;
|
|
2168
|
-
|
|
2169
|
-
// `Iterator.prototype.map` method
|
|
2170
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
2171
|
-
$$a({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
2172
|
-
map: map
|
|
2173
|
-
});
|
|
2174
|
-
|
|
2175
698
|
/**
|
|
2176
699
|
* Creates an array of new FirestoreDocument instances without creating them in Firestore.
|
|
2177
700
|
*
|
|
@@ -2509,7 +1032,7 @@ function latestDataFromDocuments(documents) {
|
|
|
2509
1032
|
* @returns An operator that transforms arrays of DocumentSnapshots into arrays of document data
|
|
2510
1033
|
*/
|
|
2511
1034
|
function dataFromDocumentSnapshots() {
|
|
2512
|
-
return map
|
|
1035
|
+
return map(x => getDataFromDocumentSnapshots(x));
|
|
2513
1036
|
}
|
|
2514
1037
|
|
|
2515
1038
|
// A set of copied types from @google-cloud/firestore and firebase/firestore to allow cross-compatability.
|
|
@@ -2636,391 +1159,6 @@ function snapshotConverterFunctions(config) {
|
|
|
2636
1159
|
};
|
|
2637
1160
|
}
|
|
2638
1161
|
|
|
2639
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
2640
|
-
|
|
2641
|
-
// eslint-disable-next-line es/no-set -- safe
|
|
2642
|
-
var SetPrototype$1 = Set.prototype;
|
|
2643
|
-
|
|
2644
|
-
var setHelpers = {
|
|
2645
|
-
// eslint-disable-next-line es/no-set -- safe
|
|
2646
|
-
Set: Set,
|
|
2647
|
-
add: uncurryThis$4(SetPrototype$1.add),
|
|
2648
|
-
has: uncurryThis$4(SetPrototype$1.has),
|
|
2649
|
-
remove: uncurryThis$4(SetPrototype$1['delete']),
|
|
2650
|
-
proto: SetPrototype$1
|
|
2651
|
-
};
|
|
2652
|
-
|
|
2653
|
-
var has$5 = setHelpers.has;
|
|
2654
|
-
|
|
2655
|
-
// Perform ? RequireInternalSlot(M, [[SetData]])
|
|
2656
|
-
var aSet$7 = function (it) {
|
|
2657
|
-
has$5(it);
|
|
2658
|
-
return it;
|
|
2659
|
-
};
|
|
2660
|
-
|
|
2661
|
-
var call$3 = functionCall;
|
|
2662
|
-
|
|
2663
|
-
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2664
|
-
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2665
|
-
var next = record.next;
|
|
2666
|
-
var step, result;
|
|
2667
|
-
while (!(step = call$3(next, iterator)).done) {
|
|
2668
|
-
result = fn(step.value);
|
|
2669
|
-
if (result !== undefined) return result;
|
|
2670
|
-
}
|
|
2671
|
-
};
|
|
2672
|
-
|
|
2673
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
2674
|
-
var iterateSimple$6 = iterateSimple$7;
|
|
2675
|
-
var SetHelpers$5 = setHelpers;
|
|
2676
|
-
|
|
2677
|
-
var Set$3 = SetHelpers$5.Set;
|
|
2678
|
-
var SetPrototype = SetHelpers$5.proto;
|
|
2679
|
-
var forEach = uncurryThis$3(SetPrototype.forEach);
|
|
2680
|
-
var keys = uncurryThis$3(SetPrototype.keys);
|
|
2681
|
-
var next = keys(new Set$3()).next;
|
|
2682
|
-
|
|
2683
|
-
var setIterate = function (set, fn, interruptible) {
|
|
2684
|
-
return interruptible ? iterateSimple$6({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
|
|
2685
|
-
};
|
|
2686
|
-
|
|
2687
|
-
var SetHelpers$4 = setHelpers;
|
|
2688
|
-
var iterate$4 = setIterate;
|
|
2689
|
-
|
|
2690
|
-
var Set$2 = SetHelpers$4.Set;
|
|
2691
|
-
var add$3 = SetHelpers$4.add;
|
|
2692
|
-
|
|
2693
|
-
var setClone = function (set) {
|
|
2694
|
-
var result = new Set$2();
|
|
2695
|
-
iterate$4(set, function (it) {
|
|
2696
|
-
add$3(result, it);
|
|
2697
|
-
});
|
|
2698
|
-
return result;
|
|
2699
|
-
};
|
|
2700
|
-
|
|
2701
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
2702
|
-
var aCallable$5 = aCallable$9;
|
|
2703
|
-
|
|
2704
|
-
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2705
|
-
try {
|
|
2706
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2707
|
-
return uncurryThis$2(aCallable$5(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2708
|
-
} catch (error) { /* empty */ }
|
|
2709
|
-
};
|
|
2710
|
-
|
|
2711
|
-
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2712
|
-
var SetHelpers$3 = setHelpers;
|
|
2713
|
-
|
|
2714
|
-
var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function (set) {
|
|
2715
|
-
return set.size;
|
|
2716
|
-
};
|
|
2717
|
-
|
|
2718
|
-
var aCallable$4 = aCallable$9;
|
|
2719
|
-
var anObject$4 = anObject$e;
|
|
2720
|
-
var call$2 = functionCall;
|
|
2721
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2722
|
-
var getIteratorDirect$2 = getIteratorDirect$5;
|
|
2723
|
-
|
|
2724
|
-
var INVALID_SIZE = 'Invalid size';
|
|
2725
|
-
var $RangeError = RangeError;
|
|
2726
|
-
var $TypeError$4 = TypeError;
|
|
2727
|
-
var max = Math.max;
|
|
2728
|
-
|
|
2729
|
-
var SetRecord = function (set, intSize) {
|
|
2730
|
-
this.set = set;
|
|
2731
|
-
this.size = max(intSize, 0);
|
|
2732
|
-
this.has = aCallable$4(set.has);
|
|
2733
|
-
this.keys = aCallable$4(set.keys);
|
|
2734
|
-
};
|
|
2735
|
-
|
|
2736
|
-
SetRecord.prototype = {
|
|
2737
|
-
getIterator: function () {
|
|
2738
|
-
return getIteratorDirect$2(anObject$4(call$2(this.keys, this.set)));
|
|
2739
|
-
},
|
|
2740
|
-
includes: function (it) {
|
|
2741
|
-
return call$2(this.has, this.set, it);
|
|
2742
|
-
}
|
|
2743
|
-
};
|
|
2744
|
-
|
|
2745
|
-
// `GetSetRecord` abstract operation
|
|
2746
|
-
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
|
|
2747
|
-
var getSetRecord$7 = function (obj) {
|
|
2748
|
-
anObject$4(obj);
|
|
2749
|
-
var numSize = +obj.size;
|
|
2750
|
-
// NOTE: If size is undefined, then numSize will be NaN
|
|
2751
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2752
|
-
if (numSize !== numSize) throw new $TypeError$4(INVALID_SIZE);
|
|
2753
|
-
var intSize = toIntegerOrInfinity(numSize);
|
|
2754
|
-
if (intSize < 0) throw new $RangeError(INVALID_SIZE);
|
|
2755
|
-
return new SetRecord(obj, intSize);
|
|
2756
|
-
};
|
|
2757
|
-
|
|
2758
|
-
var aSet$6 = aSet$7;
|
|
2759
|
-
var SetHelpers$2 = setHelpers;
|
|
2760
|
-
var clone$2 = setClone;
|
|
2761
|
-
var size$4 = setSize;
|
|
2762
|
-
var getSetRecord$6 = getSetRecord$7;
|
|
2763
|
-
var iterateSet$2 = setIterate;
|
|
2764
|
-
var iterateSimple$5 = iterateSimple$7;
|
|
2765
|
-
|
|
2766
|
-
var has$4 = SetHelpers$2.has;
|
|
2767
|
-
var remove$1 = SetHelpers$2.remove;
|
|
2768
|
-
|
|
2769
|
-
// `Set.prototype.difference` method
|
|
2770
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2771
|
-
var setDifference = function difference(other) {
|
|
2772
|
-
var O = aSet$6(this);
|
|
2773
|
-
var otherRec = getSetRecord$6(other);
|
|
2774
|
-
var result = clone$2(O);
|
|
2775
|
-
if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
|
|
2776
|
-
if (otherRec.includes(e)) remove$1(result, e);
|
|
2777
|
-
});
|
|
2778
|
-
else iterateSimple$5(otherRec.getIterator(), function (e) {
|
|
2779
|
-
if (has$4(O, e)) remove$1(result, e);
|
|
2780
|
-
});
|
|
2781
|
-
return result;
|
|
2782
|
-
};
|
|
2783
|
-
|
|
2784
|
-
var getBuiltIn = getBuiltIn$4;
|
|
2785
|
-
|
|
2786
|
-
var createSetLike = function (size) {
|
|
2787
|
-
return {
|
|
2788
|
-
size: size,
|
|
2789
|
-
has: function () {
|
|
2790
|
-
return false;
|
|
2791
|
-
},
|
|
2792
|
-
keys: function () {
|
|
2793
|
-
return {
|
|
2794
|
-
next: function () {
|
|
2795
|
-
return { done: true };
|
|
2796
|
-
}
|
|
2797
|
-
};
|
|
2798
|
-
}
|
|
2799
|
-
};
|
|
2800
|
-
};
|
|
2801
|
-
|
|
2802
|
-
var setMethodAcceptSetLike$7 = function (name) {
|
|
2803
|
-
var Set = getBuiltIn('Set');
|
|
2804
|
-
try {
|
|
2805
|
-
new Set()[name](createSetLike(0));
|
|
2806
|
-
try {
|
|
2807
|
-
// late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
|
|
2808
|
-
// https://github.com/tc39/proposal-set-methods/pull/88
|
|
2809
|
-
new Set()[name](createSetLike(-1));
|
|
2810
|
-
return false;
|
|
2811
|
-
} catch (error2) {
|
|
2812
|
-
return true;
|
|
2813
|
-
}
|
|
2814
|
-
} catch (error) {
|
|
2815
|
-
return false;
|
|
2816
|
-
}
|
|
2817
|
-
};
|
|
2818
|
-
|
|
2819
|
-
var $$9 = _export;
|
|
2820
|
-
var difference = setDifference;
|
|
2821
|
-
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
2822
|
-
|
|
2823
|
-
// `Set.prototype.difference` method
|
|
2824
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2825
|
-
$$9({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
|
|
2826
|
-
difference: difference
|
|
2827
|
-
});
|
|
2828
|
-
|
|
2829
|
-
var aSet$5 = aSet$7;
|
|
2830
|
-
var SetHelpers$1 = setHelpers;
|
|
2831
|
-
var size$3 = setSize;
|
|
2832
|
-
var getSetRecord$5 = getSetRecord$7;
|
|
2833
|
-
var iterateSet$1 = setIterate;
|
|
2834
|
-
var iterateSimple$4 = iterateSimple$7;
|
|
2835
|
-
|
|
2836
|
-
var Set$1 = SetHelpers$1.Set;
|
|
2837
|
-
var add$2 = SetHelpers$1.add;
|
|
2838
|
-
var has$3 = SetHelpers$1.has;
|
|
2839
|
-
|
|
2840
|
-
// `Set.prototype.intersection` method
|
|
2841
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2842
|
-
var setIntersection = function intersection(other) {
|
|
2843
|
-
var O = aSet$5(this);
|
|
2844
|
-
var otherRec = getSetRecord$5(other);
|
|
2845
|
-
var result = new Set$1();
|
|
2846
|
-
|
|
2847
|
-
if (size$3(O) > otherRec.size) {
|
|
2848
|
-
iterateSimple$4(otherRec.getIterator(), function (e) {
|
|
2849
|
-
if (has$3(O, e)) add$2(result, e);
|
|
2850
|
-
});
|
|
2851
|
-
} else {
|
|
2852
|
-
iterateSet$1(O, function (e) {
|
|
2853
|
-
if (otherRec.includes(e)) add$2(result, e);
|
|
2854
|
-
});
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
return result;
|
|
2858
|
-
};
|
|
2859
|
-
|
|
2860
|
-
var $$8 = _export;
|
|
2861
|
-
var fails$1 = fails$d;
|
|
2862
|
-
var intersection = setIntersection;
|
|
2863
|
-
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
2864
|
-
|
|
2865
|
-
var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$1(function () {
|
|
2866
|
-
// eslint-disable-next-line es/no-array-from, es/no-set -- testing
|
|
2867
|
-
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
2868
|
-
});
|
|
2869
|
-
|
|
2870
|
-
// `Set.prototype.intersection` method
|
|
2871
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2872
|
-
$$8({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
2873
|
-
intersection: intersection
|
|
2874
|
-
});
|
|
2875
|
-
|
|
2876
|
-
var aSet$4 = aSet$7;
|
|
2877
|
-
var has$2 = setHelpers.has;
|
|
2878
|
-
var size$2 = setSize;
|
|
2879
|
-
var getSetRecord$4 = getSetRecord$7;
|
|
2880
|
-
var iterateSet = setIterate;
|
|
2881
|
-
var iterateSimple$3 = iterateSimple$7;
|
|
2882
|
-
var iteratorClose$2 = iteratorClose$5;
|
|
2883
|
-
|
|
2884
|
-
// `Set.prototype.isDisjointFrom` method
|
|
2885
|
-
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
|
|
2886
|
-
var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
2887
|
-
var O = aSet$4(this);
|
|
2888
|
-
var otherRec = getSetRecord$4(other);
|
|
2889
|
-
if (size$2(O) <= otherRec.size) return iterateSet(O, function (e) {
|
|
2890
|
-
if (otherRec.includes(e)) return false;
|
|
2891
|
-
}, true) !== false;
|
|
2892
|
-
var iterator = otherRec.getIterator();
|
|
2893
|
-
return iterateSimple$3(iterator, function (e) {
|
|
2894
|
-
if (has$2(O, e)) return iteratorClose$2(iterator, 'normal', false);
|
|
2895
|
-
}) !== false;
|
|
2896
|
-
};
|
|
2897
|
-
|
|
2898
|
-
var $$7 = _export;
|
|
2899
|
-
var isDisjointFrom = setIsDisjointFrom;
|
|
2900
|
-
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
2901
|
-
|
|
2902
|
-
// `Set.prototype.isDisjointFrom` method
|
|
2903
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2904
|
-
$$7({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
|
|
2905
|
-
isDisjointFrom: isDisjointFrom
|
|
2906
|
-
});
|
|
2907
|
-
|
|
2908
|
-
var aSet$3 = aSet$7;
|
|
2909
|
-
var size$1 = setSize;
|
|
2910
|
-
var iterate$3 = setIterate;
|
|
2911
|
-
var getSetRecord$3 = getSetRecord$7;
|
|
2912
|
-
|
|
2913
|
-
// `Set.prototype.isSubsetOf` method
|
|
2914
|
-
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
|
|
2915
|
-
var setIsSubsetOf = function isSubsetOf(other) {
|
|
2916
|
-
var O = aSet$3(this);
|
|
2917
|
-
var otherRec = getSetRecord$3(other);
|
|
2918
|
-
if (size$1(O) > otherRec.size) return false;
|
|
2919
|
-
return iterate$3(O, function (e) {
|
|
2920
|
-
if (!otherRec.includes(e)) return false;
|
|
2921
|
-
}, true) !== false;
|
|
2922
|
-
};
|
|
2923
|
-
|
|
2924
|
-
var $$6 = _export;
|
|
2925
|
-
var isSubsetOf = setIsSubsetOf;
|
|
2926
|
-
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
2927
|
-
|
|
2928
|
-
// `Set.prototype.isSubsetOf` method
|
|
2929
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2930
|
-
$$6({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
|
|
2931
|
-
isSubsetOf: isSubsetOf
|
|
2932
|
-
});
|
|
2933
|
-
|
|
2934
|
-
var aSet$2 = aSet$7;
|
|
2935
|
-
var has$1 = setHelpers.has;
|
|
2936
|
-
var size = setSize;
|
|
2937
|
-
var getSetRecord$2 = getSetRecord$7;
|
|
2938
|
-
var iterateSimple$2 = iterateSimple$7;
|
|
2939
|
-
var iteratorClose$1 = iteratorClose$5;
|
|
2940
|
-
|
|
2941
|
-
// `Set.prototype.isSupersetOf` method
|
|
2942
|
-
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
|
|
2943
|
-
var setIsSupersetOf = function isSupersetOf(other) {
|
|
2944
|
-
var O = aSet$2(this);
|
|
2945
|
-
var otherRec = getSetRecord$2(other);
|
|
2946
|
-
if (size(O) < otherRec.size) return false;
|
|
2947
|
-
var iterator = otherRec.getIterator();
|
|
2948
|
-
return iterateSimple$2(iterator, function (e) {
|
|
2949
|
-
if (!has$1(O, e)) return iteratorClose$1(iterator, 'normal', false);
|
|
2950
|
-
}) !== false;
|
|
2951
|
-
};
|
|
2952
|
-
|
|
2953
|
-
var $$5 = _export;
|
|
2954
|
-
var isSupersetOf = setIsSupersetOf;
|
|
2955
|
-
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
2956
|
-
|
|
2957
|
-
// `Set.prototype.isSupersetOf` method
|
|
2958
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2959
|
-
$$5({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
|
|
2960
|
-
isSupersetOf: isSupersetOf
|
|
2961
|
-
});
|
|
2962
|
-
|
|
2963
|
-
var aSet$1 = aSet$7;
|
|
2964
|
-
var SetHelpers = setHelpers;
|
|
2965
|
-
var clone$1 = setClone;
|
|
2966
|
-
var getSetRecord$1 = getSetRecord$7;
|
|
2967
|
-
var iterateSimple$1 = iterateSimple$7;
|
|
2968
|
-
|
|
2969
|
-
var add$1 = SetHelpers.add;
|
|
2970
|
-
var has = SetHelpers.has;
|
|
2971
|
-
var remove = SetHelpers.remove;
|
|
2972
|
-
|
|
2973
|
-
// `Set.prototype.symmetricDifference` method
|
|
2974
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2975
|
-
var setSymmetricDifference = function symmetricDifference(other) {
|
|
2976
|
-
var O = aSet$1(this);
|
|
2977
|
-
var keysIter = getSetRecord$1(other).getIterator();
|
|
2978
|
-
var result = clone$1(O);
|
|
2979
|
-
iterateSimple$1(keysIter, function (e) {
|
|
2980
|
-
if (has(O, e)) remove(result, e);
|
|
2981
|
-
else add$1(result, e);
|
|
2982
|
-
});
|
|
2983
|
-
return result;
|
|
2984
|
-
};
|
|
2985
|
-
|
|
2986
|
-
var $$4 = _export;
|
|
2987
|
-
var symmetricDifference = setSymmetricDifference;
|
|
2988
|
-
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
2989
|
-
|
|
2990
|
-
// `Set.prototype.symmetricDifference` method
|
|
2991
|
-
// https://github.com/tc39/proposal-set-methods
|
|
2992
|
-
$$4({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
|
|
2993
|
-
symmetricDifference: symmetricDifference
|
|
2994
|
-
});
|
|
2995
|
-
|
|
2996
|
-
var aSet = aSet$7;
|
|
2997
|
-
var add = setHelpers.add;
|
|
2998
|
-
var clone = setClone;
|
|
2999
|
-
var getSetRecord = getSetRecord$7;
|
|
3000
|
-
var iterateSimple = iterateSimple$7;
|
|
3001
|
-
|
|
3002
|
-
// `Set.prototype.union` method
|
|
3003
|
-
// https://github.com/tc39/proposal-set-methods
|
|
3004
|
-
var setUnion = function union(other) {
|
|
3005
|
-
var O = aSet(this);
|
|
3006
|
-
var keysIter = getSetRecord(other).getIterator();
|
|
3007
|
-
var result = clone(O);
|
|
3008
|
-
iterateSimple(keysIter, function (it) {
|
|
3009
|
-
add(result, it);
|
|
3010
|
-
});
|
|
3011
|
-
return result;
|
|
3012
|
-
};
|
|
3013
|
-
|
|
3014
|
-
var $$3 = _export;
|
|
3015
|
-
var union = setUnion;
|
|
3016
|
-
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
3017
|
-
|
|
3018
|
-
// `Set.prototype.union` method
|
|
3019
|
-
// https://github.com/tc39/proposal-set-methods
|
|
3020
|
-
$$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
|
|
3021
|
-
union: union
|
|
3022
|
-
});
|
|
3023
|
-
|
|
3024
1162
|
/**
|
|
3025
1163
|
* The default empty value used in Firestore documents.
|
|
3026
1164
|
*
|
|
@@ -3080,12 +1218,11 @@ function optionalFirestoreField(config) {
|
|
|
3080
1218
|
const {
|
|
3081
1219
|
dontStoreDefaultReadValue,
|
|
3082
1220
|
dontStoreValueIf: inputDontStoreValueIf,
|
|
3083
|
-
dontStoreIfValue: inputDontStoreIfValue,
|
|
3084
1221
|
transformData: inputTransformData
|
|
3085
1222
|
} = inputConfig; // might be defined.
|
|
3086
1223
|
const {
|
|
3087
1224
|
defaultReadValue: inputDefaultReadValue,
|
|
3088
|
-
dontStoreIf: inputDontStoreIf
|
|
1225
|
+
dontStoreIf: inputDontStoreIf,
|
|
3089
1226
|
transformFromData,
|
|
3090
1227
|
transformToData
|
|
3091
1228
|
} = inputConfig;
|
|
@@ -4661,285 +2798,6 @@ function whereDateIsBeforeWithSort(fieldPath, date = new Date(), sortDirection)
|
|
|
4661
2798
|
return [orderBy(fieldPath, sortDirection ?? 'desc'), whereDateIsBefore(fieldPath, date)];
|
|
4662
2799
|
}
|
|
4663
2800
|
|
|
4664
|
-
var classof$2 = classofRaw$2;
|
|
4665
|
-
|
|
4666
|
-
// `IsArray` abstract operation
|
|
4667
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
4668
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
4669
|
-
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
4670
|
-
return classof$2(argument) === 'Array';
|
|
4671
|
-
};
|
|
4672
|
-
|
|
4673
|
-
var DESCRIPTORS = descriptors;
|
|
4674
|
-
var isArray = isArray$1;
|
|
4675
|
-
|
|
4676
|
-
var $TypeError$3 = TypeError;
|
|
4677
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
4678
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
4679
|
-
|
|
4680
|
-
// Safari < 13 does not throw an error in this case
|
|
4681
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
|
|
4682
|
-
// makes no sense without proper strict mode support
|
|
4683
|
-
if (this !== undefined) return true;
|
|
4684
|
-
try {
|
|
4685
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
4686
|
-
Object.defineProperty([], 'length', { writable: false }).length = 1;
|
|
4687
|
-
} catch (error) {
|
|
4688
|
-
return error instanceof TypeError;
|
|
4689
|
-
}
|
|
4690
|
-
}();
|
|
4691
|
-
|
|
4692
|
-
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
|
|
4693
|
-
if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
|
|
4694
|
-
throw new $TypeError$3('Cannot set read only .length');
|
|
4695
|
-
} return O.length = length;
|
|
4696
|
-
} : function (O, length) {
|
|
4697
|
-
return O.length = length;
|
|
4698
|
-
};
|
|
4699
|
-
|
|
4700
|
-
var $TypeError$2 = TypeError;
|
|
4701
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
4702
|
-
|
|
4703
|
-
var doesNotExceedSafeInteger$1 = function (it) {
|
|
4704
|
-
if (it > MAX_SAFE_INTEGER) throw $TypeError$2('Maximum allowed index exceeded');
|
|
4705
|
-
return it;
|
|
4706
|
-
};
|
|
4707
|
-
|
|
4708
|
-
var $$2 = _export;
|
|
4709
|
-
var toObject = toObject$3;
|
|
4710
|
-
var lengthOfArrayLike$1 = lengthOfArrayLike$3;
|
|
4711
|
-
var setArrayLength = arraySetLength;
|
|
4712
|
-
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
|
|
4713
|
-
var fails = fails$d;
|
|
4714
|
-
|
|
4715
|
-
var INCORRECT_TO_LENGTH = fails(function () {
|
|
4716
|
-
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
4717
|
-
});
|
|
4718
|
-
|
|
4719
|
-
// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
|
|
4720
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=12681
|
|
4721
|
-
var properErrorOnNonWritableLength = function () {
|
|
4722
|
-
try {
|
|
4723
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
4724
|
-
Object.defineProperty([], 'length', { writable: false }).push();
|
|
4725
|
-
} catch (error) {
|
|
4726
|
-
return error instanceof TypeError;
|
|
4727
|
-
}
|
|
4728
|
-
};
|
|
4729
|
-
|
|
4730
|
-
var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
4731
|
-
|
|
4732
|
-
// `Array.prototype.push` method
|
|
4733
|
-
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
4734
|
-
$$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
4735
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
4736
|
-
push: function push(item) {
|
|
4737
|
-
var O = toObject(this);
|
|
4738
|
-
var len = lengthOfArrayLike$1(O);
|
|
4739
|
-
var argCount = arguments.length;
|
|
4740
|
-
doesNotExceedSafeInteger(len + argCount);
|
|
4741
|
-
for (var i = 0; i < argCount; i++) {
|
|
4742
|
-
O[len] = arguments[i];
|
|
4743
|
-
len++;
|
|
4744
|
-
}
|
|
4745
|
-
setArrayLength(O, len);
|
|
4746
|
-
return len;
|
|
4747
|
-
}
|
|
4748
|
-
});
|
|
4749
|
-
|
|
4750
|
-
var classofRaw$1 = classofRaw$2;
|
|
4751
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
4752
|
-
|
|
4753
|
-
var functionUncurryThisClause = function (fn) {
|
|
4754
|
-
// Nashorn bug:
|
|
4755
|
-
// https://github.com/zloirock/core-js/issues/1128
|
|
4756
|
-
// https://github.com/zloirock/core-js/issues/1130
|
|
4757
|
-
if (classofRaw$1(fn) === 'Function') return uncurryThis$1(fn);
|
|
4758
|
-
};
|
|
4759
|
-
|
|
4760
|
-
var uncurryThis = functionUncurryThisClause;
|
|
4761
|
-
var aCallable$3 = aCallable$9;
|
|
4762
|
-
var NATIVE_BIND = functionBindNative;
|
|
4763
|
-
|
|
4764
|
-
var bind$1 = uncurryThis(uncurryThis.bind);
|
|
4765
|
-
|
|
4766
|
-
// optional / simple context binding
|
|
4767
|
-
var functionBindContext = function (fn, that) {
|
|
4768
|
-
aCallable$3(fn);
|
|
4769
|
-
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
4770
|
-
return fn.apply(that, arguments);
|
|
4771
|
-
};
|
|
4772
|
-
};
|
|
4773
|
-
|
|
4774
|
-
var iterators = {};
|
|
4775
|
-
|
|
4776
|
-
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
4777
|
-
var Iterators$1 = iterators;
|
|
4778
|
-
|
|
4779
|
-
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
4780
|
-
var ArrayPrototype = Array.prototype;
|
|
4781
|
-
|
|
4782
|
-
// check on default Array iterator
|
|
4783
|
-
var isArrayIteratorMethod$1 = function (it) {
|
|
4784
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
4785
|
-
};
|
|
4786
|
-
|
|
4787
|
-
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
4788
|
-
|
|
4789
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
4790
|
-
var test = {};
|
|
4791
|
-
|
|
4792
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
4793
|
-
|
|
4794
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
4795
|
-
|
|
4796
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
4797
|
-
var isCallable = isCallable$e;
|
|
4798
|
-
var classofRaw = classofRaw$2;
|
|
4799
|
-
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
4800
|
-
|
|
4801
|
-
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
4802
|
-
var $Object = Object;
|
|
4803
|
-
|
|
4804
|
-
// ES3 wrong here
|
|
4805
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
4806
|
-
|
|
4807
|
-
// fallback for IE11 Script Access Denied error
|
|
4808
|
-
var tryGet = function (it, key) {
|
|
4809
|
-
try {
|
|
4810
|
-
return it[key];
|
|
4811
|
-
} catch (error) { /* empty */ }
|
|
4812
|
-
};
|
|
4813
|
-
|
|
4814
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
4815
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
4816
|
-
var O, tag, result;
|
|
4817
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
4818
|
-
// @@toStringTag case
|
|
4819
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
4820
|
-
// builtinTag case
|
|
4821
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
4822
|
-
// ES3 arguments fallback
|
|
4823
|
-
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
4824
|
-
};
|
|
4825
|
-
|
|
4826
|
-
var classof = classof$1;
|
|
4827
|
-
var getMethod = getMethod$4;
|
|
4828
|
-
var isNullOrUndefined = isNullOrUndefined$3;
|
|
4829
|
-
var Iterators = iterators;
|
|
4830
|
-
var wellKnownSymbol = wellKnownSymbol$8;
|
|
4831
|
-
|
|
4832
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
4833
|
-
|
|
4834
|
-
var getIteratorMethod$2 = function (it) {
|
|
4835
|
-
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
4836
|
-
|| getMethod(it, '@@iterator')
|
|
4837
|
-
|| Iterators[classof(it)];
|
|
4838
|
-
};
|
|
4839
|
-
|
|
4840
|
-
var call$1 = functionCall;
|
|
4841
|
-
var aCallable$2 = aCallable$9;
|
|
4842
|
-
var anObject$3 = anObject$e;
|
|
4843
|
-
var tryToString$1 = tryToString$3;
|
|
4844
|
-
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
4845
|
-
|
|
4846
|
-
var $TypeError$1 = TypeError;
|
|
4847
|
-
|
|
4848
|
-
var getIterator$1 = function (argument, usingIterator) {
|
|
4849
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
4850
|
-
if (aCallable$2(iteratorMethod)) return anObject$3(call$1(iteratorMethod, argument));
|
|
4851
|
-
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
4852
|
-
};
|
|
4853
|
-
|
|
4854
|
-
var bind = functionBindContext;
|
|
4855
|
-
var call = functionCall;
|
|
4856
|
-
var anObject$2 = anObject$e;
|
|
4857
|
-
var tryToString = tryToString$3;
|
|
4858
|
-
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
4859
|
-
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
4860
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
4861
|
-
var getIterator = getIterator$1;
|
|
4862
|
-
var getIteratorMethod = getIteratorMethod$2;
|
|
4863
|
-
var iteratorClose = iteratorClose$5;
|
|
4864
|
-
|
|
4865
|
-
var $TypeError = TypeError;
|
|
4866
|
-
|
|
4867
|
-
var Result = function (stopped, result) {
|
|
4868
|
-
this.stopped = stopped;
|
|
4869
|
-
this.result = result;
|
|
4870
|
-
};
|
|
4871
|
-
|
|
4872
|
-
var ResultPrototype = Result.prototype;
|
|
4873
|
-
|
|
4874
|
-
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
4875
|
-
var that = options && options.that;
|
|
4876
|
-
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
4877
|
-
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
4878
|
-
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
4879
|
-
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
4880
|
-
var fn = bind(unboundFunction, that);
|
|
4881
|
-
var iterator, iterFn, index, length, result, next, step;
|
|
4882
|
-
|
|
4883
|
-
var stop = function (condition) {
|
|
4884
|
-
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
4885
|
-
return new Result(true, condition);
|
|
4886
|
-
};
|
|
4887
|
-
|
|
4888
|
-
var callFn = function (value) {
|
|
4889
|
-
if (AS_ENTRIES) {
|
|
4890
|
-
anObject$2(value);
|
|
4891
|
-
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
4892
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4893
|
-
};
|
|
4894
|
-
|
|
4895
|
-
if (IS_RECORD) {
|
|
4896
|
-
iterator = iterable.iterator;
|
|
4897
|
-
} else if (IS_ITERATOR) {
|
|
4898
|
-
iterator = iterable;
|
|
4899
|
-
} else {
|
|
4900
|
-
iterFn = getIteratorMethod(iterable);
|
|
4901
|
-
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
4902
|
-
// optimisation for array iterators
|
|
4903
|
-
if (isArrayIteratorMethod(iterFn)) {
|
|
4904
|
-
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
4905
|
-
result = callFn(iterable[index]);
|
|
4906
|
-
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
4907
|
-
} return new Result(false);
|
|
4908
|
-
}
|
|
4909
|
-
iterator = getIterator(iterable, iterFn);
|
|
4910
|
-
}
|
|
4911
|
-
|
|
4912
|
-
next = IS_RECORD ? iterable.next : iterator.next;
|
|
4913
|
-
while (!(step = call(next, iterator)).done) {
|
|
4914
|
-
try {
|
|
4915
|
-
result = callFn(step.value);
|
|
4916
|
-
} catch (error) {
|
|
4917
|
-
iteratorClose(iterator, 'throw', error);
|
|
4918
|
-
}
|
|
4919
|
-
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
4920
|
-
} return new Result(false);
|
|
4921
|
-
};
|
|
4922
|
-
|
|
4923
|
-
var $$1 = _export;
|
|
4924
|
-
var iterate$1 = iterate$2;
|
|
4925
|
-
var aCallable$1 = aCallable$9;
|
|
4926
|
-
var anObject$1 = anObject$e;
|
|
4927
|
-
var getIteratorDirect$1 = getIteratorDirect$5;
|
|
4928
|
-
|
|
4929
|
-
// `Iterator.prototype.forEach` method
|
|
4930
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
4931
|
-
$$1({ target: 'Iterator', proto: true, real: true }, {
|
|
4932
|
-
forEach: function forEach(fn) {
|
|
4933
|
-
anObject$1(this);
|
|
4934
|
-
aCallable$1(fn);
|
|
4935
|
-
var record = getIteratorDirect$1(this);
|
|
4936
|
-
var counter = 0;
|
|
4937
|
-
iterate$1(record, function (value) {
|
|
4938
|
-
fn(value, counter++);
|
|
4939
|
-
}, { IS_RECORD: true });
|
|
4940
|
-
}
|
|
4941
|
-
});
|
|
4942
|
-
|
|
4943
2801
|
/**
|
|
4944
2802
|
* Filters out constraints that should not be directly specified in pagination queries.
|
|
4945
2803
|
*
|
|
@@ -5249,11 +3107,6 @@ function firestoreFixedItemPageIteration(config) {
|
|
|
5249
3107
|
const snapshotIteration = factory.instance(config);
|
|
5250
3108
|
return _firestoreItemPageIterationWithSnapshotIteration(snapshotIteration);
|
|
5251
3109
|
}
|
|
5252
|
-
// MARK: Compat
|
|
5253
|
-
/**
|
|
5254
|
-
* @deprecated Use filterDisallowedFirestoreItemPageIteratorInputConstraints instead. Mispelling.
|
|
5255
|
-
*/
|
|
5256
|
-
const filterDisallowedFirestoreItemPageIteratorInputContraints = filterDisallowedFirestoreItemPageIteratorInputConstraints;
|
|
5257
3110
|
|
|
5258
3111
|
/**
|
|
5259
3112
|
* Creates a factory for building and executing Firestore queries against a specific collection.
|
|
@@ -5871,7 +3724,7 @@ function iterationQueryDocChangeWatcher(config) {
|
|
|
5871
3724
|
return timer(beginCheckingAt).pipe(switchMap(() => stream().pipe(skip(1) // skip the first value, as it should be equivalent to the query results given.
|
|
5872
3725
|
)));
|
|
5873
3726
|
}), shareReplay(1));
|
|
5874
|
-
const event$ = stream$.pipe(map
|
|
3727
|
+
const event$ = stream$.pipe(map(event => {
|
|
5875
3728
|
const changes = event.docChanges();
|
|
5876
3729
|
const results = build({
|
|
5877
3730
|
base: groupValues(changes, x => x.type),
|
|
@@ -5974,8 +3827,8 @@ function firestoreCollectionQueryFactory(queryFactory, accessorContext) {
|
|
|
5974
3827
|
},
|
|
5975
3828
|
getDocs: transaction => baseQuery.getDocs(transaction).then(x => documentLoader(documentReferencesFromSnapshot(x), transaction)),
|
|
5976
3829
|
getDocSnapshotDataPairs: transaction => baseQuery.getDocs(transaction).then(x => documentSnapshotPairsLoader(x.docs, transaction)),
|
|
5977
|
-
streamDocs: () => baseQuery.streamDocs().pipe(map
|
|
5978
|
-
streamDocSnapshotDataPairs: () => baseQuery.streamDocs().pipe(map
|
|
3830
|
+
streamDocs: () => baseQuery.streamDocs().pipe(map(x => documentLoader(documentReferencesFromSnapshot(x)))),
|
|
3831
|
+
streamDocSnapshotDataPairs: () => baseQuery.streamDocs().pipe(map(x => documentSnapshotPairsLoader(x.docs))),
|
|
5979
3832
|
filter: (...queryConstraints) => wrapQuery(baseQuery.filter(...queryConstraints))
|
|
5980
3833
|
};
|
|
5981
3834
|
};
|
|
@@ -6257,7 +4110,6 @@ function firestoreIdentityTypeArrayName(input, separator = FIRESTORE_COLLECTION_
|
|
|
6257
4110
|
function firestoreIdentityTypeArray(input) {
|
|
6258
4111
|
const array = [];
|
|
6259
4112
|
let current = input;
|
|
6260
|
-
// eslint-disable-next-line no-constant-condition
|
|
6261
4113
|
while (true) {
|
|
6262
4114
|
array.push(current.collectionName);
|
|
6263
4115
|
if (current.type === 'nested') {
|
|
@@ -7307,7 +5159,6 @@ function onCallDevelopmentParams(specifier, data) {
|
|
|
7307
5159
|
*/
|
|
7308
5160
|
const RUN_DEV_FUNCTION_APP_FUNCTION_KEY = 'dev';
|
|
7309
5161
|
|
|
7310
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
7311
5162
|
// The use of any here does not degrade the type-safety. The correct type is inferred in most cases.
|
|
7312
5163
|
function developmentFirebaseFunctionMapFactory(configMap) {
|
|
7313
5164
|
return functionsInstance => {
|
|
@@ -8109,7 +5960,7 @@ function iterateStorageListFiles(input) {
|
|
|
8109
5960
|
|
|
8110
5961
|
var makeError = {exports: {}};
|
|
8111
5962
|
|
|
8112
|
-
(function (module, exports) {
|
|
5963
|
+
(function (module, exports$1) {
|
|
8113
5964
|
|
|
8114
5965
|
// ===================================================================
|
|
8115
5966
|
|
|
@@ -8256,8 +6107,8 @@ var makeError = {exports: {}};
|
|
|
8256
6107
|
|
|
8257
6108
|
return constructor;
|
|
8258
6109
|
}
|
|
8259
|
-
exports = module.exports = makeError;
|
|
8260
|
-
exports.BaseError = BaseError;
|
|
6110
|
+
exports$1 = module.exports = makeError;
|
|
6111
|
+
exports$1.BaseError = BaseError;
|
|
8261
6112
|
} (makeError, makeError.exports));
|
|
8262
6113
|
|
|
8263
6114
|
var makeErrorExports = makeError.exports;
|
|
@@ -8431,7 +6282,7 @@ function firebaseStorageClientAccessorFile(storage, storagePath) {
|
|
|
8431
6282
|
return uploadBytes(ref, input, metadataOption);
|
|
8432
6283
|
}
|
|
8433
6284
|
},
|
|
8434
|
-
getBytes: maxDownloadSizeBytes => getBytes(ref, maxDownloadSizeBytes),
|
|
6285
|
+
getBytes: maxDownloadSizeBytes => getBytes(ref, maxDownloadSizeBytes).then(x => new Uint8Array(x)),
|
|
8435
6286
|
getBlob: maxDownloadSizeBytes => getBlob(ref, maxDownloadSizeBytes),
|
|
8436
6287
|
uploadResumable: (input, options) => {
|
|
8437
6288
|
const metadataOption = uploadMetadataFromStorageUploadOptions(options);
|
|
@@ -8458,7 +6309,7 @@ function firebaseStorageClientAccessorFile(storage, storagePath) {
|
|
|
8458
6309
|
error: e => x.error(e),
|
|
8459
6310
|
complete: () => x.complete()
|
|
8460
6311
|
}));
|
|
8461
|
-
const snapshotEvents = internalSnapshotObs.pipe(map
|
|
6312
|
+
const snapshotEvents = internalSnapshotObs.pipe(map(x => wrapSnapshot(x)), shareReplay(1));
|
|
8462
6313
|
return snapshotEvents;
|
|
8463
6314
|
})
|
|
8464
6315
|
};
|
|
@@ -10148,11 +7999,6 @@ function appNotificationTemplateTypeInfoRecordService(appNotificationTemplateTyp
|
|
|
10148
7999
|
};
|
|
10149
8000
|
return service;
|
|
10150
8001
|
}
|
|
10151
|
-
// MARK: Compat
|
|
10152
|
-
/**
|
|
10153
|
-
* @deprecated use notificationTemplateTypeInfoRecord instead.
|
|
10154
|
-
*/
|
|
10155
|
-
const notificationTemplateTypeDetailsRecord = notificationTemplateTypeInfoRecord;
|
|
10156
8002
|
|
|
10157
8003
|
var NotificationMessageFlag;
|
|
10158
8004
|
(function (NotificationMessageFlag) {
|
|
@@ -10374,26 +8220,6 @@ function notificationSubtaskComplete(options) {
|
|
|
10374
8220
|
};
|
|
10375
8221
|
}
|
|
10376
8222
|
|
|
10377
|
-
var $ = _export;
|
|
10378
|
-
var iterate = iterate$2;
|
|
10379
|
-
var aCallable = aCallable$9;
|
|
10380
|
-
var anObject = anObject$e;
|
|
10381
|
-
var getIteratorDirect = getIteratorDirect$5;
|
|
10382
|
-
|
|
10383
|
-
// `Iterator.prototype.some` method
|
|
10384
|
-
// https://github.com/tc39/proposal-iterator-helpers
|
|
10385
|
-
$({ target: 'Iterator', proto: true, real: true }, {
|
|
10386
|
-
some: function some(predicate) {
|
|
10387
|
-
anObject(this);
|
|
10388
|
-
aCallable(predicate);
|
|
10389
|
-
var record = getIteratorDirect(this);
|
|
10390
|
-
var counter = 0;
|
|
10391
|
-
return iterate(record, function (value, stop) {
|
|
10392
|
-
if (predicate(value, counter++)) return stop();
|
|
10393
|
-
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
10394
|
-
}
|
|
10395
|
-
});
|
|
10396
|
-
|
|
10397
8223
|
function effectiveNotificationBoxRecipientConfig(input) {
|
|
10398
8224
|
const {
|
|
10399
8225
|
uid,
|
|
@@ -11369,14 +9195,6 @@ function storageFileProcessingNotificationTaskTemplate(input) {
|
|
|
11369
9195
|
}
|
|
11370
9196
|
// MARK: All Tasks
|
|
11371
9197
|
const ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES = [STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE];
|
|
11372
|
-
/**
|
|
11373
|
-
* @deprecated Use NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING instead.
|
|
11374
|
-
*/
|
|
11375
|
-
const STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_PROCESSING = NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING;
|
|
11376
|
-
/**
|
|
11377
|
-
* @deprecated Use NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP instead.
|
|
11378
|
-
*/
|
|
11379
|
-
const STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_CLEANUP = NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP;
|
|
11380
9198
|
|
|
11381
9199
|
/**
|
|
11382
9200
|
* Creates a new GrantStorageFileRolesForUserAuthFunction given the input config/context.
|
|
@@ -11882,4 +9700,4 @@ function systemStateFirestoreCollection(firestoreContext, converters) {
|
|
|
11882
9700
|
});
|
|
11883
9701
|
}
|
|
11884
9702
|
|
|
11885
|
-
export { ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AbstractSubscribeOrUnsubscribeToNotificationBoxParams, AbstractSubscribeToNotificationBoxParams, AppNotificationTemplateTypeInfoRecordService, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CleanupSentNotificationsParams, ContextGrantedModelRolesReaderInstance, CreateNotificationBoxParams, CreateNotificationSummaryParams, CreateNotificationUserParams, CreateStorageFileGroupParams, CreateStorageFileParams, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DeleteAllQueuedStorageFilesParams, DeleteStorageFileParams, DownloadStorageFileParams, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, InferredTargetModelIdParams, InferredTargetModelParams, InitializeAllApplicableNotificationBoxesParams, InitializeAllApplicableNotificationSummariesParams, InitializeAllApplicableStorageFileGroupsParams, InitializeAllStorageFilesFromUploadsParams, InitializeNotificationModelParams, InitializeStorageFileFromUploadParams, InitializeStorageFileModelParams, IsFirestoreModelId, IsFirestoreModelIdOrKey, IsFirestoreModelKey, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigArrayEntryParam, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientParams, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, ProcessAllQueuedStorageFilesParams, ProcessStorageFileParams, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, RegenerateAllFlaggedStorageFileGroupsContentParams, RegenerateStorageFileGroupContentParams, ResyncAllNotificationUserParams, ResyncNotificationUserParams, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_CLEANUP, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_CHECKPOINT_PROCESSING, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFirebaseFunctionParams, ScheduledFunctionDevelopmentFunctionTypeEnum, SendNotificationParams, SendQueuedNotificationsParams, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SyncAllFlaggedStorageFilesWithGroupsParams, SyncStorageFileWithGroupsParams, SystemStateDocument, SystemStateFirestoreCollections, TargetModelIdParams, TargetModelParams, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, UpdateNotificationBoxParams, UpdateNotificationBoxRecipientLikeParams, UpdateNotificationBoxRecipientParams, UpdateNotificationSummaryParams, UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams, UpdateNotificationUserNotificationBoxRecipientParams, UpdateNotificationUserParams, UpdateStorageFileGroupEntryParams, UpdateStorageFileGroupParams, UpdateStorageFileParams, _createNotificationDocumentFromPair, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationTaskTemplate, createNotificationTemplate, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterDisallowedFirestoreItemPageIteratorInputContraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdString, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeDetailsRecord, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, replaceConstraints, selectFromFirebaseModelsService, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamFromOnSnapshot, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationSendExclusions, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
|
|
9703
|
+
export { ALL_STORAGE_FILE_NOTIFICATION_TASK_TYPES, ALL_USER_UPLOADS_FOLDER_NAME, ALL_USER_UPLOADS_FOLDER_PATH, AbstractFirestoreDocument, AbstractFirestoreDocumentDataAccessorWrapper, AbstractFirestoreDocumentWithParent, AbstractSubscribeOrUnsubscribeToNotificationBoxParams, AbstractSubscribeToNotificationBoxParams, AppNotificationTemplateTypeInfoRecordService, BASE_MODEL_STORAGE_FILE_PATH, CALL_MODEL_APP_FUNCTION_KEY, COPY_USER_RELATED_DATA_ACCESSOR_FACTORY_FUNCTION, CREATE_NOTIFICATION_ID_REQUIRED_ERROR_CODE, CleanupSentNotificationsParams, ContextGrantedModelRolesReaderInstance, CreateNotificationBoxParams, CreateNotificationSummaryParams, CreateNotificationUserParams, CreateStorageFileGroupParams, CreateStorageFileParams, DBX_FIREBASE_SERVER_NO_AUTH_ERROR_CODE, DBX_FIREBASE_SERVER_NO_UID_ERROR_CODE, DEFAULT_DATE_CELL_RANGE_VALUE, DEFAULT_FIRESTORE_DATE_CELL_SCHEDULE_VALUE, DEFAULT_FIRESTORE_ITEM_PAGE_ITERATOR_ITEMS_PER_PAGE, DEFAULT_FIRESTORE_STRING_FIELD_VALUE, DEFAULT_FIRESTORE_UNITED_STATES_ADDRESS_VALUE, DEFAULT_FIRESTORE_WEBSITE_FILE_LINK_VALUE, DEFAULT_ITERATE_FIRESTORE_DOCUMENT_SNAPSHOT_BATCHES_BATCH_SIZE, DEFAULT_NOTIFICATION_TASK_NOTIFICATION_MODEL_KEY, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_ATTEMPTS, DEFAULT_NOTIFICATION_TASK_SUBTASK_CLEANUP_RETRY_DELAY, DEFAULT_NOTIFICATION_TEMPLATE_TYPE, DEFAULT_QUERY_CHANGE_WATCHER_DELAY, DEFAULT_SINGLE_ITEM_FIRESTORE_COLLECTION_DOCUMENT_IDENTIFIER, DEFAULT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, DEFAULT_WEBSITE_LINK, DeleteAllQueuedStorageFilesParams, DeleteStorageFileParams, DownloadStorageFileParams, EMPTY_STORAGE_FILE_PURPOSE_SUBGROUP, EXACT_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, FIREBASE_AUTH_NETWORK_REQUEST_ERROR, FIREBASE_AUTH_NETWORK_REQUEST_FAILED, FIREBASE_AUTH_PASSWORD_MAX_LENGTH, FIREBASE_AUTH_PASSWORD_MIN_LENGTH, FIREBASE_AUTH_USER_NOT_FOUND_ERROR, FIREBASE_AUTH_WRONG_PASSWORD, FIREBASE_DEVELOPMENT_FUNCTIONS_MAP_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_RESET_PASSWORD_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_LAST_COM_DATE_KEY, FIREBASE_SERVER_AUTH_CLAIMS_SETUP_PASSWORD_KEY, FIRESTORE_CLIENT_QUERY_CONSTRAINT_HANDLER_MAPPING, FIRESTORE_COLLECTION_NAME_SEPARATOR, FIRESTORE_DUMMY_MODEL_KEY, FIRESTORE_EMPTY_VALUE, FIRESTORE_END_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_END_BEFORE_QUERY_CONSTRAINT_TYPE, FIRESTORE_ITEM_PAGE_ITERATOR, FIRESTORE_ITEM_PAGE_ITERATOR_DELEGATE, FIRESTORE_LIMIT_QUERY_CONSTRAINT_TYPE, FIRESTORE_LIMIT_TO_LAST_QUERY_CONSTRAINT_TYPE, FIRESTORE_MAX_WHERE_IN_FILTER_ARGS_COUNT, FIRESTORE_MODEL_ID_REGEX, FIRESTORE_MODEL_KEY_REGEX, FIRESTORE_MODEL_KEY_REGEX_STRICT, FIRESTORE_OFFSET_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_ORDER_BY_QUERY_CONSTRAINT_TYPE, FIRESTORE_PASSTHROUGH_FIELD, FIRESTORE_PERMISSION_DENIED_ERROR_CODE, FIRESTORE_START_AFTER_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_QUERY_CONSTRAINT_TYPE, FIRESTORE_START_AT_VALUE_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_DOCUMENT_ID_QUERY_CONSTRAINT_TYPE, FIRESTORE_WHERE_QUERY_CONSTRAINT_TYPE, FirebaseDevelopmentFunctions, FirebaseModelPermissionServiceInstance, FirebaseServerError, FirestoreAccessorStreamMode, FirestoreDocumentContextType, HIGH_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, InferredTargetModelIdParams, InferredTargetModelParams, InitializeAllApplicableNotificationBoxesParams, InitializeAllApplicableNotificationSummariesParams, InitializeAllApplicableStorageFileGroupsParams, InitializeAllStorageFilesFromUploadsParams, InitializeNotificationModelParams, InitializeStorageFileFromUploadParams, InitializeStorageFileModelParams, IsFirestoreModelId, IsFirestoreModelIdOrKey, IsFirestoreModelKey, LOW_UPLOADED_FILE_TYPE_DETERMINATION_LEVEL, MAX_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MIN_FIRESTORE_MAP_ZOOM_LEVEL_VALUE, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_DEFAULT, MODEL_FUNCTION_FIREBASE_CRUD_FUNCTION_SPECIFIER_SPLITTER, MODEL_STORAGE_FILE_SLASH_PATH_FACTORY, ModifyBeforeSetFirestoreDocumentDataAccessorWrapper, NOTIFICATION_BOX_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_BOX_EXCLUSION_TARGET_INVALID_ERROR_CODE, NOTIFICATION_BOX_EXISTS_FOR_MODEL_ERROR_CODE, NOTIFICATION_BOX_RECIPIENT_DOES_NOT_EXIST_ERROR_CODE, NOTIFICATION_MESSAGE_MAX_LENGTH, NOTIFICATION_MESSAGE_MIN_LENGTH, NOTIFICATION_MODEL_ALREADY_INITIALIZED_ERROR_CODE, NOTIFICATION_RECIPIENT_NAME_MAX_LENGTH, NOTIFICATION_RECIPIENT_NAME_MIN_LENGTH, NOTIFICATION_SUBJECT_MAX_LENGTH, NOTIFICATION_SUBJECT_MIN_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_MESSAGE_MAX_LENGTH, NOTIFICATION_SUMMARY_EMBEDDED_NOTIFICATION_ITEM_SUBJECT_MAX_LENGTH, NOTIFICATION_SUMMARY_ITEM_LIMIT, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_CLEANUP, NOTIFICATION_TASK_SUBTASK_CHECKPOINT_PROCESSING, NOTIFICATION_USER_BLOCKED_FROM_BEING_ADD_TO_RECIPIENTS_ERROR_CODE, NOTIFICATION_USER_INVALID_UID_FOR_CREATE_ERROR_CODE, NOTIFICATION_USER_LOCKED_CONFIG_FROM_BEING_UPDATED_ERROR_CODE, NOTIFICATION_WEEK_NOTIFICATION_ITEM_LIMIT, NotificationBoxDocument, NotificationBoxRecipientFlag, NotificationBoxRecipientTemplateConfigArrayEntryParam, NotificationBoxRecipientTemplateConfigBoolean, NotificationDocument, NotificationFirestoreCollections, NotificationFunctions, NotificationMessageFlag, NotificationRecipientParams, NotificationRecipientSendFlag, NotificationSendState, NotificationSendType, NotificationSummaryDocument, NotificationUserDocument, NotificationWeekDocument, ProcessAllQueuedStorageFilesParams, ProcessStorageFileParams, RUN_DEV_FUNCTION_APP_FUNCTION_KEY, RegenerateAllFlaggedStorageFileGroupsContentParams, RegenerateStorageFileGroupContentParams, ResyncAllNotificationUserParams, ResyncNotificationUserParams, SCHEDULED_FUNCTION_DEV_FUNCTION_SPECIFIER, STORAGEFILE_RELATED_FILE_METADATA_KEY, STORAGE_FILE_ALREADY_PROCESSED_ERROR_CODE, STORAGE_FILE_CANNOT_BE_DELETED_YET_ERROR_CODE, STORAGE_FILE_GROUP_CREATE_INPUT_ERROR_CODE, STORAGE_FILE_GROUP_QUEUED_FOR_INITIALIZATION_ERROR_CODE, STORAGE_FILE_GROUP_ROOT_FOLDER_PATH, STORAGE_FILE_GROUP_ZIP_FILE_PATH, STORAGE_FILE_GROUP_ZIP_INFO_JSON_FILE_NAME, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE, STORAGE_FILE_GROUP_ZIP_STORAGE_FILE_PURPOSE_CREATE_ZIP_SUBTASK, STORAGE_FILE_MODEL_ALREADY_INITIALIZED_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_DELETION_ERROR_CODE, STORAGE_FILE_NOT_FLAGGED_FOR_GROUPS_SYNC_ERROR_CODE, STORAGE_FILE_PROCESSING_NOTIFICATION_TASK_TYPE, STORAGE_FILE_PROCESSING_NOT_ALLOWED_FOR_INVALID_STATE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_AVAILABLE_FOR_TYPE_ERROR_CODE, STORAGE_FILE_PROCESSING_NOT_QUEUED_FOR_PROCESSING_ERROR_CODE, STORAGE_FILE_PROCESSING_STUCK_THROTTLE_CHECK_MS, STORAGE_FILE_UPLOAD_USER_ROLE, ScheduledFunctionDevelopmentFirebaseFunctionListEntry, ScheduledFunctionDevelopmentFirebaseFunctionParams, ScheduledFunctionDevelopmentFunctionTypeEnum, SendNotificationParams, SendQueuedNotificationsParams, StorageFileCreationType, StorageFileDocument, StorageFileFirestoreCollections, StorageFileFunctions, StorageFileGroupDocument, StorageFileProcessingState, StorageFileState, StorageFileUploadStreamUnsupportedError, SyncAllFlaggedStorageFilesWithGroupsParams, SyncStorageFileWithGroupsParams, SystemStateDocument, SystemStateFirestoreCollections, TargetModelIdParams, TargetModelParams, UPLOADED_FILE_DOES_NOT_EXIST_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_DISCARDED_ERROR_CODE, UPLOADED_FILE_INITIALIZATION_FAILED_ERROR_CODE, UPLOADED_FILE_NOT_ALLOWED_TO_BE_INITIALIZED_ERROR_CODE, UPLOADS_FOLDER_PATH, UpdateNotificationBoxParams, UpdateNotificationBoxRecipientLikeParams, UpdateNotificationBoxRecipientParams, UpdateNotificationSummaryParams, UpdateNotificationUserDefaultNotificationBoxRecipientConfigParams, UpdateNotificationUserNotificationBoxRecipientParams, UpdateNotificationUserParams, UpdateStorageFileGroupEntryParams, UpdateStorageFileGroupParams, UpdateStorageFileParams, _createNotificationDocumentFromPair, addConstraintToBuilder, addOrReplaceLimitInConstraints, allChildDocumentsUnderParent, allChildDocumentsUnderParentPath, allChildDocumentsUnderRelativePath, allowDocumentSnapshotWithPathOnceFilter, allowedNotificationRecipients, appNotificationTemplateTypeInfoRecordService, applyExclusionsToNotificationUserNotificationBoxRecipientConfigs, arrayUpdateWithAccessorFunction, asTopLevelFieldPath, asTopLevelFieldPaths, assertFirestoreUpdateHasData, assertStorageUploadOptionsStringFormat, assignDateCellRangeFunction, assignDateCellScheduleFunction, assignUnitedStatesAddressFunction, assignWebsiteFileLinkFunction, assignWebsiteLinkFunction, buildFirebaseCollectionTypeModelTypeMap, calculateNsForNotificationUserNotificationBoxRecipientConfigs, calculateStorageFileGroupEmbeddedFileUpdate, calculateStorageFileGroupRegeneration, callModelFirebaseFunctionMapFactory, canQueueStorageFileForProcessing, childFirestoreModelKey, childFirestoreModelKeyPath, childFirestoreModelKeys, clientFirebaseFirestoreContextFactory, clientFirebaseStorageContextFactory, combineUploadFileTypeDeterminers, completeSubtaskProcessingAndScheduleCleanupTaskResult, contextGrantedModelRolesReader, contextGrantedModelRolesReaderDoesNotExistErrorMessage, contextGrantedModelRolesReaderPermissionErrorMessage, convertHttpsCallableErrorToReadableError, copyDocumentIdForUserRelatedModifierFunction, copyDocumentIdToFieldModifierFunction, copyStoragePath, copyUserRelatedDataAccessorFactoryFunction, copyUserRelatedDataModifierConfig, createNotificationDocument, createNotificationDocumentIfSending, createNotificationDocumentPair, createNotificationTaskTemplate, createNotificationTemplate, createStorageFileDocumentPair, createStorageFileDocumentPairFactory, dataFromDocumentSnapshots, dataFromSnapshotStream, delayCompletion, determineByFileName, determineByFilePath, determineByFolderName, determineUserByFolder, determineUserByFolderWrapperFunction, determineUserByUserUploadsFolderWrapperFunction, developmentFirebaseFunctionMapFactory, directDataHttpsCallable, documentData, documentDataFunction, documentDataWithIdAndKey, documentReferenceFromDocument, documentReferencesFromDocuments, documentReferencesFromSnapshot, effectiveNotificationBoxRecipientConfig, effectiveNotificationBoxRecipientTemplateConfig, endAt, endAtValue, endBefore, extendFirestoreCollectionWithSingleDocumentAccessor, filterConstraintsOfType, filterDisallowedFirestoreItemPageIteratorInputConstraints, filterRepeatCheckpointSnapshots, filterWithDateRange, firebaseAuthErrorToReadableError, firebaseFirestoreClientDrivers, firebaseFirestoreQueryConstraintFunctionsDriver, firebaseFirestoreQueryDriver, firebaseFunctionMapFactory, firebaseModelLoader, firebaseModelPermissionService, firebaseModelService, firebaseModelServiceFactory, firebaseModelsService, firebaseQueryItemAccumulator, firebaseQuerySnapshotAccumulator, firebaseStorageBucketFolderPath, firebaseStorageClientAccessorDriver, firebaseStorageClientAccessorFile, firebaseStorageClientAccessorFolder, firebaseStorageClientDrivers, firebaseStorageClientListFilesResultFactory, firebaseStorageContextFactory, firebaseStorageFileExists, firebaseStorageFilePathFromStorageFilePath, firebaseStorageRefForStorageFilePath, firestoreArray, firestoreArrayMap, firestoreBitwiseObjectMap, firestoreBitwiseSet, firestoreBitwiseSetMap, firestoreBoolean, firestoreClientAccessorDriver, firestoreClientArrayUpdateToUpdateData, firestoreClientIncrementUpdateToUpdateData, firestoreCollectionQueryFactory, firestoreContextFactory, firestoreDate, firestoreDateCellRange, firestoreDateCellRangeArray, firestoreDateCellRangeAssignFn, firestoreDateCellSchedule, firestoreDateCellScheduleAssignFn, firestoreDateNumber, firestoreDencoderArray, firestoreDencoderMap, firestoreDencoderStringArray, firestoreDocumentAccessorContextExtension, firestoreDocumentAccessorFactory, firestoreDocumentLoader, firestoreDocumentSnapshotPairsLoader, firestoreDocumentSnapshotPairsLoaderInstance, firestoreDummyKey, firestoreEncodedArray, firestoreEncodedObjectMap, firestoreEnum, firestoreEnumArray, firestoreField, firestoreFieldConfigToModelMapFunctionsRef, firestoreFixedItemPageIteration, firestoreFixedItemPageIterationFactory, firestoreIdBatchVerifierFactory, firestoreIdentityTypeArray, firestoreIdentityTypeArrayName, firestoreItemPageIteration, firestoreItemPageIterationFactory, firestoreLatLngString, firestoreMap, firestoreMapZoomLevel, firestoreModelId, firestoreModelIdArrayField, firestoreModelIdFromDocument, firestoreModelIdFromEmail, firestoreModelIdGrantedRoleArrayMap, firestoreModelIdGrantedRoleMap, firestoreModelIdString, firestoreModelIdentity, firestoreModelIdentityTypeMap, firestoreModelIdsFromDocuments, firestoreModelIdsFromKey, firestoreModelKey, firestoreModelKeyArrayField, firestoreModelKeyCollectionName, firestoreModelKeyCollectionType, firestoreModelKeyCollectionTypeArray, firestoreModelKeyCollectionTypeArrayName, firestoreModelKeyCollectionTypePair, firestoreModelKeyEncodedGrantedRoleMap, firestoreModelKeyFactory, firestoreModelKeyFromDocument, firestoreModelKeyGrantedRoleArrayMap, firestoreModelKeyGrantedRoleMap, firestoreModelKeyPairObject, firestoreModelKeyParentKey, firestoreModelKeyParentKeyPartPairs, firestoreModelKeyPart, firestoreModelKeyPartPairs, firestoreModelKeyPartPairsKeyPath, firestoreModelKeyPartPairsPaths, firestoreModelKeyPath, firestoreModelKeyString, firestoreModelKeyTypePair, firestoreModelKeys, firestoreModelKeysFromDocuments, firestoreModelType, firestoreNotificationBoxRecipient, firestoreNotificationBoxRecipientTemplateConfigRecord, firestoreNotificationItem, firestoreNotificationRecipientWithConfig, firestoreNotificationUserDefaultNotificationBoxRecipientConfig, firestoreNotificationUserNotificationBoxRecipientConfig, firestoreNumber, firestoreObjectArray, firestorePassThroughField, firestoreQueryConstraint, firestoreQueryConstraintFactory, firestoreQueryDocumentSnapshotPairsLoader, firestoreQueryFactory, firestoreSingleDocumentAccessor, firestoreString, firestoreSubObject, firestoreTimezoneString, firestoreUID, firestoreUniqueArray, firestoreUniqueKeyedArray, firestoreUniqueNumberArray, firestoreUniqueStringArray, firestoreUnitedStatesAddress, firestoreUnitedStatesAddressAssignFn, firestoreUnixDateTimeSecondsNumber, firestoreUpdateWithNoDataError, firestoreWebsiteFileLink, firestoreWebsiteFileLinkAssignFn, firestoreWebsiteFileLinkEncodedArray, firestoreWebsiteFileLinkObjectArray, firestoreWebsiteLink, firestoreWebsiteLinkArray, firestoreWebsiteLinkAssignFn, flatFirestoreModelKey, getDataFromDocumentSnapshots, getDocumentSnapshotData, getDocumentSnapshotDataPair, getDocumentSnapshotDataPairs, getDocumentSnapshotDataPairsWithData, getDocumentSnapshotDataTuples, getDocumentSnapshotPair, getDocumentSnapshotPairs, getDocumentSnapshots, getDocumentSnapshotsData, grantFullAccessIfAdmin, grantFullAccessIfAuthUserRelated, grantModelRolesIfAdmin, grantModelRolesIfAdminFunction, grantModelRolesIfAuthUserRelatedModelFunction, grantModelRolesIfFunction, grantModelRolesIfHasAuthRolesFactory, grantModelRolesIfHasAuthRolesFunction, grantModelRolesOnlyIfFunction, grantStorageFileRolesForUserAuthFunction, inContextFirebaseModelServiceFactory, inContextFirebaseModelsServiceFactory, incrementUpdateWithAccessorFunction, inferKeyFromTwoWayFlatFirestoreModelKey, inferNotificationBoxRelatedModelKey, inferStorageFileGroupRelatedModelKey, interceptAccessorFactoryFunction, isAdminInFirebaseModelContext, isClientFirebaseError, isCompleteNotificationSendState, isFirebaseStorageObjectNotFoundError, isFirestoreModelId, isFirestoreModelIdOrKey, isFirestoreModelKey, isOwnerOfUserRelatedModelInFirebaseModelContext, iterateFirestoreDocumentSnapshotBatches, iterateFirestoreDocumentSnapshotCheckpoints, iterateFirestoreDocumentSnapshotPairBatches, iterateFirestoreDocumentSnapshotPairs, iterateFirestoreDocumentSnapshots, iterateStorageListFiles, iterateStorageListFilesByEachFile, iterateStorageListFilesFactory, iterationQueryDocChangeWatcher, iterationQueryDocChangeWatcherChangeTypeForGroup, latestDataFromDocuments, latestSnapshotsFromDocuments, lazyFirebaseFunctionsFactory, limit, limitToLast, limitUploadFileTypeDeterminer, limitedFirestoreDocumentAccessorFactory, loadAllFirestoreDocumentSnapshot, loadAllFirestoreDocumentSnapshotPairs, loadDocumentsForDocumentReferences, loadDocumentsForDocumentReferencesFromValues, loadDocumentsForIds, loadDocumentsForIdsFromValues, loadDocumentsForKeys, loadDocumentsForKeysFromValues, loadDocumentsForSnapshots, loadDocumentsForValues, loadNotificationBoxDocumentForReferencePair, loadStorageFileGroupDocumentForReferencePair, makeDocuments, makeFirestoreCollection, makeFirestoreCollectionGroup, makeFirestoreCollectionWithParent, makeFirestoreItemPageIteratorDelegate, makeFirestoreQueryConstraintFunctionsDriver, makeRootSingleItemFirestoreCollection, makeSingleItemFirestoreCollection, mapDataFromSnapshot, mapHttpsCallable, mergeNotificationBoxRecipientTemplateConfigRecords, mergeNotificationBoxRecipientTemplateConfigs, mergeNotificationBoxRecipients, mergeNotificationSendMessagesResult, mergeNotificationUserDefaultNotificationBoxRecipientConfig, mergeNotificationUserNotificationBoxRecipientConfigs, modelStorageSlashPathFactory, modifyBeforeSetInterceptAccessorFactoryFunction, newDocuments, newNotificationBoxRecipientForUid, noContentNotificationMessageFunctionFactory, noStringFormatInStorageUploadOptionsError, notificationBoxCollectionReference, notificationBoxConverter, notificationBoxFirestoreCollection, notificationBoxIdForModel, notificationBoxIdentity, notificationBoxModelCrudFunctionsConfig, notificationBoxRecipientTemplateConfigArrayToRecord, notificationBoxRecipientTemplateConfigRecordToArray, notificationBoxesFlaggedForNeedsInitializationQuery, notificationBoxesFlaggedInvalidQuery, notificationCollectionReference, notificationCollectionReferenceFactory, notificationConverter, notificationFirestoreCollectionFactory, notificationFirestoreCollectionGroup, notificationFunctionMap, notificationFunctionTypeConfigMap, notificationIdentity, notificationMessageFunction, notificationSendExclusionCanSendFunction, notificationSendFlagsImplyIsComplete, notificationSubtaskComplete, notificationSummariesFlaggedForNeedsInitializationQuery, notificationSummaryCollectionReference, notificationSummaryConverter, notificationSummaryFirestoreCollection, notificationSummaryIdForModel, notificationSummaryIdForUidFunctionForRootFirestoreModelIdentity, notificationSummaryIdentity, notificationTaskCanRunNextCheckpoint, notificationTaskComplete, notificationTaskDelayRetry, notificationTaskFailed, notificationTaskPartiallyComplete, notificationTaskUniqueId, notificationTemplateTypeInfoRecord, notificationUserCollectionReference, notificationUserConverter, notificationUserFirestoreCollection, notificationUserHasExclusionQuery, notificationUserIdentity, notificationUsersFlaggedForNeedsSyncQuery, notificationWeekCollectionReference, notificationWeekCollectionReferenceFactory, notificationWeekConverter, notificationWeekFirestoreCollectionFactory, notificationWeekFirestoreCollectionGroup, notificationWeekIdentity, notificationsPastSendAtTimeQuery, notificationsReadyForCleanupQuery, offset, onCallCreateModelParams, onCallCreateModelResult, onCallCreateModelResultWithDocs, onCallDeleteModelParams, onCallDevelopmentParams, onCallReadModelParams, onCallTypedModelParams, onCallTypedModelParamsFunction, onCallUpdateModelParams, optionalFirestoreArray, optionalFirestoreBoolean, optionalFirestoreDate, optionalFirestoreDateNumber, optionalFirestoreEnum, optionalFirestoreField, optionalFirestoreNumber, optionalFirestoreString, optionalFirestoreUID, optionalFirestoreUnitedStatesAddress, optionalFirestoreUnixDateTimeSecondsNumber, orderBy, orderByDocumentId, readFirestoreModelKey, readFirestoreModelKeyFromDocumentSnapshot, replaceConstraints, selectFromFirebaseModelsService, separateConstraints, setIdAndKeyFromKeyIdRefOnDocumentData, setIdAndKeyFromSnapshotOnDocumentData, shouldSaveNotificationToNotificationWeek, shouldSendCreatedNotificationInput, snapshotConverterFunctions, snapshotStreamDataForAccessor, snapshotStreamForAccessor, sortNotificationItemsFunction, startAfter, startAt, startAtValue, storageFileCollectionReference, storageFileConverter, storageFileFirestoreCollection, storageFileFlaggedForSyncWithGroupsQuery, storageFileFunctionMap, storageFileFunctionTypeConfigMap, storageFileGroupCollectionReference, storageFileGroupConverter, storageFileGroupCreateStorageFileKeyFactory, storageFileGroupCreatedStorageFileKey, storageFileGroupEmbeddedFile, storageFileGroupFirestoreCollection, storageFileGroupFolderPath, storageFileGroupIdForModel, storageFileGroupIdentity, storageFileGroupZipFileStoragePath, storageFileGroupZipStorageFileKey, storageFileGroupsFlaggedForContentRegenerationQuery, storageFileGroupsFlaggedForNeedsInitializationQuery, storageFileGroupsFlaggedInvalidQuery, storageFileIdentity, storageFileModelCrudFunctionsConfig, storageFileProcessingNotificationTaskTemplate, storageFilePurposeAndUserQuery, storageFileUploadUserSimpleClaimsConfiguration, storageFilesQueuedForDeleteQuery, storageFilesQueuedForProcessingQuery, storageListFilesResultFactory, storageListFilesResultHasNoNextError, storagePathFactory, storedFileReaderFactory, streamFromOnSnapshot, systemStateCollectionReference, systemStateConverter, systemStateFirestoreCollection, systemStateIdentity, twoWayFlatFirestoreModelKey, unreadNotificationItems, unsupportedFirestoreDriverFunctionError, updateNotificationBoxRecipientTemplateConfigRecord, updateNotificationRecipient, updateNotificationUserDefaultNotificationBoxRecipientConfig, updateNotificationUserNotificationBoxRecipientConfigIfChanged, updateNotificationUserNotificationBoxRecipientConfigs, updateNotificationUserNotificationSendExclusions, updateWithAccessorUpdateAndConverterFunction, uploadFileWithStream, useContextAuth, useContextAuthUid, useDocumentSnapshot, useDocumentSnapshotData, useFirebaseModelsService, userUploadsFolderSlashPathFactory, userUploadsFolderStoragePathFactory, where, whereDateIsAfter, whereDateIsAfterWithSort, whereDateIsBefore, whereDateIsBeforeWithSort, whereDateIsBetween, whereDateIsInRange, whereDateIsOnOrAfter, whereDateIsOnOrAfterWithSort, whereDateIsOnOrBefore, whereDateIsOnOrBeforeWithSort, whereDocumentId, whereStringHasRootIdentityModelKey, whereStringValueHasPrefix };
|