@nl-portal/nl-portal-api 0.2.0-alpha.41 → 0.2.0-alpha.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- import { _ as p, a as L, b as Y, c as ee, d as te, e as U } from "./tslib@2.6.2--5uNHRLn.js";
2
- import { w as Me, d as zr } from "./optimism@0.18.0-HGYEqOr2.js";
3
- import { e as F } from "./@wry_equality@0.5.7-B4-3SnYn.js";
1
+ import { _ as p, a as L, b as Y, c as ee, d as te, e as U } from "./tslib@2.8.1-B0P70W8Y.js";
2
+ import { w as Me, d as zr } from "./optimism@0.18.1-1D5hWBzq.js";
3
+ import { e as F } from "./@wry_equality@0.5.7-CBKEM4oH.js";
4
4
  import { O as Q } from "./zen-observable-ts@1.2.5-DOQIqfq0.js";
5
- import { S as rr, W as Ge } from "./@wry_caches@1.0.1-B3M4rOrn.js";
6
- import { T as he } from "./@wry_trie@0.5.0-BddknVTL.js";
7
- import { v as ne, B as Br, p as Ln, K as W, i as nr } from "./graphql@16.8.1-H_Y5NI5K.js";
5
+ import { W as Ge, S as rr } from "./@wry_caches@1.0.1-B3M4rOrn.js";
6
+ import { T as he } from "./@wry_trie@0.5.0-C_W0WteG.js";
7
+ import { v as ne, B as Br, p as Ln, K as W, i as nr } from "./graphql@16.10.0-kiuVnKLx.js";
8
8
  import "./symbol-observable@4.0.0-C4hJuNth.js";
9
- import { S as An } from "./@wry_context@0.7.4-18Iknt7s.js";
10
- import { i as Ee, I as Nn } from "./ts-invariant@0.10.3-mVIcCCGz.js";
11
- import { R as It, r as R } from "./rehackt@0.1.0_@types_react@18.3.3_react@18.3.1-CiIBBSrF.js";
9
+ import { S as An } from "./@wry_context@0.7.4-BFtqmAuW.js";
10
+ import { i as Ee, I as Nn } from "./ts-invariant@0.10.3-Bj_I1yha.js";
11
+ import { R as It, r as R } from "./rehackt@0.1.0_@types_react@18.3.18_react@18.3.1-a243Pvyv.js";
12
12
  var xt = "3.11.1";
