@everymatrix/player-consents 1.60.2 → 1.61.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var Pr = Object.defineProperty, Br = Object.defineProperties;
1
+ var Br = Object.defineProperty, zr = Object.defineProperties;
2
2
  var Or = Object.getOwnPropertyDescriptors;
3
3
  var it = Object.getOwnPropertySymbols;
4
4
  var Ir = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var ot = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
5
+ var ot = (e, t, r) => t in e ? Br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
7
  Ir.call(t, r) && ot(e, r, t[r]);
8
8
  if (it)
9
9
  for (var r of it(t))
10
10
  jr.call(t, r) && ot(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Br(e, Or(t));
12
+ }, at = (e, t) => zr(e, Or(t));
13
13
  var he = (e, t, r) => new Promise((n, i) => {
14
14
  var o = (h) => {
15
15
  try {
@@ -26,14 +26,14 @@ var he = (e, t, r) => new Promise((n, i) => {
26
26
  }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
27
27
  s((r = r.apply(e, t)).next());
28
28
  });
29
- import { n as q, s as Ye, a as Lr, r as It, i as Rr, c as jt, S as Lt, b as Rt, d as j, e as L, f as S, g as st, h as E, j as X, k as Ur, l as N, m as Dr, o as Gr, p as lt, q as Q, t as fe, u as _e, v as $, w as Ke, x as ge, y as G, z as Fr, H as Ut, A as Vr, B as Xr, C as qr, D as Wr } from "./GeneralAnimationLoading-CAP3Fch3.js";
29
+ import { n as X, s as Ye, a as Lr, r as It, i as Rr, c as jt, S as Lt, b as Rt, d as j, e as L, f as w, g as st, h as k, j as V, k as Ur, l as A, m as Dr, o as qr, p as lt, q as Q, t as fe, u as _e, v as $, w as Ke, x as me, y as q, z as Gr, H as Ut, A as Fr, B as Vr, C as Xr, D as Wr } from "./GeneralAnimationLoading-CAP3Fch3.js";
30
30
  const K = [];
31
31
  function Zr(e, t) {
32
32
  return {
33
- subscribe: Ne(e, t).subscribe
33
+ subscribe: Ae(e, t).subscribe
34
34
  };
35
35
  }
36
- function Ne(e, t = q) {
36
+ function Ae(e, t = X) {
37
37
  let r;
38
38
  const n = /* @__PURE__ */ new Set();
39
39
  function i(s) {
@@ -51,9 +51,9 @@ function Ne(e, t = q) {
51
51
  function o(s) {
52
52
  i(s(e));
53
53
  }
54
- function a(s, h = q) {
54
+ function a(s, h = X) {
55
55
  const u = [s, h];
56
- return n.add(u), n.size === 1 && (r = t(i, o) || q), s(e), () => {
56
+ return n.add(u), n.size === 1 && (r = t(i, o) || X), s(e), () => {
57
57
  n.delete(u), n.size === 0 && r && (r(), r = null);
58
58
  };
59
59
  }
@@ -67,26 +67,26 @@ function ie(e, t, r) {
67
67
  return Zr(r, (a, s) => {
68
68
  let h = !1;
69
69
  const u = [];
70
- let l = 0, d = q;
71
- const g = () => {
70
+ let l = 0, d = X;
71
+ const m = () => {
72
72
  if (l)
73
73
  return;
74
74
  d();
75
75
  const f = t(n ? u[0] : u, a, s);
76
- o ? a(f) : d = Rr(f) ? f : q;
77
- }, v = i.map(
78
- (f, m) => Lr(
76
+ o ? a(f) : d = Rr(f) ? f : X;
77
+ }, b = i.map(
78
+ (f, p) => Lr(
79
79
  f,
80
80
  (C) => {
81
- u[m] = C, l &= ~(1 << m), h && g();
81
+ u[p] = C, l &= ~(1 << p), h && m();
82
82
  },
83
83
  () => {
84
- l |= 1 << m;
84
+ l |= 1 << p;
85
85
  }
86
86
  )
87
87
  );
88
- return h = !0, g(), function() {
89
- It(v), d(), h = !1;
88
+ return h = !0, m(), function() {
89
+ It(b), d(), h = !1;
90
90
  };
91
91
  });
92
92
  }
@@ -110,12 +110,12 @@ function tn(e) {
110
110
  function rn(e) {
111
111
  return Array.isArray(e) ? [] : {};
112
112
  }
113
- function me(e, t) {
113
+ function pe(e, t) {
114
114
  return t.clone !== !1 && t.isMergeableObject(e) ? ee(rn(e), e, t) : e;
115
115
  }
116
116
  function nn(e, t, r) {
117
117
  return e.concat(t).map(function(n) {
118
- return me(n, r);
118
+ return pe(n, r);
119
119
  });
120
120
  }
121
121
  function on(e, t) {
@@ -145,15 +145,15 @@ function sn(e, t) {
145
145
  function ln(e, t, r) {
146
146
  var n = {};
147
147
  return r.isMergeableObject(e) && ct(e).forEach(function(i) {
148
- n[i] = me(e[i], r);
148
+ n[i] = pe(e[i], r);
149
149
  }), ct(t).forEach(function(i) {
150
- sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
150
+ sn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
151
151
  }), n;
152
152
  }
153
153
  function ee(e, t, r) {
154
- r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = me;
154
+ r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || Qr, r.cloneUnlessOtherwiseSpecified = pe;
155
155
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
156
- return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : me(t, r);
156
+ return o ? n ? r.arrayMerge(e, t, r) : ln(e, t, r) : pe(t, r);
157
157
  }
158
158
  ee.all = function(t, r) {
159
159
  if (!Array.isArray(t))
@@ -178,32 +178,32 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
178
178
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
179
179
  PERFORMANCE OF THIS SOFTWARE.
180
180
  ***************************************************************************** */
181
- var Ge = function(e, t) {
182
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
181
+ var qe = function(e, t) {
182
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
183
183
  r.__proto__ = n;
184
184
  } || function(r, n) {
185
185
  for (var i in n)
186
186
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
187
- }, Ge(e, t);
187
+ }, qe(e, t);
188
188
  };
189
- function Ae(e, t) {
189
+ function He(e, t) {
190
190
  if (typeof t != "function" && t !== null)
191
191
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
192
- Ge(e, t);
192
+ qe(e, t);
193
193
  function r() {
194
194
  this.constructor = e;
195
195
  }
196
196
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
197
197
  }
198
- var A = function() {
199
- return A = Object.assign || function(t) {
198
+ var H = function() {
199
+ return H = Object.assign || function(t) {
200
200
  for (var r, n = 1, i = arguments.length; n < i; n++) {
201
201
  r = arguments[n];
202
202
  for (var o in r)
203
203
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
204
204
  }
205
205
  return t;
206
- }, A.apply(this, arguments);
206
+ }, H.apply(this, arguments);
207
207
  };
208
208
  function dn(e, t) {
209
209
  var r = {};
@@ -221,36 +221,36 @@ function Ie(e, t, r) {
221
221
  return e.concat(o || t);
222
222
  }
223
223
  function je(e, t) {
224
- var r = t && t.cache ? t.cache : vn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : pn;
224
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : gn;
225
225
  return i(e, {
226
226
  cache: r,
227
227
  serializer: n
228
228
  });
229
229
  }
230
- function gn(e) {
230
+ function mn(e) {
231
231
  return e == null || typeof e == "number" || typeof e == "boolean";
232
232
  }
233
- function mn(e, t, r, n) {
234
- var i = gn(n) ? n : r(n), o = t.get(i);
233
+ function pn(e, t, r, n) {
234
+ var i = mn(n) ? n : r(n), o = t.get(i);
235
235
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
236
236
  }
237
- function Gt(e, t, r) {
237
+ function qt(e, t, r) {
238
238
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
239
239
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
240
240
  }
241
- function Ft(e, t, r, n, i) {
241
+ function Gt(e, t, r, n, i) {
242
242
  return r.bind(t, e, n, i);
243
243
  }
244
- function pn(e, t) {
245
- var r = e.length === 1 ? mn : Gt;
246
- return Ft(e, this, r, t.cache.create(), t.serializer);
244
+ function gn(e, t) {
245
+ var r = e.length === 1 ? pn : qt;
246
+ return Gt(e, this, r, t.cache.create(), t.serializer);
247
247
  }
248
248
  function fn(e, t) {
249
- return Ft(e, this, Gt, t.cache.create(), t.serializer);
249
+ return Gt(e, this, qt, t.cache.create(), t.serializer);
250
250
  }
251
251
  var _n = function() {
252
252
  return JSON.stringify(arguments);
253
- }, bn = (
253
+ }, vn = (
254
254
  /** @class */
255
255
  function() {
256
256
  function e() {
@@ -262,9 +262,9 @@ var _n = function() {
262
262
  this.cache[t] = r;
263
263
  }, e;
264
264
  }()
265
- ), vn = {
265
+ ), bn = {
266
266
  create: function() {
267
- return new bn();
267
+ return new vn();
268
268
  }
269
269
  }, Le = {
270
270
  variadic: fn
@@ -272,51 +272,51 @@ var _n = function() {
272
272
  (function(e) {
273
273
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
274
274
  })(M || (M = {}));
275
- var P;
275
+ var B;
276
276
  (function(e) {
277
277
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
278
- })(P || (P = {}));
278
+ })(B || (B = {}));
279
279
  var te;
280
280
  (function(e) {
281
281
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
282
282
  })(te || (te = {}));
283
283
  function ut(e) {
284
- return e.type === P.literal;
284
+ return e.type === B.literal;
285
285
  }
286
286
  function yn(e) {
287
- return e.type === P.argument;
287
+ return e.type === B.argument;
288
+ }
289
+ function Ft(e) {
290
+ return e.type === B.number;
288
291
  }
289
292
  function Vt(e) {
290
- return e.type === P.number;
293
+ return e.type === B.date;
291
294
  }
292
295
  function Xt(e) {
293
- return e.type === P.date;
294
- }
295
- function qt(e) {
296
- return e.type === P.time;
296
+ return e.type === B.time;
297
297
  }
298
298
  function Wt(e) {
299
- return e.type === P.select;
299
+ return e.type === B.select;
300
300
  }
301
301
  function Zt(e) {
302
- return e.type === P.plural;
302
+ return e.type === B.plural;
303
303
  }
304
- function kn(e) {
305
- return e.type === P.pound;
304
+ function En(e) {
305
+ return e.type === B.pound;
306
306
  }
307
307
  function Jt(e) {
308
- return e.type === P.tag;
308
+ return e.type === B.tag;
309
309
  }
310
310
  function Qt(e) {
311
311
  return !!(e && typeof e == "object" && e.type === te.number);
312
312
  }
313
- function Fe(e) {
313
+ function Ge(e) {
314
314
  return !!(e && typeof e == "object" && e.type === te.dateTime);
315
315
  }
316
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
316
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
317
317
  function Cn(e) {
318
318
  var t = {};
319
- return e.replace(En, function(r) {
319
+ return e.replace(kn, function(r) {
320
320
  var n = r.length;
321
321
  switch (r[0]) {
322
322
  case "G":
@@ -405,12 +405,12 @@ function Cn(e) {
405
405
  return "";
406
406
  }), t;
407
407
  }
408
- var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
409
- function xn(e) {
408
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
409
+ function Sn(e) {
410
410
  if (e.length === 0)
411
411
  throw new Error("Number skeleton cannot be empty");
412
- for (var t = e.split(Sn).filter(function(g) {
413
- return g.length > 0;
412
+ for (var t = e.split(wn).filter(function(m) {
413
+ return m.length > 0;
414
414
  }), r = [], n = 0, i = t; n < i.length; n++) {
415
415
  var o = i[n], a = o.split("/");
416
416
  if (a.length === 0)
@@ -424,7 +424,7 @@ function xn(e) {
424
424
  }
425
425
  return r;
426
426
  }
427
- function zn(e) {
427
+ function xn(e) {
428
428
  return e.replace(/^(.*?)-/, "");
429
429
  }
430
430
  var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
@@ -488,11 +488,11 @@ function Mn(e) {
488
488
  }
489
489
  return t;
490
490
  }
491
- function gt(e) {
491
+ function mt(e) {
492
492
  var t = {}, r = er(e);
493
493
  return r || t;
494
494
  }
495
- function wn(e) {
495
+ function Nn(e) {
496
496
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
497
497
  var i = n[r];
498
498
  switch (i.stem) {
@@ -516,7 +516,7 @@ function wn(e) {
516
516
  continue;
517
517
  case "measure-unit":
518
518
  case "unit":
519
- t.style = "unit", t.unit = zn(i.options[0]);
519
+ t.style = "unit", t.unit = xn(i.options[0]);
520
520
  continue;
521
521
  case "compact-short":
522
522
  case "K":
@@ -527,13 +527,13 @@ function wn(e) {
527
527
  t.notation = "compact", t.compactDisplay = "long";
528
528
  continue;
529
529
  case "scientific":
530
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
531
- return A(A({}, h), gt(u));
530
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
531
+ return H(H({}, h), mt(u));
532
532
  }, {}));
533
533
  continue;
534
534
  case "engineering":
535
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
536
- return A(A({}, h), gt(u));
535
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
536
+ return H(H({}, h), mt(u));
537
537
  }, {}));
538
538
  continue;
539
539
  case "notation-simple":
@@ -578,13 +578,13 @@ function wn(e) {
578
578
  case "integer-width":
579
579
  if (i.options.length > 1)
580
580
  throw new RangeError("integer-width stems only accept a single optional option");
581
- i.options[0].replace(Tn, function(h, u, l, d, g, v) {
581
+ i.options[0].replace(Tn, function(h, u, l, d, m, b) {
582
582
  if (u)
583
583
  t.minimumIntegerDigits = l.length;
584
584
  else {
585
- if (d && g)
585
+ if (d && m)
586
586
  throw new Error("We currently do not support maximum integer digits");
587
- if (v)
587
+ if (b)
588
588
  throw new Error("We currently do not support exact integer digits");
589
589
  }
590
590
  return "";
@@ -598,25 +598,25 @@ function wn(e) {
598
598
  if (ht.test(i.stem)) {
599
599
  if (i.options.length > 1)
600
600
  throw new RangeError("Fraction-precision stems only accept a single optional option");
601
- i.stem.replace(ht, function(h, u, l, d, g, v) {
602
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : g && v ? (t.minimumFractionDigits = g.length, t.maximumFractionDigits = g.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
601
+ i.stem.replace(ht, function(h, u, l, d, m, b) {
602
+ return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
603
603
  });
604
604
  var o = i.options[0];
605
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), dt(o)));
605
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), dt(o)));
606
606
  continue;
607
607
  }
608
608
  if (Kt.test(i.stem)) {
609
- t = A(A({}, t), dt(i.stem));
609
+ t = H(H({}, t), dt(i.stem));
610
610
  continue;
611
611
  }
612
612
  var a = er(i.stem);
613
- a && (t = A(A({}, t), a));
613
+ a && (t = H(H({}, t), a));
614
614
  var s = Mn(i.stem);
615
- s && (t = A(A({}, t), s));
615
+ s && (t = H(H({}, t), s));
616
616
  }
617
617
  return t;
618
618
  }
619
- var xe = {
619
+ var Se = {
620
620
  "001": [
621
621
  "H",
622
622
  "h"
@@ -2031,13 +2031,13 @@ var xe = {
2031
2031
  "h"
2032
2032
  ]
2033
2033
  };
2034
- function Nn(e, t) {
2034
+ function An(e, t) {
2035
2035
  for (var r = "", n = 0; n < e.length; n++) {
2036
2036
  var i = e.charAt(n);
2037
2037
  if (i === "j") {
2038
2038
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2039
2039
  o++, n++;
2040
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
2040
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
2041
2041
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2042
2042
  r += h;
2043
2043
  for (; a-- > 0; )
@@ -2047,7 +2047,7 @@ function Nn(e, t) {
2047
2047
  }
2048
2048
  return r;
2049
2049
  }
2050
- function An(e) {
2050
+ function Hn(e) {
2051
2051
  var t = e.hourCycle;
2052
2052
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2053
2053
  e.hourCycles && // @ts-ignore
@@ -2066,23 +2066,23 @@ function An(e) {
2066
2066
  }
2067
2067
  var r = e.language, n;
2068
2068
  r !== "root" && (n = e.maximize().region);
2069
- var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
2069
+ var i = Se[n || ""] || Se[r || ""] || Se["".concat(r, "-001")] || Se["001"];
2070
2070
  return i[0];
2071
2071
  }
2072
- var Re, Hn = new RegExp("^".concat(Yt.source, "*")), Pn = new RegExp("".concat(Yt.source, "*$"));
2073
- function w(e, t) {
2072
+ var Re, Pn = new RegExp("^".concat(Yt.source, "*")), Bn = new RegExp("".concat(Yt.source, "*$"));
2073
+ function N(e, t) {
2074
2074
  return { start: e, end: t };
2075
2075
  }
2076
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2076
+ var zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2077
2077
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2078
- }, Ve = !0;
2078
+ }, Fe = !0;
2079
2079
  try {
2080
- var Gn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2081
- Ve = ((Re = Gn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2080
+ var qn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2081
+ Fe = ((Re = qn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2082
2082
  } catch (e) {
2083
- Ve = !1;
2083
+ Fe = !1;
2084
2084
  }
2085
- var mt = Bn ? (
2085
+ var pt = zn ? (
2086
2086
  // Native
2087
2087
  function(t, r, n) {
2088
2088
  return t.startsWith(r, n);
@@ -2092,7 +2092,7 @@ var mt = Bn ? (
2092
2092
  function(t, r, n) {
2093
2093
  return t.slice(n, n + r.length) === r;
2094
2094
  }
2095
- ), Xe = On ? String.fromCodePoint : (
2095
+ ), Ve = On ? String.fromCodePoint : (
2096
2096
  // IE11
2097
2097
  function() {
2098
2098
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2104,7 +2104,7 @@ var mt = Bn ? (
2104
2104
  }
2105
2105
  return n;
2106
2106
  }
2107
- ), pt = (
2107
+ ), gt = (
2108
2108
  // native
2109
2109
  In ? Object.fromEntries : (
2110
2110
  // Ponyfill
@@ -2130,7 +2130,7 @@ var mt = Bn ? (
2130
2130
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2131
2131
  }
2132
2132
  }
2133
- ), Fn = Ln ? (
2133
+ ), Gn = Ln ? (
2134
2134
  // Native
2135
2135
  function(t) {
2136
2136
  return t.trimStart();
@@ -2138,9 +2138,9 @@ var mt = Bn ? (
2138
2138
  ) : (
2139
2139
  // Ponyfill
2140
2140
  function(t) {
2141
- return t.replace(Hn, "");
2141
+ return t.replace(Pn, "");
2142
2142
  }
2143
- ), Vn = Rn ? (
2143
+ ), Fn = Rn ? (
2144
2144
  // Native
2145
2145
  function(t) {
2146
2146
  return t.trimEnd();
@@ -2148,32 +2148,32 @@ var mt = Bn ? (
2148
2148
  ) : (
2149
2149
  // Ponyfill
2150
2150
  function(t) {
2151
- return t.replace(Pn, "");
2151
+ return t.replace(Bn, "");
2152
2152
  }
2153
2153
  );
2154
2154
  function rr(e, t) {
2155
2155
  return new RegExp(e, t);
2156
2156
  }
2157
- var qe;
2158
- if (Ve) {
2157
+ var Xe;
2158
+ if (Fe) {
2159
2159
  var ft = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2160
- qe = function(t, r) {
2160
+ Xe = function(t, r) {
2161
2161
  var n;
2162
2162
  ft.lastIndex = r;
2163
2163
  var i = ft.exec(t);
2164
2164
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2165
2165
  };
2166
2166
  } else
2167
- qe = function(t, r) {
2167
+ Xe = function(t, r) {
2168
2168
  for (var n = []; ; ) {
2169
2169
  var i = tr(t, r);
2170
2170
  if (i === void 0 || nr(i) || Zn(i))
2171
2171
  break;
2172
2172
  n.push(i), r += i >= 65536 ? 2 : 1;
2173
2173
  }
2174
- return Xe.apply(void 0, n);
2174
+ return Ve.apply(void 0, n);
2175
2175
  };
2176
- var Xn = (
2176
+ var Vn = (
2177
2177
  /** @class */
2178
2178
  function() {
2179
2179
  function e(t, r) {
@@ -2197,13 +2197,13 @@ var Xn = (
2197
2197
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2198
2198
  var s = this.clonePosition();
2199
2199
  this.bump(), i.push({
2200
- type: P.pound,
2201
- location: w(s, this.clonePosition())
2200
+ type: B.pound,
2201
+ location: N(s, this.clonePosition())
2202
2202
  });
2203
2203
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2204
2204
  if (n)
2205
2205
  break;
2206
- return this.error(M.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2206
+ return this.error(M.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2207
2207
  } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2208
2208
  var a = this.parseTag(t, r);
2209
2209
  if (a.err)
@@ -2225,9 +2225,9 @@ var Xn = (
2225
2225
  if (this.bumpSpace(), this.bumpIf("/>"))
2226
2226
  return {
2227
2227
  val: {
2228
- type: P.literal,
2228
+ type: B.literal,
2229
2229
  value: "<".concat(i, "/>"),
2230
- location: w(n, this.clonePosition())
2230
+ location: N(n, this.clonePosition())
2231
2231
  },
2232
2232
  err: null
2233
2233
  };
@@ -2238,21 +2238,21 @@ var Xn = (
2238
2238
  var a = o.val, s = this.clonePosition();
2239
2239
  if (this.bumpIf("</")) {
2240
2240
  if (this.isEOF() || !We(this.char()))
2241
- return this.error(M.INVALID_TAG, w(s, this.clonePosition()));
2241
+ return this.error(M.INVALID_TAG, N(s, this.clonePosition()));
2242
2242
  var h = this.clonePosition(), u = this.parseTagName();
2243
- return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, w(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2243
+ return i !== u ? this.error(M.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2244
2244
  val: {
2245
- type: P.tag,
2245
+ type: B.tag,
2246
2246
  value: i,
2247
2247
  children: a,
2248
- location: w(n, this.clonePosition())
2248
+ location: N(n, this.clonePosition())
2249
2249
  },
2250
2250
  err: null
2251
- } : this.error(M.INVALID_TAG, w(s, this.clonePosition())));
2251
+ } : this.error(M.INVALID_TAG, N(s, this.clonePosition())));
2252
2252
  } else
2253
- return this.error(M.UNCLOSED_TAG, w(n, this.clonePosition()));
2253
+ return this.error(M.UNCLOSED_TAG, N(n, this.clonePosition()));
2254
2254
  } else
2255
- return this.error(M.INVALID_TAG, w(n, this.clonePosition()));
2255
+ return this.error(M.INVALID_TAG, N(n, this.clonePosition()));
2256
2256
  }, e.prototype.parseTagName = function() {
2257
2257
  var t = this.offset();
2258
2258
  for (this.bump(); !this.isEOF() && Wn(this.char()); )
@@ -2277,14 +2277,14 @@ var Xn = (
2277
2277
  }
2278
2278
  break;
2279
2279
  }
2280
- var h = w(n, this.clonePosition());
2280
+ var h = N(n, this.clonePosition());
2281
2281
  return {
2282
- val: { type: P.literal, value: i, location: h },
2282
+ val: { type: B.literal, value: i, location: h },
2283
2283
  err: null
2284
2284
  };
2285
2285
  }, e.prototype.tryParseLeftAngleBracket = function() {
2286
2286
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2287
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2287
+ !Xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2288
2288
  }, e.prototype.tryParseQuote = function(t) {
2289
2289
  if (this.isEOF() || this.char() !== 39)
2290
2290
  return null;
@@ -2318,49 +2318,49 @@ var Xn = (
2318
2318
  r.push(n);
2319
2319
  this.bump();
2320
2320
  }
2321
- return Xe.apply(void 0, r);
2321
+ return Ve.apply(void 0, r);
2322
2322
  }, e.prototype.tryParseUnquoted = function(t, r) {
2323
2323
  if (this.isEOF())
2324
2324
  return null;
2325
2325
  var n = this.char();
2326
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
2326
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2327
2327
  }, e.prototype.parseArgument = function(t, r) {
2328
2328
  var n = this.clonePosition();
2329
2329
  if (this.bump(), this.bumpSpace(), this.isEOF())
2330
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2330
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2331
2331
  if (this.char() === 125)
2332
- return this.bump(), this.error(M.EMPTY_ARGUMENT, w(n, this.clonePosition()));
2332
+ return this.bump(), this.error(M.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2333
2333
  var i = this.parseIdentifierIfPossible().value;
2334
2334
  if (!i)
2335
- return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2335
+ return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2336
2336
  if (this.bumpSpace(), this.isEOF())
2337
- return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
2337
+ return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2338
2338
  switch (this.char()) {
2339
2339
  case 125:
2340
2340
  return this.bump(), {
2341
2341
  val: {
2342
- type: P.argument,
2342
+ type: B.argument,
2343
2343
  // value does not include the opening and closing braces.
2344
2344
  value: i,
2345
- location: w(n, this.clonePosition())
2345
+ location: N(n, this.clonePosition())
2346
2346
  },
2347
2347
  err: null
2348
2348
  };
2349
2349
  case 44:
2350
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2350
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2351
2351
  default:
2352
- return this.error(M.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
2352
+ return this.error(M.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2353
2353
  }
2354
2354
  }, e.prototype.parseIdentifierIfPossible = function() {
2355
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2355
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
2356
2356
  this.bumpTo(i);
2357
- var o = this.clonePosition(), a = w(t, o);
2357
+ var o = this.clonePosition(), a = N(t, o);
2358
2358
  return { value: n, location: a };
2359
2359
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2360
2360
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2361
2361
  switch (s) {
2362
2362
  case "":
2363
- return this.error(M.EXPECT_ARGUMENT_TYPE, w(a, h));
2363
+ return this.error(M.EXPECT_ARGUMENT_TYPE, N(a, h));
2364
2364
  case "number":
2365
2365
  case "date":
2366
2366
  case "time": {
@@ -2371,46 +2371,46 @@ var Xn = (
2371
2371
  var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2372
2372
  if (d.err)
2373
2373
  return d;
2374
- var g = Vn(d.val);
2375
- if (g.length === 0)
2376
- return this.error(M.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
2377
- var v = w(l, this.clonePosition());
2378
- u = { style: g, styleLocation: v };
2374
+ var m = Fn(d.val);
2375
+ if (m.length === 0)
2376
+ return this.error(M.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
2377
+ var b = N(l, this.clonePosition());
2378
+ u = { style: m, styleLocation: b };
2379
2379
  }
2380
2380
  var f = this.tryParseArgumentClose(i);
2381
2381
  if (f.err)
2382
2382
  return f;
2383
- var m = w(i, this.clonePosition());
2384
- if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
2385
- var C = Fn(u.style.slice(2));
2383
+ var p = N(i, this.clonePosition());
2384
+ if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
2385
+ var C = Gn(u.style.slice(2));
2386
2386
  if (s === "number") {
2387
2387
  var d = this.parseNumberSkeletonFromString(C, u.styleLocation);
2388
2388
  return d.err ? d : {
2389
- val: { type: P.number, value: n, location: m, style: d.val },
2389
+ val: { type: B.number, value: n, location: p, style: d.val },
2390
2390
  err: null
2391
2391
  };
2392
2392
  } else {
2393
2393
  if (C.length === 0)
2394
- return this.error(M.EXPECT_DATE_TIME_SKELETON, m);
2394
+ return this.error(M.EXPECT_DATE_TIME_SKELETON, p);
2395
2395
  var _ = C;
2396
- this.locale && (_ = Nn(C, this.locale));
2397
- var g = {
2396
+ this.locale && (_ = An(C, this.locale));
2397
+ var m = {
2398
2398
  type: te.dateTime,
2399
2399
  pattern: _,
2400
2400
  location: u.styleLocation,
2401
2401
  parsedOptions: this.shouldParseSkeletons ? Cn(_) : {}
2402
- }, b = s === "date" ? P.date : P.time;
2402
+ }, v = s === "date" ? B.date : B.time;
2403
2403
  return {
2404
- val: { type: b, value: n, location: m, style: g },
2404
+ val: { type: v, value: n, location: p, style: m },
2405
2405
  err: null
2406
2406
  };
2407
2407
  }
2408
2408
  }
2409
2409
  return {
2410
2410
  val: {
2411
- type: s === "number" ? P.number : s === "date" ? P.date : P.time,
2411
+ type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2412
2412
  value: n,
2413
- location: m,
2413
+ location: p,
2414
2414
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2415
2415
  },
2416
2416
  err: null
@@ -2419,41 +2419,41 @@ var Xn = (
2419
2419
  case "plural":
2420
2420
  case "selectordinal":
2421
2421
  case "select": {
2422
- var x = this.clonePosition();
2422
+ var S = this.clonePosition();
2423
2423
  if (this.bumpSpace(), !this.bumpIf(","))
2424
- return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, w(x, A({}, x)));
2424
+ return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS, N(S, H({}, S)));
2425
2425
  this.bumpSpace();
2426
- var H = this.parseIdentifierIfPossible(), k = 0;
2427
- if (s !== "select" && H.value === "offset") {
2426
+ var P = this.parseIdentifierIfPossible(), E = 0;
2427
+ if (s !== "select" && P.value === "offset") {
2428
2428
  if (!this.bumpIf(":"))
2429
- return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
2429
+ return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
2430
2430
  this.bumpSpace();
2431
2431
  var d = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2432
2432
  if (d.err)
2433
2433
  return d;
2434
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), k = d.val;
2434
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), E = d.val;
2435
2435
  }
2436
- var B = this.tryParsePluralOrSelectOptions(t, s, r, H);
2437
- if (B.err)
2438
- return B;
2436
+ var z = this.tryParsePluralOrSelectOptions(t, s, r, P);
2437
+ if (z.err)
2438
+ return z;
2439
2439
  var f = this.tryParseArgumentClose(i);
2440
2440
  if (f.err)
2441
2441
  return f;
2442
- var O = w(i, this.clonePosition());
2442
+ var O = N(i, this.clonePosition());
2443
2443
  return s === "select" ? {
2444
2444
  val: {
2445
- type: P.select,
2445
+ type: B.select,
2446
2446
  value: n,
2447
- options: pt(B.val),
2447
+ options: gt(z.val),
2448
2448
  location: O
2449
2449
  },
2450
2450
  err: null
2451
2451
  } : {
2452
2452
  val: {
2453
- type: P.plural,
2453
+ type: B.plural,
2454
2454
  value: n,
2455
- options: pt(B.val),
2456
- offset: k,
2455
+ options: gt(z.val),
2456
+ offset: E,
2457
2457
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2458
2458
  location: O
2459
2459
  },
@@ -2461,10 +2461,10 @@ var Xn = (
2461
2461
  };
2462
2462
  }
2463
2463
  default:
2464
- return this.error(M.INVALID_ARGUMENT_TYPE, w(a, h));
2464
+ return this.error(M.INVALID_ARGUMENT_TYPE, N(a, h));
2465
2465
  }
2466
2466
  }, e.prototype.tryParseArgumentClose = function(t) {
2467
- return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2467
+ return this.isEOF() || this.char() !== 125 ? this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2468
2468
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2469
2469
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2470
2470
  var n = this.char();
@@ -2473,7 +2473,7 @@ var Xn = (
2473
2473
  this.bump();
2474
2474
  var i = this.clonePosition();
2475
2475
  if (!this.bumpUntil("'"))
2476
- return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
2476
+ return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
2477
2477
  this.bump();
2478
2478
  break;
2479
2479
  }
@@ -2503,7 +2503,7 @@ var Xn = (
2503
2503
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2504
2504
  var n = [];
2505
2505
  try {
2506
- n = xn(t);
2506
+ n = Sn(t);
2507
2507
  } catch (i) {
2508
2508
  return this.error(M.INVALID_NUMBER_SKELETON, r);
2509
2509
  }
@@ -2512,7 +2512,7 @@ var Xn = (
2512
2512
  type: te.number,
2513
2513
  tokens: n,
2514
2514
  location: r,
2515
- parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
2515
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2516
2516
  },
2517
2517
  err: null
2518
2518
  };
@@ -2521,34 +2521,34 @@ var Xn = (
2521
2521
  if (u.length === 0) {
2522
2522
  var d = this.clonePosition();
2523
2523
  if (r !== "select" && this.bumpIf("=")) {
2524
- var g = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2525
- if (g.err)
2526
- return g;
2527
- l = w(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2524
+ var m = this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR, M.INVALID_PLURAL_ARGUMENT_SELECTOR);
2525
+ if (m.err)
2526
+ return m;
2527
+ l = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2528
2528
  } else
2529
2529
  break;
2530
2530
  }
2531
2531
  if (h.has(u))
2532
2532
  return this.error(r === "select" ? M.DUPLICATE_SELECT_ARGUMENT_SELECTOR : M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2533
2533
  u === "other" && (a = !0), this.bumpSpace();
2534
- var v = this.clonePosition();
2534
+ var b = this.clonePosition();
2535
2535
  if (!this.bumpIf("{"))
2536
- return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
2536
+ return this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
2537
2537
  var f = this.parseMessage(t + 1, r, n);
2538
2538
  if (f.err)
2539
2539
  return f;
2540
- var m = this.tryParseArgumentClose(v);
2541
- if (m.err)
2542
- return m;
2540
+ var p = this.tryParseArgumentClose(b);
2541
+ if (p.err)
2542
+ return p;
2543
2543
  s.push([
2544
2544
  u,
2545
2545
  {
2546
2546
  value: f.val,
2547
- location: w(v, this.clonePosition())
2547
+ location: N(b, this.clonePosition())
2548
2548
  }
2549
2549
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
2550
2550
  }
2551
- return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2551
+ return s.length === 0 ? this.error(r === "select" ? M.EXPECT_SELECT_ARGUMENT_SELECTOR : M.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(M.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
2552
2552
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2553
2553
  var n = 1, i = this.clonePosition();
2554
2554
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2559,7 +2559,7 @@ var Xn = (
2559
2559
  else
2560
2560
  break;
2561
2561
  }
2562
- var h = w(i, this.clonePosition());
2562
+ var h = N(i, this.clonePosition());
2563
2563
  return o ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2564
2564
  }, e.prototype.offset = function() {
2565
2565
  return this.position.offset;
@@ -2594,7 +2594,7 @@ var Xn = (
2594
2594
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
2595
2595
  }
2596
2596
  }, e.prototype.bumpIf = function(t) {
2597
- if (mt(this.message, t, this.offset())) {
2597
+ if (pt(this.message, t, this.offset())) {
2598
2598
  for (var r = 0; r < t.length; r++)
2599
2599
  this.bump();
2600
2600
  return !0;
@@ -2629,7 +2629,7 @@ var Xn = (
2629
2629
  function We(e) {
2630
2630
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2631
2631
  }
2632
- function qn(e) {
2632
+ function Xn(e) {
2633
2633
  return We(e) || e === 47;
2634
2634
  }
2635
2635
  function Wn(e) {
@@ -2647,12 +2647,12 @@ function Ze(e) {
2647
2647
  for (var r in t.options)
2648
2648
  delete t.options[r].location, Ze(t.options[r].value);
2649
2649
  else
2650
- Vt(t) && Qt(t.style) || (Xt(t) || qt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
2650
+ Ft(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Ge(t.style) ? delete t.style.location : Jt(t) && Ze(t.children);
2651
2651
  });
2652
2652
  }
2653
2653
  function Jn(e, t) {
2654
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2655
- var r = new Xn(e, t).parse();
2654
+ t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2655
+ var r = new Vn(e, t).parse();
2656
2656
  if (r.err) {
2657
2657
  var n = SyntaxError(M[r.err.kind]);
2658
2658
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -2663,10 +2663,10 @@ var re;
2663
2663
  (function(e) {
2664
2664
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2665
2665
  })(re || (re = {}));
2666
- var He = (
2666
+ var Pe = (
2667
2667
  /** @class */
2668
2668
  function(e) {
2669
- Ae(t, e);
2669
+ He(t, e);
2670
2670
  function t(r, n, i) {
2671
2671
  var o = e.call(this, r) || this;
2672
2672
  return o.code = n, o.originalMessage = i, o;
@@ -2678,30 +2678,30 @@ var He = (
2678
2678
  ), _t = (
2679
2679
  /** @class */
2680
2680
  function(e) {
2681
- Ae(t, e);
2681
+ He(t, e);
2682
2682
  function t(r, n, i, o) {
2683
2683
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
2684
2684
  }
2685
2685
  return t;
2686
- }(He)
2686
+ }(Pe)
2687
2687
  ), Qn = (
2688
2688
  /** @class */
2689
2689
  function(e) {
2690
- Ae(t, e);
2690
+ He(t, e);
2691
2691
  function t(r, n, i) {
2692
2692
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
2693
2693
  }
2694
2694
  return t;
2695
- }(He)
2695
+ }(Pe)
2696
2696
  ), Yn = (
2697
2697
  /** @class */
2698
2698
  function(e) {
2699
- Ae(t, e);
2699
+ He(t, e);
2700
2700
  function t(r, n) {
2701
2701
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
2702
2702
  }
2703
2703
  return t;
2704
- }(He)
2704
+ }(Pe)
2705
2705
  ), D;
2706
2706
  (function(e) {
2707
2707
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -2715,7 +2715,7 @@ function Kn(e) {
2715
2715
  function $n(e) {
2716
2716
  return typeof e == "function";
2717
2717
  }
2718
- function ze(e, t, r, n, i, o, a) {
2718
+ function xe(e, t, r, n, i, o, a) {
2719
2719
  if (e.length === 1 && ut(e[0]))
2720
2720
  return [
2721
2721
  {
@@ -2732,7 +2732,7 @@ function ze(e, t, r, n, i, o, a) {
2732
2732
  });
2733
2733
  continue;
2734
2734
  }
2735
- if (kn(l)) {
2735
+ if (En(l)) {
2736
2736
  typeof o == "number" && s.push({
2737
2737
  type: D.literal,
2738
2738
  value: r.getNumberFormat(t).format(o)
@@ -2742,86 +2742,86 @@ function ze(e, t, r, n, i, o, a) {
2742
2742
  var d = l.value;
2743
2743
  if (!(i && d in i))
2744
2744
  throw new Yn(d, a);
2745
- var g = i[d];
2745
+ var m = i[d];
2746
2746
  if (yn(l)) {
2747
- (!g || typeof g == "string" || typeof g == "number") && (g = typeof g == "string" || typeof g == "number" ? String(g) : ""), s.push({
2748
- type: typeof g == "string" ? D.literal : D.object,
2749
- value: g
2747
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
2748
+ type: typeof m == "string" ? D.literal : D.object,
2749
+ value: m
2750
2750
  });
2751
2751
  continue;
2752
2752
  }
2753
- if (Xt(l)) {
2754
- var v = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
2753
+ if (Vt(l)) {
2754
+ var b = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
2755
2755
  s.push({
2756
2756
  type: D.literal,
2757
- value: r.getDateTimeFormat(t, v).format(g)
2757
+ value: r.getDateTimeFormat(t, b).format(m)
2758
2758
  });
2759
2759
  continue;
2760
2760
  }
2761
- if (qt(l)) {
2762
- var v = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
2761
+ if (Xt(l)) {
2762
+ var b = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
2763
2763
  s.push({
2764
2764
  type: D.literal,
2765
- value: r.getDateTimeFormat(t, v).format(g)
2765
+ value: r.getDateTimeFormat(t, b).format(m)
2766
2766
  });
2767
2767
  continue;
2768
2768
  }
2769
- if (Vt(l)) {
2770
- var v = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
2771
- v && v.scale && (g = g * (v.scale || 1)), s.push({
2769
+ if (Ft(l)) {
2770
+ var b = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
2771
+ b && b.scale && (m = m * (b.scale || 1)), s.push({
2772
2772
  type: D.literal,
2773
- value: r.getNumberFormat(t, v).format(g)
2773
+ value: r.getNumberFormat(t, b).format(m)
2774
2774
  });
2775
2775
  continue;
2776
2776
  }
2777
2777
  if (Jt(l)) {
2778
- var f = l.children, m = l.value, C = i[m];
2778
+ var f = l.children, p = l.value, C = i[p];
2779
2779
  if (!$n(C))
2780
- throw new Qn(m, "function", a);
2781
- var _ = ze(f, t, r, n, i, o), b = C(_.map(function(k) {
2782
- return k.value;
2780
+ throw new Qn(p, "function", a);
2781
+ var _ = xe(f, t, r, n, i, o), v = C(_.map(function(E) {
2782
+ return E.value;
2783
2783
  }));
2784
- Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(k) {
2784
+ Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
2785
2785
  return {
2786
- type: typeof k == "string" ? D.literal : D.object,
2787
- value: k
2786
+ type: typeof E == "string" ? D.literal : D.object,
2787
+ value: E
2788
2788
  };
2789
2789
  }));
2790
2790
  }
2791
2791
  if (Wt(l)) {
2792
- var x = l.options[g] || l.options.other;
2793
- if (!x)
2794
- throw new _t(l.value, g, Object.keys(l.options), a);
2795
- s.push.apply(s, ze(x.value, t, r, n, i));
2792
+ var S = l.options[m] || l.options.other;
2793
+ if (!S)
2794
+ throw new _t(l.value, m, Object.keys(l.options), a);
2795
+ s.push.apply(s, xe(S.value, t, r, n, i));
2796
2796
  continue;
2797
2797
  }
2798
2798
  if (Zt(l)) {
2799
- var x = l.options["=".concat(g)];
2800
- if (!x) {
2799
+ var S = l.options["=".concat(m)];
2800
+ if (!S) {
2801
2801
  if (!Intl.PluralRules)
2802
- throw new He(`Intl.PluralRules is not available in this environment.
2802
+ throw new Pe(`Intl.PluralRules is not available in this environment.
2803
2803
  Try polyfilling it using "@formatjs/intl-pluralrules"
2804
2804
  `, re.MISSING_INTL_API, a);
2805
- var H = r.getPluralRules(t, { type: l.pluralType }).select(g - (l.offset || 0));
2806
- x = l.options[H] || l.options.other;
2805
+ var P = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
2806
+ S = l.options[P] || l.options.other;
2807
2807
  }
2808
- if (!x)
2809
- throw new _t(l.value, g, Object.keys(l.options), a);
2810
- s.push.apply(s, ze(x.value, t, r, n, i, g - (l.offset || 0)));
2808
+ if (!S)
2809
+ throw new _t(l.value, m, Object.keys(l.options), a);
2810
+ s.push.apply(s, xe(S.value, t, r, n, i, m - (l.offset || 0)));
2811
2811
  continue;
2812
2812
  }
2813
2813
  }
2814
2814
  return Kn(s);
2815
2815
  }
2816
2816
  function ei(e, t) {
2817
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2818
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
2817
+ return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
2818
+ return r[n] = H(H({}, e[n]), t[n] || {}), r;
2819
2819
  }, {})) : e;
2820
2820
  }
2821
2821
  function ti(e, t) {
2822
2822
  return t ? Object.keys(e).reduce(function(r, n) {
2823
2823
  return r[n] = ei(e[n], t[n]), r;
2824
- }, A({}, e)) : e;
2824
+ }, H({}, e)) : e;
2825
2825
  }
2826
2826
  function Ue(e) {
2827
2827
  return {
@@ -2883,12 +2883,12 @@ var ni = (
2883
2883
  var u = o.formatToParts(h);
2884
2884
  if (u.length === 1)
2885
2885
  return u[0].value;
2886
- var l = u.reduce(function(d, g) {
2887
- return !d.length || g.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(g.value) : d[d.length - 1] += g.value, d;
2886
+ var l = u.reduce(function(d, m) {
2887
+ return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
2888
2888
  }, []);
2889
2889
  return l.length <= 1 ? l[0] || "" : l;
2890
2890
  }, this.formatToParts = function(h) {
2891
- return ze(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2891
+ return xe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
2892
2892
  }, this.resolvedOptions = function() {
2893
2893
  var h;
2894
2894
  return {
@@ -2902,7 +2902,7 @@ var ni = (
2902
2902
  var a = i || {};
2903
2903
  a.formatters;
2904
2904
  var s = dn(a, ["formatters"]);
2905
- this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
2905
+ this.ast = e.__parse(t, H(H({}, s), { locale: this.resolvedLocale }));
2906
2906
  } else
2907
2907
  this.ast = t;
2908
2908
  if (!Array.isArray(this.ast))
@@ -3007,7 +3007,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
3007
3007
  return;
3008
3008
  if (t in J && e in J[t])
3009
3009
  return J[t][e];
3010
- const r = Pe(t);
3010
+ const r = Be(t);
3011
3011
  for (let n = 0; n < r.length; n++) {
3012
3012
  const i = r[n], o = si(i, e);
3013
3013
  if (o)
@@ -3015,7 +3015,7 @@ const J = {}, oi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
3015
3015
  }
3016
3016
  };
3017
3017
  let $e;
3018
- const be = Ne({});
3018
+ const ve = Ae({});
3019
3019
  function ai(e) {
3020
3020
  return $e[e] || null;
3021
3021
  }
@@ -3031,7 +3031,7 @@ function si(e, t) {
3031
3031
  function li(e) {
3032
3032
  if (e == null)
3033
3033
  return;
3034
- const t = Pe(e);
3034
+ const t = Be(e);
3035
3035
  for (let r = 0; r < t.length; r++) {
3036
3036
  const n = t[r];
3037
3037
  if (or(n))
@@ -3039,13 +3039,13 @@ function li(e) {
3039
3039
  }
3040
3040
  }
3041
3041
  function ar(e, ...t) {
3042
- delete J[e], be.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3042
+ delete J[e], ve.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3043
3043
  }
3044
3044
  ie(
3045
- [be],
3045
+ [ve],
3046
3046
  ([e]) => Object.keys(e)
3047
3047
  );
3048
- be.subscribe((e) => $e = e);
3048
+ ve.subscribe((e) => $e = e);
3049
3049
  const Te = {};
3050
3050
  function ci(e, t) {
3051
3051
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
@@ -3054,13 +3054,13 @@ function sr(e) {
3054
3054
  return Te[e];
3055
3055
  }
3056
3056
  function ui(e) {
3057
- return Pe(e).map((t) => {
3057
+ return Be(e).map((t) => {
3058
3058
  const r = sr(t);
3059
3059
  return [t, r ? [...r] : []];
3060
3060
  }).filter(([, t]) => t.length > 0);
3061
3061
  }
3062
3062
  function Je(e) {
3063
- return e == null ? !1 : Pe(e).some(
3063
+ return e == null ? !1 : Be(e).some(
3064
3064
  (t) => {
3065
3065
  var r;
3066
3066
  return (r = sr(t)) == null ? void 0 : r.size;
@@ -3116,32 +3116,32 @@ const di = {
3116
3116
  timeZoneName: "short"
3117
3117
  }
3118
3118
  }
3119
- }, gi = {
3119
+ }, mi = {
3120
3120
  fallbackLocale: null,
3121
3121
  loadingDelay: 200,
3122
3122
  formats: di,
3123
3123
  warnOnMissingMessages: !0,
3124
3124
  handleMissingMessage: void 0,
3125
3125
  ignoreTag: !0
3126
- }, mi = gi;
3126
+ }, pi = mi;
3127
3127
  function ne() {
3128
- return mi;
3128
+ return pi;
3129
3129
  }
3130
- const De = Ne(!1);
3131
- var pi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
3130
+ const De = Ae(!1);
3131
+ var gi = Object.defineProperty, fi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
3132
3132
  for (var r in t || (t = {}))
3133
- bi.call(t, r) && vt(e, r, t[r]);
3134
- if (bt)
3135
- for (var r of bt(t))
3136
- vi.call(t, r) && vt(e, r, t[r]);
3133
+ vi.call(t, r) && bt(e, r, t[r]);
3134
+ if (vt)
3135
+ for (var r of vt(t))
3136
+ bi.call(t, r) && bt(e, r, t[r]);
3137
3137
  return e;
3138
- }, ki = (e, t) => fi(e, _i(t));
3138
+ }, Ei = (e, t) => fi(e, _i(t));
3139
3139
  let Qe;
3140
- const Me = Ne(null);
3140
+ const Me = Ae(null);
3141
3141
  function yt(e) {
3142
3142
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3143
3143
  }
3144
- function Pe(e, t = ne().fallbackLocale) {
3144
+ function Be(e, t = ne().fallbackLocale) {
3145
3145
  const r = yt(e);
3146
3146
  return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3147
3147
  }
@@ -3151,7 +3151,7 @@ function Y() {
3151
3151
  Me.subscribe((e) => {
3152
3152
  Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3153
3153
  });
3154
- const Ei = (e) => {
3154
+ const ki = (e) => {
3155
3155
  if (e && li(e) && Je(e)) {
3156
3156
  const { loadingDelay: t } = ne();
3157
3157
  let r;
@@ -3165,58 +3165,58 @@ const Ei = (e) => {
3165
3165
  });
3166
3166
  }
3167
3167
  return Me.set(e);
3168
- }, oe = ki(yi({}, Me), {
3169
- set: Ei
3170
- }), Be = (e) => {
3168
+ }, oe = Ei(yi({}, Me), {
3169
+ set: ki
3170
+ }), ze = (e) => {
3171
3171
  const t = /* @__PURE__ */ Object.create(null);
3172
3172
  return (n) => {
3173
3173
  const i = JSON.stringify(n);
3174
3174
  return i in t ? t[i] : t[i] = e(n);
3175
3175
  };
3176
3176
  };
3177
- var Ci = Object.defineProperty, we = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3177
+ var Ci = Object.defineProperty, Ne = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3178
3178
  for (var r in t || (t = {}))
3179
- cr.call(t, r) && kt(e, r, t[r]);
3180
- if (we)
3181
- for (var r of we(t))
3182
- ur.call(t, r) && kt(e, r, t[r]);
3179
+ cr.call(t, r) && Et(e, r, t[r]);
3180
+ if (Ne)
3181
+ for (var r of Ne(t))
3182
+ ur.call(t, r) && Et(e, r, t[r]);
3183
3183
  return e;
3184
3184
  }, ae = (e, t) => {
3185
3185
  var r = {};
3186
3186
  for (var n in e)
3187
3187
  cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3188
- if (e != null && we)
3189
- for (var n of we(e))
3188
+ if (e != null && Ne)
3189
+ for (var n of Ne(e))
3190
3190
  t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
3191
3191
  return r;
3192
3192
  };
3193
- const pe = (e, t) => {
3193
+ const ge = (e, t) => {
3194
3194
  const { formats: r } = ne();
3195
3195
  if (e in r && t in r[e])
3196
3196
  return r[e][t];
3197
3197
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3198
- }, Si = Be(
3198
+ }, wi = ze(
3199
3199
  (e) => {
3200
3200
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3201
3201
  if (r == null)
3202
3202
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3203
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3203
+ return n && (i = ge("number", n)), new Intl.NumberFormat(r, i);
3204
3204
  }
3205
- ), xi = Be(
3205
+ ), Si = ze(
3206
3206
  (e) => {
3207
3207
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3208
3208
  if (r == null)
3209
3209
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3210
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3210
+ return n ? i = ge("date", n) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(r, i);
3211
3211
  }
3212
- ), zi = Be(
3212
+ ), xi = ze(
3213
3213
  (e) => {
3214
3214
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3215
3215
  if (r == null)
3216
3216
  throw new Error(
3217
3217
  '[svelte-i18n] A "locale" must be set to format time values'
3218
3218
  );
3219
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3219
+ return n ? i = ge("time", n) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(r, i);
3220
3220
  }
3221
3221
  ), Ti = (e = {}) => {
3222
3222
  var t = e, {
@@ -3224,27 +3224,27 @@ const pe = (e, t) => {
3224
3224
  } = t, n = ae(t, [
3225
3225
  "locale"
3226
3226
  ]);
3227
- return Si(et({ locale: r }, n));
3227
+ return wi(et({ locale: r }, n));
3228
3228
  }, Mi = (e = {}) => {
3229
3229
  var t = e, {
3230
3230
  locale: r = Y()
3231
3231
  } = t, n = ae(t, [
3232
3232
  "locale"
3233
3233
  ]);
3234
- return xi(et({ locale: r }, n));
3235
- }, wi = (e = {}) => {
3234
+ return Si(et({ locale: r }, n));
3235
+ }, Ni = (e = {}) => {
3236
3236
  var t = e, {
3237
3237
  locale: r = Y()
3238
3238
  } = t, n = ae(t, [
3239
3239
  "locale"
3240
3240
  ]);
3241
- return zi(et({ locale: r }, n));
3242
- }, Ni = Be(
3241
+ return xi(et({ locale: r }, n));
3242
+ }, Ai = ze(
3243
3243
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3244
3244
  (e, t = Y()) => new ni(e, t, ne().formats, {
3245
3245
  ignoreTag: ne().ignoreTag
3246
3246
  })
3247
- ), Ai = (e, t = {}) => {
3247
+ ), Hi = (e, t = {}) => {
3248
3248
  var r, n, i, o;
3249
3249
  let a = t;
3250
3250
  typeof e == "object" && (a = e, e = a.id);
@@ -3268,20 +3268,20 @@ const pe = (e, t) => {
3268
3268
  return l;
3269
3269
  let d = l;
3270
3270
  try {
3271
- d = Ni(l, h).format(s);
3272
- } catch (g) {
3273
- g instanceof Error && console.warn(
3271
+ d = Ai(l, h).format(s);
3272
+ } catch (m) {
3273
+ m instanceof Error && console.warn(
3274
3274
  `[svelte-i18n] Message "${e}" has syntax error:`,
3275
- g.message
3275
+ m.message
3276
3276
  );
3277
3277
  }
3278
3278
  return d;
3279
- }, Hi = (e, t) => wi(t).format(e), Pi = (e, t) => Mi(t).format(e), Bi = (e, t) => Ti(t).format(e), Oi = (e, t = Y()) => ir(e, t), Ii = ie([oe, be], () => Ai);
3280
- ie([oe], () => Hi);
3279
+ }, Pi = (e, t) => Ni(t).format(e), Bi = (e, t) => Mi(t).format(e), zi = (e, t) => Ti(t).format(e), Oi = (e, t = Y()) => ir(e, t), Ii = ie([oe, ve], () => Hi);
3281
3280
  ie([oe], () => Pi);
3282
3281
  ie([oe], () => Bi);
3283
- ie([oe, be], () => Oi);
3284
- function Et(e, t) {
3282
+ ie([oe], () => zi);
3283
+ ie([oe, ve], () => Oi);
3284
+ function kt(e, t) {
3285
3285
  ar(e, t);
3286
3286
  }
3287
3287
  function ji(e) {
@@ -3867,14 +3867,14 @@ function Li(e) {
3867
3867
  let t, r;
3868
3868
  return {
3869
3869
  c() {
3870
- t = st("svg"), r = st("path"), E(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), E(t, "xmlns", "http://www.w3.org/2000/svg"), E(t, "viewBox", "0 0 512 512");
3870
+ t = st("svg"), r = st("path"), k(r, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), k(t, "xmlns", "http://www.w3.org/2000/svg"), k(t, "viewBox", "0 0 512 512");
3871
3871
  },
3872
3872
  m(n, i) {
3873
- L(n, t, i), S(t, r);
3873
+ L(n, t, i), w(t, r);
3874
3874
  },
3875
- p: q,
3876
- i: q,
3877
- o: q,
3875
+ p: X,
3876
+ i: X,
3877
+ o: X,
3878
3878
  d(n) {
3879
3879
  n && j(t);
3880
3880
  }
@@ -3887,17 +3887,17 @@ class Ri extends Lt {
3887
3887
  }
3888
3888
  customElements.define("circle-exclamation-icon", jt(Ri, {}, [], [], !0));
3889
3889
  function Ui(e) {
3890
- Ur(e, "svelte-1kygizb", '.DisplayNone.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:none}.ContainerCenter.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:30px}.AccordionHeader.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{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-1kygizb.svelte-1kygizb.svelte-1kygizb{margin-bottom:10px}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:block;padding:10px 0}.AccordionContent.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{padding-bottom:0}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb:last-of-type{margin-bottom:0}.ConsentItem.svelte-1kygizb .ConsentName.svelte-1kygizb.svelte-1kygizb{margin:0}.ConsentItem.svelte-1kygizb .ConsentDescription.svelte-1kygizb.svelte-1kygizb{font-size:0.8rem}.ToggleSwitch.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{width:53px;height:30px}.ToggleSwitch.Big.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb.svelte-1kygizb{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:disabled+.Slider.svelte-1kygizb{opacity:0.1}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:checked+.Slider.svelte-1kygizb:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1kygizb input.svelte-1kygizb:focus+.Slider.svelte-1kygizb{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb{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-1kygizb .Slider.svelte-1kygizb.svelte-1kygizb: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-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb{border-radius:34px}.ToggleSwitch.svelte-1kygizb .Slider.Round.svelte-1kygizb.svelte-1kygizb:before{border-radius:50%}.SaveConsentsButton.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{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, 50px);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-1kygizb.svelte-1kygizb.svelte-1kygizb:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1kygizb circle-exclamation-icon.svelte-1kygizb.svelte-1kygizb{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1kygizb.svelte-1kygizb.svelte-1kygizb{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox.svelte-1kygizb.svelte-1kygizb{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper.svelte-1kygizb.svelte-1kygizb{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1kygizb.svelte-1kygizb{position:relative}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__input.svelte-1kygizb.svelte-1kygizb{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__label.svelte-1kygizb.svelte-1kygizb{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-1kygizb .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1kygizb.svelte-1kygizb{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__error-message.svelte-1kygizb.svelte-1kygizb{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1kygizb.svelte-1kygizb{width:16px;height:auto}.ConsentsContainer.svelte-1kygizb .legacyStyle .checkbox .checkbox__tooltip.svelte-1kygizb.svelte-1kygizb{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-1kygizb .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1kygizb.svelte-1kygizb{opacity:1}');
3890
+ Ur(e, "svelte-1w14oq2", '.DisplayNone.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:none}.ContainerCenter.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{margin-bottom:30px}.AccordionHeader.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{margin-bottom:10px}.AccordionContent.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:block;padding:10px 0}.AccordionContent.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:last-of-type{padding-bottom:0}.ConsentItem.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:last-of-type{margin-bottom:0}.ConsentItem.svelte-1w14oq2 .ConsentName.svelte-1w14oq2.svelte-1w14oq2{margin:0}.ConsentItem.svelte-1w14oq2 .ConsentDescription.svelte-1w14oq2.svelte-1w14oq2{font-size:0.8rem}.ToggleSwitch.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{width:53px;height:30px}.ToggleSwitch.Big.svelte-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2.svelte-1w14oq2{opacity:0;width:0;height:0}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:disabled+.Slider.svelte-1w14oq2{opacity:0.1}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:checked+.Slider.svelte-1w14oq2:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-1w14oq2 input.svelte-1w14oq2:focus+.Slider.svelte-1w14oq2{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .Slider.svelte-1w14oq2.svelte-1w14oq2: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-1w14oq2 .Slider.Round.svelte-1w14oq2.svelte-1w14oq2{border-radius:34px}.ToggleSwitch.svelte-1w14oq2 .Slider.Round.svelte-1w14oq2.svelte-1w14oq2:before{border-radius:50%}.SaveConsentsButton.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{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, 50px);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-1w14oq2.svelte-1w14oq2.svelte-1w14oq2:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-1w14oq2 circle-exclamation-icon.svelte-1w14oq2.svelte-1w14oq2{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-1w14oq2.svelte-1w14oq2.svelte-1w14oq2{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox.svelte-1w14oq2.svelte-1w14oq2{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__wrapper.svelte-1w14oq2.svelte-1w14oq2{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-1w14oq2.svelte-1w14oq2{position:relative}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__input.svelte-1w14oq2.svelte-1w14oq2{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));width:46px}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__label.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-1w14oq2.svelte-1w14oq2{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__error-message.svelte-1w14oq2.svelte-1w14oq2{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-1w14oq2.svelte-1w14oq2{width:16px;height:auto}.ConsentsContainer.svelte-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip.svelte-1w14oq2.svelte-1w14oq2{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-1w14oq2 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-1w14oq2.svelte-1w14oq2{opacity:1}');
3891
3891
  }
3892
- function St(e, t, r) {
3892
+ function wt(e, t, r) {
3893
3893
  const n = e.slice();
3894
3894
  return n[64] = t[r], n;
3895
3895
  }
3896
- function xt(e, t, r) {
3896
+ function St(e, t, r) {
3897
3897
  const n = e.slice();
3898
3898
  return n[61] = t[r], n[62] = t, n[63] = r, n;
3899
3899
  }
3900
- function zt(e, t, r) {
3900
+ function xt(e, t, r) {
3901
3901
  const n = e.slice();
3902
3902
  return n[64] = t[r], n;
3903
3903
  }
@@ -3907,16 +3907,16 @@ function Di(e) {
3907
3907
  e[9]
3908
3908
  ), i = [];
3909
3909
  for (let o = 0; o < n.length; o += 1)
3910
- i[o] = Tt(St(e, n, o));
3910
+ i[o] = Tt(wt(e, n, o));
3911
3911
  return {
3912
3912
  c() {
3913
- t = N("div"), r = N("form");
3913
+ t = A("div"), r = A("form");
3914
3914
  for (let o = 0; o < i.length; o += 1)
3915
3915
  i[o].c();
3916
- E(r, "class", "checkbox svelte-1kygizb"), E(t, "class", "legacyStyle");
3916
+ k(r, "class", "checkbox svelte-1w14oq2"), k(t, "class", "legacyStyle");
3917
3917
  },
3918
3918
  m(o, a) {
3919
- L(o, t, a), S(t, r);
3919
+ L(o, t, a), w(t, r);
3920
3920
  for (let s = 0; s < i.length; s += 1)
3921
3921
  i[s] && i[s].m(r, null);
3922
3922
  e[31](r);
@@ -3930,7 +3930,7 @@ function Di(e) {
3930
3930
  );
3931
3931
  let s;
3932
3932
  for (s = 0; s < n.length; s += 1) {
3933
- const h = St(o, n, s);
3933
+ const h = wt(o, n, s);
3934
3934
  i[s] ? i[s].p(h, a) : (i[s] = Tt(h), i[s].c(), i[s].m(r, null));
3935
3935
  }
3936
3936
  for (; s < i.length; s += 1)
@@ -3943,7 +3943,7 @@ function Di(e) {
3943
3943
  }
3944
3944
  };
3945
3945
  }
3946
- function Gi(e) {
3946
+ function qi(e) {
3947
3947
  let t = (
3948
3948
  /*$_*/
3949
3949
  e[16]("title") || /*$_*/
@@ -3951,77 +3951,77 @@ function Gi(e) {
3951
3951
  ), r, n, i, o = (
3952
3952
  /*$_*/
3953
3953
  (e[16]("saveButtonContent") || "Save Consents") + ""
3954
- ), a, s, h, u, l, d = t && Mt(e), g = $(
3954
+ ), a, s, h, u, l, d = t && Mt(e), m = $(
3955
3955
  /*consentsCategories*/
3956
3956
  e[8]
3957
- ), v = [];
3958
- for (let m = 0; m < g.length; m += 1)
3959
- v[m] = Bt(xt(e, g, m));
3957
+ ), b = [];
3958
+ for (let p = 0; p < m.length; p += 1)
3959
+ b[p] = zt(St(e, m, p));
3960
3960
  let f = (
3961
3961
  /*errorMessage*/
3962
3962
  e[6] && Ot(e)
3963
3963
  );
3964
3964
  return {
3965
3965
  c() {
3966
- d && d.c(), r = G();
3967
- for (let m = 0; m < v.length; m += 1)
3968
- v[m].c();
3969
- n = G(), i = N("button"), s = G(), f && f.c(), h = Fr(), E(i, "class", "SaveConsentsButton svelte-1kygizb"), i.disabled = a = !/*isValid*/
3966
+ d && d.c(), r = q();
3967
+ for (let p = 0; p < b.length; p += 1)
3968
+ b[p].c();
3969
+ n = q(), i = A("button"), s = q(), f && f.c(), h = Gr(), k(i, "class", "SaveConsentsButton svelte-1w14oq2"), i.disabled = a = !/*isValid*/
3970
3970
  e[14];
3971
3971
  },
3972
- m(m, C) {
3973
- d && d.m(m, C), L(m, r, C);
3974
- for (let _ = 0; _ < v.length; _ += 1)
3975
- v[_] && v[_].m(m, C);
3976
- L(m, n, C), L(m, i, C), i.innerHTML = o, L(m, s, C), f && f.m(m, C), L(m, h, C), u || (l = ge(
3972
+ m(p, C) {
3973
+ d && d.m(p, C), L(p, r, C);
3974
+ for (let _ = 0; _ < b.length; _ += 1)
3975
+ b[_] && b[_].m(p, C);
3976
+ L(p, n, C), L(p, i, C), i.innerHTML = o, L(p, s, C), f && f.m(p, C), L(p, h, C), u || (l = me(
3977
3977
  i,
3978
3978
  "click",
3979
3979
  /*saveChanges*/
3980
3980
  e[17]
3981
3981
  ), u = !0);
3982
3982
  },
3983
- p(m, C) {
3983
+ p(p, C) {
3984
3984
  if (C[0] & /*$_*/
3985
3985
  65536 && (t = /*$_*/
3986
- m[16]("title") || /*$_*/
3987
- m[16]("description")), t ? d ? d.p(m, C) : (d = Mt(m), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3986
+ p[16]("title") || /*$_*/
3987
+ p[16]("description")), t ? d ? d.p(p, C) : (d = Mt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), C[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
3988
3988
  867088) {
3989
- g = $(
3989
+ m = $(
3990
3990
  /*consentsCategories*/
3991
- m[8]
3991
+ p[8]
3992
3992
  );
3993
3993
  let _;
3994
- for (_ = 0; _ < g.length; _ += 1) {
3995
- const b = xt(m, g, _);
3996
- v[_] ? v[_].p(b, C) : (v[_] = Bt(b), v[_].c(), v[_].m(n.parentNode, n));
3994
+ for (_ = 0; _ < m.length; _ += 1) {
3995
+ const v = St(p, m, _);
3996
+ b[_] ? b[_].p(v, C) : (b[_] = zt(v), b[_].c(), b[_].m(n.parentNode, n));
3997
3997
  }
3998
- for (; _ < v.length; _ += 1)
3999
- v[_].d(1);
4000
- v.length = g.length;
3998
+ for (; _ < b.length; _ += 1)
3999
+ b[_].d(1);
4000
+ b.length = m.length;
4001
4001
  }
4002
4002
  C[0] & /*$_*/
4003
4003
  65536 && o !== (o = /*$_*/
4004
- (m[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
4004
+ (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), C[0] & /*isValid*/
4005
4005
  16384 && a !== (a = !/*isValid*/
4006
- m[14]) && (i.disabled = a), /*errorMessage*/
4007
- m[6] ? f ? f.p(m, C) : (f = Ot(m), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4006
+ p[14]) && (i.disabled = a), /*errorMessage*/
4007
+ p[6] ? f ? f.p(p, C) : (f = Ot(p), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4008
4008
  },
4009
- d(m) {
4010
- m && (j(r), j(n), j(i), j(s), j(h)), d && d.d(m), Ke(v, m), f && f.d(m), u = !1, l();
4009
+ d(p) {
4010
+ p && (j(r), j(n), j(i), j(s), j(h)), d && d.d(p), Ke(b, p), f && f.d(p), u = !1, l();
4011
4011
  }
4012
4012
  };
4013
4013
  }
4014
- function Fi(e) {
4014
+ function Gi(e) {
4015
4015
  let t, r, n;
4016
4016
  return {
4017
4017
  c() {
4018
- t = N("div"), r = N("strong"), n = _e(
4018
+ t = A("div"), r = A("strong"), n = _e(
4019
4019
  /*fatalError*/
4020
4020
  e[7]
4021
- ), E(r, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ContainerCenter svelte-1kygizb");
4021
+ ), k(r, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ContainerCenter svelte-1w14oq2");
4022
4022
  },
4023
4023
  m(i, o) {
4024
- L(i, t, o), S(t, r), S(r, n);
4024
+ L(i, t, o), w(t, r), w(r, n);
4025
4025
  },
4026
4026
  p(i, o) {
4027
4027
  o[0] & /*fatalError*/
@@ -4036,11 +4036,11 @@ function Fi(e) {
4036
4036
  }
4037
4037
  };
4038
4038
  }
4039
- function Vi(e) {
4039
+ function Fi(e) {
4040
4040
  let t;
4041
4041
  return {
4042
4042
  c() {
4043
- t = N("general-animation-loading"), Q(
4043
+ t = A("general-animation-loading"), Q(
4044
4044
  t,
4045
4045
  "clientstyling",
4046
4046
  /*clientstyling*/
@@ -4095,50 +4095,50 @@ function Tt(e) {
4095
4095
  ), l = (
4096
4096
  /*consent*/
4097
4097
  e[64].mustAccept ? " *" : ""
4098
- ), d, g, v, f, m, C, _, b, x;
4099
- function H(...k) {
4098
+ ), d, m, b, f, p, C, _, v, S;
4099
+ function P(...E) {
4100
4100
  return (
4101
4101
  /*input_handler_1*/
4102
4102
  e[30](
4103
4103
  /*consent*/
4104
4104
  e[64],
4105
- ...k
4105
+ ...E
4106
4106
  )
4107
4107
  );
4108
4108
  }
4109
4109
  return {
4110
4110
  c() {
4111
- t = N("div"), r = N("input"), o = G(), a = N("label"), s = N("div"), h = new Ut(!1), d = _e(l), v = G(), f = N("small"), C = G(), E(r, "class", "checkbox__input svelte-1kygizb"), E(r, "type", "checkbox"), r.checked = n = /*consent*/
4112
- e[64].status === "1", E(r, "id", i = `${/*consent*/
4113
- e[64].tagCode}__input`), h.a = d, E(s, "class", "checkbox__label-text svelte-1kygizb"), E(a, "class", "checkbox__label svelte-1kygizb"), E(a, "for", g = `${/*consent*/
4114
- e[64].tagCode}__input`), E(f, "class", "checkbox__error-message svelte-1kygizb"), E(f, "id", m = "checkBoxError__" + /*consent*/
4115
- e[64].tagCode), E(t, "class", _ = "checkbox__wrapper " + /*consent*/
4116
- e[64].tagCode + "__input svelte-1kygizb");
4111
+ t = A("div"), r = A("input"), o = q(), a = A("label"), s = A("div"), h = new Ut(!1), d = _e(l), b = q(), f = A("small"), C = q(), k(r, "class", "checkbox__input svelte-1w14oq2"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4112
+ e[64].status === "1", k(r, "id", i = `${/*consent*/
4113
+ e[64].tagCode}__input`), h.a = d, k(s, "class", "checkbox__label-text svelte-1w14oq2"), k(a, "class", "checkbox__label svelte-1w14oq2"), k(a, "for", m = `${/*consent*/
4114
+ e[64].tagCode}__input`), k(f, "class", "checkbox__error-message svelte-1w14oq2"), k(f, "id", p = "checkBoxError__" + /*consent*/
4115
+ e[64].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4116
+ e[64].tagCode + "__input svelte-1w14oq2");
4117
4117
  },
4118
- m(k, B) {
4119
- L(k, t, B), S(t, r), S(t, o), S(t, a), S(a, s), h.m(u, s), S(s, d), S(t, v), S(t, f), S(t, C), b || (x = ge(r, "input", H), b = !0);
4118
+ m(E, z) {
4119
+ L(E, t, z), w(t, r), w(t, o), w(t, a), w(a, s), h.m(u, s), w(s, d), w(t, b), w(t, f), w(t, C), v || (S = me(r, "input", P), v = !0);
4120
4120
  },
4121
- p(k, B) {
4122
- e = k, B[0] & /*playerConsents*/
4121
+ p(E, z) {
4122
+ e = E, z[0] & /*playerConsents*/
4123
4123
  512 && n !== (n = /*consent*/
4124
- e[64].status === "1") && (r.checked = n), B[0] & /*playerConsents*/
4124
+ e[64].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4125
4125
  512 && i !== (i = `${/*consent*/
4126
- e[64].tagCode}__input`) && E(r, "id", i), B[0] & /*$_, playerConsents*/
4126
+ e[64].tagCode}__input`) && k(r, "id", i), z[0] & /*$_, playerConsents*/
4127
4127
  66048 && u !== (u = /*$_*/
4128
4128
  (e[16](`${/*consent*/
4129
4129
  e[64].tagCode}__description`) || /*consent*/
4130
- e[64].tagCode) + "") && h.p(u), B[0] & /*playerConsents*/
4130
+ e[64].tagCode) + "") && h.p(u), z[0] & /*playerConsents*/
4131
4131
  512 && l !== (l = /*consent*/
4132
- e[64].mustAccept ? " *" : "") && fe(d, l), B[0] & /*playerConsents*/
4133
- 512 && g !== (g = `${/*consent*/
4134
- e[64].tagCode}__input`) && E(a, "for", g), B[0] & /*playerConsents*/
4135
- 512 && m !== (m = "checkBoxError__" + /*consent*/
4136
- e[64].tagCode) && E(f, "id", m), B[0] & /*playerConsents*/
4132
+ e[64].mustAccept ? " *" : "") && fe(d, l), z[0] & /*playerConsents*/
4133
+ 512 && m !== (m = `${/*consent*/
4134
+ e[64].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4135
+ 512 && p !== (p = "checkBoxError__" + /*consent*/
4136
+ e[64].tagCode) && k(f, "id", p), z[0] & /*playerConsents*/
4137
4137
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4138
- e[64].tagCode + "__input svelte-1kygizb") && E(t, "class", _);
4138
+ e[64].tagCode + "__input svelte-1w14oq2") && k(t, "class", _);
4139
4139
  },
4140
- d(k) {
4141
- k && j(t), b = !1, x();
4140
+ d(E) {
4141
+ E && j(t), v = !1, S();
4142
4142
  }
4143
4143
  };
4144
4144
  }
@@ -4149,37 +4149,37 @@ function Mt(e) {
4149
4149
  ), n, i = (
4150
4150
  /*$_*/
4151
4151
  e[16]("description")
4152
- ), o = r && wt(e), a = i && Nt(e);
4152
+ ), o = r && Nt(e), a = i && At(e);
4153
4153
  return {
4154
4154
  c() {
4155
- t = N("div"), o && o.c(), n = G(), a && a.c(), E(t, "class", "PlayerConsentsHeader svelte-1kygizb");
4155
+ t = A("div"), o && o.c(), n = q(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-1w14oq2");
4156
4156
  },
4157
4157
  m(s, h) {
4158
- L(s, t, h), o && o.m(t, null), S(t, n), a && a.m(t, null);
4158
+ L(s, t, h), o && o.m(t, null), w(t, n), a && a.m(t, null);
4159
4159
  },
4160
4160
  p(s, h) {
4161
4161
  h[0] & /*$_*/
4162
4162
  65536 && (r = /*$_*/
4163
- s[16]("title")), r ? o ? o.p(s, h) : (o = wt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4163
+ s[16]("title")), r ? o ? o.p(s, h) : (o = Nt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4164
4164
  65536 && (i = /*$_*/
4165
- s[16]("description")), i ? a ? a.p(s, h) : (a = Nt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4165
+ s[16]("description")), i ? a ? a.p(s, h) : (a = At(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4166
4166
  },
4167
4167
  d(s) {
4168
4168
  s && j(t), o && o.d(), a && a.d();
4169
4169
  }
4170
4170
  };
4171
4171
  }
4172
- function wt(e) {
4172
+ function Nt(e) {
4173
4173
  let t, r = (
4174
4174
  /*$_*/
4175
4175
  e[16]("title") + ""
4176
4176
  ), n;
4177
4177
  return {
4178
4178
  c() {
4179
- t = N("h2"), n = _e(r), E(t, "class", "PlayerConsentsTitle");
4179
+ t = A("h2"), n = _e(r), k(t, "class", "PlayerConsentsTitle");
4180
4180
  },
4181
4181
  m(i, o) {
4182
- L(i, t, o), S(t, n);
4182
+ L(i, t, o), w(t, n);
4183
4183
  },
4184
4184
  p(i, o) {
4185
4185
  o[0] & /*$_*/
@@ -4191,17 +4191,17 @@ function wt(e) {
4191
4191
  }
4192
4192
  };
4193
4193
  }
4194
- function Nt(e) {
4194
+ function At(e) {
4195
4195
  let t, r = (
4196
4196
  /*$_*/
4197
4197
  e[16]("description") + ""
4198
4198
  ), n;
4199
4199
  return {
4200
4200
  c() {
4201
- t = N("p"), n = _e(r), E(t, "class", "PlayerConsentsDescription");
4201
+ t = A("p"), n = _e(r), k(t, "class", "PlayerConsentsDescription");
4202
4202
  },
4203
4203
  m(i, o) {
4204
- L(i, t, o), S(t, n);
4204
+ L(i, t, o), w(t, n);
4205
4205
  },
4206
4206
  p(i, o) {
4207
4207
  o[0] & /*$_*/
@@ -4213,11 +4213,11 @@ function Nt(e) {
4213
4213
  }
4214
4214
  };
4215
4215
  }
4216
- function At(e) {
4216
+ function Ht(e) {
4217
4217
  let t;
4218
4218
  return {
4219
4219
  c() {
4220
- t = N("sup"), t.textContent = "*", E(t, "class", "ConsentRequired svelte-1kygizb");
4220
+ t = A("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-1w14oq2");
4221
4221
  },
4222
4222
  m(r, n) {
4223
4223
  L(r, t, n);
@@ -4227,7 +4227,7 @@ function At(e) {
4227
4227
  }
4228
4228
  };
4229
4229
  }
4230
- function Ht(e) {
4230
+ function Pt(e) {
4231
4231
  let t, r = (
4232
4232
  /*$_*/
4233
4233
  (e[16](`${/*consent*/
@@ -4236,7 +4236,7 @@ function Ht(e) {
4236
4236
  );
4237
4237
  return {
4238
4238
  c() {
4239
- t = N("p"), E(t, "class", "ConsentDescription svelte-1kygizb");
4239
+ t = A("p"), k(t, "class", "ConsentDescription svelte-1w14oq2");
4240
4240
  },
4241
4241
  m(n, i) {
4242
4242
  L(n, t, i), t.innerHTML = r;
@@ -4253,77 +4253,77 @@ function Ht(e) {
4253
4253
  }
4254
4254
  };
4255
4255
  }
4256
- function Pt(e) {
4256
+ function Bt(e) {
4257
4257
  let t, r, n, i, o = (
4258
4258
  /*$_*/
4259
4259
  (e[16](`${/*consent*/
4260
4260
  e[64].tagCode}__name`) || /*consent*/
4261
4261
  e[64].friendlyName) + ""
4262
- ), a, s, h, u, l, d, g, v, f, m, C, _ = (
4262
+ ), a, s, h, u, l, d, m, b, f, p, C, _ = (
4263
4263
  /*consent*/
4264
- e[64].mustAccept === !0 && At()
4265
- ), b = (
4264
+ e[64].mustAccept === !0 && Ht()
4265
+ ), v = (
4266
4266
  /*displayconsentdescription*/
4267
- e[4] === "true" && Ht(e)
4267
+ e[4] === "true" && Pt(e)
4268
4268
  );
4269
- function x(...H) {
4269
+ function S(...P) {
4270
4270
  return (
4271
4271
  /*input_handler*/
4272
4272
  e[29](
4273
4273
  /*consent*/
4274
4274
  e[64],
4275
- ...H
4275
+ ...P
4276
4276
  )
4277
4277
  );
4278
4278
  }
4279
4279
  return {
4280
4280
  c() {
4281
- t = N("div"), r = N("div"), n = N("h4"), i = new Ut(!1), a = G(), _ && _.c(), s = G(), b && b.c(), h = G(), u = N("label"), l = N("input"), v = G(), f = N("span"), i.a = a, E(n, "class", "ConsentName svelte-1kygizb"), E(r, "class", "ConsentContent"), E(l, "type", "checkbox"), l.disabled = d = /*consent*/
4281
+ t = A("div"), r = A("div"), n = A("h4"), i = new Ut(!1), a = q(), _ && _.c(), s = q(), v && v.c(), h = q(), u = A("label"), l = A("input"), b = q(), f = A("span"), i.a = a, k(n, "class", "ConsentName svelte-1w14oq2"), k(r, "class", "ConsentContent"), k(l, "type", "checkbox"), l.disabled = d = /*consent*/
4282
4282
  e[64].mustAccept === !0 && /*initialConsentsState*/
4283
4283
  e[12][
4284
4284
  /*consent*/
4285
4285
  e[64].tagCode
4286
- ] === !0, l.checked = g = /*consentsState*/
4286
+ ] === !0, l.checked = m = /*consentsState*/
4287
4287
  e[13][
4288
4288
  /*consent*/
4289
4289
  e[64].tagCode
4290
- ], E(l, "class", "svelte-1kygizb"), E(f, "class", "Slider Round svelte-1kygizb"), E(u, "class", "ToggleSwitch svelte-1kygizb"), E(t, "class", "ConsentItem svelte-1kygizb");
4290
+ ], k(l, "class", "svelte-1w14oq2"), k(f, "class", "Slider Round svelte-1w14oq2"), k(u, "class", "ToggleSwitch svelte-1w14oq2"), k(t, "class", "ConsentItem svelte-1w14oq2");
4291
4291
  },
4292
- m(H, k) {
4293
- L(H, t, k), S(t, r), S(r, n), i.m(o, n), S(n, a), _ && _.m(n, null), S(r, s), b && b.m(r, null), S(t, h), S(t, u), S(u, l), S(u, v), S(u, f), m || (C = ge(l, "input", x), m = !0);
4292
+ m(P, E) {
4293
+ L(P, t, E), w(t, r), w(r, n), i.m(o, n), w(n, a), _ && _.m(n, null), w(r, s), v && v.m(r, null), w(t, h), w(t, u), w(u, l), w(u, b), w(u, f), p || (C = me(l, "input", S), p = !0);
4294
4294
  },
4295
- p(H, k) {
4296
- e = H, k[0] & /*$_, playerConsents, consentsCategories*/
4295
+ p(P, E) {
4296
+ e = P, E[0] & /*$_, playerConsents, consentsCategories*/
4297
4297
  66304 && o !== (o = /*$_*/
4298
4298
  (e[16](`${/*consent*/
4299
4299
  e[64].tagCode}__name`) || /*consent*/
4300
4300
  e[64].friendlyName) + "") && i.p(o), /*consent*/
4301
- e[64].mustAccept === !0 ? _ || (_ = At(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4302
- e[4] === "true" ? b ? b.p(e, k) : (b = Ht(e), b.c(), b.m(r, null)) : b && (b.d(1), b = null), k[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4301
+ e[64].mustAccept === !0 ? _ || (_ = Ht(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4302
+ e[4] === "true" ? v ? v.p(e, E) : (v = Pt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4303
4303
  4864 && d !== (d = /*consent*/
4304
4304
  e[64].mustAccept === !0 && /*initialConsentsState*/
4305
4305
  e[12][
4306
4306
  /*consent*/
4307
4307
  e[64].tagCode
4308
- ] === !0) && (l.disabled = d), k[0] & /*consentsState, playerConsents, consentsCategories*/
4309
- 8960 && g !== (g = /*consentsState*/
4308
+ ] === !0) && (l.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4309
+ 8960 && m !== (m = /*consentsState*/
4310
4310
  e[13][
4311
4311
  /*consent*/
4312
4312
  e[64].tagCode
4313
- ]) && (l.checked = g);
4313
+ ]) && (l.checked = m);
4314
4314
  },
4315
- d(H) {
4316
- H && j(t), _ && _.d(), b && b.d(), m = !1, C();
4315
+ d(P) {
4316
+ P && j(t), _ && _.d(), v && v.d(), p = !1, C();
4317
4317
  }
4318
4318
  };
4319
4319
  }
4320
- function Bt(e) {
4320
+ function zt(e) {
4321
4321
  let t, r, n, i = (
4322
4322
  /*$_*/
4323
4323
  (e[16](`${/*category*/
4324
4324
  e[61].categoryTagCode}__category`) || /*category*/
4325
4325
  e[61].friendlyName) + ""
4326
- ), o, a, s, h, u, l, d, g, v;
4326
+ ), o, a, s, h, u, l, d, m, b;
4327
4327
  function f() {
4328
4328
  e[26].call(
4329
4329
  s,
@@ -4331,7 +4331,7 @@ function Bt(e) {
4331
4331
  e[61]
4332
4332
  );
4333
4333
  }
4334
- function m() {
4334
+ function p() {
4335
4335
  return (
4336
4336
  /*change_handler*/
4337
4337
  e[27](
@@ -4340,70 +4340,70 @@ function Bt(e) {
4340
4340
  )
4341
4341
  );
4342
4342
  }
4343
- function C(...x) {
4343
+ function C(...S) {
4344
4344
  return (
4345
4345
  /*func*/
4346
4346
  e[28](
4347
4347
  /*category*/
4348
4348
  e[61],
4349
- ...x
4349
+ ...S
4350
4350
  )
4351
4351
  );
4352
4352
  }
4353
4353
  let _ = $(
4354
4354
  /*playerConsents*/
4355
4355
  e[9].filter(C)
4356
- ), b = [];
4357
- for (let x = 0; x < _.length; x += 1)
4358
- b[x] = Pt(zt(e, _, x));
4356
+ ), v = [];
4357
+ for (let S = 0; S < _.length; S += 1)
4358
+ v[S] = Bt(xt(e, _, S));
4359
4359
  return {
4360
4360
  c() {
4361
- t = N("div"), r = N("div"), n = N("h3"), o = G(), a = N("label"), s = N("input"), h = G(), u = N("span"), l = G(), d = N("div");
4362
- for (let x = 0; x < b.length; x += 1)
4363
- b[x].c();
4364
- E(s, "type", "checkbox"), E(s, "class", "svelte-1kygizb"), E(u, "class", "Slider Round svelte-1kygizb"), E(a, "class", "ToggleSwitch Big svelte-1kygizb"), E(r, "class", "AccordionHeader svelte-1kygizb"), E(d, "class", "AccordionContent svelte-1kygizb"), E(t, "class", "AccordionItem svelte-1kygizb");
4361
+ t = A("div"), r = A("div"), n = A("h3"), o = q(), a = A("label"), s = A("input"), h = q(), u = A("span"), l = q(), d = A("div");
4362
+ for (let S = 0; S < v.length; S += 1)
4363
+ v[S].c();
4364
+ k(s, "type", "checkbox"), k(s, "class", "svelte-1w14oq2"), k(u, "class", "Slider Round svelte-1w14oq2"), k(a, "class", "ToggleSwitch Big svelte-1w14oq2"), k(r, "class", "AccordionHeader svelte-1w14oq2"), k(d, "class", "AccordionContent svelte-1w14oq2"), k(t, "class", "AccordionItem svelte-1w14oq2");
4365
4365
  },
4366
- m(x, H) {
4367
- L(x, t, H), S(t, r), S(r, n), n.innerHTML = i, S(r, o), S(r, a), S(a, s), s.checked = /*categoryToggle*/
4366
+ m(S, P) {
4367
+ L(S, t, P), w(t, r), w(r, n), n.innerHTML = i, w(r, o), w(r, a), w(a, s), s.checked = /*categoryToggle*/
4368
4368
  e[11][
4369
4369
  /*category*/
4370
4370
  e[61].categoryTagCode
4371
- ], S(a, h), S(a, u), S(t, l), S(t, d);
4372
- for (let k = 0; k < b.length; k += 1)
4373
- b[k] && b[k].m(d, null);
4374
- g || (v = [
4375
- ge(s, "change", f),
4376
- ge(s, "change", m)
4377
- ], g = !0);
4371
+ ], w(a, h), w(a, u), w(t, l), w(t, d);
4372
+ for (let E = 0; E < v.length; E += 1)
4373
+ v[E] && v[E].m(d, null);
4374
+ m || (b = [
4375
+ me(s, "change", f),
4376
+ me(s, "change", p)
4377
+ ], m = !0);
4378
4378
  },
4379
- p(x, H) {
4380
- if (e = x, H[0] & /*$_, consentsCategories*/
4379
+ p(S, P) {
4380
+ if (e = S, P[0] & /*$_, consentsCategories*/
4381
4381
  65792 && i !== (i = /*$_*/
4382
4382
  (e[16](`${/*category*/
4383
4383
  e[61].categoryTagCode}__category`) || /*category*/
4384
- e[61].friendlyName) + "") && (n.innerHTML = i), H[0] & /*categoryToggle, consentsCategories*/
4384
+ e[61].friendlyName) + "") && (n.innerHTML = i), P[0] & /*categoryToggle, consentsCategories*/
4385
4385
  2304 && (s.checked = /*categoryToggle*/
4386
4386
  e[11][
4387
4387
  /*category*/
4388
4388
  e[61].categoryTagCode
4389
- ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4389
+ ]), P[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, $_, displayconsentdescription*/
4390
4390
  602896) {
4391
4391
  _ = $(
4392
4392
  /*playerConsents*/
4393
4393
  e[9].filter(C)
4394
4394
  );
4395
- let k;
4396
- for (k = 0; k < _.length; k += 1) {
4397
- const B = zt(e, _, k);
4398
- b[k] ? b[k].p(B, H) : (b[k] = Pt(B), b[k].c(), b[k].m(d, null));
4395
+ let E;
4396
+ for (E = 0; E < _.length; E += 1) {
4397
+ const z = xt(e, _, E);
4398
+ v[E] ? v[E].p(z, P) : (v[E] = Bt(z), v[E].c(), v[E].m(d, null));
4399
4399
  }
4400
- for (; k < b.length; k += 1)
4401
- b[k].d(1);
4402
- b.length = _.length;
4400
+ for (; E < v.length; E += 1)
4401
+ v[E].d(1);
4402
+ v.length = _.length;
4403
4403
  }
4404
4404
  },
4405
- d(x) {
4406
- x && j(t), Ke(b, x), g = !1, It(v);
4405
+ d(S) {
4406
+ S && j(t), Ke(v, S), m = !1, It(b);
4407
4407
  }
4408
4408
  };
4409
4409
  }
@@ -4411,13 +4411,13 @@ function Ot(e) {
4411
4411
  let t, r, n, i, o;
4412
4412
  return {
4413
4413
  c() {
4414
- t = N("div"), r = N("circle-exclamation-icon"), n = G(), i = N("strong"), o = _e(
4414
+ t = A("div"), r = A("circle-exclamation-icon"), n = q(), i = A("strong"), o = _e(
4415
4415
  /*errorMessage*/
4416
4416
  e[6]
4417
- ), Q(r, "class", "svelte-1kygizb"), E(i, "class", "ErrorMessage svelte-1kygizb"), E(t, "class", "ConsentErrorContainer svelte-1kygizb");
4417
+ ), Q(r, "class", "svelte-1w14oq2"), k(i, "class", "ErrorMessage svelte-1w14oq2"), k(t, "class", "ConsentErrorContainer svelte-1w14oq2");
4418
4418
  },
4419
4419
  m(a, s) {
4420
- L(a, t, s), S(t, r), S(t, n), S(t, i), S(i, o);
4420
+ L(a, t, s), w(t, r), w(t, n), w(t, i), w(i, o);
4421
4421
  },
4422
4422
  p(a, s) {
4423
4423
  s[0] & /*errorMessage*/
@@ -4432,24 +4432,24 @@ function Ot(e) {
4432
4432
  }
4433
4433
  };
4434
4434
  }
4435
- function Xi(e) {
4435
+ function Vi(e) {
4436
4436
  let t, r;
4437
4437
  function n(a, s) {
4438
4438
  if (
4439
4439
  /*isLoading*/
4440
4440
  a[10]
4441
4441
  )
4442
- return Vi;
4442
+ return Fi;
4443
4443
  if (
4444
4444
  /*fatalError*/
4445
4445
  a[7]
4446
4446
  )
4447
- return Fi;
4447
+ return Gi;
4448
4448
  if (
4449
4449
  /*session*/
4450
4450
  a[0]
4451
4451
  )
4452
- return Gi;
4452
+ return qi;
4453
4453
  if (!/*session*/
4454
4454
  a[0])
4455
4455
  return Di;
@@ -4457,76 +4457,76 @@ function Xi(e) {
4457
4457
  let i = n(e), o = i && i(e);
4458
4458
  return {
4459
4459
  c() {
4460
- t = N("div"), r = N("div"), o && o.c(), E(r, "class", "ConsentsContainer svelte-1kygizb"), E(t, "class", Vr("") + " svelte-1kygizb");
4460
+ t = A("div"), r = A("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-1w14oq2"), k(t, "class", Fr("") + " svelte-1w14oq2");
4461
4461
  },
4462
4462
  m(a, s) {
4463
- L(a, t, s), S(t, r), o && o.m(r, null), e[32](r);
4463
+ L(a, t, s), w(t, r), o && o.m(r, null), e[32](r);
4464
4464
  },
4465
4465
  p(a, s) {
4466
4466
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
4467
4467
  },
4468
- i: q,
4469
- o: q,
4468
+ i: X,
4469
+ o: X,
4470
4470
  d(a) {
4471
4471
  a && j(t), o && o.d(), e[32](null);
4472
4472
  }
4473
4473
  };
4474
4474
  }
4475
- function qi(e, t, r) {
4475
+ function Xi(e, t, r) {
4476
4476
  let n;
4477
4477
  Dr(e, Ii, (c) => r(16, n = c));
4478
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: g = "" } = t, { modalconsents: v = "false" } = t, f, m = !1, C = !1, _ = "", b = "", x = "", H = "", k = [], B = [], O = [], se = !0, ve = !0, F = {}, ye = {}, Z = {}, U = {}, le, ke, R = {
4478
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: b = "false" } = t, f, p = !1, C = !1, _ = "", v = "", S = "", P = "", E = [], z = [], O = [], se = !0, be = !0, G = {}, ye = {}, Z = {}, U = {}, le, Ee, R = {
4479
4479
  none: { key: "0", value: "None" },
4480
4480
  accepted: { key: "1", value: "Accepted" },
4481
4481
  expired: { key: "2", value: "Expired" },
4482
4482
  denied: { key: "3", value: "Denied" },
4483
4483
  suspended: { key: "4", value: "Suspended" }
4484
- }, Ee = !1;
4484
+ }, ke = !1;
4485
4485
  Object.keys(Ct).forEach((c) => {
4486
- Et(c, Ct[c]);
4486
+ kt(c, Ct[c]);
4487
4487
  });
4488
4488
  const hr = () => {
4489
4489
  ji(l);
4490
4490
  }, dr = () => {
4491
- let c = new URL(g);
4492
- fetch(c.href).then((p) => p.json()).then((p) => {
4493
- Object.keys(p).forEach((T) => {
4494
- Et(T, p[T]);
4491
+ let c = new URL(m);
4492
+ fetch(c.href).then((g) => g.json()).then((g) => {
4493
+ Object.keys(g).forEach((T) => {
4494
+ kt(T, g[T]);
4495
4495
  });
4496
- }).catch((p) => {
4497
- console.log(p);
4496
+ }).catch((g) => {
4497
+ console.log(g);
4498
4498
  });
4499
- }, gr = () => {
4500
- i && (_ = i, C = !0), o && (b = o);
4501
- }, Ce = (c, p = !1) => {
4502
- p ? r(7, H = c) : (vr(), r(6, x = c));
4503
- }, ce = (c, p, T, y = !1) => he(this, null, function* () {
4499
+ }, mr = () => {
4500
+ i && (_ = i, C = !0), o && (v = o);
4501
+ }, Ce = (c, g = !1) => {
4502
+ g ? r(7, P = c) : (br(), r(6, S = c));
4503
+ }, ce = (c, g, T, y = !1) => he(this, null, function* () {
4504
4504
  try {
4505
- const z = yield fetch(c, T);
4506
- if (!z.ok)
4507
- throw new Error(n(p));
4508
- const I = yield z.json();
4509
- return C ? I : I.filter((V) => V.showOnRegister === !0);
4510
- } catch (z) {
4505
+ const x = yield fetch(c, T);
4506
+ if (!x.ok)
4507
+ throw new Error(n(g));
4508
+ const I = yield x.json();
4509
+ return C ? I : I.filter((F) => F.showOnRegister === !0);
4510
+ } catch (x) {
4511
4511
  throw Ce(
4512
- z instanceof TypeError ? n(p) : z.message,
4512
+ x instanceof TypeError ? n(g) : x.message,
4513
4513
  y
4514
- ), z;
4514
+ ), x;
4515
4515
  }
4516
- }), mr = () => he(this, null, function* () {
4516
+ }), pr = () => he(this, null, function* () {
4517
4517
  try {
4518
- let c = [], p = [];
4519
- if (C ? [c, p] = yield tt() : c = yield tt(), r(10, se = !1), B = [...c], r(8, k = fr(B).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, F = _r(k)), ye = W({}, F), r(9, O = [...p]), B.forEach((T) => {
4520
- let y = O.find((z) => z.tagCode === T.tagCode);
4518
+ let c = [], g = [];
4519
+ if (C ? [c, g] = yield tt() : c = yield tt(), r(10, se = !1), z = [...c], r(8, E = fr(z).sort((T, y) => T.categoryTagCode.localeCompare(y.categoryTagCode))), r(11, G = _r(E)), ye = W({}, G), r(9, O = [...g]), z.forEach((T) => {
4520
+ let y = O.find((x) => x.tagCode === T.tagCode);
4521
4521
  y || (y = at(W({}, T), {
4522
4522
  status: R.denied.value
4523
4523
  }), O.push(y)), y.description = T.description, y.orderNumber = T.orderNumber;
4524
- }), v === "true") {
4524
+ }), b === "true") {
4525
4525
  if (r(9, O = O.filter((T) => T.status === R.expired.value)), O.length !== 0)
4526
4526
  return;
4527
4527
  Ce(n("wrongModalConfig"), !0);
4528
4528
  }
4529
- br();
4529
+ vr();
4530
4530
  } catch (c) {
4531
4531
  throw r(10, se = !1), Ce(
4532
4532
  c instanceof TypeError ? n("invalidUrl") : c.message,
@@ -4537,10 +4537,10 @@ function qi(e, t, r) {
4537
4537
  const c = new URL(`${a}/api/v1/gm/consents`);
4538
4538
  if (c.searchParams.append("Status", "Active"), !C)
4539
4539
  return yield ce(c.href, "fetchConsentsError", { method: "GET" }, !0);
4540
- const p = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4540
+ const g = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4541
4541
  return yield Promise.all([
4542
4542
  ce(c.href, "fetchConsentsError", { method: "GET" }, !0),
4543
- ce(p.href, "fetchPlayerConsentsError", {
4543
+ ce(g.href, "fetchPlayerConsentsError", {
4544
4544
  method: "GET",
4545
4545
  headers: {
4546
4546
  "X-SessionId": _,
@@ -4548,89 +4548,89 @@ function qi(e, t, r) {
4548
4548
  }
4549
4549
  })
4550
4550
  ]);
4551
- }), pr = () => {
4552
- Ee = !1;
4553
- const c = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
4551
+ }), gr = () => {
4552
+ ke = !1;
4553
+ const c = new URL(`${a}/api/v2/gm/legislation/consents`), g = {
4554
4554
  "Content-Type": "application/json",
4555
4555
  Accept: "application/json"
4556
- }, T = { method: "GET", headers: p };
4557
- fetch(c.href, T).then((y) => y.ok ? y.json() : (Ee = !0, y.json().then((z) => (console.error(z), Se(z))))).then((y) => {
4558
- if (!Ee) {
4559
- if (B = y, localStorage.getItem("playerConsents")) {
4556
+ }, T = { method: "GET", headers: g };
4557
+ fetch(c.href, T).then((y) => y.ok ? y.json() : (ke = !0, y.json().then((x) => (console.error(x), we(x))))).then((y) => {
4558
+ if (!ke) {
4559
+ if (z = y, localStorage.getItem("playerConsents")) {
4560
4560
  try {
4561
4561
  r(9, O = JSON.parse(localStorage.getItem("playerConsents")));
4562
- } catch (z) {
4563
- return console.error(z), Se(z);
4562
+ } catch (x) {
4563
+ return console.error(x), we(x);
4564
4564
  }
4565
4565
  return;
4566
4566
  }
4567
- return r(9, O = B.map((z) => ({
4568
- id: z.id,
4567
+ return r(9, O = z.map((x) => ({
4568
+ id: x.id,
4569
4569
  status: R.denied.key,
4570
- friendlyName: z.friendlyName,
4571
- tagCode: z.tagCode,
4570
+ friendlyName: x.friendlyName,
4571
+ tagCode: x.tagCode,
4572
4572
  selected: null,
4573
- mustAccept: z.mustAccept
4573
+ mustAccept: x.mustAccept
4574
4574
  }))), localStorage.setItem("playerConsents", JSON.stringify(O)), O;
4575
4575
  }
4576
- }).catch((y) => (console.error(y), Se(y))).finally(() => {
4576
+ }).catch((y) => (console.error(y), we(y))).finally(() => {
4577
4577
  r(10, se = !1);
4578
4578
  });
4579
4579
  }, fr = (c) => {
4580
- const p = /* @__PURE__ */ new Map();
4580
+ const g = /* @__PURE__ */ new Map();
4581
4581
  return c.forEach((T) => {
4582
- p.has(T.category.categoryTagCode) || p.set(T.category.categoryTagCode, T.category);
4583
- }), Array.from(p.values());
4582
+ g.has(T.category.categoryTagCode) || g.set(T.category.categoryTagCode, T.category);
4583
+ }), Array.from(g.values());
4584
4584
  }, _r = (c) => {
4585
- const p = localStorage.getItem("categoryToggle" + b);
4586
- if (p === null) {
4585
+ const g = localStorage.getItem("categoryToggle" + v);
4586
+ if (g === null) {
4587
4587
  const T = c.reduce(
4588
- (y, z) => (y[z.categoryTagCode] = !1, y),
4588
+ (y, x) => (y[x.categoryTagCode] = !1, y),
4589
4589
  {}
4590
4590
  );
4591
- return localStorage.setItem("categoryToggle" + b, JSON.stringify(T)), T;
4591
+ return localStorage.setItem("categoryToggle" + v, JSON.stringify(T)), T;
4592
4592
  } else
4593
- return JSON.parse(p);
4594
- }, br = () => {
4593
+ return JSON.parse(g);
4594
+ }, vr = () => {
4595
4595
  O.forEach((c) => {
4596
4596
  r(12, Z[c.tagCode] = c.status === R.accepted.value, Z);
4597
4597
  }), r(13, U = W({}, Z));
4598
- }, vr = () => {
4599
- r(13, U = W({}, Z)), r(11, F = W({}, ye));
4598
+ }, br = () => {
4599
+ r(13, U = W({}, Z)), r(11, G = W({}, ye));
4600
4600
  }, yr = () => he(this, null, function* () {
4601
- if (!ve)
4601
+ if (!be)
4602
4602
  return;
4603
- ve = !1;
4604
- const c = [], p = [];
4603
+ be = !1;
4604
+ const c = [], g = [];
4605
4605
  if (Object.keys(U).forEach((y) => {
4606
- const z = O.find((I) => I.tagCode === y);
4607
- U[y] !== Z[y] && (z ? c.push({
4606
+ const x = O.find((I) => I.tagCode === y);
4607
+ U[y] !== Z[y] && (x ? c.push({
4608
4608
  tagCode: y,
4609
4609
  status: U[y] ? R.accepted.value : R.denied.value
4610
- }) : p.push({
4610
+ }) : g.push({
4611
4611
  tagCode: y,
4612
4612
  status: U[y] ? R.accepted.value : R.denied.value
4613
4613
  }));
4614
4614
  }), !C) {
4615
- localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
4615
+ localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), ye = W({}, G), window.postMessage(
4616
4616
  {
4617
4617
  type: "NewPlayerConsentData",
4618
- data: JSON.stringify(p)
4618
+ data: JSON.stringify(g)
4619
4619
  },
4620
4620
  window.location.href
4621
- ), ve = !0;
4621
+ ), be = !0;
4622
4622
  return;
4623
4623
  }
4624
- const T = new URL(`${a}/api/v1/gm/user-consents/${b}`);
4624
+ const T = new URL(`${a}/api/v1/gm/user-consents/${v}`);
4625
4625
  try {
4626
4626
  const y = yield Promise.allSettled([
4627
- p.length > 0 && ce(T.href, "updateConsentsError", {
4627
+ g.length > 0 && ce(T.href, "updateConsentsError", {
4628
4628
  method: "POST",
4629
4629
  headers: {
4630
4630
  "X-SessionId": _,
4631
4631
  "Content-Type": "application/json"
4632
4632
  },
4633
- body: JSON.stringify({ userConsents: p })
4633
+ body: JSON.stringify({ userConsents: g })
4634
4634
  }),
4635
4635
  c.length > 0 && ce(T.href, "updateConsentsError", {
4636
4636
  method: "PATCH",
@@ -4641,12 +4641,12 @@ function qi(e, t, r) {
4641
4641
  body: JSON.stringify({ userConsents: c })
4642
4642
  })
4643
4643
  ]);
4644
- y.forEach((z, I) => {
4645
- if (z.status === "rejected" || z.value.ok === !1) {
4646
- const V = I < p.length ? p[I] : c[I - p.length];
4647
- r(13, U[V.tagCode] = Z[V.tagCode], U);
4644
+ y.forEach((x, I) => {
4645
+ if (x.status === "rejected" || x.value.ok === !1) {
4646
+ const F = I < g.length ? g[I] : c[I - g.length];
4647
+ r(13, U[F.tagCode] = Z[F.tagCode], U);
4648
4648
  }
4649
- }), y.every((z) => z.status === "fulfilled") && (localStorage.setItem("categoryToggle" + b, JSON.stringify(F)), ye = W({}, F), window.postMessage(
4649
+ }), y.every((x) => x.status === "fulfilled") && (localStorage.setItem("categoryToggle" + v, JSON.stringify(G)), ye = W({}, G), window.postMessage(
4650
4650
  {
4651
4651
  type: "PlayerConsentUpdated",
4652
4652
  success: !0
@@ -4662,58 +4662,58 @@ function qi(e, t, r) {
4662
4662
  window.location.href
4663
4663
  );
4664
4664
  } finally {
4665
- ve = !0, r(14, le = !1);
4665
+ be = !0, r(14, le = !1);
4666
4666
  }
4667
- }), kr = (c) => {
4668
- const p = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4667
+ }), Er = (c) => {
4668
+ const g = new URL(`${a}/api/v2/gm/legislation/consents`), T = {
4669
4669
  "Content-Type": "application/json",
4670
4670
  Accept: "application/json"
4671
4671
  }, y = {
4672
4672
  playerConsents: O,
4673
4673
  registrationId: c
4674
- }, z = {
4674
+ }, x = {
4675
4675
  method: "POST",
4676
4676
  body: JSON.stringify(y),
4677
4677
  headers: T
4678
4678
  };
4679
- fetch(p.href, z).then((I) => {
4680
- I.ok || (Ee = !0);
4681
- }).catch((I) => (console.error(I), Se(I))).finally(() => {
4679
+ fetch(g.href, x).then((I) => {
4680
+ I.ok || (ke = !0);
4681
+ }).catch((I) => (console.error(I), we(I))).finally(() => {
4682
4682
  r(10, se = !1);
4683
4683
  });
4684
4684
  }, rt = (c) => {
4685
- O.filter((p) => p.category.categoryTagCode === c).forEach((p) => {
4686
- p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[c] || !1, U);
4685
+ O.filter((g) => g.category.categoryTagCode === c).forEach((g) => {
4686
+ g.status = g.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[g.tagCode] = G[c] || !1, U);
4687
4687
  }), r(14, le = nt());
4688
- }, Oe = (c, p, T) => {
4689
- const y = O.find((V) => V.id === T), z = p ? "value" : "key";
4688
+ }, Oe = (c, g, T) => {
4689
+ const y = O.find((F) => F.id === T), x = g ? "value" : "key";
4690
4690
  let I;
4691
- if (!p && y.mustAccept) {
4692
- const V = Array.from(ke.children);
4693
- for (const ue of V)
4694
- if (I = Array.from(ue.children).find((Hr) => Hr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4691
+ if (!g && y.mustAccept) {
4692
+ const F = Array.from(Ee.children);
4693
+ for (const ue of F)
4694
+ if (I = Array.from(ue.children).find((Pr) => Pr.getAttribute("id") === `checkBoxError__${y.tagCode}`), I)
4695
4695
  break;
4696
4696
  }
4697
- if (y.status === R.accepted[z] ? (y.status = R.denied[z], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[z], I && (I.innerHTML = "")), p) {
4697
+ if (y.status === R.accepted[x] ? (y.status = R.denied[x], I && (I.innerHTML = n("requiredError"))) : (y.status = R.accepted[x], I && (I.innerHTML = "")), g) {
4698
4698
  r(13, U[y.tagCode] = !U[y.tagCode], U);
4699
- const V = O.filter((ue) => ue.category.categoryTagCode === p.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4700
- r(11, F[p.categoryTagCode] = V, F);
4699
+ const F = O.filter((ue) => ue.category.categoryTagCode === g.categoryTagCode).every((ue) => ue.status !== R.denied.value);
4700
+ r(11, G[g.categoryTagCode] = F, G);
4701
4701
  }
4702
- Er();
4703
- }, Er = ((c, p) => {
4702
+ kr();
4703
+ }, kr = ((c, g) => {
4704
4704
  let T;
4705
4705
  return function(...y) {
4706
- const z = this;
4706
+ const x = this;
4707
4707
  clearTimeout(T), T = setTimeout(
4708
4708
  () => {
4709
- c.apply(z, y);
4709
+ c.apply(x, y);
4710
4710
  },
4711
- p
4711
+ g
4712
4712
  );
4713
4713
  };
4714
4714
  })(() => Cr(), 500), Cr = () => {
4715
4715
  r(14, le = nt()), i || (window.postMessage({ type: "isConsentsValid", isValid: le }), localStorage.setItem("playerConsents", JSON.stringify(O)));
4716
- }, nt = () => O.filter((p) => O.some((T) => p.tagCode === T.tagCode && T.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Se = (c) => {
4716
+ }, nt = () => O.filter((g) => O.some((T) => g.tagCode === T.tagCode && T.mustAccept && (g.status === R.denied.key || g.status === R.denied.value))).length === 0, we = (c) => {
4717
4717
  window.postMessage(
4718
4718
  {
4719
4719
  type: "WidgetNotification",
@@ -4721,46 +4721,46 @@ function qi(e, t, r) {
4721
4721
  },
4722
4722
  window.location.href
4723
4723
  );
4724
- }, Sr = (c) => {
4725
- c.data && c.data.type !== "setUpPlayerConsents" || kr(c.data.registerid);
4724
+ }, wr = (c) => {
4725
+ c.data && c.data.type !== "setUpPlayerConsents" || Er(c.data.registerid);
4726
4726
  };
4727
- Gr(() => {
4727
+ qr(() => {
4728
4728
  setTimeout(
4729
4729
  () => {
4730
- r(25, m = !0);
4730
+ r(25, p = !0);
4731
4731
  },
4732
4732
  50
4733
4733
  );
4734
- const c = (p) => Sr(p);
4734
+ const c = (g) => wr(g);
4735
4735
  return window.addEventListener("message", c), () => {
4736
4736
  window.removeEventListener("message", c);
4737
4737
  };
4738
4738
  });
4739
- function xr(c) {
4740
- F[c.categoryTagCode] = this.checked, r(11, F);
4739
+ function Sr(c) {
4740
+ G[c.categoryTagCode] = this.checked, r(11, G);
4741
4741
  }
4742
- const zr = (c) => rt(c.categoryTagCode), Tr = (c, p) => p.category.categoryTagCode === c.categoryTagCode, Mr = (c, p) => Oe(p, c.category, c.id), wr = (c, p) => Oe(p, null, c.id);
4743
- function Nr(c) {
4742
+ const xr = (c) => rt(c.categoryTagCode), Tr = (c, g) => g.category.categoryTagCode === c.categoryTagCode, Mr = (c, g) => Oe(g, c.category, c.id), Nr = (c, g) => Oe(g, null, c.id);
4743
+ function Ar(c) {
4744
4744
  lt[c ? "unshift" : "push"](() => {
4745
- ke = c, r(15, ke);
4745
+ Ee = c, r(15, Ee);
4746
4746
  });
4747
4747
  }
4748
- function Ar(c) {
4748
+ function Hr(c) {
4749
4749
  lt[c ? "unshift" : "push"](() => {
4750
4750
  f = c, r(5, f);
4751
4751
  });
4752
4752
  }
4753
4753
  return e.$$set = (c) => {
4754
- "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, g = c.translationurl), "modalconsents" in c && r(24, v = c.modalconsents);
4754
+ "session" in c && r(0, i = c.session), "userid" in c && r(20, o = c.userid), "endpoint" in c && r(21, a = c.endpoint), "clientstyling" in c && r(1, s = c.clientstyling), "clientstylingurl" in c && r(2, h = c.clientstylingurl), "mbsource" in c && r(3, u = c.mbsource), "lang" in c && r(22, l = c.lang), "displayconsentdescription" in c && r(4, d = c.displayconsentdescription), "translationurl" in c && r(23, m = c.translationurl), "modalconsents" in c && r(24, b = c.modalconsents);
4755
4755
  }, e.$$.update = () => {
4756
4756
  e.$$.dirty[0] & /*isMounted, session*/
4757
- 33554433 && m && i && (gr(), mr()), e.$$.dirty[0] & /*session*/
4758
- 1 && (i || pr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4759
- 34 && s && f && Xr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4760
- 36 && h && f && qr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4757
+ 33554433 && p && i && (mr(), pr()), e.$$.dirty[0] & /*session*/
4758
+ 1 && (i || gr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4759
+ 34 && s && f && Vr(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4760
+ 36 && h && f && Xr(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4761
4761
  40 && f && Wr(f, `${u}.Style`), e.$$.dirty[0] & /*lang*/
4762
4762
  4194304 && l && hr(), e.$$.dirty[0] & /*translationurl*/
4763
- 8388608 && g && dr();
4763
+ 8388608 && m && dr();
4764
4764
  }, [
4765
4765
  i,
4766
4766
  s,
@@ -4768,16 +4768,16 @@ function qi(e, t, r) {
4768
4768
  u,
4769
4769
  d,
4770
4770
  f,
4771
- x,
4772
- H,
4773
- k,
4771
+ S,
4772
+ P,
4773
+ E,
4774
4774
  O,
4775
4775
  se,
4776
- F,
4776
+ G,
4777
4777
  Z,
4778
4778
  U,
4779
4779
  le,
4780
- ke,
4780
+ Ee,
4781
4781
  n,
4782
4782
  yr,
4783
4783
  rt,
@@ -4785,16 +4785,16 @@ function qi(e, t, r) {
4785
4785
  o,
4786
4786
  a,
4787
4787
  l,
4788
- g,
4789
- v,
4790
4788
  m,
4789
+ b,
4790
+ p,
4791
+ Sr,
4791
4792
  xr,
4792
- zr,
4793
4793
  Tr,
4794
4794
  Mr,
4795
- wr,
4796
4795
  Nr,
4797
- Ar
4796
+ Ar,
4797
+ Hr
4798
4798
  ];
4799
4799
  }
4800
4800
  class Wi extends Lt {
@@ -4802,8 +4802,8 @@ class Wi extends Lt {
4802
4802
  super(), Rt(
4803
4803
  this,
4804
4804
  t,
4805
- qi,
4806
4805
  Xi,
4806
+ Vi,
4807
4807
  Ye,
4808
4808
  {
4809
4809
  session: 0,
@@ -4825,61 +4825,61 @@ class Wi extends Lt {
4825
4825
  return this.$$.ctx[0];
4826
4826
  }
4827
4827
  set session(t) {
4828
- this.$$set({ session: t }), X();
4828
+ this.$$set({ session: t }), V();
4829
4829
  }
4830
4830
  get userid() {
4831
4831
  return this.$$.ctx[20];
4832
4832
  }
4833
4833
  set userid(t) {
4834
- this.$$set({ userid: t }), X();
4834
+ this.$$set({ userid: t }), V();
4835
4835
  }
4836
4836
  get endpoint() {
4837
4837
  return this.$$.ctx[21];
4838
4838
  }
4839
4839
  set endpoint(t) {
4840
- this.$$set({ endpoint: t }), X();
4840
+ this.$$set({ endpoint: t }), V();
4841
4841
  }
4842
4842
  get clientstyling() {
4843
4843
  return this.$$.ctx[1];
4844
4844
  }
4845
4845
  set clientstyling(t) {
4846
- this.$$set({ clientstyling: t }), X();
4846
+ this.$$set({ clientstyling: t }), V();
4847
4847
  }
4848
4848
  get clientstylingurl() {
4849
4849
  return this.$$.ctx[2];
4850
4850
  }
4851
4851
  set clientstylingurl(t) {
4852
- this.$$set({ clientstylingurl: t }), X();
4852
+ this.$$set({ clientstylingurl: t }), V();
4853
4853
  }
4854
4854
  get mbsource() {
4855
4855
  return this.$$.ctx[3];
4856
4856
  }
4857
4857
  set mbsource(t) {
4858
- this.$$set({ mbsource: t }), X();
4858
+ this.$$set({ mbsource: t }), V();
4859
4859
  }
4860
4860
  get lang() {
4861
4861
  return this.$$.ctx[22];
4862
4862
  }
4863
4863
  set lang(t) {
4864
- this.$$set({ lang: t }), X();
4864
+ this.$$set({ lang: t }), V();
4865
4865
  }
4866
4866
  get displayconsentdescription() {
4867
4867
  return this.$$.ctx[4];
4868
4868
  }
4869
4869
  set displayconsentdescription(t) {
4870
- this.$$set({ displayconsentdescription: t }), X();
4870
+ this.$$set({ displayconsentdescription: t }), V();
4871
4871
  }
4872
4872
  get translationurl() {
4873
4873
  return this.$$.ctx[23];
4874
4874
  }
4875
4875
  set translationurl(t) {
4876
- this.$$set({ translationurl: t }), X();
4876
+ this.$$set({ translationurl: t }), V();
4877
4877
  }
4878
4878
  get modalconsents() {
4879
4879
  return this.$$.ctx[24];
4880
4880
  }
4881
4881
  set modalconsents(t) {
4882
- this.$$set({ modalconsents: t }), X();
4882
+ this.$$set({ modalconsents: t }), V();
4883
4883
  }
4884
4884
  }
4885
4885
  jt(Wi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);