@nizza/core 0.5.0-beta.6 → 0.5.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ var jt = Object.defineProperty;
2
2
  var zt = (n, e, t) => e in n ? jt(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var R = (n, e, t) => (zt(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as M from "react";
5
- import fe, { createContext as pt, useReducer as Bt, useEffect as ht, useDebugValue as Qt, useCallback as Gt, useContext as Ce, useMemo as Kt } from "react";
5
+ import fe, { createContext as ft, useReducer as Bt, useEffect as pt, useDebugValue as Qt, useCallback as Gt, useContext as Ce, useMemo as Kt } from "react";
6
6
  import { jsx as Wt } from "react/jsx-runtime";
7
7
  var _ = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
8
8
  let Jt = 0;
@@ -29,11 +29,11 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
29
29
  n.status = "fulfilled", n.value = e;
30
30
  }, Ve = (n, e) => {
31
31
  n.status = "rejected", n.reason = e;
32
- }, Zt = (n) => typeof (n == null ? void 0 : n.then) == "function", W = (n, e) => !!n && "v" in n && "v" in e && Object.is(n.v, e.v), _e = (n, e) => !!n && "e" in n && "e" in e && Object.is(n.e, e.e), z = (n) => !!n && "v" in n && n.v instanceof Promise, Xt = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, ne = (n) => {
32
+ }, Zt = (n) => typeof (n == null ? void 0 : n.then) == "function", J = (n, e) => !!n && "v" in n && "v" in e && Object.is(n.v, e.v), _e = (n, e) => !!n && "e" in n && "e" in e && Object.is(n.e, e.e), z = (n) => !!n && "v" in n && n.v instanceof Promise, Xt = (n, e) => "v" in n && "v" in e && n.v.orig && n.v.orig === e.v.orig, ne = (n) => {
33
33
  if ("e" in n)
34
34
  throw n.e;
35
35
  return n.v;
36
- }, gt = () => {
36
+ }, ht = () => {
37
37
  const n = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new Map();
38
38
  let i, a;
39
39
  (_ ? "production" : void 0) !== "production" && (i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set());
@@ -55,7 +55,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
55
55
  d: (g == null ? void 0 : g.d) || /* @__PURE__ */ new Map(),
56
56
  v: p
57
57
  };
58
- if (h && o(m, b, h), W(g, b) && g.d === b.d)
58
+ if (h && o(m, b, h), J(g, b) && g.d === b.d)
59
59
  return g;
60
60
  if (z(g) && z(b) && Xt(g, b)) {
61
61
  if (g.d === b.d)
@@ -75,7 +75,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
75
75
  v,
76
76
  h
77
77
  );
78
- e.has(m) && E.d !== P.d && I(m, P, E.d);
78
+ e.has(m) && E.d !== P.d && D(m, P, E.d);
79
79
  }, v = new Promise((E, P) => {
80
80
  let x = !1;
81
81
  p.then(
@@ -109,7 +109,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
109
109
  if (x === m)
110
110
  return !0;
111
111
  const V = f(x);
112
- return V === T || W(V, T);
112
+ return V === T || J(V, T);
113
113
  })))
114
114
  return h;
115
115
  const g = /* @__PURE__ */ new Map();
@@ -153,7 +153,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
153
153
  }
154
154
  }, c = (m) => ne(f(m)), S = (m) => {
155
155
  let p = e.get(m);
156
- return p || (p = D(m)), p;
156
+ return p || (p = I(m)), p;
157
157
  }, y = (m, p) => !p.l.size && (!p.t.size || p.t.size === 1 && p.t.has(m)), k = (m) => {
158
158
  const p = e.get(m);
159
159
  p && y(m, p) && w(m);
@@ -183,7 +183,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
183
183
  let T = !!((P = p.get(E)) != null && P.size);
184
184
  if (T) {
185
185
  const V = s(E), te = f(E, !0);
186
- T = !W(V, te);
186
+ T = !J(V, te);
187
187
  }
188
188
  T || p.forEach((V) => V.delete(E));
189
189
  }
@@ -200,7 +200,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
200
200
  if (!ke(v))
201
201
  throw new Error("atom not writable");
202
202
  const x = s(v), T = u(v, E[0]);
203
- W(x, T) || N(v);
203
+ J(x, T) || N(v);
204
204
  } else
205
205
  P = O(v, ...E);
206
206
  if (!h) {
@@ -217,12 +217,12 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
217
217
  return (_ ? "production" : void 0) !== "production" && i.forEach(
218
218
  (b) => b({ type: "write", flushed: g })
219
219
  ), h;
220
- }, D = (m, p, h) => {
220
+ }, I = (m, p, h) => {
221
221
  var g;
222
222
  const b = h || [];
223
223
  (g = s(m)) == null || g.d.forEach((v, E) => {
224
224
  const P = e.get(E);
225
- P ? P.t.add(m) : E !== m && D(E, m, b);
225
+ P ? P.t.add(m) : E !== m && I(E, m, b);
226
226
  }), f(m);
227
227
  const C = {
228
228
  t: new Set(p && [p]),
@@ -247,7 +247,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
247
247
  v && (v.t.delete(m), y(C, v) && w(C));
248
248
  }
249
249
  })) : (_ ? "production" : void 0) !== "production" && console.warn("[Bug] could not find atom state to unmount", m);
250
- }, I = (m, p, h) => {
250
+ }, D = (m, p, h) => {
251
251
  const g = new Set(p.d.keys());
252
252
  h == null || h.forEach((b, C) => {
253
253
  if (g.has(C)) {
@@ -258,7 +258,7 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
258
258
  v && (v.t.delete(m), y(C, v) && w(C));
259
259
  }), g.forEach((b) => {
260
260
  const C = e.get(b);
261
- C ? C.t.add(m) : e.has(m) && D(b, m);
261
+ C ? C.t.add(m) : e.has(m) && I(b, m);
262
262
  });
263
263
  }, L = () => {
264
264
  let m;
@@ -268,9 +268,9 @@ const ke = (n) => "init" in n, ve = (n) => !!n.write, re = /* @__PURE__ */ new W
268
268
  const b = s(h);
269
269
  if (b) {
270
270
  const C = e.get(h);
271
- C && b.d !== (g == null ? void 0 : g.d) && I(h, b, g == null ? void 0 : g.d), C && !// TODO This seems pretty hacky. Hope to fix it.
271
+ C && b.d !== (g == null ? void 0 : g.d) && D(h, b, g == null ? void 0 : g.d), C && !// TODO This seems pretty hacky. Hope to fix it.
272
272
  // Maybe we could `mountDependencies` in `setAtomState`?
273
- (!z(g) && (W(g, b) || _e(g, b))) && (C.l.forEach((v) => v()), (_ ? "production" : void 0) !== "production" && m.add(h));
273
+ (!z(g) && (J(g, b) || _e(g, b))) && (C.l.forEach((v) => v()), (_ ? "production" : void 0) !== "production" && m.add(h));
274
274
  } else
275
275
  (_ ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
276
276
  });
@@ -318,9 +318,9 @@ let Se;
318
318
  (_ ? "production" : void 0) !== "production" && (typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__ == "number" ? ++globalThis.__NUMBER_OF_JOTAI_INSTANCES__ : globalThis.__NUMBER_OF_JOTAI_INSTANCES__ = 1);
319
319
  const Yt = () => (Se || ((_ ? "production" : void 0) !== "production" && globalThis.__NUMBER_OF_JOTAI_INSTANCES__ !== 1 && console.warn(
320
320
  "Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
321
- ), Se = gt()), Se);
321
+ ), Se = ht()), Se);
322
322
  var en = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
323
- const tn = pt(void 0), kt = (n) => {
323
+ const tn = ft(void 0), gt = (n) => {
324
324
  const e = Ce(tn);
325
325
  return (n == null ? void 0 : n.store) || e || Yt();
326
326
  }, nn = (n) => typeof (n == null ? void 0 : n.then) == "function", an = fe.use || ((n) => {
@@ -338,7 +338,7 @@ const tn = pt(void 0), kt = (n) => {
338
338
  ), n);
339
339
  });
