@nizza/core 0.4.5-alpha.9 → 0.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -450,8 +450,8 @@ async function It(n) {
450
450
  throw console.error("[CustomFetch] ", l), l;
451
451
  }
452
452
  }
453
- const Us = (n) => It({ ...n, contentTypeJson: !1, raw: !1 });
454
- function Ms(n, e, t) {
453
+ const js = (n) => It({ ...n, contentTypeJson: !1, raw: !1 });
454
+ function $s(n, e, t) {
455
455
  fetch(e).then((i) => i.blob()).then((i) => On(i, `${n}.${t}`));
456
456
  }
457
457
  const On = (n, e, t) => {
@@ -977,11 +977,11 @@ class Xn {
977
977
  }
978
978
  }
979
979
  let Yn = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
980
- const ei = (n = 8) => Yn(n), js = (n) => {
980
+ const ei = (n = 8) => Yn(n), zs = (n) => {
981
981
  const e = Object.entries(n).reduce((t, [i, a]) => a !== void 0 ? `${t}${t ? "&" : ""}${i}=${a}` : t, "");
982
982
  return e ? `?${e}` : "";
983
983
  };
984
- function $s() {
984
+ function Bs() {
985
985
  const n = new Error().stack.split(`
986
986
  `);
987
987
  return n.length < 3 ? "" : n[2].trim().substring(3);
@@ -1230,6 +1230,7 @@ const z = Pn({
1230
1230
  }, ai = (n) => {
1231
1231
  z.productDataSource = _t(n);
1232
1232
  }, tt = () => ({
1233
+ version: "0.1.0",
1233
1234
  state: z,
1234
1235
  configure: ii,
1235
1236
  setProductDataSource: ai,
@@ -1251,7 +1252,7 @@ const z = Pn({
1251
1252
  return window.nizza;
1252
1253
  }
1253
1254
  return tt();
1254
- }, je = si(), Bs = je.log.createLogger("main"), ee = je.log.createLogger("core");
1255
+ }, je = si(), Ks = je.log.createLogger("main"), ee = je.log.createLogger("core");
1255
1256
  function G(n) {
1256
1257
  return n != null && typeof n == "object" && n["@@functional/placeholder"] === !0;
1257
1258
  }
@@ -1339,7 +1340,7 @@ class ki extends ye {
1339
1340
  );
1340
1341
  }
1341
1342
  }
1342
- class Qs extends ye {
1343
+ class Gs extends ye {
1343
1344
  constructor() {
1344
1345
  super("APP_ACCOUNT_INVALID_ERROR", "Account not defined");
1345
1346
  }
@@ -1372,13 +1373,13 @@ class vi extends ye {
1372
1373
  );
1373
1374
  }
1374
1375
  }
1375
- function Ks(n, e) {
1376
+ function Ws(n, e) {
1376
1377
  e.forEach((t) => {
1377
1378
  if (ci(hi(t.split("."), n)))
1378
1379
  throw new vi(t);
1379
1380
  });
1380
1381
  }
1381
- function Gs() {
1382
+ function Js() {
1382
1383
  var i, a, s;
1383
1384
  let n = null, e = null, t = null;
1384
1385
  try {
@@ -1422,9 +1423,9 @@ class Si {
1422
1423
  function yi(n) {
1423
1424
  return new Si(n);
1424
1425
  }
1425
- class Ws {
1426
+ class qs {
1426
1427
  }
1427
- class Js {
1428
+ class Hs {
1428
1429
  constructor(e) {
1429
1430
  x(this, "_value");
1430
1431
  e !== void 0 && (this._value = e);
@@ -2077,7 +2078,7 @@ function la(n, e, t) {
2077
2078
  const i = Di(n, e, t);
2078
2079
  return oa(i, zi);
2079
2080
  }
2080
- const da = () => ["account"], qs = () => {
2081
+ const da = () => ["account"], Zs = () => {
2081
2082
  const { accountName: n } = Zn(je.state), [e, t] = yn(Ve), i = la(da(), () => Wt.get(n), {
2082
2083
  enabled: !!n && !e,
2083
2084
  refetchOnWindowFocus: !1,
@@ -2096,7 +2097,7 @@ async function ca(n) {
2096
2097
  return ua.set(Ve, e), e;
2097
2098
  }
2098
2099
  var ma = /* @__PURE__ */ ((n) => (n.CREATED = "CREATED", n.STARTING = "STARTING", n.LIVE = "LIVE", n.FINALIZED = "FINALIZED", n))(ma || {});
2099
- const Hs = {
2100
+ const Xs = {
2100
2101
  ALL: "*",
2101
2102
  CORE: "core:**",
2102
2103
  LIVE_STREAMING_EVENT: "event:**",
@@ -2108,11 +2109,365 @@ const Hs = {
2108
2109
  SNACK_SIZE_VIDEO_ADMIN: "ssv-admin:**",
2109
2110
  UI: "ui:**",
2110
2111
  UTILS: "utils:**"
2111
- }, Zs = {
2112
+ }, Ys = {
2112
2113
  EVENT_STATUS_CHANGED: "event:statusChanged"
2113
2114
  };
2114
- var fa = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(fa || {}), pa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(pa || {}), ha = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n))(ha || {});
2115
- const ga = {
2115
+ var fa = /* @__PURE__ */ ((n) => (n.English = "en", n.Spanish = "es", n.Portuguese = "pt", n))(fa || {}), pa = /* @__PURE__ */ ((n) => (n.COMBO = "Combo", n))(pa || {}), ha = /* @__PURE__ */ ((n) => (n.VTEX = "VTEX", n.PLATFORM = "platform", n.CACE = "CACE", n.GLOBAL_PAGE = "globalPage", n.DEV_LOCAL = "dev:local", n.CUSTOMIZATION = "customization", n.FAST_STORE = "faststore", n))(ha || {});
2116
+ function ga(n) {
2117
+ const e = Object.values(n);
2118
+ return Object.assign({}, ...e);
2119
+ }
2120
+ function ka(n) {
2121
+ return Object.entries(n).reduce(
2122
+ (e, [t, i]) => {
2123
+ const a = ga(i);
2124
+ return { ...e, [t]: a };
2125
+ },
2126
+ {}
2127
+ );
2128
+ }
2129
+ function va(n, e) {
2130
+ const t = ka(e);
2131
+ Object.entries(t).forEach(([i, a]) => {
2132
+ n.addResourceBundle(i, "translation", a, !0);
2133
+ });
2134
+ }
2135
+ function Sa(n, e) {
2136
+ if (!(n instanceof e))
2137
+ throw new TypeError("Cannot call a class as a function");
2138
+ }
2139
+ function ie(n) {
2140
+ "@babel/helpers - typeof";
2141
+ return ie = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
2142
+ return typeof e;
2143
+ } : function(e) {
2144
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
2145
+ }, ie(n);
2146
+ }
2147
+ function ya(n, e) {
2148
+ if (ie(n) !== "object" || n === null)
2149
+ return n;
2150
+ var t = n[Symbol.toPrimitive];
2151
+ if (t !== void 0) {
2152
+ var i = t.call(n, e || "default");
2153
+ if (ie(i) !== "object")
2154
+ return i;
2155
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2156
+ }
2157
+ return (e === "string" ? String : Number)(n);
2158
+ }
2159
+ function Na(n) {
2160
+ var e = ya(n, "string");
2161
+ return ie(e) === "symbol" ? e : String(e);
2162
+ }
2163
+ function mt(n, e) {
2164
+ for (var t = 0; t < e.length; t++) {
2165
+ var i = e[t];
2166
+ i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, Na(i.key), i);
2167
+ }
2168
+ }
2169
+ function ba(n, e, t) {
2170
+ return e && mt(n.prototype, e), t && mt(n, t), Object.defineProperty(n, "prototype", {
2171
+ writable: !1
2172
+ }), n;
2173
+ }
2174
+ var Ht = [], Fa = Ht.forEach, wa = Ht.slice;
2175
+ function Ca(n) {
2176
+ return Fa.call(wa.call(arguments, 1), function(e) {
2177
+ if (e)
2178
+ for (var t in e)
2179
+ n[t] === void 0 && (n[t] = e[t]);
2180
+ }), n;
2181
+ }
2182
+ var ft = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ea = function(e, t, i) {
2183
+ var a = i || {};
2184
+ a.path = a.path || "/";
2185
+ var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
2186
+ if (a.maxAge > 0) {
2187
+ var o = a.maxAge - 0;
2188
+ if (Number.isNaN(o))
2189
+ throw new Error("maxAge should be a Number");
2190
+ r += "; Max-Age=".concat(Math.floor(o));
2191
+ }
2192
+ if (a.domain) {
2193
+ if (!ft.test(a.domain))
2194
+ throw new TypeError("option domain is invalid");
2195
+ r += "; Domain=".concat(a.domain);
2196
+ }
2197
+ if (a.path) {
2198
+ if (!ft.test(a.path))
2199
+ throw new TypeError("option path is invalid");
2200
+ r += "; Path=".concat(a.path);
2201
+ }
2202
+ if (a.expires) {
2203
+ if (typeof a.expires.toUTCString != "function")
2204
+ throw new TypeError("option expires is invalid");
2205
+ r += "; Expires=".concat(a.expires.toUTCString());
2206
+ }
2207
+ if (a.httpOnly && (r += "; HttpOnly"), a.secure && (r += "; Secure"), a.sameSite) {
2208
+ var d = typeof a.sameSite == "string" ? a.sameSite.toLowerCase() : a.sameSite;
2209
+ switch (d) {
2210
+ case !0:
2211
+ r += "; SameSite=Strict";
2212
+ break;
2213
+ case "lax":
2214
+ r += "; SameSite=Lax";
2215
+ break;
2216
+ case "strict":
2217
+ r += "; SameSite=Strict";
2218
+ break;
2219
+ case "none":
2220
+ r += "; SameSite=None";
2221
+ break;
2222
+ default:
2223
+ throw new TypeError("option sameSite is invalid");
2224
+ }
2225
+ }
2226
+ return r;
2227
+ }, pt = {
2228
+ create: function(e, t, i, a) {
2229
+ var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
2230
+ path: "/",
2231
+ sameSite: "strict"
2232
+ };
2233
+ i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ea(e, encodeURIComponent(t), s);
2234
+ },
2235
+ read: function(e) {
2236
+ for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
2237
+ for (var s = i[a]; s.charAt(0) === " "; )
2238
+ s = s.substring(1, s.length);
2239
+ if (s.indexOf(t) === 0)
2240
+ return s.substring(t.length, s.length);
2241
+ }
2242
+ return null;
2243
+ },
2244
+ remove: function(e) {
2245
+ this.create(e, "", -1);
2246
+ }
2247
+ }, Oa = {
2248
+ name: "cookie",
2249
+ lookup: function(e) {
2250
+ var t;
2251
+ if (e.lookupCookie && typeof document != "undefined") {
2252
+ var i = pt.read(e.lookupCookie);
2253
+ i && (t = i);
2254
+ }
2255
+ return t;
2256
+ },
2257
+ cacheUserLanguage: function(e, t) {
2258
+ t.lookupCookie && typeof document != "undefined" && pt.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
2259
+ }
2260
+ }, Ra = {
2261
+ name: "querystring",
2262
+ lookup: function(e) {
2263
+ var t;
2264
+ if (typeof window != "undefined") {
2265
+ var i = window.location.search;
2266
+ !window.location.search && window.location.hash && window.location.hash.indexOf("?") > -1 && (i = window.location.hash.substring(window.location.hash.indexOf("?")));
2267
+ for (var a = i.substring(1), s = a.split("&"), r = 0; r < s.length; r++) {
2268
+ var o = s[r].indexOf("=");
2269
+ if (o > 0) {
2270
+ var d = s[r].substring(0, o);
2271
+ d === e.lookupQuerystring && (t = s[r].substring(o + 1));
2272
+ }
2273
+ }
2274
+ }
2275
+ return t;
2276
+ }
2277
+ }, H = null, ht = function() {
2278
+ if (H !== null)
2279
+ return H;
2280
+ try {
2281
+ H = window !== "undefined" && window.localStorage !== null;
2282
+ var e = "i18next.translate.boo";
2283
+ window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
2284
+ } catch {
2285
+ H = !1;
2286
+ }
2287
+ return H;
2288
+ }, xa = {
2289
+ name: "localStorage",
2290
+ lookup: function(e) {
2291
+ var t;
2292
+ if (e.lookupLocalStorage && ht()) {
2293
+ var i = window.localStorage.getItem(e.lookupLocalStorage);
2294
+ i && (t = i);
2295
+ }
2296
+ return t;
2297
+ },
2298
+ cacheUserLanguage: function(e, t) {
2299
+ t.lookupLocalStorage && ht() && window.localStorage.setItem(t.lookupLocalStorage, e);
2300
+ }
2301
+ }, Z = null, gt = function() {
2302
+ if (Z !== null)
2303
+ return Z;
2304
+ try {
2305
+ Z = window !== "undefined" && window.sessionStorage !== null;
2306
+ var e = "i18next.translate.boo";
2307
+ window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
2308
+ } catch {
2309
+ Z = !1;
2310
+ }
2311
+ return Z;
2312
+ }, Ta = {
2313
+ name: "sessionStorage",
2314
+ lookup: function(e) {
2315
+ var t;
2316
+ if (e.lookupSessionStorage && gt()) {
2317
+ var i = window.sessionStorage.getItem(e.lookupSessionStorage);
2318
+ i && (t = i);
2319
+ }
2320
+ return t;
2321
+ },
2322
+ cacheUserLanguage: function(e, t) {
2323
+ t.lookupSessionStorage && gt() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
2324
+ }
2325
+ }, Da = {
2326
+ name: "navigator",
2327
+ lookup: function(e) {
2328
+ var t = [];
2329
+ if (typeof navigator != "undefined") {
2330
+ if (navigator.languages)
2331
+ for (var i = 0; i < navigator.languages.length; i++)
2332
+ t.push(navigator.languages[i]);
2333
+ navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language);
2334
+ }
2335
+ return t.length > 0 ? t : void 0;
2336
+ }
2337
+ }, La = {
2338
+ name: "htmlTag",
2339
+ lookup: function(e) {
2340
+ var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
2341
+ return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
2342
+ }
2343
+ }, Ia = {
2344
+ name: "path",
2345
+ lookup: function(e) {
2346
+ var t;
2347
+ if (typeof window != "undefined") {
2348
+ var i = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
2349
+ if (i instanceof Array)
2350
+ if (typeof e.lookupFromPathIndex == "number") {
2351
+ if (typeof i[e.lookupFromPathIndex] != "string")
2352
+ return;
2353
+ t = i[e.lookupFromPathIndex].replace("/", "");
2354
+ } else
2355
+ t = i[0].replace("/", "");
2356
+ }
2357
+ return t;
2358
+ }
2359
+ }, Aa = {
2360
+ name: "subdomain",
2361
+ lookup: function(e) {
2362
+ var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
2363
+ if (i)
2364
+ return i[t];
2365
+ }
2366
+ };
2367
+ function Pa() {
2368
+ return {
2369
+ order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
2370
+ lookupQuerystring: "lng",
2371
+ lookupCookie: "i18next",
2372
+ lookupLocalStorage: "i18nextLng",
2373
+ lookupSessionStorage: "i18nextLng",
2374
+ // cache user language
2375
+ caches: ["localStorage"],
2376
+ excludeCacheFor: ["cimode"],
2377
+ // cookieMinutes: 10,
2378
+ // cookieDomain: 'myDomain'
2379
+ convertDetectedLanguage: function(e) {
2380
+ return e;
2381
+ }
2382
+ };
2383
+ }
2384
+ var Zt = /* @__PURE__ */ function() {
2385
+ function n(e) {
2386
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2387
+ Sa(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
2388
+ }
2389
+ return ba(n, [{
2390
+ key: "init",
2391
+ value: function(t) {
2392
+ var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
2393
+ this.services = t || {
2394
+ languageUtils: {}
2395
+ }, this.options = Ca(i, this.options || {}, Pa()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
2396
+ return s.replace("-", "_");
2397
+ }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Oa), this.addDetector(Ra), this.addDetector(xa), this.addDetector(Ta), this.addDetector(Da), this.addDetector(La), this.addDetector(Ia), this.addDetector(Aa);
2398
+ }
2399
+ }, {
2400
+ key: "addDetector",
2401
+ value: function(t) {
2402
+ this.detectors[t.name] = t;
2403
+ }
2404
+ }, {
2405
+ key: "detect",
2406
+ value: function(t) {
2407
+ var i = this;
2408
+ t || (t = this.options.order);
2409
+ var a = [];
2410
+ return t.forEach(function(s) {
2411
+ if (i.detectors[s]) {
2412
+ var r = i.detectors[s].lookup(i.options);
2413
+ r && typeof r == "string" && (r = [r]), r && (a = a.concat(r));
2414
+ }
2415
+ }), a = a.map(function(s) {
2416
+ return i.options.convertDetectedLanguage(s);
2417
+ }), this.services.languageUtils.getBestMatchFromCodes ? a : a.length > 0 ? a[0] : null;
2418
+ }
2419
+ }, {
2420
+ key: "cacheUserLanguage",
2421
+ value: function(t, i) {
2422
+ var a = this;
2423
+ i || (i = this.options.caches), i && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(t) > -1 || i.forEach(function(s) {
2424
+ a.detectors[s] && a.detectors[s].cacheUserLanguage(t, a.options);
2425
+ }));
2426
+ }
2427
+ }]), n;
2428
+ }();
2429
+ Zt.type = "languageDetector";
2430
+ function Va(n, e) {
2431
+ n.use(e).use(Zt).init({
2432
+ resources: {},
2433
+ fallbackLng: "en",
2434
+ debug: !1,
2435
+ interpolation: {
2436
+ escapeValue: !1,
2437
+ // not needed for react as it escapes by default
2438
+ format: (t, i, a) => {
2439
+ if (i) {
2440
+ const [s, ...r] = i.split(",").map((o) => o.trim());
2441
+ if (s === "number")
2442
+ return new Intl.NumberFormat(a).format(t);
2443
+ if (s === "date")
2444
+ return new Intl.DateTimeFormat(a).format(t);
2445
+ if (s === "currency")
2446
+ return new Intl.NumberFormat(a, {
2447
+ style: "currency",
2448
+ currency: r[0] || "USD",
2449
+ currencyDisplay: "narrowSymbol"
2450
+ }).format(t).replace("$", "").trim();
2451
+ }
2452
+ return t;
2453
+ }
2454
+ },
2455
+ detection: {
2456
+ // order and from where user language should be detected
2457
+ order: [
2458
+ "navigator",
2459
+ "cookie",
2460
+ "localStorage",
2461
+ "sessionStorage",
2462
+ "querystring",
2463
+ "htmlTag",
2464
+ "path",
2465
+ "subdomain"
2466
+ ]
2467
+ }
2468
+ });
2469
+ }
2470
+ const _a = {
2116
2471
  type: "logger",
2117
2472
  log(n) {
2118
2473
  this.output("log", n);
@@ -2134,7 +2489,7 @@ class pe {
2134
2489
  }
2135
2490
  init(e) {
2136
2491
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2137
- this.prefix = t.prefix || "i18next:", this.logger = e || ga, this.options = t, this.debug = t.debug;
2492
+ this.prefix = t.prefix || "i18next:", this.logger = e || _a, this.options = t, this.debug = t.debug;
2138
2493
  }
2139
2494
  log() {
2140
2495
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
@@ -2198,17 +2553,17 @@ class Ne {
2198
2553
  });
2199
2554
  }
2200
2555
  }
2201
- function H() {
2556
+ function X() {
2202
2557
  let n, e;
2203
2558
  const t = new Promise((i, a) => {
2204
2559
  n = i, e = a;
2205
2560
  });
2206
2561
  return t.resolve = n, t.reject = e, t;
2207
2562
  }
2208
- function mt(n) {
2563
+ function kt(n) {
2209
2564
  return n == null ? "" : "" + n;
2210
2565
  }
2211
- function ka(n, e, t) {
2566
+ function Ua(n, e, t) {
2212
2567
  n.forEach((i) => {
2213
2568
  e[i] && (t[i] = e[i]);
2214
2569
  });
@@ -2232,14 +2587,14 @@ function Ke(n, e, t) {
2232
2587
  k: i(s.shift())
2233
2588
  };
2234
2589
  }
2235
- function ft(n, e, t) {
2590
+ function vt(n, e, t) {
2236
2591
  const {
2237
2592
  obj: i,
2238
2593
  k: a
2239
2594
  } = Ke(n, e, Object);
2240
2595
  i[a] = t;
2241
2596
  }
2242
- function va(n, e, t, i) {
2597
+ function Ma(n, e, t, i) {
2243
2598
  const {
2244
2599
  obj: a,
2245
2600
  k: s
@@ -2254,19 +2609,19 @@ function he(n, e) {
2254
2609
  if (t)
2255
2610
  return t[i];
2256
2611
  }
2257
- function Sa(n, e, t) {
2612
+ function ja(n, e, t) {
2258
2613
  const i = he(n, t);
2259
2614
  return i !== void 0 ? i : he(e, t);
2260
2615
  }
2261
- function Ht(n, e, t) {
2616
+ function Xt(n, e, t) {
2262
2617
  for (const i in e)
2263
- i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : Ht(n[i], e[i], t) : n[i] = e[i]);
2618
+ i !== "__proto__" && i !== "constructor" && (i in n ? typeof n[i] == "string" || n[i] instanceof String || typeof e[i] == "string" || e[i] instanceof String ? t && (n[i] = e[i]) : Xt(n[i], e[i], t) : n[i] = e[i]);
2264
2619
  return n;
2265
2620
  }
2266
2621
  function Q(n) {
2267
2622
  return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
2268
2623
  }
2269
- var ya = {
2624
+ var $a = {
2270
2625
  "&": "&amp;",
2271
2626
  "<": "&lt;",
2272
2627
  ">": "&gt;",
@@ -2274,13 +2629,13 @@ var ya = {
2274
2629
  "'": "&#39;",
2275
2630
  "/": "&#x2F;"
2276
2631
  };
2277
- function Na(n) {
2278
- return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => ya[e]) : n;
2632
+ function za(n) {
2633
+ return typeof n == "string" ? n.replace(/[&<>"'\/]/g, (e) => $a[e]) : n;
2279
2634
  }
2280
- const ba = [" ", ",", "?", "!", ";"];
2281
- function Fa(n, e, t) {
2635
+ const Ba = [" ", ",", "?", "!", ";"];
2636
+ function Qa(n, e, t) {
2282
2637
  e = e || "", t = t || "";
2283
- const i = ba.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2638
+ const i = Ba.filter((r) => e.indexOf(r) < 0 && t.indexOf(r) < 0);
2284
2639
  if (i.length === 0)
2285
2640
  return !0;
2286
2641
  const a = new RegExp(`(${i.map((r) => r === "?" ? "\\?" : r).join("|")})`);
@@ -2326,7 +2681,7 @@ function ge(n, e) {
2326
2681
  function ke(n) {
2327
2682
  return n && n.indexOf("_") > 0 ? n.replace("_", "-") : n;
2328
2683
  }
2329
- class pt extends Ne {
2684
+ class St extends Ne {
2330
2685
  constructor(e) {
2331
2686
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2332
2687
  ns: ["translation"],
@@ -2355,7 +2710,7 @@ class pt extends Ne {
2355
2710
  };
2356
2711
  const r = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
2357
2712
  let o = [e, t];
2358
- i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), ft(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2713
+ i && (o = o.concat(r ? i.split(r) : i)), e.indexOf(".") > -1 && (o = e.split("."), a = t, t = o[1]), this.addNamespaces(t), vt(this.data, o, a), s.silent || this.emit("added", e, t, i, a);
2359
2714
  }
2360
2715
  addResources(e, t, i) {
2361
2716
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
@@ -2373,10 +2728,10 @@ class pt extends Ne {
2373
2728
  }, o = [e, t];
2374
2729
  e.indexOf(".") > -1 && (o = e.split("."), a = i, i = t, t = o[1]), this.addNamespaces(t);
2375
2730
  let d = he(this.data, o) || {};
2376
- a ? Ht(d, i, s) : d = {
2731
+ a ? Xt(d, i, s) : d = {
2377
2732
  ...d,
2378
2733
  ...i
2379
- }, ft(this.data, o, d), r.silent || this.emit("added", e, t, i);
2734
+ }, vt(this.data, o, d), r.silent || this.emit("added", e, t, i);
2380
2735
  }
2381
2736
  removeResourceBundle(e, t) {
2382
2737
  this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t);
@@ -2400,7 +2755,7 @@ class pt extends Ne {
2400
2755
  return this.data;
2401
2756
  }
2402
2757
  }
2403
- var Zt = {
2758
+ var Yt = {
2404
2759
  processors: {},
2405
2760
  addPostProcessor(n) {
2406
2761
  this.processors[n.name] = n;
@@ -2411,11 +2766,11 @@ var Zt = {
2411
2766
  }), e;
2412
2767
  }
2413
2768
  };
2414
- const ht = {};
2769
+ const yt = {};
2415
2770
  class ve extends Ne {
2416
2771
  constructor(e) {
2417
2772
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2418
- super(), ka(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2773
+ super(), Ua(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = j.create("translator");
2419
2774
  }
2420
2775
  changeLanguage(e) {
2421
2776
  e && (this.language = e);
@@ -2434,7 +2789,7 @@ class ve extends Ne {
2434
2789
  i === void 0 && (i = ":");
2435
2790
  const a = t.keySeparator !== void 0 ? t.keySeparator : this.options.keySeparator;
2436
2791
  let s = t.ns || this.options.defaultNS || [];
2437
- const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Fa(e, i, a);
2792
+ const r = i && e.indexOf(i) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !Qa(e, i, a);
2438
2793
  if (r && !o) {
2439
2794
  const d = e.match(this.interpolator.nestingRegexp);
2440
2795
  if (d && d.length > 0)
@@ -2582,7 +2937,7 @@ class ve extends Ne {
2582
2937
  }, i)), i.interpolation && this.interpolator.reset();
2583
2938
  }
2584
2939
  const o = i.postProcess || this.options.postProcess, d = typeof o == "string" ? [o] : o;
2585
- return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = Zt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2940
+ return e != null && d && d.length && i.applyPostProcessor !== !1 && (e = Yt.handle(d, e, t, this.options && this.options.postProcessPassResolved ? {
2586
2941
  i18nResolved: {
2587
2942
  ...a,
2588
2943
  usedParams: this.getUsedParamsDetails(i)
@@ -2601,7 +2956,7 @@ class ve extends Ne {
2601
2956
  this.options.fallbackNS && (p = p.concat(this.options.fallbackNS));
2602
2957
  const c = t.count !== void 0 && typeof t.count != "string", v = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), S = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", k = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
2603
2958
  p.forEach((y) => {
2604
- this.isValidLookup(i) || (o = y, !ht[`${k[0]}-${y}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (ht[`${k[0]}-${y}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((F) => {
2959
+ this.isValidLookup(i) || (o = y, !yt[`${k[0]}-${y}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (yt[`${k[0]}-${y}`] = !0, this.logger.warn(`key "${a}" for languages "${k.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), k.forEach((F) => {
2605
2960
  if (this.isValidLookup(i))
2606
2961
  return;
2607
2962
  r = F;
@@ -2664,7 +3019,7 @@ class ve extends Ne {
2664
3019
  function Oe(n) {
2665
3020
  return n.charAt(0).toUpperCase() + n.slice(1);
2666
3021
  }
2667
- class gt {
3022
+ class Nt {
2668
3023
  constructor(e) {
2669
3024
  this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = j.create("languageUtils");
2670
3025
  }
@@ -2733,7 +3088,7 @@ class gt {
2733
3088
  }), a;
2734
3089
  }
2735
3090
  }
2736
- let wa = [{
3091
+ let Ka = [{
2737
3092
  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
2738
3093
  nr: [1, 2],
2739
3094
  fc: 1
@@ -2825,7 +3180,7 @@ let wa = [{
2825
3180
  lngs: ["he", "iw"],
2826
3181
  nr: [1, 2, 20, 21],
2827
3182
  fc: 22
2828
- }], Ca = {
3183
+ }], Ga = {
2829
3184
  1: function(n) {
2830
3185
  return +(n > 1);
2831
3186
  },
@@ -2893,7 +3248,7 @@ let wa = [{
2893
3248
  return n == 1 ? 0 : n == 2 ? 1 : (n < 0 || n > 10) && n % 10 == 0 ? 2 : 3;
2894
3249
  }
2895
3250
  };
2896
- const Ea = ["v1", "v2", "v3"], Oa = ["v4"], kt = {
3251
+ const Wa = ["v1", "v2", "v3"], Ja = ["v4"], bt = {
2897
3252
  zero: 0,
2898
3253
  one: 1,
2899
3254
  two: 2,
@@ -2901,21 +3256,21 @@ const Ea = ["v1", "v2", "v3"], Oa = ["v4"], kt = {
2901
3256
  many: 4,
2902
3257
  other: 5
2903
3258
  };
2904
- function Ra() {
3259
+ function qa() {
2905
3260
  const n = {};
2906
- return wa.forEach((e) => {
3261
+ return Ka.forEach((e) => {
2907
3262
  e.lngs.forEach((t) => {
2908
3263
  n[t] = {
2909
3264
  numbers: e.nr,
2910
- plurals: Ca[e.fc]
3265
+ plurals: Ga[e.fc]
2911
3266
  };
2912
3267
  });
2913
3268
  }), n;
2914
3269
  }
2915
- class xa {
3270
+ class Ha {
2916
3271
  constructor(e) {
2917
3272
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2918
- this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Oa.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Ra();
3273
+ this.languageUtils = e, this.options = t, this.logger = j.create("pluralResolver"), (!this.options.compatibilityJSON || Ja.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = qa();
2919
3274
  }
2920
3275
  addRule(e, t) {
2921
3276
  this.rules[e] = t;
@@ -2944,7 +3299,7 @@ class xa {
2944
3299
  getSuffixes(e) {
2945
3300
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2946
3301
  const i = this.getRule(e, t);
2947
- return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => kt[a] - kt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
3302
+ return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((a, s) => bt[a] - bt[s]).map((a) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : i.numbers.map((a) => this.getSuffix(e, a, t)) : [];
2948
3303
  }
2949
3304
  getSuffix(e, t) {
2950
3305
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
@@ -2959,14 +3314,14 @@ class xa {
2959
3314
  return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? `_plural_${a.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && e.numbers.length === 2 && e.numbers[0] === 1 ? s() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
2960
3315
  }
2961
3316
  shouldUseIntlApi() {
2962
- return !Ea.includes(this.options.compatibilityJSON);
3317
+ return !Wa.includes(this.options.compatibilityJSON);
2963
3318
  }
2964
3319
  }
2965
- function vt(n, e, t) {
2966
- let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Sa(n, e, t);
3320
+ function Ft(n, e, t) {
3321
+ let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = ja(n, e, t);
2967
3322
  return !s && a && typeof t == "string" && (s = ge(n, t, i), s === void 0 && (s = ge(e, t, i))), s;
2968
3323
  }
2969
- class Ta {
3324
+ class Za {
2970
3325
  constructor() {
2971
3326
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2972
3327
  this.logger = j.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || ((t) => t), this.init(e);
@@ -2977,7 +3332,7 @@ class Ta {
2977
3332
  escapeValue: !0
2978
3333
  });
2979
3334
  const t = e.interpolation;
2980
- this.escape = t.escape !== void 0 ? t.escape : Na, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? Q(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Q(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Q(t.nestingPrefix) : t.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = t.nestingSuffix ? Q(t.nestingSuffix) : t.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
3335
+ this.escape = t.escape !== void 0 ? t.escape : za, this.escapeValue = t.escapeValue !== void 0 ? t.escapeValue : !0, this.useRawValueToEscape = t.useRawValueToEscape !== void 0 ? t.useRawValueToEscape : !1, this.prefix = t.prefix ? Q(t.prefix) : t.prefixEscaped || "{{", this.suffix = t.suffix ? Q(t.suffix) : t.suffixEscaped || "}}", this.formatSeparator = t.formatSeparator ? t.formatSeparator : t.formatSeparator || ",", this.unescapePrefix = t.unescapeSuffix ? "" : t.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : t.unescapeSuffix || "", this.nestingPrefix = t.nestingPrefix ? Q(t.nestingPrefix) : t.nestingPrefixEscaped || Q("$t("), this.nestingSuffix = t.nestingSuffix ? Q(t.nestingSuffix) : t.nestingSuffixEscaped || Q(")"), this.nestingOptionsSeparator = t.nestingOptionsSeparator ? t.nestingOptionsSeparator : t.nestingOptionsSeparator || ",", this.maxReplaces = t.maxReplaces ? t.maxReplaces : 1e3, this.alwaysFormat = t.alwaysFormat !== void 0 ? t.alwaysFormat : !1, this.resetRegExp();
2981
3336
  }
2982
3337
  reset() {
2983
3338
  this.options && this.init(this.options);
@@ -2998,7 +3353,7 @@ class Ta {
2998
3353
  }
2999
3354
  const u = (S) => {
3000
3355
  if (S.indexOf(this.formatSeparator) < 0) {
3001
- const w = vt(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure);
3356
+ const w = Ft(t, d, S, this.options.keySeparator, this.options.ignoreJSONStructure);
3002
3357
  return this.alwaysFormat ? this.format(w, void 0, i, {
3003
3358
  ...a,
3004
3359
  ...t,
@@ -3006,7 +3361,7 @@ class Ta {
3006
3361
  }) : w;
3007
3362
  }
3008
3363
  const k = S.split(this.formatSeparator), y = k.shift().trim(), F = k.join(this.formatSeparator).trim();
3009
- return this.format(vt(t, d, y, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
3364
+ return this.format(Ft(t, d, y, this.options.keySeparator, this.options.ignoreJSONStructure), F, i, {
3010
3365
  ...a,
3011
3366
  ...t,
3012
3367
  interpolationkey: y
@@ -3035,7 +3390,7 @@ class Ta {
3035
3390
  } else
3036
3391
  this.logger.warn(`missed to pass in variable ${k} for interpolating ${e}`), r = "";
3037
3392
  else
3038
- typeof r != "string" && !this.useRawValueToEscape && (r = mt(r));
3393
+ typeof r != "string" && !this.useRawValueToEscape && (r = kt(r));
3039
3394
  const y = S.safeValue(r);
3040
3395
  if (e = e.replace(s[0], y), c ? (S.regex.lastIndex += r.length, S.regex.lastIndex -= s[0].length) : S.regex.lastIndex = 0, o++, o >= this.maxReplaces)
3041
3396
  break;
@@ -3075,7 +3430,7 @@ class Ta {
3075
3430
  }
3076
3431
  if (s = t(o.call(this, a[1].trim(), r), r), s && a[0] === e && typeof s != "string")
3077
3432
  return s;
3078
- typeof s != "string" && (s = mt(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, p) => this.format(u, p, i.lng, {
3433
+ typeof s != "string" && (s = kt(s)), s || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${e}`), s = ""), l && (s = d.reduce((u, p) => this.format(u, p, i.lng, {
3079
3434
  ...i,
3080
3435
  interpolationkey: a[1].trim()
3081
3436
  }), s.trim())), e = e.replace(a[0], s), this.regexp.lastIndex = 0;
@@ -3083,7 +3438,7 @@ class Ta {
3083
3438
  return e;
3084
3439
  }
3085
3440
  }
3086
- function Da(n) {
3441
+ function Xa(n) {
3087
3442
  let e = n.toLowerCase().trim();
3088
3443
  const t = {};
3089
3444
  if (n.indexOf("(") > -1) {
@@ -3110,7 +3465,7 @@ function K(n) {
3110
3465
  return o || (o = n(ke(a), s), e[r] = o), o(i);
3111
3466
  };
3112
3467
  }
3113
- class La {
3468
+ class Ya {
3114
3469
  constructor() {
3115
3470
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3116
3471
  this.logger = j.create("formatter"), this.options = e, this.formats = {
@@ -3165,7 +3520,7 @@ class La {
3165
3520
  const {
3166
3521
  formatName: l,
3167
3522
  formatOptions: u
3168
- } = Da(d);
3523
+ } = Xa(d);
3169
3524
  if (this.formats[l]) {
3170
3525
  let p = o;
3171
3526
  try {
@@ -3185,10 +3540,10 @@ class La {
3185
3540
  }, e);
3186
3541
  }
3187
3542
  }
3188
- function Ia(n, e) {
3543
+ function es(n, e) {
3189
3544
  n.pending[e] !== void 0 && (delete n.pending[e], n.pendingCount--);
3190
3545
  }
3191
- class Aa extends Ne {
3546
+ class ts extends Ne {
3192
3547
  constructor(e, t, i) {
3193
3548
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3194
3549
  super(), this.backend = e, this.store = t, this.services = i, this.languageUtils = i.languageUtils, this.options = a, this.logger = j.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, a.backend, a);
@@ -3219,7 +3574,7 @@ class Aa extends Ne {
3219
3574
  t && this.emit("failedLoading", s, r, t), i && this.store.addResourceBundle(s, r, i), this.state[e] = t ? -1 : 2;
3220
3575
  const o = {};
3221
3576
  this.queue.forEach((d) => {
3222
- va(d.loaded, [s], r), Ia(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3577
+ Ma(d.loaded, [s], r), es(d, e), t && d.errors.push(t), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((l) => {
3223
3578
  o[l] || (o[l] = {});
3224
3579
  const u = d.loaded[l];
3225
3580
  u.length && u.forEach((p) => {
@@ -3322,7 +3677,7 @@ class Aa extends Ne {
3322
3677
  }
3323
3678
  }
3324
3679
  }
3325
- function St() {
3680
+ function wt() {
3326
3681
  return {
3327
3682
  debug: !1,
3328
3683
  initImmediate: !0,
@@ -3381,22 +3736,22 @@ function St() {
3381
3736
  }
3382
3737
  };
3383
3738
  }
3384
- function yt(n) {
3739
+ function Ct(n) {
3385
3740
  return typeof n.ns == "string" && (n.ns = [n.ns]), typeof n.fallbackLng == "string" && (n.fallbackLng = [n.fallbackLng]), typeof n.fallbackNS == "string" && (n.fallbackNS = [n.fallbackNS]), n.supportedLngs && n.supportedLngs.indexOf("cimode") < 0 && (n.supportedLngs = n.supportedLngs.concat(["cimode"])), n;
3386
3741
  }
3387
3742
  function le() {
3388
3743
  }
3389
- function Pa(n) {
3744
+ function ns(n) {
3390
3745
  Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((t) => {
3391
3746
  typeof n[t] == "function" && (n[t] = n[t].bind(n));
3392
3747
  });
3393
3748
  }
3394
- class ie extends Ne {
3749
+ class ae extends Ne {
3395
3750
  constructor() {
3396
3751
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3397
- if (super(), this.options = yt(e), this.services = {}, this.logger = j, this.modules = {
3752
+ if (super(), this.options = Ct(e), this.services = {}, this.logger = j, this.modules = {
3398
3753
  external: []
3399
- }, Pa(this), t && !this.isInitialized && !e.isClone) {
3754
+ }, ns(this), t && !this.isInitialized && !e.isClone) {
3400
3755
  if (!this.options.initImmediate)
3401
3756
  return this.init(e, t), this;
3402
3757
  setTimeout(() => {
@@ -3408,11 +3763,11 @@ class ie extends Ne {
3408
3763
  var e = this;
3409
3764
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
3410
3765
  typeof t == "function" && (i = t, t = {}), !t.defaultNS && t.defaultNS !== !1 && t.ns && (typeof t.ns == "string" ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
3411
- const a = St();
3766
+ const a = wt();
3412
3767
  this.options = {
3413
3768
  ...a,
3414
3769
  ...this.options,
3415
- ...yt(t)
3770
+ ...Ct(t)
3416
3771
  }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
3417
3772
  ...a.interpolation,
3418
3773
  ...this.options.interpolation
@@ -3423,17 +3778,17 @@ class ie extends Ne {
3423
3778
  if (!this.options.isClone) {
3424
3779
  this.modules.logger ? j.init(s(this.modules.logger), this.options) : j.init(null, this.options);
3425
3780
  let u;
3426
- this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = La);
3427
- const p = new gt(this.options);
3428
- this.store = new pt(this.options.resources, this.options);
3781
+ this.modules.formatter ? u = this.modules.formatter : typeof Intl != "undefined" && (u = Ya);
3782
+ const p = new Nt(this.options);
3783
+ this.store = new St(this.options.resources, this.options);
3429
3784
  const c = this.services;
3430
- c.logger = j, c.resourceStore = this.store, c.languageUtils = p, c.pluralResolver = new xa(p, {
3785
+ c.logger = j, c.resourceStore = this.store, c.languageUtils = p, c.pluralResolver = new Ha(p, {
3431
3786
  prepend: this.options.pluralSeparator,
3432
3787
  compatibilityJSON: this.options.compatibilityJSON,
3433
3788
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
3434
- }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Ta(this.options), c.utils = {
3789
+ }), u && (!this.options.interpolation.format || this.options.interpolation.format === a.interpolation.format) && (c.formatter = s(u), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new Za(this.options), c.utils = {
3435
3790
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
3436
- }, c.backendConnector = new Aa(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(v) {
3791
+ }, c.backendConnector = new ts(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(v) {
3437
3792
  for (var S = arguments.length, k = new Array(S > 1 ? S - 1 : 0), y = 1; y < S; y++)
3438
3793
  k[y - 1] = arguments[y];
3439
3794
  e.emit(v, ...k);
@@ -3458,7 +3813,7 @@ class ie extends Ne {
3458
3813
  return e.store[u](...arguments), e;
3459
3814
  };
3460
3815
  });
3461
- const d = H(), l = () => {
3816
+ const d = X(), l = () => {
3462
3817
  const u = (p, c) => {
3463
3818
  this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), d.resolve(c), i(p, c);
3464
3819
  };
@@ -3488,7 +3843,7 @@ class ie extends Ne {
3488
3843
  i(null);
3489
3844
  }
3490
3845
  reloadResources(e, t, i) {
3491
- const a = H();
3846
+ const a = X();
3492
3847
  return e || (e = this.languages), t || (t = this.options.ns), i || (i = le), this.services.backendConnector.reload(e, t, (s) => {
3493
3848
  a.resolve(), i(s);
3494
3849
  }), a;
@@ -3498,7 +3853,7 @@ class ie extends Ne {
3498
3853
  throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
3499
3854
  if (!e.type)
3500
3855
  throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
3501
- return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Zt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3856
+ return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && Yt.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this;
3502
3857
  }
3503
3858
  setResolvedLanguage(e) {
3504
3859
  if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1))
@@ -3513,7 +3868,7 @@ class ie extends Ne {
3513
3868
  changeLanguage(e, t) {
3514
3869
  var i = this;
3515
3870
  this.isLanguageChangingTo = e;
3516
- const a = H();
3871
+ const a = X();
3517
3872
  this.emit("languageChanging", e);
3518
3873
  const s = (d) => {
3519
3874
  this.language = d, this.languages = this.services.languageUtils.toResolveHierarchy(d), this.resolvedLanguage = void 0, this.setResolvedLanguage(d);
@@ -3538,438 +3893,124 @@ class ie extends Ne {
3538
3893
  let d;
3539
3894
  if (typeof o != "object") {
3540
3895
  for (var l = arguments.length, u = new Array(l > 2 ? l - 2 : 0), p = 2; p < l; p++)
3541
- u[p - 2] = arguments[p];
3542
- d = a.options.overloadTranslationOptionHandler([r, o].concat(u));
3543
- } else
3544
- d = {
3545
- ...o
3546
- };
3547
- d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, d.keyPrefix = d.keyPrefix || i || s.keyPrefix;
3548
- const c = a.options.keySeparator || ".";
3549
- let v;
3550
- return d.keyPrefix && Array.isArray(r) ? v = r.map((S) => `${d.keyPrefix}${c}${S}`) : v = d.keyPrefix ? `${d.keyPrefix}${c}${r}` : r, a.t(v, d);
3551
- };
3552
- return typeof e == "string" ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = i, s;
3553
- }
3554
- t() {
3555
- return this.translator && this.translator.translate(...arguments);
3556
- }
3557
- exists() {
3558
- return this.translator && this.translator.exists(...arguments);
3559
- }
3560
- setDefaultNamespace(e) {
3561
- this.options.defaultNS = e;
3562
- }
3563
- hasLoadedNamespace(e) {
3564
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3565
- if (!this.isInitialized)
3566
- return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
3567
- if (!this.languages || !this.languages.length)
3568
- return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
3569
- const i = t.lng || this.resolvedLanguage || this.languages[0], a = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
3570
- if (i.toLowerCase() === "cimode")
3571
- return !0;
3572
- const r = (o, d) => {
3573
- const l = this.services.backendConnector.state[`${o}|${d}`];
3574
- return l === -1 || l === 2;
3575
- };
3576
- if (t.precheck) {
3577
- const o = t.precheck(this, r);
3578
- if (o !== void 0)
3579
- return o;
3580
- }
3581
- return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3582
- }
3583
- loadNamespaces(e, t) {
3584
- const i = H();
3585
- return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3586
- this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3587
- }), this.loadResources((a) => {
3588
- i.resolve(), t && t(a);
3589
- }), i) : (t && t(), Promise.resolve());
3590
- }
3591
- loadLanguages(e, t) {
3592
- const i = H();
3593
- typeof e == "string" && (e = [e]);
3594
- const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3595
- return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
3596
- i.resolve(), t && t(r);
3597
- }), i) : (t && t(), Promise.resolve());
3598
- }
3599
- dir(e) {
3600
- if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3601
- return "rtl";
3602
- const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new gt(St());
3603
- return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3604
- }
3605
- static createInstance() {
3606
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3607
- return new ie(e, t);
3608
- }
3609
- cloneInstance() {
3610
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : le;
3611
- const i = e.forkResourceStore;
3612
- i && delete e.forkResourceStore;
3613
- const a = {
3614
- ...this.options,
3615
- ...e,
3616
- isClone: !0
3617
- }, s = new ie(a);
3618
- return (e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3619
- s[o] = this[o];
3620
- }), s.services = {
3621
- ...this.services
3622
- }, s.services.utils = {
3623
- hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3624
- }, i && (s.store = new pt(this.store.data, a), s.services.resourceStore = s.store), s.translator = new ve(s.services, a), s.translator.on("*", function(o) {
3625
- for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), u = 1; u < d; u++)
3626
- l[u - 1] = arguments[u];
3627
- s.emit(o, ...l);
3628
- }), s.init(a, t), s.translator.options = a, s.translator.backendConnector.services.utils = {
3629
- hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3630
- }, s;
3631
- }
3632
- toJSON() {
3633
- return {
3634
- options: this.options,
3635
- store: this.store,
3636
- language: this.language,
3637
- languages: this.languages,
3638
- resolvedLanguage: this.resolvedLanguage
3639
- };
3640
- }
3641
- }
3642
- const U = ie.createInstance();
3643
- U.createInstance = ie.createInstance;
3644
- U.createInstance;
3645
- U.dir;
3646
- U.init;
3647
- U.loadResources;
3648
- U.reloadResources;
3649
- U.use;
3650
- U.changeLanguage;
3651
- U.getFixedT;
3652
- U.t;
3653
- U.exists;
3654
- U.setDefaultNamespace;
3655
- U.hasLoadedNamespace;
3656
- U.loadNamespaces;
3657
- U.loadLanguages;
3658
- function Va(n) {
3659
- const e = Object.values(n);
3660
- return Object.assign({}, ...e);
3661
- }
3662
- function _a(n) {
3663
- return Object.entries(n).reduce(
3664
- (e, [t, i]) => {
3665
- const a = Va(i);
3666
- return { ...e, [t]: a };
3667
- },
3668
- {}
3669
- );
3670
- }
3671
- function Xs(n) {
3672
- const e = _a(n);
3673
- Object.entries(e).forEach(([t, i]) => {
3674
- U.addResourceBundle(t, "translation", i, !0);
3675
- });
3676
- }
3677
- function Ua(n, e) {
3678
- if (!(n instanceof e))
3679
- throw new TypeError("Cannot call a class as a function");
3680
- }
3681
- function ae(n) {
3682
- "@babel/helpers - typeof";
3683
- return ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
3684
- return typeof e;
3685
- } : function(e) {
3686
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
3687
- }, ae(n);
3688
- }
3689
- function Ma(n, e) {
3690
- if (ae(n) !== "object" || n === null)
3691
- return n;
3692
- var t = n[Symbol.toPrimitive];
3693
- if (t !== void 0) {
3694
- var i = t.call(n, e || "default");
3695
- if (ae(i) !== "object")
3696
- return i;
3697
- throw new TypeError("@@toPrimitive must return a primitive value.");
3698
- }
3699
- return (e === "string" ? String : Number)(n);
3700
- }
3701
- function ja(n) {
3702
- var e = Ma(n, "string");
3703
- return ae(e) === "symbol" ? e : String(e);
3704
- }
3705
- function Nt(n, e) {
3706
- for (var t = 0; t < e.length; t++) {
3707
- var i = e[t];
3708
- i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, ja(i.key), i);
3709
- }
3710
- }
3711
- function $a(n, e, t) {
3712
- return e && Nt(n.prototype, e), t && Nt(n, t), Object.defineProperty(n, "prototype", {
3713
- writable: !1
3714
- }), n;
3715
- }
3716
- var Xt = [], za = Xt.forEach, Ba = Xt.slice;
3717
- function Qa(n) {
3718
- return za.call(Ba.call(arguments, 1), function(e) {
3719
- if (e)
3720
- for (var t in e)
3721
- n[t] === void 0 && (n[t] = e[t]);
3722
- }), n;
3723
- }
3724
- var bt = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ka = function(e, t, i) {
3725
- var a = i || {};
3726
- a.path = a.path || "/";
3727
- var s = encodeURIComponent(t), r = "".concat(e, "=").concat(s);
3728
- if (a.maxAge > 0) {
3729
- var o = a.maxAge - 0;
3730
- if (Number.isNaN(o))
3731
- throw new Error("maxAge should be a Number");
3732
- r += "; Max-Age=".concat(Math.floor(o));
3733
- }
3734
- if (a.domain) {
3735
- if (!bt.test(a.domain))
3736
- throw new TypeError("option domain is invalid");
3737
- r += "; Domain=".concat(a.domain);
3738
- }
3739
- if (a.path) {
3740
- if (!bt.test(a.path))
3741
- throw new TypeError("option path is invalid");
3742
- r += "; Path=".concat(a.path);
3743
- }
3744
- if (a.expires) {
3745
- if (typeof a.expires.toUTCString != "function")
3746
- throw new TypeError("option expires is invalid");
3747
- r += "; Expires=".concat(a.expires.toUTCString());
3748
- }
3749
- if (a.httpOnly && (r += "; HttpOnly"), a.secure && (r += "; Secure"), a.sameSite) {
3750
- var d = typeof a.sameSite == "string" ? a.sameSite.toLowerCase() : a.sameSite;
3751
- switch (d) {
3752
- case !0:
3753
- r += "; SameSite=Strict";
3754
- break;
3755
- case "lax":
3756
- r += "; SameSite=Lax";
3757
- break;
3758
- case "strict":
3759
- r += "; SameSite=Strict";
3760
- break;
3761
- case "none":
3762
- r += "; SameSite=None";
3763
- break;
3764
- default:
3765
- throw new TypeError("option sameSite is invalid");
3766
- }
3767
- }
3768
- return r;
3769
- }, Ft = {
3770
- create: function(e, t, i, a) {
3771
- var s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3772
- path: "/",
3773
- sameSite: "strict"
3896
+ u[p - 2] = arguments[p];
3897
+ d = a.options.overloadTranslationOptionHandler([r, o].concat(u));
3898
+ } else
3899
+ d = {
3900
+ ...o
3901
+ };
3902
+ d.lng = d.lng || s.lng, d.lngs = d.lngs || s.lngs, d.ns = d.ns || s.ns, d.keyPrefix = d.keyPrefix || i || s.keyPrefix;
3903
+ const c = a.options.keySeparator || ".";
3904
+ let v;
3905
+ return d.keyPrefix && Array.isArray(r) ? v = r.map((S) => `${d.keyPrefix}${c}${S}`) : v = d.keyPrefix ? `${d.keyPrefix}${c}${r}` : r, a.t(v, d);
3774
3906
  };
3775
- i && (s.expires = /* @__PURE__ */ new Date(), s.expires.setTime(s.expires.getTime() + i * 60 * 1e3)), a && (s.domain = a), document.cookie = Ka(e, encodeURIComponent(t), s);
3776
- },
3777
- read: function(e) {
3778
- for (var t = "".concat(e, "="), i = document.cookie.split(";"), a = 0; a < i.length; a++) {
3779
- for (var s = i[a]; s.charAt(0) === " "; )
3780
- s = s.substring(1, s.length);
3781
- if (s.indexOf(t) === 0)
3782
- return s.substring(t.length, s.length);
3783
- }
3784
- return null;
3785
- },
3786
- remove: function(e) {
3787
- this.create(e, "", -1);
3907
+ return typeof e == "string" ? s.lng = e : s.lngs = e, s.ns = t, s.keyPrefix = i, s;
3788
3908
  }
3789
- }, Ga = {
3790
- name: "cookie",
3791
- lookup: function(e) {
3792
- var t;
3793
- if (e.lookupCookie && typeof document != "undefined") {
3794
- var i = Ft.read(e.lookupCookie);
3795
- i && (t = i);
3796
- }
3797
- return t;
3798
- },
3799
- cacheUserLanguage: function(e, t) {
3800
- t.lookupCookie && typeof document != "undefined" && Ft.create(t.lookupCookie, e, t.cookieMinutes, t.cookieDomain, t.cookieOptions);
3909
+ t() {
3910
+ return this.translator && this.translator.translate(...arguments);
3801
3911
  }
3802
- }, Wa = {
3803
- name: "querystring",
3804
- lookup: function(e) {
3805
- var t;
3806
- if (typeof window != "undefined") {
3807
- var i = window.location.search;
3808
- !window.location.search && window.location.hash && window.location.hash.indexOf("?") > -1 && (i = window.location.hash.substring(window.location.hash.indexOf("?")));
3809
- for (var a = i.substring(1), s = a.split("&"), r = 0; r < s.length; r++) {
3810
- var o = s[r].indexOf("=");
3811
- if (o > 0) {
3812
- var d = s[r].substring(0, o);
3813
- d === e.lookupQuerystring && (t = s[r].substring(o + 1));
3814
- }
3815
- }
3816
- }
3817
- return t;
3912
+ exists() {
3913
+ return this.translator && this.translator.exists(...arguments);
3818
3914
  }
3819
- }, Z = null, wt = function() {
3820
- if (Z !== null)
3821
- return Z;
3822
- try {
3823
- Z = window !== "undefined" && window.localStorage !== null;
3824
- var e = "i18next.translate.boo";
3825
- window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e);
3826
- } catch {
3827
- Z = !1;
3915
+ setDefaultNamespace(e) {
3916
+ this.options.defaultNS = e;
3828
3917
  }
3829
- return Z;
3830
- }, Ja = {
3831
- name: "localStorage",
3832
- lookup: function(e) {
3833
- var t;
3834
- if (e.lookupLocalStorage && wt()) {
3835
- var i = window.localStorage.getItem(e.lookupLocalStorage);
3836
- i && (t = i);
3918
+ hasLoadedNamespace(e) {
3919
+ let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3920
+ if (!this.isInitialized)
3921
+ return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
3922
+ if (!this.languages || !this.languages.length)
3923
+ return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
3924
+ const i = t.lng || this.resolvedLanguage || this.languages[0], a = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
3925
+ if (i.toLowerCase() === "cimode")
3926
+ return !0;
3927
+ const r = (o, d) => {
3928
+ const l = this.services.backendConnector.state[`${o}|${d}`];
3929
+ return l === -1 || l === 2;
3930
+ };
3931
+ if (t.precheck) {
3932
+ const o = t.precheck(this, r);
3933
+ if (o !== void 0)
3934
+ return o;
3837
3935
  }
3838
- return t;
3839
- },
3840
- cacheUserLanguage: function(e, t) {
3841
- t.lookupLocalStorage && wt() && window.localStorage.setItem(t.lookupLocalStorage, e);
3936
+ return !!(this.hasResourceBundle(i, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(i, e) && (!a || r(s, e)));
3842
3937
  }
3843
- }, X = null, Ct = function() {
3844
- if (X !== null)
3845
- return X;
3846
- try {
3847
- X = window !== "undefined" && window.sessionStorage !== null;
3848
- var e = "i18next.translate.boo";
3849
- window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e);
3850
- } catch {
3851
- X = !1;
3938
+ loadNamespaces(e, t) {
3939
+ const i = X();
3940
+ return this.options.ns ? (typeof e == "string" && (e = [e]), e.forEach((a) => {
3941
+ this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
3942
+ }), this.loadResources((a) => {
3943
+ i.resolve(), t && t(a);
3944
+ }), i) : (t && t(), Promise.resolve());
3852
3945
  }
3853
- return X;
3854
- }, qa = {
3855
- name: "sessionStorage",
3856
- lookup: function(e) {
3857
- var t;
3858
- if (e.lookupSessionStorage && Ct()) {
3859
- var i = window.sessionStorage.getItem(e.lookupSessionStorage);
3860
- i && (t = i);
3861
- }
3862
- return t;
3863
- },
3864
- cacheUserLanguage: function(e, t) {
3865
- t.lookupSessionStorage && Ct() && window.sessionStorage.setItem(t.lookupSessionStorage, e);
3946
+ loadLanguages(e, t) {
3947
+ const i = X();
3948
+ typeof e == "string" && (e = [e]);
3949
+ const a = this.options.preload || [], s = e.filter((r) => a.indexOf(r) < 0);
3950
+ return s.length ? (this.options.preload = a.concat(s), this.loadResources((r) => {
3951
+ i.resolve(), t && t(r);
3952
+ }), i) : (t && t(), Promise.resolve());
3866
3953
  }
3867
- }, Ha = {
3868
- name: "navigator",
3869
- lookup: function(e) {
3870
- var t = [];
3871
- if (typeof navigator != "undefined") {
3872
- if (navigator.languages)
3873
- for (var i = 0; i < navigator.languages.length; i++)
3874
- t.push(navigator.languages[i]);
3875
- navigator.userLanguage && t.push(navigator.userLanguage), navigator.language && t.push(navigator.language);
3876
- }
3877
- return t.length > 0 ? t : void 0;
3954
+ dir(e) {
3955
+ if (e || (e = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !e)
3956
+ return "rtl";
3957
+ const t = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new Nt(wt());
3958
+ return t.indexOf(i.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
3878
3959
  }
3879
- }, Za = {
3880
- name: "htmlTag",
3881
- lookup: function(e) {
3882
- var t, i = e.htmlTag || (typeof document != "undefined" ? document.documentElement : null);
3883
- return i && typeof i.getAttribute == "function" && (t = i.getAttribute("lang")), t;
3960
+ static createInstance() {
3961
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0;
3962
+ return new ae(e, t);
3884
3963
  }
3885
- }, Xa = {
3886
- name: "path",
3887
- lookup: function(e) {
3888
- var t;
3889
- if (typeof window != "undefined") {
3890
- var i = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
3891
- if (i instanceof Array)
3892
- if (typeof e.lookupFromPathIndex == "number") {
3893
- if (typeof i[e.lookupFromPathIndex] != "string")
3894
- return;
3895
- t = i[e.lookupFromPathIndex].replace("/", "");
3896
- } else
3897
- t = i[0].replace("/", "");
3898
- }
3899
- return t;
3964
+ cloneInstance() {
3965
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : le;
3966
+ const i = e.forkResourceStore;
3967
+ i && delete e.forkResourceStore;
3968
+ const a = {
3969
+ ...this.options,
3970
+ ...e,
3971
+ isClone: !0
3972
+ }, s = new ae(a);
3973
+ return (e.debug !== void 0 || e.prefix !== void 0) && (s.logger = s.logger.clone(e)), ["store", "services", "language"].forEach((o) => {
3974
+ s[o] = this[o];
3975
+ }), s.services = {
3976
+ ...this.services
3977
+ }, s.services.utils = {
3978
+ hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3979
+ }, i && (s.store = new St(this.store.data, a), s.services.resourceStore = s.store), s.translator = new ve(s.services, a), s.translator.on("*", function(o) {
3980
+ for (var d = arguments.length, l = new Array(d > 1 ? d - 1 : 0), u = 1; u < d; u++)
3981
+ l[u - 1] = arguments[u];
3982
+ s.emit(o, ...l);
3983
+ }), s.init(a, t), s.translator.options = a, s.translator.backendConnector.services.utils = {
3984
+ hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
3985
+ }, s;
3900
3986
  }
3901
- }, Ya = {
3902
- name: "subdomain",
3903
- lookup: function(e) {
3904
- var t = typeof e.lookupFromSubdomainIndex == "number" ? e.lookupFromSubdomainIndex + 1 : 1, i = typeof window != "undefined" && window.location && window.location.hostname && window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);
3905
- if (i)
3906
- return i[t];
3987
+ toJSON() {
3988
+ return {
3989
+ options: this.options,
3990
+ store: this.store,
3991
+ language: this.language,
3992
+ languages: this.languages,
3993
+ resolvedLanguage: this.resolvedLanguage
3994
+ };
3907
3995
  }
3908
- };
3909
- function es() {
3910
- return {
3911
- order: ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"],
3912
- lookupQuerystring: "lng",
3913
- lookupCookie: "i18next",
3914
- lookupLocalStorage: "i18nextLng",
3915
- lookupSessionStorage: "i18nextLng",
3916
- // cache user language
3917
- caches: ["localStorage"],
3918
- excludeCacheFor: ["cimode"],
3919
- // cookieMinutes: 10,
3920
- // cookieDomain: 'myDomain'
3921
- convertDetectedLanguage: function(e) {
3922
- return e;
3923
- }
3924
- };
3925
3996
  }
3926
- var Yt = /* @__PURE__ */ function() {
3927
- function n(e) {
3928
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3929
- Ua(this, n), this.type = "languageDetector", this.detectors = {}, this.init(e, t);
3930
- }
3931
- return $a(n, [{
3932
- key: "init",
3933
- value: function(t) {
3934
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3935
- this.services = t || {
3936
- languageUtils: {}
3937
- }, this.options = Qa(i, this.options || {}, es()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = function(s) {
3938
- return s.replace("-", "_");
3939
- }), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = a, this.addDetector(Ga), this.addDetector(Wa), this.addDetector(Ja), this.addDetector(qa), this.addDetector(Ha), this.addDetector(Za), this.addDetector(Xa), this.addDetector(Ya);
3940
- }
3941
- }, {
3942
- key: "addDetector",
3943
- value: function(t) {
3944
- this.detectors[t.name] = t;
3945
- }
3946
- }, {
3947
- key: "detect",
3948
- value: function(t) {
3949
- var i = this;
3950
- t || (t = this.options.order);
3951
- var a = [];
3952
- return t.forEach(function(s) {
3953
- if (i.detectors[s]) {
3954
- var r = i.detectors[s].lookup(i.options);
3955
- r && typeof r == "string" && (r = [r]), r && (a = a.concat(r));
3956
- }
3957
- }), a = a.map(function(s) {
3958
- return i.options.convertDetectedLanguage(s);
3959
- }), this.services.languageUtils.getBestMatchFromCodes ? a : a.length > 0 ? a[0] : null;
3960
- }
3961
- }, {
3962
- key: "cacheUserLanguage",
3963
- value: function(t, i) {
3964
- var a = this;
3965
- i || (i = this.options.caches), i && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(t) > -1 || i.forEach(function(s) {
3966
- a.detectors[s] && a.detectors[s].cacheUserLanguage(t, a.options);
3967
- }));
3968
- }
3969
- }]), n;
3970
- }();
3971
- Yt.type = "languageDetector";
3972
- const ts = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, ns = {
3997
+ const U = ae.createInstance();
3998
+ U.createInstance = ae.createInstance;
3999
+ U.createInstance;
4000
+ U.dir;
4001
+ U.init;
4002
+ U.loadResources;
4003
+ U.reloadResources;
4004
+ U.use;
4005
+ U.changeLanguage;
4006
+ U.getFixedT;
4007
+ U.t;
4008
+ U.exists;
4009
+ U.setDefaultNamespace;
4010
+ U.hasLoadedNamespace;
4011
+ U.loadNamespaces;
4012
+ U.loadLanguages;
4013
+ const is = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, as = {
3973
4014
  "&amp;": "&",
3974
4015
  "&#38;": "&",
3975
4016
  "&lt;": "<",
@@ -3990,7 +4031,7 @@ const ts = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
3990
4031
  "&#8230;": "…",
3991
4032
  "&#x2F;": "/",
3992
4033
  "&#47;": "/"
3993
- }, is = (n) => ns[n], as = (n) => n.replace(ts, is);
4034
+ }, ss = (n) => as[n], rs = (n) => n.replace(is, ss);
3994
4035
  let Et = {
3995
4036
  bindI18n: "languageChanged",
3996
4037
  bindI18nStore: "",
@@ -3999,108 +4040,73 @@ let Et = {
3999
4040
  transWrapTextNodes: "",
4000
4041
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
4001
4042
  useSuspense: !0,
4002
- unescape: as
4043
+ unescape: rs
4003
4044
  };
4004
- function ss() {
4045
+ function os() {
4005
4046
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4006
4047
  Et = {
4007
4048
  ...Et,
4008
4049
  ...n
4009
4050
  };
4010
4051
  }
4011
- const rs = {
4052
+ const ls = {
4012
4053
  type: "3rdParty",
4013
4054
  init(n) {
4014
- ss(n.options.react);
4015
- }
4016
- }, Ys = U.use(rs).use(Yt).init({
4017
- resources: {},
4018
- fallbackLng: "en",
4019
- debug: !1,
4020
- interpolation: {
4021
- escapeValue: !1,
4022
- // not needed for react as it escapes by default
4023
- format: (n, e, t) => {
4024
- if (e) {
4025
- const [i, ...a] = e.split(",").map((s) => s.trim());
4026
- if (i === "number")
4027
- return new Intl.NumberFormat(t).format(n);
4028
- if (i === "date")
4029
- return new Intl.DateTimeFormat(t).format(n);
4030
- if (i === "currency")
4031
- return new Intl.NumberFormat(t, {
4032
- style: "currency",
4033
- currency: a[0] || "USD",
4034
- currencyDisplay: "narrowSymbol"
4035
- }).format(n).replace("$", "").trim();
4036
- }
4037
- return n;
4038
- }
4039
- },
4040
- detection: {
4041
- // order and from where user language should be detected
4042
- order: [
4043
- "navigator",
4044
- "cookie",
4045
- "localStorage",
4046
- "sessionStorage",
4047
- "querystring",
4048
- "htmlTag",
4049
- "path",
4050
- "subdomain"
4051
- ]
4055
+ os(n.options.react);
4052
4056
  }
4053
- });
4057
+ };
4058
+ Va(U, ls);
4059
+ const er = (n) => va(U, n);
4054
4060
  let Ge = /* @__PURE__ */ new Map();
4055
- const Ie = Ot(Ge), er = ({ children: n, stores: e }) => {
4061
+ const Ie = Ot(Ge), tr = ({ children: n, stores: e }) => {
4056
4062
  const t = Pe(Ie), i = Tt(() => {
4057
4063
  const a = /* @__PURE__ */ new Map();
4058
4064
  return e.forEach((s) => a.set(s.class, s.value)), Ge = new Map([...t, ...a]);
4059
4065
  }, []);
4060
4066
  return /* @__PURE__ */ on(Ie.Provider, { value: i, children: n });
4061
4067
  };
4062
- function tr(n) {
4068
+ function nr(n) {
4063
4069
  return Pe(Ie).get(n);
4064
4070
  }
4065
- function nr(n) {
4071
+ function ir(n) {
4066
4072
  return Ge.get(n);
4067
4073
  }
4068
4074
  var en = /* @__PURE__ */ ((n) => (n.Created = "CREATED", n.Finalized = "FINALIZED", n.Live = "LIVE", n.Starting = "STARTING", n))(en || {}), tn = /* @__PURE__ */ ((n) => (n.Add = "add", n.Remove = "remove", n))(tn || {}), nn = /* @__PURE__ */ ((n) => (n.Active = "active", n.Inactive = "inactive", n))(nn || {});
4069
- const os = { 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" } }] } }] } }] } }] }, ls = { 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" } }] } }] } }] } }] }, ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { 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" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ks = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, vs = { 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" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, ys = { 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" } }] } }] } }] } }] }, Ns = { 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" } }] } }] } }] } }] }, bs = { 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" } }] } }] } }] } }] }, Fs = { 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" } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Cs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { 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" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, xs = { 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" } }] } }] } }] } }] }, Ts = { 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" } }] } }] } }] } }] }, Ds = { 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" } }] } }] } }] } }] }, Ls = { 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" } }] } }] } }] } }] } }] }, Is = { 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" } }] } }] } }] } }] }, As = { 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" } }] } }] } }] } }] }, ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4075
+ const ds = { 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" } }] } }] } }] } }] }, us = { 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" } }] } }] } }] } }] }, cs = { 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" } }] } }] } }] } }] }, ms = { 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" } }] } }] } }] } }] }, fs = { 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" } }] } }] } }] } }] }, ps = { 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" } }] } }] } }] } }] }, hs = { 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" } }] } }] } }] } }] }, gs = { 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" } }] } }] } }] } }] }, ks = { 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" } }] } }] } }] } }] }, vs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "BlockUser" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "BlockUserInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "blockUser" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "BlockUserSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, Ss = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "ChangeAccountUsername" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "changeAccountUsername" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChangeUsernameSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ys = { 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" } }] } }] } }] } }] }, Ns = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetAllChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetAllChatMessageInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getAllChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatMessageArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "account" } }, { kind: "Field", name: { kind: "Name", value: "connectionId" } }, { kind: "Field", name: { kind: "Name", value: "data" } }, { kind: "Field", name: { kind: "Name", value: "email" } }, { kind: "Field", name: { kind: "Name", value: "id" } }, { kind: "Field", name: { kind: "Name", value: "idEvent" } }, { kind: "Field", name: { kind: "Name", value: "sendDate" } }, { kind: "Field", name: { kind: "Name", value: "sessionId" } }, { kind: "Field", name: { kind: "Name", value: "type" } }, { kind: "Field", name: { kind: "Name", value: "username" } }, { kind: "Field", name: { kind: "Name", value: "isAdmin" } }, { kind: "Field", name: { kind: "Name", value: "urlGif" } }, { kind: "Field", name: { kind: "Name", value: "second" } }, { kind: "Field", name: { kind: "Name", value: "ip" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, bs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetChatRoomToken" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetChatRoomInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getChatRoomToken" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ChatRoomTokenData" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "token" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Fs = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "mutation", name: { kind: "Name", value: "PinChatMessage" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "PinChatInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "pinChatMessage" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "PinChatMessageSuccess" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }] } }] } }] } }] }, ws = { 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" } }] } }] } }] } }] }, Cs = { 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" } }] } }] } }] } }] }, Es = { 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" } }] } }] } }] } }] }, Os = { kind: "Document", definitions: [{ kind: "OperationDefinition", operation: "query", name: { kind: "Name", value: "GetTimeLine" }, variableDefinitions: [{ kind: "VariableDefinition", variable: { kind: "Variable", name: { kind: "Name", value: "data" } }, type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "GetTimeLineInput" } } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "getTimeLine" }, arguments: [{ kind: "Argument", name: { kind: "Name", value: "data" }, value: { kind: "Variable", name: { kind: "Name", value: "data" } } }], selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "__typename" } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "TimeLineArray" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "data" }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "time" } }, { kind: "Field", name: { kind: "Name", value: "likes" } }, { kind: "Field", name: { kind: "Name", value: "comments" } }, { kind: "Field", name: { kind: "Name", value: "viewers" } }, { kind: "Field", name: { kind: "Name", value: "orders" } }, { kind: "Field", name: { kind: "Name", value: "minute" } }, { kind: "Field", name: { kind: "Name", value: "hour" } }] } }] } }, { kind: "InlineFragment", typeCondition: { kind: "NamedType", name: { kind: "Name", value: "ErrorGeneral" } }, selectionSet: { kind: "SelectionSet", selections: [{ kind: "Field", name: { kind: "Name", value: "message" } }, { kind: "Field", name: { kind: "Name", value: "statusCode" } }, { kind: "Field", name: { kind: "Name", value: "timestamp" } }] } }] } }] } }] }, Rs = { 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" } }] } }] } }] } }] }, xs = { 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" } }] } }] } }] } }] }, Ts = { 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" } }] } }] } }] } }] }, Ds = { 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" } }] } }] } }] } }] }, Ls = { 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" } }] } }] } }] } }] }, Is = { 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" } }] } }] } }] } }] }, As = { 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" } }] } }] } }] } }] } }] }, Ps = { 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" } }] } }] } }] } }] }, Vs = { 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" } }] } }] } }] } }] }, ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4070
4076
  __proto__: null,
