@everymatrix/general-registration 1.90.23 → 1.90.25

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,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var en = Object.defineProperty, tn = Object.defineProperties;
4
- var rn = Object.getOwnPropertyDescriptors;
3
+ var tn = Object.defineProperty, rn = Object.defineProperties;
4
+ var nn = Object.getOwnPropertyDescriptors;
5
5
  var St = Object.getOwnPropertySymbols;
6
- var nn = Object.prototype.hasOwnProperty, on = Object.prototype.propertyIsEnumerable;
7
- var Ze = (e, t, r) => t in e ? en(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
6
+ var on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
7
+ var Ze = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
8
8
  for (var r in t || (t = {}))
9
- nn.call(t, r) && Ze(e, r, t[r]);
9
+ on.call(t, r) && Ze(e, r, t[r]);
10
10
  if (St)
11
11
  for (var r of St(t))
12
- on.call(t, r) && Ze(e, r, t[r]);
12
+ an.call(t, r) && Ze(e, r, t[r]);
13
13
  return e;
14
- }, Je = (e, t) => tn(e, rn(t));
14
+ }, Je = (e, t) => rn(e, nn(t));
15
15
  var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
16
16
  var re = (e, t, r) => new Promise((n, i) => {
17
17
  var o = (c) => {
@@ -46,7 +46,7 @@ function gt(e) {
46
46
  function _t(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
- function an(e) {
49
+ function sn(e) {
50
50
  return Object.keys(e).length === 0;
51
51
  }
52
52
  function tr(e, ...t) {
@@ -58,20 +58,20 @@ function tr(e, ...t) {
58
58
  const r = e.subscribe(...t);
59
59
  return r.unsubscribe ? () => r.unsubscribe() : r;
60
60
  }
61
- function sn(e, t, r) {
61
+ function ln(e, t, r) {
62
62
  e.$$.on_destroy.push(tr(t, r));
63
63
  }
64
64
  function x(e, t) {
65
65
  e.appendChild(t);
66
66
  }
67
- function ln(e, t, r) {
68
- const n = cn(e);
67
+ function cn(e, t, r) {
68
+ const n = un(e);
69
69
  if (!n.getElementById(t)) {
70
- const i = w("style");
71
- i.id = t, i.textContent = r, un(n, i);
70
+ const i = T("style");
71
+ i.id = t, i.textContent = r, hn(n, i);
72
72
  }
73
73
  }
74
- function cn(e) {
74
+ function un(e) {
75
75
  if (!e)
76
76
  return document;
77
77
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -81,7 +81,7 @@ function cn(e) {
81
81
  t
82
82
  ) : e.ownerDocument;
83
83
  }
84
- function un(e, t) {
84
+ function hn(e, t) {
85
85
  return x(
86
86
  /** @type {Document} */
87
87
  e.head || e,
@@ -98,7 +98,7 @@ function yt(e, t) {
98
98
  for (let r = 0; r < e.length; r += 1)
99
99
  e[r] && e[r].d(t);
100
100
  }
101
- function w(e) {
101
+ function T(e) {
102
102
  return document.createElement(e);
103
103
  }
104
104
  function it(e) {
@@ -110,7 +110,7 @@ function ee(e) {
110
110
  function F() {
111
111
  return ee(" ");
112
112
  }
113
- function hn() {
113
+ function dn() {
114
114
  return ee("");
115
115
  }
116
116
  function Ce(e, t, r, n) {
@@ -123,7 +123,7 @@ function K(e, t, r) {
123
123
  const n = t.toLowerCase();
124
124
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
125
125
  }
126
- function dn(e) {
126
+ function mn(e) {
127
127
  return Array.from(e.childNodes);
128
128
  }
129
129
  function Te(e, t) {
@@ -164,7 +164,7 @@ class rr {
164
164
  this.e || (this.is_svg ? this.e = it(
165
165
  /** @type {keyof SVGElementTagNameMap} */
166
166
  r.nodeName
167
- ) : this.e = w(
167
+ ) : this.e = T(
168
168
  /** @type {keyof HTMLElementTagNameMap} */
169
169
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
170
170
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -200,7 +200,7 @@ class rr {
200
200
  this.n.forEach(O);
201
201
  }
202
202
  }
203
- function mn(e) {
203
+ function fn(e) {
204
204
  const t = {};
205
205
  return e.childNodes.forEach(
206
206
  /** @param {Element} node */
@@ -213,20 +213,20 @@ let Se;
213
213
  function Ee(e) {
214
214
  Se = e;
215
215
  }
216
- function fn() {
216
+ function pn() {
217
217
  if (!Se)
218
218
  throw new Error("Function called outside component initialization");
219
219
  return Se;
220
220
  }
221
- function pn(e) {
222
- fn().$$.on_mount.push(e);
221
+ function gn(e) {
222
+ pn().$$.on_mount.push(e);
223
223
  }
224
224
  const oe = [], Re = [];
225
225
  let se = [];
226
- const wt = [], gn = /* @__PURE__ */ Promise.resolve();
226
+ const wt = [], _n = /* @__PURE__ */ Promise.resolve();
227
227
  let ot = !1;
228
- function _n() {
229
- ot || (ot = !0, gn.then(X));
228
+ function yn() {
229
+ ot || (ot = !0, _n.then(X));
230
230
  }
231
231
  function at(e) {
232
232
  se.push(e);
@@ -241,7 +241,7 @@ function X() {
241
241
  try {
242
242
  for (; ne < oe.length; ) {
243
243
  const t = oe[ne];
244
- ne++, Ee(t), yn(t.$$);
244
+ ne++, Ee(t), vn(t.$$);
245
245
  }
246
246
  } catch (t) {
247
247
  throw oe.length = 0, ne = 0, t;
@@ -258,37 +258,37 @@ function X() {
258
258
  wt.pop()();
259
259
  ot = !1, Qe.clear(), Ee(e);
260
260
  }
261
- function yn(e) {
261
+ function vn(e) {
262
262
  if (e.fragment !== null) {
263
263
  e.update(), me(e.before_update);
264
264
  const t = e.dirty;
265
265
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
266
266
  }
267
267
  }
268
- function vn(e) {
268
+ function bn(e) {
269
269
  const t = [], r = [];
270
270
  se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
271
271
  }
272
- const bn = /* @__PURE__ */ new Set();
273
- function kn(e, t) {
274
- e && e.i && (bn.delete(e), e.i(t));
272
+ const kn = /* @__PURE__ */ new Set();
273
+ function En(e, t) {
274
+ e && e.i && (kn.delete(e), e.i(t));
275
275
  }
276
276
  function le(e) {
277
277
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
278
278
  }
279
- function En(e, t, r) {
279
+ function Cn(e, t, r) {
280
280
  const { fragment: n, after_update: i } = e.$$;
281
281
  n && n.m(t, r), at(() => {
282
282
  const o = e.$$.on_mount.map(er).filter(gt);
283
283
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
284
284
  }), i.forEach(at);
285
285
  }
286
- function Cn(e, t) {
286
+ function Sn(e, t) {
287
287
  const r = e.$$;
288
- r.fragment !== null && (vn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
288
+ r.fragment !== null && (bn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
289
289
  }
290
- function Sn(e, t) {
291
- e.$$.dirty[0] === -1 && (oe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
290
+ function xn(e, t) {
291
+ e.$$.dirty[0] === -1 && (oe.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
292
292
  }
293
293
  function nr(e, t, r, n, i, o, a = null, s = [-1]) {
294
294
  const c = Se;
@@ -318,14 +318,14 @@ function nr(e, t, r, n, i, o, a = null, s = [-1]) {
318
318
  let u = !1;
319
319
  if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
320
320
  const g = y.length ? y[0] : m;
321
- return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && Sn(e, d)), m;
321
+ return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && xn(e, d)), m;
322
322
  }) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
323
323
  if (t.hydrate) {
324
- const d = dn(t.target);
324
+ const d = mn(t.target);
325
325
  l.fragment && l.fragment.l(d), d.forEach(O);
326
326
  } else
327
327
  l.fragment && l.fragment.c();
328
- t.intro && kn(e.$$.fragment), En(e, t.target, t.anchor), X();
328
+ t.intro && En(e.$$.fragment), Cn(e, t.target, t.anchor), X();
329
329
  }
330
330
  Ee(c);
331
331
  }
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
374
374
  let a;
375
375
  return {
376
376
  c: function() {
377
- a = w("slot"), o !== "default" && k(a, "name", o);
377
+ a = T("slot"), o !== "default" && k(a, "name", o);
378
378
  },
379
379
  /**
380
380
  * @param {HTMLElement} target
@@ -391,7 +391,7 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
391
391
  };
392
392
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
393
393
  return;
394
- const r = {}, n = mn(this);
394
+ const r = {}, n = fn(this);
395
395
  for (const o of this.$$s)
396
396
  o in n && (r[o] = [t(o)]);
397
397
  for (const o of this.attributes) {
@@ -532,7 +532,7 @@ class ar {
532
532
  }
533
533
  /** @returns {void} */
534
534
  $destroy() {
535
- Cn(this, 1), this.$destroy = $;
535
+ Sn(this, 1), this.$destroy = $;
536
536
  }
537
537
  /**
538
538
  * @template {Extract<keyof Events, string>} K
@@ -554,19 +554,19 @@ class ar {
554
554
  * @returns {void}
555
555
  */
556
556
  $set(t) {
557
- this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
557
+ this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
558
558
  }
559
559
  }
560
- const xn = "4";
561
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
560
+ const wn = "4";
561
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
562
562
  const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
563
- function wn(e, t) {
563
+ function Tn(e, t) {
564
564
  if (e) {
565
565
  const r = document.createElement("style");
566
566
  r.innerHTML = t, e.appendChild(r);
567
567
  }
568
568
  }
569
- function Tn(e, t) {
569
+ function Mn(e, t) {
570
570
  if (!e || !t)
571
571
  return;
572
572
  const r = new URL(t);
@@ -577,12 +577,12 @@ function Tn(e, t) {
577
577
  console.error("There was an error while trying to load client styling from URL", n);
578
578
  });
579
579
  }
580
- function Mn(e, t, r, n = !1) {
580
+ function Nn(e, t, r, n = !1) {
581
581
  if (!window.emMessageBus)
582
582
  return;
583
583
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
584
- return r = Nn(e, t), r;
585
- window[ae] || (window[ae] = {}), r = An(e, t);
584
+ return r = An(e, t), r;
585
+ window[ae] || (window[ae] = {}), r = Hn(e, t);
586
586
  const o = r.unsubscribe.bind(r), a = () => {
587
587
  if (window[ae][t]) {
588
588
  const s = window[ae][t];
@@ -592,13 +592,13 @@ function Mn(e, t, r, n = !1) {
592
592
  };
593
593
  return r.unsubscribe = a, r;
594
594
  }
595
- function Nn(e, t) {
595
+ function An(e, t) {
596
596
  const r = document.createElement("style");
597
597
  return window.emMessageBus.subscribe(t, (n) => {
598
598
  e && (r.innerHTML = n, e.appendChild(r));
599
599
  });
600
600
  }
601
- function An(e, t) {
601
+ function Hn(e, t) {
602
602
  return window.emMessageBus.subscribe(t, (r) => {
603
603
  if (!e)
604
604
  return;
@@ -613,7 +613,7 @@ function An(e, t) {
613
613
  });
614
614
  }
615
615
  const ie = [];
616
- function Hn(e, t) {
616
+ function Pn(e, t) {
617
617
  return {
618
618
  subscribe: Fe(e, t).subscribe
619
619
  };
@@ -649,7 +649,7 @@ function fe(e, t, r) {
649
649
  if (!i.every(Boolean))
650
650
  throw new Error("derived() expects stores as input, got a falsy value");
651
651
  const o = t.length < 2;
652
- return Hn(r, (a, s) => {
652
+ return Pn(r, (a, s) => {
653
653
  let c = !1;
654
654
  const l = [];
655
655
  let u = 0, d = $;
@@ -660,13 +660,13 @@ function fe(e, t, r) {
660
660
  const g = t(n ? l[0] : l, a, s);
661
661
  o ? a(g) : d = gt(g) ? g : $;
662
662
  }, y = i.map(
663
- (g, f) => tr(
663
+ (g, p) => tr(
664
664
  g,
665
665
  (S) => {
666
- l[f] = S, u &= ~(1 << f), c && m();
666
+ l[p] = S, u &= ~(1 << p), c && m();
667
667
  },
668
668
  () => {
669
- u |= 1 << f;
669
+ u |= 1 << p;
670
670
  }
671
671
  )
672
672
  );
@@ -675,47 +675,47 @@ function fe(e, t, r) {
675
675
  };
676
676
  });
677
677
  }
678
- function Pn(e) {
678
+ function Bn(e) {
679
679
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
680
680
  }
681
- var Bn = function(t) {
682
- return On(t) && !zn(t);
681
+ var On = function(t) {
682
+ return zn(t) && !Ln(t);
683
683
  };
684
- function On(e) {
684
+ function zn(e) {
685
685
  return !!e && typeof e == "object";
686
686
  }
687
- function zn(e) {
687
+ function Ln(e) {
688
688
  var t = Object.prototype.toString.call(e);
689
- return t === "[object RegExp]" || t === "[object Date]" || In(e);
690
- }
691
- var Ln = typeof Symbol == "function" && Symbol.for, jn = Ln ? Symbol.for("react.element") : 60103;
692
- function In(e) {
693
- return e.$$typeof === jn;
689
+ return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
694
690
  }
691
+ var jn = typeof Symbol == "function" && Symbol.for, In = jn ? Symbol.for("react.element") : 60103;
695
692
  function Rn(e) {
693
+ return e.$$typeof === In;
694
+ }
695
+ function Un(e) {
696
696
  return Array.isArray(e) ? [] : {};
697
697
  }
698
698
  function xe(e, t) {
699
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Rn(e), e, t) : e;
699
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Un(e), e, t) : e;
700
700
  }
701
- function Un(e, t, r) {
701
+ function Dn(e, t, r) {
702
702
  return e.concat(t).map(function(n) {
703
703
  return xe(n, r);
704
704
  });
705
705
  }
706
- function Dn(e, t) {
706
+ function Gn(e, t) {
707
707
  if (!t.customMerge)
708
708
  return ce;
709
709
  var r = t.customMerge(e);
710
710
  return typeof r == "function" ? r : ce;
711
711
  }
712
- function Gn(e) {
712
+ function Fn(e) {
713
713
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
714
714
  return Object.propertyIsEnumerable.call(e, t);
715
715
  }) : [];
716
716
  }
717
717
  function Tt(e) {
718
- return Object.keys(e).concat(Gn(e));
718
+ return Object.keys(e).concat(Fn(e));
719
719
  }
720
720
  function sr(e, t) {
721
721
  try {
@@ -724,21 +724,21 @@ function sr(e, t) {
724
724
  return !1;
725
725
  }
726
726
  }
727
- function Fn(e, t) {
727
+ function $n(e, t) {
728
728
  return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
729
729
  }
730
- function $n(e, t, r) {
730
+ function Vn(e, t, r) {
731
731
  var n = {};
732
732
  return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
733
733
  n[i] = xe(e[i], r);
734
734
  }), Tt(t).forEach(function(i) {
735
- Fn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
735
+ $n(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
736
736
  }), n;
737
737
  }
738
738
  function ce(e, t, r) {
739
- r = r || {}, r.arrayMerge = r.arrayMerge || Un, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = xe;
739
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = xe;
740
740
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
741
- return o ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : xe(t, r);
741
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : xe(t, r);
742
742
  }
743
743
  ce.all = function(t, r) {
744
744
  if (!Array.isArray(t))
@@ -747,8 +747,8 @@ ce.all = function(t, r) {
747
747
  return ce(n, i, r);
748
748
  }, {});
749
749
  };
750
- var Vn = ce, Xn = Vn;
751
- const qn = /* @__PURE__ */ Pn(Xn);
750
+ var Xn = ce, qn = Xn;
751
+ const Wn = /* @__PURE__ */ Bn(qn);
752
752
  var st = function(e, t) {
753
753
  return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
754
754
  r.__proto__ = n;
@@ -776,7 +776,7 @@ var Z = function() {
776
776
  return t;
777
777
  }, Z.apply(this, arguments);
778
778
  };
779
- function Wn(e, t) {
779
+ function Zn(e, t) {
780
780
  var r = {};
781
781
  for (var n in e)
782
782
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -792,17 +792,17 @@ function Ye(e, t, r) {
792
792
  return e.concat(o || Array.prototype.slice.call(t));
793
793
  }
794
794
  function Ke(e, t) {
795
- var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Qn;
795
+ var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Yn;
796
796
  return i(e, {
797
797
  cache: r,
798
798
  serializer: n
799
799
  });
800
800
  }
801
- function Zn(e) {
801
+ function Jn(e) {
802
802
  return e == null || typeof e == "number" || typeof e == "boolean";
803
803
  }
804
- function Jn(e, t, r, n) {
805
- var i = Zn(n) ? n : r(n), o = t.get(i);
804
+ function Qn(e, t, r, n) {
805
+ var i = Jn(n) ? n : r(n), o = t.get(i);
806
806
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
807
807
  }
808
808
  function lr(e, t, r) {
@@ -812,16 +812,16 @@ function lr(e, t, r) {
812
812
  function cr(e, t, r, n, i) {
813
813
  return r.bind(t, e, n, i);
814
814
  }
815
- function Qn(e, t) {
816
- var r = e.length === 1 ? Jn : lr;
815
+ function Yn(e, t) {
816
+ var r = e.length === 1 ? Qn : lr;
817
817
  return cr(e, this, r, t.cache.create(), t.serializer);
818
818
  }
819
- function Yn(e, t) {
819
+ function Kn(e, t) {
820
820
  return cr(e, this, lr, t.cache.create(), t.serializer);
821
821
  }
822
- var Kn = function() {
822
+ var ei = function() {
823
823
  return JSON.stringify(arguments);
824
- }, ei = (
824
+ }, ti = (
825
825
  /** @class */
826
826
  function() {
827
827
  function e() {
@@ -833,12 +833,12 @@ var Kn = function() {
833
833
  this.cache[t] = r;
834
834
  }, e;
835
835
  }()
836
- ), ti = {
836
+ ), ri = {
837
837
  create: function() {
838
- return new ei();
838
+ return new ti();
839
839
  }
840
840
  }, et = {
841
- variadic: Yn
841
+ variadic: Kn
842
842
  }, Ue = function() {
843
843
  return Ue = Object.assign || function(t) {
844
844
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -864,7 +864,7 @@ var ue;
864
864
  function Mt(e) {
865
865
  return e.type === P.literal;
866
866
  }
867
- function ri(e) {
867
+ function ni(e) {
868
868
  return e.type === P.argument;
869
869
  }
870
870
  function ur(e) {
@@ -882,7 +882,7 @@ function mr(e) {
882
882
  function fr(e) {
883
883
  return e.type === P.plural;
884
884
  }
885
- function ni(e) {
885
+ function ii(e) {
886
886
  return e.type === P.pound;
887
887
  }
888
888
  function pr(e) {
@@ -894,10 +894,10 @@ function gr(e) {
894
894
  function lt(e) {
895
895
  return !!(e && typeof e == "object" && e.type === ue.dateTime);
896
896
  }
897
- var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
898
- function oi(e) {
897
+ var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
898
+ function ai(e) {
899
899
  var t = {};
900
- return e.replace(ii, function(r) {
900
+ return e.replace(oi, function(r) {
901
901
  var n = r.length;
902
902
  switch (r[0]) {
903
903
  case "G":
@@ -996,11 +996,11 @@ var B = function() {
996
996
  return t;
997
997
  }, B.apply(this, arguments);
998
998
  };
999
- var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1000
- function si(e) {
999
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1000
+ function li(e) {
1001
1001
  if (e.length === 0)
1002
1002
  throw new Error("Number skeleton cannot be empty");
1003
- for (var t = e.split(ai).filter(function(m) {
1003
+ for (var t = e.split(si).filter(function(m) {
1004
1004
  return m.length > 0;
1005
1005
  }), r = [], n = 0, i = t; n < i.length; n++) {
1006
1006
  var o = i[n], a = o.split("/");
@@ -1015,10 +1015,10 @@ function si(e) {
1015
1015
  }
1016
1016
  return r;
1017
1017
  }
1018
- function li(e) {
1018
+ function ci(e) {
1019
1019
  return e.replace(/^(.*?)-/, "");
1020
1020
  }
1021
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ci = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1021
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1022
1022
  function At(e) {
1023
1023
  var t = {};
1024
1024
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
@@ -1065,7 +1065,7 @@ function br(e) {
1065
1065
  };
1066
1066
  }
1067
1067
  }
1068
- function ui(e) {
1068
+ function hi(e) {
1069
1069
  var t;
1070
1070
  if (e[0] === "E" && e[1] === "E" ? (t = {
1071
1071
  notation: "engineering"
@@ -1083,7 +1083,7 @@ function Ht(e) {
1083
1083
  var t = {}, r = br(e);
1084
1084
  return r || t;
1085
1085
  }
1086
- function hi(e) {
1086
+ function di(e) {
1087
1087
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1088
1088
  var i = n[r];
1089
1089
  switch (i.stem) {
@@ -1107,7 +1107,7 @@ function hi(e) {
1107
1107
  continue;
1108
1108
  case "measure-unit":
1109
1109
  case "unit":
1110
- t.style = "unit", t.unit = li(i.options[0]);
1110
+ t.style = "unit", t.unit = ci(i.options[0]);
1111
1111
  continue;
1112
1112
  case "compact-short":
1113
1113
  case "K":
@@ -1169,7 +1169,7 @@ function hi(e) {
1169
1169
  case "integer-width":
1170
1170
  if (i.options.length > 1)
1171
1171
  throw new RangeError("integer-width stems only accept a single optional option");
1172
- i.options[0].replace(ci, function(c, l, u, d, m, y) {
1172
+ i.options[0].replace(ui, function(c, l, u, d, m, y) {
1173
1173
  if (l)
1174
1174
  t.minimumIntegerDigits = u.length;
1175
1175
  else {
@@ -1202,7 +1202,7 @@ function hi(e) {
1202
1202
  }
1203
1203
  var a = br(i.stem);
1204
1204
  a && (t = B(B({}, t), a));
1205
- var s = ui(i.stem);
1205
+ var s = hi(i.stem);
1206
1206
  s && (t = B(B({}, t), s));
1207
1207
  }
1208
1208
  return t;
@@ -2622,13 +2622,13 @@ var ze = {
2622
2622
  "h"
2623
2623
  ]
2624
2624
  };
2625
- function di(e, t) {
2625
+ function mi(e, t) {
2626
2626
  for (var r = "", n = 0; n < e.length; n++) {
2627
2627
  var i = e.charAt(n);
2628
2628
  if (i === "j") {
2629
2629
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2630
2630
  o++, n++;
2631
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = mi(t);
2631
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = fi(t);
2632
2632
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2633
2633
  r += c;
2634
2634
  for (; a-- > 0; )
@@ -2638,7 +2638,7 @@ function di(e, t) {
2638
2638
  }
2639
2639
  return r;
2640
2640
  }
2641
- function mi(e) {
2641
+ function fi(e) {
2642
2642
  var t = e.hourCycle;
2643
2643
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2644
2644
  e.hourCycles && // @ts-ignore
@@ -2660,20 +2660,20 @@ function mi(e) {
2660
2660
  var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2661
2661
  return i[0];
2662
2662
  }
2663
- var tt, fi = new RegExp("^".concat(_r.source, "*")), pi = new RegExp("".concat(_r.source, "*$"));
2663
+ var tt, pi = new RegExp("^".concat(_r.source, "*")), gi = new RegExp("".concat(_r.source, "*$"));
2664
2664
  function A(e, t) {
2665
2665
  return { start: e, end: t };
2666
2666
  }
2667
- var gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), _i = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, bi = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, Ci = Ei ? Number.isSafeInteger : function(e) {
2667
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
2668
2668
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2669
2669
  }, ct = !0;
2670
2670
  try {
2671
- var Si = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2672
- ct = ((tt = Si.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2671
+ var xi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2672
+ ct = ((tt = xi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2673
2673
  } catch (e) {
2674
2674
  ct = !1;
2675
2675
  }
2676
- var Pt = gi ? (
2676
+ var Pt = _i ? (
2677
2677
  // Native
2678
2678
  function(t, r, n) {
2679
2679
  return t.startsWith(r, n);
@@ -2683,7 +2683,7 @@ var Pt = gi ? (
2683
2683
  function(t, r, n) {
2684
2684
  return t.slice(n, n + r.length) === r;
2685
2685
  }
2686
- ), ut = _i ? String.fromCodePoint : (
2686
+ ), ut = yi ? String.fromCodePoint : (
2687
2687
  // IE11
2688
2688
  function() {
2689
2689
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2697,7 +2697,7 @@ var Pt = gi ? (
2697
2697
  }
2698
2698
  ), Bt = (
2699
2699
  // native
2700
- yi ? Object.fromEntries : (
2700
+ vi ? Object.fromEntries : (
2701
2701
  // Ponyfill
2702
2702
  function(t) {
2703
2703
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2707,7 +2707,7 @@ var Pt = gi ? (
2707
2707
  return r;
2708
2708
  }
2709
2709
  )
2710
- ), kr = vi ? (
2710
+ ), kr = bi ? (
2711
2711
  // Native
2712
2712
  function(t, r) {
2713
2713
  return t.codePointAt(r);
@@ -2721,7 +2721,7 @@ var Pt = gi ? (
2721
2721
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2722
2722
  }
2723
2723
  }
2724
- ), xi = bi ? (
2724
+ ), wi = ki ? (
2725
2725
  // Native
2726
2726
  function(t) {
2727
2727
  return t.trimStart();
@@ -2729,9 +2729,9 @@ var Pt = gi ? (
2729
2729
  ) : (
2730
2730
  // Ponyfill
2731
2731
  function(t) {
2732
- return t.replace(fi, "");
2732
+ return t.replace(pi, "");
2733
2733
  }
2734
- ), wi = ki ? (
2734
+ ), Ti = Ei ? (
2735
2735
  // Native
2736
2736
  function(t) {
2737
2737
  return t.trimEnd();
@@ -2739,7 +2739,7 @@ var Pt = gi ? (
2739
2739
  ) : (
2740
2740
  // Ponyfill
2741
2741
  function(t) {
2742
- return t.replace(pi, "");
2742
+ return t.replace(gi, "");
2743
2743
  }
2744
2744
  );
2745
2745
  function Er(e, t) {
@@ -2758,13 +2758,13 @@ if (ct) {
2758
2758
  ht = function(t, r) {
2759
2759
  for (var n = []; ; ) {
2760
2760
  var i = kr(t, r);
2761
- if (i === void 0 || Cr(i) || Ai(i))
2761
+ if (i === void 0 || Cr(i) || Hi(i))
2762
2762
  break;
2763
2763
  n.push(i), r += i >= 65536 ? 2 : 1;
2764
2764
  }
2765
2765
  return ut.apply(void 0, n);
2766
2766
  };
2767
- var Ti = (
2767
+ var Mi = (
2768
2768
  /** @class */
2769
2769
  function() {
2770
2770
  function e(t, r) {
@@ -2846,7 +2846,7 @@ var Ti = (
2846
2846
  return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
2847
2847
  }, e.prototype.parseTagName = function() {
2848
2848
  var t = this.offset();
2849
- for (this.bump(); !this.isEOF() && Ni(this.char()); )
2849
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
2850
2850
  this.bump();
2851
2851
  return this.message.slice(t, this.offset());
2852
2852
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2875,7 +2875,7 @@ var Ti = (
2875
2875
  };
2876
2876
  }, e.prototype.tryParseLeftAngleBracket = function() {
2877
2877
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2878
- !Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
2878
+ !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
2879
2879
  }, e.prototype.tryParseQuote = function(t) {
2880
2880
  if (this.isEOF() || this.char() !== 39)
2881
2881
  return null;
@@ -2962,7 +2962,7 @@ var Ti = (
2962
2962
  var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2963
2963
  if (d.err)
2964
2964
  return d;
2965
- var m = wi(d.val);
2965
+ var m = Ti(d.val);
2966
2966
  if (m.length === 0)
2967
2967
  return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2968
2968
  var y = A(u, this.clonePosition());
@@ -2971,28 +2971,28 @@ var Ti = (
2971
2971
  var g = this.tryParseArgumentClose(i);
2972
2972
  if (g.err)
2973
2973
  return g;
2974
- var f = A(i, this.clonePosition());
2974
+ var p = A(i, this.clonePosition());
2975
2975
  if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
2976
- var S = xi(l.style.slice(2));
2976
+ var S = wi(l.style.slice(2));
2977
2977
  if (s === "number") {
2978
2978
  var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
2979
2979
  return d.err ? d : {
2980
- val: { type: P.number, value: n, location: f, style: d.val },
2980
+ val: { type: P.number, value: n, location: p, style: d.val },
2981
2981
  err: null
2982
2982
  };
2983
2983
  } else {
2984
2984
  if (S.length === 0)
2985
- return this.error(N.EXPECT_DATE_TIME_SKELETON, f);
2985
+ return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
2986
2986
  var _ = S;
2987
- this.locale && (_ = di(S, this.locale));
2987
+ this.locale && (_ = mi(S, this.locale));
2988
2988
  var m = {
2989
2989
  type: ue.dateTime,
2990
2990
  pattern: _,
2991
2991
  location: l.styleLocation,
2992
- parsedOptions: this.shouldParseSkeletons ? oi(_) : {}
2992
+ parsedOptions: this.shouldParseSkeletons ? ai(_) : {}
2993
2993
  }, v = s === "date" ? P.date : P.time;
2994
2994
  return {
2995
- val: { type: v, value: n, location: f, style: m },
2995
+ val: { type: v, value: n, location: p, style: m },
2996
2996
  err: null
2997
2997
  };
2998
2998
  }
@@ -3001,7 +3001,7 @@ var Ti = (
3001
3001
  val: {
3002
3002
  type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3003
3003
  value: n,
3004
- location: f,
3004
+ location: p,
3005
3005
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3006
3006
  },
3007
3007
  err: null
@@ -3094,7 +3094,7 @@ var Ti = (
3094
3094
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3095
3095
  var n = [];
3096
3096
  try {
3097
- n = si(t);
3097
+ n = li(t);
3098
3098
  } catch (i) {
3099
3099
  return this.error(N.INVALID_NUMBER_SKELETON, r);
3100
3100
  }
@@ -3103,7 +3103,7 @@ var Ti = (
3103
3103
  type: ue.number,
3104
3104
  tokens: n,
3105
3105
  location: r,
3106
- parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3106
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3107
3107
  },
3108
3108
  err: null
3109
3109
  };
@@ -3128,9 +3128,9 @@ var Ti = (
3128
3128
  var g = this.parseMessage(t + 1, r, n);
3129
3129
  if (g.err)
3130
3130
  return g;
3131
- var f = this.tryParseArgumentClose(y);
3132
- if (f.err)
3133
- return f;
3131
+ var p = this.tryParseArgumentClose(y);
3132
+ if (p.err)
3133
+ return p;
3134
3134
  s.push([
3135
3135
  l,
3136
3136
  {
@@ -3151,7 +3151,7 @@ var Ti = (
3151
3151
  break;
3152
3152
  }
3153
3153
  var c = A(i, this.clonePosition());
3154
- return o ? (a *= n, Ci(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3154
+ return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3155
3155
  }, e.prototype.offset = function() {
3156
3156
  return this.position.offset;
3157
3157
  }, e.prototype.isEOF = function() {
@@ -3220,16 +3220,16 @@ var Ti = (
3220
3220
  function dt(e) {
3221
3221
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3222
3222
  }
3223
- function Mi(e) {
3223
+ function Ni(e) {
3224
3224
  return dt(e) || e === 47;
3225
3225
  }
3226
- function Ni(e) {
3226
+ function Ai(e) {
3227
3227
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3228
3228
  }
3229
3229
  function Cr(e) {
3230
3230
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3231
3231
  }
3232
- function Ai(e) {
3232
+ function Hi(e) {
3233
3233
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3234
3234
  }
3235
3235
  function mt(e) {
@@ -3241,9 +3241,9 @@ function mt(e) {
3241
3241
  ur(t) && gr(t.style) || (hr(t) || dr(t)) && lt(t.style) ? delete t.style.location : pr(t) && mt(t.children);
3242
3242
  });
3243
3243
  }
3244
- function Hi(e, t) {
3244
+ function Pi(e, t) {
3245
3245
  t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3246
- var r = new Ti(e, t).parse();
3246
+ var r = new Mi(e, t).parse();
3247
3247
  if (r.err) {
3248
3248
  var n = SyntaxError(N[r.err.kind]);
3249
3249
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3275,7 +3275,7 @@ var Ve = (
3275
3275
  }
3276
3276
  return t;
3277
3277
  }(Ve)
3278
- ), Pi = (
3278
+ ), Bi = (
3279
3279
  /** @class */
3280
3280
  function(e) {
3281
3281
  $e(t, e);
@@ -3284,7 +3284,7 @@ var Ve = (
3284
3284
  }
3285
3285
  return t;
3286
3286
  }(Ve)
3287
- ), Bi = (
3287
+ ), Oi = (
3288
3288
  /** @class */
3289
3289
  function(e) {
3290
3290
  $e(t, e);
@@ -3297,13 +3297,13 @@ var Ve = (
3297
3297
  (function(e) {
3298
3298
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3299
3299
  })(G || (G = {}));
3300
- function Oi(e) {
3300
+ function zi(e) {
3301
3301
  return e.length < 2 ? e : e.reduce(function(t, r) {
3302
3302
  var n = t[t.length - 1];
3303
3303
  return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3304
3304
  }, []);
3305
3305
  }
3306
- function zi(e) {
3306
+ function Li(e) {
3307
3307
  return typeof e == "function";
3308
3308
  }
3309
3309
  function je(e, t, r, n, i, o, a) {
@@ -3323,7 +3323,7 @@ function je(e, t, r, n, i, o, a) {
3323
3323
  });
3324
3324
  continue;
3325
3325
  }
3326
- if (ni(u)) {
3326
+ if (ii(u)) {
3327
3327
  typeof o == "number" && s.push({
3328
3328
  type: G.literal,
3329
3329
  value: r.getNumberFormat(t).format(o)
@@ -3332,9 +3332,9 @@ function je(e, t, r, n, i, o, a) {
3332
3332
  }
3333
3333
  var d = u.value;
3334
3334
  if (!(i && d in i))
3335
- throw new Bi(d, a);
3335
+ throw new Oi(d, a);
3336
3336
  var m = i[d];
3337
- if (ri(u)) {
3337
+ if (ni(u)) {
3338
3338
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3339
3339
  type: typeof m == "string" ? G.literal : G.object,
3340
3340
  value: m
@@ -3366,9 +3366,9 @@ function je(e, t, r, n, i, o, a) {
3366
3366
  continue;
3367
3367
  }
3368
3368
  if (pr(u)) {
3369
- var g = u.children, f = u.value, S = i[f];
3370
- if (!zi(S))
3371
- throw new Pi(f, "function", a);
3369
+ var g = u.children, p = u.value, S = i[p];
3370
+ if (!Li(S))
3371
+ throw new Bi(p, "function", a);
3372
3372
  var _ = je(g, t, r, n, i, o), v = S(_.map(function(E) {
3373
3373
  return E.value;
3374
3374
  }));
@@ -3402,16 +3402,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3402
3402
  continue;
3403
3403
  }
3404
3404
  }
3405
- return Oi(s);
3405
+ return zi(s);
3406
3406
  }
3407
- function Li(e, t) {
3407
+ function ji(e, t) {
3408
3408
  return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3409
3409
  return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
3410
3410
  }, {})) : e;
3411
3411
  }
3412
- function ji(e, t) {
3412
+ function Ii(e, t) {
3413
3413
  return t ? Object.keys(e).reduce(function(r, n) {
3414
- return r[n] = Li(e[n], t[n]), r;
3414
+ return r[n] = ji(e[n], t[n]), r;
3415
3415
  }, Z({}, e)) : e;
3416
3416
  }
3417
3417
  function rt(e) {
@@ -3428,7 +3428,7 @@ function rt(e) {
3428
3428
  }
3429
3429
  };
3430
3430
  }
3431
- function Ii(e) {
3431
+ function Ri(e) {
3432
3432
  return e === void 0 && (e = {
3433
3433
  number: {},
3434
3434
  dateTime: {},
@@ -3460,7 +3460,7 @@ function Ii(e) {
3460
3460
  })
3461
3461
  };
3462
3462
  }
3463
- var Ri = (
3463
+ var Ui = (
3464
3464
  /** @class */
3465
3465
  function() {
3466
3466
  function e(t, r, n, i) {
@@ -3491,13 +3491,13 @@ var Ri = (
3491
3491
  if (this.message = t, !e.__parse)
3492
3492
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3493
3493
  var a = i || {};
3494
- var s = Wn(a, ["formatters"]);
3494
+ var s = Zn(a, ["formatters"]);
3495
3495
  this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3496
3496
  } else
3497
3497
  this.ast = t;
3498
3498
  if (!Array.isArray(this.ast))
3499
3499
  throw new TypeError("A message must be provided as a String or AST.");
3500
- this.formats = ji(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3500
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3501
3501
  }
3502
3502
  return Object.defineProperty(e, "defaultLocale", {
3503
3503
  get: function() {
@@ -3510,7 +3510,7 @@ var Ri = (
3510
3510
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3511
3511
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3512
3512
  }
3513
- }, e.__parse = Hi, e.formats = {
3513
+ }, e.__parse = Pi, e.formats = {
3514
3514
  number: {
3515
3515
  integer: {
3516
3516
  maximumFractionDigits: 0
@@ -3571,7 +3571,7 @@ var Ri = (
3571
3571
  }, e;
3572
3572
  }()
3573
3573
  );
3574
- function Ui(e, t) {
3574
+ function Di(e, t) {
3575
3575
  if (t == null)
3576
3576
  return;
3577
3577
  if (t in e)
@@ -3592,33 +3592,33 @@ function Ui(e, t) {
3592
3592
  n = void 0;
3593
3593
  return n;
3594
3594
  }
3595
- const Y = {}, Di = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3595
+ const Y = {}, Gi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3596
3596
  if (t == null)
3597
3597
  return;
3598
3598
  if (t in Y && e in Y[t])
3599
3599
  return Y[t][e];
3600
3600
  const r = Xe(t);
3601
3601
  for (let n = 0; n < r.length; n++) {
3602
- const i = r[n], o = Fi(i, e);
3602
+ const i = r[n], o = $i(i, e);
3603
3603
  if (o)
3604
- return Di(e, t, o);
3604
+ return Gi(e, t, o);
3605
3605
  }
3606
3606
  };
3607
3607
  let vt;
3608
3608
  const Me = Fe({});
3609
- function Gi(e) {
3609
+ function Fi(e) {
3610
3610
  return vt[e] || null;
3611
3611
  }
3612
3612
  function xr(e) {
3613
3613
  return e in vt;
3614
3614
  }
3615
- function Fi(e, t) {
3615
+ function $i(e, t) {
3616
3616
  if (!xr(e))
3617
3617
  return null;
3618
- const r = Gi(e);
3619
- return Ui(r, t);
3618
+ const r = Fi(e);
3619
+ return Di(r, t);
3620
3620
  }
3621
- function $i(e) {
3621
+ function Vi(e) {
3622
3622
  if (e == null)
3623
3623
  return;
3624
3624
  const t = Xe(e);
@@ -3629,7 +3629,7 @@ function $i(e) {
3629
3629
  }
3630
3630
  }
3631
3631
  function wr(e, ...t) {
3632
- delete Y[e], Me.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
3632
+ delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
3633
3633
  }
3634
3634
  fe(
3635
3635
  [Me],
@@ -3637,13 +3637,13 @@ fe(
3637
3637
  );
3638
3638
  Me.subscribe((e) => vt = e);
3639
3639
  const Ie = {};
3640
- function Vi(e, t) {
3640
+ function Xi(e, t) {
3641
3641
  Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3642
3642
  }
3643
3643
  function Tr(e) {
3644
3644
  return Ie[e];
3645
3645
  }
3646
- function Xi(e) {
3646
+ function qi(e) {
3647
3647
  return Xe(e).map((t) => {
3648
3648
  const r = Tr(t);
3649
3649
  return [t, r ? [...r] : []];
@@ -3657,19 +3657,19 @@ function ft(e) {
3657
3657
  }
3658
3658
  );
3659
3659
  }
3660
- function qi(e, t) {
3660
+ function Wi(e, t) {
3661
3661
  return Promise.all(
3662
- t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
3662
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
3663
3663
  ).then((n) => wr(e, ...n));
3664
3664
  }
3665
3665
  const ke = {};
3666
3666
  function Mr(e) {
3667
3667
  if (!ft(e))
3668
3668
  return e in ke ? ke[e] : Promise.resolve();
3669
- const t = Xi(e);
3669
+ const t = qi(e);
3670
3670
  return ke[e] = Promise.all(
3671
3671
  t.map(
3672
- ([r, n]) => qi(r, n)
3672
+ ([r, n]) => Wi(r, n)
3673
3673
  )
3674
3674
  ).then(() => {
3675
3675
  if (ft(e))
@@ -3677,7 +3677,7 @@ function Mr(e) {
3677
3677
  delete ke[e];
3678
3678
  }), ke[e];
3679
3679
  }
3680
- const Wi = {
3680
+ const Zi = {
3681
3681
  number: {
3682
3682
  scientific: { notation: "scientific" },
3683
3683
  engineering: { notation: "engineering" },
@@ -3706,26 +3706,26 @@ const Wi = {
3706
3706
  timeZoneName: "short"
3707
3707
  }
3708
3708
  }
3709
- }, Zi = {
3709
+ }, Ji = {
3710
3710
  fallbackLocale: null,
3711
3711
  loadingDelay: 200,
3712
- formats: Wi,
3712
+ formats: Zi,
3713
3713
  warnOnMissingMessages: !0,
3714
3714
  handleMissingMessage: void 0,
3715
3715
  ignoreTag: !0
3716
- }, Ji = Zi;
3716
+ }, Qi = Ji;
3717
3717
  function de() {
3718
- return Ji;
3718
+ return Qi;
3719
3719
  }
3720
3720
  const nt = Fe(!1);
3721
- var Qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
3721
+ var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
3722
3722
  for (var r in t || (t = {}))
3723
- eo.call(t, r) && jt(e, r, t[r]);
3723
+ to.call(t, r) && jt(e, r, t[r]);
3724
3724
  if (Lt)
3725
3725
  for (var r of Lt(t))
3726
- to.call(t, r) && jt(e, r, t[r]);
3726
+ ro.call(t, r) && jt(e, r, t[r]);
3727
3727
  return e;
3728
- }, no = (e, t) => Yi(e, Ki(t));
3728
+ }, io = (e, t) => Ki(e, eo(t));
3729
3729
  let pt;
3730
3730
  const De = Fe(null);
3731
3731
  function It(e) {
@@ -3741,8 +3741,8 @@ function te() {
3741
3741
  De.subscribe((e) => {
3742
3742
  pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3743
3743
  });
3744
- const io = (e) => {
3745
- if (e && $i(e) && ft(e)) {
3744
+ const oo = (e) => {
3745
+ if (e && Vi(e) && ft(e)) {
3746
3746
  const { loadingDelay: t } = de();
3747
3747
  let r;
3748
3748
  return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
@@ -3755,8 +3755,8 @@ const io = (e) => {
3755
3755
  });
3756
3756
  }
3757
3757
  return De.set(e);
3758
- }, pe = no(ro({}, De), {
3759
- set: io
3758
+ }, pe = io(no({}, De), {
3759
+ set: oo
3760
3760
  }), qe = (e) => {
3761
3761
  const t = /* @__PURE__ */ Object.create(null);
3762
3762
  return (n) => {
@@ -3764,7 +3764,7 @@ const io = (e) => {
3764
3764
  return i in t ? t[i] : t[i] = e(n);
3765
3765
  };
3766
3766
  };
3767
- var oo = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3767
+ var ao = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3768
3768
  for (var r in t || (t = {}))
3769
3769
  Nr.call(t, r) && Rt(e, r, t[r]);
3770
3770
  if (Ge)
@@ -3785,21 +3785,21 @@ const we = (e, t) => {
3785
3785
  if (e in r && t in r[e])
3786
3786
  return r[e][t];
3787
3787
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3788
- }, ao = qe(
3788
+ }, so = qe(
3789
3789
  (e) => {
3790
3790
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3791
3791
  if (r == null)
3792
3792
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3793
3793
  return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3794
3794
  }
3795
- ), so = qe(
3795
+ ), lo = qe(
3796
3796
  (e) => {
3797
3797
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3798
3798
  if (r == null)
3799
3799
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3800
3800
  return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3801
3801
  }
3802
- ), lo = qe(
3802
+ ), co = qe(
3803
3803
  (e) => {
3804
3804
  var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3805
3805
  if (r == null)
@@ -3808,33 +3808,33 @@ const we = (e, t) => {
3808
3808
  );
3809
3809
  return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3810
3810
  }
3811
- ), co = (e = {}) => {
3811
+ ), uo = (e = {}) => {
3812
3812
  var t = e, {
3813
3813
  locale: r = te()
3814
3814
  } = t, n = ge(t, [
3815
3815
  "locale"
3816
3816
  ]);
3817
- return ao(bt({ locale: r }, n));
3818
- }, uo = (e = {}) => {
3817
+ return so(bt({ locale: r }, n));
3818
+ }, ho = (e = {}) => {
3819
3819
  var t = e, {
3820
3820
  locale: r = te()
3821
3821
  } = t, n = ge(t, [
3822
3822
  "locale"
3823
3823
  ]);
3824
- return so(bt({ locale: r }, n));
3825
- }, ho = (e = {}) => {
3824
+ return lo(bt({ locale: r }, n));
3825
+ }, mo = (e = {}) => {
3826
3826
  var t = e, {
3827
3827
  locale: r = te()
3828
3828
  } = t, n = ge(t, [
3829
3829
  "locale"
3830
3830
  ]);
3831
- return lo(bt({ locale: r }, n));
3832
- }, mo = qe(
3831
+ return co(bt({ locale: r }, n));
3832
+ }, fo = qe(
3833
3833
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3834
- (e, t = te()) => new Ri(e, t, de().formats, {
3834
+ (e, t = te()) => new Ui(e, t, de().formats, {
3835
3835
  ignoreTag: de().ignoreTag
3836
3836
  })
3837
- ), fo = (e, t = {}) => {
3837
+ ), po = (e, t = {}) => {
3838
3838
  var r, n, i, o;
3839
3839
  let a = t;
3840
3840
  typeof e == "object" && (a = e, e = a.id);
@@ -3858,7 +3858,7 @@ const we = (e, t) => {
3858
3858
  return u;
3859
3859
  let d = u;
3860
3860
  try {
3861
- d = mo(u, c).format(s);
3861
+ d = fo(u, c).format(s);
3862
3862
  } catch (m) {
3863
3863
  m instanceof Error && console.warn(
3864
3864
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3866,15 +3866,15 @@ const we = (e, t) => {
3866
3866
  );
3867
3867
  }
3868
3868
  return d;
3869
- }, po = (e, t) => ho(t).format(e), go = (e, t) => uo(t).format(e), _o = (e, t) => co(t).format(e), yo = (e, t = te()) => Sr(e, t), vo = fe([pe, Me], () => fo);
3870
- fe([pe], () => po);
3869
+ }, go = (e, t) => mo(t).format(e), _o = (e, t) => ho(t).format(e), yo = (e, t) => uo(t).format(e), vo = (e, t = te()) => Sr(e, t), bo = fe([pe, Me], () => po);
3871
3870
  fe([pe], () => go);
3872
3871
  fe([pe], () => _o);
3873
- fe([pe, Me], () => yo);
3872
+ fe([pe], () => yo);
3873
+ fe([pe, Me], () => vo);
3874
3874
  function Ut(e, t) {
3875
3875
  wr(e, t);
3876
3876
  }
3877
- function bo(e) {
3877
+ function ko(e) {
3878
3878
  pe.set(e);
3879
3879
  }
3880
3880
  const Dt = {
@@ -4449,11 +4449,11 @@ if (typeof window != "undefined") {
4449
4449
  }
4450
4450
  };
4451
4451
  };
4452
- customElements.define = e(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-DvwHUxLh-2326dad2.js'); }).then(({ default: t }) => {
4452
+ customElements.define = e(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-lTLzF5jR-8645dd28.js'); }).then(({ default: t }) => {
4453
4453
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4454
4454
  });
4455
4455
  }
4456
- function ko(e) {
4456
+ function Eo(e) {
4457
4457
  let t, r;
4458
4458
  return {
4459
4459
  c() {
@@ -4470,28 +4470,28 @@ function ko(e) {
4470
4470
  }
4471
4471
  };
4472
4472
  }
4473
- class Eo extends ar {
4473
+ class Co extends ar {
4474
4474
  constructor(t) {
4475
- super(), nr(this, t, null, ko, _t, {});
4475
+ super(), nr(this, t, null, Eo, _t, {});
4476
4476
  }
4477
4477
  }
4478
- customElements.define("circle-exclamation-icon", or(Eo, {}, [], [], !0));
4479
- function Co(e) {
4480
- ln(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4478
+ customElements.define("circle-exclamation-icon", or(Co, {}, [], [], !0));
4479
+ function So(e) {
4480
+ cn(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4481
4481
  }
4482
4482
  function Gt(e, t, r) {
4483
4483
  const n = e.slice();
4484
- return n[64] = t[r], n;
4484
+ return n[65] = t[r], n;
4485
4485
  }
4486
4486
  function Ft(e, t, r) {
4487
4487
  const n = e.slice();
4488
- return n[61] = t[r], n[62] = t, n[63] = r, n;
4488
+ return n[62] = t[r], n[63] = t, n[64] = r, n;
4489
4489
  }
4490
4490
  function $t(e, t, r) {
4491
4491
  const n = e.slice();
4492
- return n[64] = t[r], n;
4492
+ return n[65] = t[r], n;
4493
4493
  }
4494
- function So(e) {
4494
+ function xo(e) {
4495
4495
  let t, r, n = le(
4496
4496
  /*playerConsents*/
4497
4497
  e[9]
@@ -4500,7 +4500,7 @@ function So(e) {
4500
4500
  i[o] = Vt(Gt(e, n, o));
4501
4501
  return {
4502
4502
  c() {
4503
- t = w("div"), r = w("form");
4503
+ t = T("div"), r = T("form");
4504
4504
  for (let o = 0; o < i.length; o += 1)
4505
4505
  i[o].c();
4506
4506
  k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
@@ -4509,11 +4509,11 @@ function So(e) {
4509
4509
  L(o, t, a), x(t, r);
4510
4510
  for (let s = 0; s < i.length; s += 1)
4511
4511
  i[s] && i[s].m(r, null);
4512
- e[31](r);
4512
+ e[32](r);
4513
4513
  },
4514
4514
  p(o, a) {
4515
- if (a[0] & /*playerConsents, $_, handleInput*/
4516
- 590336) {
4515
+ if (a[0] & /*playerConsents, translate, handleInput*/
4516
+ 1180160) {
4517
4517
  n = le(
4518
4518
  /*playerConsents*/
4519
4519
  o[9]
@@ -4529,11 +4529,11 @@ function So(e) {
4529
4529
  }
4530
4530
  },
4531
4531
  d(o) {
4532
- o && O(t), yt(i, o), e[31](null);
4532
+ o && O(t), yt(i, o), e[32](null);
4533
4533
  }
4534
4534
  };
4535
4535
  }
4536
- function xo(e) {
4536
+ function wo(e) {
4537
4537
  let t = (
4538
4538
  /*$_*/
4539
4539
  e[16]("title") || /*$_*/
@@ -4545,8 +4545,8 @@ function xo(e) {
4545
4545
  /*consentsCategories*/
4546
4546
  e[8]
4547
4547
  ), y = [];
4548
- for (let f = 0; f < m.length; f += 1)
4549
- y[f] = Yt(Ft(e, m, f));
4548
+ for (let p = 0; p < m.length; p += 1)
4549
+ y[p] = Yt(Ft(e, m, p));
4550
4550
  let g = (
4551
4551
  /*errorMessage*/
4552
4552
  e[6] && Kt(e)
@@ -4554,35 +4554,35 @@ function xo(e) {
4554
4554
  return {
4555
4555
  c() {
4556
4556
  d && d.c(), r = F();
4557
- for (let f = 0; f < y.length; f += 1)
4558
- y[f].c();
4559
- n = F(), i = w("button"), s = F(), g && g.c(), c = hn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4557
+ for (let p = 0; p < y.length; p += 1)
4558
+ y[p].c();
4559
+ n = F(), i = T("button"), s = F(), g && g.c(), c = dn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4560
4560
  e[14];
4561
4561
  },
4562
- m(f, S) {
4563
- d && d.m(f, S), L(f, r, S);
4562
+ m(p, S) {
4563
+ d && d.m(p, S), L(p, r, S);
4564
4564
  for (let _ = 0; _ < y.length; _ += 1)
4565
- y[_] && y[_].m(f, S);
4566
- L(f, n, S), L(f, i, S), i.innerHTML = o, L(f, s, S), g && g.m(f, S), L(f, c, S), l || (u = Ce(
4565
+ y[_] && y[_].m(p, S);
4566
+ L(p, n, S), L(p, i, S), i.innerHTML = o, L(p, s, S), g && g.m(p, S), L(p, c, S), l || (u = Ce(
4567
4567
  i,
4568
4568
  "click",
4569
4569
  /*saveChanges*/
4570
- e[17]
4570
+ e[18]
4571
4571
  ), l = !0);
4572
4572
  },
4573
- p(f, S) {
4573
+ p(p, S) {
4574
4574
  if (S[0] & /*$_*/
4575
4575
  65536 && (t = /*$_*/
4576
- f[16]("title") || /*$_*/
4577
- f[16]("description")), t ? d ? d.p(f, S) : (d = Xt(f), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4578
- 867088) {
4576
+ p[16]("title") || /*$_*/
4577
+ p[16]("description")), t ? d ? d.p(p, S) : (d = Xt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4578
+ 1719056) {
4579
4579
  m = le(
4580
4580
  /*consentsCategories*/
4581
- f[8]
4581
+ p[8]
4582
4582
  );
4583
4583
  let _;
4584
4584
  for (_ = 0; _ < m.length; _ += 1) {
4585
- const v = Ft(f, m, _);
4585
+ const v = Ft(p, m, _);
4586
4586
  y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
4587
4587
  }
4588
4588
  for (; _ < y.length; _ += 1)
@@ -4591,21 +4591,21 @@ function xo(e) {
4591
4591
  }
4592
4592
  S[0] & /*$_*/
4593
4593
  65536 && o !== (o = /*$_*/
4594
- (f[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4594
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4595
4595
  16384 && a !== (a = !/*isValid*/
4596
- f[14]) && (i.disabled = a), /*errorMessage*/
4597
- f[6] ? g ? g.p(f, S) : (g = Kt(f), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4596
+ p[14]) && (i.disabled = a), /*errorMessage*/
4597
+ p[6] ? g ? g.p(p, S) : (g = Kt(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4598
4598
  },
4599
- d(f) {
4600
- f && (O(r), O(n), O(i), O(s), O(c)), d && d.d(f), yt(y, f), g && g.d(f), l = !1, u();
4599
+ d(p) {
4600
+ p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p), yt(y, p), g && g.d(p), l = !1, u();
4601
4601
  }
4602
4602
  };
4603
4603
  }
4604
- function wo(e) {
4604
+ function To(e) {
4605
4605
  let t, r, n;
4606
4606
  return {
4607
4607
  c() {
4608
- t = w("div"), r = w("strong"), n = ee(
4608
+ t = T("div"), r = T("strong"), n = ee(
4609
4609
  /*fatalError*/
4610
4610
  e[7]
4611
4611
  ), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
@@ -4626,11 +4626,11 @@ function wo(e) {
4626
4626
  }
4627
4627
  };
4628
4628
  }
4629
- function To(e) {
4629
+ function Mo(e) {
4630
4630
  let t;
4631
4631
  return {
4632
4632
  c() {
4633
- t = w("general-animation-loading"), K(
4633
+ t = T("general-animation-loading"), K(
4634
4634
  t,
4635
4635
  "clientstyling",
4636
4636
  /*clientstyling*/
@@ -4678,32 +4678,35 @@ function To(e) {
4678
4678
  }
4679
4679
  function Vt(e) {
4680
4680
  let t, r, n, i, o, a, s, c, l = (
4681
- /*$_*/
4682
- (e[16](`${/*consent*/
4683
- e[64].tagCode}__description`) || /*consent*/
4684
- e[64].tagCode) + ""
4681
+ /*translate*/
4682
+ e[17](
4683
+ `${/*consent*/
4684
+ e[65].tagCode}__description`,
4685
+ /*consent*/
4686
+ e[65].friendlyName
4687
+ ) + ""
4685
4688
  ), u = (
4686
4689
  /*consent*/
4687
- e[64].mustAccept ? " *" : ""
4688
- ), d, m, y, g, f, S, _, v, C;
4690
+ e[65].mustAccept ? " *" : ""
4691
+ ), d, m, y, g, p, S, _, v, C;
4689
4692
  function H(...E) {
4690
4693
  return (
4691
4694
  /*input_handler_1*/
4692
- e[30](
4695
+ e[31](
4693
4696
  /*consent*/
4694
- e[64],
4697
+ e[65],
4695
4698
  ...E
4696
4699
  )
4697
4700
  );
4698
4701
  }
4699
4702
  return {
4700
4703
  c() {
4701
- t = w("div"), r = w("input"), o = F(), a = w("label"), s = w("div"), c = new rr(!1), d = ee(u), y = F(), g = w("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4702
- e[64].status === "1", k(r, "id", i = `${/*consent*/
4703
- e[64].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
4704
- e[64].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", f = "checkBoxError__" + /*consent*/
4705
- e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4706
- e[64].tagCode + "__input svelte-etk3ty");
4704
+ t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new rr(!1), d = ee(u), y = F(), g = T("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4705
+ e[65].status === "1", k(r, "id", i = `${/*consent*/
4706
+ e[65].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
4707
+ e[65].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
4708
+ e[65].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4709
+ e[65].tagCode + "__input svelte-etk3ty");
4707
4710
  },
4708
4711
  m(E, z) {
4709
4712
  L(E, t, z), x(t, r), x(t, o), x(t, a), x(a, s), c.m(l, s), x(s, d), x(t, y), x(t, g), x(t, S), v || (C = Ce(r, "input", H), v = !0);
@@ -4711,21 +4714,24 @@ function Vt(e) {
4711
4714
  p(E, z) {
4712
4715
  e = E, z[0] & /*playerConsents*/
4713
4716
  512 && n !== (n = /*consent*/
4714
- e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4717
+ e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4715
4718
  512 && i !== (i = `${/*consent*/
4716
- e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4717
- 66048 && l !== (l = /*$_*/
4718
- (e[16](`${/*consent*/
4719
- e[64].tagCode}__description`) || /*consent*/
4720
- e[64].tagCode) + "") && c.p(l), z[0] & /*playerConsents*/
4719
+ e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
4720
+ 512 && l !== (l = /*translate*/
4721
+ e[17](
4722
+ `${/*consent*/
4723
+ e[65].tagCode}__description`,
4724
+ /*consent*/
4725
+ e[65].friendlyName
4726
+ ) + "") && c.p(l), z[0] & /*playerConsents*/
4721
4727
  512 && u !== (u = /*consent*/
4722
- e[64].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4728
+ e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4723
4729
  512 && m !== (m = `${/*consent*/
4724
- e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4725
- 512 && f !== (f = "checkBoxError__" + /*consent*/
4726
- e[64].tagCode) && k(g, "id", f), z[0] & /*playerConsents*/
4730
+ e[65].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4731
+ 512 && p !== (p = "checkBoxError__" + /*consent*/
4732
+ e[65].tagCode) && k(g, "id", p), z[0] & /*playerConsents*/
4727
4733
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4728
- e[64].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4734
+ e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4729
4735
  },
4730
4736
  d(E) {
4731
4737
  E && O(t), v = !1, C();
@@ -4742,7 +4748,7 @@ function Xt(e) {
4742
4748
  ), o = r && qt(e), a = i && Wt(e);
4743
4749
  return {
4744
4750
  c() {
4745
- t = w("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4751
+ t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4746
4752
  },
4747
4753
  m(s, c) {
4748
4754
  L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
@@ -4766,7 +4772,7 @@ function qt(e) {
4766
4772
  ), n;
4767
4773
  return {
4768
4774
  c() {
4769
- t = w("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4775
+ t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4770
4776
  },
4771
4777
  m(i, o) {
4772
4778
  L(i, t, o), x(t, n);
@@ -4788,7 +4794,7 @@ function Wt(e) {
4788
4794
  ), n;
4789
4795
  return {
4790
4796
  c() {
4791
- t = w("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4797
+ t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4792
4798
  },
4793
4799
  m(i, o) {
4794
4800
  L(i, t, o), x(t, n);
@@ -4807,7 +4813,7 @@ function Zt(e) {
4807
4813
  let t;
4808
4814
  return {
4809
4815
  c() {
4810
- t = w("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4816
+ t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4811
4817
  },
4812
4818
  m(r, n) {
4813
4819
  L(r, t, n);
@@ -4819,24 +4825,30 @@ function Zt(e) {
4819
4825
  }
4820
4826
  function Jt(e) {
4821
4827
  let t, r = (
4822
- /*$_*/
4823
- (e[16](`${/*consent*/
4824
- e[64].tagCode}__description`) || /*consent*/
4825
- e[64].description) + ""
4828
+ /*translate*/
4829
+ e[17](
4830
+ `${/*consent*/
4831
+ e[65].tagCode}__description`,
4832
+ /*consent*/
4833
+ e[65].description
4834
+ ) + ""
4826
4835
  );
4827
4836
  return {
4828
4837
  c() {
4829
- t = w("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4838
+ t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4830
4839
  },
4831
4840
  m(n, i) {
4832
4841
  L(n, t, i), t.innerHTML = r;
4833
4842
  },
4834
4843
  p(n, i) {
4835
- i[0] & /*$_, playerConsents, consentsCategories*/
4836
- 66304 && r !== (r = /*$_*/
4837
- (n[16](`${/*consent*/
4838
- n[64].tagCode}__description`) || /*consent*/
4839
- n[64].description) + "") && (t.innerHTML = r);
4844
+ i[0] & /*playerConsents, consentsCategories*/
4845
+ 768 && r !== (r = /*translate*/
4846
+ n[17](
4847
+ `${/*consent*/
4848
+ n[65].tagCode}__description`,
4849
+ /*consent*/
4850
+ n[65].description
4851
+ ) + "") && (t.innerHTML = r);
4840
4852
  },
4841
4853
  d(n) {
4842
4854
  n && O(t);
@@ -4845,13 +4857,16 @@ function Jt(e) {
4845
4857
  }
4846
4858
  function Qt(e) {
4847
4859
  let t, r, n, i, o = (
4848
- /*$_*/
4849
- (e[16](`${/*consent*/
4850
- e[64].tagCode}__name`) || /*consent*/
4851
- e[64].friendlyName) + ""
4852
- ), a, s, c, l, u, d, m, y, g, f, S, _ = (
4860
+ /*translate*/
4861
+ e[17](
4862
+ `${/*consent*/
4863
+ e[65].tagCode}__name`,
4864
+ /*consent*/
4865
+ e[65].friendlyName
4866
+ ) + ""
4867
+ ), a, s, c, l, u, d, m, y, g, p, S, _ = (
4853
4868
  /*consent*/
4854
- e[64].mustAccept === !0 && Zt()
4869
+ e[65].mustAccept === !0 && Zt()
4855
4870
  ), v = (
4856
4871
  /*displayconsentdescription*/
4857
4872
  e[4] === "true" && Jt(e)
@@ -4859,83 +4874,89 @@ function Qt(e) {
4859
4874
  function C(...H) {
4860
4875
  return (
4861
4876
  /*input_handler*/
4862
- e[29](
4877
+ e[30](
4863
4878
  /*consent*/
4864
- e[64],
4879
+ e[65],
4865
4880
  ...H
4866
4881
  )
4867
4882
  );
4868
4883
  }
4869
4884
  return {
4870
4885
  c() {
4871
- t = w("div"), r = w("div"), n = w("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = w("label"), u = w("input"), y = F(), g = w("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
4872
- e[64].mustAccept === !0 && /*initialConsentsState*/
4886
+ t = T("div"), r = T("div"), n = T("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = T("label"), u = T("input"), y = F(), g = T("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
4887
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4873
4888
  e[12][
4874
4889
  /*consent*/
4875
- e[64].tagCode
4890
+ e[65].tagCode
4876
4891
  ] === !0, u.checked = m = /*consentsState*/
4877
4892
  e[13][
4878
4893
  /*consent*/
4879
- e[64].tagCode
4894
+ e[65].tagCode
4880
4895
  ], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
4881
4896
  },
4882
4897
  m(H, E) {
4883
- L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), f || (S = Ce(u, "input", C), f = !0);
4898
+ L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), p || (S = Ce(u, "input", C), p = !0);
4884
4899
  },
4885
4900
  p(H, E) {
4886
- e = H, E[0] & /*$_, playerConsents, consentsCategories*/
4887
- 66304 && o !== (o = /*$_*/
4888
- (e[16](`${/*consent*/
4889
- e[64].tagCode}__name`) || /*consent*/
4890
- e[64].friendlyName) + "") && i.p(o), /*consent*/
4891
- e[64].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4901
+ e = H, E[0] & /*playerConsents, consentsCategories*/
4902
+ 768 && o !== (o = /*translate*/
4903
+ e[17](
4904
+ `${/*consent*/
4905
+ e[65].tagCode}__name`,
4906
+ /*consent*/
4907
+ e[65].friendlyName
4908
+ ) + "") && i.p(o), /*consent*/
4909
+ e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4892
4910
  e[4] === "true" ? v ? v.p(e, E) : (v = Jt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4893
4911
  4864 && d !== (d = /*consent*/
4894
- e[64].mustAccept === !0 && /*initialConsentsState*/
4912
+ e[65].mustAccept === !0 && /*initialConsentsState*/
4895
4913
  e[12][
4896
4914
  /*consent*/
4897
- e[64].tagCode
4915
+ e[65].tagCode
4898
4916
  ] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4899
4917
  8960 && m !== (m = /*consentsState*/
4900
4918
  e[13][
4901
4919
  /*consent*/
4902
- e[64].tagCode
4920
+ e[65].tagCode
4903
4921
  ]) && (u.checked = m);
4904
4922
  },
4905
4923
  d(H) {
4906
- H && O(t), _ && _.d(), v && v.d(), f = !1, S();
4924
+ H && O(t), _ && _.d(), v && v.d(), p = !1, S();
4907
4925
  }
4908
4926
  };
4909
4927
  }
4910
4928
  function Yt(e) {
4911
4929
  let t, r, n, i = (
4912
- /*$_*/
4913
- (e[16](`${/*category*/
4914
- e[61].categoryTagCode}__category`) || /*category*/
4915
- e[61].friendlyName) + ""
4930
+ /*translate*/
4931
+ e[17](
4932
+ `${/*category*/
4933
+ e[62].categoryTagCode}__category`,
4934
+ /*category*/
4935
+ e[62].friendlyName
4936
+ ) + ""
4916
4937
  ), o, a, s, c, l, u, d, m, y;
4917
4938
  function g() {
4918
- e[26].call(
4939
+ e[27].call(
4919
4940
  s,
4920
4941
  /*category*/
4921
- e[61]
4942
+ e[62]
4922
4943
  );
4923
4944
  }
4924
- function f() {
4945
+ function p() {
4925
4946
  return (
4926
4947
  /*change_handler*/
4927
- e[27](
4948
+ e[28](
4928
4949
  /*category*/
4929
- e[61]
4950
+ e[62]
4930
4951
  )
4931
4952
  );
4932
4953
  }
4933
4954
  function S(...C) {
4934
4955
  return (
4935
4956
  /*func*/
4936
- e[28](
4957
+ e[29](
4937
4958
  /*category*/
4938
- e[61],
4959
+ e[62],
4939
4960
  ...C
4940
4961
  )
4941
4962
  );
@@ -4948,7 +4969,7 @@ function Yt(e) {
4948
4969
  v[C] = Qt($t(e, _, C));
4949
4970
  return {
4950
4971
  c() {
4951
- t = w("div"), r = w("div"), n = w("h3"), o = F(), a = w("label"), s = w("input"), c = F(), l = w("span"), u = F(), d = w("div");
4972
+ t = T("div"), r = T("div"), n = T("h3"), o = F(), a = T("label"), s = T("input"), c = F(), l = T("span"), u = F(), d = T("div");
4952
4973
  for (let C = 0; C < v.length; C += 1)
4953
4974
  v[C].c();
4954
4975
  k(s, "type", "checkbox"), k(s, "class", "svelte-etk3ty"), k(l, "class", "Slider Round svelte-etk3ty"), k(a, "class", "ToggleSwitch Big svelte-etk3ty"), k(r, "class", "AccordionHeader svelte-etk3ty"), k(d, "class", "AccordionContent svelte-etk3ty"), k(t, "class", "AccordionItem svelte-etk3ty");
@@ -4957,27 +4978,30 @@ function Yt(e) {
4957
4978
  L(C, t, H), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
4958
4979
  e[11][
4959
4980
  /*category*/
4960
- e[61].categoryTagCode
4981
+ e[62].categoryTagCode
4961
4982
  ], x(a, c), x(a, l), x(t, u), x(t, d);
4962
4983
  for (let E = 0; E < v.length; E += 1)
4963
4984
  v[E] && v[E].m(d, null);
4964
4985
  m || (y = [
4965
4986
  Ce(s, "change", g),
4966
- Ce(s, "change", f)
4987
+ Ce(s, "change", p)
4967
4988
  ], m = !0);
4968
4989
  },
4969
4990
  p(C, H) {
4970
- if (e = C, H[0] & /*$_, consentsCategories*/
4971
- 65792 && i !== (i = /*$_*/
4972
- (e[16](`${/*category*/
4973
- e[61].categoryTagCode}__category`) || /*category*/
4974
- e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4991
+ if (e = C, H[0] & /*consentsCategories*/
4992
+ 256 && i !== (i = /*translate*/
4993
+ e[17](
4994
+ `${/*category*/
4995
+ e[62].categoryTagCode}__category`,
4996
+ /*category*/
4997
+ e[62].friendlyName
4998
+ ) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4975
4999
  2304 && (s.checked = /*categoryToggle*/
4976
5000
  e[11][
4977
5001
  /*category*/
4978
- e[61].categoryTagCode
4979
- ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4980
- 602896) {
5002
+ e[62].categoryTagCode
5003
+ ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
5004
+ 1192720) {
4981
5005
  _ = le(
4982
5006
  /*playerConsents*/
4983
5007
  e[9].filter(S)
@@ -5001,7 +5025,7 @@ function Kt(e) {
5001
5025
  let t, r, n, i, o;
5002
5026
  return {
5003
5027
  c() {
5004
- t = w("div"), r = w("circle-exclamation-icon"), n = F(), i = w("strong"), o = ee(
5028
+ t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
5005
5029
  /*errorMessage*/
5006
5030
  e[6]
5007
5031
  ), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
@@ -5022,35 +5046,35 @@ function Kt(e) {
5022
5046
  }
5023
5047
  };
5024
5048
  }
5025
- function Mo(e) {
5049
+ function No(e) {
5026
5050
  let t, r;
5027
5051
  function n(a, s) {
5028
5052
  if (
5029
5053
  /*isLoading*/
5030
5054
  a[10]
5031
5055
  )
5032
- return To;
5056
+ return Mo;
5033
5057
  if (
5034
5058
  /*fatalError*/
5035
5059
  a[7]
5036
5060
  )
5037
- return wo;
5061
+ return To;
5038
5062
  if (
5039
5063
  /*session*/
5040
5064
  a[0]
5041
5065
  )
5042
- return xo;
5066
+ return wo;
5043
5067
  if (!/*session*/
5044
5068
  a[0])
5045
- return So;
5069
+ return xo;
5046
5070
  }
5047
5071
  let i = n(e), o = i && i(e);
5048
5072
  return {
5049
5073
  c() {
5050
- t = w("div"), r = w("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5074
+ t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5051
5075
  },
5052
5076
  m(a, s) {
5053
- L(a, t, s), x(t, r), o && o.m(r, null), e[32](r);
5077
+ L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
5054
5078
  },
5055
5079
  p(a, s) {
5056
5080
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
@@ -5058,14 +5082,14 @@ function Mo(e) {
5058
5082
  i: $,
5059
5083
  o: $,
5060
5084
  d(a) {
5061
- a && O(t), o && o.d(), e[32](null);
5085
+ a && O(t), o && o.d(), e[33](null);
5062
5086
  }
5063
5087
  };
5064
5088
  }
5065
- function No(e, t, r) {
5089
+ function Ao(e, t, r) {
5066
5090
  let n;
5067
- sn(e, vo, (h) => r(16, n = h));
5068
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, f, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
5091
+ ln(e, bo, (h) => r(16, n = h));
5092
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
5069
5093
  none: { key: "0", value: "None" },
5070
5094
  accepted: { key: "1", value: "Accepted" },
5071
5095
  expired: { key: "2", value: "Expired" },
@@ -5076,47 +5100,50 @@ function No(e, t, r) {
5076
5100
  Ut(h, Dt[h]);
5077
5101
  });
5078
5102
  const Pr = () => {
5079
- bo(u);
5103
+ ko(u);
5080
5104
  }, Br = () => {
5081
5105
  let h = new URL(m);
5082
- fetch(h.href).then((p) => p.json()).then((p) => {
5083
- Object.keys(p).forEach((M) => {
5084
- Ut(M, p[M]);
5106
+ fetch(h.href).then((f) => f.json()).then((f) => {
5107
+ Object.keys(f).forEach((w) => {
5108
+ Ut(w, f[w]);
5085
5109
  });
5086
- }).catch((p) => {
5087
- console.log(p);
5110
+ }).catch((f) => {
5111
+ console.log(f);
5088
5112
  });
5089
- }, Or = () => {
5113
+ }, Or = (h, f) => {
5114
+ const w = n(h);
5115
+ return w !== h ? w : f;
5116
+ }, zr = () => {
5090
5117
  i && (v = i, _ = !0), o && (C = o);
5091
- }, Be = (h, p = !1) => {
5092
- p ? r(7, E = h) : (Ur(), r(6, H = h));
5093
- }, ve = (h, p, M, b = !1) => re(this, null, function* () {
5118
+ }, Be = (h, f = !1) => {
5119
+ f ? r(7, E = h) : (Dr(), r(6, H = h));
5120
+ }, ve = (h, f, w, b = !1) => re(this, null, function* () {
5094
5121
  try {
5095
- const T = yield fetch(h, M);
5096
- if (!T.ok)
5097
- throw new Error(n(p));
5098
- const I = yield T.json();
5122
+ const M = yield fetch(h, w);
5123
+ if (!M.ok)
5124
+ throw new Error(n(f));
5125
+ const I = yield M.json();
5099
5126
  return _ ? I : I.filter((q) => q.showOnRegister === !0);
5100
- } catch (T) {
5127
+ } catch (M) {
5101
5128
  throw Be(
5102
- T instanceof TypeError ? n(p) : T.message,
5129
+ M instanceof TypeError ? n(f) : M.message,
5103
5130
  b
5104
- ), T;
5131
+ ), M;
5105
5132
  }
5106
- }), zr = () => re(this, null, function* () {
5133
+ }), Lr = () => re(this, null, function* () {
5107
5134
  try {
5108
- let h = [], p = [];
5109
- if (_ ? [h, p] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = jr(J).sort((M, b) => M.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Ir(z)), Ae = W({}, V), r(9, j = [...p]), J.forEach((M) => {
5110
- let b = j.find((T) => T.tagCode === M.tagCode);
5111
- b || (b = Je(W({}, M), {
5135
+ let h = [], f = [];
5136
+ if (_ ? [h, f] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = Ir(J).sort((w, b) => w.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Rr(z)), Ae = W({}, V), r(9, j = [...f]), J.forEach((w) => {
5137
+ let b = j.find((M) => M.tagCode === w.tagCode);
5138
+ b || (b = Je(W({}, w), {
5112
5139
  status: R.denied.value
5113
- }), j.push(b)), b.description = M.description, b.orderNumber = M.orderNumber;
5140
+ }), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5114
5141
  }), y === "true") {
5115
- if (r(9, j = j.filter((M) => M.status === R.expired.value)), j.length !== 0)
5142
+ if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
5116
5143
  return;
5117
5144
  Be(n("wrongModalConfig"), !0);
5118
5145
  }
5119
- Rr();
5146
+ Ur();
5120
5147
  } catch (h) {
5121
5148
  throw r(10, _e = !1), Be(
5122
5149
  h instanceof TypeError ? n("invalidUrl") : h.message,
@@ -5127,10 +5154,10 @@ function No(e, t, r) {
5127
5154
  const h = new URL(`${a}/api/v1/gm/consents`);
5128
5155
  if (h.searchParams.append("Status", "Active"), !_)
5129
5156
  return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
5130
- const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5157
+ const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5131
5158
  return yield Promise.all([
5132
5159
  ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
5133
- ve(p.href, "fetchPlayerConsentsError", {
5160
+ ve(f.href, "fetchPlayerConsentsError", {
5134
5161
  method: "GET",
5135
5162
  headers: {
5136
5163
  "X-SessionId": v,
@@ -5138,66 +5165,66 @@ function No(e, t, r) {
5138
5165
  }
5139
5166
  })
5140
5167
  ]);
5141
- }), Lr = () => {
5168
+ }), jr = () => {
5142
5169
  Pe = !1;
5143
- const h = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
5170
+ const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
5144
5171
  "Content-Type": "application/json",
5145
5172
  Accept: "application/json"
5146
- }, M = { method: "GET", headers: p };
5147
- fetch(h.href, M).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((T) => (console.error(T), Oe(T))))).then((b) => {
5173
+ }, w = { method: "GET", headers: f };
5174
+ fetch(h.href, w).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((M) => (console.error(M), Oe(M))))).then((b) => {
5148
5175
  if (!Pe) {
5149
5176
  if (J = b, localStorage.getItem("playerConsents")) {
5150
5177
  try {
5151
5178
  r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
5152
- } catch (T) {
5153
- return console.error(T), Oe(T);
5179
+ } catch (M) {
5180
+ return console.error(M), Oe(M);
5154
5181
  }
5155
5182
  return;
5156
5183
  }
5157
- return r(9, j = J.map((T) => ({
5158
- id: T.id,
5184
+ return r(9, j = J.map((M) => ({
5185
+ id: M.id,
5159
5186
  status: R.denied.key,
5160
- friendlyName: T.friendlyName,
5161
- tagCode: T.tagCode,
5187
+ friendlyName: M.friendlyName,
5188
+ tagCode: M.tagCode,
5162
5189
  selected: null,
5163
- mustAccept: T.mustAccept
5190
+ mustAccept: M.mustAccept
5164
5191
  }))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
5165
5192
  }
5166
5193
  }).catch((b) => (console.error(b), Oe(b))).finally(() => {
5167
5194
  r(10, _e = !1);
5168
5195
  });
5169
- }, jr = (h) => {
5170
- const p = /* @__PURE__ */ new Map();
5171
- return h.forEach((M) => {
5172
- p.has(M.category.categoryTagCode) || p.set(M.category.categoryTagCode, M.category);
5173
- }), Array.from(p.values());
5174
5196
  }, Ir = (h) => {
5175
- const p = localStorage.getItem("categoryToggle" + C);
5176
- if (p === null) {
5177
- const M = h.reduce(
5178
- (b, T) => (b[T.categoryTagCode] = !1, b),
5197
+ const f = /* @__PURE__ */ new Map();
5198
+ return h.forEach((w) => {
5199
+ f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
5200
+ }), Array.from(f.values());
5201
+ }, Rr = (h) => {
5202
+ const f = localStorage.getItem("categoryToggle" + C);
5203
+ if (f === null) {
5204
+ const w = h.reduce(
5205
+ (b, M) => (b[M.categoryTagCode] = !1, b),
5179
5206
  {}
5180
5207
  );
5181
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(M)), M;
5208
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
5182
5209
  } else
5183
- return JSON.parse(p);
5184
- }, Rr = () => {
5210
+ return JSON.parse(f);
5211
+ }, Ur = () => {
5185
5212
  j.forEach((h) => {
5186
5213
  r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
5187
5214
  }), r(13, D = W({}, Q));
5188
- }, Ur = () => {
5215
+ }, Dr = () => {
5189
5216
  r(13, D = W({}, Q)), r(11, V = W({}, Ae));
5190
- }, Dr = () => re(this, null, function* () {
5217
+ }, Gr = () => re(this, null, function* () {
5191
5218
  if (!Ne)
5192
5219
  return;
5193
5220
  Ne = !1;
5194
- const h = [], p = [];
5221
+ const h = [], f = [];
5195
5222
  if (Object.keys(D).forEach((b) => {
5196
- const T = j.find((I) => I.tagCode === b);
5197
- D[b] !== Q[b] && (T ? h.push({
5223
+ const M = j.find((I) => I.tagCode === b);
5224
+ D[b] !== Q[b] && (M ? h.push({
5198
5225
  tagCode: b,
5199
5226
  status: D[b] ? R.accepted.value : R.denied.value
5200
- }) : p.push({
5227
+ }) : f.push({
5201
5228
  tagCode: b,
5202
5229
  status: D[b] ? R.accepted.value : R.denied.value
5203
5230
  }));
@@ -5205,24 +5232,24 @@ function No(e, t, r) {
5205
5232
  localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5206
5233
  {
5207
5234
  type: "NewPlayerConsentData",
5208
- data: JSON.stringify(p)
5235
+ data: JSON.stringify(f)
5209
5236
  },
5210
5237
  window.location.href
5211
5238
  ), Ne = !0;
5212
5239
  return;
5213
5240
  }
5214
- const M = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5241
+ const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5215
5242
  try {
5216
5243
  const b = yield Promise.allSettled([
5217
- p.length > 0 && ve(M.href, "updateConsentsError", {
5244
+ f.length > 0 && ve(w.href, "updateConsentsError", {
5218
5245
  method: "POST",
5219
5246
  headers: {
5220
5247
  "X-SessionId": v,
5221
5248
  "Content-Type": "application/json"
5222
5249
  },
5223
- body: JSON.stringify({ userConsents: p })
5250
+ body: JSON.stringify({ userConsents: f })
5224
5251
  }),
5225
- h.length > 0 && ve(M.href, "updateConsentsError", {
5252
+ h.length > 0 && ve(w.href, "updateConsentsError", {
5226
5253
  method: "PATCH",
5227
5254
  headers: {
5228
5255
  "X-SessionId": v,
@@ -5231,12 +5258,12 @@ function No(e, t, r) {
5231
5258
  body: JSON.stringify({ userConsents: h })
5232
5259
  })
5233
5260
  ]);
5234
- b.forEach((T, I) => {
5235
- if (T.status === "rejected" || T.value.ok === !1) {
5236
- const q = I < p.length ? p[I] : h[I - p.length];
5261
+ b.forEach((M, I) => {
5262
+ if (M.status === "rejected" || M.value.ok === !1) {
5263
+ const q = I < f.length ? f[I] : h[I - f.length];
5237
5264
  r(13, D[q.tagCode] = Q[q.tagCode], D);
5238
5265
  }
5239
- }), b.every((T) => T.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5266
+ }), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5240
5267
  {
5241
5268
  type: "PlayerConsentUpdated",
5242
5269
  success: !0
@@ -5254,56 +5281,56 @@ function No(e, t, r) {
5254
5281
  } finally {
5255
5282
  Ne = !0, r(14, ye = !1);
5256
5283
  }
5257
- }), Gr = (h) => {
5258
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), M = {
5284
+ }), Fr = (h) => {
5285
+ const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
5259
5286
  "Content-Type": "application/json",
5260
5287
  Accept: "application/json"
5261
5288
  }, b = {
5262
5289
  playerConsents: j,
5263
5290
  registrationId: h
5264
- }, T = {
5291
+ }, M = {
5265
5292
  method: "POST",
5266
5293
  body: JSON.stringify(b),
5267
- headers: M
5294
+ headers: w
5268
5295
  };
5269
- fetch(p.href, T).then((I) => {
5296
+ fetch(f.href, M).then((I) => {
5270
5297
  I.ok || (Pe = !0);
5271
5298
  }).catch((I) => (console.error(I), Oe(I))).finally(() => {
5272
5299
  r(10, _e = !1);
5273
5300
  });
5274
5301
  }, Et = (h) => {
5275
- j.filter((p) => p.category.categoryTagCode === h).forEach((p) => {
5276
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[p.tagCode] = V[h] || !1, D);
5302
+ j.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
5303
+ f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
5277
5304
  }), r(14, ye = Ct());
5278
- }, We = (h, p, M) => {
5279
- const b = j.find((q) => q.id === M), T = p ? "value" : "key";
5305
+ }, We = (h, f, w) => {
5306
+ const b = j.find((q) => q.id === w), M = f ? "value" : "key";
5280
5307
  let I;
5281
- if (!p && b.mustAccept) {
5308
+ if (!f && b.mustAccept) {
5282
5309
  const q = Array.from(He.children);
5283
5310
  for (const be of q)
5284
- if (I = Array.from(be.children).find((Kr) => Kr.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5311
+ if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5285
5312
  break;
5286
5313
  }
5287
- if (b.status === R.accepted[T] ? (b.status = R.denied[T], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[T], I && (I.innerHTML = "")), p) {
5314
+ if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
5288
5315
  r(13, D[b.tagCode] = !D[b.tagCode], D);
5289
- const q = j.filter((be) => be.category.categoryTagCode === p.categoryTagCode).every((be) => be.status !== R.denied.value);
5290
- r(11, V[p.categoryTagCode] = q, V);
5316
+ const q = j.filter((be) => be.category.categoryTagCode === f.categoryTagCode).every((be) => be.status !== R.denied.value);
5317
+ r(11, V[f.categoryTagCode] = q, V);
5291
5318
  }
5292
- Fr();
5293
- }, Fr = ((h, p) => {
5294
- let M;
5319
+ $r();
5320
+ }, $r = ((h, f) => {
5321
+ let w;
5295
5322
  return function(...b) {
5296
- const T = this;
5297
- clearTimeout(M), M = setTimeout(
5323
+ const M = this;
5324
+ clearTimeout(w), w = setTimeout(
5298
5325
  () => {
5299
- h.apply(T, b);
5326
+ h.apply(M, b);
5300
5327
  },
5301
- p
5328
+ f
5302
5329
  );
5303
5330
  };
5304
- })(() => $r(), 500), $r = () => {
5331
+ })(() => Vr(), 500), Vr = () => {
5305
5332
  r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
5306
- }, Ct = () => j.filter((p) => j.some((M) => p.tagCode === M.tagCode && M.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Oe = (h) => {
5333
+ }, Ct = () => j.filter((f) => j.some((w) => f.tagCode === w.tagCode && w.mustAccept && (f.status === R.denied.key || f.status === R.denied.value))).length === 0, Oe = (h) => {
5307
5334
  window.postMessage(
5308
5335
  {
5309
5336
  type: "WidgetNotification",
@@ -5311,46 +5338,46 @@ function No(e, t, r) {
5311
5338
  },
5312
5339
  window.location.href
5313
5340
  );
5314
- }, Vr = (h) => {
5315
- h.data && h.data.type !== "setUpPlayerConsents" || Gr(h.data.registerid);
5341
+ }, Xr = (h) => {
5342
+ h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
5316
5343
  };
5317
- pn(() => {
5344
+ gn(() => {
5318
5345
  setTimeout(
5319
5346
  () => {
5320
- r(25, S = !0);
5347
+ r(26, S = !0);
5321
5348
  },
5322
5349
  50
5323
5350
  );
5324
- const h = (p) => Vr(p);
5351
+ const h = (f) => Xr(f);
5325
5352
  return window.addEventListener("message", h), () => {
5326
5353
  window.removeEventListener("message", h);
5327
5354
  };
5328
5355
  });
5329
- function Xr(h) {
5356
+ function qr(h) {
5330
5357
  V[h.categoryTagCode] = this.checked, r(11, V);
5331
5358
  }
5332
- const qr = (h) => Et(h.categoryTagCode), Wr = (h, p) => p.category.categoryTagCode === h.categoryTagCode, Zr = (h, p) => We(p, h.category, h.id), Jr = (h, p) => We(p, null, h.id);
5333
- function Qr(h) {
5359
+ const Wr = (h) => Et(h.categoryTagCode), Zr = (h, f) => f.category.categoryTagCode === h.categoryTagCode, Jr = (h, f) => We(f, h.category, h.id), Qr = (h, f) => We(f, null, h.id);
5360
+ function Yr(h) {
5334
5361
  Re[h ? "unshift" : "push"](() => {
5335
5362
  He = h, r(15, He);
5336
5363
  });
5337
5364
  }
5338
- function Yr(h) {
5365
+ function Kr(h) {
5339
5366
  Re[h ? "unshift" : "push"](() => {
5340
5367
  g = h, r(5, g);
5341
5368
  });
5342
5369
  }
5343
5370
  return e.$$set = (h) => {
5344
- "session" in h && r(0, i = h.session), "userid" in h && r(20, o = h.userid), "endpoint" in h && r(21, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(22, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(23, m = h.translationurl), "modalconsents" in h && r(24, y = h.modalconsents);
5371
+ "session" in h && r(0, i = h.session), "userid" in h && r(21, o = h.userid), "endpoint" in h && r(22, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(23, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(24, m = h.translationurl), "modalconsents" in h && r(25, y = h.modalconsents);
5345
5372
  }, e.$$.update = () => {
5346
5373
  e.$$.dirty[0] & /*isMounted, session*/
5347
- 33554433 && S && i && (Or(), zr()), e.$$.dirty[0] & /*session*/
5348
- 1 && (i || Lr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5349
- 34 && s && g && wn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5350
- 36 && c && g && Tn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5351
- 40 && g && Mn(g, `${l}.Style`, f), e.$$.dirty[0] & /*lang*/
5352
- 4194304 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5353
- 8388608 && m && Br();
5374
+ 67108865 && S && i && (zr(), Lr()), e.$$.dirty[0] & /*session*/
5375
+ 1 && (i || jr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5376
+ 34 && s && g && Tn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5377
+ 36 && c && g && Mn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5378
+ 40 && g && Nn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
5379
+ 8388608 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5380
+ 16777216 && m && Br();
5354
5381
  }, [
5355
5382
  i,
5356
5383
  s,
@@ -5369,7 +5396,8 @@ function No(e, t, r) {
5369
5396
  ye,
5370
5397
  He,
5371
5398
  n,
5372
- Dr,
5399
+ Or,
5400
+ Gr,
5373
5401
  Et,
5374
5402
  We,
5375
5403
  o,
@@ -5378,13 +5406,13 @@ function No(e, t, r) {
5378
5406
  m,
5379
5407
  y,
5380
5408
  S,
5381
- Xr,
5382
5409
  qr,
5383
5410
  Wr,
5384
5411
  Zr,
5385
5412
  Jr,
5386
5413
  Qr,
5387
- Yr
5414
+ Yr,
5415
+ Kr
5388
5416
  ];
5389
5417
  }
5390
5418
  class Hr extends ar {
@@ -5392,22 +5420,22 @@ class Hr extends ar {
5392
5420
  super(), nr(
5393
5421
  this,
5394
5422
  t,
5423
+ Ao,
5395
5424
  No,
5396
- Mo,
5397
5425
  _t,
5398
5426
  {
5399
5427
  session: 0,
5400
- userid: 20,
5401
- endpoint: 21,
5428
+ userid: 21,
5429
+ endpoint: 22,
5402
5430
  clientstyling: 1,
5403
5431
  clientstylingurl: 2,
5404
5432
  mbsource: 3,
5405
- lang: 22,
5433
+ lang: 23,
5406
5434
  displayconsentdescription: 4,
5407
- translationurl: 23,
5408
- modalconsents: 24
5435
+ translationurl: 24,
5436
+ modalconsents: 25
5409
5437
  },
5410
- Co,
5438
+ So,
5411
5439
  [-1, -1, -1]
5412
5440
  );
5413
5441
  }
@@ -5418,13 +5446,13 @@ class Hr extends ar {
5418
5446
  this.$$set({ session: t }), X();
5419
5447
  }
5420
5448
  get userid() {
5421
- return this.$$.ctx[20];
5449
+ return this.$$.ctx[21];
5422
5450
  }
5423
5451
  set userid(t) {
5424
5452
  this.$$set({ userid: t }), X();
5425
5453
  }
5426
5454
  get endpoint() {
5427
- return this.$$.ctx[21];
5455
+ return this.$$.ctx[22];
5428
5456
  }
5429
5457
  set endpoint(t) {
5430
5458
  this.$$set({ endpoint: t }), X();
@@ -5448,7 +5476,7 @@ class Hr extends ar {
5448
5476
  this.$$set({ mbsource: t }), X();
5449
5477
  }
5450
5478
  get lang() {
5451
- return this.$$.ctx[22];
5479
+ return this.$$.ctx[23];
5452
5480
  }
5453
5481
  set lang(t) {
5454
5482
  this.$$set({ lang: t }), X();
@@ -5460,37 +5488,37 @@ class Hr extends ar {
5460
5488
  this.$$set({ displayconsentdescription: t }), X();
5461
5489
  }
5462
5490
  get translationurl() {
5463
- return this.$$.ctx[23];
5491
+ return this.$$.ctx[24];
5464
5492
  }
5465
5493
  set translationurl(t) {
5466
5494
  this.$$set({ translationurl: t }), X();
5467
5495
  }
5468
5496
  get modalconsents() {
5469
- return this.$$.ctx[24];
5497
+ return this.$$.ctx[25];
5470
5498
  }
5471
5499
  set modalconsents(t) {
5472
5500
  this.$$set({ modalconsents: t }), X();
5473
5501
  }
5474
5502
  }
5475
5503
  or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5476
- const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5504
+ const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5477
5505
  __proto__: null,
5478
5506
  default: Hr
5479
5507
  }, Symbol.toStringTag, { value: "Module" }));
5480
5508
 
5481
- exports.P = Bo;
5509
+ exports.P = Oo;
5482
5510
  exports.S = ar;
5483
- exports.a = ln;
5511
+ exports.a = cn;
5484
5512
  exports.b = L;
5485
5513
  exports.c = Re;
5486
5514
  exports.d = O;
5487
- exports.e = w;
5515
+ exports.e = T;
5488
5516
  exports.f = X;
5489
- exports.g = wn;
5490
- exports.h = Tn;
5517
+ exports.g = Tn;
5518
+ exports.h = Mn;
5491
5519
  exports.i = nr;
5492
- exports.j = Mn;
5520
+ exports.j = Nn;
5493
5521
  exports.k = or;
5494
5522
  exports.n = $;
5495
- exports.o = pn;
5523
+ exports.o = gn;
5496
5524
  exports.s = _t;