@truecodeio/sdk-react 0.2.20 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as ee from "react/jsx-runtime";
2
2
  import * as Y from "react";
3
- import { forwardRef as Zt, useContext as pt, useRef as Xt, useState as Fe, createContext as yt, use as vt, useId as ht, useSyncExternalStore as Xe, useEffect as Vt } from "react";
3
+ import { forwardRef as Zt, useContext as pt, useRef as Xt, useState as Je, createContext as yt, use as vt, useId as ht, useSyncExternalStore as Xe, useEffect as xt } from "react";
4
4
  import { createBokoClient as $r } from "@truecodeio/sdk-core";
5
- function xt(e) {
5
+ function Vt(e) {
6
6
  if (e.sheet)
7
7
  return e.sheet;
8
8
  for (var t = 0; t < document.styleSheets.length; t++)
@@ -28,7 +28,7 @@ var Rt = /* @__PURE__ */ (function() {
28
28
  this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Wt(this));
29
29
  var g = this.tags[this.tags.length - 1];
30
30
  if (this.isSpeedy) {
31
- var n = xt(g);
31
+ var n = Vt(g);
32
32
  try {
33
33
  n.insertRule(c, n.cssRules.length);
34
34
  } catch {
@@ -42,7 +42,7 @@ var Rt = /* @__PURE__ */ (function() {
42
42
  return (g = c.parentNode) == null ? void 0 : g.removeChild(c);
43
43
  }), this.tags = [], this.ctr = 0;
44
44
  }, e;
45
- })(), B = "-ms-", te = "-moz-", d = "-webkit-", Je = "comm", ue = "rule", oe = "decl", Nt = "@import", ke = "@keyframes", Bt = "@layer", St = Math.abs, re = String.fromCharCode, Yt = Object.assign;
45
+ })(), B = "-ms-", te = "-moz-", d = "-webkit-", Fe = "comm", ue = "rule", oe = "decl", Nt = "@import", ke = "@keyframes", Bt = "@layer", St = Math.abs, re = String.fromCharCode, Yt = Object.assign;
46
46
  function Ht(e, t) {
47
47
  return R(e, 0) ^ 45 ? (((t << 2 ^ R(e, 0)) << 2 ^ R(e, 1)) << 2 ^ R(e, 2)) << 2 ^ R(e, 3) : 0;
48
48
  }
