@nizza/core 0.4.0-alpha.1 → 0.4.0-alpha.2
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 +6 -6
- package/dist/index.mjs +324 -319
- package/dist/lib/constants/event.d.ts +6 -0
- package/dist/lib/constants/eventBus.d.ts +34 -0
- package/dist/lib/constants/index.d.ts +2 -1
- package/dist/lib/nizza-store/DefaultEventBus.d.ts +2 -2
- package/dist/lib/types/nizza/eventBus.d.ts +4 -4
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/lib/constants/eventBusWildcards.d.ts +0 -16
package/dist/index.mjs
CHANGED
|
@@ -127,7 +127,7 @@ const an = (e) => "init" in e, sn = (e) => !!e.write, Dt = /* @__PURE__ */ new W
|
|
|
127
127
|
get setSelf() {
|
|
128
128
|
return ({ 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" && !sn(g) && console.warn("setSelf function cannot be used with read-only atom"), !B && sn(g) && (B = (...K) => {
|
|
129
129
|
if (({ 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" && T && console.warn("setSelf function cannot be called in sync"), !T)
|
|
130
|
-
return
|
|
130
|
+
return L(g, ...K);
|
|
131
131
|
}), B;
|
|
132
132
|
}
|
|
133
133
|
};
|
|
@@ -172,7 +172,7 @@ const an = (e) => "init" in e, sn = (e) => !!e.write, Dt = /* @__PURE__ */ new W
|
|
|
172
172
|
return F || Q(), K;
|
|
173
173
|
}, V = g.write(T, I, ...k);
|
|
174
174
|
return F = !1, V;
|
|
175
|
-
},
|
|
175
|
+
}, L = (g, ...k) => {
|
|
176
176
|
const F = C(g, ...k);
|
|
177
177
|
return Q(), F;
|
|
178
178
|
}, U = (g, k) => {
|
|
@@ -184,7 +184,7 @@ const an = (e) => "init" in e, sn = (e) => !!e.write, Dt = /* @__PURE__ */ new W
|
|
|
184
184
|
const V = t.get(I);
|
|
185
185
|
V ? V.t.add(g) : I !== g && U(I, g);
|
|
186
186
|
}), v(g), sn(g) && g.onMount) {
|
|
187
|
-
const T = g.onMount((...I) =>
|
|
187
|
+
const T = g.onMount((...I) => L(g, ...I));
|
|
188
188
|
T && (F.u = T);
|
|
189
189
|
}
|
|
190
190
|
return F;
|
|
@@ -238,7 +238,7 @@ const an = (e) => "init" in e, sn = (e) => !!e.write, Dt = /* @__PURE__ */ new W
|
|
|
238
238
|
};
|
|
239
239
|
return ({ 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" ? {
|
|
240
240
|
get: O,
|
|
241
|
-
set:
|
|
241
|
+
set: L,
|
|
242
242
|
sub: Y,
|
|
243
243
|
// store dev methods (these are tentative and subject to change without notice)
|
|
244
244
|
dev_subscribe_store: (g) => (n.add(g), () => {
|
|
@@ -254,7 +254,7 @@ const an = (e) => "init" in e, sn = (e) => !!e.write, Dt = /* @__PURE__ */ new W
|
|
|
254
254
|
}
|
|
255
255
|
} : {
|
|
256
256
|
get: O,
|
|
257
|
-
set:
|
|
257
|
+
set: L,
|
|
258
258
|
sub: Y
|
|
259
259
|
};
|
|
260
260
|
};
|
|
@@ -317,7 +317,7 @@ function ba(e, t) {
|
|
|
317
317
|
_a(e, t)
|
|
318
318
|
];
|
|
319
319
|
}
|
|
320
|
-
const
|
|
320
|
+
const Li = ha(null), {
|
|
321
321
|
NZ_AWS_REGION: Sa,
|
|
322
322
|
NZ_BACKOFFICE_BACK_URL: Na,
|
|
323
323
|
NZ_CORE_SERVICES_GRAPHQL_URL: Oa,
|
|
@@ -348,7 +348,7 @@ const xi = ha(null), {
|
|
|
348
348
|
wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com"
|
|
349
349
|
}
|
|
350
350
|
};
|
|
351
|
-
async function
|
|
351
|
+
async function xi(e) {
|
|
352
352
|
const {
|
|
353
353
|
url: t,
|
|
354
354
|
method: i = "GET",
|
|
@@ -386,8 +386,8 @@ async function Li(e) {
|
|
|
386
386
|
throw console.error("[CustomFetch] ", c), c;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
|
-
const
|
|
390
|
-
function
|
|
389
|
+
const Yl = (e) => xi({ ...e, contentTypeJson: !1, raw: !1 });
|
|
390
|
+
function ec(e, t, i) {
|
|
391
391
|
fetch(t).then((n) => n.blob()).then((n) => Aa(n, `${e}.${i}`));
|
|
392
392
|
}
|
|
393
393
|
const Aa = (e, t, i) => {
|
|
@@ -402,11 +402,11 @@ const Aa = (e, t, i) => {
|
|
|
402
402
|
}, 200);
|
|
403
403
|
};
|
|
404
404
|
let Fa = (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), "");
|
|
405
|
-
const Ca = (e = 8) => Fa(e),
|
|
405
|
+
const Ca = (e = 8) => Fa(e), tc = (e) => {
|
|
406
406
|
const t = Object.entries(e).reduce((i, [n, r]) => r !== void 0 ? `${i}${i ? "&" : ""}${n}=${r}` : i, "");
|
|
407
407
|
return t ? `?${t}` : "";
|
|
408
408
|
};
|
|
409
|
-
function
|
|
409
|
+
function nc() {
|
|
410
410
|
const e = new Error().stack.split(`
|
|
411
411
|
`);
|
|
412
412
|
return e.length < 3 ? "" : e[2].trim().substring(3);
|
|
@@ -448,8 +448,8 @@ var Ii = { exports: {} };
|
|
|
448
448
|
}
|
|
449
449
|
function l(b, _) {
|
|
450
450
|
for (var C = 0; C < r.length; C++) {
|
|
451
|
-
var
|
|
452
|
-
this[
|
|
451
|
+
var L = r[C];
|
|
452
|
+
this[L] = C < b ? t : this.methodFactory(L, b, _);
|
|
453
453
|
}
|
|
454
454
|
this.log = this.debug;
|
|
455
455
|
}
|
|
@@ -462,7 +462,7 @@ var Ii = { exports: {} };
|
|
|
462
462
|
return o(b) || c.apply(this, arguments);
|
|
463
463
|
}
|
|
464
464
|
function v(b, _, C) {
|
|
465
|
-
var
|
|
465
|
+
var L = this, U;
|
|
466
466
|
_ = _ == null ? "WARN" : _;
|
|
467
467
|
var P = "loglevel";
|
|
468
468
|
typeof b == "string" ? P += ":" + b : typeof b == "symbol" && (P = void 0);
|
|
@@ -495,7 +495,7 @@ var Ii = { exports: {} };
|
|
|
495
495
|
T !== -1 && (k = /^([^;]+)/.exec(F.slice(T))[1]);
|
|
496
496
|
} catch {
|
|
497
497
|
}
|
|
498
|
-
return
|
|
498
|
+
return L.levels[k] === void 0 && (k = void 0), k;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
function Y() {
|
|
@@ -511,32 +511,32 @@ var Ii = { exports: {} };
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
|
|
514
|
+
L.name = b, L.levels = {
|
|
515
515
|
TRACE: 0,
|
|
516
516
|
DEBUG: 1,
|
|
517
517
|
INFO: 2,
|
|
518
518
|
WARN: 3,
|
|
519
519
|
ERROR: 4,
|
|
520
520
|
SILENT: 5
|
|
521
|
-
},
|
|
521
|
+
}, L.methodFactory = C || f, L.getLevel = function() {
|
|
522
522
|
return U;
|
|
523
|
-
},
|
|
524
|
-
if (typeof k == "string" &&
|
|
525
|
-
if (U = k, F !== !1 && z(k), l.call(
|
|
523
|
+
}, L.setLevel = function(k, F) {
|
|
524
|
+
if (typeof k == "string" && L.levels[k.toUpperCase()] !== void 0 && (k = L.levels[k.toUpperCase()]), typeof k == "number" && k >= 0 && k <= L.levels.SILENT) {
|
|
525
|
+
if (U = k, F !== !1 && z(k), l.call(L, k, b), typeof console === i && k < L.levels.SILENT)
|
|
526
526
|
return "No console available for logging";
|
|
527
527
|
} else
|
|
528
528
|
throw "log.setLevel() called with invalid level: " + k;
|
|
529
|
-
},
|
|
530
|
-
_ = k, Q() ||
|
|
531
|
-
},
|
|
532
|
-
|
|
533
|
-
},
|
|
534
|
-
|
|
535
|
-
},
|
|
536
|
-
|
|
529
|
+
}, L.setDefaultLevel = function(k) {
|
|
530
|
+
_ = k, Q() || L.setLevel(k, !1);
|
|
531
|
+
}, L.resetLevel = function() {
|
|
532
|
+
L.setLevel(_, !1), Y();
|
|
533
|
+
}, L.enableAll = function(k) {
|
|
534
|
+
L.setLevel(L.levels.TRACE, k);
|
|
535
|
+
}, L.disableAll = function(k) {
|
|
536
|
+
L.setLevel(L.levels.SILENT, k);
|
|
537
537
|
};
|
|
538
538
|
var g = Q();
|
|
539
|
-
g == null && (g = _),
|
|
539
|
+
g == null && (g = _), L.setLevel(g, !1);
|
|
540
540
|
}
|
|
541
541
|
var O = new v(), A = {};
|
|
542
542
|
O.getLogger = function(_) {
|
|
@@ -589,13 +589,13 @@ var Vi = { exports: {} };
|
|
|
589
589
|
if (!f || !f.setLevel)
|
|
590
590
|
throw new TypeError("Argument is not a logger");
|
|
591
591
|
var O = f.methodFactory, A = f.name || "", R = a[A] || a[""] || n;
|
|
592
|
-
function b(_, C,
|
|
593
|
-
var U = O(_, C,
|
|
592
|
+
function b(_, C, L) {
|
|
593
|
+
var U = O(_, C, L), P = a[L] || a[""], z = P.template.indexOf("%t") !== -1, Q = P.template.indexOf("%l") !== -1, Y = P.template.indexOf("%n") !== -1;
|
|
594
594
|
return function() {
|
|
595
595
|
for (var g = "", k = arguments.length, F = Array(k), T = 0; T < k; T++)
|
|
596
596
|
F[T] = arguments[T];
|
|
597
|
-
if (A || !a[
|
|
598
|
-
var I = P.timestampFormatter(/* @__PURE__ */ new Date()), V = P.levelFormatter(_), B = P.nameFormatter(
|
|
597
|
+
if (A || !a[L]) {
|
|
598
|
+
var I = P.timestampFormatter(/* @__PURE__ */ new Date()), V = P.levelFormatter(_), B = P.nameFormatter(L);
|
|
599
599
|
P.format ? g += P.format(V, B, I) : (g += P.template, z && (g = g.replace(/%t/, I)), Q && (g = g.replace(/%l/, V)), Y && (g = g.replace(/%n/, B))), F.length && typeof F[0] == "string" ? F[0] = g + " " + F[0] : F.unshift(g);
|
|
600
600
|
}
|
|
601
601
|
U.apply(void 0, F);
|
|
@@ -626,20 +626,20 @@ ji.apply(Ze, {
|
|
|
626
626
|
},
|
|
627
627
|
timestampFormatter: () => (/* @__PURE__ */ new Date()).toTimeString().slice(0, 8)
|
|
628
628
|
});
|
|
629
|
-
const Mi = {},
|
|
630
|
-
function
|
|
629
|
+
const Mi = {}, ic = Da("main");
|
|
630
|
+
function La(e) {
|
|
631
631
|
const t = Ze.getLogger(e);
|
|
632
632
|
return t.setLevel(Ui), t;
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function xa(e, t) {
|
|
635
635
|
Mi[e] = t;
|
|
636
636
|
}
|
|
637
637
|
function Pa(e) {
|
|
638
638
|
return Mi[e];
|
|
639
639
|
}
|
|
640
640
|
function Da(e) {
|
|
641
|
-
const t =
|
|
642
|
-
return
|
|
641
|
+
const t = La(e);
|
|
642
|
+
return xa(e, t), Pa(e);
|
|
643
643
|
}
|
|
644
644
|
class Ia {
|
|
645
645
|
constructor(t) {
|
|
@@ -659,9 +659,9 @@ class Ia {
|
|
|
659
659
|
function Va(e) {
|
|
660
660
|
return new Ia(e);
|
|
661
661
|
}
|
|
662
|
-
class ic {
|
|
663
|
-
}
|
|
664
662
|
class rc {
|
|
663
|
+
}
|
|
664
|
+
class ac {
|
|
665
665
|
constructor(t) {
|
|
666
666
|
G(this, "_value");
|
|
667
667
|
t !== void 0 && (this._value = t);
|
|
@@ -718,7 +718,7 @@ class En {
|
|
|
718
718
|
const Ga = `${Ea.apiUrls.restV1}/accounts/v2`;
|
|
719
719
|
class za {
|
|
720
720
|
async get(t) {
|
|
721
|
-
const i = `${Ga}/${t}`, { data: n } = await
|
|
721
|
+
const i = `${Ga}/${t}`, { data: n } = await xi({
|
|
722
722
|
url: i
|
|
723
723
|
});
|
|
724
724
|
return n ? En.toDomain(n) : null;
|
|
@@ -755,7 +755,7 @@ class $a extends Wt {
|
|
|
755
755
|
);
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
class
|
|
758
|
+
class sc extends Wt {
|
|
759
759
|
constructor() {
|
|
760
760
|
super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
|
|
761
761
|
}
|
|
@@ -1149,7 +1149,7 @@ class us extends An {
|
|
|
1149
1149
|
errorUpdatedAt: R,
|
|
1150
1150
|
fetchStatus: b,
|
|
1151
1151
|
status: _
|
|
1152
|
-
} = v, C = !1,
|
|
1152
|
+
} = v, C = !1, L = !1, U;
|
|
1153
1153
|
if (i._optimisticResults) {
|
|
1154
1154
|
const g = this.hasListeners(), k = !g && Xn(t, i), F = g && Yn(t, n, i, r);
|
|
1155
1155
|
(k || F) && (b = rs(t.options.networkMode) ? "fetching" : "paused", O || (_ = "loading")), i._optimisticResults === "isRestoring" && (b = "idle");
|
|
@@ -1177,7 +1177,7 @@ class us extends An {
|
|
|
1177
1177
|
} catch (k) {
|
|
1178
1178
|
this.selectError = k;
|
|
1179
1179
|
}
|
|
1180
|
-
typeof g != "undefined" && (_ = "success", U = Zn(a == null ? void 0 : a.data, g, i),
|
|
1180
|
+
typeof g != "undefined" && (_ = "success", U = Zn(a == null ? void 0 : a.data, g, i), L = !0);
|
|
1181
1181
|
}
|
|
1182
1182
|
this.selectError && (A = this.selectError, U = this.selectResult, R = Date.now(), _ = "error");
|
|
1183
1183
|
const P = b === "fetching", z = _ === "loading", Q = _ === "error";
|
|
@@ -1201,7 +1201,7 @@ class us extends An {
|
|
|
1201
1201
|
isRefetching: P && !z,
|
|
1202
1202
|
isLoadingError: Q && v.dataUpdatedAt === 0,
|
|
1203
1203
|
isPaused: b === "paused",
|
|
1204
|
-
isPlaceholderData:
|
|
1204
|
+
isPlaceholderData: L,
|
|
1205
1205
|
isPreviousData: C,
|
|
1206
1206
|
isRefetchError: Q && v.dataUpdatedAt !== 0,
|
|
1207
1207
|
isStale: Fn(t, i),
|
|
@@ -1365,9 +1365,9 @@ const Cs = (e, t) => {
|
|
|
1365
1365
|
errorResetBoundary: t,
|
|
1366
1366
|
useErrorBoundary: i,
|
|
1367
1367
|
query: n
|
|
1368
|
-
}) => e.isError && !t.isReset() && !e.isFetching && Fs(i, [e.error, n]),
|
|
1368
|
+
}) => e.isError && !t.isReset() && !e.isFetching && Fs(i, [e.error, n]), Ls = (e) => {
|
|
1369
1369
|
e.suspense && typeof e.staleTime != "number" && (e.staleTime = 1e3);
|
|
1370
|
-
},
|
|
1370
|
+
}, xs = (e, t) => e.isLoading && e.isFetching && !t, Ps = (e, t, i) => (e == null ? void 0 : e.suspense) && xs(t, i), Ds = (e, t, i) => t.fetchOptimistic(e).then(({
|
|
1371
1371
|
data: n
|
|
1372
1372
|
}) => {
|
|
1373
1373
|
e.onSuccess == null || e.onSuccess(n), e.onSettled == null || e.onSettled(n, null);
|
|
@@ -1378,7 +1378,7 @@ function Is(e, t) {
|
|
|
1378
1378
|
const i = Ns({
|
|
1379
1379
|
context: e.context
|
|
1380
1380
|
}), n = Os(), r = As(), a = i.defaultQueryOptions(e);
|
|
1381
|
-
a._optimisticResults = n ? "isRestoring" : "optimistic", a.onError && (a.onError = at.batchCalls(a.onError)), a.onSuccess && (a.onSuccess = at.batchCalls(a.onSuccess)), a.onSettled && (a.onSettled = at.batchCalls(a.onSettled)),
|
|
1381
|
+
a._optimisticResults = n ? "isRestoring" : "optimistic", a.onError && (a.onError = at.batchCalls(a.onError)), a.onSuccess && (a.onSuccess = at.batchCalls(a.onSuccess)), a.onSettled && (a.onSettled = at.batchCalls(a.onSettled)), Ls(a), Cs(a, r), Rs(r);
|
|
1382
1382
|
const [s] = le.useState(() => new t(i, a)), o = s.getOptimisticResult(a);
|
|
1383
1383
|
if (_s(le.useCallback((l) => n ? () => {
|
|
1384
1384
|
} : s.subscribe(at.batchCalls(l)), [s, n]), () => s.getCurrentResult(), () => s.getCurrentResult()), le.useEffect(() => {
|
|
@@ -1401,17 +1401,17 @@ function Vs(e, t, i) {
|
|
|
1401
1401
|
return Is(n, us);
|
|
1402
1402
|
}
|
|
1403
1403
|
let Cn = /* @__PURE__ */ new Map();
|
|
1404
|
-
const gn = Ci(Cn),
|
|
1404
|
+
const gn = Ci(Cn), oc = ({ children: e, stores: t }) => {
|
|
1405
1405
|
const i = wn(gn), n = la(() => {
|
|
1406
1406
|
const r = /* @__PURE__ */ new Map();
|
|
1407
1407
|
return t.forEach((a) => r.set(a.class, a.value)), Cn = new Map([...i, ...r]);
|
|
1408
1408
|
}, []);
|
|
1409
1409
|
return /* @__PURE__ */ da(gn.Provider, { value: n, children: e });
|
|
1410
1410
|
};
|
|
1411
|
-
function
|
|
1411
|
+
function uc(e) {
|
|
1412
1412
|
return wn(gn).get(e);
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function lc(e) {
|
|
1415
1415
|
return Cn.get(e);
|
|
1416
1416
|
}
|
|
1417
1417
|
function W(e) {
|
|
@@ -1640,11 +1640,11 @@ var M = /* @__PURE__ */ Symbol("mobx administration"), _t = /* @__PURE__ */ func
|
|
|
1640
1640
|
}, t.reportObserved = function() {
|
|
1641
1641
|
return Sr(this);
|
|
1642
1642
|
}, t.reportChanged = function() {
|
|
1643
|
-
ae(), Nr(this),
|
|
1643
|
+
ae(), Nr(this), x.stateVersion = x.stateVersion < Number.MAX_SAFE_INTEGER ? x.stateVersion + 1 : Number.MIN_SAFE_INTEGER, se();
|
|
1644
1644
|
}, t.toString = function() {
|
|
1645
1645
|
return this.name_;
|
|
1646
1646
|
}, e;
|
|
1647
|
-
}(),
|
|
1647
|
+
}(), Ln = /* @__PURE__ */ Ve("Atom", _t);
|
|
1648
1648
|
function ir(e, t, i) {
|
|
1649
1649
|
t === void 0 && (t = Be), i === void 0 && (i = Be);
|
|
1650
1650
|
var n = new _t(e);
|
|
@@ -1741,7 +1741,7 @@ function io(e, t, i, n) {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
function rr(e, t, i, n, r) {
|
|
1743
1743
|
var a, s, o, l, c, f, v;
|
|
1744
|
-
r === void 0 && (r =
|
|
1744
|
+
r === void 0 && (r = x.safeDescriptors), io(e, t, i, n);
|
|
1745
1745
|
var O = n.value;
|
|
1746
1746
|
if ((a = t.options_) != null && a.bound) {
|
|
1747
1747
|
var A;
|
|
@@ -1792,7 +1792,7 @@ function so(e, t, i, n) {
|
|
|
1792
1792
|
t.annotationType_, n.value;
|
|
1793
1793
|
}
|
|
1794
1794
|
function sr(e, t, i, n, r, a) {
|
|
1795
|
-
a === void 0 && (a =
|
|
1795
|
+
a === void 0 && (a = x.safeDescriptors), so(e, t, i, n);
|
|
1796
1796
|
var s = n.value;
|
|
1797
1797
|
if (Gt(s) || (s = dt(s)), r) {
|
|
1798
1798
|
var o;
|
|
@@ -1810,7 +1810,7 @@ function sr(e, t, i, n, r, a) {
|
|
|
1810
1810
|
writable: !a
|
|
1811
1811
|
};
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function xn(e, t) {
|
|
1814
1814
|
return {
|
|
1815
1815
|
annotationType_: e,
|
|
1816
1816
|
options_: t,
|
|
@@ -1864,7 +1864,7 @@ function po(e, t, i, n) {
|
|
|
1864
1864
|
if (i.set) {
|
|
1865
1865
|
var s = Je(t.toString(), i.set);
|
|
1866
1866
|
return n === e.target_ ? e.defineProperty_(t, {
|
|
1867
|
-
configurable:
|
|
1867
|
+
configurable: x.safeDescriptors ? e.isPlainObject_ : !0,
|
|
1868
1868
|
set: s
|
|
1869
1869
|
}) === null ? 0 : 2 : (ve(n, t, {
|
|
1870
1870
|
configurable: !0,
|
|
@@ -1893,7 +1893,7 @@ function go(e, t, i, n) {
|
|
|
1893
1893
|
return Ae.extend_(e, t, i, n);
|
|
1894
1894
|
if (i.set)
|
|
1895
1895
|
return e.defineProperty_(t, {
|
|
1896
|
-
configurable:
|
|
1896
|
+
configurable: x.safeDescriptors ? e.isPlainObject_ : !0,
|
|
1897
1897
|
set: Je(t.toString(), i.set)
|
|
1898
1898
|
}, n);
|
|
1899
1899
|
if (typeof i.value == "function" && (r = this.options_) != null && r.autoBind) {
|
|
@@ -1946,7 +1946,7 @@ var Ao = {
|
|
|
1946
1946
|
},
|
|
1947
1947
|
array: function(t, i) {
|
|
1948
1948
|
var n = Rt(i);
|
|
1949
|
-
return (
|
|
1949
|
+
return (x.useProxies === !1 || n.proxy === !1 ? _u : du)(t, Tt(n), n.name);
|
|
1950
1950
|
},
|
|
1951
1951
|
map: function(t, i) {
|
|
1952
1952
|
var n = Rt(i);
|
|
@@ -1957,19 +1957,19 @@ var Ao = {
|
|
|
1957
1957
|
return new Br(t, Tt(n), n.name);
|
|
1958
1958
|
},
|
|
1959
1959
|
object: function(t, i, n) {
|
|
1960
|
-
return
|
|
1960
|
+
return xr(x.useProxies === !1 || (n == null ? void 0 : n.proxy) === !1 ? At({}, n) : su({}, n), t, i);
|
|
1961
1961
|
},
|
|
1962
1962
|
ref: /* @__PURE__ */ pe(So),
|
|
1963
1963
|
shallow: /* @__PURE__ */ pe(No),
|
|
1964
1964
|
deep: cr,
|
|
1965
1965
|
struct: /* @__PURE__ */ pe(Oo)
|
|
1966
|
-
}, ne = /* @__PURE__ */ Ji(dr, Ao), fr = "computed", Fo = "computed.struct", hr = /* @__PURE__ */
|
|
1966
|
+
}, ne = /* @__PURE__ */ Ji(dr, Ao), fr = "computed", Fo = "computed.struct", hr = /* @__PURE__ */ xn(fr), Co = /* @__PURE__ */ xn(Fo, {
|
|
1967
1967
|
equals: Qe.structural
|
|
1968
1968
|
}), Ae = function(t, i) {
|
|
1969
1969
|
if (Pe(i))
|
|
1970
1970
|
return yt(t, i, hr);
|
|
1971
1971
|
if (Se(t))
|
|
1972
|
-
return pe(
|
|
1972
|
+
return pe(xn(fr, t));
|
|
1973
1973
|
var n = Se(i) ? i : {};
|
|
1974
1974
|
return n.get = t, n.name || (n.name = t.name || ""), new lt(n);
|
|
1975
1975
|
};
|
|
@@ -1985,12 +1985,12 @@ var ii, ri, jt = 0, Ro = 1, To = (ii = (ri = /* @__PURE__ */ Vt(function() {
|
|
|
1985
1985
|
function Je(e, t, i, n) {
|
|
1986
1986
|
i === void 0 && (i = !1);
|
|
1987
1987
|
function r() {
|
|
1988
|
-
return
|
|
1988
|
+
return Lo(e, i, t, n || this, arguments);
|
|
1989
1989
|
}
|
|
1990
1990
|
return r.isMobxAction = !0, To && (ai.value = e, ve(r, "name", ai)), r;
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1993
|
-
var a =
|
|
1992
|
+
function Lo(e, t, i, n, r) {
|
|
1993
|
+
var a = xo(e, t);
|
|
1994
1994
|
try {
|
|
1995
1995
|
return i.apply(n, r);
|
|
1996
1996
|
} catch (s) {
|
|
@@ -1999,10 +1999,10 @@ function xo(e, t, i, n, r) {
|
|
|
1999
1999
|
Po(a);
|
|
2000
2000
|
}
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2003
|
-
var r = !1, a = 0, s =
|
|
2002
|
+
function xo(e, t, i, n) {
|
|
2003
|
+
var r = !1, a = 0, s = x.trackingDerivation, o = !t || !s;
|
|
2004
2004
|
ae();
|
|
2005
|
-
var l =
|
|
2005
|
+
var l = x.allowStateChanges;
|
|
2006
2006
|
o && (Ye(), l = St(!0));
|
|
2007
2007
|
var c = Pn(!0), f = {
|
|
2008
2008
|
runAsAction_: o,
|
|
@@ -2017,7 +2017,7 @@ function Lo(e, t, i, n) {
|
|
|
2017
2017
|
return jt = f.actionId_, f;
|
|
2018
2018
|
}
|
|
2019
2019
|
function Po(e) {
|
|
2020
|
-
jt !== e.actionId_ && W(30), jt = e.parentActionId_, e.error_ !== void 0 && (
|
|
2020
|
+
jt !== e.actionId_ && W(30), jt = e.parentActionId_, e.error_ !== void 0 && (x.suppressReactionErrors = !0), Nt(e.prevAllowStateChanges_), ot(e.prevAllowStateReads_), se(), e.runAsAction_ && Re(e.prevDerivation_), x.suppressReactionErrors = !1;
|
|
2021
2021
|
}
|
|
2022
2022
|
function mr(e, t) {
|
|
2023
2023
|
var i = St(e);
|
|
@@ -2028,11 +2028,11 @@ function mr(e, t) {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
}
|
|
2030
2030
|
function St(e) {
|
|
2031
|
-
var t =
|
|
2032
|
-
return
|
|
2031
|
+
var t = x.allowStateChanges;
|
|
2032
|
+
return x.allowStateChanges = e, t;
|
|
2033
2033
|
}
|
|
2034
2034
|
function Nt(e) {
|
|
2035
|
-
|
|
2035
|
+
x.allowStateChanges = e;
|
|
2036
2036
|
}
|
|
2037
2037
|
var vr;
|
|
2038
2038
|
vr = Symbol.toPrimitive;
|
|
@@ -2046,7 +2046,7 @@ var ze = /* @__PURE__ */ function(e) {
|
|
|
2046
2046
|
return i.dehanceValue = function(r) {
|
|
2047
2047
|
return this.dehancer !== void 0 ? this.dehancer(r) : r;
|
|
2048
2048
|
}, i.set = function(r) {
|
|
2049
|
-
this.value_, r = this.prepareNewValue_(r), r !==
|
|
2049
|
+
this.value_, r = this.prepareNewValue_(r), r !== x.UNCHANGED && this.setNewValue_(r);
|
|
2050
2050
|
}, i.prepareNewValue_ = function(r) {
|
|
2051
2051
|
if (oe(this)) {
|
|
2052
2052
|
var a = ue(this, {
|
|
@@ -2055,10 +2055,10 @@ var ze = /* @__PURE__ */ function(e) {
|
|
|
2055
2055
|
newValue: r
|
|
2056
2056
|
});
|
|
2057
2057
|
if (!a)
|
|
2058
|
-
return
|
|
2058
|
+
return x.UNCHANGED;
|
|
2059
2059
|
r = a.newValue;
|
|
2060
2060
|
}
|
|
2061
|
-
return r = this.enhancer(r, this.value_, this.name_), this.equals(this.value_, r) ?
|
|
2061
|
+
return r = this.enhancer(r, this.value_, this.name_), this.equals(this.value_, r) ? x.UNCHANGED : r;
|
|
2062
2062
|
}, i.setNewValue_ = function(r) {
|
|
2063
2063
|
var a = this.value_;
|
|
2064
2064
|
this.value_ = r, this.reportChanged(), ce(this) && de(this, {
|
|
@@ -2095,7 +2095,7 @@ var ze = /* @__PURE__ */ function(e) {
|
|
|
2095
2095
|
pr = Symbol.toPrimitive;
|
|
2096
2096
|
var lt = /* @__PURE__ */ function() {
|
|
2097
2097
|
function e(i) {
|
|
2098
|
-
this.dependenciesState_ = $.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_ = $.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Ut(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_ =
|
|
2098
|
+
this.dependenciesState_ = $.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_ = $.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Ut(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_ = xe.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 || W(31), this.derivation = i.get, this.name_ = i.name || "ComputedValue", i.set && (this.setter_ = Je("ComputedValue-setter", i.set)), this.equals_ = i.equals || (i.compareStructural || i.struct ? Qe.structural : Qe.default), this.scope_ = i.context, this.requiresReaction_ = i.requiresReaction, this.keepAlive_ = !!i.keepAlive;
|
|
2099
2099
|
}
|
|
2100
2100
|
var t = e.prototype;
|
|
2101
2101
|
return t.onBecomeStale_ = function() {
|
|
@@ -2109,15 +2109,15 @@ var lt = /* @__PURE__ */ function() {
|
|
|
2109
2109
|
return n();
|
|
2110
2110
|
});
|
|
2111
2111
|
}, t.get = function() {
|
|
2112
|
-
if (this.isComputing_ && W(32, this.name_, this.derivation),
|
|
2112
|
+
if (this.isComputing_ && W(32, this.name_, this.derivation), x.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
2113
2113
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
2114
2114
|
_n(this) && (this.warnAboutUntrackedRead_(), ae(), this.value_ = this.computeValue_(!1), se());
|
|
2115
2115
|
else if (Sr(this), _n(this)) {
|
|
2116
|
-
var n =
|
|
2117
|
-
this.keepAlive_ && !n && (
|
|
2116
|
+
var n = x.trackingContext;
|
|
2117
|
+
this.keepAlive_ && !n && (x.trackingContext = this), this.trackAndCompute() && Vo(this), x.trackingContext = n;
|
|
2118
2118
|
}
|
|
2119
2119
|
var r = this.value_;
|
|
2120
|
-
if (
|
|
2120
|
+
if (xt(r))
|
|
2121
2121
|
throw r.cause;
|
|
2122
2122
|
return r;
|
|
2123
2123
|
}, t.set = function(n) {
|
|
@@ -2134,14 +2134,14 @@ var lt = /* @__PURE__ */ function() {
|
|
|
2134
2134
|
var n = this.value_, r = (
|
|
2135
2135
|
/* see #1208 */
|
|
2136
2136
|
this.dependenciesState_ === $.NOT_TRACKING_
|
|
2137
|
-
), a = this.computeValue_(!0), s = r ||
|
|
2137
|
+
), a = this.computeValue_(!0), s = r || xt(n) || xt(a) || !this.equals_(n, a);
|
|
2138
2138
|
return s && (this.value_ = a), s;
|
|
2139
2139
|
}, t.computeValue_ = function(n) {
|
|
2140
2140
|
this.isComputing_ = !0;
|
|
2141
2141
|
var r = St(!1), a;
|
|
2142
2142
|
if (n)
|
|
2143
2143
|
a = gr(this, this.derivation, this.scope_);
|
|
2144
|
-
else if (
|
|
2144
|
+
else if (x.disableErrorBoundaries === !0)
|
|
2145
2145
|
a = this.derivation.call(this.scope_);
|
|
2146
2146
|
else
|
|
2147
2147
|
try {
|
|
@@ -2181,14 +2181,14 @@ var lt = /* @__PURE__ */ function() {
|
|
|
2181
2181
|
(function(e) {
|
|
2182
2182
|
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_";
|
|
2183
2183
|
})($ || ($ = {}));
|
|
2184
|
-
var
|
|
2184
|
+
var xe;
|
|
2185
2185
|
(function(e) {
|
|
2186
2186
|
e[e.NONE = 0] = "NONE", e[e.LOG = 1] = "LOG", e[e.BREAK = 2] = "BREAK";
|
|
2187
|
-
})(
|
|
2187
|
+
})(xe || (xe = {}));
|
|
2188
2188
|
var Ut = function(t) {
|
|
2189
2189
|
this.cause = void 0, this.cause = t;
|
|
2190
2190
|
};
|
|
2191
|
-
function
|
|
2191
|
+
function xt(e) {
|
|
2192
2192
|
return e instanceof Ut;
|
|
2193
2193
|
}
|
|
2194
2194
|
function _n(e) {
|
|
@@ -2202,7 +2202,7 @@ function _n(e) {
|
|
|
2202
2202
|
for (var t = Pn(!0), i = Ye(), n = e.observing_, r = n.length, a = 0; a < r; a++) {
|
|
2203
2203
|
var s = n[a];
|
|
2204
2204
|
if (Zt(s)) {
|
|
2205
|
-
if (
|
|
2205
|
+
if (x.disableErrorBoundaries)
|
|
2206
2206
|
s.get();
|
|
2207
2207
|
else
|
|
2208
2208
|
try {
|
|
@@ -2220,11 +2220,11 @@ function _n(e) {
|
|
|
2220
2220
|
}
|
|
2221
2221
|
function gr(e, t, i) {
|
|
2222
2222
|
var n = Pn(!0);
|
|
2223
|
-
yr(e), e.newObserving_ = new Array(e.observing_.length + 100), e.unboundDepsCount_ = 0, e.runId_ = ++
|
|
2224
|
-
var r =
|
|
2225
|
-
|
|
2223
|
+
yr(e), e.newObserving_ = new Array(e.observing_.length + 100), e.unboundDepsCount_ = 0, e.runId_ = ++x.runId;
|
|
2224
|
+
var r = x.trackingDerivation;
|
|
2225
|
+
x.trackingDerivation = e, x.inBatch++;
|
|
2226
2226
|
var a;
|
|
2227
|
-
if (
|
|
2227
|
+
if (x.disableErrorBoundaries === !0)
|
|
2228
2228
|
a = t.call(i);
|
|
2229
2229
|
else
|
|
2230
2230
|
try {
|
|
@@ -2232,7 +2232,7 @@ function gr(e, t, i) {
|
|
|
2232
2232
|
} catch (s) {
|
|
2233
2233
|
a = new Ut(s);
|
|
2234
2234
|
}
|
|
2235
|
-
return
|
|
2235
|
+
return x.inBatch--, x.trackingDerivation = r, Do(e), ot(n), a;
|
|
2236
2236
|
}
|
|
2237
2237
|
function Do(e) {
|
|
2238
2238
|
for (var t = e.observing_, i = e.observing_ = e.newObserving_, n = $.UP_TO_DATE_, r = 0, a = e.unboundDepsCount_, s = 0; s < a; s++) {
|
|
@@ -2265,18 +2265,18 @@ function kr(e) {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
2267
|
function Ye() {
|
|
2268
|
-
var e =
|
|
2269
|
-
return
|
|
2268
|
+
var e = x.trackingDerivation;
|
|
2269
|
+
return x.trackingDerivation = null, e;
|
|
2270
2270
|
}
|
|
2271
2271
|
function Re(e) {
|
|
2272
|
-
|
|
2272
|
+
x.trackingDerivation = e;
|
|
2273
2273
|
}
|
|
2274
2274
|
function Pn(e) {
|
|
2275
|
-
var t =
|
|
2276
|
-
return
|
|
2275
|
+
var t = x.allowStateReads;
|
|
2276
|
+
return x.allowStateReads = e, t;
|
|
2277
2277
|
}
|
|
2278
2278
|
function ot(e) {
|
|
2279
|
-
|
|
2279
|
+
x.allowStateReads = e;
|
|
2280
2280
|
}
|
|
2281
2281
|
function yr(e) {
|
|
2282
2282
|
if (e.dependenciesState_ !== $.UP_TO_DATE_) {
|
|
@@ -2287,7 +2287,7 @@ function yr(e) {
|
|
|
2287
2287
|
}
|
|
2288
2288
|
var dn = function() {
|
|
2289
2289
|
this.version = 6, this.UNCHANGED = {}, this.trackingDerivation = null, this.trackingContext = null, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !1, this.allowStateReads = !0, this.enforceActions = !0, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1, this.useProxies = !0, this.verifyProxies = !1, this.safeDescriptors = !0, this.stateVersion = Number.MIN_SAFE_INTEGER;
|
|
2290
|
-
}, fn = !0,
|
|
2290
|
+
}, fn = !0, x = /* @__PURE__ */ function() {
|
|
2291
2291
|
var e = /* @__PURE__ */ qi();
|
|
2292
2292
|
return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (fn = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new dn().version && (fn = !1), fn ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = /* @__PURE__ */ new dn()) : (setTimeout(function() {
|
|
2293
2293
|
W(35);
|
|
@@ -2300,24 +2300,24 @@ function _r(e, t) {
|
|
|
2300
2300
|
e.observers_.delete(t), e.observers_.size === 0 && br(e);
|
|
2301
2301
|
}
|
|
2302
2302
|
function br(e) {
|
|
2303
|
-
e.isPendingUnobservation_ === !1 && (e.isPendingUnobservation_ = !0,
|
|
2303
|
+
e.isPendingUnobservation_ === !1 && (e.isPendingUnobservation_ = !0, x.pendingUnobservations.push(e));
|
|
2304
2304
|
}
|
|
2305
2305
|
function ae() {
|
|
2306
|
-
|
|
2306
|
+
x.inBatch++;
|
|
2307
2307
|
}
|
|
2308
2308
|
function se() {
|
|
2309
|
-
if (--
|
|
2309
|
+
if (--x.inBatch === 0) {
|
|
2310
2310
|
Or();
|
|
2311
|
-
for (var e =
|
|
2311
|
+
for (var e = x.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
2312
2312
|
var i = e[t];
|
|
2313
2313
|
i.isPendingUnobservation_ = !1, i.observers_.size === 0 && (i.isBeingObserved_ && (i.isBeingObserved_ = !1, i.onBUO()), i instanceof lt && i.suspend_());
|
|
2314
2314
|
}
|
|
2315
|
-
|
|
2315
|
+
x.pendingUnobservations = [];
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
2318
|
function Sr(e) {
|
|
2319
|
-
var t =
|
|
2320
|
-
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved_ &&
|
|
2319
|
+
var t = x.trackingDerivation;
|
|
2320
|
+
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved_ && x.trackingContext && (e.isBeingObserved_ = !0, e.onBO())), e.isBeingObserved_) : (e.observers_.size === 0 && x.inBatch > 0 && br(e), !1);
|
|
2321
2321
|
}
|
|
2322
2322
|
function Nr(e) {
|
|
2323
2323
|
e.lowestObserverState_ !== $.STALE_ && (e.lowestObserverState_ = $.STALE_, e.observers_.forEach(function(t) {
|
|
@@ -2336,20 +2336,20 @@ function jo(e) {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
var Mt = /* @__PURE__ */ function() {
|
|
2338
2338
|
function e(i, n, r, a) {
|
|
2339
|
-
i === void 0 && (i = "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = $.NOT_TRACKING_, this.diffValue_ = 0, this.runId_ = 0, this.unboundDepsCount_ = 0, this.isDisposed_ = !1, this.isScheduled_ = !1, this.isTrackPending_ = !1, this.isRunning_ = !1, this.isTracing_ =
|
|
2339
|
+
i === void 0 && (i = "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = $.NOT_TRACKING_, this.diffValue_ = 0, this.runId_ = 0, this.unboundDepsCount_ = 0, this.isDisposed_ = !1, this.isScheduled_ = !1, this.isTrackPending_ = !1, this.isRunning_ = !1, this.isTracing_ = xe.NONE, this.name_ = i, this.onInvalidate_ = n, this.errorHandler_ = r, this.requiresObservable_ = a;
|
|
2340
2340
|
}
|
|
2341
2341
|
var t = e.prototype;
|
|
2342
2342
|
return t.onBecomeStale_ = function() {
|
|
2343
2343
|
this.schedule_();
|
|
2344
2344
|
}, t.schedule_ = function() {
|
|
2345
|
-
this.isScheduled_ || (this.isScheduled_ = !0,
|
|
2345
|
+
this.isScheduled_ || (this.isScheduled_ = !0, x.pendingReactions.push(this), Or());
|
|
2346
2346
|
}, t.isScheduled = function() {
|
|
2347
2347
|
return this.isScheduled_;
|
|
2348
2348
|
}, t.runReaction_ = function() {
|
|
2349
2349
|
if (!this.isDisposed_) {
|
|
2350
2350
|
ae(), this.isScheduled_ = !1;
|
|
2351
|
-
var n =
|
|
2352
|
-
if (
|
|
2351
|
+
var n = x.trackingContext;
|
|
2352
|
+
if (x.trackingContext = this, _n(this)) {
|
|
2353
2353
|
this.isTrackPending_ = !0;
|
|
2354
2354
|
try {
|
|
2355
2355
|
this.onInvalidate_();
|
|
@@ -2357,15 +2357,15 @@ var Mt = /* @__PURE__ */ function() {
|
|
|
2357
2357
|
this.reportExceptionInDerivation_(r);
|
|
2358
2358
|
}
|
|
2359
2359
|
}
|
|
2360
|
-
|
|
2360
|
+
x.trackingContext = n, se();
|
|
2361
2361
|
}
|
|
2362
2362
|
}, t.track = function(n) {
|
|
2363
2363
|
if (!this.isDisposed_) {
|
|
2364
2364
|
ae(), this.isRunning_ = !0;
|
|
2365
|
-
var r =
|
|
2366
|
-
|
|
2365
|
+
var r = x.trackingContext;
|
|
2366
|
+
x.trackingContext = this;
|
|
2367
2367
|
var a = gr(this, n, void 0);
|
|
2368
|
-
|
|
2368
|
+
x.trackingContext = r, this.isRunning_ = !1, this.isTrackPending_ = !1, this.isDisposed_ && bn(this), xt(a) && this.reportExceptionInDerivation_(a.cause), se();
|
|
2369
2369
|
}
|
|
2370
2370
|
}, t.reportExceptionInDerivation_ = function(n) {
|
|
2371
2371
|
var r = this;
|
|
@@ -2373,10 +2373,10 @@ var Mt = /* @__PURE__ */ function() {
|
|
|
2373
2373
|
this.errorHandler_(n, this);
|
|
2374
2374
|
return;
|
|
2375
2375
|
}
|
|
2376
|
-
if (
|
|
2376
|
+
if (x.disableErrorBoundaries)
|
|
2377
2377
|
throw n;
|
|
2378
2378
|
var a = "[mobx] uncaught error in '" + this + "'";
|
|
2379
|
-
|
|
2379
|
+
x.suppressReactionErrors || console.error(a, n), x.globalReactionErrorHandlers.forEach(function(s) {
|
|
2380
2380
|
return s(n, r);
|
|
2381
2381
|
});
|
|
2382
2382
|
}, t.dispose = function() {
|
|
@@ -2393,16 +2393,16 @@ var Mt = /* @__PURE__ */ function() {
|
|
|
2393
2393
|
return t();
|
|
2394
2394
|
};
|
|
2395
2395
|
function Or() {
|
|
2396
|
-
|
|
2396
|
+
x.inBatch > 0 || x.isRunningReactions || Mo(Bo);
|
|
2397
2397
|
}
|
|
2398
2398
|
function Bo() {
|
|
2399
|
-
|
|
2400
|
-
for (var e =
|
|
2399
|
+
x.isRunningReactions = !0;
|
|
2400
|
+
for (var e = x.pendingReactions, t = 0; e.length > 0; ) {
|
|
2401
2401
|
++t === Uo && (console.error("[mobx] cycle in reaction: " + e[0]), e.splice(0));
|
|
2402
2402
|
for (var i = e.splice(0), n = 0, r = i.length; n < r; n++)
|
|
2403
2403
|
i[n].runReaction_();
|
|
2404
2404
|
}
|
|
2405
|
-
|
|
2405
|
+
x.isRunningReactions = !1;
|
|
2406
2406
|
}
|
|
2407
2407
|
var Bt = /* @__PURE__ */ Ve("Reaction", Mt);
|
|
2408
2408
|
function ut() {
|
|
@@ -2504,19 +2504,19 @@ function Ho(e, t) {
|
|
|
2504
2504
|
}
|
|
2505
2505
|
var Zo = "onBO", Xo = "onBUO";
|
|
2506
2506
|
function Yo(e, t, i) {
|
|
2507
|
-
return
|
|
2507
|
+
return Lr(Zo, e, t, i);
|
|
2508
2508
|
}
|
|
2509
2509
|
function Tr(e, t, i) {
|
|
2510
|
-
return
|
|
2510
|
+
return Lr(Xo, e, t, i);
|
|
2511
2511
|
}
|
|
2512
|
-
function
|
|
2512
|
+
function Lr(e, t, i, n) {
|
|
2513
2513
|
var r = typeof n == "function" ? De(t, i) : De(t), a = he(n) ? n : i, s = e + "L";
|
|
2514
2514
|
return r[s] ? r[s].add(a) : r[s] = /* @__PURE__ */ new Set([a]), function() {
|
|
2515
2515
|
var o = r[s];
|
|
2516
2516
|
o && (o.delete(a), o.size === 0 && delete r[s]);
|
|
2517
2517
|
};
|
|
2518
2518
|
}
|
|
2519
|
-
function
|
|
2519
|
+
function xr(e, t, i, n) {
|
|
2520
2520
|
var r = Gs(t), a = At(e, n)[M];
|
|
2521
2521
|
ae();
|
|
2522
2522
|
try {
|
|
@@ -2557,7 +2557,7 @@ var si = /* @__PURE__ */ ar("flow"), tu = /* @__PURE__ */ ar("flow.bound", {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
U(z);
|
|
2559
2559
|
}
|
|
2560
|
-
function
|
|
2560
|
+
function L(P) {
|
|
2561
2561
|
O = void 0;
|
|
2562
2562
|
var z;
|
|
2563
2563
|
try {
|
|
@@ -2572,7 +2572,7 @@ var si = /* @__PURE__ */ ar("flow"), tu = /* @__PURE__ */ ar("flow.bound", {
|
|
|
2572
2572
|
P.then(U, b);
|
|
2573
2573
|
return;
|
|
2574
2574
|
}
|
|
2575
|
-
return P.done ? R(P.value) : (O = Promise.resolve(P.value), O.then(C,
|
|
2575
|
+
return P.done ? R(P.value) : (O = Promise.resolve(P.value), O.then(C, L));
|
|
2576
2576
|
}
|
|
2577
2577
|
C(void 0);
|
|
2578
2578
|
});
|
|
@@ -2596,7 +2596,7 @@ function Gt(e) {
|
|
|
2596
2596
|
return (e == null ? void 0 : e.isMobXFlow) === !0;
|
|
2597
2597
|
}
|
|
2598
2598
|
function nu(e, t) {
|
|
2599
|
-
return e ? t !== void 0 ? ft(e) ? e[M].values_.has(t) : !1 : ft(e) || !!e[M] ||
|
|
2599
|
+
return e ? t !== void 0 ? ft(e) ? e[M].values_.has(t) : !1 : ft(e) || !!e[M] || Ln(e) || Bt(e) || Zt(e) : !1;
|
|
2600
2600
|
}
|
|
2601
2601
|
function Ot(e) {
|
|
2602
2602
|
return nu(e);
|
|
@@ -2609,12 +2609,12 @@ function iu() {
|
|
|
2609
2609
|
var r = ru(i);
|
|
2610
2610
|
if (!r)
|
|
2611
2611
|
return W("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");
|
|
2612
|
-
r.isTracing_ ===
|
|
2612
|
+
r.isTracing_ === xe.NONE && console.log("[mobx.trace] '" + r.name_ + "' tracing enabled"), r.isTracing_ = e ? xe.BREAK : xe.LOG;
|
|
2613
2613
|
}
|
|
2614
2614
|
function ru(e) {
|
|
2615
2615
|
switch (e.length) {
|
|
2616
2616
|
case 0:
|
|
2617
|
-
return
|
|
2617
|
+
return x.trackingDerivation;
|
|
2618
2618
|
case 1:
|
|
2619
2619
|
return De(e[0]);
|
|
2620
2620
|
case 2:
|
|
@@ -2717,7 +2717,7 @@ function ou(e, t, i) {
|
|
|
2717
2717
|
var hn = /* @__PURE__ */ Symbol("mobx-keys");
|
|
2718
2718
|
function uu(e, t, i) {
|
|
2719
2719
|
if (Se(e))
|
|
2720
|
-
return
|
|
2720
|
+
return xr(e, e, t, i);
|
|
2721
2721
|
var n = At(e, i)[M];
|
|
2722
2722
|
if (!e[hn]) {
|
|
2723
2723
|
var r = Object.getPrototypeOf(e), a = new Set([].concat($e(e), $e(r)));
|
|
@@ -2944,10 +2944,10 @@ var zt = {
|
|
|
2944
2944
|
return t.spliceWithArray_(0, 0, n), t.values_.length;
|
|
2945
2945
|
},
|
|
2946
2946
|
reverse: function() {
|
|
2947
|
-
return
|
|
2947
|
+
return x.trackingDerivation && W(37, "reverse"), this.replace(this.slice().reverse()), this;
|
|
2948
2948
|
},
|
|
2949
2949
|
sort: function() {
|
|
2950
|
-
|
|
2950
|
+
x.trackingDerivation && W(37, "sort");
|
|
2951
2951
|
var t = this.slice();
|
|
2952
2952
|
return t.sort.apply(t, arguments), this.replace(t), this;
|
|
2953
2953
|
},
|
|
@@ -2965,14 +2965,14 @@ ee("lastIndexOf", Ne);
|
|
|
2965
2965
|
ee("slice", Ne);
|
|
2966
2966
|
ee("toString", Ne);
|
|
2967
2967
|
ee("toLocaleString", Ne);
|
|
2968
|
-
ee("every",
|
|
2969
|
-
ee("filter",
|
|
2970
|
-
ee("find",
|
|
2971
|
-
ee("findIndex",
|
|
2972
|
-
ee("flatMap",
|
|
2973
|
-
ee("forEach",
|
|
2974
|
-
ee("map",
|
|
2975
|
-
ee("some",
|
|
2968
|
+
ee("every", Le);
|
|
2969
|
+
ee("filter", Le);
|
|
2970
|
+
ee("find", Le);
|
|
2971
|
+
ee("findIndex", Le);
|
|
2972
|
+
ee("flatMap", Le);
|
|
2973
|
+
ee("forEach", Le);
|
|
2974
|
+
ee("map", Le);
|
|
2975
|
+
ee("some", Le);
|
|
2976
2976
|
ee("reduce", Dr);
|
|
2977
2977
|
ee("reduceRight", Dr);
|
|
2978
2978
|
function ee(e, t) {
|
|
@@ -2986,7 +2986,7 @@ function Ne(e) {
|
|
|
2986
2986
|
return i[e].apply(i, arguments);
|
|
2987
2987
|
};
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function Le(e) {
|
|
2990
2990
|
return function(t, i) {
|
|
2991
2991
|
var n = this, r = this[M];
|
|
2992
2992
|
r.atom_.reportObserved();
|
|
@@ -3025,7 +3025,7 @@ var jr = /* @__PURE__ */ function() {
|
|
|
3025
3025
|
return this.data_.has(n);
|
|
3026
3026
|
}, t.has = function(n) {
|
|
3027
3027
|
var r = this;
|
|
3028
|
-
if (!
|
|
3028
|
+
if (!x.trackingDerivation)
|
|
3029
3029
|
return this.has_(n);
|
|
3030
3030
|
var a = this.hasMap_.get(n);
|
|
3031
3031
|
if (!a) {
|
|
@@ -3079,7 +3079,7 @@ var jr = /* @__PURE__ */ function() {
|
|
|
3079
3079
|
return !1;
|
|
3080
3080
|
}, t.updateValue_ = function(n, r) {
|
|
3081
3081
|
var a = this.data_.get(n);
|
|
3082
|
-
if (r = a.prepareNewValue_(r), r !==
|
|
3082
|
+
if (r = a.prepareNewValue_(r), r !== x.UNCHANGED) {
|
|
3083
3083
|
var s = ut(), o = ce(this), l = o || s ? {
|
|
3084
3084
|
observableKind: "map",
|
|
3085
3085
|
debugObjectName: this.name_,
|
|
@@ -3179,10 +3179,10 @@ var jr = /* @__PURE__ */ function() {
|
|
|
3179
3179
|
}
|
|
3180
3180
|
}
|
|
3181
3181
|
for (var A = Ge(a.entries()), R; !(R = A()).done; ) {
|
|
3182
|
-
var b = R.value, _ = b[0], C = b[1],
|
|
3182
|
+
var b = R.value, _ = b[0], C = b[1], L = r.data_.has(_);
|
|
3183
3183
|
if (r.set(_, C), r.data_.has(_)) {
|
|
3184
3184
|
var U = r.data_.get(_);
|
|
3185
|
-
s.set(_, U),
|
|
3185
|
+
s.set(_, U), L || (o = !0);
|
|
3186
3186
|
}
|
|
3187
3187
|
}
|
|
3188
3188
|
if (!o)
|
|
@@ -3389,7 +3389,7 @@ var Br = /* @__PURE__ */ function() {
|
|
|
3389
3389
|
return null;
|
|
3390
3390
|
r = s.newValue;
|
|
3391
3391
|
}
|
|
3392
|
-
if (r = a.prepareNewValue_(r), r !==
|
|
3392
|
+
if (r = a.prepareNewValue_(r), r !== x.UNCHANGED) {
|
|
3393
3393
|
var o = ce(this), l = !1, c = o || l ? {
|
|
3394
3394
|
type: ge,
|
|
3395
3395
|
observableKind: "object",
|
|
@@ -3403,7 +3403,7 @@ var Br = /* @__PURE__ */ function() {
|
|
|
3403
3403
|
}
|
|
3404
3404
|
return !0;
|
|
3405
3405
|
}, t.get_ = function(n) {
|
|
3406
|
-
return
|
|
3406
|
+
return x.trackingDerivation && !be(this.target_, n) && this.has_(n), this.target_[n];
|
|
3407
3407
|
}, t.set_ = function(n, r, a) {
|
|
3408
3408
|
return a === void 0 && (a = !1), be(this.target_, n) ? this.values_.has(n) ? this.setObservablePropValue_(n, r) : a ? Reflect.set(this.target_, n, r) : (this.target_[n] = r, !0) : this.extend_(n, {
|
|
3409
3409
|
value: r,
|
|
@@ -3412,7 +3412,7 @@ var Br = /* @__PURE__ */ function() {
|
|
|
3412
3412
|
configurable: !0
|
|
3413
3413
|
}, this.defaultAnnotation_, a);
|
|
3414
3414
|
}, t.has_ = function(n) {
|
|
3415
|
-
if (!
|
|
3415
|
+
if (!x.trackingDerivation)
|
|
3416
3416
|
return n in this.target_;
|
|
3417
3417
|
this.pendingKeys_ || (this.pendingKeys_ = /* @__PURE__ */ new Map());
|
|
3418
3418
|
var r = this.pendingKeys_.get(n);
|
|
@@ -3493,7 +3493,7 @@ var Br = /* @__PURE__ */ function() {
|
|
|
3493
3493
|
r = l.newValue;
|
|
3494
3494
|
}
|
|
3495
3495
|
var c = di(n), f = {
|
|
3496
|
-
configurable:
|
|
3496
|
+
configurable: x.safeDescriptors ? this.isPlainObject_ : !0,
|
|
3497
3497
|
enumerable: !0,
|
|
3498
3498
|
get: c.get,
|
|
3499
3499
|
set: c.set
|
|
@@ -3528,7 +3528,7 @@ var Br = /* @__PURE__ */ function() {
|
|
|
3528
3528
|
}
|
|
3529
3529
|
r.name || (r.name = "ObservableObject.key"), r.context = this.proxy_ || this.target_;
|
|
3530
3530
|
var l = di(n), c = {
|
|
3531
|
-
configurable:
|
|
3531
|
+
configurable: x.safeDescriptors ? this.isPlainObject_ : !0,
|
|
3532
3532
|
enumerable: !1,
|
|
3533
3533
|
get: l.get,
|
|
3534
3534
|
set: l.set
|
|
@@ -3738,7 +3738,7 @@ function De(e, t) {
|
|
|
3738
3738
|
var n = e[M].values_.get(t);
|
|
3739
3739
|
return n || W(27, t, Sn(e)), n;
|
|
3740
3740
|
}
|
|
3741
|
-
if (
|
|
3741
|
+
if (Ln(e) || Zt(e) || Bt(e))
|
|
3742
3742
|
return e;
|
|
3743
3743
|
} else if (he(e) && Bt(e[M]))
|
|
3744
3744
|
return e[M];
|
|
@@ -3747,7 +3747,7 @@ function De(e, t) {
|
|
|
3747
3747
|
function Wr(e, t) {
|
|
3748
3748
|
if (e || W(29), t !== void 0)
|
|
3749
3749
|
return Wr(De(e, t));
|
|
3750
|
-
if (
|
|
3750
|
+
if (Ln(e) || Zt(e) || Bt(e) || je(e) || et(e))
|
|
3751
3751
|
return e;
|
|
3752
3752
|
if (e[M])
|
|
3753
3753
|
return e[M];
|
|
@@ -3848,7 +3848,7 @@ typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK_
|
|
|
3848
3848
|
},
|
|
3849
3849
|
$mobx: M
|
|
3850
3850
|
});
|
|
3851
|
-
function
|
|
3851
|
+
function cc(e, t = []) {
|
|
3852
3852
|
if (Array.isArray(t) && t.some((i) => Ot(i)))
|
|
3853
3853
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
3854
3854
|
pt(() => In(e), t);
|
|
@@ -3865,7 +3865,7 @@ function Su(e, t = []) {
|
|
|
3865
3865
|
t
|
|
3866
3866
|
), i;
|
|
3867
3867
|
}
|
|
3868
|
-
function
|
|
3868
|
+
function dc(e, t, i = []) {
|
|
3869
3869
|
if (Array.isArray(i) && i.some((n) => Ot(n)))
|
|
3870
3870
|
throw new Error("useEffect dependencies must not contain observables, ...");
|
|
3871
3871
|
pt(() => Jo(e, t), i);
|
|
@@ -4020,7 +4020,7 @@ var Qr = { exports: {} };
|
|
|
4020
4020
|
}
|
|
4021
4021
|
}
|
|
4022
4022
|
});
|
|
4023
|
-
function
|
|
4023
|
+
function L(u, d, h, m) {
|
|
4024
4024
|
var p = Object.assign({}, d);
|
|
4025
4025
|
if (!u)
|
|
4026
4026
|
return p;
|
|
@@ -4061,7 +4061,7 @@ var Qr = { exports: {} };
|
|
|
4061
4061
|
var z = P(["function"]), Q = P(["object", "function"]);
|
|
4062
4062
|
function Y(u, d, h) {
|
|
4063
4063
|
var m, p, y = 0, S, E = new u(function(N, w, D) {
|
|
4064
|
-
h =
|
|
4064
|
+
h = L(h, {
|
|
4065
4065
|
timeout: 0,
|
|
4066
4066
|
overload: !1
|
|
4067
4067
|
}, {
|
|
@@ -4220,7 +4220,7 @@ var Qr = { exports: {} };
|
|
|
4220
4220
|
if (typeof u != "object")
|
|
4221
4221
|
throw TypeError("target musts be an object");
|
|
4222
4222
|
var m = this;
|
|
4223
|
-
h =
|
|
4223
|
+
h = L(h, {
|
|
4224
4224
|
on: i,
|
|
4225
4225
|
off: i,
|
|
4226
4226
|
reducers: i
|
|
@@ -4529,7 +4529,7 @@ var Qr = { exports: {} };
|
|
|
4529
4529
|
return this._all ? this._all : [];
|
|
4530
4530
|
}, j.prototype.waitFor = function(u, d) {
|
|
4531
4531
|
var h = this, m = typeof d;
|
|
4532
|
-
return m === "number" ? d = { timeout: d } : m === "function" && (d = { filter: d }), d =
|
|
4532
|
+
return m === "number" ? d = { timeout: d } : m === "function" && (d = { filter: d }), d = L(d, {
|
|
4533
4533
|
timeout: 0,
|
|
4534
4534
|
filter: i,
|
|
4535
4535
|
handleError: !1,
|
|
@@ -4557,7 +4557,7 @@ var Qr = { exports: {} };
|
|
|
4557
4557
|
});
|
|
4558
4558
|
};
|
|
4559
4559
|
function K(u, d, h) {
|
|
4560
|
-
h =
|
|
4560
|
+
h = L(h, {
|
|
4561
4561
|
Promise,
|
|
4562
4562
|
timeout: 0,
|
|
4563
4563
|
overload: !1
|
|
@@ -4700,11 +4700,11 @@ const Ee = class {
|
|
|
4700
4700
|
};
|
|
4701
4701
|
let Pt = Ee;
|
|
4702
4702
|
G(Pt, "_instance");
|
|
4703
|
-
const Au = Pt.instance(), Fu = () => ["account"],
|
|
4703
|
+
const Au = Pt.instance(), Fu = () => ["account"], fc = () => {
|
|
4704
4704
|
const e = Su(() => {
|
|
4705
4705
|
var r;
|
|
4706
4706
|
return (r = Au.config) == null ? void 0 : r.account;
|
|
4707
|
-
}), [t, i] = ba(
|
|
4707
|
+
}), [t, i] = ba(Li), n = Vs(
|
|
4708
4708
|
Fu(),
|
|
4709
4709
|
() => zi.get(e),
|
|
4710
4710
|
{
|
|
@@ -4723,22 +4723,25 @@ const Au = Pt.instance(), Fu = () => ["account"], dc = () => {
|
|
|
4723
4723
|
}, Cu = Ri();
|
|
4724
4724
|
async function Ru(e) {
|
|
4725
4725
|
const t = await zi.get(e);
|
|
4726
|
-
return Cu.set(
|
|
4726
|
+
return Cu.set(Li, t), t;
|
|
4727
4727
|
}
|
|
4728
|
-
|
|
4728
|
+
var Tu = /* @__PURE__ */ ((e) => (e.CREATED = "CREATED", e.STARTING = "STARTING", e.LIVE = "LIVE", e.FINALIZED = "FINALIZED", e))(Tu || {});
|
|
4729
|
+
const hc = {
|
|
4729
4730
|
ALL: "*",
|
|
4730
|
-
CORE: "core",
|
|
4731
|
-
|
|
4732
|
-
EVENT_CHAT: "event
|
|
4733
|
-
EVENT_PRODUCTS: "event
|
|
4734
|
-
|
|
4735
|
-
PLAYER: "player",
|
|
4736
|
-
SNACK_SIZE_VIDEO: "
|
|
4737
|
-
SNACK_SIZE_VIDEO_ADMIN: "
|
|
4738
|
-
UI: "ui",
|
|
4739
|
-
UTILS: "utils"
|
|
4731
|
+
CORE: "core:*",
|
|
4732
|
+
LIVE_STREAMING_EVENT: "event:*",
|
|
4733
|
+
EVENT_CHAT: "event:chat:*",
|
|
4734
|
+
EVENT_PRODUCTS: "event:products:*",
|
|
4735
|
+
CUSTOMIZE_LIVE: "customize-live:*",
|
|
4736
|
+
PLAYER: "player:*",
|
|
4737
|
+
SNACK_SIZE_VIDEO: "ssv:*",
|
|
4738
|
+
SNACK_SIZE_VIDEO_ADMIN: "ssv:admin:*",
|
|
4739
|
+
UI: "ui:*",
|
|
4740
|
+
UTILS: "utils:*"
|
|
4741
|
+
}, mc = {
|
|
4742
|
+
EVENT_STATUS_CHANGED: "event:statusChanged"
|
|
4740
4743
|
};
|
|
4741
|
-
var
|
|
4744
|
+
var Lu = /* @__PURE__ */ ((e) => (e.English = "en", e.Spanish = "es", e.Portuguese = "pt", e))(Lu || {}), xu = /* @__PURE__ */ ((e) => (e.COMBO = "Combo", e))(xu || {}), Pu = /* @__PURE__ */ ((e) => (e.VTEX = "VTEX", e.PLATFORM = "platform", e.CACE = "CACE", e.GLOBAL_PAGE = "globalPage", e.DEV_LOCAL = "dev:local", e.CUSTOMIZATION = "customization", e))(Pu || {});
|
|
4742
4745
|
function fe(e) {
|
|
4743
4746
|
return fe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4744
4747
|
return typeof t;
|
|
@@ -4746,7 +4749,7 @@ function fe(e) {
|
|
|
4746
4749
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
4747
4750
|
}, fe(e);
|
|
4748
4751
|
}
|
|
4749
|
-
function
|
|
4752
|
+
function Du(e, t) {
|
|
4750
4753
|
if (fe(e) !== "object" || e === null)
|
|
4751
4754
|
return e;
|
|
4752
4755
|
var i = e[Symbol.toPrimitive];
|
|
@@ -4759,10 +4762,10 @@ function Pu(e, t) {
|
|
|
4759
4762
|
return (t === "string" ? String : Number)(e);
|
|
4760
4763
|
}
|
|
4761
4764
|
function qr(e) {
|
|
4762
|
-
var t =
|
|
4765
|
+
var t = Du(e, "string");
|
|
4763
4766
|
return fe(t) === "symbol" ? t : String(t);
|
|
4764
4767
|
}
|
|
4765
|
-
function
|
|
4768
|
+
function Iu(e, t, i) {
|
|
4766
4769
|
return t = qr(t), t in e ? Object.defineProperty(e, t, {
|
|
4767
4770
|
value: i,
|
|
4768
4771
|
enumerable: !0,
|
|
@@ -4776,7 +4779,7 @@ function X(e) {
|
|
|
4776
4779
|
typeof Object.getOwnPropertySymbols == "function" && n.push.apply(n, Object.getOwnPropertySymbols(i).filter(function(r) {
|
|
4777
4780
|
return Object.getOwnPropertyDescriptor(i, r).enumerable;
|
|
4778
4781
|
})), n.forEach(function(r) {
|
|
4779
|
-
|
|
4782
|
+
Iu(e, r, i[r]);
|
|
4780
4783
|
});
|
|
4781
4784
|
}
|
|
4782
4785
|
return e;
|
|
@@ -4831,7 +4834,7 @@ function Yt(e, t) {
|
|
|
4831
4834
|
writable: !1
|
|
4832
4835
|
}), t && On(e, t);
|
|
4833
4836
|
}
|
|
4834
|
-
var
|
|
4837
|
+
var Vu = {
|
|
4835
4838
|
type: "logger",
|
|
4836
4839
|
log: function(t) {
|
|
4837
4840
|
this.output("log", t);
|
|
@@ -4845,7 +4848,7 @@ var Iu = {
|
|
|
4845
4848
|
output: function(t, i) {
|
|
4846
4849
|
console && console[t] && console[t].apply(console, i);
|
|
4847
4850
|
}
|
|
4848
|
-
},
|
|
4851
|
+
}, ju = function() {
|
|
4849
4852
|
function e(t) {
|
|
4850
4853
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4851
4854
|
Oe(this, e), this.init(t, i);
|
|
@@ -4854,7 +4857,7 @@ var Iu = {
|
|
|
4854
4857
|
key: "init",
|
|
4855
4858
|
value: function(i) {
|
|
4856
4859
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4857
|
-
this.prefix = n.prefix || "i18next:", this.logger = i ||
|
|
4860
|
+
this.prefix = n.prefix || "i18next:", this.logger = i || Vu, this.options = n, this.debug = n.debug;
|
|
4858
4861
|
}
|
|
4859
4862
|
}, {
|
|
4860
4863
|
key: "setDebug",
|
|
@@ -4902,7 +4905,7 @@ var Iu = {
|
|
|
4902
4905
|
}, this.options));
|
|
4903
4906
|
}
|
|
4904
4907
|
}]), e;
|
|
4905
|
-
}(), _e = new
|
|
4908
|
+
}(), _e = new ju(), Te = function() {
|
|
4906
4909
|
function e() {
|
|
4907
4910
|
Oe(this, e), this.observers = {};
|
|
4908
4911
|
}
|
|
@@ -4956,7 +4959,7 @@ function nt() {
|
|
|
4956
4959
|
function pi(e) {
|
|
4957
4960
|
return e == null ? "" : "" + e;
|
|
4958
4961
|
}
|
|
4959
|
-
function
|
|
4962
|
+
function Uu(e, t, i) {
|
|
4960
4963
|
e.forEach(function(n) {
|
|
4961
4964
|
t[n] && (i[n] = t[n]);
|
|
4962
4965
|
});
|
|
@@ -4983,7 +4986,7 @@ function gi(e, t, i) {
|
|
|
4983
4986
|
var n = Mn(e, t, Object), r = n.obj, a = n.k;
|
|
4984
4987
|
r[a] = i;
|
|
4985
4988
|
}
|
|
4986
|
-
function
|
|
4989
|
+
function Mu(e, t, i, n) {
|
|
4987
4990
|
var r = Mn(e, t, Object), a = r.obj, s = r.k;
|
|
4988
4991
|
a[s] = a[s] || [], n && (a[s] = a[s].concat(i)), n || a[s].push(i);
|
|
4989
4992
|
}
|
|
@@ -5004,7 +5007,7 @@ function Jr(e, t, i) {
|
|
|
5004
5007
|
function Me(e) {
|
|
5005
5008
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
5006
5009
|
}
|
|
5007
|
-
var
|
|
5010
|
+
var Bu = {
|
|
5008
5011
|
"&": "&",
|
|
5009
5012
|
"<": "<",
|
|
5010
5013
|
">": ">",
|
|
@@ -5012,9 +5015,9 @@ var Mu = {
|
|
|
5012
5015
|
"'": "'",
|
|
5013
5016
|
"/": "/"
|
|
5014
5017
|
};
|
|
5015
|
-
function
|
|
5018
|
+
function Gu(e) {
|
|
5016
5019
|
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, function(t) {
|
|
5017
|
-
return
|
|
5020
|
+
return Bu[t];
|
|
5018
5021
|
}) : e;
|
|
5019
5022
|
}
|
|
5020
5023
|
var en = typeof window != "undefined" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf("MSIE") > -1;
|
|
@@ -5043,7 +5046,7 @@ function Hr(e, t) {
|
|
|
5043
5046
|
return r;
|
|
5044
5047
|
}
|
|
5045
5048
|
}
|
|
5046
|
-
var
|
|
5049
|
+
var zu = function(e) {
|
|
5047
5050
|
Yt(t, e);
|
|
5048
5051
|
function t(i) {
|
|
5049
5052
|
var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
@@ -5144,7 +5147,7 @@ var Gu = function(e) {
|
|
|
5144
5147
|
Yt(t, e);
|
|
5145
5148
|
function t(i) {
|
|
5146
5149
|
var n, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5147
|
-
return Oe(this, t), n = mt(this, He(t).call(this)), en && Te.call(Ie(n)),
|
|
5150
|
+
return Oe(this, t), n = mt(this, He(t).call(this)), en && Te.call(Ie(n)), Uu(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], i, Ie(n)), n.options = r, n.options.keySeparator === void 0 && (n.options.keySeparator = "."), n.logger = _e.create("translator"), n;
|
|
5148
5151
|
}
|
|
5149
5152
|
return we(t, [{
|
|
5150
5153
|
key: "changeLanguage",
|
|
@@ -5195,14 +5198,14 @@ var Gu = function(e) {
|
|
|
5195
5198
|
}
|
|
5196
5199
|
return c;
|
|
5197
5200
|
}
|
|
5198
|
-
var b = this.resolve(n, r), _ = b && b.res, C = b && b.usedKey || c,
|
|
5201
|
+
var b = this.resolve(n, r), _ = b && b.res, C = b && b.usedKey || c, L = b && b.exactUsedKey || c, U = Object.prototype.toString.apply(_), P = ["[object Number]", "[object Function]", "[object RegExp]"], z = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, Q = !this.i18nFormat || this.i18nFormat.handleAsObject, Y = typeof _ != "string" && typeof _ != "boolean" && typeof _ != "number";
|
|
5199
5202
|
if (Q && _ && Y && P.indexOf(U) < 0 && !(typeof z == "string" && U === "[object Array]")) {
|
|
5200
5203
|
if (!r.returnObjects && !this.options.returnObjects)
|
|
5201
5204
|
return this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(C, _, X({}, r, {
|
|
5202
5205
|
ns: f
|
|
5203
5206
|
})) : "key '".concat(c, " (").concat(this.language, ")' returned an object instead of string.");
|
|
5204
5207
|
if (o) {
|
|
5205
|
-
var g = U === "[object Array]", k = g ? [] : {}, F = g ?
|
|
5208
|
+
var g = U === "[object Array]", k = g ? [] : {}, F = g ? L : C;
|
|
5206
5209
|
for (var T in _)
|
|
5207
5210
|
if (Object.prototype.hasOwnProperty.call(_, T)) {
|
|
5208
5211
|
var I = "".concat(F).concat(o).concat(T);
|
|
@@ -5268,9 +5271,9 @@ var Gu = function(e) {
|
|
|
5268
5271
|
f < R && (a.nest = !1);
|
|
5269
5272
|
}
|
|
5270
5273
|
a.nest !== !1 && (n = this.interpolator.nest(n, function() {
|
|
5271
|
-
for (var C = arguments.length,
|
|
5272
|
-
|
|
5273
|
-
return o && o[0] ===
|
|
5274
|
+
for (var C = arguments.length, L = new Array(C), U = 0; U < C; U++)
|
|
5275
|
+
L[U] = arguments[U];
|
|
5276
|
+
return o && o[0] === L[0] && !a.context ? (l.logger.warn("It seems you are nesting recursively key: ".concat(L[0], " in key: ").concat(r[0])), null) : l.translate.apply(l, L.concat([r]));
|
|
5274
5277
|
}, a)), a.interpolation && this.interpolator.reset();
|
|
5275
5278
|
}
|
|
5276
5279
|
var b = a.postProcess || this.options.postProcess, _ = typeof b == "string" ? [b] : b;
|
|
@@ -5289,19 +5292,19 @@ var Gu = function(e) {
|
|
|
5289
5292
|
var R = O.namespaces;
|
|
5290
5293
|
r.options.fallbackNS && (R = R.concat(r.options.fallbackNS));
|
|
5291
5294
|
var b = a.count !== void 0 && typeof a.count != "string", _ = a.context !== void 0 && (typeof a.context == "string" || typeof a.context == "number") && a.context !== "", C = a.lngs ? a.lngs : r.languageUtils.toResolveHierarchy(a.lng || r.language, a.fallbackLng);
|
|
5292
|
-
R.forEach(function(
|
|
5293
|
-
r.isValidLookup(s) || (f =
|
|
5295
|
+
R.forEach(function(L) {
|
|
5296
|
+
r.isValidLookup(s) || (f = L, !yi["".concat(C[0], "-").concat(L)] && r.utils && r.utils.hasLoadedNamespace && !r.utils.hasLoadedNamespace(f) && (yi["".concat(C[0], "-").concat(L)] = !0, r.logger.warn('key "'.concat(o, '" for languages "').concat(C.join(", "), `" won't get resolved as namespace "`).concat(f, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), C.forEach(function(U) {
|
|
5294
5297
|
if (!r.isValidLookup(s)) {
|
|
5295
5298
|
c = U;
|
|
5296
5299
|
var P = A, z = [P];
|
|
5297
5300
|
if (r.i18nFormat && r.i18nFormat.addLookupKeys)
|
|
5298
|
-
r.i18nFormat.addLookupKeys(z, A, U,
|
|
5301
|
+
r.i18nFormat.addLookupKeys(z, A, U, L, a);
|
|
5299
5302
|
else {
|
|
5300
5303
|
var Q;
|
|
5301
5304
|
b && (Q = r.pluralResolver.getSuffix(U, a.count)), b && _ && z.push(P + Q), _ && z.push(P += "".concat(r.options.contextSeparator).concat(a.context)), b && z.push(P += Q);
|
|
5302
5305
|
}
|
|
5303
5306
|
for (var Y; Y = z.pop(); )
|
|
5304
|
-
r.isValidLookup(s) || (l = Y, s = r.getResource(U,
|
|
5307
|
+
r.isValidLookup(s) || (l = Y, s = r.getResource(U, L, Y, a));
|
|
5305
5308
|
}
|
|
5306
5309
|
}));
|
|
5307
5310
|
});
|
|
@@ -5339,7 +5342,7 @@ var Gu = function(e) {
|
|
|
5339
5342
|
function vn(e) {
|
|
5340
5343
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
5341
5344
|
}
|
|
5342
|
-
var
|
|
5345
|
+
var Ku = function() {
|
|
5343
5346
|
function e(t) {
|
|
5344
5347
|
Oe(this, e), this.options = t, this.whitelist = this.options.supportedLngs || !1, this.supportedLngs = this.options.supportedLngs || !1, this.logger = _e.create("languageUtils");
|
|
5345
5348
|
}
|
|
@@ -5427,7 +5430,7 @@ var zu = function() {
|
|
|
5427
5430
|
}), s;
|
|
5428
5431
|
}
|
|
5429
5432
|
}]), e;
|
|
5430
|
-
}(),
|
|
5433
|
+
}(), $u = [{
|
|
5431
5434
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
5432
5435
|
nr: [1, 2],
|
|
5433
5436
|
fc: 1
|
|
@@ -5519,7 +5522,7 @@ var zu = function() {
|
|
|
5519
5522
|
lngs: ["he", "iw"],
|
|
5520
5523
|
nr: [1, 2, 20, 21],
|
|
5521
5524
|
fc: 22
|
|
5522
|
-
}],
|
|
5525
|
+
}], Wu = {
|
|
5523
5526
|
1: function(t) {
|
|
5524
5527
|
return +(t > 1);
|
|
5525
5528
|
},
|
|
@@ -5587,21 +5590,21 @@ var zu = function() {
|
|
|
5587
5590
|
return t == 1 ? 0 : t == 2 ? 1 : (t < 0 || t > 10) && t % 10 == 0 ? 2 : 3;
|
|
5588
5591
|
}
|
|
5589
5592
|
};
|
|
5590
|
-
function
|
|
5593
|
+
function Qu() {
|
|
5591
5594
|
var e = {};
|
|
5592
|
-
return
|
|
5595
|
+
return $u.forEach(function(t) {
|
|
5593
5596
|
t.lngs.forEach(function(i) {
|
|
5594
5597
|
e[i] = {
|
|
5595
5598
|
numbers: t.nr,
|
|
5596
|
-
plurals:
|
|
5599
|
+
plurals: Wu[t.fc]
|
|
5597
5600
|
};
|
|
5598
5601
|
});
|
|
5599
5602
|
}), e;
|
|
5600
5603
|
}
|
|
5601
|
-
var
|
|
5604
|
+
var qu = function() {
|
|
5602
5605
|
function e(t) {
|
|
5603
5606
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5604
|
-
Oe(this, e), this.languageUtils = t, this.options = i, this.logger = _e.create("pluralResolver"), this.rules =
|
|
5607
|
+
Oe(this, e), this.languageUtils = t, this.options = i, this.logger = _e.create("pluralResolver"), this.rules = Qu();
|
|
5605
5608
|
}
|
|
5606
5609
|
return we(e, [{
|
|
5607
5610
|
key: "addRule",
|
|
@@ -5649,7 +5652,7 @@ var Qu = function() {
|
|
|
5649
5652
|
return this.logger.warn("no plural rule found for: ".concat(i)), "";
|
|
5650
5653
|
}
|
|
5651
5654
|
}]), e;
|
|
5652
|
-
}(),
|
|
5655
|
+
}(), Ju = function() {
|
|
5653
5656
|
function e() {
|
|
5654
5657
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5655
5658
|
Oe(this, e), this.logger = _e.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || function(i) {
|
|
@@ -5664,7 +5667,7 @@ var Qu = function() {
|
|
|
5664
5667
|
escapeValue: !0
|
|
5665
5668
|
});
|
|
5666
5669
|
var n = i.interpolation;
|
|
5667
|
-
this.escape = n.escape !== void 0 ? n.escape :
|
|
5670
|
+
this.escape = n.escape !== void 0 ? n.escape : Gu, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? Me(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? Me(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? Me(n.nestingPrefix) : n.nestingPrefixEscaped || Me("$t("), this.nestingSuffix = n.nestingSuffix ? Me(n.nestingSuffix) : n.nestingSuffixEscaped || Me(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
|
|
5668
5671
|
}
|
|
5669
5672
|
}, {
|
|
5670
5673
|
key: "reset",
|
|
@@ -5690,10 +5693,10 @@ var Qu = function() {
|
|
|
5690
5693
|
}
|
|
5691
5694
|
var O = function(C) {
|
|
5692
5695
|
if (C.indexOf(s.formatSeparator) < 0) {
|
|
5693
|
-
var
|
|
5694
|
-
return s.alwaysFormat ? s.format(
|
|
5696
|
+
var L = ki(n, f, C);
|
|
5697
|
+
return s.alwaysFormat ? s.format(L, void 0, r, X({}, a, n, {
|
|
5695
5698
|
interpolationkey: C
|
|
5696
|
-
})) :
|
|
5699
|
+
})) : L;
|
|
5697
5700
|
}
|
|
5698
5701
|
var U = C.split(s.formatSeparator), P = U.shift().trim(), z = U.join(s.formatSeparator).trim();
|
|
5699
5702
|
return s.format(ki(n, f, P), z, r, X({}, a, n, {
|
|
@@ -5725,8 +5728,8 @@ var Qu = function() {
|
|
|
5725
5728
|
s.logger.warn("missed to pass in variable ".concat(o[1], " for interpolating ").concat(i)), l = "";
|
|
5726
5729
|
else
|
|
5727
5730
|
typeof l != "string" && !s.useRawValueToEscape && (l = pi(l));
|
|
5728
|
-
var
|
|
5729
|
-
if (i = i.replace(o[0],
|
|
5731
|
+
var L = _.safeValue(l);
|
|
5732
|
+
if (i = i.replace(o[0], L), R ? (_.regex.lastIndex += L.length, _.regex.lastIndex -= o[0].length) : _.regex.lastIndex = 0, c++, c >= s.maxReplaces)
|
|
5730
5733
|
break;
|
|
5731
5734
|
}
|
|
5732
5735
|
}), i;
|
|
@@ -5744,8 +5747,8 @@ var Qu = function() {
|
|
|
5744
5747
|
A = _[0], C = this.interpolate(C, l), C = C.replace(/'/g, '"');
|
|
5745
5748
|
try {
|
|
5746
5749
|
l = JSON.parse(C), R && (l = X({}, R, l));
|
|
5747
|
-
} catch (
|
|
5748
|
-
return this.logger.warn("failed parsing options string in nesting for key ".concat(A),
|
|
5750
|
+
} catch (L) {
|
|
5751
|
+
return this.logger.warn("failed parsing options string in nesting for key ".concat(A), L), "".concat(A).concat(b).concat(C);
|
|
5749
5752
|
}
|
|
5750
5753
|
return delete l.defaultValue, A;
|
|
5751
5754
|
}
|
|
@@ -5769,11 +5772,11 @@ var Qu = function() {
|
|
|
5769
5772
|
}
|
|
5770
5773
|
}]), e;
|
|
5771
5774
|
}();
|
|
5772
|
-
function
|
|
5775
|
+
function Hu(e, t) {
|
|
5773
5776
|
for (var i = e.indexOf(t); i !== -1; )
|
|
5774
5777
|
e.splice(i, 1), i = e.indexOf(t);
|
|
5775
5778
|
}
|
|
5776
|
-
var
|
|
5779
|
+
var Zu = function(e) {
|
|
5777
5780
|
Yt(t, e);
|
|
5778
5781
|
function t(i, n, r) {
|
|
5779
5782
|
var a, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
@@ -5808,7 +5811,7 @@ var Hu = function(e) {
|
|
|
5808
5811
|
r && this.emit("failedLoading", o, l, r), a && this.store.addResourceBundle(o, l, a), this.state[n] = r ? -1 : 2;
|
|
5809
5812
|
var c = {};
|
|
5810
5813
|
this.queue.forEach(function(f) {
|
|
5811
|
-
|
|
5814
|
+
Mu(f.loaded, [o], l), Hu(f.pending, n), r && f.errors.push(r), f.pending.length === 0 && !f.done && (Object.keys(f.loaded).forEach(function(v) {
|
|
5812
5815
|
c[v] || (c[v] = []), f.loaded[v].length && f.loaded[v].forEach(function(O) {
|
|
5813
5816
|
c[v].indexOf(O) < 0 && c[v].push(O);
|
|
5814
5817
|
});
|
|
@@ -5879,7 +5882,7 @@ var Hu = function(e) {
|
|
|
5879
5882
|
}
|
|
5880
5883
|
}]), t;
|
|
5881
5884
|
}(Te);
|
|
5882
|
-
function
|
|
5885
|
+
function Xu() {
|
|
5883
5886
|
return {
|
|
5884
5887
|
debug: !1,
|
|
5885
5888
|
initImmediate: !0,
|
|
@@ -5945,9 +5948,9 @@ function Zu() {
|
|
|
5945
5948
|
function bi(e) {
|
|
5946
5949
|
return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.whitelist && (e.whitelist && e.whitelist.indexOf("cimode") < 0 && (e.whitelist = e.whitelist.concat(["cimode"])), e.supportedLngs = e.whitelist), e.nonExplicitWhitelist && (e.nonExplicitSupportedLngs = e.nonExplicitWhitelist), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
|
|
5947
5950
|
}
|
|
5948
|
-
function
|
|
5951
|
+
function Lt() {
|
|
5949
5952
|
}
|
|
5950
|
-
var
|
|
5953
|
+
var Yu = function(e) {
|
|
5951
5954
|
Yt(t, e);
|
|
5952
5955
|
function t() {
|
|
5953
5956
|
var i, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
@@ -5966,22 +5969,22 @@ var Xu = function(e) {
|
|
|
5966
5969
|
key: "init",
|
|
5967
5970
|
value: function() {
|
|
5968
5971
|
var n = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 ? arguments[1] : void 0;
|
|
5969
|
-
typeof r == "function" && (a = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'), this.options = X({},
|
|
5972
|
+
typeof r == "function" && (a = r, r = {}), r.whitelist && !r.supportedLngs && this.logger.deprecate("whitelist", 'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'), r.nonExplicitWhitelist && !r.nonExplicitSupportedLngs && this.logger.deprecate("whitelist", 'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'), this.options = X({}, Xu(), this.options, bi(r)), this.format = this.options.interpolation.format, a || (a = Lt);
|
|
5970
5973
|
function s(R) {
|
|
5971
5974
|
return R ? typeof R == "function" ? new R() : R : null;
|
|
5972
5975
|
}
|
|
5973
5976
|
if (!this.options.isClone) {
|
|
5974
5977
|
this.modules.logger ? _e.init(s(this.modules.logger), this.options) : _e.init(null, this.options);
|
|
5975
|
-
var o = new
|
|
5976
|
-
this.store = new
|
|
5978
|
+
var o = new Ku(this.options);
|
|
5979
|
+
this.store = new zu(this.options.resources, this.options);
|
|
5977
5980
|
var l = this.services;
|
|
5978
|
-
l.logger = _e, l.resourceStore = this.store, l.languageUtils = o, l.pluralResolver = new
|
|
5981
|
+
l.logger = _e, l.resourceStore = this.store, l.languageUtils = o, l.pluralResolver = new qu(o, {
|
|
5979
5982
|
prepend: this.options.pluralSeparator,
|
|
5980
5983
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
5981
5984
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
5982
|
-
}), l.interpolator = new
|
|
5985
|
+
}), l.interpolator = new Ju(this.options), l.utils = {
|
|
5983
5986
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
5984
|
-
}, l.backendConnector = new
|
|
5987
|
+
}, l.backendConnector = new Zu(s(this.modules.backend), l.resourceStore, l, this.options), l.backendConnector.on("*", function(R) {
|
|
5985
5988
|
for (var b = arguments.length, _ = new Array(b > 1 ? b - 1 : 0), C = 1; C < b; C++)
|
|
5986
5989
|
_[C - 1] = arguments[C];
|
|
5987
5990
|
n.emit.apply(n, [R].concat(_));
|
|
@@ -6013,8 +6016,8 @@ var Xu = function(e) {
|
|
|
6013
6016
|
};
|
|
6014
6017
|
});
|
|
6015
6018
|
var O = nt(), A = function() {
|
|
6016
|
-
var b = function(C,
|
|
6017
|
-
n.isInitialized && n.logger.warn("init: i18next is already initialized. You should call init just once!"), n.isInitialized = !0, n.options.isClone || n.logger.log("initialized", n.options), n.emit("initialized", n.options), O.resolve(
|
|
6019
|
+
var b = function(C, L) {
|
|
6020
|
+
n.isInitialized && n.logger.warn("init: i18next is already initialized. You should call init just once!"), n.isInitialized = !0, n.options.isClone || n.logger.log("initialized", n.options), n.emit("initialized", n.options), O.resolve(L), a(C, L);
|
|
6018
6021
|
};
|
|
6019
6022
|
if (n.languages && n.options.compatibilityAPI !== "v1" && !n.isInitialized)
|
|
6020
6023
|
return b(null, n.t.bind(n));
|
|
@@ -6025,7 +6028,7 @@ var Xu = function(e) {
|
|
|
6025
6028
|
}, {
|
|
6026
6029
|
key: "loadResources",
|
|
6027
6030
|
value: function(n) {
|
|
6028
|
-
var r = this, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
6031
|
+
var r = this, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lt, s = a, o = typeof n == "string" ? n : this.language;
|
|
6029
6032
|
if (typeof n == "function" && (s = n), !this.options.resources || this.options.partialBundledLanguages) {
|
|
6030
6033
|
if (o && o.toLowerCase() === "cimode")
|
|
6031
6034
|
return s();
|
|
@@ -6055,7 +6058,7 @@ var Xu = function(e) {
|
|
|
6055
6058
|
key: "reloadResources",
|
|
6056
6059
|
value: function(n, r, a) {
|
|
6057
6060
|
var s = nt();
|
|
6058
|
-
return n || (n = this.languages), r || (r = this.options.ns), a || (a =
|
|
6061
|
+
return n || (n = this.languages), r || (r = this.options.ns), a || (a = Lt), this.services.backendConnector.reload(n, r, function(o) {
|
|
6059
6062
|
s.resolve(), a(o);
|
|
6060
6063
|
}), s;
|
|
6061
6064
|
}
|
|
@@ -6183,7 +6186,7 @@ var Xu = function(e) {
|
|
|
6183
6186
|
}, {
|
|
6184
6187
|
key: "cloneInstance",
|
|
6185
6188
|
value: function() {
|
|
6186
|
-
var n = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
6189
|
+
var n = this, r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Lt, s = X({}, this.options, r, {
|
|
6187
6190
|
isClone: !0
|
|
6188
6191
|
}), o = new t(s), l = ["store", "services", "language"];
|
|
6189
6192
|
return l.forEach(function(c) {
|
|
@@ -6209,27 +6212,27 @@ var Xu = function(e) {
|
|
|
6209
6212
|
};
|
|
6210
6213
|
}
|
|
6211
6214
|
}]), t;
|
|
6212
|
-
}(Te), Xr = new
|
|
6213
|
-
function
|
|
6215
|
+
}(Te), Xr = new Yu();
|
|
6216
|
+
function el(e) {
|
|
6214
6217
|
const t = Object.values(e);
|
|
6215
6218
|
return Object.assign({}, ...t);
|
|
6216
6219
|
}
|
|
6217
|
-
function
|
|
6220
|
+
function tl(e) {
|
|
6218
6221
|
return Object.entries(e).reduce(
|
|
6219
6222
|
(t, [i, n]) => {
|
|
6220
|
-
const r =
|
|
6223
|
+
const r = el(n);
|
|
6221
6224
|
return { ...t, [i]: r };
|
|
6222
6225
|
},
|
|
6223
6226
|
{}
|
|
6224
6227
|
);
|
|
6225
6228
|
}
|
|
6226
|
-
function
|
|
6227
|
-
const t =
|
|
6229
|
+
function vc(e) {
|
|
6230
|
+
const t = tl(e);
|
|
6228
6231
|
Object.entries(t).forEach(([i, n]) => {
|
|
6229
6232
|
Xr.addResourceBundle(i, "translation", n, !0);
|
|
6230
6233
|
});
|
|
6231
6234
|
}
|
|
6232
|
-
function
|
|
6235
|
+
function nl(e, t) {
|
|
6233
6236
|
if (!(e instanceof t))
|
|
6234
6237
|
throw new TypeError("Cannot call a class as a function");
|
|
6235
6238
|
}
|
|
@@ -6240,7 +6243,7 @@ function vt(e) {
|
|
|
6240
6243
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
6241
6244
|
}, vt(e);
|
|
6242
6245
|
}
|
|
6243
|
-
function
|
|
6246
|
+
function il(e, t) {
|
|
6244
6247
|
if (vt(e) !== "object" || e === null)
|
|
6245
6248
|
return e;
|
|
6246
6249
|
var i = e[Symbol.toPrimitive];
|
|
@@ -6252,30 +6255,30 @@ function nl(e, t) {
|
|
|
6252
6255
|
}
|
|
6253
6256
|
return (t === "string" ? String : Number)(e);
|
|
6254
6257
|
}
|
|
6255
|
-
function
|
|
6256
|
-
var t =
|
|
6258
|
+
function rl(e) {
|
|
6259
|
+
var t = il(e, "string");
|
|
6257
6260
|
return vt(t) === "symbol" ? t : String(t);
|
|
6258
6261
|
}
|
|
6259
6262
|
function Si(e, t) {
|
|
6260
6263
|
for (var i = 0; i < t.length; i++) {
|
|
6261
6264
|
var n = t[i];
|
|
6262
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e,
|
|
6265
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, rl(n.key), n);
|
|
6263
6266
|
}
|
|
6264
6267
|
}
|
|
6265
|
-
function
|
|
6268
|
+
function al(e, t, i) {
|
|
6266
6269
|
return t && Si(e.prototype, t), i && Si(e, i), Object.defineProperty(e, "prototype", {
|
|
6267
6270
|
writable: !1
|
|
6268
6271
|
}), e;
|
|
6269
6272
|
}
|
|
6270
|
-
var Yr = [],
|
|
6271
|
-
function
|
|
6272
|
-
return
|
|
6273
|
+
var Yr = [], sl = Yr.forEach, ol = Yr.slice;
|
|
6274
|
+
function ul(e) {
|
|
6275
|
+
return sl.call(ol.call(arguments, 1), function(t) {
|
|
6273
6276
|
if (t)
|
|
6274
6277
|
for (var i in t)
|
|
6275
6278
|
e[i] === void 0 && (e[i] = t[i]);
|
|
6276
6279
|
}), e;
|
|
6277
6280
|
}
|
|
6278
|
-
var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
6281
|
+
var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ll = function(t, i, n) {
|
|
6279
6282
|
var r = n || {};
|
|
6280
6283
|
r.path = r.path || "/";
|
|
6281
6284
|
var a = encodeURIComponent(i), s = "".concat(t, "=").concat(a);
|
|
@@ -6326,7 +6329,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6326
6329
|
path: "/",
|
|
6327
6330
|
sameSite: "strict"
|
|
6328
6331
|
};
|
|
6329
|
-
n && (a.expires = /* @__PURE__ */ new Date(), a.expires.setTime(a.expires.getTime() + n * 60 * 1e3)), r && (a.domain = r), document.cookie =
|
|
6332
|
+
n && (a.expires = /* @__PURE__ */ new Date(), a.expires.setTime(a.expires.getTime() + n * 60 * 1e3)), r && (a.domain = r), document.cookie = ll(t, encodeURIComponent(i), a);
|
|
6330
6333
|
},
|
|
6331
6334
|
read: function(t) {
|
|
6332
6335
|
for (var i = "".concat(t, "="), n = document.cookie.split(";"), r = 0; r < n.length; r++) {
|
|
@@ -6340,7 +6343,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6340
6343
|
remove: function(t) {
|
|
6341
6344
|
this.create(t, "", -1);
|
|
6342
6345
|
}
|
|
6343
|
-
},
|
|
6346
|
+
}, cl = {
|
|
6344
6347
|
name: "cookie",
|
|
6345
6348
|
lookup: function(t) {
|
|
6346
6349
|
var i;
|
|
@@ -6353,7 +6356,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6353
6356
|
cacheUserLanguage: function(t, i) {
|
|
6354
6357
|
i.lookupCookie && typeof document != "undefined" && Oi.create(i.lookupCookie, t, i.cookieMinutes, i.cookieDomain, i.cookieOptions);
|
|
6355
6358
|
}
|
|
6356
|
-
},
|
|
6359
|
+
}, dl = {
|
|
6357
6360
|
name: "querystring",
|
|
6358
6361
|
lookup: function(t) {
|
|
6359
6362
|
var i;
|
|
@@ -6381,7 +6384,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6381
6384
|
it = !1;
|
|
6382
6385
|
}
|
|
6383
6386
|
return it;
|
|
6384
|
-
},
|
|
6387
|
+
}, fl = {
|
|
6385
6388
|
name: "localStorage",
|
|
6386
6389
|
lookup: function(t) {
|
|
6387
6390
|
var i;
|
|
@@ -6405,7 +6408,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6405
6408
|
rt = !1;
|
|
6406
6409
|
}
|
|
6407
6410
|
return rt;
|
|
6408
|
-
},
|
|
6411
|
+
}, hl = {
|
|
6409
6412
|
name: "sessionStorage",
|
|
6410
6413
|
lookup: function(t) {
|
|
6411
6414
|
var i;
|
|
@@ -6418,7 +6421,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6418
6421
|
cacheUserLanguage: function(t, i) {
|
|
6419
6422
|
i.lookupSessionStorage && Ei() && window.sessionStorage.setItem(i.lookupSessionStorage, t);
|
|
6420
6423
|
}
|
|
6421
|
-
},
|
|
6424
|
+
}, ml = {
|
|
6422
6425
|
name: "navigator",
|
|
6423
6426
|
lookup: function(t) {
|
|
6424
6427
|
var i = [];
|
|
@@ -6430,13 +6433,13 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6430
6433
|
}
|
|
6431
6434
|
return i.length > 0 ? i : void 0;
|
|
6432
6435
|
}
|
|
6433
|
-
},
|
|
6436
|
+
}, vl = {
|
|
6434
6437
|
name: "htmlTag",
|
|
6435
6438
|
lookup: function(t) {
|
|
6436
6439
|
var i, n = t.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
|
|
6437
6440
|
return n && typeof n.getAttribute == "function" && (i = n.getAttribute("lang")), i;
|
|
6438
6441
|
}
|
|
6439
|
-
},
|
|
6442
|
+
}, pl = {
|
|
6440
6443
|
name: "path",
|
|
6441
6444
|
lookup: function(t) {
|
|
6442
6445
|
var i;
|
|
@@ -6452,7 +6455,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6452
6455
|
}
|
|
6453
6456
|
return i;
|
|
6454
6457
|
}
|
|
6455
|
-
},
|
|
6458
|
+
}, gl = {
|
|
6456
6459
|
name: "subdomain",
|
|
6457
6460
|
lookup: function(t) {
|
|
6458
6461
|
var i = typeof t.lookupFromSubdomainIndex == "number" ? t.lookupFromSubdomainIndex + 1 : 1, n = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
|
|
@@ -6460,7 +6463,7 @@ var Ni = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, ul = function(t, i, n) {
|
|
|
6460
6463
|
return n[i];
|
|
6461
6464
|
}
|
|
6462
6465
|
};
|
|
6463
|
-
function
|
|
6466
|
+
function kl() {
|
|
6464
6467
|
return {
|
|
6465
6468
|
order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
|
|
6466
6469
|
lookupQuerystring: "lng",
|
|
@@ -6480,17 +6483,17 @@ function gl() {
|
|
|
6480
6483
|
var ea = /* @__PURE__ */ function() {
|
|
6481
6484
|
function e(t) {
|
|
6482
6485
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6483
|
-
|
|
6486
|
+
nl(this, e), this.type = "languageDetector", this.detectors = {}, this.init(t, i);
|
|
6484
6487
|
}
|
|
6485
|
-
return
|
|
6488
|
+
return al(e, [{
|
|
6486
6489
|
key: "init",
|
|
6487
6490
|
value: function(i) {
|
|
6488
6491
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
6489
6492
|
this.services = i || {
|
|
6490
6493
|
languageUtils: {}
|
|
6491
|
-
}, this.options =
|
|
6494
|
+
}, this.options = ul(n, this.options || {}, kl()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(a) {
|
|
6492
6495
|
return a.replace("-", "_");
|
|
6493
|
-
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(
|
|
6496
|
+
}), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(cl), this.addDetector(dl), this.addDetector(fl), this.addDetector(hl), this.addDetector(ml), this.addDetector(vl), this.addDetector(pl), this.addDetector(gl);
|
|
6494
6497
|
}
|
|
6495
6498
|
}, {
|
|
6496
6499
|
key: "addDetector",
|
|
@@ -6523,7 +6526,7 @@ var ea = /* @__PURE__ */ function() {
|
|
|
6523
6526
|
}]), e;
|
|
6524
6527
|
}();
|
|
6525
6528
|
ea.type = "languageDetector";
|
|
6526
|
-
const
|
|
6529
|
+
const yl = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, _l = {
|
|
6527
6530
|
"&": "&",
|
|
6528
6531
|
"&": "&",
|
|
6529
6532
|
"<": "<",
|
|
@@ -6544,7 +6547,7 @@ const kl = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
|
|
|
6544
6547
|
"…": "…",
|
|
6545
6548
|
"/": "/",
|
|
6546
6549
|
"/": "/"
|
|
6547
|
-
},
|
|
6550
|
+
}, bl = (e) => _l[e], Sl = (e) => e.replace(yl, bl);
|
|
6548
6551
|
let Ai = {
|
|
6549
6552
|
bindI18n: "languageChanged",
|
|
6550
6553
|
bindI18nStore: "",
|
|
@@ -6553,21 +6556,21 @@ let Ai = {
|
|
|
6553
6556
|
transWrapTextNodes: "",
|
|
6554
6557
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
6555
6558
|
useSuspense: !0,
|
|
6556
|
-
unescape:
|
|
6559
|
+
unescape: Sl
|
|
6557
6560
|
};
|
|
6558
|
-
function
|
|
6561
|
+
function Nl() {
|
|
6559
6562
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6560
6563
|
Ai = {
|
|
6561
6564
|
...Ai,
|
|
6562
6565
|
...e
|
|
6563
6566
|
};
|
|
6564
6567
|
}
|
|
6565
|
-
const
|
|
6568
|
+
const Ol = {
|
|
6566
6569
|
type: "3rdParty",
|
|
6567
6570
|
init(e) {
|
|
6568
|
-
|
|
6571
|
+
Nl(e.options.react);
|
|
6569
6572
|
}
|
|
6570
|
-
},
|
|
6573
|
+
}, pc = Xr.use(Ol).use(ea).init({
|
|
6571
6574
|
resources: {},
|
|
6572
6575
|
fallbackLng: "en",
|
|
6573
6576
|
debug: !1,
|
|
@@ -6606,38 +6609,38 @@ const Nl = {
|
|
|
6606
6609
|
}
|
|
6607
6610
|
});
|
|
6608
6611
|
var ta = /* @__PURE__ */ ((e) => (e.Created = "CREATED", e.Finalized = "FINALIZED", e.Live = "LIVE", e.Starting = "STARTING", e))(ta || {}), na = /* @__PURE__ */ ((e) => (e.Add = "add", e.Remove = "remove", e))(na || {}), ia = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ia || {});
|
|
6609
|
-
const Ol = { 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" } }] } }] } }] } }] }, wl = { 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" } }] } }] } }] } }] }, El = { 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" } }] } }] } }] } }] }, Al = { 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" } }] } }] } }] } }] }, Fl = { 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: "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: "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" } }] } }] } }] } }] }, Rl = { 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" } }] } }] } }] } }] }, Tl = { 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" } }] } }] } }] } }] }, xl = { 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" } }] } }] } }] } }] }, Ll = { 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" } }] } }] } }] } }] }, Pl = { 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" } }] } }] } }] } }] }, Dl = { 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" } }] } }] } }] } }] }, Il = { 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" } }] } }] } }] } }] }, Vl = { 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" } }] } }] } }] } }] }, jl = { 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" } }] } }] } }] } }] }, Ul = { 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" } }] } }] } }] } }] }, Ml = { 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" } }] } }] } }] } }] }, Bl = { 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" } }] } }] } }] } }] }, Gl = { 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" } }] } }] } }] } }] }, zl = { 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" } }] } }] } }] } }] }, Kl = { 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" } }] } }] } }] } }] }, $l = { 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" } }] } }] } }] } }] }, Wl = { 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" } }] } }] } }] } }] } }] }, Ql = { 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" } }] } }] } }] } }] }, ql = { 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" } }] } }] } }] } }] }, vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6612
|
+
const wl = { 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" } }] } }] } }] } }] }, El = { 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" } }] } }] } }] } }] }, Al = { 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" } }] } }] } }] } }] }, Fl = { 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" } }] } }] } }] } }] }, Cl = { 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: "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: "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" } }] } }] } }] } }] }, Tl = { 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" } }] } }] } }] } }] }, Ll = { 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" } }] } }] } }] } }] }, xl = { 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" } }] } }] } }] } }] }, Pl = { 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" } }] } }] } }] } }] }, Dl = { 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" } }] } }] } }] } }] }, Il = { 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" } }] } }] } }] } }] }, Vl = { 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" } }] } }] } }] } }] }, jl = { 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" } }] } }] } }] } }] }, Ul = { 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" } }] } }] } }] } }] }, Ml = { 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" } }] } }] } }] } }] }, Bl = { 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" } }] } }] } }] } }] }, Gl = { 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" } }] } }] } }] } }] }, zl = { 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" } }] } }] } }] } }] }, Kl = { 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" } }] } }] } }] } }] }, $l = { 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" } }] } }] } }] } }] }, Wl = { 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" } }] } }] } }] } }] }, Ql = { 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" } }] } }] } }] } }] } }] }, ql = { 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" } }] } }] } }] } }] }, Jl = { 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" } }] } }] } }] } }] }, gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6610
6613
|
__proto__: null,
|
|
6611
|
-
AddCollectionDocument:
|
|
6612
|
-
AppendProductsToSnackVideoDocument:
|
|
6613
|
-
CreateSnackVideoBatchDocument:
|
|
6614
|
-
DeleteAllCustomizationDocument:
|
|
6615
|
-
DeleteChatMessageDocument:
|
|
6614
|
+
AddCollectionDocument: Ll,
|
|
6615
|
+
AppendProductsToSnackVideoDocument: Bl,
|
|
6616
|
+
CreateSnackVideoBatchDocument: Gl,
|
|
6617
|
+
DeleteAllCustomizationDocument: wl,
|
|
6618
|
+
DeleteChatMessageDocument: Fl,
|
|
6616
6619
|
DeleteCollectionDocument: xl,
|
|
6617
|
-
DeleteRelationshipWithSnackVideoDocument:
|
|
6618
|
-
DeleteSnackVideoDocument:
|
|
6620
|
+
DeleteRelationshipWithSnackVideoDocument: zl,
|
|
6621
|
+
DeleteSnackVideoDocument: Kl,
|
|
6619
6622
|
EventStatus: ta,
|
|
6620
|
-
FindByProductSnackVideoDocument:
|
|
6621
|
-
FindCollectionDocument:
|
|
6622
|
-
FindManySnackVideosDocument:
|
|
6623
|
-
FindMinimalEventDocument:
|
|
6624
|
-
GetAllChatMessageDocument:
|
|
6625
|
-
GetAllCollectionsDocument:
|
|
6626
|
-
GetAllCustomizationDocument:
|
|
6627
|
-
GetAllSnackVideosDocument:
|
|
6628
|
-
GetChatRoomTokenDocument:
|
|
6629
|
-
GetSnackVideoRelationshipsDocument:
|
|
6630
|
-
ManageCollectionProductDocument:
|
|
6623
|
+
FindByProductSnackVideoDocument: Jl,
|
|
6624
|
+
FindCollectionDocument: Pl,
|
|
6625
|
+
FindManySnackVideosDocument: $l,
|
|
6626
|
+
FindMinimalEventDocument: Ul,
|
|
6627
|
+
GetAllChatMessageDocument: Cl,
|
|
6628
|
+
GetAllCollectionsDocument: Dl,
|
|
6629
|
+
GetAllCustomizationDocument: El,
|
|
6630
|
+
GetAllSnackVideosDocument: Wl,
|
|
6631
|
+
GetChatRoomTokenDocument: Rl,
|
|
6632
|
+
GetSnackVideoRelationshipsDocument: Ql,
|
|
6633
|
+
ManageCollectionProductDocument: Il,
|
|
6631
6634
|
Methods: na,
|
|
6632
|
-
PinChatMessageDocument:
|
|
6633
|
-
SearchCollectionsDocument:
|
|
6634
|
-
SearchMinimalEventsDocument:
|
|
6635
|
-
SearchSnackVideosDocument:
|
|
6635
|
+
PinChatMessageDocument: Tl,
|
|
6636
|
+
SearchCollectionsDocument: Vl,
|
|
6637
|
+
SearchMinimalEventsDocument: Ml,
|
|
6638
|
+
SearchSnackVideosDocument: ql,
|
|
6636
6639
|
Status: ia,
|
|
6637
|
-
UpdateCollectionDocument:
|
|
6638
|
-
UpdateCustomizationDocument:
|
|
6640
|
+
UpdateCollectionDocument: jl,
|
|
6641
|
+
UpdateCustomizationDocument: Al
|
|
6639
6642
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6640
|
-
function
|
|
6643
|
+
function kc(e) {
|
|
6641
6644
|
return {
|
|
6642
6645
|
class: e,
|
|
6643
6646
|
_value: null,
|
|
@@ -6649,53 +6652,55 @@ function pc(e) {
|
|
|
6649
6652
|
export {
|
|
6650
6653
|
Gi as AccountContractStatusTypes,
|
|
6651
6654
|
ja as AccountContractTypes,
|
|
6652
|
-
|
|
6655
|
+
sc as AccountInvalidError,
|
|
6653
6656
|
Ma as AccountPlanDescriptionTypes,
|
|
6654
6657
|
za as AccountRestRepository,
|
|
6655
6658
|
Qa as AccountService,
|
|
6656
6659
|
Ua as AccountSubscriptionTypes,
|
|
6657
6660
|
Bi as AccountTypes,
|
|
6658
6661
|
Ia as AggregateRoot,
|
|
6659
|
-
|
|
6660
|
-
|
|
6662
|
+
gc as ApiGraphqlTypes,
|
|
6663
|
+
rc as BaseMobxStore,
|
|
6661
6664
|
Wt as DomainError,
|
|
6662
|
-
|
|
6665
|
+
hc as EventBusWildcards,
|
|
6666
|
+
mc as EventNames,
|
|
6663
6667
|
Ba as GlobalPageSectionTypes,
|
|
6664
6668
|
Wa as InvalidNizzaGlobalObjectError,
|
|
6665
|
-
|
|
6669
|
+
Lu as LanguageTypes,
|
|
6666
6670
|
En as NizzaAccount,
|
|
6667
|
-
|
|
6671
|
+
Tu as NizzaEventStatus,
|
|
6672
|
+
Pu as NizzaProductRequestOriginTypes,
|
|
6668
6673
|
Pt as NizzaStore,
|
|
6669
6674
|
xu as NizzaVariationTypes,
|
|
6670
6675
|
Ka as ResourceNotFoundError,
|
|
6671
|
-
|
|
6676
|
+
oc as StoreProvider,
|
|
6672
6677
|
$a as UnexpectedError,
|
|
6673
|
-
|
|
6674
|
-
|
|
6678
|
+
ac as ValueObject,
|
|
6679
|
+
Li as accountAtom,
|
|
6675
6680
|
zi as accountService,
|
|
6676
|
-
|
|
6681
|
+
Yl as apiCall,
|
|
6677
6682
|
Va as createAggregateRoot,
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
+
La as createLogger,
|
|
6684
|
+
kc as createStore,
|
|
6685
|
+
xi as customFetch,
|
|
6686
|
+
ec as downloadFile,
|
|
6687
|
+
nc as fileOrigin,
|
|
6683
6688
|
Ru as getAccount,
|
|
6684
6689
|
Pa as getLogger,
|
|
6685
|
-
|
|
6690
|
+
lc as getStore,
|
|
6686
6691
|
Cu as globalAtomStore,
|
|
6687
|
-
|
|
6692
|
+
pc as i18n,
|
|
6688
6693
|
Da as initializeLogger,
|
|
6689
6694
|
Aa as jsDownload,
|
|
6690
|
-
|
|
6695
|
+
ic as logger,
|
|
6691
6696
|
Au as nizza,
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6697
|
+
xa as registerLogger,
|
|
6698
|
+
vc as registerTranslations,
|
|
6699
|
+
tc as searchParams,
|
|
6695
6700
|
Ca as shortId,
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6701
|
+
fc as useAccount,
|
|
6702
|
+
cc as useAutorun,
|
|
6703
|
+
dc as useReaction,
|
|
6699
6704
|
Su as useSelect,
|
|
6700
|
-
|
|
6705
|
+
uc as useStore
|
|
6701
6706
|
};
|