@firebase/firestore 4.4.2 → 4.4.3-canary.245dd26e1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +92 -92
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +92 -92
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +87 -87
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.rn.js +96 -96
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.cjs.js.map +1 -1
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +16 -16
- package/package.json +10 -10
package/dist/index.esm5.js
CHANGED
|
@@ -70,7 +70,7 @@ k.MOCK_USER = new k("mock-user");
|
|
|
70
70
|
* See the License for the specific language governing permissions and
|
|
71
71
|
* limitations under the License.
|
|
72
72
|
*/
|
|
73
|
-
var P = "10.8.
|
|
73
|
+
var P = "10.8.1-canary.245dd26e1", O = new l("@firebase/firestore");
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
76
|
* @license
|
|
@@ -5568,16 +5568,16 @@ var pi = /** @class */ function() {
|
|
|
5568
5568
|
throw new vi("Invalid padding when bitmap length is 0: ".concat(e));
|
|
5569
5569
|
this.Te = 8 * t.length - e,
|
|
5570
5570
|
// Set the bit count in Integer to avoid repetition in mightContain().
|
|
5571
|
-
this.
|
|
5571
|
+
this.de = b.fromNumber(this.Te);
|
|
5572
5572
|
}
|
|
5573
5573
|
// Calculate the ith hash value based on the hashed 64bit integers,
|
|
5574
5574
|
// and calculate its corresponding bit index in the bitmap to be checked.
|
|
5575
|
-
return t.prototype.
|
|
5575
|
+
return t.prototype.Ee = function(t, e, n) {
|
|
5576
5576
|
// Calculate hashed value h(i) = h1 + (i * h2).
|
|
5577
5577
|
var r = t.add(e.multiply(b.fromNumber(n)));
|
|
5578
5578
|
// Wrap if hash value overflow 64bit.
|
|
5579
5579
|
return 1 === r.compare(hi) && (r = new b([ r.getBits(0), r.getBits(1) ], 0)),
|
|
5580
|
-
r.modulo(this.
|
|
5580
|
+
r.modulo(this.de).toNumber();
|
|
5581
5581
|
},
|
|
5582
5582
|
// Return whether the bit on the given index in the bitmap is set to 1.
|
|
5583
5583
|
t.prototype.Ae = function(t) {
|
|
@@ -5586,7 +5586,7 @@ var pi = /** @class */ function() {
|
|
|
5586
5586
|
// Empty bitmap should always return false on membership check.
|
|
5587
5587
|
if (0 === this.Te) return !1;
|
|
5588
5588
|
for (var e = di(fi(t)), n = e[0], r = e[1], i = 0; i < this.hashCount; i++) {
|
|
5589
|
-
var o = this.
|
|
5589
|
+
var o = this.Ee(n, r, i);
|
|
5590
5590
|
if (!this.Ae(o)) return !1;
|
|
5591
5591
|
}
|
|
5592
5592
|
return !0;
|
|
@@ -5598,7 +5598,7 @@ var pi = /** @class */ function() {
|
|
|
5598
5598
|
})), o;
|
|
5599
5599
|
}, t.prototype.insert = function(t) {
|
|
5600
5600
|
if (0 !== this.Te) for (var e = di(fi(t)), n = e[0], r = e[1], i = 0; i < this.hashCount; i++) {
|
|
5601
|
-
var o = this.
|
|
5601
|
+
var o = this.Ee(n, r, i);
|
|
5602
5602
|
this.Re(o);
|
|
5603
5603
|
}
|
|
5604
5604
|
}, t.prototype.Re = function(t) {
|
|
@@ -7108,52 +7108,52 @@ function go(t, e, n, r) {
|
|
|
7108
7108
|
// (see go/firestore-storage-format#encodings).
|
|
7109
7109
|
e.Tt();
|
|
7110
7110
|
}, t.prototype.It = function(t, e) {
|
|
7111
|
-
if ("nullValue" in t) this.
|
|
7112
|
-
e.
|
|
7111
|
+
if ("nullValue" in t) this.dt(e, 5); else if ("booleanValue" in t) this.dt(e, 10),
|
|
7112
|
+
e.Et(t.booleanValue ? 1 : 0); else if ("integerValue" in t) this.dt(e, 15), e.Et(Re(t.integerValue)); else if ("doubleValue" in t) {
|
|
7113
7113
|
var n = Re(t.doubleValue);
|
|
7114
|
-
isNaN(n) ? this.
|
|
7114
|
+
isNaN(n) ? this.dt(e, 13) : (this.dt(e, 15), zt(n) ?
|
|
7115
7115
|
// -0.0, 0 and 0.0 are all considered the same
|
|
7116
|
-
e.
|
|
7116
|
+
e.Et(0) : e.Et(n));
|
|
7117
7117
|
} else if ("timestampValue" in t) {
|
|
7118
7118
|
var r = t.timestampValue;
|
|
7119
|
-
this.
|
|
7120
|
-
e.
|
|
7121
|
-
} else if ("stringValue" in t) this.Rt(t.stringValue, e), this.Vt(e); else if ("bytesValue" in t) this.
|
|
7119
|
+
this.dt(e, 20), "string" == typeof r ? e.At(r) : (e.At("".concat(r.seconds || "")),
|
|
7120
|
+
e.Et(r.nanos || 0));
|
|
7121
|
+
} else if ("stringValue" in t) this.Rt(t.stringValue, e), this.Vt(e); else if ("bytesValue" in t) this.dt(e, 30),
|
|
7122
7122
|
e.ft(Me(t.bytesValue)), this.Vt(e); else if ("referenceValue" in t) this.gt(t.referenceValue, e); else if ("geoPointValue" in t) {
|
|
7123
7123
|
var i = t.geoPointValue;
|
|
7124
|
-
this.
|
|
7125
|
-
} else "mapValue" in t ? on(t) ? this.
|
|
7124
|
+
this.dt(e, 45), e.Et(i.latitude || 0), e.Et(i.longitude || 0);
|
|
7125
|
+
} else "mapValue" in t ? on(t) ? this.dt(e, Number.MAX_SAFE_INTEGER) : (this.yt(t.mapValue, e),
|
|
7126
7126
|
this.Vt(e)) : "arrayValue" in t ? (this.wt(t.arrayValue, e), this.Vt(e)) : U();
|
|
7127
7127
|
}, t.prototype.Rt = function(t, e) {
|
|
7128
|
-
this.
|
|
7128
|
+
this.dt(e, 25), this.St(t, e);
|
|
7129
7129
|
}, t.prototype.St = function(t, e) {
|
|
7130
7130
|
e.At(t);
|
|
7131
7131
|
}, t.prototype.yt = function(t, e) {
|
|
7132
7132
|
var n = t.fields || {};
|
|
7133
|
-
this.
|
|
7133
|
+
this.dt(e, 55);
|
|
7134
7134
|
for (var r = 0, i = Object.keys(n); r < i.length; r++) {
|
|
7135
7135
|
var o = i[r];
|
|
7136
7136
|
this.Rt(o, e), this.It(n[o], e);
|
|
7137
7137
|
}
|
|
7138
7138
|
}, t.prototype.wt = function(t, e) {
|
|
7139
7139
|
var n = t.values || [];
|
|
7140
|
-
this.
|
|
7140
|
+
this.dt(e, 50);
|
|
7141
7141
|
for (var r = 0, i = n; r < i.length; r++) {
|
|
7142
7142
|
var o = i[r];
|
|
7143
7143
|
this.It(o, e);
|
|
7144
7144
|
}
|
|
7145
7145
|
}, t.prototype.gt = function(t, e) {
|
|
7146
7146
|
var n = this;
|
|
7147
|
-
this.
|
|
7148
|
-
n.
|
|
7147
|
+
this.dt(e, 37), dt.fromName(t).path.forEach((function(t) {
|
|
7148
|
+
n.dt(e, 60), n.St(t, e);
|
|
7149
7149
|
}));
|
|
7150
|
-
}, t.prototype.
|
|
7151
|
-
t.
|
|
7150
|
+
}, t.prototype.dt = function(t, e) {
|
|
7151
|
+
t.Et(e);
|
|
7152
7152
|
}, t.prototype.Vt = function(t) {
|
|
7153
7153
|
// While the SDK does not implement truncation, the truncation marker is
|
|
7154
7154
|
// used to terminate all variable length values (which are strings, bytes,
|
|
7155
7155
|
// references, arrays and maps).
|
|
7156
|
-
t.
|
|
7156
|
+
t.Et(2);
|
|
7157
7157
|
}, t;
|
|
7158
7158
|
}();
|
|
7159
7159
|
|
|
@@ -7330,7 +7330,7 @@ var Co = /** @class */ function() {
|
|
|
7330
7330
|
this.Gt.Dt(t);
|
|
7331
7331
|
}, t.prototype.At = function(t) {
|
|
7332
7332
|
this.Gt.Ot(t);
|
|
7333
|
-
}, t.prototype.
|
|
7333
|
+
}, t.prototype.Et = function(t) {
|
|
7334
7334
|
this.Gt.Bt(t);
|
|
7335
7335
|
}, t.prototype.Tt = function() {
|
|
7336
7336
|
this.Gt.Qt();
|
|
@@ -7343,7 +7343,7 @@ var Co = /** @class */ function() {
|
|
|
7343
7343
|
this.Gt.Ft(t);
|
|
7344
7344
|
}, t.prototype.At = function(t) {
|
|
7345
7345
|
this.Gt.Nt(t);
|
|
7346
|
-
}, t.prototype.
|
|
7346
|
+
}, t.prototype.Et = function(t) {
|
|
7347
7347
|
this.Gt.qt(t);
|
|
7348
7348
|
}, t.prototype.Tt = function() {
|
|
7349
7349
|
this.Gt.$t();
|
|
@@ -8018,8 +8018,8 @@ var jo = /** @class */ function() {
|
|
|
8018
8018
|
*/
|
|
8019
8019
|
t.prototype.In = function(t, e, n, r, i, o, a) {
|
|
8020
8020
|
for (var u = this, s = (null != e ? e.length : 1) * Math.max(n.length, i.length), c = s / (null != e ? e.length : 1), l = [], h = function(s) {
|
|
8021
|
-
var h = e ? f.Tn(e[s / c]) : Qo, d = f.
|
|
8022
|
-
return u.
|
|
8021
|
+
var h = e ? f.Tn(e[s / c]) : Qo, d = f.dn(t, h, n[s % c], r), p = f.En(t, h, i[s % c], o), v = a.map((function(e) {
|
|
8022
|
+
return u.dn(t, h, e,
|
|
8023
8023
|
/* inclusive= */ !0);
|
|
8024
8024
|
}));
|
|
8025
8025
|
l.push.apply(l, f.createRange(d, p, v));
|
|
@@ -8031,11 +8031,11 @@ var jo = /** @class */ function() {
|
|
|
8031
8031
|
; d < s; ++d) h(d);
|
|
8032
8032
|
return l;
|
|
8033
8033
|
},
|
|
8034
|
-
/** Generates the lower bound for `arrayValue` and `directionalValue`. */ t.prototype.
|
|
8034
|
+
/** Generates the lower bound for `arrayValue` and `directionalValue`. */ t.prototype.dn = function(t, e, n, r) {
|
|
8035
8035
|
var i = new ko(t, dt.empty(), e, n);
|
|
8036
8036
|
return r ? i : i.Jt();
|
|
8037
8037
|
},
|
|
8038
|
-
/** Generates the upper bound for `arrayValue` and `directionalValue`. */ t.prototype.
|
|
8038
|
+
/** Generates the upper bound for `arrayValue` and `directionalValue`. */ t.prototype.En = function(t, e, n, r) {
|
|
8039
8039
|
var i = new ko(t, dt.empty(), e, n);
|
|
8040
8040
|
return r ? i.Jt() : i;
|
|
8041
8041
|
}, t.prototype.ln = function(t, e) {
|
|
@@ -10220,7 +10220,7 @@ e) {
|
|
|
10220
10220
|
// A set of outstanding references to a document sorted by key.
|
|
10221
10221
|
this.Pr = new Se(Ra.Ir),
|
|
10222
10222
|
// A set of outstanding references to a document sorted by target id.
|
|
10223
|
-
this.Tr = new Se(Ra.
|
|
10223
|
+
this.Tr = new Se(Ra.dr)
|
|
10224
10224
|
/** Returns true if the reference set contains no references. */;
|
|
10225
10225
|
}
|
|
10226
10226
|
return t.prototype.isEmpty = function() {
|
|
@@ -10230,7 +10230,7 @@ e) {
|
|
|
10230
10230
|
var n = new Ra(t, e);
|
|
10231
10231
|
this.Pr = this.Pr.add(n), this.Tr = this.Tr.add(n);
|
|
10232
10232
|
},
|
|
10233
|
-
/** Add references to the given document keys for the given ID. */ t.prototype.
|
|
10233
|
+
/** Add references to the given document keys for the given ID. */ t.prototype.Er = function(t, e) {
|
|
10234
10234
|
var n = this;
|
|
10235
10235
|
t.forEach((function(t) {
|
|
10236
10236
|
return n.addReference(t, e);
|
|
@@ -10281,7 +10281,7 @@ e) {
|
|
|
10281
10281
|
return t.Ir = function(t, e) {
|
|
10282
10282
|
return dt.comparator(t.key, e.key) || it(t.pr, e.pr);
|
|
10283
10283
|
},
|
|
10284
|
-
/** Compare by ID then by key */ t.
|
|
10284
|
+
/** Compare by ID then by key */ t.dr = function(t, e) {
|
|
10285
10285
|
return it(t.pr, e.pr) || dt.comparator(t.key, e.key);
|
|
10286
10286
|
}, t;
|
|
10287
10287
|
}(), Ma = /** @class */ function() {
|
|
@@ -10564,7 +10564,7 @@ e) {
|
|
|
10564
10564
|
var n = this.Mr.get(e) || null;
|
|
10565
10565
|
return Dt.resolve(n);
|
|
10566
10566
|
}, t.prototype.addMatchingKeys = function(t, e, n) {
|
|
10567
|
-
return this.Nr.
|
|
10567
|
+
return this.Nr.Er(e, n), Dt.resolve();
|
|
10568
10568
|
}, t.prototype.removeMatchingKeys = function(t, e, n) {
|
|
10569
10569
|
this.Nr.Rr(e, n);
|
|
10570
10570
|
var r = this.persistence.referenceDelegate, i = [];
|
|
@@ -11133,8 +11133,8 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11133
11133
|
return Promise.resolve();
|
|
11134
11134
|
}, !t.D()) throw new K(j.UNIMPLEMENTED, "This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");
|
|
11135
11135
|
this.referenceDelegate = new ga(this, i), this.Ti = n + "main", this.serializer = new ao(s),
|
|
11136
|
-
this.
|
|
11137
|
-
this.remoteDocumentCache = _a(this.serializer), this.$r = new wo, this.window && this.window.localStorage ? this.
|
|
11136
|
+
this.di = new At(this.Ti, this.ui, new Ga(this.serializer)), this.Qr = new ca(this.referenceDelegate, this.serializer),
|
|
11137
|
+
this.remoteDocumentCache = _a(this.serializer), this.$r = new wo, this.window && this.window.localStorage ? this.Ei = this.window.localStorage : (this.Ei = null,
|
|
11138
11138
|
!1 === l && F("IndexedDbPersistence", "LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."));
|
|
11139
11139
|
}
|
|
11140
11140
|
/**
|
|
@@ -11159,7 +11159,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11159
11159
|
})).then((function() {
|
|
11160
11160
|
t.qr = !0;
|
|
11161
11161
|
})).catch((function(e) {
|
|
11162
|
-
return t.
|
|
11162
|
+
return t.di && t.di.close(), Promise.reject(e);
|
|
11163
11163
|
}));
|
|
11164
11164
|
},
|
|
11165
11165
|
/**
|
|
@@ -11187,7 +11187,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11187
11187
|
*/
|
|
11188
11188
|
t.prototype.setDatabaseDeletedListener = function(t) {
|
|
11189
11189
|
var r = this;
|
|
11190
|
-
this.
|
|
11190
|
+
this.di.L((function(i) {
|
|
11191
11191
|
return e(r, void 0, void 0, (function() {
|
|
11192
11192
|
return n(this, (function(e) {
|
|
11193
11193
|
switch (e.label) {
|
|
@@ -11317,7 +11317,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11317
11317
|
// Ideally we'd delete the IndexedDb and LocalStorage zombie entries for
|
|
11318
11318
|
// the client atomically, but we can't. So we opt to delete the IndexedDb
|
|
11319
11319
|
// entries first to avoid potentially reviving a zombied client.
|
|
11320
|
-
if (t = n.sent(), this.
|
|
11320
|
+
if (t = n.sent(), this.Ei) for (e = 0, r = t; e < r.length; e++) i = r[e], this.Ei.removeItem(this.Fi(i.clientId));
|
|
11321
11321
|
n.label = 2;
|
|
11322
11322
|
|
|
11323
11323
|
case 2:
|
|
@@ -11405,7 +11405,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11405
11405
|
// The shutdown() operations are idempotent and can be called even when
|
|
11406
11406
|
// start() aborted (e.g. because it couldn't acquire the persistence lease).
|
|
11407
11407
|
return this.qr = !1, this.xi(), this.hi && (this.hi.cancel(), this.hi = null), this.Oi(),
|
|
11408
|
-
this.Ni(), [ 4 /*yield*/ , this.
|
|
11408
|
+
this.Ni(), [ 4 /*yield*/ , this.di.runTransaction("shutdown", "readwrite", [ "owner", "clientMetadata" ], (function(e) {
|
|
11409
11409
|
var n = new ye(e, Ut._e);
|
|
11410
11410
|
return t.yi(n).next((function() {
|
|
11411
11411
|
return t.bi(n);
|
|
@@ -11417,7 +11417,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11417
11417
|
// start() aborted (e.g. because it couldn't acquire the persistence lease).
|
|
11418
11418
|
// Use `SimpleDb.runTransaction` directly to avoid failing if another tab
|
|
11419
11419
|
// has obtained the primary lease.
|
|
11420
|
-
return e.sent(), this.
|
|
11420
|
+
return e.sent(), this.di.close(),
|
|
11421
11421
|
// Remove the entry marking the client as zombied from LocalStorage since
|
|
11422
11422
|
// we successfully deleted its metadata from IndexedDb.
|
|
11423
11423
|
this.Bi(), [ 2 /*return*/ ];
|
|
@@ -11479,7 +11479,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11479
11479
|
}(this.ui);
|
|
11480
11480
|
// Do all transactions as readwrite against all object stores, since we
|
|
11481
11481
|
// are the only reader/writer.
|
|
11482
|
-
return this.
|
|
11482
|
+
return this.di.runTransaction(t, o, a, (function(o) {
|
|
11483
11483
|
return i = new ye(o, r.kr ? r.kr.next() : Ut._e), "readwrite-primary" === e ? r.gi(i).next((function(t) {
|
|
11484
11484
|
return !!t || r.pi(i);
|
|
11485
11485
|
})).next((function(e) {
|
|
@@ -11583,7 +11583,7 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11583
11583
|
t.prototype.Mi = function(t) {
|
|
11584
11584
|
var e;
|
|
11585
11585
|
try {
|
|
11586
|
-
var n = null !== (null === (e = this.
|
|
11586
|
+
var n = null !== (null === (e = this.Ei) || void 0 === e ? void 0 : e.getItem(this.Fi(t)));
|
|
11587
11587
|
return L("IndexedDbPersistence", "Client '".concat(t, "' ").concat(n ? "is" : "is not", " zombied in LocalStorage")),
|
|
11588
11588
|
n;
|
|
11589
11589
|
} catch (t) {
|
|
@@ -11596,16 +11596,16 @@ var Ka = "Failed to obtain exclusive access to the persistence layer. To allow s
|
|
|
11596
11596
|
* clients are ignored during primary tab selection.
|
|
11597
11597
|
*/
|
|
11598
11598
|
t.prototype.xi = function() {
|
|
11599
|
-
if (this.
|
|
11600
|
-
this.
|
|
11599
|
+
if (this.Ei) try {
|
|
11600
|
+
this.Ei.setItem(this.Fi(this.clientId), String(Date.now()));
|
|
11601
11601
|
} catch (t) {
|
|
11602
11602
|
// Gracefully handle if LocalStorage isn't available / working.
|
|
11603
11603
|
F("Failed to set zombie client id.", t);
|
|
11604
11604
|
}
|
|
11605
11605
|
},
|
|
11606
11606
|
/** Removes the zombied client entry if it exists. */ t.prototype.Bi = function() {
|
|
11607
|
-
if (this.
|
|
11608
|
-
this.
|
|
11607
|
+
if (this.Ei) try {
|
|
11608
|
+
this.Ei.removeItem(this.Fi(this.clientId));
|
|
11609
11609
|
} catch (t) {
|
|
11610
11610
|
// Ignore
|
|
11611
11611
|
}
|
|
@@ -12487,12 +12487,12 @@ var gu = /** @class */ function() {
|
|
|
12487
12487
|
* Logs a warning and returns null if the format of the data is not valid.
|
|
12488
12488
|
*/;
|
|
12489
12489
|
}
|
|
12490
|
-
return t.
|
|
12490
|
+
return t.ds = function(e, n, r) {
|
|
12491
12491
|
var i, o = JSON.parse(r), a = "object" == typeof o && -1 !== [ "pending", "acknowledged", "rejected" ].indexOf(o.state) && (void 0 === o.error || "object" == typeof o.error);
|
|
12492
12492
|
return a && o.error && ((a = "string" == typeof o.error.message && "string" == typeof o.error.code) && (i = new K(o.error.code, o.error.message))),
|
|
12493
12493
|
a ? new t(e, n, o.state, i) : (F("SharedClientState", "Failed to parse mutation state for ID '".concat(n, "': ").concat(r)),
|
|
12494
12494
|
null);
|
|
12495
|
-
}, t.prototype.
|
|
12495
|
+
}, t.prototype.Es = function() {
|
|
12496
12496
|
var t = {
|
|
12497
12497
|
state: this.state,
|
|
12498
12498
|
updateTimeMs: Date.now()
|
|
@@ -12510,12 +12510,12 @@ var gu = /** @class */ function() {
|
|
|
12510
12510
|
* Logs a warning and returns null if the format of the data is not valid.
|
|
12511
12511
|
*/;
|
|
12512
12512
|
}
|
|
12513
|
-
return t.
|
|
12513
|
+
return t.ds = function(e, n) {
|
|
12514
12514
|
var r, i = JSON.parse(n), o = "object" == typeof i && -1 !== [ "not-current", "current", "rejected" ].indexOf(i.state) && (void 0 === i.error || "object" == typeof i.error);
|
|
12515
12515
|
return o && i.error && ((o = "string" == typeof i.error.message && "string" == typeof i.error.code) && (r = new K(i.error.code, i.error.message))),
|
|
12516
12516
|
o ? new t(e, i.state, r) : (F("SharedClientState", "Failed to parse target state for ID '".concat(e, "': ").concat(n)),
|
|
12517
12517
|
null);
|
|
12518
|
-
}, t.prototype.
|
|
12518
|
+
}, t.prototype.Es = function() {
|
|
12519
12519
|
var t = {
|
|
12520
12520
|
state: this.state,
|
|
12521
12521
|
updateTimeMs: Date.now()
|
|
@@ -12533,7 +12533,7 @@ var gu = /** @class */ function() {
|
|
|
12533
12533
|
* Logs a warning and returns null if the format of the data is not valid.
|
|
12534
12534
|
*/;
|
|
12535
12535
|
}
|
|
12536
|
-
return t.
|
|
12536
|
+
return t.ds = function(e, n) {
|
|
12537
12537
|
for (var r = JSON.parse(n), i = "object" == typeof r && r.activeTargetIds instanceof Array, o = Ir(), a = 0; i && a < r.activeTargetIds.length; ++a) i = Gt(r.activeTargetIds[a]),
|
|
12538
12538
|
o = o.add(r.activeTargetIds[a]);
|
|
12539
12539
|
return i ? new t(e, o) : (F("SharedClientState", "Failed to parse client data for instance '".concat(e, "': ").concat(n)),
|
|
@@ -12547,7 +12547,7 @@ var gu = /** @class */ function() {
|
|
|
12547
12547
|
* Logs a warning and returns null if the format of the data is not valid.
|
|
12548
12548
|
*/;
|
|
12549
12549
|
}
|
|
12550
|
-
return t.
|
|
12550
|
+
return t.ds = function(e) {
|
|
12551
12551
|
var n = JSON.parse(e);
|
|
12552
12552
|
return "object" == typeof n && -1 !== [ "Unknown", "Online", "Offline" ].indexOf(n.onlineState) && "string" == typeof n.clientId ? new t(n.clientId, n.onlineState) : (F("SharedClientState", "Failed to parse online state: ".concat(e)),
|
|
12553
12553
|
null);
|
|
@@ -12565,7 +12565,7 @@ var gu = /** @class */ function() {
|
|
|
12565
12565
|
* Converts this entry into a JSON-encoded format we can use for WebStorage.
|
|
12566
12566
|
* Does not encode `clientId` as it is part of the key in WebStorage.
|
|
12567
12567
|
*/
|
|
12568
|
-
t.prototype.
|
|
12568
|
+
t.prototype.Es = function() {
|
|
12569
12569
|
var t = {
|
|
12570
12570
|
activeTargetIds: this.activeTargetIds.toArray(),
|
|
12571
12571
|
updateTimeMs: Date.now()
|
|
@@ -12618,7 +12618,7 @@ var gu = /** @class */ function() {
|
|
|
12618
12618
|
return [ 4 /*yield*/ , this.syncEngine.Li() ];
|
|
12619
12619
|
|
|
12620
12620
|
case 1:
|
|
12621
|
-
for (t = n.sent(), e = 0, r = t; e < r.length; e++) (i = r[e]) !== this.Vs && (o = this.getItem(vu(this.persistenceKey, i))) && (a = bu.
|
|
12621
|
+
for (t = n.sent(), e = 0, r = t; e < r.length; e++) (i = r[e]) !== this.Vs && (o = this.getItem(vu(this.persistenceKey, i))) && (a = bu.ds(i, o)) && (this.ps = this.ps.insert(a.clientId, a));
|
|
12622
12622
|
for (this.Ms(), (u = this.storage.getItem(this.vs)) && (s = this.xs(u)) && this.Os(s),
|
|
12623
12623
|
c = 0, l = this.ys; c < l.length; c++) h = l[c], this.gs(h);
|
|
12624
12624
|
return this.ys = [],
|
|
@@ -12654,7 +12654,7 @@ var gu = /** @class */ function() {
|
|
|
12654
12654
|
if (this.isActiveQueryTarget(t)) {
|
|
12655
12655
|
var n = this.storage.getItem(yu(this.persistenceKey, t));
|
|
12656
12656
|
if (n) {
|
|
12657
|
-
var r = wu.
|
|
12657
|
+
var r = wu.ds(t, n);
|
|
12658
12658
|
r && (e = r.state);
|
|
12659
12659
|
}
|
|
12660
12660
|
}
|
|
@@ -12752,10 +12752,10 @@ var gu = /** @class */ function() {
|
|
|
12752
12752
|
enumerable: !1,
|
|
12753
12753
|
configurable: !0
|
|
12754
12754
|
}), t.prototype.Ms = function() {
|
|
12755
|
-
this.setItem(this.ws, this.ks.
|
|
12755
|
+
this.setItem(this.ws, this.ks.Es());
|
|
12756
12756
|
}, t.prototype.Bs = function(t, e, n) {
|
|
12757
12757
|
var r = new gu(this.currentUser, t, e, n), i = mu(this.persistenceKey, this.currentUser, t);
|
|
12758
|
-
this.setItem(i, r.
|
|
12758
|
+
this.setItem(i, r.Es());
|
|
12759
12759
|
}, t.prototype.Ls = function(t) {
|
|
12760
12760
|
var e = mu(this.persistenceKey, this.currentUser, t);
|
|
12761
12761
|
this.removeItem(e);
|
|
@@ -12767,7 +12767,7 @@ var gu = /** @class */ function() {
|
|
|
12767
12767
|
this.storage.setItem(this.vs, JSON.stringify(e));
|
|
12768
12768
|
}, t.prototype.qs = function(t, e, n) {
|
|
12769
12769
|
var r = yu(this.persistenceKey, t), i = new wu(t, e, n);
|
|
12770
|
-
this.setItem(r, i.
|
|
12770
|
+
this.setItem(r, i.Es());
|
|
12771
12771
|
}, t.prototype.Ks = function(t) {
|
|
12772
12772
|
var e = JSON.stringify(Array.from(t));
|
|
12773
12773
|
this.setItem(this.Fs, e);
|
|
@@ -12786,7 +12786,7 @@ var gu = /** @class */ function() {
|
|
|
12786
12786
|
*/
|
|
12787
12787
|
t.prototype.Ws = function(t, e) {
|
|
12788
12788
|
var n = this.$s(t);
|
|
12789
|
-
return bu.
|
|
12789
|
+
return bu.ds(n, e);
|
|
12790
12790
|
},
|
|
12791
12791
|
/**
|
|
12792
12792
|
* Parses a mutation batch state in WebStorage. Returns 'null' if the value
|
|
@@ -12794,7 +12794,7 @@ var gu = /** @class */ function() {
|
|
|
12794
12794
|
*/
|
|
12795
12795
|
t.prototype.Gs = function(t, e) {
|
|
12796
12796
|
var n = this.Ds.exec(t), r = Number(n[1]), i = void 0 !== n[2] ? n[2] : null;
|
|
12797
|
-
return gu.
|
|
12797
|
+
return gu.ds(new k(i), r, e);
|
|
12798
12798
|
},
|
|
12799
12799
|
/**
|
|
12800
12800
|
* Parses a query target state from WebStorage. Returns 'null' if the value
|
|
@@ -12802,14 +12802,14 @@ var gu = /** @class */ function() {
|
|
|
12802
12802
|
*/
|
|
12803
12803
|
t.prototype.js = function(t, e) {
|
|
12804
12804
|
var n = this.Cs.exec(t), r = Number(n[1]);
|
|
12805
|
-
return wu.
|
|
12805
|
+
return wu.ds(r, e);
|
|
12806
12806
|
},
|
|
12807
12807
|
/**
|
|
12808
12808
|
* Parses an online state from WebStorage. Returns 'null' if the value
|
|
12809
12809
|
* could not be parsed.
|
|
12810
12810
|
*/
|
|
12811
12811
|
t.prototype.xs = function(t) {
|
|
12812
|
-
return Iu.
|
|
12812
|
+
return Iu.ds(t);
|
|
12813
12813
|
}, t.prototype.Js = function(t) {
|
|
12814
12814
|
return JSON.parse(t);
|
|
12815
12815
|
}, t.prototype.zs = function(t) {
|
|
@@ -13834,14 +13834,14 @@ function Ou() {
|
|
|
13834
13834
|
}
|
|
13835
13835
|
// The first response is always the handshake response
|
|
13836
13836
|
return B(!t.writeResults || 0 === t.writeResults.length), this.h_ = !0,
|
|
13837
|
-
this.listener.
|
|
13837
|
+
this.listener.d_();
|
|
13838
13838
|
},
|
|
13839
13839
|
/**
|
|
13840
13840
|
* Sends an initial streamToken to the server, performing the handshake
|
|
13841
13841
|
* required to make the StreamingWrite RPC work. Subsequent
|
|
13842
13842
|
* calls should wait until onHandshakeComplete was called.
|
|
13843
13843
|
*/
|
|
13844
|
-
n.prototype.
|
|
13844
|
+
n.prototype.E_ = function() {
|
|
13845
13845
|
// TODO(dimond): Support stream resumption. We intentionally do not set the
|
|
13846
13846
|
// stream token on the handshake, ignoring any stream token we might have.
|
|
13847
13847
|
var t = {};
|
|
@@ -14510,7 +14510,7 @@ function as(t) {
|
|
|
14510
14510
|
function us(t) {
|
|
14511
14511
|
return e(this, void 0, void 0, (function() {
|
|
14512
14512
|
return n(this, (function(e) {
|
|
14513
|
-
return ps(t).
|
|
14513
|
+
return ps(t).E_(), [ 2 /*return*/ ];
|
|
14514
14514
|
}));
|
|
14515
14515
|
}));
|
|
14516
14516
|
}
|
|
@@ -14725,7 +14725,7 @@ function ps(t) {
|
|
|
14725
14725
|
}(t.datastore, t.asyncQueue, {
|
|
14726
14726
|
Po: us.bind(null, t),
|
|
14727
14727
|
To: ls.bind(null, t),
|
|
14728
|
-
|
|
14728
|
+
d_: ss.bind(null, t),
|
|
14729
14729
|
T_: cs.bind(null, t)
|
|
14730
14730
|
}), t.F_.push((function(i) {
|
|
14731
14731
|
return e(r, void 0, void 0, (function() {
|
|
@@ -15477,15 +15477,15 @@ function ks(t) {
|
|
|
15477
15477
|
return n(t) - n(e);
|
|
15478
15478
|
}(t.type, e.type) || i.ua(t.doc, e.doc);
|
|
15479
15479
|
})), this.Ta(n), r = null != r && r;
|
|
15480
|
-
var u = e && !r ? this.
|
|
15480
|
+
var u = e && !r ? this.da() : [], s = 0 === this.aa.size && this.current && !r ? 1 /* SyncState.Synced */ : 0 /* SyncState.Local */ , c = s !== this._a;
|
|
15481
15481
|
// We are at synced state if there is no limbo docs are waiting to be resolved, view is current
|
|
15482
15482
|
// with the backend, and the query is not pending to reset due to existence filter mismatch.
|
|
15483
15483
|
return this._a = s, 0 !== a.length || c ? {
|
|
15484
15484
|
snapshot: new ws(this.query, t.ca, o, a, t.mutatedKeys, 0 /* SyncState.Local */ === s, c,
|
|
15485
15485
|
/* excludesMetadataChanges= */ !1, !!n && n.resumeToken.approximateByteSize() > 0),
|
|
15486
|
-
|
|
15486
|
+
Ea: u
|
|
15487
15487
|
} : {
|
|
15488
|
-
|
|
15488
|
+
Ea: u
|
|
15489
15489
|
};
|
|
15490
15490
|
// no changes
|
|
15491
15491
|
},
|
|
@@ -15506,7 +15506,7 @@ function ks(t) {
|
|
|
15506
15506
|
Xi: !1
|
|
15507
15507
|
},
|
|
15508
15508
|
/* limboResolutionEnabled= */ !1)) : {
|
|
15509
|
-
|
|
15509
|
+
Ea: []
|
|
15510
15510
|
};
|
|
15511
15511
|
},
|
|
15512
15512
|
/**
|
|
@@ -15529,7 +15529,7 @@ function ks(t) {
|
|
|
15529
15529
|
})), t.modifiedDocuments.forEach((function(t) {})), t.removedDocuments.forEach((function(t) {
|
|
15530
15530
|
return e.oa = e.oa.delete(t);
|
|
15531
15531
|
})), this.current = t.current);
|
|
15532
|
-
}, t.prototype.
|
|
15532
|
+
}, t.prototype.da = function() {
|
|
15533
15533
|
var t = this;
|
|
15534
15534
|
// We can only determine limbo documents when we're in-sync with the server.
|
|
15535
15535
|
if (!this.current) return [];
|
|
@@ -15725,7 +15725,7 @@ function Vs(t, r) {
|
|
|
15725
15725
|
case 2:
|
|
15726
15726
|
return a = o && o.targetChanges.get(r.targetId), u = o && null != o.targetMismatches.get(r.targetId),
|
|
15727
15727
|
s = r.view.applyChanges(e,
|
|
15728
|
-
/* limboResolutionEnabled= */ t.isPrimaryClient, a, u), [ 2 /*return*/ , (Zs(t, r.targetId, s.
|
|
15728
|
+
/* limboResolutionEnabled= */ t.isPrimaryClient, a, u), [ 2 /*return*/ , (Zs(t, r.targetId, s.Ea),
|
|
15729
15729
|
s.snapshot) ];
|
|
15730
15730
|
}
|
|
15731
15731
|
}));
|
|
@@ -15737,7 +15737,7 @@ function Vs(t, r) {
|
|
|
15737
15737
|
case 1:
|
|
15738
15738
|
return u = d.sent(), s = new Rs(r, u.hs), c = s.ha(u.documents), l = yi.createSynthesizedTargetChangeForCurrentChange(i, o && "Offline" /* OnlineState.Offline */ !== t.onlineState, a),
|
|
15739
15739
|
h = s.applyChanges(c,
|
|
15740
|
-
/* limboResolutionEnabled= */ t.isPrimaryClient, l), Zs(t, i, h.
|
|
15740
|
+
/* limboResolutionEnabled= */ t.isPrimaryClient, l), Zs(t, i, h.Ea), f = new Ms(r, i, s),
|
|
15741
15741
|
[ 2 /*return*/ , (t.ga.set(r, f), t.pa.has(i) ? t.pa.get(i).push(r) : t.pa.set(i, [ r ]),
|
|
15742
15742
|
h.snapshot) ];
|
|
15743
15743
|
}
|
|
@@ -16332,7 +16332,7 @@ function rc(t, e) {
|
|
|
16332
16332
|
/* usePreviousResults= */ !0) ];
|
|
16333
16333
|
|
|
16334
16334
|
case 1:
|
|
16335
|
-
return i = n.sent(), o = r.view.Ra(i), [ 2 /*return*/ , (e.isPrimaryClient && Zs(e, r.targetId, o.
|
|
16335
|
+
return i = n.sent(), o = r.view.Ra(i), [ 2 /*return*/ , (e.isPrimaryClient && Zs(e, r.targetId, o.Ea),
|
|
16336
16336
|
o) ];
|
|
16337
16337
|
}
|
|
16338
16338
|
}));
|
|
@@ -19595,7 +19595,7 @@ function(t) {
|
|
|
19595
19595
|
this.settings = t, this.databaseId = e, this.serializer = n, this.ignoreUndefinedProperties = r,
|
|
19596
19596
|
// Minor hack: If fieldTransforms is undefined, we assume this is an
|
|
19597
19597
|
// external call and we need to validate the entire path.
|
|
19598
|
-
void 0 === i && this.
|
|
19598
|
+
void 0 === i && this.du(), this.fieldTransforms = i || [], this.fieldMask = o || [];
|
|
19599
19599
|
}
|
|
19600
19600
|
return Object.defineProperty(t.prototype, "path", {
|
|
19601
19601
|
get: function() {
|
|
@@ -19603,9 +19603,9 @@ function(t) {
|
|
|
19603
19603
|
},
|
|
19604
19604
|
enumerable: !1,
|
|
19605
19605
|
configurable: !0
|
|
19606
|
-
}), Object.defineProperty(t.prototype, "
|
|
19606
|
+
}), Object.defineProperty(t.prototype, "Eu", {
|
|
19607
19607
|
get: function() {
|
|
19608
|
-
return this.settings.
|
|
19608
|
+
return this.settings.Eu;
|
|
19609
19609
|
},
|
|
19610
19610
|
enumerable: !1,
|
|
19611
19611
|
configurable: !0
|
|
@@ -19623,7 +19623,7 @@ function(t) {
|
|
|
19623
19623
|
path: n,
|
|
19624
19624
|
Vu: !1
|
|
19625
19625
|
});
|
|
19626
|
-
return r.
|
|
19626
|
+
return r.du(), r;
|
|
19627
19627
|
}, t.prototype.gu = function(t) {
|
|
19628
19628
|
// TODO(b/34871131): We don't support array paths right now; so make path
|
|
19629
19629
|
// undefined.
|
|
@@ -19640,13 +19640,13 @@ function(t) {
|
|
|
19640
19640
|
})) || void 0 !== this.fieldTransforms.find((function(e) {
|
|
19641
19641
|
return t.isPrefixOf(e.field);
|
|
19642
19642
|
}));
|
|
19643
|
-
}, t.prototype.
|
|
19643
|
+
}, t.prototype.du = function() {
|
|
19644
19644
|
// TODO(b/34871131): Remove null check once we have proper paths for fields
|
|
19645
19645
|
// within arrays.
|
|
19646
19646
|
if (this.path) for (var t = 0; t < this.path.length; t++) this.mu(this.path.get(t));
|
|
19647
19647
|
}, t.prototype.mu = function(t) {
|
|
19648
19648
|
if (0 === t.length) throw this.pu("Document fields must not be empty");
|
|
19649
|
-
if (Ll(this.
|
|
19649
|
+
if (Ll(this.Eu) && Ol.test(t)) throw this.pu('Document fields cannot begin and end with "__"');
|
|
19650
19650
|
}, t;
|
|
19651
19651
|
}(), Vl = /** @class */ function() {
|
|
19652
19652
|
function t(t, e, n) {
|
|
@@ -19655,7 +19655,7 @@ function(t) {
|
|
|
19655
19655
|
}
|
|
19656
19656
|
return t.prototype.Su = function(t, e, n, r) {
|
|
19657
19657
|
return void 0 === r && (r = !1), new Fl({
|
|
19658
|
-
|
|
19658
|
+
Eu: t,
|
|
19659
19659
|
methodName: e,
|
|
19660
19660
|
wu: n,
|
|
19661
19661
|
path: ft.emptyPath(),
|
|
@@ -19696,7 +19696,7 @@ var Bl = /** @class */ function(e) {
|
|
|
19696
19696
|
return null !== e && e.apply(this, arguments) || this;
|
|
19697
19697
|
}
|
|
19698
19698
|
return t(n, e), n.prototype._toFieldTransform = function(t) {
|
|
19699
|
-
if (2 /* UserDataSource.MergeSet */ !== t.
|
|
19699
|
+
if (2 /* UserDataSource.MergeSet */ !== t.Eu) throw 1 /* UserDataSource.Update */ === t.Eu ? t.pu("".concat(this._methodName, "() can only appear at the top level of your update data")) : t.pu("".concat(this._methodName, "() cannot be used with set() unless you pass {merge:true}"));
|
|
19700
19700
|
// No transform to add for a delete, but we need to add it to our
|
|
19701
19701
|
// fieldMask so it gets deleted.
|
|
19702
19702
|
return t.fieldMask.push(t.path), null;
|
|
@@ -19722,7 +19722,7 @@ var Bl = /** @class */ function(e) {
|
|
|
19722
19722
|
* @param arrayElement - Whether or not the FieldValue has an array.
|
|
19723
19723
|
*/ function zl(t, e, n) {
|
|
19724
19724
|
return new Fl({
|
|
19725
|
-
|
|
19725
|
+
Eu: 3 /* UserDataSource.Argument */ ,
|
|
19726
19726
|
wu: e.settings.wu,
|
|
19727
19727
|
methodName: t._methodName,
|
|
19728
19728
|
Vu: n
|
|
@@ -19858,7 +19858,7 @@ var Gl = /** @class */ function(e) {
|
|
|
19858
19858
|
*/
|
|
19859
19859
|
return function(t, e) {
|
|
19860
19860
|
// Sentinels are only supported with writes, and not within arrays.
|
|
19861
|
-
if (!Ll(e.
|
|
19861
|
+
if (!Ll(e.Eu)) throw e.pu("".concat(t._methodName, "() can only be used with update() and set()"));
|
|
19862
19862
|
if (!e.path) throw e.pu("".concat(t._methodName, "() is not currently supported inside arrays"));
|
|
19863
19863
|
var n = t._toFieldTransform(e);
|
|
19864
19864
|
n && e.fieldTransforms.push(n);
|
|
@@ -19878,7 +19878,7 @@ var Gl = /** @class */ function(e) {
|
|
|
19878
19878
|
// the set of values to be included for the IN query) that may directly
|
|
19879
19879
|
// contain additional arrays (each representing an individual field
|
|
19880
19880
|
// value), so we disable this validation.
|
|
19881
|
-
if (e.settings.Vu && 4 /* UserDataSource.ArrayArgument */ !== e.
|
|
19881
|
+
if (e.settings.Vu && 4 /* UserDataSource.ArrayArgument */ !== e.Eu) throw e.pu("Nested arrays are not supported");
|
|
19882
19882
|
return function(t, e) {
|
|
19883
19883
|
for (var n = [], r = 0, i = 0, o = t; i < o.length; i++) {
|
|
19884
19884
|
var a = Jl(o[i], e.gu(r));
|
|
@@ -22458,9 +22458,9 @@ function Bf(t, r) {
|
|
|
22458
22458
|
return r = Object.assign({
|
|
22459
22459
|
useFetchStreams: Gf
|
|
22460
22460
|
}, r), o._setSettings(r), o;
|
|
22461
|
-
}), "PUBLIC").setMultipleInstances(!0)), a(A, "4.4.
|
|
22461
|
+
}), "PUBLIC").setMultipleInstances(!0)), a(A, "4.4.3-canary.245dd26e1", zf),
|
|
22462
22462
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
22463
|
-
a(A, "4.4.
|
|
22463
|
+
a(A, "4.4.3-canary.245dd26e1", "esm5");
|
|
22464
22464
|
|
|
22465
22465
|
export { Oh as AbstractUserDataWriter, xl as AggregateField, Cl as AggregateQuerySnapshot, Dl as Bytes, cl as CACHE_SIZE_UNLIMITED, tl as CollectionReference, $c as DocumentReference, zh as DocumentSnapshot, Nl as FieldPath, kl as FieldValue, ll as Firestore, K as FirestoreError, Pl as GeoPoint, sl as LoadBundleTask, Lf as PersistentCacheIndexManager, Zc as Query, ph as QueryCompositeFilterConstraint, lh as QueryConstraint, Gh as QueryDocumentSnapshot, Sh as QueryEndAtConstraint, fh as QueryFieldFilterConstraint, wh as QueryLimitConstraint, yh as QueryOrderByConstraint, jh as QuerySnapshot, _h as QueryStartAtConstraint, Bh as SnapshotMetadata, ut as Timestamp, xf as Transaction, Tf as WriteBatch, rt as _AutoId, ke as _ByteString, Ue as _DatabaseId, dt as _DocumentKey, et as _EmptyAppCheckTokenProvider, Y as _EmptyAuthCredentialsProvider, ft as _FieldPath, Kf as _TestingHooks, Wc as _cast, z as _debugAssert, Ae as _isBase64Available, V as _logWarn, Gc as _validateIsNotUsedTogether, rf as addDoc, qh as aggregateFieldEqual, Uh as aggregateQuerySnapshotEqual, mh as and, kf as arrayRemove, Af as arrayUnion, Fh as average, gl as clearIndexedDbPersistence, el as collection, nl as collectionGroup, Xc as connectFirestoreEmulator, Vh as count, Uf as deleteAllPersistentCacheIndexes, nf as deleteDoc, Df as deleteField, Il as disableNetwork, qf as disablePersistentCacheIndexAutoCreation, rl as doc, Al as documentId, vl as enableIndexedDbPersistence, ml as enableMultiTabIndexedDbPersistence, bl as enableNetwork, Vf as enablePersistentCacheIndexAutoCreation, Ch as endAt, xh as endBefore, dl as ensureFirestoreConfigured, uf as executeWrite, lf as getAggregateFromServer, cf as getCountFromServer, Wh as getDoc, Hh as getDocFromCache, Jh as getDocFromServer, Xh as getDocs, Zh as getDocsFromCache, $h as getDocsFromServer, fl as getFirestore, Ff as getPersistentCacheIndexManager, Pf as increment, hl as initializeFirestore, bh as limit, Ih as limitToLast, El as loadBundle, vf as memoryEagerGarbageCollector, yf as memoryLocalCache, mf as memoryLruGarbageCollector, Tl as namedQuery, of as onSnapshot, af as onSnapshotsInSync, vh as or, gh as orderBy, gf as persistentLocalCache, _f as persistentMultipleTabManager, If as persistentSingleTabManager, hh as query, ol as queryEqual, il as refEqual, Cf as runTransaction, Nf as serverTimestamp, tf as setDoc, Rf as setIndexConfiguration, M as setLogLevel, Qh as snapshotEqual, Th as startAfter, Eh as startAt, Lh as sum, _l as terminate, ef as updateDoc, wl as waitForPendingWrites, dh as where, Of as writeBatch };
|
|
22466
22466
|
//# sourceMappingURL=index.esm5.js.map
|