buzzcasting-utils 1.3.5 → 1.3.6

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,11 +1,11 @@
1
- var m = /* @__PURE__ */ ((e) => (e.MESSAGES = "messages", e.CLOUD = "cloud", e.SERIES = "series", e.TOPICS = "topics", e.WIDGET = "widget", e.WIDGETS = "widgets", e.DASHBOARD = "dashboard", e.DASHBOARDS = "dashboards", e.SLIDE = "slide", e.SLIDES = "slides", e.PRESENTATION = "presentation", e.PRESENTATIONS = "presentations", e.PREFERENCE = "preference", e.PREFERENCES = "preferences", e))(m || {}), h = /* @__PURE__ */ ((e) => (e.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", e.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", e.BROADCAST = "color:navy;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", e.CLOUD = "color:purple;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", e.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", e.ERROR = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", e.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.KO = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.MESSAGES = "color:white;background-color:darkslateblue;padding:0 4px 0 4px;border-radius:5px;", e.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", e.NONE = "color:transparent;background-color:transparent;", e.OK = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", e.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", e.SERIES = "color:purple;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", e.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", e.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", e.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", e.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", e.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", e))(h || {}), k = /* @__PURE__ */ ((e) => (e.ADD_SLIDE = "addSlide", e.APP_READY = "appReady", e.API_UPDATE = "apiUpdate", e.WS_API_REQUEST = "wsApiRequest", e.WS_API_RESPONSE = "wsApiResponse", e.WS_API_UPDATE = "wsApiRUpdate", e.APPROVE_MESSAGE = "approveMessage", e.CHANNEL = "channel", e.CLEAN_MESSAGES = "cleanMessages", e.CLOSE_MODAL = "closeModal", e.CLOSE_BUILDER_MODAL = "closeBuilderModal", e.DASHBOARD_LOAD = "loadDashboard", e.DASHBOARD_STORE = "storeDashboard", e.ERROR = "error", e.HIDE_MESSAGE = "hideMessage", e.HIDE_LABELS = "hideLabels", e.MAUPPUT_UPDATE = "layoutUpdate", e.PREV_SLIDE = "prevSlide", e.RELOAD_PRESENTATION = "reloadPresentation", e.SHOW_MODAL = "showModal", e.STAR_MESSAGE = "starMessage", e.GOTO_SLIDE = "gotoSlide", e.NEXT_SLIDE = "nextSlide", e.PREFERENCE_LOAD = "loadPreference", e.PREFERENCE_STORE = "storePreference", e.PAUSE_PRESENTATION = "pausePresentation", e.PRESENTATION_READY = "presentationReady", e.PRESENTATION_LOAD = "loadPresentation", e.PRESENTATION_STORE = "storePresentation", e.SHOW_BUILDER_MODAL = "showBuilderModal", e.SLIDE_DID_LOAD = "slideDidLoad", e.SLIDE_GOTO = "slideGoto", e.SLIDE_READY = "slideReady", e.SLIDE_LOAD = "loadSlide", e.SLIDE_STORE = "storeSlide", e.SLIDE_TRANSITIONER = "slideTransitioner", e.START_TRANSITIONER = "startTransitioner", e.STORAGE_INIT = "storageInit", e.SUBSCRIBE = "subscribe", e.SUSPEND_ACCOUNT = "suspendAccount", e.SWITCH_PRESENTATION = "switchPresentation", e.REMOVE_CLOUD = "removeCloud", e.UPDATE = "update", e.VERSION = "version", e.WIDGETS_CLEAR = "widgetsClear", e.WIDGET_LOAD = "widgetLoad", e.WIDGET_STORE = "widgetStore", e.WIDGET_UPDATE = "widgetUpdate", e))(k || {}), x = /* @__PURE__ */ ((e) => (e.APPROVED = "approved", e.BEFORE = "before", e.DELAYED = "delayed", e.NONE = "none", e.REALTIME = "realtime", e))(x || {}), L = /* @__PURE__ */ ((e) => (e.KEYVAL = "keyval", e.LOCAL = "local", e.SESSION = "session", e.DEXIE = "dexie", e.WINDOW = "window", e))(L || {});
2
- function j(e) {
1
+ var m = /* @__PURE__ */ ((e) => (e.MESSAGES = "messages", e.CLOUD = "cloud", e.SERIES = "series", e.TOPICS = "topics", e.WIDGET = "widget", e.WIDGETS = "widgets", e.DASHBOARD = "dashboard", e.DASHBOARDS = "dashboards", e.SLIDE = "slide", e.SLIDES = "slides", e.PRESENTATION = "presentation", e.PRESENTATIONS = "presentations", e.PREFERENCE = "preference", e.PREFERENCES = "preferences", e))(m || {}), h = /* @__PURE__ */ ((e) => (e.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", e.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", e.BROADCAST = "color:navy;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", e.CLOUD = "color:purple;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", e.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", e.ERROR = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", e.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.KO = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", e.MESSAGES = "color:white;background-color:darkslateblue;padding:0 4px 0 4px;border-radius:5px;", e.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", e.NONE = "color:transparent;background-color:transparent;", e.OK = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", e.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", e.SERIES = "color:purple;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", e.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", e.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", e.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", e.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", e.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", e))(h || {}), P = /* @__PURE__ */ ((e) => (e.ADD_SLIDE = "addSlide", e.APP_READY = "appReady", e.API_UPDATE = "apiUpdate", e.WS_API_REQUEST = "wsApiRequest", e.WS_API_RESPONSE = "wsApiResponse", e.WS_API_UPDATE = "wsApiRUpdate", e.APPROVE_MESSAGE = "approveMessage", e.CHANNEL = "channel", e.CLEAN_MESSAGES = "cleanMessages", e.CLOSE_MODAL = "closeModal", e.CLOSE_BUILDER_MODAL = "closeBuilderModal", e.DASHBOARD_LOAD = "loadDashboard", e.DASHBOARD_STORE = "storeDashboard", e.ERROR = "error", e.HIDE_MESSAGE = "hideMessage", e.HIDE_LABELS = "hideLabels", e.MAUPPUT_UPDATE = "layoutUpdate", e.PREV_SLIDE = "prevSlide", e.RELOAD_PRESENTATION = "reloadPresentation", e.SHOW_MODAL = "showModal", e.STAR_MESSAGE = "starMessage", e.GOTO_SLIDE = "gotoSlide", e.NEXT_SLIDE = "nextSlide", e.PREFERENCE_LOAD = "loadPreference", e.PREFERENCE_STORE = "storePreference", e.PAUSE_PRESENTATION = "pausePresentation", e.PRESENTATION_READY = "presentationReady", e.PRESENTATION_LOAD = "loadPresentation", e.PRESENTATION_STORE = "storePresentation", e.SHOW_BUILDER_MODAL = "showBuilderModal", e.SLIDE_DID_LOAD = "slideDidLoad", e.SLIDE_GOTO = "slideGoto", e.SLIDE_READY = "slideReady", e.SLIDE_LOAD = "loadSlide", e.SLIDE_STORE = "storeSlide", e.SLIDE_TRANSITIONER = "slideTransitioner", e.START_TRANSITIONER = "startTransitioner", e.STORAGE_INIT = "storageInit", e.SUBSCRIBE = "subscribe", e.SUSPEND_ACCOUNT = "suspendAccount", e.SWITCH_PRESENTATION = "switchPresentation", e.REMOVE_CLOUD = "removeCloud", e.UPDATE = "update", e.VERSION = "version", e.WIDGETS_CLEAR = "widgetsClear", e.WIDGET_LOAD = "widgetLoad", e.WIDGET_STORE = "widgetStore", e.WIDGET_UPDATE = "widgetUpdate", e))(P || {}), x = /* @__PURE__ */ ((e) => (e.APPROVED = "approved", e.BEFORE = "before", e.DELAYED = "delayed", e.NONE = "none", e.REALTIME = "realtime", e))(x || {}), k = /* @__PURE__ */ ((e) => (e.KEYVAL = "keyval", e.LOCAL = "local", e.SESSION = "session", e.DEXIE = "dexie", e.WINDOW = "window", e))(k || {});
2
+ function J(e) {
3
3
  const t = e.toUpperCase().split(/[\s_-]+/);
4
4
  return t.length > 0 ? (t.forEach((r, n) => {
5
5
  t[n] = `${r.charAt(0)}.`;
6
6
  }), t.join(" ")) : "";
7
7
  }
8
- function J(e) {
8
+ function z(e) {
9
9
  let t = "", r = "", n = {
10
10
  backgroundImage: ""
11
11
  };
@@ -19,7 +19,7 @@ function J(e) {
19
19
  video: t
20
20
  };
21
21
  }
22
- function z(e) {
22
+ function N(e) {
23
23
  const t = {};
24
24
  for (let r = 0; r < e.length; r++) {
25
25
  const n = e.item(r);
@@ -27,7 +27,7 @@ function z(e) {
27
27
  }
28
28
  return t;
29
29
  }
30
- function N(e) {
30
+ function q(e) {
31
31
  const t = {};
32
32
  for (let r = 0; r < e.length; r++) {
33
33
  const n = e[r];
@@ -35,15 +35,15 @@ function N(e) {
35
35
  }
36
36
  return t;
37
37
  }
38
- function q(e) {
38
+ function V(e) {
39
39
  const t = {};
40
40
  for (let r = 0; r < e.length; r++) {
41
41
  const n = e[r];
42
- n.name !== "class" && (t[n.name] = $(n.value));
42
+ n.name !== "class" && (t[n.name] = L(n.value));
43
43
  }
44
44
  return t;
45
45
  }
46
- function V(e, t) {
46
+ function ee(e, t) {
47
47
  switch (e) {
48
48
  case "ax":
49
49
  return '<div class="axa-switch-small bg-center bg-cover w-6 h-6"></div>';
@@ -87,34 +87,34 @@ function V(e, t) {
87
87
  return "";
88
88
  }
89
89
  }
90
- function ee(e) {
90
+ function te(e) {
91
91
  return e.replace(/^\w|[A-Z]|\b\w/g, (t, r) => r === 0 ? t.toLowerCase() : t.toUpperCase()).replace(/\s+/g, "");
92
92
  }
93
- function $(e) {
93
+ function L(e) {
94
94
  return e.toLowerCase().split("-").reduce((t, r) => t + (r.charAt(0).toUpperCase() + r.slice(1)));
95
95
  }
96
- const te = (e) => e.charAt(0).toUpperCase() + e.slice(1);
97
- function re(e) {
96
+ const re = (e) => e.charAt(0).toUpperCase() + e.slice(1);
97
+ function ne(e) {
98
98
  const t = document.createRange();
99
99
  t.selectNodeContents(e), t.deleteContents();
100
100
  }
101
- function P(e) {
101
+ function $(e) {
102
102
  e.reduce(
103
103
  (t, r) => Object.keys(r).reduce(
104
104
  (n, o) => ({
105
105
  ...n,
106
- [o]: o in t && typeof t[o] == "object" && t[o] !== null && typeof r[o] == "object" && r[o] !== null ? P([t[o], r[o]]) : r[o]
106
+ [o]: o in t && typeof t[o] == "object" && t[o] !== null && typeof r[o] == "object" && r[o] !== null ? $([t[o], r[o]]) : r[o]
107
107
  }),
108
108
  t
109
109
  ),
110
110
  {}
111
111
  );
112
112
  }
113
- function ne(e, t = "font-bold") {
113
+ function oe(e, t = "font-bold") {
114
114
  return `${(e == null ? void 0 : e.title.length) > 0 ? `<div class="${t}">${e.title}</div>` : ""}${e != null && e.content ? e.content.replace(/\n\n/g, `
115
115
  `).replace(/\n/g, "<br/>") : ""}`;
116
116
  }
117
- const oe = () => [b(2), b(1), b(1), b(1), b(3)].join("-"), b = (e) => {
117
+ const ae = () => [b(2), b(1), b(1), b(1), b(3)].join("-"), b = (e) => {
118
118
  let t = "";
119
119
  for (let r = 0; r < e; r++)
120
120
  t += ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
@@ -133,14 +133,14 @@ function f(e, t) {
133
133
  n = t.charCodeAt(r), e = (e << 5) - e + n, e |= 0;
134
134
  return e < 0 ? e * -2 : e;
135
135
  }
136
- function I(e, t, r) {
136
+ function y(e, t, r) {
137
137
  return Object.keys(t).sort().reduce(n, e);
138
138
  function n(o, a) {
139
139
  return _(o, t[a], a, r);
140
140
  }
141
141
  }
142
142
  function _(e, t, r, n) {
143
- const o = f(f(f(e, r), y(t)), typeof t);
143
+ const o = f(f(f(e, r), I(t)), typeof t);
144
144
  if (t === null)
145
145
  return f(o, "null");
146
146
  if (t === void 0)
@@ -149,7 +149,7 @@ function _(e, t, r, n) {
149
149
  if (n.includes(t))
150
150
  return f(o, `[Circular]${r}`);
151
151
  n.push(t);
152
- const a = I(o, t, n);
152
+ const a = y(o, t, n);
153
153
  if (!("valueOf" in t) || typeof t.valueOf != "function")
154
154
  return a;
155
155
  try {
@@ -160,13 +160,13 @@ function _(e, t, r, n) {
160
160
  }
161
161
  return f(o, t.toString());
162
162
  }
163
- function y(e) {
163
+ function I(e) {
164
164
  return Object.prototype.toString.call(e);
165
165
  }
166
- function ae(e) {
166
+ function ie(e) {
167
167
  return v(_(0, e, "", []).toString(16), 8);
168
168
  }
169
- const ie = (e) => {
169
+ const se = (e) => {
170
170
  let t = "";
171
171
  return D(e, {
172
172
  start: function(r, n, o) {
@@ -185,7 +185,7 @@ const ie = (e) => {
185
185
  t += `<!-- ${r} -->`;
186
186
  }
187
187
  }), t;
188
- }, se = (e, t) => {
188
+ }, le = (e, t) => {
189
189
  const r = g("html,head,body,title"), n = { link: "head", base: "head" };
190
190
  t ? t = t.ownerDocument || t.getOwnerDocument && t.getOwnerDocument() || t : typeof t < "u" ? t = new Document() : typeof document < "u" && document.implementation && document.implementation.createDocument && (t = document.implementation.createDocument("", "", null));
191
191
  const o = [];
@@ -276,7 +276,7 @@ const D = (e, t) => {
276
276
  i("", a.last());
277
277
  if (T[s] && a.last() == s && i("", s), p = S[s] || !!p, p || a.push(s), t.start) {
278
278
  const w = [];
279
- d.replace(M, function(Q, A) {
279
+ d.replace(M, function(j, A) {
280
280
  let O = arguments[2] ? arguments[2] : arguments[3] ? arguments[3] : arguments[4] ? arguments[4] : B[A] ? A : "";
281
281
  w.push({
282
282
  name: A,
@@ -294,7 +294,7 @@ function G(e) {
294
294
  function W(e) {
295
295
  return e.replace(/<\?xml.*\?>\n/, "").replace(/<!doctype.*\>\n/, "").replace(/<!DOCTYPE.*\>\n/, "");
296
296
  }
297
- const le = (e) => {
297
+ const ce = (e) => {
298
298
  e = W(e);
299
299
  const t = [], r = {
300
300
  node: "root",
@@ -384,7 +384,7 @@ const le = (e) => {
384
384
  return `<!-- ${e.text} -->`;
385
385
  if (e.node === "root")
386
386
  return r;
387
- }, ce = (e, t = 0, r = !0, n = "en") => {
387
+ }, de = (e, t = 0, r = !0, n = "en") => {
388
388
  if (typeof e == "string" || e instanceof String) return e.toString().replace(/[^0-9.]/g, "");
389
389
  if (r === !1)
390
390
  return e.toLocaleString(n);
@@ -402,7 +402,7 @@ const le = (e) => {
402
402
  for (a = o.length - 1; a > 0 && !(e >= o[a].v); a--)
403
403
  ;
404
404
  return (e / o[a].v).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/, "$1") + o[a].s;
405
- }, de = (e = 0, t) => {
405
+ }, ue = (e = 0, t) => {
406
406
  switch (!0) {
407
407
  case e > 3:
408
408
  console.debug(...t);
@@ -417,14 +417,14 @@ const le = (e) => {
417
417
  console.error(...t);
418
418
  break;
419
419
  }
420
- }, ue = (e) => e.replace(/\<\!--\s*?[^\s?\[][\s\S]*?--\>/g, "").replace(/\>\s*\</g, "><").replace(/\t/g, ""), fe = (e) => e.replace(/\>\</g, `>
421
- <`), pe = (e) => {
420
+ }, fe = (e) => e.replace(/\<\!--\s*?[^\s?\[][\s\S]*?--\>/g, "").replace(/\>\s*\</g, "><").replace(/\t/g, ""), pe = (e) => e.replace(/\>\</g, `>
421
+ <`), ge = (e) => {
422
422
  e.replace(/\/\*.*\*\/|\/\*[\s\S]*?\*\/|\n|\t|\v|\s{2,}/g, "").replace(/\s*\{\s*/g, "{").replace(/\s*\}\s*/g, "}").replace(/\s*\:\s*/g, ":").replace(/\s*\;\s*/g, ";").replace(/\s*\,\s*/g, ",").replace(/\s*\~\s*/g, "~").replace(/\s*\>\s*/g, ">").replace(/\s*\+\s*/g, "+").replace(/\s*\!\s*/g, "!");
423
- }, ge = (e) => e.replace(/\,/g, ", ").replace(/\{/g, ` {
423
+ }, be = (e) => e.replace(/\,/g, ", ").replace(/\{/g, ` {
424
424
  `).replace(/\}/g, `}
425
425
  `).replace(/\;/g, `;
426
426
  `);
427
- function be(e, t) {
427
+ function he(e, t) {
428
428
  const r = [
429
429
  { value: 1, symbol: "" },
430
430
  { value: 1e3, symbol: "K" },
@@ -439,18 +439,18 @@ function be(e, t) {
439
439
  ;
440
440
  return (e / r[o].value).toFixed(t).replace(n, "$1") + r[o].symbol;
441
441
  }
442
- function he(e) {
442
+ function me(e) {
443
443
  const t = RegExp(`[?&]${e}=([^&]*)`).exec(window.location.search);
444
444
  return t && decodeURIComponent(t[1].replace(/\+/g, " ")) || null;
445
445
  }
446
- const me = (e) => new Proxy(new URLSearchParams(window.location.search), {
446
+ const xe = (e) => new Proxy(new URLSearchParams(window.location.search), {
447
447
  // @ts-ignore
448
448
  get: (r, n) => r.get(n)
449
449
  })[e];
450
- function xe(e) {
450
+ function Ae(e) {
451
451
  return e[Math.floor(Math.random() * e.length)];
452
452
  }
453
- function Ae(e) {
453
+ function De(e) {
454
454
  switch (e.language) {
455
455
  case "ar":
456
456
  return {
@@ -461,7 +461,7 @@ function Ae(e) {
461
461
  return {};
462
462
  }
463
463
  }
464
- function De(e) {
464
+ function we(e) {
465
465
  const t = window.BuzzCasting.getOptions().suspended ?? !1;
466
466
  return e.forEach((r) => {
467
467
  var n;
@@ -502,13 +502,13 @@ function De(e) {
502
502
  }
503
503
  }), e;
504
504
  }
505
- function we(e, t, r, n) {
505
+ function Oe(e, t, r, n) {
506
506
  e.stopPropagation(), t.showModal({
507
507
  showComponent: "card-modal",
508
508
  props: { data: r, options: n }
509
509
  });
510
510
  }
511
- function Oe(e) {
511
+ function Re(e) {
512
512
  const t = [...e];
513
513
  for (let r = t.length - 1; r > 0; r--) {
514
514
  const n = Math.floor(Math.random() * (r + 1));
@@ -516,13 +516,13 @@ function Oe(e) {
516
516
  }
517
517
  return t;
518
518
  }
519
- function Re() {
519
+ function Ee() {
520
520
  let e = "";
521
521
  const t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
522
522
  for (let r = 0; r < 7; r++) e += t.charAt(Math.floor(Math.random() * t.length));
523
523
  return e;
524
524
  }
525
- const Ee = (e) => {
525
+ const _e = (e) => {
526
526
  switch (e == null ? void 0 : e.type) {
527
527
  case m.MESSAGES:
528
528
  return h.MESSAGES;
@@ -535,7 +535,7 @@ const Ee = (e) => {
535
535
  }
536
536
  }, Y = (e = 6) => Math.random().toString(36).substring(2, e + 2), K = (e, t = []) => !t.find(function(n) {
537
537
  return n === e;
538
- }), _e = (e, t = []) => {
538
+ }), Pe = (e, t = []) => {
539
539
  let n = 0, o = "";
540
540
  for (; o == "" && n < 100; )
541
541
  o = Y(e), K(o, t) || (o = "", n++);
@@ -554,7 +554,7 @@ function $e(e) {
554
554
  let t = `${e.type}.${e.topics}`;
555
555
  return e.order && (t += `.${e.order}`), e.period && (t += `.${e.period}`), t;
556
556
  }
557
- function Pe(e) {
557
+ function ve(e) {
558
558
  var t;
559
559
  if (e.widget === void 0) {
560
560
  const r = (t = e.topics) == null ? void 0 : t.split("-");
@@ -562,7 +562,7 @@ function Pe(e) {
562
562
  }
563
563
  return e;
564
564
  }
565
- function ve(e, t) {
565
+ function ye(e, t) {
566
566
  var i;
567
567
  let r, n, o, a, l;
568
568
  switch (e.moderation) {
@@ -580,53 +580,54 @@ function ve(e, t) {
580
580
  }
581
581
  return t;
582
582
  }
583
- var X = /* @__PURE__ */ ((e) => (e.MultiPolygon = "MultiPolygon", e.Polygon = "Polygon", e))(X || {});
583
+ var X = /* @__PURE__ */ ((e) => (e.MultiPolygon = "MultiPolygon", e.Polygon = "Polygon", e))(X || {}), Q = /* @__PURE__ */ ((e) => (e.MultiPolygon = "MultiPolygon", e.Polygon = "Polygon", e))(Q || {});
584
584
  export {
585
585
  m as API,
586
586
  h as CSS,
587
- k as EVENTS,
587
+ P as EVENTS,
588
588
  D as HTMLParser,
589
- se as HTMLtoDOM,
590
- ie as HTMLtoXML,
589
+ le as HTMLtoDOM,
590
+ se as HTMLtoXML,
591
591
  x as MODERATION,
592
- L as STORAGE,
593
- X as ShapeType,
594
- j as anonymize,
595
- J as attachedMedia,
596
- z as attrs,
597
- V as brandLogo,
598
- $ as camelCase,
599
- q as camelCasedProps,
600
- ee as camelize,
601
- te as capitalizeFirstLetter,
602
- re as clearContents,
603
- P as deepMerge,
604
- N as filterAttributes,
605
- ne as formatContent,
606
- oe as getGuid,
592
+ k as STORAGE,
593
+ Q as ShapeType,
594
+ X as Type,
595
+ J as anonymize,
596
+ z as attachedMedia,
597
+ N as attrs,
598
+ ee as brandLogo,
599
+ L as camelCase,
600
+ V as camelCasedProps,
601
+ te as camelize,
602
+ re as capitalizeFirstLetter,
603
+ ne as clearContents,
604
+ $ as deepMerge,
605
+ q as filterAttributes,
606
+ oe as formatContent,
607
+ ae as getGuid,
607
608
  $e as getKey,
608
- he as getParameterByName,
609
- me as getQueryParam,
610
- ae as hashSum,
611
- le as html2json,
612
- ce as intToString,
609
+ me as getParameterByName,
610
+ xe as getQueryParam,
611
+ ie as hashSum,
612
+ ce as html2json,
613
+ de as intToString,
613
614
  F as json2html,
614
- de as log,
615
- ge as maxifyCss,
616
- fe as maxifyHtml,
617
- pe as minifyCss,
618
- ue as minifyHtml,
619
- ve as moderation,
620
- be as numberFormatter,
621
- xe as randomValue,
622
- Ae as rtl,
623
- De as sanitize,
624
- we as showModal,
625
- Oe as shuffleMessages,
626
- Re as stringGen,
627
- Ee as typeCss,
628
- _e as uniq,
615
+ ue as log,
616
+ be as maxifyCss,
617
+ pe as maxifyHtml,
618
+ ge as minifyCss,
619
+ fe as minifyHtml,
620
+ ye as moderation,
621
+ he as numberFormatter,
622
+ Ae as randomValue,
623
+ De as rtl,
624
+ we as sanitize,
625
+ Oe as showModal,
626
+ Re as shuffleMessages,
627
+ Ee as stringGen,
628
+ _e as typeCss,
629
+ Pe as uniq,
629
630
  ke as upDownColor,
630
- Pe as widgetParams,
631
+ ve as widgetParams,
631
632
  Le as wrapPromise
632
633
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-utils",
3
3
  "type": "module",
4
- "version": "1.3.5",
4
+ "version": "1.3.6",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",