buzzcasting-storage 3.0.15 → 3.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var xi = Object.defineProperty;
2
2
  var Ai = (d, r, s) => r in d ? xi(d, r, { enumerable: !0, configurable: !0, writable: !0, value: s }) : d[r] = s;
3
3
  var k = (d, r, s) => Ai(d, typeof r != "symbol" ? r + "" : r, s);
4
- var N = /* @__PURE__ */ ((d) => (d.MESSAGES = "messages", d.CLOUD = "cloud", d.SERIES = "series", d.TOPICS = "topics", d.WIDGET = "widget", d.WIDGETS = "widgets", d.SLIDE = "slide", d))(N || {}), y = /* @__PURE__ */ ((d) => (d.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", d.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", d.BROADCAST = "color:white;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", d.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", d.CLOUD = "color:grey;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", d.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", d.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", d.MESSAGES = "color:white;background-color:darkslateblue;padding:0 4px 0 4px;border-radius:5px;", d.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", d.NONE = "color:transparent;background-color:transparent;", d.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", d.SERIES = "color:grey;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", d.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", d.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", d.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", d.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", d.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", d))(y || {}), re = /* @__PURE__ */ ((d) => (d.ADD_SLIDE = "addSlide", d.APP_READY = "appReady", d.API_UPDATE = "apiUpdate", d.APPROVE_MESSAGE = "approveMessage", d.CHANNEL = "channel", d.CLEAN_MESSAGES = "cleanMessages", d.CLOSE_MODAL = "closeModal", d.CLOSE_BUILDER_MODAL = "closeBuilderModal", d.ERROR = "error", d.HIDE_MESSAGE = "hideMessage", d.HIDE_LABELS = "hideLabels", d.MAUPPUT_UPDATE = "layoutUpdate", d.PAUSE_PRESENTATION = "pausePresentation", d.PRESENTATION_READY = "presentationReady", d.PREV_SLIDE = "prevSlide", d.RELOAD_PRESENTATION = "reloadPresentation", d.SHOW_MODAL = "showModal", d.STAR_MESSAGE = "starMessage", d.GOTO_SLIDE = "gotoSlide", d.NEXT_SLIDE = "nextSlide", d.SHOW_BUILDER_MODAL = "showBuilderModal", d.SLIDE_DID_LOAD = "slideDidLoad", d.SLIDE_GOTO = "slideGoto", d.SLIDE_READY = "slideReady", d.SLIDE_LOAD = "loadSlide", d.SLIDE_STORE = "storeSlide", d.SLIDE_TRANSITIONER = "slideTransitioner", d.START_TRANSITIONER = "startTransitioner", d.STORAGE_INIT = "storageInit", d.SUBSCRIBE = "subscribe", d.SUSPEND_ACCOUNT = "suspendAccount", d.REMOVE_CLOUD = "removeCloud", d.UPDATE = "update", d.VERSION = "version", d.WIDGET_UPDATE = "widgetUpdate", d))(re || {}), Zt = /* @__PURE__ */ ((d) => (d.APPROVED = "approved", d.BEFORE = "before", d.DELAYED = "delayed", d.NONE = "none", d.REALTIME = "realtime", d))(Zt || {}), ye = /* @__PURE__ */ ((d) => (d.KEYVAL = "keyval", d.LOCAL = "local", d.SESSION = "session", d.DEXIE = "dexie", d.WINDOW = "window", d))(ye || {});
5
- const ki = "3.0.14";
4
+ var N = /* @__PURE__ */ ((d) => (d.MESSAGES = "messages", d.CLOUD = "cloud", d.SERIES = "series", d.TOPICS = "topics", d.WIDGET = "widget", d.WIDGETS = "widgets", d.SLIDE = "slide", d))(N || {}), m = /* @__PURE__ */ ((d) => (d.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", d.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", d.BROADCAST = "color:white;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", d.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", d.CLOUD = "color:grey;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", d.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", d.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", d.MESSAGES = "color:white;background-color:darkslateblue;padding:0 4px 0 4px;border-radius:5px;", d.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", d.NONE = "color:transparent;background-color:transparent;", d.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", d.SERIES = "color:grey;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", d.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", d.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", d.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", d.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", d.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", d))(m || {}), re = /* @__PURE__ */ ((d) => (d.ADD_SLIDE = "addSlide", d.APP_READY = "appReady", d.API_UPDATE = "apiUpdate", d.APPROVE_MESSAGE = "approveMessage", d.CHANNEL = "channel", d.CLEAN_MESSAGES = "cleanMessages", d.CLOSE_MODAL = "closeModal", d.CLOSE_BUILDER_MODAL = "closeBuilderModal", d.ERROR = "error", d.HIDE_MESSAGE = "hideMessage", d.HIDE_LABELS = "hideLabels", d.MAUPPUT_UPDATE = "layoutUpdate", d.PAUSE_PRESENTATION = "pausePresentation", d.PRESENTATION_READY = "presentationReady", d.PREV_SLIDE = "prevSlide", d.RELOAD_PRESENTATION = "reloadPresentation", d.SHOW_MODAL = "showModal", d.STAR_MESSAGE = "starMessage", d.GOTO_SLIDE = "gotoSlide", d.NEXT_SLIDE = "nextSlide", d.SHOW_BUILDER_MODAL = "showBuilderModal", d.SLIDE_DID_LOAD = "slideDidLoad", d.SLIDE_GOTO = "slideGoto", d.SLIDE_READY = "slideReady", d.SLIDE_LOAD = "loadSlide", d.SLIDE_STORE = "storeSlide", d.SLIDE_TRANSITIONER = "slideTransitioner", d.START_TRANSITIONER = "startTransitioner", d.STORAGE_INIT = "storageInit", d.SUBSCRIBE = "subscribe", d.SUSPEND_ACCOUNT = "suspendAccount", d.REMOVE_CLOUD = "removeCloud", d.UPDATE = "update", d.VERSION = "version", d.WIDGET_UPDATE = "widgetUpdate", d))(re || {}), Zt = /* @__PURE__ */ ((d) => (d.APPROVED = "approved", d.BEFORE = "before", d.DELAYED = "delayed", d.NONE = "none", d.REALTIME = "realtime", d))(Zt || {}), ye = /* @__PURE__ */ ((d) => (d.KEYVAL = "keyval", d.LOCAL = "local", d.SESSION = "session", d.DEXIE = "dexie", d.WINDOW = "window", d))(ye || {});
5
+ const ki = "3.0.15";
6
6
  class Di {
7
7
  constructor(r) {
8
8
  k(this, "options");
@@ -37,11 +37,11 @@ class Di {
37
37
  const D = Object.keys(x).length > 0 ? `?${new URLSearchParams(x).toString()}` : "";
38
38
  return console.info(
39
39
  "%capi%c %cfetch",
40
- y.API,
41
- y.NONE,
42
- y.GET_DATA,
40
+ m.API,
41
+ m.NONE,
42
+ m.GET_DATA,
43
43
  r.widget
44
- ), console.debug("%capi%c %cfetch", y.API, y.NONE, y.GET_DATA, x), await fetch(
44
+ ), console.debug("%capi%c %cfetch", m.API, m.NONE, m.GET_DATA, x), await fetch(
45
45
  [this.url, "api", s, r.type].join("/") + D,
46
46
  { ...l, method: "get" }
47
47
  ).then(async (K) => {
@@ -54,9 +54,9 @@ class Di {
54
54
  const { version: s } = this.options, l = this.headers(), x = "?action=visible";
55
55
  return console.info(
56
56
  "%capi%c %cput",
57
- y.API,
58
- y.NONE,
59
- y.GET_DATA,
57
+ m.API,
58
+ m.NONE,
59
+ m.GET_DATA,
60
60
  re.HIDE_MESSAGE,
61
61
  r.widget,
62
62
  r.id
@@ -75,9 +75,9 @@ class Di {
75
75
  x.append(`custom_filters[${K}]`, U);
76
76
  return console.info(
77
77
  "%capi%c %cput",
78
- y.API,
79
- y.NONE,
80
- y.GET_DATA,
78
+ m.API,
79
+ m.NONE,
80
+ m.GET_DATA,
81
81
  re.HIDE_LABELS,
82
82
  r.widget,
83
83
  D
@@ -94,9 +94,9 @@ class Di {
94
94
  const { version: s } = this.options, l = this.headers(), x = Object.assign({}, r);
95
95
  return delete x.slide, delete x.type, delete x.hash, console.debug(
96
96
  "%capi%c %cloadSlide",
97
- y.API,
98
- y.NONE,
99
- y.SLIDE,
97
+ m.API,
98
+ m.NONE,
99
+ m.SLIDE,
100
100
  re.SLIDE_LOAD,
101
101
  r.slide
102
102
  ), await fetch(
@@ -121,9 +121,9 @@ class Di {
121
121
  const x = JSON.stringify(r);
122
122
  return console.info(
123
123
  "%capi%c %cput",
124
- y.API,
125
- y.NONE,
126
- y.SLIDE,
124
+ m.API,
125
+ m.NONE,
126
+ m.SLIDE,
127
127
  re.SLIDE_STORE,
128
128
  r.id
129
129
  ), await fetch(
@@ -758,9 +758,9 @@ var Tr = { exports: {} };
758
758
  return g(v, f, S, p);
759
759
  })) : te(w);
760
760
  }
761
- return b._promise(f, function(w, m) {
761
+ return b._promise(f, function(w, y) {
762
762
  return ke(function() {
763
- return G.trans = b, p(w, m, b);
763
+ return G.trans = b, p(w, y, b);
764
764
  });
765
765
  }).then(function(w) {
766
766
  if (f === "readwrite") try {
@@ -972,8 +972,8 @@ var Tr = { exports: {} };
972
972
  e.forEach(function(f, S) {
973
973
  var p = f.key, b = f.changes, w = u[S];
974
974
  if (w) {
975
- for (var m = 0, _ = Object.keys(b); m < _.length; m++) {
976
- var E = _[m], O = b[E];
975
+ for (var y = 0, _ = Object.keys(b); y < _.length; y++) {
976
+ var E = _[y], O = b[E];
977
977
  if (E === t.schema.primKey.keyPath) {
978
978
  if (Y(O, p) !== 0) throw new $.Constraint("Cannot update primary key in bulkUpdate()");
979
979
  } else fe(w, E, O);
@@ -986,8 +986,8 @@ var Tr = { exports: {} };
986
986
  var S = f.numFailures, p = f.failures;
987
987
  if (S === 0) return v;
988
988
  for (var b = 0, w = Object.keys(p); b < w.length; b++) {
989
- var m, _ = w[b], E = a[Number(_)];
990
- E != null && (m = p[_], delete p[_], p[E] = m);
989
+ var y, _ = w[b], E = a[Number(_)];
990
+ E != null && (y = p[_], delete p[_], p[E] = y);
991
991
  }
992
992
  throw new Je("".concat(t.name, ".bulkUpdate(): ").concat(S, " of ").concat(v, " operations failed"), p);
993
993
  });
@@ -1037,9 +1037,9 @@ var Tr = { exports: {} };
1037
1037
  if (S !== "asap") throw new $.InvalidArgument("Invalid event config");
1038
1038
  var p = a(f, at, function() {
1039
1039
  for (var b = arguments.length, w = new Array(b); b--; ) w[b] = arguments[b];
1040
- p.subscribers.forEach(function(m) {
1040
+ p.subscribers.forEach(function(y) {
1041
1041
  Hn(function() {
1042
- m.apply(null, w);
1042
+ y.apply(null, w);
1043
1043
  });
1044
1044
  });
1045
1045
  });
@@ -1304,31 +1304,31 @@ var Tr = { exports: {} };
1304
1304
  var t = this, n = this._ctx;
1305
1305
  return this._write(function(i) {
1306
1306
  var o, a, c;
1307
- c = typeof e == "function" ? e : (o = K(e), a = o.length, function(m) {
1307
+ c = typeof e == "function" ? e : (o = K(e), a = o.length, function(y) {
1308
1308
  for (var _ = !1, E = 0; E < a; ++E) {
1309
- var O = o[E], A = e[O], P = we(m, O);
1310
- A instanceof ht ? (fe(m, O, A.execute(P)), _ = !0) : P !== A && (fe(m, O, A), _ = !0);
1309
+ var O = o[E], A = e[O], P = we(y, O);
1310
+ A instanceof ht ? (fe(y, O, A.execute(P)), _ = !0) : P !== A && (fe(y, O, A), _ = !0);
1311
1311
  }
1312
1312
  return _;
1313
1313
  });
1314
1314
  var u = n.table.core, f = u.schema.primaryKey, h = f.outbound, g = f.extractKey, v = 200, f = t.db._options.modifyChunkSize;
1315
1315
  f && (v = typeof f == "object" ? f[u.name] || f["*"] || 200 : f);
1316
- function S(m, O) {
1316
+ function S(y, O) {
1317
1317
  var E = O.failures, O = O.numFailures;
1318
- b += m - O;
1318
+ b += y - O;
1319
1319
  for (var A = 0, P = K(E); A < P.length; A++) {
1320
1320
  var T = P[A];
1321
1321
  p.push(E[T]);
1322
1322
  }
1323
1323
  }
1324
1324
  var p = [], b = 0, w = [];
1325
- return t.clone().primaryKeys().then(function(m) {
1325
+ return t.clone().primaryKeys().then(function(y) {
1326
1326
  function _(O) {
1327
- var A = Math.min(v, m.length - O);
1328
- return u.getMany({ trans: i, keys: m.slice(O, O + A), cache: "immutable" }).then(function(P) {
1327
+ var A = Math.min(v, y.length - O);
1328
+ return u.getMany({ trans: i, keys: y.slice(O, O + A), cache: "immutable" }).then(function(P) {
1329
1329
  for (var T = [], I = [], C = h ? [] : null, j = [], R = 0; R < A; ++R) {
1330
- var L = P[R], W = { value: Te(L), primKey: m[O + R] };
1331
- c.call(W, W.value, W) !== !1 && (W.value == null ? j.push(m[O + R]) : h || Y(g(L), g(W.value)) === 0 ? (I.push(W.value), h && C.push(m[O + R])) : (j.push(m[O + R]), T.push(W.value)));
1330
+ var L = P[R], W = { value: Te(L), primKey: y[O + R] };
1331
+ c.call(W, W.value, W) !== !1 && (W.value == null ? j.push(y[O + R]) : h || Y(g(L), g(W.value)) === 0 ? (I.push(W.value), h && C.push(y[O + R])) : (j.push(y[O + R]), T.push(W.value)));
1332
1332
  }
1333
1333
  return Promise.resolve(0 < T.length && u.mutate({ trans: i, type: "add", values: T }).then(function(z) {
1334
1334
  for (var H in z.failures) j.splice(parseInt(H), 1);
@@ -1342,14 +1342,14 @@ var Tr = { exports: {} };
1342
1342
  return S(j.length, z);
1343
1343
  });
1344
1344
  }).then(function() {
1345
- return m.length > O + A && _(O + v);
1345
+ return y.length > O + A && _(O + v);
1346
1346
  });
1347
1347
  });
1348
1348
  }
1349
1349
  var E = tt(n) && n.limit === 1 / 0 && (typeof e != "function" || e === bn) && { index: n.index, range: n.range };
1350
1350
  return _(0).then(function() {
1351
1351
  if (0 < p.length) throw new Et("Error modifying one or more objects", p, b, w);
1352
- return m.length;
1352
+ return y.length;
1353
1353
  });
1354
1354
  });
1355
1355
  });
@@ -1393,24 +1393,24 @@ var Tr = { exports: {} };
1393
1393
  return typeof b == "string";
1394
1394
  })) return he(e, ir);
1395
1395
  function S(b) {
1396
- o = b === "next" ? function(m) {
1397
- return m.toUpperCase();
1398
- } : function(m) {
1399
- return m.toLowerCase();
1400
- }, a = b === "next" ? function(m) {
1401
- return m.toLowerCase();
1402
- } : function(m) {
1403
- return m.toUpperCase();
1396
+ o = b === "next" ? function(y) {
1397
+ return y.toUpperCase();
1398
+ } : function(y) {
1399
+ return y.toLowerCase();
1400
+ }, a = b === "next" ? function(y) {
1401
+ return y.toLowerCase();
1402
+ } : function(y) {
1403
+ return y.toUpperCase();
1404
1404
  }, c = b === "next" ? ai : si;
1405
- var w = n.map(function(m) {
1406
- return { lower: a(m), upper: o(m) };
1407
- }).sort(function(m, _) {
1408
- return c(m.lower, _.lower);
1405
+ var w = n.map(function(y) {
1406
+ return { lower: a(y), upper: o(y) };
1407
+ }).sort(function(y, _) {
1408
+ return c(y.lower, _.lower);
1409
1409
  });
1410
- u = w.map(function(m) {
1411
- return m.upper;
1412
- }), h = w.map(function(m) {
1413
- return m.lower;
1410
+ u = w.map(function(y) {
1411
+ return y.upper;
1412
+ }), h = w.map(function(y) {
1413
+ return y.lower;
1414
1414
  }), v = (g = b) === "next" ? "" : i;
1415
1415
  }
1416
1416
  S("next"), e = new e.Collection(e, function() {
@@ -1419,7 +1419,7 @@ var Tr = { exports: {} };
1419
1419
  S(b);
1420
1420
  };
1421
1421
  var p = 0;
1422
- return e._addAlgorithm(function(b, w, m) {
1422
+ return e._addAlgorithm(function(b, w, y) {
1423
1423
  var _ = b.key;
1424
1424
  if (typeof _ != "string") return !1;
1425
1425
  var E = a(_);
@@ -1437,7 +1437,7 @@ var Tr = { exports: {} };
1437
1437
  }
1438
1438
  return w(O !== null ? function() {
1439
1439
  b.continue(O + v);
1440
- } : m), !1;
1440
+ } : y), !1;
1441
1441
  }), e;
1442
1442
  }
1443
1443
  function Ie(e, t, n, i) {
@@ -1566,13 +1566,13 @@ var Tr = { exports: {} };
1566
1566
  return 0 < a(E, v[p][0]);
1567
1567
  } : function(E) {
1568
1568
  return 0 <= a(E, v[p][0]);
1569
- }, m = b, _ = new this.Collection(this, function() {
1569
+ }, y = b, _ = new this.Collection(this, function() {
1570
1570
  return Ie(v[0][0], v[v.length - 1][1], !h, !g);
1571
1571
  });
1572
1572
  return _._ondirectionchange = function(E) {
1573
- f = E === "next" ? (m = b, o) : (m = w, a), v.sort(S);
1573
+ f = E === "next" ? (y = b, o) : (y = w, a), v.sort(S);
1574
1574
  }, _._addAlgorithm(function(E, O, A) {
1575
- for (var P, T = E.key; m(T); ) if (++p === v.length) return O(A), !1;
1575
+ for (var P, T = E.key; y(T); ) if (++p === v.length) return O(A), !1;
1576
1576
  return !b(P = T) && !w(P) || (n._cmp(T, v[p][1]) === 0 || n._cmp(T, v[p][0]) === 0 || O(function() {
1577
1577
  f === o ? E.continue(v[p][0]) : E.continue(v[p][1]);
1578
1578
  }), !1);
@@ -1727,19 +1727,19 @@ var Tr = { exports: {} };
1727
1727
  return e == null ? ":id" : typeof e == "string" ? e : "[".concat(e.join("+"), "]");
1728
1728
  }
1729
1729
  function li(e, t, h) {
1730
- function i(m) {
1731
- if (m.type === 3) return null;
1732
- if (m.type === 4) throw new Error("Cannot convert never type to IDBKeyRange");
1733
- var p = m.lower, b = m.upper, w = m.lowerOpen, m = m.upperOpen;
1734
- return p === void 0 ? b === void 0 ? null : t.upperBound(b, !!m) : b === void 0 ? t.lowerBound(p, !!w) : t.bound(p, b, !!w, !!m);
1730
+ function i(y) {
1731
+ if (y.type === 3) return null;
1732
+ if (y.type === 4) throw new Error("Cannot convert never type to IDBKeyRange");
1733
+ var p = y.lower, b = y.upper, w = y.lowerOpen, y = y.upperOpen;
1734
+ return p === void 0 ? b === void 0 ? null : t.upperBound(b, !!y) : b === void 0 ? t.lowerBound(p, !!w) : t.bound(p, b, !!w, !!y);
1735
1735
  }
1736
1736
  function o(S) {
1737
1737
  var p, b = S.name;
1738
1738
  return { name: b, schema: S, mutate: function(w) {
1739
- var m = w.trans, _ = w.type, E = w.keys, O = w.values, A = w.range;
1739
+ var y = w.trans, _ = w.type, E = w.keys, O = w.values, A = w.range;
1740
1740
  return new Promise(function(P, T) {
1741
1741
  P = q(P);
1742
- var I = m.objectStore(b), C = I.keyPath == null, j = _ === "put" || _ === "add";
1742
+ var I = y.objectStore(b), C = I.keyPath == null, j = _ === "put" || _ === "add";
1743
1743
  if (!j && _ !== "delete" && _ !== "deleteRange") throw new Error("Invalid operation type: " + _);
1744
1744
  var R, L = (E || O || { length: 1 }).length;
1745
1745
  if (E && O && E.length !== O.length) throw new Error("Given keys array must have same length as given values array.");
@@ -1768,45 +1768,45 @@ var Tr = { exports: {} };
1768
1768
  }, R.onsuccess = Jt;
1769
1769
  });
1770
1770
  }, getMany: function(w) {
1771
- var m = w.trans, _ = w.keys;
1771
+ var y = w.trans, _ = w.keys;
1772
1772
  return new Promise(function(E, O) {
1773
1773
  E = q(E);
1774
- for (var A, P = m.objectStore(b), T = _.length, I = new Array(T), C = 0, j = 0, R = function(z) {
1774
+ for (var A, P = y.objectStore(b), T = _.length, I = new Array(T), C = 0, j = 0, R = function(z) {
1775
1775
  z = z.target, I[z._pos] = z.result, ++j === C && E(I);
1776
1776
  }, L = be(O), W = 0; W < T; ++W) _[W] != null && ((A = P.get(_[W]))._pos = W, A.onsuccess = R, A.onerror = L, ++C);
1777
1777
  C === 0 && E(I);
1778
1778
  });
1779
1779
  }, get: function(w) {
1780
- var m = w.trans, _ = w.key;
1780
+ var y = w.trans, _ = w.key;
1781
1781
  return new Promise(function(E, O) {
1782
1782
  E = q(E);
1783
- var A = m.objectStore(b).get(_);
1783
+ var A = y.objectStore(b).get(_);
1784
1784
  A.onsuccess = function(P) {
1785
1785
  return E(P.target.result);
1786
1786
  }, A.onerror = be(O);
1787
1787
  });
1788
1788
  }, query: (p = g, function(w) {
1789
- return new Promise(function(m, _) {
1790
- m = q(m);
1789
+ return new Promise(function(y, _) {
1790
+ y = q(y);
1791
1791
  var E, O, A, C = w.trans, P = w.values, T = w.limit, R = w.query, I = T === 1 / 0 ? void 0 : T, j = R.index, R = R.range, C = C.objectStore(b), j = j.isPrimaryKey ? C : C.index(j.name), R = i(R);
1792
- if (T === 0) return m({ result: [] });
1792
+ if (T === 0) return y({ result: [] });
1793
1793
  p ? ((I = P ? j.getAll(R, I) : j.getAllKeys(R, I)).onsuccess = function(L) {
1794
- return m({ result: L.target.result });
1794
+ return y({ result: L.target.result });
1795
1795
  }, I.onerror = be(_)) : (E = 0, O = !P && "openKeyCursor" in j ? j.openKeyCursor(R) : j.openCursor(R), A = [], O.onsuccess = function(L) {
1796
1796
  var W = O.result;
1797
- return W ? (A.push(P ? W.value : W.primaryKey), ++E === T ? m({ result: A }) : void W.continue()) : m({ result: A });
1797
+ return W ? (A.push(P ? W.value : W.primaryKey), ++E === T ? y({ result: A }) : void W.continue()) : y({ result: A });
1798
1798
  }, O.onerror = be(_));
1799
1799
  });
1800
1800
  }), openCursor: function(w) {
1801
- var m = w.trans, _ = w.values, E = w.query, O = w.reverse, A = w.unique;
1801
+ var y = w.trans, _ = w.values, E = w.query, O = w.reverse, A = w.unique;
1802
1802
  return new Promise(function(P, T) {
1803
1803
  P = q(P);
1804
- var j = E.index, I = E.range, C = m.objectStore(b), C = j.isPrimaryKey ? C : C.index(j.name), j = O ? A ? "prevunique" : "prev" : A ? "nextunique" : "next", R = !_ && "openKeyCursor" in C ? C.openKeyCursor(i(I), j) : C.openCursor(i(I), j);
1804
+ var j = E.index, I = E.range, C = y.objectStore(b), C = j.isPrimaryKey ? C : C.index(j.name), j = O ? A ? "prevunique" : "prev" : A ? "nextunique" : "next", R = !_ && "openKeyCursor" in C ? C.openKeyCursor(i(I), j) : C.openCursor(i(I), j);
1805
1805
  R.onerror = be(T), R.onsuccess = q(function(L) {
1806
1806
  var W, z, H, pe, F = R.result;
1807
1807
  F ? (F.___id = ++ui, F.done = !1, W = F.continue.bind(F), z = (z = F.continuePrimaryKey) && z.bind(F), H = F.advance.bind(F), pe = function() {
1808
1808
  throw new Error("Cursor not stopped");
1809
- }, F.trans = m, F.stop = F.continue = F.continuePrimaryKey = F.advance = function() {
1809
+ }, F.trans = y, F.stop = F.continue = F.continuePrimaryKey = F.advance = function() {
1810
1810
  throw new Error("Cursor not started");
1811
1811
  }, F.fail = q(T), F.next = function() {
1812
1812
  var ce = this, ue = 1;
@@ -1838,7 +1838,7 @@ var Tr = { exports: {} };
1838
1838
  }, T);
1839
1839
  });
1840
1840
  }, count: function(w) {
1841
- var m = w.query, _ = w.trans, E = m.index, O = m.range;
1841
+ var y = w.query, _ = w.trans, E = y.index, O = y.range;
1842
1842
  return new Promise(function(A, P) {
1843
1843
  var T = _.objectStore(b), I = E.isPrimaryKey ? T : T.index(E.name), T = i(O), I = T ? I.count(T) : I.count();
1844
1844
  I.onsuccess = q(function(C) {
@@ -1850,7 +1850,7 @@ var Tr = { exports: {} };
1850
1850
  var a, c, u, v = (c = h, u = yr((a = e).objectStoreNames), { schema: { name: a.name, tables: u.map(function(S) {
1851
1851
  return c.objectStore(S);
1852
1852
  }).map(function(S) {
1853
- var p = S.keyPath, m = S.autoIncrement, b = U(p), w = {}, m = { name: S.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: p == null, compound: b, keyPath: p, autoIncrement: m, unique: !0, extractKey: _n(p) }, indexes: yr(S.indexNames).map(function(_) {
1853
+ var p = S.keyPath, y = S.autoIncrement, b = U(p), w = {}, y = { name: S.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: p == null, compound: b, keyPath: p, autoIncrement: y, unique: !0, extractKey: _n(p) }, indexes: yr(S.indexNames).map(function(_) {
1854
1854
  return S.index(_);
1855
1855
  }).map(function(A) {
1856
1856
  var E = A.name, O = A.unique, P = A.multiEntry, A = A.keyPath, P = { name: E, compound: U(A), keyPath: A, unique: O, multiEntry: P, extractKey: _n(A) };
@@ -1858,7 +1858,7 @@ var Tr = { exports: {} };
1858
1858
  }), getIndexByKeyPath: function(_) {
1859
1859
  return w[mt(_)];
1860
1860
  } };
1861
- return w[":id"] = m.primaryKey, p != null && (w[mt(p)] = m.primaryKey), m;
1861
+ return w[":id"] = y.primaryKey, p != null && (w[mt(p)] = y.primaryKey), y;
1862
1862
  }) }, hasGetAll: 0 < u.length && "getAll" in c.objectStore(u[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) }), h = v.schema, g = v.hasGetAll, v = h.tables.map(o), f = {};
1863
1863
  return v.forEach(function(S) {
1864
1864
  return f[S.name] = S;
@@ -1915,12 +1915,12 @@ var Tr = { exports: {} };
1915
1915
  return G.trans = a, G.transless = u, t !== 0 ? (Bt(e, n), g = t, ((h = a).storeNames.includes("$meta") ? h.table("$meta").get("version").then(function(v) {
1916
1916
  return v ?? g;
1917
1917
  }) : B.resolve(g)).then(function(v) {
1918
- return S = v, p = a, b = n, w = [], v = (f = e)._versions, m = f._dbSchema = $t(0, f.idbdb, b), (v = v.filter(function(_) {
1918
+ return S = v, p = a, b = n, w = [], v = (f = e)._versions, y = f._dbSchema = $t(0, f.idbdb, b), (v = v.filter(function(_) {
1919
1919
  return _._cfg.version >= S;
1920
1920
  })).length !== 0 ? (v.forEach(function(_) {
1921
1921
  w.push(function() {
1922
- var E = m, O = _._cfg.dbschema;
1923
- Ut(f, E, b), Ut(f, O, b), m = f._dbSchema = O;
1922
+ var E = y, O = _._cfg.dbschema;
1923
+ Ut(f, E, b), Ut(f, O, b), y = f._dbSchema = O;
1924
1924
  var A = On(E, O);
1925
1925
  A.add.forEach(function(j) {
1926
1926
  xn(b, j[0], j[1].primKey, j[1].indexes);
@@ -1963,9 +1963,9 @@ var Tr = { exports: {} };
1963
1963
  }), function _() {
1964
1964
  return w.length ? B.resolve(w.shift()(p.idbtrans)).then(_) : B.resolve();
1965
1965
  }().then(function() {
1966
- mr(m, b);
1966
+ mr(y, b);
1967
1967
  })) : B.resolve();
1968
- var f, S, p, b, w, m;
1968
+ var f, S, p, b, w, y;
1969
1969
  }).catch(c)) : (K(o).forEach(function(v) {
1970
1970
  xn(n, v, o[v].primKey, o[v].indexes);
1971
1971
  }), Bt(e, n), void B.follow(function() {
@@ -2201,8 +2201,8 @@ var Tr = { exports: {} };
2201
2201
  for (var o = [], a = 0, c = Object.entries(e.queries.query); a < c.length; a++) {
2202
2202
  for (var u = c[a], h = u[0], g = [], v = 0, f = u[1]; v < f.length; v++) {
2203
2203
  var S = f[v];
2204
- In(t, S.obsSet) ? S.subscribers.forEach(function(m) {
2205
- return n.add(m);
2204
+ In(t, S.obsSet) ? S.subscribers.forEach(function(y) {
2205
+ return n.add(y);
2206
2206
  }) : i && g.push(S);
2207
2207
  }
2208
2208
  i && o.push([h, g]);
@@ -2227,17 +2227,17 @@ var Tr = { exports: {} };
2227
2227
  if (c(), !n) throw new $.MissingAPI();
2228
2228
  var b = e.name, w = t.autoSchema || !o ? n.open(b) : n.open(b, o);
2229
2229
  if (!w) throw new $.MissingAPI();
2230
- w.onerror = be(p), w.onblocked = q(e._fireOnBlocked), w.onupgradeneeded = q(function(m) {
2230
+ w.onerror = be(p), w.onblocked = q(e._fireOnBlocked), w.onupgradeneeded = q(function(y) {
2231
2231
  var _;
2232
2232
  v = w.transaction, t.autoSchema && !e._options.allowEmptyDB ? (w.onerror = pt, v.abort(), w.result.close(), (_ = n.deleteDatabase(b)).onsuccess = _.onerror = q(function() {
2233
2233
  p(new $.NoSuchDatabase("Database ".concat(b, " doesnt exist")));
2234
- })) : (v.onerror = be(p), m = m.oldVersion > Math.pow(2, 62) ? 0 : m.oldVersion, f = m < 1, e.idbdb = w.result, a && pi(e, v), hi(e, m / 10, v, p));
2234
+ })) : (v.onerror = be(p), y = y.oldVersion > Math.pow(2, 62) ? 0 : y.oldVersion, f = y < 1, e.idbdb = w.result, a && pi(e, v), hi(e, y / 10, v, p));
2235
2235
  }, p), w.onsuccess = q(function() {
2236
2236
  v = null;
2237
- var m, _, E, O, A, P = e.idbdb = w.result, T = _t(P.objectStoreNames);
2237
+ var y, _, E, O, A, P = e.idbdb = w.result, T = _t(P.objectStoreNames);
2238
2238
  if (0 < T.length) try {
2239
2239
  var I = P.transaction((O = T).length === 1 ? O[0] : O, "readonly");
2240
- if (t.autoSchema) _ = P, E = I, (m = e).verno = _.version / 10, E = m._dbSchema = $t(0, _, E), m._storeNames = _t(_.objectStoreNames, 0), Lt(m, [m._allTables], K(E), E);
2240
+ if (t.autoSchema) _ = P, E = I, (y = e).verno = _.version / 10, E = y._dbSchema = $t(0, _, E), y._storeNames = _t(_.objectStoreNames, 0), Lt(y, [y._allTables], K(E), E);
2241
2241
  else if (Ut(e, e._dbSchema, I), ((A = On($t(0, (A = e).idbdb, I), A._dbSchema)).add.length || A.change.some(function(C) {
2242
2242
  return C.add.length || C.change.length;
2243
2243
  })) && !a) return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."), P.close(), o = P.version + 1, a = !0, S(u());
@@ -2323,8 +2323,8 @@ var Tr = { exports: {} };
2323
2323
  return l(l({}, e), { table: function(t) {
2324
2324
  var n = e.table(t), i = n.schema, o = {}, a = [];
2325
2325
  function c(f, S, p) {
2326
- var b = mt(f), w = o[b] = o[b] || [], m = f == null ? 0 : typeof f == "string" ? 1 : f.length, _ = 0 < S, _ = l(l({}, p), { name: _ ? "".concat(b, "(virtual-from:").concat(p.name, ")") : p.name, lowLevelIndex: p, isVirtual: _, keyTail: S, keyLength: m, extractKey: _n(f), unique: !_ && p.unique });
2327
- return w.push(_), _.isPrimaryKey || a.push(_), 1 < m && c(m === 2 ? f[0] : f.slice(0, m - 1), S + 1, p), w.sort(function(E, O) {
2326
+ var b = mt(f), w = o[b] = o[b] || [], y = f == null ? 0 : typeof f == "string" ? 1 : f.length, _ = 0 < S, _ = l(l({}, p), { name: _ ? "".concat(b, "(virtual-from:").concat(p.name, ")") : p.name, lowLevelIndex: p, isVirtual: _, keyTail: S, keyLength: y, extractKey: _n(f), unique: !_ && p.unique });
2327
+ return w.push(_), _.isPrimaryKey || a.push(_), 1 < y && c(y === 2 ? f[0] : f.slice(0, y - 1), S + 1, p), w.sort(function(E, O) {
2328
2328
  return E.keyTail - O.keyTail;
2329
2329
  }), _;
2330
2330
  }
@@ -2346,9 +2346,9 @@ var Tr = { exports: {} };
2346
2346
  }, openCursor: function(f) {
2347
2347
  var S = f.query.index, p = S.keyTail, b = S.isVirtual, w = S.keyLength;
2348
2348
  return b ? n.openCursor(v(f)).then(function(_) {
2349
- return _ && m(_);
2349
+ return _ && y(_);
2350
2350
  }) : n.openCursor(f);
2351
- function m(_) {
2351
+ function y(_) {
2352
2352
  return Object.create(_, { continue: { value: function(E) {
2353
2353
  E != null ? _.continue(Yt(E, f.reverse ? e.MAX_KEY : e.MIN_KEY, p)) : f.unique ? _.continue(_.key.slice(0, w).concat(f.reverse ? e.MIN_KEY : e.MAX_KEY, p)) : _.continue();
2354
2354
  } }, continuePrimaryKey: { value: function(E, O) {
@@ -2402,9 +2402,9 @@ var Tr = { exports: {} };
2402
2402
  return a._promise("readwrite", function() {
2403
2403
  return function f(S, p, b) {
2404
2404
  return n.query({ trans: S, values: !1, query: { index: i, range: p }, limit: b }).then(function(w) {
2405
- var m = w.result;
2406
- return v({ type: "delete", keys: m, trans: S }).then(function(_) {
2407
- return 0 < _.numFailures ? Promise.reject(_.failures[0]) : m.length < b ? { failures: [], numFailures: 0, lastResult: void 0 } : f(S, l(l({}, p), { lower: m[m.length - 1], lowerOpen: !0 }), b);
2405
+ var y = w.result;
2406
+ return v({ type: "delete", keys: y, trans: S }).then(function(_) {
2407
+ return 0 < _.numFailures ? Promise.reject(_.failures[0]) : y.length < b ? { failures: [], numFailures: 0, lastResult: void 0 } : f(S, l(l({}, p), { lower: y[y.length - 1], lowerOpen: !0 }), b);
2408
2408
  });
2409
2409
  });
2410
2410
  }(o.trans, o.range, 1e4);
@@ -2412,18 +2412,18 @@ var Tr = { exports: {} };
2412
2412
  }
2413
2413
  return n.mutate(o);
2414
2414
  function v(f) {
2415
- var S, p, b, w = G.trans, m = f.keys || Nn(i, f);
2416
- if (!m) throw new Error("Keys missing");
2417
- return (f = f.type === "add" || f.type === "put" ? l(l({}, f), { keys: m }) : l({}, f)).type !== "delete" && (f.values = x([], f.values)), f.keys && (f.keys = x([], f.keys)), S = n, b = m, ((p = f).type === "add" ? Promise.resolve([]) : S.getMany({ trans: p.trans, keys: b, cache: "immutable" })).then(function(_) {
2418
- var E = m.map(function(O, A) {
2415
+ var S, p, b, w = G.trans, y = f.keys || Nn(i, f);
2416
+ if (!y) throw new Error("Keys missing");
2417
+ return (f = f.type === "add" || f.type === "put" ? l(l({}, f), { keys: y }) : l({}, f)).type !== "delete" && (f.values = x([], f.values)), f.keys && (f.keys = x([], f.keys)), S = n, b = y, ((p = f).type === "add" ? Promise.resolve([]) : S.getMany({ trans: p.trans, keys: b, cache: "immutable" })).then(function(_) {
2418
+ var E = y.map(function(O, A) {
2419
2419
  var P, T, I, C = _[A], j = { onerror: null, onsuccess: null };
2420
2420
  return f.type === "delete" ? u.fire.call(j, O, C, w) : f.type === "add" || C === void 0 ? (P = h.fire.call(j, O, f.values[A], w), O == null && P != null && (f.keys[A] = O = P, i.outbound || fe(f.values[A], i.keyPath, O))) : (P = jn(C, f.values[A]), (T = g.fire.call(j, P, O, C, w)) && (I = f.values[A], Object.keys(T).forEach(function(R) {
2421
2421
  ee(I, R) ? I[R] = T[R] : fe(I, R, T[R]);
2422
2422
  }))), j;
2423
2423
  });
2424
2424
  return n.mutate(f).then(function(O) {
2425
- for (var A = O.failures, P = O.results, T = O.numFailures, O = O.lastResult, I = 0; I < m.length; ++I) {
2426
- var C = (P || m)[I], j = E[I];
2425
+ for (var A = O.failures, P = O.results, T = O.numFailures, O = O.lastResult, I = 0; I < y.length; ++I) {
2426
+ var C = (P || y)[I], j = E[I];
2427
2427
  C == null ? j.onerror && j.onerror(A[I]) : j.onsuccess && j.onsuccess(f.type === "put" && _[I] ? f.values[I] : C);
2428
2428
  }
2429
2429
  return { failures: A, results: P, numFailures: T, lastResult: O };
@@ -2486,10 +2486,10 @@ var Tr = { exports: {} };
2486
2486
  function b(R) {
2487
2487
  return R = "idb://".concat(t, "/").concat(i, "/").concat(R), O[R] || (O[R] = new se());
2488
2488
  }
2489
- var w, m, _, E = p.trans, O = p.mutatedParts || (p.mutatedParts = {}), A = b(""), P = b(":dels"), T = p.type, j = p.type === "deleteRange" ? [p.range] : p.type === "delete" ? [p.keys] : p.values.length < 50 ? [Nn(c, p).filter(function(R) {
2489
+ var w, y, _, E = p.trans, O = p.mutatedParts || (p.mutatedParts = {}), A = b(""), P = b(":dels"), T = p.type, j = p.type === "deleteRange" ? [p.range] : p.type === "delete" ? [p.keys] : p.values.length < 50 ? [Nn(c, p).filter(function(R) {
2490
2490
  return R;
2491
2491
  }), p.values] : [], I = j[0], C = j[1], j = p.trans._cache;
2492
- return U(I) ? (A.addKeys(I), (j = T === "delete" || I.length === C.length ? Er(I, j) : null) || P.addKeys(I), (j || C) && (w = b, m = j, _ = C, a.indexes.forEach(function(R) {
2492
+ return U(I) ? (A.addKeys(I), (j = T === "delete" || I.length === C.length ? Er(I, j) : null) || P.addKeys(I), (j || C) && (w = b, y = j, _ = C, a.indexes.forEach(function(R) {
2493
2493
  var L = w(R.name || "");
2494
2494
  function W(H) {
2495
2495
  return H != null ? R.extractKey(H) : null;
@@ -2499,8 +2499,8 @@ var Tr = { exports: {} };
2499
2499
  return L.addKey(pe);
2500
2500
  }) : L.addKey(H);
2501
2501
  }
2502
- (m || _).forEach(function(H, ce) {
2503
- var F = m && W(m[ce]), ce = _ && W(_[ce]);
2502
+ (y || _).forEach(function(H, ce) {
2503
+ var F = y && W(y[ce]), ce = _ && W(_[ce]);
2504
2504
  Y(F, ce) !== 0 && (F != null && z(F), ce != null && z(ce));
2505
2505
  });
2506
2506
  }))) : I ? (C = { from: (C = I.lower) !== null && C !== void 0 ? C : e.MIN_KEY, to: (C = I.upper) !== null && C !== void 0 ? C : e.MAX_KEY }, P.add(C), A.add(C)) : (A.add(n), P.add(n), a.indexes.forEach(function(R) {
@@ -2525,12 +2525,12 @@ var Tr = { exports: {} };
2525
2525
  }, count: f, query: f, openCursor: f };
2526
2526
  return K(S).forEach(function(p) {
2527
2527
  v[p] = function(b) {
2528
- var w = G.subscr, m = !!w, _ = Or(G, o) && xr(p, b) ? b.obsSet = {} : w;
2529
- if (m) {
2528
+ var w = G.subscr, y = !!w, _ = Or(G, o) && xr(p, b) ? b.obsSet = {} : w;
2529
+ if (y) {
2530
2530
  var E = function(C) {
2531
2531
  return C = "idb://".concat(t, "/").concat(i, "/").concat(C), _[C] || (_[C] = new se());
2532
- }, O = E(""), A = E(":dels"), w = S[p](b), m = w[0], w = w[1];
2533
- if ((p === "query" && m.isPrimaryKey && !b.values ? A : E(m.name || "")).add(w), !m.isPrimaryKey) {
2532
+ }, O = E(""), A = E(":dels"), w = S[p](b), y = w[0], w = w[1];
2533
+ if ((p === "query" && y.isPrimaryKey && !b.values ? A : E(y.name || "")).add(w), !y.isPrimaryKey) {
2534
2534
  if (p !== "count") {
2535
2535
  var P = p === "query" && h && b.values && o.query(l(l({}, b), { values: !1 }));
2536
2536
  return o[p].apply(this, arguments).then(function(C) {
@@ -2579,20 +2579,20 @@ var Tr = { exports: {} };
2579
2579
  function kr(e, t, S, i, o, a) {
2580
2580
  if (!S || S.length === 0) return e;
2581
2581
  var c = t.query.index, u = c.multiEntry, h = t.query.range, g = i.schema.primaryKey.extractKey, v = c.extractKey, f = (c.lowLevelIndex || c).extractKey, S = S.reduce(function(p, b) {
2582
- var w = p, m = [];
2582
+ var w = p, y = [];
2583
2583
  if (b.type === "add" || b.type === "put") for (var _ = new se(), E = b.values.length - 1; 0 <= E; --E) {
2584
2584
  var O, A = b.values[E], P = g(A);
2585
2585
  _.hasKey(P) || (O = v(A), (u && U(O) ? O.some(function(R) {
2586
2586
  return Kn(R, h);
2587
- }) : Kn(O, h)) && (_.addKey(P), m.push(A)));
2587
+ }) : Kn(O, h)) && (_.addKey(P), y.push(A)));
2588
2588
  }
2589
2589
  switch (b.type) {
2590
2590
  case "add":
2591
2591
  var T = new se().addKeys(t.values ? p.map(function(L) {
2592
2592
  return g(L);
2593
- }) : p), w = p.concat(t.values ? m.filter(function(L) {
2593
+ }) : p), w = p.concat(t.values ? y.filter(function(L) {
2594
2594
  return L = g(L), !T.hasKey(L) && (T.addKey(L), !0);
2595
- }) : m.map(function(L) {
2595
+ }) : y.map(function(L) {
2596
2596
  return g(L);
2597
2597
  }).filter(function(L) {
2598
2598
  return !T.hasKey(L) && (T.addKey(L), !0);
@@ -2604,7 +2604,7 @@ var Tr = { exports: {} };
2604
2604
  }));
2605
2605
  w = p.filter(function(L) {
2606
2606
  return !I.hasKey(t.values ? g(L) : L);
2607
- }).concat(t.values ? m : m.map(function(L) {
2607
+ }).concat(t.values ? y : y.map(function(L) {
2608
2608
  return g(L);
2609
2609
  }));
2610
2610
  break;
@@ -2671,7 +2671,7 @@ var Tr = { exports: {} };
2671
2671
  var b = e.table(S), w = p.optimisticOps.filter(function(L) {
2672
2672
  return L.trans === u;
2673
2673
  });
2674
- if (u._explicit && h && u.mutatedParts) for (var m = 0, _ = Object.values(p.queries.query); m < _.length; m++) for (var E = 0, O = (T = _[m]).slice(); E < O.length; E++) In((I = O[E]).obsSet, u.mutatedParts) && (Me(T, I), I.subscribers.forEach(function(L) {
2674
+ if (u._explicit && h && u.mutatedParts) for (var y = 0, _ = Object.values(p.queries.query); y < _.length; y++) for (var E = 0, O = (T = _[y]).slice(); E < O.length; E++) In((I = O[E]).obsSet, u.mutatedParts) && (Me(T, I), I.subscribers.forEach(function(L) {
2675
2675
  return g.add(L);
2676
2676
  }));
2677
2677
  else if (0 < w.length) {
@@ -2715,13 +2715,13 @@ var Tr = { exports: {} };
2715
2715
  }), c) : i.mutate(a);
2716
2716
  }, query: function(a) {
2717
2717
  if (!Or(G, i) || !xr("query", a)) return i.query(a);
2718
- var c = ((g = G.trans) === null || g === void 0 ? void 0 : g.db._options.cache) === "immutable", f = G, u = f.requery, h = f.signal, g = function(b, w, m, _) {
2718
+ var c = ((g = G.trans) === null || g === void 0 ? void 0 : g.db._options.cache) === "immutable", f = G, u = f.requery, h = f.signal, g = function(b, w, y, _) {
2719
2719
  var E = Fe["idb://".concat(b, "/").concat(w)];
2720
2720
  if (!E) return [];
2721
- if (!(w = E.queries[m])) return [null, !1, E, null];
2721
+ if (!(w = E.queries[y])) return [null, !1, E, null];
2722
2722
  var O = w[(_.query ? _.query.index.name : null) || ""];
2723
2723
  if (!O) return [null, !1, E, null];
2724
- switch (m) {
2724
+ switch (y) {
2725
2725
  case "query":
2726
2726
  var A = O.find(function(P) {
2727
2727
  return P.req.limit === _.limit && P.req.values === _.values && Dr(P.req.query.range, _.query.range);
@@ -2738,7 +2738,7 @@ var Tr = { exports: {} };
2738
2738
  return v && f ? v.obsSet = a.obsSet : (f = i.query(a).then(function(b) {
2739
2739
  var w = b.result;
2740
2740
  if (v && (v.res = w), c) {
2741
- for (var m = 0, _ = w.length; m < _; ++m) Object.freeze(w[m]);
2741
+ for (var y = 0, _ = w.length; y < _; ++y) Object.freeze(w[y]);
2742
2742
  Object.freeze(w);
2743
2743
  } else b.result = Te(w);
2744
2744
  return b;
@@ -2878,10 +2878,10 @@ var Tr = { exports: {} };
2878
2878
  }
2879
2879
  var h = (function g(v, f, S, p, b) {
2880
2880
  return B.resolve().then(function() {
2881
- var w = G.transless || G, m = v._createTransaction(f, S, v._dbSchema, p);
2882
- if (m.explicit = !0, w = { trans: m, transless: w }, p) m.idbtrans = p.idbtrans;
2881
+ var w = G.transless || G, y = v._createTransaction(f, S, v._dbSchema, p);
2882
+ if (y.explicit = !0, w = { trans: y, transless: w }, p) y.idbtrans = p.idbtrans;
2883
2883
  else try {
2884
- m.create(), m.idbtrans._explicit = !0, v._state.PR1398_maxLoop = 3;
2884
+ y.create(), y.idbtrans._explicit = !0, v._state.PR1398_maxLoop = 3;
2885
2885
  } catch (O) {
2886
2886
  return O.name === rn.InvalidState && v.isOpen() && 0 < --v._state.PR1398_maxLoop ? (console.warn("Dexie: Need to reopen db"), v.close({ disableAutoOpen: !1 }), v.open().then(function() {
2887
2887
  return g(v, f, S, null, b);
@@ -2890,17 +2890,17 @@ var Tr = { exports: {} };
2890
2890
  var _, E = nn(b);
2891
2891
  return E && qe(), w = B.follow(function() {
2892
2892
  var O;
2893
- (_ = b.call(m, m)) && (E ? (O = De.bind(null, null), _.then(O, O)) : typeof _.next == "function" && typeof _.throw == "function" && (_ = Mn(_)));
2893
+ (_ = b.call(y, y)) && (E ? (O = De.bind(null, null), _.then(O, O)) : typeof _.next == "function" && typeof _.throw == "function" && (_ = Mn(_)));
2894
2894
  }, w), (_ && typeof _.then == "function" ? B.resolve(_).then(function(O) {
2895
- return m.active ? O : te(new $.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"));
2895
+ return y.active ? O : te(new $.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"));
2896
2896
  }) : w.then(function() {
2897
2897
  return _;
2898
2898
  })).then(function(O) {
2899
- return p && m._resolve(), m._completion.then(function() {
2899
+ return p && y._resolve(), y._completion.then(function() {
2900
2900
  return O;
2901
2901
  });
2902
2902
  }).catch(function(O) {
2903
- return m._reject(O), te(O);
2903
+ return y._reject(O), te(O);
2904
2904
  });
2905
2905
  });
2906
2906
  }).bind(null, this, a, c, o, n);
@@ -2925,32 +2925,32 @@ var Tr = { exports: {} };
2925
2925
  return function(S, p) {
2926
2926
  ne.vip(function() {
2927
2927
  var b, w = n._state;
2928
- w.openComplete ? (w.dbOpenError || B.resolve().then(S), p && f(S)) : w.onReadyBeingFired ? (w.onReadyBeingFired.push(S), p && f(S)) : (f(S), b = n, p || f(function m() {
2929
- b.on.ready.unsubscribe(S), b.on.ready.unsubscribe(m);
2928
+ w.openComplete ? (w.dbOpenError || B.resolve().then(S), p && f(S)) : w.onReadyBeingFired ? (w.onReadyBeingFired.push(S), p && f(S)) : (f(S), b = n, p || f(function y() {
2929
+ b.on.ready.unsubscribe(S), b.on.ready.unsubscribe(y);
2930
2930
  }));
2931
2931
  });
2932
2932
  };
2933
- }), this.Collection = (o = this, ft(oi.prototype, function(_, m) {
2933
+ }), this.Collection = (o = this, ft(oi.prototype, function(_, y) {
2934
2934
  this.db = o;
2935
2935
  var p = or, b = null;
2936
- if (m) try {
2937
- p = m();
2936
+ if (y) try {
2937
+ p = y();
2938
2938
  } catch (E) {
2939
2939
  b = E;
2940
2940
  }
2941
- var w = _._ctx, m = w.table, _ = m.hook.reading.fire;
2942
- this._ctx = { table: m, index: w.index, isPrimKey: !w.index || m.schema.primKey.keyPath && w.index === m.schema.primKey.name, range: p, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: b, or: w.or, valueMapper: _ !== at ? _ : null };
2941
+ var w = _._ctx, y = w.table, _ = y.hook.reading.fire;
2942
+ this._ctx = { table: y, index: w.index, isPrimKey: !w.index || y.schema.primKey.keyPath && w.index === y.schema.primKey.name, range: p, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: b, or: w.or, valueMapper: _ !== at ? _ : null };
2943
2943
  })), this.Table = (a = this, ft(ur.prototype, function(f, S, p) {
2944
2944
  this.db = a, this._tx = p, this.name = f, this.schema = S, this.hook = a._allTables[f] ? a._allTables[f].hook : dt(null, { creating: [Jr, J], reading: [Xr, at], updating: [Zr, J], deleting: [Vr, J] });
2945
2945
  })), this.Transaction = (c = this, ft(ci.prototype, function(f, S, p, b, w) {
2946
- var m = this;
2946
+ var y = this;
2947
2947
  this.db = c, this.mode = f, this.storeNames = S, this.schema = p, this.chromeTransactionDurability = b, this.idbtrans = null, this.on = dt(this, "complete", "error", "abort"), this.parent = w || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new B(function(_, E) {
2948
- m._resolve = _, m._reject = E;
2948
+ y._resolve = _, y._reject = E;
2949
2949
  }), this._completion.then(function() {
2950
- m.active = !1, m.on.complete.fire();
2950
+ y.active = !1, y.on.complete.fire();
2951
2951
  }, function(_) {
2952
- var E = m.active;
2953
- return m.active = !1, m.on.error.fire(_), m.parent ? m.parent._reject(_) : E && m.idbtrans && m.idbtrans.abort(), te(_);
2952
+ var E = y.active;
2953
+ return y.active = !1, y.on.error.fire(_), y.parent ? y.parent._reject(_) : E && y.idbtrans && y.idbtrans.abort(), te(_);
2954
2954
  });
2955
2955
  })), this.Version = (u = this, ft(gi.prototype, function(f) {
2956
2956
  this.db = u, this._cfg = { version: f, storesSource: null, dbschema: {}, tables: {}, contentUpgrade: null };
@@ -3017,7 +3017,7 @@ var Tr = { exports: {} };
3017
3017
  }, p = function(w) {
3018
3018
  zt(h, w), In(g, h) && S();
3019
3019
  }, b = function() {
3020
- var w, m, _;
3020
+ var w, y, _;
3021
3021
  !u && Xt.indexedDB && (h = {}, w = {}, c && c.abort(), c = new AbortController(), _ = function(E) {
3022
3022
  var O = Ve();
3023
3023
  try {
@@ -3027,8 +3027,8 @@ var Tr = { exports: {} };
3027
3027
  } finally {
3028
3028
  O && Ze();
3029
3029
  }
3030
- }(m = { subscr: w, signal: c.signal, requery: S, querier: e, trans: null }), Promise.resolve(_).then(function(E) {
3031
- n = !0, t = E, u || m.signal.aborted || (h = {}, function(O) {
3030
+ }(y = { subscr: w, signal: c.signal, requery: S, querier: e, trans: null }), Promise.resolve(_).then(function(E) {
3031
+ n = !0, t = E, u || y.signal.aborted || (h = {}, function(O) {
3032
3032
  for (var A in O) if (ee(O, A)) return;
3033
3033
  return 1;
3034
3034
  }(g = w) || f || (Ce(gt, p), f = !0), hn(function() {
@@ -3197,9 +3197,9 @@ class jr {
3197
3197
  const s = await this.db.table(N.CLOUD).where({ id: r.widget }).last().catch(() => {
3198
3198
  console.warn(
3199
3199
  "%capi%C %ccloud",
3200
- y.API,
3201
- y.NONE,
3202
- y.CLOUD,
3200
+ m.API,
3201
+ m.NONE,
3202
+ m.CLOUD,
3203
3203
  r.slide,
3204
3204
  r.widget
3205
3205
  );
@@ -3215,9 +3215,9 @@ class jr {
3215
3215
  const s = await this.db.table(N.SERIES).where({ id: r.widget }).last().catch(() => {
3216
3216
  console.warn(
3217
3217
  "%capi%c %cseries",
3218
- y.API,
3219
- y.NONE,
3220
- y.SERIES,
3218
+ m.API,
3219
+ m.NONE,
3220
+ m.SERIES,
3221
3221
  r.slide,
3222
3222
  r.widget
3223
3223
  );
@@ -3253,18 +3253,18 @@ class jr {
3253
3253
  };
3254
3254
  return console.debug(
3255
3255
  "%cstorage%c %cmessages",
3256
- y.STORAGE,
3257
- y.NONE,
3258
- y.MESSAGES,
3256
+ m.STORAGE,
3257
+ m.NONE,
3258
+ m.MESSAGES,
3259
3259
  ee
3260
3260
  ), ee;
3261
3261
  });
3262
3262
  } catch (K) {
3263
3263
  return console.warn(
3264
3264
  "%cstorage%c %cmessages",
3265
- y.STORAGE,
3266
- y.NONE,
3267
- y.MESSAGES,
3265
+ m.STORAGE,
3266
+ m.NONE,
3267
+ m.MESSAGES,
3268
3268
  r,
3269
3269
  K
3270
3270
  ), { data: null, message: "Messages Data error", success: !1 };
@@ -3281,7 +3281,7 @@ class jr {
3281
3281
  dashboard_id: r.dashboard,
3282
3282
  //data: data.data,
3283
3283
  data: s
3284
- }).then(() => 201).catch((l) => (console.error("%cstorage", y.STORAGE, "set", r, l.message), 400)) : 400);
3284
+ }).then(() => 201).catch((l) => (console.error("%cstorage", m.STORAGE, "set", r, l.message), 400)) : 400);
3285
3285
  /**
3286
3286
  * Update Series
3287
3287
  * @param query IQuery
@@ -3293,7 +3293,7 @@ class jr {
3293
3293
  dashboard_id: r.dashboard,
3294
3294
  //data: data.data,
3295
3295
  data: s
3296
- }).then(() => 201).catch((l) => (console.error("%cstorage", y.STORAGE, "set", r, l.message), 400)) : 400);
3296
+ }).then(() => 201).catch((l) => (console.error("%cstorage", m.STORAGE, "set", r, l.message), 400)) : 400);
3297
3297
  /**
3298
3298
  * Update Messages
3299
3299
  * @param query IQuery
@@ -3315,7 +3315,7 @@ class jr {
3315
3315
  }).catch((He) => {
3316
3316
  x++, console.error(
3317
3317
  "%cstorage",
3318
- y.STORAGE,
3318
+ m.STORAGE,
3319
3319
  "set message",
3320
3320
  `title: ${l}`,
3321
3321
  D,
@@ -3335,7 +3335,7 @@ class jr {
3335
3335
  }).catch((He) => {
3336
3336
  x++, console.error(
3337
3337
  "%cstorage",
3338
- y.STORAGE,
3338
+ m.STORAGE,
3339
3339
  "set topic",
3340
3340
  `title: ${l}`,
3341
3341
  D,
@@ -3347,7 +3347,7 @@ class jr {
3347
3347
  await this.db.table(N.TOPICS).where("message_id").equals(K).modify({ visible: U }).catch((X) => {
3348
3348
  x++, console.error(
3349
3349
  "%cstorage",
3350
- y.STORAGE,
3350
+ m.STORAGE,
3351
3351
  "update message visibility",
3352
3352
  `title: ${M}`,
3353
3353
  `widget: ${D.widget_id}`,
@@ -3363,24 +3363,24 @@ class jr {
3363
3363
  const r = Date.now() / 1e3, s = (D) => D.expires < r, l = (D) => D.expires < r;
3364
3364
  return await this.db.table(N.TOPICS).orderBy("expires").filter(s).delete().catch((D) => (console.error(
3365
3365
  "%cstorage%c %cclean",
3366
- y.STORAGE,
3367
- y.NONE,
3368
- y.MESSAGES,
3366
+ m.STORAGE,
3367
+ m.NONE,
3368
+ m.MESSAGES,
3369
3369
  D.message
3370
3370
  ), 0)), await this.db.table(N.MESSAGES).orderBy("expires").filter(l).delete().catch((D) => (console.error(
3371
3371
  "%cstorage%c %clean",
3372
- y.STORAGE,
3373
- y.NONE,
3374
- y.MESSAGES,
3372
+ m.STORAGE,
3373
+ m.NONE,
3374
+ m.MESSAGES,
3375
3375
  D.message
3376
3376
  ), 0));
3377
3377
  });
3378
3378
  k(this, "hideMessage", async (r, s) => {
3379
3379
  await this.db.table(N.TOPICS).where("message_id").equals(r).modify({ visible: s ? 1 : 0 }).catch((l) => (console.error(
3380
3380
  "%cstorage%c %chide",
3381
- y.STORAGE,
3382
- y.NONE,
3383
- y.HIDE,
3381
+ m.STORAGE,
3382
+ m.NONE,
3383
+ m.HIDE,
3384
3384
  l.message
3385
3385
  ), 0));
3386
3386
  });
@@ -3395,7 +3395,7 @@ class jr {
3395
3395
  type: r.type
3396
3396
  }).then(() => 201).catch((s) => (console.error(
3397
3397
  "%cstorage",
3398
- y.STORAGE,
3398
+ m.STORAGE,
3399
3399
  N.WIDGET,
3400
3400
  r,
3401
3401
  s.message
@@ -3409,16 +3409,16 @@ class jr {
3409
3409
  (l) => l.widget === r.widget
3410
3410
  ).length > 0 || (r.type === N.MESSAGES && (r = St(this.options, r)), console.info(
3411
3411
  "%cstorage%c %csubscribe",
3412
- y.STORAGE,
3413
- y.NONE,
3414
- y.SUBSCRIBE,
3412
+ m.STORAGE,
3413
+ m.NONE,
3414
+ m.SUBSCRIBE,
3415
3415
  r.slide,
3416
3416
  r.widget
3417
3417
  ), console.debug(
3418
3418
  "%cstorage%c %csubscribe",
3419
- y.STORAGE,
3420
- y.NONE,
3421
- y.SUBSCRIBE,
3419
+ m.STORAGE,
3420
+ m.NONE,
3421
+ m.SUBSCRIBE,
3422
3422
  r
3423
3423
  ), this.subscribers.push(r)), null));
3424
3424
  /**
@@ -3435,9 +3435,9 @@ class jr {
3435
3435
  const s = await this.db.table(N.SLIDE).where({ id: r.id }).last().catch(() => {
3436
3436
  console.warn(
3437
3437
  "%capi%c %cseries",
3438
- y.API,
3439
- y.NONE,
3440
- y.SERIES,
3438
+ m.API,
3439
+ m.NONE,
3440
+ m.SERIES,
3441
3441
  r.id
3442
3442
  );
3443
3443
  });
@@ -3456,7 +3456,7 @@ class jr {
3456
3456
  css: r.data.css || ""
3457
3457
  }).then(() => 200).catch((s) => (console.error(
3458
3458
  "%cstorage",
3459
- y.STORAGE,
3459
+ m.STORAGE,
3460
3460
  re.SLIDE_STORE,
3461
3461
  r,
3462
3462
  s.message
@@ -3503,15 +3503,15 @@ class Kr {
3503
3503
  k(this, "options");
3504
3504
  k(this, "getCloud", async (r) => {
3505
3505
  const s = V(r);
3506
- return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", y.API, N.CLOUD, r.slide, r.widget), { data: null, message: "Cloud Data error", success: !1 }));
3506
+ return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", m.API, N.CLOUD, r.slide, r.widget), { data: null, message: "Cloud Data error", success: !1 }));
3507
3507
  });
3508
3508
  k(this, "getSeries", async (r) => {
3509
3509
  const s = V(r);
3510
- return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", y.API, N.SERIES, r.slide, r.widget), { data: null, message: "Series Data error", success: !1 }));
3510
+ return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", m.API, N.SERIES, r.slide, r.widget), { data: null, message: "Series Data error", success: !1 }));
3511
3511
  });
3512
3512
  k(this, "getMessages", async (r) => {
3513
3513
  const s = V(r);
3514
- return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", y.API, N.MESSAGES, r.slide, r.widget), { data: null, message: "Messages Data error", success: !1 }));
3514
+ return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", m.API, N.MESSAGES, r.slide, r.widget), { data: null, message: "Messages Data error", success: !1 }));
3515
3515
  });
3516
3516
  /**
3517
3517
  * Update Cloud
@@ -3523,7 +3523,7 @@ class Kr {
3523
3523
  if (!s.success)
3524
3524
  return 400;
3525
3525
  const l = V(r);
3526
- return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", y.STORAGE, N.CLOUD, r, x.message), 400));
3526
+ return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", m.STORAGE, N.CLOUD, r, x.message), 400));
3527
3527
  });
3528
3528
  /**
3529
3529
  * Update Series
@@ -3535,7 +3535,7 @@ class Kr {
3535
3535
  if (!s.success)
3536
3536
  return 400;
3537
3537
  const l = V(r);
3538
- return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", y.STORAGE, N.SERIES, r, x.message), 400));
3538
+ return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", m.STORAGE, N.SERIES, r, x.message), 400));
3539
3539
  });
3540
3540
  /**
3541
3541
  * Update Messages
@@ -3547,7 +3547,7 @@ class Kr {
3547
3547
  if (!s.success)
3548
3548
  return 400;
3549
3549
  const l = V(r);
3550
- return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", y.STORAGE, N.MESSAGES, r, x.message), 400));
3550
+ return delete s.success, delete s.message, await wt(l, s).then(() => 201).catch((x) => (console.error("%cstorage", m.STORAGE, N.MESSAGES, r, x.message), 400));
3551
3551
  });
3552
3552
  k(this, "cleanMessages", async (r) => (console.log("cleanMessages not implemented for ", this.options.storage), await new Promise((s) => s(0))));
3553
3553
  k(this, "hideMessage", async (r, s) => {
@@ -3566,7 +3566,7 @@ class Kr {
3566
3566
  dashboard_id: r.dashboard,
3567
3567
  type: r.type
3568
3568
  };
3569
- return await wt(s, l).then(() => 201).catch((x) => (console.error("%cstorage", y.STORAGE, N.WIDGET, r, x.message), 400));
3569
+ return await wt(s, l).then(() => 201).catch((x) => (console.error("%cstorage", m.STORAGE, N.WIDGET, r, x.message), 400));
3570
3570
  });
3571
3571
  /**
3572
3572
  * Add component subscriber
@@ -3577,9 +3577,9 @@ class Kr {
3577
3577
  (l) => l.widget === r.widget
3578
3578
  ).length > 0 || (console.debug(
3579
3579
  "%cstorage%c %csubscribe",
3580
- y.STORAGE,
3581
- y.NONE,
3582
- y.SUBSCRIBE,
3580
+ m.STORAGE,
3581
+ m.NONE,
3582
+ m.SUBSCRIBE,
3583
3583
  r.slide,
3584
3584
  r.widget
3585
3585
  ), this.subscribers.push(r)), null));
@@ -3590,7 +3590,7 @@ class Kr {
3590
3590
  k(this, "getSubscribers", async () => await new Promise((r) => r(this.subscribers)));
3591
3591
  k(this, "loadSlide", async (r) => {
3592
3592
  const s = V(r);
3593
- return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", y.API, N.SLIDE, r.slide), { data: null, message: "Slide Load error", success: !1 }));
3593
+ return await Vt(s).then((l) => l).catch(() => (console.warn("%capi", m.API, N.SLIDE, r.slide), { data: null, message: "Slide Load error", success: !1 }));
3594
3594
  });
3595
3595
  /**
3596
3596
  * Update Slide
@@ -3605,7 +3605,7 @@ class Kr {
3605
3605
  html: r.data.html || "",
3606
3606
  css: r.data.css || ""
3607
3607
  };
3608
- return await wt(s, l).then(() => 201).catch((x) => (console.error("%cstorage", y.STORAGE, N.SLIDE, r, x.message), 400));
3608
+ return await wt(s, l).then(() => 201).catch((x) => (console.error("%cstorage", m.STORAGE, N.SLIDE, r, x.message), 400));
3609
3609
  });
3610
3610
  this.options = r;
3611
3611
  }
@@ -3619,7 +3619,7 @@ class Br {
3619
3619
  try {
3620
3620
  return localStorage.getObject(s);
3621
3621
  } catch (l) {
3622
- return console.warn("%capi", y.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3622
+ return console.warn("%capi", m.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3623
3623
  }
3624
3624
  });
3625
3625
  k(this, "getSeries", async (r) => {
@@ -3627,7 +3627,7 @@ class Br {
3627
3627
  try {
3628
3628
  return localStorage.getObject(s);
3629
3629
  } catch (l) {
3630
- return console.warn("%capi", y.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3630
+ return console.warn("%capi", m.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3631
3631
  }
3632
3632
  });
3633
3633
  k(this, "getMessages", async (r) => {
@@ -3635,7 +3635,7 @@ class Br {
3635
3635
  try {
3636
3636
  return localStorage.getObject(s);
3637
3637
  } catch (l) {
3638
- return console.warn("%capi", y.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3638
+ return console.warn("%capi", m.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3639
3639
  }
3640
3640
  });
3641
3641
  /**
@@ -3649,7 +3649,7 @@ class Br {
3649
3649
  try {
3650
3650
  return localStorage.setObject(l, s), 201;
3651
3651
  } catch (x) {
3652
- return console.error("%cstorage", y.STORAGE, N.CLOUD, r, x), 400;
3652
+ return console.error("%cstorage", m.STORAGE, N.CLOUD, r, x), 400;
3653
3653
  }
3654
3654
  });
3655
3655
  /**
@@ -3663,7 +3663,7 @@ class Br {
3663
3663
  try {
3664
3664
  return localStorage.setObject(l, s), 201;
3665
3665
  } catch (x) {
3666
- return console.error("%cstorage", y.STORAGE, N.SERIES, r, x), 400;
3666
+ return console.error("%cstorage", m.STORAGE, N.SERIES, r, x), 400;
3667
3667
  }
3668
3668
  });
3669
3669
  /**
@@ -3677,7 +3677,7 @@ class Br {
3677
3677
  try {
3678
3678
  return localStorage.setObject(l, s), 200;
3679
3679
  } catch (x) {
3680
- return console.error("%cstorage", y.STORAGE, N.MESSAGES, r, x), 400;
3680
+ return console.error("%cstorage", m.STORAGE, N.MESSAGES, r, x), 400;
3681
3681
  }
3682
3682
  });
3683
3683
  k(this, "cleanMessages", async (r) => (console.log("cleanMessages not implemented for ", this.options.storage), await new Promise((s) => s(0))));
@@ -3689,7 +3689,7 @@ class Br {
3689
3689
  try {
3690
3690
  return localStorage.setObject(s, r), 201;
3691
3691
  } catch (l) {
3692
- return console.error("%cstorage", y.STORAGE, N.WIDGET, r, l), 400;
3692
+ return console.error("%cstorage", m.STORAGE, N.WIDGET, r, l), 400;
3693
3693
  }
3694
3694
  });
3695
3695
  /**
@@ -3701,9 +3701,9 @@ class Br {
3701
3701
  (l) => l.widget === r.widget
3702
3702
  ).length || (console.debug(
3703
3703
  "%cstorage%c %csubscribe",
3704
- y.STORAGE,
3705
- y.NONE,
3706
- y.SUBSCRIBE,
3704
+ m.STORAGE,
3705
+ m.NONE,
3706
+ m.SUBSCRIBE,
3707
3707
  r.slide,
3708
3708
  r.widget
3709
3709
  ), this.subscribers.push(r)), null));
@@ -3716,7 +3716,7 @@ class Br {
3716
3716
  try {
3717
3717
  return localStorage.getObject(`${r.type}.${r.id}`);
3718
3718
  } catch (s) {
3719
- return console.warn("%capi", y.API, N.SLIDE, r.id, s), { data: null, message: "Slide Load error", success: !1 };
3719
+ return console.warn("%capi", m.API, N.SLIDE, r.id, s), { data: null, message: "Slide Load error", success: !1 };
3720
3720
  }
3721
3721
  });
3722
3722
  k(this, "storeSlide", async (r) => {
@@ -3729,7 +3729,7 @@ class Br {
3729
3729
  css: r.data.css || ""
3730
3730
  }), 201;
3731
3731
  } catch (s) {
3732
- return console.error("%cstorage", y.STORAGE, N.SLIDE, r, s), 400;
3732
+ return console.error("%cstorage", m.STORAGE, N.SLIDE, r, s), 400;
3733
3733
  }
3734
3734
  });
3735
3735
  this.options = r, Storage.prototype.setObject = function(s, l) {
@@ -3749,7 +3749,7 @@ class Lr {
3749
3749
  try {
3750
3750
  return sessionStorage.getObject(s);
3751
3751
  } catch (l) {
3752
- return console.warn("%capi", y.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3752
+ return console.warn("%capi", m.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3753
3753
  }
3754
3754
  });
3755
3755
  k(this, "getSeries", async (r) => {
@@ -3757,7 +3757,7 @@ class Lr {
3757
3757
  try {
3758
3758
  return sessionStorage.getObject(s);
3759
3759
  } catch (l) {
3760
- return console.warn("%capi", y.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3760
+ return console.warn("%capi", m.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3761
3761
  }
3762
3762
  });
3763
3763
  k(this, "getMessages", async (r) => {
@@ -3765,7 +3765,7 @@ class Lr {
3765
3765
  try {
3766
3766
  return sessionStorage.getObject(s);
3767
3767
  } catch (l) {
3768
- return console.warn("%capi", y.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3768
+ return console.warn("%capi", m.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3769
3769
  }
3770
3770
  });
3771
3771
  /**
@@ -3779,7 +3779,7 @@ class Lr {
3779
3779
  try {
3780
3780
  return sessionStorage.setObject(l, s), 201;
3781
3781
  } catch (x) {
3782
- return console.error("%cstorage", y.STORAGE, N.CLOUD, r, x), 400;
3782
+ return console.error("%cstorage", m.STORAGE, N.CLOUD, r, x), 400;
3783
3783
  }
3784
3784
  });
3785
3785
  /**
@@ -3793,7 +3793,7 @@ class Lr {
3793
3793
  try {
3794
3794
  return sessionStorage.setObject(l, s), 201;
3795
3795
  } catch (x) {
3796
- return console.error("%cstorage", y.STORAGE, N.SERIES, r, x), 400;
3796
+ return console.error("%cstorage", m.STORAGE, N.SERIES, r, x), 400;
3797
3797
  }
3798
3798
  });
3799
3799
  /**
@@ -3807,7 +3807,7 @@ class Lr {
3807
3807
  try {
3808
3808
  return sessionStorage.setObject(l, s), 200;
3809
3809
  } catch (x) {
3810
- return console.error("%cstorage", y.STORAGE, N.MESSAGES, r, x), 400;
3810
+ return console.error("%cstorage", m.STORAGE, N.MESSAGES, r, x), 400;
3811
3811
  }
3812
3812
  });
3813
3813
  k(this, "cleanMessages", async (r) => (console.log("cleanMessages not implemented for ", this.options.storage), await new Promise((s) => s(0))));
@@ -3819,7 +3819,7 @@ class Lr {
3819
3819
  try {
3820
3820
  return sessionStorage.setObject(s, r), 201;
3821
3821
  } catch (l) {
3822
- return console.error("%cstorage", y.STORAGE, N.WIDGET, r, l), 400;
3822
+ return console.error("%cstorage", m.STORAGE, N.WIDGET, r, l), 400;
3823
3823
  }
3824
3824
  });
3825
3825
  /**
@@ -3831,9 +3831,9 @@ class Lr {
3831
3831
  (l) => l.widget === r.widget
3832
3832
  ).length || (console.debug(
3833
3833
  "%cstorage%c %csubscribe",
3834
- y.STORAGE,
3835
- y.NONE,
3836
- y.SUBSCRIBE,
3834
+ m.STORAGE,
3835
+ m.NONE,
3836
+ m.SUBSCRIBE,
3837
3837
  r.slide,
3838
3838
  r.widget
3839
3839
  ), this.subscribers.push(r)), null));
@@ -3846,7 +3846,7 @@ class Lr {
3846
3846
  try {
3847
3847
  return sessionStorage.getObject(`${r.type}.${r.id}`);
3848
3848
  } catch (s) {
3849
- return console.warn("%capi", y.API, N.SLIDE, r.id, s), { data: null, message: "Store Load error", success: !1 };
3849
+ return console.warn("%capi", m.API, N.SLIDE, r.id, s), { data: null, message: "Store Load error", success: !1 };
3850
3850
  }
3851
3851
  });
3852
3852
  /**
@@ -3864,7 +3864,7 @@ class Lr {
3864
3864
  css: r.data.css || ""
3865
3865
  }), 200;
3866
3866
  } catch (s) {
3867
- return console.error("%cstorage", y.STORAGE, N.SLIDE, r, s), 400;
3867
+ return console.error("%cstorage", m.STORAGE, N.SLIDE, r, s), 400;
3868
3868
  }
3869
3869
  });
3870
3870
  this.options = r, Storage.prototype.setObject = function(s, l) {
@@ -3884,7 +3884,7 @@ class Gr {
3884
3884
  try {
3885
3885
  return window.BuzzCasting.WidgetData[s];
3886
3886
  } catch (l) {
3887
- return console.warn("%capi", y.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Cloud Data error", success: !1 };
3887
+ return console.warn("%capi", m.API, N.CLOUD, r.slide, r.widget, l), { data: null, message: "Cloud Data error", success: !1 };
3888
3888
  }
3889
3889
  });
3890
3890
  k(this, "getSeries", async (r) => {
@@ -3892,7 +3892,7 @@ class Gr {
3892
3892
  try {
3893
3893
  return window.BuzzCasting.WidgetData[s];
3894
3894
  } catch (l) {
3895
- return console.warn("%capi", y.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Series Data error", success: !1 };
3895
+ return console.warn("%capi", m.API, N.SERIES, r.slide, r.widget, l), { data: null, message: "Series Data error", success: !1 };
3896
3896
  }
3897
3897
  });
3898
3898
  k(this, "getMessages", async (r) => {
@@ -3900,7 +3900,7 @@ class Gr {
3900
3900
  try {
3901
3901
  return window.BuzzCasting.WidgetData[s];
3902
3902
  } catch (l) {
3903
- return console.warn("%capi", y.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3903
+ return console.warn("%capi", m.API, N.MESSAGES, r.slide, r.widget, l), { data: null, message: "Messages Data error", success: !1 };
3904
3904
  }
3905
3905
  });
3906
3906
  /**
@@ -3914,7 +3914,7 @@ class Gr {
3914
3914
  try {
3915
3915
  return window.BuzzCasting.WidgetData[l] = s, 201;
3916
3916
  } catch (x) {
3917
- return console.error("%cstorage", y.STORAGE, "set", r, x), 400;
3917
+ return console.error("%cstorage", m.STORAGE, "set", r, x), 400;
3918
3918
  }
3919
3919
  });
3920
3920
  /**
@@ -3928,7 +3928,7 @@ class Gr {
3928
3928
  try {
3929
3929
  return window.BuzzCasting.WidgetData[l] = s, 201;
3930
3930
  } catch (x) {
3931
- return console.error("%cstorage", y.STORAGE, "set", r, x), 400;
3931
+ return console.error("%cstorage", m.STORAGE, "set", r, x), 400;
3932
3932
  }
3933
3933
  });
3934
3934
  /**
@@ -3942,7 +3942,7 @@ class Gr {
3942
3942
  try {
3943
3943
  return window.BuzzCasting.WidgetData[l] = s, 201;
3944
3944
  } catch (x) {
3945
- return console.error("%cstorage", y.STORAGE, "set", r, x), 400;
3945
+ return console.error("%cstorage", m.STORAGE, "set", r, x), 400;
3946
3946
  }
3947
3947
  });
3948
3948
  k(this, "cleanMessages", async (r) => (console.log("cleanMessages not implemented for ", this.options.storage), await new Promise((s) => s(0))));
@@ -3954,7 +3954,7 @@ class Gr {
3954
3954
  try {
3955
3955
  return window.BuzzCasting.WidgetData[s] = r, 201;
3956
3956
  } catch (l) {
3957
- return console.error("%cstorage", y.STORAGE, N.WIDGET, r, l), 400;
3957
+ return console.error("%cstorage", m.STORAGE, N.WIDGET, r, l), 400;
3958
3958
  }
3959
3959
  });
3960
3960
  /**
@@ -3966,9 +3966,9 @@ class Gr {
3966
3966
  (l) => l.widget === r.widget
3967
3967
  ).length || (console.debug(
3968
3968
  "%cstorage%c %csubscribe",
3969
- y.STORAGE,
3970
- y.NONE,
3971
- y.SUBSCRIBE,
3969
+ m.STORAGE,
3970
+ m.NONE,
3971
+ m.SUBSCRIBE,
3972
3972
  r.slide,
3973
3973
  r.widget
3974
3974
  ), this.subscribers.push(r)), null));
@@ -3981,7 +3981,7 @@ class Gr {
3981
3981
  try {
3982
3982
  return window.BuzzCasting.SlideData[r.id];
3983
3983
  } catch (s) {
3984
- return console.warn("%capi", y.API, N.SLIDE, r.id, s), { data: null, message: "Slide Load error", success: !1 };
3984
+ return console.warn("%capi", m.API, N.SLIDE, r.id, s), { data: null, message: "Slide Load error", success: !1 };
3985
3985
  }
3986
3986
  });
3987
3987
  k(this, "storeSlide", async (r) => {
@@ -3994,7 +3994,7 @@ class Gr {
3994
3994
  css: r.data.css || ""
3995
3995
  }, 201;
3996
3996
  } catch (s) {
3997
- return console.error("%cstorage", y.STORAGE, N.SLIDE, r, s), 400;
3997
+ return console.error("%cstorage", m.STORAGE, N.SLIDE, r, s), 400;
3998
3998
  }
3999
3999
  });
4000
4000
  this.options = r, window.BuzzCasting.WidgetData = /* @__PURE__ */ new Set();
@@ -4270,17 +4270,17 @@ class ro {
4270
4270
  ), M.data.messages = ee, ae = Un(M.data.messages), X.hash === ae)
4271
4271
  return console.info(
4272
4272
  "%capi%c %cno updates",
4273
- y.API,
4274
- y.NONE,
4275
- y.NO_UPDATES,
4273
+ m.API,
4274
+ m.NONE,
4275
+ m.NO_UPDATES,
4276
4276
  N.MESSAGES,
4277
4277
  M.query.slide,
4278
4278
  M.query.widget
4279
4279
  ), console.debug(
4280
4280
  "%capi%c %cno updates",
4281
- y.API,
4282
- y.NONE,
4283
- y.NO_UPDATES,
4281
+ m.API,
4282
+ m.NONE,
4283
+ m.NO_UPDATES,
4284
4284
  N.MESSAGES,
4285
4285
  M
4286
4286
  ), 204;
@@ -4289,17 +4289,17 @@ class ro {
4289
4289
  case N.CLOUD:
4290
4290
  ae = Un(M.data), X.hash === ae ? (console.info(
4291
4291
  "%capi%c %cno updates",
4292
- y.API,
4293
- y.NONE,
4294
- y.NO_UPDATES,
4292
+ m.API,
4293
+ m.NONE,
4294
+ m.NO_UPDATES,
4295
4295
  N.CLOUD,
4296
4296
  M.query.slide,
4297
4297
  M.query.widget
4298
4298
  ), console.debug(
4299
4299
  "%capi%c %cno updates",
4300
- y.API,
4301
- y.NONE,
4302
- y.NO_UPDATES,
4300
+ m.API,
4301
+ m.NONE,
4302
+ m.NO_UPDATES,
4303
4303
  N.CLOUD,
4304
4304
  M
4305
4305
  ), U = 204) : (X.hash = ae, K = {
@@ -4317,17 +4317,17 @@ class ro {
4317
4317
  case N.SERIES:
4318
4318
  ae = Un(M.data), X.hash === ae ? (console.info(
4319
4319
  "%capi%c %cno updates",
4320
- y.API,
4321
- y.NONE,
4322
- y.NO_UPDATES,
4320
+ m.API,
4321
+ m.NONE,
4322
+ m.NO_UPDATES,
4323
4323
  N.SERIES,
4324
4324
  M.query.slide,
4325
4325
  M.query.widget
4326
4326
  ), console.debug(
4327
4327
  "%capi%c %cno updates",
4328
- y.API,
4329
- y.NONE,
4330
- y.NO_UPDATES,
4328
+ m.API,
4329
+ m.NONE,
4330
+ m.NO_UPDATES,
4331
4331
  N.SERIES,
4332
4332
  M
4333
4333
  ), U = 204) : (X.hash = ae, K = {
@@ -4345,9 +4345,9 @@ class ro {
4345
4345
  default:
4346
4346
  console.warn(
4347
4347
  "%capi%c %cstorage",
4348
- y.API,
4349
- y.NONE,
4350
- y.STORAGE,
4348
+ m.API,
4349
+ m.NONE,
4350
+ m.STORAGE,
4351
4351
  "error",
4352
4352
  `data type ${M.query.type} unknown`
4353
4353
  );
@@ -4358,16 +4358,16 @@ class ro {
4358
4358
  case 201:
4359
4359
  console.info(
4360
4360
  "%capp%c %cbroadcast",
4361
- y.API,
4362
- y.NONE,
4363
- y.BROADCAST,
4361
+ m.API,
4362
+ m.NONE,
4363
+ m.BROADCAST,
4364
4364
  M.query.slide,
4365
4365
  M.data.title ?? M.query.widget
4366
4366
  ), console.debug(
4367
4367
  "%capp%c %cbroadcast",
4368
- y.API,
4369
- y.NONE,
4370
- y.BROADCAST,
4368
+ m.API,
4369
+ m.NONE,
4370
+ m.BROADCAST,
4371
4371
  M
4372
4372
  );
4373
4373
  const X = structuredClone(K.query);
@@ -4384,9 +4384,9 @@ class ro {
4384
4384
  default:
4385
4385
  console.warn(
4386
4386
  "%capp%c %cbroadcast",
4387
- y.API,
4388
- y.NONE,
4389
- y.BROADCAST,
4387
+ m.API,
4388
+ m.NONE,
4389
+ m.BROADCAST,
4390
4390
  "Unhandled data type",
4391
4391
  M.query
4392
4392
  );
@@ -4399,9 +4399,9 @@ class ro {
4399
4399
  default:
4400
4400
  console.warn(
4401
4401
  "%capp%c %cbroadcast",
4402
- y.API,
4403
- y.NONE,
4404
- y.BROADCAST,
4402
+ m.API,
4403
+ m.NONE,
4404
+ m.BROADCAST,
4405
4405
  "Fetch error",
4406
4406
  M.query.slide,
4407
4407
  M.data.title ?? M.query.widget
@@ -4412,9 +4412,9 @@ class ro {
4412
4412
  } else
4413
4413
  return console.warn(
4414
4414
  "%capi%c %cstorage",
4415
- y.API,
4416
- y.NONE,
4417
- y.STORAGE,
4415
+ m.API,
4416
+ m.NONE,
4417
+ m.STORAGE,
4418
4418
  re.ERROR,
4419
4419
  D.status
4420
4420
  ), 400;
@@ -4431,18 +4431,11 @@ class ro {
4431
4431
  (s = this.sm) == null || s.subscribe(r.data.data);
4432
4432
  break;
4433
4433
  case re.UPDATE:
4434
- console.info(
4434
+ console.debug(
4435
4435
  "%capi%c %cstorage",
4436
- y.API,
4437
- y.NONE,
4438
- y.STORAGE,
4439
- re.UPDATE,
4440
- r.data.data.slide
4441
- ), console.debug(
4442
- "%capi%c %cstorage",
4443
- y.API,
4444
- y.NONE,
4445
- y.STORAGE,
4436
+ m.API,
4437
+ m.NONE,
4438
+ m.STORAGE,
4446
4439
  re.UPDATE,
4447
4440
  r.data
4448
4441
  ), await this.update();
@@ -4454,9 +4447,9 @@ class ro {
4454
4447
  if ((l = this.options) != null && l.suspended) {
4455
4448
  console.info(
4456
4449
  "%cstorage%c %cstorage",
4457
- y.STORAGE,
4458
- y.NONE,
4459
- y.MESSAGES,
4450
+ m.STORAGE,
4451
+ m.NONE,
4452
+ m.MESSAGES,
4460
4453
  "Account suspended"
4461
4454
  );
4462
4455
  return;
@@ -4466,9 +4459,9 @@ class ro {
4466
4459
  ));
4467
4460
  console.info(
4468
4461
  "%cstorage%c %cstorage",
4469
- y.STORAGE,
4470
- y.NONE,
4471
- y.MESSAGES,
4462
+ m.STORAGE,
4463
+ m.NONE,
4464
+ m.MESSAGES,
4472
4465
  `${s} messages deleted`
4473
4466
  );
4474
4467
  });
@@ -4477,9 +4470,9 @@ class ro {
4477
4470
  const s = await ((l = this.sm) == null ? void 0 : l.hideMessage(r.id, 0));
4478
4471
  return console.info(
4479
4472
  "%cstorage%c %cstorage",
4480
- y.STORAGE,
4481
- y.NONE,
4482
- y.HIDE,
4473
+ m.STORAGE,
4474
+ m.NONE,
4475
+ m.HIDE,
4483
4476
  `${s} messages hidden`
4484
4477
  ), await this.api.hideMessage(r);
4485
4478
  });
@@ -4497,9 +4490,9 @@ class ro {
4497
4490
  });
4498
4491
  console.info(
4499
4492
  "%cstorage%c %cslide",
4500
- y.STORAGE,
4501
- y.NONE,
4502
- y.SLIDE,
4493
+ m.STORAGE,
4494
+ m.NONE,
4495
+ m.SLIDE,
4503
4496
  r.slide,
4504
4497
  re.VERSION,
4505
4498
  ki
@@ -4507,9 +4500,9 @@ class ro {
4507
4500
  const s = (r == null ? void 0 : r.slide) || r.app;
4508
4501
  switch (this.bc = new BroadcastChannel(s), console.info(
4509
4502
  "%capi%c %cbroadcast",
4510
- y.API,
4511
- y.NONE,
4512
- y.BROADCAST,
4503
+ m.API,
4504
+ m.NONE,
4505
+ m.BROADCAST,
4513
4506
  re.CHANNEL,
4514
4507
  s
4515
4508
  ), this.bc.onmessage = (l) => {
@@ -4545,9 +4538,9 @@ class Bi {
4545
4538
  var s;
4546
4539
  return r.type !== N.CLOUD ? (console.warn(
4547
4540
  "%capp%c %get",
4548
- y.APP,
4549
- y.NONE,
4550
- y.GET_DATA,
4541
+ m.APP,
4542
+ m.NONE,
4543
+ m.GET_DATA,
4551
4544
  r.widget,
4552
4545
  "wrong method call for getMessages, type used is",
4553
4546
  r.type
@@ -4566,9 +4559,9 @@ class Bi {
4566
4559
  var s;
4567
4560
  return r.type !== N.MESSAGES ? (console.warn(
4568
4561
  "%capp%c %get",
4569
- y.APP,
4570
- y.NONE,
4571
- y.GET_DATA,
4562
+ m.APP,
4563
+ m.NONE,
4564
+ m.GET_DATA,
4572
4565
  r.widget,
4573
4566
  "wrong method call for getMessages, type used is",
4574
4567
  r.type
@@ -4587,9 +4580,9 @@ class Bi {
4587
4580
  var s;
4588
4581
  return r.type !== N.SERIES ? (console.warn(
4589
4582
  "%capp%c %get",
4590
- y.APP,
4591
- y.NONE,
4592
- y.GET_DATA,
4583
+ m.APP,
4584
+ m.NONE,
4585
+ m.GET_DATA,
4593
4586
  r.widget,
4594
4587
  "wrong method call for getMessages, type used is",
4595
4588
  r.type
@@ -4659,9 +4652,9 @@ class io {
4659
4652
  */
4660
4653
  k(this, "getCloud", async () => this.query.type !== N.CLOUD ? (console.warn(
4661
4654
  "%cstorage%c %cwidget",
4662
- y.STORAGE,
4663
- y.NONE,
4664
- y.WIDGET,
4655
+ m.STORAGE,
4656
+ m.NONE,
4657
+ m.WIDGET,
4665
4658
  this.query.widget,
4666
4659
  "Wrong method call for getCloud, expected type is",
4667
4660
  this.query.type
@@ -4677,9 +4670,9 @@ class io {
4677
4670
  */
4678
4671
  k(this, "getMessages", async () => this.query.type !== N.MESSAGES ? (console.warn(
4679
4672
  "%cstorage%c %cwidget",
4680
- y.STORAGE,
4681
- y.NONE,
4682
- y.WIDGET,
4673
+ m.STORAGE,
4674
+ m.NONE,
4675
+ m.WIDGET,
4683
4676
  this.query.widget,
4684
4677
  "Wrong method call for getMessages, expected type is",
4685
4678
  this.query.type
@@ -4689,9 +4682,9 @@ class io {
4689
4682
  success: !1
4690
4683
  }) : (console.debug(
4691
4684
  "%cstorage%c %cwidget",
4692
- y.API,
4693
- y.NONE,
4694
- y.MESSAGES,
4685
+ m.API,
4686
+ m.NONE,
4687
+ m.MESSAGES,
4695
4688
  this.query
4696
4689
  ), await this.storageReader.getMessages(this.query)));
4697
4690
  /**
@@ -4701,9 +4694,9 @@ class io {
4701
4694
  */
4702
4695
  k(this, "getSeries", async () => this.query.type !== N.SERIES ? (console.warn(
4703
4696
  "%cstorage%c %cwidget",
4704
- y.STORAGE,
4705
- y.NONE,
4706
- y.WIDGET,
4697
+ m.STORAGE,
4698
+ m.NONE,
4699
+ m.WIDGET,
4707
4700
  this.query.widget,
4708
4701
  "Wrong method call for getSeries, expected type is",
4709
4702
  this.query.type
@@ -4721,7 +4714,7 @@ class io {
4721
4714
  k(this, "showModal", (r) => {
4722
4715
  console.debug(
4723
4716
  "%cwidget",
4724
- y.WIDGET,
4717
+ m.WIDGET,
4725
4718
  re.SHOW_MODAL,
4726
4719
  r.showComponent,
4727
4720
  // @ts-ignore
@@ -4777,16 +4770,16 @@ class io {
4777
4770
  subscribe() {
4778
4771
  console.info(
4779
4772
  "%cwidget%c %csubscribe",
4780
- y.WIDGET,
4781
- y.NONE,
4782
- y.SUBSCRIBE,
4773
+ m.WIDGET,
4774
+ m.NONE,
4775
+ m.SUBSCRIBE,
4783
4776
  this.query.slide,
4784
4777
  this.query.widget
4785
4778
  ), console.debug(
4786
4779
  "%cwidget%c %csubscribe",
4787
- y.WIDGET,
4788
- y.NONE,
4789
- y.SUBSCRIBE,
4780
+ m.WIDGET,
4781
+ m.NONE,
4782
+ m.SUBSCRIBE,
4790
4783
  this.query
4791
4784
  ), this.broadcastChannel.postMessage({
4792
4785
  event: re.SUBSCRIBE,
@@ -4801,7 +4794,7 @@ export {
4801
4794
  N as API,
4802
4795
  ro as BuzzcastingStorageManager,
4803
4796
  Bi as BuzzcastingStorageReader,
4804
- y as CSS,
4797
+ m as CSS,
4805
4798
  re as EVENTS,
4806
4799
  Zt as MODERATION,
4807
4800
  ye as STORAGE,