@nizza/core 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.mjs +400 -372
- package/dist/lib/accounts/core/domain/types.d.ts +2 -1
- package/dist/lib/types/api-graphql-types.d.ts +190 -189
- package/dist/lib/types/nizza/chat.d.ts +1 -0
- package/dist/lib/types/nizza/index.d.ts +1 -0
- package/dist/lib/types/nizza/nizzaEvent.d.ts +17 -0
- package/dist/lib/utils/getClientTimeZone.d.ts +10 -0
- package/dist/lib/utils/index.d.ts +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var Wa = Object.defineProperty;
|
|
|
2
2
|
var qa = (e, t, i) => t in e ? Wa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
3
3
|
var C = (e, t, i) => (qa(e, typeof t != "symbol" ? t + "" : t, i), i);
|
|
4
4
|
import * as W from "react";
|
|
5
|
-
import gi, { createContext as ki, useReducer as Ja, useEffect as
|
|
5
|
+
import gi, { createContext as ki, useReducer as Ja, useEffect as et, useDebugValue as Ha, useCallback as Za, useContext as cn, useMemo as Xa, useState as Ya } from "react";
|
|
6
6
|
import { jsx as er } from "react/jsx-runtime";
|
|
7
7
|
let tr = 0;
|
|
8
8
|
function nr(e, t) {
|
|
@@ -24,7 +24,7 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
24
24
|
e.status = "fulfilled", e.value = t;
|
|
25
25
|
}, xn = (e, t) => {
|
|
26
26
|
e.status = "rejected", e.reason = t;
|
|
27
|
-
},
|
|
27
|
+
}, ht = (e, t) => "v" in e && "v" in t && Object.is(e.v, t.v), Pn = (e, t) => "e" in e && "e" in t && Object.is(e.e, t.e), Qt = (e) => "v" in e && e.v instanceof Promise, vt = (e) => {
|
|
28
28
|
if ("e" in e)
|
|
29
29
|
throw e.e;
|
|
30
30
|
return e.v;
|
|
@@ -50,7 +50,7 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
50
50
|
d: (b == null ? void 0 : b.d) || /* @__PURE__ */ new Map(),
|
|
51
51
|
v: h
|
|
52
52
|
};
|
|
53
|
-
return k && s(f, E, k), b &&
|
|
53
|
+
return k && s(f, E, k), b && ht(b, E) && b.d === E.d ? b : (o(f, E), E);
|
|
54
54
|
}, l = (f, h, k, b) => {
|
|
55
55
|
if (h instanceof Promise) {
|
|
56
56
|
let E;
|
|
@@ -111,13 +111,13 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
111
111
|
if (P === f) {
|
|
112
112
|
const I = r(P);
|
|
113
113
|
if (I)
|
|
114
|
-
return k.set(P, I),
|
|
114
|
+
return k.set(P, I), vt(I);
|
|
115
115
|
if ($t(P))
|
|
116
116
|
return k.set(P, void 0), P.init;
|
|
117
117
|
throw new Error("no atom init");
|
|
118
118
|
}
|
|
119
119
|
const V = c(P);
|
|
120
|
-
return k.set(P, V),
|
|
120
|
+
return k.set(P, V), vt(V);
|
|
121
121
|
};
|
|
122
122
|
let w, R;
|
|
123
123
|
const ae = {
|
|
@@ -144,7 +144,7 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
144
144
|
} finally {
|
|
145
145
|
b = !1;
|
|
146
146
|
}
|
|
147
|
-
}, p = (f) =>
|
|
147
|
+
}, p = (f) => vt(c(f)), g = (f) => {
|
|
148
148
|
let h = t.get(f);
|
|
149
149
|
return h || (h = A(f)), h;
|
|
150
150
|
}, S = (f, h) => !h.l.size && (!h.t.size || h.t.size === 1 && h.t.has(f)), v = (f) => {
|
|
@@ -155,18 +155,18 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
155
155
|
h == null || h.t.forEach((k) => {
|
|
156
156
|
if (k !== f) {
|
|
157
157
|
const b = r(k), E = c(k);
|
|
158
|
-
(!b || !
|
|
158
|
+
(!b || !ht(b, E)) && m(k);
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
}, y = (f, ...h) => {
|
|
162
162
|
let k = !0;
|
|
163
|
-
const b = (R) =>
|
|
163
|
+
const b = (R) => vt(c(R)), E = (R, ...ae) => {
|
|
164
164
|
let P;
|
|
165
165
|
if (R === f) {
|
|
166
166
|
if (!$t(R))
|
|
167
167
|
throw new Error("atom not writable");
|
|
168
168
|
const V = r(R), I = l(R, ae[0]);
|
|
169
|
-
(!V || !
|
|
169
|
+
(!V || !ht(V, I)) && m(R);
|
|
170
170
|
} else
|
|
171
171
|
P = y(R, ...ae);
|
|
172
172
|
return k || L(), P;
|
|
@@ -222,7 +222,7 @@ const $t = (e) => "init" in e, Kt = (e) => !!e.write, St = /* @__PURE__ */ new W
|
|
|
222
222
|
const E = t.get(h);
|
|
223
223
|
E && !// TODO This seems pretty hacky. Hope to fix it.
|
|
224
224
|
// Maybe we could `mountDependencies` in `setAtomState`?
|
|
225
|
-
(k && !Qt(k) && (
|
|
225
|
+
(k && !Qt(k) && (ht(k, b) || Pn(k, b))) && E.l.forEach((w) => w());
|
|
226
226
|
} else
|
|
227
227
|
({ 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 } && "production") !== "production" && console.warn("[Bug] no atom state to flush");
|
|
228
228
|
});
|
|
@@ -288,7 +288,7 @@ function ur(e, t) {
|
|
|
288
288
|
let s = n;
|
|
289
289
|
(a !== i || r !== e) && (o(), s = i.get(e));
|
|
290
290
|
const u = t == null ? void 0 : t.delay;
|
|
291
|
-
return
|
|
291
|
+
return et(() => {
|
|
292
292
|
const l = i.sub(e, () => {
|
|
293
293
|
if (typeof u == "number") {
|
|
294
294
|
setTimeout(o, u);
|
|
@@ -403,16 +403,6 @@ const pr = (e, t, i) => {
|
|
|
403
403
|
document.body.removeChild(o), window.URL.revokeObjectURL(r);
|
|
404
404
|
}, 200);
|
|
405
405
|
};
|
|
406
|
-
let gr = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, i) => (i &= 63, i < 36 ? t += i.toString(36) : i < 62 ? t += (i - 26).toString(36).toUpperCase() : i > 62 ? t += "-" : t += "_", t), "");
|
|
407
|
-
const kr = (e = 8) => gr(e), Ml = (e) => {
|
|
408
|
-
const t = Object.entries(e).reduce((i, [n, a]) => a !== void 0 ? `${i}${i ? "&" : ""}${n}=${a}` : i, "");
|
|
409
|
-
return t ? `?${t}` : "";
|
|
410
|
-
};
|
|
411
|
-
function Bl() {
|
|
412
|
-
const e = new Error().stack.split(`
|
|
413
|
-
`);
|
|
414
|
-
return e.length < 3 ? "" : e[2].trim().substring(3);
|
|
415
|
-
}
|
|
416
406
|
var bi = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
417
407
|
function Ni(e) {
|
|
418
408
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -471,8 +461,8 @@ var Oi = { exports: {} };
|
|
|
471
461
|
}), u;
|
|
472
462
|
});
|
|
473
463
|
})(Oi);
|
|
474
|
-
var
|
|
475
|
-
const Ei = /* @__PURE__ */ Ni(
|
|
464
|
+
var gr = Oi.exports;
|
|
465
|
+
const Ei = /* @__PURE__ */ Ni(gr);
|
|
476
466
|
var wi = { exports: {} };
|
|
477
467
|
(function(e) {
|
|
478
468
|
(function(t, i) {
|
|
@@ -615,24 +605,24 @@ var wi = { exports: {} };
|
|
|
615
605
|
}, p.default = p, p;
|
|
616
606
|
});
|
|
617
607
|
})(wi);
|
|
618
|
-
var
|
|
619
|
-
const
|
|
608
|
+
var kr = wi.exports;
|
|
609
|
+
const yr = /* @__PURE__ */ Ni(kr);
|
|
620
610
|
function x(e) {
|
|
621
611
|
for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
|
|
622
612
|
i[n - 1] = arguments[n];
|
|
623
613
|
throw new Error(typeof e == "number" ? "[MobX] minified error nr: " + e + (i.length ? " " + i.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + e);
|
|
624
614
|
}
|
|
625
|
-
var
|
|
615
|
+
var _r = {};
|
|
626
616
|
function Ai() {
|
|
627
|
-
return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self :
|
|
617
|
+
return typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : _r;
|
|
628
618
|
}
|
|
629
619
|
var Fi = Object.assign, bt = Object.getOwnPropertyDescriptor, Y = Object.defineProperty, Dt = Object.prototype, tn = [];
|
|
630
620
|
Object.freeze(tn);
|
|
631
621
|
var mn = {};
|
|
632
622
|
Object.freeze(mn);
|
|
633
|
-
var
|
|
623
|
+
var Sr = typeof Proxy != "undefined", br = /* @__PURE__ */ Object.toString();
|
|
634
624
|
function Ci() {
|
|
635
|
-
|
|
625
|
+
Sr || x("Proxy not available");
|
|
636
626
|
}
|
|
637
627
|
function Ri(e) {
|
|
638
628
|
var t = !1;
|
|
@@ -666,13 +656,13 @@ function le(e) {
|
|
|
666
656
|
if (t == null)
|
|
667
657
|
return !0;
|
|
668
658
|
var i = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
669
|
-
return typeof i == "function" && i.toString() ===
|
|
659
|
+
return typeof i == "function" && i.toString() === br;
|
|
670
660
|
}
|
|
671
661
|
function Ti(e) {
|
|
672
662
|
var t = e == null ? void 0 : e.constructor;
|
|
673
663
|
return t ? t.name === "GeneratorFunction" || t.displayName === "GeneratorFunction" : !1;
|
|
674
664
|
}
|
|
675
|
-
function
|
|
665
|
+
function tt(e, t, i) {
|
|
676
666
|
Y(e, t, {
|
|
677
667
|
enumerable: !1,
|
|
678
668
|
writable: !0,
|
|
@@ -697,11 +687,11 @@ function Se(e, t) {
|
|
|
697
687
|
function Ie(e) {
|
|
698
688
|
return e instanceof Map;
|
|
699
689
|
}
|
|
700
|
-
function
|
|
690
|
+
function nt(e) {
|
|
701
691
|
return e instanceof Set;
|
|
702
692
|
}
|
|
703
693
|
var xi = typeof Object.getOwnPropertySymbols != "undefined";
|
|
704
|
-
function
|
|
694
|
+
function Nr(e) {
|
|
705
695
|
var t = Object.keys(e);
|
|
706
696
|
if (!xi)
|
|
707
697
|
return t;
|
|
@@ -722,7 +712,7 @@ function Pi(e) {
|
|
|
722
712
|
function ue(e, t) {
|
|
723
713
|
return Dt.hasOwnProperty.call(e, t);
|
|
724
714
|
}
|
|
725
|
-
var
|
|
715
|
+
var Or = Object.getOwnPropertyDescriptors || function(t) {
|
|
726
716
|
var i = {};
|
|
727
717
|
return Ce(t).forEach(function(n) {
|
|
728
718
|
i[n] = bt(t, n);
|
|
@@ -731,7 +721,7 @@ var wr = Object.getOwnPropertyDescriptors || function(t) {
|
|
|
731
721
|
function Ln(e, t) {
|
|
732
722
|
for (var i = 0; i < t.length; i++) {
|
|
733
723
|
var n = t[i];
|
|
734
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e,
|
|
724
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ar(n.key), n);
|
|
735
725
|
}
|
|
736
726
|
}
|
|
737
727
|
function hn(e, t, i) {
|
|
@@ -762,7 +752,7 @@ function qt(e) {
|
|
|
762
752
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
763
753
|
return e;
|
|
764
754
|
}
|
|
765
|
-
function
|
|
755
|
+
function Er(e, t) {
|
|
766
756
|
if (e) {
|
|
767
757
|
if (typeof e == "string")
|
|
768
758
|
return In(e, t);
|
|
@@ -783,7 +773,7 @@ function Ae(e, t) {
|
|
|
783
773
|
var i = typeof Symbol != "undefined" && e[Symbol.iterator] || e["@@iterator"];
|
|
784
774
|
if (i)
|
|
785
775
|
return (i = i.call(e)).next.bind(i);
|
|
786
|
-
if (Array.isArray(e) || (i =
|
|
776
|
+
if (Array.isArray(e) || (i = Er(e)) || t && e && typeof e.length == "number") {
|
|
787
777
|
i && (e = i);
|
|
788
778
|
var n = 0;
|
|
789
779
|
return function() {
|
|
@@ -798,7 +788,7 @@ function Ae(e, t) {
|
|
|
798
788
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
799
789
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
800
790
|
}
|
|
801
|
-
function
|
|
791
|
+
function wr(e, t) {
|
|
802
792
|
if (typeof e != "object" || e === null)
|
|
803
793
|
return e;
|
|
804
794
|
var i = e[Symbol.toPrimitive];
|
|
@@ -810,24 +800,24 @@ function Fr(e, t) {
|
|
|
810
800
|
}
|
|
811
801
|
return (t === "string" ? String : Number)(e);
|
|
812
802
|
}
|
|
813
|
-
function
|
|
814
|
-
var t =
|
|
803
|
+
function Ar(e) {
|
|
804
|
+
var t = wr(e, "string");
|
|
815
805
|
return typeof t == "symbol" ? t : String(t);
|
|
816
806
|
}
|
|
817
807
|
var X = /* @__PURE__ */ Symbol("mobx-stored-annotations");
|
|
818
808
|
function ee(e) {
|
|
819
809
|
function t(i, n) {
|
|
820
|
-
|
|
810
|
+
it(i, n, e);
|
|
821
811
|
}
|
|
822
812
|
return Object.assign(t, e);
|
|
823
813
|
}
|
|
824
|
-
function
|
|
825
|
-
ue(e, X) ||
|
|
814
|
+
function it(e, t, i) {
|
|
815
|
+
ue(e, X) || tt(e, X, Re({}, e[X])), Ir(i) || (e[X][t] = i);
|
|
826
816
|
}
|
|
827
|
-
function
|
|
828
|
-
return ue(e, X) ||
|
|
817
|
+
function Fr(e) {
|
|
818
|
+
return ue(e, X) || tt(e, X, Re({}, e[X])), e[X];
|
|
829
819
|
}
|
|
830
|
-
var F = /* @__PURE__ */ Symbol("mobx administration"),
|
|
820
|
+
var F = /* @__PURE__ */ Symbol("mobx administration"), at = /* @__PURE__ */ function() {
|
|
831
821
|
function e(i) {
|
|
832
822
|
i === void 0 && (i = "Atom"), this.name_ = void 0, this.isPendingUnobservation_ = !1, this.isBeingObserved_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = D.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = i;
|
|
833
823
|
}
|
|
@@ -847,43 +837,43 @@ var F = /* @__PURE__ */ Symbol("mobx administration"), it = /* @__PURE__ */ func
|
|
|
847
837
|
}, t.toString = function() {
|
|
848
838
|
return this.name_;
|
|
849
839
|
}, e;
|
|
850
|
-
}(), vn = /* @__PURE__ */ Se("Atom",
|
|
840
|
+
}(), vn = /* @__PURE__ */ Se("Atom", at);
|
|
851
841
|
function Ii(e, t, i) {
|
|
852
842
|
t === void 0 && (t = we), i === void 0 && (i = we);
|
|
853
|
-
var n = new
|
|
854
|
-
return t !== we &&
|
|
843
|
+
var n = new at(e);
|
|
844
|
+
return t !== we && Lo(n, t), i !== we && da(n, i), n;
|
|
855
845
|
}
|
|
856
|
-
function
|
|
846
|
+
function Cr(e, t) {
|
|
857
847
|
return e === t;
|
|
858
848
|
}
|
|
859
|
-
function
|
|
849
|
+
function Rr(e, t) {
|
|
860
850
|
return bn(e, t);
|
|
861
851
|
}
|
|
862
|
-
function
|
|
852
|
+
function Tr(e, t) {
|
|
863
853
|
return bn(e, t, 1);
|
|
864
854
|
}
|
|
865
|
-
function
|
|
855
|
+
function Dr(e, t) {
|
|
866
856
|
return Object.is ? Object.is(e, t) : e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
867
857
|
}
|
|
868
858
|
var Te = {
|
|
869
|
-
identity:
|
|
870
|
-
structural:
|
|
871
|
-
default:
|
|
872
|
-
shallow:
|
|
859
|
+
identity: Cr,
|
|
860
|
+
structural: Rr,
|
|
861
|
+
default: Dr,
|
|
862
|
+
shallow: Tr
|
|
873
863
|
};
|
|
874
864
|
function De(e, t, i) {
|
|
875
|
-
return
|
|
865
|
+
return ut(e) ? e : Array.isArray(e) ? M.array(e, {
|
|
876
866
|
name: i
|
|
877
867
|
}) : le(e) ? M.object(e, void 0, {
|
|
878
868
|
name: i
|
|
879
869
|
}) : Ie(e) ? M.map(e, {
|
|
880
870
|
name: i
|
|
881
|
-
}) :
|
|
871
|
+
}) : nt(e) ? M.set(e, {
|
|
882
872
|
name: i
|
|
883
|
-
}) : typeof e == "function" && !kn(e) && !At(e) ? Ti(e) ?
|
|
873
|
+
}) : typeof e == "function" && !kn(e) && !At(e) ? Ti(e) ? He(e) : Je(i, e) : e;
|
|
884
874
|
}
|
|
885
|
-
function
|
|
886
|
-
if (e == null ||
|
|
875
|
+
function xr(e, t, i) {
|
|
876
|
+
if (e == null || Ze(e) || Vt(e) || be(e) || je(e))
|
|
887
877
|
return e;
|
|
888
878
|
if (Array.isArray(e))
|
|
889
879
|
return M.array(e, {
|
|
@@ -900,7 +890,7 @@ function Lr(e, t, i) {
|
|
|
900
890
|
name: i,
|
|
901
891
|
deep: !1
|
|
902
892
|
});
|
|
903
|
-
if (
|
|
893
|
+
if (nt(e))
|
|
904
894
|
return M.set(e, {
|
|
905
895
|
name: i,
|
|
906
896
|
deep: !1
|
|
@@ -909,22 +899,22 @@ function Lr(e, t, i) {
|
|
|
909
899
|
function Pt(e) {
|
|
910
900
|
return e;
|
|
911
901
|
}
|
|
912
|
-
function
|
|
902
|
+
function Pr(e, t) {
|
|
913
903
|
return bn(e, t) ? t : e;
|
|
914
904
|
}
|
|
915
|
-
var
|
|
916
|
-
function
|
|
917
|
-
return e.annotationType_ ===
|
|
905
|
+
var Lr = "override";
|
|
906
|
+
function Ir(e) {
|
|
907
|
+
return e.annotationType_ === Lr;
|
|
918
908
|
}
|
|
919
|
-
function
|
|
909
|
+
function rt(e, t) {
|
|
920
910
|
return {
|
|
921
911
|
annotationType_: e,
|
|
922
912
|
options_: t,
|
|
923
|
-
make_:
|
|
924
|
-
extend_:
|
|
913
|
+
make_: Vr,
|
|
914
|
+
extend_: jr
|
|
925
915
|
};
|
|
926
916
|
}
|
|
927
|
-
function
|
|
917
|
+
function Vr(e, t, i, n) {
|
|
928
918
|
var a;
|
|
929
919
|
if ((a = this.options_) != null && a.bound)
|
|
930
920
|
return this.extend_(e, t, i, !1) === null ? 0 : 1;
|
|
@@ -935,16 +925,16 @@ function Ur(e, t, i, n) {
|
|
|
935
925
|
var r = Vi(e, this, t, i, !1);
|
|
936
926
|
return Y(n, t, r), 2;
|
|
937
927
|
}
|
|
938
|
-
function
|
|
928
|
+
function jr(e, t, i, n) {
|
|
939
929
|
var a = Vi(e, this, t, i);
|
|
940
930
|
return e.defineProperty_(t, a, n);
|
|
941
931
|
}
|
|
942
|
-
function
|
|
932
|
+
function Ur(e, t, i, n) {
|
|
943
933
|
t.annotationType_, n.value;
|
|
944
934
|
}
|
|
945
935
|
function Vi(e, t, i, n, a) {
|
|
946
936
|
var r, o, s, u, l, d, c;
|
|
947
|
-
a === void 0 && (a = _.safeDescriptors),
|
|
937
|
+
a === void 0 && (a = _.safeDescriptors), Ur(e, t, i, n);
|
|
948
938
|
var p = n.value;
|
|
949
939
|
if ((r = t.options_) != null && r.bound) {
|
|
950
940
|
var g;
|
|
@@ -972,11 +962,11 @@ function ji(e, t) {
|
|
|
972
962
|
return {
|
|
973
963
|
annotationType_: e,
|
|
974
964
|
options_: t,
|
|
975
|
-
make_:
|
|
976
|
-
extend_:
|
|
965
|
+
make_: Mr,
|
|
966
|
+
extend_: Br
|
|
977
967
|
};
|
|
978
968
|
}
|
|
979
|
-
function
|
|
969
|
+
function Mr(e, t, i, n) {
|
|
980
970
|
var a;
|
|
981
971
|
if (n === e.target_)
|
|
982
972
|
return this.extend_(e, t, i, !1) === null ? 0 : 2;
|
|
@@ -987,17 +977,17 @@ function Gr(e, t, i, n) {
|
|
|
987
977
|
var r = Ui(e, this, t, i, !1, !1);
|
|
988
978
|
return Y(n, t, r), 2;
|
|
989
979
|
}
|
|
990
|
-
function
|
|
980
|
+
function Br(e, t, i, n) {
|
|
991
981
|
var a, r = Ui(e, this, t, i, (a = this.options_) == null ? void 0 : a.bound);
|
|
992
982
|
return e.defineProperty_(t, r, n);
|
|
993
983
|
}
|
|
994
|
-
function
|
|
984
|
+
function Gr(e, t, i, n) {
|
|
995
985
|
t.annotationType_, n.value;
|
|
996
986
|
}
|
|
997
987
|
function Ui(e, t, i, n, a, r) {
|
|
998
|
-
r === void 0 && (r = _.safeDescriptors),
|
|
988
|
+
r === void 0 && (r = _.safeDescriptors), Gr(e, t, i, n);
|
|
999
989
|
var o = n.value;
|
|
1000
|
-
if (At(o) || (o =
|
|
990
|
+
if (At(o) || (o = He(o)), a) {
|
|
1001
991
|
var s;
|
|
1002
992
|
o = o.bind((s = e.proxy_) != null ? s : e.target_), o.isMobXFlow = !0;
|
|
1003
993
|
}
|
|
@@ -1017,50 +1007,50 @@ function pn(e, t) {
|
|
|
1017
1007
|
return {
|
|
1018
1008
|
annotationType_: e,
|
|
1019
1009
|
options_: t,
|
|
1020
|
-
make_:
|
|
1021
|
-
extend_:
|
|
1010
|
+
make_: zr,
|
|
1011
|
+
extend_: $r
|
|
1022
1012
|
};
|
|
1023
1013
|
}
|
|
1024
|
-
function
|
|
1014
|
+
function zr(e, t, i) {
|
|
1025
1015
|
return this.extend_(e, t, i, !1) === null ? 0 : 1;
|
|
1026
1016
|
}
|
|
1027
|
-
function
|
|
1028
|
-
return
|
|
1017
|
+
function $r(e, t, i, n) {
|
|
1018
|
+
return Kr(e, this, t, i), e.defineComputedProperty_(t, Re({}, this.options_, {
|
|
1029
1019
|
get: i.get,
|
|
1030
1020
|
set: i.set
|
|
1031
1021
|
}), n);
|
|
1032
1022
|
}
|
|
1033
|
-
function
|
|
1023
|
+
function Kr(e, t, i, n) {
|
|
1034
1024
|
t.annotationType_, n.get;
|
|
1035
1025
|
}
|
|
1036
1026
|
function Lt(e, t) {
|
|
1037
1027
|
return {
|
|
1038
1028
|
annotationType_: e,
|
|
1039
1029
|
options_: t,
|
|
1040
|
-
make_:
|
|
1041
|
-
extend_:
|
|
1030
|
+
make_: Qr,
|
|
1031
|
+
extend_: Wr
|
|
1042
1032
|
};
|
|
1043
1033
|
}
|
|
1044
|
-
function
|
|
1034
|
+
function Qr(e, t, i) {
|
|
1045
1035
|
return this.extend_(e, t, i, !1) === null ? 0 : 1;
|
|
1046
1036
|
}
|
|
1047
|
-
function
|
|
1037
|
+
function Wr(e, t, i, n) {
|
|
1048
1038
|
var a, r;
|
|
1049
|
-
return
|
|
1039
|
+
return qr(e, this), e.defineObservableProperty_(t, i.value, (a = (r = this.options_) == null ? void 0 : r.enhancer) != null ? a : De, n);
|
|
1050
1040
|
}
|
|
1051
|
-
function
|
|
1041
|
+
function qr(e, t, i, n) {
|
|
1052
1042
|
t.annotationType_;
|
|
1053
1043
|
}
|
|
1054
|
-
var
|
|
1044
|
+
var Jr = "true", Hr = /* @__PURE__ */ Mi();
|
|
1055
1045
|
function Mi(e) {
|
|
1056
1046
|
return {
|
|
1057
|
-
annotationType_:
|
|
1047
|
+
annotationType_: Jr,
|
|
1058
1048
|
options_: e,
|
|
1059
|
-
make_:
|
|
1060
|
-
extend_:
|
|
1049
|
+
make_: Zr,
|
|
1050
|
+
extend_: Xr
|
|
1061
1051
|
};
|
|
1062
1052
|
}
|
|
1063
|
-
function
|
|
1053
|
+
function Zr(e, t, i, n) {
|
|
1064
1054
|
var a, r;
|
|
1065
1055
|
if (i.get)
|
|
1066
1056
|
return ce.make_(e, t, i, n);
|
|
@@ -1077,10 +1067,10 @@ function Yr(e, t, i, n) {
|
|
|
1077
1067
|
if (n !== e.target_ && typeof i.value == "function") {
|
|
1078
1068
|
var s;
|
|
1079
1069
|
if (Ti(i.value)) {
|
|
1080
|
-
var u, l = (u = this.options_) != null && u.autoBind ?
|
|
1070
|
+
var u, l = (u = this.options_) != null && u.autoBind ? He.bound : He;
|
|
1081
1071
|
return l.make_(e, t, i, n);
|
|
1082
1072
|
}
|
|
1083
|
-
var d = (s = this.options_) != null && s.autoBind ?
|
|
1073
|
+
var d = (s = this.options_) != null && s.autoBind ? Je.bound : Je;
|
|
1084
1074
|
return d.make_(e, t, i, n);
|
|
1085
1075
|
}
|
|
1086
1076
|
var c = ((a = this.options_) == null ? void 0 : a.deep) === !1 ? M.ref : M;
|
|
@@ -1090,7 +1080,7 @@ function Yr(e, t, i, n) {
|
|
|
1090
1080
|
}
|
|
1091
1081
|
return c.make_(e, t, i, n);
|
|
1092
1082
|
}
|
|
1093
|
-
function
|
|
1083
|
+
function Xr(e, t, i, n) {
|
|
1094
1084
|
var a, r;
|
|
1095
1085
|
if (i.get)
|
|
1096
1086
|
return ce.extend_(e, t, i, n);
|
|
@@ -1106,79 +1096,79 @@ function eo(e, t, i, n) {
|
|
|
1106
1096
|
var s = ((r = this.options_) == null ? void 0 : r.deep) === !1 ? M.ref : M;
|
|
1107
1097
|
return s.extend_(e, t, i, n);
|
|
1108
1098
|
}
|
|
1109
|
-
var
|
|
1099
|
+
var Yr = "observable", eo = "observable.ref", to = "observable.shallow", no = "observable.struct", Bi = {
|
|
1110
1100
|
deep: !0,
|
|
1111
1101
|
name: void 0,
|
|
1112
1102
|
defaultDecorator: void 0,
|
|
1113
1103
|
proxy: !0
|
|
1114
1104
|
};
|
|
1115
1105
|
Object.freeze(Bi);
|
|
1116
|
-
function
|
|
1106
|
+
function pt(e) {
|
|
1117
1107
|
return e || Bi;
|
|
1118
1108
|
}
|
|
1119
|
-
var Gi = /* @__PURE__ */ Lt(
|
|
1109
|
+
var Gi = /* @__PURE__ */ Lt(Yr), io = /* @__PURE__ */ Lt(eo, {
|
|
1120
1110
|
enhancer: Pt
|
|
1121
|
-
}),
|
|
1122
|
-
enhancer:
|
|
1123
|
-
}),
|
|
1124
|
-
enhancer:
|
|
1111
|
+
}), ao = /* @__PURE__ */ Lt(to, {
|
|
1112
|
+
enhancer: xr
|
|
1113
|
+
}), ro = /* @__PURE__ */ Lt(no, {
|
|
1114
|
+
enhancer: Pr
|
|
1125
1115
|
}), zi = /* @__PURE__ */ ee(Gi);
|
|
1126
|
-
function
|
|
1127
|
-
return e.deep === !0 ? De : e.deep === !1 ? Pt :
|
|
1116
|
+
function gt(e) {
|
|
1117
|
+
return e.deep === !0 ? De : e.deep === !1 ? Pt : so(e.defaultDecorator);
|
|
1128
1118
|
}
|
|
1129
|
-
function
|
|
1119
|
+
function oo(e) {
|
|
1130
1120
|
var t;
|
|
1131
1121
|
return e ? (t = e.defaultDecorator) != null ? t : Mi(e) : void 0;
|
|
1132
1122
|
}
|
|
1133
|
-
function
|
|
1123
|
+
function so(e) {
|
|
1134
1124
|
var t, i;
|
|
1135
1125
|
return e && (t = (i = e.options_) == null ? void 0 : i.enhancer) != null ? t : De;
|
|
1136
1126
|
}
|
|
1137
1127
|
function $i(e, t, i) {
|
|
1138
1128
|
if (ke(t)) {
|
|
1139
|
-
|
|
1129
|
+
it(e, t, Gi);
|
|
1140
1130
|
return;
|
|
1141
1131
|
}
|
|
1142
|
-
return
|
|
1132
|
+
return ut(e) ? e : le(e) ? M.object(e, t, i) : Array.isArray(e) ? M.array(e, t) : Ie(e) ? M.map(e, t) : nt(e) ? M.set(e, t) : typeof e == "object" && e !== null ? e : M.box(e, t);
|
|
1143
1133
|
}
|
|
1144
1134
|
Fi($i, zi);
|
|
1145
|
-
var
|
|
1135
|
+
var uo = {
|
|
1146
1136
|
box: function(t, i) {
|
|
1147
|
-
var n =
|
|
1148
|
-
return new Fe(t,
|
|
1137
|
+
var n = pt(i);
|
|
1138
|
+
return new Fe(t, gt(n), n.name, !0, n.equals);
|
|
1149
1139
|
},
|
|
1150
1140
|
array: function(t, i) {
|
|
1151
|
-
var n =
|
|
1152
|
-
return (_.useProxies === !1 || n.proxy === !1 ?
|
|
1141
|
+
var n = pt(i);
|
|
1142
|
+
return (_.useProxies === !1 || n.proxy === !1 ? ns : Wo)(t, gt(n), n.name);
|
|
1153
1143
|
},
|
|
1154
1144
|
map: function(t, i) {
|
|
1155
|
-
var n =
|
|
1156
|
-
return new ga(t,
|
|
1145
|
+
var n = pt(i);
|
|
1146
|
+
return new ga(t, gt(n), n.name);
|
|
1157
1147
|
},
|
|
1158
1148
|
set: function(t, i) {
|
|
1159
|
-
var n =
|
|
1160
|
-
return new _a(t,
|
|
1149
|
+
var n = pt(i);
|
|
1150
|
+
return new _a(t, gt(n), n.name);
|
|
1161
1151
|
},
|
|
1162
1152
|
object: function(t, i, n) {
|
|
1163
|
-
return fa(_.useProxies === !1 || (n == null ? void 0 : n.proxy) === !1 ?
|
|
1153
|
+
return fa(_.useProxies === !1 || (n == null ? void 0 : n.proxy) === !1 ? ct({}, n) : Go({}, n), t, i);
|
|
1164
1154
|
},
|
|
1165
|
-
ref: /* @__PURE__ */ ee(
|
|
1166
|
-
shallow: /* @__PURE__ */ ee(
|
|
1155
|
+
ref: /* @__PURE__ */ ee(io),
|
|
1156
|
+
shallow: /* @__PURE__ */ ee(ao),
|
|
1167
1157
|
deep: zi,
|
|
1168
|
-
struct: /* @__PURE__ */ ee(
|
|
1169
|
-
}, M = /* @__PURE__ */ Fi($i,
|
|
1158
|
+
struct: /* @__PURE__ */ ee(ro)
|
|
1159
|
+
}, M = /* @__PURE__ */ Fi($i, uo), Ki = "computed", lo = "computed.struct", Qi = /* @__PURE__ */ pn(Ki), co = /* @__PURE__ */ pn(lo, {
|
|
1170
1160
|
equals: Te.structural
|
|
1171
1161
|
}), ce = function(t, i) {
|
|
1172
1162
|
if (ke(i))
|
|
1173
|
-
return
|
|
1163
|
+
return it(t, i, Qi);
|
|
1174
1164
|
if (le(t))
|
|
1175
1165
|
return ee(pn(Ki, t));
|
|
1176
1166
|
var n = le(i) ? i : {};
|
|
1177
|
-
return n.get = t, n.name || (n.name = t.name || ""), new
|
|
1167
|
+
return n.get = t, n.name || (n.name = t.name || ""), new qe(n);
|
|
1178
1168
|
};
|
|
1179
1169
|
Object.assign(ce, Qi);
|
|
1180
|
-
ce.struct = /* @__PURE__ */ ee(
|
|
1181
|
-
var Vn, jn, Nt = 0,
|
|
1170
|
+
ce.struct = /* @__PURE__ */ ee(co);
|
|
1171
|
+
var Vn, jn, Nt = 0, fo = 1, mo = (Vn = (jn = /* @__PURE__ */ bt(function() {
|
|
1182
1172
|
}, "name")) == null ? void 0 : jn.configurable) != null ? Vn : !1, Un = {
|
|
1183
1173
|
value: "action",
|
|
1184
1174
|
configurable: !0,
|
|
@@ -1188,25 +1178,25 @@ var Vn, jn, Nt = 0, ho = 1, vo = (Vn = (jn = /* @__PURE__ */ bt(function() {
|
|
|
1188
1178
|
function xe(e, t, i, n) {
|
|
1189
1179
|
i === void 0 && (i = !1);
|
|
1190
1180
|
function a() {
|
|
1191
|
-
return
|
|
1181
|
+
return ho(e, i, t, n || this, arguments);
|
|
1192
1182
|
}
|
|
1193
|
-
return a.isMobxAction = !0,
|
|
1183
|
+
return a.isMobxAction = !0, mo && (Un.value = e, Y(a, "name", Un)), a;
|
|
1194
1184
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var r =
|
|
1185
|
+
function ho(e, t, i, n, a) {
|
|
1186
|
+
var r = vo(e, t);
|
|
1197
1187
|
try {
|
|
1198
1188
|
return i.apply(n, a);
|
|
1199
1189
|
} catch (o) {
|
|
1200
1190
|
throw r.error_ = o, o;
|
|
1201
1191
|
} finally {
|
|
1202
|
-
|
|
1192
|
+
po(r);
|
|
1203
1193
|
}
|
|
1204
1194
|
}
|
|
1205
|
-
function
|
|
1195
|
+
function vo(e, t, i, n) {
|
|
1206
1196
|
var a = !1, r = 0, o = _.trackingDerivation, s = !t || !o;
|
|
1207
1197
|
G();
|
|
1208
1198
|
var u = _.allowStateChanges;
|
|
1209
|
-
s && (Ve(), u =
|
|
1199
|
+
s && (Ve(), u = ot(!0));
|
|
1210
1200
|
var l = gn(!0), d = {
|
|
1211
1201
|
runAsAction_: s,
|
|
1212
1202
|
prevDerivation_: o,
|
|
@@ -1214,27 +1204,27 @@ function go(e, t, i, n) {
|
|
|
1214
1204
|
prevAllowStateReads_: l,
|
|
1215
1205
|
notifySpy_: a,
|
|
1216
1206
|
startTime_: r,
|
|
1217
|
-
actionId_:
|
|
1207
|
+
actionId_: fo++,
|
|
1218
1208
|
parentActionId_: Nt
|
|
1219
1209
|
};
|
|
1220
1210
|
return Nt = d.actionId_, d;
|
|
1221
1211
|
}
|
|
1222
|
-
function
|
|
1223
|
-
Nt !== e.actionId_ && x(30), Nt = e.parentActionId_, e.error_ !== void 0 && (_.suppressReactionErrors = !0),
|
|
1212
|
+
function po(e) {
|
|
1213
|
+
Nt !== e.actionId_ && x(30), Nt = e.parentActionId_, e.error_ !== void 0 && (_.suppressReactionErrors = !0), st(e.prevAllowStateChanges_), Qe(e.prevAllowStateReads_), z(), e.runAsAction_ && he(e.prevDerivation_), _.suppressReactionErrors = !1;
|
|
1224
1214
|
}
|
|
1225
1215
|
function Wi(e, t) {
|
|
1226
|
-
var i =
|
|
1216
|
+
var i = ot(e);
|
|
1227
1217
|
try {
|
|
1228
1218
|
return t();
|
|
1229
1219
|
} finally {
|
|
1230
|
-
|
|
1220
|
+
st(i);
|
|
1231
1221
|
}
|
|
1232
1222
|
}
|
|
1233
|
-
function
|
|
1223
|
+
function ot(e) {
|
|
1234
1224
|
var t = _.allowStateChanges;
|
|
1235
1225
|
return _.allowStateChanges = e, t;
|
|
1236
1226
|
}
|
|
1237
|
-
function
|
|
1227
|
+
function st(e) {
|
|
1238
1228
|
_.allowStateChanges = e;
|
|
1239
1229
|
}
|
|
1240
1230
|
var qi;
|
|
@@ -1273,7 +1263,7 @@ var Fe = /* @__PURE__ */ function(e) {
|
|
|
1273
1263
|
}, i.get = function() {
|
|
1274
1264
|
return this.reportObserved(), this.dehanceValue(this.value_);
|
|
1275
1265
|
}, i.intercept_ = function(a) {
|
|
1276
|
-
return
|
|
1266
|
+
return lt(this, a);
|
|
1277
1267
|
}, i.observe_ = function(a, r) {
|
|
1278
1268
|
return r && a({
|
|
1279
1269
|
observableKind: "value",
|
|
@@ -1282,7 +1272,7 @@ var Fe = /* @__PURE__ */ function(e) {
|
|
|
1282
1272
|
type: te,
|
|
1283
1273
|
newValue: this.value_,
|
|
1284
1274
|
oldValue: void 0
|
|
1285
|
-
}),
|
|
1275
|
+
}), dt(this, a);
|
|
1286
1276
|
}, i.raw = function() {
|
|
1287
1277
|
return this.value_;
|
|
1288
1278
|
}, i.toJSON = function() {
|
|
@@ -1294,15 +1284,15 @@ var Fe = /* @__PURE__ */ function(e) {
|
|
|
1294
1284
|
}, i[qi] = function() {
|
|
1295
1285
|
return this.valueOf();
|
|
1296
1286
|
}, t;
|
|
1297
|
-
}(
|
|
1287
|
+
}(at), Ji;
|
|
1298
1288
|
Ji = Symbol.toPrimitive;
|
|
1299
|
-
var
|
|
1289
|
+
var qe = /* @__PURE__ */ function() {
|
|
1300
1290
|
function e(i) {
|
|
1301
1291
|
this.dependenciesState_ = D.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.isBeingObserved_ = !1, this.isPendingUnobservation_ = !1, this.observers_ = /* @__PURE__ */ new Set(), this.diffValue_ = 0, this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = D.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Ot(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.isComputing_ = !1, this.isRunningSetter_ = !1, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = ge.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, i.get || x(31), this.derivation = i.get, this.name_ = i.name || "ComputedValue", i.set && (this.setter_ = xe("ComputedValue-setter", i.set)), this.equals_ = i.equals || (i.compareStructural || i.struct ? Te.structural : Te.default), this.scope_ = i.context, this.requiresReaction_ = i.requiresReaction, this.keepAlive_ = !!i.keepAlive;
|
|
1302
1292
|
}
|
|
1303
1293
|
var t = e.prototype;
|
|
1304
1294
|
return t.onBecomeStale_ = function() {
|
|
1305
|
-
|
|
1295
|
+
_o(this);
|
|
1306
1296
|
}, t.onBO = function() {
|
|
1307
1297
|
this.onBOL && this.onBOL.forEach(function(n) {
|
|
1308
1298
|
return n();
|
|
@@ -1317,7 +1307,7 @@ var We = /* @__PURE__ */ function() {
|
|
|
1317
1307
|
an(this) && (this.warnAboutUntrackedRead_(), G(), this.value_ = this.computeValue_(!1), z());
|
|
1318
1308
|
else if (ta(this), an(this)) {
|
|
1319
1309
|
var n = _.trackingContext;
|
|
1320
|
-
this.keepAlive_ && !n && (_.trackingContext = this), this.trackAndCompute() &&
|
|
1310
|
+
this.keepAlive_ && !n && (_.trackingContext = this), this.trackAndCompute() && yo(this), _.trackingContext = n;
|
|
1321
1311
|
}
|
|
1322
1312
|
var a = this.value_;
|
|
1323
1313
|
if (yt(a))
|
|
@@ -1341,7 +1331,7 @@ var We = /* @__PURE__ */ function() {
|
|
|
1341
1331
|
return o && (this.value_ = r), o;
|
|
1342
1332
|
}, t.computeValue_ = function(n) {
|
|
1343
1333
|
this.isComputing_ = !0;
|
|
1344
|
-
var a =
|
|
1334
|
+
var a = ot(!1), r;
|
|
1345
1335
|
if (n)
|
|
1346
1336
|
r = Hi(this, this.derivation, this.scope_);
|
|
1347
1337
|
else if (_.disableErrorBoundaries === !0)
|
|
@@ -1352,7 +1342,7 @@ var We = /* @__PURE__ */ function() {
|
|
|
1352
1342
|
} catch (o) {
|
|
1353
1343
|
r = new Ot(o);
|
|
1354
1344
|
}
|
|
1355
|
-
return
|
|
1345
|
+
return st(a), this.isComputing_ = !1, r;
|
|
1356
1346
|
}, t.suspend_ = function() {
|
|
1357
1347
|
this.keepAlive_ || (rn(this), this.value_ = void 0);
|
|
1358
1348
|
}, t.observe_ = function(n, a) {
|
|
@@ -1380,7 +1370,7 @@ var We = /* @__PURE__ */ function() {
|
|
|
1380
1370
|
}, t[Ji] = function() {
|
|
1381
1371
|
return this.valueOf();
|
|
1382
1372
|
}, e;
|
|
1383
|
-
}(), It = /* @__PURE__ */ Se("ComputedValue",
|
|
1373
|
+
}(), It = /* @__PURE__ */ Se("ComputedValue", qe), D;
|
|
1384
1374
|
(function(e) {
|
|
1385
1375
|
e[e.NOT_TRACKING_ = -1] = "NOT_TRACKING_", e[e.UP_TO_DATE_ = 0] = "UP_TO_DATE_", e[e.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", e[e.STALE_ = 2] = "STALE_";
|
|
1386
1376
|
})(D || (D = {}));
|
|
@@ -1411,13 +1401,13 @@ function an(e) {
|
|
|
1411
1401
|
try {
|
|
1412
1402
|
o.get();
|
|
1413
1403
|
} catch {
|
|
1414
|
-
return he(i),
|
|
1404
|
+
return he(i), Qe(t), !0;
|
|
1415
1405
|
}
|
|
1416
1406
|
if (e.dependenciesState_ === D.STALE_)
|
|
1417
|
-
return he(i),
|
|
1407
|
+
return he(i), Qe(t), !0;
|
|
1418
1408
|
}
|
|
1419
1409
|
}
|
|
1420
|
-
return Xi(e), he(i),
|
|
1410
|
+
return Xi(e), he(i), Qe(t), !1;
|
|
1421
1411
|
}
|
|
1422
1412
|
}
|
|
1423
1413
|
}
|
|
@@ -1435,9 +1425,9 @@ function Hi(e, t, i) {
|
|
|
1435
1425
|
} catch (o) {
|
|
1436
1426
|
r = new Ot(o);
|
|
1437
1427
|
}
|
|
1438
|
-
return _.inBatch--, _.trackingDerivation = a,
|
|
1428
|
+
return _.inBatch--, _.trackingDerivation = a, go(e), Qe(n), r;
|
|
1439
1429
|
}
|
|
1440
|
-
function
|
|
1430
|
+
function go(e) {
|
|
1441
1431
|
for (var t = e.observing_, i = e.observing_ = e.newObserving_, n = D.UP_TO_DATE_, a = 0, r = e.unboundDepsCount_, o = 0; o < r; o++) {
|
|
1442
1432
|
var s = i[o];
|
|
1443
1433
|
s.diffValue_ === 0 && (s.diffValue_ = 1, a !== o && (i[a] = s), a++), s.dependenciesState_ > n && (n = s.dependenciesState_);
|
|
@@ -1448,7 +1438,7 @@ function yo(e) {
|
|
|
1448
1438
|
}
|
|
1449
1439
|
for (; a--; ) {
|
|
1450
1440
|
var l = i[a];
|
|
1451
|
-
l.diffValue_ === 1 && (l.diffValue_ = 0,
|
|
1441
|
+
l.diffValue_ === 1 && (l.diffValue_ = 0, ko(l, e));
|
|
1452
1442
|
}
|
|
1453
1443
|
n !== D.UP_TO_DATE_ && (e.dependenciesState_ = n, e.onBecomeStale_());
|
|
1454
1444
|
}
|
|
@@ -1478,7 +1468,7 @@ function gn(e) {
|
|
|
1478
1468
|
var t = _.allowStateReads;
|
|
1479
1469
|
return _.allowStateReads = e, t;
|
|
1480
1470
|
}
|
|
1481
|
-
function
|
|
1471
|
+
function Qe(e) {
|
|
1482
1472
|
_.allowStateReads = e;
|
|
1483
1473
|
}
|
|
1484
1474
|
function Xi(e) {
|
|
@@ -1496,7 +1486,7 @@ var Jt = function() {
|
|
|
1496
1486
|
x(35);
|
|
1497
1487
|
}, 1), new Jt());
|
|
1498
1488
|
}();
|
|
1499
|
-
function
|
|
1489
|
+
function ko(e, t) {
|
|
1500
1490
|
e.observers_.add(t), e.lowestObserverState_ > t.dependenciesState_ && (e.lowestObserverState_ = t.dependenciesState_);
|
|
1501
1491
|
}
|
|
1502
1492
|
function Yi(e, t) {
|
|
@@ -1513,7 +1503,7 @@ function z() {
|
|
|
1513
1503
|
ia();
|
|
1514
1504
|
for (var e = _.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
1515
1505
|
var i = e[t];
|
|
1516
|
-
i.isPendingUnobservation_ = !1, i.observers_.size === 0 && (i.isBeingObserved_ && (i.isBeingObserved_ = !1, i.onBUO()), i instanceof
|
|
1506
|
+
i.isPendingUnobservation_ = !1, i.observers_.size === 0 && (i.isBeingObserved_ && (i.isBeingObserved_ = !1, i.onBUO()), i instanceof qe && i.suspend_());
|
|
1517
1507
|
}
|
|
1518
1508
|
_.pendingUnobservations = [];
|
|
1519
1509
|
}
|
|
@@ -1527,12 +1517,12 @@ function na(e) {
|
|
|
1527
1517
|
t.dependenciesState_ === D.UP_TO_DATE_ && t.onBecomeStale_(), t.dependenciesState_ = D.STALE_;
|
|
1528
1518
|
}));
|
|
1529
1519
|
}
|
|
1530
|
-
function
|
|
1520
|
+
function yo(e) {
|
|
1531
1521
|
e.lowestObserverState_ !== D.STALE_ && (e.lowestObserverState_ = D.STALE_, e.observers_.forEach(function(t) {
|
|
1532
1522
|
t.dependenciesState_ === D.POSSIBLY_STALE_ ? t.dependenciesState_ = D.STALE_ : t.dependenciesState_ === D.UP_TO_DATE_ && (e.lowestObserverState_ = D.UP_TO_DATE_);
|
|
1533
1523
|
}));
|
|
1534
1524
|
}
|
|
1535
|
-
function
|
|
1525
|
+
function _o(e) {
|
|
1536
1526
|
e.lowestObserverState_ === D.UP_TO_DATE_ && (e.lowestObserverState_ = D.POSSIBLY_STALE_, e.observers_.forEach(function(t) {
|
|
1537
1527
|
t.dependenciesState_ === D.UP_TO_DATE_ && (t.dependenciesState_ = D.POSSIBLY_STALE_, t.onBecomeStale_());
|
|
1538
1528
|
}));
|
|
@@ -1590,49 +1580,49 @@ var Et = /* @__PURE__ */ function() {
|
|
|
1590
1580
|
}, t.toString = function() {
|
|
1591
1581
|
return "Reaction[" + this.name_ + "]";
|
|
1592
1582
|
}, t.trace = function(n) {
|
|
1593
|
-
n === void 0 && (n = !1),
|
|
1583
|
+
n === void 0 && (n = !1), Uo(this, n);
|
|
1594
1584
|
}, e;
|
|
1595
|
-
}(),
|
|
1585
|
+
}(), So = 100, bo = function(t) {
|
|
1596
1586
|
return t();
|
|
1597
1587
|
};
|
|
1598
1588
|
function ia() {
|
|
1599
|
-
_.inBatch > 0 || _.isRunningReactions ||
|
|
1589
|
+
_.inBatch > 0 || _.isRunningReactions || bo(No);
|
|
1600
1590
|
}
|
|
1601
|
-
function
|
|
1591
|
+
function No() {
|
|
1602
1592
|
_.isRunningReactions = !0;
|
|
1603
1593
|
for (var e = _.pendingReactions, t = 0; e.length > 0; ) {
|
|
1604
|
-
++t ===
|
|
1594
|
+
++t === So && (console.error("[mobx] cycle in reaction: " + e[0]), e.splice(0));
|
|
1605
1595
|
for (var i = e.splice(0), n = 0, a = i.length; n < a; n++)
|
|
1606
1596
|
i[n].runReaction_();
|
|
1607
1597
|
}
|
|
1608
1598
|
_.isRunningReactions = !1;
|
|
1609
1599
|
}
|
|
1610
1600
|
var wt = /* @__PURE__ */ Se("Reaction", Et);
|
|
1611
|
-
function
|
|
1601
|
+
function We() {
|
|
1612
1602
|
return !1;
|
|
1613
1603
|
}
|
|
1614
|
-
function
|
|
1604
|
+
function Oo(e) {
|
|
1615
1605
|
return console.warn("[mobx.spy] Is a no-op in production builds"), function() {
|
|
1616
1606
|
};
|
|
1617
1607
|
}
|
|
1618
|
-
var aa = "action",
|
|
1608
|
+
var aa = "action", Eo = "action.bound", ra = "autoAction", wo = "autoAction.bound", Ao = "<unnamed action>", oa = /* @__PURE__ */ rt(aa), Fo = /* @__PURE__ */ rt(Eo, {
|
|
1619
1609
|
bound: !0
|
|
1620
|
-
}), sa = /* @__PURE__ */
|
|
1610
|
+
}), sa = /* @__PURE__ */ rt(ra, {
|
|
1621
1611
|
autoAction: !0
|
|
1622
|
-
}),
|
|
1612
|
+
}), Co = /* @__PURE__ */ rt(wo, {
|
|
1623
1613
|
autoAction: !0,
|
|
1624
1614
|
bound: !0
|
|
1625
1615
|
});
|
|
1626
1616
|
function ua(e) {
|
|
1627
1617
|
var t = function(n, a) {
|
|
1628
1618
|
if (Z(n))
|
|
1629
|
-
return xe(n.name ||
|
|
1619
|
+
return xe(n.name || Ao, n, e);
|
|
1630
1620
|
if (Z(a))
|
|
1631
1621
|
return xe(n, a, e);
|
|
1632
1622
|
if (ke(a))
|
|
1633
|
-
return
|
|
1623
|
+
return it(n, a, e ? sa : oa);
|
|
1634
1624
|
if (ke(n))
|
|
1635
|
-
return ee(
|
|
1625
|
+
return ee(rt(e ? ra : aa, {
|
|
1636
1626
|
name: n,
|
|
1637
1627
|
autoAction: e
|
|
1638
1628
|
}));
|
|
@@ -1641,10 +1631,10 @@ function ua(e) {
|
|
|
1641
1631
|
}
|
|
1642
1632
|
var fe = /* @__PURE__ */ ua(!1);
|
|
1643
1633
|
Object.assign(fe, oa);
|
|
1644
|
-
var
|
|
1645
|
-
Object.assign(
|
|
1646
|
-
fe.bound = /* @__PURE__ */ ee(
|
|
1647
|
-
|
|
1634
|
+
var Je = /* @__PURE__ */ ua(!0);
|
|
1635
|
+
Object.assign(Je, sa);
|
|
1636
|
+
fe.bound = /* @__PURE__ */ ee(Fo);
|
|
1637
|
+
Je.bound = /* @__PURE__ */ ee(Co);
|
|
1648
1638
|
function kn(e) {
|
|
1649
1639
|
return Z(e) && e.isMobxAction === !0;
|
|
1650
1640
|
}
|
|
@@ -1669,18 +1659,18 @@ function yn(e, t) {
|
|
|
1669
1659
|
}
|
|
1670
1660
|
return o.schedule_(), o.getDisposer_();
|
|
1671
1661
|
}
|
|
1672
|
-
var
|
|
1662
|
+
var Ro = function(t) {
|
|
1673
1663
|
return t();
|
|
1674
1664
|
};
|
|
1675
1665
|
function la(e) {
|
|
1676
1666
|
return e.scheduler ? e.scheduler : e.delay ? function(t) {
|
|
1677
1667
|
return setTimeout(t, e.delay);
|
|
1678
|
-
} :
|
|
1668
|
+
} : Ro;
|
|
1679
1669
|
}
|
|
1680
|
-
function
|
|
1670
|
+
function To(e, t, i) {
|
|
1681
1671
|
var n;
|
|
1682
1672
|
i === void 0 && (i = mn);
|
|
1683
|
-
var a = (n = i.name) != null ? n : "Reaction", r = fe(a, i.onError ?
|
|
1673
|
+
var a = (n = i.name) != null ? n : "Reaction", r = fe(a, i.onError ? Do(i.onError, t) : t), o = !i.scheduler && !i.delay, s = la(i), u = !0, l = !1, d, c, p = i.compareStructural ? Te.structural : i.equals || Te.default, g = new Et(a, function() {
|
|
1684
1674
|
u || o ? S() : l || (l = !0, s(S));
|
|
1685
1675
|
}, i.onError, i.requiresObservable);
|
|
1686
1676
|
function S() {
|
|
@@ -1696,7 +1686,7 @@ function xo(e, t, i) {
|
|
|
1696
1686
|
}
|
|
1697
1687
|
return g.schedule_(), g.getDisposer_();
|
|
1698
1688
|
}
|
|
1699
|
-
function
|
|
1689
|
+
function Do(e, t) {
|
|
1700
1690
|
return function() {
|
|
1701
1691
|
try {
|
|
1702
1692
|
return t.apply(this, arguments);
|
|
@@ -1705,12 +1695,12 @@ function Po(e, t) {
|
|
|
1705
1695
|
}
|
|
1706
1696
|
};
|
|
1707
1697
|
}
|
|
1708
|
-
var
|
|
1709
|
-
function
|
|
1710
|
-
return ca(
|
|
1698
|
+
var xo = "onBO", Po = "onBUO";
|
|
1699
|
+
function Lo(e, t, i) {
|
|
1700
|
+
return ca(xo, e, t, i);
|
|
1711
1701
|
}
|
|
1712
1702
|
function da(e, t, i) {
|
|
1713
|
-
return ca(
|
|
1703
|
+
return ca(Po, e, t, i);
|
|
1714
1704
|
}
|
|
1715
1705
|
function ca(e, t, i, n) {
|
|
1716
1706
|
var a = typeof n == "function" ? ye(t, i) : ye(t), r = Z(n) ? n : i, o = e + "L";
|
|
@@ -1720,7 +1710,7 @@ function ca(e, t, i, n) {
|
|
|
1720
1710
|
};
|
|
1721
1711
|
}
|
|
1722
1712
|
function fa(e, t, i, n) {
|
|
1723
|
-
var a =
|
|
1713
|
+
var a = Or(t), r = ct(e, n)[F];
|
|
1724
1714
|
G();
|
|
1725
1715
|
try {
|
|
1726
1716
|
Ce(a).forEach(function(o) {
|
|
@@ -1736,18 +1726,18 @@ function fa(e, t, i, n) {
|
|
|
1736
1726
|
}
|
|
1737
1727
|
return e;
|
|
1738
1728
|
}
|
|
1739
|
-
var
|
|
1729
|
+
var Io = 0;
|
|
1740
1730
|
function ma() {
|
|
1741
1731
|
this.message = "FLOW_CANCELLED";
|
|
1742
1732
|
}
|
|
1743
1733
|
ma.prototype = /* @__PURE__ */ Object.create(Error.prototype);
|
|
1744
|
-
var Mn = /* @__PURE__ */ ji("flow"),
|
|
1734
|
+
var Mn = /* @__PURE__ */ ji("flow"), Vo = /* @__PURE__ */ ji("flow.bound", {
|
|
1745
1735
|
bound: !0
|
|
1746
|
-
}),
|
|
1736
|
+
}), He = /* @__PURE__ */ Object.assign(function(t, i) {
|
|
1747
1737
|
if (ke(i))
|
|
1748
|
-
return
|
|
1738
|
+
return it(t, i, Mn);
|
|
1749
1739
|
var n = t, a = n.name || "<unnamed flow>", r = function() {
|
|
1750
|
-
var s = this, u = arguments, l = ++
|
|
1740
|
+
var s = this, u = arguments, l = ++Io, d = fe(a + " - runid: " + l + " - init", n).apply(s, u), c, p = void 0, g = new Promise(function(S, v) {
|
|
1751
1741
|
var m = 0;
|
|
1752
1742
|
c = v;
|
|
1753
1743
|
function y(O) {
|
|
@@ -1791,30 +1781,30 @@ var Mn = /* @__PURE__ */ ji("flow"), Uo = /* @__PURE__ */ ji("flow.bound", {
|
|
|
1791
1781
|
};
|
|
1792
1782
|
return r.isMobXFlow = !0, r;
|
|
1793
1783
|
}, Mn);
|
|
1794
|
-
|
|
1784
|
+
He.bound = /* @__PURE__ */ ee(Vo);
|
|
1795
1785
|
function Bn(e) {
|
|
1796
1786
|
Z(e.cancel) && e.cancel();
|
|
1797
1787
|
}
|
|
1798
1788
|
function At(e) {
|
|
1799
1789
|
return (e == null ? void 0 : e.isMobXFlow) === !0;
|
|
1800
1790
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return e ? t !== void 0 ?
|
|
1791
|
+
function jo(e, t) {
|
|
1792
|
+
return e ? t !== void 0 ? Ze(e) ? e[F].values_.has(t) : !1 : Ze(e) || !!e[F] || vn(e) || wt(e) || It(e) : !1;
|
|
1803
1793
|
}
|
|
1804
|
-
function
|
|
1805
|
-
return
|
|
1794
|
+
function ut(e) {
|
|
1795
|
+
return jo(e);
|
|
1806
1796
|
}
|
|
1807
|
-
function
|
|
1797
|
+
function Uo() {
|
|
1808
1798
|
x("trace() is not available in production builds");
|
|
1809
1799
|
for (var e = !1, t = arguments.length, i = new Array(t), n = 0; n < t; n++)
|
|
1810
1800
|
i[n] = arguments[n];
|
|
1811
1801
|
typeof i[i.length - 1] == "boolean" && (e = i.pop());
|
|
1812
|
-
var a =
|
|
1802
|
+
var a = Mo(i);
|
|
1813
1803
|
if (!a)
|
|
1814
1804
|
return x("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
|
|
1815
1805
|
a.isTracing_ === ge.NONE && console.log("[mobx.trace] '" + a.name_ + "' tracing enabled"), a.isTracing_ = e ? ge.BREAK : ge.LOG;
|
|
1816
1806
|
}
|
|
1817
|
-
function
|
|
1807
|
+
function Mo(e) {
|
|
1818
1808
|
switch (e.length) {
|
|
1819
1809
|
case 0:
|
|
1820
1810
|
return _.trackingDerivation;
|
|
@@ -1835,7 +1825,7 @@ function oe(e, t) {
|
|
|
1835
1825
|
function Oe(e) {
|
|
1836
1826
|
return e[F];
|
|
1837
1827
|
}
|
|
1838
|
-
var
|
|
1828
|
+
var Bo = {
|
|
1839
1829
|
has: function(t, i) {
|
|
1840
1830
|
return Oe(t).has_(i);
|
|
1841
1831
|
},
|
|
@@ -1861,14 +1851,14 @@ var zo = {
|
|
|
1861
1851
|
x(13);
|
|
1862
1852
|
}
|
|
1863
1853
|
};
|
|
1864
|
-
function
|
|
1854
|
+
function Go(e, t) {
|
|
1865
1855
|
var i, n;
|
|
1866
|
-
return Ci(), e =
|
|
1856
|
+
return Ci(), e = ct(e, t), (n = (i = e[F]).proxy_) != null ? n : i.proxy_ = new Proxy(e, Bo);
|
|
1867
1857
|
}
|
|
1868
1858
|
function K(e) {
|
|
1869
1859
|
return e.interceptors_ !== void 0 && e.interceptors_.length > 0;
|
|
1870
1860
|
}
|
|
1871
|
-
function
|
|
1861
|
+
function lt(e, t) {
|
|
1872
1862
|
var i = e.interceptors_ || (e.interceptors_ = []);
|
|
1873
1863
|
return i.push(t), Ri(function() {
|
|
1874
1864
|
var n = i.indexOf(t);
|
|
@@ -1888,7 +1878,7 @@ function Q(e, t) {
|
|
|
1888
1878
|
function q(e) {
|
|
1889
1879
|
return e.changeListeners_ !== void 0 && e.changeListeners_.length > 0;
|
|
1890
1880
|
}
|
|
1891
|
-
function
|
|
1881
|
+
function dt(e, t) {
|
|
1892
1882
|
var i = e.changeListeners_ || (e.changeListeners_ = []);
|
|
1893
1883
|
return i.push(t), Ri(function() {
|
|
1894
1884
|
var n = i.indexOf(t);
|
|
@@ -1904,12 +1894,12 @@ function J(e, t) {
|
|
|
1904
1894
|
he(i);
|
|
1905
1895
|
}
|
|
1906
1896
|
}
|
|
1907
|
-
function
|
|
1908
|
-
var n =
|
|
1897
|
+
function zo(e, t, i) {
|
|
1898
|
+
var n = ct(e, i)[F];
|
|
1909
1899
|
G();
|
|
1910
1900
|
try {
|
|
1911
1901
|
var a;
|
|
1912
|
-
(a = t) != null || (t =
|
|
1902
|
+
(a = t) != null || (t = Fr(e)), Ce(t).forEach(function(r) {
|
|
1913
1903
|
return n.make_(r, t[r]);
|
|
1914
1904
|
});
|
|
1915
1905
|
} finally {
|
|
@@ -1918,13 +1908,13 @@ function Ko(e, t, i) {
|
|
|
1918
1908
|
return e;
|
|
1919
1909
|
}
|
|
1920
1910
|
var Zt = /* @__PURE__ */ Symbol("mobx-keys");
|
|
1921
|
-
function
|
|
1911
|
+
function $o(e, t, i) {
|
|
1922
1912
|
if (le(e))
|
|
1923
1913
|
return fa(e, e, t, i);
|
|
1924
|
-
var n =
|
|
1914
|
+
var n = ct(e, i)[F];
|
|
1925
1915
|
if (!e[Zt]) {
|
|
1926
1916
|
var a = Object.getPrototypeOf(e), r = new Set([].concat(Ce(e), Ce(a)));
|
|
1927
|
-
r.delete("constructor"), r.delete(F),
|
|
1917
|
+
r.delete("constructor"), r.delete(F), tt(a, Zt, r);
|
|
1928
1918
|
}
|
|
1929
1919
|
G();
|
|
1930
1920
|
try {
|
|
@@ -1940,7 +1930,7 @@ function Qo(e, t, i) {
|
|
|
1940
1930
|
}
|
|
1941
1931
|
return e;
|
|
1942
1932
|
}
|
|
1943
|
-
var Gn = "splice", te = "update",
|
|
1933
|
+
var Gn = "splice", te = "update", Ko = 1e4, Qo = {
|
|
1944
1934
|
get: function(t, i) {
|
|
1945
1935
|
var n = t[F];
|
|
1946
1936
|
return i === F ? n : i === "length" ? n.getArrayLength_() : typeof i == "string" && !isNaN(i) ? n.get_(parseInt(i)) : ue(Ft, i) ? Ft[i] : t[i];
|
|
@@ -1954,7 +1944,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
1954
1944
|
}
|
|
1955
1945
|
}, _n = /* @__PURE__ */ function() {
|
|
1956
1946
|
function e(i, n, a, r) {
|
|
1957
|
-
i === void 0 && (i = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = a, this.legacyMode_ = r, this.atom_ = new
|
|
1947
|
+
i === void 0 && (i = "ObservableArray"), this.owned_ = void 0, this.legacyMode_ = void 0, this.atom_ = void 0, this.values_ = [], this.interceptors_ = void 0, this.changeListeners_ = void 0, this.enhancer_ = void 0, this.dehancer = void 0, this.proxy_ = void 0, this.lastKnownLength_ = 0, this.owned_ = a, this.legacyMode_ = r, this.atom_ = new at(i), this.enhancer_ = function(o, s) {
|
|
1958
1948
|
return n(o, s, "ObservableArray[..]");
|
|
1959
1949
|
};
|
|
1960
1950
|
}
|
|
@@ -1964,7 +1954,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
1964
1954
|
}, t.dehanceValues_ = function(n) {
|
|
1965
1955
|
return this.dehancer !== void 0 && n.length > 0 ? n.map(this.dehancer) : n;
|
|
1966
1956
|
}, t.intercept_ = function(n) {
|
|
1967
|
-
return
|
|
1957
|
+
return lt(this, n);
|
|
1968
1958
|
}, t.observe_ = function(n, a) {
|
|
1969
1959
|
return a === void 0 && (a = !1), a && n({
|
|
1970
1960
|
observableKind: "array",
|
|
@@ -1976,7 +1966,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
1976
1966
|
addedCount: this.values_.length,
|
|
1977
1967
|
removed: [],
|
|
1978
1968
|
removedCount: 0
|
|
1979
|
-
}),
|
|
1969
|
+
}), dt(this, n);
|
|
1980
1970
|
}, t.getArrayLength_ = function() {
|
|
1981
1971
|
return this.atom_.reportObserved(), this.values_.length;
|
|
1982
1972
|
}, t.setArrayLength_ = function(n) {
|
|
@@ -2016,7 +2006,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
2016
2006
|
var d = this.spliceItemsIntoValues_(n, a, r);
|
|
2017
2007
|
return (a !== 0 || r.length !== 0) && this.notifyArraySplice_(n, r, d), this.dehanceValues_(d);
|
|
2018
2008
|
}, t.spliceItemsIntoValues_ = function(n, a, r) {
|
|
2019
|
-
if (r.length <
|
|
2009
|
+
if (r.length < Ko) {
|
|
2020
2010
|
var o;
|
|
2021
2011
|
return (o = this.values_).splice.apply(o, [n, a].concat(r));
|
|
2022
2012
|
} else {
|
|
@@ -2029,7 +2019,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
2029
2019
|
return s;
|
|
2030
2020
|
}
|
|
2031
2021
|
}, t.notifyArrayChildUpdate_ = function(n, a, r) {
|
|
2032
|
-
var o = !this.owned_ &&
|
|
2022
|
+
var o = !this.owned_ && We(), s = q(this), u = s || o ? {
|
|
2033
2023
|
observableKind: "array",
|
|
2034
2024
|
object: this.proxy_,
|
|
2035
2025
|
type: te,
|
|
@@ -2040,7 +2030,7 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
2040
2030
|
} : null;
|
|
2041
2031
|
this.atom_.reportChanged(), s && J(this, u);
|
|
2042
2032
|
}, t.notifyArraySplice_ = function(n, a, r) {
|
|
2043
|
-
var o = !this.owned_ &&
|
|
2033
|
+
var o = !this.owned_ && We(), s = q(this), u = s || o ? {
|
|
2044
2034
|
observableKind: "array",
|
|
2045
2035
|
object: this.proxy_,
|
|
2046
2036
|
debugObjectName: this.atom_.name_,
|
|
@@ -2084,14 +2074,14 @@ var Gn = "splice", te = "update", Wo = 1e4, qo = {
|
|
|
2084
2074
|
}
|
|
2085
2075
|
}, e;
|
|
2086
2076
|
}();
|
|
2087
|
-
function
|
|
2077
|
+
function Wo(e, t, i, n) {
|
|
2088
2078
|
i === void 0 && (i = "ObservableArray"), n === void 0 && (n = !1), Ci();
|
|
2089
2079
|
var a = new _n(i, t, n, !1);
|
|
2090
2080
|
Di(a.values_, F, a);
|
|
2091
|
-
var r = new Proxy(a.values_,
|
|
2081
|
+
var r = new Proxy(a.values_, Qo);
|
|
2092
2082
|
if (a.proxy_ = r, e && e.length) {
|
|
2093
|
-
var o =
|
|
2094
|
-
a.spliceWithArray_(0, 0, e),
|
|
2083
|
+
var o = ot(!0);
|
|
2084
|
+
a.spliceWithArray_(0, 0, e), st(o);
|
|
2095
2085
|
}
|
|
2096
2086
|
return r;
|
|
2097
2087
|
}
|
|
@@ -2209,17 +2199,17 @@ function ha(e) {
|
|
|
2209
2199
|
}, n[e].apply(n, arguments);
|
|
2210
2200
|
};
|
|
2211
2201
|
}
|
|
2212
|
-
var
|
|
2202
|
+
var qo = /* @__PURE__ */ Se("ObservableArrayAdministration", _n);
|
|
2213
2203
|
function Vt(e) {
|
|
2214
|
-
return xt(e) &&
|
|
2204
|
+
return xt(e) && qo(e[F]);
|
|
2215
2205
|
}
|
|
2216
|
-
var va, pa,
|
|
2206
|
+
var va, pa, Jo = {}, me = "add", Ct = "delete";
|
|
2217
2207
|
va = Symbol.iterator;
|
|
2218
2208
|
pa = Symbol.toStringTag;
|
|
2219
2209
|
var ga = /* @__PURE__ */ function() {
|
|
2220
2210
|
function e(i, n, a) {
|
|
2221
2211
|
var r = this;
|
|
2222
|
-
n === void 0 && (n = De), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[F] =
|
|
2212
|
+
n === void 0 && (n = De), a === void 0 && (a = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[F] = Jo, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = n, this.name_ = a, Z(Map) || x(18), this.keysAtom_ = Ii("ObservableMap.keys()"), this.data_ = /* @__PURE__ */ new Map(), this.hasMap_ = /* @__PURE__ */ new Map(), Wi(!0, function() {
|
|
2223
2213
|
r.merge(i);
|
|
2224
2214
|
});
|
|
2225
2215
|
}
|
|
@@ -2264,7 +2254,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2264
2254
|
return !1;
|
|
2265
2255
|
}
|
|
2266
2256
|
if (this.has_(n)) {
|
|
2267
|
-
var o =
|
|
2257
|
+
var o = We(), s = q(this), u = s || o ? {
|
|
2268
2258
|
observableKind: "map",
|
|
2269
2259
|
debugObjectName: this.name_,
|
|
2270
2260
|
type: Ct,
|
|
@@ -2283,7 +2273,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2283
2273
|
}, t.updateValue_ = function(n, a) {
|
|
2284
2274
|
var r = this.data_.get(n);
|
|
2285
2275
|
if (a = r.prepareNewValue_(a), a !== _.UNCHANGED) {
|
|
2286
|
-
var o =
|
|
2276
|
+
var o = We(), s = q(this), u = s || o ? {
|
|
2287
2277
|
observableKind: "map",
|
|
2288
2278
|
debugObjectName: this.name_,
|
|
2289
2279
|
type: te,
|
|
@@ -2300,7 +2290,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2300
2290
|
var l, d = new Fe(a, r.enhancer_, "ObservableMap.key", !1);
|
|
2301
2291
|
r.data_.set(n, d), a = d.value_, (l = r.hasMap_.get(n)) == null || l.setNewValue_(!0), r.keysAtom_.reportChanged();
|
|
2302
2292
|
});
|
|
2303
|
-
var o =
|
|
2293
|
+
var o = We(), s = q(this), u = s || o ? {
|
|
2304
2294
|
observableKind: "map",
|
|
2305
2295
|
debugObjectName: this.name_,
|
|
2306
2296
|
type: me,
|
|
@@ -2317,7 +2307,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2317
2307
|
return this.keysAtom_.reportObserved(), this.data_.keys();
|
|
2318
2308
|
}, t.values = function() {
|
|
2319
2309
|
var n = this, a = this.keys();
|
|
2320
|
-
return
|
|
2310
|
+
return Xe({
|
|
2321
2311
|
next: function() {
|
|
2322
2312
|
var o = a.next(), s = o.done, u = o.value;
|
|
2323
2313
|
return {
|
|
@@ -2328,7 +2318,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2328
2318
|
});
|
|
2329
2319
|
}, t.entries = function() {
|
|
2330
2320
|
var n = this, a = this.keys();
|
|
2331
|
-
return
|
|
2321
|
+
return Xe({
|
|
2332
2322
|
next: function() {
|
|
2333
2323
|
var o = a.next(), s = o.done, u = o.value;
|
|
2334
2324
|
return {
|
|
@@ -2347,7 +2337,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2347
2337
|
}, t.merge = function(n) {
|
|
2348
2338
|
var a = this;
|
|
2349
2339
|
return be(n) && (n = new Map(n)), oe(function() {
|
|
2350
|
-
le(n) ?
|
|
2340
|
+
le(n) ? Nr(n).forEach(function(r) {
|
|
2351
2341
|
return a.set(r, n[r]);
|
|
2352
2342
|
}) : Array.isArray(n) ? n.forEach(function(r) {
|
|
2353
2343
|
var o = r[0], s = r[1];
|
|
@@ -2369,7 +2359,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2369
2359
|
}, t.replace = function(n) {
|
|
2370
2360
|
var a = this;
|
|
2371
2361
|
return oe(function() {
|
|
2372
|
-
for (var r =
|
|
2362
|
+
for (var r = Ho(n), o = /* @__PURE__ */ new Map(), s = !1, u = Ae(a.data_.keys()), l; !(l = u()).done; ) {
|
|
2373
2363
|
var d = l.value;
|
|
2374
2364
|
if (!r.has(d)) {
|
|
2375
2365
|
var c = a.delete(d);
|
|
@@ -2406,9 +2396,9 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2406
2396
|
}, t.toJSON = function() {
|
|
2407
2397
|
return Array.from(this);
|
|
2408
2398
|
}, t.observe_ = function(n, a) {
|
|
2409
|
-
return
|
|
2399
|
+
return dt(this, n);
|
|
2410
2400
|
}, t.intercept_ = function(n) {
|
|
2411
|
-
return
|
|
2401
|
+
return lt(this, n);
|
|
2412
2402
|
}, hn(e, [{
|
|
2413
2403
|
key: "size",
|
|
2414
2404
|
get: function() {
|
|
@@ -2421,7 +2411,7 @@ var ga = /* @__PURE__ */ function() {
|
|
|
2421
2411
|
}
|
|
2422
2412
|
}]), e;
|
|
2423
2413
|
}(), be = /* @__PURE__ */ Se("ObservableMap", ga);
|
|
2424
|
-
function
|
|
2414
|
+
function Ho(e) {
|
|
2425
2415
|
if (Ie(e) || be(e))
|
|
2426
2416
|
return e;
|
|
2427
2417
|
if (Array.isArray(e))
|
|
@@ -2434,12 +2424,12 @@ function Xo(e) {
|
|
|
2434
2424
|
} else
|
|
2435
2425
|
return x(21, e);
|
|
2436
2426
|
}
|
|
2437
|
-
var ka, ya,
|
|
2427
|
+
var ka, ya, Zo = {};
|
|
2438
2428
|
ka = Symbol.iterator;
|
|
2439
2429
|
ya = Symbol.toStringTag;
|
|
2440
2430
|
var _a = /* @__PURE__ */ function() {
|
|
2441
2431
|
function e(i, n, a) {
|
|
2442
|
-
n === void 0 && (n = De), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[F] =
|
|
2432
|
+
n === void 0 && (n = De), a === void 0 && (a = "ObservableSet"), this.name_ = void 0, this[F] = Zo, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = a, Z(Set) || x(22), this.atom_ = Ii(this.name_), this.enhancer_ = function(r, o) {
|
|
2443
2433
|
return n(r, o, a);
|
|
2444
2434
|
}, i && this.replace(i);
|
|
2445
2435
|
}
|
|
@@ -2514,7 +2504,7 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2514
2504
|
return this.atom_.reportObserved(), this.data_.has(this.dehanceValue_(n));
|
|
2515
2505
|
}, t.entries = function() {
|
|
2516
2506
|
var n = 0, a = Array.from(this.keys()), r = Array.from(this.values());
|
|
2517
|
-
return
|
|
2507
|
+
return Xe({
|
|
2518
2508
|
next: function() {
|
|
2519
2509
|
var s = n;
|
|
2520
2510
|
return n += 1, s < r.length ? {
|
|
@@ -2530,7 +2520,7 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2530
2520
|
}, t.values = function() {
|
|
2531
2521
|
this.atom_.reportObserved();
|
|
2532
2522
|
var n = this, a = 0, r = Array.from(this.data_.values());
|
|
2533
|
-
return
|
|
2523
|
+
return Xe({
|
|
2534
2524
|
next: function() {
|
|
2535
2525
|
return a < r.length ? {
|
|
2536
2526
|
value: n.dehanceValue_(r[a++]),
|
|
@@ -2545,14 +2535,14 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2545
2535
|
return je(n) && (n = new Set(n)), oe(function() {
|
|
2546
2536
|
Array.isArray(n) ? (a.clear(), n.forEach(function(r) {
|
|
2547
2537
|
return a.add(r);
|
|
2548
|
-
})) :
|
|
2538
|
+
})) : nt(n) ? (a.clear(), n.forEach(function(r) {
|
|
2549
2539
|
return a.add(r);
|
|
2550
2540
|
})) : n != null && x("Cannot initialize set from " + n);
|
|
2551
2541
|
}), this;
|
|
2552
2542
|
}, t.observe_ = function(n, a) {
|
|
2553
|
-
return
|
|
2543
|
+
return dt(this, n);
|
|
2554
2544
|
}, t.intercept_ = function(n) {
|
|
2555
|
-
return
|
|
2545
|
+
return lt(this, n);
|
|
2556
2546
|
}, t.toJSON = function() {
|
|
2557
2547
|
return Array.from(this);
|
|
2558
2548
|
}, t.toString = function() {
|
|
@@ -2572,14 +2562,14 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2572
2562
|
}]), e;
|
|
2573
2563
|
}(), je = /* @__PURE__ */ Se("ObservableSet", _a), zn = /* @__PURE__ */ Object.create(null), $n = "remove", Sa = /* @__PURE__ */ function() {
|
|
2574
2564
|
function e(i, n, a, r) {
|
|
2575
|
-
n === void 0 && (n = /* @__PURE__ */ new Map()), r === void 0 && (r =
|
|
2565
|
+
n === void 0 && (n = /* @__PURE__ */ new Map()), r === void 0 && (r = Hr), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = i, this.values_ = n, this.name_ = a, this.defaultAnnotation_ = r, this.keysAtom_ = new at("ObservableObject.keys"), this.isPlainObject_ = le(this.target_);
|
|
2576
2566
|
}
|
|
2577
2567
|
var t = e.prototype;
|
|
2578
2568
|
return t.getObservablePropValue_ = function(n) {
|
|
2579
2569
|
return this.values_.get(n).get();
|
|
2580
2570
|
}, t.setObservablePropValue_ = function(n, a) {
|
|
2581
2571
|
var r = this.values_.get(n);
|
|
2582
|
-
if (r instanceof
|
|
2572
|
+
if (r instanceof qe)
|
|
2583
2573
|
return r.set(a), !0;
|
|
2584
2574
|
if (K(this)) {
|
|
2585
2575
|
var o = Q(this, {
|
|
@@ -2741,7 +2731,7 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2741
2731
|
return !1;
|
|
2742
2732
|
} else
|
|
2743
2733
|
Y(this.target_, n, l);
|
|
2744
|
-
this.values_.set(n, new
|
|
2734
|
+
this.values_.set(n, new qe(a)), this.notifyPropertyAddition_(n, void 0);
|
|
2745
2735
|
} finally {
|
|
2746
2736
|
z();
|
|
2747
2737
|
}
|
|
@@ -2787,9 +2777,9 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2787
2777
|
}
|
|
2788
2778
|
return !0;
|
|
2789
2779
|
}, t.observe_ = function(n, a) {
|
|
2790
|
-
return
|
|
2780
|
+
return dt(this, n);
|
|
2791
2781
|
}, t.intercept_ = function(n) {
|
|
2792
|
-
return
|
|
2782
|
+
return lt(this, n);
|
|
2793
2783
|
}, t.notifyPropertyAddition_ = function(n, a) {
|
|
2794
2784
|
var r, o, s = q(this), u = !1;
|
|
2795
2785
|
if (s || u) {
|
|
@@ -2810,14 +2800,14 @@ var _a = /* @__PURE__ */ function() {
|
|
|
2810
2800
|
return this.keysAtom_.reportObserved(), Object.keys(this.target_);
|
|
2811
2801
|
}, e;
|
|
2812
2802
|
}();
|
|
2813
|
-
function
|
|
2803
|
+
function ct(e, t) {
|
|
2814
2804
|
var i;
|
|
2815
2805
|
if (ue(e, F))
|
|
2816
2806
|
return e;
|
|
2817
|
-
var n = (i = t == null ? void 0 : t.name) != null ? i : "ObservableObject", a = new Sa(e, /* @__PURE__ */ new Map(), String(n),
|
|
2818
|
-
return
|
|
2807
|
+
var n = (i = t == null ? void 0 : t.name) != null ? i : "ObservableObject", a = new Sa(e, /* @__PURE__ */ new Map(), String(n), oo(t));
|
|
2808
|
+
return tt(e, F, a), e;
|
|
2819
2809
|
}
|
|
2820
|
-
var
|
|
2810
|
+
var Xo = /* @__PURE__ */ Se("ObservableObjectAdministration", Sa);
|
|
2821
2811
|
function Kn(e) {
|
|
2822
2812
|
return zn[e] || (zn[e] = {
|
|
2823
2813
|
get: function() {
|
|
@@ -2828,19 +2818,19 @@ function Kn(e) {
|
|
|
2828
2818
|
}
|
|
2829
2819
|
});
|
|
2830
2820
|
}
|
|
2831
|
-
function
|
|
2832
|
-
return xt(e) ?
|
|
2821
|
+
function Ze(e) {
|
|
2822
|
+
return xt(e) ? Xo(e[F]) : !1;
|
|
2833
2823
|
}
|
|
2834
2824
|
function Qn(e, t, i) {
|
|
2835
2825
|
var n;
|
|
2836
2826
|
(n = e.target_[X]) == null || delete n[i];
|
|
2837
2827
|
}
|
|
2838
|
-
var
|
|
2828
|
+
var Yo = /* @__PURE__ */ Na(0), Xt = 0, ba = function() {
|
|
2839
2829
|
};
|
|
2840
|
-
function
|
|
2830
|
+
function es(e, t) {
|
|
2841
2831
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, t) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = t : e.prototype = t;
|
|
2842
2832
|
}
|
|
2843
|
-
|
|
2833
|
+
es(ba, Array.prototype);
|
|
2844
2834
|
var Sn = /* @__PURE__ */ function(e, t, i) {
|
|
2845
2835
|
Li(n, e);
|
|
2846
2836
|
function n(r, o, s, u) {
|
|
@@ -2848,10 +2838,10 @@ var Sn = /* @__PURE__ */ function(e, t, i) {
|
|
|
2848
2838
|
s === void 0 && (s = "ObservableArray"), u === void 0 && (u = !1), l = e.call(this) || this;
|
|
2849
2839
|
var d = new _n(s, o, u, !0);
|
|
2850
2840
|
if (d.proxy_ = qt(l), Di(qt(l), F, d), r && r.length) {
|
|
2851
|
-
var c =
|
|
2852
|
-
l.spliceWithArray(0, 0, r),
|
|
2841
|
+
var c = ot(!0);
|
|
2842
|
+
l.spliceWithArray(0, 0, r), st(c);
|
|
2853
2843
|
}
|
|
2854
|
-
return Object.defineProperty(qt(l), "0",
|
|
2844
|
+
return Object.defineProperty(qt(l), "0", Yo), l;
|
|
2855
2845
|
}
|
|
2856
2846
|
var a = n.prototype;
|
|
2857
2847
|
return a.concat = function() {
|
|
@@ -2867,7 +2857,7 @@ var Sn = /* @__PURE__ */ function(e, t, i) {
|
|
|
2867
2857
|
);
|
|
2868
2858
|
}, a[i] = function() {
|
|
2869
2859
|
var r = this, o = 0;
|
|
2870
|
-
return
|
|
2860
|
+
return Xe({
|
|
2871
2861
|
next: function() {
|
|
2872
2862
|
return o < r.length ? {
|
|
2873
2863
|
value: r[o++],
|
|
@@ -2895,7 +2885,7 @@ var Sn = /* @__PURE__ */ function(e, t, i) {
|
|
|
2895
2885
|
}(ba, Symbol.toStringTag, Symbol.iterator);
|
|
2896
2886
|
Object.entries(Ft).forEach(function(e) {
|
|
2897
2887
|
var t = e[0], i = e[1];
|
|
2898
|
-
t !== "concat" &&
|
|
2888
|
+
t !== "concat" && tt(Sn.prototype, t, i);
|
|
2899
2889
|
});
|
|
2900
2890
|
function Na(e) {
|
|
2901
2891
|
return {
|
|
@@ -2909,18 +2899,18 @@ function Na(e) {
|
|
|
2909
2899
|
}
|
|
2910
2900
|
};
|
|
2911
2901
|
}
|
|
2912
|
-
function
|
|
2902
|
+
function ts(e) {
|
|
2913
2903
|
Y(Sn.prototype, "" + e, Na(e));
|
|
2914
2904
|
}
|
|
2915
2905
|
function Oa(e) {
|
|
2916
2906
|
if (e > Xt) {
|
|
2917
2907
|
for (var t = Xt; t < e + 100; t++)
|
|
2918
|
-
|
|
2908
|
+
ts(t);
|
|
2919
2909
|
Xt = e;
|
|
2920
2910
|
}
|
|
2921
2911
|
}
|
|
2922
2912
|
Oa(1e3);
|
|
2923
|
-
function
|
|
2913
|
+
function ns(e, t, i) {
|
|
2924
2914
|
return new Sn(e, t, i);
|
|
2925
2915
|
}
|
|
2926
2916
|
function ye(e, t) {
|
|
@@ -2935,7 +2925,7 @@ function ye(e, t) {
|
|
|
2935
2925
|
var i = e.data_.get(t) || e.hasMap_.get(t);
|
|
2936
2926
|
return i || x(25, t, on(e)), i;
|
|
2937
2927
|
}
|
|
2938
|
-
if (
|
|
2928
|
+
if (Ze(e)) {
|
|
2939
2929
|
if (!t)
|
|
2940
2930
|
return x(26);
|
|
2941
2931
|
var n = e[F].values_.get(t);
|
|
@@ -2963,7 +2953,7 @@ function on(e, t) {
|
|
|
2963
2953
|
else {
|
|
2964
2954
|
if (kn(e))
|
|
2965
2955
|
return e.name;
|
|
2966
|
-
|
|
2956
|
+
Ze(e) || be(e) || je(e) ? i = Ea(e) : i = ye(e);
|
|
2967
2957
|
}
|
|
2968
2958
|
return i.name_;
|
|
2969
2959
|
}
|
|
@@ -3032,12 +3022,12 @@ function sn(e, t, i, n, a) {
|
|
|
3032
3022
|
return n.pop(), a.pop(), !0;
|
|
3033
3023
|
}
|
|
3034
3024
|
function qn(e) {
|
|
3035
|
-
return Vt(e) ? e.slice() : Ie(e) || be(e) ||
|
|
3025
|
+
return Vt(e) ? e.slice() : Ie(e) || be(e) || nt(e) || je(e) ? Array.from(e.entries()) : e;
|
|
3036
3026
|
}
|
|
3037
|
-
function
|
|
3038
|
-
return e[Symbol.iterator] =
|
|
3027
|
+
function Xe(e) {
|
|
3028
|
+
return e[Symbol.iterator] = is, e;
|
|
3039
3029
|
}
|
|
3040
|
-
function
|
|
3030
|
+
function is() {
|
|
3041
3031
|
return this;
|
|
3042
3032
|
}
|
|
3043
3033
|
["Symbol", "Map", "Set"].forEach(function(e) {
|
|
@@ -3045,12 +3035,22 @@ function rs() {
|
|
|
3045
3035
|
typeof t[e] == "undefined" && x("MobX requires global '" + e + "' to be available or polyfilled");
|
|
3046
3036
|
});
|
|
3047
3037
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
3048
|
-
spy:
|
|
3038
|
+
spy: Oo,
|
|
3049
3039
|
extras: {
|
|
3050
3040
|
getDebugName: on
|
|
3051
3041
|
},
|
|
3052
3042
|
$mobx: F
|
|
3053
3043
|
});
|
|
3044
|
+
let as = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, i) => (i &= 63, i < 36 ? t += i.toString(36) : i < 62 ? t += (i - 26).toString(36).toUpperCase() : i > 62 ? t += "-" : t += "_", t), "");
|
|
3045
|
+
const rs = (e = 8) => as(e), Ml = (e) => {
|
|
3046
|
+
const t = Object.entries(e).reduce((i, [n, a]) => a !== void 0 ? `${i}${i ? "&" : ""}${n}=${a}` : i, "");
|
|
3047
|
+
return t ? `?${t}` : "";
|
|
3048
|
+
};
|
|
3049
|
+
function Bl() {
|
|
3050
|
+
const e = new Error().stack.split(`
|
|
3051
|
+
`);
|
|
3052
|
+
return e.length < 3 ? "" : e[2].trim().substring(3);
|
|
3053
|
+
}
|
|
3054
3054
|
class jt extends Error {
|
|
3055
3055
|
constructor(t, i, n) {
|
|
3056
3056
|
super(i), this.value = n, this.name = t;
|
|
@@ -3126,7 +3126,7 @@ class ds {
|
|
|
3126
3126
|
constructor() {
|
|
3127
3127
|
C(this, "_config", null);
|
|
3128
3128
|
C(this, "_account");
|
|
3129
|
-
|
|
3129
|
+
$o(
|
|
3130
3130
|
this,
|
|
3131
3131
|
{},
|
|
3132
3132
|
{ name: "NizzaConfigManager", autoBind: !0 }
|
|
@@ -3163,9 +3163,9 @@ class cs {
|
|
|
3163
3163
|
C(this, "listeners", /* @__PURE__ */ new Map());
|
|
3164
3164
|
C(this, "eventQueue", /* @__PURE__ */ new Map());
|
|
3165
3165
|
try {
|
|
3166
|
-
this.channel = new BroadcastChannel("nizza"), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) =>
|
|
3166
|
+
this.channel = new BroadcastChannel("nizza"), this.channel.onmessage = (t) => this.handleMessage(t), this.channel.onmessageerror = (t) => $e.error("NizzaBroadcastChannel:", t);
|
|
3167
3167
|
} catch (t) {
|
|
3168
|
-
throw
|
|
3168
|
+
throw $e.error("Failed to create NizzaBroadcastChannel:", t), t;
|
|
3169
3169
|
}
|
|
3170
3170
|
}
|
|
3171
3171
|
/**
|
|
@@ -3226,7 +3226,7 @@ class cs {
|
|
|
3226
3226
|
subscribeToEvent(t, i) {
|
|
3227
3227
|
if (typeof t != "string" || typeof i != "function") {
|
|
3228
3228
|
const n = new Error("Invalid arguments");
|
|
3229
|
-
throw
|
|
3229
|
+
throw $e.error(n), n;
|
|
3230
3230
|
}
|
|
3231
3231
|
for (const [n, a] of this.listeners.entries())
|
|
3232
3232
|
if (this.matchWildcard(n, t)) {
|
|
@@ -3250,7 +3250,7 @@ class cs {
|
|
|
3250
3250
|
emitEvent(t, i, n) {
|
|
3251
3251
|
if (typeof t != "string") {
|
|
3252
3252
|
const o = new Error("Invalid arguments");
|
|
3253
|
-
throw
|
|
3253
|
+
throw $e.error(o), o;
|
|
3254
3254
|
}
|
|
3255
3255
|
const a = {
|
|
3256
3256
|
name: t,
|
|
@@ -3309,9 +3309,9 @@ const re = class {
|
|
|
3309
3309
|
C(this, "_productDataSource", null);
|
|
3310
3310
|
C(this, "_configManager", new ds());
|
|
3311
3311
|
C(this, "_eventBus", new cs());
|
|
3312
|
-
C(this, "instanceId",
|
|
3313
|
-
C(this, "log",
|
|
3314
|
-
|
|
3312
|
+
C(this, "instanceId", rs());
|
|
3313
|
+
C(this, "log", yr);
|
|
3314
|
+
zo(
|
|
3315
3315
|
this,
|
|
3316
3316
|
{
|
|
3317
3317
|
config: ce,
|
|
@@ -3353,10 +3353,10 @@ const re = class {
|
|
|
3353
3353
|
};
|
|
3354
3354
|
let _t = re;
|
|
3355
3355
|
C(_t, "_instance");
|
|
3356
|
-
const wa = _t.instance(),
|
|
3357
|
-
|
|
3358
|
-
Ei.reg(
|
|
3359
|
-
Ei.apply(
|
|
3356
|
+
const wa = _t.instance(), ft = wa.log, Aa = ft.levels.INFO;
|
|
3357
|
+
ft.setDefaultLevel(Aa);
|
|
3358
|
+
Ei.reg(ft);
|
|
3359
|
+
Ei.apply(ft, {
|
|
3360
3360
|
template: "[%t] %l (%n)",
|
|
3361
3361
|
nameFormatter: (e) => {
|
|
3362
3362
|
var t;
|
|
@@ -3364,9 +3364,9 @@ Ei.apply(ct, {
|
|
|
3364
3364
|
},
|
|
3365
3365
|
timestampFormatter: () => (/* @__PURE__ */ new Date()).toTimeString().slice(0, 8)
|
|
3366
3366
|
});
|
|
3367
|
-
const Fa = {}, zl = Ca("main"),
|
|
3367
|
+
const Fa = {}, zl = Ca("main"), $e = Ca("core");
|
|
3368
3368
|
function fs(e) {
|
|
3369
|
-
const t =
|
|
3369
|
+
const t = ft.getLogger(e);
|
|
3370
3370
|
return t.setLevel(Aa), t;
|
|
3371
3371
|
}
|
|
3372
3372
|
function ms(e, t) {
|
|
@@ -3379,6 +3379,32 @@ function Ca(e) {
|
|
|
3379
3379
|
const t = fs(e);
|
|
3380
3380
|
return ms(e, t), hs(e);
|
|
3381
3381
|
}
|
|
3382
|
+
function $l() {
|
|
3383
|
+
var n, a, r;
|
|
3384
|
+
let e = null, t = null, i = null;
|
|
3385
|
+
try {
|
|
3386
|
+
e = (r = (a = (n = Intl.DateTimeFormat()) == null ? void 0 : n.resolvedOptions()) == null ? void 0 : a.timeZone) != null ? r : null;
|
|
3387
|
+
const o = -(/* @__PURE__ */ new Date()).getTimezoneOffset();
|
|
3388
|
+
i = o;
|
|
3389
|
+
const s = o >= 0 ? "+" : "-", u = String(
|
|
3390
|
+
Math.floor(Math.abs(o) / 60)
|
|
3391
|
+
).padStart(2, "0"), l = String(Math.abs(o) % 60).padStart(
|
|
3392
|
+
2,
|
|
3393
|
+
"0"
|
|
3394
|
+
);
|
|
3395
|
+
t = `${s}${u}:${l}`;
|
|
3396
|
+
} catch {
|
|
3397
|
+
$e.error("Error obtaining time zone or offset");
|
|
3398
|
+
}
|
|
3399
|
+
return {
|
|
3400
|
+
offset: t,
|
|
3401
|
+
offsetValue: i,
|
|
3402
|
+
value: e,
|
|
3403
|
+
country: null,
|
|
3404
|
+
included: null,
|
|
3405
|
+
label: null
|
|
3406
|
+
};
|
|
3407
|
+
}
|
|
3382
3408
|
class vs {
|
|
3383
3409
|
constructor(t) {
|
|
3384
3410
|
C(this, "aggregate");
|
|
@@ -3397,9 +3423,9 @@ class vs {
|
|
|
3397
3423
|
function ps(e) {
|
|
3398
3424
|
return new vs(e);
|
|
3399
3425
|
}
|
|
3400
|
-
class $l {
|
|
3401
|
-
}
|
|
3402
3426
|
class Kl {
|
|
3427
|
+
}
|
|
3428
|
+
class Ql {
|
|
3403
3429
|
constructor(t) {
|
|
3404
3430
|
C(this, "_value");
|
|
3405
3431
|
t !== void 0 && (this._value = t);
|
|
@@ -3439,11 +3465,12 @@ class Nn {
|
|
|
3439
3465
|
this.root.setProps(t);
|
|
3440
3466
|
}
|
|
3441
3467
|
static toDomain(t) {
|
|
3442
|
-
const { createdAt: i,
|
|
3443
|
-
...
|
|
3468
|
+
const { createdAt: i, username: n, ...a } = t, r = {
|
|
3469
|
+
...a,
|
|
3470
|
+
username: n != null ? n : a.account,
|
|
3444
3471
|
createdAt: new Date(Number(i))
|
|
3445
3472
|
};
|
|
3446
|
-
return new Nn(
|
|
3473
|
+
return new Nn(r);
|
|
3447
3474
|
}
|
|
3448
3475
|
toPrimitives() {
|
|
3449
3476
|
const { root: t, createdAt: i, ...n } = this;
|
|
@@ -3700,7 +3727,7 @@ function Vs() {
|
|
|
3700
3727
|
}
|
|
3701
3728
|
};
|
|
3702
3729
|
}
|
|
3703
|
-
const
|
|
3730
|
+
const Ke = Vs();
|
|
3704
3731
|
class js extends On {
|
|
3705
3732
|
constructor(t, i) {
|
|
3706
3733
|
super(), this.client = t, this.options = i, this.trackedProps = /* @__PURE__ */ new Set(), this.selectError = null, this.bindMethods(), this.setOptions(i);
|
|
@@ -3921,7 +3948,7 @@ class js extends On {
|
|
|
3921
3948
|
t.type === "success" ? i.onSuccess = !t.manual : t.type === "error" && !Is(t.error) && (i.onError = !0), this.updateResult(i), this.hasListeners() && this.updateTimers();
|
|
3922
3949
|
}
|
|
3923
3950
|
notify(t) {
|
|
3924
|
-
|
|
3951
|
+
Ke.batch(() => {
|
|
3925
3952
|
if (t.onSuccess) {
|
|
3926
3953
|
var i, n, a, r;
|
|
3927
3954
|
(i = (n = this.options).onSuccess) == null || i.call(n, this.currentResult.data), (a = (r = this.options).onSettled) == null || a.call(r, this.currentResult.data, null);
|
|
@@ -4052,10 +4079,10 @@ function fu(e, t) {
|
|
|
4052
4079
|
const i = Ys({
|
|
4053
4080
|
context: e.context
|
|
4054
4081
|
}), n = eu(), a = iu(), r = i.defaultQueryOptions(e);
|
|
4055
|
-
r._optimisticResults = n ? "isRestoring" : "optimistic", r.onError && (r.onError =
|
|
4082
|
+
r._optimisticResults = n ? "isRestoring" : "optimistic", r.onError && (r.onError = Ke.batchCalls(r.onError)), r.onSuccess && (r.onSuccess = Ke.batchCalls(r.onSuccess)), r.onSettled && (r.onSettled = Ke.batchCalls(r.onSettled)), uu(r), ru(r, a), ou(a);
|
|
4056
4083
|
const [o] = W.useState(() => new t(i, r)), s = o.getOptimisticResult(r);
|
|
4057
4084
|
if (Hs(W.useCallback((u) => n ? () => {
|
|
4058
|
-
} : o.subscribe(
|
|
4085
|
+
} : o.subscribe(Ke.batchCalls(u)), [o, n]), () => o.getCurrentResult(), () => o.getCurrentResult()), W.useEffect(() => {
|
|
4059
4086
|
o.setOptions(r, {
|
|
4060
4087
|
listeners: !1
|
|
4061
4088
|
});
|
|
@@ -4075,29 +4102,29 @@ function mu(e, t, i) {
|
|
|
4075
4102
|
return fu(n, js);
|
|
4076
4103
|
}
|
|
4077
4104
|
let wn = /* @__PURE__ */ new Map();
|
|
4078
|
-
const ln = ki(wn),
|
|
4105
|
+
const ln = ki(wn), Wl = ({ children: e, stores: t }) => {
|
|
4079
4106
|
const i = cn(ln), n = Xa(() => {
|
|
4080
4107
|
const a = /* @__PURE__ */ new Map();
|
|
4081
4108
|
return t.forEach((r) => a.set(r.class, r.value)), wn = new Map([...i, ...a]);
|
|
4082
4109
|
}, []);
|
|
4083
4110
|
return /* @__PURE__ */ er(ln.Provider, { value: n, children: e });
|
|
4084
4111
|
};
|
|
4085
|
-
function
|
|
4112
|
+
function ql(e) {
|
|
4086
4113
|
return cn(ln).get(e);
|
|
4087
4114
|
}
|
|
4088
|
-
function
|
|
4115
|
+
function Jl(e) {
|
|
4089
4116
|
return wn.get(e);
|
|
4090
4117
|
}
|
|
4091
|
-
function
|
|
4092
|
-
if (Array.isArray(t) && t.some((i) =>
|
|
4118
|
+
function Hl(e, t = []) {
|
|
4119
|
+
if (Array.isArray(t) && t.some((i) => ut(i)))
|
|
4093
4120
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
4094
|
-
|
|
4121
|
+
et(() => yn(e), t);
|
|
4095
4122
|
}
|
|
4096
4123
|
function hu(e, t = []) {
|
|
4097
|
-
if (Array.isArray(t) && t.some((a) =>
|
|
4124
|
+
if (Array.isArray(t) && t.some((a) => ut(a)))
|
|
4098
4125
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
4099
4126
|
const [i, n] = Ya();
|
|
4100
|
-
return
|
|
4127
|
+
return et(
|
|
4101
4128
|
() => yn(() => {
|
|
4102
4129
|
const a = e();
|
|
4103
4130
|
n(a);
|
|
@@ -4105,12 +4132,12 @@ function hu(e, t = []) {
|
|
|
4105
4132
|
t
|
|
4106
4133
|
), i;
|
|
4107
4134
|
}
|
|
4108
|
-
function
|
|
4109
|
-
if (Array.isArray(i) && i.some((n) =>
|
|
4135
|
+
function Zl(e, t, i = []) {
|
|
4136
|
+
if (Array.isArray(i) && i.some((n) => ut(n)))
|
|
4110
4137
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
4111
|
-
|
|
4138
|
+
et(() => To(e, t), i);
|
|
4112
4139
|
}
|
|
4113
|
-
const vu = () => ["account"],
|
|
4140
|
+
const vu = () => ["account"], Xl = () => {
|
|
4114
4141
|
const e = hu(() => {
|
|
4115
4142
|
var a;
|
|
4116
4143
|
return (a = wa.config) == null ? void 0 : a.account;
|
|
@@ -4123,7 +4150,7 @@ const vu = () => ["account"], Zl = () => {
|
|
|
4123
4150
|
refetchOnMount: !1
|
|
4124
4151
|
}
|
|
4125
4152
|
);
|
|
4126
|
-
return
|
|
4153
|
+
return et(() => {
|
|
4127
4154
|
const a = n.data;
|
|
4128
4155
|
!n.isSuccess || !a || i(a);
|
|
4129
4156
|
}, [n.status]), {
|
|
@@ -4136,7 +4163,7 @@ async function gu(e) {
|
|
|
4136
4163
|
return pu.set(fn, t), t;
|
|
4137
4164
|
}
|
|
4138
4165
|
var ku = /* @__PURE__ */ ((e) => (e.CREATED = "CREATED", e.STARTING = "STARTING", e.LIVE = "LIVE", e.FINALIZED = "FINALIZED", e))(ku || {});
|
|
4139
|
-
const
|
|
4166
|
+
const Yl = {
|
|
4140
4167
|
ALL: "*",
|
|
4141
4168
|
CORE: "core:**",
|
|
4142
4169
|
LIVE_STREAMING_EVENT: "event:**",
|
|
@@ -4148,7 +4175,7 @@ const Xl = {
|
|
|
4148
4175
|
SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
|
|
4149
4176
|
UI: "ui:**",
|
|
4150
4177
|
UTILS: "utils:**"
|
|
4151
|
-
},
|
|
4178
|
+
}, ed = {
|
|
4152
4179
|
EVENT_STATUS_CHANGED: "event:statusChanged"
|
|
4153
4180
|
};
|
|
4154
4181
|
var yu = /* @__PURE__ */ ((e) => (e.English = "en", e.Spanish = "es", e.Portuguese = "pt", e))(yu || {}), _u = /* @__PURE__ */ ((e) => (e.COMBO = "Combo", e))(_u || {}), Su = /* @__PURE__ */ ((e) => (e.VTEX = "VTEX", e.PLATFORM = "platform", e.CACE = "CACE", e.GLOBAL_PAGE = "globalPage", e.DEV_LOCAL = "dev:local", e.CUSTOMIZATION = "customization", e))(Su || {});
|
|
@@ -4214,7 +4241,7 @@ function _e(e) {
|
|
|
4214
4241
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4215
4242
|
return e;
|
|
4216
4243
|
}
|
|
4217
|
-
function
|
|
4244
|
+
function Ye(e, t) {
|
|
4218
4245
|
if (t && (H(t) === "object" || typeof t == "function"))
|
|
4219
4246
|
return t;
|
|
4220
4247
|
if (t !== void 0)
|
|
@@ -4463,7 +4490,7 @@ var Ru = function(e) {
|
|
|
4463
4490
|
ns: ["translation"],
|
|
4464
4491
|
defaultNS: "translation"
|
|
4465
4492
|
};
|
|
4466
|
-
return ne(this, t), n =
|
|
4493
|
+
return ne(this, t), n = Ye(this, Le(t).call(this)), Mt && ve.call(_e(n)), n.data = i || {}, n.options = a, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.options.ignoreJSONStructure === void 0 && (n.options.ignoreJSONStructure = !0), n;
|
|
4467
4494
|
}
|
|
4468
4495
|
return ie(t, [{
|
|
4469
4496
|
key: "addNamespaces",
|
|
@@ -4557,7 +4584,7 @@ var Ru = function(e) {
|
|
|
4557
4584
|
Ut(t, e);
|
|
4558
4585
|
function t(i) {
|
|
4559
4586
|
var n, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4560
|
-
return ne(this, t), n =
|
|
4587
|
+
return ne(this, t), n = Ye(this, Le(t).call(this)), Mt && ve.call(_e(n)), wu(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], i, _e(n)), n.options = a, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = se.create("translator"), n;
|
|
4561
4588
|
}
|
|
4562
4589
|
return ie(t, [{
|
|
4563
4590
|
key: "changeLanguage",
|
|
@@ -4639,10 +4666,10 @@ var Ru = function(e) {
|
|
|
4639
4666
|
}));
|
|
4640
4667
|
Fn && Fn.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
4641
4668
|
}
|
|
4642
|
-
var Ue = [],
|
|
4643
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
4644
|
-
for (var Bt = 0; Bt <
|
|
4645
|
-
Ue.push(
|
|
4669
|
+
var Ue = [], mt = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
|
|
4670
|
+
if (this.options.saveMissingTo === "fallback" && mt && mt[0])
|
|
4671
|
+
for (var Bt = 0; Bt < mt.length; Bt++)
|
|
4672
|
+
Ue.push(mt[Bt]);
|
|
4646
4673
|
else
|
|
4647
4674
|
this.options.saveMissingTo === "all" ? Ue = this.languageUtils.toResolveHierarchy(a.lng || this.language) : Ue.push(a.lng || this.language);
|
|
4648
4675
|
var Cn = function(Ne, zt, Rn) {
|
|
@@ -5190,7 +5217,7 @@ var ju = function(e) {
|
|
|
5190
5217
|
Ut(t, e);
|
|
5191
5218
|
function t(i, n, a) {
|
|
5192
5219
|
var r, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
5193
|
-
return ne(this, t), r =
|
|
5220
|
+
return ne(this, t), r = Ye(this, Le(t).call(this)), Mt && ve.call(_e(r)), r.backend = i, r.store = n, r.services = a, r.languageUtils = a.languageUtils, r.options = o, r.logger = se.create("backendConnector"), r.state = {}, r.queue = [], r.backend && r.backend.init && r.backend.init(a, o.backend, o), r;
|
|
5194
5221
|
}
|
|
5195
5222
|
return ie(t, [{
|
|
5196
5223
|
key: "queueLoad",
|
|
@@ -5364,11 +5391,11 @@ var Mu = function(e) {
|
|
|
5364
5391
|
Ut(t, e);
|
|
5365
5392
|
function t() {
|
|
5366
5393
|
var i, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
|
|
5367
|
-
if (ne(this, t), i =
|
|
5394
|
+
if (ne(this, t), i = Ye(this, Le(t).call(this)), Mt && ve.call(_e(i)), i.options = ci(n), i.services = {}, i.logger = se, i.modules = {
|
|
5368
5395
|
external: []
|
|
5369
5396
|
}, a && !i.isInitialized && !n.isClone) {
|
|
5370
5397
|
if (!i.options.initImmediate)
|
|
5371
|
-
return i.init(n, a),
|
|
5398
|
+
return i.init(n, a), Ye(i, _e(i));
|
|
5372
5399
|
setTimeout(function() {
|
|
5373
5400
|
i.init(n, a);
|
|
5374
5401
|
}, 0);
|
|
@@ -5636,7 +5663,7 @@ function Gu(e) {
|
|
|
5636
5663
|
{}
|
|
5637
5664
|
);
|
|
5638
5665
|
}
|
|
5639
|
-
function
|
|
5666
|
+
function td(e) {
|
|
5640
5667
|
const t = Gu(e);
|
|
5641
5668
|
Object.entries(t).forEach(([i, n]) => {
|
|
5642
5669
|
Ba.addResourceBundle(i, "translation", n, !0);
|
|
@@ -5942,7 +5969,7 @@ const sl = {
|
|
|
5942
5969
|
init(e) {
|
|
5943
5970
|
ol(e.options.react);
|
|
5944
5971
|
}
|
|
5945
|
-
},
|
|
5972
|
+
}, nd = Ba.use(sl).use(za).init({
|
|
5946
5973
|
resources: {},
|
|
5947
5974
|
fallbackLng: "en",
|
|
5948
5975
|
debug: !1,
|
|
@@ -5981,40 +6008,40 @@ const sl = {
|
|
|
5981
6008
|
}
|
|
5982
6009
|
});
|
|
5983
6010
|
var $a = /* @__PURE__ */ ((e) => (e.Created = "CREATED", e.Finalized = "FINALIZED", e.Live = "LIVE", e.Starting = "STARTING", e))($a || {}), Ka = /* @__PURE__ */ ((e) => (e.Add = "add", e.Remove = "remove", e))(Ka || {}), Qa = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(Qa || {});
|
|
5984
|
-
const ul = { 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" } }] } }] } }] } }] }, ll = { 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" } }] } }] } }] } }] }, dl = { 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" } }] } }] } }] } }] }, cl = { 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" } }] } }] } }] } }] }, fl = { 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" } }] } }] } }] } }] }, ml = { 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" } }] } }] } }] } }] }, hl = { 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" } }] } }] } }] } }] } }] }, vl = { 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" } }] } }] } }] } }] }, pl = { 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" } }] } }] } }] } }] }, gl = { 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" } }] } }] } }] } }] }, kl = { 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" } }] } }] } }] } }] }, yl = { 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" } }] } }] } }] } }] }, _l = { 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" } }] } }] } }] } }] }, Sl = { 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" } }] } }] } }] } }] }, bl = { 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: "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" } }] } }] } }] } }] }, Nl = { 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" } }] } }] } }] } }] }, Ol = { 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" } }] } }] } }] } }] }, El = { 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" } }] } }] } }] } }] }, wl = { 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" } }] } }] } }] } }] }, Al = { 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" } }] } }] } }] } }] }, Fl = { 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" } }] } }] } }] } }] }, Cl = { 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" } }] } }] } }] } }] }, Rl = { 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" } }] } }] } }] } }] }, Tl = { 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" } }] } }] } }] } }] }, Dl = { 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" } }] } }] } }] } }] }, xl = { 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" } }] } }] } }] } }] }, Pl = { 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" } }] } }] } }] } }] }, nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6011
|
+
const ul = { 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" } }] } }] } }] } }] }, ll = { 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" } }] } }] } }] } }] }, dl = { 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" } }] } }] } }] } }] }, cl = { 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" } }] } }] } }] } }] }, fl = { 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" } }] } }] } }] } }] }, ml = { 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" } }] } }] } }] } }] }, hl = { 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: "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" } }] } }] } }] } }] }, vl = { 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" } }] } }] } }] } }] }, pl = { 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" } }] } }] } }] } }] }, gl = { 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" } }] } }] } }] } }] }, kl = { 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" } }] } }] } }] } }] }, yl = { 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" } }] } }] } }] } }] }, _l = { 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" } }] } }] } }] } }] }, Sl = { 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" } }] } }] } }] } }] }, bl = { 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" } }] } }] } }] } }] }, Nl = { 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" } }] } }] } }] } }] }, Ol = { 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" } }] } }] } }] } }] }, El = { 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" } }] } }] } }] } }] }, wl = { 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" } }] } }] } }] } }] }, Al = { 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" } }] } }] } }] } }] }, Fl = { 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" } }] } }] } }] } }] }, Cl = { 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" } }] } }] } }] } }] }, Rl = { 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" } }] } }] } }] } }] }, Tl = { 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" } }] } }] } }] } }] }, Dl = { 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" } }] } }] } }] } }] } }] }, xl = { 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" } }] } }] } }] } }] }, Pl = { 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" } }] } }] } }] } }] }, id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5985
6012
|
__proto__: null,
|
|
5986
|
-
AddCollectionDocument:
|
|
5987
|
-
AppendProductsToSnackVideoDocument:
|
|
5988
|
-
BlockUserDocument:
|
|
5989
|
-
ChangeAccountUsernameDocument:
|
|
5990
|
-
CreateSnackVideoBatchDocument:
|
|
5991
|
-
DeleteAllCustomizationDocument:
|
|
5992
|
-
DeleteChatMessageDocument:
|
|
5993
|
-
DeleteCollectionDocument:
|
|
5994
|
-
DeleteRelationshipWithSnackVideoDocument:
|
|
5995
|
-
DeleteSnackVideoDocument:
|
|
6013
|
+
AddCollectionDocument: gl,
|
|
6014
|
+
AppendProductsToSnackVideoDocument: wl,
|
|
6015
|
+
BlockUserDocument: cl,
|
|
6016
|
+
ChangeAccountUsernameDocument: fl,
|
|
6017
|
+
CreateSnackVideoBatchDocument: Al,
|
|
6018
|
+
DeleteAllCustomizationDocument: ul,
|
|
6019
|
+
DeleteChatMessageDocument: ml,
|
|
6020
|
+
DeleteCollectionDocument: kl,
|
|
6021
|
+
DeleteRelationshipWithSnackVideoDocument: Fl,
|
|
6022
|
+
DeleteSnackVideoDocument: Cl,
|
|
5996
6023
|
EventStatus: $a,
|
|
5997
6024
|
FindByProductSnackVideoDocument: Pl,
|
|
5998
|
-
FindCollectionDocument:
|
|
5999
|
-
FindManySnackVideosDocument:
|
|
6000
|
-
FindMinimalEventDocument:
|
|
6001
|
-
GetAllChatMessageDocument:
|
|
6002
|
-
GetAllCollectionsDocument:
|
|
6003
|
-
GetAllCustomizationDocument:
|
|
6004
|
-
GetAllSnackVideosDocument:
|
|
6005
|
-
GetChatRoomTokenDocument:
|
|
6006
|
-
GetSnackVideoRelationshipsDocument:
|
|
6007
|
-
ManageCollectionProductDocument:
|
|
6025
|
+
FindCollectionDocument: yl,
|
|
6026
|
+
FindManySnackVideosDocument: Rl,
|
|
6027
|
+
FindMinimalEventDocument: Ol,
|
|
6028
|
+
GetAllChatMessageDocument: hl,
|
|
6029
|
+
GetAllCollectionsDocument: _l,
|
|
6030
|
+
GetAllCustomizationDocument: ll,
|
|
6031
|
+
GetAllSnackVideosDocument: Tl,
|
|
6032
|
+
GetChatRoomTokenDocument: vl,
|
|
6033
|
+
GetSnackVideoRelationshipsDocument: Dl,
|
|
6034
|
+
ManageCollectionProductDocument: Sl,
|
|
6008
6035
|
Methods: Ka,
|
|
6009
|
-
PinChatMessageDocument:
|
|
6010
|
-
SearchCollectionsDocument:
|
|
6011
|
-
SearchMinimalEventsDocument:
|
|
6012
|
-
SearchSnackVideosDocument:
|
|
6036
|
+
PinChatMessageDocument: pl,
|
|
6037
|
+
SearchCollectionsDocument: bl,
|
|
6038
|
+
SearchMinimalEventsDocument: El,
|
|
6039
|
+
SearchSnackVideosDocument: xl,
|
|
6013
6040
|
Status: Qa,
|
|
6014
|
-
UpdateCollectionDocument:
|
|
6015
|
-
UpdateCustomizationDocument:
|
|
6041
|
+
UpdateCollectionDocument: Nl,
|
|
6042
|
+
UpdateCustomizationDocument: dl
|
|
6016
6043
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6017
|
-
function
|
|
6044
|
+
function ad(e) {
|
|
6018
6045
|
return {
|
|
6019
6046
|
class: e,
|
|
6020
6047
|
_value: null,
|
|
@@ -6033,11 +6060,11 @@ export {
|
|
|
6033
6060
|
ks as AccountSubscriptionTypes,
|
|
6034
6061
|
Ra as AccountTypes,
|
|
6035
6062
|
vs as AggregateRoot,
|
|
6036
|
-
|
|
6037
|
-
|
|
6063
|
+
id as ApiGraphqlTypes,
|
|
6064
|
+
Kl as BaseMobxStore,
|
|
6038
6065
|
jt as DomainError,
|
|
6039
|
-
|
|
6040
|
-
|
|
6066
|
+
Yl as EventBusWildcards,
|
|
6067
|
+
ed as EventNames,
|
|
6041
6068
|
_s as GlobalPageSectionTypes,
|
|
6042
6069
|
us as InvalidNizzaGlobalObjectError,
|
|
6043
6070
|
yu as LanguageTypes,
|
|
@@ -6047,35 +6074,36 @@ export {
|
|
|
6047
6074
|
_t as NizzaStore,
|
|
6048
6075
|
_u as NizzaVariationTypes,
|
|
6049
6076
|
os as ResourceNotFoundError,
|
|
6050
|
-
|
|
6077
|
+
Wl as StoreProvider,
|
|
6051
6078
|
ss as UnexpectedError,
|
|
6052
|
-
|
|
6079
|
+
Ql as ValueObject,
|
|
6053
6080
|
fn as accountAtom,
|
|
6054
6081
|
Da as accountService,
|
|
6055
6082
|
jl as apiCall,
|
|
6056
|
-
|
|
6083
|
+
$e as coreLogger,
|
|
6057
6084
|
ps as createAggregateRoot,
|
|
6058
6085
|
fs as createLogger,
|
|
6059
|
-
|
|
6086
|
+
ad as createStore,
|
|
6060
6087
|
Si as customFetch,
|
|
6061
6088
|
Ul as downloadFile,
|
|
6062
6089
|
Bl as fileOrigin,
|
|
6063
6090
|
gu as getAccount,
|
|
6091
|
+
$l as getClientTimeZone,
|
|
6064
6092
|
hs as getLogger,
|
|
6065
|
-
|
|
6093
|
+
Jl as getStore,
|
|
6066
6094
|
pu as globalAtomStore,
|
|
6067
|
-
|
|
6095
|
+
nd as i18n,
|
|
6068
6096
|
Ca as initializeLogger,
|
|
6069
6097
|
pr as jsDownload,
|
|
6070
6098
|
zl as logger,
|
|
6071
6099
|
wa as nizza,
|
|
6072
6100
|
ms as registerLogger,
|
|
6073
|
-
|
|
6101
|
+
td as registerTranslations,
|
|
6074
6102
|
Ml as searchParams,
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6103
|
+
rs as shortId,
|
|
6104
|
+
Xl as useAccount,
|
|
6105
|
+
Hl as useAutorun,
|
|
6106
|
+
Zl as useReaction,
|
|
6079
6107
|
hu as useSelect,
|
|
6080
|
-
|
|
6108
|
+
ql as useStore
|
|
6081
6109
|
};
|