4071
- AddCollectionDocument: os,
4072
- AppendProductsToSnackVideoDocument: Es,
4073
- BlockUserDocument: gs,
4074
- ChangeAccountUsernameDocument: ks,
4075
- CreateSnackVideoBatchDocument: Os,
4076
- DeleteAllCustomizationDocument: bs,
4077
- DeleteChatMessageDocument: vs,
4078
- DeleteCollectionDocument: ls,
4079
- DeleteRelationshipWithSnackVideoDocument: Rs,
4080
- DeleteSnackVideoDocument: xs,
4077
+ AddCollectionDocument: ds,
4078
+ AppendProductsToSnackVideoDocument: Rs,
4079
+ BlockUserDocument: vs,
4080
+ ChangeAccountUsernameDocument: Ss,
4081
+ CreateSnackVideoBatchDocument: xs,
4082
+ DeleteAllCustomizationDocument: ws,
4083
+ DeleteChatMessageDocument: ys,
4084
+ DeleteCollectionDocument: us,
4085
+ DeleteRelationshipWithSnackVideoDocument: Ts,
4086
+ DeleteSnackVideoDocument: Ds,
4081
4087
  EventStatus: en,
4082
- FindByProductSnackVideoDocument: As,
4083
- FindCollectionDocument: ds,
4084
- FindManySnackVideosDocument: Ts,
4085
- FindMinimalEventDocument: ps,
4086
- GetAllChatMessageDocument: Ss,
4087
- GetAllCollectionsDocument: us,
4088
- GetAllCustomizationDocument: Fs,
4089
- GetAllSnackVideosDocument: Ds,
4090
- GetChatRoomTokenDocument: ys,
4091
- GetSnackVideoRelationshipsDocument: Ls,
4092
- GetTimeLineDocument: Cs,
4093
- ManageCollectionProductDocument: cs,
4088
+ FindByProductSnackVideoDocument: Vs,
4089
+ FindCollectionDocument: cs,
4090
+ FindManySnackVideosDocument: Ls,
4091
+ FindMinimalEventDocument: gs,
4092
+ GetAllChatMessageDocument: Ns,
4093
+ GetAllCollectionsDocument: ms,
4094
+ GetAllCustomizationDocument: Cs,
4095
+ GetAllSnackVideosDocument: Is,
4096
+ GetChatRoomTokenDocument: bs,
4097
+ GetSnackVideoRelationshipsDocument: As,
4098
+ GetTimeLineDocument: Os,
4099
+ ManageCollectionProductDocument: fs,
4094
4100
  Methods: tn,
