reactfire 4.2.2 → 4.2.3-exp.4329c43

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.js CHANGED
@@ -5,7 +5,7 @@ import { getApps as Vt, registerVersion as Ne, initializeApp as Mt } from "fireb
5
5
  import { onSnapshot as Lt, queryEqual as Nt } from "firebase/firestore";
6
6
  import { httpsCallable as Wt } from "firebase/functions";
7
7
  import { getDownloadURL as qt, ref as Qt } from "firebase/storage";
8
- import { ensureInitialized as Kt, getValue as Ht, getString as Yt, getNumber as Gt, getBoolean as Jt, getAll as zt } from "firebase/remote-config";
8
+ import { ensureInitialized as Ht, getValue as Kt, getString as Yt, getNumber as Gt, getBoolean as Jt, getAll as zt } from "firebase/remote-config";
9
9
  var ce = function(e, t) {
10
10
  return ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
11
11
  n.__proto__ = r;
@@ -39,14 +39,14 @@ function pe(e, t, n, r) {
39
39
  });
40
40
  }
41
41
  return new (n || (n = Promise))(function(o, u) {
42
- function a(l) {
42
+ function s(l) {
43
43
  try {
44
44
  c(r.next(l));
45
45
  } catch (d) {
46
46
  u(d);
47
47
  }
48
48
  }
49
- function s(l) {
49
+ function a(l) {
50
50
  try {
51
51
  c(r.throw(l));
52
52
  } catch (d) {
@@ -54,26 +54,26 @@ function pe(e, t, n, r) {
54
54
  }
55
55
  }
56
56
  function c(l) {
57
- l.done ? o(l.value) : i(l.value).then(a, s);
57
+ l.done ? o(l.value) : i(l.value).then(s, a);
58
58
  }
59
59
  c((r = r.apply(e, t || [])).next());
60
60
  });
61
61
  }
62
- function He(e, t) {
62
+ function Ke(e, t) {
63
63
  var n = { label: 0, sent: function() {
64
64
  if (o[0] & 1)
65
65
  throw o[1];
66
66
  return o[1];
67
67
  }, trys: [], ops: [] }, r, i, o, u;
68
- return u = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (u[Symbol.iterator] = function() {
68
+ return u = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (u[Symbol.iterator] = function() {
69
69
  return this;
70
70
  }), u;
71
- function a(c) {
71
+ function s(c) {
72
72
  return function(l) {
73
- return s([c, l]);
73
+ return a([c, l]);
74
74
  };
75
75
  }
76
- function s(c) {
76
+ function a(c) {
77
77
  if (r)
78
78
  throw new TypeError("Generator is already executing.");
79
79
  for (; n; )
@@ -144,8 +144,8 @@ function D(e, t) {
144
144
  try {
145
145
  for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
146
146
  o.push(i.value);
147
- } catch (a) {
148
- u = { error: a };
147
+ } catch (s) {
148
+ u = { error: s };
149
149
  } finally {
150
150
  try {
151
151
  i && !i.done && (n = r.return) && n.call(r);
@@ -175,28 +175,28 @@ function Bt(e, t, n) {
175
175
  function u(v) {
176
176
  r[v] && (i[v] = function(p) {
177
177
  return new Promise(function(S, h) {
178
- o.push([v, p, S, h]) > 1 || a(v, p);
178
+ o.push([v, p, S, h]) > 1 || s(v, p);
179
179
  });
180
180
  });
181
181
  }
182
- function a(v, p) {
182
+ function s(v, p) {
183
183
  try {
184
- s(r[v](p));
184
+ a(r[v](p));
185
185
  } catch (S) {
186
186
  d(o[0][3], S);
187
187
  }
188
188
  }
189
- function s(v) {
189
+ function a(v) {
190
190
  v.value instanceof U ? Promise.resolve(v.value.v).then(c, l) : d(o[0][2], v);
191
191
  }
192
192
  function c(v) {
193
- a("next", v);
193
+ s("next", v);
194
194
  }
195
195
  function l(v) {
196
- a("throw", v);
196
+ s("throw", v);
197
197
  }
198
198
  function d(v, p) {
199
- v(p), o.shift(), o.length && a(o[0][0], o[0][1]);
199
+ v(p), o.shift(), o.length && s(o[0][0], o[0][1]);
200
200
  }
201
201
  }
202
202
  function Xt(e) {
@@ -208,14 +208,14 @@ function Xt(e) {
208
208
  }, n);
209
209
  function r(o) {
210
210
  n[o] = e[o] && function(u) {
211
- return new Promise(function(a, s) {
212
- u = e[o](u), i(a, s, u.done, u.value);
211
+ return new Promise(function(s, a) {
212
+ u = e[o](u), i(s, a, u.done, u.value);
213
213
  });
214
214
  };
215
215
  }
216
- function i(o, u, a, s) {
217
- Promise.resolve(s).then(function(c) {
218
- o({ value: c, done: a });
216
+ function i(o, u, s, a) {
217
+ Promise.resolve(a).then(function(c) {
218
+ o({ value: c, done: s });
219
219
  }, u);
220
220
  }
221
221
  }
@@ -255,15 +255,15 @@ var N = function() {
255
255
  if (u)
256
256
  if (this._parentage = null, Array.isArray(u))
257
257
  try {
258
- for (var a = V(u), s = a.next(); !s.done; s = a.next()) {
259
- var c = s.value;
258
+ for (var s = V(u), a = s.next(); !a.done; a = s.next()) {
259
+ var c = a.value;
260
260
  c.remove(this);
261
261
  }
262
262
  } catch (h) {
263
263
  t = { error: h };
264
264
  } finally {
265
265
  try {
266
- s && !s.done && (n = a.return) && n.call(a);
266
+ a && !a.done && (n = s.return) && n.call(s);
267
267
  } finally {
268
268
  if (t)
269
269
  throw t.error;
@@ -455,13 +455,13 @@ var tn = function() {
455
455
  complete: i != null ? i : void 0
456
456
  };
457
457
  else {
458
- var a;
459
- o && be.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
458
+ var s;
459
+ o && be.useDeprecatedNextContext ? (s = Object.create(n), s.unsubscribe = function() {
460
460
  return o.unsubscribe();
461
461
  }, u = {
462
- next: n.next && ue(n.next, a),
463
- error: n.error && ue(n.error, a),
464
- complete: n.complete && ue(n.complete, a)
462
+ next: n.next && ue(n.next, s),
463
+ error: n.error && ue(n.error, s),
464
+ complete: n.complete && ue(n.complete, s)
465
465
  }) : u = n;
466
466
  }
467
467
  return o.destination = new tn(u), o;
@@ -500,10 +500,10 @@ var y = function() {
500
500
  var n = new e();
501
501
  return n.source = this, n.operator = t, n;
502
502
  }, e.prototype.subscribe = function(t, n, r) {
503
- var i = this, o = an(t) ? t : new L(t, n, r);
503
+ var i = this, o = sn(t) ? t : new L(t, n, r);
504
504
  return z(function() {
505
- var u = i, a = u.operator, s = u.source;
506
- o.add(a ? a.call(o, s) : s ? i._subscribe(o) : i._trySubscribe(o));
505
+ var u = i, s = u.operator, a = u.source;
506
+ o.add(s ? s.call(o, a) : a ? i._subscribe(o) : i._trySubscribe(o));
507
507
  }), o;
508
508
  }, e.prototype._trySubscribe = function(t) {
509
509
  try {
@@ -515,11 +515,11 @@ var y = function() {
515
515
  var r = this;
516
516
  return n = qe(n), new n(function(i, o) {
517
517
  var u = new L({
518
- next: function(a) {
518
+ next: function(s) {
519
519
  try {
520
- t(a);
521
- } catch (s) {
522
- o(s), u.unsubscribe();
520
+ t(s);
521
+ } catch (a) {
522
+ o(a), u.unsubscribe();
523
523
  }
524
524
  },
525
525
  error: o,
@@ -559,15 +559,15 @@ function qe(e) {
559
559
  function un(e) {
560
560
  return e && b(e.next) && b(e.error) && b(e.complete);
561
561
  }
562
- function an(e) {
562
+ function sn(e) {
563
563
  return e && e instanceof ye || un(e) && Ge(e);
564
564
  }
565
- function sn(e) {
565
+ function an(e) {
566
566
  return b(e == null ? void 0 : e.lift);
567
567
  }
568
568
  function _(e) {
569
569
  return function(t) {
570
- if (sn(t))
570
+ if (an(t))
571
571
  return t.lift(function(n) {
572
572
  try {
573
573
  return e(n, this);
@@ -583,15 +583,15 @@ function w(e, t, n, r, i) {
583
583
  }
584
584
  var cn = function(e) {
585
585
  x(t, e);
586
- function t(n, r, i, o, u, a) {
587
- var s = e.call(this, n) || this;
588
- return s.onFinalize = u, s.shouldUnsubscribe = a, s._next = r ? function(c) {
586
+ function t(n, r, i, o, u, s) {
587
+ var a = e.call(this, n) || this;
588
+ return a.onFinalize = u, a.shouldUnsubscribe = s, a._next = r ? function(c) {
589
589
  try {
590
590
  r(c);
591
591
  } catch (l) {
592
592
  n.error(l);
593
593
  }
594
- } : e.prototype._next, s._error = o ? function(c) {
594
+ } : e.prototype._next, a._error = o ? function(c) {
595
595
  try {
596
596
  o(c);
597
597
  } catch (l) {
@@ -599,7 +599,7 @@ var cn = function(e) {
599
599
  } finally {
600
600
  this.unsubscribe();
601
601
  }
602
- } : e.prototype._error, s._complete = i ? function() {
602
+ } : e.prototype._error, a._complete = i ? function() {
603
603
  try {
604
604
  i();
605
605
  } catch (c) {
@@ -607,7 +607,7 @@ var cn = function(e) {
607
607
  } finally {
608
608
  this.unsubscribe();
609
609
  }
610
- } : e.prototype._complete, s;
610
+ } : e.prototype._complete, a;
611
611
  }
612
612
  return t.prototype.unsubscribe = function() {
613
613
  var n;
@@ -639,15 +639,15 @@ var cn = function(e) {
639
639
  if (r._throwIfClosed(), !r.isStopped) {
640
640
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
641
641
  try {
642
- for (var u = V(r.currentObservers), a = u.next(); !a.done; a = u.next()) {
643
- var s = a.value;
644
- s.next(n);
642
+ for (var u = V(r.currentObservers), s = u.next(); !s.done; s = u.next()) {
643
+ var a = s.value;
644
+ a.next(n);
645
645
  }
646
646
  } catch (c) {
647
647
  i = { error: c };
648
648
  } finally {
649
649
  try {
650
- a && !a.done && (o = u.return) && o.call(u);
650
+ s && !s.done && (o = u.return) && o.call(u);
651
651
  } finally {
652
652
  if (i)
653
653
  throw i.error;
@@ -687,9 +687,9 @@ var cn = function(e) {
687
687
  }, t.prototype._subscribe = function(n) {
688
688
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
689
689
  }, t.prototype._innerSubscribe = function(n) {
690
- var r = this, i = this, o = i.hasError, u = i.isStopped, a = i.observers;
691
- return o || u ? Ye : (this.currentObservers = null, a.push(n), new N(function() {
692
- r.currentObservers = null, B(a, n);
690
+ var r = this, i = this, o = i.hasError, u = i.isStopped, s = i.observers;
691
+ return o || u ? Ye : (this.currentObservers = null, s.push(n), new N(function() {
692
+ r.currentObservers = null, B(s, n);
693
693
  }));
694
694
  }, t.prototype._checkFinalizedStatuses = function(n) {
695
695
  var r = this, i = r.hasError, o = r.thrownError, u = r.isStopped;
@@ -732,17 +732,17 @@ var cn = function(e) {
732
732
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
733
733
  }
734
734
  return t.prototype.next = function(n) {
735
- var r = this, i = r.isStopped, o = r._buffer, u = r._infiniteTimeWindow, a = r._timestampProvider, s = r._windowTime;
736
- i || (o.push(n), !u && o.push(a.now() + s)), this._trimBuffer(), e.prototype.next.call(this, n);
735
+ var r = this, i = r.isStopped, o = r._buffer, u = r._infiniteTimeWindow, s = r._timestampProvider, a = r._windowTime;
736
+ i || (o.push(n), !u && o.push(s.now() + a)), this._trimBuffer(), e.prototype.next.call(this, n);
737
737
  }, t.prototype._subscribe = function(n) {
738
738
  this._throwIfClosed(), this._trimBuffer();
739
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, u = i._buffer, a = u.slice(), s = 0; s < a.length && !n.closed; s += o ? 1 : 2)
740
- n.next(a[s]);
739
+ for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, u = i._buffer, s = u.slice(), a = 0; a < s.length && !n.closed; a += o ? 1 : 2)
740
+ n.next(s[a]);
741
741
  return this._checkFinalizedStatuses(n), r;
742
742
  }, t.prototype._trimBuffer = function() {
743
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, u = n._infiniteTimeWindow, a = (u ? 1 : 2) * r;
744
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !u) {
745
- for (var s = i.now(), c = 0, l = 1; l < o.length && o[l] <= s; l += 2)
743
+ var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, u = n._infiniteTimeWindow, s = (u ? 1 : 2) * r;
744
+ if (r < 1 / 0 && s < o.length && o.splice(0, o.length - s), !u) {
745
+ for (var a = i.now(), c = 0, l = 1; l < o.length && o[l] <= a; l += 2)
746
746
  c = l;
747
747
  c && o.splice(0, c + 1);
748
748
  }
@@ -808,7 +808,7 @@ var cn = function(e) {
808
808
  this.work = this.state = this.scheduler = null, this.pending = !1, B(o, this), r != null && (this.id = this.recycleAsyncId(i, r, null)), this.delay = null, e.prototype.unsubscribe.call(this);
809
809
  }
810
810
  }, t;
811
- }(dn), Ke = function() {
811
+ }(dn), He = function() {
812
812
  function e(t, n) {
813
813
  n === void 0 && (n = e.now), this.schedulerActionCtor = t, this.now = n;
814
814
  }
@@ -818,7 +818,7 @@ var cn = function(e) {
818
818
  }(), hn = function(e) {
819
819
  x(t, e);
820
820
  function t(n, r) {
821
- r === void 0 && (r = Ke.now);
821
+ r === void 0 && (r = He.now);
822
822
  var i = e.call(this, n, r) || this;
823
823
  return i.actions = [], i._active = !1, i._scheduled = void 0, i;
824
824
  }
@@ -840,7 +840,7 @@ var cn = function(e) {
840
840
  throw i;
841
841
  }
842
842
  }, t;
843
- }(Ke), _e = new hn(vn), pn = _e, Se = new y(function(e) {
843
+ }(He), _e = new hn(vn), pn = _e, Se = new y(function(e) {
844
844
  return e.complete();
845
845
  });
846
846
  function mn(e) {
@@ -890,7 +890,7 @@ function it(e) {
890
890
  function ot(e) {
891
891
  return Bt(this, arguments, function() {
892
892
  var n, r, i, o;
893
- return He(this, function(u) {
893
+ return Ke(this, function(u) {
894
894
  switch (u.label) {
895
895
  case 0:
896
896
  n = e.getReader(), u.label = 1;
@@ -932,7 +932,7 @@ function I(e) {
932
932
  if (Xe(e))
933
933
  return Sn(e);
934
934
  if (tt(e))
935
- return at(e);
935
+ return st(e);
936
936
  if (it(e))
937
937
  return Cn(e);
938
938
  if (ut(e))
@@ -973,8 +973,8 @@ function Cn(e) {
973
973
  if (t.next(u), t.closed)
974
974
  return;
975
975
  }
976
- } catch (a) {
977
- n = { error: a };
976
+ } catch (s) {
977
+ n = { error: s };
978
978
  } finally {
979
979
  try {
980
980
  o && !o.done && (r = i.return) && r.call(i);
@@ -986,7 +986,7 @@ function Cn(e) {
986
986
  t.complete();
987
987
  });
988
988
  }
989
- function at(e) {
989
+ function st(e) {
990
990
  return new y(function(t) {
991
991
  xn(e, t).catch(function(n) {
992
992
  return t.error(n);
@@ -994,34 +994,34 @@ function at(e) {
994
994
  });
995
995
  }
996
996
  function En(e) {
997
- return at(ot(e));
997
+ return st(ot(e));
998
998
  }
999
999
  function xn(e, t) {
1000
1000
  var n, r, i, o;
1001
1001
  return pe(this, void 0, void 0, function() {
1002
- var u, a;
1003
- return He(this, function(s) {
1004
- switch (s.label) {
1002
+ var u, s;
1003
+ return Ke(this, function(a) {
1004
+ switch (a.label) {
1005
1005
  case 0:
1006
- s.trys.push([0, 5, 6, 11]), n = Xt(e), s.label = 1;
1006
+ a.trys.push([0, 5, 6, 11]), n = Xt(e), a.label = 1;
1007
1007
  case 1:
1008
1008
  return [4, n.next()];
1009
1009
  case 2:
1010
- if (r = s.sent(), !!r.done)
1010
+ if (r = a.sent(), !!r.done)
1011
1011
  return [3, 4];
1012
1012
  if (u = r.value, t.next(u), t.closed)
1013
1013
  return [2];
1014
- s.label = 3;
1014
+ a.label = 3;
1015
1015
  case 3:
1016
1016
  return [3, 1];
1017
1017
  case 4:
1018
1018
  return [3, 11];
1019
1019
  case 5:
1020
- return a = s.sent(), i = { error: a }, [3, 11];
1020
+ return s = a.sent(), i = { error: s }, [3, 11];
1021
1021
  case 6:
1022
- return s.trys.push([6, , 9, 10]), r && !r.done && (o = n.return) ? [4, o.call(n)] : [3, 8];
1022
+ return a.trys.push([6, , 9, 10]), r && !r.done && (o = n.return) ? [4, o.call(n)] : [3, 8];
1023
1023
  case 7:
1024
- s.sent(), s.label = 8;
1024
+ a.sent(), a.label = 8;
1025
1025
  case 8:
1026
1026
  return [3, 10];
1027
1027
  case 9:
@@ -1044,7 +1044,7 @@ function P(e, t, n, r, i) {
1044
1044
  if (e.add(o), !i)
1045
1045
  return o;
1046
1046
  }
1047
- function st(e, t) {
1047
+ function at(e, t) {
1048
1048
  return t === void 0 && (t = 0), _(function(n, r) {
1049
1049
  n.subscribe(w(r, function(i) {
1050
1050
  return P(r, e, function() {
@@ -1069,10 +1069,10 @@ function ct(e, t) {
1069
1069
  });
1070
1070
  }
1071
1071
  function In(e, t) {
1072
- return I(e).pipe(ct(t), st(t));
1072
+ return I(e).pipe(ct(t), at(t));
1073
1073
  }
1074
1074
  function On(e, t) {
1075
- return I(e).pipe(ct(t), st(t));
1075
+ return I(e).pipe(ct(t), at(t));
1076
1076
  }
1077
1077
  function kn(e, t) {
1078
1078
  return new y(function(n) {
@@ -1090,8 +1090,8 @@ function An(e, t) {
1090
1090
  var i, o, u;
1091
1091
  try {
1092
1092
  i = r.next(), o = i.value, u = i.done;
1093
- } catch (a) {
1094
- n.error(a);
1093
+ } catch (s) {
1094
+ n.error(s);
1095
1095
  return;
1096
1096
  }
1097
1097
  u ? n.complete() : n.next(o);
@@ -1160,11 +1160,11 @@ function C(e, t) {
1160
1160
  }));
1161
1161
  });
1162
1162
  }
1163
- function Tn(e, t, n, r, i, o, u, a) {
1164
- var s = [], c = 0, l = 0, d = !1, v = function() {
1165
- d && !s.length && !c && t.complete();
1163
+ function Tn(e, t, n, r, i, o, u, s) {
1164
+ var a = [], c = 0, l = 0, d = !1, v = function() {
1165
+ d && !a.length && !c && t.complete();
1166
1166
  }, p = function(h) {
1167
- return c < r ? S(h) : s.push(h);
1167
+ return c < r ? S(h) : a.push(h);
1168
1168
  }, S = function(h) {
1169
1169
  o && t.next(h), c++;
1170
1170
  var $ = !1;
@@ -1177,11 +1177,11 @@ function Tn(e, t, n, r, i, o, u, a) {
1177
1177
  try {
1178
1178
  c--;
1179
1179
  for (var E = function() {
1180
- var j = s.shift();
1180
+ var j = a.shift();
1181
1181
  u ? P(t, u, function() {
1182
1182
  return S(j);
1183
1183
  }) : S(j);
1184
- }; s.length && c < r; )
1184
+ }; a.length && c < r; )
1185
1185
  E();
1186
1186
  v();
1187
1187
  } catch (j) {
@@ -1192,7 +1192,7 @@ function Tn(e, t, n, r, i, o, u, a) {
1192
1192
  return e.subscribe(w(t, p, function() {
1193
1193
  d = !0, v();
1194
1194
  })), function() {
1195
- a == null || a();
1195
+ s == null || s();
1196
1196
  };
1197
1197
  }
1198
1198
  function Ee(e, t, n) {
@@ -1251,36 +1251,36 @@ function vt(e) {
1251
1251
  }
1252
1252
  function Mn(e, t, n, r, i) {
1253
1253
  return function(o, u) {
1254
- var a = n, s = t, c = 0;
1254
+ var s = n, a = t, c = 0;
1255
1255
  o.subscribe(w(u, function(l) {
1256
1256
  var d = c++;
1257
- s = a ? e(s, l, d) : (a = !0, l), r && u.next(s);
1257
+ a = s ? e(a, l, d) : (s = !0, l), r && u.next(a);
1258
1258
  }, i && function() {
1259
- a && u.next(s), u.complete();
1259
+ s && u.next(a), u.complete();
1260
1260
  }));
1261
1261
  };
1262
1262
  }
1263
1263
  function Ln(e, t) {
1264
1264
  return t === void 0 && (t = _e), _(function(n, r) {
1265
- var i = null, o = null, u = null, a = function() {
1265
+ var i = null, o = null, u = null, s = function() {
1266
1266
  if (i) {
1267
1267
  i.unsubscribe(), i = null;
1268
1268
  var c = o;
1269
1269
  o = null, r.next(c);
1270
1270
  }
1271
1271
  };
1272
- function s() {
1272
+ function a() {
1273
1273
  var c = u + e, l = t.now();
1274
1274
  if (l < c) {
1275
1275
  i = this.schedule(void 0, c - l), r.add(i);
1276
1276
  return;
1277
1277
  }
1278
- a();
1278
+ s();
1279
1279
  }
1280
1280
  n.subscribe(w(r, function(c) {
1281
- o = c, u = t.now(), i || (i = t.schedule(s, e), r.add(i));
1281
+ o = c, u = t.now(), i || (i = t.schedule(a, e), r.add(i));
1282
1282
  }, function() {
1283
- a(), r.complete();
1283
+ s(), r.complete();
1284
1284
  }, void 0, function() {
1285
1285
  o = i = null;
1286
1286
  }));
@@ -1330,16 +1330,16 @@ function Qn(e, t) {
1330
1330
  return n;
1331
1331
  });
1332
1332
  }
1333
- function Kn(e, t) {
1334
- return t === void 0 && (t = W), e = e != null ? e : Hn, _(function(n, r) {
1333
+ function Hn(e, t) {
1334
+ return t === void 0 && (t = W), e = e != null ? e : Kn, _(function(n, r) {
1335
1335
  var i, o = !0;
1336
1336
  n.subscribe(w(r, function(u) {
1337
- var a = t(u);
1338
- (o || !e(i, a)) && (o = !1, i = a, r.next(u));
1337
+ var s = t(u);
1338
+ (o || !e(i, s)) && (o = !1, i = s, r.next(u));
1339
1339
  }));
1340
1340
  });
1341
1341
  }
1342
- function Hn(e, t) {
1342
+ function Kn(e, t) {
1343
1343
  return e === t;
1344
1344
  }
1345
1345
  function Yn(e) {
@@ -1372,7 +1372,7 @@ function zn(e) {
1372
1372
  e === void 0 && (e = {});
1373
1373
  var t = e.connector, n = t === void 0 ? function() {
1374
1374
  return new ne();
1375
- } : t, r = e.resetOnError, i = r === void 0 ? !0 : r, o = e.resetOnComplete, u = o === void 0 ? !0 : o, a = e.resetOnRefCountZero, s = a === void 0 ? !0 : a;
1375
+ } : t, r = e.resetOnError, i = r === void 0 ? !0 : r, o = e.resetOnComplete, u = o === void 0 ? !0 : o, s = e.resetOnRefCountZero, a = s === void 0 ? !0 : s;
1376
1376
  return function(c) {
1377
1377
  var l, d, v, p = 0, S = !1, h = !1, $ = function() {
1378
1378
  d == null || d.unsubscribe(), d = void 0;
@@ -1384,24 +1384,24 @@ function zn(e) {
1384
1384
  };
1385
1385
  return _(function(M, Le) {
1386
1386
  p++, !h && !S && $();
1387
- var H = v = v != null ? v : n();
1387
+ var K = v = v != null ? v : n();
1388
1388
  Le.add(function() {
1389
- p--, p === 0 && !h && !S && (d = ae(j, s));
1390
- }), H.subscribe(Le), !l && p > 0 && (l = new L({
1389
+ p--, p === 0 && !h && !S && (d = se(j, a));
1390
+ }), K.subscribe(Le), !l && p > 0 && (l = new L({
1391
1391
  next: function(Y) {
1392
- return H.next(Y);
1392
+ return K.next(Y);
1393
1393
  },
1394
1394
  error: function(Y) {
1395
- h = !0, $(), d = ae(E, i, Y), H.error(Y);
1395
+ h = !0, $(), d = se(E, i, Y), K.error(Y);
1396
1396
  },
1397
1397
  complete: function() {
1398
- S = !0, $(), d = ae(E, u), H.complete();
1398
+ S = !0, $(), d = se(E, u), K.complete();
1399
1399
  }
1400
1400
  }), I(M).subscribe(l));
1401
1401
  })(c);
1402
1402
  };
1403
1403
  }
1404
- function ae(e, t) {
1404
+ function se(e, t) {
1405
1405
  for (var n = [], r = 2; r < arguments.length; r++)
1406
1406
  n[r - 2] = arguments[r];
1407
1407
  if (t === !0) {
@@ -1418,31 +1418,31 @@ function ae(e, t) {
1418
1418
  }
1419
1419
  }
1420
1420
  function Zn(e, t, n) {
1421
- var r, i, o, u, a = !1;
1422
- return e && typeof e == "object" ? (r = e.bufferSize, u = r === void 0 ? 1 / 0 : r, i = e.windowTime, t = i === void 0 ? 1 / 0 : i, o = e.refCount, a = o === void 0 ? !1 : o, n = e.scheduler) : u = e != null ? e : 1 / 0, zn({
1421
+ var r, i, o, u, s = !1;
1422
+ return e && typeof e == "object" ? (r = e.bufferSize, u = r === void 0 ? 1 / 0 : r, i = e.windowTime, t = i === void 0 ? 1 / 0 : i, o = e.refCount, s = o === void 0 ? !1 : o, n = e.scheduler) : u = e != null ? e : 1 / 0, zn({
1423
1423
  connector: function() {
1424
1424
  return new fn(u, t, n);
1425
1425
  },
1426
1426
  resetOnError: !0,
1427
1427
  resetOnComplete: !1,
1428
- resetOnRefCountZero: a
1428
+ resetOnRefCountZero: s
1429
1429
  });
1430
1430
  }
1431
1431
  function mt(e, t) {
1432
1432
  return _(function(n, r) {
1433
- var i = null, o = 0, u = !1, a = function() {
1433
+ var i = null, o = 0, u = !1, s = function() {
1434
1434
  return u && !i && r.complete();
1435
1435
  };
1436
- n.subscribe(w(r, function(s) {
1436
+ n.subscribe(w(r, function(a) {
1437
1437
  i == null || i.unsubscribe();
1438
1438
  var c = 0, l = o++;
1439
- I(e(s, l)).subscribe(i = w(r, function(d) {
1440
- return r.next(t ? t(s, d, l, c++) : d);
1439
+ I(e(a, l)).subscribe(i = w(r, function(d) {
1440
+ return r.next(t ? t(a, d, l, c++) : d);
1441
1441
  }, function() {
1442
- i = null, a();
1442
+ i = null, s();
1443
1443
  }));
1444
1444
  }, function() {
1445
- u = !0, a();
1445
+ u = !0, s();
1446
1446
  }));
1447
1447
  });
1448
1448
  }
@@ -1451,19 +1451,19 @@ function Bn(e, t, n) {
1451
1451
  return r ? _(function(i, o) {
1452
1452
  var u;
1453
1453
  (u = r.subscribe) === null || u === void 0 || u.call(r);
1454
- var a = !0;
1455
- i.subscribe(w(o, function(s) {
1454
+ var s = !0;
1455
+ i.subscribe(w(o, function(a) {
1456
1456
  var c;
1457
- (c = r.next) === null || c === void 0 || c.call(r, s), o.next(s);
1457
+ (c = r.next) === null || c === void 0 || c.call(r, a), o.next(a);
1458
1458
  }, function() {
1459
- var s;
1460
- a = !1, (s = r.complete) === null || s === void 0 || s.call(r), o.complete();
1461
- }, function(s) {
1459
+ var a;
1460
+ s = !1, (a = r.complete) === null || a === void 0 || a.call(r), o.complete();
1461
+ }, function(a) {
1462
1462
  var c;
1463
- a = !1, (c = r.error) === null || c === void 0 || c.call(r, s), o.error(s);
1463
+ s = !1, (c = r.error) === null || c === void 0 || c.call(r, a), o.error(a);
1464
1464
  }, function() {
1465
- var s, c;
1466
- a && ((s = r.unsubscribe) === null || s === void 0 || s.call(r)), (c = r.finalize) === null || c === void 0 || c.call(r);
1465
+ var a, c;
1466
+ s && ((a = r.unsubscribe) === null || a === void 0 || a.call(r)), (c = r.finalize) === null || c === void 0 || c.call(r);
1467
1467
  }));
1468
1468
  }) : W;
1469
1469
  }
@@ -1473,7 +1473,7 @@ function xe(e) {
1473
1473
  return { unsubscribe: n };
1474
1474
  });
1475
1475
  }
1476
- const Xn = "[DEFAULT]", bt = f.createContext(void 0), Ie = f.createContext(!1), er = "4.2.2", tr = (e, t) => e === t || [...Object.keys(e), ...Object.keys(t)].every((n) => e[n] === t[n]);
1476
+ const Xn = "[DEFAULT]", bt = f.createContext(void 0), Ie = f.createContext(!1), er = "4.2.3-exp.4329c43", tr = (e, t) => e === t || [...Object.keys(e), ...Object.keys(t)].every((n) => e[n] === t[n]);
1477
1477
  function Lr(e) {
1478
1478
  const {
1479
1479
  firebaseConfig: t,
@@ -1521,9 +1521,8 @@ function Wr(e) {
1521
1521
  });
1522
1522
  }
1523
1523
  function nr(e) {
1524
- var t;
1525
- const n = kt(), r = `auth:user:${n.name}`, i = xe(n), o = (t = Object.assign({}, e)) !== null && t !== void 0 ? t : {};
1526
- return n.currentUser !== void 0 && (o.initialData = n.currentUser, o.startWithValue = n.currentUser), g(r, i, o);
1524
+ const t = kt(), n = `auth:user:${t.name}`, r = xe(t);
1525
+ return g(n, r, e);
1527
1526
  }
1528
1527
  function rr(e, t = !1, n) {
1529
1528
  if (!e)
@@ -1540,15 +1539,15 @@ function qr(e) {
1540
1539
  const r = xe(t).pipe(mt((i) => {
1541
1540
  var o;
1542
1541
  return i ? e && (e.hasOwnProperty("requiredClaims") || e.hasOwnProperty("validateCustomClaims")) ? O(i.getIdTokenResult((o = e == null ? void 0 : e.forceRefresh) !== null && o !== void 0 ? o : !1)).pipe(C((u) => {
1543
- let a;
1544
- e.hasOwnProperty("requiredClaims") ? a = ir(e.requiredClaims) : a = e.validateCustomClaims;
1542
+ let s;
1543
+ e.hasOwnProperty("requiredClaims") ? s = ir(e.requiredClaims) : s = e.validateCustomClaims;
1545
1544
  const {
1546
- hasRequiredClaims: s,
1545
+ hasRequiredClaims: a,
1547
1546
  errors: c
1548
- } = a(u.claims);
1547
+ } = s(u.claims);
1549
1548
  return {
1550
1549
  signedIn: !0,
1551
- hasRequiredClaims: s,
1550
+ hasRequiredClaims: a,
1552
1551
  errors: c,
1553
1552
  user: i
1554
1553
  };
@@ -1564,7 +1563,7 @@ function qr(e) {
1564
1563
  user: null
1565
1564
  });
1566
1565
  }));
1567
- return g(n, r);
1566
+ return g(n, r, e);
1568
1567
  }
1569
1568
  function ir(e) {
1570
1569
  return function(n) {
@@ -1588,11 +1587,11 @@ function or({
1588
1587
  } = rr(e, !1), {
1589
1588
  claims: o
1590
1589
  } = i, u = {};
1591
- return re() || console.warn("ClaimsCheck is deprecated and only works when ReactFire is in experimental Suspense Mode. Use useSigninCheck or set suspense={true} in FirebaseAppProvider if you want to use this component."), r && Object.keys(r).forEach((s) => {
1590
+ return re() || console.warn("ClaimsCheck is deprecated and only works when ReactFire is in experimental Suspense Mode. Use useSigninCheck or set suspense={true} in FirebaseAppProvider if you want to use this component."), r && Object.keys(r).forEach((a) => {
1592
1591
  var c;
1593
- r[s] !== o[s] && (u[s] = {
1594
- expected: r[s],
1595
- actual: (c = o[s]) === null || c === void 0 ? void 0 : c.toString()
1592
+ r[a] !== o[a] && (u[a] = {
1593
+ expected: r[a],
1594
+ actual: (c = o[a]) === null || c === void 0 ? void 0 : c.toString()
1596
1595
  });
1597
1596
  }), Object.keys(u).length === 0 ? f.createElement(f.Fragment, null, n) : f.createElement(f.Fragment, null, t);
1598
1597
  }
@@ -1634,7 +1633,7 @@ var te = function() {
1634
1633
  return t;
1635
1634
  }, te.apply(this, arguments);
1636
1635
  };
1637
- function se(e, t) {
1636
+ function ae(e, t) {
1638
1637
  for (var n = 0, r = t.length, i = e.length; n < r; n++, i++)
1639
1638
  e[i] = t[n];
1640
1639
  return e;
@@ -1704,7 +1703,7 @@ function Oe(e, t) {
1704
1703
  * See the License for the specific language governing permissions and
1705
1704
  * limitations under the License.
1706
1705
  */
1707
- function ar(e) {
1706
+ function sr(e) {
1708
1707
  return (e == null || e.length === 0) && (e = [
1709
1708
  m.added,
1710
1709
  m.removed,
@@ -1728,7 +1727,7 @@ function ar(e) {
1728
1727
  * See the License for the specific language governing permissions and
1729
1728
  * limitations under the License.
1730
1729
  */
1731
- function sr(e) {
1730
+ function ar(e) {
1732
1731
  return Oe(e, m.value);
1733
1732
  }
1734
1733
  function cr(e, t) {
@@ -1750,7 +1749,7 @@ function lr(e) {
1750
1749
  }
1751
1750
  function wt(e, t) {
1752
1751
  t === void 0 && (t = {});
1753
- var n = ar(t.events);
1752
+ var n = sr(t.events);
1754
1753
  return lr(e).pipe(mt(function(r) {
1755
1754
  if (!r.snapshot.exists())
1756
1755
  return ee([]);
@@ -1758,7 +1757,7 @@ function wt(e, t) {
1758
1757
  return n.forEach(function(o) {
1759
1758
  i.push(Oe(e, o));
1760
1759
  }), Un.apply(void 0, i).pipe(Jn(vr, []));
1761
- }), Kn());
1760
+ }), Hn());
1762
1761
  }
1763
1762
  function fr(e, t) {
1764
1763
  return t === void 0 && (t = {}), wt(e).pipe(C(function(n) {
@@ -1780,18 +1779,18 @@ function dr(e, t) {
1780
1779
  return n === -1 ? e.length : n + 1;
1781
1780
  }
1782
1781
  function vr(e, t) {
1783
- var n = t.snapshot, r = t.prevKey, i = t.event, o = n.key, u = _t(e, o), a = dr(e, r || void 0);
1782
+ var n = t.snapshot, r = t.prevKey, i = t.event, o = n.key, u = _t(e, o), s = dr(e, r || void 0);
1784
1783
  switch (i) {
1785
1784
  case m.value:
1786
1785
  if (t.snapshot && t.snapshot.exists()) {
1787
- var s = null;
1786
+ var a = null;
1788
1787
  t.snapshot.forEach(function(d) {
1789
1788
  var v = {
1790
1789
  snapshot: d,
1791
1790
  event: m.value,
1792
- prevKey: s
1791
+ prevKey: a
1793
1792
  };
1794
- return s = d.key, e = se(se([], e), [v]), !1;
1793
+ return a = d.key, e = ae(ae([], e), [v]), !1;
1795
1794
  });
1796
1795
  }
1797
1796
  return e;
@@ -1800,11 +1799,11 @@ function vr(e, t) {
1800
1799
  var c = e[u - 1];
1801
1800
  (c && c.snapshot.key || null) !== r && (e = e.filter(function(d) {
1802
1801
  return d.snapshot.key !== n.key;
1803
- }), e.splice(a, 0, t));
1802
+ }), e.splice(s, 0, t));
1804
1803
  } else {
1805
1804
  if (r == null)
1806
- return se([t], e);
1807
- e = e.slice(), e.splice(a, 0, t);
1805
+ return ae([t], e);
1806
+ e = e.slice(), e.splice(s, 0, t);
1808
1807
  }
1809
1808
  return e;
1810
1809
  case m.removed:
@@ -1818,7 +1817,7 @@ function vr(e, t) {
1818
1817
  case m.moved:
1819
1818
  if (u > -1) {
1820
1819
  var l = e.splice(u, 1)[0];
1821
- return e = e.slice(), e.splice(a, 0, l), e;
1820
+ return e = e.slice(), e.splice(s, 0, l), e;
1822
1821
  }
1823
1822
  return e;
1824
1823
  default:
@@ -1831,12 +1830,12 @@ function St(e) {
1831
1830
  const t = ve.findIndex((n) => n.isEqual(e));
1832
1831
  return t > -1 ? t : ve.push(e) - 1;
1833
1832
  }
1834
- function Kr(e, t) {
1835
- const n = `database:object:${e.toString()}`, r = sr(e);
1833
+ function Hr(e, t) {
1834
+ const n = `database:object:${e.toString()}`, r = ar(e);
1836
1835
  return g(n, r, t);
1837
1836
  }
1838
- function Hr(e, t) {
1839
- const n = t ? K(t) : "NO_ID_FIELD", r = `database:objectVal:${e.toString()}:idField=${n}`, i = cr(e, {
1837
+ function Kr(e, t) {
1838
+ const n = t ? H(t) : "NO_ID_FIELD", r = `database:objectVal:${e.toString()}:idField=${n}`, i = cr(e, {
1840
1839
  keyField: n
1841
1840
  });
1842
1841
  return g(r, i, t);
@@ -1846,7 +1845,7 @@ function Yr(e, t) {
1846
1845
  return g(n, r, t);
1847
1846
  }
1848
1847
  function Gr(e, t) {
1849
- const n = t ? K(t) : "NO_ID_FIELD", r = `database:listVal:${St(e)}:idField=${n}`, i = fr(e, {
1848
+ const n = t ? H(t) : "NO_ID_FIELD", r = `database:listVal:${St(e)}:idField=${n}`, i = fr(e, {
1850
1849
  keyField: n
1851
1850
  });
1852
1851
  return g(r, i, t);
@@ -1920,15 +1919,16 @@ function mr(e, t) {
1920
1919
  }));
1921
1920
  }
1922
1921
  class br extends ne {
1923
- constructor(t, n) {
1924
- super(), this._timeoutWindow = n, this._hasValue = !1, this._error = void 0, this._firstEmission = new Promise((r) => this._resolveFirstEmission = r), this._innerObservable = t.pipe(Bn({
1925
- next: (r) => {
1926
- this._next(r);
1922
+ constructor(t, n, r) {
1923
+ super(), this._timeoutWindow = n, this._suspenseEnabled = r, this._hasValue = !1, this._error = void 0, this._firstEmission = new Promise((i) => this._resolveFirstEmission = i), this._innerObservable = t.pipe(Bn({
1924
+ next: (i) => {
1925
+ this._next(i);
1927
1926
  },
1928
- error: (r) => {
1929
- this._error = r, this._resolveFirstEmission();
1927
+ error: (i) => {
1928
+ this._error = i, this._resolveFirstEmission();
1930
1929
  }
1931
- }), vt(() => mn()), Zn(1)), this._warmupSubscription = this._innerObservable.subscribe(), this._timeoutHandler = setTimeout(this._reset.bind(this), this._timeoutWindow);
1930
+ }), vt(() => mn()), Zn(1)), this._warmupSubscription = this._innerObservable.subscribe(), this._suspenseEnabled ? (console.log("SuspenseSubject: Suspense is enabled"), this._timeoutHandler = setTimeout(() => {
1931
+ }, this._timeoutWindow)) : this._timeoutHandler = setTimeout(this._reset.bind(this), this._timeoutWindow);
1932
1932
  }
1933
1933
  get hasValue() {
1934
1934
  return this._hasValue || !!this._error;
@@ -1958,12 +1958,12 @@ class br extends ne {
1958
1958
  }
1959
1959
  const yr = 3e4, Z = globalThis._reactFirePreloadedObservables || /* @__PURE__ */ new Map();
1960
1960
  globalThis._reactFirePreloadedObservables || (globalThis._reactFirePreloadedObservables = Z);
1961
- function Ae(e, t) {
1961
+ function Ae(e, t, n = !1) {
1962
1962
  if (Z.has(t))
1963
1963
  return Z.get(t);
1964
1964
  {
1965
- const n = new br(e, yr);
1966
- return Z.set(t, n), n;
1965
+ const r = new br(e, yr, n);
1966
+ return Z.set(t, r), r;
1967
1967
  }
1968
1968
  }
1969
1969
  function gr(e) {
@@ -1985,19 +1985,19 @@ function g(e, t, n = {}) {
1985
1985
  var r;
1986
1986
  if (!e)
1987
1987
  throw new Error("cannot call useObservable without an observableId");
1988
- const i = Ae(t, e), o = n.hasOwnProperty("initialData") || n.hasOwnProperty("startWithValue"), u = i.hasValue || o;
1989
- if (re(n.suspense) === !0 && !u)
1990
- throw i.firstEmission;
1991
- const s = {
1992
- status: u ? "success" : "loading",
1993
- hasEmitted: u,
1988
+ const i = re(n.suspense), o = Ae(t, e, i), u = n.hasOwnProperty("initialData") || n.hasOwnProperty("startWithValue"), s = o.hasValue || u;
1989
+ if (i === !0 && !s)
1990
+ throw o.firstEmission;
1991
+ const a = {
1992
+ status: s ? "success" : "loading",
1993
+ hasEmitted: s,
1994
1994
  isComplete: !1,
1995
- data: i.hasValue ? i.value : (r = n == null ? void 0 : n.initialData) !== null && r !== void 0 ? r : n == null ? void 0 : n.startWithValue,
1996
- error: i.ourError,
1997
- firstValuePromise: i.firstEmission
1998
- }, [c, l] = f.useReducer(gr(i), s);
1995
+ data: o.hasValue ? o.value : (r = n == null ? void 0 : n.initialData) !== null && r !== void 0 ? r : n == null ? void 0 : n.startWithValue,
1996
+ error: o.ourError,
1997
+ firstValuePromise: o.firstEmission
1998
+ }, [c, l] = f.useReducer(gr(o), a);
1999
1999
  return f.useEffect(() => {
2000
- const d = i.subscribe({
2000
+ const d = o.subscribe({
2001
2001
  next: () => {
2002
2002
  l("value");
2003
2003
  },
@@ -2009,7 +2009,7 @@ function g(e, t, n = {}) {
2009
2009
  }
2010
2010
  });
2011
2011
  return () => d.unsubscribe();
2012
- }, [i]), c;
2012
+ }, [o]), c;
2013
2013
  }
2014
2014
  const he = globalThis._reactFireFirestoreQueryCache || [];
2015
2015
  globalThis._reactFireFirestoreQueryCache || (globalThis._reactFireFirestoreQueryCache = he);
@@ -2035,13 +2035,13 @@ function Zr(e, t) {
2035
2035
  return g(n, r, t);
2036
2036
  }
2037
2037
  function Br(e, t) {
2038
- const n = t ? K(t) : "NO_ID_FIELD", r = `firestore:docData:${e.firestore.app.name}:${e.path}:idField=${n}`, i = Ct(e, {
2038
+ const n = t ? H(t) : "NO_ID_FIELD", r = `firestore:docData:${e.firestore.app.name}:${e.path}:idField=${n}`, i = Ct(e, {
2039
2039
  idField: n
2040
2040
  });
2041
2041
  return g(r, i, t);
2042
2042
  }
2043
2043
  function Xr(e, t) {
2044
- const n = t ? K(t) : "NO_ID_FIELD", r = `firestore:docDataOnce:${e.firestore.app.name}:${e.path}:idField=${n}`, i = Ct(e, {
2044
+ const n = t ? H(t) : "NO_ID_FIELD", r = `firestore:docDataOnce:${e.firestore.app.name}:${e.path}:idField=${n}`, i = Ct(e, {
2045
2045
  idField: n
2046
2046
  }).pipe(pt());
2047
2047
  return g(r, i, t);
@@ -2051,7 +2051,7 @@ function ei(e, t) {
2051
2051
  return g(n, r, t);
2052
2052
  }
2053
2053
  function ti(e, t) {
2054
- const n = t ? K(t) : "NO_ID_FIELD", r = `firestore:collectionData:${xt(e)}:idField=${n}`, i = mr(e, {
2054
+ const n = t ? H(t) : "NO_ID_FIELD", r = `firestore:collectionData:${xt(e)}:idField=${n}`, i = mr(e, {
2055
2055
  idField: n
2056
2056
  });
2057
2057
  return g(r, i, t);
@@ -2090,28 +2090,28 @@ function ri({
2090
2090
  fallback: n
2091
2091
  }) {
2092
2092
  var r;
2093
- const i = ((r = performance == null ? void 0 : performance.getEntriesByName) === null || r === void 0 ? void 0 : r.call(performance, t, "measure")) || [], o = `_${t}Start[${i.length}]`, u = `_${t}End[${i.length}]`, a = () => (f.useLayoutEffect(() => {
2094
- var s;
2095
- return (s = performance == null ? void 0 : performance.mark) === null || s === void 0 || s.call(performance, o), () => {
2093
+ const i = ((r = performance == null ? void 0 : performance.getEntriesByName) === null || r === void 0 ? void 0 : r.call(performance, t, "measure")) || [], o = `_${t}Start[${i.length}]`, u = `_${t}End[${i.length}]`, s = () => (f.useLayoutEffect(() => {
2094
+ var a;
2095
+ return (a = performance == null ? void 0 : performance.mark) === null || a === void 0 || a.call(performance, o), () => {
2096
2096
  var c, l;
2097
2097
  (c = performance == null ? void 0 : performance.mark) === null || c === void 0 || c.call(performance, u), (l = performance == null ? void 0 : performance.measure) === null || l === void 0 || l.call(performance, t, o, u);
2098
2098
  };
2099
2099
  }, []), f.createElement(f.Fragment, null, n));
2100
2100
  return f.createElement(f.Suspense, {
2101
- fallback: f.createElement(a, null)
2101
+ fallback: f.createElement(s, null)
2102
2102
  }, e);
2103
2103
  }
2104
2104
  function q(e) {
2105
2105
  var t = e.remoteConfig, n = e.key, r = e.getter;
2106
2106
  return new y(function(i) {
2107
- Kt(t).then(function() {
2107
+ Ht(t).then(function() {
2108
2108
  var o = r.bind(t);
2109
2109
  i.next(o(t, n));
2110
2110
  });
2111
2111
  });
2112
2112
  }
2113
2113
  function _r(e, t) {
2114
- var n = Ht;
2114
+ var n = Kt;
2115
2115
  return q({ remoteConfig: e, key: t, getter: n });
2116
2116
  }
2117
2117
  function Sr(e, t) {
@@ -2143,10 +2143,10 @@ function oi(e) {
2143
2143
  function ui(e) {
2144
2144
  return Q(e, Cr);
2145
2145
  }
2146
- function ai(e) {
2146
+ function si(e) {
2147
2147
  return Q(e, Er);
2148
2148
  }
2149
- function si(e) {
2149
+ function ai(e) {
2150
2150
  return Q(e, xr);
2151
2151
  }
2152
2152
  function Ir(e) {
@@ -2203,11 +2203,11 @@ function Ot(e) {
2203
2203
  if (!t)
2204
2204
  throw new Error("Storage was not passed to component INTERNALStorageImage. This should not be possible");
2205
2205
  const {
2206
- status: a,
2207
- data: s
2206
+ status: s,
2207
+ data: a
2208
2208
  } = kr(Qt(t, n), u);
2209
- return a === "success" ? (o.alt || o.alt === "" || console.warn(`No alt prop provided for StorageImage with storagePath "${n}"`, "img elements must have an alt prop, either with meaningful text, or an empty string for decorative images"), f.createElement("img", Object.assign({
2210
- src: s,
2209
+ return s === "success" ? (o.alt || o.alt === "" || console.warn(`No alt prop provided for StorageImage with storagePath "${n}"`, "img elements must have an alt prop, either with meaningful text, or an empty string for decorative images"), f.createElement("img", Object.assign({
2210
+ src: a,
2211
2211
  alt: o.alt
2212
2212
  }, o))) : i != null ? i : f.createElement(f.Fragment, null, "''");
2213
2213
  }
@@ -2258,7 +2258,7 @@ function At(e, t) {
2258
2258
  function Di(e) {
2259
2259
  return At(e, "initialData");
2260
2260
  }
2261
- function K(e) {
2261
+ function H(e) {
2262
2262
  return At(e, "idField");
2263
2263
  }
2264
2264
  export {
@@ -2286,7 +2286,7 @@ export {
2286
2286
  yi as StorageProvider,
2287
2287
  je as StorageSdkContext,
2288
2288
  ri as SuspenseWithPerf,
2289
- K as checkIdField,
2289
+ H as checkIdField,
2290
2290
  At as checkOptions,
2291
2291
  Di as checkinitialData,
2292
2292
  Jr as preloadFirestoreDoc,
@@ -2299,8 +2299,8 @@ export {
2299
2299
  Si as useDatabase,
2300
2300
  Yr as useDatabaseList,
2301
2301
  Gr as useDatabaseListData,
2302
- Kr as useDatabaseObject,
2303
- Hr as useDatabaseObjectData,
2302
+ Hr as useDatabaseObject,
2303
+ Kr as useDatabaseObjectData,
2304
2304
  yt as useFirebaseApp,
2305
2305
  Ci as useFirestore,
2306
2306
  ei as useFirestoreCollection,
@@ -2324,8 +2324,8 @@ export {
2324
2324
  g as useObservable,
2325
2325
  Ei as usePerformance,
2326
2326
  $r as useRemoteConfig,
2327
- si as useRemoteConfigAll,
2328
- ai as useRemoteConfigBoolean,
2327
+ ai as useRemoteConfigAll,
2328
+ si as useRemoteConfigBoolean,
2329
2329
  ui as useRemoteConfigNumber,
2330
2330
  oi as useRemoteConfigString,
2331
2331
  ii as useRemoteConfigValue,