@everymatrix/general-registration 1.90.26 → 1.90.27

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.
Files changed (32) hide show
  1. package/dist/cjs/{PlayerConsents-Duni8Aqx-1d0f4f21.js → PlayerConsents-uUnB_ySd-c7d5a465.js} +1360 -1226
  2. package/dist/cjs/checkbox-group-input_15.cjs.entry.js +268 -258
  3. package/dist/cjs/general-registration.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/general-registration/general-registration.js +32 -4
  6. package/dist/esm/{PlayerConsents-Duni8Aqx-dd7cf325.js → PlayerConsents-uUnB_ySd-8a92900a.js} +1360 -1211
  7. package/dist/esm/checkbox-group-input_15.entry.js +268 -258
  8. package/dist/esm/general-registration.js +1 -1
  9. package/dist/esm/loader.js +1 -1
  10. package/dist/general-registration/PlayerConsents-uUnB_ySd-8a92900a.js +1 -0
  11. package/dist/general-registration/checkbox-group-input_15.entry.js +4 -4
  12. package/dist/general-registration/general-registration.esm.js +1 -1
  13. package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  14. package/dist/types/Users/sebastian.strulea/Documents/work/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  15. package/dist/types/components/general-registration/general-registration.d.ts +4 -0
  16. package/dist/types/components.d.ts +8 -0
  17. package/package.json +1 -1
  18. package/dist/cjs/GeneralAnimationLoading-lTLzF5jR-8645dd28.js +0 -86
  19. package/dist/esm/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +0 -84
  20. package/dist/general-registration/GeneralAnimationLoading-lTLzF5jR-501a49e3.js +0 -1
  21. package/dist/general-registration/PlayerConsents-Duni8Aqx-dd7cf325.js +0 -1
  22. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  23. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  24. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  25. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  26. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +0 -0
  27. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +0 -0
  28. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  29. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +0 -0
  30. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  31. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  32. /package/dist/types/{builds/emfe-widgets → Users/sebastian.strulea/Documents/work}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,75 +1,78 @@