4095
- PinChatMessageDocument: Ns,
4096
- SearchCollectionsDocument: ms,
4097
- SearchMinimalEventsDocument: hs,
4098
- SearchSnackVideosDocument: Is,
4101
+ PinChatMessageDocument: Fs,
4102
+ SearchCollectionsDocument: ps,
4103
+ SearchMinimalEventsDocument: ks,
4104
+ SearchSnackVideosDocument: Ps,
4099
4105
  Status: nn,
4100
- UpdateCollectionDocument: fs,
4101
- UpdateCustomizationDocument: ws
4106
+ UpdateCollectionDocument: hs,
4107
+ UpdateCustomizationDocument: Es
4102
4108
  }, Symbol.toStringTag, { value: "Module" }));
4103
- function ar(n) {
4109
+ function sr(n) {
4104
4110
  return {
4105
4111
  class: n,
4106
4112
  _value: null,
@@ -4112,19 +4118,19 @@ function ar(n) {
4112
4118
  export {
4113
4119
  Gt as AccountContractStatusTypes,
4114
4120
  Ni as AccountContractTypes,
4115
- Qs as AccountInvalidError,
4121
+ Gs as AccountInvalidError,
4116
4122
  Fi as AccountPlanDescriptionTypes,
4117
4123
  Ei as AccountRestRepository,
4118
4124
  Oi as AccountService,
4119
4125
  bi as AccountSubscriptionTypes,
4120
4126
  Kt as AccountTypes,
4121
4127
  Si as AggregateRoot,
4122
- ir as ApiGraphqlTypes,
4123
- Ws as BaseMobxStore,
4128
+ ar as ApiGraphqlTypes,
4129
+ qs as BaseMobxStore,
4124
4130
  Xn as BroadcastChannelEventBus,
4125
4131
  ye as DomainError,
4126
- Hs as EventBusWildcards,
4127
- Zs as EventNames,
4132
+ Xs as EventBusWildcards,
4133
+ Ys as EventNames,
4128
4134
  wi as GlobalPageSectionTypes,
4129
4135
  vi as InvalidNizzaGlobalObjectError,
4130
4136
  fa as LanguageTypes,
@@ -4134,31 +4140,34 @@ export {
4134
4140
  ha as NizzaProductRequestOriginTypes,
4135
4141
  pa as NizzaVariationTypes,
4136
4142
  gi as ResourceNotFoundError,
4137
- er as StoreProvider,
4143
+ tr as StoreProvider,
4138
4144
  ki as UnexpectedError,
4139
- Js as ValueObject,
4145
+ Hs as ValueObject,
4140
4146
  Ve as accountAtom,
4141
4147
  Wt as accountService,
4142
- Us as apiCall,
4148
+ js as apiCall,
4149
+ ga as buildLanguageTranslations,
4150
+ ka as buildTranslations,
4143
4151
  ee as coreLogger,
4144
4152
  yi as createAggregateRoot,
4145
- ar as createStore,
4153
+ sr as createStore,
4146
4154
  It as customFetch,
4147
- Ms as downloadFile,
4148
- $s as fileOrigin,
4155
+ $s as downloadFile,
4156
+ Bs as fileOrigin,
4149
4157
  ca as getAccount,
4150
- Gs as getClientTimeZone,
4151
- nr as getStore,
4158
+ Js as getClientTimeZone,
4159
+ ir as getStore,
4152
4160
  ua as globalAtomStore,
4153
- Ys as i18n,
4161
+ Va as i18Init,
4154
4162
  On as jsDownload,
4155
- Bs as logger,
4163
+ Ks as logger,
4156
4164
  je as nizza,
4157
- Xs as registerTranslations,
4158
- js as searchParams,
4165
+ er as registerTranslations,
4166
+ va as registerTranslationsOf,
4167
+ zs as searchParams,
4159
4168
  ei as shortId,
4160
- qs as useAccount,
4161
- tr as useStore,
4162
- Ks as validateRequiredProps
4169
+ Zs as useAccount,
4170
+ nr as useStore,
4171
+ Ws as validateRequiredProps
4163
4172
  };
4164
4173
  //# sourceMappingURL=index.mjs.map