13
13
  function B(r) {
14
14
  try {
@@ -131,7 +131,7 @@ function zn(r) {
131
131
  }
132
132
  var Kr = B(function() {
133
133
  return navigator.product;
134
- }) == "ReactNative", ve = typeof WeakMap == "function" && !(Kr && !global.HermesInternal), Gr = typeof WeakSet == "function", At = typeof Symbol == "function" && typeof Symbol.for == "function", Ye = At && Symbol.asyncIterator, Jr = typeof B(function() {
134
+ }) == "ReactNative", de = typeof WeakMap == "function" && !(Kr && !global.HermesInternal), Gr = typeof WeakSet == "function", At = typeof Symbol == "function" && typeof Symbol.for == "function", Ye = At && Symbol.asyncIterator, Jr = typeof B(function() {
135
135
  return window.document.createElement;
136
136
  }) == "function", Bn = (
137
137
  // Following advice found in this comment from @domenic (maintainer of jsdom):
@@ -367,10 +367,10 @@ function si(r) {
367
367
  function ui(r) {
368
368
  return r.kind === "FloatValue";
369
369
  }
370
- function ci(r) {
370
+ function fi(r) {
371
371
  return r.kind === "Variable";
372
372
  }
373
- function fi(r) {
373
+ function ci(r) {
374
374
  return r.kind === "ObjectValue";
375
375
  }
376
376
  function li(r) {
@@ -379,7 +379,7 @@ function li(r) {
379
379
  function hi(r) {
380
380
  return r.kind === "EnumValue";
381
381
  }
382
- function vi(r) {
382
+ function di(r) {
383
383
  return r.kind === "NullValue";
384
384
  }
385
385
  function we(r, e, t, n) {
@@ -387,12 +387,12 @@ function we(r, e, t, n) {
387
387
  r[e.value] = Number(t.value);
388
388
  else if (oi(t) || ai(t))
389
389
  r[e.value] = t.value;
390
- else if (fi(t)) {
390
+ else if (ci(t)) {
391
391
  var i = {};
392
392
  t.fields.map(function(o) {
393
393
  return we(i, o.name, o.value, n);
394
394
  }), r[e.value] = i;
395
- } else if (ci(t)) {
395
+ } else if (fi(t)) {
396
396
  var a = (n || {})[t.name.value];
397
397
  r[e.value] = a;
398
398
  } else if (li(t))
@@ -402,7 +402,7 @@ function we(r, e, t, n) {
402
402
  });
403
403
  else if (hi(t))
404
404
  r[e.value] = t.value;
405
- else if (vi(t))
405
+ else if (di(t))
406
406
  r[e.value] = null;
407
407
  else
408
408
  throw A(84, e.value, t.kind);
@@ -421,7 +421,7 @@ function pi(r, e) {
421
421
  return we(n, a, o, e);
422
422
  })), en(r.name.value, n, t);
423
423
  }
424
- var di = [
424
+ var vi = [
425
425
  "connection",
426
426
  "include",
427
427
  "skip",
@@ -446,7 +446,7 @@ var di = [
446
446
  a += "(".concat(o, ")");
447
447
  }
448
448
  return t && Object.keys(t).forEach(function(s) {
449
- di.indexOf(s) === -1 && (t[s] && Object.keys(t[s]).length ? a += "@".concat(s, "(").concat(_e(t[s]), ")") : a += "@".concat(s));
449
+ vi.indexOf(s) === -1 && (t[s] && Object.keys(t[s]).length ? a += "@".concat(s, "(").concat(_e(t[s]), ")") : a += "@".concat(s));
450
450
  }), a;
451
451
  }, {
452
452
  setStringify: function(r) {
@@ -479,9 +479,9 @@ function wt(r, e, t) {
479
479
  return r.__typename;
480
480
  if (n)
481
481
  for (var s = 0, u = n; s < u.length; s++) {
482
- var o = u[s], c = wt(r, Ze(o, t).selectionSet, t);
483
- if (typeof c == "string")
484
- return c;
482
+ var o = u[s], f = wt(r, Ze(o, t).selectionSet, t);
483
+ if (typeof f == "string")
484
+ return f;
485
485
  }
486
486
  }
487
487
  function ae(r) {
@@ -573,7 +573,7 @@ var rn = (
573
573
  }, r.prototype.resetCache = function() {
574
574
  var e = this;
575
575
  if (this.cached) {
576
- var t = new he(ve);
576
+ var t = new he(de);
577
577
  this.performWork = Me(r.prototype.performWork.bind(this), {
578
578
  makeCacheKey: function(n) {
579
579
  var i = e.getCacheKey(n);
@@ -667,8 +667,8 @@ function sr(r) {
667
667
  }
668
668
  function an(r, e) {
669
669
  je(e);
670
- for (var t = sr(""), n = sr(""), i = function(d) {
671
- for (var O = 0, b = void 0; O < d.length && (b = d[O]); ++O)
670
+ for (var t = sr(""), n = sr(""), i = function(v) {
671
+ for (var O = 0, b = void 0; O < v.length && (b = v[O]); ++O)
672
672
  if (!I(b)) {
673
673
  if (b.kind === W.OPERATION_DEFINITION)
674
674
  return t(b.name && b.name.value);
@@ -678,14 +678,14 @@ function an(r, e) {
678
678
  return globalThis.__DEV__ !== !1 && _.error(85), null;
679
679
  }, a = 0, o = e.definitions.length - 1; o >= 0; --o)
680
680
  e.definitions[o].kind === W.OPERATION_DEFINITION && ++a;
681
- var s = Oi(r), u = function(d) {
682
- return N(d) && d.map(s).some(function(O) {
681
+ var s = Oi(r), u = function(v) {
682
+ return N(v) && v.map(s).some(function(O) {
683
683
  return O && O.remove;
684
684
  });
685
- }, c = /* @__PURE__ */ new Map(), f = !1, l = {
686
- enter: function(d) {
687
- if (u(d.directives))
688
- return f = !0, null;
685
+ }, f = /* @__PURE__ */ new Map(), c = !1, l = {
686
+ enter: function(v) {
687
+ if (u(v.directives))
688
+ return c = !0, null;
689
689
  }
690
690
  }, h = ne(e, {
691
691
  // These two AST node types share the same implementation, defined above.
@@ -697,75 +697,75 @@ function an(r, e) {
697
697
  }
698
698
  },
699
699
  Variable: {
700
- enter: function(d, O, b, w, S) {
700
+ enter: function(v, O, b, w, S) {
701
701
  var E = i(S);
702
- E && E.variables.add(d.name.value);
702
+ E && E.variables.add(v.name.value);
703
703
  }
704
704
  },
705
705
  FragmentSpread: {
706
- enter: function(d, O, b, w, S) {
707
- if (u(d.directives))
708
- return f = !0, null;
706
+ enter: function(v, O, b, w, S) {
707
+ if (u(v.directives))
708
+ return c = !0, null;
709
709
  var E = i(S);
710
- E && E.fragmentSpreads.add(d.name.value);
710
+ E && E.fragmentSpreads.add(v.name.value);
711
711
  }
712
712
  },
713
713
  FragmentDefinition: {
714
- enter: function(d, O, b, w) {
715
- c.set(JSON.stringify(w), d);
714
+ enter: function(v, O, b, w) {
715
+ f.set(JSON.stringify(w), v);
716
716
  },
717
- leave: function(d, O, b, w) {
718
- var S = c.get(JSON.stringify(w));
719
- if (d === S)
720
- return d;
717
+ leave: function(v, O, b, w) {
718
+ var S = f.get(JSON.stringify(w));
719
+ if (v === S)
720
+ return v;
721
721
  if (
722
722
  // This logic applies only if the document contains one or more
723
723
  // operations, since removing all fragments from a document containing
724
724
  // only fragments makes the document useless.
725
- a > 0 && d.selectionSet.selections.every(function(E) {
725
+ a > 0 && v.selectionSet.selections.every(function(E) {
726
726
  return E.kind === W.FIELD && E.name.value === "__typename";
727
727
  })
728
728
  )
729
- return n(d.name.value).removed = !0, f = !0, null;
729
+ return n(v.name.value).removed = !0, c = !0, null;
730
730
  }
731
731
  },
732
732
  Directive: {
733
- leave: function(d) {
734
- if (s(d))
735
- return f = !0, null;
733
+ leave: function(v) {
734
+ if (s(v))
735
+ return c = !0, null;
736
736
  }
737
737
  }
738
738
  });
739
- if (!f)
739
+ if (!c)
740
740
  return e;
741
- var v = function(d) {
742
- return d.transitiveVars || (d.transitiveVars = new Set(d.variables), d.removed || d.fragmentSpreads.forEach(function(O) {
743
- v(n(O)).transitiveVars.forEach(function(b) {
744
- d.transitiveVars.add(b);
741
+ var d = function(v) {
742
+ return v.transitiveVars || (v.transitiveVars = new Set(v.variables), v.removed || v.fragmentSpreads.forEach(function(O) {
743
+ d(n(O)).transitiveVars.forEach(function(b) {
744
+ v.transitiveVars.add(b);
745
745
  });
746
- })), d;
746
+ })), v;
747
747
  }, y = /* @__PURE__ */ new Set();
748
- h.definitions.forEach(function(d) {
749
- d.kind === W.OPERATION_DEFINITION ? v(t(d.name && d.name.value)).fragmentSpreads.forEach(function(O) {
748
+ h.definitions.forEach(function(v) {
749
+ v.kind === W.OPERATION_DEFINITION ? d(t(v.name && v.name.value)).fragmentSpreads.forEach(function(O) {
750
750
  y.add(O);
751
- }) : d.kind === W.FRAGMENT_DEFINITION && // If there are no operations in the document, then all fragment
751
+ }) : v.kind === W.FRAGMENT_DEFINITION && // If there are no operations in the document, then all fragment
752
752
  // definitions count as usages of their own fragment names. This heuristic
753
753
  // prevents accidentally removing all fragment definitions from the
754
754
  // document just because it contains no operations that use the fragments.
755
- a === 0 && !n(d.name.value).removed && y.add(d.name.value);
756
- }), y.forEach(function(d) {
757
- v(n(d)).fragmentSpreads.forEach(function(O) {
755
+ a === 0 && !n(v.name.value).removed && y.add(v.name.value);
756
+ }), y.forEach(function(v) {
757
+ d(n(v)).fragmentSpreads.forEach(function(O) {
758
758
  y.add(O);
759
759
  });
760
760
  });
761
- var m = function(d) {
761
+ var m = function(v) {
762
762
  return !!// A fragment definition will be removed if there are no spreads that refer
763
763
  // to it, or the fragment was explicitly removed because it had no fields
764
764
  // other than __typename.
765
- (!y.has(d) || n(d).removed);
765
+ (!y.has(v) || n(v).removed);
766
766
  }, g = {
767
- enter: function(d) {
768
- if (m(d.name.value))
767
+ enter: function(v) {
768
+ if (m(v.name.value))
769
769
  return null;
770
770
  }
771
771
  };
@@ -776,14 +776,14 @@ function an(r, e) {
776
776
  // This is where the fragment definition is actually removed.
777
777
  FragmentDefinition: g,
778
778
  OperationDefinition: {
779
- leave: function(d) {
780
- if (d.variableDefinitions) {
781
- var O = v(
779
+ leave: function(v) {
780
+ if (v.variableDefinitions) {
781
+ var O = d(
782
782
  // If an operation is anonymous, we use the empty string as its key.
783
- t(d.name && d.name.value)
783
+ t(v.name && v.name.value)
784
784
  ).transitiveVars;
785
- if (O.size < d.variableDefinitions.length)
786
- return p(p({}, d), { variableDefinitions: d.variableDefinitions.filter(function(b) {
785
+ if (O.size < v.variableDefinitions.length)
786
+ return p(p({}, v), { variableDefinitions: v.variableDefinitions.filter(function(b) {
787
787
  return O.has(b.variable.name.value);
788
788
  }) });
789
789
  }
@@ -885,8 +885,8 @@ var Ei = function(r, e, t) {
885
885
  return q(e) && (this.pastCopies.has(e) || (Array.isArray(e) ? e = e.slice(0) : e = p({ __proto__: Object.getPrototypeOf(e) }, e), this.pastCopies.add(e))), e;
886
886
  }, r;
887
887
  }()
888
- ), cr = Q.prototype, fr = "@@observable";
889
- cr[fr] || (cr[fr] = function() {
888
+ ), fr = Q.prototype, cr = "@@observable";
889
+ fr[cr] || (fr[cr] = function() {
890
890
  return this;
891
891
  });
892
892
  function st(r) {
@@ -980,19 +980,19 @@ function ut(r, e, t) {
980
980
  // in this case, for backwards compatibility, we need to be careful to
981
981
  // invoke the first callback synchronously.
982
982
  then: function(u) {
983
- return new Promise(function(c) {
984
- return c(u());
983
+ return new Promise(function(f) {
984
+ return f(u());
985
985
  });
986
986
  }
987
987
  };
988
- function a(u, c) {
989
- return function(f) {
988
+ function a(u, f) {
989
+ return function(c) {
990
990
  if (u) {
991
991
  var l = function() {
992
992
  return n.closed ? (
993
993
  /* will be swallowed */
994
994
  0
995
- ) : u(f);
995
+ ) : u(c);
996
996
  };
997
997
  i = i.then(l, l).then(function(h) {
998
998
  return n.next(h);
@@ -1000,7 +1000,7 @@ function ut(r, e, t) {
1000
1000
  return n.error(h);
1001
1001
  });
1002
1002
  } else
1003
- n[c](f);
1003
+ n[f](c);
1004
1004
  };
1005
1005
  }
1006
1006
  var o = {
@@ -1017,7 +1017,7 @@ function ut(r, e, t) {
1017
1017
  };
1018
1018
  });
1019
1019
  }
1020
- function cn(r) {
1020
+ function fn(r) {
1021
1021
  function e(t) {
1022
1022
  Object.defineProperty(r, t, { value: Q });
1023
1023
  }
@@ -1026,7 +1026,7 @@ function cn(r) {
1026
1026
  function lr(r) {
1027
1027
  return r && typeof r.then == "function";
1028
1028
  }
1029
- var de = (
1029
+ var ve = (
1030
1030
  /** @class */
1031
1031
  function(r) {
1032
1032
  Y(e, r);
@@ -1052,8 +1052,8 @@ var de = (
1052
1052
  var i = n, a = i.sub, o = i.sources, s = o === void 0 ? [] : o;
1053
1053
  if (a !== null) {
1054
1054
  var u = s.shift();
1055
- u ? lr(u) ? u.then(function(c) {
1056
- return n.sub = c.subscribe(n.handlers);
1055
+ u ? lr(u) ? u.then(function(f) {
1056
+ return n.sub = f.subscribe(n.handlers);
1057
1057
  }, n.handlers.error) : n.sub = u.subscribe(n.handlers) : (a && setTimeout(function() {
1058
1058
  return a.unsubscribe();
1059
1059
  }), n.sub = null, n.latest && n.latest[0] === "next" ? n.resolve(n.latest[1]) : n.resolve(), n.notify("complete"), Te(n.observers, "complete"));
@@ -1090,7 +1090,7 @@ var de = (
1090
1090
  }, e;
1091
1091
  }(Q)
1092
1092
  );
1093
- cn(de);
1093
+ fn(ve);
1094
1094
  function Oe(r) {
1095
1095
  return "incremental" in r;
1096
1096
  }
@@ -1103,12 +1103,12 @@ function Fi(r) {
1103
1103
  function Mi(r) {
1104
1104
  return q(r) && "payload" in r;
1105
1105
  }
1106
- function fn(r, e) {
1106
+ function cn(r, e) {
1107
1107
  var t = r, n = new oe();
1108
1108
  return Oe(e) && N(e.incremental) && e.incremental.forEach(function(i) {
1109
1109
  for (var a = i.data, o = i.path, s = o.length - 1; s >= 0; --s) {
1110
- var u = o[s], c = !isNaN(+u), f = c ? [] : {};
1111
- f[u] = a, a = f;
1110
+ var u = o[s], f = !isNaN(+u), c = f ? [] : {};
1111
+ c[u] = a, a = c;
1112
1112
  }
1113
1113
  t = n.merge(t, a);
1114
1114
  }), t;
@@ -1134,12 +1134,12 @@ function le() {
1134
1134
  });
1135
1135
  }), t;
1136
1136
  }
1137
- function fe(r, e) {
1137
+ function ce(r, e) {
1138
1138
  return le(r, e, e.variables && {
1139
1139
  variables: le(p(p({}, r && r.variables), e.variables))
1140
1140
  });
1141
1141
  }
1142
- function ct(r) {
1142
+ function ft(r) {
1143
1143
  return new Q(function(e) {
1144
1144
  e.error(r);
1145
1145
  });
@@ -1281,8 +1281,8 @@ function ji(r) {
1281
1281
  function s(l) {
1282
1282
  t = l;
1283
1283
  var h = a.slice();
1284
- h.forEach(function(v) {
1285
- v[1](l);
1284
+ h.forEach(function(d) {
1285
+ d[1](l);
1286
1286
  }), !e || e();
1287
1287
  }
1288
1288
  function u() {
@@ -1295,7 +1295,7 @@ function ji(r) {
1295
1295
  e = function() {
1296
1296
  e = null, r.removeListener("data", o), r.removeListener("error", s), r.removeListener("end", u), r.removeListener("finish", u), r.removeListener("close", u);
1297
1297
  }, r.on("data", o), r.on("error", s), r.on("end", u), r.on("finish", u), r.on("close", u);
1298
- function c() {
1298
+ function f() {
1299
1299
  return new Promise(function(l, h) {
1300
1300
  if (t)
1301
1301
  return h(t);
@@ -1306,14 +1306,14 @@ function ji(r) {
1306
1306
  a.push([l, h]);
1307
1307
  });
1308
1308
  }
1309
- var f = {
1309
+ var c = {
1310
1310
  next: function() {
1311
- return c();
1311
+ return f();
1312
1312
  }
1313
1313
  };
1314
- return Ye && (f[Symbol.asyncIterator] = function() {
1314
+ return Ye && (c[Symbol.asyncIterator] = function() {
1315
1315
  return this;
1316
- }), f;
1316
+ }), c;
1317
1317
  }
1318
1318
  function Li(r) {
1319
1319
  var e = !1, t = {
@@ -1332,7 +1332,7 @@ function Li(r) {
1332
1332
  return this;
1333
1333
  }), t;
1334
1334
  }
1335
- function vr(r) {
1335
+ function dr(r) {
1336
1336
  var e = {
1337
1337
  next: function() {
1338
1338
  return r.read();
@@ -1365,9 +1365,9 @@ function Ui(r) {
1365
1365
  if (Ai(r) && (e = r.body), Vi(e))
1366
1366
  return xi(e);
1367
1367
  if (Ni(e))
1368
- return vr(e.getReader());
1368
+ return dr(e.getReader());
1369
1369
  if (Wi(e))
1370
- return vr(e.stream().getReader());
1370
+ return dr(e.stream().getReader());
1371
1371
  if (zi(e))
1372
1372
  return Li(e.arrayBuffer());
1373
1373
  if (Bi(e))
@@ -1392,38 +1392,38 @@ var Gi = function(r) {
1392
1392
  function(r) {
1393
1393
  Y(e, r);
1394
1394
  function e(t) {
1395
- var n = t.graphQLErrors, i = t.protocolErrors, a = t.clientErrors, o = t.networkError, s = t.errorMessage, u = t.extraInfo, c = r.call(this, s) || this;
1396
- return c.name = "ApolloError", c.graphQLErrors = n || [], c.protocolErrors = i || [], c.clientErrors = a || [], c.networkError = o || null, c.message = s || Gi(c), c.extraInfo = u, c.cause = L(L(L([
1395
+ var n = t.graphQLErrors, i = t.protocolErrors, a = t.clientErrors, o = t.networkError, s = t.errorMessage, u = t.extraInfo, f = r.call(this, s) || this;
1396
+ return f.name = "ApolloError", f.graphQLErrors = n || [], f.protocolErrors = i || [], f.clientErrors = a || [], f.networkError = o || null, f.message = s || Gi(f), f.extraInfo = u, f.cause = L(L(L([
1397
1397
  o
1398
- ], n || [], !0), i || [], !0), a || [], !0).find(function(f) {
1399
- return !!f;
1400
- }) || null, c.__proto__ = e.prototype, c;
1398
+ ], n || [], !0), i || [], !0), a || [], !0).find(function(c) {
1399
+ return !!c;
1400
+ }) || null, f.__proto__ = e.prototype, f;
1401
1401
  }
1402
1402
  return e;
1403
1403
  }(Error)
1404
1404
  ), pr = Object.prototype.hasOwnProperty;
1405
1405
  function Ji(r, e) {
1406
1406
  return ee(this, void 0, void 0, function() {
1407
- var t, n, i, a, o, s, u, c, f, l, h, v, y, m, g, d, O, b, w, S, E, D, k, T;
1407
+ var t, n, i, a, o, s, u, f, c, l, h, d, y, m, g, v, O, b, w, S, E, D, k, T;
1408
1408
  return te(this, function(C) {
1409
1409
  switch (C.label) {
1410
1410
  case 0:
1411
1411
  if (TextDecoder === void 0)
1412
1412
  throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");
1413
1413
  t = new TextDecoder("utf-8"), n = (T = r.headers) === null || T === void 0 ? void 0 : T.get("content-type"), i = "boundary=", a = n != null && n.includes(i) ? n == null ? void 0 : n.substring((n == null ? void 0 : n.indexOf(i)) + i.length).replace(/['"]/g, "").replace(/\;(.*)/gm, "").trim() : "-", o = `\r
1414
- --`.concat(a), s = "", u = Ui(r), c = !0, C.label = 1;
1414
+ --`.concat(a), s = "", u = Ui(r), f = !0, C.label = 1;
1415
1415
  case 1:
1416
- return c ? [4, u.next()] : [3, 3];
1416
+ return f ? [4, u.next()] : [3, 3];
1417
1417
  case 2:
1418
- for (f = C.sent(), l = f.value, h = f.done, v = typeof l == "string" ? l : t.decode(l), y = s.length - o.length + 1, c = !h, s += v, m = s.indexOf(o, y); m > -1; ) {
1418
+ for (c = C.sent(), l = c.value, h = c.done, d = typeof l == "string" ? l : t.decode(l), y = s.length - o.length + 1, f = !h, s += d, m = s.indexOf(o, y); m > -1; ) {
1419
1419
  if (g = void 0, D = [
1420
1420
  s.slice(0, m),
1421
1421
  s.slice(m + o.length)
1422
- ], g = D[0], s = D[1], d = g.indexOf(`\r
1422
+ ], g = D[0], s = D[1], v = g.indexOf(`\r
1423
1423
  \r
1424
- `), O = $i(g.slice(0, d)), b = O["content-type"], b && b.toLowerCase().indexOf("application/json") === -1)
1424
+ `), O = $i(g.slice(0, v)), b = O["content-type"], b && b.toLowerCase().indexOf("application/json") === -1)
1425
1425
  throw new Error("Unsupported patch content type: application/json is required.");
1426
- if (w = g.slice(d), w) {
1426
+ if (w = g.slice(v), w) {
1427
1427
  if (S = hn(r, w), Object.keys(S).length > 1 || "data" in S || "incremental" in S || "errors" in S || "payload" in S)
1428
1428
  if (Mi(S)) {
1429
1429
  if (E = {}, "payload" in S) {
@@ -1547,10 +1547,10 @@ function ia(r, e) {
1547
1547
  t.forEach(function(l) {
1548
1548
  i = p(p(p({}, i), l.options), { headers: p(p({}, i.headers), l.headers) }), l.credentials && (i.credentials = l.credentials), a = p(p({}, a), l.http);
1549
1549
  }), i.headers && (i.headers = aa(i.headers, a.preserveHeaderCase));
1550
- var o = r.operationName, s = r.extensions, u = r.variables, c = r.query, f = { operationName: o, variables: u };
1551
- return a.includeExtensions && (f.extensions = s), a.includeQuery && (f.query = e(c, rt)), {
1550
+ var o = r.operationName, s = r.extensions, u = r.variables, f = r.query, c = { operationName: o, variables: u };
1551
+ return a.includeExtensions && (c.extensions = s), a.includeQuery && (c.query = e(f, rt)), {
1552
1552
  options: i,
1553
- body: f
1553
+ body: c
1554
1554
  };
1555
1555
  }
1556
1556
  function aa(r, e) {
@@ -1603,25 +1603,25 @@ function ua(r, e) {
1603
1603
  }
1604
1604
  var o = "", s = r, u = r.indexOf("#");
1605
1605
  u !== -1 && (o = r.substr(u), s = r.substr(0, u));
1606
- var c = s.indexOf("?") === -1 ? "?" : "&", f = s + c + t.join("&") + o;
1607
- return { newURI: f };
1606
+ var f = s.indexOf("?") === -1 ? "?" : "&", c = s + f + t.join("&") + o;
1607
+ return { newURI: c };
1608
1608
  }
1609
- var dr = B(function() {
1609
+ var vr = B(function() {
1610
1610
  return fetch;
1611
- }), ca = function(r) {
1611
+ }), fa = function(r) {
1612
1612
  r === void 0 && (r = {});
1613
- var e = r.uri, t = e === void 0 ? "/graphql" : e, n = r.fetch, i = r.print, a = i === void 0 ? na : i, o = r.includeExtensions, s = r.preserveHeaderCase, u = r.useGETForQueries, c = r.includeUnusedVariables, f = c === void 0 ? !1 : c, l = U(r, ["uri", "fetch", "print", "includeExtensions", "preserveHeaderCase", "useGETForQueries", "includeUnusedVariables"]);
1614
- globalThis.__DEV__ !== !1 && oa(n || dr);
1613
+ var e = r.uri, t = e === void 0 ? "/graphql" : e, n = r.fetch, i = r.print, a = i === void 0 ? na : i, o = r.includeExtensions, s = r.preserveHeaderCase, u = r.useGETForQueries, f = r.includeUnusedVariables, c = f === void 0 ? !1 : f, l = U(r, ["uri", "fetch", "print", "includeExtensions", "preserveHeaderCase", "useGETForQueries", "includeUnusedVariables"]);
1614
+ globalThis.__DEV__ !== !1 && oa(n || vr);
1615
1615
  var h = {
1616
1616
  http: { includeExtensions: o, preserveHeaderCase: s },
1617
1617
  options: l.fetchOptions,
1618
1618
  credentials: l.credentials,
1619
1619
  headers: l.headers
1620
1620
  };
1621
- return new Ne(function(v) {
1622
- var y = sa(v, t), m = v.getContext(), g = {};
1621
+ return new Ne(function(d) {
1622
+ var y = sa(d, t), m = d.getContext(), g = {};
1623
1623
  if (m.clientAwareness) {
1624
- var d = m.clientAwareness, O = d.name, b = d.version;
1624
+ var v = m.clientAwareness, O = v.name, b = v.version;
1625
1625
  O && (g["apollographql-client-name"] = O), b && (g["apollographql-client-version"] = b);
1626
1626
  }
1627
1627
  var w = p(p({}, g), m.headers), S = {
@@ -1630,22 +1630,22 @@ var dr = B(function() {
1630
1630
  credentials: m.credentials,
1631
1631
  headers: w
1632
1632
  };
1633
- if (Ce(["client"], v.query)) {
1634
- var E = on(v.query);
1633
+ if (Ce(["client"], d.query)) {
1634
+ var E = on(d.query);
1635
1635
  if (!E)
1636
- return ct(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));
1637
- v.query = E;
1636
+ return ft(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));
1637
+ d.query = E;
1638
1638
  }
1639
- var D = ia(v, a, ra, h, S), k = D.options, T = D.body;
1640
- T.variables && !f && (T.variables = Ii(T.variables, v.query));
1639
+ var D = ia(d, a, ra, h, S), k = D.options, T = D.body;
1640
+ T.variables && !c && (T.variables = Ii(T.variables, d.query));
1641
1641
  var C;
1642
1642
  !k.signal && typeof AbortController < "u" && (C = new AbortController(), k.signal = C.signal);
1643
1643
  var z = function(V) {
1644
1644
  return V.kind === "OperationDefinition" && V.operation === "mutation";
1645
1645
  }, X = function(V) {
1646
1646
  return V.kind === "OperationDefinition" && V.operation === "subscription";
1647
- }, x = X(Ae(v.query)), K = Ce(["defer"], v.query);
1648
- if (u && !v.query.definitions.some(z) && (k.method = "GET"), K || x) {
1647
+ }, x = X(Ae(d.query)), K = Ce(["defer"], d.query);
1648
+ if (u && !d.query.definitions.some(z) && (k.method = "GET"), K || x) {
1649
1649
  k.headers = k.headers || {};
1650
1650
  var it = "multipart/mixed;";
1651
1651
  x && K && globalThis.__DEV__ !== !1 && _.warn(38), x ? it += "boundary=graphql;subscriptionSpec=1.0,application/json" : K && (it += "deferSpec=20220824,application/json"), k.headers.accept = it;
@@ -1653,23 +1653,23 @@ var dr = B(function() {
1653
1653
  if (k.method === "GET") {
1654
1654
  var Xt = ua(y, T), xn = Xt.newURI, Zt = Xt.parseError;
1655
1655
  if (Zt)
1656
- return ct(Zt);
1656
+ return ft(Zt);
1657
1657
  y = xn;
1658
1658
  } else
1659
1659
  try {
1660
1660
  k.body = Rt(T, "Payload");
1661
1661
  } catch (V) {
1662
- return ct(V);
1662
+ return ft(V);
1663
1663
  }
1664
1664
  return new Q(function(V) {
1665
1665
  var jn = n || B(function() {
1666
1666
  return fetch;
1667
- }) || dr, er = V.next.bind(V);
1667
+ }) || vr, er = V.next.bind(V);
1668
1668
  return jn(y, k).then(function(pe) {
1669
1669
  var at;
1670
- v.setContext({ response: pe });
1670
+ d.setContext({ response: pe });
1671
1671
  var tr = (at = pe.headers) === null || at === void 0 ? void 0 : at.get("content-type");
1672
- return tr !== null && /^multipart\/mixed/i.test(tr) ? Ji(pe, er) : Xi(v)(pe).then(er);
1672
+ return tr !== null && /^multipart\/mixed/i.test(tr) ? Ji(pe, er) : Xi(d)(pe).then(er);
1673
1673
  }).then(function() {
1674
1674
  C = void 0, V.complete();
1675
1675
  }).catch(function(pe) {
@@ -1679,19 +1679,19 @@ var dr = B(function() {
1679
1679
  };
1680
1680
  });
1681
1681
  });
1682
- }, fa = (
1682
+ }, ca = (
1683
1683
  /** @class */
1684
1684
  function(r) {
1685
1685
  Y(e, r);
1686
1686
  function e(t) {
1687
1687
  t === void 0 && (t = {});
1688
- var n = r.call(this, ca(t).request) || this;
1688
+ var n = r.call(this, fa(t).request) || this;
1689
1689
  return n.options = t, n;
1690
1690
  }
1691
1691
  return e;
1692
1692
  }(Ne)
1693
1693
  );
1694
- function vn(r, e, t, n) {
1694
+ function dn(r, e, t, n) {
1695
1695
  var i = e.data, a = U(e, ["data"]), o = t.data, s = U(t, ["data"]);
1696
1696
  return F(a, s) && Ue(Ae(r).selectionSet, i, o, {
1697
1697
  fragmentMap: Xe(tt(r)),
@@ -1706,22 +1706,22 @@ function Ue(r, e, t, n) {
1706
1706
  if (i.has(a) || (i.add(a), !xe(a, n.variables)) || yr(a))
1707
1707
  return !0;
1708
1708
  if (ae(a)) {
1709
- var o = ie(a), s = e && e[o], u = t && t[o], c = a.selectionSet;
1710
- if (!c)
1709
+ var o = ie(a), s = e && e[o], u = t && t[o], f = a.selectionSet;
1710
+ if (!f)
1711
1711
  return F(s, u);
1712
- var f = Array.isArray(s), l = Array.isArray(u);
1713
- if (f !== l)
1712
+ var c = Array.isArray(s), l = Array.isArray(u);
1713
+ if (c !== l)
1714
1714
  return !1;
1715
- if (f && l) {
1715
+ if (c && l) {
1716
1716
  var h = s.length;
1717
1717
  if (u.length !== h)
1718
1718
  return !1;
1719
- for (var v = 0; v < h; ++v)
1720
- if (!Ue(c, s[v], u[v], n))
1719
+ for (var d = 0; d < h; ++d)
1720
+ if (!Ue(f, s[d], u[d], n))
1721
1721
  return !1;
1722
1722
  return !0;
1723
1723
  }
1724
- return Ue(c, s, u, n);
1724
+ return Ue(f, s, u, n);
1725
1725
  } else {
1726
1726
  var y = Ze(a, n.fragmentMap);
1727
1727
  if (y)
@@ -1772,20 +1772,20 @@ var pn = (
1772
1772
  }, r.prototype.readQuery = function(e, t) {
1773
1773
  return t === void 0 && (t = !!e.optimistic), this.read(p(p({}, e), { rootId: e.id || "ROOT_QUERY", optimistic: t }));
1774
1774
  }, r.prototype.watchFragment = function(e) {
1775
- var t = this, n = e.fragment, i = e.fragmentName, a = e.from, o = e.optimistic, s = o === void 0 ? !0 : o, u = U(e, ["fragment", "fragmentName", "from", "optimistic"]), c = this.getFragmentDoc(n, i), f = p(p({}, u), { returnPartialData: !0, id: typeof a == "string" ? a : this.identify(a), query: c, optimistic: s }), l;
1775
+ var t = this, n = e.fragment, i = e.fragmentName, a = e.from, o = e.optimistic, s = o === void 0 ? !0 : o, u = U(e, ["fragment", "fragmentName", "from", "optimistic"]), f = this.getFragmentDoc(n, i), c = p(p({}, u), { returnPartialData: !0, id: typeof a == "string" ? a : this.identify(a), query: f, optimistic: s }), l;
1776
1776
  return new Q(function(h) {
1777
- return t.watch(p(p({}, f), { immediate: !0, callback: function(v) {
1777
+ return t.watch(p(p({}, c), { immediate: !0, callback: function(d) {
1778
1778
  if (
1779
1779
  // Always ensure we deliver the first result
1780
- !(l && vn(c, { data: l == null ? void 0 : l.result }, { data: v.result }))
1780
+ !(l && dn(f, { data: l == null ? void 0 : l.result }, { data: d.result }))
1781
1781
  ) {
1782
1782
  var y = {
1783
- data: v.result,
1784
- complete: !!v.complete
1783
+ data: d.result,
1784
+ complete: !!d.complete
1785
1785
  };
1786
- v.missing && (y.missing = nt(v.missing.map(function(m) {
1786
+ d.missing && (y.missing = nt(d.missing.map(function(m) {
1787
1787
  return m.missing;
1788
- }))), l = v, h.next(y);
1788
+ }))), l = d, h.next(y);
1789
1789
  }
1790
1790
  } }));
1791
1791
  });
@@ -1822,7 +1822,7 @@ var pn = (
1822
1822
  }()
1823
1823
  );
1824
1824
  globalThis.__DEV__ !== !1 && (pn.prototype.getMemoryInternals = Yn);
1825
- var dn = (
1825
+ var vn = (
1826
1826
  /** @class */
1827
1827
  function(r) {
1828
1828
  Y(e, r);
@@ -1862,7 +1862,7 @@ function gn(r) {
1862
1862
  var e = r.canonizeResults;
1863
1863
  return e === void 0 ? mn.canonizeResults : e;
1864
1864
  }
1865
- function va(r, e) {
1865
+ function da(r, e) {
1866
1866
  return M(e) ? r.get(e.__ref, "__typename") : e && e.__typename;
1867
1867
  }
1868
1868
  var bn = /^[_a-z][_0-9a-z]*/i;
@@ -1897,7 +1897,7 @@ function On(r, e) {
1897
1897
  }
1898
1898
  };
1899
1899
  }
1900
- var He = /* @__PURE__ */ Object.create(null), ft = function() {
1900
+ var He = /* @__PURE__ */ Object.create(null), ct = function() {
1901
1901
  return He;
1902
1902
  }, mr = /* @__PURE__ */ Object.create(null), qe = (
1903
1903
  /** @class */
@@ -1950,18 +1950,18 @@ var He = /* @__PURE__ */ Object.create(null), ft = function() {
1950
1950
  var s = new oe(ya).merge(a, o);
1951
1951
  if (this.data[i] = s, s !== a && (delete this.refs[i], this.group.caching)) {
1952
1952
  var u = /* @__PURE__ */ Object.create(null);
1953
- a || (u.__exists = 1), Object.keys(o).forEach(function(c) {
1954
- if (!a || a[c] !== s[c]) {
1955
- u[c] = 1;
1956
- var f = se(c);
1957
- f !== c && !n.policies.hasKeyArgs(s.__typename, f) && (u[f] = 1), s[c] === void 0 && !(n instanceof Z) && delete s[c];
1953
+ a || (u.__exists = 1), Object.keys(o).forEach(function(f) {
1954
+ if (!a || a[f] !== s[f]) {
1955
+ u[f] = 1;
1956
+ var c = se(f);
1957
+ c !== f && !n.policies.hasKeyArgs(s.__typename, c) && (u[c] = 1), s[f] === void 0 && !(n instanceof Z) && delete s[f];
1958
1958
  }
1959
1959
  }), u.__typename && !(a && a.__typename) && // Since we return default root __typename strings
1960
1960
  // automatically from store.get, we don't need to dirty the
1961
1961
  // ROOT_QUERY.__typename field if merged.__typename is equal
1962
1962
  // to the default string (usually "Query").
1963
- this.policies.rootTypenamesById[i] === s.__typename && delete u.__typename, Object.keys(u).forEach(function(c) {
1964
- return n.group.dirty(i, c);
1963
+ this.policies.rootTypenamesById[i] === s.__typename && delete u.__typename, Object.keys(u).forEach(function(f) {
1964
+ return n.group.dirty(i, f);
1965
1965
  });
1966
1966
  }
1967
1967
  }
@@ -1974,31 +1974,31 @@ var He = /* @__PURE__ */ Object.create(null), ft = function() {
1974
1974
  isReference: M,
1975
1975
  toReference: this.toReference,
1976
1976
  canRead: this.canRead,
1977
- readField: function(c, f) {
1978
- return n.policies.readField(typeof c == "string" ? {
1979
- fieldName: c,
1980
- from: f || be(e)
1981
- } : c, { store: n });
1977
+ readField: function(f, c) {
1978
+ return n.policies.readField(typeof f == "string" ? {
1979
+ fieldName: f,
1980
+ from: c || be(e)
1981
+ } : f, { store: n });
1982
1982
  }
1983
1983
  };
1984
- if (Object.keys(i).forEach(function(c) {
1985
- var f = se(c), l = i[c];
1984
+ if (Object.keys(i).forEach(function(f) {
1985
+ var c = se(f), l = i[f];
1986
1986
  if (l !== void 0) {
1987
- var h = typeof t == "function" ? t : t[c] || t[f];
1987
+ var h = typeof t == "function" ? t : t[f] || t[c];
1988
1988
  if (h) {
1989
- var v = h === ft ? He : h(Qe(l), p(p({}, u), { fieldName: f, storeFieldName: c, storage: n.getStorage(e, c) }));
1990
- if (v === mr)
1991
- n.group.dirty(e, c);
1992
- else if (v === He && (v = void 0), v !== l && (a[c] = v, o = !0, l = v, globalThis.__DEV__ !== !1)) {
1989
+ var d = h === ct ? He : h(Qe(l), p(p({}, u), { fieldName: c, storeFieldName: f, storage: n.getStorage(e, f) }));
1990
+ if (d === mr)
1991
+ n.group.dirty(e, f);
1992
+ else if (d === He && (d = void 0), d !== l && (a[f] = d, o = !0, l = d, globalThis.__DEV__ !== !1)) {
1993
1993
  var y = function(S) {
1994
1994
  if (n.lookup(S.__ref) === void 0)
1995
1995
  return globalThis.__DEV__ !== !1 && _.warn(2, S), !0;
1996
1996
  };
1997
- if (M(v))
1998
- y(v);
1999
- else if (Array.isArray(v))
2000
- for (var m = !1, g = void 0, d = 0, O = v; d < O.length; d++) {
2001
- var b = O[d];
1997
+ if (M(d))
1998
+ y(d);
1999
+ else if (Array.isArray(d))
2000
+ for (var m = !1, g = void 0, v = 0, O = d; v < O.length; v++) {
2001
+ var b = O[v];
2002
2002
  if (M(b)) {
2003
2003
  if (m = !0, y(b))
2004
2004
  break;
@@ -2023,7 +2023,7 @@ var He = /* @__PURE__ */ Object.create(null), ft = function() {
2023
2023
  var i, a = this.lookup(e);
2024
2024
  if (a) {
2025
2025
  var o = this.getFieldValue(a, "__typename"), s = t && n ? this.policies.getStoreFieldName({ typename: o, fieldName: t, args: n }) : t;
2026
- return this.modify(e, s ? (i = {}, i[s] = ft, i) : ft);
2026
+ return this.modify(e, s ? (i = {}, i[s] = ct, i) : ct);
2027
2027
  }
2028
2028
  return !1;
2029
2029
  }, r.prototype.evict = function(e, t) {
@@ -2095,7 +2095,7 @@ var He = /* @__PURE__ */ Object.create(null), ft = function() {
2095
2095
  t === void 0 && (t = null), this.caching = e, this.parent = t, this.d = null, this.resetCaching();
2096
2096
  }
2097
2097
  return r.prototype.resetCaching = function() {
2098
- this.d = this.caching ? zr() : null, this.keyMaker = new he(ve);
2098
+ this.d = this.caching ? zr() : null, this.keyMaker = new he(de);
2099
2099
  }, r.prototype.depend = function(e, t) {
2100
2100
  if (this.d) {
2101
2101
  this.d(lt(e, t));
@@ -2129,8 +2129,8 @@ function gr(r, e) {
2129
2129
  function(t) {
2130
2130
  Y(n, t);
2131
2131
  function n(i) {
2132
- var a = i.policies, o = i.resultCaching, s = o === void 0 ? !0 : o, u = i.seed, c = t.call(this, a, new Sn(s)) || this;
2133
- return c.stump = new da(c), c.storageTrie = new he(ve), u && c.replace(u), c;
2132
+ var a = i.policies, o = i.resultCaching, s = o === void 0 ? !0 : o, u = i.seed, f = t.call(this, a, new Sn(s)) || this;
2133
+ return f.stump = new va(f), f.storageTrie = new he(de), u && f.replace(u), f;
2134
2134
  }
2135
2135
  return n.prototype.addLayer = function(i, a) {
2136
2136
  return this.stump.addLayer(i, a);
@@ -2178,7 +2178,7 @@ var Z = (
2178
2178
  );
2179
2179
  }, e;
2180
2180
  }(qe)
2181
- ), da = (
2181
+ ), va = (
2182
2182
  /** @class */
2183
2183
  function(r) {
2184
2184
  Y(e, r);
@@ -2207,7 +2207,7 @@ var br = (
2207
2207
  /** @class */
2208
2208
  function() {
2209
2209
  function r() {
2210
- this.known = new (Gr ? WeakSet : Set)(), this.pool = new he(ve), this.passes = /* @__PURE__ */ new WeakMap(), this.keysByJSON = /* @__PURE__ */ new Map(), this.empty = this.admit({});
2210
+ this.known = new (Gr ? WeakSet : Set)(), this.pool = new he(de), this.passes = /* @__PURE__ */ new WeakMap(), this.keysByJSON = /* @__PURE__ */ new Map(), this.empty = this.admit({});
2211
2211
  }
2212
2212
  return r.prototype.isKnown = function(e) {
2213
2213
  return q(e) && this.known.has(e);
@@ -2235,17 +2235,17 @@ var br = (
2235
2235
  case Object.prototype: {
2236
2236
  if (this.known.has(e))
2237
2237
  return e;
2238
- var s = Object.getPrototypeOf(e), u = [s], c = this.sortedKeys(e);
2239
- u.push(c.json);
2240
- var f = u.length;
2241
- c.sorted.forEach(function(v) {
2242
- u.push(t.admit(e[v]));
2238
+ var s = Object.getPrototypeOf(e), u = [s], f = this.sortedKeys(e);
2239
+ u.push(f.json);
2240
+ var c = u.length;
2241
+ f.sorted.forEach(function(d) {
2242
+ u.push(t.admit(e[d]));
2243
2243
  });
2244
2244
  var o = this.pool.lookupArray(u);
2245
2245
  if (!o.object) {
2246
2246
  var l = o.object = Object.create(s);
2247
- this.known.add(l), c.sorted.forEach(function(v, y) {
2248
- l[v] = u[f + y];
2247
+ this.known.add(l), f.sorted.forEach(function(d, y) {
2248
+ l[d] = u[c + y];
2249
2249
  }), globalThis.__DEV__ !== !1 && Object.freeze(l);
2250
2250
  }
2251
2251
  return o.object;
@@ -2279,7 +2279,7 @@ var ga = (
2279
2279
  function() {
2280
2280
  function r(e) {
2281
2281
  var t = this;
2282
- this.knownResults = new (ve ? WeakMap : Map)(), this.config = le(e, {
2282
+ this.knownResults = new (de ? WeakMap : Map)(), this.config = le(e, {
2283
2283
  addTypename: e.addTypename !== !1,
2284
2284
  canonizeResults: gn(e)
2285
2285
  }), this.canon = e.canon || new br(), this.executeSelectionSet = Me(function(n) {
@@ -2314,20 +2314,20 @@ var ga = (
2314
2314
  return r.prototype.resetCanon = function() {
2315
2315
  this.canon = new br();
2316
2316
  }, r.prototype.diffQueryAgainstStore = function(e) {
2317
- var t = e.store, n = e.query, i = e.rootId, a = i === void 0 ? "ROOT_QUERY" : i, o = e.variables, s = e.returnPartialData, u = s === void 0 ? !0 : s, c = e.canonizeResults, f = c === void 0 ? this.config.canonizeResults : c, l = this.config.cache.policies;
2317
+ var t = e.store, n = e.query, i = e.rootId, a = i === void 0 ? "ROOT_QUERY" : i, o = e.variables, s = e.returnPartialData, u = s === void 0 ? !0 : s, f = e.canonizeResults, c = f === void 0 ? this.config.canonizeResults : f, l = this.config.cache.policies;
2318
2318
  o = p(p({}, Wt(tn(n))), o);
2319
- var h = be(a), v = this.executeSelectionSet({
2319
+ var h = be(a), d = this.executeSelectionSet({
2320
2320
  selectionSet: Ae(n).selectionSet,
2321
2321
  objectOrReference: h,
2322
2322
  enclosingRef: h,
2323
- context: p({ store: t, query: n, policies: l, variables: o, varString: $(o), canonizeResults: f }, On(n, this.config.fragments))
2323
+ context: p({ store: t, query: n, policies: l, variables: o, varString: $(o), canonizeResults: c }, On(n, this.config.fragments))
2324
2324
  }), y;
2325
- if (v.missing && (y = [
2326
- new dn(ba(v.missing), v.missing, n, o)
2325
+ if (d.missing && (y = [
2326
+ new vn(ba(d.missing), d.missing, n, o)
2327
2327
  ], !u))
2328
2328
  throw y[0];
2329
2329
  return {
2330
- result: v.result,
2330
+ result: d.result,
2331
2331
  complete: !y,
2332
2332
  missing: y
2333
2333
  };
@@ -2353,11 +2353,11 @@ var ga = (
2353
2353
  result: this.canon.empty,
2354
2354
  missing: "Dangling reference to missing ".concat(i.__ref, " object")
2355
2355
  };
2356
- var s = o.variables, u = o.policies, c = o.store, f = c.getFieldValue(i, "__typename"), l = [], h, v = new oe();
2357
- this.config.addTypename && typeof f == "string" && !u.rootIdsByTypename[f] && l.push({ __typename: f });
2356
+ var s = o.variables, u = o.policies, f = o.store, c = f.getFieldValue(i, "__typename"), l = [], h, d = new oe();
2357
+ this.config.addTypename && typeof c == "string" && !u.rootIdsByTypename[c] && l.push({ __typename: c });
2358
2358
  function y(b, w) {
2359
2359
  var S;
2360
- return b.missing && (h = v.merge(h, (S = {}, S[w] = b.missing, S))), b.result;
2360
+ return b.missing && (h = d.merge(h, (S = {}, S[w] = b.missing, S))), b.result;
2361
2361
  }
2362
2362
  var m = new Set(n.selections);
2363
2363
  m.forEach(function(b) {
@@ -2370,7 +2370,7 @@ var ga = (
2370
2370
  variables: o.variables,
2371
2371
  from: i
2372
2372
  }, o), D = ie(b);
2373
- E === void 0 ? zt.added(b) || (h = v.merge(h, (w = {}, w[D] = "Can't find field '".concat(b.name.value, "' on ").concat(M(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), w))) : I(E) ? E.length > 0 && (E = y(t.executeSubSelectedArray({
2373
+ E === void 0 ? zt.added(b) || (h = d.merge(h, (w = {}, w[D] = "Can't find field '".concat(b.name.value, "' on ").concat(M(i) ? i.__ref + " object" : "object " + JSON.stringify(i, null, 2)), w))) : I(E) ? E.length > 0 && (E = y(t.executeSubSelectedArray({
2374
2374
  field: b,
2375
2375
  array: E,
2376
2376
  enclosingRef: a,
@@ -2385,29 +2385,29 @@ var ga = (
2385
2385
  var k = Ze(b, o.lookupFragment);
2386
2386
  if (!k && b.kind === W.FRAGMENT_SPREAD)
2387
2387
  throw A(9, b.name.value);
2388
- k && u.fragmentMatches(k, f) && k.selectionSet.selections.forEach(m.add, m);
2388
+ k && u.fragmentMatches(k, c) && k.selectionSet.selections.forEach(m.add, m);
2389
2389
  }
2390
2390
  });
2391
- var g = nt(l), d = { result: g, missing: h }, O = o.canonizeResults ? this.canon.admit(d) : Qe(d);
2391
+ var g = nt(l), v = { result: g, missing: h }, O = o.canonizeResults ? this.canon.admit(v) : Qe(v);
2392
2392
  return O.result && this.knownResults.set(O.result, n), O;
2393
2393
  }, r.prototype.execSubSelectedArrayImpl = function(e) {
2394
2394
  var t = this, n = e.field, i = e.array, a = e.enclosingRef, o = e.context, s, u = new oe();
2395
- function c(f, l) {
2395
+ function f(c, l) {
2396
2396
  var h;
2397
- return f.missing && (s = u.merge(s, (h = {}, h[l] = f.missing, h))), f.result;
2397
+ return c.missing && (s = u.merge(s, (h = {}, h[l] = c.missing, h))), c.result;
2398
2398
  }
2399
- return n.selectionSet && (i = i.filter(o.store.canRead)), i = i.map(function(f, l) {
2400
- return f === null ? null : I(f) ? c(t.executeSubSelectedArray({
2399
+ return n.selectionSet && (i = i.filter(o.store.canRead)), i = i.map(function(c, l) {
2400
+ return c === null ? null : I(c) ? f(t.executeSubSelectedArray({
2401
2401
  field: n,
2402
- array: f,
2402
+ array: c,
2403
2403
  enclosingRef: a,
2404
2404
  context: o
2405
- }), l) : n.selectionSet ? c(t.executeSelectionSet({
2405
+ }), l) : n.selectionSet ? f(t.executeSelectionSet({
2406
2406
  selectionSet: n.selectionSet,
2407
- objectOrReference: f,
2408
- enclosingRef: M(f) ? f : a,
2407
+ objectOrReference: c,
2408
+ enclosingRef: M(c) ? c : a,
2409
2409
  context: o
2410
- }), l) : (globalThis.__DEV__ !== !1 && Oa(o.store, n, f), f);
2410
+ }), l) : (globalThis.__DEV__ !== !1 && Oa(o.store, n, c), c);
2411
2411
  }), {
2412
2412
  result: o.canonizeResults ? this.canon.admit(i) : i,
2413
2413
  missing: s
@@ -2433,7 +2433,7 @@ function Oa(r, e, t) {
2433
2433
  q(i) && (_(
2434
2434
  !M(i),
2435
2435
  10,
2436
- va(r, i),
2436
+ da(r, i),
2437
2437
  e.name.value
2438
2438
  ), Object.values(i).forEach(n.add, n));
2439
2439
  });
@@ -2517,33 +2517,33 @@ function _r(r) {
2517
2517
  function kr(r) {
2518
2518
  var e = Ht(r);
2519
2519
  return e.keyArgsFn || (e.keyArgsFn = function(t, n) {
2520
- var i = n.field, a = n.variables, o = n.fieldName, s = Kt(r, function(c) {
2521
- var f = c[0], l = f.charAt(0);
2520
+ var i = n.field, a = n.variables, o = n.fieldName, s = Kt(r, function(f) {
2521
+ var c = f[0], l = c.charAt(0);
2522
2522
  if (l === "@") {
2523
2523
  if (i && N(i.directives)) {
2524
- var h = f.slice(1), v = i.directives.find(function(d) {
2525
- return d.name.value === h;
2526
- }), y = v && et(v, a);
2524
+ var h = c.slice(1), d = i.directives.find(function(v) {
2525
+ return v.name.value === h;
2526
+ }), y = d && et(d, a);
2527
2527
  return y && Se(
2528
2528
  y,
2529
2529
  // If keyPath.length === 1, this code calls extractKeyPath with an
2530
2530
  // empty path, which works because it uses directiveArgs as the
2531
2531
  // extracted value.
2532
- c.slice(1)
2532
+ f.slice(1)
2533
2533
  );
2534
2534
  }
2535
2535
  return;
2536
2536
  }
2537
2537
  if (l === "$") {
2538
- var m = f.slice(1);
2538
+ var m = c.slice(1);
2539
2539
  if (a && j.call(a, m)) {
2540
- var g = c.slice(0);
2540
+ var g = f.slice(0);
2541
2541
  return g[0] = m, Se(a, g);
2542
2542
  }
2543
2543
  return;
2544
2544
  }
2545
2545
  if (t)
2546
- return Se(t, c);
2546
+ return Se(t, f);
2547
2547
  }), u = JSON.stringify(s);
2548
2548
  return (t || u !== "{}") && (o += ":" + u), o;
2549
2549
  });
@@ -2614,10 +2614,10 @@ var _a = function() {
2614
2614
  store: i.cache.data,
2615
2615
  variables: h.variables
2616
2616
  });
2617
- } }), u, c = a && this.getTypePolicy(a), f = c && c.keyFn || this.config.dataIdFromObject; f; ) {
2618
- var l = f(p(p({}, e), o), s);
2617
+ } }), u, f = a && this.getTypePolicy(a), c = f && f.keyFn || this.config.dataIdFromObject; c; ) {
2618
+ var l = c(p(p({}, e), o), s);
2619
2619
  if (I(l))
2620
- f = _r(l);
2620
+ c = _r(l);
2621
2621
  else {
2622
2622
  u = l;
2623
2623
  break;
@@ -2632,21 +2632,21 @@ var _a = function() {
2632
2632
  });
2633
2633
  }, r.prototype.updateTypePolicy = function(e, t) {
2634
2634
  var n = this, i = this.getTypePolicy(e), a = t.keyFields, o = t.fields;
2635
- function s(u, c) {
2636
- u.merge = typeof c == "function" ? c : c === !0 ? Rr : c === !1 ? Tr : u.merge;
2635
+ function s(u, f) {
2636
+ u.merge = typeof f == "function" ? f : f === !0 ? Rr : f === !1 ? Tr : u.merge;
2637
2637
  }
2638
2638
  s(i, t.merge), i.keyFn = // Pass false to disable normalization for this typename.
2639
2639
  a === !1 ? _a : I(a) ? _r(a) : typeof a == "function" ? a : i.keyFn, o && Object.keys(o).forEach(function(u) {
2640
- var c = n.getFieldPolicy(e, u, !0), f = o[u];
2641
- if (typeof f == "function")
2642
- c.read = f;
2640
+ var f = n.getFieldPolicy(e, u, !0), c = o[u];
2641
+ if (typeof c == "function")
2642
+ f.read = c;
2643
2643
  else {
2644
- var l = f.keyArgs, h = f.read, v = f.merge;
2645
- c.keyFn = // Pass false to disable argument-based differentiation of
2644
+ var l = c.keyArgs, h = c.read, d = c.merge;
2645
+ f.keyFn = // Pass false to disable argument-based differentiation of
2646
2646
  // field identities.
2647
- l === !1 ? Dr : I(l) ? kr(l) : typeof l == "function" ? l : c.keyFn, typeof h == "function" && (c.read = h), s(c, v);
2647
+ l === !1 ? Dr : I(l) ? kr(l) : typeof l == "function" ? l : f.keyFn, typeof h == "function" && (f.read = h), s(f, d);
2648
2648
  }
2649
- c.read && c.merge && (c.keyFn = c.keyFn || Dr);
2649
+ f.read && f.merge && (f.keyFn = f.keyFn || Dr);
2650
2650
  });
2651
2651
  }, r.prototype.setRootTypename = function(e, t) {
2652
2652
  t === void 0 && (t = e);
@@ -2670,13 +2670,13 @@ var _a = function() {
2670
2670
  !i && this.fuzzySubtypes.size && (i = this.getSupertypeSet(e, !0), this.fuzzySubtypes.forEach(function(o, s) {
2671
2671
  if (o.test(e)) {
2672
2672
  var u = t.supertypeMap.get(s);
2673
- u && u.forEach(function(c) {
2674
- return i.add(c);
2673
+ u && u.forEach(function(f) {
2674
+ return i.add(f);
2675
2675
  });
2676
2676
  }
2677
2677
  })), i && i.size && i.forEach(function(o) {
2678
- var s = t.getTypePolicy(o), u = s.fields, c = U(s, ["fields"]);
2679
- Object.assign(n, c), Object.assign(n.fields, u);
2678
+ var s = t.getTypePolicy(o), u = s.fields, f = U(s, ["fields"]);
2679
+ Object.assign(n, f), Object.assign(n.fields, u);
2680
2680
  });
2681
2681
  }
2682
2682
  var a = this.toBeAdded[e];
@@ -2701,22 +2701,22 @@ var _a = function() {
2701
2701
  if (t === o)
2702
2702
  return !0;
2703
2703
  if (this.usingPossibleTypes && this.supertypeMap.has(o))
2704
- for (var s = this.getSupertypeSet(t, !0), u = [s], c = function(y) {
2704
+ for (var s = this.getSupertypeSet(t, !0), u = [s], f = function(y) {
2705
2705
  var m = a.getSupertypeSet(y, !1);
2706
2706
  m && m.size && u.indexOf(m) < 0 && u.push(m);
2707
- }, f = !!(n && this.fuzzySubtypes.size), l = !1, h = 0; h < u.length; ++h) {
2708
- var v = u[h];
2709
- if (v.has(o))
2707
+ }, c = !!(n && this.fuzzySubtypes.size), l = !1, h = 0; h < u.length; ++h) {
2708
+ var d = u[h];
2709
+ if (d.has(o))
2710
2710
  return s.has(o) || (l && globalThis.__DEV__ !== !1 && _.warn(6, t, o), s.add(o)), !0;
2711
- v.forEach(c), f && // Start checking fuzzy subtypes only after exhausting all
2711
+ d.forEach(f), c && // Start checking fuzzy subtypes only after exhausting all
2712
2712
  // non-fuzzy subtypes (after the final iteration of the loop).
2713
2713
  h === u.length - 1 && // We could wait to compare fragment.selectionSet to result
2714
2714
  // after we verify the supertype, but this check is often less
2715
2715
  // expensive than that search, and we will have to do the
2716
2716
  // comparison anyway whenever we find a potential match.
2717
- Tt(e.selectionSet, n, i) && (f = !1, l = !0, this.fuzzySubtypes.forEach(function(y, m) {
2717
+ Tt(e.selectionSet, n, i) && (c = !1, l = !0, this.fuzzySubtypes.forEach(function(y, m) {
2718
2718
  var g = t.match(y);
2719
- g && g[0] === t && c(m);
2719
+ g && g[0] === t && f(m);
2720
2720
  }));
2721
2721
  }
2722
2722
  return !1;
@@ -2732,11 +2732,11 @@ var _a = function() {
2732
2732
  field: e.field || null,
2733
2733
  variables: e.variables
2734
2734
  }, u = Pt(e); o; ) {
2735
- var c = o(u, s);
2736
- if (I(c))
2737
- o = kr(c);
2735
+ var f = o(u, s);
2736
+ if (I(f))
2737
+ o = kr(f);
2738
2738
  else {
2739
- a = c || n;
2739
+ a = f || n;
2740
2740
  break;
2741
2741
  }
2742
2742
  }
@@ -2750,10 +2750,10 @@ var _a = function() {
2750
2750
  var a = t.store.getFieldValue(n, "__typename");
2751
2751
  a && (e.typename = a);
2752
2752
  }
2753
- var o = this.getStoreFieldName(e), s = se(o), u = t.store.getFieldValue(n, o), c = this.getFieldPolicy(e.typename, s, !1), f = c && c.read;
2754
- if (f) {
2753
+ var o = this.getStoreFieldName(e), s = se(o), u = t.store.getFieldValue(n, o), f = this.getFieldPolicy(e.typename, s, !1), c = f && f.read;
2754
+ if (c) {
2755
2755
  var l = Pr(this, n, e, t, t.store.getStorage(M(n) ? n.__ref : n, o));
2756
- return Ut.withValue(this.cache, f, [
2756
+ return Ut.withValue(this.cache, c, [
2757
2757
  u,
2758
2758
  l
2759
2759
  ]);
@@ -2796,7 +2796,7 @@ var _a = function() {
2796
2796
  }()
2797
2797
  );
2798
2798
  function Pr(r, e, t, n, i) {
2799
- var a = r.getStoreFieldName(t), o = se(a), s = t.variables || n.variables, u = n.store, c = u.toReference, f = u.canRead;
2799
+ var a = r.getStoreFieldName(t), o = se(a), s = t.variables || n.variables, u = n.store, f = u.toReference, c = u.canRead;
2800
2800
  return {
2801
2801
  args: Pt(t),
2802
2802
  field: t.field || null,
@@ -2804,10 +2804,10 @@ function Pr(r, e, t, n, i) {
2804
2804
  storeFieldName: a,
2805
2805
  variables: s,
2806
2806
  isReference: M,
2807
- toReference: c,
2807
+ toReference: f,
2808
2808
  storage: i,
2809
2809
  cache: r.cache,
2810
- canRead: f,
2810
+ canRead: c,
2811
2811
  readField: function() {
2812
2812
  return r.readField(Gt(arguments, e, s), n);
2813
2813
  },
@@ -2853,21 +2853,21 @@ var Da = (
2853
2853
  this.cache = e, this.reader = t, this.fragments = n;
2854
2854
  }
2855
2855
  return r.prototype.writeToStore = function(e, t) {
2856
- var n = this, i = t.query, a = t.result, o = t.dataId, s = t.variables, u = t.overwrite, c = Le(i), f = pa();
2857
- s = p(p({}, Wt(c)), s);
2858
- var l = p(p({ store: e, written: /* @__PURE__ */ Object.create(null), merge: function(v, y) {
2859
- return f.merge(v, y);
2856
+ var n = this, i = t.query, a = t.result, o = t.dataId, s = t.variables, u = t.overwrite, f = Le(i), c = pa();
2857
+ s = p(p({}, Wt(f)), s);
2858
+ var l = p(p({ store: e, written: /* @__PURE__ */ Object.create(null), merge: function(d, y) {
2859
+ return c.merge(d, y);
2860
2860
  }, variables: s, varString: $(s) }, On(i, this.fragments)), { overwrite: !!u, incomingById: /* @__PURE__ */ new Map(), clientOnly: !1, deferred: !1, flavors: /* @__PURE__ */ new Map() }), h = this.processSelectionSet({
2861
2861
  result: a || /* @__PURE__ */ Object.create(null),
2862
2862
  dataId: o,
2863
- selectionSet: c.selectionSet,
2863
+ selectionSet: f.selectionSet,
2864
2864
  mergeTree: { map: /* @__PURE__ */ new Map() },
2865
2865
  context: l
2866
2866
  });
2867
2867
  if (!M(h))
2868
2868
  throw A(11, a);
2869
- return l.incomingById.forEach(function(v, y) {
2870
- var m = v.storeObject, g = v.mergeTree, d = v.fieldNodeSet, O = be(y);
2869
+ return l.incomingById.forEach(function(d, y) {
2870
+ var m = d.storeObject, g = d.mergeTree, v = d.fieldNodeSet, O = be(y);
2871
2871
  if (g && g.map.size) {
2872
2872
  var b = n.applyMerges(g, O, m, l);
2873
2873
  if (M(b))
@@ -2876,7 +2876,7 @@ var Da = (
2876
2876
  }
2877
2877
  if (globalThis.__DEV__ !== !1 && !l.overwrite) {
2878
2878
  var w = /* @__PURE__ */ Object.create(null);
2879
- d.forEach(function(D) {
2879
+ v.forEach(function(D) {
2880
2880
  D.selectionSet && (w[D.name.value] = !0);
2881
2881
  });
2882
2882
  var S = function(D) {
@@ -2892,10 +2892,10 @@ var Da = (
2892
2892
  e.merge(y, m);
2893
2893
  }), e.retain(h.__ref), h;
2894
2894
  }, r.prototype.processSelectionSet = function(e) {
2895
- var t = this, n = e.dataId, i = e.result, a = e.selectionSet, o = e.context, s = e.mergeTree, u = this.cache.policies, c = /* @__PURE__ */ Object.create(null), f = n && u.rootTypenamesById[n] || wt(i, a, o.fragmentMap) || n && o.store.get(n, "__typename");
2896
- typeof f == "string" && (c.__typename = f);
2895
+ var t = this, n = e.dataId, i = e.result, a = e.selectionSet, o = e.context, s = e.mergeTree, u = this.cache.policies, f = /* @__PURE__ */ Object.create(null), c = n && u.rootTypenamesById[n] || wt(i, a, o.fragmentMap) || n && o.store.get(n, "__typename");
2896
+ typeof c == "string" && (f.__typename = c);
2897
2897
  var l = function() {
2898
- var b = Gt(arguments, c, o.variables);
2898
+ var b = Gt(arguments, f, o.variables);
2899
2899
  if (M(b.from)) {
2900
2900
  var w = o.incomingById.get(b.from.__ref);
2901
2901
  if (w) {
@@ -2913,12 +2913,12 @@ var Da = (
2913
2913
  // by the flattenFields method, but some fields may be assigned a modified
2914
2914
  // context, depending on the presence of @client and other directives.
2915
2915
  o,
2916
- f
2916
+ c
2917
2917
  ).forEach(function(b, w) {
2918
2918
  var S, E = ie(w), D = i[E];
2919
2919
  if (h.add(w), D !== void 0) {
2920
2920
  var k = u.getStoreFieldName({
2921
- typename: f,
2921
+ typename: c,
2922
2922
  fieldName: w.name.value,
2923
2923
  field: w,
2924
2924
  variables: b.variables
@@ -2931,40 +2931,40 @@ var Da = (
2931
2931
  T
2932
2932
  ), z = void 0;
2933
2933
  w.selectionSet && (M(C) || me(C)) && (z = l("__typename", C));
2934
- var X = u.getMergeFunction(f, w.name.value, z);
2934
+ var X = u.getMergeFunction(c, w.name.value, z);
2935
2935
  X ? T.info = {
2936
2936
  // TODO Check compatibility against any existing childTree.field?
2937
2937
  field: w,
2938
- typename: f,
2938
+ typename: c,
2939
2939
  merge: X
2940
- } : Mr(s, k), c = b.merge(c, (S = {}, S[k] = C, S));
2940
+ } : Mr(s, k), f = b.merge(f, (S = {}, S[k] = C, S));
2941
2941
  } else globalThis.__DEV__ !== !1 && !b.clientOnly && !b.deferred && !zt.added(w) && // If the field has a read function, it may be a synthetic field or
2942
2942
  // provide a default value, so its absence from the written data should
2943
2943
  // not be cause for alarm.
2944
- !u.getReadFunction(f, w.name.value) && globalThis.__DEV__ !== !1 && _.error(12, ie(w), i);
2944
+ !u.getReadFunction(c, w.name.value) && globalThis.__DEV__ !== !1 && _.error(12, ie(w), i);
2945
2945
  });
2946
2946
  try {
2947
- var v = u.identify(i, {
2948
- typename: f,
2947
+ var d = u.identify(i, {
2948
+ typename: c,
2949
2949
  selectionSet: a,
2950
2950
  fragmentMap: o.fragmentMap,
2951
- storeObject: c,
2951
+ storeObject: f,
2952
2952
  readField: l
2953
- }), y = v[0], m = v[1];
2954
- n = n || y, m && (c = o.merge(c, m));
2953
+ }), y = d[0], m = d[1];
2954
+ n = n || y, m && (f = o.merge(f, m));
2955
2955
  } catch (b) {
2956
2956
  if (!n)
2957
2957
  throw b;
2958
2958
  }
2959
2959
  if (typeof n == "string") {
2960
- var g = be(n), d = o.written[n] || (o.written[n] = []);
2961
- if (d.indexOf(a) >= 0 || (d.push(a), this.reader && this.reader.isFresh(i, g, a, o)))
2960
+ var g = be(n), v = o.written[n] || (o.written[n] = []);
2961
+ if (v.indexOf(a) >= 0 || (v.push(a), this.reader && this.reader.isFresh(i, g, a, o)))
2962
2962
  return g;
2963
2963
  var O = o.incomingById.get(n);
2964
- return O ? (O.storeObject = o.merge(O.storeObject, c), O.mergeTree = Ft(O.mergeTree, s), h.forEach(function(b) {
2964
+ return O ? (O.storeObject = o.merge(O.storeObject, f), O.mergeTree = Ft(O.mergeTree, s), h.forEach(function(b) {
2965
2965
  return O.fieldNodeSet.add(b);
2966
2966
  })) : o.incomingById.set(n, {
2967
- storeObject: c,
2967
+ storeObject: f,
2968
2968
  // Save a reference to mergeTree only if it is not empty, because
2969
2969
  // empty MergeTrees may be recycled by maybeRecycleChildMergeTree and
2970
2970
  // reused for entirely different parts of the result tree.
@@ -2972,7 +2972,7 @@ var Da = (
2972
2972
  fieldNodeSet: h
2973
2973
  }), g;
2974
2974
  }
2975
- return c;
2975
+ return f;
2976
2976
  }, r.prototype.processFieldValue = function(e, t, n, i) {
2977
2977
  var a = this;
2978
2978
  return !t.selectionSet || e === null ? globalThis.__DEV__ !== !1 ? un(e) : e : I(e) ? e.map(function(o, s) {
@@ -2987,38 +2987,38 @@ var Da = (
2987
2987
  }, r.prototype.flattenFields = function(e, t, n, i) {
2988
2988
  i === void 0 && (i = wt(t, e, n.fragmentMap));
2989
2989
  var a = /* @__PURE__ */ new Map(), o = this.cache.policies, s = new he(!1);
2990
- return function u(c, f) {
2990
+ return function u(f, c) {
2991
2991
  var l = s.lookup(
2992
- c,
2992
+ f,
2993
2993
  // Because we take inheritedClientOnly and inheritedDeferred into
2994
2994
  // consideration here (in addition to selectionSet), it's possible for
2995
2995
  // the same selection set to be flattened more than once, if it appears
2996
2996
  // in the query with different @client and/or @directive configurations.
2997
- f.clientOnly,
2998
- f.deferred
2997
+ c.clientOnly,
2998
+ c.deferred
2999
2999
  );
3000
- l.visited || (l.visited = !0, c.selections.forEach(function(h) {
3000
+ l.visited || (l.visited = !0, f.selections.forEach(function(h) {
3001
3001
  if (xe(h, n.variables)) {
3002
- var v = f.clientOnly, y = f.deferred;
3002
+ var d = c.clientOnly, y = c.deferred;
3003
3003
  if (
3004
3004
  // Since the presence of @client or @defer on this field can only
3005
3005
  // cause clientOnly or deferred to become true, we can skip the
3006
3006
  // forEach loop if both clientOnly and deferred are already true.
3007
- !(v && y) && N(h.directives) && h.directives.forEach(function(d) {
3008
- var O = d.name.value;
3009
- if (O === "client" && (v = !0), O === "defer") {
3010
- var b = et(d, n.variables);
3007
+ !(d && y) && N(h.directives) && h.directives.forEach(function(v) {
3008
+ var O = v.name.value;
3009
+ if (O === "client" && (d = !0), O === "defer") {
3010
+ var b = et(v, n.variables);
3011
3011
  (!b || b.if !== !1) && (y = !0);
3012
3012
  }
3013
3013
  }), ae(h)
3014
3014
  ) {
3015
3015
  var m = a.get(h);
3016
- m && (v = v && m.clientOnly, y = y && m.deferred), a.set(h, ht(n, v, y));
3016
+ m && (d = d && m.clientOnly, y = y && m.deferred), a.set(h, ht(n, d, y));
3017
3017
  } else {
3018
3018
  var g = Ze(h, n.lookupFragment);
3019
3019
  if (!g && h.kind === W.FRAGMENT_SPREAD)
3020
3020
  throw A(13, h.name.value);
3021
- g && o.fragmentMatches(g, i, t, n.variables) && u(g.selectionSet, ht(n, v, y));
3021
+ g && o.fragmentMatches(g, i, t, n.variables) && u(g.selectionSet, ht(n, d, y));
3022
3022
  }
3023
3023
  }
3024
3024
  }));
@@ -3034,20 +3034,20 @@ var Da = (
3034
3034
  // in order for its fields to be safe to merge with the fields of
3035
3035
  // the incoming object.
3036
3036
  (M(t) || me(t)) ? t : void 0
3037
- ), c = n;
3037
+ ), f = n;
3038
3038
  u && !a && (a = [M(u) ? u.__ref : u]);
3039
- var f, l = function(h, v) {
3040
- return I(h) ? typeof v == "number" ? h[v] : void 0 : i.store.getFieldValue(h, String(v));
3039
+ var c, l = function(h, d) {
3040
+ return I(h) ? typeof d == "number" ? h[d] : void 0 : i.store.getFieldValue(h, String(d));
3041
3041
  };
3042
- e.map.forEach(function(h, v) {
3043
- var y = l(u, v), m = l(c, v);
3042
+ e.map.forEach(function(h, d) {
3043
+ var y = l(u, d), m = l(f, d);
3044
3044
  if (m !== void 0) {
3045
- a && a.push(v);
3045
+ a && a.push(d);
3046
3046
  var g = s.applyMerges(h, y, m, i, a);
3047
- g !== m && (f = f || /* @__PURE__ */ new Map(), f.set(v, g)), a && _(a.pop() === v);
3047
+ g !== m && (c = c || /* @__PURE__ */ new Map(), c.set(d, g)), a && _(a.pop() === d);
3048
3048
  }
3049
- }), f && (n = I(c) ? c.slice(0) : p({}, c), f.forEach(function(h, v) {
3050
- n[v] = h;
3049
+ }), c && (n = I(f) ? f.slice(0) : p({}, f), c.forEach(function(h, d) {
3050
+ n[d] = h;
3051
3051
  }));
3052
3052
  }
3053
3053
  return e.info ? this.cache.policies.runMergeFunction(t, n, e.info, i, a && (o = i.store).getStorage.apply(o, a)) : n;
@@ -3092,14 +3092,14 @@ function Ra(r, e, t, n) {
3092
3092
  if (o && !M(a) && !F(a, o) && !Object.keys(a).every(function(l) {
3093
3093
  return n.getFieldValue(o, l) !== void 0;
3094
3094
  })) {
3095
- var s = n.getFieldValue(r, "__typename") || n.getFieldValue(e, "__typename"), u = se(t), c = "".concat(s, ".").concat(u);
3096
- if (!Cr.has(c)) {
3097
- Cr.add(c);
3098
- var f = [];
3095
+ var s = n.getFieldValue(r, "__typename") || n.getFieldValue(e, "__typename"), u = se(t), f = "".concat(s, ".").concat(u);
3096
+ if (!Cr.has(f)) {
3097
+ Cr.add(f);
3098
+ var c = [];
3099
3099
  !I(a) && !I(o) && [a, o].forEach(function(l) {
3100
3100
  var h = n.getFieldValue(l, "__typename");
3101
- typeof h == "string" && !f.includes(h) && f.push(h);
3102
- }), globalThis.__DEV__ !== !1 && _.warn(14, u, s, f.length ? "either ensure all objects of type " + f.join(" and ") + " have an ID or a custom merge function, or " : "", c, p({}, a), p({}, o));
3101
+ typeof h == "string" && !c.includes(h) && c.push(h);
3102
+ }), globalThis.__DEV__ !== !1 && _.warn(14, u, s, c.length ? "either ensure all objects of type " + c.join(" and ") + " have an ID or a custom merge function, or " : "", f, p({}, a), p({}, o));
3103
3103
  }
3104
3104
  }
3105
3105
  }
@@ -3140,7 +3140,7 @@ var Ta = (
3140
3140
  makeCacheKey: function(o) {
3141
3141
  var s = o.optimistic ? n.optimisticData : n.data;
3142
3142
  if (Pe(s)) {
3143
- var u = o.optimistic, c = o.id, f = o.variables;
3143
+ var u = o.optimistic, f = o.id, c = o.variables;
3144
3144
  return s.makeCacheKey(
3145
3145
  o.query,
3146
3146
  // Different watches can have the same query, optimistic
@@ -3150,7 +3150,7 @@ var Ta = (
3150
3150
  // separation is to include c.callback in the cache key for
3151
3151
  // maybeBroadcastWatch calls. See issue #5733.
3152
3152
  o.callback,
3153
- $({ optimistic: u, id: c, variables: f })
3153
+ $({ optimistic: u, id: f, variables: c })
3154
3154
  );
3155
3155
  }
3156
3156
  }
@@ -3166,7 +3166,7 @@ var Ta = (
3166
3166
  try {
3167
3167
  return this.storeReader.diffQueryAgainstStore(p(p({}, t), { store: t.optimistic ? this.optimisticData : this.data, config: this.config, returnPartialData: i })).result || null;
3168
3168
  } catch (a) {
3169
- if (a instanceof dn)
3169
+ if (a instanceof vn)
3170
3170
  return null;
3171
3171
  throw a;
3172
3172
  }
@@ -3229,23 +3229,23 @@ var Ta = (
3229
3229
  var n = this.optimisticData.removeLayer(t);
3230
3230
  n !== this.optimisticData && (this.optimisticData = n, this.broadcastWatches());
3231
3231
  }, e.prototype.batch = function(t) {
3232
- var n = this, i = t.update, a = t.optimistic, o = a === void 0 ? !0 : a, s = t.removeOptimistic, u = t.onWatchUpdated, c, f = function(h) {
3233
- var v = n, y = v.data, m = v.optimisticData;
3232
+ var n = this, i = t.update, a = t.optimistic, o = a === void 0 ? !0 : a, s = t.removeOptimistic, u = t.onWatchUpdated, f, c = function(h) {
3233
+ var d = n, y = d.data, m = d.optimisticData;
3234
3234
  ++n.txCount, h && (n.data = n.optimisticData = h);
3235
3235
  try {
3236
- return c = i(n);
3236
+ return f = i(n);
3237
3237
  } finally {
3238
3238
  --n.txCount, n.data = y, n.optimisticData = m;
3239
3239
  }
3240
3240
  }, l = /* @__PURE__ */ new Set();
3241
3241
  return u && !this.txCount && this.broadcastWatches(p(p({}, t), { onWatchUpdated: function(h) {
3242
3242
  return l.add(h), !1;
3243
- } })), typeof o == "string" ? this.optimisticData = this.optimisticData.addLayer(o, f) : o === !1 ? f(this.data) : f(), typeof s == "string" && (this.optimisticData = this.optimisticData.removeLayer(s)), u && l.size ? (this.broadcastWatches(p(p({}, t), { onWatchUpdated: function(h, v) {
3244
- var y = u.call(this, h, v);
3243
+ } })), typeof o == "string" ? this.optimisticData = this.optimisticData.addLayer(o, c) : o === !1 ? c(this.data) : c(), typeof s == "string" && (this.optimisticData = this.optimisticData.removeLayer(s)), u && l.size ? (this.broadcastWatches(p(p({}, t), { onWatchUpdated: function(h, d) {
3244
+ var y = u.call(this, h, d);
3245
3245
  return y !== !1 && l.delete(h), y;
3246
3246
  } })), l.size && l.forEach(function(h) {
3247
3247
  return n.maybeBroadcastWatch.dirty(h);
3248
- })) : this.broadcastWatches(t), c;
3248
+ })) : this.broadcastWatches(t), f;
3249
3249
  }, e.prototype.performTransaction = function(t, n) {
3250
3250
  return this.batch({
3251
3251
  update: t,
@@ -3284,8 +3284,8 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3284
3284
  function e(t) {
3285
3285
  var n = t.queryManager, i = t.queryInfo, a = t.options, o = r.call(this, function(g) {
3286
3286
  try {
3287
- var d = g._subscription._observer;
3288
- d && !d.error && (d.error = Fa);
3287
+ var v = g._subscription._observer;
3288
+ v && !v.error && (v.error = Fa);
3289
3289
  } catch {
3290
3290
  }
3291
3291
  var O = !o.observers.size;
@@ -3296,8 +3296,8 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3296
3296
  o.observers.delete(g) && !o.observers.size && o.tearDownQuery();
3297
3297
  };
3298
3298
  }) || this;
3299
- o.observers = /* @__PURE__ */ new Set(), o.subscriptions = /* @__PURE__ */ new Set(), o.queryInfo = i, o.queryManager = n, o.waitForOwnResult = vt(a.fetchPolicy), o.isTornDown = !1, o.subscribeToMore = o.subscribeToMore.bind(o);
3300
- var s = n.defaultOptions.watchQuery, u = s === void 0 ? {} : s, c = u.fetchPolicy, f = c === void 0 ? "cache-first" : c, l = a.fetchPolicy, h = l === void 0 ? f : l, v = a.initialFetchPolicy, y = v === void 0 ? h === "standby" ? f : h : v;
3299
+ o.observers = /* @__PURE__ */ new Set(), o.subscriptions = /* @__PURE__ */ new Set(), o.queryInfo = i, o.queryManager = n, o.waitForOwnResult = dt(a.fetchPolicy), o.isTornDown = !1, o.subscribeToMore = o.subscribeToMore.bind(o);
3300
+ var s = n.defaultOptions.watchQuery, u = s === void 0 ? {} : s, f = u.fetchPolicy, c = f === void 0 ? "cache-first" : f, l = a.fetchPolicy, h = l === void 0 ? c : l, d = a.initialFetchPolicy, y = d === void 0 ? h === "standby" ? c : h : d;
3301
3301
  o.options = p(p({}, a), {
3302
3302
  // Remember the initial options.fetchPolicy so we can revert back to this
3303
3303
  // policy when variables change. This information can also be specified
@@ -3351,7 +3351,7 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3351
3351
  if (
3352
3352
  // These fetch policies should never deliver data from the cache, unless
3353
3353
  // redelivering a previously delivered result.
3354
- !(vt(s) || // If this.options.query has @client(always: true) fields, we cannot
3354
+ !(dt(s) || // If this.options.query has @client(always: true) fields, we cannot
3355
3355
  // trust diff.result, since it was read from the cache without running
3356
3356
  // local resolvers (and it's too late to run resolvers now, since we must
3357
3357
  // return a result synchronously).
@@ -3366,7 +3366,7 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3366
3366
  }, e.prototype.isDifferentFromLastResult = function(t, n) {
3367
3367
  if (!this.last)
3368
3368
  return !0;
3369
- var i = this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective ? !vn(this.query, this.last.result, t, this.variables) : !F(this.last.result, t);
3369
+ var i = this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective ? !dn(this.query, this.last.result, t, this.variables) : !F(this.last.result, t);
3370
3370
  return i || n && !F(this.last.variables, n);
3371
3371
  }, e.prototype.getLast = function(t, n) {
3372
3372
  var i = this.last;
@@ -3411,30 +3411,30 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3411
3411
  var o = this.queryInfo, s = o.networkStatus;
3412
3412
  o.networkStatus = P.fetchMore, i.notifyOnNetworkStatusChange && this.observe();
3413
3413
  var u = /* @__PURE__ */ new Set();
3414
- return this.queryManager.fetchQuery(a, i, P.fetchMore).then(function(c) {
3414
+ return this.queryManager.fetchQuery(a, i, P.fetchMore).then(function(f) {
3415
3415
  return n.queryManager.removeQuery(a), o.networkStatus === P.fetchMore && (o.networkStatus = s), n.queryManager.cache.batch({
3416
- update: function(f) {
3416
+ update: function(c) {
3417
3417
  var l = t.updateQuery;
3418
- l ? f.updateQuery({
3418
+ l ? c.updateQuery({
3419
3419
  query: n.query,
3420
3420
  variables: n.variables,
3421
3421
  returnPartialData: !0,
3422
3422
  optimistic: !1
3423
3423
  }, function(h) {
3424
3424
  return l(h, {
3425
- fetchMoreResult: c.data,
3425
+ fetchMoreResult: f.data,
3426
3426
  variables: i.variables
3427
3427
  });
3428
- }) : f.writeQuery({
3428
+ }) : c.writeQuery({
3429
3429
  query: i.query,
3430
3430
  variables: i.variables,
3431
- data: c.data
3431
+ data: f.data
3432
3432
  });
3433
3433
  },
3434
- onWatchUpdated: function(f) {
3435
- u.add(f.query);
3434
+ onWatchUpdated: function(c) {
3435
+ u.add(c.query);
3436
3436
  }
3437
- }), c;
3437
+ }), f;
3438
3438
  }).finally(function() {
3439
3439
  u.has(n.query) || Rn(n);
3440
3440
  });
@@ -3447,10 +3447,10 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3447
3447
  next: function(a) {
3448
3448
  var o = t.updateQuery;
3449
3449
  o && n.updateQuery(function(s, u) {
3450
- var c = u.variables;
3450
+ var f = u.variables;
3451
3451
  return o(s, {
3452
3452
  subscriptionData: a,
3453
- variables: c
3453
+ variables: f
3454
3454
  });
3455
3455
  });
3456
3456
  },
@@ -3520,8 +3520,8 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3520
3520
  var o = i || (this.pollingInfo = {});
3521
3521
  o.interval = a;
3522
3522
  var s = function() {
3523
- var c, f;
3524
- t.pollingInfo && (!Ie(t.queryInfo.networkStatus) && !(!((f = (c = t.options).skipPollAttempt) === null || f === void 0) && f.call(c)) ? t.reobserve({
3523
+ var f, c;
3524
+ t.pollingInfo && (!Ie(t.queryInfo.networkStatus) && !(!((c = (f = t.options).skipPollAttempt) === null || c === void 0) && c.call(f)) ? t.reobserve({
3525
3525
  // Most fetchPolicy options don't make sense to use in a polling context, as
3526
3526
  // users wouldn't want to be polling the cache directly. However, network-only and
3527
3527
  // no-cache are both useful for when the user wants to control whether or not the
@@ -3529,8 +3529,8 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3529
3529
  fetchPolicy: t.options.initialFetchPolicy === "no-cache" ? "no-cache" : "network-only"
3530
3530
  }, P.poll).then(u, u) : u());
3531
3531
  }, u = function() {
3532
- var c = t.pollingInfo;
3533
- c && (clearTimeout(c.timeout), c.timeout = setTimeout(s, c.interval));
3532
+ var f = t.pollingInfo;
3533
+ f && (clearTimeout(f.timeout), f.timeout = setTimeout(s, f.interval));
3534
3534
  };
3535
3535
  u();
3536
3536
  }
@@ -3551,25 +3551,25 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3551
3551
  n === P.fetchMore || // Polling uses a disposable Concast so the polling options (which force
3552
3552
  // fetchPolicy to be "network-only" or "no-cache") won't override the original options.
3553
3553
  n === P.poll
3554
- ), o = this.options.variables, s = this.options.fetchPolicy, u = le(this.options, t || {}), c = a ? (
3554
+ ), o = this.options.variables, s = this.options.fetchPolicy, u = le(this.options, t || {}), f = a ? (
3555
3555
  // Disposable Concast fetches receive a shallow copy of this.options
3556
3556
  // (merged with newOptions), leaving this.options unmodified.
3557
3557
  u
3558
- ) : Qr(this.options, u), f = this.transformDocument(c.query);
3559
- this.lastQuery = f, a || (this.updatePolling(), t && t.variables && !F(t.variables, o) && // Don't mess with the fetchPolicy if it's currently "standby".
3560
- c.fetchPolicy !== "standby" && // If we're changing the fetchPolicy anyway, don't try to change it here
3558
+ ) : Qr(this.options, u), c = this.transformDocument(f.query);
3559
+ this.lastQuery = c, a || (this.updatePolling(), t && t.variables && !F(t.variables, o) && // Don't mess with the fetchPolicy if it's currently "standby".
3560
+ f.fetchPolicy !== "standby" && // If we're changing the fetchPolicy anyway, don't try to change it here
3561
3561
  // using applyNextFetchPolicy. The explicit options.fetchPolicy wins.
3562
- (c.fetchPolicy === s || // A `nextFetchPolicy` function has even higher priority, though,
3562
+ (f.fetchPolicy === s || // A `nextFetchPolicy` function has even higher priority, though,
3563
3563
  // so in that case `applyNextFetchPolicy` must be called.
3564
- typeof c.nextFetchPolicy == "function") && (this.applyNextFetchPolicy("variables-changed", c), n === void 0 && (n = P.setVariables))), this.waitForOwnResult && (this.waitForOwnResult = vt(c.fetchPolicy));
3564
+ typeof f.nextFetchPolicy == "function") && (this.applyNextFetchPolicy("variables-changed", f), n === void 0 && (n = P.setVariables))), this.waitForOwnResult && (this.waitForOwnResult = dt(f.fetchPolicy));
3565
3565
  var l = function() {
3566
3566
  i.concast === y && (i.waitForOwnResult = !1);
3567
- }, h = c.variables && p({}, c.variables), v = this.fetch(c, n, f), y = v.concast, m = v.fromLink, g = {
3568
- next: function(d) {
3569
- F(i.variables, h) && (l(), i.reportResult(d, h));
3567
+ }, h = f.variables && p({}, f.variables), d = this.fetch(f, n, c), y = d.concast, m = d.fromLink, g = {
3568
+ next: function(v) {
3569
+ F(i.variables, h) && (l(), i.reportResult(v, h));
3570
3570
  },
3571
- error: function(d) {
3572
- F(i.variables, h) && (l(), i.reportError(d, h));
3571
+ error: function(v) {
3572
+ F(i.variables, h) && (l(), i.reportError(v, h));
3573
3573
  }
3574
3574
  };
3575
3575
  return !a && (m || !this.concast) && (this.concast && this.observer && this.concast.removeObserver(this.observer), this.concast = y, this.observer = g), y.addObserver(g), y;
@@ -3608,7 +3608,7 @@ var Qr = Object.assign, Pa = Object.hasOwnProperty, Mt = (
3608
3608
  }, e;
3609
3609
  }(Q)
3610
3610
  );
3611
- cn(Mt);
3611
+ fn(Mt);
3612
3612
  function Rn(r) {
3613
3613
  var e = r.options, t = e.fetchPolicy, n = e.nextFetchPolicy;
3614
3614
  return t === "cache-and-network" || t === "network-only" ? r.reobserve({
@@ -3626,10 +3626,10 @@ function Fa(r) {
3626
3626
  function Tn(r) {
3627
3627
  globalThis.__DEV__ !== !1 && r && globalThis.__DEV__ !== !1 && _.debug(24, r);
3628
3628
  }
3629
- function vt(r) {
3629
+ function dt(r) {
3630
3630
  return r === "network-only" || r === "no-cache" || r === "standby";
3631
3631
  }
3632
- var ge = new (ve ? WeakMap : Map)();
3632
+ var ge = new (de ? WeakMap : Map)();
3633
3633
  function pt(r, e) {
3634
3634
  var t = r[e];
3635
3635
  typeof t == "function" && (r[e] = function() {
@@ -3646,7 +3646,7 @@ function pt(r, e) {
3646
3646
  function qr(r) {
3647
3647
  r.notifyTimeout && (clearTimeout(r.notifyTimeout), r.notifyTimeout = void 0);
3648
3648
  }
3649
- var dt = (
3649
+ var vt = (
3650
3650
  /** @class */
3651
3651
  function() {
3652
3652
  function r(e, t) {
@@ -3744,15 +3744,15 @@ var dt = (
3744
3744
  }, r.prototype.markResult = function(e, t, n, i) {
3745
3745
  var a = this, o = new oe(), s = N(e.errors) ? e.errors.slice(0) : [];
3746
3746
  if (this.reset(), "incremental" in e && N(e.incremental)) {
3747
- var u = fn(this.getDiff().result, e);
3747
+ var u = cn(this.getDiff().result, e);
3748
3748
  e.data = u;
3749
3749
  } else if ("hasNext" in e && e.hasNext) {
3750
- var c = this.getDiff();
3751
- e.data = o.merge(c.result, e.data);
3750
+ var f = this.getDiff();
3751
+ e.data = o.merge(f.result, e.data);
3752
3752
  }
3753
- this.graphQLErrors = s, n.fetchPolicy === "no-cache" ? this.updateLastDiff({ result: e.data, complete: !0 }, this.getDiffOptions(n.variables)) : i !== 0 && (Ct(e, n.errorPolicy) ? this.cache.performTransaction(function(f) {
3753
+ this.graphQLErrors = s, n.fetchPolicy === "no-cache" ? this.updateLastDiff({ result: e.data, complete: !0 }, this.getDiffOptions(n.variables)) : i !== 0 && (Ct(e, n.errorPolicy) ? this.cache.performTransaction(function(c) {
3754
3754
  if (a.shouldWrite(e, n.variables))
3755
- f.writeQuery({
3755
+ c.writeQuery({
3756
3756
  query: t,
3757
3757
  data: e.data,
3758
3758
  variables: n.variables,
@@ -3766,7 +3766,7 @@ var dt = (
3766
3766
  e.data = a.lastDiff.diff.result;
3767
3767
  return;
3768
3768
  }
3769
- var l = a.getDiffOptions(n.variables), h = f.diff(l);
3769
+ var l = a.getDiffOptions(n.variables), h = c.diff(l);
3770
3770
  !a.stopped && F(a.variables, n.variables) && a.updateWatch(n.variables), a.updateLastDiff(h, l), h.complete && (e.data = h.result);
3771
3771
  }) : this.lastWrite = void 0);
3772
3772
  }, r.prototype.markReady = function() {
@@ -3812,31 +3812,31 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3812
3812
  }), this.fetchCancelFns.clear();
3813
3813
  }, r.prototype.mutate = function(e) {
3814
3814
  return ee(this, arguments, void 0, function(t) {
3815
- var n, i, a, o, s, u, c, f = t.mutation, l = t.variables, h = t.optimisticResponse, v = t.updateQueries, y = t.refetchQueries, m = y === void 0 ? [] : y, g = t.awaitRefetchQueries, d = g === void 0 ? !1 : g, O = t.update, b = t.onQueryUpdated, w = t.fetchPolicy, S = w === void 0 ? ((u = this.defaultOptions.mutate) === null || u === void 0 ? void 0 : u.fetchPolicy) || "network-only" : w, E = t.errorPolicy, D = E === void 0 ? ((c = this.defaultOptions.mutate) === null || c === void 0 ? void 0 : c.errorPolicy) || "none" : E, k = t.keepRootFields, T = t.context;
3815
+ var n, i, a, o, s, u, f, c = t.mutation, l = t.variables, h = t.optimisticResponse, d = t.updateQueries, y = t.refetchQueries, m = y === void 0 ? [] : y, g = t.awaitRefetchQueries, v = g === void 0 ? !1 : g, O = t.update, b = t.onQueryUpdated, w = t.fetchPolicy, S = w === void 0 ? ((u = this.defaultOptions.mutate) === null || u === void 0 ? void 0 : u.fetchPolicy) || "network-only" : w, E = t.errorPolicy, D = E === void 0 ? ((f = this.defaultOptions.mutate) === null || f === void 0 ? void 0 : f.errorPolicy) || "none" : E, k = t.keepRootFields, T = t.context;
3816
3816
  return te(this, function(C) {
3817
3817
  switch (C.label) {
3818
3818
  case 0:
3819
- return _(f, 26), _(S === "network-only" || S === "no-cache", 27), n = this.generateMutationId(), f = this.cache.transformForLink(this.transform(f)), i = this.getDocumentInfo(f).hasClientExports, l = this.getVariables(f, l), i ? [4, this.localState.addExportedVariables(f, l, T)] : [3, 2];
3819
+ return _(c, 26), _(S === "network-only" || S === "no-cache", 27), n = this.generateMutationId(), c = this.cache.transformForLink(this.transform(c)), i = this.getDocumentInfo(c).hasClientExports, l = this.getVariables(c, l), i ? [4, this.localState.addExportedVariables(c, l, T)] : [3, 2];
3820
3820
  case 1:
3821
3821
  l = C.sent(), C.label = 2;
3822
3822
  case 2:
3823
3823
  return a = this.mutationStore && (this.mutationStore[n] = {
3824
- mutation: f,
3824
+ mutation: c,
3825
3825
  variables: l,
3826
3826
  loading: !0,
3827
3827
  error: null
3828
3828
  }), o = h && this.markMutationOptimistic(h, {
3829
3829
  mutationId: n,
3830
- document: f,
3830
+ document: c,
3831
3831
  variables: l,
3832
3832
  fetchPolicy: S,
3833
3833
  errorPolicy: D,
3834
3834
  context: T,
3835
- updateQueries: v,
3835
+ updateQueries: d,
3836
3836
  update: O,
3837
3837
  keepRootFields: k
3838
3838
  }), this.broadcastQueries(), s = this, [2, new Promise(function(z, X) {
3839
- return ut(s.getObservableFromLink(f, p(p({}, T), { optimisticResponse: o ? h : void 0 }), l, {}, !1), function(x) {
3839
+ return ut(s.getObservableFromLink(c, p(p({}, T), { optimisticResponse: o ? h : void 0 }), l, {}, !1), function(x) {
3840
3840
  if (Be(x) && D === "none")
3841
3841
  throw new G({
3842
3842
  graphQLErrors: kt(x)
@@ -3846,14 +3846,14 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3846
3846
  return typeof m == "function" && (m = m(K)), D === "ignore" && Be(K) && delete K.errors, s.markMutationResult({
3847
3847
  mutationId: n,
3848
3848
  result: K,
3849
- document: f,
3849
+ document: c,
3850
3850
  variables: l,
3851
3851
  fetchPolicy: S,
3852
3852
  errorPolicy: D,
3853
3853
  context: T,
3854
3854
  update: O,
3855
- updateQueries: v,
3856
- awaitRefetchQueries: d,
3855
+ updateQueries: d,
3856
+ awaitRefetchQueries: v,
3857
3857
  refetchQueries: m,
3858
3858
  removeOptimistic: o ? n : void 0,
3859
3859
  onQueryUpdated: b,
@@ -3894,19 +3894,19 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3894
3894
  optimistic: !1,
3895
3895
  returnPartialData: !0
3896
3896
  }), u = void 0;
3897
- s.result && (u = fn(s.result, i)), typeof u < "u" && (i.data = u, a.push({
3897
+ s.result && (u = cn(s.result, i)), typeof u < "u" && (i.data = u, a.push({
3898
3898
  result: u,
3899
3899
  dataId: "ROOT_MUTATION",
3900
3900
  query: e.document,
3901
3901
  variables: e.variables
3902
3902
  }));
3903
3903
  }
3904
- var c = e.updateQueries;
3905
- c && this.queries.forEach(function(l, h) {
3906
- var v = l.observableQuery, y = v && v.queryName;
3907
- if (!(!y || !Ma.call(c, y))) {
3908
- var m = c[y], g = n.queries.get(h), d = g.document, O = g.variables, b = t.diff({
3909
- query: d,
3904
+ var f = e.updateQueries;
3905
+ f && this.queries.forEach(function(l, h) {
3906
+ var d = l.observableQuery, y = d && d.queryName;
3907
+ if (!(!y || !Ma.call(f, y))) {
3908
+ var m = f[y], g = n.queries.get(h), v = g.document, O = g.variables, b = t.diff({
3909
+ query: v,
3910
3910
  variables: O,
3911
3911
  returnPartialData: !0,
3912
3912
  optimistic: !1
@@ -3914,13 +3914,13 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3914
3914
  if (S && w) {
3915
3915
  var E = m(w, {
3916
3916
  mutationResult: i,
3917
- queryName: d && Et(d) || void 0,
3917
+ queryName: v && Et(v) || void 0,
3918
3918
  queryVariables: O
3919
3919
  });
3920
3920
  E && a.push({
3921
3921
  result: E,
3922
3922
  dataId: "ROOT_QUERY",
3923
- query: d,
3923
+ query: v,
3924
3924
  variables: O
3925
3925
  });
3926
3926
  }
@@ -3928,13 +3928,13 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3928
3928
  });
3929
3929
  }
3930
3930
  if (a.length > 0 || (e.refetchQueries || "").length > 0 || e.update || e.onQueryUpdated || e.removeOptimistic) {
3931
- var f = [];
3931
+ var c = [];
3932
3932
  if (this.refetchQueries({
3933
3933
  updateCache: function(l) {
3934
3934
  o || a.forEach(function(m) {
3935
3935
  return l.write(m);
3936
3936
  });
3937
- var h = e.update, v = !Fi(i) || Oe(i) && !i.hasNext;
3937
+ var h = e.update, d = !Fi(i) || Oe(i) && !i.hasNext;
3938
3938
  if (h) {
3939
3939
  if (!o) {
3940
3940
  var y = l.diff({
@@ -3949,16 +3949,16 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3949
3949
  });
3950
3950
  y.complete && (i = p(p({}, i), { data: y.result }), "incremental" in i && delete i.incremental, "hasNext" in i && delete i.hasNext);
3951
3951
  }
3952
- v && h(l, i, {
3952
+ d && h(l, i, {
3953
3953
  context: e.context,
3954
3954
  variables: e.variables
3955
3955
  });
3956
3956
  }
3957
- !o && !e.keepRootFields && v && l.modify({
3957
+ !o && !e.keepRootFields && d && l.modify({
3958
3958
  id: "ROOT_MUTATION",
3959
3959
  fields: function(m, g) {
3960
- var d = g.fieldName, O = g.DELETE;
3961
- return d === "__typename" ? m : O;
3960
+ var v = g.fieldName, O = g.DELETE;
3961
+ return v === "__typename" ? m : O;
3962
3962
  }
3963
3963
  });
3964
3964
  },
@@ -3974,9 +3974,9 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
3974
3974
  // null instead of undefined to disable the default refetching behavior.
3975
3975
  onQueryUpdated: e.onQueryUpdated || null
3976
3976
  }).forEach(function(l) {
3977
- return f.push(l);
3977
+ return c.push(l);
3978
3978
  }), e.awaitRefetchQueries || e.onQueryUpdated)
3979
- return Promise.all(f).then(function() {
3979
+ return Promise.all(c).then(function() {
3980
3980
  return i;
3981
3981
  });
3982
3982
  }
@@ -4040,7 +4040,7 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4040
4040
  }, r.prototype.watchQuery = function(e) {
4041
4041
  var t = this.transform(e.query);
4042
4042
  e = p(p({}, e), { variables: this.getVariables(t, e.variables) }), typeof e.notifyOnNetworkStatusChange > "u" && (e.notifyOnNetworkStatusChange = !1);
4043
- var n = new dt(this), i = new Mt({
4043
+ var n = new vt(this), i = new Mt({
4044
4044
  queryManager: this,
4045
4045
  queryInfo: n,
4046
4046
  options: e
@@ -4079,27 +4079,27 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4079
4079
  return Array.isArray(e) && e.forEach(function(o) {
4080
4080
  typeof o == "string" ? i.set(o, !1) : ii(o) ? i.set(t.transform(o), !1) : q(o) && o.query && a.add(o);
4081
4081
  }), this.queries.forEach(function(o, s) {
4082
- var u = o.observableQuery, c = o.document;
4082
+ var u = o.observableQuery, f = o.document;
4083
4083
  if (u) {
4084
4084
  if (e === "all") {
4085
4085
  n.set(s, u);
4086
4086
  return;
4087
4087
  }
4088
- var f = u.queryName, l = u.options.fetchPolicy;
4088
+ var c = u.queryName, l = u.options.fetchPolicy;
4089
4089
  if (l === "standby" || e === "active" && !u.hasObservers())
4090
4090
  return;
4091
- (e === "active" || f && i.has(f) || c && i.has(c)) && (n.set(s, u), f && i.set(f, !0), c && i.set(c, !0));
4091
+ (e === "active" || c && i.has(c) || f && i.has(f)) && (n.set(s, u), c && i.set(c, !0), f && i.set(f, !0));
4092
4092
  }
4093
4093
  }), a.size && a.forEach(function(o) {
4094
4094
  var s = bt("legacyOneTimeQuery"), u = t.getQuery(s).init({
4095
4095
  document: o.query,
4096
4096
  variables: o.variables
4097
- }), c = new Mt({
4097
+ }), f = new Mt({
4098
4098
  queryManager: t,
4099
4099
  queryInfo: u,
4100
4100
  options: p(p({}, o), { fetchPolicy: "network-only" })
4101
4101
  });
4102
- _(c.queryId === s), u.setObservableQuery(c), n.set(s, c);
4102
+ _(f.queryId === s), u.setObservableQuery(f), n.set(s, f);
4103
4103
  }), globalThis.__DEV__ !== !1 && i.size && i.forEach(function(o, s) {
4104
4104
  o || globalThis.__DEV__ !== !1 && _.warn(typeof s == "string" ? 33 : 34, s);
4105
4105
  }), n;
@@ -4114,30 +4114,30 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4114
4114
  }, r.prototype.setObservableQuery = function(e) {
4115
4115
  this.getQuery(e.queryId).setObservableQuery(e);
4116
4116
  }, r.prototype.startGraphQLSubscription = function(e) {
4117
- var t = this, n = e.query, i = e.fetchPolicy, a = e.errorPolicy, o = a === void 0 ? "none" : a, s = e.variables, u = e.context, c = u === void 0 ? {} : u, f = e.extensions, l = f === void 0 ? {} : f;
4117
+ var t = this, n = e.query, i = e.fetchPolicy, a = e.errorPolicy, o = a === void 0 ? "none" : a, s = e.variables, u = e.context, f = u === void 0 ? {} : u, c = e.extensions, l = c === void 0 ? {} : c;
4118
4118
  n = this.transform(n), s = this.getVariables(n, s);
4119
4119
  var h = function(y) {
4120
- return t.getObservableFromLink(n, c, y, l).map(function(m) {
4120
+ return t.getObservableFromLink(n, f, y, l).map(function(m) {
4121
4121
  i !== "no-cache" && (Ct(m, o) && t.cache.write({
4122
4122
  query: n,
4123
4123
  result: m.data,
4124
4124
  dataId: "ROOT_SUBSCRIPTION",
4125
4125
  variables: y
4126
4126
  }), t.broadcastQueries());
4127
- var g = Be(m), d = Hi(m);
4128
- if (g || d) {
4127
+ var g = Be(m), v = Hi(m);
4128
+ if (g || v) {
4129
4129
  var O = {};
4130
- if (g && (O.graphQLErrors = m.errors), d && (O.protocolErrors = m.extensions[Bt]), o === "none" || d)
4130
+ if (g && (O.graphQLErrors = m.errors), v && (O.protocolErrors = m.extensions[Bt]), o === "none" || v)
4131
4131
  throw new G(O);
4132
4132
  }
4133
4133
  return o === "ignore" && delete m.errors, m;
4134
4134
  });
4135
4135
  };
4136
4136
  if (this.getDocumentInfo(n).hasClientExports) {
4137
- var v = this.localState.addExportedVariables(n, s, c).then(h);
4137
+ var d = this.localState.addExportedVariables(n, s, f).then(h);
4138
4138
  return new Q(function(y) {
4139
4139
  var m = null;
4140
- return v.then(function(g) {
4140
+ return d.then(function(g) {
4141
4141
  return m = g.subscribe(y);
4142
4142
  }, y.error), function() {
4143
4143
  return m && m.unsubscribe();
@@ -4160,31 +4160,31 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4160
4160
  }, r.prototype.getObservableFromLink = function(e, t, n, i, a) {
4161
4161
  var o = this, s;
4162
4162
  a === void 0 && (a = (s = t == null ? void 0 : t.queryDeduplication) !== null && s !== void 0 ? s : this.queryDeduplication);
4163
- var u, c = this.getDocumentInfo(e), f = c.serverQuery, l = c.clientQuery;
4164
- if (f) {
4165
- var h = this, v = h.inFlightLinkObservables, y = h.link, m = {
4166
- query: f,
4163
+ var u, f = this.getDocumentInfo(e), c = f.serverQuery, l = f.clientQuery;
4164
+ if (c) {
4165
+ var h = this, d = h.inFlightLinkObservables, y = h.link, m = {
4166
+ query: c,
4167
4167
  variables: n,
4168
- operationName: Et(f) || void 0,
4168
+ operationName: Et(c) || void 0,
4169
4169
  context: this.prepareContext(p(p({}, t), { forceFetch: !a })),
4170
4170
  extensions: i
4171
4171
  };
4172
4172
  if (t = m.context, a) {
4173
- var g = rt(f), d = $(n), O = v.lookup(g, d);
4173
+ var g = rt(c), v = $(n), O = d.lookup(g, v);
4174
4174
  if (u = O.observable, !u) {
4175
- var b = new de([
4175
+ var b = new ve([
4176
4176
  Dt(y, m)
4177
4177
  ]);
4178
4178
  u = O.observable = b, b.beforeNext(function() {
4179
- v.remove(g, d);
4179
+ d.remove(g, v);
4180
4180
  });
4181
4181
  }
4182
4182
  } else
4183
- u = new de([
4183
+ u = new ve([
4184
4184
  Dt(y, m)
4185
4185
  ]);
4186
4186
  } else
4187
- u = new de([Q.of({ data: {} })]), t = this.prepareContext(t);
4187
+ u = new ve([Q.of({ data: {} })]), t = this.prepareContext(t);
4188
4188
  return l && (u = ut(u, function(w) {
4189
4189
  return o.localState.runResolvers({
4190
4190
  document: l,
@@ -4204,12 +4204,12 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4204
4204
  }));
4205
4205
  e.markResult(o, a, n, t), e.markReady();
4206
4206
  }
4207
- var c = {
4207
+ var f = {
4208
4208
  data: o.data,
4209
4209
  loading: !1,
4210
4210
  networkStatus: P.ready
4211
4211
  };
4212
- return u && n.errorPolicy !== "ignore" && (c.errors = s, c.networkStatus = P.error), c;
4212
+ return u && n.errorPolicy !== "ignore" && (f.errors = s, f.networkStatus = P.error), f;
4213
4213
  }, function(o) {
4214
4214
  var s = Ki(o) ? o : new G({ networkError: o });
4215
4215
  throw i >= e.lastRequestId && e.markError(s), s;
@@ -4217,10 +4217,10 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4217
4217
  }, r.prototype.fetchConcastWithInfo = function(e, t, n, i) {
4218
4218
  var a = this;
4219
4219
  n === void 0 && (n = P.loading), i === void 0 && (i = t.query);
4220
- var o = this.getVariables(i, t.variables), s = this.getQuery(e), u = this.defaultOptions.watchQuery, c = t.fetchPolicy, f = c === void 0 ? u && u.fetchPolicy || "cache-first" : c, l = t.errorPolicy, h = l === void 0 ? u && u.errorPolicy || "none" : l, v = t.returnPartialData, y = v === void 0 ? !1 : v, m = t.notifyOnNetworkStatusChange, g = m === void 0 ? !1 : m, d = t.context, O = d === void 0 ? {} : d, b = Object.assign({}, t, {
4220
+ var o = this.getVariables(i, t.variables), s = this.getQuery(e), u = this.defaultOptions.watchQuery, f = t.fetchPolicy, c = f === void 0 ? u && u.fetchPolicy || "cache-first" : f, l = t.errorPolicy, h = l === void 0 ? u && u.errorPolicy || "none" : l, d = t.returnPartialData, y = d === void 0 ? !1 : d, m = t.notifyOnNetworkStatusChange, g = m === void 0 ? !1 : m, v = t.context, O = v === void 0 ? {} : v, b = Object.assign({}, t, {
4221
4221
  query: i,
4222
4222
  variables: o,
4223
- fetchPolicy: f,
4223
+ fetchPolicy: c,
4224
4224
  errorPolicy: h,
4225
4225
  returnPartialData: y,
4226
4226
  notifyOnNetworkStatusChange: g,
@@ -4245,23 +4245,23 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4245
4245
  });
4246
4246
  var E, D;
4247
4247
  if (this.getDocumentInfo(b.query).hasClientExports)
4248
- E = new de(this.localState.addExportedVariables(b.query, b.variables, b.context).then(w).then(function(T) {
4248
+ E = new ve(this.localState.addExportedVariables(b.query, b.variables, b.context).then(w).then(function(T) {
4249
4249
  return T.sources;
4250
4250
  })), D = !0;
4251
4251
  else {
4252
4252
  var k = w(b.variables);
4253
- D = k.fromLink, E = new de(k.sources);
4253
+ D = k.fromLink, E = new ve(k.sources);
4254
4254
  }
4255
4255
  return E.promise.then(S, S), {
4256
4256
  concast: E,
4257
4257
  fromLink: D
4258
4258
  };
4259
4259
  }, r.prototype.refetchQueries = function(e) {
4260
- var t = this, n = e.updateCache, i = e.include, a = e.optimistic, o = a === void 0 ? !1 : a, s = e.removeOptimistic, u = s === void 0 ? o ? bt("refetchQueries") : void 0 : s, c = e.onQueryUpdated, f = /* @__PURE__ */ new Map();
4261
- i && this.getObservableQueries(i).forEach(function(h, v) {
4262
- f.set(v, {
4260
+ var t = this, n = e.updateCache, i = e.include, a = e.optimistic, o = a === void 0 ? !1 : a, s = e.removeOptimistic, u = s === void 0 ? o ? bt("refetchQueries") : void 0 : s, f = e.onQueryUpdated, c = /* @__PURE__ */ new Map();
4261
+ i && this.getObservableQueries(i).forEach(function(h, d) {
4262
+ c.set(d, {
4263
4263
  oq: h,
4264
- lastDiff: t.getQuery(v).getDiff()
4264
+ lastDiff: t.getQuery(d).getDiff()
4265
4265
  });
4266
4266
  });
4267
4267
  var l = /* @__PURE__ */ new Map();
@@ -4305,30 +4305,30 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4305
4305
  // true, the removeOptimistic string will determine the ID of the
4306
4306
  // temporary optimistic layer, in case that ever matters.
4307
4307
  removeOptimistic: u,
4308
- onWatchUpdated: function(h, v, y) {
4309
- var m = h.watcher instanceof dt && h.watcher.observableQuery;
4308
+ onWatchUpdated: function(h, d, y) {
4309
+ var m = h.watcher instanceof vt && h.watcher.observableQuery;
4310
4310
  if (m) {
4311
- if (c) {
4312
- f.delete(m.queryId);
4313
- var g = c(m, v, y);
4311
+ if (f) {
4312
+ c.delete(m.queryId);
4313
+ var g = f(m, d, y);
4314
4314
  return g === !0 && (g = m.refetch()), g !== !1 && l.set(m, g), g;
4315
4315
  }
4316
- c !== null && f.set(m.queryId, { oq: m, lastDiff: y, diff: v });
4316
+ f !== null && c.set(m.queryId, { oq: m, lastDiff: y, diff: d });
4317
4317
  }
4318
4318
  }
4319
- }), f.size && f.forEach(function(h, v) {
4320
- var y = h.oq, m = h.lastDiff, g = h.diff, d;
4321
- if (c) {
4319
+ }), c.size && c.forEach(function(h, d) {
4320
+ var y = h.oq, m = h.lastDiff, g = h.diff, v;
4321
+ if (f) {
4322
4322
  if (!g) {
4323
4323
  var O = y.queryInfo;
4324
4324
  O.reset(), g = O.getDiff();
4325
4325
  }
4326
- d = c(y, g, m);
4326
+ v = f(y, g, m);
4327
4327
  }
4328
- (!c || d === !0) && (d = y.refetch()), d !== !1 && l.set(y, d), v.indexOf("legacyOneTimeQuery") >= 0 && t.stopQueryNoBroadcast(v);
4328
+ (!f || v === !0) && (v = y.refetch()), v !== !1 && l.set(y, v), d.indexOf("legacyOneTimeQuery") >= 0 && t.stopQueryNoBroadcast(d);
4329
4329
  }), u && this.cache.removeOptimistic(u), l;
4330
4330
  }, r.prototype.fetchQueryByPolicy = function(e, t, n) {
4331
- var i = this, a = t.query, o = t.variables, s = t.fetchPolicy, u = t.refetchWritePolicy, c = t.errorPolicy, f = t.returnPartialData, l = t.context, h = t.notifyOnNetworkStatusChange, v = e.networkStatus;
4331
+ var i = this, a = t.query, o = t.variables, s = t.fetchPolicy, u = t.refetchWritePolicy, f = t.errorPolicy, c = t.returnPartialData, l = t.context, h = t.notifyOnNetworkStatusChange, d = e.networkStatus;
4332
4332
  e.init({
4333
4333
  document: a,
4334
4334
  variables: o,
@@ -4339,7 +4339,7 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4339
4339
  }, m = function(w, S) {
4340
4340
  S === void 0 && (S = e.networkStatus || P.loading);
4341
4341
  var E = w.result;
4342
- globalThis.__DEV__ !== !1 && !f && !F(E, {}) && Tn(w.missing);
4342
+ globalThis.__DEV__ !== !1 && !c && !F(E, {}) && Tn(w.missing);
4343
4343
  var D = function(k) {
4344
4344
  return Q.of(p({ data: k, loading: Ie(S), networkStatus: S }, w.complete ? null : { partial: !0 }));
4345
4345
  };
@@ -4351,16 +4351,16 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4351
4351
  onlyRunForcedResolvers: !0
4352
4352
  }).then(function(k) {
4353
4353
  return D(k.data || void 0);
4354
- }) : c === "none" && S === P.refetch && Array.isArray(w.missing) ? D(void 0) : D(E);
4355
- }, g = s === "no-cache" ? 0 : n === P.refetch && u !== "merge" ? 1 : 2, d = function() {
4354
+ }) : f === "none" && S === P.refetch && Array.isArray(w.missing) ? D(void 0) : D(E);
4355
+ }, g = s === "no-cache" ? 0 : n === P.refetch && u !== "merge" ? 1 : 2, v = function() {
4356
4356
  return i.getResultsFromLink(e, g, {
4357
4357
  query: a,
4358
4358
  variables: o,
4359
4359
  context: l,
4360
4360
  fetchPolicy: s,
4361
- errorPolicy: c
4361
+ errorPolicy: f
4362
4362
  });
4363
- }, O = h && typeof v == "number" && v !== n && Ie(n);
4363
+ }, O = h && typeof d == "number" && d !== n && Ie(n);
4364
4364
  switch (s) {
4365
4365
  default:
4366
4366
  case "cache-first": {
@@ -4368,17 +4368,17 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4368
4368
  return b.complete ? {
4369
4369
  fromLink: !1,
4370
4370
  sources: [m(b, e.markReady())]
4371
- } : f || O ? {
4371
+ } : c || O ? {
4372
4372
  fromLink: !0,
4373
- sources: [m(b), d()]
4374
- } : { fromLink: !0, sources: [d()] };
4373
+ sources: [m(b), v()]
4374
+ } : { fromLink: !0, sources: [v()] };
4375
4375
  }
4376
4376
  case "cache-and-network": {
4377
4377
  var b = y();
4378
- return b.complete || f || O ? {
4378
+ return b.complete || c || O ? {
4379
4379
  fromLink: !0,
4380
- sources: [m(b), d()]
4381
- } : { fromLink: !0, sources: [d()] };
4380
+ sources: [m(b), v()]
4381
+ } : { fromLink: !0, sources: [v()] };
4382
4382
  }
4383
4383
  case "cache-only":
4384
4384
  return {
@@ -4388,21 +4388,21 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4388
4388
  case "network-only":
4389
4389
  return O ? {
4390
4390
  fromLink: !0,
4391
- sources: [m(y()), d()]
4392
- } : { fromLink: !0, sources: [d()] };
4391
+ sources: [m(y()), v()]
4392
+ } : { fromLink: !0, sources: [v()] };
4393
4393
  case "no-cache":
4394
4394
  return O ? {
4395
4395
  fromLink: !0,
4396
4396
  // Note that queryInfo.getDiff() for no-cache queries does not call
4397
4397
  // cache.diff, but instead returns a { complete: false } stub result
4398
4398
  // when there is no queryInfo.diff already defined.
4399
- sources: [m(e.getDiff()), d()]
4400
- } : { fromLink: !0, sources: [d()] };
4399
+ sources: [m(e.getDiff()), v()]
4400
+ } : { fromLink: !0, sources: [v()] };
4401
4401
  case "standby":
4402
4402
  return { fromLink: !1, sources: [] };
4403
4403
  }
4404
4404
  }, r.prototype.getQuery = function(e) {
4405
- return e && !this.queries.has(e) && this.queries.set(e, new dt(this, e)), this.queries.get(e);
4405
+ return e && !this.queries.has(e) && this.queries.set(e, new vt(this, e)), this.queries.get(e);
4406
4406
  }, r.prototype.prepareContext = function(e) {
4407
4407
  e === void 0 && (e = {});
4408
4408
  var t = this.localState.prepareContext(e);
@@ -4428,9 +4428,9 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4428
4428
  }, r.prototype.runResolvers = function(e) {
4429
4429
  return ee(this, arguments, void 0, function(t) {
4430
4430
  var n = t.document, i = t.remoteResult, a = t.context, o = t.variables, s = t.onlyRunForcedResolvers, u = s === void 0 ? !1 : s;
4431
- return te(this, function(c) {
4432
- return n ? [2, this.resolveDocument(n, i.data, a, o, this.fragmentMatcher, u).then(function(f) {
4433
- return p(p({}, i), { data: f.result });
4431
+ return te(this, function(f) {
4432
+ return n ? [2, this.resolveDocument(n, i.data, a, o, this.fragmentMatcher, u).then(function(c) {
4433
+ return p(p({}, i), { data: c.result });
4434
4434
  })] : [2, i];
4435
4435
  });
4436
4436
  });
@@ -4480,20 +4480,20 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4480
4480
  }).result;
4481
4481
  }, r.prototype.resolveDocument = function(e, t) {
4482
4482
  return ee(this, arguments, void 0, function(n, i, a, o, s, u) {
4483
- var c, f, l, h, v, y, m, g, d, O, b;
4483
+ var f, c, l, h, d, y, m, g, v, O, b;
4484
4484
  return a === void 0 && (a = {}), o === void 0 && (o = {}), s === void 0 && (s = function() {
4485
4485
  return !0;
4486
4486
  }), u === void 0 && (u = !1), te(this, function(w) {
4487
- return c = Ae(n), f = tt(n), l = Xe(f), h = this.collectSelectionsToResolve(c, l), v = c.operation, y = v ? v.charAt(0).toUpperCase() + v.slice(1) : "Query", m = this, g = m.cache, d = m.client, O = {
4487
+ return f = Ae(n), c = tt(n), l = Xe(c), h = this.collectSelectionsToResolve(f, l), d = f.operation, y = d ? d.charAt(0).toUpperCase() + d.slice(1) : "Query", m = this, g = m.cache, v = m.client, O = {
4488
4488
  fragmentMap: l,
4489
- context: p(p({}, a), { cache: g, client: d }),
4489
+ context: p(p({}, a), { cache: g, client: v }),
4490
4490
  variables: o,
4491
4491
  fragmentMatcher: s,
4492
4492
  defaultOperationType: y,
4493
4493
  exportedVariables: {},
4494
4494
  selectionsToResolve: h,
4495
4495
  onlyRunForcedResolvers: u
4496
- }, b = !1, [2, this.resolveSelectionSet(c.selectionSet, b, i, O).then(function(S) {
4496
+ }, b = !1, [2, this.resolveSelectionSet(f.selectionSet, b, i, O).then(function(S) {
4497
4497
  return {
4498
4498
  result: S,
4499
4499
  exportedVariables: O.exportedVariables
@@ -4503,19 +4503,19 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4503
4503
  });
4504
4504
  }, r.prototype.resolveSelectionSet = function(e, t, n, i) {
4505
4505
  return ee(this, void 0, void 0, function() {
4506
- var a, o, s, u, c, f = this;
4506
+ var a, o, s, u, f, c = this;
4507
4507
  return te(this, function(l) {
4508
- return a = i.fragmentMap, o = i.context, s = i.variables, u = [n], c = function(h) {
4509
- return ee(f, void 0, void 0, function() {
4510
- var v, y;
4508
+ return a = i.fragmentMap, o = i.context, s = i.variables, u = [n], f = function(h) {
4509
+ return ee(c, void 0, void 0, function() {
4510
+ var d, y;
4511
4511
  return te(this, function(m) {
4512
4512
  return !t && !i.selectionsToResolve.has(h) ? [
4513
4513
  2
4514
4514
  /*return*/
4515
4515
  ] : xe(h, s) ? ae(h) ? [2, this.resolveField(h, t, n, i).then(function(g) {
4516
- var d;
4517
- typeof g < "u" && u.push((d = {}, d[ie(h)] = g, d));
4518
- })] : (yi(h) ? v = h : (v = a[h.name.value], _(v, 18, h.name.value)), v && v.typeCondition && (y = v.typeCondition.name.value, i.fragmentMatcher(n, y, o)) ? [2, this.resolveSelectionSet(v.selectionSet, t, n, i).then(function(g) {
4516
+ var v;
4517
+ typeof g < "u" && u.push((v = {}, v[ie(h)] = g, v));
4518
+ })] : (yi(h) ? d = h : (d = a[h.name.value], _(d, 18, h.name.value)), d && d.typeCondition && (y = d.typeCondition.name.value, i.fragmentMatcher(n, y, o)) ? [2, this.resolveSelectionSet(d.selectionSet, t, n, i).then(function(g) {
4519
4519
  u.push(g);
4520
4520
  })] : [
4521
4521
  2
@@ -4526,33 +4526,33 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4526
4526
  ];
4527
4527
  });
4528
4528
  });
4529
- }, [2, Promise.all(e.selections.map(c)).then(function() {
4529
+ }, [2, Promise.all(e.selections.map(f)).then(function() {
4530
4530
  return nt(u);
4531
4531
  })];
4532
4532
  });
4533
4533
  });
4534
4534
  }, r.prototype.resolveField = function(e, t, n, i) {
4535
4535
  return ee(this, void 0, void 0, function() {
4536
- var a, o, s, u, c, f, l, h, v, y = this;
4536
+ var a, o, s, u, f, c, l, h, d, y = this;
4537
4537
  return te(this, function(m) {
4538
- return n ? (a = i.variables, o = e.name.value, s = ie(e), u = o !== s, c = n[s] || n[o], f = Promise.resolve(c), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(e)) && (l = n.__typename || i.defaultOperationType, h = this.resolvers && this.resolvers[l], h && (v = h[u ? o : s], v && (f = Promise.resolve(
4538
+ return n ? (a = i.variables, o = e.name.value, s = ie(e), u = o !== s, f = n[s] || n[o], c = Promise.resolve(f), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(e)) && (l = n.__typename || i.defaultOperationType, h = this.resolvers && this.resolvers[l], h && (d = h[u ? o : s], d && (c = Promise.resolve(
4539
4539
  // In case the resolve function accesses reactive variables,
4540
4540
  // set cacheSlot to the current cache instance.
4541
- Ut.withValue(this.cache, v, [
4541
+ Ut.withValue(this.cache, d, [
4542
4542
  n,
4543
4543
  et(e, a),
4544
4544
  i.context,
4545
4545
  { field: e, fragmentMap: i.fragmentMap }
4546
4546
  ])
4547
- )))), [2, f.then(function(g) {
4548
- var d, O;
4549
- if (g === void 0 && (g = c), e.directives && e.directives.forEach(function(w) {
4547
+ )))), [2, c.then(function(g) {
4548
+ var v, O;
4549
+ if (g === void 0 && (g = f), e.directives && e.directives.forEach(function(w) {
4550
4550
  w.name.value === "export" && w.arguments && w.arguments.forEach(function(S) {
4551
4551
  S.name.value === "as" && S.value.kind === "StringValue" && (i.exportedVariables[S.value.value] = g);
4552
4552
  });
4553
4553
  }), !e.selectionSet || g == null)
4554
4554
  return g;
4555
- var b = (O = (d = e.directives) === null || d === void 0 ? void 0 : d.some(function(w) {
4555
+ var b = (O = (v = e.directives) === null || v === void 0 ? void 0 : v.some(function(w) {
4556
4556
  return w.name.value === "client";
4557
4557
  })) !== null && O !== void 0 ? O : !1;
4558
4558
  if (Array.isArray(g))
@@ -4580,15 +4580,15 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4580
4580
  if (!i.has(o)) {
4581
4581
  var s = /* @__PURE__ */ new Set();
4582
4582
  i.set(o, s), ne(o, {
4583
- Directive: function(u, c, f, l, h) {
4584
- u.name.value === "client" && h.forEach(function(v) {
4585
- n(v) && nr(v) && s.add(v);
4583
+ Directive: function(u, f, c, l, h) {
4584
+ u.name.value === "client" && h.forEach(function(d) {
4585
+ n(d) && nr(d) && s.add(d);
4586
4586
  });
4587
4587
  },
4588
- FragmentSpread: function(u, c, f, l, h) {
4589
- var v = t[u.name.value];
4590
- _(v, 19, u.name.value);
4591
- var y = a(v);
4588
+ FragmentSpread: function(u, f, c, l, h) {
4589
+ var d = t[u.name.value];
4590
+ _(d, 19, u.name.value);
4591
+ var y = a(d);
4592
4592
  y.size > 0 && (h.forEach(function(m) {
4593
4593
  n(m) && nr(m) && s.add(m);
4594
4594
  }), s.add(u), y.forEach(function(m) {
@@ -4609,8 +4609,8 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4609
4609
  var t = this;
4610
4610
  if (this.resetStoreCallbacks = [], this.clearStoreCallbacks = [], !e.cache)
4611
4611
  throw A(15);
4612
- var n = e.uri, i = e.credentials, a = e.headers, o = e.cache, s = e.documentTransform, u = e.ssrMode, c = u === void 0 ? !1 : u, f = e.ssrForceFetchDelay, l = f === void 0 ? 0 : f, h = e.connectToDevTools, v = e.queryDeduplication, y = v === void 0 ? !0 : v, m = e.defaultOptions, g = e.defaultContext, d = e.assumeImmutableResults, O = d === void 0 ? o.assumeImmutableResults : d, b = e.resolvers, w = e.typeDefs, S = e.fragmentMatcher, E = e.name, D = e.version, k = e.devtools, T = e.link;
4613
- T || (T = n ? new fa({ uri: n, credentials: i, headers: a }) : Ne.empty()), this.link = T, this.cache = o, this.disableNetworkFetches = c || l > 0, this.queryDeduplication = y, this.defaultOptions = m || /* @__PURE__ */ Object.create(null), this.typeDefs = w, this.devtoolsConfig = p(p({}, k), { enabled: (k == null ? void 0 : k.enabled) || h }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), l && setTimeout(function() {
4612
+ var n = e.uri, i = e.credentials, a = e.headers, o = e.cache, s = e.documentTransform, u = e.ssrMode, f = u === void 0 ? !1 : u, c = e.ssrForceFetchDelay, l = c === void 0 ? 0 : c, h = e.connectToDevTools, d = e.queryDeduplication, y = d === void 0 ? !0 : d, m = e.defaultOptions, g = e.defaultContext, v = e.assumeImmutableResults, O = v === void 0 ? o.assumeImmutableResults : v, b = e.resolvers, w = e.typeDefs, S = e.fragmentMatcher, E = e.name, D = e.version, k = e.devtools, T = e.link;
4613
+ T || (T = n ? new ca({ uri: n, credentials: i, headers: a }) : Ne.empty()), this.link = T, this.cache = o, this.disableNetworkFetches = f || l > 0, this.queryDeduplication = y, this.defaultOptions = m || /* @__PURE__ */ Object.create(null), this.typeDefs = w, this.devtoolsConfig = p(p({}, k), { enabled: (k == null ? void 0 : k.enabled) || h }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = globalThis.__DEV__ !== !1), l && setTimeout(function() {
4614
4614
  return t.disableNetworkFetches = !1;
4615
4615
  }, l), this.watchQuery = this.watchQuery.bind(this), this.query = this.query.bind(this), this.mutate = this.mutate.bind(this), this.watchFragment = this.watchFragment.bind(this), this.resetStore = this.resetStore.bind(this), this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this), this.version = xt, this.localState = new Qa({
4616
4616
  cache: o,
@@ -4624,7 +4624,7 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4624
4624
  defaultContext: g,
4625
4625
  documentTransform: s,
4626
4626
  queryDeduplication: y,
4627
- ssrMode: c,
4627
+ ssrMode: f,
4628
4628
  clientAwareness: {
4629
4629
  name: E,
4630
4630
  version: D
@@ -4667,11 +4667,11 @@ var Ma = Object.prototype.hasOwnProperty, Ir = /* @__PURE__ */ Object.create(nul
4667
4667
  }), r.prototype.stop = function() {
4668
4668
  this.queryManager.stop();
4669
4669
  }, r.prototype.watchQuery = function(e) {
4670
- return this.defaultOptions.watchQuery && (e = fe(this.defaultOptions.watchQuery, e)), this.disableNetworkFetches && (e.fetchPolicy === "network-only" || e.fetchPolicy === "cache-and-network") && (e = p(p({}, e), { fetchPolicy: "cache-first" })), this.queryManager.watchQuery(e);
4670
+ return this.defaultOptions.watchQuery && (e = ce(this.defaultOptions.watchQuery, e)), this.disableNetworkFetches && (e.fetchPolicy === "network-only" || e.fetchPolicy === "cache-and-network") && (e = p(p({}, e), { fetchPolicy: "cache-first" })), this.queryManager.watchQuery(e);
4671
4671
  }, r.prototype.query = function(e) {
4672
- return this.defaultOptions.query && (e = fe(this.defaultOptions.query, e)), _(e.fetchPolicy !== "cache-and-network", 16), this.disableNetworkFetches && e.fetchPolicy === "network-only" && (e = p(p({}, e), { fetchPolicy: "cache-first" })), this.queryManager.query(e);
4672
+ return this.defaultOptions.query && (e = ce(this.defaultOptions.query, e)), _(e.fetchPolicy !== "cache-and-network", 16), this.disableNetworkFetches && e.fetchPolicy === "network-only" && (e = p(p({}, e), { fetchPolicy: "cache-first" })), this.queryManager.query(e);
4673
4673
  }, r.prototype.mutate = function(e) {
4674
- return this.defaultOptions.mutate && (e = fe(this.defaultOptions.mutate, e)), this.queryManager.mutate(e);
4674
+ return this.defaultOptions.mutate && (e = ce(this.defaultOptions.mutate, e)), this.queryManager.mutate(e);
4675
4675
  }, r.prototype.subscribe = function(e) {
4676
4676
  return this.queryManager.startGraphQLSubscription(e);
4677
4677
  }, r.prototype.readQuery = function(e, t) {
@@ -4815,7 +4815,7 @@ var H;
4815
4815
  (function(r) {
4816
4816
  r[r.Query = 0] = "Query", r[r.Mutation = 1] = "Mutation", r[r.Subscription = 2] = "Subscription";
4817
4817
  })(H || (H = {}));
4818
- var ce;
4818
+ var fe;
4819
4819
  function Ar(r) {
4820
4820
  var e;
4821
4821
  switch (r) {
@@ -4832,17 +4832,17 @@ function Ar(r) {
4832
4832
  return e;
4833
4833
  }
4834
4834
  function Pn(r) {
4835
- ce || (ce = new Nt(
4835
+ fe || (fe = new Nt(
4836
4836
  J.parser || 1e3
4837
4837
  /* defaultCacheSizes.parser */
4838
4838
  ));
4839
- var e = ce.get(r);
4839
+ var e = fe.get(r);
4840
4840
  if (e)
4841
4841
  return e;
4842
4842
  var t, n, i;
4843
4843
  _(!!r && !!r.kind, 61, r);
4844
- for (var a = [], o = [], s = [], u = [], c = 0, f = r.definitions; c < f.length; c++) {
4845
- var l = f[c];
4844
+ for (var a = [], o = [], s = [], u = [], f = 0, c = r.definitions; f < c.length; f++) {
4845
+ var l = c[f];
4846
4846
  if (l.kind === "FragmentDefinition") {
4847
4847
  a.push(l);
4848
4848
  continue;
@@ -4870,16 +4870,16 @@ function Pn(r) {
4870
4870
  ), n = o.length ? H.Query : H.Mutation, !o.length && !s.length && (n = H.Subscription);
4871
4871
  var h = o.length ? o : s.length ? s : u;
4872
4872
  _(h.length === 1, 64, r, h.length);
4873
- var v = h[0];
4874
- t = v.variableDefinitions || [], v.name && v.name.kind === "Name" ? i = v.name.value : i = "data";
4873
+ var d = h[0];
4874
+ t = d.variableDefinitions || [], d.name && d.name.kind === "Name" ? i = d.name.value : i = "data";
4875
4875
  var y = { name: i, type: n, variables: t };
4876
- return ce.set(r, y), y;
4876
+ return fe.set(r, y), y;
4877
4877
  }
4878
4878
  Pn.resetCache = function() {
4879
- ce = void 0;
4879
+ fe = void 0;
4880
4880
  };
4881
4881
  globalThis.__DEV__ !== !1 && Vt("parser", function() {
4882
- return ce ? ce.size : 0;
4882
+ return fe ? fe.size : 0;
4883
4883
  });
4884
4884
  function $t(r, e) {
4885
4885
  var t = Pn(r), n = Ar(e), i = Ar(t.type);
@@ -4927,7 +4927,7 @@ function Ua(r, e, t, n, i) {
4927
4927
  function a(l) {
4928
4928
  var h;
4929
4929
  $t(e, H.Query);
4930
- var v = {
4930
+ var d = {
4931
4931
  client: r,
4932
4932
  query: e,
4933
4933
  observable: (
@@ -4942,11 +4942,11 @@ function Ua(r, e, t, n, i) {
4942
4942
  previousData: (h = l == null ? void 0 : l.resultData.current) === null || h === void 0 ? void 0 : h.data
4943
4943
  }
4944
4944
  };
4945
- return v;
4945
+ return d;
4946
4946
  }
4947
4947
  var o = R.useState(a), s = o[0], u = o[1];
4948
- function c(l) {
4949
- var h, v;
4948
+ function f(l) {
4949
+ var h, d;
4950
4950
  Object.assign(s.observable, (h = {}, h[Ke] = l, h));
4951
4951
  var y = s.resultData;
4952
4952
  u(p(p({}, s), {
@@ -4955,19 +4955,19 @@ function Ua(r, e, t, n, i) {
4955
4955
  resultData: Object.assign(y, {
4956
4956
  // We need to modify the previous `resultData` object as we rely on the
4957
4957
  // object reference in other places
4958
- previousData: ((v = y.current) === null || v === void 0 ? void 0 : v.data) || y.previousData,
4958
+ previousData: ((d = y.current) === null || d === void 0 ? void 0 : d.data) || y.previousData,
4959
4959
  current: void 0
4960
4960
  })
4961
4961
  }));
4962
4962
  }
4963
4963
  if (r !== s.client || e !== s.query) {
4964
- var f = a(s);
4965
- return u(f), [f, c];
4964
+ var c = a(s);
4965
+ return u(c), [c, f];
4966
4966
  }
4967
- return [s, c];
4967
+ return [s, f];
4968
4968
  }
4969
4969
  function Cn(r, e) {
4970
- var t = Ve(e.client), n = R.useContext(Jt()).renderPromises, i = !!n, a = t.disableNetworkFetches, o = e.ssr !== !1 && !e.skip, s = e.partialRefetch, u = Qn(t, r, e, i), c = Ua(t, r, e, n, u), f = c[0], l = f.observable, h = f.resultData, v = c[1], y = u(l);
4970
+ var t = Ve(e.client), n = R.useContext(Jt()).renderPromises, i = !!n, a = t.disableNetworkFetches, o = e.ssr !== !1 && !e.skip, s = e.partialRefetch, u = Qn(t, r, e, i), f = Ua(t, r, e, n, u), c = f[0], l = c.observable, h = c.resultData, d = f[1], y = u(l);
4971
4971
  Ga(
4972
4972
  h,
4973
4973
  // might get mutated during render
@@ -4991,15 +4991,15 @@ function Cn(r, e) {
4991
4991
  observable: l,
4992
4992
  resultData: h,
4993
4993
  client: t,
4994
- onQueryExecuted: v
4994
+ onQueryExecuted: d
4995
4995
  };
4996
4996
  }
4997
4997
  function Ha(r, e, t, n, i, a, o, s, u) {
4998
- var c = R.useRef(u);
4998
+ var f = R.useRef(u);
4999
4999
  R.useEffect(function() {
5000
- c.current = u;
5000
+ f.current = u;
5001
5001
  });
5002
- var f = (s || a) && n.ssr === !1 && !n.skip ? (
5002
+ var c = (s || a) && n.ssr === !1 && !n.skip ? (
5003
5003
  // If SSR has been explicitly disabled, and this function has been called
5004
5004
  // on the server side, return the default loading state.
5005
5005
  qn
@@ -5016,25 +5016,25 @@ function Ha(r, e, t, n, i, a, o, s, u) {
5016
5016
  // to address this.
5017
5017
  In
5018
5018
  ) : void 0, l = r.previousData, h = R.useMemo(function() {
5019
- return f && $e(f, l, e, t);
5020
- }, [t, e, f, l]);
5021
- return ja(R.useCallback(function(v) {
5019
+ return c && $e(c, l, e, t);
5020
+ }, [t, e, c, l]);
5021
+ return ja(R.useCallback(function(d) {
5022
5022
  if (s)
5023
5023
  return function() {
5024
5024
  };
5025
5025
  var y = function() {
5026
- var d = r.current, O = e.getCurrentResult();
5027
- d && d.loading === O.loading && d.networkStatus === O.networkStatus && F(d.data, O.data) || Qt(O, r, e, t, o, v, c.current);
5028
- }, m = function(d) {
5029
- if (g.current.unsubscribe(), g.current = e.resubscribeAfterError(y, m), !za.call(d, "graphQLErrors"))
5030
- throw d;
5026
+ var v = r.current, O = e.getCurrentResult();
5027
+ v && v.loading === O.loading && v.networkStatus === O.networkStatus && F(v.data, O.data) || Qt(O, r, e, t, o, d, f.current);
5028
+ }, m = function(v) {
5029
+ if (g.current.unsubscribe(), g.current = e.resubscribeAfterError(y, m), !za.call(v, "graphQLErrors"))
5030
+ throw v;
5031
5031
  var O = r.current;
5032
- (!O || O && O.loading || !F(d, O.error)) && Qt({
5032
+ (!O || O && O.loading || !F(v, O.error)) && Qt({
5033
5033
  data: O && O.data,
5034
- error: d,
5034
+ error: v,
5035
5035
  loading: !1,
5036
5036
  networkStatus: P.error
5037
- }, r, e, t, o, v, c.current);
5037
+ }, r, e, t, o, d, f.current);
5038
5038
  }, g = { current: e.subscribe(y, m) };
5039
5039
  return function() {
5040
5040
  setTimeout(function() {
@@ -5049,9 +5049,9 @@ function Ha(r, e, t, n, i, a, o, s, u) {
5049
5049
  o,
5050
5050
  t
5051
5051
  ]), function() {
5052
- return h || Vr(r, e, c.current, o, t);
5052
+ return h || Vr(r, e, f.current, o, t);
5053
5053
  }, function() {
5054
- return h || Vr(r, e, c.current, o, t);
5054
+ return h || Vr(r, e, f.current, o, t);
5055
5055
  });
5056
5056
  }
5057
5057
  function Ka(r, e, t) {
@@ -5073,7 +5073,7 @@ function Qn(r, e, t, n) {
5073
5073
  }
5074
5074
  function Yt(r, e, t, n) {
5075
5075
  var i = [], a = e.defaultOptions.watchQuery;
5076
- return a && i.push(a), t.defaultOptions && i.push(t.defaultOptions), i.push(le(r && r.options, n)), i.reduce(fe);
5076
+ return a && i.push(a), t.defaultOptions && i.push(t.defaultOptions), i.push(le(r && r.options, n)), i.reduce(ce);
5077
5077
  }
5078
5078
  function Qt(r, e, t, n, i, a, o) {
5079
5079
  var s = e.current;
@@ -5141,28 +5141,28 @@ var Za = [
5141
5141
  "subscribeToMore"
5142
5142
  ];
5143
5143
  function ko(r, e) {
5144
- var t, n = R.useRef(), i = R.useRef(), a = R.useRef(), o = fe(e, n.current || {}), s = (t = o == null ? void 0 : o.query) !== null && t !== void 0 ? t : r;
5144
+ var t, n = R.useRef(), i = R.useRef(), a = R.useRef(), o = ce(e, n.current || {}), s = (t = o == null ? void 0 : o.query) !== null && t !== void 0 ? t : r;
5145
5145
  i.current = e, a.current = s;
5146
- var u = p(p({}, o), { skip: !n.current }), c = Cn(s, u), f = c.obsQueryFields, l = c.result, h = c.client, v = c.resultData, y = c.observable, m = c.onQueryExecuted, g = y.options.initialFetchPolicy || qt(u.defaultOptions, h.defaultOptions), d = R.useReducer(function(k) {
5146
+ var u = p(p({}, o), { skip: !n.current }), f = Cn(s, u), c = f.obsQueryFields, l = f.result, h = f.client, d = f.resultData, y = f.observable, m = f.onQueryExecuted, g = y.options.initialFetchPolicy || qt(u.defaultOptions, h.defaultOptions), v = R.useReducer(function(k) {
5147
5147
  return k + 1;
5148
5148
  }, 0)[1], O = R.useMemo(function() {
5149
5149
  for (var k = {}, T = function(x) {
5150
- var K = f[x];
5150
+ var K = c[x];
5151
5151
  k[x] = function() {
5152
- return n.current || (n.current = /* @__PURE__ */ Object.create(null), d()), K.apply(this, arguments);
5152
+ return n.current || (n.current = /* @__PURE__ */ Object.create(null), v()), K.apply(this, arguments);
5153
5153
  };
5154
5154
  }, C = 0, z = Za; C < z.length; C++) {
5155
5155
  var X = z[C];
5156
5156
  T(X);
5157
5157
  }
5158
5158
  return k;
5159
- }, [d, f]), b = !!n.current, w = R.useMemo(function() {
5159
+ }, [v, c]), b = !!n.current, w = R.useMemo(function() {
5160
5160
  return p(p(p({}, l), O), { called: b });
5161
5161
  }, [l, O, b]), S = R.useCallback(function(k) {
5162
5162
  n.current = k ? p(p({}, k), { fetchPolicy: k.fetchPolicy || g }) : {
5163
5163
  fetchPolicy: g
5164
5164
  };
5165
- var T = fe(i.current, p({ query: a.current }, n.current)), C = eo(v, y, h, s, p(p({}, T), { skip: !1 }), m).then(function(z) {
5165
+ var T = ce(i.current, p({ query: a.current }, n.current)), C = eo(d, y, h, s, p(p({}, T), { skip: !1 }), m).then(function(z) {
5166
5166
  return Object.assign(z, O);
5167
5167
  });
5168
5168
  return C.catch(function() {
@@ -5173,7 +5173,7 @@ function ko(r, e) {
5173
5173
  O,
5174
5174
  g,
5175
5175
  y,
5176
- v,
5176
+ d,
5177
5177
  m
5178
5178
  ]), E = R.useRef(S);
5179
5179
  Fn(function() {
@@ -5188,17 +5188,17 @@ function ko(r, e) {
5188
5188
  }
5189
5189
  function eo(r, e, t, n, i, a) {
5190
5190
  var o = i.query || n, s = Qn(t, o, i, !1)(e), u = e.reobserveAsConcast(Yt(e, t, i, s));
5191
- return a(s), new Promise(function(c) {
5192
- var f;
5191
+ return a(s), new Promise(function(f) {
5192
+ var c;
5193
5193
  u.subscribe({
5194
5194
  next: function(l) {
5195
- f = l;
5195
+ c = l;
5196
5196
  },
5197
5197
  error: function() {
5198
- c($e(e.getCurrentResult(), r.previousData, e, t));
5198
+ f($e(e.getCurrentResult(), r.previousData, e, t));
5199
5199
  },
5200
5200
  complete: function() {
5201
- c($e(f, r.previousData, e, t));
5201
+ f($e(c, r.previousData, e, t));
5202
5202
  }
5203
5203
  });
5204
5204
  });
@@ -5221,19 +5221,19 @@ function Do(r, e) {
5221
5221
  Fn(function() {
5222
5222
  Object.assign(o.current, { client: t, options: e, mutation: r });
5223
5223
  });
5224
- var s = R.useCallback(function(c) {
5225
- c === void 0 && (c = {});
5226
- var f = o.current, l = f.options, h = f.mutation, v = p(p({}, l), { mutation: h }), y = c.client || o.current.client;
5227
- !o.current.result.loading && !v.ignoreResults && o.current.isMounted && a(o.current.result = {
5224
+ var s = R.useCallback(function(f) {
5225
+ f === void 0 && (f = {});
5226
+ var c = o.current, l = c.options, h = c.mutation, d = p(p({}, l), { mutation: h }), y = f.client || o.current.client;
5227
+ !o.current.result.loading && !d.ignoreResults && o.current.isMounted && a(o.current.result = {
5228
5228
  loading: !0,
5229
5229
  error: void 0,
5230
5230
  data: void 0,
5231
5231
  called: !0,
5232
5232
  client: y
5233
5233
  });
5234
- var m = ++o.current.mutationId, g = fe(v, c);
5235
- return y.mutate(g).then(function(d) {
5236
- var O, b, w = d.data, S = d.errors, E = S && S.length > 0 ? new G({ graphQLErrors: S }) : void 0, D = c.onError || ((O = o.current.options) === null || O === void 0 ? void 0 : O.onError);
5234
+ var m = ++o.current.mutationId, g = ce(d, f);
5235
+ return y.mutate(g).then(function(v) {
5236
+ var O, b, w = v.data, S = v.errors, E = S && S.length > 0 ? new G({ graphQLErrors: S }) : void 0, D = f.onError || ((O = o.current.options) === null || O === void 0 ? void 0 : O.onError);
5237
5237
  if (E && D && D(E, g), m === o.current.mutationId && !g.ignoreResults) {
5238
5238
  var k = {
5239
5239
  called: !0,
@@ -5244,39 +5244,39 @@ function Do(r, e) {
5244
5244
  };
5245
5245
  o.current.isMounted && !F(o.current.result, k) && a(o.current.result = k);
5246
5246
  }
5247
- var T = c.onCompleted || ((b = o.current.options) === null || b === void 0 ? void 0 : b.onCompleted);
5248
- return E || T == null || T(d.data, g), d;
5249
- }).catch(function(d) {
5247
+ var T = f.onCompleted || ((b = o.current.options) === null || b === void 0 ? void 0 : b.onCompleted);
5248
+ return E || T == null || T(v.data, g), v;
5249
+ }).catch(function(v) {
5250
5250
  var O;
5251
5251
  if (m === o.current.mutationId && o.current.isMounted) {
5252
5252
  var b = {
5253
5253
  loading: !1,
5254
- error: d,
5254
+ error: v,
5255
5255
  data: void 0,
5256
5256
  called: !0,
5257
5257
  client: y
5258
5258
  };
5259
5259
  F(o.current.result, b) || a(o.current.result = b);
5260
5260
  }
5261
- var w = c.onError || ((O = o.current.options) === null || O === void 0 ? void 0 : O.onError);
5261
+ var w = f.onError || ((O = o.current.options) === null || O === void 0 ? void 0 : O.onError);
5262
5262
  if (w)
5263
- return w(d, g), { data: void 0, errors: d };
5264
- throw d;
5263
+ return w(v, g), { data: void 0, errors: v };
5264
+ throw v;
5265
5265
  });
5266
5266
  }, []), u = R.useCallback(function() {
5267
5267
  if (o.current.isMounted) {
5268
- var c = {
5268
+ var f = {
5269
5269
  called: !1,
5270
5270
  loading: !1,
5271
5271
  client: o.current.client
5272
5272
  };
5273
- Object.assign(o.current, { mutationId: 0, result: c }), a(c);
5273
+ Object.assign(o.current, { mutationId: 0, result: f }), a(f);
5274
5274
  }
5275
5275
  }, []);
5276
5276
  return R.useEffect(function() {
5277
- var c = o.current;
5278
- return c.isMounted = !0, function() {
5279
- c.isMounted = !1;
5277
+ var f = o.current;
5278
+ return f.isMounted = !0, function() {
5279
+ f.isMounted = !1;
5280
5280
  };
5281
5281
  }, []), [s, p({ reset: u }, i)];
5282
5282
  }
@@ -5415,7 +5415,7 @@ var to = [
5415
5415
  /** @class */
5416
5416
  function() {
5417
5417
  function r(e) {
5418
- e === void 0 && (e = /* @__PURE__ */ Object.create(null)), this.queryRefs = new he(ve), this.options = e;
5418
+ e === void 0 && (e = /* @__PURE__ */ Object.create(null)), this.queryRefs = new he(de), this.options = e;
5419
5419
  }
5420
5420
  return r.prototype.getQueryRef = function(e, t) {
5421
5421
  var n = this.queryRefs.lookupArray(e);
@@ -5440,56 +5440,56 @@ function Ro(r, e) {
5440
5440
  return e === void 0 && (e = /* @__PURE__ */ Object.create(null)), Mn("useSuspenseQuery", oo, Ve(typeof e == "object" ? e.client : void 0))(r, e);
5441
5441
  }
5442
5442
  function oo(r, e) {
5443
- var t = Ve(e.client), n = io(t), i = fo({
5443
+ var t = Ve(e.client), n = io(t), i = co({
5444
5444
  client: t,
5445
5445
  query: r,
5446
5446
  options: e
5447
- }), a = i.fetchPolicy, o = i.variables, s = e.queryKey, u = s === void 0 ? [] : s, c = L([
5447
+ }), a = i.fetchPolicy, o = i.variables, s = e.queryKey, u = s === void 0 ? [] : s, f = L([
5448
5448
  r,
5449
5449
  $(o)
5450
- ], [].concat(u), !0), f = n.getQueryRef(c, function() {
5450
+ ], [].concat(u), !0), c = n.getQueryRef(f, function() {
5451
5451
  return t.watchQuery(i);
5452
- }), l = R.useState([f.key, f.promise]), h = l[0], v = l[1];
5453
- h[0] !== f.key && (h[0] = f.key, h[1] = f.promise);
5452
+ }), l = R.useState([c.key, c.promise]), h = l[0], d = l[1];
5453
+ h[0] !== c.key && (h[0] = c.key, h[1] = c.promise);
5454
5454
  var y = h[1];
5455
- f.didChangeOptions(i) && (h[1] = y = f.applyOptions(i)), R.useEffect(function() {
5456
- var w = f.retain(), S = f.listen(function(E) {
5457
- v([f.key, E]);
5455
+ c.didChangeOptions(i) && (h[1] = y = c.applyOptions(i)), R.useEffect(function() {
5456
+ var w = c.retain(), S = c.listen(function(E) {
5457
+ d([c.key, E]);
5458
5458
  });
5459
5459
  return function() {
5460
5460
  S(), w();
5461
5461
  };
5462
- }, [f]);
5462
+ }, [c]);
5463
5463
  var m = R.useMemo(function() {
5464
- var w = Wr(f.result);
5464
+ var w = Wr(c.result);
5465
5465
  return {
5466
5466
  loading: !1,
5467
- data: f.result.data,
5467
+ data: c.result.data,
5468
5468
  networkStatus: w ? P.error : P.ready,
5469
5469
  error: w
5470
5470
  };
5471
- }, [f.result]), g = a === "standby" ? m : Va(y), d = R.useCallback(function(w) {
5472
- var S = f.fetchMore(w);
5473
- return v([f.key, f.promise]), S;
5474
- }, [f]), O = R.useCallback(function(w) {
5475
- var S = f.refetch(w);
5476
- return v([f.key, f.promise]), S;
5477
- }, [f]), b = f.observable.subscribeToMore;
5471
+ }, [c.result]), g = a === "standby" ? m : Va(y), v = R.useCallback(function(w) {
5472
+ var S = c.fetchMore(w);
5473
+ return d([c.key, c.promise]), S;
5474
+ }, [c]), O = R.useCallback(function(w) {
5475
+ var S = c.refetch(w);
5476
+ return d([c.key, c.promise]), S;
5477
+ }, [c]), b = c.observable.subscribeToMore;
5478
5478
  return R.useMemo(function() {
5479
5479
  return {
5480
5480
  client: t,
5481
5481
  data: g.data,
5482
5482
  error: Wr(g),
5483
5483
  networkStatus: g.networkStatus,
5484
- fetchMore: d,
5484
+ fetchMore: v,
5485
5485
  refetch: O,
5486
5486
  subscribeToMore: b
5487
5487
  };
5488
- }, [t, d, O, g, b]);
5488
+ }, [t, v, O, g, b]);
5489
5489
  }
5490
5490
  function so(r) {
5491
5491
  var e = r.query, t = r.fetchPolicy, n = r.returnPartialData;
5492
- $t(e, H.Query), uo(t), co(t, n);
5492
+ $t(e, H.Query), uo(t), fo(t, n);
5493
5493
  }
5494
5494
  function uo(r) {
5495
5495
  r === void 0 && (r = "cache-first");
@@ -5501,13 +5501,13 @@ function uo(r) {
5501
5501
  ];
5502
5502
  _(e.includes(r), 57, r);
5503
5503
  }
5504
- function co(r, e) {
5504
+ function fo(r, e) {
5505
5505
  r === "no-cache" && e && globalThis.__DEV__ !== !1 && _.warn(58);
5506
5506
  }
5507
5507
  function Wr(r) {
5508
5508
  return N(r.errors) ? new G({ graphQLErrors: r.errors }) : r.error;
5509
5509
  }
5510
- function fo(r) {
5510
+ function co(r) {
5511
5511
  var e = r.client, t = r.query, n = r.options;
5512
5512
  return La(function() {
5513
5513
  var i;
@@ -5519,7 +5519,7 @@ function fo(r) {
5519
5519
  }
5520
5520
  export {
5521
5521
  Ne as A,
5522
- fa as H,
5522
+ ca as H,
5523
5523
  Ta as I,
5524
5524
  qa as a,
5525
5525
  Eo as b,