340
340
  function sn(n, e) {
341
- const t = kt(e), [[i, a, s], r] = Bt(
341
+ const t = gt(e), [[i, a, s], r] = Bt(
342
342
  (u) => {
343
343
  const d = t.get(n);
344
344
  return Object.is(u[0], d) && u[1] === t && u[2] === n ? u : [d, t, n];
@@ -349,7 +349,7 @@ function sn(n, e) {
349
349
  let o = i;
350
350
  (a !== t || s !== n) && (r(), o = t.get(n));
351
351
  const l = e == null ? void 0 : e.delay;
352
- return ht(() => {
352
+ return pt(() => {
353
353
  const u = t.sub(n, () => {
354
354
  if (typeof l == "number") {
355
355
  setTimeout(r, l);
@@ -361,7 +361,7 @@ function sn(n, e) {
361
361
  }, [t, n, l]), Qt(o), nn(o) ? an(o) : o;
362
362
  }
363
363
  function rn(n, e) {
364
- const t = kt(e);
364
+ const t = gt(e);
365
365
  return Gt(
366
366
  (...a) => {
367
367
  if ((en ? "production" : void 0) !== "production" && !("write" in n))
@@ -412,7 +412,7 @@ const {
412
412
  wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
413
413
  }
414
414
  };
415
- async function vt(n) {
415
+ async function kt(n) {
416
416
  const {
417
417
  url: e,
418
418
  method: t = "GET",
@@ -450,8 +450,8 @@ async function vt(n) {
450
450
  throw console.error("[CustomFetch] ", u), u;
451
451
  }
452
452
  }
453
- const Rs = (n) => vt({ ...n, contentTypeJson: !1, raw: !1 });
454
- function Ts(n, e, t) {
453
+ const Ts = (n) => kt({ ...n, contentTypeJson: !1, raw: !1 });
454
+ function Is(n, e, t) {
455
455
  fetch(e).then((i) => i.blob()).then((i) => pn(i, `${n}.${t}`));
456
456
  }
457
457
  const pn = (n, e, t) => {
@@ -481,11 +481,11 @@ const Ue = (n) => {
481
481
  } };
482
482
  return e = n(i, a, o), o;
483
483
  }, gn = (n) => n ? Ue(n) : Ue;
484
- var St = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
484
+ var vt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
485
485
  function xe(n) {
486
486
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
487
487
  }
488
- var yt = { exports: {} }, Nt = {}, bt = { exports: {} }, Ft = {};
488
+ var St = { exports: {} }, yt = {}, Nt = { exports: {} }, bt = {};
489
489
  /**
490
490
  * @license React
491
491
  * use-sync-external-store-shim.production.min.js
@@ -495,11 +495,11 @@ var yt = { exports: {} }, Nt = {}, bt = { exports: {} }, Ft = {};
495
495
  * This source code is licensed under the MIT license found in the
496
496
  * LICENSE file in the root directory of this source tree.
497
497
  */
498
- var K = fe;
498
+ var W = fe;
499
499
  function kn(n, e) {
500
500
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
501
501
  }
502
- var vn = typeof Object.is == "function" ? Object.is : kn, Sn = K.useState, yn = K.useEffect, Nn = K.useLayoutEffect, bn = K.useDebugValue;
502
+ var vn = typeof Object.is == "function" ? Object.is : kn, Sn = W.useState, yn = W.useEffect, Nn = W.useLayoutEffect, bn = W.useDebugValue;
503
503
  function Fn(n, e) {
504
504
  var t = e(), i = Sn({ inst: { value: t, getSnapshot: e } }), a = i[0].inst, s = i[1];
505
505
  return Nn(function() {
@@ -524,9 +524,9 @@ function wn(n, e) {
524
524
  return e();
525
525
  }
526
526
  var Cn = typeof window == "undefined" || typeof window.document == "undefined" || typeof window.document.createElement == "undefined" ? wn : Fn;
527
- Ft.useSyncExternalStore = K.useSyncExternalStore !== void 0 ? K.useSyncExternalStore : Cn;
528
- bt.exports = Ft;
529
- var wt = bt.exports;
527
+ bt.useSyncExternalStore = W.useSyncExternalStore !== void 0 ? W.useSyncExternalStore : Cn;
528
+ Nt.exports = bt;
529
+ var Ft = Nt.exports;
530
530
  /**
531
531
  * @license React
532
532
  * use-sync-external-store-shim/with-selector.production.min.js
@@ -536,19 +536,19 @@ var wt = bt.exports;
536
536
  * This source code is licensed under the MIT license found in the
537
537
  * LICENSE file in the root directory of this source tree.
538
538
  */
539
- var pe = fe, En = wt;
539
+ var pe = fe, En = Ft;
540
540
  function xn(n, e) {
541
541
  return n === e && (n !== 0 || 1 / n === 1 / e) || n !== n && e !== e;
542
542
  }
543
- var On = typeof Object.is == "function" ? Object.is : xn, Rn = En.useSyncExternalStore, Tn = pe.useRef, Dn = pe.useEffect, In = pe.useMemo, Ln = pe.useDebugValue;
544
- Nt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
543
+ var On = typeof Object.is == "function" ? Object.is : xn, Rn = En.useSyncExternalStore, Tn = pe.useRef, In = pe.useEffect, Dn = pe.useMemo, Ln = pe.useDebugValue;
544
+ yt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
545
545
  var s = Tn(null);
546
546
  if (s.current === null) {
547
547
  var r = { hasValue: !1, value: null };
548
548
  s.current = r;
549
549
  } else
550
550
  r = s.current;
551
- s = In(function() {
551
+ s = Dn(function() {
552
552
  function l(S) {
553
553
  if (!u) {
554
554
  if (u = !0, d = S, S = i(S), a !== void 0 && r.hasValue) {
@@ -571,18 +571,18 @@ Nt.useSyncExternalStoreWithSelector = function(n, e, t, i, a) {
571
571
  }];
572
572
  }, [e, t, i, a]);
573
573
  var o = Rn(n, s[0], s[1]);
574
- return Dn(function() {
574
+ return In(function() {
575
575
  r.hasValue = !0, r.value = o;
576
576
  }, [o]), Ln(o), o;
577
577
  };
578
- yt.exports = Nt;
579
- var An = yt.exports;
578
+ St.exports = yt;
579
+ var An = St.exports;
580
580
  const Pn = /* @__PURE__ */ xe(An);
581
- var Ct = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
581
+ var wt = { NZ_AWS_REGION: "us-east-1", NZ_VTEX_PROJECT: "/Users/jbermudez/TODO/PROJECTS/live-shopping", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
582
582
  const { useDebugValue: Vn } = fe, { useSyncExternalStoreWithSelector: _n } = Pn;
583
583
  let Me = !1;
584
584
  function Un(n, e = n.getState, t) {
585
- (Ct ? "production" : void 0) !== "production" && t && !Me && (console.warn(
585
+ (wt ? "production" : void 0) !== "production" && t && !Me && (console.warn(
586
586
  "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
587
587
  ), Me = !0);
588
588
  const i = _n(
@@ -595,7 +595,7 @@ function Un(n, e = n.getState, t) {
595
595
  return Vn(i), i;
596
596
  }
597
597
  const $e = (n) => {
598
- (Ct ? "production" : void 0) !== "production" && typeof n != "function" && console.warn(
598
+ (wt ? "production" : void 0) !== "production" && typeof n != "function" && console.warn(
599
599
  "[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`."
600
600
  );
601
601
  const e = typeof n == "function" ? gn(n) : n, t = (i, a) => Un(e, i, a);
@@ -607,9 +607,9 @@ class $n {
607
607
  R(this, "listeners", /* @__PURE__ */ new Map());
608
608
  R(this, "eventQueue", /* @__PURE__ */ new Map());
609
609
  try {
610
- this.channel = new BroadcastChannel(e), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) => Z.error("NizzaBroadcastChannel:", t);
610
+ this.channel = new BroadcastChannel(e), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) => K.error("NizzaBroadcastChannel:", t);
611
611
  } catch (t) {
612
- throw Z.error("Failed to create NizzaBroadcastChannel:", t), t;
612
+ throw K.error("Failed to create NizzaBroadcastChannel:", t), t;
613
613
  }
614
614
  }
615
615
  /**
@@ -670,7 +670,7 @@ class $n {
670
670
  subscribeToEvent(e, t) {
671
671
  if (typeof e != "string" || typeof t != "function") {
672
672
  const i = new Error("Invalid arguments");
673
- throw Z.error(i), i;
673
+ throw K.error(i), i;
674
674
  }
675
675
  for (const [i, a] of this.listeners.entries())
676
676
  if (this.matchWildcard(i, e)) {
@@ -694,7 +694,7 @@ class $n {
694
694
  emitEvent(e, t, i) {
695
695
  if (typeof e != "string") {
696
696
  const r = new Error("Invalid arguments");
697
- throw Z.error(r), r;
697
+ throw K.error(r), r;
698
698
  }
699
699
  const a = {
700
700
  name: e,
@@ -752,16 +752,16 @@ const zn = (n = 8) => jn(n), Ds = (n) => {
752
752
  const e = Object.entries(n).reduce((t, [i, a]) => a !== void 0 ? `${t}${t ? "&" : ""}${i}=${a}` : t, "");
753
753
  return e ? `?${e}` : "";
754
754
  };
755
- function Is() {
755
+ function Ls() {
756
756
  const n = new Error().stack.split(`
757
757
  `);
758
758
  return n.length < 3 ? "" : n[2].trim().substring(3);
759
759
  }
760
- var Et = { exports: {} };
760
+ var Ct = { exports: {} };
761
761
  (function(n) {
762
762
  (function(e, t) {
763
763
  n.exports ? n.exports = t() : e.log = t();
764
- })(St, function() {
764
+ })(vt, function() {
765
765
  var e = function() {
766
766
  }, t = "undefined", i = typeof window !== t && typeof window.navigator !== t && /Trident\/|MSIE /.test(window.navigator.userAgent), a = [
767
767
  "trace",
@@ -804,11 +804,11 @@ var Et = { exports: {} };
804
804
  return o(k) || u.apply(this, arguments);
805
805
  }
806
806
  function f(k, N, O) {
807
- var F = this, D;
807
+ var F = this, I;
808
808
  N = N == null ? "WARN" : N;
809
809
  var w = "loglevel";
810
810
  typeof k == "string" ? w += ":" + k : typeof k == "symbol" && (w = void 0);
811
- function I(p) {
811
+ function D(p) {
812
812
  var h = (a[p] || "silent").toUpperCase();
813
813
  if (!(typeof window === t || !w)) {
814
814
  try {
@@ -861,10 +861,10 @@ var Et = { exports: {} };
861
861
  ERROR: 4,
862
862
  SILENT: 5
863
863
  }, F.methodFactory = O || d, F.getLevel = function() {
864
- return D;
864
+ return I;
865
865
  }, F.setLevel = function(p, h) {
866
866
  if (typeof p == "string" && F.levels[p.toUpperCase()] !== void 0 && (p = F.levels[p.toUpperCase()]), typeof p == "number" && p >= 0 && p <= F.levels.SILENT) {
867
- if (D = p, h !== !1 && I(p), l.call(F, p, k), typeof console === t && p < F.levels.SILENT)
867
+ if (I = p, h !== !1 && D(p), l.call(F, p, k), typeof console === t && p < F.levels.SILENT)
868
868
  return "No console available for logging";
869
869
  } else
870
870
  throw "log.setLevel() called with invalid level: " + p;
@@ -898,14 +898,14 @@ var Et = { exports: {} };
898
898
  return S;
899
899
  }, c.default = c, c;
900
900
  });
901
- })(Et);
902
- var xt = Et.exports;
903
- const ie = /* @__PURE__ */ xe(xt);
904
- var Ot = { exports: {} };
901
+ })(Ct);
902
+ var Et = Ct.exports;
903
+ const ie = /* @__PURE__ */ xe(Et);
904
+ var xt = { exports: {} };
905
905
  (function(n) {
906
906
  (function(e, t) {
907
907
  n.exports ? n.exports = t() : e.prefix = t(e);
908
- })(St, function(e) {
908
+ })(vt, function(e) {
909
909
  var t = function(d) {
910
910
  for (var f = 1, c = arguments.length, S; f < c; f++)
911
911
  for (S in arguments[f])
@@ -932,15 +932,15 @@ var Ot = { exports: {} };
932
932
  throw new TypeError("Argument is not a logger");
933
933
  var c = d.methodFactory, S = d.name || "", y = s[S] || s[""] || i;
934
934
  function k(N, O, F) {
935
- var D = c(N, O, F), w = s[F] || s[""], I = w.template.indexOf("%t") !== -1, L = w.template.indexOf("%l") !== -1, A = w.template.indexOf("%n") !== -1;
935
+ var I = c(N, O, F), w = s[F] || s[""], D = w.template.indexOf("%t") !== -1, L = w.template.indexOf("%l") !== -1, A = w.template.indexOf("%n") !== -1;
936
936
  return function() {
937
937
  for (var m = "", p = arguments.length, h = Array(p), g = 0; g < p; g++)
938
938
  h[g] = arguments[g];
939
939
  if (S || !s[F]) {
940
940
  var b = w.timestampFormatter(/* @__PURE__ */ new Date()), C = w.levelFormatter(N), v = w.nameFormatter(F);
941
- w.format ? m += w.format(C, v, b) : (m += w.template, I && (m = m.replace(/%t/, b)), L && (m = m.replace(/%l/, C)), A && (m = m.replace(/%n/, v))), h.length && typeof h[0] == "string" ? h[0] = m + " " + h[0] : h.unshift(m);
941
+ w.format ? m += w.format(C, v, b) : (m += w.template, D && (m = m.replace(/%t/, b)), L && (m = m.replace(/%l/, C)), A && (m = m.replace(/%n/, v))), h.length && typeof h[0] == "string" ? h[0] = m + " " + h[0] : h.unshift(m);
942
942
  }
943
- D.apply(void 0, h);
943
+ I.apply(void 0, h);
944
944
  };
945
945
  }
946
946
  return s[S] || (d.methodFactory = k), f = f || {}, f.template && (f.format = void 0), s[S] = t({}, y, f), d.setLevel(d.getLevel()), a || d.warn(
@@ -954,12 +954,12 @@ var Ot = { exports: {} };
954
954
  return e.prefix === l && (e.prefix = u), l;
955
955
  }), l;
956
956
  });
957
- })(Ot);
958
- var Bn = Ot.exports;
957
+ })(xt);
958
+ var Bn = xt.exports;
959
959
  const je = /* @__PURE__ */ xe(Bn);
960
960
  let Qn = class {
961
961
  constructor(e) {
962
- R(this, "defaultLevel", xt.levels.INFO);
962
+ R(this, "defaultLevel", Et.levels.INFO);
963
963
  R(this, "namePrefix");
964
964
  this.namePrefix = e ? `${e}-` : "", ie.setDefaultLevel(this.defaultLevel), je.reg(ie), je.apply(ie, {
965
965
  template: "[%t] %l (%n)",
@@ -974,17 +974,26 @@ let Qn = class {
974
974
  const t = this.namePrefix + e.toLowerCase(), i = ie.getLogger(t), a = localStorage.getItem(`loglevel:${t}`);
975
975
  return a ? i.setLevel(a) : i.setLevel(this.defaultLevel), i;
976
976
  }
977
- };
978
- const j = Kn(), Gn = j.store, As = j.log.createLogger("main"), Z = j.log.createLogger("core");
979
- function ze() {
977
+ }, $, Gn, K, Ot;
978
+ function Ps() {
979
+ return $ = Kn(), Ot = $.store, Gn = $.log.createLogger("main"), K = $.log.createLogger("core"), $;
980
+ }
981
+ function Kn() {
982
+ if (!window.nizza) {
983
+ const n = Wn();
984
+ window.nizza = n, window.nz = n;
985
+ }
986
+ return window.nizza;
987
+ }
988
+ function Wn() {
980
989
  const n = Mn(() => ({
981
990
  config: null
982
991
  }));
983
992
  return {
984
- version: "1.0.3",
993
+ version: "1.0.4",
985
994
  store: n,
986
- configure: Wn,
987
- setProductDataSource: Jn,
995
+ configure: Jn,
996
+ setProductDataSource: qn,
988
997
  instanceId: zn(),
989
998
  log: new Qn("nz"),
990
999
  eventBus: new $n("nizza"),
@@ -993,33 +1002,23 @@ function ze() {
993
1002
  }
994
1003
  };
995
1004
  }
996
- function Kn() {
997
- if (typeof window != "undefined") {
998
- if (!window.nizza) {
999
- const n = ze();
1000
- window.nizza = n, window.nz = n;
1001
- }
1002
- return window.nizza;
1003
- }
1004
- return ze();
1005
- }
1006
- async function Wn(n) {
1005
+ async function Jn(n) {
1007
1006
  try {
1008
- const e = j.store.getState().account;
1009
- if (j.store.setState({ config: n }), (e == null ? void 0 : e.account) !== n.account) {
1010
- const t = await ea(n.account);
1011
- j.store.setState({ account: t });
1007
+ const e = $.store.getState().account;
1008
+ if ($.store.setState({ config: n }), (e == null ? void 0 : e.account) !== n.account) {
1009
+ const t = await ta(n.account);
1010
+ $.store.setState({ account: t });
1012
1011
  }
1013
1012
  if (n.getProductDataSource) {
1014
1013
  const t = await n.getProductDataSource();
1015
- j.store.setState({ productDataSource: t });
1014
+ $.store.setState({ productDataSource: t });
1016
1015
  }
1017
1016
  } catch (e) {
1018
1017
  console.error("Error configuring NizzaStore:", e);
1019
1018
  }
1020
1019
  }
1021
- function Jn(n) {
1022
- j.store.setState({ productDataSource: n });
1020
+ function qn(n) {
1021
+ $.store.setState({ productDataSource: n });
1023
1022
  }
1024
1023
  function G(n) {
1025
1024
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
@@ -1047,36 +1046,36 @@ function Oe(n) {
1047
1046
  }
1048
1047
  };
1049
1048
  }
1050
- const qn = Number.isInteger || function(e) {
1049
+ const Hn = Number.isInteger || function(e) {
1051
1050
  return e << 0 === e;
1052
1051
  };
1053
- function Hn(n) {
1052
+ function Zn(n) {
1054
1053
  return Object.prototype.toString.call(n) === "[object String]";
1055
1054
  }
1056
- var Zn = /* @__PURE__ */ Oe(function(e, t) {
1055
+ var Xn = /* @__PURE__ */ Oe(function(e, t) {
1057
1056
  var i = e < 0 ? t.length + e : e;
1058
- return Hn(t) ? t.charAt(i) : t[i];
1057
+ return Zn(t) ? t.charAt(i) : t[i];
1059
1058
  });
1060
- const Xn = Zn;
1061
- var Yn = /* @__PURE__ */ se(function(e) {
1059
+ const Yn = Xn;
1060
+ var ei = /* @__PURE__ */ se(function(e) {
1062
1061
  return e == null;
1063
1062
  });
1064
- const ei = Yn;
1065
- var ti = /* @__PURE__ */ Oe(function(e, t) {
1063
+ const ti = ei;
1064
+ var ni = /* @__PURE__ */ Oe(function(e, t) {
1066
1065
  return e.map(function(i) {
1067
1066
  for (var a = t, s = 0, r; s < i.length; ) {
1068
1067
  if (a == null)
1069
1068
  return;
1070
- r = i[s], a = qn(r) ? Xn(r, a) : a[r], s += 1;
1069
+ r = i[s], a = Hn(r) ? Yn(r, a) : a[r], s += 1;
1071
1070
  }
1072
1071
  return a;
1073
1072
  });
1074
1073
  });
1075
- const ni = ti;
1076
- var ii = /* @__PURE__ */ Oe(function(e, t) {
1077
- return ni([e], t)[0];
1074
+ const ii = ni;
1075
+ var ai = /* @__PURE__ */ Oe(function(e, t) {
1076
+ return ii([e], t)[0];
1078
1077
  });
1079
- const ai = ii;
1078
+ const si = ai;
1080
1079
  class he extends Error {
1081
1080
  constructor(e, t, i) {
1082
1081
  super(t), this.value = i, this.name = e;
@@ -1089,7 +1088,7 @@ class he extends Error {
1089
1088
  };
1090
1089
  }
1091
1090
  }
1092
- class si extends he {
1091
+ class ri extends he {
1093
1092
  constructor(e) {
1094
1093
  super(
1095
1094
  "RESOURCE_NOT_FOUND_ERROR",
@@ -1098,7 +1097,7 @@ class si extends he {
1098
1097
  );
1099
1098
  }
1100
1099
  }
1101
- class ri extends he {
1100
+ class oi extends he {
1102
1101
  constructor(e) {
1103
1102
  var t;
1104
1103
  super(
@@ -1108,12 +1107,12 @@ class ri extends he {
1108
1107
  );
1109
1108
  }
1110
1109
  }
1111
- class Ps extends he {
1110
+ class Vs extends he {
1112
1111
  constructor() {
1113
1112
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
1114
1113
  }
1115
1114
  }
1116
- class oi extends he {
1115
+ class li extends he {
1117
1116
  constructor(e) {
1118
1117
  super(
1119
1118
  "INVALID_NIZZA_GLOBAL_OBJECT_ERROR",
@@ -1141,13 +1140,13 @@ class oi extends he {
1141
1140
  );
1142
1141
  }
1143
1142
  }
1144
- function Vs(n, e) {
1143
+ function _s(n, e) {
1145
1144
  e.forEach((t) => {
1146
- if (ei(ai(t.split("."), n)))
1147
- throw new oi(t);
1145
+ if (ti(si(t.split("."), n)))
1146
+ throw new li(t);
1148
1147
  });
1149
1148
  }
1150
- function _s() {
1149
+ function Us() {
1151
1150
  var i, a, s;
1152
1151
  let n = null, e = null, t = null;
1153
1152
  try {
@@ -1162,7 +1161,7 @@ function _s() {
1162
1161
  );
1163
1162
  e = `${o}${l}:${u}`;
1164
1163
  } catch {
1165
- Z.error("Error obtaining time zone or offset");
1164
+ K.error("Error obtaining time zone or offset");
1166
1165
  }
1167
1166
  return {
1168
1167
  offset: e,
@@ -1173,7 +1172,7 @@ function _s() {
1173
1172
  label: null
1174
1173
  };
1175
1174
  }
1176
- class li {
1175
+ class di {
1177
1176
  constructor(e) {
1178
1177
  R(this, "aggregate");
1179
1178
  R(this, "_numSetPropsApplied", 0);
@@ -1188,12 +1187,12 @@ class li {
1188
1187
  return this._numSetPropsApplied === 1;
1189
1188
  }
1190
1189
  }
1191
- function di(n) {
1192
- return new li(n);
1193
- }
1194
- class Us {
1190
+ function ui(n) {
1191
+ return new di(n);
1195
1192
  }
1196
1193
  class Ms {
1194
+ }
1195
+ class $s {
1197
1196
  constructor(e) {
1198
1197
  R(this, "_value");
1199
1198
  e !== void 0 && (this._value = e);
@@ -1202,10 +1201,10 @@ class Ms {
1202
1201
  return this._value;
1203
1202
  }
1204
1203
  }
1205
- var Rt = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))(Rt || {}), ui = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(ui || {}), Tt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(Tt || {}), ci = /* @__PURE__ */ ((n) => (n.LITE = "lite", n.STANDARD = "standard", n.PRO = "pro", n))(ci || {}), mi = /* @__PURE__ */ ((n) => (n.LITE = "PLAN_LITE", n.STANDARD = "PLAN_ESTANDAR", n.PRO = "PLAN_PRO", n.NONE = "NO_PLAN", n))(mi || {}), fi = /* @__PURE__ */ ((n) => (n.PAST = "past", n.LIVE = "live", n.FUTURE = "future", n))(fi || {});
1204
+ var Rt = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.VTEX_IO = "VTEX-IO", n.VTEX_CMS = "PORTAL-VTEX", n.PLATFORM = "PLATFORM", n.UNKNOWN = "UNKNOWN", n))(Rt || {}), ci = /* @__PURE__ */ ((n) => (n.PLATFORM = "platform_module", n.ADENDA = "subscription_module", n.APP_STORE = "app_store", n))(ci || {}), Tt = /* @__PURE__ */ ((n) => (n.ACTIVE = "active_contract", n.INACTIVE = "inactive_contract", n))(Tt || {}), mi = /* @__PURE__ */ ((n) => (n.LITE = "lite", n.STANDARD = "standard", n.PRO = "pro", n))(mi || {}), fi = /* @__PURE__ */ ((n) => (n.LITE = "PLAN_LITE", n.STANDARD = "PLAN_ESTANDAR", n.PRO = "PLAN_PRO", n.NONE = "NO_PLAN", n))(fi || {}), pi = /* @__PURE__ */ ((n) => (n.PAST = "past", n.LIVE = "live", n.FUTURE = "future", n))(pi || {});
1206
1205
  class Re {
1207
1206
  constructor(e) {
1208
- R(this, "root", di(this));
1207
+ R(this, "root", ui(this));
1209
1208
  R(this, "id");
1210
1209
  R(this, "account");
1211
1210
  R(this, "accountType", Rt.UNKNOWN);
@@ -1248,16 +1247,16 @@ class Re {
1248
1247
  };
1249
1248
  }
1250
1249
  }
1251
- const pi = `${fn.apiUrls.restV1}/accounts/v2`;
1252
- class hi {
1250
+ const hi = `${fn.apiUrls.restV1}/accounts/v2`;
1251
+ class gi {
1253
1252
  async get(e) {
1254
- const t = `${pi}/${e}`, { data: i } = await vt({
1253
+ const t = `${hi}/${e}`, { data: i } = await kt({
1255
1254
  url: t
1256
1255
  });
1257
1256
  return i ? Re.toDomain(i) : null;
1258
1257
  }
1259
1258
  }
1260
- class gi {
1259
+ class ki {
1261
1260
  constructor(e) {
1262
1261
  this.accountRepository = e;
1263
1262
  }
@@ -1265,14 +1264,14 @@ class gi {
1265
1264
  try {
1266
1265
  const t = await this.accountRepository.get(e);
1267
1266
  if (!t)
1268
- throw new si(e);
1267
+ throw new ri(e);
1269
1268
  return t;
1270
1269
  } catch (t) {
1271
- throw new ri(t);
1270
+ throw new oi(t);
1272
1271
  }
1273
1272
  }
1274
1273
  }
1275
- const ki = new hi(), Dt = new gi(ki);
1274
+ const vi = new gi(), It = new ki(vi);
1276
1275
  class Te {
1277
1276
  constructor() {
1278
1277
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -1294,16 +1293,16 @@ class Te {
1294
1293
  }
1295
1294
  }
1296
1295
  const oe = typeof window == "undefined" || "Deno" in window;
1297
- function vi() {
1296
+ function Si() {
1298
1297
  }
1299
- function Be(n) {
1298
+ function ze(n) {
1300
1299
  return typeof n == "number" && n >= 0 && n !== 1 / 0;
1301
1300
  }
1302
- function Si(n, e) {
1301
+ function yi(n, e) {
1303
1302
  return Math.max(n + (e || 0) - Date.now(), 0);
1304
1303
  }
1305
- function yi(n, e, t) {
1306
- return Ni(n) ? typeof e == "function" ? {
1304
+ function Ni(n, e, t) {
1305
+ return bi(n) ? typeof e == "function" ? {
1307
1306
  ...t,
1308
1307
  queryKey: n,
1309
1308
  queryFn: e
@@ -1312,16 +1311,16 @@ function yi(n, e, t) {
1312
1311
  queryKey: n
1313
1312
  } : n;
1314
1313
  }
1315
- function It(n, e) {
1314
+ function Dt(n, e) {
1316
1315
  if (n === e)
1317
1316
  return n;
1318
- const t = Qe(n) && Qe(e);
1319
- if (t || Ge(n) && Ge(e)) {
1317
+ const t = Be(n) && Be(e);
1318
+ if (t || Qe(n) && Qe(e)) {
1320
1319
  const i = t ? n.length : Object.keys(n).length, a = t ? e : Object.keys(e), s = a.length, r = t ? [] : {};
1321
1320
  let o = 0;
1322
1321
  for (let l = 0; l < s; l++) {
1323
1322
  const u = t ? l : a[l];
1324
- r[u] = It(n[u], e[u]), r[u] === n[u] && o++;
1323
+ r[u] = Dt(n[u], e[u]), r[u] === n[u] && o++;
1325
1324
  }
1326
1325
  return i === s && o === i ? n : r;
1327
1326
  }
@@ -1335,36 +1334,36 @@ function be(n, e) {
1335
1334
  return !1;
1336
1335
  return !0;
1337
1336
  }
1338
- function Qe(n) {
1337
+ function Be(n) {
1339
1338
  return Array.isArray(n) && n.length === Object.keys(n).length;
1340
1339
  }
1341
- function Ge(n) {
1342
- if (!Ke(n))
1340
+ function Qe(n) {
1341
+ if (!Ge(n))
1343
1342
  return !1;
1344
1343
  const e = n.constructor;
1345
1344
  if (typeof e == "undefined")
1346
1345
  return !0;
1347
1346
  const t = e.prototype;
1348
- return !(!Ke(t) || !t.hasOwnProperty("isPrototypeOf"));
1347
+ return !(!Ge(t) || !t.hasOwnProperty("isPrototypeOf"));
1349
1348
  }
1350
- function Ke(n) {
1349
+ function Ge(n) {
1351
1350
  return Object.prototype.toString.call(n) === "[object Object]";
1352
1351
  }
1353
- function Ni(n) {
1352
+ function bi(n) {
1354
1353
  return Array.isArray(n);
1355
1354
  }
1356
- function bi(n) {
1355
+ function Fi(n) {
1357
1356
  return new Promise((e) => {
1358
1357
  setTimeout(e, n);
1359
1358
  });
1360
1359
  }
1361
- function We(n) {
1362
- bi(0).then(n);
1360
+ function Ke(n) {
1361
+ Fi(0).then(n);
1363
1362
  }
1364
- function Je(n, e, t) {
1365
- return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? It(n, e) : e;
1363
+ function We(n, e, t) {
1364
+ return t.isDataEqual != null && t.isDataEqual(n, e) ? n : typeof t.structuralSharing == "function" ? t.structuralSharing(n, e) : t.structuralSharing !== !1 ? Dt(n, e) : e;
1366
1365
  }
1367
- class Fi extends Te {
1366
+ class wi extends Te {
1368
1367
  constructor() {
1369
1368
  super(), this.setup = (e) => {
1370
1369
  if (!oe && window.addEventListener) {
@@ -1404,16 +1403,16 @@ class Fi extends Te {
1404
1403
  return typeof this.focused == "boolean" ? this.focused : typeof document == "undefined" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState);
1405
1404
  }
1406
1405
  }
1407
- const wi = new Fi(), qe = ["online", "offline"];
1408
- class Ci extends Te {
1406
+ const Ci = new wi(), Je = ["online", "offline"];
1407
+ class Ei extends Te {
1409
1408
  constructor() {
1410
1409
  super(), this.setup = (e) => {
1411
1410
  if (!oe && window.addEventListener) {
1412
1411
  const t = () => e();
1413
- return qe.forEach((i) => {
1412
+ return Je.forEach((i) => {
1414
1413
  window.addEventListener(i, t, !1);
1415
1414
  }), () => {
1416
- qe.forEach((i) => {
1415
+ Je.forEach((i) => {
1417
1416
  window.removeEventListener(i, t);
1418
1417
  });
1419
1418
  };
@@ -1449,19 +1448,19 @@ class Ci extends Te {
1449
1448
  return typeof this.online == "boolean" ? this.online : typeof navigator == "undefined" || typeof navigator.onLine == "undefined" ? !0 : navigator.onLine;
1450
1449
  }
1451
1450
  }
1452
- const Ei = new Ci();
1453
- function xi(n) {
1454
- return (n != null ? n : "online") === "online" ? Ei.isOnline() : !0;
1451
+ const xi = new Ei();
1452
+ function Oi(n) {
1453
+ return (n != null ? n : "online") === "online" ? xi.isOnline() : !0;
1455
1454
  }
1456
- class Oi {
1455
+ class Ri {
1457
1456
  constructor(e) {
1458
1457
  this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
1459
1458
  }
1460
1459
  }
1461
- function Ri(n) {
1462
- return n instanceof Oi;
1460
+ function Ti(n) {
1461
+ return n instanceof Ri;
1463
1462
  }
1464
- function Ti() {
1463
+ function Ii() {
1465
1464
  let n = [], e = 0, t = (d) => {
1466
1465
  d();
1467
1466
  }, i = (d) => {
@@ -1477,7 +1476,7 @@ function Ti() {
1477
1476
  }
1478
1477
  return f;
1479
1478
  }, s = (d) => {
1480
- e ? n.push(d) : We(() => {
1479
+ e ? n.push(d) : Ke(() => {
1481
1480
  t(d);
1482
1481
  });
1483
1482
  }, r = (d) => (...f) => {
@@ -1486,7 +1485,7 @@ function Ti() {
1486
1485
  });
1487
1486
  }, o = () => {
1488
1487
  const d = n;
1489
- n = [], d.length && We(() => {
1488
+ n = [], d.length && Ke(() => {
1490
1489
  i(() => {
1491
1490
  d.forEach((f) => {
1492
1491
  t(f);
@@ -1506,7 +1505,7 @@ function Ti() {
1506
1505
  }
1507
1506
  };
1508
1507
  }
1509
- const X = Ti();
1508
+ const X = Ii();
1510
1509
  class Di extends Te {
1511
1510
  constructor(e, t) {
1512
1511
  super(), this.client = e, this.options = t, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(t);
@@ -1515,7 +1514,7 @@ class Di extends Te {
1515
1514
  this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this);
1516
1515
  }
1517
1516
  onSubscribe() {
1518
- this.listeners.size === 1 && (this.currentQuery.addObserver(this), He(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1517
+ this.listeners.size === 1 && (this.currentQuery.addObserver(this), qe(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers());
1519
1518
  }
1520
1519
  onUnsubscribe() {
1521
1520
  this.hasListeners() || this.destroy();
@@ -1539,13 +1538,13 @@ class Di extends Te {
1539
1538
  throw new Error("Expected enabled to be a boolean");
1540
1539
  this.options.queryKey || (this.options.queryKey = i.queryKey), this.updateQuery();
1541
1540
  const s = this.hasListeners();
1542
- s && Ze(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(t), s && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
1541
+ s && He(this.currentQuery, a, this.options, i) && this.executeFetch(), this.updateResult(t), s && (this.currentQuery !== a || this.options.enabled !== i.enabled || this.options.staleTime !== i.staleTime) && this.updateStaleTimeout();
1543
1542
  const r = this.computeRefetchInterval();
1544
1543
  s && (this.currentQuery !== a || this.options.enabled !== i.enabled || r !== this.currentRefetchInterval) && this.updateRefetchInterval(r);
1545
1544
  }
1546
1545
  getOptimisticResult(e) {
1547
1546
  const t = this.client.getQueryCache().build(this.client, e), i = this.createResult(t, e);
1548
- return Li(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
1547
+ return Ai(this, i, e) && (this.currentResult = i, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), i;
1549
1548
  }
1550
1549
  getCurrentResult() {
1551
1550
  return this.currentResult;
@@ -1591,12 +1590,12 @@ class Di extends Te {
1591
1590
  executeFetch(e) {
1592
1591
  this.updateQuery();
1593
1592
  let t = this.currentQuery.fetch(this.options, e);
1594
- return e != null && e.throwOnError || (t = t.catch(vi)), t;
1593
+ return e != null && e.throwOnError || (t = t.catch(Si)), t;
1595
1594
  }
1596
1595
  updateStaleTimeout() {
1597
- if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !Be(this.options.staleTime))
1596
+ if (this.clearStaleTimeout(), oe || this.currentResult.isStale || !ze(this.options.staleTime))
1598
1597
  return;
1599
- const t = Si(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1598
+ const t = yi(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
1600
1599
  this.staleTimeoutId = setTimeout(() => {
1601
1600
  this.currentResult.isStale || this.updateResult();
1602
1601
  }, t);
@@ -1606,8 +1605,8 @@ class Di extends Te {
1606
1605
  return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (e = this.options.refetchInterval) != null ? e : !1;
1607
1606
  }
1608
1607
  updateRefetchInterval(e) {
1609
- this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !Be(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1610
- (this.options.refetchIntervalInBackground || wi.isFocused()) && this.executeFetch();
1608
+ this.clearRefetchInterval(), this.currentRefetchInterval = e, !(oe || this.options.enabled === !1 || !ze(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
1609
+ (this.options.refetchIntervalInBackground || Ci.isFocused()) && this.executeFetch();
1611
1610
  }, this.currentRefetchInterval));
1612
1611
  }
1613
1612
  updateTimers() {
@@ -1629,25 +1628,25 @@ class Di extends Te {
1629
1628
  errorUpdatedAt: y,
1630
1629
  fetchStatus: k,
1631
1630
  status: N
1632
- } = f, O = !1, F = !1, D;
1631
+ } = f, O = !1, F = !1, I;
1633
1632
  if (t._optimisticResults) {
1634
- const m = this.hasListeners(), p = !m && He(e, t), h = m && Ze(e, i, t, a);
1635
- (p || h) && (k = xi(e.options.networkMode) ? "fetching" : "paused", c || (N = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1633
+ const m = this.hasListeners(), p = !m && qe(e, t), h = m && He(e, i, t, a);
1634
+ (p || h) && (k = Oi(e.options.networkMode) ? "fetching" : "paused", c || (N = "loading")), t._optimisticResults === "isRestoring" && (k = "idle");
1636
1635
  }
1637
1636
  if (t.keepPreviousData && !f.dataUpdatedAt && d != null && d.isSuccess && N !== "error")
1638
- D = d.data, c = d.dataUpdatedAt, N = d.status, O = !0;
1637
+ I = d.data, c = d.dataUpdatedAt, N = d.status, O = !0;
1639
1638
  else if (t.select && typeof f.data != "undefined")
1640
1639
  if (s && f.data === (r == null ? void 0 : r.data) && t.select === this.selectFn)
1641
- D = this.selectResult;
1640
+ I = this.selectResult;
1642
1641
  else
1643
1642
  try {
1644
- this.selectFn = t.select, D = t.select(f.data), D = Je(s == null ? void 0 : s.data, D, t), this.selectResult = D, this.selectError = null;
1643
+ this.selectFn = t.select, I = t.select(f.data), I = We(s == null ? void 0 : s.data, I, t), this.selectResult = I, this.selectError = null;
1645
1644
  } catch (m) {
1646
1645
  this.selectError = m;
1647
1646
  }
1648
1647
  else
1649
- D = f.data;
1650
- if (typeof t.placeholderData != "undefined" && typeof D == "undefined" && N === "loading") {
1648
+ I = f.data;
1649
+ if (typeof t.placeholderData != "undefined" && typeof I == "undefined" && N === "loading") {
1651
1650
  let m;
1652
1651
  if (s != null && s.isPlaceholderData && t.placeholderData === (o == null ? void 0 : o.placeholderData))
1653
1652
  m = s.data;
@@ -1657,18 +1656,18 @@ class Di extends Te {
1657
1656
  } catch (p) {
1658
1657
  this.selectError = p;
1659
1658
  }
1660
- typeof m != "undefined" && (N = "success", D = Je(s == null ? void 0 : s.data, m, t), F = !0);
1659
+ typeof m != "undefined" && (N = "success", I = We(s == null ? void 0 : s.data, m, t), F = !0);
1661
1660
  }
1662
- this.selectError && (S = this.selectError, D = this.selectResult, y = Date.now(), N = "error");
1663
- const w = k === "fetching", I = N === "loading", L = N === "error";
1661
+ this.selectError && (S = this.selectError, I = this.selectResult, y = Date.now(), N = "error");
1662
+ const w = k === "fetching", D = N === "loading", L = N === "error";
1664
1663
  return {
1665
1664
  status: N,
1666
1665
  fetchStatus: k,
1667
- isLoading: I,
1666
+ isLoading: D,
1668
1667
  isSuccess: N === "success",
1669
1668
  isError: L,
1670
- isInitialLoading: I && w,
1671
- data: D,
1669
+ isInitialLoading: D && w,
1670
+ data: I,
1672
1671
  dataUpdatedAt: c,
1673
1672
  error: S,
1674
1673
  errorUpdatedAt: y,
@@ -1678,13 +1677,13 @@ class Di extends Te {
1678
1677
  isFetched: f.dataUpdateCount > 0 || f.errorUpdateCount > 0,
1679
1678
  isFetchedAfterMount: f.dataUpdateCount > u.dataUpdateCount || f.errorUpdateCount > u.errorUpdateCount,
1680
1679
  isFetching: w,
1681
- isRefetching: w && !I,
1680
+ isRefetching: w && !D,
1682
1681
  isLoadingError: L && f.dataUpdatedAt === 0,
1683
1682
  isPaused: k === "paused",
1684
1683
  isPlaceholderData: F,
1685
1684
  isPreviousData: O,
1686
1685
  isRefetchError: L && f.dataUpdatedAt !== 0,
1687
- isStale: De(e, t),
1686
+ isStale: Ie(e, t),
1688
1687
  refetch: this.refetch,
1689
1688
  remove: this.remove
1690
1689
  };
@@ -1724,7 +1723,7 @@ class Di extends Te {
1724
1723
  }
1725
1724
  onQueryUpdate(e) {
1726
1725
  const t = {};
1727
- e.type === "success" ? t.onSuccess = !e.manual : e.type === "error" && !Ri(e.error) && (t.onError = !0), this.updateResult(t), this.hasListeners() && this.updateTimers();
1726
+ e.type === "success" ? t.onSuccess = !e.manual : e.type === "error" && !Ti(e.error) && (t.onError = !0), this.updateResult(t), this.hasListeners() && this.updateTimers();
1728
1727
  }
1729
1728
  notify(e) {
1730
1729
  X.batch(() => {
@@ -1746,42 +1745,42 @@ class Di extends Te {
1746
1745
  });
1747
1746
  }
1748
1747
  }
1749
- function Ii(n, e) {
1748
+ function Li(n, e) {
1750
1749
  return e.enabled !== !1 && !n.state.dataUpdatedAt && !(n.state.status === "error" && e.retryOnMount === !1);
1751
1750
  }
1752
- function He(n, e) {
1753
- return Ii(n, e) || n.state.dataUpdatedAt > 0 && Fe(n, e, e.refetchOnMount);
1751
+ function qe(n, e) {
1752
+ return Li(n, e) || n.state.dataUpdatedAt > 0 && Fe(n, e, e.refetchOnMount);
1754
1753
  }
1755
1754
  function Fe(n, e, t) {
1756
1755
  if (e.enabled !== !1) {
1757
1756
  const i = typeof t == "function" ? t(n) : t;
1758
- return i === "always" || i !== !1 && De(n, e);
1757
+ return i === "always" || i !== !1 && Ie(n, e);
1759
1758
  }
1760
1759
  return !1;
1761
1760
  }
1762
- function Ze(n, e, t, i) {
1763
- return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && De(n, t);
1761
+ function He(n, e, t, i) {
1762
+ return t.enabled !== !1 && (n !== e || i.enabled === !1) && (!t.suspense || n.state.status !== "error") && Ie(n, t);
1764
1763
  }
1765
- function De(n, e) {
1764
+ function Ie(n, e) {
1766
1765
  return n.isStaleByTime(e.staleTime);
1767
1766
  }
1768
- function Li(n, e, t) {
1767
+ function Ai(n, e, t) {
1769
1768
  return t.keepPreviousData ? !1 : t.placeholderData !== void 0 ? e.isPlaceholderData : !be(n.getCurrentResult(), e);
1770
1769
  }
1771
- const Ai = wt.useSyncExternalStore, Xe = /* @__PURE__ */ M.createContext(void 0), Pi = /* @__PURE__ */ M.createContext(!1);
1772
- function Vi(n, e) {
1773
- return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Xe), window.ReactQueryClientContext) : Xe);
1770
+ const Pi = Ft.useSyncExternalStore, Ze = /* @__PURE__ */ M.createContext(void 0), Vi = /* @__PURE__ */ M.createContext(!1);
1771
+ function _i(n, e) {
1772
+ return n || (e && typeof window != "undefined" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = Ze), window.ReactQueryClientContext) : Ze);
1774
1773
  }
1775
- const _i = ({
1774
+ const Ui = ({
1776
1775
  context: n
1777
1776
  } = {}) => {
1778
- const e = M.useContext(Vi(n, M.useContext(Pi)));
1777
+ const e = M.useContext(_i(n, M.useContext(Vi)));
1779
1778
  if (!e)
1780
1779
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1781
1780
  return e;
1782
- }, Lt = /* @__PURE__ */ M.createContext(!1), Ui = () => M.useContext(Lt);
1781
+ }, Lt = /* @__PURE__ */ M.createContext(!1), Mi = () => M.useContext(Lt);
1783
1782
  Lt.Provider;
1784
- function Mi() {
1783
+ function $i() {
1785
1784
  let n = !1;
1786
1785
  return {
1787
1786
  clearReset: () => {
@@ -1793,37 +1792,37 @@ function Mi() {
1793
1792
  isReset: () => n
1794
1793
  };
1795
1794
  }
1796
- const $i = /* @__PURE__ */ M.createContext(Mi()), ji = () => M.useContext($i);
1797
- function zi(n, e) {
1795
+ const ji = /* @__PURE__ */ M.createContext($i()), zi = () => M.useContext(ji);
1796
+ function Bi(n, e) {
1798
1797
  return typeof n == "function" ? n(...e) : !!n;
1799
1798
  }
1800
- const Bi = (n, e) => {
1799
+ const Qi = (n, e) => {
1801
1800
  (n.suspense || n.useErrorBoundary) && (e.isReset() || (n.retryOnMount = !1));
1802
- }, Qi = (n) => {
1801
+ }, Gi = (n) => {
1803
1802
  M.useEffect(() => {
1804
1803
  n.clearReset();
1805
1804
  }, [n]);
1806
- }, Gi = ({
1805
+ }, Ki = ({
1807
1806
  result: n,
1808
1807
  errorResetBoundary: e,
1809
1808
  useErrorBoundary: t,
1810
1809
  query: i
1811
- }) => n.isError && !e.isReset() && !n.isFetching && zi(t, [n.error, i]), Ki = (n) => {
1810
+ }) => n.isError && !e.isReset() && !n.isFetching && Bi(t, [n.error, i]), Wi = (n) => {
1812
1811
  n.suspense && typeof n.staleTime != "number" && (n.staleTime = 1e3);
1813
- }, Wi = (n, e) => n.isLoading && n.isFetching && !e, Ji = (n, e, t) => (n == null ? void 0 : n.suspense) && Wi(e, t), qi = (n, e, t) => e.fetchOptimistic(n).then(({
1812
+ }, Ji = (n, e) => n.isLoading && n.isFetching && !e, qi = (n, e, t) => (n == null ? void 0 : n.suspense) && Ji(e, t), Hi = (n, e, t) => e.fetchOptimistic(n).then(({
1814
1813
  data: i
1815
1814
  }) => {
1816
1815
  n.onSuccess == null || n.onSuccess(i), n.onSettled == null || n.onSettled(i, null);
1817
1816
  }).catch((i) => {
1818
1817
  t.clearReset(), n.onError == null || n.onError(i), n.onSettled == null || n.onSettled(void 0, i);
1819
1818
  });
1820
- function Hi(n, e) {
1821
- const t = _i({
1819
+ function Zi(n, e) {
1820
+ const t = Ui({
1822
1821
  context: n.context
1823
- }), i = Ui(), a = ji(), s = t.defaultQueryOptions(n);
1824
- s._optimisticResults = i ? "isRestoring" : "optimistic", s.onError && (s.onError = X.batchCalls(s.onError)), s.onSuccess && (s.onSuccess = X.batchCalls(s.onSuccess)), s.onSettled && (s.onSettled = X.batchCalls(s.onSettled)), Ki(s), Bi(s, a), Qi(a);
1822
+ }), i = Mi(), a = zi(), s = t.defaultQueryOptions(n);
1823
+ s._optimisticResults = i ? "isRestoring" : "optimistic", s.onError && (s.onError = X.batchCalls(s.onError)), s.onSuccess && (s.onSuccess = X.batchCalls(s.onSuccess)), s.onSettled && (s.onSettled = X.batchCalls(s.onSettled)), Wi(s), Qi(s, a), Gi(a);
1825
1824
  const [r] = M.useState(() => new e(t, s)), o = r.getOptimisticResult(s);
1826
- if (Ai(M.useCallback((l) => {
1825
+ if (Pi(M.useCallback((l) => {
1827
1826
  const u = i ? () => {
1828
1827
  } : r.subscribe(X.batchCalls(l));
1829
1828
  return r.updateResult(), u;
@@ -1831,9 +1830,9 @@ function Hi(n, e) {
1831
1830
  r.setOptions(s, {
1832
1831
  listeners: !1
1833
1832
  });
1834
- }, [s, r]), Ji(s, o, i))
1835
- throw qi(s, r, a);
1836
- if (Gi({
1833
+ }, [s, r]), qi(s, o, i))
1834
+ throw Hi(s, r, a);
1835
+ if (Ki({
1837
1836
  result: o,
1838
1837
  errorResetBoundary: a,
1839
1838
  useErrorBoundary: s.useErrorBoundary,
@@ -1842,33 +1841,33 @@ function Hi(n, e) {
1842
1841
  throw o.error;
1843
1842
  return s.notifyOnChangeProps ? o : r.trackResult(o);
1844
1843
  }
1845
- function Zi(n, e, t) {
1846
- const i = yi(n, e, t);
1847
- return Hi(i, Di);
1844
+ function Xi(n, e, t) {
1845
+ const i = Ni(n, e, t);
1846
+ return Zi(i, Di);
1848
1847
  }
1849
- const Xi = () => ["account"], $s = () => {
1850
- const n = Gn((a) => {
1848
+ const Yi = () => ["account"], js = () => {
1849
+ const n = Ot((a) => {
1851
1850
  var s;
1852
1851
  return (s = a.config) == null ? void 0 : s.account;
1853
- }), [e, t] = on(Ee), i = Zi(Xi(), () => Dt.get(n), {
1852
+ }), [e, t] = on(Ee), i = Xi(Yi(), () => It.get(n), {
1854
1853
  enabled: !!n && !e,
1855
1854
  refetchOnWindowFocus: !1,
1856
1855
  refetchOnMount: !1
1857
1856
  });
1858
- return ht(() => {
1857
+ return pt(() => {
1859
1858
  const a = i.data;
1860
1859
  !i.isSuccess || !a || t(a);
1861
1860
  }, [i.status]), {
1862
1861
  findQuery: i,
1863
1862
  account: e
1864
1863
  };
1865
- }, Yi = gt();
1866
- async function ea(n) {
1867
- const e = await Dt.get(n);
1868
- return Yi.set(Ee, e), e;
1864
+ }, ea = ht();
1865
+ async function ta(n) {
1866
+ const e = await It.get(n);
1867
+ return ea.set(Ee, e), e;
1869
1868
  }
1870
- var ta = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(ta || {});
1871
- const js = {
1869
+ var na = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(na || {});
1870
+ const zs = {
1872
1871
  ALL: "*",
1873
1872
  CORE: "core:**",
1874
1873
  LIVE_STREAMING_EVENT: "event:**",
@@ -1880,30 +1879,30 @@ const js = {
1880
1879
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
1881
1880
  UI: "ui:**",
1882
1881
  UTILS: "utils:**"
1883
- }, zs = {
1882
+ }, Bs = {
1884
1883
  EVENT_STATUS_CHANGED: "event:statusChanged"
1885
1884
  };
1886
- var na = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(na || {}), ia = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(ia || {}), aa = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n.FAST_STORE = "faststore", n))(aa || {});
1887
- function sa(n) {
1885
+ var ia = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(ia || {}), aa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(aa || {}), sa = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n.FAST_STORE = "faststore", n))(sa || {});
1886
+ function ra(n) {
1888
1887
  const e = Object.values(n);
1889
1888
  return Object.assign({}, ...e);
1890
1889
  }
1891
- function ra(n) {
1890
+ function oa(n) {
1892
1891
  return Object.entries(n).reduce(
1893
1892
  (e, [t, i]) => {
1894
- const a = sa(i);
1893
+ const a = ra(i);
1895
1894
  return { ...e, [t]: a };
1896
1895
  },
1897
1896
  {}
1898
1897
  );
1899
1898
  }
1900
- function oa(n, e) {
1901
- const t = ra(e);
1899
+ function la(n, e) {
1900
+ const t = oa(e);
1902
1901
  Object.entries(t).forEach(([i, a]) => {
1903
1902
  n.addResourceBundle(i, "translation", a, !0);
1904
1903
  });
1905
1904
  }
1906
- function la(n, e) {
1905
+ function da(n, e) {
1907
1906
  if (!(n instanceof e))
1908
1907
  throw new TypeError("Cannot call a class as a function");
1909
1908
  }
@@ -1915,7 +1914,7 @@ function Y(n) {
1915
1914
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1916
1915
  }, Y(n);
1917
1916
  }
1918
- function da(n, e) {
1917
+ function ua(n, e) {
1919
1918
  if (Y(n) !== "object" || n === null)
1920
1919
  return n;
1921
1920
  var t = n[Symbol.toPrimitive];
@@ -1927,30 +1926,30 @@ function da(n, e) {
1927
1926
  }
1928
1927
  return (e === "string" ? String : Number)(n);
1929
1928
  }
1930
- function ua(n) {
1931
- var e = da(n, "string");
1929
+ function ca(n) {
1930
+ var e = ua(n, "string");
1932
1931
  return Y(e) === "symbol" ? e : String(e);
1933
1932
  }
1934
- function Ye(n, e) {
1933
+ function Xe(n, e) {
1935
1934
  for (var t = 0; t < e.length; t++) {
1936
1935
  var i = e[t];
1937
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ua(i.key), i);
1936
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ca(i.key), i);
1938
1937
  }
1939
1938
  }
1940
- function ca(n, e, t) {
1941
- return e && Ye(n.prototype, e), t && Ye(n, t), Object.defineProperty(n, "prototype", {
1939
+ function ma(n, e, t) {
1940
+ return e && Xe(n.prototype, e), t && Xe(n, t), Object.defineProperty(n, "prototype", {
1942
1941
  writable: !1
1943
1942
  }), n;
1944
1943
  }
1945
- var At = [], ma = At.forEach, fa = At.slice;
1946
- function pa(n) {
1947
- return ma.call(fa.call(arguments, 1), function(e) {
1944
+ var At = [], fa = At.forEach, pa = At.slice;
1945
+ function ha(n) {
1946
+ return fa.call(pa.call(arguments, 1), function(e) {
1948
1947
  if (e)
1949
1948
  for (var t in e)
1950
1949
  n[t] === void 0 && (n[t] = e[t]);
1951
1950
  }), n;
1952
1951
  }
1953
- var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
1952
+ var Ye = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ga = function(e, t, i) {
1954
1953
  var a = i || {};
1955
1954
  a.path = a.path || "/";
1956
1955
  var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
@@ -1961,12 +1960,12 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
1961
1960
  r += "; Max-Age=".concat(Math.floor(o));
1962
1961
  }
1963
1962
  if (a.domain) {
1964
- if (!et.test(a.domain))
1963
+ if (!Ye.test(a.domain))
1965
1964
  throw new TypeError("option domain is invalid");
1966
1965
  r += "; Domain=".concat(a.domain);
1967
1966
  }
1968
1967
  if (a.path) {
1969
- if (!et.test(a.path))
1968
+ if (!Ye.test(a.path))
1970
1969
  throw new TypeError("option path is invalid");
1971
1970
  r += "; Path=".concat(a.path);
1972
1971
  }
@@ -1995,13 +1994,13 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
1995
1994
  }
1996
1995
  }
1997
1996
  return r;
1998
- }, tt = {
1997
+ }, et = {
1999
1998
  create: function(e, t, i, a) {
2000
1999
  var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2001
2000
  path: "/",
2002
2001
  sameSite: "strict"
2003
2002
  };
2004
- i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = ha(e, encodeURIComponent(t), s);
2003
+ i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = ga(e, encodeURIComponent(t), s);
2005
2004
  },
2006
2005
  read: function(e) {
2007
2006
  for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
@@ -2015,20 +2014,20 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
2015
2014
  remove: function(e) {
2016
2015
  this.create(e, "", -1);
2017
2016
  }
2018
- }, ga = {
2017
+ }, ka = {
2019
2018
  name: "cookie",
2020
2019
  lookup: function(e) {
2021
2020
  var t;
2022
2021
  if (e.lookupCookie && typeof document != "undefined") {
2023
- var i = tt.read(e.lookupCookie);
2022
+ var i = et.read(e.lookupCookie);
2024
2023
  i && (t = i);
2025
2024
  }
2026
2025
  return t;
2027
2026
  },
2028
2027
  cacheUserLanguage: function(e, t) {
2029
- t.lookupCookie && typeof document != "undefined" && tt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2028
+ t.lookupCookie && typeof document != "undefined" && et.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2030
2029
  }
2031
- }, ka = {
2030
+ }, va = {
2032
2031
  name: "querystring",
2033
2032
  lookup: function(e) {
2034
2033
  var t;
@@ -2045,55 +2044,55 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
2045
2044
  }
2046
2045
  return t;
2047
2046
  }
2048
- }, J = null, nt = function() {
2049
- if (J !== null)
2050
- return J;
2047
+ }, q = null, tt = function() {
2048
+ if (q !== null)
2049
+ return q;
2051
2050
  try {
2052
- J = window !== "undefined" && window.localStorage !== null;
2051
+ q = window !== "undefined" && window.localStorage !== null;
2053
2052
  var e = "i18next.translate.boo";
2054
2053
  window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
2055
2054
  } catch {
2056
- J = !1;
2055
+ q = !1;
2057
2056
  }
2058
- return J;
2059
- }, va = {
2057
+ return q;
2058
+ }, Sa = {
2060
2059
  name: "localStorage",
2061
2060
  lookup: function(e) {
2062
2061
  var t;
2063
- if (e.lookupLocalStorage && nt()) {
2062
+ if (e.lookupLocalStorage && tt()) {
2064
2063
  var i = window.localStorage.getItem(e.lookupLocalStorage);
2065
2064
  i && (t = i);
2066
2065
  }
2067
2066
  return t;
2068
2067
  },
2069
2068
  cacheUserLanguage: function(e, t) {
2070
- t.lookupLocalStorage && nt() && window.localStorage.setItem(t.lookupLocalStorage, e);
2069
+ t.lookupLocalStorage && tt() && window.localStorage.setItem(t.lookupLocalStorage, e);
2071
2070
  }
2072
- }, q = null, it = function() {
2073
- if (q !== null)
2074
- return q;
2071
+ }, H = null, nt = function() {
2072
+ if (H !== null)
2073
+ return H;
2075
2074
  try {
2076
- q = window !== "undefined" && window.sessionStorage !== null;
2075
+ H = window !== "undefined" && window.sessionStorage !== null;
2077
2076
  var e = "i18next.translate.boo";
2078
2077
  window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
2079
2078
  } catch {
2080
- q = !1;
2079
+ H = !1;
2081
2080
  }
2082
- return q;
2083
- }, Sa = {
2081
+ return H;
2082
+ }, ya = {
2084
2083
  name: "sessionStorage",
2085
2084
  lookup: function(e) {
2086
2085
  var t;
2087
- if (e.lookupSessionStorage && it()) {
2086
+ if (e.lookupSessionStorage && nt()) {
2088
2087
  var i = window.sessionStorage.getItem(e.lookupSessionStorage);
2089
2088
  i && (t = i);
2090
2089
  }
2091
2090
  return t;
2092
2091
  },
2093
2092
  cacheUserLanguage: function(e, t) {
2094
- t.lookupSessionStorage && it() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2093
+ t.lookupSessionStorage && nt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2095
2094
  }
2096
- }, ya = {
2095
+ }, Na = {
2097
2096
  name: "navigator",
2098
2097
  lookup: function(e) {
2099
2098
  var t = [];
@@ -2105,13 +2104,13 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
2105
2104
  }
2106
2105
  return t.length > 0 ? t : void 0;
2107
2106
  }
2108
- }, Na = {
2107
+ }, ba = {
2109
2108
  name: "htmlTag",
2110
2109
  lookup: function(e) {
2111
2110
  var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
2112
2111
  return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
2113
2112
  }
2114
- }, ba = {
2113
+ }, Fa = {
2115
2114
  name: "path",
2116
2115
  lookup: function(e) {
2117
2116
  var t;
@@ -2127,7 +2126,7 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
2127
2126
  }
2128
2127
  return t;
2129
2128
  }
2130
- }, Fa = {
2129
+ }, wa = {
2131
2130
  name: "subdomain",
2132
2131
  lookup: function(e) {
2133
2132
  var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
@@ -2135,7 +2134,7 @@ var et = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ha = function(e, t, i) {
2135
2134
  return i[t];
2136
2135
  }
2137
2136
  };
2138
- function wa() {
2137
+ function Ca() {
2139
2138
  return {
2140
2139
  order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
2141
2140
  lookupQuerystring: "lng",
@@ -2155,17 +2154,17 @@ function wa() {
2155
2154
  var Pt = /* @__PURE__ */ function() {
2156
2155
  function n(e) {
2157
2156
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2158
- la(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
2157
+ da(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
2159
2158
  }
2160
- return ca(n, [{
2159
+ return ma(n, [{
2161
2160
  key: "init",
2162
2161
  value: function(t) {
2163
2162
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2164
2163
  this.services = t || {
2165
2164
  languageUtils: {}
2166
- }, this.options = pa(i, this.options || {}, wa()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
2165
+ }, this.options = ha(i, this.options || {}, Ca()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
2167
2166
  return s.replace("-", "_");
2168
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(ga), this.addDetector(ka), this.addDetector(va), this.addDetector(Sa), this.addDetector(ya), this.addDetector(Na), this.addDetector(ba), this.addDetector(Fa);
2167
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(ka), this.addDetector(va), this.addDetector(Sa), this.addDetector(ya), this.addDetector(Na), this.addDetector(ba), this.addDetector(Fa), this.addDetector(wa);
2169
2168
  }
2170
2169
  }, {
2171
2170
  key: "addDetector",
@@ -2198,7 +2197,7 @@ var Pt = /* @__PURE__ */ function() {
2198
2197
  }]), n;
2199
2198
  }();
2200
2199
  Pt.type = "languageDetector";
2201
- function Ca(n, e) {
2200
+ function Ea(n, e) {
2202
2201
  n.use(e).use(Pt).init({
2203
2202
  resources: {},
2204
2203
  fallbackLng: "en",
@@ -2238,7 +2237,7 @@ function Ca(n, e) {
2238
2237
  }
2239
2238
  });
2240
2239
  }
2241
- const Ea = {
2240
+ const xa = {
2242
2241
  type: "logger",
2243
2242
  log(n) {
2244
2243
  this.output("log", n);
@@ -2260,7 +2259,7 @@ class le {
2260
2259
  }
2261
2260
  init(e) {
2262
2261
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2263
- this.prefix = t.prefix || "i18next:", this.logger = e || Ea, this.options = t, this.debug = t.debug;
2262
+ this.prefix = t.prefix || "i18next:", this.logger = e || xa, this.options = t, this.debug = t.debug;
2264
2263
  }
2265
2264
  log() {
2266
2265
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
@@ -2295,7 +2294,7 @@ class le {
2295
2294
  return e = e || this.options, e.prefix = e.prefix || this.prefix, new le(this.logger, e);
2296
2295
  }
2297
2296
  }
2298
- var $ = new le();
2297
+ var j = new le();
2299
2298
  class ge {
2300
2299
  constructor() {
2301
2300
  this.observers = {};
@@ -2324,22 +2323,22 @@ class ge {
2324
2323
  });
2325
2324
  }
2326
2325
  }
2327
- function H() {
2326
+ function Z() {
2328
2327
  let n, e;
2329
2328
  const t = new Promise((i, a) => {
2330
2329
  n = i, e = a;
2331
2330
  });
2332
2331
  return t.resolve = n, t.reject = e, t;
2333
2332
  }
2334
- function at(n) {
2333
+ function it(n) {
2335
2334
  return n == null ? "" : "" + n;
2336
2335
  }
2337
- function xa(n, e, t) {
2336
+ function Oa(n, e, t) {
2338
2337
  n.forEach((i) => {
2339
2338
  e[i] && (t[i] = e[i]);
2340
2339
  });
2341
2340
  }
2342
- function Ie(n, e, t) {
2341
+ function De(n, e, t) {
2343
2342
  function i(r) {
2344
2343
  return r && r.indexOf("###") > -1 ? r.replace(/###/g, ".") : r;
2345
2344
  }
@@ -2358,29 +2357,29 @@ function Ie(n, e, t) {
2358
2357
  k: i(s.shift())
2359
2358
  };
2360
2359
  }
2361
- function st(n, e, t) {
2360
+ function at(n, e, t) {
2362
2361
  const {
2363
2362
  obj: i,
2364
2363
  k: a
2365
- } = Ie(n, e, Object);
2364
+ } = De(n, e, Object);
2366
2365
  i[a] = t;
2367
2366
  }
2368
- function Oa(n, e, t, i) {
2367
+ function Ra(n, e, t, i) {
2369
2368
  const {
2370
2369
  obj: a,
2371
2370
  k: s
2372
- } = Ie(n, e, Object);
2371
+ } = De(n, e, Object);
2373
2372
  a[s] = a[s] || [], i && (a[s] = a[s].concat(t)), i || a[s].push(t);
2374
2373
  }
2375
2374
  function de(n, e) {
2376
2375
  const {
2377
2376
  obj: t,
2378
2377
  k: i
2379
- } = Ie(n, e);
2378
+ } = De(n, e);
2380
2379
  if (t)
2381
2380
  return t[i];
2382
2381
  }
2383
- function Ra(n, e, t) {
2382
+ function Ta(n, e, t) {
2384
2383
  const i = de(n, t);
2385
2384
  return i !== void 0 ? i : de(e, t);
2386
2385
  }
@@ -2392,7 +2391,7 @@ function Vt(n, e, t) {
2392
2391
  function B(n) {
2393
2392
  return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2394
2393
  }
2395
- var Ta = {
2394
+ var Ia = {
2396
2395
  "&": "&amp;",
2397
2396
  "<": "&lt;",
2398
2397
  ">": "&gt;",
@@ -2401,12 +2400,12 @@ var Ta = {
2401
2400
  "/": "&#x2F;"
2402
2401
  };
2403
2402
  function Da(n) {
2404
- return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => Ta[e]) : n;
2403
+ return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => Ia[e]) : n;
2405
2404
  }
2406
- const Ia = [" ", ",", "?", "!", ";"];
2407
- function La(n, e, t) {
2405
+ const La = [" ", ",", "?", "!", ";"];
2406
+ function Aa(n, e, t) {
2408
2407
  e = e || "", t = t || "";
2409
- const i = Ia.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2408
+ const i = La.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2410
2409
  if (i.length === 0)
2411
2410
  return !0;
2412
2411
  const a = new RegExp(`(${i.map((r) => r === "?" ? "\\?" : r).join("|")})`);
@@ -2452,7 +2451,7 @@ function ue(n, e) {
2452
2451
  function ce(n) {
2453
2452
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2454
2453
  }
2455
- class rt extends ge {
2454
+ class st extends ge {
2456
2455
  constructor(e) {
2457
2456
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2458
2457
  ns: ["translation"],
@@ -2481,7 +2480,7 @@ class rt extends ge {
2481
2480
  };
2482
2481
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2483
2482
  let o = [e, t];
2484
- i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), st(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2483
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), at(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2485
2484
  }
2486
2485
  addResources(e, t, i) {
2487
2486
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2502,7 +2501,7 @@ class rt extends ge {
2502
2501
  a ? Vt(l, i, s) : l = {
2503
2502
  ...l,
2504
2503
  ...i
2505
- }, st(this.data, o, l), r.silent || this.emit("added", e, t, i);
2504
+ }, at(this.data, o, l), r.silent || this.emit("added", e, t, i);
2506
2505
  }
2507
2506
  removeResourceBundle(e, t) {
2508
2507
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2537,11 +2536,11 @@ var _t = {
2537
2536
  }), e;
2538
2537
  }
2539
2538
  };
2540
- const ot = {};
2539
+ const rt = {};
2541
2540
  class me extends ge {
2542
2541
  constructor(e) {
2543
2542
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2544
- super(), xa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = $.create("translator");
2543
+ super(), Oa(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2545
2544
  }
2546
2545
  changeLanguage(e) {
2547
2546
  e && (this.language = e);
@@ -2560,7 +2559,7 @@ class me extends ge {
2560
2559
  i === void 0 && (i = ":");
2561
2560
  const a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
2562
2561
  let s = t.ns || this.options.defaultNS || [];
2563
- const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !La(e, i, a);
2562
+ const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Aa(e, i, a);
2564
2563
  if (r && !o) {
2565
2564
  const l = e.match(this.interpolator.nestingRegexp);
2566
2565
  if (l && l.length > 0)
@@ -2620,28 +2619,28 @@ class me extends ge {
2620
2619
  return a ? (f.res = w, f.usedParams = this.getUsedParamsDetails(t), f) : w;
2621
2620
  }
2622
2621
  if (s) {
2623
- const w = k === "[object Array]", I = w ? [] : {}, L = w ? y : S;
2622
+ const w = k === "[object Array]", D = w ? [] : {}, L = w ? y : S;
2624
2623
  for (const A in c)
2625
2624
  if (Object.prototype.hasOwnProperty.call(c, A)) {
2626
2625
  const m = `${L}${s}${A}`;
2627
- I[A] = this.translate(m, {
2626
+ D[A] = this.translate(m, {
2628
2627
  ...t,
2629
2628
  joinArrays: !1,
2630
2629
  ns: o
2631
- }), I[A] === m && (I[A] = c[A]);
2630
+ }), D[A] === m && (D[A] = c[A]);
2632
2631
  }
2633
- c = I;
2632
+ c = D;
2634
2633
  }
2635
2634
  } else if (F && typeof O == "string" && k === "[object Array]")
2636
2635
  c = c.join(O), c && (c = this.extendTranslation(c, e, t, i));
2637
2636
  else {
2638
- let w = !1, I = !1;
2637
+ let w = !1, D = !1;
2639
2638
  const L = t.count !== void 0 && typeof t.count != "string", A = me.hasDefaultValue(t), m = L ? this.pluralResolver.getSuffix(u, t.count, t) : "", p = t.ordinal && L ? this.pluralResolver.getSuffix(u, t.count, {
2640
2639
  ordinal: !1
2641
2640
  }) : "", h = t[`defaultValue${m}`] || t[`defaultValue${p}`] || t.defaultValue;
2642
- !this.isValidLookup(c) && A && (w = !0, c = h), this.isValidLookup(c) || (I = !0, c = r);
2643
- const b = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && I ? void 0 : c, C = A && h !== c && this.options.updateMissing;
2644
- if (I || w || C) {
2641
+ !this.isValidLookup(c) && A && (w = !0, c = h), this.isValidLookup(c) || (D = !0, c = r);
2642
+ const b = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && D ? void 0 : c, C = A && h !== c && this.options.updateMissing;
2643
+ if (D || w || C) {
2645
2644
  if (this.logger.log(C ? "updateKey" : "missingKey", u, l, r, C ? h : c), s) {
2646
2645
  const x = this.resolve(r, {
2647
2646
  ...t,
@@ -2666,7 +2665,7 @@ class me extends ge {
2666
2665
  });
2667
2666
  }) : P(v, r, h));
2668
2667
  }
2669
- c = this.extendTranslation(c, e, t, f, i), I && c === r && this.options.appendNamespaceToMissingKey && (c = `${l}:${r}`), (I || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2668
+ c = this.extendTranslation(c, e, t, f, i), D && c === r && this.options.appendNamespaceToMissingKey && (c = `${l}:${r}`), (D || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}:${r}` : r, w ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
2670
2669
  }
2671
2670
  return a ? (f.res = c, f.usedParams = this.getUsedParamsDetails(t), f) : c;
2672
2671
  }
@@ -2727,7 +2726,7 @@ class me extends ge {
2727
2726
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
2728
2727
  const c = t.count !== void 0 && typeof t.count != "string", S = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), y = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", k = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2729
2728
  f.forEach((N) => {
2730
- this.isValidLookup(i) || (o = N, !ot[`${k[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ot[`${k[0]}-${N}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((O) => {
2729
+ this.isValidLookup(i) || (o = N, !rt[`${k[0]}-${N}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (rt[`${k[0]}-${N}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((O) => {
2731
2730
  if (this.isValidLookup(i))
2732
2731
  return;
2733
2732
  r = O;
@@ -2737,15 +2736,15 @@ class me extends ge {
2737
2736
  else {
2738
2737
  let w;
2739
2738
  c && (w = this.pluralResolver.getSuffix(O, t.count, t));
2740
- const I = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2741
- if (c && (F.push(d + w), t.ordinal && w.indexOf(L) === 0 && F.push(d + w.replace(L, this.options.pluralSeparator)), S && F.push(d + I)), y) {
2739
+ const D = `${this.options.pluralSeparator}zero`, L = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
2740
+ if (c && (F.push(d + w), t.ordinal && w.indexOf(L) === 0 && F.push(d + w.replace(L, this.options.pluralSeparator)), S && F.push(d + D)), y) {
2742
2741
  const A = `${d}${this.options.contextSeparator}${t.context}`;
2743
- F.push(A), c && (F.push(A + w), t.ordinal && w.indexOf(L) === 0 && F.push(A + w.replace(L, this.options.pluralSeparator)), S && F.push(A + I));
2742
+ F.push(A), c && (F.push(A + w), t.ordinal && w.indexOf(L) === 0 && F.push(A + w.replace(L, this.options.pluralSeparator)), S && F.push(A + D));
2744
2743
  }
2745
2744
  }
2746
- let D;
2747
- for (; D = F.pop(); )
2748
- this.isValidLookup(i) || (s = D, i = this.getResource(O, N, D, t));
2745
+ let I;
2746
+ for (; I = F.pop(); )
2747
+ this.isValidLookup(i) || (s = I, i = this.getResource(O, N, I, t));
2749
2748
  }));
2750
2749
  });
2751
2750
  }), {
@@ -2790,9 +2789,9 @@ class me extends ge {
2790
2789
  function Ne(n) {
2791
2790
  return n.charAt(0).toUpperCase() + n.slice(1);
2792
2791
  }
2793
- class lt {
2792
+ class ot {
2794
2793
  constructor(e) {
2795
- this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = $.create("languageUtils");
2794
+ this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
2796
2795
  }
2797
2796
  getScriptPartFromCode(e) {
2798
2797
  if (e = ce(e), !e || e.indexOf("-") < 0)
@@ -2859,7 +2858,7 @@ class lt {
2859
2858
  }), a;
2860
2859
  }
2861
2860
  }
2862
- let Aa = [{
2861
+ let Pa = [{
2863
2862
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
2864
2863
  nr: [1, 2],
2865
2864
  fc: 1
@@ -2951,7 +2950,7 @@ let Aa = [{
2951
2950
  lngs: ["he", "iw"],
2952
2951
  nr: [1, 2, 20, 21],
2953
2952
  fc: 22
2954
- }], Pa = {
2953
+ }], Va = {
2955
2954
  1: function(n) {
2956
2955
  return +(n > 1);
2957
2956
  },
@@ -3019,7 +3018,7 @@ let Aa = [{
3019
3018
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
3020
3019
  }
3021
3020
  };
3022
- const Va = ["v1", "v2", "v3"], _a = ["v4"], dt = {
3021
+ const _a = ["v1", "v2", "v3"], Ua = ["v4"], lt = {
3023
3022
  zero: 0,
3024
3023
  one: 1,
3025
3024
  two: 2,
@@ -3027,21 +3026,21 @@ const Va = ["v1", "v2", "v3"], _a = ["v4"], dt = {
3027
3026
  many: 4,
3028
3027
  other: 5
3029
3028
  };
3030
- function Ua() {
3029
+ function Ma() {
3031
3030
  const n = {};
3032
- return Aa.forEach((e) => {
3031
+ return Pa.forEach((e) => {
3033
3032
  e.lngs.forEach((t) => {
3034
3033
  n[t] = {
3035
3034
  numbers: e.nr,
3036
- plurals: Pa[e.fc]
3035
+ plurals: Va[e.fc]
3037
3036
  };
3038
3037
  });
3039
3038
  }), n;
3040
3039
  }
3041
- class Ma {
3040
+ class $a {
3042
3041
  constructor(e) {
3043
3042
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3044
- this.languageUtils = e, this.options = t, this.logger = $.create("pluralResolver"), (!this.options.compatibilityJSON || _a.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ua();
3043
+ this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Ua.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ma();
3045
3044
  }
3046
3045
  addRule(e, t) {
3047
3046
  this.rules[e] = t;
@@ -3070,7 +3069,7 @@ class Ma {
3070
3069
  getSuffixes(e) {
3071
3070
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3072
3071
  const i = this.getRule(e, t);
3073
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => dt[a] - dt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3072
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => lt[a] - lt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3074
3073
  }
3075
3074
  getSuffix(e, t) {
3076
3075
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -3085,17 +3084,17 @@ class Ma {
3085
3084
  return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? s() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
3086
3085
  }
3087
3086
  shouldUseIntlApi() {
3088
- return !Va.includes(this.options.compatibilityJSON);
3087
+ return !_a.includes(this.options.compatibilityJSON);
3089
3088
  }
3090
3089
  }
3091
- function ut(n, e, t) {
3092
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Ra(n, e, t);
3090
+ function dt(n, e, t) {
3091
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Ta(n, e, t);
3093
3092
  return !s && a && typeof t == "string" && (s = ue(n, t, i), s === void 0 && (s = ue(e, t, i))), s;
3094
3093
  }
3095
- class $a {
3094
+ class ja {
3096
3095
  constructor() {
3097
3096
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3098
- this.logger = $.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
3097
+ this.logger = j.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
3099
3098
  }
3100
3099
  init() {
3101
3100
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -3124,7 +3123,7 @@ class $a {
3124
3123
  }
3125
3124
  const d = (y) => {
3126
3125
  if (y.indexOf(this.formatSeparator) < 0) {
3127
- const F = ut(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3126
+ const F = dt(t, l, y, this.options.keySeparator, this.options.ignoreJSONStructure);
3128
3127
  return this.alwaysFormat ? this.format(F, void 0, i, {
3129
3128
  ...a,
3130
3129
  ...t,
@@ -3132,7 +3131,7 @@ class $a {
3132
3131
  }) : F;
3133
3132
  }
3134
3133
  const k = y.split(this.formatSeparator), N = k.shift().trim(), O = k.join(this.formatSeparator).trim();
3135
- return this.format(ut(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3134
+ return this.format(dt(t, l, N, this.options.keySeparator, this.options.ignoreJSONStructure), O, i, {
3136
3135
  ...a,
3137
3136
  ...t,
3138
3137
  interpolationkey: N
@@ -3161,7 +3160,7 @@ class $a {
3161
3160
  } else
3162
3161
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
3163
3162
  else
3164
- typeof r != "string" && !this.useRawValueToEscape && (r = at(r));
3163
+ typeof r != "string" && !this.useRawValueToEscape && (r = it(r));
3165
3164
  const N = y.safeValue(r);
3166
3165
  if (e = e.replace(s[0], N), c ? (y.regex.lastIndex += r.length, y.regex.lastIndex -= s[0].length) : y.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3167
3166
  break;
@@ -3201,7 +3200,7 @@ class $a {
3201
3200
  }
3202
3201
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
3203
3202
  return s;
3204
- typeof s != "string" && (s = at(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), u && (s = l.reduce((d, f) => this.format(d, f, i.lng, {
3203
+ typeof s != "string" && (s = it(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), u && (s = l.reduce((d, f) => this.format(d, f, i.lng, {
3205
3204
  ...i,
3206
3205
  interpolationkey: a[1].trim()
3207
3206
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3209,7 +3208,7 @@ class $a {
3209
3208
  return e;
3210
3209
  }
3211
3210
  }
3212
- function ja(n) {
3211
+ function za(n) {
3213
3212
  let e = n.toLowerCase().trim();
3214
3213
  const t = {};
3215
3214
  if (n.indexOf("(") > -1) {
@@ -3236,10 +3235,10 @@ function Q(n) {
3236
3235
  return o || (o = n(ce(a), s), e[r] = o), o(i);
3237
3236
  };
3238
3237
  }
3239
- class za {
3238
+ class Ba {
3240
3239
  constructor() {
3241
3240
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3242
- this.logger = $.create("formatter"), this.options = e, this.formats = {
3241
+ this.logger = j.create("formatter"), this.options = e, this.formats = {
3243
3242
  number: Q((t, i) => {
3244
3243
  const a = new Intl.NumberFormat(t, {
3245
3244
  ...i
@@ -3291,7 +3290,7 @@ class za {
3291
3290
  const {
3292
3291
  formatName: u,
3293
3292
  formatOptions: d
3294
- } = ja(l);
3293
+ } = za(l);
3295
3294
  if (this.formats[u]) {
3296
3295
  let f = o;
3297
3296
  try {
@@ -3311,13 +3310,13 @@ class za {
3311
3310
  }, e);
3312
3311
  }
3313
3312
  }
3314
- function Ba(n, e) {
3313
+ function Qa(n, e) {
3315
3314
  n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
3316
3315
  }
3317
- class Qa extends ge {
3316
+ class Ga extends ge {
3318
3317
  constructor(e, t, i) {
3319
3318
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3320
- super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = $.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
3319
+ super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = j.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
3321
3320
  }
3322
3321
  queueLoad(e, t, i, a) {
3323
3322
  const s = {}, r = {}, o = {}, l = {};
@@ -3345,7 +3344,7 @@ class Qa extends ge {
3345
3344
  t && this.emit("failedLoading", s, r, t), i && this.store.addResourceBundle(s, r, i), this.state[e] = t ? -1 : 2;
3346
3345
  const o = {};
3347
3346
  this.queue.forEach((l) => {
3348
- Oa(l.loaded, [s], r), Ba(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
3347
+ Ra(l.loaded, [s], r), Qa(l, e), t && l.errors.push(t), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((u) => {
3349
3348
  o[u] || (o[u] = {});
3350
3349
  const d = l.loaded[u];
3351
3350
  d.length && d.forEach((f) => {
@@ -3448,7 +3447,7 @@ class Qa extends ge {
3448
3447
  }
3449
3448
  }
3450
3449
  }
3451
- function ct() {
3450
+ function ut() {
3452
3451
  return {
3453
3452
  debug: !1,
3454
3453
  initImmediate: !0,
@@ -3507,12 +3506,12 @@ function ct() {
3507
3506
  }
3508
3507
  };
3509
3508
  }
3510
- function mt(n) {
3509
+ function ct(n) {
3511
3510
  return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
3512
3511
  }
3513
3512
  function ae() {
3514
3513
  }
3515
- function Ga(n) {
3514
+ function Ka(n) {
3516
3515
  Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
3517
3516
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
3518
3517
  });
@@ -3520,9 +3519,9 @@ function Ga(n) {
3520
3519
  class ee extends ge {
3521
3520
  constructor() {
3522
3521
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3523
- if (super(), this.options = mt(e), this.services = {}, this.logger = $, this.modules = {
3522
+ if (super(), this.options = ct(e), this.services = {}, this.logger = j, this.modules = {
3524
3523
  external: []
3525
- }, Ga(this), t && !this.isInitialized && !e.isClone) {
3524
+ }, Ka(this), t && !this.isInitialized && !e.isClone) {
3526
3525
  if (!this.options.initImmediate)
3527
3526
  return this.init(e, t), this;
3528
3527
  setTimeout(() => {
@@ -3534,11 +3533,11 @@ class ee extends ge {
3534
3533
  var e = this;
3535
3534
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3536
3535
  typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
3537
- const a = ct();
3536
+ const a = ut();
3538
3537
  this.options = {
3539
3538
  ...a,
3540
3539
  ...this.options,
3541
- ...mt(t)
3540
+ ...ct(t)
3542
3541
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3543
3542
  ...a.interpolation,
3544
3543
  ...this.options.interpolation
@@ -3547,19 +3546,19 @@ class ee extends ge {
3547
3546
  return d ? typeof d == "function" ? new d() : d : null;
3548
3547
  }
3549
3548
  if (!this.options.isClone) {
3550
- this.modules.logger ? $.init(s(this.modules.logger), this.options) : $.init(null, this.options);
3549
+ this.modules.logger ? j.init(s(this.modules.logger), this.options) : j.init(null, this.options);
3551
3550
  let d;
3552
- this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = za);
3553
- const f = new lt(this.options);
3554
- this.store = new rt(this.options.resources, this.options);
3551
+ this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = Ba);
3552
+ const f = new ot(this.options);
3553
+ this.store = new st(this.options.resources, this.options);
3555
3554
  const c = this.services;
3556
- c.logger = $, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new Ma(f, {
3555
+ c.logger = j, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new $a(f, {
3557
3556
  prepend: this.options.pluralSeparator,
3558
3557
  compatibilityJSON: this.options.compatibilityJSON,
3559
3558
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3560
- }), d && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new $a(this.options), c.utils = {
3559
+ }), d && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new ja(this.options), c.utils = {
3561
3560
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3562
- }, c.backendConnector = new Qa(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(S) {
3561
+ }, c.backendConnector = new Ga(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(S) {
3563
3562
  for (var y = arguments.length, k = new Array(y > 1 ? y - 1 : 0), N = 1; N < y; N++)
3564
3563
  k[N - 1] = arguments[N];
3565
3564
  e.emit(S, ...k);
@@ -3584,7 +3583,7 @@ class ee extends ge {
3584
3583
  return e.store[d](...arguments), e;
3585
3584
  };
3586
3585
  });
3587
- const l = H(), u = () => {
3586
+ const l = Z(), u = () => {
3588
3587
  const d = (f, c) => {
3589
3588
  this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), l.resolve(c), i(f, c);
3590
3589
  };
@@ -3614,7 +3613,7 @@ class ee extends ge {
3614
3613
  i(null);
3615
3614
  }
3616
3615
  reloadResources(e, t, i) {
3617
- const a = H();
3616
+ const a = Z();
3618
3617
  return e || (e = this.languages), t || (t = this.options.ns), i || (i = ae), this.services.backendConnector.reload(e, t, (s) => {
3619
3618
  a.resolve(), i(s);
3620
3619
  }), a;
@@ -3639,7 +3638,7 @@ class ee extends ge {
3639
3638
  changeLanguage(e, t) {
3640
3639
  var i = this;
3641
3640
  this.isLanguageChangingTo = e;
3642
- const a = H();
3641
+ const a = Z();
3643
3642
  this.emit("languageChanging", e);
3644
3643
  const s = (l) => {
3645
3644
  this.language = l, this.languages = this.services.languageUtils.toResolveHierarchy(l), this.resolvedLanguage = void 0, this.setResolvedLanguage(l);
@@ -3707,7 +3706,7 @@ class ee extends ge {
3707
3706
  return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3708
3707
  }
3709
3708
  loadNamespaces(e, t) {
3710
- const i = H();
3709
+ const i = Z();
3711
3710
  return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3712
3711
  this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3713
3712
  }), this.loadResources((a) => {
@@ -3715,7 +3714,7 @@ class ee extends ge {
3715
3714
  }), i) : (t && t(), Promise.resolve());
3716
3715
  }
3717
3716
  loadLanguages(e, t) {
3718
- const i = H();
3717
+ const i = Z();
3719
3718
  typeof e == "string" && (e = [e]);
3720
3719
  const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3721
3720
  return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
@@ -3725,7 +3724,7 @@ class ee extends ge {
3725
3724
  dir(e) {
3726
3725
  if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3727
3726
  return "rtl";
3728
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new lt(ct());
3727
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new ot(ut());
3729
3728
  return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3730
3729
  }
3731
3730
  static createInstance() {
@@ -3747,7 +3746,7 @@ class ee extends ge {
3747
3746
  ...this.services
3748
3747
  }, s.services.utils = {
3749
3748
  hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3750
- }, i && (s.store = new rt(this.store.data, a), s.services.resourceStore = s.store), s.translator = new me(s.services, a), s.translator.on("*", function(o) {
3749
+ }, i && (s.store = new st(this.store.data, a), s.services.resourceStore = s.store), s.translator = new me(s.services, a), s.translator.on("*", function(o) {
3751
3750
  for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), d = 1; d < l; d++)
3752
3751
  u[d - 1] = arguments[d];
3753
3752
  s.emit(o, ...u);
@@ -3781,7 +3780,7 @@ U.setDefaultNamespace;
3781
3780
  U.hasLoadedNamespace;
3782
3781
  U.loadNamespaces;
3783
3782
  U.loadLanguages;
3784
- const Ka = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Wa = {
3783
+ const Wa = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Ja = {
3785
3784
  "&amp;": "&",
3786
3785
  "&#38;": "&",
3787
3786
  "&lt;": "<",
@@ -3802,8 +3801,8 @@ const Ka = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3802
3801
  "&#8230;": "…",
3803
3802
  "&#x2F;": "/",
3804
3803
  "&#47;": "/"
3805
- }, Ja = (n) => Wa[n], qa = (n) => n.replace(Ka, Ja);
3806
- let ft = {
3804
+ }, qa = (n) => Ja[n], Ha = (n) => n.replace(Wa, qa);
3805
+ let mt = {
3807
3806
  bindI18n: "languageChanged",
3808
3807
  bindI18nStore: "",
3809
3808
  transEmptyNodeValue: "",
@@ -3811,73 +3810,73 @@ let ft = {
3811
3810
  transWrapTextNodes: "",
3812
3811
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
3813
3812
  useSuspense: !0,
3814
- unescape: qa
3813
+ unescape: Ha
3815
3814
  };
3816
- function Ha() {
3815
+ function Za() {
3817
3816
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3818
- ft = {
3819
- ...ft,
3817
+ mt = {
3818
+ ...mt,
3820
3819
  ...n
3821
3820
  };
3822
3821
  }
3823
- const Za = {
3822
+ const Xa = {
3824
3823
  type: "3rdParty",
3825
3824
  init(n) {
3826
- Ha(n.options.react);
3825
+ Za(n.options.react);
3827
3826
  }
3828
3827
  };
3829
- Ca(U, Za);
3830
- const Bs = (n) => oa(U, n);
3828
+ Ea(U, Xa);
3829
+ const Qs = (n) => la(U, n);
3831
3830
  let Le = /* @__PURE__ */ new Map();
3832
- const we = pt(Le), Qs = ({ children: n, stores: e }) => {
3831
+ const we = ft(Le), Gs = ({ children: n, stores: e }) => {
3833
3832
  const t = Ce(we), i = Kt(() => {
3834
3833
  const a = /* @__PURE__ */ new Map();
3835
3834
  return e.forEach((s) => a.set(s.class, s.value)), Le = new Map([...t, ...a]);
3836
3835
  }, []);
3837
3836
  return /* @__PURE__ */ Wt(we.Provider, { value: i, children: n });
3838
3837
  };
3839
- function Gs(n) {
3838
+ function Ks(n) {
3840
3839
  return Ce(we).get(n);
3841
3840
  }
3842
- function Ks(n) {
3841
+ function Ws(n) {
3843
3842
  return Le.get(n);
3844
3843
  }
3845
3844
  var Ut = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(Ut || {}), Mt = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(Mt || {}), $t = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))($t || {});
3846
- const Xa = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AddCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ya = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, es = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ts = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ManageCollectionProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ManageCollectionProductInInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "manageCollectionProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, is = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, as = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, rs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchMinimalEvents" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, os = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ls = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ds = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, us = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ms = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "deleteAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInputAccount" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ps = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "getAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "section" } }, { kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "updateCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ks = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AppendProductsToSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "RelateToProductsSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "appendProductsSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateSnackVideoBatch" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteRelationshipWithSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipKeys" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteRelationshipSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }] } }] } }] }, ys = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindManySnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindManySnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findManySnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, bs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetSnackVideoRelationships" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getRelationshipSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "RelationshipSnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "sourceEntity" } }, { kind: "Field", name: { kind: "Name", value: "attributeId" } }] } }] } }] } }] } }] }, ws = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindByProductSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindByProductSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findByProductSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3845
+ const Ya = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AddCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, es = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ts = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, is = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ManageCollectionProduct" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ManageCollectionProductInInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "manageCollectionProduct" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, as = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchCollections" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CollectionSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "description" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }, { kind: "Field", name: { kind: "Name", value: "products" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "title" } }, { kind: "Field", name: { kind: "Name", value: "link" } }, { kind: "Field", name: { kind: "Name", value: "pictures" } }, { kind: "Field", name: { kind: "Name", value: "price" } }, { kind: "Field", name: { kind: "Name", value: "salesprice" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "createdat" } }] } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "UpdateCollection" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "UpdateCollectionInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCollection" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, rs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindMinimalEvent" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }, { kind: "Field", name: { kind: "Name", value: "thumbnails" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, os = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchMinimalEvents" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchEventInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchEvent" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "EventArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailsPath" } }, { kind: "Field", name: { kind: "Name", value: "recordVideoPath" } }, { kind: "Field", name: { kind: "Name", value: "createdAt" } }, { kind: "Field", name: { kind: "Name", value: "status" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ls = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ds = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, us = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "DeleteChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ms = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ps = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "deleteAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInputAccount" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, hs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "getAllCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerSuccessArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "section" } }, { kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "updateCustomization" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CustomPlayerInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "updateCustomPlayer" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ks = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "AppendProductsToSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "RelateToProductsSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "appendProductsSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "CreateSnackVideoBatch" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "CreateSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "createSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ys = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteRelationshipWithSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipKeys" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteRelationshipSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "Error" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "DeleteSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "DeleteSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "deleteSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ActionSnackVideoSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, bs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindManySnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindManySnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findManySnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "QueryInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ws = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetSnackVideoRelationships" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoRelationshipInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getRelationshipSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "RelationshipSnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "sourceEntity" } }, { kind: "Field", name: { kind: "Name", value: "attributeId" } }] } }] } }] } }] } }] }, Cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "SearchSnackVideos" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "SearchInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "searchSnackVideos" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoCreatedArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "snackVideos" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "uploadProgress" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "eventId" } }, { kind: "Field", name: { kind: "Name", value: "eventName" } }, { kind: "Field", name: { kind: "Name", value: "created" } }] } }, { kind: "Field", name: { kind: "Name", value: "cursor" } }, { kind: "Field", name: { kind: "Name", value: "totalItems" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Es = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "FindByProductSnackVideo" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "FindByProductSnackVideoInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "findByProductSnackVideo" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "SnackVideoArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "name" } }, { kind: "Field", name: { kind: "Name", value: "url" } }, { kind: "Field", name: { kind: "Name", value: "thumbnailUrl" } }, { kind: "Field", name: { kind: "Name", value: "duration" } }, { kind: "Field", name: { kind: "Name", value: "transmitionType" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3847
3846
  __proto__: null,
3848
- AddCollectionDocument: Xa,
3849
- AppendProductsToSnackVideoDocument: ks,
3850
- BlockUserDocument: os,
3851
- ChangeAccountUsernameDocument: ls,
3852
- CreateSnackVideoBatchDocument: vs,
3853
- DeleteAllCustomizationDocument: fs,
3854
- DeleteChatMessageDocument: ds,
3855
- DeleteCollectionDocument: Ya,
3856
- DeleteRelationshipWithSnackVideoDocument: Ss,
3857
- DeleteSnackVideoDocument: ys,
3847
+ AddCollectionDocument: Ya,
3848
+ AppendProductsToSnackVideoDocument: vs,
3849
+ BlockUserDocument: ls,
3850
+ ChangeAccountUsernameDocument: ds,
3851
+ CreateSnackVideoBatchDocument: Ss,
3852
+ DeleteAllCustomizationDocument: ps,
3853
+ DeleteChatMessageDocument: us,
3854
+ DeleteCollectionDocument: es,
3855
+ DeleteRelationshipWithSnackVideoDocument: ys,
3856
+ DeleteSnackVideoDocument: Ns,
3858
3857
  EventStatus: Ut,
3859
- FindByProductSnackVideoDocument: Cs,
3860
- FindCollectionDocument: es,
3861
- FindManySnackVideosDocument: Ns,
3862
- FindMinimalEventDocument: ss,
3863
- GetAllChatMessageDocument: us,
3864
- GetAllCollectionsDocument: ts,
3865
- GetAllCustomizationDocument: ps,
3866
- GetAllSnackVideosDocument: bs,
3867
- GetChatRoomTokenDocument: cs,
3868
- GetSnackVideoRelationshipsDocument: Fs,
3869
- GetTimeLineDocument: gs,
3870
- ManageCollectionProductDocument: ns,
3858
+ FindByProductSnackVideoDocument: Es,
3859
+ FindCollectionDocument: ts,
3860
+ FindManySnackVideosDocument: bs,
3861
+ FindMinimalEventDocument: rs,
3862
+ GetAllChatMessageDocument: cs,
3863
+ GetAllCollectionsDocument: ns,
3864
+ GetAllCustomizationDocument: hs,
3865
+ GetAllSnackVideosDocument: Fs,
3866
+ GetChatRoomTokenDocument: ms,
3867
+ GetSnackVideoRelationshipsDocument: ws,
3868
+ GetTimeLineDocument: ks,
3869
+ ManageCollectionProductDocument: is,
3871
3870
  Methods: Mt,
3872
- PinChatMessageDocument: ms,
3873
- SearchCollectionsDocument: is,
3874
- SearchMinimalEventsDocument: rs,
3875
- SearchSnackVideosDocument: ws,
3871
+ PinChatMessageDocument: fs,
3872
+ SearchCollectionsDocument: as,
3873
+ SearchMinimalEventsDocument: os,
3874
+ SearchSnackVideosDocument: Cs,
3876
3875
  Status: $t,
3877
- UpdateCollectionDocument: as,
3878
- UpdateCustomizationDocument: hs
3876
+ UpdateCollectionDocument: ss,
3877
+ UpdateCustomizationDocument: gs
3879
3878
  }, Symbol.toStringTag, { value: "Module" }));
3880
- function Js(n) {
3879
+ function qs(n) {
3881
3880
  return {
3882
3881
  class: n,
3883
3882
  _value: null,
@@ -3888,60 +3887,62 @@ function Js(n) {
3888
3887
  }
3889
3888
  export {
3890
3889
  Tt as AccountContractStatusTypes,
3891
- ui as AccountContractTypes,
3892
- Ps as AccountInvalidError,
3893
- mi as AccountPlanDescriptionTypes,
3894
- hi as AccountRestRepository,
3895
- gi as AccountService,
3896
- ci as AccountSubscriptionTypes,
3890
+ ci as AccountContractTypes,
3891
+ Vs as AccountInvalidError,
3892
+ fi as AccountPlanDescriptionTypes,
3893
+ gi as AccountRestRepository,
3894
+ ki as AccountService,
3895
+ mi as AccountSubscriptionTypes,
3897
3896
  Rt as AccountTypes,
3898
- li as AggregateRoot,
3899
- Ws as ApiGraphqlTypes,
3900
- Us as BaseMobxStore,
3897
+ di as AggregateRoot,
3898
+ Js as ApiGraphqlTypes,
3899
+ Ms as BaseMobxStore,
3901
3900
  $n as BroadcastChannelEventBus,
3902
3901
  he as DomainError,
3903
- js as EventBusWildcards,
3904
- zs as EventNames,
3905
- fi as GlobalPageSectionTypes,
3906
- oi as InvalidNizzaGlobalObjectError,
3907
- na as LanguageTypes,
3902
+ zs as EventBusWildcards,
3903
+ Bs as EventNames,
3904
+ pi as GlobalPageSectionTypes,
3905
+ li as InvalidNizzaGlobalObjectError,
3906
+ ia as LanguageTypes,
3908
3907
  Qn as Logger,
3909
3908
  Re as NizzaAccount,
3910
- ta as NizzaEventStatus,
3911
- aa as NizzaProductRequestOriginTypes,
3912
- ia as NizzaVariationTypes,
3913
- si as ResourceNotFoundError,
3914
- Qs as StoreProvider,
3915
- ri as UnexpectedError,
3916
- Ms as ValueObject,
3909
+ na as NizzaEventStatus,
3910
+ sa as NizzaProductRequestOriginTypes,
3911
+ aa as NizzaVariationTypes,
3912
+ ri as ResourceNotFoundError,
3913
+ Gs as StoreProvider,
3914
+ oi as UnexpectedError,
3915
+ $s as ValueObject,
3917
3916
  Ee as accountAtom,
3918
- Dt as accountService,
3919
- Rs as apiCall,
3920
- sa as buildLanguageTranslations,
3921
- ra as buildTranslations,
3922
- Wn as configure,
3923
- Z as coreLogger,
3924
- di as createAggregateRoot,
3925
- Js as createStore,
3926
- vt as customFetch,
3927
- Ts as downloadFile,
3928
- Is as fileOrigin,
3929
- ea as getAccount,
3930
- _s as getClientTimeZone,
3931
- Ks as getStore,
3932
- Yi as globalAtomStore,
3933
- Ca as i18Init,
3917
+ It as accountService,
3918
+ Ts as apiCall,
3919
+ ra as buildLanguageTranslations,
3920
+ oa as buildTranslations,
3921
+ Jn as configure,
3922
+ K as coreLogger,
3923
+ ui as createAggregateRoot,
3924
+ qs as createStore,
3925
+ kt as customFetch,
3926
+ Is as downloadFile,
3927
+ Ls as fileOrigin,
3928
+ ta as getAccount,
3929
+ Us as getClientTimeZone,
3930
+ Kn as getInstance,
3931
+ Ws as getStore,
3932
+ ea as globalAtomStore,
3933
+ Ea as i18Init,
3934
3934
  pn as jsDownload,
3935
- As as logger,
3936
- j as nizza,
3937
- Bs as registerTranslations,
3938
- oa as registerTranslationsOf,
3935
+ Gn as logger,
3936
+ $ as nizza,
3937
+ Ps as nizzaInit,
3938
+ Qs as registerTranslations,
3939
+ la as registerTranslationsOf,
3939
3940
  Ds as searchParams,
3940
- Jn as setProductDataSource,
3941
+ qn as setProductDataSource,
3941
3942
  zn as shortId,
3942
- $s as useAccount,
3943
- Gn as useNizza,
3944
- Gs as useStore,
3945
- Vs as validateRequiredProps
3943
+ js as useAccount,
3944
+ Ot as useNizza,
3945
+ Ks as useStore,
3946
+ _s as validateRequiredProps
3946
3947
  };
3947
3948
  //# sourceMappingURL=index.mjs.map