@everymatrix/casino-calendar 1.54.12 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,56 +1,56 @@
1
- function B() {
1
+ function w() {
2
2
  }
3
- function hr(e, t) {
3
+ function lr(e, t) {
4
4
  for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
8
8
  );
9
9
  }
10
- function Ht(e) {
10
+ function Bt(e) {
11
11
  return e();
12
12
  }
13
- function Ye() {
13
+ function Ke() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
16
  function Y(e) {
17
- e.forEach(Ht);
17
+ e.forEach(Bt);
18
18
  }
19
- function qe(e) {
19
+ function Ze(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function Bt(e, t) {
22
+ function At(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
25
  let le;
26
- function Zi(e, t) {
26
+ function qi(e, t) {
27
27
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
28
28
  }
29
- function fr(e) {
29
+ function hr(e) {
30
30
  return Object.keys(e).length === 0;
31
31
  }
32
- function At(e, ...t) {
32
+ function Pt(e, ...t) {
33
33
  if (e == null) {
34
34
  for (const n of t)
35
35
  n(void 0);
36
- return B;
36
+ return w;
37
37
  }
38
38
  const r = e.subscribe(...t);
39
39
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
40
  }
41
41
  function cr(e, t, r) {
42
- e.$$.on_destroy.push(At(t, r));
42
+ e.$$.on_destroy.push(Pt(t, r));
43
43
  }
44
- function Qi(e, t, r, n) {
44
+ function Yi(e, t, r, n) {
45
45
  if (e) {
46
- const i = Pt(e, t, r, n);
46
+ const i = Ot(e, t, r, n);
47
47
  return e[0](i);
48
48
  }
49
49
  }
50
- function Pt(e, t, r, n) {
51
- return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
+ function Ot(e, t, r, n) {
51
+ return e[1] && n ? lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
52
  }
53
- function Ji(e, t, r, n) {
53
+ function Ki(e, t, r, n) {
54
54
  if (e[2] && n) {
55
55
  const i = e[2](n(r));
56
56
  if (t.dirty === void 0)
@@ -65,13 +65,13 @@ function Ji(e, t, r, n) {
65
65
  }
66
66
  return t.dirty;
67
67
  }
68
- function Yi(e, t, r, n, i, o) {
68
+ function eo(e, t, r, n, i, o) {
69
69
  if (i) {
70
- const a = Pt(t, r, n, o);
70
+ const a = Ot(t, r, n, o);
71
71
  e.p(a, i);
72
72
  }
73
73
  }
74
- function Ki(e) {
74
+ function to(e) {
75
75
  if (e.ctx.length > 32) {
76
76
  const t = [], r = e.ctx.length / 32;
77
77
  for (let n = 0; n < r; n++)
@@ -83,14 +83,14 @@ function Ki(e) {
83
83
  function ve(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function dr(e, t, r) {
87
- const n = pr(e);
86
+ function fr(e, t, r) {
87
+ const n = dr(e);
88
88
  if (!n.getElementById(t)) {
89
- const i = P("style");
90
- i.id = t, i.textContent = r, mr(n, i);
89
+ const i = A("style");
90
+ i.id = t, i.textContent = r, pr(n, i);
91
91
  }
92
92
  }
93
- function pr(e) {
93
+ function dr(e) {
94
94
  if (!e) return document;
95
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
96
  return t && /** @type {ShadowRoot} */
@@ -99,59 +99,59 @@ function pr(e) {
99
99
  t
100
100
  ) : e.ownerDocument;
101
101
  }
102
- function mr(e, t) {
102
+ function pr(e, t) {
103
103
  return ve(
104
104
  /** @type {Document} */
105
105
  e.head || e,
106
106
  t
107
107
  ), t.sheet;
108
108
  }
109
- function $(e, t, r) {
109
+ function D(e, t, r) {
110
110
  e.insertBefore(t, r || null);
111
111
  }
112
112
  function L(e) {
113
113
  e.parentNode && e.parentNode.removeChild(e);
114
114
  }
115
- function br(e, t) {
115
+ function mr(e, t) {
116
116
  for (let r = 0; r < e.length; r += 1)
117
117
  e[r] && e[r].d(t);
118
118
  }
119
- function P(e) {
119
+ function A(e) {
120
120
  return document.createElement(e);
121
121
  }
122
- function yr(e) {
122
+ function br(e) {
123
123
  return document.createElementNS("http://www.w3.org/2000/svg", e);
124
124
  }
125
- function Ze(e) {
125
+ function Qe(e) {
126
126
  return document.createTextNode(e);
127
127
  }
128
- function gr() {
129
- return Ze(" ");
128
+ function yr() {
129
+ return Qe(" ");
130
130
  }
131
- function eo() {
132
- return Ze("");
131
+ function ro() {
132
+ return Qe("");
133
133
  }
134
- function to(e, t, r, n) {
134
+ function no(e, t, r, n) {
135
135
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
136
136
  }
137
- function G(e, t, r) {
137
+ function $(e, t, r) {
138
138
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
139
139
  }
140
- function p(e, t, r) {
140
+ function d(e, t, r) {
141
141
  const n = t.toLowerCase();
142
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : G(e, t, r);
142
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
143
143
  }
144
- function vr(e) {
144
+ function gr(e) {
145
145
  return Array.from(e.childNodes);
146
146
  }
147
- function _r(e, t) {
147
+ function vr(e, t) {
148
148
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
149
149
  t);
150
150
  }
151
- function ro(e, t, r, n) {
151
+ function io(e, t, r, n) {
152
152
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
153
153
  }
154
- class no {
154
+ class oo {
155
155
  /**
156
156
  * @private
157
157
  * @default false
@@ -182,10 +182,10 @@ class no {
182
182
  * @returns {void}
183
183
  */
184
184
  m(t, r, n = null) {
185
- this.e || (this.is_svg ? this.e = yr(
185
+ this.e || (this.is_svg ? this.e = br(
186
186
  /** @type {keyof SVGElementTagNameMap} */
187
187
  r.nodeName
188
- ) : this.e = P(
188
+ ) : this.e = A(
189
189
  /** @type {keyof HTMLElementTagNameMap} */
190
190
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
191
191
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -206,7 +206,7 @@ class no {
206
206
  * @returns {void} */
207
207
  i(t) {
208
208
  for (let r = 0; r < this.n.length; r += 1)
209
- $(this.t, this.n[r], t);
209
+ D(this.t, this.n[r], t);
210
210
  }
211
211
  /**
212
212
  * @param {string} html
@@ -221,7 +221,7 @@ class no {
221
221
  this.n.forEach(L);
222
222
  }
223
223
  }
224
- function Er(e) {
224
+ function _r(e) {
225
225
  const t = {};
226
226
  return e.childNodes.forEach(
227
227
  /** @param {Element} node */
@@ -230,116 +230,116 @@ function Er(e) {
230
230
  }
231
231
  ), t;
232
232
  }
233
- let oe;
234
- function ie(e) {
235
- oe = e;
233
+ let ie;
234
+ function ne(e) {
235
+ ie = e;
236
236
  }
237
- function xr() {
238
- if (!oe) throw new Error("Function called outside component initialization");
239
- return oe;
237
+ function Er() {
238
+ if (!ie) throw new Error("Function called outside component initialization");
239
+ return ie;
240
240
  }
241
- function Sr(e) {
242
- xr().$$.on_mount.push(e);
241
+ function xr(e) {
242
+ Er().$$.on_mount.push(e);
243
243
  }
244
- const X = [], Ce = [];
244
+ const X = [], Le = [];
245
245
  let W = [];
246
- const Ke = [], Tr = /* @__PURE__ */ Promise.resolve();
247
- let Le = !1;
248
- function wr() {
249
- Le || (Le = !0, Tr.then(I));
246
+ const et = [], Sr = /* @__PURE__ */ Promise.resolve();
247
+ let Ce = !1;
248
+ function Tr() {
249
+ Ce || (Ce = !0, Sr.then(B));
250
250
  }
251
251
  function Ne(e) {
252
252
  W.push(e);
253
253
  }
254
254
  const we = /* @__PURE__ */ new Set();
255
255
  let k = 0;
256
- function I() {
256
+ function B() {
257
257
  if (k !== 0)
258
258
  return;
259
- const e = oe;
259
+ const e = ie;
260
260
  do {
261
261
  try {
262
262
  for (; k < X.length; ) {
263
263
  const t = X[k];
264
- k++, ie(t), Hr(t.$$);
264
+ k++, ne(t), wr(t.$$);
265
265
  }
266
266
  } catch (t) {
267
267
  throw X.length = 0, k = 0, t;
268
268
  }
269
- for (ie(null), X.length = 0, k = 0; Ce.length; ) Ce.pop()();
269
+ for (ne(null), X.length = 0, k = 0; Le.length; ) Le.pop()();
270
270
  for (let t = 0; t < W.length; t += 1) {
271
271
  const r = W[t];
272
272
  we.has(r) || (we.add(r), r());
273
273
  }
274
274
  W.length = 0;
275
275
  } while (X.length);
276
- for (; Ke.length; )
277
- Ke.pop()();
278
- Le = !1, we.clear(), ie(e);
276
+ for (; et.length; )
277
+ et.pop()();
278
+ Ce = !1, we.clear(), ne(e);
279
279
  }
280
- function Hr(e) {
280
+ function wr(e) {
281
281
  if (e.fragment !== null) {
282
282
  e.update(), Y(e.before_update);
283
283
  const t = e.dirty;
284
284
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
285
285
  }
286
286
  }
287
- function Br(e) {
287
+ function Hr(e) {
288
288
  const t = [], r = [];
289
289
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
290
290
  }
291
- const ce = /* @__PURE__ */ new Set();
292
- let U;
293
- function io() {
294
- U = {
291
+ const fe = /* @__PURE__ */ new Set();
292
+ let G;
293
+ function so() {
294
+ G = {
295
295
  r: 0,
296
296
  c: [],
297
- p: U
297
+ p: G
298
298
  // parent group
299
299
  };
300
300
  }
301
- function oo() {
302
- U.r || Y(U.c), U = U.p;
301
+ function ao() {
302
+ G.r || Y(G.c), G = G.p;
303
303
  }
304
- function Ar(e, t) {
305
- e && e.i && (ce.delete(e), e.i(t));
304
+ function Br(e, t) {
305
+ e && e.i && (fe.delete(e), e.i(t));
306
306
  }
307
- function so(e, t, r, n) {
307
+ function uo(e, t, r, n) {
308
308
  if (e && e.o) {
309
- if (ce.has(e)) return;
310
- ce.add(e), U.c.push(() => {
311
- ce.delete(e), n && (r && e.d(1), n());
309
+ if (fe.has(e)) return;
310
+ fe.add(e), G.c.push(() => {
311
+ fe.delete(e), n && (r && e.d(1), n());
312
312
  }), e.o(t);
313
313
  } else n && n();
314
314
  }
315
- function et(e) {
315
+ function tt(e) {
316
316
  return e?.length !== void 0 ? e : Array.from(e);
317
317
  }
318
- function Pr(e, t, r) {
318
+ function Ar(e, t, r) {
319
319
  const { fragment: n, after_update: i } = e.$$;
320
320
  n && n.m(t, r), Ne(() => {
321
- const o = e.$$.on_mount.map(Ht).filter(qe);
321
+ const o = e.$$.on_mount.map(Bt).filter(Ze);
322
322
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
323
323
  }), i.forEach(Ne);
324
324
  }
325
- function Or(e, t) {
325
+ function Pr(e, t) {
326
326
  const r = e.$$;
327
- r.fragment !== null && (Br(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
327
+ r.fragment !== null && (Hr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
328
328
  }
329
- function Ir(e, t) {
330
- e.$$.dirty[0] === -1 && (X.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
329
+ function Or(e, t) {
330
+ e.$$.dirty[0] === -1 && (X.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
331
331
  }
332
- function Cr(e, t, r, n, i, o, a = null, s = [-1]) {
333
- const l = oe;
334
- ie(e);
332
+ function Ir(e, t, r, n, i, o, a = null, s = [-1]) {
333
+ const l = ie;
334
+ ne(e);
335
335
  const u = e.$$ = {
336
336
  fragment: null,
337
337
  ctx: [],
338
338
  // state
339
339
  props: o,
340
- update: B,
340
+ update: w,
341
341
  not_equal: i,
342
- bound: Ye(),
342
+ bound: Ke(),
343
343
  // lifecycle
344
344
  on_mount: [],
345
345
  on_destroy: [],
@@ -348,28 +348,28 @@ function Cr(e, t, r, n, i, o, a = null, s = [-1]) {
348
348
  after_update: [],
349
349
  context: new Map(t.context || (l ? l.$$.context : [])),
350
350
  // everything else
351
- callbacks: Ye(),
351
+ callbacks: Ke(),
352
352
  dirty: s,
353
353
  skip_bound: !1,
354
354
  root: t.target || l.$$.root
355
355
  };
356
356
  a && a(u.root);
357
357
  let h = !1;
358
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
359
- const _ = b.length ? b[0] : c;
360
- return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), h && Ir(e, f)), c;
358
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
359
+ const _ = y.length ? y[0] : c;
360
+ return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), h && Or(e, f)), c;
361
361
  }) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
362
362
  if (t.hydrate) {
363
- const f = vr(t.target);
363
+ const f = gr(t.target);
364
364
  u.fragment && u.fragment.l(f), f.forEach(L);
365
365
  } else
366
366
  u.fragment && u.fragment.c();
367
- t.intro && Ar(e.$$.fragment), Pr(e, t.target, t.anchor), I();
367
+ t.intro && Br(e.$$.fragment), Ar(e, t.target, t.anchor), B();
368
368
  }
369
- ie(l);
369
+ ne(l);
370
370
  }
371
- let Ot;
372
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
371
+ let It;
372
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
373
373
  /** The Svelte component constructor */
374
374
  $$ctor;
375
375
  /** Slots */
@@ -411,14 +411,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
411
411
  let o;
412
412
  return {
413
413
  c: function() {
414
- o = P("slot"), i !== "default" && G(o, "name", i);
414
+ o = A("slot"), i !== "default" && $(o, "name", i);
415
415
  },
416
416
  /**
417
417
  * @param {HTMLElement} target
418
418
  * @param {HTMLElement} [anchor]
419
419
  */
420
420
  m: function(l, u) {
421
- $(l, o, u);
421
+ D(l, o, u);
422
422
  },
423
423
  d: function(l) {
424
424
  l && L(o);
@@ -428,7 +428,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
428
428
  };
429
429
  if (await Promise.resolve(), !this.$$cn || this.$$c)
430
430
  return;
431
- const t = {}, r = Er(this);
431
+ const t = {}, r = _r(this);
432
432
  for (const i of this.$$s)
433
433
  i in r && (t[i] = [e(i)]);
434
434
  for (const i of this.attributes) {
@@ -516,7 +516,7 @@ function de(e, t, r, n) {
516
516
  }
517
517
  }
518
518
  function Lr(e, t, r, n, i, o) {
519
- let a = class extends Ot {
519
+ let a = class extends It {
520
520
  constructor() {
521
521
  super(e, r, i), this.$$p_d = t;
522
522
  }
@@ -544,7 +544,7 @@ function Lr(e, t, r, n, i, o) {
544
544
  }), e.element = /** @type {any} */
545
545
  a, a;
546
546
  }
547
- class Nr {
547
+ class Cr {
548
548
  /**
549
549
  * ### PRIVATE API
550
550
  *
@@ -563,7 +563,7 @@ class Nr {
563
563
  $$set = void 0;
564
564
  /** @returns {void} */
565
565
  $destroy() {
566
- Or(this, 1), this.$destroy = B;
566
+ Pr(this, 1), this.$destroy = w;
567
567
  }
568
568
  /**
569
569
  * @template {Extract<keyof Events, string>} K
@@ -572,8 +572,8 @@ class Nr {
572
572
  * @returns {() => void}
573
573
  */
574
574
  $on(t, r) {
575
- if (!qe(r))
576
- return B;
575
+ if (!Ze(r))
576
+ return w;
577
577
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
578
578
  return n.push(r), () => {
579
579
  const i = n.indexOf(r);
@@ -585,11 +585,11 @@ class Nr {
585
585
  * @returns {void}
586
586
  */
587
587
  $set(t) {
588
- this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
588
+ this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
589
589
  }
590
590
  }
591
- const Mr = "4";
592
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
591
+ const Nr = "4";
592
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
593
593
  var Me = function(e, t) {
594
594
  return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
595
595
  r.__proto__ = n;
@@ -597,7 +597,7 @@ var Me = function(e, t) {
597
597
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
598
598
  }, Me(e, t);
599
599
  };
600
- function N(e, t) {
600
+ function C(e, t) {
601
601
  if (typeof t != "function" && t !== null)
602
602
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
603
603
  Me(e, t);
@@ -615,7 +615,7 @@ var g = function() {
615
615
  return t;
616
616
  }, g.apply(this, arguments);
617
617
  };
618
- function Rr(e, t) {
618
+ function Mr(e, t) {
619
619
  var r = {};
620
620
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
621
621
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -655,16 +655,16 @@ function z(e, t, r) {
655
655
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
656
656
  return e.concat(o || Array.prototype.slice.call(t));
657
657
  }
658
- function C(e) {
658
+ function I(e) {
659
659
  return typeof e == "function";
660
660
  }
661
- function It(e) {
661
+ function Lt(e) {
662
662
  var t = function(n) {
663
663
  Error.call(n), n.stack = new Error().stack;
664
664
  }, r = e(t);
665
665
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
666
666
  }
667
- var He = It(function(e) {
667
+ var He = Lt(function(e) {
668
668
  return function(r) {
669
669
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
670
670
  ` + r.map(function(n, i) {
@@ -707,7 +707,7 @@ var _e = function() {
707
707
  else
708
708
  a.remove(this);
709
709
  var h = this.initialTeardown;
710
- if (C(h))
710
+ if (I(h))
711
711
  try {
712
712
  h();
713
713
  } catch (v) {
@@ -717,10 +717,10 @@ var _e = function() {
717
717
  if (f) {
718
718
  this._finalizers = null;
719
719
  try {
720
- for (var c = Re(f), b = c.next(); !b.done; b = c.next()) {
721
- var _ = b.value;
720
+ for (var c = Re(f), y = c.next(); !y.done; y = c.next()) {
721
+ var _ = y.value;
722
722
  try {
723
- tt(_);
723
+ rt(_);
724
724
  } catch (v) {
725
725
  o = o ?? [], v instanceof He ? o = z(z([], $e(o)), $e(v.errors)) : o.push(v);
726
726
  }
@@ -729,7 +729,7 @@ var _e = function() {
729
729
  n = { error: v };
730
730
  } finally {
731
731
  try {
732
- b && !b.done && (i = c.return) && i.call(c);
732
+ y && !y.done && (i = c.return) && i.call(c);
733
733
  } finally {
734
734
  if (n) throw n.error;
735
735
  }
@@ -742,7 +742,7 @@ var _e = function() {
742
742
  var r;
743
743
  if (t && t !== this)
744
744
  if (this.closed)
745
- tt(t);
745
+ rt(t);
746
746
  else {
747
747
  if (t instanceof e) {
748
748
  if (t.closed || t._hasParent(this))
@@ -768,15 +768,15 @@ var _e = function() {
768
768
  return t.closed = !0, t;
769
769
  }(), e;
770
770
  }(), Ct = _e.EMPTY;
771
- function Lt(e) {
772
- return e instanceof _e || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
771
+ function Nt(e) {
772
+ return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
773
773
  }
774
- function tt(e) {
775
- C(e) ? e() : e.unsubscribe();
774
+ function rt(e) {
775
+ I(e) ? e() : e.unsubscribe();
776
776
  }
777
- var $r = {
777
+ var Rr = {
778
778
  Promise: void 0
779
- }, Dr = {
779
+ }, $r = {
780
780
  setTimeout: function(e, t) {
781
781
  for (var r = [], n = 2; n < arguments.length; n++)
782
782
  r[n - 2] = arguments[n];
@@ -787,21 +787,21 @@ var $r = {
787
787
  },
788
788
  delegate: void 0
789
789
  };
790
- function Ur(e) {
791
- Dr.setTimeout(function() {
790
+ function Dr(e) {
791
+ $r.setTimeout(function() {
792
792
  throw e;
793
793
  });
794
794
  }
795
- function rt() {
795
+ function nt() {
796
796
  }
797
797
  function pe(e) {
798
798
  e();
799
799
  }
800
- var Nt = function(e) {
801
- N(t, e);
800
+ var Mt = function(e) {
801
+ C(t, e);
802
802
  function t(r) {
803
803
  var n = e.call(this) || this;
804
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = jr, n;
804
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Fr, n;
805
805
  }
806
806
  return t.create = function(r, n, i) {
807
807
  return new Ue(r, n, i);
@@ -828,7 +828,7 @@ var Nt = function(e) {
828
828
  this.unsubscribe();
829
829
  }
830
830
  }, t;
831
- }(_e), Gr = function() {
831
+ }(_e), Ur = function() {
832
832
  function e(t) {
833
833
  this.partialObserver = t;
834
834
  }
@@ -860,42 +860,42 @@ var Nt = function(e) {
860
860
  }
861
861
  }, e;
862
862
  }(), Ue = function(e) {
863
- N(t, e);
863
+ C(t, e);
864
864
  function t(r, n, i) {
865
865
  var o = e.call(this) || this, a;
866
- return C(r) || !r ? a = {
866
+ return I(r) || !r ? a = {
867
867
  next: r ?? void 0,
868
868
  error: n ?? void 0,
869
869
  complete: i ?? void 0
870
- } : a = r, o.destination = new Gr(a), o;
870
+ } : a = r, o.destination = new Ur(a), o;
871
871
  }
872
872
  return t;
873
- }(Nt);
873
+ }(Mt);
874
874
  function he(e) {
875
- Ur(e);
875
+ Dr(e);
876
876
  }
877
- function Fr(e) {
877
+ function Gr(e) {
878
878
  throw e;
879
879
  }
880
- var jr = {
880
+ var Fr = {
881
881
  closed: !0,
882
- next: rt,
883
- error: Fr,
884
- complete: rt
885
- }, kr = function() {
882
+ next: nt,
883
+ error: Gr,
884
+ complete: nt
885
+ }, jr = function() {
886
886
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
887
887
  }();
888
- function Vr(e) {
888
+ function kr(e) {
889
889
  return e;
890
890
  }
891
- function Xr(e) {
892
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
891
+ function Vr(e) {
892
+ return e.length === 0 ? kr : e.length === 1 ? e[0] : function(r) {
893
893
  return e.reduce(function(n, i) {
894
894
  return i(n);
895
895
  }, r);
896
896
  };
897
897
  }
898
- var nt = function() {
898
+ var it = function() {
899
899
  function e(t) {
900
900
  t && (this._subscribe = t);
901
901
  }
@@ -903,7 +903,7 @@ var nt = function() {
903
903
  var r = new e();
904
904
  return r.source = this, r.operator = t, r;
905
905
  }, e.prototype.subscribe = function(t, r, n) {
906
- var i = this, o = zr(t) ? t : new Ue(t, r, n);
906
+ var i = this, o = Wr(t) ? t : new Ue(t, r, n);
907
907
  return pe(function() {
908
908
  var a = i, s = a.operator, l = a.source;
909
909
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -916,7 +916,7 @@ var nt = function() {
916
916
  }
917
917
  }, e.prototype.forEach = function(t, r) {
918
918
  var n = this;
919
- return r = it(r), new r(function(i, o) {
919
+ return r = ot(r), new r(function(i, o) {
920
920
  var a = new Ue({
921
921
  next: function(s) {
922
922
  try {
@@ -933,15 +933,15 @@ var nt = function() {
933
933
  }, e.prototype._subscribe = function(t) {
934
934
  var r;
935
935
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
936
- }, e.prototype[kr] = function() {
936
+ }, e.prototype[jr] = function() {
937
937
  return this;
938
938
  }, e.prototype.pipe = function() {
939
939
  for (var t = [], r = 0; r < arguments.length; r++)
940
940
  t[r] = arguments[r];
941
- return Xr(t)(this);
941
+ return Vr(t)(this);
942
942
  }, e.prototype.toPromise = function(t) {
943
943
  var r = this;
944
- return t = it(t), new t(function(n, i) {
944
+ return t = ot(t), new t(function(n, i) {
945
945
  var o;
946
946
  r.subscribe(function(a) {
947
947
  return o = a;
@@ -955,32 +955,32 @@ var nt = function() {
955
955
  return new e(t);
956
956
  }, e;
957
957
  }();
958
- function it(e) {
958
+ function ot(e) {
959
959
  var t;
960
- return (t = e ?? $r.Promise) !== null && t !== void 0 ? t : Promise;
960
+ return (t = e ?? Rr.Promise) !== null && t !== void 0 ? t : Promise;
961
961
  }
962
- function Wr(e) {
963
- return e && C(e.next) && C(e.error) && C(e.complete);
962
+ function Xr(e) {
963
+ return e && I(e.next) && I(e.error) && I(e.complete);
964
964
  }
965
- function zr(e) {
966
- return e && e instanceof Nt || Wr(e) && Lt(e);
965
+ function Wr(e) {
966
+ return e && e instanceof Mt || Xr(e) && Nt(e);
967
967
  }
968
- var qr = It(function(e) {
968
+ var zr = Lt(function(e) {
969
969
  return function() {
970
970
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
971
971
  };
972
- }), Mt = function(e) {
973
- N(t, e);
972
+ }), Rt = function(e) {
973
+ C(t, e);
974
974
  function t() {
975
975
  var r = e.call(this) || this;
976
976
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
977
977
  }
978
978
  return t.prototype.lift = function(r) {
979
- var n = new ot(this, this);
979
+ var n = new st(this, this);
980
980
  return n.operator = r, n;
981
981
  }, t.prototype._throwIfClosed = function() {
982
982
  if (this.closed)
983
- throw new qr();
983
+ throw new zr();
984
984
  }, t.prototype.next = function(r) {
985
985
  var n = this;
986
986
  pe(function() {
@@ -1043,13 +1043,13 @@ var qr = It(function(e) {
1043
1043
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1044
1044
  i ? r.error(o) : a && r.complete();
1045
1045
  }, t.prototype.asObservable = function() {
1046
- var r = new nt();
1046
+ var r = new it();
1047
1047
  return r.source = this, r;
1048
1048
  }, t.create = function(r, n) {
1049
- return new ot(r, n);
1049
+ return new st(r, n);
1050
1050
  }, t;
1051
- }(nt), ot = function(e) {
1052
- N(t, e);
1051
+ }(it), st = function(e) {
1052
+ C(t, e);
1053
1053
  function t(r, n) {
1054
1054
  var i = e.call(this) || this;
1055
1055
  return i.destination = r, i.source = n, i;
@@ -1067,15 +1067,15 @@ var qr = It(function(e) {
1067
1067
  var n, i;
1068
1068
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
1069
1069
  }, t;
1070
- }(Mt), Rt = {
1070
+ }(Rt), $t = {
1071
1071
  now: function() {
1072
- return (Rt.delegate || Date).now();
1072
+ return ($t.delegate || Date).now();
1073
1073
  },
1074
1074
  delegate: void 0
1075
1075
  }, Zr = function(e) {
1076
- N(t, e);
1076
+ C(t, e);
1077
1077
  function t(r, n, i) {
1078
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
1078
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
1079
1079
  var o = e.call(this) || this;
1080
1080
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1081
1081
  }
@@ -1095,24 +1095,24 @@ var qr = It(function(e) {
1095
1095
  u && o.splice(0, u + 1);
1096
1096
  }
1097
1097
  }, t;
1098
- }(Mt);
1099
- const st = [], at = {}, Qr = (e, t = 0) => {
1100
- if (st.indexOf(e) == -1) {
1098
+ }(Rt);
1099
+ const at = [], ut = {}, Qr = (e, t = 0) => {
1100
+ if (at.indexOf(e) == -1) {
1101
1101
  const r = new Zr(t);
1102
- at[e] = r, st.push(e);
1102
+ ut[e] = r, at.push(e);
1103
1103
  }
1104
- return at[e];
1104
+ return ut[e];
1105
1105
  }, V = [];
1106
1106
  function Jr(e, t) {
1107
1107
  return {
1108
1108
  subscribe: Ee(e, t).subscribe
1109
1109
  };
1110
1110
  }
1111
- function Ee(e, t = B) {
1111
+ function Ee(e, t = w) {
1112
1112
  let r;
1113
1113
  const n = /* @__PURE__ */ new Set();
1114
1114
  function i(s) {
1115
- if (Bt(e, s) && (e = s, r)) {
1115
+ if (At(e, s) && (e = s, r)) {
1116
1116
  const l = !V.length;
1117
1117
  for (const u of n)
1118
1118
  u[1](), V.push(u, e);
@@ -1126,9 +1126,9 @@ function Ee(e, t = B) {
1126
1126
  function o(s) {
1127
1127
  i(s(e));
1128
1128
  }
1129
- function a(s, l = B) {
1129
+ function a(s, l = w) {
1130
1130
  const u = [s, l];
1131
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1131
+ return n.add(u), n.size === 1 && (r = t(i, o) || w), s(e), () => {
1132
1132
  n.delete(u), n.size === 0 && r && (r(), r = null);
1133
1133
  };
1134
1134
  }
@@ -1142,15 +1142,15 @@ function K(e, t, r) {
1142
1142
  return Jr(r, (a, s) => {
1143
1143
  let l = !1;
1144
1144
  const u = [];
1145
- let h = 0, f = B;
1145
+ let h = 0, f = w;
1146
1146
  const c = () => {
1147
1147
  if (h)
1148
1148
  return;
1149
1149
  f();
1150
1150
  const _ = t(n ? u[0] : u, a, s);
1151
- o ? a(_) : f = qe(_) ? _ : B;
1152
- }, b = i.map(
1153
- (_, v) => At(
1151
+ o ? a(_) : f = Ze(_) ? _ : w;
1152
+ }, y = i.map(
1153
+ (_, v) => Pt(
1154
1154
  _,
1155
1155
  (T) => {
1156
1156
  u[v] = T, h &= ~(1 << v), l && c();
@@ -1161,115 +1161,115 @@ function K(e, t, r) {
1161
1161
  )
1162
1162
  );
1163
1163
  return l = !0, c(), function() {
1164
- Y(b), f(), l = !1;
1164
+ Y(y), f(), l = !1;
1165
1165
  };
1166
1166
  });
1167
1167
  }
1168
- function Yr(e) {
1168
+ function qr(e) {
1169
1169
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1170
1170
  }
1171
- var Kr = function(t) {
1172
- return en(t) && !tn(t);
1171
+ var Yr = function(t) {
1172
+ return Kr(t) && !en(t);
1173
1173
  };
1174
- function en(e) {
1174
+ function Kr(e) {
1175
1175
  return !!e && typeof e == "object";
1176
1176
  }
1177
- function tn(e) {
1177
+ function en(e) {
1178
1178
  var t = Object.prototype.toString.call(e);
1179
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1179
+ return t === "[object RegExp]" || t === "[object Date]" || nn(e);
1180
1180
  }
1181
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1182
- function on(e) {
1183
- return e.$$typeof === nn;
1181
+ var tn = typeof Symbol == "function" && Symbol.for, rn = tn ? Symbol.for("react.element") : 60103;
1182
+ function nn(e) {
1183
+ return e.$$typeof === rn;
1184
1184
  }
1185
- function sn(e) {
1185
+ function on(e) {
1186
1186
  return Array.isArray(e) ? [] : {};
1187
1187
  }
1188
- function se(e, t) {
1189
- return t.clone !== !1 && t.isMergeableObject(e) ? q(sn(e), e, t) : e;
1188
+ function oe(e, t) {
1189
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(on(e), e, t) : e;
1190
1190
  }
1191
- function an(e, t, r) {
1191
+ function sn(e, t, r) {
1192
1192
  return e.concat(t).map(function(n) {
1193
- return se(n, r);
1193
+ return oe(n, r);
1194
1194
  });
1195
1195
  }
1196
- function un(e, t) {
1196
+ function an(e, t) {
1197
1197
  if (!t.customMerge)
1198
- return q;
1198
+ return Z;
1199
1199
  var r = t.customMerge(e);
1200
- return typeof r == "function" ? r : q;
1200
+ return typeof r == "function" ? r : Z;
1201
1201
  }
1202
- function ln(e) {
1202
+ function un(e) {
1203
1203
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1204
1204
  return Object.propertyIsEnumerable.call(e, t);
1205
1205
  }) : [];
1206
1206
  }
1207
- function ut(e) {
1208
- return Object.keys(e).concat(ln(e));
1207
+ function lt(e) {
1208
+ return Object.keys(e).concat(un(e));
1209
1209
  }
1210
- function $t(e, t) {
1210
+ function Dt(e, t) {
1211
1211
  try {
1212
1212
  return t in e;
1213
1213
  } catch {
1214
1214
  return !1;
1215
1215
  }
1216
1216
  }
1217
- function hn(e, t) {
1218
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1217
+ function ln(e, t) {
1218
+ return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1219
1219
  }
1220
- function fn(e, t, r) {
1220
+ function hn(e, t, r) {
1221
1221
  var n = {};
1222
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1223
- n[i] = se(e[i], r);
1224
- }), ut(t).forEach(function(i) {
1225
- hn(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1222
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1223
+ n[i] = oe(e[i], r);
1224
+ }), lt(t).forEach(function(i) {
1225
+ ln(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = an(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1226
1226
  }), n;
1227
1227
  }
1228
- function q(e, t, r) {
1229
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = se;
1228
+ function Z(e, t, r) {
1229
+ r = r || {}, r.arrayMerge = r.arrayMerge || sn, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = oe;
1230
1230
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1231
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : se(t, r);
1231
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : oe(t, r);
1232
1232
  }
1233
- q.all = function(t, r) {
1233
+ Z.all = function(t, r) {
1234
1234
  if (!Array.isArray(t))
1235
1235
  throw new Error("first argument should be an array");
1236
1236
  return t.reduce(function(n, i) {
1237
- return q(n, i, r);
1237
+ return Z(n, i, r);
1238
1238
  }, {});
1239
1239
  };
1240
- var cn = q, dn = cn;
1241
- const pn = /* @__PURE__ */ Yr(dn);
1240
+ var cn = Z, fn = cn;
1241
+ const dn = /* @__PURE__ */ qr(fn);
1242
1242
  function Be(e, t) {
1243
- var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : yn;
1243
+ var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : bn;
1244
1244
  return i(e, {
1245
1245
  cache: r,
1246
1246
  serializer: n
1247
1247
  });
1248
1248
  }
1249
- function mn(e) {
1249
+ function pn(e) {
1250
1250
  return e == null || typeof e == "number" || typeof e == "boolean";
1251
1251
  }
1252
- function bn(e, t, r, n) {
1253
- var i = mn(n) ? n : r(n), o = t.get(i);
1252
+ function mn(e, t, r, n) {
1253
+ var i = pn(n) ? n : r(n), o = t.get(i);
1254
1254
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1255
1255
  }
1256
- function Dt(e, t, r) {
1256
+ function Ut(e, t, r) {
1257
1257
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1258
1258
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1259
1259
  }
1260
- function Ut(e, t, r, n, i) {
1260
+ function Gt(e, t, r, n, i) {
1261
1261
  return r.bind(t, e, n, i);
1262
1262
  }
1263
- function yn(e, t) {
1264
- var r = e.length === 1 ? bn : Dt;
1265
- return Ut(e, this, r, t.cache.create(), t.serializer);
1263
+ function bn(e, t) {
1264
+ var r = e.length === 1 ? mn : Ut;
1265
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1266
1266
  }
1267
- function gn(e, t) {
1268
- return Ut(e, this, Dt, t.cache.create(), t.serializer);
1267
+ function yn(e, t) {
1268
+ return Gt(e, this, Ut, t.cache.create(), t.serializer);
1269
1269
  }
1270
- var vn = function() {
1270
+ var gn = function() {
1271
1271
  return JSON.stringify(arguments);
1272
- }, _n = (
1272
+ }, vn = (
1273
1273
  /** @class */
1274
1274
  function() {
1275
1275
  function e() {
@@ -1281,12 +1281,12 @@ var vn = function() {
1281
1281
  this.cache[t] = r;
1282
1282
  }, e;
1283
1283
  }()
1284
- ), En = {
1284
+ ), _n = {
1285
1285
  create: function() {
1286
- return new _n();
1286
+ return new vn();
1287
1287
  }
1288
1288
  }, Ae = {
1289
- variadic: gn
1289
+ variadic: yn
1290
1290
  }, m;
1291
1291
  (function(e) {
1292
1292
  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";
@@ -1295,47 +1295,47 @@ var E;
1295
1295
  (function(e) {
1296
1296
  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";
1297
1297
  })(E || (E = {}));
1298
- var Z;
1298
+ var Q;
1299
1299
  (function(e) {
1300
1300
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1301
- })(Z || (Z = {}));
1302
- function lt(e) {
1301
+ })(Q || (Q = {}));
1302
+ function ht(e) {
1303
1303
  return e.type === E.literal;
1304
1304
  }
1305
- function xn(e) {
1305
+ function En(e) {
1306
1306
  return e.type === E.argument;
1307
1307
  }
1308
- function Gt(e) {
1308
+ function Ft(e) {
1309
1309
  return e.type === E.number;
1310
1310
  }
1311
- function Ft(e) {
1311
+ function jt(e) {
1312
1312
  return e.type === E.date;
1313
1313
  }
1314
- function jt(e) {
1314
+ function kt(e) {
1315
1315
  return e.type === E.time;
1316
1316
  }
1317
- function kt(e) {
1317
+ function Vt(e) {
1318
1318
  return e.type === E.select;
1319
1319
  }
1320
- function Vt(e) {
1320
+ function Xt(e) {
1321
1321
  return e.type === E.plural;
1322
1322
  }
1323
- function Sn(e) {
1323
+ function xn(e) {
1324
1324
  return e.type === E.pound;
1325
1325
  }
1326
- function Xt(e) {
1326
+ function Wt(e) {
1327
1327
  return e.type === E.tag;
1328
1328
  }
1329
- function Wt(e) {
1330
- return !!(e && typeof e == "object" && e.type === Z.number);
1329
+ function zt(e) {
1330
+ return !!(e && typeof e == "object" && e.type === Q.number);
1331
1331
  }
1332
1332
  function Ge(e) {
1333
- return !!(e && typeof e == "object" && e.type === Z.dateTime);
1333
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1334
1334
  }
1335
- var zt = /[ \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;
1336
- function wn(e) {
1335
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1336
+ function Tn(e) {
1337
1337
  var t = {};
1338
- return e.replace(Tn, function(r) {
1338
+ return e.replace(Sn, function(r) {
1339
1339
  var n = r.length;
1340
1340
  switch (r[0]) {
1341
1341
  case "G":
@@ -1424,11 +1424,11 @@ function wn(e) {
1424
1424
  return "";
1425
1425
  }), t;
1426
1426
  }
1427
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1428
- function Bn(e) {
1427
+ var wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1428
+ function Hn(e) {
1429
1429
  if (e.length === 0)
1430
1430
  throw new Error("Number skeleton cannot be empty");
1431
- for (var t = e.split(Hn).filter(function(c) {
1431
+ for (var t = e.split(wn).filter(function(c) {
1432
1432
  return c.length > 0;
1433
1433
  }), r = [], n = 0, i = t; n < i.length; n++) {
1434
1434
  var o = i[n], a = o.split("/");
@@ -1443,17 +1443,17 @@ function Bn(e) {
1443
1443
  }
1444
1444
  return r;
1445
1445
  }
1446
- function An(e) {
1446
+ function Bn(e) {
1447
1447
  return e.replace(/^(.*?)-/, "");
1448
1448
  }
1449
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1449
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1450
1450
  function ft(e) {
1451
1451
  var t = {};
1452
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1452
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1453
1453
  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)), "";
1454
1454
  }), t;
1455
1455
  }
1456
- function Qt(e) {
1456
+ function qt(e) {
1457
1457
  switch (e) {
1458
1458
  case "sign-auto":
1459
1459
  return {
@@ -1493,7 +1493,7 @@ function Qt(e) {
1493
1493
  };
1494
1494
  }
1495
1495
  }
1496
- function On(e) {
1496
+ function Pn(e) {
1497
1497
  var t;
1498
1498
  if (e[0] === "E" && e[1] === "E" ? (t = {
1499
1499
  notation: "engineering"
@@ -1501,17 +1501,17 @@ function On(e) {
1501
1501
  notation: "scientific"
1502
1502
  }, e = e.slice(1)), t) {
1503
1503
  var r = e.slice(0, 2);
1504
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1504
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1505
1505
  throw new Error("Malformed concise eng/scientific notation");
1506
1506
  t.minimumIntegerDigits = e.length;
1507
1507
  }
1508
1508
  return t;
1509
1509
  }
1510
- function ct(e) {
1511
- var t = {}, r = Qt(e);
1510
+ function dt(e) {
1511
+ var t = {}, r = qt(e);
1512
1512
  return r || t;
1513
1513
  }
1514
- function In(e) {
1514
+ function On(e) {
1515
1515
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1516
1516
  var i = n[r];
1517
1517
  switch (i.stem) {
@@ -1535,7 +1535,7 @@ function In(e) {
1535
1535
  continue;
1536
1536
  case "measure-unit":
1537
1537
  case "unit":
1538
- t.style = "unit", t.unit = An(i.options[0]);
1538
+ t.style = "unit", t.unit = Bn(i.options[0]);
1539
1539
  continue;
1540
1540
  case "compact-short":
1541
1541
  case "K":
@@ -1547,12 +1547,12 @@ function In(e) {
1547
1547
  continue;
1548
1548
  case "scientific":
1549
1549
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1550
- return g(g({}, l), ct(u));
1550
+ return g(g({}, l), dt(u));
1551
1551
  }, {}));
1552
1552
  continue;
1553
1553
  case "engineering":
1554
1554
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1555
- return g(g({}, l), ct(u));
1555
+ return g(g({}, l), dt(u));
1556
1556
  }, {}));
1557
1557
  continue;
1558
1558
  case "notation-simple":
@@ -1597,45 +1597,45 @@ function In(e) {
1597
1597
  case "integer-width":
1598
1598
  if (i.options.length > 1)
1599
1599
  throw new RangeError("integer-width stems only accept a single optional option");
1600
- i.options[0].replace(Pn, function(l, u, h, f, c, b) {
1600
+ i.options[0].replace(An, function(l, u, h, f, c, y) {
1601
1601
  if (u)
1602
1602
  t.minimumIntegerDigits = h.length;
1603
1603
  else {
1604
1604
  if (f && c)
1605
1605
  throw new Error("We currently do not support maximum integer digits");
1606
- if (b)
1606
+ if (y)
1607
1607
  throw new Error("We currently do not support exact integer digits");
1608
1608
  }
1609
1609
  return "";
1610
1610
  });
1611
1611
  continue;
1612
1612
  }
1613
- if (Zt.test(i.stem)) {
1613
+ if (Jt.test(i.stem)) {
1614
1614
  t.minimumIntegerDigits = i.stem.length;
1615
1615
  continue;
1616
1616
  }
1617
- if (ht.test(i.stem)) {
1617
+ if (ct.test(i.stem)) {
1618
1618
  if (i.options.length > 1)
1619
1619
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1620
- i.stem.replace(ht, function(l, u, h, f, c, b) {
1621
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1620
+ i.stem.replace(ct, function(l, u, h, f, c, y) {
1621
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1622
1622
  });
1623
1623
  var o = i.options[0];
1624
1624
  o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ft(o)));
1625
1625
  continue;
1626
1626
  }
1627
- if (qt.test(i.stem)) {
1627
+ if (Qt.test(i.stem)) {
1628
1628
  t = g(g({}, t), ft(i.stem));
1629
1629
  continue;
1630
1630
  }
1631
- var a = Qt(i.stem);
1631
+ var a = qt(i.stem);
1632
1632
  a && (t = g(g({}, t), a));
1633
- var s = On(i.stem);
1633
+ var s = Pn(i.stem);
1634
1634
  s && (t = g(g({}, t), s));
1635
1635
  }
1636
1636
  return t;
1637
1637
  }
1638
- var fe = {
1638
+ var ce = {
1639
1639
  "001": [
1640
1640
  "H",
1641
1641
  "h"
@@ -3050,7 +3050,7 @@ var fe = {
3050
3050
  "h"
3051
3051
  ]
3052
3052
  };
3053
- function Cn(e, t) {
3053
+ function In(e, t) {
3054
3054
  for (var r = "", n = 0; n < e.length; n++) {
3055
3055
  var i = e.charAt(n);
3056
3056
  if (i === "j") {
@@ -3084,23 +3084,23 @@ function Ln(e) {
3084
3084
  }
3085
3085
  var r = e.language, n;
3086
3086
  r !== "root" && (n = e.maximize().region);
3087
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3087
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3088
3088
  return i[0];
3089
3089
  }
3090
- var Pe, Nn = new RegExp("^".concat(zt.source, "*")), Mn = new RegExp("".concat(zt.source, "*$"));
3091
- function y(e, t) {
3090
+ var Pe, Cn = new RegExp("^".concat(Zt.source, "*")), Nn = new RegExp("".concat(Zt.source, "*$"));
3091
+ function b(e, t) {
3092
3092
  return { start: e, end: t };
3093
3093
  }
3094
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Dn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Gn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
3094
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, $n = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Un = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3095
3095
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3096
3096
  }, Fe = !0;
3097
3097
  try {
3098
- var Vn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3099
- Fe = ((Pe = Vn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3098
+ var kn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3099
+ Fe = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3100
3100
  } catch {
3101
3101
  Fe = !1;
3102
3102
  }
3103
- var dt = Rn ? (
3103
+ var pt = Mn ? (
3104
3104
  // Native
3105
3105
  function(t, r, n) {
3106
3106
  return t.startsWith(r, n);
@@ -3110,7 +3110,7 @@ var dt = Rn ? (
3110
3110
  function(t, r, n) {
3111
3111
  return t.slice(n, n + r.length) === r;
3112
3112
  }
3113
- ), je = $n ? String.fromCodePoint : (
3113
+ ), je = Rn ? String.fromCodePoint : (
3114
3114
  // IE11
3115
3115
  function() {
3116
3116
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3122,9 +3122,9 @@ var dt = Rn ? (
3122
3122
  }
3123
3123
  return n;
3124
3124
  }
3125
- ), pt = (
3125
+ ), mt = (
3126
3126
  // native
3127
- Dn ? Object.fromEntries : (
3127
+ $n ? Object.fromEntries : (
3128
3128
  // Ponyfill
3129
3129
  function(t) {
3130
3130
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3134,7 +3134,7 @@ var dt = Rn ? (
3134
3134
  return r;
3135
3135
  }
3136
3136
  )
3137
- ), Jt = Un ? (
3137
+ ), Yt = Dn ? (
3138
3138
  // Native
3139
3139
  function(t, r) {
3140
3140
  return t.codePointAt(r);
@@ -3148,7 +3148,7 @@ var dt = Rn ? (
3148
3148
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3149
3149
  }
3150
3150
  }
3151
- ), Xn = Gn ? (
3151
+ ), Vn = Un ? (
3152
3152
  // Native
3153
3153
  function(t) {
3154
3154
  return t.trimStart();
@@ -3156,9 +3156,9 @@ var dt = Rn ? (
3156
3156
  ) : (
3157
3157
  // Ponyfill
3158
3158
  function(t) {
3159
- return t.replace(Nn, "");
3159
+ return t.replace(Cn, "");
3160
3160
  }
3161
- ), Wn = Fn ? (
3161
+ ), Xn = Gn ? (
3162
3162
  // Native
3163
3163
  function(t) {
3164
3164
  return t.trimEnd();
@@ -3166,32 +3166,32 @@ var dt = Rn ? (
3166
3166
  ) : (
3167
3167
  // Ponyfill
3168
3168
  function(t) {
3169
- return t.replace(Mn, "");
3169
+ return t.replace(Nn, "");
3170
3170
  }
3171
3171
  );
3172
- function Yt(e, t) {
3172
+ function Kt(e, t) {
3173
3173
  return new RegExp(e, t);
3174
3174
  }
3175
3175
  var ke;
3176
3176
  if (Fe) {
3177
- var mt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3177
+ var bt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3178
3178
  ke = function(t, r) {
3179
3179
  var n;
3180
- mt.lastIndex = r;
3181
- var i = mt.exec(t);
3180
+ bt.lastIndex = r;
3181
+ var i = bt.exec(t);
3182
3182
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3183
3183
  };
3184
3184
  } else
3185
3185
  ke = function(t, r) {
3186
3186
  for (var n = []; ; ) {
3187
- var i = Jt(t, r);
3188
- if (i === void 0 || Kt(i) || Qn(i))
3187
+ var i = Yt(t, r);
3188
+ if (i === void 0 || er(i) || Qn(i))
3189
3189
  break;
3190
3190
  n.push(i), r += i >= 65536 ? 2 : 1;
3191
3191
  }
3192
3192
  return je.apply(void 0, n);
3193
3193
  };
3194
- var zn = (
3194
+ var Wn = (
3195
3195
  /** @class */
3196
3196
  function() {
3197
3197
  function e(t, r) {
@@ -3216,12 +3216,12 @@ var zn = (
3216
3216
  var s = this.clonePosition();
3217
3217
  this.bump(), i.push({
3218
3218
  type: E.pound,
3219
- location: y(s, this.clonePosition())
3219
+ location: b(s, this.clonePosition())
3220
3220
  });
3221
3221
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3222
3222
  if (n)
3223
3223
  break;
3224
- return this.error(m.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3224
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3225
3225
  } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3226
3226
  var a = this.parseTag(t, r);
3227
3227
  if (a.err)
@@ -3245,7 +3245,7 @@ var zn = (
3245
3245
  val: {
3246
3246
  type: E.literal,
3247
3247
  value: "<".concat(i, "/>"),
3248
- location: y(n, this.clonePosition())
3248
+ location: b(n, this.clonePosition())
3249
3249
  },
3250
3250
  err: null
3251
3251
  };
@@ -3256,21 +3256,21 @@ var zn = (
3256
3256
  var a = o.val, s = this.clonePosition();
3257
3257
  if (this.bumpIf("</")) {
3258
3258
  if (this.isEOF() || !Ve(this.char()))
3259
- return this.error(m.INVALID_TAG, y(s, this.clonePosition()));
3259
+ return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
3260
3260
  var l = this.clonePosition(), u = this.parseTagName();
3261
- return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3261
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3262
3262
  val: {
3263
3263
  type: E.tag,
3264
3264
  value: i,
3265
3265
  children: a,
3266
- location: y(n, this.clonePosition())
3266
+ location: b(n, this.clonePosition())
3267
3267
  },
3268
3268
  err: null
3269
- } : this.error(m.INVALID_TAG, y(s, this.clonePosition())));
3269
+ } : this.error(m.INVALID_TAG, b(s, this.clonePosition())));
3270
3270
  } else
3271
- return this.error(m.UNCLOSED_TAG, y(n, this.clonePosition()));
3271
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3272
3272
  } else
3273
- return this.error(m.INVALID_TAG, y(n, this.clonePosition()));
3273
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3274
3274
  }, e.prototype.parseTagName = function() {
3275
3275
  var t = this.offset();
3276
3276
  for (this.bump(); !this.isEOF() && Zn(this.char()); )
@@ -3295,14 +3295,14 @@ var zn = (
3295
3295
  }
3296
3296
  break;
3297
3297
  }
3298
- var l = y(n, this.clonePosition());
3298
+ var l = b(n, this.clonePosition());
3299
3299
  return {
3300
3300
  val: { type: E.literal, value: i, location: l },
3301
3301
  err: null
3302
3302
  };
3303
3303
  }, e.prototype.tryParseLeftAngleBracket = function() {
3304
3304
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3305
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3305
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3306
3306
  }, e.prototype.tryParseQuote = function(t) {
3307
3307
  if (this.isEOF() || this.char() !== 39)
3308
3308
  return null;
@@ -3345,14 +3345,14 @@ var zn = (
3345
3345
  }, e.prototype.parseArgument = function(t, r) {
3346
3346
  var n = this.clonePosition();
3347
3347
  if (this.bump(), this.bumpSpace(), this.isEOF())
3348
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3348
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3349
3349
  if (this.char() === 125)
3350
- return this.bump(), this.error(m.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3350
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3351
3351
  var i = this.parseIdentifierIfPossible().value;
3352
3352
  if (!i)
3353
- return this.error(m.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3353
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3354
3354
  if (this.bumpSpace(), this.isEOF())
3355
- return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3355
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3356
3356
  switch (this.char()) {
3357
3357
  case 125:
3358
3358
  return this.bump(), {
@@ -3360,25 +3360,25 @@ var zn = (
3360
3360
  type: E.argument,
3361
3361
  // value does not include the opening and closing braces.
3362
3362
  value: i,
3363
- location: y(n, this.clonePosition())
3363
+ location: b(n, this.clonePosition())
3364
3364
  },
3365
3365
  err: null
3366
3366
  };
3367
3367
  case 44:
3368
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3368
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3369
3369
  default:
3370
- return this.error(m.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3370
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3371
3371
  }
3372
3372
  }, e.prototype.parseIdentifierIfPossible = function() {
3373
3373
  var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3374
3374
  this.bumpTo(i);
3375
- var o = this.clonePosition(), a = y(t, o);
3375
+ var o = this.clonePosition(), a = b(t, o);
3376
3376
  return { value: n, location: a };
3377
3377
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3378
3378
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3379
3379
  switch (s) {
3380
3380
  case "":
3381
- return this.error(m.EXPECT_ARGUMENT_TYPE, y(a, l));
3381
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(a, l));
3382
3382
  case "number":
3383
3383
  case "date":
3384
3384
  case "time": {
@@ -3389,18 +3389,18 @@ var zn = (
3389
3389
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3390
3390
  if (f.err)
3391
3391
  return f;
3392
- var c = Wn(f.val);
3392
+ var c = Xn(f.val);
3393
3393
  if (c.length === 0)
3394
- return this.error(m.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3395
- var b = y(h, this.clonePosition());
3396
- u = { style: c, styleLocation: b };
3394
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3395
+ var y = b(h, this.clonePosition());
3396
+ u = { style: c, styleLocation: y };
3397
3397
  }
3398
3398
  var _ = this.tryParseArgumentClose(i);
3399
3399
  if (_.err)
3400
3400
  return _;
3401
- var v = y(i, this.clonePosition());
3402
- if (u && dt(u?.style, "::", 0)) {
3403
- var T = Xn(u.style.slice(2));
3401
+ var v = b(i, this.clonePosition());
3402
+ if (u && pt(u?.style, "::", 0)) {
3403
+ var T = Vn(u.style.slice(2));
3404
3404
  if (s === "number") {
3405
3405
  var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3406
3406
  return f.err ? f : {
@@ -3410,16 +3410,16 @@ var zn = (
3410
3410
  } else {
3411
3411
  if (T.length === 0)
3412
3412
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3413
- var M = T;
3414
- this.locale && (M = Cn(T, this.locale));
3413
+ var N = T;
3414
+ this.locale && (N = In(T, this.locale));
3415
3415
  var c = {
3416
- type: Z.dateTime,
3417
- pattern: M,
3416
+ type: Q.dateTime,
3417
+ pattern: N,
3418
3418
  location: u.styleLocation,
3419
- parsedOptions: this.shouldParseSkeletons ? wn(M) : {}
3420
- }, A = s === "date" ? E.date : E.time;
3419
+ parsedOptions: this.shouldParseSkeletons ? Tn(N) : {}
3420
+ }, P = s === "date" ? E.date : E.time;
3421
3421
  return {
3422
- val: { type: A, value: n, location: v, style: c },
3422
+ val: { type: P, value: n, location: v, style: c },
3423
3423
  err: null
3424
3424
  };
3425
3425
  }
@@ -3437,52 +3437,52 @@ var zn = (
3437
3437
  case "plural":
3438
3438
  case "selectordinal":
3439
3439
  case "select": {
3440
- var w = this.clonePosition();
3440
+ var S = this.clonePosition();
3441
3441
  if (this.bumpSpace(), !this.bumpIf(","))
3442
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, g({}, w)));
3442
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, g({}, S)));
3443
3443
  this.bumpSpace();
3444
- var D = this.parseIdentifierIfPossible(), O = 0;
3445
- if (s !== "select" && D.value === "offset") {
3444
+ var U = this.parseIdentifierIfPossible(), O = 0;
3445
+ if (s !== "select" && U.value === "offset") {
3446
3446
  if (!this.bumpIf(":"))
3447
- return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3447
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3448
3448
  this.bumpSpace();
3449
3449
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3450
3450
  if (f.err)
3451
3451
  return f;
3452
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), O = f.val;
3452
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = f.val;
3453
3453
  }
3454
- var j = this.tryParsePluralOrSelectOptions(t, s, r, D);
3454
+ var j = this.tryParsePluralOrSelectOptions(t, s, r, U);
3455
3455
  if (j.err)
3456
3456
  return j;
3457
3457
  var _ = this.tryParseArgumentClose(i);
3458
3458
  if (_.err)
3459
3459
  return _;
3460
- var re = y(i, this.clonePosition());
3460
+ var ue = b(i, this.clonePosition());
3461
3461
  return s === "select" ? {
3462
3462
  val: {
3463
3463
  type: E.select,
3464
3464
  value: n,
3465
- options: pt(j.val),
3466
- location: re
3465
+ options: mt(j.val),
3466
+ location: ue
3467
3467
  },
3468
3468
  err: null
3469
3469
  } : {
3470
3470
  val: {
3471
3471
  type: E.plural,
3472
3472
  value: n,
3473
- options: pt(j.val),
3473
+ options: mt(j.val),
3474
3474
  offset: O,
3475
3475
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3476
- location: re
3476
+ location: ue
3477
3477
  },
3478
3478
  err: null
3479
3479
  };
3480
3480
  }
3481
3481
  default:
3482
- return this.error(m.INVALID_ARGUMENT_TYPE, y(a, l));
3482
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(a, l));
3483
3483
  }
3484
3484
  }, e.prototype.tryParseArgumentClose = function(t) {
3485
- return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3485
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3486
3486
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3487
3487
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3488
3488
  var n = this.char();
@@ -3491,7 +3491,7 @@ var zn = (
3491
3491
  this.bump();
3492
3492
  var i = this.clonePosition();
3493
3493
  if (!this.bumpUntil("'"))
3494
- return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3494
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3495
3495
  this.bump();
3496
3496
  break;
3497
3497
  }
@@ -3521,16 +3521,16 @@ var zn = (
3521
3521
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3522
3522
  var n = [];
3523
3523
  try {
3524
- n = Bn(t);
3524
+ n = Hn(t);
3525
3525
  } catch {
3526
3526
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3527
3527
  }
3528
3528
  return {
3529
3529
  val: {
3530
- type: Z.number,
3530
+ type: Q.number,
3531
3531
  tokens: n,
3532
3532
  location: r,
3533
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3533
+ parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3534
3534
  },
3535
3535
  err: null
3536
3536
  };
@@ -3542,31 +3542,31 @@ var zn = (
3542
3542
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3543
3543
  if (c.err)
3544
3544
  return c;
3545
- h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3545
+ h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3546
3546
  } else
3547
3547
  break;
3548
3548
  }
3549
3549
  if (l.has(u))
3550
3550
  return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3551
3551
  u === "other" && (a = !0), this.bumpSpace();
3552
- var b = this.clonePosition();
3552
+ var y = this.clonePosition();
3553
3553
  if (!this.bumpIf("{"))
3554
- return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3554
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3555
3555
  var _ = this.parseMessage(t + 1, r, n);
3556
3556
  if (_.err)
3557
3557
  return _;
3558
- var v = this.tryParseArgumentClose(b);
3558
+ var v = this.tryParseArgumentClose(y);
3559
3559
  if (v.err)
3560
3560
  return v;
3561
3561
  s.push([
3562
3562
  u,
3563
3563
  {
3564
3564
  value: _.val,
3565
- location: y(b, this.clonePosition())
3565
+ location: b(y, this.clonePosition())
3566
3566
  }
3567
3567
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3568
3568
  }
3569
- return s.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3569
+ return s.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3570
3570
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3571
3571
  var n = 1, i = this.clonePosition();
3572
3572
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3577,8 +3577,8 @@ var zn = (
3577
3577
  else
3578
3578
  break;
3579
3579
  }
3580
- var l = y(i, this.clonePosition());
3581
- return o ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3580
+ var l = b(i, this.clonePosition());
3581
+ return o ? (a *= n, jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3582
3582
  }, e.prototype.offset = function() {
3583
3583
  return this.position.offset;
3584
3584
  }, e.prototype.isEOF = function() {
@@ -3593,7 +3593,7 @@ var zn = (
3593
3593
  var t = this.position.offset;
3594
3594
  if (t >= this.message.length)
3595
3595
  throw Error("out of bound");
3596
- var r = Jt(this.message, t);
3596
+ var r = Yt(this.message, t);
3597
3597
  if (r === void 0)
3598
3598
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3599
3599
  return r;
@@ -3612,7 +3612,7 @@ var zn = (
3612
3612
  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);
3613
3613
  }
3614
3614
  }, e.prototype.bumpIf = function(t) {
3615
- if (dt(this.message, t, this.offset())) {
3615
+ if (pt(this.message, t, this.offset())) {
3616
3616
  for (var r = 0; r < t.length; r++)
3617
3617
  this.bump();
3618
3618
  return !0;
@@ -3634,7 +3634,7 @@ var zn = (
3634
3634
  break;
3635
3635
  }
3636
3636
  }, e.prototype.bumpSpace = function() {
3637
- for (; !this.isEOF() && Kt(this.char()); )
3637
+ for (; !this.isEOF() && er(this.char()); )
3638
3638
  this.bump();
3639
3639
  }, e.prototype.peek = function() {
3640
3640
  if (this.isEOF())
@@ -3647,13 +3647,13 @@ var zn = (
3647
3647
  function Ve(e) {
3648
3648
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3649
3649
  }
3650
- function qn(e) {
3650
+ function zn(e) {
3651
3651
  return Ve(e) || e === 47;
3652
3652
  }
3653
3653
  function Zn(e) {
3654
3654
  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;
3655
3655
  }
3656
- function Kt(e) {
3656
+ function er(e) {
3657
3657
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3658
3658
  }
3659
3659
  function Qn(e) {
@@ -3661,29 +3661,29 @@ function Qn(e) {
3661
3661
  }
3662
3662
  function Xe(e) {
3663
3663
  e.forEach(function(t) {
3664
- if (delete t.location, kt(t) || Vt(t))
3664
+ if (delete t.location, Vt(t) || Xt(t))
3665
3665
  for (var r in t.options)
3666
3666
  delete t.options[r].location, Xe(t.options[r].value);
3667
- else Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3667
+ else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Ge(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
3668
3668
  });
3669
3669
  }
3670
3670
  function Jn(e, t) {
3671
3671
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3672
- var r = new zn(e, t).parse();
3672
+ var r = new Wn(e, t).parse();
3673
3673
  if (r.err) {
3674
3674
  var n = SyntaxError(m[r.err.kind]);
3675
3675
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3676
3676
  }
3677
3677
  return t?.captureLocation || Xe(r.val), r.val;
3678
3678
  }
3679
- var Q;
3679
+ var J;
3680
3680
  (function(e) {
3681
3681
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3682
- })(Q || (Q = {}));
3682
+ })(J || (J = {}));
3683
3683
  var xe = (
3684
3684
  /** @class */
3685
3685
  function(e) {
3686
- N(t, e);
3686
+ C(t, e);
3687
3687
  function t(r, n, i) {
3688
3688
  var o = e.call(this, r) || this;
3689
3689
  return o.code = n, o.originalMessage = i, o;
@@ -3692,30 +3692,30 @@ var xe = (
3692
3692
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3693
3693
  }, t;
3694
3694
  }(Error)
3695
- ), bt = (
3695
+ ), yt = (
3696
3696
  /** @class */
3697
3697
  function(e) {
3698
- N(t, e);
3698
+ C(t, e);
3699
3699
  function t(r, n, i, o) {
3700
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3700
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3701
3701
  }
3702
3702
  return t;
3703
3703
  }(xe)
3704
- ), Yn = (
3704
+ ), qn = (
3705
3705
  /** @class */
3706
3706
  function(e) {
3707
- N(t, e);
3707
+ C(t, e);
3708
3708
  function t(r, n, i) {
3709
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3709
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3710
3710
  }
3711
3711
  return t;
3712
3712
  }(xe)
3713
- ), Kn = (
3713
+ ), Yn = (
3714
3714
  /** @class */
3715
3715
  function(e) {
3716
- N(t, e);
3716
+ C(t, e);
3717
3717
  function t(r, n) {
3718
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3718
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3719
3719
  }
3720
3720
  return t;
3721
3721
  }(xe)
@@ -3723,17 +3723,17 @@ var xe = (
3723
3723
  (function(e) {
3724
3724
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3725
3725
  })(x || (x = {}));
3726
- function ei(e) {
3726
+ function Kn(e) {
3727
3727
  return e.length < 2 ? e : e.reduce(function(t, r) {
3728
3728
  var n = t[t.length - 1];
3729
3729
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3730
3730
  }, []);
3731
3731
  }
3732
- function ti(e) {
3732
+ function ei(e) {
3733
3733
  return typeof e == "function";
3734
3734
  }
3735
3735
  function me(e, t, r, n, i, o, a) {
3736
- if (e.length === 1 && lt(e[0]))
3736
+ if (e.length === 1 && ht(e[0]))
3737
3737
  return [
3738
3738
  {
3739
3739
  type: x.literal,
@@ -3742,14 +3742,14 @@ function me(e, t, r, n, i, o, a) {
3742
3742
  ];
3743
3743
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3744
3744
  var h = u[l];
3745
- if (lt(h)) {
3745
+ if (ht(h)) {
3746
3746
  s.push({
3747
3747
  type: x.literal,
3748
3748
  value: h.value
3749
3749
  });
3750
3750
  continue;
3751
3751
  }
3752
- if (Sn(h)) {
3752
+ if (xn(h)) {
3753
3753
  typeof o == "number" && s.push({
3754
3754
  type: x.literal,
3755
3755
  value: r.getNumberFormat(t).format(o)
@@ -3758,86 +3758,86 @@ function me(e, t, r, n, i, o, a) {
3758
3758
  }
3759
3759
  var f = h.value;
3760
3760
  if (!(i && f in i))
3761
- throw new Kn(f, a);
3761
+ throw new Yn(f, a);
3762
3762
  var c = i[f];
3763
- if (xn(h)) {
3763
+ if (En(h)) {
3764
3764
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3765
3765
  type: typeof c == "string" ? x.literal : x.object,
3766
3766
  value: c
3767
3767
  });
3768
3768
  continue;
3769
3769
  }
3770
- if (Ft(h)) {
3771
- var b = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3770
+ if (jt(h)) {
3771
+ var y = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3772
3772
  s.push({
3773
3773
  type: x.literal,
3774
- value: r.getDateTimeFormat(t, b).format(c)
3774
+ value: r.getDateTimeFormat(t, y).format(c)
3775
3775
  });
3776
3776
  continue;
3777
3777
  }
3778
- if (jt(h)) {
3779
- var b = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3778
+ if (kt(h)) {
3779
+ var y = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3780
3780
  s.push({
3781
3781
  type: x.literal,
3782
- value: r.getDateTimeFormat(t, b).format(c)
3782
+ value: r.getDateTimeFormat(t, y).format(c)
3783
3783
  });
3784
3784
  continue;
3785
3785
  }
3786
- if (Gt(h)) {
3787
- var b = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3788
- b && b.scale && (c = c * (b.scale || 1)), s.push({
3786
+ if (Ft(h)) {
3787
+ var y = typeof h.style == "string" ? n.number[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3788
+ y && y.scale && (c = c * (y.scale || 1)), s.push({
3789
3789
  type: x.literal,
3790
- value: r.getNumberFormat(t, b).format(c)
3790
+ value: r.getNumberFormat(t, y).format(c)
3791
3791
  });
3792
3792
  continue;
3793
3793
  }
3794
- if (Xt(h)) {
3794
+ if (Wt(h)) {
3795
3795
  var _ = h.children, v = h.value, T = i[v];
3796
- if (!ti(T))
3797
- throw new Yn(v, "function", a);
3798
- var M = me(_, t, r, n, i, o), A = T(M.map(function(O) {
3796
+ if (!ei(T))
3797
+ throw new qn(v, "function", a);
3798
+ var N = me(_, t, r, n, i, o), P = T(N.map(function(O) {
3799
3799
  return O.value;
3800
3800
  }));
3801
- Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(O) {
3801
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(O) {
3802
3802
  return {
3803
3803
  type: typeof O == "string" ? x.literal : x.object,
3804
3804
  value: O
3805
3805
  };
3806
3806
  }));
3807
3807
  }
3808
- if (kt(h)) {
3809
- var w = h.options[c] || h.options.other;
3810
- if (!w)
3811
- throw new bt(h.value, c, Object.keys(h.options), a);
3812
- s.push.apply(s, me(w.value, t, r, n, i));
3808
+ if (Vt(h)) {
3809
+ var S = h.options[c] || h.options.other;
3810
+ if (!S)
3811
+ throw new yt(h.value, c, Object.keys(h.options), a);
3812
+ s.push.apply(s, me(S.value, t, r, n, i));
3813
3813
  continue;
3814
3814
  }
3815
- if (Vt(h)) {
3816
- var w = h.options["=".concat(c)];
3817
- if (!w) {
3815
+ if (Xt(h)) {
3816
+ var S = h.options["=".concat(c)];
3817
+ if (!S) {
3818
3818
  if (!Intl.PluralRules)
3819
3819
  throw new xe(`Intl.PluralRules is not available in this environment.
3820
3820
  Try polyfilling it using "@formatjs/intl-pluralrules"
3821
- `, Q.MISSING_INTL_API, a);
3822
- var D = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3823
- w = h.options[D] || h.options.other;
3821
+ `, J.MISSING_INTL_API, a);
3822
+ var U = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3823
+ S = h.options[U] || h.options.other;
3824
3824
  }
3825
- if (!w)
3826
- throw new bt(h.value, c, Object.keys(h.options), a);
3827
- s.push.apply(s, me(w.value, t, r, n, i, c - (h.offset || 0)));
3825
+ if (!S)
3826
+ throw new yt(h.value, c, Object.keys(h.options), a);
3827
+ s.push.apply(s, me(S.value, t, r, n, i, c - (h.offset || 0)));
3828
3828
  continue;
3829
3829
  }
3830
3830
  }
3831
- return ei(s);
3831
+ return Kn(s);
3832
3832
  }
3833
- function ri(e, t) {
3833
+ function ti(e, t) {
3834
3834
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3835
3835
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3836
3836
  }, {})) : e;
3837
3837
  }
3838
- function ni(e, t) {
3838
+ function ri(e, t) {
3839
3839
  return t ? Object.keys(e).reduce(function(r, n) {
3840
- return r[n] = ri(e[n], t[n]), r;
3840
+ return r[n] = ti(e[n], t[n]), r;
3841
3841
  }, g({}, e)) : e;
3842
3842
  }
3843
3843
  function Oe(e) {
@@ -3854,7 +3854,7 @@ function Oe(e) {
3854
3854
  }
3855
3855
  };
3856
3856
  }
3857
- function ii(e) {
3857
+ function ni(e) {
3858
3858
  return e === void 0 && (e = {
3859
3859
  number: {},
3860
3860
  dateTime: {},
@@ -3886,7 +3886,7 @@ function ii(e) {
3886
3886
  })
3887
3887
  };
3888
3888
  }
3889
- var oi = (
3889
+ var ii = (
3890
3890
  /** @class */
3891
3891
  function() {
3892
3892
  function e(t, r, n, i) {
@@ -3918,13 +3918,13 @@ var oi = (
3918
3918
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3919
3919
  var a = i || {};
3920
3920
  a.formatters;
3921
- var s = Rr(a, ["formatters"]);
3921
+ var s = Mr(a, ["formatters"]);
3922
3922
  this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
3923
3923
  } else
3924
3924
  this.ast = t;
3925
3925
  if (!Array.isArray(this.ast))
3926
3926
  throw new TypeError("A message must be provided as a String or AST.");
3927
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3927
+ this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3928
3928
  }
3929
3929
  return Object.defineProperty(e, "defaultLocale", {
3930
3930
  get: function() {
@@ -3998,7 +3998,7 @@ var oi = (
3998
3998
  }, e;
3999
3999
  }()
4000
4000
  );
4001
- function si(e, t) {
4001
+ function oi(e, t) {
4002
4002
  if (t == null)
4003
4003
  return;
4004
4004
  if (t in e)
@@ -4019,60 +4019,60 @@ function si(e, t) {
4019
4019
  n = void 0;
4020
4020
  return n;
4021
4021
  }
4022
- const R = {}, ai = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), er = (e, t) => {
4022
+ const R = {}, si = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), tr = (e, t) => {
4023
4023
  if (t == null)
4024
4024
  return;
4025
4025
  if (t in R && e in R[t])
4026
4026
  return R[t][e];
4027
4027
  const r = Se(t);
4028
4028
  for (let n = 0; n < r.length; n++) {
4029
- const i = r[n], o = li(i, e);
4029
+ const i = r[n], o = ui(i, e);
4030
4030
  if (o)
4031
- return ai(e, t, o);
4031
+ return si(e, t, o);
4032
4032
  }
4033
4033
  };
4034
- let Qe;
4035
- const ue = Ee({});
4036
- function ui(e) {
4037
- return Qe[e] || null;
4034
+ let Je;
4035
+ const ae = Ee({});
4036
+ function ai(e) {
4037
+ return Je[e] || null;
4038
4038
  }
4039
- function tr(e) {
4040
- return e in Qe;
4039
+ function rr(e) {
4040
+ return e in Je;
4041
4041
  }
4042
- function li(e, t) {
4043
- if (!tr(e))
4042
+ function ui(e, t) {
4043
+ if (!rr(e))
4044
4044
  return null;
4045
- const r = ui(e);
4046
- return si(r, t);
4045
+ const r = ai(e);
4046
+ return oi(r, t);
4047
4047
  }
4048
- function hi(e) {
4048
+ function li(e) {
4049
4049
  if (e == null)
4050
4050
  return;
4051
4051
  const t = Se(e);
4052
4052
  for (let r = 0; r < t.length; r++) {
4053
4053
  const n = t[r];
4054
- if (tr(n))
4054
+ if (rr(n))
4055
4055
  return n;
4056
4056
  }
4057
4057
  }
4058
- function rr(e, ...t) {
4059
- delete R[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
4058
+ function nr(e, ...t) {
4059
+ delete R[e], ae.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
4060
4060
  }
4061
4061
  K(
4062
- [ue],
4062
+ [ae],
4063
4063
  ([e]) => Object.keys(e)
4064
4064
  );
4065
- ue.subscribe((e) => Qe = e);
4065
+ ae.subscribe((e) => Je = e);
4066
4066
  const be = {};
4067
- function fi(e, t) {
4067
+ function hi(e, t) {
4068
4068
  be[e].delete(t), be[e].size === 0 && delete be[e];
4069
4069
  }
4070
- function nr(e) {
4070
+ function ir(e) {
4071
4071
  return be[e];
4072
4072
  }
4073
4073
  function ci(e) {
4074
4074
  return Se(e).map((t) => {
4075
- const r = nr(t);
4075
+ const r = ir(t);
4076
4076
  return [t, r ? [...r] : []];
4077
4077
  }).filter(([, t]) => t.length > 0);
4078
4078
  }
@@ -4080,31 +4080,31 @@ function We(e) {
4080
4080
  return e == null ? !1 : Se(e).some(
4081
4081
  (t) => {
4082
4082
  var r;
4083
- return (r = nr(t)) == null ? void 0 : r.size;
4083
+ return (r = ir(t)) == null ? void 0 : r.size;
4084
4084
  }
4085
4085
  );
4086
4086
  }
4087
- function di(e, t) {
4087
+ function fi(e, t) {
4088
4088
  return Promise.all(
4089
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4090
- ).then((n) => rr(e, ...n));
4089
+ t.map((n) => (hi(e, n), n().then((i) => i.default || i)))
4090
+ ).then((n) => nr(e, ...n));
4091
4091
  }
4092
- const ne = {};
4093
- function ir(e) {
4092
+ const re = {};
4093
+ function or(e) {
4094
4094
  if (!We(e))
4095
- return e in ne ? ne[e] : Promise.resolve();
4095
+ return e in re ? re[e] : Promise.resolve();
4096
4096
  const t = ci(e);
4097
- return ne[e] = Promise.all(
4097
+ return re[e] = Promise.all(
4098
4098
  t.map(
4099
- ([r, n]) => di(r, n)
4099
+ ([r, n]) => fi(r, n)
4100
4100
  )
4101
4101
  ).then(() => {
4102
4102
  if (We(e))
4103
- return ir(e);
4104
- delete ne[e];
4105
- }), ne[e];
4103
+ return or(e);
4104
+ delete re[e];
4105
+ }), re[e];
4106
4106
  }
4107
- const pi = {
4107
+ const di = {
4108
4108
  number: {
4109
4109
  scientific: { notation: "scientific" },
4110
4110
  engineering: { notation: "engineering" },
@@ -4133,34 +4133,34 @@ const pi = {
4133
4133
  timeZoneName: "short"
4134
4134
  }
4135
4135
  }
4136
- }, mi = {
4136
+ }, pi = {
4137
4137
  fallbackLocale: null,
4138
4138
  loadingDelay: 200,
4139
- formats: pi,
4139
+ formats: di,
4140
4140
  warnOnMissingMessages: !0,
4141
4141
  handleMissingMessage: void 0,
4142
4142
  ignoreTag: !0
4143
- }, bi = mi;
4144
- function J() {
4145
- return bi;
4143
+ }, mi = pi;
4144
+ function q() {
4145
+ return mi;
4146
4146
  }
4147
4147
  const Ie = Ee(!1);
4148
- var yi = Object.defineProperty, gi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
4148
+ var bi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4149
4149
  for (var r in t || (t = {}))
4150
- _i.call(t, r) && gt(e, r, t[r]);
4151
- if (yt)
4152
- for (var r of yt(t))
4153
- Ei.call(t, r) && gt(e, r, t[r]);
4150
+ vi.call(t, r) && vt(e, r, t[r]);
4151
+ if (gt)
4152
+ for (var r of gt(t))
4153
+ _i.call(t, r) && vt(e, r, t[r]);
4154
4154
  return e;
4155
- }, Si = (e, t) => gi(e, vi(t));
4155
+ }, xi = (e, t) => yi(e, gi(t));
4156
4156
  let ze;
4157
4157
  const ye = Ee(null);
4158
- function vt(e) {
4158
+ function _t(e) {
4159
4159
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4160
4160
  }
4161
- function Se(e, t = J().fallbackLocale) {
4162
- const r = vt(e);
4163
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4161
+ function Se(e, t = q().fallbackLocale) {
4162
+ const r = _t(e);
4163
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4164
4164
  }
4165
4165
  function F() {
4166
4166
  return ze ?? void 0;
@@ -4168,22 +4168,22 @@ function F() {
4168
4168
  ye.subscribe((e) => {
4169
4169
  ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4170
4170
  });
4171
- const Ti = (e) => {
4172
- if (e && hi(e) && We(e)) {
4173
- const { loadingDelay: t } = J();
4171
+ const Si = (e) => {
4172
+ if (e && li(e) && We(e)) {
4173
+ const { loadingDelay: t } = q();
4174
4174
  let r;
4175
4175
  return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4176
4176
  () => Ie.set(!0),
4177
4177
  t
4178
- ) : Ie.set(!0), ir(e).then(() => {
4178
+ ) : Ie.set(!0), or(e).then(() => {
4179
4179
  ye.set(e);
4180
4180
  }).finally(() => {
4181
4181
  clearTimeout(r), Ie.set(!1);
4182
4182
  });
4183
4183
  }
4184
4184
  return ye.set(e);
4185
- }, ee = Si(xi({}, ye), {
4186
- set: Ti
4185
+ }, ee = xi(Ei({}, ye), {
4186
+ set: Si
4187
4187
  }), Te = (e) => {
4188
4188
  const t = /* @__PURE__ */ Object.create(null);
4189
4189
  return (n) => {
@@ -4191,75 +4191,75 @@ const Ti = (e) => {
4191
4191
  return i in t ? t[i] : t[i] = e(n);
4192
4192
  };
4193
4193
  };
4194
- var wi = Object.defineProperty, ge = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4194
+ var Ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4195
4195
  for (var r in t || (t = {}))
4196
- or.call(t, r) && _t(e, r, t[r]);
4196
+ sr.call(t, r) && Et(e, r, t[r]);
4197
4197
  if (ge)
4198
4198
  for (var r of ge(t))
4199
- sr.call(t, r) && _t(e, r, t[r]);
4199
+ ar.call(t, r) && Et(e, r, t[r]);
4200
4200
  return e;
4201
4201
  }, te = (e, t) => {
4202
4202
  var r = {};
4203
4203
  for (var n in e)
4204
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4204
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4205
4205
  if (e != null && ge)
4206
4206
  for (var n of ge(e))
4207
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4207
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4208
4208
  return r;
4209
4209
  };
4210
- const ae = (e, t) => {
4211
- const { formats: r } = J();
4210
+ const se = (e, t) => {
4211
+ const { formats: r } = q();
4212
4212
  if (e in r && t in r[e])
4213
4213
  return r[e][t];
4214
4214
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4215
- }, Hi = Te(
4215
+ }, wi = Te(
4216
4216
  (e) => {
4217
4217
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4218
4218
  if (r == null)
4219
4219
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4220
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4220
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4221
4221
  }
4222
- ), Bi = Te(
4222
+ ), Hi = Te(
4223
4223
  (e) => {
4224
4224
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4225
4225
  if (r == null)
4226
4226
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4227
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4227
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4228
4228
  }
4229
- ), Ai = Te(
4229
+ ), Bi = Te(
4230
4230
  (e) => {
4231
4231
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4232
4232
  if (r == null)
4233
4233
  throw new Error(
4234
4234
  '[svelte-i18n] A "locale" must be set to format time values'
4235
4235
  );
4236
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4236
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4237
4237
  }
4238
- ), Pi = (e = {}) => {
4238
+ ), Ai = (e = {}) => {
4239
4239
  var t = e, {
4240
4240
  locale: r = F()
4241
4241
  } = t, n = te(t, [
4242
4242
  "locale"
4243
4243
  ]);
4244
- return Hi(Je({ locale: r }, n));
4245
- }, Oi = (e = {}) => {
4244
+ return wi(qe({ locale: r }, n));
4245
+ }, Pi = (e = {}) => {
4246
4246
  var t = e, {
4247
4247
  locale: r = F()
4248
4248
  } = t, n = te(t, [
4249
4249
  "locale"
4250
4250
  ]);
4251
- return Bi(Je({ locale: r }, n));
4252
- }, Ii = (e = {}) => {
4251
+ return Hi(qe({ locale: r }, n));
4252
+ }, Oi = (e = {}) => {
4253
4253
  var t = e, {
4254
4254
  locale: r = F()
4255
4255
  } = t, n = te(t, [
4256
4256
  "locale"
4257
4257
  ]);
4258
- return Ai(Je({ locale: r }, n));
4259
- }, Ci = Te(
4258
+ return Bi(qe({ locale: r }, n));
4259
+ }, Ii = Te(
4260
4260
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4261
- (e, t = F()) => new oi(e, t, J().formats, {
4262
- ignoreTag: J().ignoreTag
4261
+ (e, t = F()) => new ii(e, t, q().formats, {
4262
+ ignoreTag: q().ignoreTag
4263
4263
  })
4264
4264
  ), Li = (e, t = {}) => {
4265
4265
  var r, n, i, o;
@@ -4274,9 +4274,9 @@ const ae = (e, t) => {
4274
4274
  throw new Error(
4275
4275
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4276
4276
  );
4277
- let h = er(e, l);
4277
+ let h = tr(e, l);
4278
4278
  if (!h)
4279
- h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4279
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4280
4280
  else if (typeof h != "string")
4281
4281
  return console.warn(
4282
4282
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4285,7 +4285,7 @@ const ae = (e, t) => {
4285
4285
  return h;
4286
4286
  let f = h;
4287
4287
  try {
4288
- f = Ci(h, l).format(s);
4288
+ f = Ii(h, l).format(s);
4289
4289
  } catch (c) {
4290
4290
  c instanceof Error && console.warn(
4291
4291
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4293,20 +4293,43 @@ const ae = (e, t) => {
4293
4293
  );
4294
4294
  }
4295
4295
  return f;
4296
- }, Ni = (e, t) => Ii(t).format(e), Mi = (e, t) => Oi(t).format(e), Ri = (e, t) => Pi(t).format(e), $i = (e, t = F()) => er(e, t), Di = K([ee, ue], () => Li);
4296
+ }, Ci = (e, t) => Oi(t).format(e), Ni = (e, t) => Pi(t).format(e), Mi = (e, t) => Ai(t).format(e), Ri = (e, t = F()) => tr(e, t), $i = K([ee, ae], () => Li);
4297
+ K([ee], () => Ci);
4297
4298
  K([ee], () => Ni);
4298
4299
  K([ee], () => Mi);
4299
- K([ee], () => Ri);
4300
- K([ee, ue], () => $i);
4300
+ K([ee, ae], () => Ri);
4301
4301
  window.emWidgets = { topic: Qr };
4302
- const Ui = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4303
- function Et(e, t) {
4304
- rr(e, t);
4302
+ const Di = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ui = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4303
+ function Gi(e, t) {
4304
+ if (e) {
4305
+ const r = document.createElement("style");
4306
+ r.innerHTML = t, e.appendChild(r);
4307
+ }
4308
+ }
4309
+ function Fi(e, t) {
4310
+ const r = new URL(t);
4311
+ fetch(r.href).then((n) => n.text()).then((n) => {
4312
+ const i = document.createElement("style");
4313
+ i.innerHTML = n, e && e.appendChild(i);
4314
+ }).catch((n) => {
4315
+ console.error("There was an error while trying to load client styling from URL", n);
4316
+ });
4317
+ }
4318
+ function ji(e, t, r) {
4319
+ if (window.emMessageBus) {
4320
+ const n = document.createElement("style");
4321
+ window.emMessageBus.subscribe(t, (i) => {
4322
+ n.innerHTML = i, e && e.appendChild(n);
4323
+ });
4324
+ }
4305
4325
  }
4306
- function Fi(e) {
4326
+ function xt(e, t) {
4327
+ nr(e, t);
4328
+ }
4329
+ function ki(e) {
4307
4330
  ee.set(e);
4308
4331
  }
4309
- const xt = {
4332
+ const St = {
4310
4333
  en: {
4311
4334
  error: "500 Error - Internal Server Error"
4312
4335
  },
@@ -4338,7 +4361,7 @@ if (typeof window < "u") {
4338
4361
  }
4339
4362
  };
4340
4363
  };
4341
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-C8t3nAfb.js").then(({ default: t }) => {
4364
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-sDLIiM5j.js").then(({ default: t }) => {
4342
4365
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4343
4366
  });
4344
4367
  }
@@ -4354,176 +4377,187 @@ if (typeof window < "u") {
4354
4377
  }
4355
4378
  };
4356
4379
  };
4357
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-aofKgGkt.js").then(({ default: t }) => {
4380
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DvicJyTv.js").then(({ default: t }) => {
4358
4381
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4359
4382
  });
4360
4383
  }
4361
- function ji(e) {
4362
- dr(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4363
- }.LoadingSpinner.svelte-1bqenf9:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4384
+ function Vi(e) {
4385
+ fr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
4386
+ }.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4364
4387
  }
4365
- function St(e, t, r) {
4388
+ function Tt(e, t, r) {
4366
4389
  const n = e.slice();
4367
- return n[26] = t[r], n[28] = r, n;
4390
+ return n[25] = t[r], n[27] = r, n;
4368
4391
  }
4369
- function ki(e) {
4370
- let t, r, n, i = et(
4392
+ function Xi(e) {
4393
+ let t, r, n, i = tt(
4371
4394
  /*calendarCollections*/
4372
- e[5]
4395
+ e[6]
4373
4396
  ), o = [];
4374
4397
  for (let s = 0; s < i.length; s += 1)
4375
- o[s] = Tt(St(e, i, s));
4398
+ o[s] = wt(Tt(e, i, s));
4376
4399
  let a = (
4377
4400
  /*calendarModalOpened*/
4378
- e[10] == !0 && wt(e)
4401
+ e[11] == !0 && Ht(e)
4379
4402
  );
4380
4403
  return {
4381
4404
  c() {
4382
- t = P("div");
4405
+ t = A("div");
4383
4406
  for (let s = 0; s < o.length; s += 1)
4384
4407
  o[s].c();
4385
- r = gr(), a && a.c(), G(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4386
- (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4408
+ r = yr(), a && a.c(), $(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4409
+ (e[10] ? "Mobile" : "") + " svelte-61avp5");
4387
4410
  },
4388
4411
  m(s, l) {
4389
- $(s, t, l);
4412
+ D(s, t, l);
4390
4413
  for (let u = 0; u < o.length; u += 1)
4391
4414
  o[u] && o[u].m(t, null);
4392
4415
  ve(t, r), a && a.m(t, null);
4393
4416
  },
4394
4417
  p(s, l) {
4395
- if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4396
- 47) {
4397
- i = et(
4418
+ if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4419
+ 95) {
4420
+ i = tt(
4398
4421
  /*calendarCollections*/
4399
- s[5]
4422
+ s[6]
4400
4423
  );
4401
4424
  let u;
4402
4425
  for (u = 0; u < i.length; u += 1) {
4403
- const h = St(s, i, u);
4404
- o[u] ? o[u].p(h, l) : (o[u] = Tt(h), o[u].c(), o[u].m(t, r));
4426
+ const h = Tt(s, i, u);
4427
+ o[u] ? o[u].p(h, l) : (o[u] = wt(h), o[u].c(), o[u].m(t, r));
4405
4428
  }
4406
4429
  for (; u < o.length; u += 1)
4407
4430
  o[u].d(1);
4408
4431
  o.length = i.length;
4409
4432
  }
4410
4433
  /*calendarModalOpened*/
4411
- s[10] == !0 ? a ? a.p(s, l) : (a = wt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4412
- 512 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4413
- (s[9] ? "Mobile" : "") + " svelte-1bqenf9") && G(t, "class", n);
4434
+ s[11] == !0 ? a ? a.p(s, l) : (a = Ht(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4435
+ 1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4436
+ (s[10] ? "Mobile" : "") + " svelte-61avp5") && $(t, "class", n);
4414
4437
  },
4415
4438
  d(s) {
4416
- s && L(t), br(o, s), a && a.d();
4439
+ s && L(t), mr(o, s), a && a.d();
4417
4440
  }
4418
4441
  };
4419
4442
  }
4420
- function Vi(e) {
4443
+ function Wi(e) {
4421
4444
  let t;
4422
4445
  return {
4423
4446
  c() {
4424
- t = P("div"), G(t, "class", "LoadingSpinner svelte-1bqenf9");
4447
+ t = A("div"), $(t, "class", "LoadingSpinner svelte-61avp5");
4425
4448
  },
4426
4449
  m(r, n) {
4427
- $(r, t, n);
4450
+ D(r, t, n);
4428
4451
  },
4429
- p: B,
4452
+ p: w,
4430
4453
  d(r) {
4431
4454
  r && L(t);
4432
4455
  }
4433
4456
  };
4434
4457
  }
4435
- function Xi(e) {
4458
+ function zi(e) {
4436
4459
  let t, r = (
4437
4460
  /*$_*/
4438
- e[11]("error") + ""
4461
+ e[12]("error") + ""
4439
4462
  ), n;
4440
4463
  return {
4441
4464
  c() {
4442
- t = P("p"), n = Ze(r), G(t, "class", "SearchLoading");
4465
+ t = A("p"), n = Qe(r), $(t, "class", "SearchLoading svelte-61avp5");
4443
4466
  },
4444
4467
  m(i, o) {
4445
- $(i, t, o), ve(t, n);
4468
+ D(i, t, o), ve(t, n);
4446
4469
  },
4447
4470
  p(i, o) {
4448
4471
  o & /*$_*/
4449
- 2048 && r !== (r = /*$_*/
4450
- i[11]("error") + "") && _r(n, r);
4472
+ 4096 && r !== (r = /*$_*/
4473
+ i[12]("error") + "") && vr(n, r);
4451
4474
  },
4452
4475
  d(i) {
4453
4476
  i && L(t);
4454
4477
  }
4455
4478
  };
4456
4479
  }
4457
- function Tt(e) {
4480
+ function wt(e) {
4458
4481
  let t, r, n, i, o, a;
4459
4482
  return {
4460
4483
  c() {
4461
- t = P("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4462
- e[26].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4463
- e[26].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4464
- e[26].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4465
- e[26].dailyDescription), p(t, "dailybuttontitle", a = /*dailyCalendarData*/
4466
- e[26].dailyButtonTitle), p(
4484
+ t = A("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4485
+ e[25].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4486
+ e[25].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4487
+ e[25].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4488
+ e[25].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
4489
+ e[25].dailyButtonTitle), d(
4467
4490
  t,
4468
4491
  "index",
4469
4492
  /*index*/
4470
- e[28]
4471
- ), p(
4493
+ e[27]
4494
+ ), d(
4472
4495
  t,
4473
4496
  "lang",
4474
4497
  /*lang*/
4475
4498
  e[0]
4476
- ), p(
4499
+ ), d(
4477
4500
  t,
4478
4501
  "clientstyling",
4479
4502
  /*clientstyling*/
4480
4503
  e[1]
4481
- ), p(
4504
+ ), d(
4482
4505
  t,
4483
4506
  "clientstylingurl",
4484
4507
  /*clientstylingurl*/
4485
4508
  e[2]
4486
- ), p(
4509
+ ), d(
4510
+ t,
4511
+ "mbsource",
4512
+ /*mbsource*/
4513
+ e[4]
4514
+ ), d(
4487
4515
  t,
4488
4516
  "translationurl",
4489
4517
  /*translationurl*/
4490
4518
  e[3]
4491
- );
4519
+ ), d(t, "class", "svelte-61avp5");
4492
4520
  },
4493
4521
  m(s, l) {
4494
- $(s, t, l);
4522
+ D(s, t, l);
4495
4523
  },
4496
4524
  p(s, l) {
4497
4525
  l & /*calendarCollections*/
4498
- 32 && r !== (r = /*dailyCalendarData*/
4499
- s[26].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4500
- 32 && n !== (n = /*dailyCalendarData*/
4501
- s[26].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4502
- 32 && i !== (i = /*dailyCalendarData*/
4503
- s[26].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4504
- 32 && o !== (o = /*dailyCalendarData*/
4505
- s[26].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4506
- 32 && a !== (a = /*dailyCalendarData*/
4507
- s[26].dailyButtonTitle) && p(t, "dailybuttontitle", a), l & /*lang*/
4508
- 1 && p(
4526
+ 64 && r !== (r = /*dailyCalendarData*/
4527
+ s[25].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4528
+ 64 && n !== (n = /*dailyCalendarData*/
4529
+ s[25].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4530
+ 64 && i !== (i = /*dailyCalendarData*/
4531
+ s[25].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4532
+ 64 && o !== (o = /*dailyCalendarData*/
4533
+ s[25].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4534
+ 64 && a !== (a = /*dailyCalendarData*/
4535
+ s[25].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
4536
+ 1 && d(
4509
4537
  t,
4510
4538
  "lang",
4511
4539
  /*lang*/
4512
4540
  s[0]
4513
4541
  ), l & /*clientstyling*/
4514
- 2 && p(
4542
+ 2 && d(
4515
4543
  t,
4516
4544
  "clientstyling",
4517
4545
  /*clientstyling*/
4518
4546
  s[1]
4519
4547
  ), l & /*clientstylingurl*/
4520
- 4 && p(
4548
+ 4 && d(
4521
4549
  t,
4522
4550
  "clientstylingurl",
4523
4551
  /*clientstylingurl*/
4524
4552
  s[2]
4553
+ ), l & /*mbsource*/
4554
+ 16 && d(
4555
+ t,
4556
+ "mbsource",
4557
+ /*mbsource*/
4558
+ s[4]
4525
4559
  ), l & /*translationurl*/
4526
- 8 && p(
4560
+ 8 && d(
4527
4561
  t,
4528
4562
  "translationurl",
4529
4563
  /*translationurl*/
@@ -4535,110 +4569,121 @@ function Tt(e) {
4535
4569
  }
4536
4570
  };
4537
4571
  }
4538
- function wt(e) {
4572
+ function Ht(e) {
4539
4573
  let t, r, n, i, o, a, s, l;
4540
4574
  return {
4541
4575
  c() {
4542
- t = P("div"), r = P("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4543
- e[5][
4576
+ t = A("div"), r = A("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4577
+ e[6][
4544
4578
  /*selectedIndex*/
4545
- e[6]
4546
- ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4547
- e[5][
4579
+ e[7]
4580
+ ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4581
+ e[6][
4548
4582
  /*selectedIndex*/
4549
- e[6]
4550
- ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4551
- e[5][
4583
+ e[7]
4584
+ ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4585
+ e[6][
4552
4586
  /*selectedIndex*/
4553
- e[6]
4554
- ].dailyDay), p(r, "dailydescription", a = /*calendarCollections*/
4555
- e[5][
4587
+ e[7]
4588
+ ].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
4589
+ e[6][
4556
4590
  /*selectedIndex*/
4557
- e[6]
4558
- ].dailyDescription), p(r, "dailyicon", s = /*calendarCollections*/
4559
- e[5][
4591
+ e[7]
4592
+ ].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
4593
+ e[6][
4560
4594
  /*selectedIndex*/
4561
- e[6]
4562
- ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4563
- e[5][
4595
+ e[7]
4596
+ ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4597
+ e[6][
4564
4598
  /*selectedIndex*/
4565
- e[6]
4566
- ].dailyTitle), p(
4599
+ e[7]
4600
+ ].dailyTitle), d(
4567
4601
  r,
4568
4602
  "lang",
4569
4603
  /*lang*/
4570
4604
  e[0]
4571
- ), p(
4605
+ ), d(
4572
4606
  r,
4573
4607
  "clientstyling",
4574
4608
  /*clientstyling*/
4575
4609
  e[1]
4576
- ), p(
4610
+ ), d(
4577
4611
  r,
4578
4612
  "clientstylingurl",
4579
4613
  /*clientstylingurl*/
4580
4614
  e[2]
4581
- ), p(
4615
+ ), d(
4616
+ r,
4617
+ "mbsource",
4618
+ /*mbsource*/
4619
+ e[4]
4620
+ ), d(
4582
4621
  r,
4583
4622
  "translationurl",
4584
4623
  /*translationurl*/
4585
4624
  e[3]
4586
- ), G(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4625
+ ), d(r, "class", "svelte-61avp5"), $(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4587
4626
  },
4588
4627
  m(u, h) {
4589
- $(u, t, h), ve(t, r);
4628
+ D(u, t, h), ve(t, r);
4590
4629
  },
4591
4630
  p(u, h) {
4592
4631
  h & /*calendarCollections, selectedIndex*/
4593
- 96 && n !== (n = /*calendarCollections*/
4594
- u[5][
4632
+ 192 && n !== (n = /*calendarCollections*/
4633
+ u[6][
4595
4634
  /*selectedIndex*/
4596
- u[6]
4597
- ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4598
- 96 && i !== (i = /*calendarCollections*/
4599
- u[5][
4635
+ u[7]
4636
+ ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4637
+ 192 && i !== (i = /*calendarCollections*/
4638
+ u[6][
4600
4639
  /*selectedIndex*/
4601
- u[6]
4602
- ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4603
- 96 && o !== (o = /*calendarCollections*/
4604
- u[5][
4640
+ u[7]
4641
+ ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4642
+ 192 && o !== (o = /*calendarCollections*/
4643
+ u[6][
4605
4644
  /*selectedIndex*/
4606
- u[6]
4607
- ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4608
- 96 && a !== (a = /*calendarCollections*/
4609
- u[5][
4645
+ u[7]
4646
+ ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4647
+ 192 && a !== (a = /*calendarCollections*/
4648
+ u[6][
4610
4649
  /*selectedIndex*/
4611
- u[6]
4612
- ].dailyDescription) && p(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4613
- 96 && s !== (s = /*calendarCollections*/
4614
- u[5][
4650
+ u[7]
4651
+ ].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4652
+ 192 && s !== (s = /*calendarCollections*/
4653
+ u[6][
4615
4654
  /*selectedIndex*/
4616
- u[6]
4617
- ].dailyIcon) && p(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4618
- 96 && l !== (l = /*calendarCollections*/
4619
- u[5][
4655
+ u[7]
4656
+ ].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4657
+ 192 && l !== (l = /*calendarCollections*/
4658
+ u[6][
4620
4659
  /*selectedIndex*/
4621
- u[6]
4622
- ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4623
- 1 && p(
4660
+ u[7]
4661
+ ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4662
+ 1 && d(
4624
4663
  r,
4625
4664
  "lang",
4626
4665
  /*lang*/
4627
4666
  u[0]
4628
4667
  ), h & /*clientstyling*/
4629
- 2 && p(
4668
+ 2 && d(
4630
4669
  r,
4631
4670
  "clientstyling",
4632
4671
  /*clientstyling*/
4633
4672
  u[1]
4634
4673
  ), h & /*clientstylingurl*/
4635
- 4 && p(
4674
+ 4 && d(
4636
4675
  r,
4637
4676
  "clientstylingurl",
4638
4677
  /*clientstylingurl*/
4639
4678
  u[2]
4679
+ ), h & /*mbsource*/
4680
+ 16 && d(
4681
+ r,
4682
+ "mbsource",
4683
+ /*mbsource*/
4684
+ u[4]
4640
4685
  ), h & /*translationurl*/
4641
- 8 && p(
4686
+ 8 && d(
4642
4687
  r,
4643
4688
  "translationurl",
4644
4689
  /*translationurl*/
@@ -4650,121 +4695,105 @@ function wt(e) {
4650
4695
  }
4651
4696
  };
4652
4697
  }
4653
- function Wi(e) {
4698
+ function Zi(e) {
4654
4699
  let t;
4655
4700
  function r(o, a) {
4656
4701
  if (
4657
4702
  /*hasErrors*/
4658
- o[8]
4659
- ) return Xi;
4703
+ o[9]
4704
+ ) return zi;
4660
4705
  if (
4661
4706
  /*isLoading*/
4662
- o[7]
4663
- ) return Vi;
4707
+ o[8]
4708
+ ) return Wi;
4664
4709
  if (
4665
4710
  /*calendarCollections*/
4666
- o[5]?.length
4667
- ) return ki;
4711
+ o[6]?.length
4712
+ ) return Xi;
4668
4713
  }
4669
4714
  let n = r(e), i = n && n(e);
4670
4715
  return {
4671
4716
  c() {
4672
- t = P("div"), i && i.c();
4717
+ t = A("div"), i && i.c(), $(t, "class", "svelte-61avp5");
4673
4718
  },
4674
4719
  m(o, a) {
4675
- $(o, t, a), i && i.m(t, null), e[15](t);
4720
+ D(o, t, a), i && i.m(t, null), e[16](t);
4676
4721
  },
4677
4722
  p(o, [a]) {
4678
4723
  n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4679
4724
  },
4680
- i: B,
4681
- o: B,
4725
+ i: w,
4726
+ o: w,
4682
4727
  d(o) {
4683
- o && L(t), i && i.d(), e[15](null);
4728
+ o && L(t), i && i.d(), e[16](null);
4684
4729
  }
4685
4730
  };
4686
4731
  }
4687
- function zi(e, t, r) {
4732
+ function Qi(e, t, r) {
4688
4733
  let n;
4689
- cr(e, Di, (d) => r(11, n = d));
4690
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, f, c, b = 0, _ = !0, v = !1, T = !1, M = window.navigator.userAgent, A = !1;
4691
- const w = () => {
4692
- Fi(s);
4734
+ cr(e, $i, (p) => r(12, n = p));
4735
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, y, _ = 0, v = !0, T = !1, N = !1, P = window.navigator.userAgent, S = !1;
4736
+ const U = () => {
4737
+ ki(s);
4693
4738
  };
4694
- Object.keys(xt).forEach((d) => {
4695
- Et(d, xt[d]);
4739
+ Object.keys(St).forEach((p) => {
4740
+ xt(p, St[p]);
4696
4741
  });
4697
- const D = () => {
4698
- let d = h;
4699
- if (d)
4700
- return fetch(d).then((S) => S.json()).then((S) => {
4701
- Object.keys(S).forEach((H) => {
4702
- Et(H, S[H]);
4742
+ const O = () => {
4743
+ let p = h;
4744
+ if (p)
4745
+ return fetch(p).then((H) => H.json()).then((H) => {
4746
+ Object.keys(H).forEach((M) => {
4747
+ xt(M, H[M]);
4703
4748
  });
4704
- }).catch((S) => {
4705
- console.log(S);
4749
+ }).catch((H) => {
4750
+ console.log(H);
4706
4751
  });
4707
- }, O = () => {
4708
- r(7, _ = !0);
4709
- let d = new URL(`${i}/${s}/daily-calendar`);
4710
- d.searchParams.append("userRoles", a), d.searchParams.append("env", o);
4711
- let S = Gi(M);
4712
- S && (S === "PC" ? d.searchParams.append("device", "dk") : S === "iPad" || S === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((H) => H.json()).then((H) => {
4713
- r(5, c = H);
4714
- }).catch((H) => {
4715
- console.log(H), r(8, v = !0);
4752
+ }, j = () => {
4753
+ r(8, v = !0);
4754
+ let p = new URL(`${i}/${s}/daily-calendar`);
4755
+ p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4756
+ let H = Ui(P);
4757
+ H && (H === "PC" ? p.searchParams.append("device", "dk") : H === "iPad" || H === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((M) => M.json()).then((M) => {
4758
+ r(6, y = M);
4759
+ }).catch((M) => {
4760
+ console.log(M), r(9, T = !0);
4716
4761
  }).finally(() => {
4717
- r(7, _ = !1);
4762
+ r(8, v = !1);
4718
4763
  });
4719
- }, j = () => {
4720
- O();
4721
- }, re = (d) => {
4722
- d.data && d.data.type == "OpenCalendar" && (r(6, b = d.data.index), r(10, A = !0), window.postMessage(
4764
+ }, ue = () => {
4765
+ j();
4766
+ }, Ye = (p) => {
4767
+ p.data && p.data.type == "OpenCalendar" && (r(7, _ = p.data.index), r(11, S = !0), window.postMessage(
4723
4768
  {
4724
4769
  type: "ShowModal",
4725
- selectedIndex: b,
4770
+ selectedIndex: _,
4726
4771
  identifier: "Calendar"
4727
4772
  },
4728
4773
  window.location.href
4729
4774
  ), window.postMessage({
4730
4775
  type: "DailyEventsData",
4731
- data: c[b]?.dailyEvents
4732
- })), d.data && d.data.type == "ModalClosed" && r(10, A = !1);
4733
- }, ar = () => {
4734
- let d = document.createElement("style");
4735
- d.innerHTML = l, f.appendChild(d);
4736
- }, ur = () => {
4737
- let d = new URL(u), S = document.createElement("style");
4738
- fetch(d.href).then((H) => H.text()).then((H) => {
4739
- S.innerHTML = H, setTimeout(
4740
- () => {
4741
- f.appendChild(S);
4742
- },
4743
- 1
4744
- ), setTimeout(
4745
- () => {
4746
- },
4747
- 500
4748
- );
4749
- });
4776
+ data: y[_]?.dailyEvents
4777
+ })), p.data && p.data.type == "ModalClosed" && r(11, S = !1);
4750
4778
  };
4751
- Sr(() => (window.addEventListener("message", re, !1), Ui(M) && r(9, T = !0), () => {
4752
- window.removeEventListener("message", re);
4779
+ xr(() => (window.addEventListener("message", Ye, !1), Di(P) && r(10, N = !0), () => {
4780
+ window.removeEventListener("message", Ye);
4753
4781
  }));
4754
- function lr(d) {
4755
- Ce[d ? "unshift" : "push"](() => {
4756
- f = d, r(4, f);
4782
+ function ur(p) {
4783
+ Le[p ? "unshift" : "push"](() => {
4784
+ c = p, r(5, c);
4757
4785
  });
4758
4786
  }
4759
- return e.$$set = (d) => {
4760
- "cmsendpoint" in d && r(12, i = d.cmsendpoint), "env" in d && r(13, o = d.env), "userroles" in d && r(14, a = d.userroles), "lang" in d && r(0, s = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl);
4787
+ return e.$$set = (p) => {
4788
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
4761
4789
  }, e.$$.update = () => {
4762
4790
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4763
- 28673 && i && s && o && a && j(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4764
- 18 && l && f && ar(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4765
- 20 && u && f && ur(), e.$$.dirty & /*lang*/
4766
- 1 && s && w(), e.$$.dirty & /*lang, translationurl*/
4767
- 9 && s && h && D();
4791
+ 57345 && i && s && o && a && ue(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4792
+ 34 && l && c && Gi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4793
+ 36 && u && c && Fi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4794
+ 48 && c && ji(c, `${f}.Style`), e.$$.dirty & /*lang*/
4795
+ 1 && s && U(), e.$$.dirty & /*lang, translationurl*/
4796
+ 9 && s && h && O();
4768
4797
  }, [
4769
4798
  s,
4770
4799
  l,
@@ -4772,120 +4801,131 @@ function zi(e, t, r) {
4772
4801
  h,
4773
4802
  f,
4774
4803
  c,
4775
- b,
4804
+ y,
4776
4805
  _,
4777
4806
  v,
4778
4807
  T,
4779
- A,
4808
+ N,
4809
+ S,
4780
4810
  n,
4781
4811
  i,
4782
4812
  o,
4783
4813
  a,
4784
- lr
4814
+ ur
4785
4815
  ];
4786
4816
  }
4787
- class qi extends Nr {
4817
+ class Ji extends Cr {
4788
4818
  constructor(t) {
4789
- super(), Cr(
4819
+ super(), Ir(
4790
4820
  this,
4791
4821
  t,
4792
- zi,
4793
- Wi,
4794
- Bt,
4822
+ Qi,
4823
+ Zi,
4824
+ At,
4795
4825
  {
4796
- cmsendpoint: 12,
4797
- env: 13,
4798
- userroles: 14,
4826
+ cmsendpoint: 13,
4827
+ env: 14,
4828
+ userroles: 15,
4799
4829
  lang: 0,
4800
4830
  clientstyling: 1,
4801
4831
  clientstylingurl: 2,
4802
- translationurl: 3
4832
+ translationurl: 3,
4833
+ mbsource: 4
4803
4834
  },
4804
- ji
4835
+ Vi
4805
4836
  );
4806
4837
  }
4807
4838
  get cmsendpoint() {
4808
- return this.$$.ctx[12];
4839
+ return this.$$.ctx[13];
4809
4840
  }
4810
4841
  set cmsendpoint(t) {
4811
- this.$$set({ cmsendpoint: t }), I();
4842
+ this.$$set({ cmsendpoint: t }), B();
4812
4843
  }
4813
4844
  get env() {
4814
- return this.$$.ctx[13];
4845
+ return this.$$.ctx[14];
4815
4846
  }
4816
4847
  set env(t) {
4817
- this.$$set({ env: t }), I();
4848
+ this.$$set({ env: t }), B();
4818
4849
  }
4819
4850
  get userroles() {
4820
- return this.$$.ctx[14];
4851
+ return this.$$.ctx[15];
4821
4852
  }
4822
4853
  set userroles(t) {
4823
- this.$$set({ userroles: t }), I();
4854
+ this.$$set({ userroles: t }), B();
4824
4855
  }
4825
4856
  get lang() {
4826
4857
  return this.$$.ctx[0];
4827
4858
  }
4828
4859
  set lang(t) {
4829
- this.$$set({ lang: t }), I();
4860
+ this.$$set({ lang: t }), B();
4830
4861
  }
4831
4862
  get clientstyling() {
4832
4863
  return this.$$.ctx[1];
4833
4864
  }
4834
4865
  set clientstyling(t) {
4835
- this.$$set({ clientstyling: t }), I();
4866
+ this.$$set({ clientstyling: t }), B();
4836
4867
  }
4837
4868
  get clientstylingurl() {
4838
4869
  return this.$$.ctx[2];
4839
4870
  }
4840
4871
  set clientstylingurl(t) {
4841
- this.$$set({ clientstylingurl: t }), I();
4872
+ this.$$set({ clientstylingurl: t }), B();
4842
4873
  }
4843
4874
  get translationurl() {
4844
4875
  return this.$$.ctx[3];
4845
4876
  }
4846
4877
  set translationurl(t) {
4847
- this.$$set({ translationurl: t }), I();
4878
+ this.$$set({ translationurl: t }), B();
4879
+ }
4880
+ get mbsource() {
4881
+ return this.$$.ctx[4];
4882
+ }
4883
+ set mbsource(t) {
4884
+ this.$$set({ mbsource: t }), B();
4848
4885
  }
4849
4886
  }
4850
- Lr(qi, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4887
+ Lr(Ji, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4851
4888
  export {
4852
4889
  ee as $,
4853
- to as A,
4854
- gr as B,
4855
- Ce as C,
4856
- Zi as D,
4857
- yr as E,
4858
- eo as F,
4859
- ro as G,
4860
- no as H,
4861
- io as I,
4862
- Di as J,
4863
- qi as K,
4864
- Nr as S,
4865
- rr as a,
4866
- dr as b,
4890
+ no as A,
4891
+ yr as B,
4892
+ Le as C,
4893
+ qi as D,
4894
+ br as E,
4895
+ ro as F,
4896
+ io as G,
4897
+ oo as H,
4898
+ so as I,
4899
+ $i as J,
4900
+ Gi as K,
4901
+ Fi as L,
4902
+ ji as M,
4903
+ Ji as N,
4904
+ Cr as S,
4905
+ nr as a,
4906
+ fr as b,
4867
4907
  Lr as c,
4868
4908
  L as d,
4869
- Ar as e,
4870
- I as f,
4871
- oo as g,
4872
- $ as h,
4873
- Cr as i,
4874
- P as j,
4909
+ Br as e,
4910
+ B as f,
4911
+ ao as g,
4912
+ D as h,
4913
+ Ir as i,
4914
+ A as j,
4875
4915
  cr as k,
4876
- Ui as l,
4877
- _r as m,
4878
- B as n,
4879
- Sr as o,
4916
+ Di as l,
4917
+ vr as m,
4918
+ w as n,
4919
+ xr as o,
4880
4920
  ve as p,
4881
- Ze as q,
4882
- G as r,
4883
- Bt as s,
4884
- so as t,
4885
- Qi as u,
4886
- et as v,
4887
- br as w,
4888
- Yi as x,
4889
- Ki as y,
4890
- Ji as z
4921
+ Qe as q,
4922
+ $ as r,
4923
+ At as s,
4924
+ uo as t,
4925
+ Yi as u,
4926
+ tt as v,
4927
+ mr as w,
4928
+ eo as x,
4929
+ to as y,
4930
+ Ki as z
4891
4931
  };