@@ -61,10 +61,10 @@ function ae(e, t) {
61
61
  function R(e, t) {
62
62
  return e.charCodeAt(t) | 0;
63
63
  }
64
- function E(e, t, r) {
64
+ function L(e, t, r) {
65
65
  return e.slice(t, r);
66
66
  }
67
- function F(e) {
67
+ function J(e) {
68
68
  return e.length;
69
69
  }
70
70
  function le(e) {
@@ -73,7 +73,7 @@ function le(e) {
73
73
  function M(e, t) {
74
74
  return t.push(e), e;
75
75
  }
76
- function Ft(e, t) {
76
+ function Jt(e, t) {
77
77
  return e.map(t).join("");
78
78
  }
79
79
  var ce = 1, z = 1, ze = 0, H = 0, W = 0, j = "";
@@ -83,7 +83,7 @@ function ge(e, t, r, c, g, n, C) {
83
83
  function P(e, t) {
84
84
  return Yt(ge("", null, null, "", null, null, 0), e, { length: -e.length }, t);
85
85
  }
86
- function Jt() {
86
+ function Ft() {
87
87
  return W;
88
88
  }
89
89
  function kt() {
@@ -99,9 +99,9 @@ function _() {
99
99
  return H;
100
100
  }
101
101
  function U(e, t) {
102
- return E(j, e, t);
102
+ return L(j, e, t);
103
103
  }
104
- function L(e) {
104
+ function E(e) {
105
105
  switch (e) {
106
106
  // \0 \t \n \r \s whitespace token
107
107
  case 0:
@@ -140,7 +140,7 @@ function L(e) {
140
140
  return 0;
141
141
  }
142
142
  function je(e) {
143
- return ce = z = 1, ze = F(j = e), H = 0, [];
143
+ return ce = z = 1, ze = J(j = e), H = 0, [];
144
144
  }
145
145
  function Pe(e) {
146
146
  return j = "", e;
@@ -151,7 +151,7 @@ function K(e) {
151
151
  function Tt(e) {
152
152
  for (; (W = k()) && W < 33; )
153
153
  w();
154
- return L(e) > 2 || L(W) > 3 ? "" : " ";
154
+ return E(e) > 2 || E(W) > 3 ? "" : " ";
155
155
  }
156
156
  function zt(e, t) {
157
157
  for (; --t && w() && !(W < 48 || W > 102 || W > 57 && W < 65 || W > 70 && W < 97); )
@@ -187,15 +187,15 @@ function jt(e, t) {
187
187
  return "/*" + U(t, H - 1) + "*" + re(e === 47 ? e : w());
188
188
  }
189
189
  function Pt(e) {
190
- for (; !L(k()); )
190
+ for (; !E(k()); )
191
191
  w();
192
192
  return U(e, H);
193
193
  }
194
- function Et(e) {
194
+ function Lt(e) {
195
195
  return Pe(q("", null, null, null, [""], e = je(e), 0, [0], e));
196
196
  }
197
197
  function q(e, t, r, c, g, n, C, i, A) {
198
- for (var u = 0, a = 0, o = C, N = 0, x = 0, b = 0, l = 1, V = 1, X = 1, y = 0, Z = "", v = g, I = n, h = c, p = Z; V; )
198
+ for (var u = 0, a = 0, o = C, N = 0, V = 0, b = 0, l = 1, x = 1, X = 1, y = 0, Z = "", v = g, I = n, h = c, p = Z; x; )
199
199
  switch (b = y, y = w()) {
200
200
  // (
201
201
  case 40:
@@ -225,7 +225,7 @@ function q(e, t, r, c, g, n, C, i, A) {
225
225
  switch (k()) {
226
226
  case 42:
227
227
  case 47:
228
- M(Lt(jt(w(), _()), t, r), A);
228
+ M(Et(jt(w(), _()), t, r), A);
229
229
  break;
230
230
  default:
231
231
  p += "/";
@@ -233,7 +233,7 @@ function q(e, t, r, c, g, n, C, i, A) {
233
233
  break;
234
234
  // {
235
235
  case 123 * l:
236
- i[u++] = F(p) * X;
236
+ i[u++] = J(p) * X;
237
237
  // } ; \0
238
238
  case 125 * l:
239
239
  case 59:
@@ -242,10 +242,10 @@ function q(e, t, r, c, g, n, C, i, A) {
242
242
  // \0 }
243
243
  case 0:
244
244
  case 125:
245
- V = 0;
245
+ x = 0;
246
246
  // ;
247
247
  case 59 + a:
248
- X == -1 && (p = f(p, /\f/g, "")), x > 0 && F(p) - o && M(x > 32 ? ve(p + ";", c, r, o - 1) : ve(f(p, " ", "") + ";", c, r, o - 2), A);
248
+ X == -1 && (p = f(p, /\f/g, "")), V > 0 && J(p) - o && M(V > 32 ? ve(p + ";", c, r, o - 1) : ve(f(p, " ", "") + ";", c, r, o - 2), A);
249
249
  break;
250
250
  // @ ;
251
251
  case 59:
@@ -268,11 +268,11 @@ function q(e, t, r, c, g, n, C, i, A) {
268
268
  q(p, h, h, h, [""], I, 0, i, I);
269
269
  }
270
270
  }
271
- u = a = x = 0, l = X = 1, Z = p = "", o = C;
271
+ u = a = V = 0, l = X = 1, Z = p = "", o = C;
272
272
  break;
273
273
  // :
274
274
  case 58:
275
- o = 1 + F(p), x = b;
275
+ o = 1 + J(p), V = b;
276
276
  default:
277
277
  if (l < 1) {
278
278
  if (y == 123)
@@ -287,30 +287,30 @@ function q(e, t, r, c, g, n, C, i, A) {
287
287
  break;
288
288
  // ,
289
289
  case 44:
290
- i[u++] = (F(p) - 1) * X, X = 1;
290
+ i[u++] = (J(p) - 1) * X, X = 1;
291
291
  break;
292
292
  // @
293
293
  case 64:
294
- k() === 45 && (p += K(w())), N = k(), a = o = F(Z = p += Pt(_())), y++;
294
+ k() === 45 && (p += K(w())), N = k(), a = o = J(Z = p += Pt(_())), y++;
295
295
  break;
296
296
  // -
297
297
  case 45:
298
- b === 45 && F(p) == 2 && (l = 0);
298
+ b === 45 && J(p) == 2 && (l = 0);
299
299
  }
300
300
  }
301
301
  return n;
302
302
  }
303
303
  function ye(e, t, r, c, g, n, C, i, A, u, a) {
304
- for (var o = g - 1, N = g === 0 ? n : [""], x = le(N), b = 0, l = 0, V = 0; b < c; ++b)
305
- for (var X = 0, y = E(e, o + 1, o = St(l = C[b])), Z = e; X < x; ++X)
306
- (Z = Te(l > 0 ? N[X] + " " + y : f(y, /&\f/g, N[X]))) && (A[V++] = Z);
304
+ for (var o = g - 1, N = g === 0 ? n : [""], V = le(N), b = 0, l = 0, x = 0; b < c; ++b)
305
+ for (var X = 0, y = L(e, o + 1, o = St(l = C[b])), Z = e; X < V; ++X)
306
+ (Z = Te(l > 0 ? N[X] + " " + y : f(y, /&\f/g, N[X]))) && (A[x++] = Z);
307
307
  return ge(e, t, r, g === 0 ? ue : i, A, u, a);
308
308
  }
309
- function Lt(e, t, r) {
310
- return ge(e, t, r, Je, re(Jt()), E(e, 2, -2), 0);
309
+ function Et(e, t, r) {
310
+ return ge(e, t, r, Fe, re(Ft()), L(e, 2, -2), 0);
311
311
  }
312
312
  function ve(e, t, r, c) {
313
- return ge(e, t, r, oe, E(e, 0, c), E(e, c + 1, -1), c);
313
+ return ge(e, t, r, oe, L(e, 0, c), L(e, c + 1, -1), c);
314
314
  }
315
315
  function T(e, t) {
316
316
  for (var r = "", c = le(e), g = 0; g < c; g++)
@@ -324,14 +324,14 @@ function Ot(e, t, r, c) {
324
324
  case Nt:
325
325
  case oe:
326
326
  return e.return = e.return || e.value;
327
- case Je:
327
+ case Fe:
328
328
  return "";
329
329
  case ke:
330
330
  return e.return = e.value + "{" + T(e.children, c) + "}";
331
331
  case ue:
332
332
  e.value = e.props.join(",");
333
333
  }
334
- return F(r = T(e.children, c)) ? e.return = e.value + "{" + r + "}" : "";
334
+ return J(r = T(e.children, c)) ? e.return = e.value + "{" + r + "}" : "";
335
335
  }
336
336
  function Ut(e) {
337
337
  var t = le(e);
@@ -353,13 +353,13 @@ function Dt(e) {
353
353
  };
354
354
  }
355
355
  var Mt = function(t, r, c) {
356
- for (var g = 0, n = 0; g = n, n = k(), g === 38 && n === 12 && (r[c] = 1), !L(n); )
356
+ for (var g = 0, n = 0; g = n, n = k(), g === 38 && n === 12 && (r[c] = 1), !E(n); )
357
357
  w();
358
358
  return U(t, H);
359
359
  }, $t = function(t, r) {
360
360
  var c = -1, g = 44;
361
361
  do
362
- switch (L(g)) {
362
+ switch (E(g)) {
363
363
  case 0:
364
364
  g === 38 && k() === 12 && (r[c] = 1), t[c] += Mt(H - 1, r, c);
365
365
  break;
@@ -400,7 +400,7 @@ var Mt = function(t, r, c) {
400
400
  r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
401
401
  }
402
402
  };
403
- function Ee(e, t) {
403
+ function Le(e, t) {
404
404
  switch (Ht(e, t)) {
405
405
  // color-adjust
406
406
  case 5103:
@@ -499,7 +499,7 @@ function Ee(e, t) {
499
499
  case 5789:
500
500
  case 5021:
501
501
  case 4765:
502
- if (F(e) - 1 - t > 6) switch (R(e, t + 1)) {
502
+ if (J(e) - 1 - t > 6) switch (R(e, t + 1)) {
503
503
  // (m)ax-content, (m)in-content
504
504
  case 109:
505
505
  if (R(e, t + 4) !== 45) break;
@@ -508,7 +508,7 @@ function Ee(e, t) {
508
508
  return f(e, /(.+:)(.+)-([^]+)/, "$1" + d + "$2-$3$1" + te + (R(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
509
509
  // (s)tretch
510
510
  case 115:
511
- return ~ae(e, "stretch") ? Ee(f(e, "stretch", "fill-available"), t) + e : e;
511
+ return ~ae(e, "stretch") ? Le(f(e, "stretch", "fill-available"), t) + e : e;
512
512
  }
513
513
  break;
514
514
  // position: sticky
@@ -516,7 +516,7 @@ function Ee(e, t) {
516
516
  if (R(e, t + 1) !== 115) break;
517
517
  // display: (flex|inline-flex)
518
518
  case 6444:
519
- switch (R(e, F(e) - 3 - (~ae(e, "!important") && 10))) {
519
+ switch (R(e, J(e) - 3 - (~ae(e, "!important") && 10))) {
520
520
  // stic(k)y
521
521
  case 107:
522
522
  return f(e, ":", ":" + d) + e;
@@ -545,14 +545,14 @@ function Ee(e, t) {
545
545
  var er = function(t, r, c, g) {
546
546
  if (t.length > -1 && !t.return) switch (t.type) {
547
547
  case oe:
548
- t.return = Ee(t.value, t.length);
548
+ t.return = Le(t.value, t.length);
549
549
  break;
550
550
  case ke:
551
551
  return T([P(t, {
552
552
  value: f(t.value, "@", "@" + d)
553
553
  })], g);
554
554
  case ue:
555
- if (t.length) return Ft(t.props, function(n) {
555
+ if (t.length) return Jt(t.props, function(n) {
556
556
  switch (wt(n, /(::plac\w+|:read-\w+)/)) {
557
557
  // :read-(only|write)
558
558
  case ":read-only":
@@ -573,13 +573,13 @@ var er = function(t, r, c, g) {
573
573
  return "";
574
574
  });
575
575
  }
576
- }, tr = [er], Le = function(t) {
576
+ }, tr = [er], Ee = function(t) {
577
577
  var r = t.key;
578
578
  if (r === "css") {
579
579
  var c = document.querySelectorAll("style[data-emotion]:not([data-s])");
580
580
  Array.prototype.forEach.call(c, function(l) {
581
- var V = l.getAttribute("data-emotion");
582
- V.indexOf(" ") !== -1 && (document.head.appendChild(l), l.setAttribute("data-s", ""));
581
+ var x = l.getAttribute("data-emotion");
582
+ x.indexOf(" ") !== -1 && (document.head.appendChild(l), l.setAttribute("data-s", ""));
583
583
  });
584
584
  }
585
585
  var g = t.stylisPlugins || tr, n = {}, C, i = [];
@@ -588,8 +588,8 @@ var er = function(t, r, c, g) {
588
588
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
589
589
  document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
590
590
  function(l) {
591
- for (var V = l.getAttribute("data-emotion").split(" "), X = 1; X < V.length; X++)
592
- n[V[X]] = !0;
591
+ for (var x = l.getAttribute("data-emotion").split(" "), X = 1; X < x.length; X++)
592
+ n[x[X]] = !0;
593
593
  i.push(l);
594
594
  }
595
595
  );
@@ -597,11 +597,11 @@ var er = function(t, r, c, g) {
597
597
  {
598
598
  var a, o = [Ot, Qt(function(l) {
599
599
  a.insert(l);
600
- })], N = Ut(u.concat(g, o)), x = function(V) {
601
- return T(Et(V), N);
600
+ })], N = Ut(u.concat(g, o)), V = function(x) {
601
+ return T(Lt(x), N);
602
602
  };
603
- A = function(V, X, y, Z) {
604
- a = y, x(V ? V + "{" + X.styles + "}" : X.styles), Z && (b.inserted[X.name] = !0);
603
+ A = function(x, X, y, Z) {
604
+ a = y, V(x ? x + "{" + X.styles + "}" : X.styles), Z && (b.inserted[X.name] = !0);
605
605
  };
606
606
  }
607
607
  var b = {
@@ -621,11 +621,11 @@ var er = function(t, r, c, g) {
621
621
  };
622
622
  return b.sheet.hydrate(i), b;
623
623
  }, $ = { exports: {} }, m = {};
624
- var Ve;
624
+ var xe;
625
625
  function rr() {
626
- if (Ve) return m;
627
- Ve = 1;
628
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, c = e ? Symbol.for("react.fragment") : 60107, g = e ? Symbol.for("react.strict_mode") : 60108, n = e ? Symbol.for("react.profiler") : 60114, C = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, o = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, V = e ? Symbol.for("react.fundamental") : 60117, X = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
626
+ if (xe) return m;
627
+ xe = 1;
628
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, c = e ? Symbol.for("react.fragment") : 60107, g = e ? Symbol.for("react.strict_mode") : 60108, n = e ? Symbol.for("react.profiler") : 60114, C = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, o = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, V = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, X = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
629
629
  function Z(I) {
630
630
  if (typeof I == "object" && I !== null) {
631
631
  var h = I.$$typeof;
@@ -644,7 +644,7 @@ function rr() {
644
644
  case i:
645
645
  case a:
646
646
  case b:
647
- case x:
647
+ case V:
648
648
  case C:
649
649
  return I;
650
650
  default:
@@ -659,7 +659,7 @@ function rr() {
659
659
  function v(I) {
660
660
  return Z(I) === u;
661
661
  }
662
- return m.AsyncMode = A, m.ConcurrentMode = u, m.ContextConsumer = i, m.ContextProvider = C, m.Element = t, m.ForwardRef = a, m.Fragment = c, m.Lazy = b, m.Memo = x, m.Portal = r, m.Profiler = n, m.StrictMode = g, m.Suspense = o, m.isAsyncMode = function(I) {
662
+ return m.AsyncMode = A, m.ConcurrentMode = u, m.ContextConsumer = i, m.ContextProvider = C, m.Element = t, m.ForwardRef = a, m.Fragment = c, m.Lazy = b, m.Memo = V, m.Portal = r, m.Profiler = n, m.StrictMode = g, m.Suspense = o, m.isAsyncMode = function(I) {
663
663
  return v(I) || Z(I) === A;
664
664
  }, m.isConcurrentMode = v, m.isContextConsumer = function(I) {
665
665
  return Z(I) === i;
@@ -674,7 +674,7 @@ function rr() {
674
674
  }, m.isLazy = function(I) {
675
675
  return Z(I) === b;
676
676
  }, m.isMemo = function(I) {
677
- return Z(I) === x;
677
+ return Z(I) === V;
678
678
  }, m.isPortal = function(I) {
679
679
  return Z(I) === r;
680
680
  }, m.isProfiler = function(I) {
@@ -684,17 +684,17 @@ function rr() {
684
684
  }, m.isSuspense = function(I) {
685
685
  return Z(I) === o;
686
686
  }, m.isValidElementType = function(I) {
687
- return typeof I == "string" || typeof I == "function" || I === c || I === u || I === n || I === g || I === o || I === N || typeof I == "object" && I !== null && (I.$$typeof === b || I.$$typeof === x || I.$$typeof === C || I.$$typeof === i || I.$$typeof === a || I.$$typeof === V || I.$$typeof === X || I.$$typeof === y || I.$$typeof === l);
687
+ return typeof I == "string" || typeof I == "function" || I === c || I === u || I === n || I === g || I === o || I === N || typeof I == "object" && I !== null && (I.$$typeof === b || I.$$typeof === V || I.$$typeof === C || I.$$typeof === i || I.$$typeof === a || I.$$typeof === x || I.$$typeof === X || I.$$typeof === y || I.$$typeof === l);
688
688
  }, m.typeOf = Z, m;
689
689
  }
690
690
  var G = {};
691
- var xe;
691
+ var Ve;
692
692
  function cr() {
693
- return xe || (xe = 1, process.env.NODE_ENV !== "production" && (function() {
694
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, c = e ? Symbol.for("react.fragment") : 60107, g = e ? Symbol.for("react.strict_mode") : 60108, n = e ? Symbol.for("react.profiler") : 60114, C = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, o = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, x = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, V = e ? Symbol.for("react.fundamental") : 60117, X = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
693
+ return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
694
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, c = e ? Symbol.for("react.fragment") : 60107, g = e ? Symbol.for("react.strict_mode") : 60108, n = e ? Symbol.for("react.profiler") : 60114, C = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, o = e ? Symbol.for("react.suspense") : 60113, N = e ? Symbol.for("react.suspense_list") : 60120, V = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, X = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
695
695
  function Z(s) {
696
696
  return typeof s == "string" || typeof s == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
697
- s === c || s === u || s === n || s === g || s === o || s === N || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === x || s.$$typeof === C || s.$$typeof === i || s.$$typeof === a || s.$$typeof === V || s.$$typeof === X || s.$$typeof === y || s.$$typeof === l);
697
+ s === c || s === u || s === n || s === g || s === o || s === N || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === V || s.$$typeof === C || s.$$typeof === i || s.$$typeof === a || s.$$typeof === x || s.$$typeof === X || s.$$typeof === y || s.$$typeof === l);
698
698
  }
699
699
  function v(s) {
700
700
  if (typeof s == "object" && s !== null) {
@@ -716,7 +716,7 @@ function cr() {
716
716
  case i:
717
717
  case a:
718
718
  case b:
719
- case x:
719
+ case V:
720
720
  case C:
721
721
  return pe;
722
722
  default:
@@ -728,7 +728,7 @@ function cr() {
728
728
  }
729
729
  }
730
730
  }
731
- var I = A, h = u, p = i, me = C, qe = t, et = a, tt = c, rt = b, ct = x, gt = r, nt = n, It = g, Ct = o, Ge = !1;
731
+ var I = A, h = u, p = i, me = C, qe = t, et = a, tt = c, rt = b, ct = V, gt = r, nt = n, It = g, Ct = o, Ge = !1;
732
732
  function at(s) {
733
733
  return Ge || (Ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Ze(s) || v(s) === A;
734
734
  }
@@ -754,7 +754,7 @@ function cr() {
754
754
  return v(s) === b;
755
755
  }
756
756
  function bt(s) {
757
- return v(s) === x;
757
+ return v(s) === V;
758
758
  }
759
759
  function dt(s) {
760
760
  return v(s) === r;
@@ -818,17 +818,17 @@ function nr() {
818
818
  return e.isMemo(b) ? g : n[b.$$typeof] || t;
819
819
  }
820
820
  var i = Object.defineProperty, A = Object.getOwnPropertyNames, u = Object.getOwnPropertySymbols, a = Object.getOwnPropertyDescriptor, o = Object.getPrototypeOf, N = Object.prototype;
821
- function x(b, l, V) {
821
+ function V(b, l, x) {
822
822
  if (typeof l != "string") {
823
823
  if (N) {
824
824
  var X = o(l);
825
- X && X !== N && x(b, X, V);
825
+ X && X !== N && V(b, X, x);
826
826
  }
827
827
  var y = A(l);
828
828
  u && (y = y.concat(u(l)));
829
829
  for (var Z = C(b), v = C(l), I = 0; I < y.length; ++I) {
830
830
  var h = y[I];
831
- if (!r[h] && !(V && V[h]) && !(v && v[h]) && !(Z && Z[h])) {
831
+ if (!r[h] && !(x && x[h]) && !(v && v[h]) && !(Z && Z[h])) {
832
832
  var p = a(l, h);
833
833
  try {
834
834
  i(b, h, p);
@@ -839,7 +839,7 @@ function nr() {
839
839
  }
840
840
  return b;
841
841
  }
842
- return Ie = x, Ie;
842
+ return Ie = V, Ie;
843
843
  }
844
844
  nr();
845
845
  var Ir = !0;
@@ -951,10 +951,10 @@ var ir = {
951
951
  case "animationName":
952
952
  if (typeof r == "string")
953
953
  return r.replace(Ar, function(c, g, n) {
954
- return J = {
954
+ return F = {
955
955
  name: g,
956
956
  styles: n,
957
- next: J
957
+ next: F
958
958
  }, g;
959
959
  });
960
960
  }
@@ -972,20 +972,20 @@ function O(e, t, r) {
972
972
  case "object": {
973
973
  var g = r;
974
974
  if (g.anim === 1)
975
- return J = {
975
+ return F = {
976
976
  name: g.name,
977
977
  styles: g.styles,
978
- next: J
978
+ next: F
979
979
  }, g.name;
980
980
  var n = r;
981
981
  if (n.styles !== void 0) {
982
982
  var C = n.next;
983
983
  if (C !== void 0)
984
984
  for (; C !== void 0; )
985
- J = {
985
+ F = {
986
986
  name: C.name,
987
987
  styles: C.styles,
988
- next: J
988
+ next: F
989
989
  }, C = C.next;
990
990
  var i = n.styles + ";";
991
991
  return i;
@@ -994,8 +994,8 @@ function O(e, t, r) {
994
994
  }
995
995
  case "function": {
996
996
  if (e !== void 0) {
997
- var A = J, u = r(e);
998
- return J = A, O(e, t, u);
997
+ var A = F, u = r(e);
998
+ return F = A, O(e, t, u);
999
999
  }
1000
1000
  break;
1001
1001
  }
@@ -1032,12 +1032,12 @@ function ur(e, t, r) {
1032
1032
  }
1033
1033
  return c;
1034
1034
  }
1035
- var Se = /label:\s*([^\s;{]+)\s*(;|$)/g, J;
1035
+ var Se = /label:\s*([^\s;{]+)\s*(;|$)/g, F;
1036
1036
  function be(e, t, r) {
1037
1037
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1038
1038
  return e[0];
1039
1039
  var c = !0, g = "";
1040
- J = void 0;
1040
+ F = void 0;
1041
1041
  var n = e[0];
1042
1042
  if (n == null || n.raw === void 0)
1043
1043
  c = !1, g += O(r, t, n);
@@ -1057,7 +1057,7 @@ function be(e, t, r) {
1057
1057
  return {
1058
1058
  name: o,
1059
1059
  styles: g,
1060
- next: J
1060
+ next: F
1061
1061
  };
1062
1062
  }
1063
1063
  var or = function(t) {
@@ -1069,7 +1069,7 @@ var or = function(t) {
1069
1069
  // and we could have a special build just for that
1070
1070
  // but this is much easier and the native packages
1071
1071
  // might use a different theme context in the future anyway
1072
- typeof HTMLElement < "u" ? /* @__PURE__ */ Le({
1072
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Ee({
1073
1073
  key: "css"
1074
1074
  }) : null
1075
1075
  ), br = Me.Provider, $e = function(t) {
@@ -1159,7 +1159,7 @@ const Zr = (e) => {
1159
1159
  children: e,
1160
1160
  prefixClassName: t
1161
1161
  }) => {
1162
- const r = Zr(() => Le({
1162
+ const r = Zr(() => Ee({
1163
1163
  key: "css",
1164
1164
  stylisPlugins: [pr(t)]
1165
1165
  })).current;
@@ -1172,29 +1172,29 @@ const Zr = (e) => {
1172
1172
  const c = Object.keys(t), g = Object.keys(r);
1173
1173
  return c.length !== g.length ? !1 : c.every((n) => e(t[n], r[n]));
1174
1174
  }, vr = (e, t) => yr(Object.is, e, t), hr = (e, t = vr) => {
1175
- const [r, c] = Fe(() => e), g = t(r, e) ? r : e;
1175
+ const [r, c] = Je(() => e), g = t(r, e) ? r : e;
1176
1176
  return r !== g && c(() => g), g;
1177
1177
  };
1178
- class Vr extends Error {
1178
+ class xr extends Error {
1179
1179
  constructor(t) {
1180
1180
  super(t), this.name = "AssertionError";
1181
1181
  }
1182
1182
  }
1183
- function xr(e, t, r) {
1183
+ function Vr(e, t, r) {
1184
1184
  if (!t(e))
1185
- throw new Vr(r);
1185
+ throw new xr(r);
1186
1186
  }
1187
1187
  function Wr(e, t, r) {
1188
- return xr(e, t, r), e;
1188
+ return Vr(e, t, r), e;
1189
1189
  }
1190
1190
  const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t), Br = ({
1191
1191
  className: e
1192
1192
  }) => {
1193
1193
  const t = `.${e}.${e}.${e}`;
1194
- return /* @__PURE__ */ S(Gr, { styles: /* @__PURE__ */ Ae(".", t, "{line-height:1.5;box-sizing:border-box;font-family:system-ui;-webkit-font-smoothing:antialiased;a{cursor:pointer;}button{cursor:pointer;}p{display:block;}u{text-decoration:underline;}s{text-decoration:line-through;}em{font-style:italic;}}.", t, ` :not(
1195
- .`, t, `-custom-component *,
1194
+ return /* @__PURE__ */ S(Gr, { styles: /* @__PURE__ */ Ae(t, "{line-height:1.5;box-sizing:border-box;font-family:system-ui;-webkit-font-smoothing:antialiased;a{cursor:pointer;}button{cursor:pointer;}p{display:block;}u{text-decoration:underline;}s{text-decoration:line-through;}em{font-style:italic;}}", t, ` :not(
1195
+ .`, e, `-custom-component *,
1196
1196
  .`, e, `-custom-component
1197
- ){all:unset;}` + (process.env.NODE_ENV === "production" ? "" : ";label:ResetStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9ib2hkYW55ZWZpbWVua28vcHJvamVjdHMvYm9rby9wYWNrYWdlcy9kb21haW4tc2hhcmVkL3NyYy91aS9jb21wb25lbnRzL3Jlc2V0LXN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT2lCIiwiZmlsZSI6Ii9Vc2Vycy9ib2hkYW55ZWZpbWVua28vcHJvamVjdHMvYm9rby9wYWNrYWdlcy9kb21haW4tc2hhcmVkL3NyYy91aS9jb21wb25lbnRzL3Jlc2V0LXN0eWxlcy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHbG9iYWwsIGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuXG5leHBvcnQgY29uc3QgUmVzZXRTdHlsZXMgPSAoeyBjbGFzc05hbWUgfTogeyBjbGFzc05hbWU6IHN0cmluZyB9KSA9PiB7XG4gIGNvbnN0IGd1YXJkU2VsZWN0b3IgPSBgLiR7Y2xhc3NOYW1lfS4ke2NsYXNzTmFtZX0uJHtjbGFzc05hbWV9YDtcblxuICByZXR1cm4gKFxuICAgIDxHbG9iYWxcbiAgICAgIHN0eWxlcz17Y3NzYFxuICAgICAgICAuJHtndWFyZFNlbGVjdG9yfSB7XG4gICAgICAgICAgbGluZS1oZWlnaHQ6IDEuNTtcbiAgICAgICAgICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICAgICAgICAgIGZvbnQtZmFtaWx5OiBzeXN0ZW0tdWk7XG4gICAgICAgICAgLXdlYmtpdC1mb250LXNtb290aGluZzogYW50aWFsaWFzZWQ7XG5cbiAgICAgICAgICBhIHtcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBidXR0b24ge1xuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHAge1xuICAgICAgICAgICAgZGlzcGxheTogYmxvY2s7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgdSB7XG4gICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBzIHtcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbGluZS10aHJvdWdoO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGVtIHtcbiAgICAgICAgICAgIGZvbnQtc3R5bGU6IGl0YWxpYztcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAuJHtndWFyZFNlbGVjdG9yfVxuICAgICAgICAgIDpub3QoXG4gICAgICAgICAgICAuJHtndWFyZFNlbGVjdG9yfS1jdXN0b20tY29tcG9uZW50ICosXG4gICAgICAgICAgICAuJHtjbGFzc05hbWV9LWN1c3RvbS1jb21wb25lbnRcbiAgICAgICAgICApIHtcbiAgICAgICAgICBhbGw6IHVuc2V0O1xuICAgICAgICB9XG4gICAgICBgfVxuICAgIC8+XG4gICk7XG59O1xuIl19 */") });
1197
+ ){all:unset;}` + (process.env.NODE_ENV === "production" ? "" : ";label:ResetStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9ib2hkYW55ZWZpbWVua28vcHJvamVjdHMvYm9rby9wYWNrYWdlcy9kb21haW4tc2hhcmVkL3NyYy91aS9jb21wb25lbnRzL3Jlc2V0LXN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT2lCIiwiZmlsZSI6Ii9Vc2Vycy9ib2hkYW55ZWZpbWVua28vcHJvamVjdHMvYm9rby9wYWNrYWdlcy9kb21haW4tc2hhcmVkL3NyYy91aS9jb21wb25lbnRzL3Jlc2V0LXN0eWxlcy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHbG9iYWwsIGNzcyB9IGZyb20gXCJAZW1vdGlvbi9yZWFjdFwiO1xuXG5leHBvcnQgY29uc3QgUmVzZXRTdHlsZXMgPSAoeyBjbGFzc05hbWUgfTogeyBjbGFzc05hbWU6IHN0cmluZyB9KSA9PiB7XG4gIGNvbnN0IGd1YXJkU2VsZWN0b3IgPSBgLiR7Y2xhc3NOYW1lfS4ke2NsYXNzTmFtZX0uJHtjbGFzc05hbWV9YDtcblxuICByZXR1cm4gKFxuICAgIDxHbG9iYWxcbiAgICAgIHN0eWxlcz17Y3NzYFxuICAgICAgICAke2d1YXJkU2VsZWN0b3J9IHtcbiAgICAgICAgICBsaW5lLWhlaWdodDogMS41O1xuICAgICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgICAgICAgZm9udC1mYW1pbHk6IHN5c3RlbS11aTtcbiAgICAgICAgICAtd2Via2l0LWZvbnQtc21vb3RoaW5nOiBhbnRpYWxpYXNlZDtcblxuICAgICAgICAgIGEge1xuICAgICAgICAgICAgY3Vyc29yOiBwb2ludGVyO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGJ1dHRvbiB7XG4gICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgcCB7XG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcbiAgICAgICAgICB9XG5cbiAgICAgICAgICB1IHtcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIHMge1xuICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBsaW5lLXRocm91Z2g7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgZW0ge1xuICAgICAgICAgICAgZm9udC1zdHlsZTogaXRhbGljO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7Z3VhcmRTZWxlY3Rvcn1cbiAgICAgICAgOm5vdChcbiAgICAgICAgICAgIC4ke2NsYXNzTmFtZX0tY3VzdG9tLWNvbXBvbmVudCAqLFxuICAgICAgICAgICAgLiR7Y2xhc3NOYW1lfS1jdXN0b20tY29tcG9uZW50XG4gICAgICAgICAgKSB7XG4gICAgICAgICAgYWxsOiB1bnNldDtcbiAgICAgICAgfVxuICAgICAgYH1cbiAgICAvPlxuICApO1xufTtcbiJdfQ== */") });
1198
1198
  }, Sr = (e) => ({
1199
1199
  backgroundColor: e.props.background.color.default,
1200
1200
  color: e.props.text.color.default
@@ -1224,7 +1224,7 @@ const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t)
1224
1224
  flex: "0 0 auto"
1225
1225
  };
1226
1226
  }
1227
- }, Fr = (e) => {
1227
+ }, Jr = (e) => {
1228
1228
  switch (e.vertical) {
1229
1229
  case "start":
1230
1230
  return {
@@ -1239,11 +1239,11 @@ const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t)
1239
1239
  alignItems: "flex-end"
1240
1240
  };
1241
1241
  }
1242
- }, Jr = (e) => ({
1242
+ }, Fr = (e) => ({
1243
1243
  display: "flex",
1244
1244
  flexDirection: "column",
1245
1245
  ...wr(e.props.flexChildSize),
1246
- ...Fr(e.props.alignment)
1246
+ ...Jr(e.props.alignment)
1247
1247
  }), kr = (e) => e.props.type === "placeholder" ? null : {
1248
1248
  width: `${String(e.props.width)}px`,
1249
1249
  height: `${String(e.props.height)}px`,
@@ -1285,17 +1285,17 @@ const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t)
1285
1285
  a: {
1286
1286
  color: "blue"
1287
1287
  }
1288
- }, Er = () => Pr, Ke = yt(null), Ur = ({
1288
+ }, Lr = () => Pr, Ke = yt(null), Ur = ({
1289
1289
  children: e,
1290
1290
  client: t
1291
1291
  }) => /* @__PURE__ */ S(Ke, { value: {
1292
1292
  client: t
1293
- }, children: e }), Lr = () => Nr(vt(Ke)).client, Qr = ({
1293
+ }, children: e }), Er = () => Nr(vt(Ke)).client, Qr = ({
1294
1294
  campaignId: e,
1295
1295
  customComponents: t = {}
1296
1296
  } = {}) => {
1297
- const [r, c] = Fe(null), g = Lr(), n = ht(), C = hr(Xe(g.propertiesStore.subscribe, () => g.propertiesStore.get())), i = Xe(g.pathnameStore.subscribe, () => g.pathnameStore.get());
1298
- return Vt(() => {
1297
+ const [r, c] = Je(null), g = Er(), n = ht(), C = hr(Xe(g.propertiesStore.subscribe, () => g.propertiesStore.get())), i = Xe(g.pathnameStore.subscribe, () => g.pathnameStore.get());
1298
+ return xt(() => {
1299
1299
  (async () => {
1300
1300
  try {
1301
1301
  const a = await g.getEligibleCampaign({
@@ -1319,7 +1319,7 @@ const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t)
1319
1319
  case "row":
1320
1320
  return /* @__PURE__ */ S("div", { css: zr(a), children: a.children.map((o) => u(o)) }, a.id);
1321
1321
  case "column":
1322
- return /* @__PURE__ */ S("div", { css: Jr(a), children: a.children.map((o) => u(o)) }, a.id);
1322
+ return /* @__PURE__ */ S("div", { css: Fr(a), children: a.children.map((o) => u(o)) }, a.id);
1323
1323
  case "button":
1324
1324
  return /* @__PURE__ */ S("button", { type: "button", css: /* @__PURE__ */ Ae({
1325
1325
  ...Hr(a),
@@ -1329,7 +1329,7 @@ const Rr = (e) => e !== null, Nr = (e, t = "should be non null") => Wr(e, Rr, t)
1329
1329
  }
1330
1330
  }, process.env.NODE_ENV === "production" ? "" : ";label:renderNode;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9ib2hkYW55ZWZpbWVua28vcHJvamVjdHMvYm9rby9wYWNrYWdlcy9zZGstcmVhY3Qvc3JjL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnSWMiLCJmaWxlIjoiL1VzZXJzL2JvaGRhbnllZmltZW5rby9wcm9qZWN0cy9ib2tvL3BhY2thZ2VzL3Nkay1yZWFjdC9zcmMvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ3JlYXRlQ2FjaGUgfSBmcm9tIFwiQHRydWVjb2RlaW8vY2xpZW50LWNvbW1vbi9lbW90aW9uL2NvbXBvbmVudHMvY3JlYXRlL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SA9PiB7XG4gICAgICB0cnkge1xuICAgICAgICBjb25zdCByZXNwb25zZSA9IGF3YWl0IGNsaWVudC5nZXRFbGlnaWJsZUNhbXBhaWduKHtcbiAgICAgICAgICBwcm9wZXJ0aWVzLFxuICAgICAgICAgIHBhdGhuYW1lLFxuICAgICAgICB9KTtcblxuICAgICAgICBzZXRDYW1wYWlnbihyZXNwb25zZSk7XG4gICAgICB9IGNhdGNoIChlcnJvcikge1xuICAgICAgICBjb25zb2xlLmVycm9yKFwiRXJyb3IgZmV0Y2hpbmcgY2FtcGFpZ246XCIsIGVycm9yKTtcbiAgICAgIH1cbiAgICB9O1xuXG4gICAgdm9pZCBmZXRjaENhbXBhaWduKCk7XG4gIH0sIFtjYW1wYWlnbklkLCBjbGllbnQsIHByb3BlcnRpZXMsIHBhdGhuYW1lXSk7XG5cbiAgY29uc3QgcmVuZGVyQ2FtcGFpZ24gPSAoKSA9PiB7XG4gICAgaWYgKCFjYW1wYWlnbikge1xuICAgICAgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgY29uc3QgcmVuZGVyTm9kZSA9IChub2RlOiBOb2RlVCkgPT4ge1xuICAgICAgc3dpdGNoIChub2RlLnR5cGUpIHtcbiAgICAgICAgY2FzZSBcInJvb3RcIjoge1xuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8ZGl2IGNzcz17eyBjb2xvcjogbm9kZS5wcm9wcy5jb2xvciB9fT5cbiAgICAgICAgICAgICAge25vZGUuY2hpbGRyZW4ubWFwKChjaGlsZCkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiByZW5kZXJOb2RlKGNoaWxkKTtcbiAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGNhc2UgXCJyb3dcIjoge1xuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8ZGl2IGNzcz17bWFwUm93Tm9kZVRvU3R5bGVzKG5vZGUpfSBrZXk9e25vZGUuaWR9PlxuICAgICAgICAgICAgICB7bm9kZS5jaGlsZHJlbi5tYXAoKGNoaWxkKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHJlbmRlck5vZGUoY2hpbGQpO1xuICAgICAgICAgICAgICB9KX1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgY2FzZSBcImNvbHVtblwiOiB7XG4gICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxkaXYgY3NzPXttYXBDb2x1bW5Ob2RlVG9TdHlsZXMobm9kZSl9IGtleT17bm9kZS5pZH0+XG4gICAgICAgICAgICAgIHtub2RlLmNoaWxkcmVuLm1hcCgoY2hpbGQpID0+IHtcbiAgICAgICAgICAgICAgICByZXR1cm4gcmVuZGVyTm9kZShjaGlsZCk7XG4gICAgICAgICAgICAgIH0pfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgKTtcbiAgICAgICAgfVxuICAgICAgICBjYXNlIFwiYnV0dG9uXCI6IHtcbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgY3NzPXt7XG4gICAgICAgICAgICAgICAgLi4ubWFwQnV0dG9uTm9kZVRvU3R5bGVzKG5vZGUpLFxuICAgICAgICAgICAgICAgIC4uLm1hcEJ1dHRvbk5vZGVUb0RlZmF1bHRTdHlsZXMobm9kZSksXG4gICAgICAgICAgICAgICAgXCImOmhvdmVyXCI6IHsgLi4ubWFwQnV0dG9uTm9kZVRvSG92ZXJTdHlsZXMobm9kZSkgfSxcbiAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAga2V5PXtub2RlLmlkfVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICB7bm9kZS5wcm9wcy50aXRsZX1cbiAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICk7XG4gICAgICAgIH1cbiAgICAgICAgY2FzZSBcInRleHRcIjoge1xuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgIGNzcz17bWFwVGV4dE5vZGVUb1N0eWxlcygpfVxuICAgICAgICAgICAgICBkYW5nZXJvdXNseVNldElubmVySFRNTD17eyBfX2h0bWw6IG5vZGUucHJvcHMuY29udGVudCB9fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApO1xuICAgICAgICB9XG4gICAgICAgIGNhc2UgXCJzcGFjZXJcIjoge1xuICAgICAgICAgIHJldHVybiA8ZGl2IGNzcz17bWFwU3BhY2VyTm9kZVRvU3R5bGVzKG5vZGUpfSBrZXk9e25vZGUuaWR9PjwvZGl2PjtcbiAgICAgICAgfVxuICAgICAgICBjYXNlIFwiaW1hZ2VcIjoge1xuICAgICAgICAgIHN3aXRjaCAobm9kZS5wcm9wcy50eXBlKSB7XG4gICAgICAgICAgICBjYXNlIFwicGxhY2Vob2xkZXJcIjoge1xuICAgICAgICAgICAgICByZXR1cm4gPGRpdj5pbWFnZSBwbGFjZWhvbGRlcjwvZGl2PjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGNhc2UgXCJpbWFnZVwiOiB7XG4gICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgc3JjPXtub2RlLnByb3BzLnVybH1cbiAgICAgICAgICAgICAgICAgIGFsdD17bm9kZS5wcm9wcy5hbHRUZXh0fVxuICAgICAgICAgICAgICAgICAgY3NzPXttYXBJbWFnZU5vZGVUb1N0eWxlcyhub2RlKX1cbiAgICAgICAgICAgICAgICAgIGtleT17bm9kZS5pZH1cbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBkZWZhdWx0OiB7XG4gICAgICAgICAgICAgIHJldHVybiBub2RlLnByb3BzIHNhdGlzZmllcyBuZXZlcjtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgY2FzZSBcImN1c3RvbS1jb21wb25lbnRcIjoge1xuICAgICAgICAgIGNvbnN0IEN1c3RvbUNvbXBvbmVudCA9IGN1c3RvbUNvbXBvbmVudHNbbm9kZS5jb21wb25lbnRJZF07XG5cbiAgICAgICAgICBpZiAoIUN1c3RvbUNvbXBvbmVudCkge1xuICAgICAgICAgICAgcmV0dXJuIG51bGw7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgY2xhc3NOYW1lPXtgJHtwcmVmaXhDbGFzc05hbWV9LWN1c3RvbS1jb21wb25lbnRgfVxuICAgICAgICAgICAgICBrZXk9e25vZGUuaWR9XG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIDxDdXN0b21Db21wb25lbnQgey4uLm5vZGV9IC8+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICApO1xuICAgICAgICB9XG5cbiAgICAgICAgZGVmYXVsdDoge1xuICAgICAgICAgIHJldHVybiBub2RlIHNhdGlzZmllcyBuZXZlcjtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH07XG5cbiAgICByZXR1cm4gKFxuICAgICAgPGRpdiBjbGFzc05hbWU9e3ByZWZpeENsYXNzTmFtZX0+XG4gICAgICAgIDxSZXNldFN0eWxlcyBjbGFzc05hbWU9e3ByZWZpeENsYXNzTmFtZX0gLz5cbiAgICAgICAgPENyZWF0ZUNhY2hlIHByZWZpeENsYXNzTmFtZT17cHJlZml4Q2xhc3NOYW1lfT5cbiAgICAgICAgICB7cmVuZGVyTm9kZShjYW1wYWlnbi50ZW1wbGF0ZS5jb250ZW50KX1cbiAgICAgICAgPC9DcmVhdGVDYWNoZT5cbiAgICAgIDwvZGl2PlxuICAgICk7XG4gIH07XG5cbiAgcmV0dXJuIHJlbmRlckNhbXBhaWduKCk7XG59O1xuXG5leHBvcnQgeyBjcmVhdGVCb2tvQ2xpZW50IH0gZnJvbSBcIkB0cnVlY29kZWlvL3Nkay1jb3JlXCI7XG4iXX0= */"), children: a.props.title }, a.id);
1331
1331
  case "text":
1332
- return /* @__PURE__ */ S("div", { css: Er(), dangerouslySetInnerHTML: {
1332
+ return /* @__PURE__ */ S("div", { css: Lr(), dangerouslySetInnerHTML: {
1333
1333
  __html: a.props.content
1334
1334
  } });
1335
1335
  case "spacer":
@@ -1361,6 +1361,6 @@ export {
1361
1361
  Ur as ClientProvider,
1362
1362
  Qr as Renderer,
1363
1363
  $r as createBokoClient,
1364
- Lr as useClient
1364
+ Er as useClient
1365
1365
  };
1366
1366
  //# sourceMappingURL=index.js.map