1
- var tn = Object.defineProperty, rn = Object.defineProperties;
2
- var nn = Object.getOwnPropertyDescriptors;
3
- var St = Object.getOwnPropertySymbols;
4
- var on = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable;
5
- var Ze = (e, t, r) => t in e ? tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t) => {
6
- for (var r in t || (t = {}))
7
- on.call(t, r) && Ze(e, r, t[r]);
8
- if (St)
9
- for (var r of St(t))
10
- an.call(t, r) && Ze(e, r, t[r]);
1
+ var V = Object.defineProperty, q$1 = Object.defineProperties;
2
+ var K = Object.getOwnPropertyDescriptors;
3
+ var M = Object.getOwnPropertySymbols;
4
+ var W = Object.prototype.hasOwnProperty, Y$1 = Object.prototype.propertyIsEnumerable;
5
+ var L = (e, t, n) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P$1 = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ W.call(t, n) && L(e, n, t[n]);
8
+ if (M)
9
+ for (var n of M(t))
10
+ Y$1.call(t, n) && L(e, n, t[n]);
11
11
  return e;
12
- }, Je = (e, t) => rn(e, nn(t));
13
- var U = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var re = (e, t, r) => new Promise((n, i) => {
15
- var o = (c) => {
12
+ }, B$1 = (e, t) => q$1(e, K(t));
13
+ var f = (e, t, n) => (L(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var H = (e, t, n) => new Promise((s, c) => {
15
+ var i = (u) => {
16
16
  try {
17
- s(r.next(c));
18
- } catch (l) {
19
- i(l);
17
+ l(n.next(u));
18
+ } catch (o) {
19
+ c(o);
20
20
  }
21
- }, a = (c) => {
21
+ }, r = (u) => {
22
22
  try {
23
- s(r.throw(c));
24
- } catch (l) {
25
- i(l);
23
+ l(n.throw(u));
24
+ } catch (o) {
25
+ c(o);
26
26
  }
27
- }, s = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
27
+ }, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, r);
28
+ l((n = n.apply(e, t)).next());
29
29
  });
30
- function $() {
30
+ function h() {
31
31
  }
32
- function er(e) {
32
+ function G(e) {
33
33
  return e();
34
34
  }
35
- function xt() {
35
+ function R() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function me(e) {
39
- e.forEach(er);
38
+ function S(e) {
39
+ e.forEach(G);
40
40
  }
41
- function gt(e) {
41
+ function U(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function _t(e, t) {
44
+ function Q(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function sn(e) {
47
+ function X(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function tr(e, ...t) {
50
+ function Z$1(e, ...t) {
51
51
  if (e == null) {
52
- for (const n of t)
53
- n(void 0);
54
- return $;
52
+ for (const s of t)
53
+ s(void 0);
54
+ return h;
55
55
  }
56
- const r = e.subscribe(...t);
57
- return r.unsubscribe ? () => r.unsubscribe() : r;
56
+ const n = e.subscribe(...t);
57
+ return n.unsubscribe ? () => n.unsubscribe() : n;
58
58
  }
59
- function ln(e, t, r) {
60
- e.$$.on_destroy.push(tr(t, r));
59
+ function jt$1(e, t, n) {
60
+ e.$$.on_destroy.push(Z$1(t, n));
61
+ }
62
+ function kt$1(e) {
63
+ return e;
61
64
  }
62
- function x(e, t) {
65
+ function tt(e, t) {
63
66
  e.appendChild(t);
64
67
  }
65
- function cn(e, t, r) {
66
- const n = un(e);
67
- if (!n.getElementById(t)) {
68
- const i = T("style");
69
- i.id = t, i.textContent = r, hn(n, i);
68
+ function et(e, t, n) {
69
+ const s = nt$1(e);
70
+ if (!s.getElementById(t)) {
71
+ const c = E("style");
72
+ c.id = t, c.textContent = n, st$1(s, c);
70
73
  }
71
74
  }
72
- function un(e) {
75
+ function nt$1(e) {
73
76
  if (!e)
74
77
  return document;
75
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,70 +82,70 @@ function un(e) {
79
82
  t
80
83
  ) : e.ownerDocument;
81
84
  }
82
- function hn(e, t) {
83
- return x(
85
+ function st$1(e, t) {
86
+ return tt(
84
87
  /** @type {Document} */
85
88
  e.head || e,
86
89
  t
87
90
  ), t.sheet;
88
91
  }
89
- function L(e, t, r) {
90
- e.insertBefore(t, r || null);
92
+ function N$1(e, t, n) {
93
+ e.insertBefore(t, n || null);
91
94
  }
92
- function O(e) {
95
+ function x(e) {
93
96
  e.parentNode && e.parentNode.removeChild(e);
94
97
  }
95
- function yt(e, t) {
96
- for (let r = 0; r < e.length; r += 1)
97
- e[r] && e[r].d(t);
98
+ function Ot$1(e, t) {
99
+ for (let n = 0; n < e.length; n += 1)
100
+ e[n] && e[n].d(t);
98
101
  }
99
- function T(e) {
102
+ function E(e) {
100
103
  return document.createElement(e);
101
104
  }
102
105
  function it(e) {
103
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
107
  }
105
- function ee(e) {
108
+ function z(e) {
106
109
  return document.createTextNode(e);
107
110
  }
108
- function F() {
109
- return ee(" ");
111
+ function Mt$1() {
112
+ return z(" ");
110
113
  }
111
- function dn() {
112
- return ee("");
114
+ function Pt$1() {
115
+ return z("");
113
116
  }
114
- function Ce(e, t, r, n) {
115
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
+ function Bt$1(e, t, n, s) {
118
+ return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
116
119
  }
117
- function k(e, t, r) {
118
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
+ function I(e, t, n) {
121
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
119
122
  }
120
- function K(e, t, r) {
121
- const n = t.toLowerCase();
122
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
123
+ function Ht$1(e, t, n) {
124
+ const s = t.toLowerCase();
125
+ s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : I(e, t, n);
123
126
  }
124
- function mn(e) {
127
+ function ct$1(e) {
125
128
  return Array.from(e.childNodes);
126
129
  }
127
- function Te(e, t) {
130
+ function Rt(e, t) {
128
131
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
132
  t);
130
133
  }
131
- class rr {
134
+ class Dt {
132
135
  constructor(t = !1) {
133
136
  /**
134
137
  * @private
135
138
  * @default false
136
139
  */
137
- U(this, "is_svg", !1);
140
+ f(this, "is_svg", !1);
138
141
  /** parent for creating node */
139
- U(this, "e");
142
+ f(this, "e");
140
143
  /** html tag nodes */
141
- U(this, "n");
144
+ f(this, "n");
142
145
  /** target */
143
- U(this, "t");
146
+ f(this, "t");
144
147
  /** anchor */
145
- U(this, "a");
148
+ f(this, "a");
146
149
  this.is_svg = t, this.e = this.n = null;
147
150
  }
148
151
  /**
@@ -158,17 +161,17 @@ class rr {
158
161
  * @param {HTMLElement | SVGElement} anchor
159
162
  * @returns {void}
160
163
  */
161
- m(t, r, n = null) {
164
+ m(t, n, s = null) {
162
165
  this.e || (this.is_svg ? this.e = it(
163
166
  /** @type {keyof SVGElementTagNameMap} */
164
- r.nodeName
165
- ) : this.e = T(
167
+ n.nodeName
168
+ ) : this.e = E(
166
169
  /** @type {keyof HTMLElementTagNameMap} */
167
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
168
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
170
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
171
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
169
172
  /** @type {HTMLTemplateElement} */
170
- r.content
171
- ), this.c(t)), this.i(n);
173
+ n.content
174
+ ), this.c(t)), this.i(s);
172
175
  }
173
176
  /**
174
177
  * @param {string} html
@@ -182,8 +185,8 @@ class rr {
182
185
  /**
183
186
  * @returns {void} */
184
187
  i(t) {
185
- for (let r = 0; r < this.n.length; r += 1)
186
- L(this.t, this.n[r], t);
188
+ for (let n = 0; n < this.n.length; n += 1)
189
+ N$1(this.t, this.n[n], t);
187
190
  }
188
191
  /**
189
192
  * @param {string} html
@@ -195,237 +198,237 @@ class rr {
195
198
  /**
196
199
  * @returns {void} */
197
200
  d() {
198
- this.n.forEach(O);
201
+ this.n.forEach(x);
199
202
  }
200
203
  }
201
- function fn(e) {
204
+ function rt$1(e) {
202
205
  const t = {};
203
206
  return e.childNodes.forEach(
204
207
  /** @param {Element} node */
205
- (r) => {
206
- t[r.slot || "default"] = !0;
208
+ (n) => {
209
+ t[n.slot || "default"] = !0;
207
210
  }
208
211
  ), t;
209
212
  }
210
- let Se;
211
- function Ee(e) {
212
- Se = e;
213
+ let g;
214
+ function p(e) {
215
+ g = e;
213
216
  }
214
- function pn() {
215
- if (!Se)
217
+ function ot() {
218
+ if (!g)
216
219
  throw new Error("Function called outside component initialization");
217
- return Se;
220
+ return g;
218
221
  }
219
- function gn(e) {
220
- pn().$$.on_mount.push(e);
222
+ function lt$1(e) {
223
+ ot().$$.on_mount.push(e);
221
224
  }
222
- const oe = [], Re = [];
223
- let se = [];
224
- const wt = [], _n = /* @__PURE__ */ Promise.resolve();
225
- let ot = !1;
226
- function yn() {
227
- ot || (ot = !0, _n.then(X));
225
+ const $$1 = [], v = [];
226
+ let _ = [];
227
+ const D$1 = [], ut = /* @__PURE__ */ Promise.resolve();
228
+ let A = !1;
229
+ function ft$1() {
230
+ A || (A = !0, ut.then(b));
228
231
  }
229
- function at(e) {
230
- se.push(e);
232
+ function T(e) {
233
+ _.push(e);
231
234
  }
232
- const Qe = /* @__PURE__ */ new Set();
233
- let ne = 0;
234
- function X() {
235
- if (ne !== 0)
235
+ const C = /* @__PURE__ */ new Set();
236
+ let a = 0;
237
+ function b() {
238
+ if (a !== 0)
236
239
  return;
237
- const e = Se;
240
+ const e = g;
238
241
  do {
239
242
  try {
240
- for (; ne < oe.length; ) {
241
- const t = oe[ne];
242
- ne++, Ee(t), vn(t.$$);
243
+ for (; a < $$1.length; ) {
244
+ const t = $$1[a];
245
+ a++, p(t), dt$1(t.$$);
243
246
  }
244
247
  } catch (t) {
245
- throw oe.length = 0, ne = 0, t;
248
+ throw $$1.length = 0, a = 0, t;
246
249
  }
247
- for (Ee(null), oe.length = 0, ne = 0; Re.length; )
248
- Re.pop()();
249
- for (let t = 0; t < se.length; t += 1) {
250
- const r = se[t];
251
- Qe.has(r) || (Qe.add(r), r());
250
+ for (p(null), $$1.length = 0, a = 0; v.length; )
251
+ v.pop()();
252
+ for (let t = 0; t < _.length; t += 1) {
253
+ const n = _[t];
254
+ C.has(n) || (C.add(n), n());
252
255
  }
253
- se.length = 0;
254
- } while (oe.length);
255
- for (; wt.length; )
256
- wt.pop()();
257
- ot = !1, Qe.clear(), Ee(e);
256
+ _.length = 0;
257
+ } while ($$1.length);
258
+ for (; D$1.length; )
259
+ D$1.pop()();
260
+ A = !1, C.clear(), p(e);
258
261
  }
259
- function vn(e) {
262
+ function dt$1(e) {
260
263
  if (e.fragment !== null) {
261
- e.update(), me(e.before_update);
264
+ e.update(), S(e.before_update);
262
265
  const t = e.dirty;
263
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
266
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(T);
264
267
  }
265
268
  }
266
- function bn(e) {
267
- const t = [], r = [];
268
- se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
269
+ function ht(e) {
270
+ const t = [], n = [];
271
+ _.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), _ = t;
269
272
  }
270
- const kn = /* @__PURE__ */ new Set();
271
- function En(e, t) {
272
- e && e.i && (kn.delete(e), e.i(t));
273
+ const at = /* @__PURE__ */ new Set();
274
+ function $t$1(e, t) {
275
+ e && e.i && (at.delete(e), e.i(t));
273
276
  }
274
- function le(e) {
277
+ function Gt(e) {
275
278
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
276
279
  }
277
- function Cn(e, t, r) {
278
- const { fragment: n, after_update: i } = e.$$;
279
- n && n.m(t, r), at(() => {
280
- const o = e.$$.on_mount.map(er).filter(gt);
281
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
282
- }), i.forEach(at);
280
+ function mt$1(e, t, n) {
281
+ const { fragment: s, after_update: c } = e.$$;
282
+ s && s.m(t, n), T(() => {
283
+ const i = e.$$.on_mount.map(G).filter(U);
284
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : S(i), e.$$.on_mount = [];
285
+ }), c.forEach(T);
283
286
  }
284
- function Sn(e, t) {
285
- const r = e.$$;
286
- r.fragment !== null && (bn(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
287
+ function _t$1(e, t) {
288
+ const n = e.$$;
289
+ n.fragment !== null && (ht(n.after_update), S(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
287
290
  }
288
- function xn(e, t) {
289
- e.$$.dirty[0] === -1 && (oe.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
291
+ function pt$1(e, t) {
292
+ e.$$.dirty[0] === -1 && ($$1.push(e), ft$1(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
290
293
  }
291
- function nr(e, t, r, n, i, o, a = null, s = [-1]) {
292
- const c = Se;
293
- Ee(e);
294
- const l = e.$$ = {
294
+ function bt$1(e, t, n, s, c, i, r = null, l = [-1]) {
295
+ const u = g;
296
+ p(e);
297
+ const o = e.$$ = {
295
298
  fragment: null,
296
299
  ctx: [],
297
300
  // state
298
- props: o,
299
- update: $,
300
- not_equal: i,
301
- bound: xt(),
301
+ props: i,
302
+ update: h,
303
+ not_equal: c,
304
+ bound: R(),
302
305
  // lifecycle
303
306
  on_mount: [],
304
307
  on_destroy: [],
305
308
  on_disconnect: [],
306
309
  before_update: [],
307
310
  after_update: [],
308
- context: new Map(t.context || (c ? c.$$.context : [])),
311
+ context: new Map(t.context || (u ? u.$$.context : [])),
309
312
  // everything else
310
- callbacks: xt(),
311
- dirty: s,
313
+ callbacks: R(),
314
+ dirty: l,
312
315
  skip_bound: !1,
313
- root: t.target || c.$$.root
316
+ root: t.target || u.$$.root
314
317
  };
315
- a && a(l.root);
316
- let u = !1;
317
- if (l.ctx = r ? r(e, t.props || {}, (d, m, ...y) => {
318
- const g = y.length ? y[0] : m;
319
- return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), u && xn(e, d)), m;
320
- }) : [], l.update(), u = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
318
+ r && r(o.root);
319
+ let y = !1;
320
+ if (o.ctx = n ? n(e, t.props || {}, (d, j, ...k) => {
321
+ const O = k.length ? k[0] : j;
322
+ return o.ctx && c(o.ctx[d], o.ctx[d] = O) && (!o.skip_bound && o.bound[d] && o.bound[d](O), y && pt$1(e, d)), j;
323
+ }) : [], o.update(), y = !0, S(o.before_update), o.fragment = s ? s(o.ctx) : !1, t.target) {
321
324
  if (t.hydrate) {
322
- const d = mn(t.target);
323
- l.fragment && l.fragment.l(d), d.forEach(O);
325
+ const d = ct$1(t.target);
326
+ o.fragment && o.fragment.l(d), d.forEach(x);
324
327
  } else
325
- l.fragment && l.fragment.c();
326
- t.intro && En(e.$$.fragment), Cn(e, t.target, t.anchor), X();
328
+ o.fragment && o.fragment.c();
329
+ t.intro && $t$1(e.$$.fragment), mt$1(e, t.target, t.anchor), b();
327
330
  }
328
- Ee(c);
331
+ p(u);
329
332
  }
330
- let ir;
331
- typeof HTMLElement == "function" && (ir = class extends HTMLElement {
332
- constructor(t, r, n) {
333
+ let F;
334
+ typeof HTMLElement == "function" && (F = class extends HTMLElement {
335
+ constructor(t, n, s) {
333
336
  super();
334
337
  /** The Svelte component constructor */
335
- U(this, "$$ctor");
338
+ f(this, "$$ctor");
336
339
  /** Slots */
337
- U(this, "$$s");
340
+ f(this, "$$s");
338
341
  /** The Svelte component instance */
339
- U(this, "$$c");
342
+ f(this, "$$c");
340
343
  /** Whether or not the custom element is connected */
341
- U(this, "$$cn", !1);
344
+ f(this, "$$cn", !1);
342
345
  /** Component props data */
343
- U(this, "$$d", {});
346
+ f(this, "$$d", {});
344
347
  /** `true` if currently in the process of reflecting component props back to attributes */
345
- U(this, "$$r", !1);
348
+ f(this, "$$r", !1);
346
349
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
347
- U(this, "$$p_d", {});
350
+ f(this, "$$p_d", {});
348
351
  /** @type {Record<string, Function[]>} Event listeners */
349
- U(this, "$$l", {});
352
+ f(this, "$$l", {});
350
353
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
351
- U(this, "$$l_u", /* @__PURE__ */ new Map());
352
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
354
+ f(this, "$$l_u", /* @__PURE__ */ new Map());
355
+ this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
353
356
  }
354
- addEventListener(t, r, n) {
355
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
356
- const i = this.$$c.$on(t, r);
357
- this.$$l_u.set(r, i);
357
+ addEventListener(t, n, s) {
358
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
359
+ const c = this.$$c.$on(t, n);
360
+ this.$$l_u.set(n, c);
358
361
  }
359
- super.addEventListener(t, r, n);
362
+ super.addEventListener(t, n, s);
360
363
  }
361
- removeEventListener(t, r, n) {
362
- if (super.removeEventListener(t, r, n), this.$$c) {
363
- const i = this.$$l_u.get(r);
364
- i && (i(), this.$$l_u.delete(r));
364
+ removeEventListener(t, n, s) {
365
+ if (super.removeEventListener(t, n, s), this.$$c) {
366
+ const c = this.$$l_u.get(n);
367
+ c && (c(), this.$$l_u.delete(n));
365
368
  }
366
369
  }
367
370
  connectedCallback() {
368
- return re(this, null, function* () {
371
+ return H(this, null, function* () {
369
372
  if (this.$$cn = !0, !this.$$c) {
370
- let t = function(o) {
373
+ let t = function(i) {
371
374
  return () => {
372
- let a;
375
+ let r;
373
376
  return {
374
377
  c: function() {
375
- a = T("slot"), o !== "default" && k(a, "name", o);
378
+ r = E("slot"), i !== "default" && I(r, "name", i);
376
379
  },
377
380
  /**
378
381
  * @param {HTMLElement} target
379
382
  * @param {HTMLElement} [anchor]
380
383
  */
381
- m: function(l, u) {
382
- L(l, a, u);
384
+ m: function(o, y) {
385
+ N$1(o, r, y);
383
386
  },
384
- d: function(l) {
385
- l && O(a);
387
+ d: function(o) {
388
+ o && x(r);
386
389
  }
387
390
  };
388
391
  };
389
392
  };
390
393
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
391
394
  return;
392
- const r = {}, n = fn(this);
393
- for (const o of this.$$s)
394
- o in n && (r[o] = [t(o)]);
395
- for (const o of this.attributes) {
396
- const a = this.$$g_p(o.name);
397
- a in this.$$d || (this.$$d[a] = Le(a, o.value, this.$$p_d, "toProp"));
395
+ const n = {}, s = rt$1(this);
396
+ for (const i of this.$$s)
397
+ i in s && (n[i] = [t(i)]);
398
+ for (const i of this.attributes) {
399
+ const r = this.$$g_p(i.name);
400
+ r in this.$$d || (this.$$d[r] = w$1(r, i.value, this.$$p_d, "toProp"));
398
401
  }
399
- for (const o in this.$$p_d)
400
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
402
+ for (const i in this.$$p_d)
403
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
401
404
  this.$$c = new this.$$ctor({
402
405
  target: this.shadowRoot || this,
403
- props: Je(W({}, this.$$d), {
404
- $$slots: r,
406
+ props: B$1(P$1({}, this.$$d), {
407
+ $$slots: n,
405
408
  $$scope: {
406
409
  ctx: []
407
410
  }
408
411
  })
409
412
  });
410
- const i = () => {
413
+ const c = () => {
411
414
  this.$$r = !0;
412
- for (const o in this.$$p_d)
413
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
414
- const a = Le(
415
- o,
416
- this.$$d[o],
415
+ for (const i in this.$$p_d)
416
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
417
+ const r = w$1(
418
+ i,
419
+ this.$$d[i],
417
420
  this.$$p_d,
418
421
  "toAttribute"
419
422
  );
420
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
423
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
421
424
  }
422
425
  this.$$r = !1;
423
426
  };
424
- this.$$c.$$.after_update.push(i), i();
425
- for (const o in this.$$l)
426
- for (const a of this.$$l[o]) {
427
- const s = this.$$c.$on(o, a);
428
- this.$$l_u.set(a, s);
427
+ this.$$c.$$.after_update.push(c), c();
428
+ for (const i in this.$$l)
429
+ for (const r of this.$$l[i]) {
430
+ const l = this.$$c.$on(i, r);
431
+ this.$$l_u.set(r, l);
429
432
  }
430
433
  this.$$l = {};
431
434
  }
@@ -433,9 +436,9 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
433
436
  }
434
437
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
435
438
  // and setting attributes through setAttribute etc, this is helpful
436
- attributeChangedCallback(t, r, n) {
437
- var i;
438
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
439
+ attributeChangedCallback(t, n, s) {
440
+ var c;
441
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = w$1(t, s, this.$$p_d, "toProp"), (c = this.$$c) == null || c.$set({ [t]: this.$$d[t] }));
439
442
  }
440
443
  disconnectedCallback() {
441
444
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -444,17 +447,17 @@ typeof HTMLElement == "function" && (ir = class extends HTMLElement {
444
447
  }
445
448
  $$g_p(t) {
446
449
  return Object.keys(this.$$p_d).find(
447
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
450
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
448
451
  ) || t;
449
452
  }
450
453
  });
451
- function Le(e, t, r, n) {
452
- var o;
453
- const i = (o = r[e]) == null ? void 0 : o.type;
454
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
454
+ function w$1(e, t, n, s) {
455
+ var i;
456
+ const c = (i = n[e]) == null ? void 0 : i.type;
457
+ if (t = c === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
455
458
  return t;
456
- if (n === "toAttribute")
457
- switch (i) {
459
+ if (s === "toAttribute")
460
+ switch (c) {
458
461
  case "Object":
459
462
  case "Array":
460
463
  return t == null ? null : JSON.stringify(t);
@@ -466,7 +469,7 @@ function Le(e, t, r, n) {
466
469
  return t;
467
470
  }
468
471
  else
469
- switch (i) {
472
+ switch (c) {
470
473
  case "Object":
471
474
  case "Array":
472
475
  return t && JSON.parse(t);
@@ -478,38 +481,38 @@ function Le(e, t, r, n) {
478
481
  return t;
479
482
  }
480
483
  }
481
- function or(e, t, r, n, i, o) {
482
- let a = class extends ir {
484
+ function gt$1(e, t, n, s, c, i) {
485
+ let r = class extends F {
483
486
  constructor() {
484
- super(e, r, i), this.$$p_d = t;
487
+ super(e, n, c), this.$$p_d = t;
485
488
  }
486
489
  static get observedAttributes() {
487
490
  return Object.keys(t).map(
488
- (s) => (t[s].attribute || s).toLowerCase()
491
+ (l) => (t[l].attribute || l).toLowerCase()
489
492
  );
490
493
  }
491
494
  };
492
- return Object.keys(t).forEach((s) => {
493
- Object.defineProperty(a.prototype, s, {
495
+ return Object.keys(t).forEach((l) => {
496
+ Object.defineProperty(r.prototype, l, {
494
497
  get() {
495
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
498
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
496
499
  },
497
- set(c) {
498
- var l;
499
- c = Le(s, c, t), this.$$d[s] = c, (l = this.$$c) == null || l.$set({ [s]: c });
500
+ set(u) {
501
+ var o;
502
+ u = w$1(l, u, t), this.$$d[l] = u, (o = this.$$c) == null || o.$set({ [l]: u });
500
503
  }
501
504
  });
502
- }), n.forEach((s) => {
503
- Object.defineProperty(a.prototype, s, {
505
+ }), s.forEach((l) => {
506
+ Object.defineProperty(r.prototype, l, {
504
507
  get() {
505
- var c;
506
- return (c = this.$$c) == null ? void 0 : c[s];
508
+ var u;
509
+ return (u = this.$$c) == null ? void 0 : u[l];
507
510
  }
508
511
  });
509
512
  }), e.element = /** @type {any} */
510
- a, a;
513
+ r, r;
511
514
  }
512
- class ar {
515
+ class yt$1 {
513
516
  constructor() {
514
517
  /**
515
518
  * ### PRIVATE API
@@ -518,7 +521,7 @@ class ar {
518
521
  *
519
522
  * @type {any}
520
523
  */
521
- U(this, "$$");
524
+ f(this, "$$");
522
525
  /**
523
526
  * ### PRIVATE API
524
527
  *
@@ -526,11 +529,11 @@ class ar {
526
529
  *
527
530
  * @type {any}
528
531
  */
529
- U(this, "$$set");
532
+ f(this, "$$set");
530
533
  }
531
534
  /** @returns {void} */
532
535
  $destroy() {
533
- Sn(this, 1), this.$destroy = $;
536
+ _t$1(this, 1), this.$destroy = h;
534
537
  }
535
538
  /**
536
539
  * @template {Extract<keyof Events, string>} K
@@ -538,13 +541,13 @@ class ar {
538
541
  * @param {((e: Events[K]) => void) | null | undefined} callback
539
542
  * @returns {() => void}
540
543
  */
541
- $on(t, r) {
542
- if (!gt(r))
543
- return $;
544
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
545
- return n.push(r), () => {
546
- const i = n.indexOf(r);
547
- i !== -1 && n.splice(i, 1);
544
+ $on(t, n) {
545
+ if (!U(n))
546
+ return h;
547
+ const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
548
+ return s.push(n), () => {
549
+ const c = s.indexOf(n);
550
+ c !== -1 && s.splice(c, 1);
548
551
  };
549
552
  }
550
553
  /**
@@ -552,229 +555,379 @@ class ar {
552
555
  * @returns {void}
553
556
  */
554
557
  $set(t) {
555
- this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
558
+ this.$$set && !X(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
556
559
  }
557
560
  }
558
- const wn = "4";
559
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wn);
560
- const ae = "__WIDGET_GLOBAL_STYLE_CACHE__";
561
- function Tn(e, t) {
561
+ const wt$1 = "4";
562
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wt$1);
563
+ const m = "__WIDGET_GLOBAL_STYLE_CACHE__";
564
+ function St$1(e, t) {
562
565
  if (e) {
563
- const r = document.createElement("style");
564
- r.innerHTML = t, e.appendChild(r);
566
+ const n = document.createElement("style");
567
+ n.innerHTML = t, e.appendChild(n);
565
568
  }
566
569
  }
567
- function Mn(e, t) {
570
+ function xt$1(e, t) {
568
571
  if (!e || !t)
569
572
  return;
570
- const r = new URL(t);
571
- fetch(r.href).then((n) => n.text()).then((n) => {
572
- const i = document.createElement("style");
573
- i.innerHTML = n, e && e.appendChild(i);
574
- }).catch((n) => {
575
- console.error("There was an error while trying to load client styling from URL", n);
573
+ const n = new URL(t);
574
+ fetch(n.href).then((s) => s.text()).then((s) => {
575
+ const c = document.createElement("style");
576
+ c.innerHTML = s, e && e.appendChild(c);
577
+ }).catch((s) => {
578
+ console.error("There was an error while trying to load client styling from URL", s);
576
579
  });
577
580
  }
578
- function Nn(e, t, r, n = !1) {
581
+ function Et$1(e, t, n, s = !1) {
579
582
  if (!window.emMessageBus)
580
583
  return;
581
- if (!("adoptedStyleSheets" in Document.prototype) || !n)
582
- return r = An(e, t), r;
583
- window[ae] || (window[ae] = {}), r = Hn(e, t);
584
- const o = r.unsubscribe.bind(r), a = () => {
585
- if (window[ae][t]) {
586
- const s = window[ae][t];
587
- s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[ae][t];
584
+ if (!("adoptedStyleSheets" in Document.prototype) || !s)
585
+ return n = Lt$1(e, t), n;
586
+ window[m] || (window[m] = {}), n = Ct$1(e, t);
587
+ const i = n.unsubscribe.bind(n), r = () => {
588
+ if (window[m][t]) {
589
+ const l = window[m][t];
590
+ l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[m][t];
588
591
  }
589
- o();
592
+ i();
590
593
  };
591
- return r.unsubscribe = a, r;
594
+ return n.unsubscribe = r, n;
592
595
  }
593
- function An(e, t) {
594
- const r = document.createElement("style");
595
- return window.emMessageBus.subscribe(t, (n) => {
596
- e && (r.innerHTML = n, e.appendChild(r));
596
+ function Lt$1(e, t) {
597
+ const n = document.createElement("style");
598
+ return window.emMessageBus.subscribe(t, (s) => {
599
+ e && (n.innerHTML = s, e.appendChild(n));
597
600
  });
598
601
  }
599
- function Hn(e, t) {
600
- return window.emMessageBus.subscribe(t, (r) => {
602
+ function Ct$1(e, t) {
603
+ return window.emMessageBus.subscribe(t, (n) => {
601
604
  if (!e)
602
605
  return;
603
- const n = e.getRootNode(), i = window[ae];
604
- let o = i[t] && i[t].sheet;
605
- o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
606
- sheet: o,
606
+ const s = e.getRootNode(), c = window[m];
607
+ let i = c[t] && c[t].sheet;
608
+ i ? c[t].refCount = c[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), c[t] = {
609
+ sheet: i,
607
610
  refCount: 1
608
611
  });
609
- const a = n.adoptedStyleSheets || [];
610
- a.includes(o) || (n.adoptedStyleSheets = [...a, o]);
612
+ const r = s.adoptedStyleSheets || [];
613
+ r.includes(i) || (s.adoptedStyleSheets = [...r, i]);
611
614
  });
612
615
  }
613
- const ie = [];
614
- function Pn(e, t) {
616
+ function vt$1(e) {
617
+ et(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
618
+ }
619
+ function At$1(e) {
620
+ let t;
615
621
  return {
616
- subscribe: Fe(e, t).subscribe
622
+ c() {
623
+ t = E("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
624
+ },
625
+ m(n, s) {
626
+ N$1(n, t, s), e[4](t);
627
+ },
628
+ p: h,
629
+ i: h,
630
+ o: h,
631
+ d(n) {
632
+ n && x(t), e[4](null);
633
+ }
617
634
  };
618
635
  }
619
- function Fe(e, t = $) {
636
+ function Tt$1(e, t, n) {
637
+ let { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: i } = t, r, l;
638
+ lt$1(() => () => {
639
+ });
640
+ function u(o) {
641
+ v[o ? "unshift" : "push"](() => {
642
+ r = o, n(0, r);
643
+ });
644
+ }
645
+ return e.$$set = (o) => {
646
+ "clientstyling" in o && n(1, s = o.clientstyling), "clientstylingurl" in o && n(2, c = o.clientstylingurl), "mbsource" in o && n(3, i = o.mbsource);
647
+ }, e.$$.update = () => {
648
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
649
+ 3 && s && r && St$1(r, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
650
+ 5 && c && r && xt$1(r, c), e.$$.dirty & /*mbsource, customStylingContainer*/
651
+ 9 && i && r && Et$1(r, `${i}.Style`, l);
652
+ }, [
653
+ r,
654
+ s,
655
+ c,
656
+ i,
657
+ u
658
+ ];
659
+ }
660
+ class J extends yt$1 {
661
+ constructor(t) {
662
+ super(), bt$1(
663
+ this,
664
+ t,
665
+ Tt$1,
666
+ At$1,
667
+ Q,
668
+ {
669
+ clientstyling: 1,
670
+ clientstylingurl: 2,
671
+ mbsource: 3
672
+ },
673
+ vt$1
674
+ );
675
+ }
676
+ get clientstyling() {
677
+ return this.$$.ctx[1];
678
+ }
679
+ set clientstyling(t) {
680
+ this.$$set({ clientstyling: t }), b();
681
+ }
682
+ get clientstylingurl() {
683
+ return this.$$.ctx[2];
684
+ }
685
+ set clientstylingurl(t) {
686
+ this.$$set({ clientstylingurl: t }), b();
687
+ }
688
+ get mbsource() {
689
+ return this.$$.ctx[3];
690
+ }
691
+ set mbsource(t) {
692
+ this.$$set({ mbsource: t }), b();
693
+ }
694
+ }
695
+ gt$1(J, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
696
+ const Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
697
+ __proto__: null,
698
+ default: J
699
+ }, Symbol.toStringTag, { value: "Module" }));
700
+
701
+ const GeneralAnimationLoadingC1pQ_j2M = /*#__PURE__*/Object.freeze({
702
+ __proto__: null,
703
+ A: kt$1,
704
+ B: St$1,
705
+ C: xt$1,
706
+ D: Et$1,
707
+ G: Ut,
708
+ H: Dt,
709
+ S: yt$1,
710
+ a: Z$1,
711
+ b: bt$1,
712
+ c: gt$1,
713
+ d: x,
714
+ e: N$1,
715
+ f: tt,
716
+ g: it,
717
+ h: I,
718
+ i: U,
719
+ j: b,
720
+ k: et,
721
+ l: E,
722
+ m: jt$1,
723
+ n: h,
724
+ o: lt$1,
725
+ p: v,
726
+ q: Ht$1,
727
+ r: S,
728
+ s: Q,
729
+ t: Rt,
730
+ u: z,
731
+ v: Gt,
732
+ w: Ot$1,
733
+ x: Bt$1,
734
+ y: Mt$1,
735
+ z: Pt$1
736
+ });
737
+
738
+ var jr = Object.defineProperty, Lr = Object.defineProperties;
739
+ var Rr = Object.getOwnPropertyDescriptors;
740
+ var st = Object.getOwnPropertySymbols;
741
+ var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
742
+ var lt = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Z = (e, t) => {
743
+ for (var r in t || (t = {}))
744
+ Ur.call(t, r) && lt(e, r, t[r]);
745
+ if (st)
746
+ for (var r of st(t))
747
+ Dr.call(t, r) && lt(e, r, t[r]);
748
+ return e;
749
+ }, ct = (e, t) => Lr(e, Rr(t));
750
+ var me = (e, t, r) => new Promise((n, i) => {
751
+ var o = (h) => {
752
+ try {
753
+ s(r.next(h));
754
+ } catch (u) {
755
+ i(u);
756
+ }
757
+ }, a = (h) => {
758
+ try {
759
+ s(r.throw(h));
760
+ } catch (u) {
761
+ i(u);
762
+ }
763
+ }, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
764
+ s((r = r.apply(e, t)).next());
765
+ });
766
+ const ee = [];
767
+ function Kr(e, t) {
768
+ return {
769
+ subscribe: Be(e, t).subscribe
770
+ };
771
+ }
772
+ function Be(e, t = h) {
620
773
  let r;
621
774
  const n = /* @__PURE__ */ new Set();
622
775
  function i(s) {
623
- if (_t(e, s) && (e = s, r)) {
624
- const c = !ie.length;
625
- for (const l of n)
626
- l[1](), ie.push(l, e);
627
- if (c) {
628
- for (let l = 0; l < ie.length; l += 2)
629
- ie[l][0](ie[l + 1]);
630
- ie.length = 0;
776
+ if (Q(e, s) && (e = s, r)) {
777
+ const h = !ee.length;
778
+ for (const u of n)
779
+ u[1](), ee.push(u, e);
780
+ if (h) {
781
+ for (let u = 0; u < ee.length; u += 2)
782
+ ee[u][0](ee[u + 1]);
783
+ ee.length = 0;
631
784
  }
632
785
  }
633
786
  }
634
787
  function o(s) {
635
788
  i(s(e));
636
789
  }
637
- function a(s, c = $) {
638
- const l = [s, c];
639
- return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
640
- n.delete(l), n.size === 0 && r && (r(), r = null);
790
+ function a(s, h$1 = h) {
791
+ const u = [s, h$1];
792
+ return n.add(u), n.size === 1 && (r = t(i, o) || h), s(e), () => {
793
+ n.delete(u), n.size === 0 && r && (r(), r = null);
641
794
  };
642
795
  }
643
796
  return { set: i, update: o, subscribe: a };
644
797
  }
645
- function fe(e, t, r) {
798
+ function ae(e, t, r) {
646
799
  const n = !Array.isArray(e), i = n ? [e] : e;
647
800
  if (!i.every(Boolean))
648
801
  throw new Error("derived() expects stores as input, got a falsy value");
649
802
  const o = t.length < 2;
650
- return Pn(r, (a, s) => {
651
- let c = !1;
652
- const l = [];
653
- let u = 0, d = $;
803
+ return Kr(r, (a, s) => {
804
+ let h$1 = !1;
805
+ const u = [];
806
+ let c = 0, d = h;
654
807
  const m = () => {
655
- if (u)
808
+ if (c)
656
809
  return;
657
810
  d();
658
- const g = t(n ? l[0] : l, a, s);
659
- o ? a(g) : d = gt(g) ? g : $;
811
+ const f = t(n ? u[0] : u, a, s);
812
+ o ? a(f) : d = U(f) ? f : h;
660
813
  }, y = i.map(
661
- (g, p) => tr(
662
- g,
814
+ (f, g) => Z$1(
815
+ f,
663
816
  (S) => {
664
- l[p] = S, u &= ~(1 << p), c && m();
817
+ u[g] = S, c &= ~(1 << g), h$1 && m();
665
818
  },
666
819
  () => {
667
- u |= 1 << p;
820
+ c |= 1 << g;
668
821
  }
669
822
  )
670
823
  );
671
- return c = !0, m(), function() {
672
- me(y), d(), c = !1;
824
+ return h$1 = !0, m(), function() {
825
+ S(y), d(), h$1 = !1;
673
826
  };
674
827
  });
675
828
  }
676
- function Bn(e) {
829
+ function $r(e) {
677
830
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
678
831
  }
679
- var On = function(t) {
680
- return zn(t) && !Ln(t);
832
+ var en = function(t) {
833
+ return tn(t) && !rn(t);
681
834
  };
682
- function zn(e) {
835
+ function tn(e) {
683
836
  return !!e && typeof e == "object";
684
837
  }
685
- function Ln(e) {
838
+ function rn(e) {
686
839
  var t = Object.prototype.toString.call(e);
687
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
840
+ return t === "[object RegExp]" || t === "[object Date]" || an(e);
688
841
  }
689
- var jn = typeof Symbol == "function" && Symbol.for, In = jn ? Symbol.for("react.element") : 60103;
690
- function Rn(e) {
691
- return e.$$typeof === In;
842
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
843
+ function an(e) {
844
+ return e.$$typeof === on;
692
845
  }
693
- function Un(e) {
846
+ function sn(e) {
694
847
  return Array.isArray(e) ? [] : {};
695
848
  }
696
- function xe(e, t) {
697
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Un(e), e, t) : e;
849
+ function fe(e, t) {
850
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(sn(e), e, t) : e;
698
851
  }
699
- function Dn(e, t, r) {
852
+ function ln(e, t, r) {
700
853
  return e.concat(t).map(function(n) {
701
- return xe(n, r);
854
+ return fe(n, r);
702
855
  });
703
856
  }
704
- function Gn(e, t) {
857
+ function cn(e, t) {
705
858
  if (!t.customMerge)
706
- return ce;
859
+ return re;
707
860
  var r = t.customMerge(e);
708
- return typeof r == "function" ? r : ce;
861
+ return typeof r == "function" ? r : re;
709
862
  }
710
- function Fn(e) {
863
+ function un(e) {
711
864
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
712
865
  return Object.propertyIsEnumerable.call(e, t);
713
866
  }) : [];
714
867
  }
715
- function Tt(e) {
716
- return Object.keys(e).concat(Fn(e));
868
+ function dt(e) {
869
+ return Object.keys(e).concat(un(e));
717
870
  }
718
- function sr(e, t) {
871
+ function Vt(e, t) {
719
872
  try {
720
873
  return t in e;
721
874
  } catch (r) {
722
875
  return !1;
723
876
  }
724
877
  }
725
- function $n(e, t) {
726
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
878
+ function hn(e, t) {
879
+ return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
727
880
  }
728
- function Vn(e, t, r) {
881
+ function dn(e, t, r) {
729
882
  var n = {};
730
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
731
- n[i] = xe(e[i], r);
732
- }), Tt(t).forEach(function(i) {
733
- $n(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
883
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
884
+ n[i] = fe(e[i], r);
885
+ }), dt(t).forEach(function(i) {
886
+ hn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
734
887
  }), n;
735
888
  }
736
- function ce(e, t, r) {
737
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = xe;
889
+ function re(e, t, r) {
890
+ r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = fe;
738
891
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
739
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : xe(t, r);
892
+ return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : fe(t, r);
740
893
  }
741
- ce.all = function(t, r) {
894
+ re.all = function(t, r) {
742
895
  if (!Array.isArray(t))
743
896
  throw new Error("first argument should be an array");
744
897
  return t.reduce(function(n, i) {
745
- return ce(n, i, r);
898
+ return re(n, i, r);
746
899
  }, {});
747
900
  };
748
- var Xn = ce, qn = Xn;
749
- const Wn = /* @__PURE__ */ Bn(qn);
750
- var st = function(e, t) {
751
- return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
901
+ var mn = re, pn = mn;
902
+ const gn = /* @__PURE__ */ $r(pn);
903
+ var Xe = function(e, t) {
904
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
752
905
  r.__proto__ = n;
753
906
  } || function(r, n) {
754
907
  for (var i in n)
755
908
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
756
- }, st(e, t);
909
+ }, Xe(e, t);
757
910
  };
758
- function $e(e, t) {
911
+ function Oe(e, t) {
759
912
  if (typeof t != "function" && t !== null)
760
913
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
761
- st(e, t);
914
+ Xe(e, t);
762
915
  function r() {
763
916
  this.constructor = e;
764
917
  }
765
918
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
766
919
  }
767
- var Z = function() {
768
- return Z = Object.assign || function(t) {
920
+ var q = function() {
921
+ return q = Object.assign || function(t) {
769
922
  for (var r, n = 1, i = arguments.length; n < i; n++) {
770
923
  r = arguments[n];
771
924
  for (var o in r)
772
925
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
773
926
  }
774
927
  return t;
775
- }, Z.apply(this, arguments);
928
+ }, q.apply(this, arguments);
776
929
  };
777
- function Zn(e, t) {
930
+ function fn(e, t) {
778
931
  var r = {};
779
932
  for (var n in e)
780
933
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -783,43 +936,43 @@ function Zn(e, t) {
783
936
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
784
937
  return r;
785
938
  }
786
- function Ye(e, t, r) {
939
+ function Re(e, t, r) {
787
940
  if (r || arguments.length === 2)
788
941
  for (var n = 0, i = t.length, o; n < i; n++)
789
942
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
790
943
  return e.concat(o || Array.prototype.slice.call(t));
791
944
  }
792
- function Ke(e, t) {
793
- var r = t && t.cache ? t.cache : ri, n = t && t.serializer ? t.serializer : ei, i = t && t.strategy ? t.strategy : Yn;
945
+ function Ue(e, t) {
946
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : vn;
794
947
  return i(e, {
795
948
  cache: r,
796
949
  serializer: n
797
950
  });
798
951
  }
799
- function Jn(e) {
952
+ function _n(e) {
800
953
  return e == null || typeof e == "number" || typeof e == "boolean";
801
954
  }
802
- function Qn(e, t, r, n) {
803
- var i = Jn(n) ? n : r(n), o = t.get(i);
955
+ function yn(e, t, r, n) {
956
+ var i = _n(n) ? n : r(n), o = t.get(i);
804
957
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
805
958
  }
806
- function lr(e, t, r) {
959
+ function Xt(e, t, r) {
807
960
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
808
961
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
809
962
  }
810
- function cr(e, t, r, n, i) {
963
+ function qt(e, t, r, n, i) {
811
964
  return r.bind(t, e, n, i);
812
965
  }
813
- function Yn(e, t) {
814
- var r = e.length === 1 ? Qn : lr;
815
- return cr(e, this, r, t.cache.create(), t.serializer);
966
+ function vn(e, t) {
967
+ var r = e.length === 1 ? yn : Xt;
968
+ return qt(e, this, r, t.cache.create(), t.serializer);
816
969
  }
817
- function Kn(e, t) {
818
- return cr(e, this, lr, t.cache.create(), t.serializer);
970
+ function kn(e, t) {
971
+ return qt(e, this, Xt, t.cache.create(), t.serializer);
819
972
  }
820
- var ei = function() {
973
+ var bn = function() {
821
974
  return JSON.stringify(arguments);
822
- }, ti = (
975
+ }, En = (
823
976
  /** @class */
824
977
  function() {
825
978
  function e() {
@@ -831,71 +984,71 @@ var ei = function() {
831
984
  this.cache[t] = r;
832
985
  }, e;
833
986
  }()
834
- ), ri = {
987
+ ), Cn = {
835
988
  create: function() {
836
- return new ti();
989
+ return new En();
837
990
  }
838
- }, et = {
839
- variadic: Kn
840
- }, Ue = function() {
841
- return Ue = Object.assign || function(t) {
991
+ }, De = {
992
+ variadic: kn
993
+ }, Ae = function() {
994
+ return Ae = Object.assign || function(t) {
842
995
  for (var r, n = 1, i = arguments.length; n < i; n++) {
843
996
  r = arguments[n];
844
997
  for (var o in r)
845
998
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
846
999
  }
847
1000
  return t;
848
- }, Ue.apply(this, arguments);
1001
+ }, Ae.apply(this, arguments);
849
1002
  };
850
- var N;
1003
+ var w;
851
1004
  (function(e) {
852
1005
  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";
853
- })(N || (N = {}));
1006
+ })(w || (w = {}));
854
1007
  var P;
855
1008
  (function(e) {
856
1009
  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";
857
1010
  })(P || (P = {}));
858
- var ue;
1011
+ var ne;
859
1012
  (function(e) {
860
1013
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
861
- })(ue || (ue = {}));
862
- function Mt(e) {
1014
+ })(ne || (ne = {}));
1015
+ function mt(e) {
863
1016
  return e.type === P.literal;
864
1017
  }
865
- function ni(e) {
1018
+ function Sn(e) {
866
1019
  return e.type === P.argument;
867
1020
  }
868
- function ur(e) {
1021
+ function Wt(e) {
869
1022
  return e.type === P.number;
870
1023
  }
871
- function hr(e) {
1024
+ function Zt(e) {
872
1025
  return e.type === P.date;
873
1026
  }
874
- function dr(e) {
1027
+ function Jt(e) {
875
1028
  return e.type === P.time;
876
1029
  }
877
- function mr(e) {
1030
+ function Qt(e) {
878
1031
  return e.type === P.select;
879
1032
  }
880
- function fr(e) {
1033
+ function Yt(e) {
881
1034
  return e.type === P.plural;
882
1035
  }
883
- function ii(e) {
1036
+ function xn(e) {
884
1037
  return e.type === P.pound;
885
1038
  }
886
- function pr(e) {
1039
+ function Kt(e) {
887
1040
  return e.type === P.tag;
888
1041
  }
889
- function gr(e) {
890
- return !!(e && typeof e == "object" && e.type === ue.number);
1042
+ function $t(e) {
1043
+ return !!(e && typeof e == "object" && e.type === ne.number);
891
1044
  }
892
- function lt(e) {
893
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
1045
+ function qe(e) {
1046
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
894
1047
  }
895
- var _r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
896
- function ai(e) {
1048
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1049
+ function Mn(e) {
897
1050
  var t = {};
898
- return e.replace(oi, function(r) {
1051
+ return e.replace(Tn, function(r) {
899
1052
  var n = r.length;
900
1053
  switch (r[0]) {
901
1054
  case "G":
@@ -994,36 +1147,36 @@ var B = function() {
994
1147
  return t;
995
1148
  }, B.apply(this, arguments);
996
1149
  };
997
- var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
998
- function li(e) {
1150
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1151
+ function Nn(e) {
999
1152
  if (e.length === 0)
1000
1153
  throw new Error("Number skeleton cannot be empty");
1001
- for (var t = e.split(si).filter(function(m) {
1154
+ for (var t = e.split(wn).filter(function(m) {
1002
1155
  return m.length > 0;
1003
1156
  }), r = [], n = 0, i = t; n < i.length; n++) {
1004
1157
  var o = i[n], a = o.split("/");
1005
1158
  if (a.length === 0)
1006
1159
  throw new Error("Invalid number skeleton");
1007
- for (var s = a[0], c = a.slice(1), l = 0, u = c; l < u.length; l++) {
1008
- var d = u[l];
1160
+ for (var s = a[0], h = a.slice(1), u = 0, c = h; u < c.length; u++) {
1161
+ var d = c[u];
1009
1162
  if (d.length === 0)
1010
1163
  throw new Error("Invalid number skeleton");
1011
1164
  }
1012
- r.push({ stem: s, options: c });
1165
+ r.push({ stem: s, options: h });
1013
1166
  }
1014
1167
  return r;
1015
1168
  }
1016
- function ci(e) {
1169
+ function An(e) {
1017
1170
  return e.replace(/^(.*?)-/, "");
1018
1171
  }
1019
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, ui = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1020
- function At(e) {
1172
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1173
+ function gt(e) {
1021
1174
  var t = {};
1022
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1175
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1023
1176
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1024
1177
  }), t;
1025
1178
  }
1026
- function br(e) {
1179
+ function nr(e) {
1027
1180
  switch (e) {
1028
1181
  case "sign-auto":
1029
1182
  return {
@@ -1063,7 +1216,7 @@ function br(e) {
1063
1216
  };
1064
1217
  }
1065
1218
  }
1066
- function hi(e) {
1219
+ function Pn(e) {
1067
1220
  var t;
1068
1221
  if (e[0] === "E" && e[1] === "E" ? (t = {
1069
1222
  notation: "engineering"
@@ -1071,17 +1224,17 @@ function hi(e) {
1071
1224
  notation: "scientific"
1072
1225
  }, e = e.slice(1)), t) {
1073
1226
  var r = e.slice(0, 2);
1074
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1227
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1075
1228
  throw new Error("Malformed concise eng/scientific notation");
1076
1229
  t.minimumIntegerDigits = e.length;
1077
1230
  }
1078
1231
  return t;
1079
1232
  }
1080
- function Ht(e) {
1081
- var t = {}, r = br(e);
1233
+ function ft(e) {
1234
+ var t = {}, r = nr(e);
1082
1235
  return r || t;
1083
1236
  }
1084
- function di(e) {
1237
+ function Bn(e) {
1085
1238
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1086
1239
  var i = n[r];
1087
1240
  switch (i.stem) {
@@ -1105,7 +1258,7 @@ function di(e) {
1105
1258
  continue;
1106
1259
  case "measure-unit":
1107
1260
  case "unit":
1108
- t.style = "unit", t.unit = ci(i.options[0]);
1261
+ t.style = "unit", t.unit = An(i.options[0]);
1109
1262
  continue;
1110
1263
  case "compact-short":
1111
1264
  case "K":
@@ -1116,13 +1269,13 @@ function di(e) {
1116
1269
  t.notation = "compact", t.compactDisplay = "long";
1117
1270
  continue;
1118
1271
  case "scientific":
1119
- t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1120
- return B(B({}, c), Ht(l));
1272
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1273
+ return B(B({}, h), ft(u));
1121
1274
  }, {}));
1122
1275
  continue;
1123
1276
  case "engineering":
1124
- t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1125
- return B(B({}, c), Ht(l));
1277
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1278
+ return B(B({}, h), ft(u));
1126
1279
  }, {}));
1127
1280
  continue;
1128
1281
  case "notation-simple":
@@ -1167,9 +1320,9 @@ function di(e) {
1167
1320
  case "integer-width":
1168
1321
  if (i.options.length > 1)
1169
1322
  throw new RangeError("integer-width stems only accept a single optional option");
1170
- i.options[0].replace(ui, function(c, l, u, d, m, y) {
1171
- if (l)
1172
- t.minimumIntegerDigits = u.length;
1323
+ i.options[0].replace(Hn, function(h, u, c, d, m, y) {
1324
+ if (u)
1325
+ t.minimumIntegerDigits = c.length;
1173
1326
  else {
1174
1327
  if (d && m)
1175
1328
  throw new Error("We currently do not support maximum integer digits");
@@ -1180,32 +1333,32 @@ function di(e) {
1180
1333
  });
1181
1334
  continue;
1182
1335
  }
1183
- if (vr.test(i.stem)) {
1336
+ if (rr.test(i.stem)) {
1184
1337
  t.minimumIntegerDigits = i.stem.length;
1185
1338
  continue;
1186
1339
  }
1187
- if (Nt.test(i.stem)) {
1340
+ if (pt.test(i.stem)) {
1188
1341
  if (i.options.length > 1)
1189
1342
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1190
- i.stem.replace(Nt, function(c, l, u, d, m, y) {
1191
- return u === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1343
+ i.stem.replace(pt, function(h, u, c, d, m, y) {
1344
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && y ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1192
1345
  });
1193
1346
  var o = i.options[0];
1194
- o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), At(o)));
1347
+ o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), gt(o)));
1195
1348
  continue;
1196
1349
  }
1197
- if (yr.test(i.stem)) {
1198
- t = B(B({}, t), At(i.stem));
1350
+ if (tr.test(i.stem)) {
1351
+ t = B(B({}, t), gt(i.stem));
1199
1352
  continue;
1200
1353
  }
1201
- var a = br(i.stem);
1354
+ var a = nr(i.stem);
1202
1355
  a && (t = B(B({}, t), a));
1203
- var s = hi(i.stem);
1356
+ var s = Pn(i.stem);
1204
1357
  s && (t = B(B({}, t), s));
1205
1358
  }
1206
1359
  return t;
1207
1360
  }
1208
- var ze = {
1361
+ var Me = {
1209
1362
  "001": [
1210
1363
  "H",
1211
1364
  "h"
@@ -2620,23 +2773,23 @@ var ze = {
2620
2773
  "h"
2621
2774
  ]
2622
2775
  };
2623
- function mi(e, t) {
2776
+ function On(e, t) {
2624
2777
  for (var r = "", n = 0; n < e.length; n++) {
2625
2778
  var i = e.charAt(n);
2626
2779
  if (i === "j") {
2627
2780
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2628
2781
  o++, n++;
2629
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = fi(t);
2630
- for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2631
- r += c;
2782
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = zn(t);
2783
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2784
+ r += h;
2632
2785
  for (; a-- > 0; )
2633
- r = l + r;
2786
+ r = u + r;
2634
2787
  } else
2635
2788
  i === "J" ? r += "H" : r += i;
2636
2789
  }
2637
2790
  return r;
2638
2791
  }
2639
- function fi(e) {
2792
+ function zn(e) {
2640
2793
  var t = e.hourCycle;
2641
2794
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2642
2795
  e.hourCycles && // @ts-ignore
@@ -2655,23 +2808,23 @@ function fi(e) {
2655
2808
  }
2656
2809
  var r = e.language, n;
2657
2810
  r !== "root" && (n = e.maximize().region);
2658
- var i = ze[n || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2811
+ var i = Me[n || ""] || Me[r || ""] || Me["".concat(r, "-001")] || Me["001"];
2659
2812
  return i[0];
2660
2813
  }
2661
- var tt, pi = new RegExp("^".concat(_r.source, "*")), gi = new RegExp("".concat(_r.source, "*$"));
2662
- function A(e, t) {
2814
+ var Ge, In = new RegExp("^".concat(er.source, "*")), jn = new RegExp("".concat(er.source, "*$"));
2815
+ function N(e, t) {
2663
2816
  return { start: e, end: t };
2664
2817
  }
2665
- var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Si = Ci ? Number.isSafeInteger : function(e) {
2818
+ var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2666
2819
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2667
- }, ct = !0;
2820
+ }, We = !0;
2668
2821
  try {
2669
- var xi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2670
- ct = ((tt = xi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2822
+ var qn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2823
+ We = ((Ge = qn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2671
2824
  } catch (e) {
2672
- ct = !1;
2825
+ We = !1;
2673
2826
  }
2674
- var Pt = _i ? (
2827
+ var _t = Ln ? (
2675
2828
  // Native
2676
2829
  function(t, r, n) {
2677
2830
  return t.startsWith(r, n);
@@ -2681,7 +2834,7 @@ var Pt = _i ? (
2681
2834
  function(t, r, n) {
2682
2835
  return t.slice(n, n + r.length) === r;
2683
2836
  }
2684
- ), ut = yi ? String.fromCodePoint : (
2837
+ ), Ze = Rn ? String.fromCodePoint : (
2685
2838
  // IE11
2686
2839
  function() {
2687
2840
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2693,9 +2846,9 @@ var Pt = _i ? (
2693
2846
  }
2694
2847
  return n;
2695
2848
  }
2696
- ), Bt = (
2849
+ ), yt = (
2697
2850
  // native
2698
- vi ? Object.fromEntries : (
2851
+ Un ? Object.fromEntries : (
2699
2852
  // Ponyfill
2700
2853
  function(t) {
2701
2854
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2705,7 +2858,7 @@ var Pt = _i ? (
2705
2858
  return r;
2706
2859
  }
2707
2860
  )
2708
- ), kr = bi ? (
2861
+ ), ir = Dn ? (
2709
2862
  // Native
2710
2863
  function(t, r) {
2711
2864
  return t.codePointAt(r);
@@ -2719,7 +2872,7 @@ var Pt = _i ? (
2719
2872
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2720
2873
  }
2721
2874
  }
2722
- ), wi = ki ? (
2875
+ ), Wn = Gn ? (
2723
2876
  // Native
2724
2877
  function(t) {
2725
2878
  return t.trimStart();
@@ -2727,9 +2880,9 @@ var Pt = _i ? (
2727
2880
  ) : (
2728
2881
  // Ponyfill
2729
2882
  function(t) {
2730
- return t.replace(pi, "");
2883
+ return t.replace(In, "");
2731
2884
  }
2732
- ), Ti = Ei ? (
2885
+ ), Zn = Fn ? (
2733
2886
  // Native
2734
2887
  function(t) {
2735
2888
  return t.trimEnd();
@@ -2737,32 +2890,32 @@ var Pt = _i ? (
2737
2890
  ) : (
2738
2891
  // Ponyfill
2739
2892
  function(t) {
2740
- return t.replace(gi, "");
2893
+ return t.replace(jn, "");
2741
2894
  }
2742
2895
  );
2743
- function Er(e, t) {
2896
+ function or(e, t) {
2744
2897
  return new RegExp(e, t);
2745
2898
  }
2746
- var ht;
2747
- if (ct) {
2748
- var Ot = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2749
- ht = function(t, r) {
2899
+ var Je;
2900
+ if (We) {
2901
+ var vt = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2902
+ Je = function(t, r) {
2750
2903
  var n;
2751
- Ot.lastIndex = r;
2752
- var i = Ot.exec(t);
2904
+ vt.lastIndex = r;
2905
+ var i = vt.exec(t);
2753
2906
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2754
2907
  };
2755
2908
  } else
2756
- ht = function(t, r) {
2909
+ Je = function(t, r) {
2757
2910
  for (var n = []; ; ) {
2758
- var i = kr(t, r);
2759
- if (i === void 0 || Cr(i) || Hi(i))
2911
+ var i = ir(t, r);
2912
+ if (i === void 0 || ar(i) || Kn(i))
2760
2913
  break;
2761
2914
  n.push(i), r += i >= 65536 ? 2 : 1;
2762
2915
  }
2763
- return ut.apply(void 0, n);
2916
+ return Ze.apply(void 0, n);
2764
2917
  };
2765
- var Mi = (
2918
+ var Jn = (
2766
2919
  /** @class */
2767
2920
  function() {
2768
2921
  function e(t, r) {
@@ -2787,13 +2940,13 @@ var Mi = (
2787
2940
  var s = this.clonePosition();
2788
2941
  this.bump(), i.push({
2789
2942
  type: P.pound,
2790
- location: A(s, this.clonePosition())
2943
+ location: N(s, this.clonePosition())
2791
2944
  });
2792
2945
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2793
2946
  if (n)
2794
2947
  break;
2795
- return this.error(N.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2796
- } else if (o === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2948
+ return this.error(w.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2949
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2797
2950
  var a = this.parseTag(t, r);
2798
2951
  if (a.err)
2799
2952
  return a;
@@ -2816,7 +2969,7 @@ var Mi = (
2816
2969
  val: {
2817
2970
  type: P.literal,
2818
2971
  value: "<".concat(i, "/>"),
2819
- location: A(n, this.clonePosition())
2972
+ location: N(n, this.clonePosition())
2820
2973
  },
2821
2974
  err: null
2822
2975
  };
@@ -2826,25 +2979,25 @@ var Mi = (
2826
2979
  return o;
2827
2980
  var a = o.val, s = this.clonePosition();
2828
2981
  if (this.bumpIf("</")) {
2829
- if (this.isEOF() || !dt(this.char()))
2830
- return this.error(N.INVALID_TAG, A(s, this.clonePosition()));
2831
- var c = this.clonePosition(), l = this.parseTagName();
2832
- return i !== l ? this.error(N.UNMATCHED_CLOSING_TAG, A(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2982
+ if (this.isEOF() || !Qe(this.char()))
2983
+ return this.error(w.INVALID_TAG, N(s, this.clonePosition()));
2984
+ var h = this.clonePosition(), u = this.parseTagName();
2985
+ return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, N(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2833
2986
  val: {
2834
2987
  type: P.tag,
2835
2988
  value: i,
2836
2989
  children: a,
2837
- location: A(n, this.clonePosition())
2990
+ location: N(n, this.clonePosition())
2838
2991
  },
2839
2992
  err: null
2840
- } : this.error(N.INVALID_TAG, A(s, this.clonePosition())));
2993
+ } : this.error(w.INVALID_TAG, N(s, this.clonePosition())));
2841
2994
  } else
2842
- return this.error(N.UNCLOSED_TAG, A(n, this.clonePosition()));
2995
+ return this.error(w.UNCLOSED_TAG, N(n, this.clonePosition()));
2843
2996
  } else
2844
- return this.error(N.INVALID_TAG, A(n, this.clonePosition()));
2997
+ return this.error(w.INVALID_TAG, N(n, this.clonePosition()));
2845
2998
  }, e.prototype.parseTagName = function() {
2846
2999
  var t = this.offset();
2847
- for (this.bump(); !this.isEOF() && Ai(this.char()); )
3000
+ for (this.bump(); !this.isEOF() && Yn(this.char()); )
2848
3001
  this.bump();
2849
3002
  return this.message.slice(t, this.offset());
2850
3003
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2866,14 +3019,14 @@ var Mi = (
2866
3019
  }
2867
3020
  break;
2868
3021
  }
2869
- var c = A(n, this.clonePosition());
3022
+ var h = N(n, this.clonePosition());
2870
3023
  return {
2871
- val: { type: P.literal, value: i, location: c },
3024
+ val: { type: P.literal, value: i, location: h },
2872
3025
  err: null
2873
3026
  };
2874
3027
  }, e.prototype.tryParseLeftAngleBracket = function() {
2875
3028
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2876
- !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3029
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2877
3030
  }, e.prototype.tryParseQuote = function(t) {
2878
3031
  if (this.isEOF() || this.char() !== 39)
2879
3032
  return null;
@@ -2907,23 +3060,23 @@ var Mi = (
2907
3060
  r.push(n);
2908
3061
  this.bump();
2909
3062
  }
2910
- return ut.apply(void 0, r);
3063
+ return Ze.apply(void 0, r);
2911
3064
  }, e.prototype.tryParseUnquoted = function(t, r) {
2912
3065
  if (this.isEOF())
2913
3066
  return null;
2914
3067
  var n = this.char();
2915
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
3068
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2916
3069
  }, e.prototype.parseArgument = function(t, r) {
2917
3070
  var n = this.clonePosition();
2918
3071
  if (this.bump(), this.bumpSpace(), this.isEOF())
2919
- return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3072
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2920
3073
  if (this.char() === 125)
2921
- return this.bump(), this.error(N.EMPTY_ARGUMENT, A(n, this.clonePosition()));
3074
+ return this.bump(), this.error(w.EMPTY_ARGUMENT, N(n, this.clonePosition()));
2922
3075
  var i = this.parseIdentifierIfPossible().value;
2923
3076
  if (!i)
2924
- return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3077
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2925
3078
  if (this.bumpSpace(), this.isEOF())
2926
- return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition()));
3079
+ return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition()));
2927
3080
  switch (this.char()) {
2928
3081
  case 125:
2929
3082
  return this.bump(), {
@@ -2931,66 +3084,66 @@ var Mi = (
2931
3084
  type: P.argument,
2932
3085
  // value does not include the opening and closing braces.
2933
3086
  value: i,
2934
- location: A(n, this.clonePosition())
3087
+ location: N(n, this.clonePosition())
2935
3088
  },
2936
3089
  err: null
2937
3090
  };
2938
3091
  case 44:
2939
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3092
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2940
3093
  default:
2941
- return this.error(N.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3094
+ return this.error(w.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
2942
3095
  }
2943
3096
  }, e.prototype.parseIdentifierIfPossible = function() {
2944
- var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
3097
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2945
3098
  this.bumpTo(i);
2946
- var o = this.clonePosition(), a = A(t, o);
3099
+ var o = this.clonePosition(), a = N(t, o);
2947
3100
  return { value: n, location: a };
2948
3101
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2949
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3102
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
2950
3103
  switch (s) {
2951
3104
  case "":
2952
- return this.error(N.EXPECT_ARGUMENT_TYPE, A(a, c));
3105
+ return this.error(w.EXPECT_ARGUMENT_TYPE, N(a, h));
2953
3106
  case "number":
2954
3107
  case "date":
2955
3108
  case "time": {
2956
3109
  this.bumpSpace();
2957
- var l = null;
3110
+ var u = null;
2958
3111
  if (this.bumpIf(",")) {
2959
3112
  this.bumpSpace();
2960
- var u = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3113
+ var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2961
3114
  if (d.err)
2962
3115
  return d;
2963
- var m = Ti(d.val);
3116
+ var m = Zn(d.val);
2964
3117
  if (m.length === 0)
2965
- return this.error(N.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2966
- var y = A(u, this.clonePosition());
2967
- l = { style: m, styleLocation: y };
3118
+ return this.error(w.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
3119
+ var y = N(c, this.clonePosition());
3120
+ u = { style: m, styleLocation: y };
2968
3121
  }
2969
- var g = this.tryParseArgumentClose(i);
2970
- if (g.err)
2971
- return g;
2972
- var p = A(i, this.clonePosition());
2973
- if (l && Pt(l == null ? void 0 : l.style, "::", 0)) {
2974
- var S = wi(l.style.slice(2));
3122
+ var f = this.tryParseArgumentClose(i);
3123
+ if (f.err)
3124
+ return f;
3125
+ var g = N(i, this.clonePosition());
3126
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3127
+ var S = Wn(u.style.slice(2));
2975
3128
  if (s === "number") {
2976
- var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
3129
+ var d = this.parseNumberSkeletonFromString(S, u.styleLocation);
2977
3130
  return d.err ? d : {
2978
- val: { type: P.number, value: n, location: p, style: d.val },
3131
+ val: { type: P.number, value: n, location: g, style: d.val },
2979
3132
  err: null
2980
3133
  };
2981
3134
  } else {
2982
3135
  if (S.length === 0)
2983
- return this.error(N.EXPECT_DATE_TIME_SKELETON, p);
3136
+ return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2984
3137
  var _ = S;
2985
- this.locale && (_ = mi(S, this.locale));
3138
+ this.locale && (_ = On(S, this.locale));
2986
3139
  var m = {
2987
- type: ue.dateTime,
3140
+ type: ne.dateTime,
2988
3141
  pattern: _,
2989
- location: l.styleLocation,
2990
- parsedOptions: this.shouldParseSkeletons ? ai(_) : {}
3142
+ location: u.styleLocation,
3143
+ parsedOptions: this.shouldParseSkeletons ? Mn(_) : {}
2991
3144
  }, v = s === "date" ? P.date : P.time;
2992
3145
  return {
2993
- val: { type: v, value: n, location: p, style: m },
3146
+ val: { type: v, value: n, location: g, style: m },
2994
3147
  err: null
2995
3148
  };
2996
3149
  }
@@ -2999,8 +3152,8 @@ var Mi = (
2999
3152
  val: {
3000
3153
  type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3001
3154
  value: n,
3002
- location: p,
3003
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3155
+ location: g,
3156
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3004
3157
  },
3005
3158
  err: null
3006
3159
  };
@@ -3010,30 +3163,30 @@ var Mi = (
3010
3163
  case "select": {
3011
3164
  var C = this.clonePosition();
3012
3165
  if (this.bumpSpace(), !this.bumpIf(","))
3013
- return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS, A(C, Ue({}, C)));
3166
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, N(C, Ae({}, C)));
3014
3167
  this.bumpSpace();
3015
3168
  var H = this.parseIdentifierIfPossible(), E = 0;
3016
3169
  if (s !== "select" && H.value === "offset") {
3017
3170
  if (!this.bumpIf(":"))
3018
- return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3171
+ return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N(this.clonePosition(), this.clonePosition()));
3019
3172
  this.bumpSpace();
3020
- var d = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3173
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3021
3174
  if (d.err)
3022
3175
  return d;
3023
3176
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), E = d.val;
3024
3177
  }
3025
- var z = this.tryParsePluralOrSelectOptions(t, s, r, H);
3026
- if (z.err)
3027
- return z;
3028
- var g = this.tryParseArgumentClose(i);
3029
- if (g.err)
3030
- return g;
3031
- var J = A(i, this.clonePosition());
3178
+ var O = this.tryParsePluralOrSelectOptions(t, s, r, H);
3179
+ if (O.err)
3180
+ return O;
3181
+ var f = this.tryParseArgumentClose(i);
3182
+ if (f.err)
3183
+ return f;
3184
+ var J = N(i, this.clonePosition());
3032
3185
  return s === "select" ? {
3033
3186
  val: {
3034
3187
  type: P.select,
3035
3188
  value: n,
3036
- options: Bt(z.val),
3189
+ options: yt(O.val),
3037
3190
  location: J
3038
3191
  },
3039
3192
  err: null
@@ -3041,7 +3194,7 @@ var Mi = (
3041
3194
  val: {
3042
3195
  type: P.plural,
3043
3196
  value: n,
3044
- options: Bt(z.val),
3197
+ options: yt(O.val),
3045
3198
  offset: E,
3046
3199
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3047
3200
  location: J
@@ -3050,10 +3203,10 @@ var Mi = (
3050
3203
  };
3051
3204
  }
3052
3205
  default:
3053
- return this.error(N.INVALID_ARGUMENT_TYPE, A(a, c));
3206
+ return this.error(w.INVALID_ARGUMENT_TYPE, N(a, h));
3054
3207
  }
3055
3208
  }, e.prototype.tryParseArgumentClose = function(t) {
3056
- return this.isEOF() || this.char() !== 125 ? this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3209
+ return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, N(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3057
3210
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3058
3211
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3059
3212
  var n = this.char();
@@ -3062,7 +3215,7 @@ var Mi = (
3062
3215
  this.bump();
3063
3216
  var i = this.clonePosition();
3064
3217
  if (!this.bumpUntil("'"))
3065
- return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(i, this.clonePosition()));
3218
+ return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, N(i, this.clonePosition()));
3066
3219
  this.bump();
3067
3220
  break;
3068
3221
  }
@@ -3092,52 +3245,52 @@ var Mi = (
3092
3245
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3093
3246
  var n = [];
3094
3247
  try {
3095
- n = li(t);
3248
+ n = Nn(t);
3096
3249
  } catch (i) {
3097
- return this.error(N.INVALID_NUMBER_SKELETON, r);
3250
+ return this.error(w.INVALID_NUMBER_SKELETON, r);
3098
3251
  }
3099
3252
  return {
3100
3253
  val: {
3101
- type: ue.number,
3254
+ type: ne.number,
3102
3255
  tokens: n,
3103
3256
  location: r,
3104
- parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3257
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
3105
3258
  },
3106
3259
  err: null
3107
3260
  };
3108
3261
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3109
- for (var o, a = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3110
- if (l.length === 0) {
3262
+ for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3263
+ if (u.length === 0) {
3111
3264
  var d = this.clonePosition();
3112
3265
  if (r !== "select" && this.bumpIf("=")) {
3113
- var m = this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR, N.INVALID_PLURAL_ARGUMENT_SELECTOR);
3266
+ var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3114
3267
  if (m.err)
3115
3268
  return m;
3116
- u = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3269
+ c = N(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3117
3270
  } else
3118
3271
  break;
3119
3272
  }
3120
- if (c.has(l))
3121
- return this.error(r === "select" ? N.DUPLICATE_SELECT_ARGUMENT_SELECTOR : N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3122
- l === "other" && (a = !0), this.bumpSpace();
3273
+ if (h.has(u))
3274
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3275
+ u === "other" && (a = !0), this.bumpSpace();
3123
3276
  var y = this.clonePosition();
3124
3277
  if (!this.bumpIf("{"))
3125
- return this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3126
- var g = this.parseMessage(t + 1, r, n);
3278
+ return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, N(this.clonePosition(), this.clonePosition()));
3279
+ var f = this.parseMessage(t + 1, r, n);
3280
+ if (f.err)
3281
+ return f;
3282
+ var g = this.tryParseArgumentClose(y);
3127
3283
  if (g.err)
3128
3284
  return g;
3129
- var p = this.tryParseArgumentClose(y);
3130
- if (p.err)
3131
- return p;
3132
3285
  s.push([
3133
- l,
3286
+ u,
3134
3287
  {
3135
- value: g.val,
3136
- location: A(y, this.clonePosition())
3288
+ value: f.val,
3289
+ location: N(y, this.clonePosition())
3137
3290
  }
3138
- ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3291
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3139
3292
  }
3140
- return s.length === 0 ? this.error(r === "select" ? N.EXPECT_SELECT_ARGUMENT_SELECTOR : N.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(N.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3293
+ return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, N(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, N(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3141
3294
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3142
3295
  var n = 1, i = this.clonePosition();
3143
3296
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3148,8 +3301,8 @@ var Mi = (
3148
3301
  else
3149
3302
  break;
3150
3303
  }
3151
- var c = A(i, this.clonePosition());
3152
- return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, c)) : this.error(t, c);
3304
+ var h = N(i, this.clonePosition());
3305
+ return o ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3153
3306
  }, e.prototype.offset = function() {
3154
3307
  return this.position.offset;
3155
3308
  }, e.prototype.isEOF = function() {
@@ -3164,7 +3317,7 @@ var Mi = (
3164
3317
  var t = this.position.offset;
3165
3318
  if (t >= this.message.length)
3166
3319
  throw Error("out of bound");
3167
- var r = kr(this.message, t);
3320
+ var r = ir(this.message, t);
3168
3321
  if (r === void 0)
3169
3322
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3170
3323
  return r;
@@ -3183,7 +3336,7 @@ var Mi = (
3183
3336
  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);
3184
3337
  }
3185
3338
  }, e.prototype.bumpIf = function(t) {
3186
- if (Pt(this.message, t, this.offset())) {
3339
+ if (_t(this.message, t, this.offset())) {
3187
3340
  for (var r = 0; r < t.length; r++)
3188
3341
  this.bump();
3189
3342
  return !0;
@@ -3205,7 +3358,7 @@ var Mi = (
3205
3358
  break;
3206
3359
  }
3207
3360
  }, e.prototype.bumpSpace = function() {
3208
- for (; !this.isEOF() && Cr(this.char()); )
3361
+ for (; !this.isEOF() && ar(this.char()); )
3209
3362
  this.bump();
3210
3363
  }, e.prototype.peek = function() {
3211
3364
  if (this.isEOF())
@@ -3215,47 +3368,47 @@ var Mi = (
3215
3368
  }, e;
3216
3369
  }()
3217
3370
  );
3218
- function dt(e) {
3371
+ function Qe(e) {
3219
3372
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3220
3373
  }
3221
- function Ni(e) {
3222
- return dt(e) || e === 47;
3374
+ function Qn(e) {
3375
+ return Qe(e) || e === 47;
3223
3376
  }
3224
- function Ai(e) {
3377
+ function Yn(e) {
3225
3378
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3226
3379
  }
3227
- function Cr(e) {
3380
+ function ar(e) {
3228
3381
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3229
3382
  }
3230
- function Hi(e) {
3383
+ function Kn(e) {
3231
3384
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3232
3385
  }
3233
- function mt(e) {
3386
+ function Ye(e) {
3234
3387
  e.forEach(function(t) {
3235
- if (delete t.location, mr(t) || fr(t))
3388
+ if (delete t.location, Qt(t) || Yt(t))
3236
3389
  for (var r in t.options)
3237
- delete t.options[r].location, mt(t.options[r].value);
3390
+ delete t.options[r].location, Ye(t.options[r].value);
3238
3391
  else
3239
- ur(t) && gr(t.style) || (hr(t) || dr(t)) && lt(t.style) ? delete t.style.location : pr(t) && mt(t.children);
3392
+ Wt(t) && $t(t.style) || (Zt(t) || Jt(t)) && qe(t.style) ? delete t.style.location : Kt(t) && Ye(t.children);
3240
3393
  });
3241
3394
  }
3242
- function Pi(e, t) {
3243
- t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3244
- var r = new Mi(e, t).parse();
3395
+ function $n(e, t) {
3396
+ t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3397
+ var r = new Jn(e, t).parse();
3245
3398
  if (r.err) {
3246
- var n = SyntaxError(N[r.err.kind]);
3399
+ var n = SyntaxError(w[r.err.kind]);
3247
3400
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3248
3401
  }
3249
- return t != null && t.captureLocation || mt(r.val), r.val;
3402
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3250
3403
  }
3251
- var he;
3404
+ var ie;
3252
3405
  (function(e) {
3253
3406
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3254
- })(he || (he = {}));
3255
- var Ve = (
3407
+ })(ie || (ie = {}));
3408
+ var ze = (
3256
3409
  /** @class */
3257
3410
  function(e) {
3258
- $e(t, e);
3411
+ Oe(t, e);
3259
3412
  function t(r, n, i) {
3260
3413
  var o = e.call(this, r) || this;
3261
3414
  return o.code = n, o.originalMessage = i, o;
@@ -3264,155 +3417,155 @@ var Ve = (
3264
3417
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3265
3418
  }, t;
3266
3419
  }(Error)
3267
- ), zt = (
3420
+ ), kt = (
3268
3421
  /** @class */
3269
3422
  function(e) {
3270
- $e(t, e);
3423
+ Oe(t, e);
3271
3424
  function t(r, n, i, o) {
3272
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3425
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, o) || this;
3273
3426
  }
3274
3427
  return t;
3275
- }(Ve)
3276
- ), Bi = (
3428
+ }(ze)
3429
+ ), ei = (
3277
3430
  /** @class */
3278
3431
  function(e) {
3279
- $e(t, e);
3432
+ Oe(t, e);
3280
3433
  function t(r, n, i) {
3281
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3434
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3282
3435
  }
3283
3436
  return t;
3284
- }(Ve)
3285
- ), Oi = (
3437
+ }(ze)
3438
+ ), ti = (
3286
3439
  /** @class */
3287
3440
  function(e) {
3288
- $e(t, e);
3441
+ Oe(t, e);
3289
3442
  function t(r, n) {
3290
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3443
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3291
3444
  }
3292
3445
  return t;
3293
- }(Ve)
3294
- ), G;
3446
+ }(ze)
3447
+ ), D;
3295
3448
  (function(e) {
3296
3449
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3297
- })(G || (G = {}));
3298
- function zi(e) {
3450
+ })(D || (D = {}));
3451
+ function ri(e) {
3299
3452
  return e.length < 2 ? e : e.reduce(function(t, r) {
3300
3453
  var n = t[t.length - 1];
3301
- return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3454
+ return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3302
3455
  }, []);
3303
3456
  }
3304
- function Li(e) {
3457
+ function ni(e) {
3305
3458
  return typeof e == "function";
3306
3459
  }
3307
- function je(e, t, r, n, i, o, a) {
3308
- if (e.length === 1 && Mt(e[0]))
3460
+ function we(e, t, r, n, i, o, a) {
3461
+ if (e.length === 1 && mt(e[0]))
3309
3462
  return [
3310
3463
  {
3311
- type: G.literal,
3464
+ type: D.literal,
3312
3465
  value: e[0].value
3313
3466
  }
3314
3467
  ];
3315
- for (var s = [], c = 0, l = e; c < l.length; c++) {
3316
- var u = l[c];
3317
- if (Mt(u)) {
3468
+ for (var s = [], h = 0, u = e; h < u.length; h++) {
3469
+ var c = u[h];
3470
+ if (mt(c)) {
3318
3471
  s.push({
3319
- type: G.literal,
3320
- value: u.value
3472
+ type: D.literal,
3473
+ value: c.value
3321
3474
  });
3322
3475
  continue;
3323
3476
  }
3324
- if (ii(u)) {
3477
+ if (xn(c)) {
3325
3478
  typeof o == "number" && s.push({
3326
- type: G.literal,
3479
+ type: D.literal,
3327
3480
  value: r.getNumberFormat(t).format(o)
3328
3481
  });
3329
3482
  continue;
3330
3483
  }
3331
- var d = u.value;
3484
+ var d = c.value;
3332
3485
  if (!(i && d in i))
3333
- throw new Oi(d, a);
3486
+ throw new ti(d, a);
3334
3487
  var m = i[d];
3335
- if (ni(u)) {
3488
+ if (Sn(c)) {
3336
3489
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3337
- type: typeof m == "string" ? G.literal : G.object,
3490
+ type: typeof m == "string" ? D.literal : D.object,
3338
3491
  value: m
3339
3492
  });
3340
3493
  continue;
3341
3494
  }
3342
- if (hr(u)) {
3343
- var y = typeof u.style == "string" ? n.date[u.style] : lt(u.style) ? u.style.parsedOptions : void 0;
3495
+ if (Zt(c)) {
3496
+ var y = typeof c.style == "string" ? n.date[c.style] : qe(c.style) ? c.style.parsedOptions : void 0;
3344
3497
  s.push({
3345
- type: G.literal,
3498
+ type: D.literal,
3346
3499
  value: r.getDateTimeFormat(t, y).format(m)
3347
3500
  });
3348
3501
  continue;
3349
3502
  }
3350
- if (dr(u)) {
3351
- var y = typeof u.style == "string" ? n.time[u.style] : lt(u.style) ? u.style.parsedOptions : n.time.medium;
3503
+ if (Jt(c)) {
3504
+ var y = typeof c.style == "string" ? n.time[c.style] : qe(c.style) ? c.style.parsedOptions : n.time.medium;
3352
3505
  s.push({
3353
- type: G.literal,
3506
+ type: D.literal,
3354
3507
  value: r.getDateTimeFormat(t, y).format(m)
3355
3508
  });
3356
3509
  continue;
3357
3510
  }
3358
- if (ur(u)) {
3359
- var y = typeof u.style == "string" ? n.number[u.style] : gr(u.style) ? u.style.parsedOptions : void 0;
3511
+ if (Wt(c)) {
3512
+ var y = typeof c.style == "string" ? n.number[c.style] : $t(c.style) ? c.style.parsedOptions : void 0;
3360
3513
  y && y.scale && (m = m * (y.scale || 1)), s.push({
3361
- type: G.literal,
3514
+ type: D.literal,
3362
3515
  value: r.getNumberFormat(t, y).format(m)
3363
3516
  });
3364
3517
  continue;
3365
3518
  }
3366
- if (pr(u)) {
3367
- var g = u.children, p = u.value, S = i[p];
3368
- if (!Li(S))
3369
- throw new Bi(p, "function", a);
3370
- var _ = je(g, t, r, n, i, o), v = S(_.map(function(E) {
3519
+ if (Kt(c)) {
3520
+ var f = c.children, g = c.value, S = i[g];
3521
+ if (!ni(S))
3522
+ throw new ei(g, "function", a);
3523
+ var _ = we(f, t, r, n, i, o), v = S(_.map(function(E) {
3371
3524
  return E.value;
3372
3525
  }));
3373
3526
  Array.isArray(v) || (v = [v]), s.push.apply(s, v.map(function(E) {
3374
3527
  return {
3375
- type: typeof E == "string" ? G.literal : G.object,
3528
+ type: typeof E == "string" ? D.literal : D.object,
3376
3529
  value: E
3377
3530
  };
3378
3531
  }));
3379
3532
  }
3380
- if (mr(u)) {
3381
- var C = u.options[m] || u.options.other;
3533
+ if (Qt(c)) {
3534
+ var C = c.options[m] || c.options.other;
3382
3535
  if (!C)
3383
- throw new zt(u.value, m, Object.keys(u.options), a);
3384
- s.push.apply(s, je(C.value, t, r, n, i));
3536
+ throw new kt(c.value, m, Object.keys(c.options), a);
3537
+ s.push.apply(s, we(C.value, t, r, n, i));
3385
3538
  continue;
3386
3539
  }
3387
- if (fr(u)) {
3388
- var C = u.options["=".concat(m)];
3540
+ if (Yt(c)) {
3541
+ var C = c.options["=".concat(m)];
3389
3542
  if (!C) {
3390
3543
  if (!Intl.PluralRules)
3391
- throw new Ve(`Intl.PluralRules is not available in this environment.
3544
+ throw new ze(`Intl.PluralRules is not available in this environment.
3392
3545
  Try polyfilling it using "@formatjs/intl-pluralrules"
3393
- `, he.MISSING_INTL_API, a);
3394
- var H = r.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
3395
- C = u.options[H] || u.options.other;
3546
+ `, ie.MISSING_INTL_API, a);
3547
+ var H = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3548
+ C = c.options[H] || c.options.other;
3396
3549
  }
3397
3550
  if (!C)
3398
- throw new zt(u.value, m, Object.keys(u.options), a);
3399
- s.push.apply(s, je(C.value, t, r, n, i, m - (u.offset || 0)));
3551
+ throw new kt(c.value, m, Object.keys(c.options), a);
3552
+ s.push.apply(s, we(C.value, t, r, n, i, m - (c.offset || 0)));
3400
3553
  continue;
3401
3554
  }
3402
3555
  }
3403
- return zi(s);
3556
+ return ri(s);
3404
3557
  }
3405
- function ji(e, t) {
3406
- return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3407
- return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
3558
+ function ii(e, t) {
3559
+ return t ? q(q(q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3560
+ return r[n] = q(q({}, e[n]), t[n] || {}), r;
3408
3561
  }, {})) : e;
3409
3562
  }
3410
- function Ii(e, t) {
3563
+ function oi(e, t) {
3411
3564
  return t ? Object.keys(e).reduce(function(r, n) {
3412
- return r[n] = ji(e[n], t[n]), r;
3413
- }, Z({}, e)) : e;
3565
+ return r[n] = ii(e[n], t[n]), r;
3566
+ }, q({}, e)) : e;
3414
3567
  }
3415
- function rt(e) {
3568
+ function Fe(e) {
3416
3569
  return {
3417
3570
  create: function() {
3418
3571
  return {
@@ -3426,39 +3579,39 @@ function rt(e) {
3426
3579
  }
3427
3580
  };
3428
3581
  }
3429
- function Ri(e) {
3582
+ function ai(e) {
3430
3583
  return e === void 0 && (e = {
3431
3584
  number: {},
3432
3585
  dateTime: {},
3433
3586
  pluralRules: {}
3434
3587
  }), {
3435
- getNumberFormat: Ke(function() {
3588
+ getNumberFormat: Ue(function() {
3436
3589
  for (var t, r = [], n = 0; n < arguments.length; n++)
3437
3590
  r[n] = arguments[n];
3438
- return new ((t = Intl.NumberFormat).bind.apply(t, Ye([void 0], r, !1)))();
3591
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3439
3592
  }, {
3440
- cache: rt(e.number),
3441
- strategy: et.variadic
3593
+ cache: Fe(e.number),
3594
+ strategy: De.variadic
3442
3595
  }),
3443
- getDateTimeFormat: Ke(function() {
3596
+ getDateTimeFormat: Ue(function() {
3444
3597
  for (var t, r = [], n = 0; n < arguments.length; n++)
3445
3598
  r[n] = arguments[n];
3446
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ye([void 0], r, !1)))();
3599
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3447
3600
  }, {
3448
- cache: rt(e.dateTime),
3449
- strategy: et.variadic
3601
+ cache: Fe(e.dateTime),
3602
+ strategy: De.variadic
3450
3603
  }),
3451
- getPluralRules: Ke(function() {
3604
+ getPluralRules: Ue(function() {
3452
3605
  for (var t, r = [], n = 0; n < arguments.length; n++)
3453
3606
  r[n] = arguments[n];
3454
- return new ((t = Intl.PluralRules).bind.apply(t, Ye([void 0], r, !1)))();
3607
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3455
3608
  }, {
3456
- cache: rt(e.pluralRules),
3457
- strategy: et.variadic
3609
+ cache: Fe(e.pluralRules),
3610
+ strategy: De.variadic
3458
3611
  })
3459
3612
  };
3460
3613
  }
3461
- var Ui = (
3614
+ var si = (
3462
3615
  /** @class */
3463
3616
  function() {
3464
3617
  function e(t, r, n, i) {
@@ -3468,20 +3621,20 @@ var Ui = (
3468
3621
  number: {},
3469
3622
  dateTime: {},
3470
3623
  pluralRules: {}
3471
- }, this.format = function(c) {
3472
- var l = o.formatToParts(c);
3473
- if (l.length === 1)
3474
- return l[0].value;
3475
- var u = l.reduce(function(d, m) {
3476
- return !d.length || m.type !== G.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3624
+ }, this.format = function(h) {
3625
+ var u = o.formatToParts(h);
3626
+ if (u.length === 1)
3627
+ return u[0].value;
3628
+ var c = u.reduce(function(d, m) {
3629
+ return !d.length || m.type !== D.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3477
3630
  }, []);
3478
- return u.length <= 1 ? u[0] || "" : u;
3479
- }, this.formatToParts = function(c) {
3480
- return je(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3631
+ return c.length <= 1 ? c[0] || "" : c;
3632
+ }, this.formatToParts = function(h) {
3633
+ return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3481
3634
  }, this.resolvedOptions = function() {
3482
- var c;
3635
+ var h;
3483
3636
  return {
3484
- locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3637
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3485
3638
  };
3486
3639
  }, this.getAst = function() {
3487
3640
  return o.ast;
@@ -3489,13 +3642,13 @@ var Ui = (
3489
3642
  if (this.message = t, !e.__parse)
3490
3643
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3491
3644
  var a = i || {};
3492
- var s = Zn(a, ["formatters"]);
3493
- this.ast = e.__parse(t, Z(Z({}, s), { locale: this.resolvedLocale }));
3645
+ var s = fn(a, ["formatters"]);
3646
+ this.ast = e.__parse(t, q(q({}, s), { locale: this.resolvedLocale }));
3494
3647
  } else
3495
3648
  this.ast = t;
3496
3649
  if (!Array.isArray(this.ast))
3497
3650
  throw new TypeError("A message must be provided as a String or AST.");
3498
- this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3651
+ this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3499
3652
  }
3500
3653
  return Object.defineProperty(e, "defaultLocale", {
3501
3654
  get: function() {
@@ -3508,7 +3661,7 @@ var Ui = (
3508
3661
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3509
3662
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3510
3663
  }
3511
- }, e.__parse = Pi, e.formats = {
3664
+ }, e.__parse = $n, e.formats = {
3512
3665
  number: {
3513
3666
  integer: {
3514
3667
  maximumFractionDigits: 0
@@ -3569,7 +3722,7 @@ var Ui = (
3569
3722
  }, e;
3570
3723
  }()
3571
3724
  );
3572
- function Di(e, t) {
3725
+ function li(e, t) {
3573
3726
  if (t == null)
3574
3727
  return;
3575
3728
  if (t in e)
@@ -3590,92 +3743,92 @@ function Di(e, t) {
3590
3743
  n = void 0;
3591
3744
  return n;
3592
3745
  }
3593
- const Y = {}, Gi = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Sr = (e, t) => {
3746
+ const Y = {}, ci = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), sr = (e, t) => {
3594
3747
  if (t == null)
3595
3748
  return;
3596
3749
  if (t in Y && e in Y[t])
3597
3750
  return Y[t][e];
3598
- const r = Xe(t);
3751
+ const r = Ie(t);
3599
3752
  for (let n = 0; n < r.length; n++) {
3600
- const i = r[n], o = $i(i, e);
3753
+ const i = r[n], o = hi(i, e);
3601
3754
  if (o)
3602
- return Gi(e, t, o);
3755
+ return ci(e, t, o);
3603
3756
  }
3604
3757
  };
3605
- let vt;
3606
- const Me = Fe({});
3607
- function Fi(e) {
3608
- return vt[e] || null;
3758
+ let rt;
3759
+ const ke = Be({});
3760
+ function ui(e) {
3761
+ return rt[e] || null;
3609
3762
  }
3610
- function xr(e) {
3611
- return e in vt;
3763
+ function lr(e) {
3764
+ return e in rt;
3612
3765
  }
3613
- function $i(e, t) {
3614
- if (!xr(e))
3766
+ function hi(e, t) {
3767
+ if (!lr(e))
3615
3768
  return null;
3616
- const r = Fi(e);
3617
- return Di(r, t);
3769
+ const r = ui(e);
3770
+ return li(r, t);
3618
3771
  }
3619
- function Vi(e) {
3772
+ function di(e) {
3620
3773
  if (e == null)
3621
3774
  return;
3622
- const t = Xe(e);
3775
+ const t = Ie(e);
3623
3776
  for (let r = 0; r < t.length; r++) {
3624
3777
  const n = t[r];
3625
- if (xr(n))
3778
+ if (lr(n))
3626
3779
  return n;
3627
3780
  }
3628
3781
  }
3629
- function wr(e, ...t) {
3630
- delete Y[e], Me.update((r) => (r[e] = Wn.all([r[e] || {}, ...t]), r));
3782
+ function cr(e, ...t) {
3783
+ delete Y[e], ke.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3631
3784
  }
3632
- fe(
3633
- [Me],
3785
+ ae(
3786
+ [ke],
3634
3787
  ([e]) => Object.keys(e)
3635
3788
  );
3636
- Me.subscribe((e) => vt = e);
3637
- const Ie = {};
3638
- function Xi(e, t) {
3639
- Ie[e].delete(t), Ie[e].size === 0 && delete Ie[e];
3789
+ ke.subscribe((e) => rt = e);
3790
+ const Ne = {};
3791
+ function mi(e, t) {
3792
+ Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3640
3793
  }
3641
- function Tr(e) {
3642
- return Ie[e];
3794
+ function ur(e) {
3795
+ return Ne[e];
3643
3796
  }
3644
- function qi(e) {
3645
- return Xe(e).map((t) => {
3646
- const r = Tr(t);
3797
+ function pi(e) {
3798
+ return Ie(e).map((t) => {
3799
+ const r = ur(t);
3647
3800
  return [t, r ? [...r] : []];
3648
3801
  }).filter(([, t]) => t.length > 0);
3649
3802
  }
3650
- function ft(e) {
3651
- return e == null ? !1 : Xe(e).some(
3803
+ function Ke(e) {
3804
+ return e == null ? !1 : Ie(e).some(
3652
3805
  (t) => {
3653
3806
  var r;
3654
- return (r = Tr(t)) == null ? void 0 : r.size;
3807
+ return (r = ur(t)) == null ? void 0 : r.size;
3655
3808
  }
3656
3809
  );
3657
3810
  }
3658
- function Wi(e, t) {
3811
+ function gi(e, t) {
3659
3812
  return Promise.all(
3660
- t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
3661
- ).then((n) => wr(e, ...n));
3662
- }
3663
- const ke = {};
3664
- function Mr(e) {
3665
- if (!ft(e))
3666
- return e in ke ? ke[e] : Promise.resolve();
3667
- const t = qi(e);
3668
- return ke[e] = Promise.all(
3813
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
3814
+ ).then((n) => cr(e, ...n));
3815
+ }
3816
+ const pe = {};
3817
+ function hr(e) {
3818
+ if (!Ke(e))
3819
+ return e in pe ? pe[e] : Promise.resolve();
3820
+ const t = pi(e);
3821
+ return pe[e] = Promise.all(
3669
3822
  t.map(
3670
- ([r, n]) => Wi(r, n)
3823
+ ([r, n]) => gi(r, n)
3671
3824
  )
3672
3825
  ).then(() => {
3673
- if (ft(e))
3674
- return Mr(e);
3675
- delete ke[e];
3676
- }), ke[e];
3826
+ if (Ke(e))
3827
+ return hr(e);
3828
+ delete pe[e];
3829
+ }), pe[e];
3677
3830
  }
3678
- const Zi = {
3831
+ const fi = {
3679
3832
  number: {
3680
3833
  scientific: { notation: "scientific" },
3681
3834
  engineering: { notation: "engineering" },
@@ -3704,159 +3857,159 @@ const Zi = {
3704
3857
  timeZoneName: "short"
3705
3858
  }
3706
3859
  }
3707
- }, Ji = {
3860
+ }, _i = {
3708
3861
  fallbackLocale: null,
3709
3862
  loadingDelay: 200,
3710
- formats: Zi,
3863
+ formats: fi,
3711
3864
  warnOnMissingMessages: !0,
3712
3865
  handleMissingMessage: void 0,
3713
3866
  ignoreTag: !0
3714
- }, Qi = Ji;
3715
- function de() {
3716
- return Qi;
3867
+ }, yi = _i;
3868
+ function oe() {
3869
+ return yi;
3717
3870
  }
3718
- const nt = Fe(!1);
3719
- var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
3871
+ const Ve = Be(!1);
3872
+ var vi = Object.defineProperty, ki = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
3720
3873
  for (var r in t || (t = {}))
3721
- to.call(t, r) && jt(e, r, t[r]);
3722
- if (Lt)
3723
- for (var r of Lt(t))
3724
- ro.call(t, r) && jt(e, r, t[r]);
3874
+ Ei.call(t, r) && Et(e, r, t[r]);
3875
+ if (bt)
3876
+ for (var r of bt(t))
3877
+ Ci.call(t, r) && Et(e, r, t[r]);
3725
3878
  return e;
3726
- }, io = (e, t) => Ki(e, eo(t));
3727
- let pt;
3728
- const De = Fe(null);
3729
- function It(e) {
3879
+ }, xi = (e, t) => ki(e, bi(t));
3880
+ let $e;
3881
+ const He = Be(null);
3882
+ function Ct(e) {
3730
3883
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3731
3884
  }
3732
- function Xe(e, t = de().fallbackLocale) {
3733
- const r = It(e);
3734
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3885
+ function Ie(e, t = oe().fallbackLocale) {
3886
+ const r = Ct(e);
3887
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3735
3888
  }
3736
- function te() {
3737
- return pt != null ? pt : void 0;
3889
+ function $() {
3890
+ return $e != null ? $e : void 0;
3738
3891
  }
3739
- De.subscribe((e) => {
3740
- pt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3892
+ He.subscribe((e) => {
3893
+ $e = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3741
3894
  });
3742
- const oo = (e) => {
3743
- if (e && Vi(e) && ft(e)) {
3744
- const { loadingDelay: t } = de();
3895
+ const Ti = (e) => {
3896
+ if (e && di(e) && Ke(e)) {
3897
+ const { loadingDelay: t } = oe();
3745
3898
  let r;
3746
- return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
3747
- () => nt.set(!0),
3899
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3900
+ () => Ve.set(!0),
3748
3901
  t
3749
- ) : nt.set(!0), Mr(e).then(() => {
3750
- De.set(e);
3902
+ ) : Ve.set(!0), hr(e).then(() => {
3903
+ He.set(e);
3751
3904
  }).finally(() => {
3752
- clearTimeout(r), nt.set(!1);
3905
+ clearTimeout(r), Ve.set(!1);
3753
3906
  });
3754
3907
  }
3755
- return De.set(e);
3756
- }, pe = io(no({}, De), {
3757
- set: oo
3758
- }), qe = (e) => {
3908
+ return He.set(e);
3909
+ }, se = xi(Si({}, He), {
3910
+ set: Ti
3911
+ }), je = (e) => {
3759
3912
  const t = /* @__PURE__ */ Object.create(null);
3760
3913
  return (n) => {
3761
3914
  const i = JSON.stringify(n);
3762
3915
  return i in t ? t[i] : t[i] = e(n);
3763
3916
  };
3764
3917
  };
3765
- var ao = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3918
+ var Mi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3766
3919
  for (var r in t || (t = {}))
3767
- Nr.call(t, r) && Rt(e, r, t[r]);
3768
- if (Ge)
3769
- for (var r of Ge(t))
3770
- Ar.call(t, r) && Rt(e, r, t[r]);
3920
+ dr.call(t, r) && St(e, r, t[r]);
3921
+ if (Pe)
3922
+ for (var r of Pe(t))
3923
+ mr.call(t, r) && St(e, r, t[r]);
3771
3924
  return e;
3772
- }, ge = (e, t) => {
3925
+ }, le = (e, t) => {
3773
3926
  var r = {};
3774
3927
  for (var n in e)
3775
- Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3776
- if (e != null && Ge)
3777
- for (var n of Ge(e))
3778
- t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
3928
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3929
+ if (e != null && Pe)
3930
+ for (var n of Pe(e))
3931
+ t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
3779
3932
  return r;
3780
3933
  };
3781
- const we = (e, t) => {
3782
- const { formats: r } = de();
3934
+ const _e = (e, t) => {
3935
+ const { formats: r } = oe();
3783
3936
  if (e in r && t in r[e])
3784
3937
  return r[e][t];
3785
3938
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3786
- }, so = qe(
3939
+ }, wi = je(
3787
3940
  (e) => {
3788
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3941
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3789
3942
  if (r == null)
3790
3943
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3791
- return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
3944
+ return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3792
3945
  }
3793
- ), lo = qe(
3946
+ ), Ni = je(
3794
3947
  (e) => {
3795
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3948
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3796
3949
  if (r == null)
3797
3950
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3798
- return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
3951
+ return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3799
3952
  }
3800
- ), co = qe(
3953
+ ), Ai = je(
3801
3954
  (e) => {
3802
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3955
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3803
3956
  if (r == null)
3804
3957
  throw new Error(
3805
3958
  '[svelte-i18n] A "locale" must be set to format time values'
3806
3959
  );
3807
- return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
3960
+ return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3808
3961
  }
3809
- ), uo = (e = {}) => {
3962
+ ), Hi = (e = {}) => {
3810
3963
  var t = e, {
3811
- locale: r = te()
3812
- } = t, n = ge(t, [
3964
+ locale: r = $()
3965
+ } = t, n = le(t, [
3813
3966
  "locale"
3814
3967
  ]);
3815
- return so(bt({ locale: r }, n));
3816
- }, ho = (e = {}) => {
3968
+ return wi(nt({ locale: r }, n));
3969
+ }, Pi = (e = {}) => {
3817
3970
  var t = e, {
3818
- locale: r = te()
3819
- } = t, n = ge(t, [
3971
+ locale: r = $()
3972
+ } = t, n = le(t, [
3820
3973
  "locale"
3821
3974
  ]);
3822
- return lo(bt({ locale: r }, n));
3823
- }, mo = (e = {}) => {
3975
+ return Ni(nt({ locale: r }, n));
3976
+ }, Bi = (e = {}) => {
3824
3977
  var t = e, {
3825
- locale: r = te()
3826
- } = t, n = ge(t, [
3978
+ locale: r = $()
3979
+ } = t, n = le(t, [
3827
3980
  "locale"
3828
3981
  ]);
3829
- return co(bt({ locale: r }, n));
3830
- }, fo = qe(
3982
+ return Ai(nt({ locale: r }, n));
3983
+ }, Oi = je(
3831
3984
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3832
- (e, t = te()) => new Ui(e, t, de().formats, {
3833
- ignoreTag: de().ignoreTag
3985
+ (e, t = $()) => new si(e, t, oe().formats, {
3986
+ ignoreTag: oe().ignoreTag
3834
3987
  })
3835
- ), po = (e, t = {}) => {
3988
+ ), zi = (e, t = {}) => {
3836
3989
  var r, n, i, o;
3837
3990
  let a = t;
3838
3991
  typeof e == "object" && (a = e, e = a.id);
3839
3992
  const {
3840
3993
  values: s,
3841
- locale: c = te(),
3842
- default: l
3994
+ locale: h = $(),
3995
+ default: u
3843
3996
  } = a;
3844
- if (c == null)
3997
+ if (h == null)
3845
3998
  throw new Error(
3846
3999
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3847
4000
  );
3848
- let u = Sr(e, c);
3849
- if (!u)
3850
- u = (o = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3851
- else if (typeof u != "string")
4001
+ let c = sr(e, h);
4002
+ if (!c)
4003
+ c = (o = (i = (n = (r = oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4004
+ else if (typeof c != "string")
3852
4005
  return console.warn(
3853
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3854
- ), u;
4006
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4007
+ ), c;
3855
4008
  if (!s)
3856
- return u;
3857
- let d = u;
4009
+ return c;
4010
+ let d = c;
3858
4011
  try {
3859
- d = fo(u, c).format(s);
4012
+ d = Oi(c, h).format(s);
3860
4013
  } catch (m) {
3861
4014
  m instanceof Error && console.warn(
3862
4015
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3864,18 +4017,18 @@ const we = (e, t) => {
3864
4017
  );
3865
4018
  }
3866
4019
  return d;
3867
- }, go = (e, t) => mo(t).format(e), _o = (e, t) => ho(t).format(e), yo = (e, t) => uo(t).format(e), vo = (e, t = te()) => Sr(e, t), bo = fe([pe, Me], () => po);
3868
- fe([pe], () => go);
3869
- fe([pe], () => _o);
3870
- fe([pe], () => yo);
3871
- fe([pe, Me], () => vo);
3872
- function Ut(e, t) {
3873
- wr(e, t);
3874
- }
3875
- function ko(e) {
3876
- pe.set(e);
3877
- }
3878
- const Dt = {
4020
+ }, Ii = (e, t) => Bi(t).format(e), ji = (e, t) => Pi(t).format(e), Li = (e, t) => Hi(t).format(e), Ri = (e, t = $()) => sr(e, t), Ui = ae([se, ke], () => zi);
4021
+ ae([se], () => Ii);
4022
+ ae([se], () => ji);
4023
+ ae([se], () => Li);
4024
+ ae([se, ke], () => Ri);
4025
+ function xt(e, t) {
4026
+ cr(e, t);
4027
+ }
4028
+ function Di(e) {
4029
+ se.set(e);
4030
+ }
4031
+ const Tt = {
3879
4032
  en: {
3880
4033
  invalidUrl: "Failed to construct 'URL': Invalid URL",
3881
4034
  fetchConsentsError: "Error: Could not fetch consents.",
@@ -4447,64 +4600,64 @@ if (typeof window != "undefined") {
4447
4600
  }
4448
4601
  };
4449
4602
  };
4450
- customElements.define = e(customElements.define), import('./GeneralAnimationLoading-lTLzF5jR-501a49e3.js').then(({ default: t }) => {
4603
+ customElements.define = e(customElements.define), Promise.resolve().then(function () { return GeneralAnimationLoadingC1pQ_j2M; }).then((t) => t.G).then(({ default: t }) => {
4451
4604
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4452
4605
  });
4453
4606
  }
4454
- function Eo(e) {
4607
+ function Gi(e) {
4455
4608
  let t, r;
4456
4609
  return {
4457
4610
  c() {
4458
- t = it("svg"), r = it("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");
4611
+ t = it("svg"), r = it("path"), I(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"), I(t, "xmlns", "http://www.w3.org/2000/svg"), I(t, "viewBox", "0 0 512 512");
4459
4612
  },
4460
4613
  m(n, i) {
4461
- L(n, t, i), x(t, r);
4614
+ N$1(n, t, i), tt(t, r);
4462
4615
  },
4463
- p: $,
4464
- i: $,
4465
- o: $,
4616
+ p: h,
4617
+ i: h,
4618
+ o: h,
4466
4619
  d(n) {
4467
- n && O(t);
4620
+ n && x(t);
4468
4621
  }
4469
4622
  };
4470
4623
  }
4471
- class Co extends ar {
4624
+ class Fi extends yt$1 {
4472
4625
  constructor(t) {
4473
- super(), nr(this, t, null, Eo, _t, {});
4626
+ super(), bt$1(this, t, null, Gi, Q, {});
4474
4627
  }
4475
4628
  }
4476
- customElements.define("circle-exclamation-icon", or(Co, {}, [], [], !0));
4477
- function So(e) {
4478
- cn(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4629
+ customElements.define("circle-exclamation-icon", gt$1(Fi, {}, [], [], !0));
4630
+ function Vi(e) {
4631
+ et(e, "svelte-etk3ty", '.DisplayNone.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:none}.ContainerCenter.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:30px}.AccordionHeader.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{margin-bottom:10px}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;padding:10px 0}.AccordionContent.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{padding-bottom:0}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:last-of-type{margin-bottom:0}.ConsentItem.svelte-etk3ty .ConsentName.svelte-etk3ty.svelte-etk3ty{margin:0}.ConsentItem.svelte-etk3ty .ConsentDescription.svelte-etk3ty.svelte-etk3ty{font-size:0.8rem}.ToggleSwitch.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{width:53px;height:30px}.ToggleSwitch.Big.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty.svelte-etk3ty{opacity:0;width:0;height:0}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty{background-color:var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:disabled+.Slider.svelte-etk3ty{opacity:0.1}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:checked+.Slider.svelte-etk3ty:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-etk3ty input.svelte-etk3ty:focus+.Slider.svelte-etk3ty{box-shadow:0 0 1px var(--emw--color-primary, #22B04E)}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.svelte-etk3ty.svelte-etk3ty:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty{border-radius:34px}.ToggleSwitch.svelte-etk3ty .Slider.Round.svelte-etk3ty.svelte-etk3ty:before{border-radius:50%}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty:disabled{opacity:0.3;cursor:not-allowed}.ConsentErrorContainer.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-etk3ty circle-exclamation-icon.svelte-etk3ty.svelte-etk3ty{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-etk3ty.svelte-etk3ty.svelte-etk3ty{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox.svelte-etk3ty.svelte-etk3ty{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper.svelte-etk3ty.svelte-etk3ty{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-etk3ty.svelte-etk3ty{position:relative}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__input.svelte-etk3ty.svelte-etk3ty{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #22B04E));width:46px}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label.svelte-etk3ty.svelte-etk3ty{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-etk3ty.svelte-etk3ty{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__error-message.svelte-etk3ty.svelte-etk3ty{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-etk3ty.svelte-etk3ty{width:16px;height:auto}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.svelte-etk3ty.svelte-etk3ty{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-etk3ty .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-etk3ty.svelte-etk3ty{opacity:1}');
4479
4632
  }
4480
- function Gt(e, t, r) {
4633
+ function Mt(e, t, r) {
4481
4634
  const n = e.slice();
4482
4635
  return n[65] = t[r], n;
4483
4636
  }
4484
- function Ft(e, t, r) {
4637
+ function wt(e, t, r) {
4485
4638
  const n = e.slice();
4486
4639
  return n[62] = t[r], n[63] = t, n[64] = r, n;
4487
4640
  }
4488
- function $t(e, t, r) {
4641
+ function Nt(e, t, r) {
4489
4642
  const n = e.slice();
4490
4643
  return n[65] = t[r], n;
4491
4644
  }
4492
- function xo(e) {
4493
- let t, r, n = le(
4645
+ function Xi(e) {
4646
+ let t, r, n = Gt(
4494
4647
  /*playerConsents*/
4495
4648
  e[9]
4496
4649
  ), i = [];
4497
4650
  for (let o = 0; o < n.length; o += 1)
4498
- i[o] = Vt(Gt(e, n, o));
4651
+ i[o] = At(Mt(e, n, o));
4499
4652
  return {
4500
4653
  c() {
4501
- t = T("div"), r = T("form");
4654
+ t = E("div"), r = E("form");
4502
4655
  for (let o = 0; o < i.length; o += 1)
4503
4656
  i[o].c();
4504
- k(r, "class", "checkbox svelte-etk3ty"), k(t, "class", "legacyStyle");
4657
+ I(r, "class", "checkbox svelte-etk3ty"), I(t, "class", "legacyStyle");
4505
4658
  },
4506
4659
  m(o, a) {
4507
- L(o, t, a), x(t, r);
4660
+ N$1(o, t, a), tt(t, r);
4508
4661
  for (let s = 0; s < i.length; s += 1)
4509
4662
  i[s] && i[s].m(r, null);
4510
4663
  e[32](r);
@@ -4512,14 +4665,14 @@ function xo(e) {
4512
4665
  p(o, a) {
4513
4666
  if (a[0] & /*playerConsents, translate, handleInput*/
4514
4667
  1180160) {
4515
- n = le(
4668
+ n = Gt(
4516
4669
  /*playerConsents*/
4517
4670
  o[9]
4518
4671
  );
4519
4672
  let s;
4520
4673
  for (s = 0; s < n.length; s += 1) {
4521
- const c = Gt(o, n, s);
4522
- i[s] ? i[s].p(c, a) : (i[s] = Vt(c), i[s].c(), i[s].m(r, null));
4674
+ const h = Mt(o, n, s);
4675
+ i[s] ? i[s].p(h, a) : (i[s] = At(h), i[s].c(), i[s].m(r, null));
4523
4676
  }
4524
4677
  for (; s < i.length; s += 1)
4525
4678
  i[s].d(1);
@@ -4527,11 +4680,11 @@ function xo(e) {
4527
4680
  }
4528
4681
  },
4529
4682
  d(o) {
4530
- o && O(t), yt(i, o), e[32](null);
4683
+ o && x(t), Ot$1(i, o), e[32](null);
4531
4684
  }
4532
4685
  };
4533
4686
  }
4534
- function wo(e) {
4687
+ function qi(e) {
4535
4688
  let t = (
4536
4689
  /*$_*/
4537
4690
  e[16]("title") || /*$_*/
@@ -4539,49 +4692,49 @@ function wo(e) {
4539
4692
  ), r, n, i, o = (
4540
4693
  /*$_*/
4541
4694
  (e[16]("saveButtonContent") || "Save Consents") + ""
4542
- ), a, s, c, l, u, d = t && Xt(e), m = le(
4695
+ ), a, s, h, u, c, d = t && Ht(e), m = Gt(
4543
4696
  /*consentsCategories*/
4544
4697
  e[8]
4545
4698
  ), y = [];
4546
- for (let p = 0; p < m.length; p += 1)
4547
- y[p] = Yt(Ft(e, m, p));
4548
- let g = (
4699
+ for (let g = 0; g < m.length; g += 1)
4700
+ y[g] = jt(wt(e, m, g));
4701
+ let f = (
4549
4702
  /*errorMessage*/
4550
- e[6] && Kt(e)
4703
+ e[6] && Lt(e)
4551
4704
  );
4552
4705
  return {
4553
4706
  c() {
4554
- d && d.c(), r = F();
4555
- for (let p = 0; p < y.length; p += 1)
4556
- y[p].c();
4557
- n = F(), i = T("button"), s = F(), g && g.c(), c = dn(), k(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4707
+ d && d.c(), r = Mt$1();
4708
+ for (let g = 0; g < y.length; g += 1)
4709
+ y[g].c();
4710
+ n = Mt$1(), i = E("button"), s = Mt$1(), f && f.c(), h = Pt$1(), I(i, "class", "SaveConsentsButton svelte-etk3ty"), i.disabled = a = !/*isValid*/
4558
4711
  e[14];
4559
4712
  },
4560
- m(p, S) {
4561
- d && d.m(p, S), L(p, r, S);
4713
+ m(g, S) {
4714
+ d && d.m(g, S), N$1(g, r, S);
4562
4715
  for (let _ = 0; _ < y.length; _ += 1)
4563
- y[_] && y[_].m(p, S);
4564
- L(p, n, S), L(p, i, S), i.innerHTML = o, L(p, s, S), g && g.m(p, S), L(p, c, S), l || (u = Ce(
4716
+ y[_] && y[_].m(g, S);
4717
+ N$1(g, n, S), N$1(g, i, S), i.innerHTML = o, N$1(g, s, S), f && f.m(g, S), N$1(g, h, S), u || (c = Bt$1(
4565
4718
  i,
4566
4719
  "click",
4567
4720
  /*saveChanges*/
4568
4721
  e[18]
4569
- ), l = !0);
4722
+ ), u = !0);
4570
4723
  },
4571
- p(p, S) {
4724
+ p(g, S) {
4572
4725
  if (S[0] & /*$_*/
4573
4726
  65536 && (t = /*$_*/
4574
- p[16]("title") || /*$_*/
4575
- p[16]("description")), t ? d ? d.p(p, S) : (d = Xt(p), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4727
+ g[16]("title") || /*$_*/
4728
+ g[16]("description")), t ? d ? d.p(g, S) : (d = Ht(g), d.c(), d.m(r.parentNode, r)) : d && (d.d(1), d = null), S[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription, categoryToggle, toggleCategoryConsents*/
4576
4729
  1719056) {
4577
- m = le(
4730
+ m = Gt(
4578
4731
  /*consentsCategories*/
4579
- p[8]
4732
+ g[8]
4580
4733
  );
4581
4734
  let _;
4582
4735
  for (_ = 0; _ < m.length; _ += 1) {
4583
- const v = Ft(p, m, _);
4584
- y[_] ? y[_].p(v, S) : (y[_] = Yt(v), y[_].c(), y[_].m(n.parentNode, n));
4736
+ const v = wt(g, m, _);
4737
+ y[_] ? y[_].p(v, S) : (y[_] = jt(v), y[_].c(), y[_].m(n.parentNode, n));
4585
4738
  }
4586
4739
  for (; _ < y.length; _ += 1)
4587
4740
  y[_].d(1);
@@ -4589,56 +4742,56 @@ function wo(e) {
4589
4742
  }
4590
4743
  S[0] & /*$_*/
4591
4744
  65536 && o !== (o = /*$_*/
4592
- (p[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4745
+ (g[16]("saveButtonContent") || "Save Consents") + "") && (i.innerHTML = o), S[0] & /*isValid*/
4593
4746
  16384 && a !== (a = !/*isValid*/
4594
- p[14]) && (i.disabled = a), /*errorMessage*/
4595
- p[6] ? g ? g.p(p, S) : (g = Kt(p), g.c(), g.m(c.parentNode, c)) : g && (g.d(1), g = null);
4747
+ g[14]) && (i.disabled = a), /*errorMessage*/
4748
+ g[6] ? f ? f.p(g, S) : (f = Lt(g), f.c(), f.m(h.parentNode, h)) : f && (f.d(1), f = null);
4596
4749
  },
4597
- d(p) {
4598
- p && (O(r), O(n), O(i), O(s), O(c)), d && d.d(p), yt(y, p), g && g.d(p), l = !1, u();
4750
+ d(g) {
4751
+ g && (x(r), x(n), x(i), x(s), x(h)), d && d.d(g), Ot$1(y, g), f && f.d(g), u = !1, c();
4599
4752
  }
4600
4753
  };
4601
4754
  }
4602
- function To(e) {
4755
+ function Wi(e) {
4603
4756
  let t, r, n;
4604
4757
  return {
4605
4758
  c() {
4606
- t = T("div"), r = T("strong"), n = ee(
4759
+ t = E("div"), r = E("strong"), n = z(
4607
4760
  /*fatalError*/
4608
4761
  e[7]
4609
- ), k(r, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ContainerCenter svelte-etk3ty");
4762
+ ), I(r, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ContainerCenter svelte-etk3ty");
4610
4763
  },
4611
4764
  m(i, o) {
4612
- L(i, t, o), x(t, r), x(r, n);
4765
+ N$1(i, t, o), tt(t, r), tt(r, n);
4613
4766
  },
4614
4767
  p(i, o) {
4615
4768
  o[0] & /*fatalError*/
4616
- 128 && Te(
4769
+ 128 && Rt(
4617
4770
  n,
4618
4771
  /*fatalError*/
4619
4772
  i[7]
4620
4773
  );
4621
4774
  },
4622
4775
  d(i) {
4623
- i && O(t);
4776
+ i && x(t);
4624
4777
  }
4625
4778
  };
4626
4779
  }
4627
- function Mo(e) {
4780
+ function Zi(e) {
4628
4781
  let t;
4629
4782
  return {
4630
4783
  c() {
4631
- t = T("general-animation-loading"), K(
4784
+ t = E("general-animation-loading"), Ht$1(
4632
4785
  t,
4633
4786
  "clientstyling",
4634
4787
  /*clientstyling*/
4635
4788
  e[1]
4636
- ), K(
4789
+ ), Ht$1(
4637
4790
  t,
4638
4791
  "clientstylingurl",
4639
4792
  /*clientstylingurl*/
4640
4793
  e[2]
4641
- ), K(
4794
+ ), Ht$1(
4642
4795
  t,
4643
4796
  "mbsource",
4644
4797
  /*mbsource*/
@@ -4646,23 +4799,23 @@ function Mo(e) {
4646
4799
  );
4647
4800
  },
4648
4801
  m(r, n) {
4649
- L(r, t, n);
4802
+ N$1(r, t, n);
4650
4803
  },
4651
4804
  p(r, n) {
4652
4805
  n[0] & /*clientstyling*/
4653
- 2 && K(
4806
+ 2 && Ht$1(
4654
4807
  t,
4655
4808
  "clientstyling",
4656
4809
  /*clientstyling*/
4657
4810
  r[1]
4658
4811
  ), n[0] & /*clientstylingurl*/
4659
- 4 && K(
4812
+ 4 && Ht$1(
4660
4813
  t,
4661
4814
  "clientstylingurl",
4662
4815
  /*clientstylingurl*/
4663
4816
  r[2]
4664
4817
  ), n[0] & /*mbsource*/
4665
- 8 && K(
4818
+ 8 && Ht$1(
4666
4819
  t,
4667
4820
  "mbsource",
4668
4821
  /*mbsource*/
@@ -4670,12 +4823,12 @@ function Mo(e) {
4670
4823
  );
4671
4824
  },
4672
4825
  d(r) {
4673
- r && O(t);
4826
+ r && x(t);
4674
4827
  }
4675
4828
  };
4676
4829
  }
4677
- function Vt(e) {
4678
- let t, r, n, i, o, a, s, c, l = (
4830
+ function At(e) {
4831
+ let t, r, n, i, o, a, s, h, u = (
4679
4832
  /*translate*/
4680
4833
  e[17](
4681
4834
  `${/*consent*/
@@ -4683,10 +4836,10 @@ function Vt(e) {
4683
4836
  /*consent*/
4684
4837
  e[65].friendlyName
4685
4838
  ) + ""
4686
- ), u = (
4839
+ ), c = (
4687
4840
  /*consent*/
4688
4841
  e[65].mustAccept ? " *" : ""
4689
- ), d, m, y, g, p, S, _, v, C;
4842
+ ), d, m, y, f, g, S, _, v, C;
4690
4843
  function H(...E) {
4691
4844
  return (
4692
4845
  /*input_handler_1*/
@@ -4699,129 +4852,129 @@ function Vt(e) {
4699
4852
  }
4700
4853
  return {
4701
4854
  c() {
4702
- t = T("div"), r = T("input"), o = F(), a = T("label"), s = T("div"), c = new rr(!1), d = ee(u), y = F(), g = T("small"), S = F(), k(r, "class", "checkbox__input svelte-etk3ty"), k(r, "type", "checkbox"), r.checked = n = /*consent*/
4703
- e[65].status === "1", k(r, "id", i = `${/*consent*/
4704
- e[65].tagCode}__input`), c.a = d, k(s, "class", "checkbox__label-text svelte-etk3ty"), k(a, "class", "checkbox__label svelte-etk3ty"), k(a, "for", m = `${/*consent*/
4705
- e[65].tagCode}__input`), k(g, "class", "checkbox__error-message svelte-etk3ty"), k(g, "id", p = "checkBoxError__" + /*consent*/
4706
- e[65].tagCode), k(t, "class", _ = "checkbox__wrapper " + /*consent*/
4855
+ t = E("div"), r = E("input"), o = Mt$1(), a = E("label"), s = E("div"), h = new Dt(!1), d = z(c), y = Mt$1(), f = E("small"), S = Mt$1(), I(r, "class", "checkbox__input svelte-etk3ty"), I(r, "type", "checkbox"), r.checked = n = /*consent*/
4856
+ e[65].status === "1", I(r, "id", i = `${/*consent*/
4857
+ e[65].tagCode}__input`), h.a = d, I(s, "class", "checkbox__label-text svelte-etk3ty"), I(a, "class", "checkbox__label svelte-etk3ty"), I(a, "for", m = `${/*consent*/
4858
+ e[65].tagCode}__input`), I(f, "class", "checkbox__error-message svelte-etk3ty"), I(f, "id", g = "checkBoxError__" + /*consent*/
4859
+ e[65].tagCode), I(t, "class", _ = "checkbox__wrapper " + /*consent*/
4707
4860
  e[65].tagCode + "__input svelte-etk3ty");
4708
4861
  },
4709
- m(E, z) {
4710
- L(E, t, z), x(t, r), x(t, o), x(t, a), x(a, s), c.m(l, s), x(s, d), x(t, y), x(t, g), x(t, S), v || (C = Ce(r, "input", H), v = !0);
4862
+ m(E, O) {
4863
+ N$1(E, t, O), tt(t, r), tt(t, o), tt(t, a), tt(a, s), h.m(u, s), tt(s, d), tt(t, y), tt(t, f), tt(t, S), v || (C = Bt$1(r, "input", H), v = !0);
4711
4864
  },
4712
- p(E, z) {
4713
- e = E, z[0] & /*playerConsents*/
4865
+ p(E, O) {
4866
+ e = E, O[0] & /*playerConsents*/
4714
4867
  512 && n !== (n = /*consent*/
4715
- e[65].status === "1") && (r.checked = n), z[0] & /*playerConsents*/
4868
+ e[65].status === "1") && (r.checked = n), O[0] & /*playerConsents*/
4716
4869
  512 && i !== (i = `${/*consent*/
4717
- e[65].tagCode}__input`) && k(r, "id", i), z[0] & /*playerConsents*/
4718
- 512 && l !== (l = /*translate*/
4870
+ e[65].tagCode}__input`) && I(r, "id", i), O[0] & /*playerConsents*/
4871
+ 512 && u !== (u = /*translate*/
4719
4872
  e[17](
4720
4873
  `${/*consent*/
4721
4874
  e[65].tagCode}__description`,
4722
4875
  /*consent*/
4723
4876
  e[65].friendlyName
4724
- ) + "") && c.p(l), z[0] & /*playerConsents*/
4725
- 512 && u !== (u = /*consent*/
4726
- e[65].mustAccept ? " *" : "") && Te(d, u), z[0] & /*playerConsents*/
4877
+ ) + "") && h.p(u), O[0] & /*playerConsents*/
4878
+ 512 && c !== (c = /*consent*/
4879
+ e[65].mustAccept ? " *" : "") && Rt(d, c), O[0] & /*playerConsents*/
4727
4880
  512 && m !== (m = `${/*consent*/
4728
- e[65].tagCode}__input`) && k(a, "for", m), z[0] & /*playerConsents*/
4729
- 512 && p !== (p = "checkBoxError__" + /*consent*/
4730
- e[65].tagCode) && k(g, "id", p), z[0] & /*playerConsents*/
4881
+ e[65].tagCode}__input`) && I(a, "for", m), O[0] & /*playerConsents*/
4882
+ 512 && g !== (g = "checkBoxError__" + /*consent*/
4883
+ e[65].tagCode) && I(f, "id", g), O[0] & /*playerConsents*/
4731
4884
  512 && _ !== (_ = "checkbox__wrapper " + /*consent*/
4732
- e[65].tagCode + "__input svelte-etk3ty") && k(t, "class", _);
4885
+ e[65].tagCode + "__input svelte-etk3ty") && I(t, "class", _);
4733
4886
  },
4734
4887
  d(E) {
4735
- E && O(t), v = !1, C();
4888
+ E && x(t), v = !1, C();
4736
4889
  }
4737
4890
  };
4738
4891
  }
4739
- function Xt(e) {
4892
+ function Ht(e) {
4740
4893
  let t, r = (
4741
4894
  /*$_*/
4742
4895
  e[16]("title")
4743
4896
  ), n, i = (
4744
4897
  /*$_*/
4745
4898
  e[16]("description")
4746
- ), o = r && qt(e), a = i && Wt(e);
4899
+ ), o = r && Pt(e), a = i && Bt(e);
4747
4900
  return {
4748
4901
  c() {
4749
- t = T("div"), o && o.c(), n = F(), a && a.c(), k(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4902
+ t = E("div"), o && o.c(), n = Mt$1(), a && a.c(), I(t, "class", "PlayerConsentsHeader svelte-etk3ty");
4750
4903
  },
4751
- m(s, c) {
4752
- L(s, t, c), o && o.m(t, null), x(t, n), a && a.m(t, null);
4904
+ m(s, h) {
4905
+ N$1(s, t, h), o && o.m(t, null), tt(t, n), a && a.m(t, null);
4753
4906
  },
4754
- p(s, c) {
4755
- c[0] & /*$_*/
4907
+ p(s, h) {
4908
+ h[0] & /*$_*/
4756
4909
  65536 && (r = /*$_*/
4757
- s[16]("title")), r ? o ? o.p(s, c) : (o = qt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), c[0] & /*$_*/
4910
+ s[16]("title")), r ? o ? o.p(s, h) : (o = Pt(s), o.c(), o.m(t, n)) : o && (o.d(1), o = null), h[0] & /*$_*/
4758
4911
  65536 && (i = /*$_*/
4759
- s[16]("description")), i ? a ? a.p(s, c) : (a = Wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4912
+ s[16]("description")), i ? a ? a.p(s, h) : (a = Bt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4760
4913
  },
4761
4914
  d(s) {
4762
- s && O(t), o && o.d(), a && a.d();
4915
+ s && x(t), o && o.d(), a && a.d();
4763
4916
  }
4764
4917
  };
4765
4918
  }
4766
- function qt(e) {
4919
+ function Pt(e) {
4767
4920
  let t, r = (
4768
4921
  /*$_*/
4769
4922
  e[16]("title") + ""
4770
4923
  ), n;
4771
4924
  return {
4772
4925
  c() {
4773
- t = T("h2"), n = ee(r), k(t, "class", "PlayerConsentsTitle");
4926
+ t = E("h2"), n = z(r), I(t, "class", "PlayerConsentsTitle");
4774
4927
  },
4775
4928
  m(i, o) {
4776
- L(i, t, o), x(t, n);
4929
+ N$1(i, t, o), tt(t, n);
4777
4930
  },
4778
4931
  p(i, o) {
4779
4932
  o[0] & /*$_*/
4780
4933
  65536 && r !== (r = /*$_*/
4781
- i[16]("title") + "") && Te(n, r);
4934
+ i[16]("title") + "") && Rt(n, r);
4782
4935
  },
4783
4936
  d(i) {
4784
- i && O(t);
4937
+ i && x(t);
4785
4938
  }
4786
4939
  };
4787
4940
  }
4788
- function Wt(e) {
4941
+ function Bt(e) {
4789
4942
  let t, r = (
4790
4943
  /*$_*/
4791
4944
  e[16]("description") + ""
4792
4945
  ), n;
4793
4946
  return {
4794
4947
  c() {
4795
- t = T("p"), n = ee(r), k(t, "class", "PlayerConsentsDescription");
4948
+ t = E("p"), n = z(r), I(t, "class", "PlayerConsentsDescription");
4796
4949
  },
4797
4950
  m(i, o) {
4798
- L(i, t, o), x(t, n);
4951
+ N$1(i, t, o), tt(t, n);
4799
4952
  },
4800
4953
  p(i, o) {
4801
4954
  o[0] & /*$_*/
4802
4955
  65536 && r !== (r = /*$_*/
4803
- i[16]("description") + "") && Te(n, r);
4956
+ i[16]("description") + "") && Rt(n, r);
4804
4957
  },
4805
4958
  d(i) {
4806
- i && O(t);
4959
+ i && x(t);
4807
4960
  }
4808
4961
  };
4809
4962
  }
4810
- function Zt(e) {
4963
+ function Ot(e) {
4811
4964
  let t;
4812
4965
  return {
4813
4966
  c() {
4814
- t = T("sup"), t.textContent = "*", k(t, "class", "ConsentRequired svelte-etk3ty");
4967
+ t = E("sup"), t.textContent = "*", I(t, "class", "ConsentRequired svelte-etk3ty");
4815
4968
  },
4816
4969
  m(r, n) {
4817
- L(r, t, n);
4970
+ N$1(r, t, n);
4818
4971
  },
4819
4972
  d(r) {
4820
- r && O(t);
4973
+ r && x(t);
4821
4974
  }
4822
4975
  };
4823
4976
  }
4824
- function Jt(e) {
4977
+ function zt(e) {
4825
4978
  let t, r = (
4826
4979
  /*translate*/
4827
4980
  e[17](
@@ -4833,10 +4986,10 @@ function Jt(e) {
4833
4986
  );
4834
4987
  return {
4835
4988
  c() {
4836
- t = T("p"), k(t, "class", "ConsentDescription svelte-etk3ty");
4989
+ t = E("p"), I(t, "class", "ConsentDescription svelte-etk3ty");
4837
4990
  },
4838
4991
  m(n, i) {
4839
- L(n, t, i), t.innerHTML = r;
4992
+ N$1(n, t, i), t.innerHTML = r;
4840
4993
  },
4841
4994
  p(n, i) {
4842
4995
  i[0] & /*playerConsents, consentsCategories*/
@@ -4849,11 +5002,11 @@ function Jt(e) {
4849
5002
  ) + "") && (t.innerHTML = r);
4850
5003
  },
4851
5004
  d(n) {
4852
- n && O(t);
5005
+ n && x(t);
4853
5006
  }
4854
5007
  };
4855
5008
  }
4856
- function Qt(e) {
5009
+ function It(e) {
4857
5010
  let t, r, n, i, o = (
4858
5011
  /*translate*/
4859
5012
  e[17](
@@ -4862,12 +5015,12 @@ function Qt(e) {
4862
5015
  /*consent*/
4863
5016
  e[65].friendlyName
4864
5017
  ) + ""
4865
- ), a, s, c, l, u, d, m, y, g, p, S, _ = (
5018
+ ), a, s, h, u, c, d, m, y, f, g, S, _ = (
4866
5019
  /*consent*/
4867
- e[65].mustAccept === !0 && Zt()
5020
+ e[65].mustAccept === !0 && Ot()
4868
5021
  ), v = (
4869
5022
  /*displayconsentdescription*/
4870
- e[4] === "true" && Jt(e)
5023
+ e[4] === "true" && zt(e)
4871
5024
  );
4872
5025
  function C(...H) {
4873
5026
  return (
@@ -4881,19 +5034,19 @@ function Qt(e) {
4881
5034
  }
4882
5035
  return {
4883
5036
  c() {
4884
- t = T("div"), r = T("div"), n = T("h4"), i = new rr(!1), a = F(), _ && _.c(), s = F(), v && v.c(), c = F(), l = T("label"), u = T("input"), y = F(), g = T("span"), i.a = a, k(n, "class", "ConsentName svelte-etk3ty"), k(r, "class", "ConsentContent"), k(u, "type", "checkbox"), u.disabled = d = /*consent*/
5037
+ t = E("div"), r = E("div"), n = E("h4"), i = new Dt(!1), a = Mt$1(), _ && _.c(), s = Mt$1(), v && v.c(), h = Mt$1(), u = E("label"), c = E("input"), y = Mt$1(), f = E("span"), i.a = a, I(n, "class", "ConsentName svelte-etk3ty"), I(r, "class", "ConsentContent"), I(c, "type", "checkbox"), c.disabled = d = /*consent*/
4885
5038
  e[65].mustAccept === !0 && /*initialConsentsState*/
4886
5039
  e[12][
4887
5040
  /*consent*/
4888
5041
  e[65].tagCode
4889
- ] === !0, u.checked = m = /*consentsState*/
5042
+ ] === !0, c.checked = m = /*consentsState*/
4890
5043
  e[13][
4891
5044
  /*consent*/
4892
5045
  e[65].tagCode
4893
- ], k(u, "class", "svelte-etk3ty"), k(g, "class", "Slider Round svelte-etk3ty"), k(l, "class", "ToggleSwitch svelte-etk3ty"), k(t, "class", "ConsentItem svelte-etk3ty");
5046
+ ], I(c, "class", "svelte-etk3ty"), I(f, "class", "Slider Round svelte-etk3ty"), I(u, "class", "ToggleSwitch svelte-etk3ty"), I(t, "class", "ConsentItem svelte-etk3ty");
4894
5047
  },
4895
5048
  m(H, E) {
4896
- L(H, t, E), x(t, r), x(r, n), i.m(o, n), x(n, a), _ && _.m(n, null), x(r, s), v && v.m(r, null), x(t, c), x(t, l), x(l, u), x(l, y), x(l, g), p || (S = Ce(u, "input", C), p = !0);
5049
+ N$1(H, t, E), tt(t, r), tt(r, n), i.m(o, n), tt(n, a), _ && _.m(n, null), tt(r, s), v && v.m(r, null), tt(t, h), tt(t, u), tt(u, c), tt(u, y), tt(u, f), g || (S = Bt$1(c, "input", C), g = !0);
4897
5050
  },
4898
5051
  p(H, E) {
4899
5052
  e = H, E[0] & /*playerConsents, consentsCategories*/
@@ -4904,26 +5057,26 @@ function Qt(e) {
4904
5057
  /*consent*/
4905
5058
  e[65].friendlyName
4906
5059
  ) + "") && i.p(o), /*consent*/
4907
- e[65].mustAccept === !0 ? _ || (_ = Zt(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
4908
- e[4] === "true" ? v ? v.p(e, E) : (v = Jt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
5060
+ e[65].mustAccept === !0 ? _ || (_ = Ot(), _.c(), _.m(n, null)) : _ && (_.d(1), _ = null), /*displayconsentdescription*/
5061
+ e[4] === "true" ? v ? v.p(e, E) : (v = zt(e), v.c(), v.m(r, null)) : v && (v.d(1), v = null), E[0] & /*playerConsents, consentsCategories, initialConsentsState*/
4909
5062
  4864 && d !== (d = /*consent*/
4910
5063
  e[65].mustAccept === !0 && /*initialConsentsState*/
4911
5064
  e[12][
4912
5065
  /*consent*/
4913
5066
  e[65].tagCode
4914
- ] === !0) && (u.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
5067
+ ] === !0) && (c.disabled = d), E[0] & /*consentsState, playerConsents, consentsCategories*/
4915
5068
  8960 && m !== (m = /*consentsState*/
4916
5069
  e[13][
4917
5070
  /*consent*/
4918
5071
  e[65].tagCode
4919
- ]) && (u.checked = m);
5072
+ ]) && (c.checked = m);
4920
5073
  },
4921
5074
  d(H) {
4922
- H && O(t), _ && _.d(), v && v.d(), p = !1, S();
5075
+ H && x(t), _ && _.d(), v && v.d(), g = !1, S();
4923
5076
  }
4924
5077
  };
4925
5078
  }
4926
- function Yt(e) {
5079
+ function jt(e) {
4927
5080
  let t, r, n, i = (
4928
5081
  /*translate*/
4929
5082
  e[17](
@@ -4932,15 +5085,15 @@ function Yt(e) {
4932
5085
  /*category*/
4933
5086
  e[62].friendlyName
4934
5087
  ) + ""
4935
- ), o, a, s, c, l, u, d, m, y;
4936
- function g() {
5088
+ ), o, a, s, h, u, c, d, m, y;
5089
+ function f() {
4937
5090
  e[27].call(
4938
5091
  s,
4939
5092
  /*category*/
4940
5093
  e[62]
4941
5094
  );
4942
5095
  }
4943
- function p() {
5096
+ function g() {
4944
5097
  return (
4945
5098
  /*change_handler*/
4946
5099
  e[28](
@@ -4949,7 +5102,7 @@ function Yt(e) {
4949
5102
  )
4950
5103
  );
4951
5104
  }
4952
- function S(...C) {
5105
+ function S$1(...C) {
4953
5106
  return (
4954
5107
  /*func*/
4955
5108
  e[29](
@@ -4959,30 +5112,30 @@ function Yt(e) {
4959
5112
  )
4960
5113
  );
4961
5114
  }
4962
- let _ = le(
5115
+ let _ = Gt(
4963
5116
  /*playerConsents*/
4964
- e[9].filter(S)
5117
+ e[9].filter(S$1)
4965
5118
  ), v = [];
4966
5119
  for (let C = 0; C < _.length; C += 1)
4967
- v[C] = Qt($t(e, _, C));
5120
+ v[C] = It(Nt(e, _, C));
4968
5121
  return {
4969
5122
  c() {
4970
- t = T("div"), r = T("div"), n = T("h3"), o = F(), a = T("label"), s = T("input"), c = F(), l = T("span"), u = F(), d = T("div");
5123
+ t = E("div"), r = E("div"), n = E("h3"), o = Mt$1(), a = E("label"), s = E("input"), h = Mt$1(), u = E("span"), c = Mt$1(), d = E("div");
4971
5124
  for (let C = 0; C < v.length; C += 1)
4972
5125
  v[C].c();
4973
- k(s, "type", "checkbox"), k(s, "class", "svelte-etk3ty"), k(l, "class", "Slider Round svelte-etk3ty"), k(a, "class", "ToggleSwitch Big svelte-etk3ty"), k(r, "class", "AccordionHeader svelte-etk3ty"), k(d, "class", "AccordionContent svelte-etk3ty"), k(t, "class", "AccordionItem svelte-etk3ty");
5126
+ I(s, "type", "checkbox"), I(s, "class", "svelte-etk3ty"), I(u, "class", "Slider Round svelte-etk3ty"), I(a, "class", "ToggleSwitch Big svelte-etk3ty"), I(r, "class", "AccordionHeader svelte-etk3ty"), I(d, "class", "AccordionContent svelte-etk3ty"), I(t, "class", "AccordionItem svelte-etk3ty");
4974
5127
  },
4975
5128
  m(C, H) {
4976
- L(C, t, H), x(t, r), x(r, n), n.innerHTML = i, x(r, o), x(r, a), x(a, s), s.checked = /*categoryToggle*/
5129
+ N$1(C, t, H), tt(t, r), tt(r, n), n.innerHTML = i, tt(r, o), tt(r, a), tt(a, s), s.checked = /*categoryToggle*/
4977
5130
  e[11][
4978
5131
  /*category*/
4979
5132
  e[62].categoryTagCode
4980
- ], x(a, c), x(a, l), x(t, u), x(t, d);
5133
+ ], tt(a, h), tt(a, u), tt(t, c), tt(t, d);
4981
5134
  for (let E = 0; E < v.length; E += 1)
4982
5135
  v[E] && v[E].m(d, null);
4983
5136
  m || (y = [
4984
- Ce(s, "change", g),
4985
- Ce(s, "change", p)
5137
+ Bt$1(s, "change", f),
5138
+ Bt$1(s, "change", g)
4986
5139
  ], m = !0);
4987
5140
  },
4988
5141
  p(C, H) {
@@ -5000,14 +5153,14 @@ function Yt(e) {
5000
5153
  e[62].categoryTagCode
5001
5154
  ]), H[0] & /*playerConsents, consentsCategories, initialConsentsState, consentsState, handleInput, translate, displayconsentdescription*/
5002
5155
  1192720) {
5003
- _ = le(
5156
+ _ = Gt(
5004
5157
  /*playerConsents*/
5005
- e[9].filter(S)
5158
+ e[9].filter(S$1)
5006
5159
  );
5007
5160
  let E;
5008
5161
  for (E = 0; E < _.length; E += 1) {
5009
- const z = $t(e, _, E);
5010
- v[E] ? v[E].p(z, H) : (v[E] = Qt(z), v[E].c(), v[E].m(d, null));
5162
+ const O = Nt(e, _, E);
5163
+ v[E] ? v[E].p(O, H) : (v[E] = It(O), v[E].c(), v[E].m(d, null));
5011
5164
  }
5012
5165
  for (; E < v.length; E += 1)
5013
5166
  v[E].d(1);
@@ -5015,261 +5168,261 @@ function Yt(e) {
5015
5168
  }
5016
5169
  },
5017
5170
  d(C) {
5018
- C && O(t), yt(v, C), m = !1, me(y);
5171
+ C && x(t), Ot$1(v, C), m = !1, S(y);
5019
5172
  }
5020
5173
  };
5021
5174
  }
5022
- function Kt(e) {
5175
+ function Lt(e) {
5023
5176
  let t, r, n, i, o;
5024
5177
  return {
5025
5178
  c() {
5026
- t = T("div"), r = T("circle-exclamation-icon"), n = F(), i = T("strong"), o = ee(
5179
+ t = E("div"), r = E("circle-exclamation-icon"), n = Mt$1(), i = E("strong"), o = z(
5027
5180
  /*errorMessage*/
5028
5181
  e[6]
5029
- ), K(r, "class", "svelte-etk3ty"), k(i, "class", "ErrorMessage svelte-etk3ty"), k(t, "class", "ConsentErrorContainer svelte-etk3ty");
5182
+ ), Ht$1(r, "class", "svelte-etk3ty"), I(i, "class", "ErrorMessage svelte-etk3ty"), I(t, "class", "ConsentErrorContainer svelte-etk3ty");
5030
5183
  },
5031
5184
  m(a, s) {
5032
- L(a, t, s), x(t, r), x(t, n), x(t, i), x(i, o);
5185
+ N$1(a, t, s), tt(t, r), tt(t, n), tt(t, i), tt(i, o);
5033
5186
  },
5034
5187
  p(a, s) {
5035
5188
  s[0] & /*errorMessage*/
5036
- 64 && Te(
5189
+ 64 && Rt(
5037
5190
  o,
5038
5191
  /*errorMessage*/
5039
5192
  a[6]
5040
5193
  );
5041
5194
  },
5042
5195
  d(a) {
5043
- a && O(t);
5196
+ a && x(t);
5044
5197
  }
5045
5198
  };
5046
5199
  }
5047
- function No(e) {
5200
+ function Ji(e) {
5048
5201
  let t, r;
5049
5202
  function n(a, s) {
5050
5203
  if (
5051
5204
  /*isLoading*/
5052
5205
  a[10]
5053
5206
  )
5054
- return Mo;
5207
+ return Zi;
5055
5208
  if (
5056
5209
  /*fatalError*/
5057
5210
  a[7]
5058
5211
  )
5059
- return To;
5212
+ return Wi;
5060
5213
  if (
5061
5214
  /*session*/
5062
5215
  a[0]
5063
5216
  )
5064
- return wo;
5217
+ return qi;
5065
5218
  if (!/*session*/
5066
5219
  a[0])
5067
- return xo;
5220
+ return Xi;
5068
5221
  }
5069
5222
  let i = n(e), o = i && i(e);
5070
5223
  return {
5071
5224
  c() {
5072
- t = T("div"), r = T("div"), o && o.c(), k(r, "class", "ConsentsContainer svelte-etk3ty"), k(t, "class", "" + " svelte-etk3ty");
5225
+ t = E("div"), r = E("div"), o && o.c(), I(r, "class", "ConsentsContainer svelte-etk3ty"), I(t, "class", kt$1("") + " svelte-etk3ty");
5073
5226
  },
5074
5227
  m(a, s) {
5075
- L(a, t, s), x(t, r), o && o.m(r, null), e[33](r);
5228
+ N$1(a, t, s), tt(t, r), o && o.m(r, null), e[33](r);
5076
5229
  },
5077
5230
  p(a, s) {
5078
5231
  i === (i = n(a)) && o ? o.p(a, s) : (o && o.d(1), o = i && i(a), o && (o.c(), o.m(r, null)));
5079
5232
  },
5080
- i: $,
5081
- o: $,
5233
+ i: h,
5234
+ o: h,
5082
5235
  d(a) {
5083
- a && O(t), o && o.d(), e[33](null);
5236
+ a && x(t), o && o.d(), e[33](null);
5084
5237
  }
5085
5238
  };
5086
5239
  }
5087
- function Ao(e, t, r) {
5240
+ function Qi(e, t, r) {
5088
5241
  let n;
5089
- ln(e, bo, (h) => r(16, n = h));
5090
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: l } = t, { lang: u = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, g, p, S = !1, _ = !1, v = "", C = "", H = "", E = "", z = [], J = [], j = [], _e = !0, Ne = !0, V = {}, Ae = {}, Q = {}, D = {}, ye, He, R = {
5242
+ jt$1(e, Ui, (l) => r(16, n = l));
5243
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: a = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: u } = t, { lang: c = "en" } = t, { displayconsentdescription: d = "" } = t, { translationurl: m = "" } = t, { modalconsents: y = "false" } = t, f, g, S = !1, _ = !1, v$1 = "", C = "", H = "", E = "", O = [], J = [], z = [], ce = !0, be = !0, F = {}, Ee = {}, Q = {}, U = {}, ue, Ce, R = {
5091
5244
  none: { key: "0", value: "None" },
5092
5245
  accepted: { key: "1", value: "Accepted" },
5093
5246
  expired: { key: "2", value: "Expired" },
5094
5247
  denied: { key: "3", value: "Denied" },
5095
5248
  suspended: { key: "4", value: "Suspended" }
5096
- }, Pe = !1;
5097
- Object.keys(Dt).forEach((h) => {
5098
- Ut(h, Dt[h]);
5249
+ }, Se = !1;
5250
+ Object.keys(Tt).forEach((l) => {
5251
+ xt(l, Tt[l]);
5099
5252
  });
5100
- const Pr = () => {
5101
- ko(u);
5102
- }, Br = () => {
5103
- let h = new URL(m);
5104
- fetch(h.href).then((f) => f.json()).then((f) => {
5105
- Object.keys(f).forEach((w) => {
5106
- Ut(w, f[w]);
5253
+ const pr = () => {
5254
+ Di(c);
5255
+ }, gr = () => {
5256
+ let l = new URL(m);
5257
+ fetch(l.href).then((p) => p.json()).then((p) => {
5258
+ Object.keys(p).forEach((x) => {
5259
+ xt(x, p[x]);
5107
5260
  });
5108
- }).catch((f) => {
5109
- console.log(f);
5261
+ }).catch((p) => {
5262
+ console.log(p);
5110
5263
  });
5111
- }, Or = (h, f) => {
5112
- const w = n(h);
5113
- return w !== h ? w : f;
5114
- }, zr = () => {
5115
- i && (v = i, _ = !0), o && (C = o);
5116
- }, Be = (h, f = !1) => {
5117
- f ? r(7, E = h) : (Dr(), r(6, H = h));
5118
- }, ve = (h, f, w, b = !1) => re(this, null, function* () {
5264
+ }, fr = (l, p) => {
5265
+ const x = n(l);
5266
+ return x !== l ? x : p;
5267
+ }, _r = () => {
5268
+ i && (v$1 = i, _ = !0), o && (C = o);
5269
+ }, xe = (l, p = !1) => {
5270
+ p ? r(7, E = l) : (Cr(), r(6, H = l));
5271
+ }, he = (l, p, x, k = !1) => me(this, null, function* () {
5119
5272
  try {
5120
- const M = yield fetch(h, w);
5273
+ const M = yield fetch(l, x);
5121
5274
  if (!M.ok)
5122
- throw new Error(n(f));
5275
+ throw new Error(n(p));
5123
5276
  const I = yield M.json();
5124
- return _ ? I : I.filter((q) => q.showOnRegister === !0);
5277
+ return _ ? I : I.filter((V) => V.showOnRegister === !0);
5125
5278
  } catch (M) {
5126
- throw Be(
5127
- M instanceof TypeError ? n(f) : M.message,
5128
- b
5279
+ throw xe(
5280
+ M instanceof TypeError ? n(p) : M.message,
5281
+ k
5129
5282
  ), M;
5130
5283
  }
5131
- }), Lr = () => re(this, null, function* () {
5284
+ }), yr = () => me(this, null, function* () {
5132
5285
  try {
5133
- let h = [], f = [];
5134
- if (_ ? [h, f] = yield kt() : h = yield kt(), r(10, _e = !1), J = [...h], r(8, z = Ir(J).sort((w, b) => w.categoryTagCode.localeCompare(b.categoryTagCode))), r(11, V = Rr(z)), Ae = W({}, V), r(9, j = [...f]), J.forEach((w) => {
5135
- let b = j.find((M) => M.tagCode === w.tagCode);
5136
- b || (b = Je(W({}, w), {
5286
+ let l = [], p = [];
5287
+ if (_ ? [l, p] = yield it() : l = yield it(), r(10, ce = !1), J = [...l], r(8, O = kr(J).sort((x, k) => x.categoryTagCode.localeCompare(k.categoryTagCode))), r(11, F = br(O)), Ee = Z({}, F), r(9, z = [...p]), J.forEach((x) => {
5288
+ let k = z.find((M) => M.tagCode === x.tagCode);
5289
+ k || (k = ct(Z({}, x), {
5137
5290
  status: R.denied.value
5138
- }), j.push(b)), b.description = w.description, b.orderNumber = w.orderNumber;
5291
+ }), z.push(k)), k.description = x.description, k.orderNumber = x.orderNumber;
5139
5292
  }), y === "true") {
5140
- if (r(9, j = j.filter((w) => w.status === R.expired.value)), j.length !== 0)
5293
+ if (r(9, z = z.filter((x) => x.status === R.expired.value)), z.length !== 0)
5141
5294
  return;
5142
- Be(n("wrongModalConfig"), !0);
5295
+ xe(n("wrongModalConfig"), !0);
5143
5296
  }
5144
- Ur();
5145
- } catch (h) {
5146
- throw r(10, _e = !1), Be(
5147
- h instanceof TypeError ? n("invalidUrl") : h.message,
5297
+ Er();
5298
+ } catch (l) {
5299
+ throw r(10, ce = !1), xe(
5300
+ l instanceof TypeError ? n("invalidUrl") : l.message,
5148
5301
  !0
5149
- ), h;
5302
+ ), l;
5150
5303
  }
5151
- }), kt = () => re(this, null, function* () {
5152
- const h = new URL(`${a}/api/v1/gm/consents`);
5153
- if (h.searchParams.append("Status", "Active"), !_)
5154
- return yield ve(h.href, "fetchConsentsError", { method: "GET" }, !0);
5155
- const f = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5304
+ }), it = () => me(this, null, function* () {
5305
+ const l = new URL(`${a}/api/v1/gm/consents`);
5306
+ if (l.searchParams.append("Status", "Active"), !_)
5307
+ return yield he(l.href, "fetchConsentsError", { method: "GET" }, !0);
5308
+ const p = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5156
5309
  return yield Promise.all([
5157
- ve(h.href, "fetchConsentsError", { method: "GET" }, !0),
5158
- ve(f.href, "fetchPlayerConsentsError", {
5310
+ he(l.href, "fetchConsentsError", { method: "GET" }, !0),
5311
+ he(p.href, "fetchPlayerConsentsError", {
5159
5312
  method: "GET",
5160
5313
  headers: {
5161
- "X-SessionId": v,
5314
+ "X-SessionId": v$1,
5162
5315
  "Content-Type": "application/json"
5163
5316
  }
5164
5317
  })
5165
5318
  ]);
5166
- }), jr = () => {
5167
- Pe = !1;
5168
- const h = new URL(`${a}/api/v2/gm/legislation/consents`), f = {
5319
+ }), vr = () => {
5320
+ Se = !1;
5321
+ const l = new URL(`${a}/api/v2/gm/legislation/consents`), p = {
5169
5322
  "Content-Type": "application/json",
5170
5323
  Accept: "application/json"
5171
- }, w = { method: "GET", headers: f };
5172
- fetch(h.href, w).then((b) => b.ok ? b.json() : (Pe = !0, b.json().then((M) => (console.error(M), Oe(M))))).then((b) => {
5173
- if (!Pe) {
5174
- if (J = b, localStorage.getItem("playerConsents")) {
5324
+ }, x = { method: "GET", headers: p };
5325
+ fetch(l.href, x).then((k) => k.ok ? k.json() : (Se = !0, k.json().then((M) => (console.error(M), Te(M))))).then((k) => {
5326
+ if (!Se) {
5327
+ if (J = k, localStorage.getItem("playerConsents")) {
5175
5328
  try {
5176
- r(9, j = JSON.parse(localStorage.getItem("playerConsents")));
5329
+ r(9, z = JSON.parse(localStorage.getItem("playerConsents")));
5177
5330
  } catch (M) {
5178
- return console.error(M), Oe(M);
5331
+ return console.error(M), Te(M);
5179
5332
  }
5180
5333
  return;
5181
5334
  }
5182
- return r(9, j = J.map((M) => ({
5335
+ return r(9, z = J.map((M) => ({
5183
5336
  id: M.id,
5184
5337
  status: R.denied.key,
5185
5338
  friendlyName: M.friendlyName,
5186
5339
  tagCode: M.tagCode,
5187
5340
  selected: null,
5188
5341
  mustAccept: M.mustAccept
5189
- }))), localStorage.setItem("playerConsents", JSON.stringify(j)), j;
5342
+ }))), localStorage.setItem("playerConsents", JSON.stringify(z)), z;
5190
5343
  }
5191
- }).catch((b) => (console.error(b), Oe(b))).finally(() => {
5192
- r(10, _e = !1);
5344
+ }).catch((k) => (console.error(k), Te(k))).finally(() => {
5345
+ r(10, ce = !1);
5193
5346
  });
5194
- }, Ir = (h) => {
5195
- const f = /* @__PURE__ */ new Map();
5196
- return h.forEach((w) => {
5197
- f.has(w.category.categoryTagCode) || f.set(w.category.categoryTagCode, w.category);
5198
- }), Array.from(f.values());
5199
- }, Rr = (h) => {
5200
- const f = localStorage.getItem("categoryToggle" + C);
5201
- if (f === null) {
5202
- const w = h.reduce(
5203
- (b, M) => (b[M.categoryTagCode] = !1, b),
5347
+ }, kr = (l) => {
5348
+ const p = /* @__PURE__ */ new Map();
5349
+ return l.forEach((x) => {
5350
+ p.has(x.category.categoryTagCode) || p.set(x.category.categoryTagCode, x.category);
5351
+ }), Array.from(p.values());
5352
+ }, br = (l) => {
5353
+ const p = localStorage.getItem("categoryToggle" + C);
5354
+ if (p === null) {
5355
+ const x = l.reduce(
5356
+ (k, M) => (k[M.categoryTagCode] = !1, k),
5204
5357
  {}
5205
5358
  );
5206
- return localStorage.setItem("categoryToggle" + C, JSON.stringify(w)), w;
5359
+ return localStorage.setItem("categoryToggle" + C, JSON.stringify(x)), x;
5207
5360
  } else
5208
- return JSON.parse(f);
5209
- }, Ur = () => {
5210
- j.forEach((h) => {
5211
- r(12, Q[h.tagCode] = h.status === R.accepted.value, Q);
5212
- }), r(13, D = W({}, Q));
5213
- }, Dr = () => {
5214
- r(13, D = W({}, Q)), r(11, V = W({}, Ae));
5215
- }, Gr = () => re(this, null, function* () {
5216
- if (!Ne)
5361
+ return JSON.parse(p);
5362
+ }, Er = () => {
5363
+ z.forEach((l) => {
5364
+ r(12, Q[l.tagCode] = l.status === R.accepted.value, Q);
5365
+ }), r(13, U = Z({}, Q));
5366
+ }, Cr = () => {
5367
+ r(13, U = Z({}, Q)), r(11, F = Z({}, Ee));
5368
+ }, Sr = () => me(this, null, function* () {
5369
+ if (!be)
5217
5370
  return;
5218
- Ne = !1;
5219
- const h = [], f = [];
5220
- if (Object.keys(D).forEach((b) => {
5221
- const M = j.find((I) => I.tagCode === b);
5222
- D[b] !== Q[b] && (M ? h.push({
5223
- tagCode: b,
5224
- status: D[b] ? R.accepted.value : R.denied.value
5225
- }) : f.push({
5226
- tagCode: b,
5227
- status: D[b] ? R.accepted.value : R.denied.value
5371
+ be = !1;
5372
+ const l = [], p = [];
5373
+ if (Object.keys(U).forEach((k) => {
5374
+ const M = z.find((I) => I.tagCode === k);
5375
+ U[k] !== Q[k] && (M ? l.push({
5376
+ tagCode: k,
5377
+ status: U[k] ? R.accepted.value : R.denied.value
5378
+ }) : p.push({
5379
+ tagCode: k,
5380
+ status: U[k] ? R.accepted.value : R.denied.value
5228
5381
  }));
5229
5382
  }), !_) {
5230
- localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5383
+ localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
5231
5384
  {
5232
5385
  type: "NewPlayerConsentData",
5233
- data: JSON.stringify(f)
5386
+ data: JSON.stringify(p)
5234
5387
  },
5235
5388
  window.location.href
5236
- ), Ne = !0;
5389
+ ), be = !0;
5237
5390
  return;
5238
5391
  }
5239
- const w = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5392
+ const x = new URL(`${a}/api/v1/gm/user-consents/${C}`);
5240
5393
  try {
5241
- const b = yield Promise.allSettled([
5242
- f.length > 0 && ve(w.href, "updateConsentsError", {
5394
+ const k = yield Promise.allSettled([
5395
+ p.length > 0 && he(x.href, "updateConsentsError", {
5243
5396
  method: "POST",
5244
5397
  headers: {
5245
- "X-SessionId": v,
5398
+ "X-SessionId": v$1,
5246
5399
  "Content-Type": "application/json"
5247
5400
  },
5248
- body: JSON.stringify({ userConsents: f })
5401
+ body: JSON.stringify({ userConsents: p })
5249
5402
  }),
5250
- h.length > 0 && ve(w.href, "updateConsentsError", {
5403
+ l.length > 0 && he(x.href, "updateConsentsError", {
5251
5404
  method: "PATCH",
5252
5405
  headers: {
5253
- "X-SessionId": v,
5406
+ "X-SessionId": v$1,
5254
5407
  "Content-Type": "application/json"
5255
5408
  },
5256
- body: JSON.stringify({ userConsents: h })
5409
+ body: JSON.stringify({ userConsents: l })
5257
5410
  })
5258
5411
  ]);
5259
- b.forEach((M, I) => {
5412
+ k.forEach((M, I) => {
5260
5413
  if (M.status === "rejected" || M.value.ok === !1) {
5261
- const q = I < f.length ? f[I] : h[I - f.length];
5262
- r(13, D[q.tagCode] = Q[q.tagCode], D);
5414
+ const V = I < p.length ? p[I] : l[I - p.length];
5415
+ r(13, U[V.tagCode] = Q[V.tagCode], U);
5263
5416
  }
5264
- }), b.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(V)), Ae = W({}, V), window.postMessage(
5417
+ }), k.every((M) => M.status === "fulfilled") && (localStorage.setItem("categoryToggle" + C, JSON.stringify(F)), Ee = Z({}, F), window.postMessage(
5265
5418
  {
5266
5419
  type: "PlayerConsentUpdated",
5267
5420
  success: !0
5268
5421
  },
5269
5422
  window.location.href
5270
- ), r(12, Q = W({}, D)));
5271
- } catch (b) {
5272
- Be(b instanceof TypeError ? n("saveChangesError") : b.message), window.postMessage(
5423
+ ), r(12, Q = Z({}, U)));
5424
+ } catch (k) {
5425
+ xe(k instanceof TypeError ? n("saveChangesError") : k.message), window.postMessage(
5273
5426
  {
5274
5427
  type: "PlayerConsentUpdated",
5275
5428
  success: !1
@@ -5277,150 +5430,150 @@ function Ao(e, t, r) {
5277
5430
  window.location.href
5278
5431
  );
5279
5432
  } finally {
5280
- Ne = !0, r(14, ye = !1);
5433
+ be = !0, r(14, ue = !1);
5281
5434
  }
5282
- }), Fr = (h) => {
5283
- const f = new URL(`${a}/api/v2/gm/legislation/consents`), w = {
5435
+ }), xr = (l) => {
5436
+ const p = new URL(`${a}/api/v2/gm/legislation/consents`), x = {
5284
5437
  "Content-Type": "application/json",
5285
5438
  Accept: "application/json"
5286
- }, b = {
5287
- playerConsents: j,
5288
- registrationId: h
5439
+ }, k = {
5440
+ playerConsents: z,
5441
+ registrationId: l
5289
5442
  }, M = {
5290
5443
  method: "POST",
5291
- body: JSON.stringify(b),
5292
- headers: w
5444
+ body: JSON.stringify(k),
5445
+ headers: x
5293
5446
  };
5294
- fetch(f.href, M).then((I) => {
5295
- I.ok || (Pe = !0);
5296
- }).catch((I) => (console.error(I), Oe(I))).finally(() => {
5297
- r(10, _e = !1);
5447
+ fetch(p.href, M).then((I) => {
5448
+ I.ok || (Se = !0);
5449
+ }).catch((I) => (console.error(I), Te(I))).finally(() => {
5450
+ r(10, ce = !1);
5298
5451
  });
5299
- }, Et = (h) => {
5300
- j.filter((f) => f.category.categoryTagCode === h).forEach((f) => {
5301
- f.status = f.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, D[f.tagCode] = V[h] || !1, D);
5302
- }), r(14, ye = Ct());
5303
- }, We = (h, f, w) => {
5304
- const b = j.find((q) => q.id === w), M = f ? "value" : "key";
5452
+ }, ot = (l) => {
5453
+ z.filter((p) => p.category.categoryTagCode === l).forEach((p) => {
5454
+ p.status = p.status === R.denied.value ? R.accepted.value : R.denied.value, r(13, U[p.tagCode] = F[l] || !1, U);
5455
+ }), r(14, ue = at());
5456
+ }, Le = (l, p, x) => {
5457
+ const k = z.find((V) => V.id === x), M = p ? "value" : "key";
5305
5458
  let I;
5306
- if (!f && b.mustAccept) {
5307
- const q = Array.from(He.children);
5308
- for (const be of q)
5309
- if (I = Array.from(be.children).find((en) => en.getAttribute("id") === `checkBoxError__${b.tagCode}`), I)
5459
+ if (!p && k.mustAccept) {
5460
+ const V = Array.from(Ce.children);
5461
+ for (const de of V)
5462
+ if (I = Array.from(de.children).find((Ir) => Ir.getAttribute("id") === `checkBoxError__${k.tagCode}`), I)
5310
5463
  break;
5311
5464
  }
5312
- if (b.status === R.accepted[M] ? (b.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (b.status = R.accepted[M], I && (I.innerHTML = "")), f) {
5313
- r(13, D[b.tagCode] = !D[b.tagCode], D);
5314
- const q = j.filter((be) => be.category.categoryTagCode === f.categoryTagCode).every((be) => be.status !== R.denied.value);
5315
- r(11, V[f.categoryTagCode] = q, V);
5465
+ if (k.status === R.accepted[M] ? (k.status = R.denied[M], I && (I.innerHTML = n("requiredError"))) : (k.status = R.accepted[M], I && (I.innerHTML = "")), p) {
5466
+ r(13, U[k.tagCode] = !U[k.tagCode], U);
5467
+ const V = z.filter((de) => de.category.categoryTagCode === p.categoryTagCode).every((de) => de.status !== R.denied.value);
5468
+ r(11, F[p.categoryTagCode] = V, F);
5316
5469
  }
5317
- $r();
5318
- }, $r = ((h, f) => {
5319
- let w;
5320
- return function(...b) {
5470
+ Tr();
5471
+ }, Tr = ((l, p) => {
5472
+ let x;
5473
+ return function(...k) {
5321
5474
  const M = this;
5322
- clearTimeout(w), w = setTimeout(
5475
+ clearTimeout(x), x = setTimeout(
5323
5476
  () => {
5324
- h.apply(M, b);
5477
+ l.apply(M, k);
5325
5478
  },
5326
- f
5479
+ p
5327
5480
  );
5328
5481
  };
5329
- })(() => Vr(), 500), Vr = () => {
5330
- r(14, ye = Ct()), i || (window.postMessage({ type: "isConsentsValid", isValid: ye }), localStorage.setItem("playerConsents", JSON.stringify(j)));
5331
- }, Ct = () => j.filter((f) => j.some((w) => f.tagCode === w.tagCode && w.mustAccept && (f.status === R.denied.key || f.status === R.denied.value))).length === 0, Oe = (h) => {
5482
+ })(() => Mr(), 500), Mr = () => {
5483
+ r(14, ue = at()), i || (window.postMessage({ type: "isConsentsValid", isValid: ue }), localStorage.setItem("playerConsents", JSON.stringify(z)));
5484
+ }, at = () => z.filter((p) => z.some((x) => p.tagCode === x.tagCode && x.mustAccept && (p.status === R.denied.key || p.status === R.denied.value))).length === 0, Te = (l) => {
5332
5485
  window.postMessage(
5333
5486
  {
5334
5487
  type: "WidgetNotification",
5335
- data: { type: "error", message: h }
5488
+ data: { type: "error", message: l }
5336
5489
  },
5337
5490
  window.location.href
5338
5491
  );
5339
- }, Xr = (h) => {
5340
- h.data && h.data.type !== "setUpPlayerConsents" || Fr(h.data.registerid);
5492
+ }, wr = (l) => {
5493
+ l.data && l.data.type !== "setUpPlayerConsents" || xr(l.data.registerid);
5341
5494
  };
5342
- gn(() => {
5495
+ lt$1(() => {
5343
5496
  setTimeout(
5344
5497
  () => {
5345
5498
  r(26, S = !0);
5346
5499
  },
5347
5500
  50
5348
5501
  );
5349
- const h = (f) => Xr(f);
5350
- return window.addEventListener("message", h), () => {
5351
- window.removeEventListener("message", h);
5502
+ const l = (p) => wr(p);
5503
+ return window.addEventListener("message", l), () => {
5504
+ window.removeEventListener("message", l);
5352
5505
  };
5353
5506
  });
5354
- function qr(h) {
5355
- V[h.categoryTagCode] = this.checked, r(11, V);
5507
+ function Nr(l) {
5508
+ F[l.categoryTagCode] = this.checked, r(11, F);
5356
5509
  }
5357
- const Wr = (h) => Et(h.categoryTagCode), Zr = (h, f) => f.category.categoryTagCode === h.categoryTagCode, Jr = (h, f) => We(f, h.category, h.id), Qr = (h, f) => We(f, null, h.id);
5358
- function Yr(h) {
5359
- Re[h ? "unshift" : "push"](() => {
5360
- He = h, r(15, He);
5510
+ const Ar = (l) => ot(l.categoryTagCode), Hr = (l, p) => p.category.categoryTagCode === l.categoryTagCode, Pr = (l, p) => Le(p, l.category, l.id), Br = (l, p) => Le(p, null, l.id);
5511
+ function Or(l) {
5512
+ v[l ? "unshift" : "push"](() => {
5513
+ Ce = l, r(15, Ce);
5361
5514
  });
5362
5515
  }
5363
- function Kr(h) {
5364
- Re[h ? "unshift" : "push"](() => {
5365
- g = h, r(5, g);
5516
+ function zr(l) {
5517
+ v[l ? "unshift" : "push"](() => {
5518
+ f = l, r(5, f);
5366
5519
  });
5367
5520
  }
5368
- return e.$$set = (h) => {
5369
- "session" in h && r(0, i = h.session), "userid" in h && r(21, o = h.userid), "endpoint" in h && r(22, a = h.endpoint), "clientstyling" in h && r(1, s = h.clientstyling), "clientstylingurl" in h && r(2, c = h.clientstylingurl), "mbsource" in h && r(3, l = h.mbsource), "lang" in h && r(23, u = h.lang), "displayconsentdescription" in h && r(4, d = h.displayconsentdescription), "translationurl" in h && r(24, m = h.translationurl), "modalconsents" in h && r(25, y = h.modalconsents);
5521
+ return e.$$set = (l) => {
5522
+ "session" in l && r(0, i = l.session), "userid" in l && r(21, o = l.userid), "endpoint" in l && r(22, a = l.endpoint), "clientstyling" in l && r(1, s = l.clientstyling), "clientstylingurl" in l && r(2, h = l.clientstylingurl), "mbsource" in l && r(3, u = l.mbsource), "lang" in l && r(23, c = l.lang), "displayconsentdescription" in l && r(4, d = l.displayconsentdescription), "translationurl" in l && r(24, m = l.translationurl), "modalconsents" in l && r(25, y = l.modalconsents);
5370
5523
  }, e.$$.update = () => {
5371
5524
  e.$$.dirty[0] & /*isMounted, session*/
5372
- 67108865 && S && i && (zr(), Lr()), e.$$.dirty[0] & /*session*/
5373
- 1 && (i || jr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5374
- 34 && s && g && Tn(g, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5375
- 36 && c && g && Mn(g, c), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5376
- 40 && g && Nn(g, `${l}.Style`, p), e.$$.dirty[0] & /*lang*/
5377
- 8388608 && u && Pr(), e.$$.dirty[0] & /*translationurl*/
5378
- 16777216 && m && Br();
5525
+ 67108865 && S && i && (_r(), yr()), e.$$.dirty[0] & /*session*/
5526
+ 1 && (i || vr()), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5527
+ 34 && s && f && St$1(f, s), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5528
+ 36 && h && f && xt$1(f, h), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5529
+ 40 && f && Et$1(f, `${u}.Style`, g), e.$$.dirty[0] & /*lang*/
5530
+ 8388608 && c && pr(), e.$$.dirty[0] & /*translationurl*/
5531
+ 16777216 && m && gr();
5379
5532
  }, [
5380
5533
  i,
5381
5534
  s,
5382
- c,
5383
- l,
5535
+ h,
5536
+ u,
5384
5537
  d,
5385
- g,
5538
+ f,
5386
5539
  H,
5387
5540
  E,
5541
+ O,
5388
5542
  z,
5389
- j,
5390
- _e,
5391
- V,
5543
+ ce,
5544
+ F,
5392
5545
  Q,
5393
- D,
5394
- ye,
5395
- He,
5546
+ U,
5547
+ ue,
5548
+ Ce,
5396
5549
  n,
5397
- Or,
5398
- Gr,
5399
- Et,
5400
- We,
5550
+ fr,
5551
+ Sr,
5552
+ ot,
5553
+ Le,
5401
5554
  o,
5402
5555
  a,
5403
- u,
5556
+ c,
5404
5557
  m,
5405
5558
  y,
5406
5559
  S,
5407
- qr,
5408
- Wr,
5409
- Zr,
5410
- Jr,
5411
- Qr,
5412
- Yr,
5413
- Kr
5560
+ Nr,
5561
+ Ar,
5562
+ Hr,
5563
+ Pr,
5564
+ Br,
5565
+ Or,
5566
+ zr
5414
5567
  ];
5415
5568
  }
5416
- class Hr extends ar {
5569
+ class Yi extends yt$1 {
5417
5570
  constructor(t) {
5418
- super(), nr(
5571
+ super(), bt$1(
5419
5572
  this,
5420
5573
  t,
5421
- Ao,
5422
- No,
5423
- _t,
5574
+ Qi,
5575
+ Ji,
5576
+ Q,
5424
5577
  {
5425
5578
  session: 0,
5426
5579
  userid: 21,
@@ -5433,7 +5586,7 @@ class Hr extends ar {
5433
5586
  translationurl: 24,
5434
5587
  modalconsents: 25
5435
5588
  },
5436
- So,
5589
+ Vi,
5437
5590
  [-1, -1, -1]
5438
5591
  );
5439
5592
  }
@@ -5441,67 +5594,63 @@ class Hr extends ar {
5441
5594
  return this.$$.ctx[0];
5442
5595
  }
5443
5596
  set session(t) {
5444
- this.$$set({ session: t }), X();
5597
+ this.$$set({ session: t }), b();
5445
5598
  }
5446
5599
  get userid() {
5447
5600
  return this.$$.ctx[21];
5448
5601
  }
5449
5602
  set userid(t) {
5450
- this.$$set({ userid: t }), X();
5603
+ this.$$set({ userid: t }), b();
5451
5604
  }
5452
5605
  get endpoint() {
5453
5606
  return this.$$.ctx[22];
5454
5607
  }
5455
5608
  set endpoint(t) {
5456
- this.$$set({ endpoint: t }), X();
5609
+ this.$$set({ endpoint: t }), b();
5457
5610
  }
5458
5611
  get clientstyling() {
5459
5612
  return this.$$.ctx[1];
5460
5613
  }
5461
5614
  set clientstyling(t) {
5462
- this.$$set({ clientstyling: t }), X();
5615
+ this.$$set({ clientstyling: t }), b();
5463
5616
  }
5464
5617
  get clientstylingurl() {
5465
5618
  return this.$$.ctx[2];
5466
5619
  }
5467
5620
  set clientstylingurl(t) {
5468
- this.$$set({ clientstylingurl: t }), X();
5621
+ this.$$set({ clientstylingurl: t }), b();
5469
5622
  }
5470
5623
  get mbsource() {
5471
5624
  return this.$$.ctx[3];
5472
5625
  }
5473
5626
  set mbsource(t) {
5474
- this.$$set({ mbsource: t }), X();
5627
+ this.$$set({ mbsource: t }), b();
5475
5628
  }
5476
5629
  get lang() {
5477
5630
  return this.$$.ctx[23];
5478
5631
  }
5479
5632
  set lang(t) {
5480
- this.$$set({ lang: t }), X();
5633
+ this.$$set({ lang: t }), b();
5481
5634
  }
5482
5635
  get displayconsentdescription() {
5483
5636
  return this.$$.ctx[4];
5484
5637
  }
5485
5638
  set displayconsentdescription(t) {
5486
- this.$$set({ displayconsentdescription: t }), X();
5639
+ this.$$set({ displayconsentdescription: t }), b();
5487
5640
  }
5488
5641
  get translationurl() {
5489
5642
  return this.$$.ctx[24];
5490
5643
  }
5491
5644
  set translationurl(t) {
5492
- this.$$set({ translationurl: t }), X();
5645
+ this.$$set({ translationurl: t }), b();
5493
5646
  }
5494
5647
  get modalconsents() {
5495
5648
  return this.$$.ctx[25];
5496
5649
  }
5497
5650
  set modalconsents(t) {
5498
- this.$$set({ modalconsents: t }), X();
5651
+ this.$$set({ modalconsents: t }), b();
5499
5652
  }
5500
5653
  }
5501
- or(Hr, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5502
- const Oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5503
- __proto__: null,
5504
- default: Hr
5505
- }, Symbol.toStringTag, { value: "Module" }));
5654
+ gt$1(Yi, { session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, lang: {}, displayconsentdescription: {}, translationurl: {}, modalconsents: {} }, [], [], !0);
5506
5655
 
5507
- export { Oo as P, ar as S, cn as a, L as b, Re as c, O as d, T as e, X as f, Tn as g, Mn as h, nr as i, Nn as j, or as k, $ as n, gn as o, _t as s };
5656
+ export { Yi as default };