@everymatrix/casino-calendar 1.75.0 → 1.76.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.
Files changed (29) hide show
  1. package/components/{CasinoCalendar-TOEOl5qN.js → CasinoCalendar-B_yIJo9o.js} +743 -722
  2. package/components/{CasinoCalendar-C9xgBkbo.js → CasinoCalendar-BsekytFQ.js} +774 -753
  3. package/components/CasinoCalendar-D4IlozoR.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-BinrRuSF.cjs → CasinoCalendarDailyDetails-5Uwasp4V.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-RkYvXIIH.js → CasinoCalendarDailyDetails-B9hKQEd-.js} +37 -37
  6. package/components/{CasinoCalendarDailyDetails-BQ5CpgB4.js → CasinoCalendarDailyDetails-qQmxCOJN.js} +39 -39
  7. package/components/{CasinoCalendarDailyItem-BgFtETap.cjs → CasinoCalendarDailyItem-BuRk9egV.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-BfZfG9F4.js → CasinoCalendarDailyItem-CqVVctMc.js} +38 -38
  9. package/components/{CasinoCalendarDailyItem-CGhAWhOs.js → CasinoCalendarDailyItem-J1Bv2gjs.js} +31 -31
  10. package/es2015/casino-calendar.cjs +1 -1
  11. package/es2015/casino-calendar.js +1 -1
  12. package/esnext/casino-calendar.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  15. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  16. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  17. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  18. package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
  19. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  22. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  23. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  24. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  25. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  26. package/components/CasinoCalendar-DTAsRAIg.cjs +0 -19
  27. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  28. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  29. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -8,29 +8,29 @@ function mr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Pt(e) {
11
+ function It(e) {
12
12
  return e();
13
13
  }
14
- function tt() {
14
+ function nt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function Y(e) {
18
- e.forEach(Pt);
17
+ function q(e) {
18
+ e.forEach(It);
19
19
  }
20
- function Qe(e) {
20
+ function Ke(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function It(e, t) {
23
+ function Ct(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let le;
27
- function to(e, t) {
27
+ function ro(e, t) {
28
28
  return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
29
29
  }
30
30
  function br(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Ot(e, ...t) {
33
+ function Lt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
@@ -40,18 +40,18 @@ function Ot(e, ...t) {
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
42
  function yr(e, t, r) {
43
- e.$$.on_destroy.push(Ot(t, r));
43
+ e.$$.on_destroy.push(Lt(t, r));
44
44
  }
45
- function ro(e, t, r, n) {
45
+ function no(e, t, r, n) {
46
46
  if (e) {
47
- const i = Ct(e, t, r, n);
47
+ const i = Nt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function Ct(e, t, r, n) {
51
+ function Nt(e, t, r, n) {
52
52
  return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function no(e, t, r, n) {
54
+ function io(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function no(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function io(e, t, r, n, i, o) {
69
+ function oo(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = Ct(t, r, n, o);
71
+ const a = Nt(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function oo(e) {
75
+ function so(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,13 +81,13 @@ function oo(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function ve(e, t) {
84
+ function _e(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
87
  function gr(e, t, r) {
88
88
  const n = vr(e);
89
89
  if (!n.getElementById(t)) {
90
- const i = O("style");
90
+ const i = C("style");
91
91
  i.id = t, i.textContent = r, _r(n, i);
92
92
  }
93
93
  }
@@ -102,7 +102,7 @@ function vr(e) {
102
102
  ) : e.ownerDocument;
103
103
  }
104
104
  function _r(e, t) {
105
- return ve(
105
+ return _e(
106
106
  /** @type {Document} */
107
107
  e.head || e,
108
108
  t
@@ -118,19 +118,19 @@ function Er(e, t) {
118
118
  for (let r = 0; r < e.length; r += 1)
119
119
  e[r] && e[r].d(t);
120
120
  }
121
- function O(e) {
121
+ function C(e) {
122
122
  return document.createElement(e);
123
123
  }
124
- function so(e) {
124
+ function ao(e) {
125
125
  return document.createElementNS("http://www.w3.org/2000/svg", e);
126
126
  }
127
- function Lt(e) {
127
+ function Mt(e) {
128
128
  return document.createTextNode(e);
129
129
  }
130
130
  function xr() {
131
- return Lt(" ");
131
+ return Mt(" ");
132
132
  }
133
- function ao(e, t, r, n) {
133
+ function uo(e, t, r, n) {
134
134
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
135
135
  }
136
136
  function R(e, t, r) {
@@ -147,7 +147,7 @@ function wr(e, t) {
147
147
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
148
148
  t);
149
149
  }
150
- function uo(e, t, r, n) {
150
+ function lo(e, t, r, n) {
151
151
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
152
152
  }
153
153
  function Tr(e) {
@@ -159,69 +159,69 @@ function Tr(e) {
159
159
  }
160
160
  ), t;
161
161
  }
162
- let ie;
163
- function ne(e) {
164
- ie = e;
162
+ let ne;
163
+ function re(e) {
164
+ ne = e;
165
165
  }
166
166
  function Hr() {
167
- if (!ie)
167
+ if (!ne)
168
168
  throw new Error("Function called outside component initialization");
169
- return ie;
169
+ return ne;
170
170
  }
171
171
  function Br(e) {
172
172
  Hr().$$.on_mount.push(e);
173
173
  }
174
- const X = [], Le = [];
174
+ const X = [], Me = [];
175
175
  let W = [];
176
- const rt = [], Ar = /* @__PURE__ */ Promise.resolve();
177
- let Ne = !1;
176
+ const it = [], Ar = /* @__PURE__ */ Promise.resolve();
177
+ let Re = !1;
178
178
  function Pr() {
179
- Ne || (Ne = !0, Ar.then(B));
179
+ Re || (Re = !0, Ar.then(B));
180
180
  }
181
- function Me(e) {
181
+ function $e(e) {
182
182
  W.push(e);
183
183
  }
184
- const Te = /* @__PURE__ */ new Set();
184
+ const Be = /* @__PURE__ */ new Set();
185
185
  let k = 0;
186
186
  function B() {
187
187
  if (k !== 0)
188
188
  return;
189
- const e = ie;
189
+ const e = ne;
190
190
  do {
191
191
  try {
192
192
  for (; k < X.length; ) {
193
193
  const t = X[k];
194
- k++, ne(t), Ir(t.$$);
194
+ k++, re(t), Or(t.$$);
195
195
  }
196
196
  } catch (t) {
197
197
  throw X.length = 0, k = 0, t;
198
198
  }
199
- for (ne(null), X.length = 0, k = 0; Le.length; )
200
- Le.pop()();
199
+ for (re(null), X.length = 0, k = 0; Me.length; )
200
+ Me.pop()();
201
201
  for (let t = 0; t < W.length; t += 1) {
202
202
  const r = W[t];
203
- Te.has(r) || (Te.add(r), r());
203
+ Be.has(r) || (Be.add(r), r());
204
204
  }
205
205
  W.length = 0;
206
206
  } while (X.length);
207
- for (; rt.length; )
208
- rt.pop()();
209
- Ne = !1, Te.clear(), ne(e);
207
+ for (; it.length; )
208
+ it.pop()();
209
+ Re = !1, Be.clear(), re(e);
210
210
  }
211
- function Ir(e) {
211
+ function Or(e) {
212
212
  if (e.fragment !== null) {
213
- e.update(), Y(e.before_update);
213
+ e.update(), q(e.before_update);
214
214
  const t = e.dirty;
215
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
215
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
216
216
  }
217
217
  }
218
- function Or(e) {
218
+ function Ir(e) {
219
219
  const t = [], r = [];
220
220
  W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
221
221
  }
222
222
  const fe = /* @__PURE__ */ new Set();
223
223
  let U;
224
- function lo() {
224
+ function ho() {
225
225
  U = {
226
226
  r: 0,
227
227
  c: [],
@@ -229,13 +229,13 @@ function lo() {
229
229
  // parent group
230
230
  };
231
231
  }
232
- function ho() {
233
- U.r || Y(U.c), U = U.p;
232
+ function co() {
233
+ U.r || q(U.c), U = U.p;
234
234
  }
235
235
  function Cr(e, t) {
236
236
  e && e.i && (fe.delete(e), e.i(t));
237
237
  }
238
- function co(e, t, r, n) {
238
+ function fo(e, t, r, n) {
239
239
  if (e && e.o) {
240
240
  if (fe.has(e))
241
241
  return;
@@ -245,26 +245,26 @@ function co(e, t, r, n) {
245
245
  } else
246
246
  n && n();
247
247
  }
248
- function nt(e) {
248
+ function ot(e) {
249
249
  return e?.length !== void 0 ? e : Array.from(e);
250
250
  }
251
251
  function Lr(e, t, r) {
252
252
  const { fragment: n, after_update: i } = e.$$;
253
- n && n.m(t, r), Me(() => {
254
- const o = e.$$.on_mount.map(Pt).filter(Qe);
255
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
256
- }), i.forEach(Me);
253
+ n && n.m(t, r), $e(() => {
254
+ const o = e.$$.on_mount.map(It).filter(Ke);
255
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : q(o), e.$$.on_mount = [];
256
+ }), i.forEach($e);
257
257
  }
258
258
  function Nr(e, t) {
259
259
  const r = e.$$;
260
- r.fragment !== null && (Or(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
+ r.fragment !== null && (Ir(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
261
261
  }
262
262
  function Mr(e, t) {
263
263
  e.$$.dirty[0] === -1 && (X.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
264
264
  }
265
265
  function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
266
- const l = ie;
267
- ne(e);
266
+ const l = ne;
267
+ re(e);
268
268
  const u = e.$$ = {
269
269
  fragment: null,
270
270
  ctx: [],
@@ -272,7 +272,7 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
272
272
  props: o,
273
273
  update: T,
274
274
  not_equal: i,
275
- bound: tt(),
275
+ bound: nt(),
276
276
  // lifecycle
277
277
  on_mount: [],
278
278
  on_destroy: [],
@@ -281,7 +281,7 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
281
281
  after_update: [],
282
282
  context: new Map(t.context || (l ? l.$$.context : [])),
283
283
  // everything else
284
- callbacks: tt(),
284
+ callbacks: nt(),
285
285
  dirty: s,
286
286
  skip_bound: !1,
287
287
  root: t.target || l.$$.root
@@ -289,9 +289,9 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
289
289
  a && a(u.root);
290
290
  let h = !1;
291
291
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
292
- const _ = y.length ? y[0] : c;
293
- return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), h && Mr(e, f)), c;
294
- }) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
292
+ const v = y.length ? y[0] : c;
293
+ return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), h && Mr(e, f)), c;
294
+ }) : [], u.update(), h = !0, q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
295
  if (t.hydrate) {
296
296
  const f = Sr(t.target);
297
297
  u.fragment && u.fragment.l(f), f.forEach($);
@@ -299,10 +299,10 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
299
299
  u.fragment && u.fragment.c();
300
300
  t.intro && Cr(e.$$.fragment), Lr(e, t.target, t.anchor), B();
301
301
  }
302
- ne(l);
302
+ re(l);
303
303
  }
304
- let Nt;
305
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
304
+ let Rt;
305
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
306
306
  /** The Svelte component constructor */
307
307
  $$ctor;
308
308
  /** Slots */
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
344
344
  let o;
345
345
  return {
346
346
  c: function() {
347
- o = O("slot"), i !== "default" && R(o, "name", i);
347
+ o = C("slot"), i !== "default" && R(o, "name", i);
348
348
  },
349
349
  /**
350
350
  * @param {HTMLElement} target
@@ -449,7 +449,7 @@ function de(e, t, r, n) {
449
449
  }
450
450
  }
451
451
  function $r(e, t, r, n, i, o) {
452
- let a = class extends Nt {
452
+ let a = class extends Rt {
453
453
  constructor() {
454
454
  super(e, r, i), this.$$p_d = t;
455
455
  }
@@ -505,7 +505,7 @@ class Dr {
505
505
  * @returns {() => void}
506
506
  */
507
507
  $on(t, r) {
508
- if (!Qe(r))
508
+ if (!Ke(r))
509
509
  return T;
510
510
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
511
511
  return n.push(r), () => {
@@ -537,43 +537,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
537
537
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
538
538
  PERFORMANCE OF THIS SOFTWARE.
539
539
  ***************************************************************************** */
540
- var Re = function(e, t) {
541
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
540
+ var De = function(e, t) {
541
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
542
542
  r.__proto__ = n;
543
543
  } || function(r, n) {
544
544
  for (var i in n)
545
545
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
546
- }, Re(e, t);
546
+ }, De(e, t);
547
547
  };
548
- function C(e, t) {
548
+ function se(e, t) {
549
549
  if (typeof t != "function" && t !== null)
550
550
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
551
- Re(e, t);
551
+ De(e, t);
552
552
  function r() {
553
553
  this.constructor = e;
554
554
  }
555
555
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
556
556
  }
557
- var g = function() {
558
- return g = Object.assign || function(t) {
559
- for (var r, n = 1, i = arguments.length; n < i; n++) {
560
- r = arguments[n];
561
- for (var o in r)
562
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
563
- }
564
- return t;
565
- }, g.apply(this, arguments);
566
- };
567
- function Gr(e, t) {
568
- var r = {};
569
- for (var n in e)
570
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
571
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
572
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
573
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
574
- return r;
575
- }
576
- function $e(e) {
557
+ function Ue(e) {
577
558
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
578
559
  if (r)
579
560
  return r.call(e);
@@ -585,7 +566,7 @@ function $e(e) {
585
566
  };
586
567
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
587
568
  }
588
- function De(e, t) {
569
+ function Ge(e, t) {
589
570
  var r = typeof Symbol == "function" && e[Symbol.iterator];
590
571
  if (!r)
591
572
  return e;
@@ -605,8 +586,8 @@ function De(e, t) {
605
586
  }
606
587
  return o;
607
588
  }
608
- function z(e, t, r) {
609
- if (r || arguments.length === 2)
589
+ function Fe(e, t, r) {
590
+ if (arguments.length === 2)
610
591
  for (var n = 0, i = t.length, o; n < i; n++)
611
592
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
612
593
  return e.concat(o || t);
@@ -614,13 +595,13 @@ function z(e, t, r) {
614
595
  function I(e) {
615
596
  return typeof e == "function";
616
597
  }
617
- function Mt(e) {
598
+ function $t(e) {
618
599
  var t = function(n) {
619
600
  Error.call(n), n.stack = new Error().stack;
620
601
  }, r = e(t);
621
602
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
622
603
  }
623
- var He = Mt(function(e) {
604
+ var Ae = $t(function(e) {
624
605
  return function(r) {
625
606
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
626
607
  ` + r.map(function(n, i) {
@@ -629,13 +610,13 @@ var He = Mt(function(e) {
629
610
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
630
611
  };
631
612
  });
632
- function Ue(e, t) {
613
+ function je(e, t) {
633
614
  if (e) {
634
615
  var r = e.indexOf(t);
635
616
  0 <= r && e.splice(r, 1);
636
617
  }
637
618
  }
638
- var _e = function() {
619
+ var Ee = function() {
639
620
  function e(t) {
640
621
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
641
622
  }
@@ -647,12 +628,12 @@ var _e = function() {
647
628
  if (a)
648
629
  if (this._parentage = null, Array.isArray(a))
649
630
  try {
650
- for (var s = $e(a), l = s.next(); !l.done; l = s.next()) {
631
+ for (var s = Ue(a), l = s.next(); !l.done; l = s.next()) {
651
632
  var u = l.value;
652
633
  u.remove(this);
653
634
  }
654
- } catch (v) {
655
- t = { error: v };
635
+ } catch (g) {
636
+ t = { error: g };
656
637
  } finally {
657
638
  try {
658
639
  l && !l.done && (r = s.return) && r.call(s);
@@ -667,23 +648,23 @@ var _e = function() {
667
648
  if (I(h))
668
649
  try {
669
650
  h();
670
- } catch (v) {
671
- o = v instanceof He ? v.errors : [v];
651
+ } catch (g) {
652
+ o = g instanceof Ae ? g.errors : [g];
672
653
  }
673
654
  var f = this._finalizers;
674
655
  if (f) {
675
656
  this._finalizers = null;
676
657
  try {
677
- for (var c = $e(f), y = c.next(); !y.done; y = c.next()) {
678
- var _ = y.value;
658
+ for (var c = Ue(f), y = c.next(); !y.done; y = c.next()) {
659
+ var v = y.value;
679
660
  try {
680
- it(_);
681
- } catch (v) {
682
- o = o ?? [], v instanceof He ? o = z(z([], De(o)), De(v.errors)) : o.push(v);
661
+ st(v);
662
+ } catch (g) {
663
+ o = o ?? [], g instanceof Ae ? o = Fe(Fe([], Ge(o)), Ge(g.errors)) : o.push(g);
683
664
  }
684
665
  }
685
- } catch (v) {
686
- n = { error: v };
666
+ } catch (g) {
667
+ n = { error: g };
687
668
  } finally {
688
669
  try {
689
670
  y && !y.done && (i = c.return) && i.call(c);
@@ -694,13 +675,13 @@ var _e = function() {
694
675
  }
695
676
  }
696
677
  if (o)
697
- throw new He(o);
678
+ throw new Ae(o);
698
679
  }
699
680
  }, e.prototype.add = function(t) {
700
681
  var r;
701
682
  if (t && t !== this)
702
683
  if (this.closed)
703
- it(t);
684
+ st(t);
704
685
  else {
705
686
  if (t instanceof e) {
706
687
  if (t.closed || t._hasParent(this))
@@ -717,32 +698,28 @@ var _e = function() {
717
698
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
718
699
  }, e.prototype._removeParent = function(t) {
719
700
  var r = this._parentage;
720
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
701
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
721
702
  }, e.prototype.remove = function(t) {
722
703
  var r = this._finalizers;
723
- r && Ue(r, t), t instanceof e && t._removeParent(this);
704
+ r && je(r, t), t instanceof e && t._removeParent(this);
724
705
  }, e.EMPTY = function() {
725
706
  var t = new e();
726
707
  return t.closed = !0, t;
727
708
  }(), e;
728
- }(), Rt = _e.EMPTY;
729
- function $t(e) {
730
- return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
709
+ }(), Dt = Ee.EMPTY;
710
+ function Ut(e) {
711
+ return e instanceof Ee || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
731
712
  }
732
- function it(e) {
713
+ function st(e) {
733
714
  I(e) ? e() : e.unsubscribe();
734
715
  }
735
- var Dt = {
736
- onUnhandledError: null,
737
- onStoppedNotification: null,
738
- Promise: void 0,
739
- useDeprecatedSynchronousErrorHandling: !1,
740
- useDeprecatedNextContext: !1
716
+ var Gr = {
717
+ Promise: void 0
741
718
  }, Fr = {
742
719
  setTimeout: function(e, t) {
743
720
  for (var r = [], n = 2; n < arguments.length; n++)
744
721
  r[n - 2] = arguments[n];
745
- return setTimeout.apply(void 0, z([e, t], De(r)));
722
+ return setTimeout.apply(void 0, Fe([e, t], Ge(r)));
746
723
  },
747
724
  clearTimeout: function(e) {
748
725
  return clearTimeout(e);
@@ -754,19 +731,19 @@ function jr(e) {
754
731
  throw e;
755
732
  });
756
733
  }
757
- function ot() {
734
+ function at() {
758
735
  }
759
736
  function pe(e) {
760
737
  e();
761
738
  }
762
- var Ut = function(e) {
763
- C(t, e);
739
+ var Gt = function(e) {
740
+ se(t, e);
764
741
  function t(r) {
765
742
  var n = e.call(this) || this;
766
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
743
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Xr, n;
767
744
  }
768
745
  return t.create = function(r, n, i) {
769
- return new Ge(r, n, i);
746
+ return new ke(r, n, i);
770
747
  }, t.prototype.next = function(r) {
771
748
  this.isStopped || this._next(r);
772
749
  }, t.prototype.error = function(r) {
@@ -790,11 +767,7 @@ var Ut = function(e) {
790
767
  this.unsubscribe();
791
768
  }
792
769
  }, t;
793
- }(_e), kr = Function.prototype.bind;
794
- function Be(e, t) {
795
- return kr.call(e, t);
796
- }
797
- var Vr = function() {
770
+ }(Ee), kr = function() {
798
771
  function e(t) {
799
772
  this.partialObserver = t;
800
773
  }
@@ -825,55 +798,43 @@ var Vr = function() {
825
798
  he(r);
826
799
  }
827
800
  }, e;
828
- }(), Ge = function(e) {
829
- C(t, e);
801
+ }(), ke = function(e) {
802
+ se(t, e);
830
803
  function t(r, n, i) {
831
804
  var o = e.call(this) || this, a;
832
- if (I(r) || !r)
833
- a = {
834
- next: r ?? void 0,
835
- error: n ?? void 0,
836
- complete: i ?? void 0
837
- };
838
- else {
839
- var s;
840
- o && Dt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
841
- return o.unsubscribe();
842
- }, a = {
843
- next: r.next && Be(r.next, s),
844
- error: r.error && Be(r.error, s),
845
- complete: r.complete && Be(r.complete, s)
846
- }) : a = r;
847
- }
848
- return o.destination = new Vr(a), o;
805
+ return I(r) || !r ? a = {
806
+ next: r ?? void 0,
807
+ error: n ?? void 0,
808
+ complete: i ?? void 0
809
+ } : a = r, o.destination = new kr(a), o;
849
810
  }
850
811
  return t;
851
- }(Ut);
812
+ }(Gt);
852
813
  function he(e) {
853
814
  jr(e);
854
815
  }
855
- function Xr(e) {
816
+ function Vr(e) {
856
817
  throw e;
857
818
  }
858
- var Wr = {
819
+ var Xr = {
859
820
  closed: !0,
860
- next: ot,
861
- error: Xr,
862
- complete: ot
863
- }, zr = function() {
821
+ next: at,
822
+ error: Vr,
823
+ complete: at
824
+ }, Wr = function() {
864
825
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
865
826
  }();
866
- function Zr(e) {
827
+ function zr(e) {
867
828
  return e;
868
829
  }
869
- function Qr(e) {
870
- return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
830
+ function Zr(e) {
831
+ return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
871
832
  return e.reduce(function(n, i) {
872
833
  return i(n);
873
834
  }, r);
874
835
  };
875
836
  }
876
- var st = function() {
837
+ var ut = function() {
877
838
  function e(t) {
878
839
  t && (this._subscribe = t);
879
840
  }
@@ -881,7 +842,7 @@ var st = function() {
881
842
  var r = new e();
882
843
  return r.source = this, r.operator = t, r;
883
844
  }, e.prototype.subscribe = function(t, r, n) {
884
- var i = this, o = qr(t) ? t : new Ge(t, r, n);
845
+ var i = this, o = Jr(t) ? t : new ke(t, r, n);
885
846
  return pe(function() {
886
847
  var a = i, s = a.operator, l = a.source;
887
848
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -894,8 +855,8 @@ var st = function() {
894
855
  }
895
856
  }, e.prototype.forEach = function(t, r) {
896
857
  var n = this;
897
- return r = at(r), new r(function(i, o) {
898
- var a = new Ge({
858
+ return r = lt(r), new r(function(i, o) {
859
+ var a = new ke({
899
860
  next: function(s) {
900
861
  try {
901
862
  t(s);
@@ -911,15 +872,15 @@ var st = function() {
911
872
  }, e.prototype._subscribe = function(t) {
912
873
  var r;
913
874
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
914
- }, e.prototype[zr] = function() {
875
+ }, e.prototype[Wr] = function() {
915
876
  return this;
916
877
  }, e.prototype.pipe = function() {
917
878
  for (var t = [], r = 0; r < arguments.length; r++)
918
879
  t[r] = arguments[r];
919
- return Qr(t)(this);
880
+ return Zr(t)(this);
920
881
  }, e.prototype.toPromise = function(t) {
921
882
  var r = this;
922
- return t = at(t), new t(function(n, i) {
883
+ return t = lt(t), new t(function(n, i) {
923
884
  var o;
924
885
  r.subscribe(function(a) {
925
886
  return o = a;
@@ -933,32 +894,32 @@ var st = function() {
933
894
  return new e(t);
934
895
  }, e;
935
896
  }();
936
- function at(e) {
897
+ function lt(e) {
937
898
  var t;
938
- return (t = e ?? Dt.Promise) !== null && t !== void 0 ? t : Promise;
899
+ return (t = e ?? Gr.Promise) !== null && t !== void 0 ? t : Promise;
939
900
  }
940
- function Jr(e) {
901
+ function Qr(e) {
941
902
  return e && I(e.next) && I(e.error) && I(e.complete);
942
903
  }
943
- function qr(e) {
944
- return e && e instanceof Ut || Jr(e) && $t(e);
904
+ function Jr(e) {
905
+ return e && e instanceof Gt || Qr(e) && Ut(e);
945
906
  }
946
- var Yr = Mt(function(e) {
907
+ var qr = $t(function(e) {
947
908
  return function() {
948
909
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
949
910
  };
950
- }), Gt = function(e) {
951
- C(t, e);
911
+ }), Ft = function(e) {
912
+ se(t, e);
952
913
  function t() {
953
914
  var r = e.call(this) || this;
954
915
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
955
916
  }
956
917
  return t.prototype.lift = function(r) {
957
- var n = new ut(this, this);
918
+ var n = new ht(this, this);
958
919
  return n.operator = r, n;
959
920
  }, t.prototype._throwIfClosed = function() {
960
921
  if (this.closed)
961
- throw new Yr();
922
+ throw new qr();
962
923
  }, t.prototype.next = function(r) {
963
924
  var n = this;
964
925
  pe(function() {
@@ -966,7 +927,7 @@ var Yr = Mt(function(e) {
966
927
  if (n._throwIfClosed(), !n.isStopped) {
967
928
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
968
929
  try {
969
- for (var a = $e(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
930
+ for (var a = Ue(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
970
931
  var l = s.value;
971
932
  l.next(r);
972
933
  }
@@ -1015,20 +976,20 @@ var Yr = Mt(function(e) {
1015
976
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1016
977
  }, t.prototype._innerSubscribe = function(r) {
1017
978
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1018
- return o || a ? Rt : (this.currentObservers = null, s.push(r), new _e(function() {
1019
- n.currentObservers = null, Ue(s, r);
979
+ return o || a ? Dt : (this.currentObservers = null, s.push(r), new Ee(function() {
980
+ n.currentObservers = null, je(s, r);
1020
981
  }));
1021
982
  }, t.prototype._checkFinalizedStatuses = function(r) {
1022
983
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1023
984
  i ? r.error(o) : a && r.complete();
1024
985
  }, t.prototype.asObservable = function() {
1025
- var r = new st();
986
+ var r = new ut();
1026
987
  return r.source = this, r;
1027
988
  }, t.create = function(r, n) {
1028
- return new ut(r, n);
989
+ return new ht(r, n);
1029
990
  }, t;
1030
- }(st), ut = function(e) {
1031
- C(t, e);
991
+ }(ut), ht = function(e) {
992
+ se(t, e);
1032
993
  function t(r, n) {
1033
994
  var i = e.call(this) || this;
1034
995
  return i.destination = r, i.source = n, i;
@@ -1044,17 +1005,17 @@ var Yr = Mt(function(e) {
1044
1005
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1045
1006
  }, t.prototype._subscribe = function(r) {
1046
1007
  var n, i;
1047
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
1008
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1048
1009
  }, t;
1049
- }(Gt), Ft = {
1010
+ }(Ft), jt = {
1050
1011
  now: function() {
1051
- return (Ft.delegate || Date).now();
1012
+ return (jt.delegate || Date).now();
1052
1013
  },
1053
1014
  delegate: void 0
1054
- }, Kr = function(e) {
1055
- C(t, e);
1015
+ }, Yr = function(e) {
1016
+ se(t, e);
1056
1017
  function t(r, n, i) {
1057
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1018
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1058
1019
  var o = e.call(this) || this;
1059
1020
  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;
1060
1021
  }
@@ -1074,24 +1035,24 @@ var Yr = Mt(function(e) {
1074
1035
  u && o.splice(0, u + 1);
1075
1036
  }
1076
1037
  }, t;
1077
- }(Gt);
1078
- const lt = [], ht = {}, en = (e, t = 0) => {
1079
- if (lt.indexOf(e) == -1) {
1080
- const r = new Kr(t);
1081
- ht[e] = r, lt.push(e);
1038
+ }(Ft);
1039
+ const ct = [], ft = {}, Kr = (e, t = 0) => {
1040
+ if (ct.indexOf(e) == -1) {
1041
+ const r = new Yr(t);
1042
+ ft[e] = r, ct.push(e);
1082
1043
  }
1083
- return ht[e];
1044
+ return ft[e];
1084
1045
  }, V = [];
1085
- function tn(e, t) {
1046
+ function en(e, t) {
1086
1047
  return {
1087
- subscribe: Ee(e, t).subscribe
1048
+ subscribe: xe(e, t).subscribe
1088
1049
  };
1089
1050
  }
1090
- function Ee(e, t = T) {
1051
+ function xe(e, t = T) {
1091
1052
  let r;
1092
1053
  const n = /* @__PURE__ */ new Set();
1093
1054
  function i(s) {
1094
- if (It(e, s) && (e = s, r)) {
1055
+ if (Ct(e, s) && (e = s, r)) {
1095
1056
  const l = !V.length;
1096
1057
  for (const u of n)
1097
1058
  u[1](), V.push(u, e);
@@ -1113,12 +1074,12 @@ function Ee(e, t = T) {
1113
1074
  }
1114
1075
  return { set: i, update: o, subscribe: a };
1115
1076
  }
1116
- function K(e, t, r) {
1077
+ function Y(e, t, r) {
1117
1078
  const n = !Array.isArray(e), i = n ? [e] : e;
1118
1079
  if (!i.every(Boolean))
1119
1080
  throw new Error("derived() expects stores as input, got a falsy value");
1120
1081
  const o = t.length < 2;
1121
- return tn(r, (a, s) => {
1082
+ return en(r, (a, s) => {
1122
1083
  let l = !1;
1123
1084
  const u = [];
1124
1085
  let h = 0, f = T;
@@ -1126,100 +1087,142 @@ function K(e, t, r) {
1126
1087
  if (h)
1127
1088
  return;
1128
1089
  f();
1129
- const _ = t(n ? u[0] : u, a, s);
1130
- o ? a(_) : f = Qe(_) ? _ : T;
1090
+ const v = t(n ? u[0] : u, a, s);
1091
+ o ? a(v) : f = Ke(v) ? v : T;
1131
1092
  }, y = i.map(
1132
- (_, v) => Ot(
1133
- _,
1093
+ (v, g) => Lt(
1094
+ v,
1134
1095
  (w) => {
1135
- u[v] = w, h &= ~(1 << v), l && c();
1096
+ u[g] = w, h &= ~(1 << g), l && c();
1136
1097
  },
1137
1098
  () => {
1138
- h |= 1 << v;
1099
+ h |= 1 << g;
1139
1100
  }
1140
1101
  )
1141
1102
  );
1142
1103
  return l = !0, c(), function() {
1143
- Y(y), f(), l = !1;
1104
+ q(y), f(), l = !1;
1144
1105
  };
1145
1106
  });
1146
1107
  }
1147
- function rn(e) {
1108
+ function tn(e) {
1148
1109
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1149
1110
  }
1150
- var nn = function(t) {
1151
- return on(t) && !sn(t);
1111
+ var rn = function(t) {
1112
+ return nn(t) && !on(t);
1152
1113
  };
1153
- function on(e) {
1114
+ function nn(e) {
1154
1115
  return !!e && typeof e == "object";
1155
1116
  }
1156
- function sn(e) {
1117
+ function on(e) {
1157
1118
  var t = Object.prototype.toString.call(e);
1158
- return t === "[object RegExp]" || t === "[object Date]" || ln(e);
1119
+ return t === "[object RegExp]" || t === "[object Date]" || un(e);
1159
1120
  }
1160
- var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1161
- function ln(e) {
1162
- return e.$$typeof === un;
1121
+ var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1122
+ function un(e) {
1123
+ return e.$$typeof === an;
1163
1124
  }
1164
- function hn(e) {
1125
+ function ln(e) {
1165
1126
  return Array.isArray(e) ? [] : {};
1166
1127
  }
1167
- function oe(e, t) {
1168
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(hn(e), e, t) : e;
1128
+ function ie(e, t) {
1129
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1169
1130
  }
1170
- function cn(e, t, r) {
1131
+ function hn(e, t, r) {
1171
1132
  return e.concat(t).map(function(n) {
1172
- return oe(n, r);
1133
+ return ie(n, r);
1173
1134
  });
1174
1135
  }
1175
- function fn(e, t) {
1136
+ function cn(e, t) {
1176
1137
  if (!t.customMerge)
1177
- return Z;
1138
+ return z;
1178
1139
  var r = t.customMerge(e);
1179
- return typeof r == "function" ? r : Z;
1140
+ return typeof r == "function" ? r : z;
1180
1141
  }
1181
- function dn(e) {
1142
+ function fn(e) {
1182
1143
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1183
1144
  return Object.propertyIsEnumerable.call(e, t);
1184
1145
  }) : [];
1185
1146
  }
1186
- function ct(e) {
1187
- return Object.keys(e).concat(dn(e));
1147
+ function dt(e) {
1148
+ return Object.keys(e).concat(fn(e));
1188
1149
  }
1189
- function jt(e, t) {
1150
+ function kt(e, t) {
1190
1151
  try {
1191
1152
  return t in e;
1192
1153
  } catch {
1193
1154
  return !1;
1194
1155
  }
1195
1156
  }
1196
- function pn(e, t) {
1197
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1157
+ function dn(e, t) {
1158
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1198
1159
  }
1199
- function mn(e, t, r) {
1160
+ function pn(e, t, r) {
1200
1161
  var n = {};
1201
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1202
- n[i] = oe(e[i], r);
1203
- }), ct(t).forEach(function(i) {
1204
- pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1162
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1163
+ n[i] = ie(e[i], r);
1164
+ }), dt(t).forEach(function(i) {
1165
+ dn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1205
1166
  }), n;
1206
1167
  }
1207
- function Z(e, t, r) {
1208
- r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = oe;
1168
+ function z(e, t, r) {
1169
+ r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1209
1170
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1210
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : oe(t, r);
1171
+ return o ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : ie(t, r);
1211
1172
  }
1212
- Z.all = function(t, r) {
1173
+ z.all = function(t, r) {
1213
1174
  if (!Array.isArray(t))
1214
1175
  throw new Error("first argument should be an array");
1215
1176
  return t.reduce(function(n, i) {
1216
- return Z(n, i, r);
1177
+ return z(n, i, r);
1217
1178
  }, {});
1218
1179
  };
1219
- var bn = Z, yn = bn;
1220
- const gn = /* @__PURE__ */ rn(yn);
1221
- function Ae(e, t) {
1222
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : _n;
1180
+ var mn = z, bn = mn;
1181
+ const yn = /* @__PURE__ */ tn(bn);
1182
+ var Ve = function(e, t) {
1183
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1184
+ r.__proto__ = n;
1185
+ } || function(r, n) {
1186
+ for (var i in n)
1187
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1188
+ }, Ve(e, t);
1189
+ };
1190
+ function Se(e, t) {
1191
+ if (typeof t != "function" && t !== null)
1192
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1193
+ Ve(e, t);
1194
+ function r() {
1195
+ this.constructor = e;
1196
+ }
1197
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1198
+ }
1199
+ var A = function() {
1200
+ return A = Object.assign || function(t) {
1201
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1202
+ r = arguments[n];
1203
+ for (var o in r)
1204
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1205
+ }
1206
+ return t;
1207
+ }, A.apply(this, arguments);
1208
+ };
1209
+ function gn(e, t) {
1210
+ var r = {};
1211
+ for (var n in e)
1212
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1213
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1214
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1215
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1216
+ return r;
1217
+ }
1218
+ function Pe(e, t, r) {
1219
+ if (r || arguments.length === 2)
1220
+ for (var n = 0, i = t.length, o; n < i; n++)
1221
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1222
+ return e.concat(o || Array.prototype.slice.call(t));
1223
+ }
1224
+ function Oe(e, t) {
1225
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1223
1226
  return i(e, {
1224
1227
  cache: r,
1225
1228
  serializer: n
@@ -1228,7 +1231,7 @@ function Ae(e, t) {
1228
1231
  function vn(e) {
1229
1232
  return e == null || typeof e == "number" || typeof e == "boolean";
1230
1233
  }
1231
- function kt(e, t, r, n) {
1234
+ function _n(e, t, r, n) {
1232
1235
  var i = vn(n) ? n : r(n), o = t.get(i);
1233
1236
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1234
1237
  }
@@ -1236,87 +1239,95 @@ function Vt(e, t, r) {
1236
1239
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1237
1240
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1238
1241
  }
1239
- function Je(e, t, r, n, i) {
1242
+ function Xt(e, t, r, n, i) {
1240
1243
  return r.bind(t, e, n, i);
1241
1244
  }
1242
- function _n(e, t) {
1243
- var r = e.length === 1 ? kt : Vt;
1244
- return Je(e, this, r, t.cache.create(), t.serializer);
1245
- }
1246
1245
  function En(e, t) {
1247
- return Je(e, this, Vt, t.cache.create(), t.serializer);
1246
+ var r = e.length === 1 ? _n : Vt;
1247
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1248
1248
  }
1249
1249
  function xn(e, t) {
1250
- return Je(e, this, kt, t.cache.create(), t.serializer);
1250
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1251
1251
  }
1252
1252
  var Sn = function() {
1253
1253
  return JSON.stringify(arguments);
1254
- };
1255
- function qe() {
1256
- this.cache = /* @__PURE__ */ Object.create(null);
1257
- }
1258
- qe.prototype.get = function(e) {
1259
- return this.cache[e];
1260
- };
1261
- qe.prototype.set = function(e, t) {
1262
- this.cache[e] = t;
1263
- };
1264
- var wn = {
1254
+ }, wn = (
1255
+ /** @class */
1256
+ function() {
1257
+ function e() {
1258
+ this.cache = /* @__PURE__ */ Object.create(null);
1259
+ }
1260
+ return e.prototype.get = function(t) {
1261
+ return this.cache[t];
1262
+ }, e.prototype.set = function(t, r) {
1263
+ this.cache[t] = r;
1264
+ }, e;
1265
+ }()
1266
+ ), Tn = {
1265
1267
  create: function() {
1266
- return new qe();
1268
+ return new wn();
1267
1269
  }
1268
- }, Pe = {
1269
- variadic: En,
1270
- monadic: xn
1271
- }, m;
1270
+ }, Ie = {
1271
+ variadic: xn
1272
+ }, ye = function() {
1273
+ return ye = Object.assign || function(t) {
1274
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1275
+ r = arguments[n];
1276
+ for (var o in r)
1277
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1278
+ }
1279
+ return t;
1280
+ }, ye.apply(this, arguments);
1281
+ };
1282
+ var m;
1272
1283
  (function(e) {
1273
1284
  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";
1274
1285
  })(m || (m = {}));
1275
- var E;
1286
+ var _;
1276
1287
  (function(e) {
1277
1288
  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";
1278
- })(E || (E = {}));
1279
- var Q;
1289
+ })(_ || (_ = {}));
1290
+ var Z;
1280
1291
  (function(e) {
1281
1292
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1282
- })(Q || (Q = {}));
1283
- function ft(e) {
1284
- return e.type === E.literal;
1285
- }
1286
- function Tn(e) {
1287
- return e.type === E.argument;
1293
+ })(Z || (Z = {}));
1294
+ function pt(e) {
1295
+ return e.type === _.literal;
1288
1296
  }
1289
- function Xt(e) {
1290
- return e.type === E.number;
1297
+ function Hn(e) {
1298
+ return e.type === _.argument;
1291
1299
  }
1292
1300
  function Wt(e) {
1293
- return e.type === E.date;
1301
+ return e.type === _.number;
1294
1302
  }
1295
1303
  function zt(e) {
1296
- return e.type === E.time;
1304
+ return e.type === _.date;
1297
1305
  }
1298
1306
  function Zt(e) {
1299
- return e.type === E.select;
1307
+ return e.type === _.time;
1300
1308
  }
1301
1309
  function Qt(e) {
1302
- return e.type === E.plural;
1303
- }
1304
- function Hn(e) {
1305
- return e.type === E.pound;
1310
+ return e.type === _.select;
1306
1311
  }
1307
1312
  function Jt(e) {
1308
- return e.type === E.tag;
1313
+ return e.type === _.plural;
1314
+ }
1315
+ function Bn(e) {
1316
+ return e.type === _.pound;
1309
1317
  }
1310
1318
  function qt(e) {
1311
- return !!(e && typeof e == "object" && e.type === Q.number);
1319
+ return e.type === _.tag;
1312
1320
  }
1313
- function Fe(e) {
1314
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1321
+ function Yt(e) {
1322
+ return !!(e && typeof e == "object" && e.type === Z.number);
1315
1323
  }
1316
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1317
- function An(e) {
1324
+ function Xe(e) {
1325
+ return !!(e && typeof e == "object" && e.type === Z.dateTime);
1326
+ }
1327
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1328
+ function Pn(e) {
1318
1329
  var t = {};
1319
- return e.replace(Bn, function(r) {
1330
+ return e.replace(An, function(r) {
1320
1331
  var n = r.length;
1321
1332
  switch (r[0]) {
1322
1333
  case "G":
@@ -1405,11 +1416,21 @@ function An(e) {
1405
1416
  return "";
1406
1417
  }), t;
1407
1418
  }
1408
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1419
+ var E = function() {
1420
+ return E = Object.assign || function(t) {
1421
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1422
+ r = arguments[n];
1423
+ for (var o in r)
1424
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1425
+ }
1426
+ return t;
1427
+ }, E.apply(this, arguments);
1428
+ };
1429
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1409
1430
  function In(e) {
1410
1431
  if (e.length === 0)
1411
1432
  throw new Error("Number skeleton cannot be empty");
1412
- for (var t = e.split(Pn).filter(function(c) {
1433
+ for (var t = e.split(On).filter(function(c) {
1413
1434
  return c.length > 0;
1414
1435
  }), r = [], n = 0, i = t; n < i.length; n++) {
1415
1436
  var o = i[n], a = o.split("/");
@@ -1424,17 +1445,17 @@ function In(e) {
1424
1445
  }
1425
1446
  return r;
1426
1447
  }
1427
- function On(e) {
1448
+ function Cn(e) {
1428
1449
  return e.replace(/^(.*?)-/, "");
1429
1450
  }
1430
- var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1431
- function pt(e) {
1451
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1452
+ function bt(e) {
1432
1453
  var t = {};
1433
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1454
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1434
1455
  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)), "";
1435
1456
  }), t;
1436
1457
  }
1437
- function tr(e) {
1458
+ function rr(e) {
1438
1459
  switch (e) {
1439
1460
  case "sign-auto":
1440
1461
  return {
@@ -1474,7 +1495,7 @@ function tr(e) {
1474
1495
  };
1475
1496
  }
1476
1497
  }
1477
- function Ln(e) {
1498
+ function Nn(e) {
1478
1499
  var t;
1479
1500
  if (e[0] === "E" && e[1] === "E" ? (t = {
1480
1501
  notation: "engineering"
@@ -1482,17 +1503,17 @@ function Ln(e) {
1482
1503
  notation: "scientific"
1483
1504
  }, e = e.slice(1)), t) {
1484
1505
  var r = e.slice(0, 2);
1485
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1506
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1486
1507
  throw new Error("Malformed concise eng/scientific notation");
1487
1508
  t.minimumIntegerDigits = e.length;
1488
1509
  }
1489
1510
  return t;
1490
1511
  }
1491
- function mt(e) {
1492
- var t = {}, r = tr(e);
1512
+ function yt(e) {
1513
+ var t = {}, r = rr(e);
1493
1514
  return r || t;
1494
1515
  }
1495
- function Nn(e) {
1516
+ function Mn(e) {
1496
1517
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1497
1518
  var i = n[r];
1498
1519
  switch (i.stem) {
@@ -1516,7 +1537,7 @@ function Nn(e) {
1516
1537
  continue;
1517
1538
  case "measure-unit":
1518
1539
  case "unit":
1519
- t.style = "unit", t.unit = On(i.options[0]);
1540
+ t.style = "unit", t.unit = Cn(i.options[0]);
1520
1541
  continue;
1521
1542
  case "compact-short":
1522
1543
  case "K":
@@ -1527,13 +1548,13 @@ function Nn(e) {
1527
1548
  t.notation = "compact", t.compactDisplay = "long";
1528
1549
  continue;
1529
1550
  case "scientific":
1530
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1531
- return g(g({}, l), mt(u));
1551
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1552
+ return E(E({}, l), yt(u));
1532
1553
  }, {}));
1533
1554
  continue;
1534
1555
  case "engineering":
1535
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1536
- return g(g({}, l), mt(u));
1556
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1557
+ return E(E({}, l), yt(u));
1537
1558
  }, {}));
1538
1559
  continue;
1539
1560
  case "notation-simple":
@@ -1578,7 +1599,7 @@ function Nn(e) {
1578
1599
  case "integer-width":
1579
1600
  if (i.options.length > 1)
1580
1601
  throw new RangeError("integer-width stems only accept a single optional option");
1581
- i.options[0].replace(Cn, function(l, u, h, f, c, y) {
1602
+ i.options[0].replace(Ln, function(l, u, h, f, c, y) {
1582
1603
  if (u)
1583
1604
  t.minimumIntegerDigits = h.length;
1584
1605
  else {
@@ -1591,28 +1612,28 @@ function Nn(e) {
1591
1612
  });
1592
1613
  continue;
1593
1614
  }
1594
- if (er.test(i.stem)) {
1615
+ if (tr.test(i.stem)) {
1595
1616
  t.minimumIntegerDigits = i.stem.length;
1596
1617
  continue;
1597
1618
  }
1598
- if (dt.test(i.stem)) {
1619
+ if (mt.test(i.stem)) {
1599
1620
  if (i.options.length > 1)
1600
1621
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1601
- i.stem.replace(dt, function(l, u, h, f, c, y) {
1622
+ i.stem.replace(mt, function(l, u, h, f, c, y) {
1602
1623
  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), "";
1603
1624
  });
1604
1625
  var o = i.options[0];
1605
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1626
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), bt(o)));
1606
1627
  continue;
1607
1628
  }
1608
- if (Kt.test(i.stem)) {
1609
- t = g(g({}, t), pt(i.stem));
1629
+ if (er.test(i.stem)) {
1630
+ t = E(E({}, t), bt(i.stem));
1610
1631
  continue;
1611
1632
  }
1612
- var a = tr(i.stem);
1613
- a && (t = g(g({}, t), a));
1614
- var s = Ln(i.stem);
1615
- s && (t = g(g({}, t), s));
1633
+ var a = rr(i.stem);
1634
+ a && (t = E(E({}, t), a));
1635
+ var s = Nn(i.stem);
1636
+ s && (t = E(E({}, t), s));
1616
1637
  }
1617
1638
  return t;
1618
1639
  }
@@ -3031,13 +3052,13 @@ var ce = {
3031
3052
  "h"
3032
3053
  ]
3033
3054
  };
3034
- function Mn(e, t) {
3055
+ function Rn(e, t) {
3035
3056
  for (var r = "", n = 0; n < e.length; n++) {
3036
3057
  var i = e.charAt(n);
3037
3058
  if (i === "j") {
3038
3059
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3039
3060
  o++, n++;
3040
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Rn(t);
3061
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
3041
3062
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3042
3063
  r += l;
3043
3064
  for (; a-- > 0; )
@@ -3047,7 +3068,7 @@ function Mn(e, t) {
3047
3068
  }
3048
3069
  return r;
3049
3070
  }
3050
- function Rn(e) {
3071
+ function $n(e) {
3051
3072
  var t = e.hourCycle;
3052
3073
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3053
3074
  e.hourCycles && // @ts-ignore
@@ -3069,20 +3090,20 @@ function Rn(e) {
3069
3090
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3070
3091
  return i[0];
3071
3092
  }
3072
- var Ie, $n = new RegExp("^".concat(Yt.source, "*")), Dn = new RegExp("".concat(Yt.source, "*$"));
3093
+ var Ce, Dn = new RegExp("^".concat(Kt.source, "*")), Un = new RegExp("".concat(Kt.source, "*$"));
3073
3094
  function b(e, t) {
3074
3095
  return { start: e, end: t };
3075
3096
  }
3076
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
3097
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, zn = Wn ? Number.isSafeInteger : function(e) {
3077
3098
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3078
- }, je = !0;
3099
+ }, We = !0;
3079
3100
  try {
3080
- var zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3081
- je = ((Ie = zn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3101
+ var Zn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3102
+ We = ((Ce = Zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3082
3103
  } catch {
3083
- je = !1;
3104
+ We = !1;
3084
3105
  }
3085
- var bt = Un ? (
3106
+ var gt = Gn ? (
3086
3107
  // Native
3087
3108
  function(t, r, n) {
3088
3109
  return t.startsWith(r, n);
@@ -3092,7 +3113,7 @@ var bt = Un ? (
3092
3113
  function(t, r, n) {
3093
3114
  return t.slice(n, n + r.length) === r;
3094
3115
  }
3095
- ), ke = Gn ? String.fromCodePoint : (
3116
+ ), ze = Fn ? String.fromCodePoint : (
3096
3117
  // IE11
3097
3118
  function() {
3098
3119
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3104,9 +3125,9 @@ var bt = Un ? (
3104
3125
  }
3105
3126
  return n;
3106
3127
  }
3107
- ), yt = (
3128
+ ), vt = (
3108
3129
  // native
3109
- Fn ? Object.fromEntries : (
3130
+ jn ? Object.fromEntries : (
3110
3131
  // Ponyfill
3111
3132
  function(t) {
3112
3133
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3116,7 +3137,7 @@ var bt = Un ? (
3116
3137
  return r;
3117
3138
  }
3118
3139
  )
3119
- ), rr = jn ? (
3140
+ ), nr = kn ? (
3120
3141
  // Native
3121
3142
  function(t, r) {
3122
3143
  return t.codePointAt(r);
@@ -3130,7 +3151,7 @@ var bt = Un ? (
3130
3151
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3131
3152
  }
3132
3153
  }
3133
- ), Zn = kn ? (
3154
+ ), Qn = Vn ? (
3134
3155
  // Native
3135
3156
  function(t) {
3136
3157
  return t.trimStart();
@@ -3138,9 +3159,9 @@ var bt = Un ? (
3138
3159
  ) : (
3139
3160
  // Ponyfill
3140
3161
  function(t) {
3141
- return t.replace($n, "");
3162
+ return t.replace(Dn, "");
3142
3163
  }
3143
- ), Qn = Vn ? (
3164
+ ), Jn = Xn ? (
3144
3165
  // Native
3145
3166
  function(t) {
3146
3167
  return t.trimEnd();
@@ -3148,32 +3169,32 @@ var bt = Un ? (
3148
3169
  ) : (
3149
3170
  // Ponyfill
3150
3171
  function(t) {
3151
- return t.replace(Dn, "");
3172
+ return t.replace(Un, "");
3152
3173
  }
3153
3174
  );
3154
- function nr(e, t) {
3175
+ function ir(e, t) {
3155
3176
  return new RegExp(e, t);
3156
3177
  }
3157
- var Ve;
3158
- if (je) {
3159
- var gt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3160
- Ve = function(t, r) {
3178
+ var Ze;
3179
+ if (We) {
3180
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3181
+ Ze = function(t, r) {
3161
3182
  var n;
3162
- gt.lastIndex = r;
3163
- var i = gt.exec(t);
3183
+ _t.lastIndex = r;
3184
+ var i = _t.exec(t);
3164
3185
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3165
3186
  };
3166
3187
  } else
3167
- Ve = function(t, r) {
3188
+ Ze = function(t, r) {
3168
3189
  for (var n = []; ; ) {
3169
- var i = rr(t, r);
3170
- if (i === void 0 || ir(i) || Kn(i))
3190
+ var i = nr(t, r);
3191
+ if (i === void 0 || or(i) || ei(i))
3171
3192
  break;
3172
3193
  n.push(i), r += i >= 65536 ? 2 : 1;
3173
3194
  }
3174
- return ke.apply(void 0, n);
3195
+ return ze.apply(void 0, n);
3175
3196
  };
3176
- var Jn = (
3197
+ var qn = (
3177
3198
  /** @class */
3178
3199
  function() {
3179
3200
  function e(t, r) {
@@ -3197,14 +3218,14 @@ var Jn = (
3197
3218
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3198
3219
  var s = this.clonePosition();
3199
3220
  this.bump(), i.push({
3200
- type: E.pound,
3221
+ type: _.pound,
3201
3222
  location: b(s, this.clonePosition())
3202
3223
  });
3203
3224
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3204
3225
  if (n)
3205
3226
  break;
3206
3227
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3207
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3228
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3208
3229
  var a = this.parseTag(t, r);
3209
3230
  if (a.err)
3210
3231
  return a;
@@ -3225,7 +3246,7 @@ var Jn = (
3225
3246
  if (this.bumpSpace(), this.bumpIf("/>"))
3226
3247
  return {
3227
3248
  val: {
3228
- type: E.literal,
3249
+ type: _.literal,
3229
3250
  value: "<".concat(i, "/>"),
3230
3251
  location: b(n, this.clonePosition())
3231
3252
  },
@@ -3237,12 +3258,12 @@ var Jn = (
3237
3258
  return o;
3238
3259
  var a = o.val, s = this.clonePosition();
3239
3260
  if (this.bumpIf("</")) {
3240
- if (this.isEOF() || !Xe(this.char()))
3261
+ if (this.isEOF() || !Qe(this.char()))
3241
3262
  return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
3242
3263
  var l = this.clonePosition(), u = this.parseTagName();
3243
3264
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3244
3265
  val: {
3245
- type: E.tag,
3266
+ type: _.tag,
3246
3267
  value: i,
3247
3268
  children: a,
3248
3269
  location: b(n, this.clonePosition())
@@ -3255,7 +3276,7 @@ var Jn = (
3255
3276
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3256
3277
  }, e.prototype.parseTagName = function() {
3257
3278
  var t = this.offset();
3258
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3279
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
3259
3280
  this.bump();
3260
3281
  return this.message.slice(t, this.offset());
3261
3282
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3279,12 +3300,12 @@ var Jn = (
3279
3300
  }
3280
3301
  var l = b(n, this.clonePosition());
3281
3302
  return {
3282
- val: { type: E.literal, value: i, location: l },
3303
+ val: { type: _.literal, value: i, location: l },
3283
3304
  err: null
3284
3305
  };
3285
3306
  }, e.prototype.tryParseLeftAngleBracket = function() {
3286
3307
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3287
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3308
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3288
3309
  }, e.prototype.tryParseQuote = function(t) {
3289
3310
  if (this.isEOF() || this.char() !== 39)
3290
3311
  return null;
@@ -3318,12 +3339,12 @@ var Jn = (
3318
3339
  r.push(n);
3319
3340
  this.bump();
3320
3341
  }
3321
- return ke.apply(void 0, r);
3342
+ return ze.apply(void 0, r);
3322
3343
  }, e.prototype.tryParseUnquoted = function(t, r) {
3323
3344
  if (this.isEOF())
3324
3345
  return null;
3325
3346
  var n = this.char();
3326
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3347
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3327
3348
  }, e.prototype.parseArgument = function(t, r) {
3328
3349
  var n = this.clonePosition();
3329
3350
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3339,7 +3360,7 @@ var Jn = (
3339
3360
  case 125:
3340
3361
  return this.bump(), {
3341
3362
  val: {
3342
- type: E.argument,
3363
+ type: _.argument,
3343
3364
  // value does not include the opening and closing braces.
3344
3365
  value: i,
3345
3366
  location: b(n, this.clonePosition())
@@ -3352,7 +3373,7 @@ var Jn = (
3352
3373
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3353
3374
  }
3354
3375
  }, e.prototype.parseIdentifierIfPossible = function() {
3355
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3376
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3356
3377
  this.bumpTo(i);
3357
3378
  var o = this.clonePosition(), a = b(t, o);
3358
3379
  return { value: n, location: a };
@@ -3371,46 +3392,46 @@ var Jn = (
3371
3392
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3372
3393
  if (f.err)
3373
3394
  return f;
3374
- var c = Qn(f.val);
3395
+ var c = Jn(f.val);
3375
3396
  if (c.length === 0)
3376
3397
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3377
3398
  var y = b(h, this.clonePosition());
3378
3399
  u = { style: c, styleLocation: y };
3379
3400
  }
3380
- var _ = this.tryParseArgumentClose(i);
3381
- if (_.err)
3382
- return _;
3383
- var v = b(i, this.clonePosition());
3384
- if (u && bt(u?.style, "::", 0)) {
3385
- var w = Zn(u.style.slice(2));
3401
+ var v = this.tryParseArgumentClose(i);
3402
+ if (v.err)
3403
+ return v;
3404
+ var g = b(i, this.clonePosition());
3405
+ if (u && gt(u?.style, "::", 0)) {
3406
+ var w = Qn(u.style.slice(2));
3386
3407
  if (s === "number") {
3387
3408
  var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3388
3409
  return f.err ? f : {
3389
- val: { type: E.number, value: n, location: v, style: f.val },
3410
+ val: { type: _.number, value: n, location: g, style: f.val },
3390
3411
  err: null
3391
3412
  };
3392
3413
  } else {
3393
3414
  if (w.length === 0)
3394
- return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3415
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3395
3416
  var L = w;
3396
- this.locale && (L = Mn(w, this.locale));
3417
+ this.locale && (L = Rn(w, this.locale));
3397
3418
  var c = {
3398
- type: Q.dateTime,
3419
+ type: Z.dateTime,
3399
3420
  pattern: L,
3400
3421
  location: u.styleLocation,
3401
- parsedOptions: this.shouldParseSkeletons ? An(L) : {}
3402
- }, A = s === "date" ? E.date : E.time;
3422
+ parsedOptions: this.shouldParseSkeletons ? Pn(L) : {}
3423
+ }, P = s === "date" ? _.date : _.time;
3403
3424
  return {
3404
- val: { type: A, value: n, location: v, style: c },
3425
+ val: { type: P, value: n, location: g, style: c },
3405
3426
  err: null
3406
3427
  };
3407
3428
  }
3408
3429
  }
3409
3430
  return {
3410
3431
  val: {
3411
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3432
+ type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3412
3433
  value: n,
3413
- location: v,
3434
+ location: g,
3414
3435
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3415
3436
  },
3416
3437
  err: null
@@ -3421,9 +3442,9 @@ var Jn = (
3421
3442
  case "select": {
3422
3443
  var S = this.clonePosition();
3423
3444
  if (this.bumpSpace(), !this.bumpIf(","))
3424
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, g({}, S)));
3445
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, ye({}, S)));
3425
3446
  this.bumpSpace();
3426
- var D = this.parseIdentifierIfPossible(), P = 0;
3447
+ var D = this.parseIdentifierIfPossible(), O = 0;
3427
3448
  if (s !== "select" && D.value === "offset") {
3428
3449
  if (!this.bumpIf(":"))
3429
3450
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3431,29 +3452,29 @@ var Jn = (
3431
3452
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3432
3453
  if (f.err)
3433
3454
  return f;
3434
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), P = f.val;
3455
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), O = f.val;
3435
3456
  }
3436
3457
  var j = this.tryParsePluralOrSelectOptions(t, s, r, D);
3437
3458
  if (j.err)
3438
3459
  return j;
3439
- var _ = this.tryParseArgumentClose(i);
3440
- if (_.err)
3441
- return _;
3460
+ var v = this.tryParseArgumentClose(i);
3461
+ if (v.err)
3462
+ return v;
3442
3463
  var ue = b(i, this.clonePosition());
3443
3464
  return s === "select" ? {
3444
3465
  val: {
3445
- type: E.select,
3466
+ type: _.select,
3446
3467
  value: n,
3447
- options: yt(j.val),
3468
+ options: vt(j.val),
3448
3469
  location: ue
3449
3470
  },
3450
3471
  err: null
3451
3472
  } : {
3452
3473
  val: {
3453
- type: E.plural,
3474
+ type: _.plural,
3454
3475
  value: n,
3455
- options: yt(j.val),
3456
- offset: P,
3476
+ options: vt(j.val),
3477
+ offset: O,
3457
3478
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3458
3479
  location: ue
3459
3480
  },
@@ -3509,10 +3530,10 @@ var Jn = (
3509
3530
  }
3510
3531
  return {
3511
3532
  val: {
3512
- type: Q.number,
3533
+ type: Z.number,
3513
3534
  tokens: n,
3514
3535
  location: r,
3515
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3536
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3516
3537
  },
3517
3538
  err: null
3518
3539
  };
@@ -3534,16 +3555,16 @@ var Jn = (
3534
3555
  var y = this.clonePosition();
3535
3556
  if (!this.bumpIf("{"))
3536
3557
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3537
- var _ = this.parseMessage(t + 1, r, n);
3538
- if (_.err)
3539
- return _;
3540
- var v = this.tryParseArgumentClose(y);
3558
+ var v = this.parseMessage(t + 1, r, n);
3541
3559
  if (v.err)
3542
3560
  return v;
3561
+ var g = this.tryParseArgumentClose(y);
3562
+ if (g.err)
3563
+ return g;
3543
3564
  s.push([
3544
3565
  u,
3545
3566
  {
3546
- value: _.val,
3567
+ value: v.val,
3547
3568
  location: b(y, this.clonePosition())
3548
3569
  }
3549
3570
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3560,7 +3581,7 @@ var Jn = (
3560
3581
  break;
3561
3582
  }
3562
3583
  var l = b(i, this.clonePosition());
3563
- return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3584
+ return o ? (a *= n, zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3564
3585
  }, e.prototype.offset = function() {
3565
3586
  return this.position.offset;
3566
3587
  }, e.prototype.isEOF = function() {
@@ -3575,7 +3596,7 @@ var Jn = (
3575
3596
  var t = this.position.offset;
3576
3597
  if (t >= this.message.length)
3577
3598
  throw Error("out of bound");
3578
- var r = rr(this.message, t);
3599
+ var r = nr(this.message, t);
3579
3600
  if (r === void 0)
3580
3601
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3581
3602
  return r;
@@ -3594,7 +3615,7 @@ var Jn = (
3594
3615
  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);
3595
3616
  }
3596
3617
  }, e.prototype.bumpIf = function(t) {
3597
- if (bt(this.message, t, this.offset())) {
3618
+ if (gt(this.message, t, this.offset())) {
3598
3619
  for (var r = 0; r < t.length; r++)
3599
3620
  this.bump();
3600
3621
  return !0;
@@ -3616,7 +3637,7 @@ var Jn = (
3616
3637
  break;
3617
3638
  }
3618
3639
  }, e.prototype.bumpSpace = function() {
3619
- for (; !this.isEOF() && ir(this.char()); )
3640
+ for (; !this.isEOF() && or(this.char()); )
3620
3641
  this.bump();
3621
3642
  }, e.prototype.peek = function() {
3622
3643
  if (this.isEOF())
@@ -3626,47 +3647,47 @@ var Jn = (
3626
3647
  }, e;
3627
3648
  }()
3628
3649
  );
3629
- function Xe(e) {
3650
+ function Qe(e) {
3630
3651
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3631
3652
  }
3632
- function qn(e) {
3633
- return Xe(e) || e === 47;
3634
- }
3635
3653
  function Yn(e) {
3654
+ return Qe(e) || e === 47;
3655
+ }
3656
+ function Kn(e) {
3636
3657
  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;
3637
3658
  }
3638
- function ir(e) {
3659
+ function or(e) {
3639
3660
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3640
3661
  }
3641
- function Kn(e) {
3662
+ function ei(e) {
3642
3663
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3643
3664
  }
3644
- function We(e) {
3665
+ function Je(e) {
3645
3666
  e.forEach(function(t) {
3646
- if (delete t.location, Zt(t) || Qt(t))
3667
+ if (delete t.location, Qt(t) || Jt(t))
3647
3668
  for (var r in t.options)
3648
- delete t.options[r].location, We(t.options[r].value);
3669
+ delete t.options[r].location, Je(t.options[r].value);
3649
3670
  else
3650
- Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && We(t.children);
3671
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3651
3672
  });
3652
3673
  }
3653
- function ei(e, t) {
3654
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3655
- var r = new Jn(e, t).parse();
3674
+ function ti(e, t) {
3675
+ t === void 0 && (t = {}), t = ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3676
+ var r = new qn(e, t).parse();
3656
3677
  if (r.err) {
3657
3678
  var n = SyntaxError(m[r.err.kind]);
3658
3679
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3659
3680
  }
3660
- return t?.captureLocation || We(r.val), r.val;
3681
+ return t?.captureLocation || Je(r.val), r.val;
3661
3682
  }
3662
- var J;
3683
+ var Q;
3663
3684
  (function(e) {
3664
3685
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3665
- })(J || (J = {}));
3666
- var xe = (
3686
+ })(Q || (Q = {}));
3687
+ var we = (
3667
3688
  /** @class */
3668
3689
  function(e) {
3669
- C(t, e);
3690
+ Se(t, e);
3670
3691
  function t(r, n, i) {
3671
3692
  var o = e.call(this, r) || this;
3672
3693
  return o.code = n, o.originalMessage = i, o;
@@ -3675,48 +3696,48 @@ var xe = (
3675
3696
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3676
3697
  }, t;
3677
3698
  }(Error)
3678
- ), vt = (
3699
+ ), Et = (
3679
3700
  /** @class */
3680
3701
  function(e) {
3681
- C(t, e);
3702
+ Se(t, e);
3682
3703
  function t(r, n, i, o) {
3683
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3704
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3684
3705
  }
3685
3706
  return t;
3686
- }(xe)
3687
- ), ti = (
3707
+ }(we)
3708
+ ), ri = (
3688
3709
  /** @class */
3689
3710
  function(e) {
3690
- C(t, e);
3711
+ Se(t, e);
3691
3712
  function t(r, n, i) {
3692
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3713
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3693
3714
  }
3694
3715
  return t;
3695
- }(xe)
3696
- ), ri = (
3716
+ }(we)
3717
+ ), ni = (
3697
3718
  /** @class */
3698
3719
  function(e) {
3699
- C(t, e);
3720
+ Se(t, e);
3700
3721
  function t(r, n) {
3701
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3722
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3702
3723
  }
3703
3724
  return t;
3704
- }(xe)
3725
+ }(we)
3705
3726
  ), x;
3706
3727
  (function(e) {
3707
3728
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3708
3729
  })(x || (x = {}));
3709
- function ni(e) {
3730
+ function ii(e) {
3710
3731
  return e.length < 2 ? e : e.reduce(function(t, r) {
3711
3732
  var n = t[t.length - 1];
3712
3733
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3713
3734
  }, []);
3714
3735
  }
3715
- function ii(e) {
3736
+ function oi(e) {
3716
3737
  return typeof e == "function";
3717
3738
  }
3718
3739
  function me(e, t, r, n, i, o, a) {
3719
- if (e.length === 1 && ft(e[0]))
3740
+ if (e.length === 1 && pt(e[0]))
3720
3741
  return [
3721
3742
  {
3722
3743
  type: x.literal,
@@ -3725,14 +3746,14 @@ function me(e, t, r, n, i, o, a) {
3725
3746
  ];
3726
3747
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3727
3748
  var h = u[l];
3728
- if (ft(h)) {
3749
+ if (pt(h)) {
3729
3750
  s.push({
3730
3751
  type: x.literal,
3731
3752
  value: h.value
3732
3753
  });
3733
3754
  continue;
3734
3755
  }
3735
- if (Hn(h)) {
3756
+ if (Bn(h)) {
3736
3757
  typeof o == "number" && s.push({
3737
3758
  type: x.literal,
3738
3759
  value: r.getNumberFormat(t).format(o)
@@ -3741,89 +3762,89 @@ function me(e, t, r, n, i, o, a) {
3741
3762
  }
3742
3763
  var f = h.value;
3743
3764
  if (!(i && f in i))
3744
- throw new ri(f, a);
3765
+ throw new ni(f, a);
3745
3766
  var c = i[f];
3746
- if (Tn(h)) {
3767
+ if (Hn(h)) {
3747
3768
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3748
3769
  type: typeof c == "string" ? x.literal : x.object,
3749
3770
  value: c
3750
3771
  });
3751
3772
  continue;
3752
3773
  }
3753
- if (Wt(h)) {
3754
- var y = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3774
+ if (zt(h)) {
3775
+ var y = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3755
3776
  s.push({
3756
3777
  type: x.literal,
3757
3778
  value: r.getDateTimeFormat(t, y).format(c)
3758
3779
  });
3759
3780
  continue;
3760
3781
  }
3761
- if (zt(h)) {
3762
- var y = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3782
+ if (Zt(h)) {
3783
+ var y = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3763
3784
  s.push({
3764
3785
  type: x.literal,
3765
3786
  value: r.getDateTimeFormat(t, y).format(c)
3766
3787
  });
3767
3788
  continue;
3768
3789
  }
3769
- if (Xt(h)) {
3770
- var y = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3790
+ if (Wt(h)) {
3791
+ var y = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3771
3792
  y && y.scale && (c = c * (y.scale || 1)), s.push({
3772
3793
  type: x.literal,
3773
3794
  value: r.getNumberFormat(t, y).format(c)
3774
3795
  });
3775
3796
  continue;
3776
3797
  }
3777
- if (Jt(h)) {
3778
- var _ = h.children, v = h.value, w = i[v];
3779
- if (!ii(w))
3780
- throw new ti(v, "function", a);
3781
- var L = me(_, t, r, n, i, o), A = w(L.map(function(P) {
3782
- return P.value;
3798
+ if (qt(h)) {
3799
+ var v = h.children, g = h.value, w = i[g];
3800
+ if (!oi(w))
3801
+ throw new ri(g, "function", a);
3802
+ var L = me(v, t, r, n, i, o), P = w(L.map(function(O) {
3803
+ return O.value;
3783
3804
  }));
3784
- Array.isArray(A) || (A = [A]), s.push.apply(s, A.map(function(P) {
3805
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(O) {
3785
3806
  return {
3786
- type: typeof P == "string" ? x.literal : x.object,
3787
- value: P
3807
+ type: typeof O == "string" ? x.literal : x.object,
3808
+ value: O
3788
3809
  };
3789
3810
  }));
3790
3811
  }
3791
- if (Zt(h)) {
3812
+ if (Qt(h)) {
3792
3813
  var S = h.options[c] || h.options.other;
3793
3814
  if (!S)
3794
- throw new vt(h.value, c, Object.keys(h.options), a);
3815
+ throw new Et(h.value, c, Object.keys(h.options), a);
3795
3816
  s.push.apply(s, me(S.value, t, r, n, i));
3796
3817
  continue;
3797
3818
  }
3798
- if (Qt(h)) {
3819
+ if (Jt(h)) {
3799
3820
  var S = h.options["=".concat(c)];
3800
3821
  if (!S) {
3801
3822
  if (!Intl.PluralRules)
3802
- throw new xe(`Intl.PluralRules is not available in this environment.
3823
+ throw new we(`Intl.PluralRules is not available in this environment.
3803
3824
  Try polyfilling it using "@formatjs/intl-pluralrules"
3804
- `, J.MISSING_INTL_API, a);
3825
+ `, Q.MISSING_INTL_API, a);
3805
3826
  var D = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3806
3827
  S = h.options[D] || h.options.other;
3807
3828
  }
3808
3829
  if (!S)
3809
- throw new vt(h.value, c, Object.keys(h.options), a);
3830
+ throw new Et(h.value, c, Object.keys(h.options), a);
3810
3831
  s.push.apply(s, me(S.value, t, r, n, i, c - (h.offset || 0)));
3811
3832
  continue;
3812
3833
  }
3813
3834
  }
3814
- return ni(s);
3835
+ return ii(s);
3815
3836
  }
3816
- function oi(e, t) {
3817
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3818
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3837
+ function si(e, t) {
3838
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3839
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3819
3840
  }, {})) : e;
3820
3841
  }
3821
- function si(e, t) {
3842
+ function ai(e, t) {
3822
3843
  return t ? Object.keys(e).reduce(function(r, n) {
3823
- return r[n] = oi(e[n], t[n]), r;
3824
- }, g({}, e)) : e;
3844
+ return r[n] = si(e[n], t[n]), r;
3845
+ }, A({}, e)) : e;
3825
3846
  }
3826
- function Oe(e) {
3847
+ function Le(e) {
3827
3848
  return {
3828
3849
  create: function() {
3829
3850
  return {
@@ -3837,39 +3858,39 @@ function Oe(e) {
3837
3858
  }
3838
3859
  };
3839
3860
  }
3840
- function ai(e) {
3861
+ function ui(e) {
3841
3862
  return e === void 0 && (e = {
3842
3863
  number: {},
3843
3864
  dateTime: {},
3844
3865
  pluralRules: {}
3845
3866
  }), {
3846
- getNumberFormat: Ae(function() {
3867
+ getNumberFormat: Oe(function() {
3847
3868
  for (var t, r = [], n = 0; n < arguments.length; n++)
3848
3869
  r[n] = arguments[n];
3849
- return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
3870
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3850
3871
  }, {
3851
- cache: Oe(e.number),
3852
- strategy: Pe.variadic
3872
+ cache: Le(e.number),
3873
+ strategy: Ie.variadic
3853
3874
  }),
3854
- getDateTimeFormat: Ae(function() {
3875
+ getDateTimeFormat: Oe(function() {
3855
3876
  for (var t, r = [], n = 0; n < arguments.length; n++)
3856
3877
  r[n] = arguments[n];
3857
- return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
3878
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3858
3879
  }, {
3859
- cache: Oe(e.dateTime),
3860
- strategy: Pe.variadic
3880
+ cache: Le(e.dateTime),
3881
+ strategy: Ie.variadic
3861
3882
  }),
3862
- getPluralRules: Ae(function() {
3883
+ getPluralRules: Oe(function() {
3863
3884
  for (var t, r = [], n = 0; n < arguments.length; n++)
3864
3885
  r[n] = arguments[n];
3865
- return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
3886
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3866
3887
  }, {
3867
- cache: Oe(e.pluralRules),
3868
- strategy: Pe.variadic
3888
+ cache: Le(e.pluralRules),
3889
+ strategy: Ie.variadic
3869
3890
  })
3870
3891
  };
3871
3892
  }
3872
- var ui = (
3893
+ var li = (
3873
3894
  /** @class */
3874
3895
  function() {
3875
3896
  function e(t, r, n, i) {
@@ -3901,13 +3922,13 @@ var ui = (
3901
3922
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3902
3923
  var a = i || {};
3903
3924
  a.formatters;
3904
- var s = Gr(a, ["formatters"]);
3905
- this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
3925
+ var s = gn(a, ["formatters"]);
3926
+ this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
3906
3927
  } else
3907
3928
  this.ast = t;
3908
3929
  if (!Array.isArray(this.ast))
3909
3930
  throw new TypeError("A message must be provided as a String or AST.");
3910
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3931
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3911
3932
  }
3912
3933
  return Object.defineProperty(e, "defaultLocale", {
3913
3934
  get: function() {
@@ -3920,7 +3941,7 @@ var ui = (
3920
3941
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3921
3942
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3922
3943
  }
3923
- }, e.__parse = ei, e.formats = {
3944
+ }, e.__parse = ti, e.formats = {
3924
3945
  number: {
3925
3946
  integer: {
3926
3947
  maximumFractionDigits: 0
@@ -3981,7 +4002,7 @@ var ui = (
3981
4002
  }, e;
3982
4003
  }()
3983
4004
  );
3984
- function li(e, t) {
4005
+ function hi(e, t) {
3985
4006
  if (t == null)
3986
4007
  return;
3987
4008
  if (t in e)
@@ -4002,92 +4023,92 @@ function li(e, t) {
4002
4023
  n = void 0;
4003
4024
  return n;
4004
4025
  }
4005
- const M = {}, hi = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), or = (e, t) => {
4026
+ const M = {}, ci = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), sr = (e, t) => {
4006
4027
  if (t == null)
4007
4028
  return;
4008
4029
  if (t in M && e in M[t])
4009
4030
  return M[t][e];
4010
- const r = Se(t);
4031
+ const r = Te(t);
4011
4032
  for (let n = 0; n < r.length; n++) {
4012
- const i = r[n], o = fi(i, e);
4033
+ const i = r[n], o = di(i, e);
4013
4034
  if (o)
4014
- return hi(e, t, o);
4035
+ return ci(e, t, o);
4015
4036
  }
4016
4037
  };
4017
- let Ye;
4018
- const ae = Ee({});
4019
- function ci(e) {
4020
- return Ye[e] || null;
4038
+ let et;
4039
+ const ae = xe({});
4040
+ function fi(e) {
4041
+ return et[e] || null;
4021
4042
  }
4022
- function sr(e) {
4023
- return e in Ye;
4043
+ function ar(e) {
4044
+ return e in et;
4024
4045
  }
4025
- function fi(e, t) {
4026
- if (!sr(e))
4046
+ function di(e, t) {
4047
+ if (!ar(e))
4027
4048
  return null;
4028
- const r = ci(e);
4029
- return li(r, t);
4049
+ const r = fi(e);
4050
+ return hi(r, t);
4030
4051
  }
4031
- function di(e) {
4052
+ function pi(e) {
4032
4053
  if (e == null)
4033
4054
  return;
4034
- const t = Se(e);
4055
+ const t = Te(e);
4035
4056
  for (let r = 0; r < t.length; r++) {
4036
4057
  const n = t[r];
4037
- if (sr(n))
4058
+ if (ar(n))
4038
4059
  return n;
4039
4060
  }
4040
4061
  }
4041
- function ar(e, ...t) {
4042
- delete M[e], ae.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4062
+ function ur(e, ...t) {
4063
+ delete M[e], ae.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4043
4064
  }
4044
- K(
4065
+ Y(
4045
4066
  [ae],
4046
4067
  ([e]) => Object.keys(e)
4047
4068
  );
4048
- ae.subscribe((e) => Ye = e);
4069
+ ae.subscribe((e) => et = e);
4049
4070
  const be = {};
4050
- function pi(e, t) {
4071
+ function mi(e, t) {
4051
4072
  be[e].delete(t), be[e].size === 0 && delete be[e];
4052
4073
  }
4053
- function ur(e) {
4074
+ function lr(e) {
4054
4075
  return be[e];
4055
4076
  }
4056
- function mi(e) {
4057
- return Se(e).map((t) => {
4058
- const r = ur(t);
4077
+ function bi(e) {
4078
+ return Te(e).map((t) => {
4079
+ const r = lr(t);
4059
4080
  return [t, r ? [...r] : []];
4060
4081
  }).filter(([, t]) => t.length > 0);
4061
4082
  }
4062
- function ze(e) {
4063
- return e == null ? !1 : Se(e).some(
4083
+ function qe(e) {
4084
+ return e == null ? !1 : Te(e).some(
4064
4085
  (t) => {
4065
4086
  var r;
4066
- return (r = ur(t)) == null ? void 0 : r.size;
4087
+ return (r = lr(t)) == null ? void 0 : r.size;
4067
4088
  }
4068
4089
  );
4069
4090
  }
4070
- function bi(e, t) {
4091
+ function yi(e, t) {
4071
4092
  return Promise.all(
4072
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4073
- ).then((n) => ar(e, ...n));
4074
- }
4075
- const re = {};
4076
- function lr(e) {
4077
- if (!ze(e))
4078
- return e in re ? re[e] : Promise.resolve();
4079
- const t = mi(e);
4080
- return re[e] = Promise.all(
4093
+ t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4094
+ ).then((n) => ur(e, ...n));
4095
+ }
4096
+ const te = {};
4097
+ function hr(e) {
4098
+ if (!qe(e))
4099
+ return e in te ? te[e] : Promise.resolve();
4100
+ const t = bi(e);
4101
+ return te[e] = Promise.all(
4081
4102
  t.map(
4082
- ([r, n]) => bi(r, n)
4103
+ ([r, n]) => yi(r, n)
4083
4104
  )
4084
4105
  ).then(() => {
4085
- if (ze(e))
4086
- return lr(e);
4087
- delete re[e];
4088
- }), re[e];
4106
+ if (qe(e))
4107
+ return hr(e);
4108
+ delete te[e];
4109
+ }), te[e];
4089
4110
  }
4090
- const yi = {
4111
+ const gi = {
4091
4112
  number: {
4092
4113
  scientific: { notation: "scientific" },
4093
4114
  engineering: { notation: "engineering" },
@@ -4116,135 +4137,135 @@ const yi = {
4116
4137
  timeZoneName: "short"
4117
4138
  }
4118
4139
  }
4119
- }, gi = {
4140
+ }, vi = {
4120
4141
  fallbackLocale: null,
4121
4142
  loadingDelay: 200,
4122
- formats: yi,
4143
+ formats: gi,
4123
4144
  warnOnMissingMessages: !0,
4124
4145
  handleMissingMessage: void 0,
4125
4146
  ignoreTag: !0
4126
- }, vi = gi;
4127
- function q() {
4128
- return vi;
4147
+ }, _i = vi;
4148
+ function J() {
4149
+ return _i;
4129
4150
  }
4130
- const Ce = Ee(!1);
4131
- var _i = Object.defineProperty, Ei = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4151
+ const Ne = xe(!1);
4152
+ var Ei = Object.defineProperty, xi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4132
4153
  for (var r in t || (t = {}))
4133
- Si.call(t, r) && Et(e, r, t[r]);
4134
- if (_t)
4135
- for (var r of _t(t))
4136
- wi.call(t, r) && Et(e, r, t[r]);
4154
+ wi.call(t, r) && St(e, r, t[r]);
4155
+ if (xt)
4156
+ for (var r of xt(t))
4157
+ Ti.call(t, r) && St(e, r, t[r]);
4137
4158
  return e;
4138
- }, Hi = (e, t) => Ei(e, xi(t));
4139
- let Ze;
4140
- const ye = Ee(null);
4141
- function xt(e) {
4159
+ }, Bi = (e, t) => xi(e, Si(t));
4160
+ let Ye;
4161
+ const ge = xe(null);
4162
+ function wt(e) {
4142
4163
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4143
4164
  }
4144
- function Se(e, t = q().fallbackLocale) {
4145
- const r = xt(e);
4146
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4165
+ function Te(e, t = J().fallbackLocale) {
4166
+ const r = wt(e);
4167
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4147
4168
  }
4148
4169
  function F() {
4149
- return Ze ?? void 0;
4170
+ return Ye ?? void 0;
4150
4171
  }
4151
- ye.subscribe((e) => {
4152
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4172
+ ge.subscribe((e) => {
4173
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4153
4174
  });
4154
- const Bi = (e) => {
4155
- if (e && di(e) && ze(e)) {
4156
- const { loadingDelay: t } = q();
4175
+ const Ai = (e) => {
4176
+ if (e && pi(e) && qe(e)) {
4177
+ const { loadingDelay: t } = J();
4157
4178
  let r;
4158
4179
  return typeof window < "u" && F() != null && t ? r = window.setTimeout(
4159
- () => Ce.set(!0),
4180
+ () => Ne.set(!0),
4160
4181
  t
4161
- ) : Ce.set(!0), lr(e).then(() => {
4162
- ye.set(e);
4182
+ ) : Ne.set(!0), hr(e).then(() => {
4183
+ ge.set(e);
4163
4184
  }).finally(() => {
4164
- clearTimeout(r), Ce.set(!1);
4185
+ clearTimeout(r), Ne.set(!1);
4165
4186
  });
4166
4187
  }
4167
- return ye.set(e);
4168
- }, ee = Hi(Ti({}, ye), {
4169
- set: Bi
4170
- }), we = (e) => {
4188
+ return ge.set(e);
4189
+ }, K = Bi(Hi({}, ge), {
4190
+ set: Ai
4191
+ }), He = (e) => {
4171
4192
  const t = /* @__PURE__ */ Object.create(null);
4172
4193
  return (n) => {
4173
4194
  const i = JSON.stringify(n);
4174
4195
  return i in t ? t[i] : t[i] = e(n);
4175
4196
  };
4176
4197
  };
4177
- var Ai = Object.defineProperty, ge = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4198
+ var Pi = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4178
4199
  for (var r in t || (t = {}))
4179
- hr.call(t, r) && St(e, r, t[r]);
4180
- if (ge)
4181
- for (var r of ge(t))
4182
- cr.call(t, r) && St(e, r, t[r]);
4200
+ cr.call(t, r) && Tt(e, r, t[r]);
4201
+ if (ve)
4202
+ for (var r of ve(t))
4203
+ fr.call(t, r) && Tt(e, r, t[r]);
4183
4204
  return e;
4184
- }, te = (e, t) => {
4205
+ }, ee = (e, t) => {
4185
4206
  var r = {};
4186
4207
  for (var n in e)
4187
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4188
- if (e != null && ge)
4189
- for (var n of ge(e))
4190
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4208
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4209
+ if (e != null && ve)
4210
+ for (var n of ve(e))
4211
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4191
4212
  return r;
4192
4213
  };
4193
- const se = (e, t) => {
4194
- const { formats: r } = q();
4214
+ const oe = (e, t) => {
4215
+ const { formats: r } = J();
4195
4216
  if (e in r && t in r[e])
4196
4217
  return r[e][t];
4197
4218
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4198
- }, Pi = we(
4219
+ }, Oi = He(
4199
4220
  (e) => {
4200
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4221
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4201
4222
  if (r == null)
4202
4223
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4203
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4224
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4204
4225
  }
4205
- ), Ii = we(
4226
+ ), Ii = He(
4206
4227
  (e) => {
4207
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4228
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4208
4229
  if (r == null)
4209
4230
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4210
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4231
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4211
4232
  }
4212
- ), Oi = we(
4233
+ ), Ci = He(
4213
4234
  (e) => {
4214
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4235
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4215
4236
  if (r == null)
4216
4237
  throw new Error(
4217
4238
  '[svelte-i18n] A "locale" must be set to format time values'
4218
4239
  );
4219
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4240
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4220
4241
  }
4221
- ), Ci = (e = {}) => {
4242
+ ), Li = (e = {}) => {
4222
4243
  var t = e, {
4223
4244
  locale: r = F()
4224
- } = t, n = te(t, [
4245
+ } = t, n = ee(t, [
4225
4246
  "locale"
4226
4247
  ]);
4227
- return Pi(Ke({ locale: r }, n));
4228
- }, Li = (e = {}) => {
4248
+ return Oi(tt({ locale: r }, n));
4249
+ }, Ni = (e = {}) => {
4229
4250
  var t = e, {
4230
4251
  locale: r = F()
4231
- } = t, n = te(t, [
4252
+ } = t, n = ee(t, [
4232
4253
  "locale"
4233
4254
  ]);
4234
- return Ii(Ke({ locale: r }, n));
4235
- }, Ni = (e = {}) => {
4255
+ return Ii(tt({ locale: r }, n));
4256
+ }, Mi = (e = {}) => {
4236
4257
  var t = e, {
4237
4258
  locale: r = F()
4238
- } = t, n = te(t, [
4259
+ } = t, n = ee(t, [
4239
4260
  "locale"
4240
4261
  ]);
4241
- return Oi(Ke({ locale: r }, n));
4242
- }, Mi = we(
4262
+ return Ci(tt({ locale: r }, n));
4263
+ }, Ri = He(
4243
4264
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4244
- (e, t = F()) => new ui(e, t, q().formats, {
4245
- ignoreTag: q().ignoreTag
4265
+ (e, t = F()) => new li(e, t, J().formats, {
4266
+ ignoreTag: J().ignoreTag
4246
4267
  })
4247
- ), Ri = (e, t = {}) => {
4268
+ ), $i = (e, t = {}) => {
4248
4269
  var r, n, i, o;
4249
4270
  let a = t;
4250
4271
  typeof e == "object" && (a = e, e = a.id);
@@ -4257,9 +4278,9 @@ const se = (e, t) => {
4257
4278
  throw new Error(
4258
4279
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4259
4280
  );
4260
- let h = or(e, l);
4281
+ let h = sr(e, l);
4261
4282
  if (!h)
4262
- 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;
4283
+ 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;
4263
4284
  else if (typeof h != "string")
4264
4285
  return console.warn(
4265
4286
  `[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.`
@@ -4268,7 +4289,7 @@ const se = (e, t) => {
4268
4289
  return h;
4269
4290
  let f = h;
4270
4291
  try {
4271
- f = Mi(h, l).format(s);
4292
+ f = Ri(h, l).format(s);
4272
4293
  } catch (c) {
4273
4294
  c instanceof Error && console.warn(
4274
4295
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4276,20 +4297,20 @@ const se = (e, t) => {
4276
4297
  );
4277
4298
  }
4278
4299
  return f;
4279
- }, $i = (e, t) => Ni(t).format(e), Di = (e, t) => Li(t).format(e), Ui = (e, t) => Ci(t).format(e), Gi = (e, t = F()) => or(e, t), Fi = K([ee, ae], () => Ri);
4280
- K([ee], () => $i);
4281
- K([ee], () => Di);
4282
- K([ee], () => Ui);
4283
- K([ee, ae], () => Gi);
4284
- window.emWidgets = { topic: en };
4285
- const ji = (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)), ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4286
- function Vi(e, t) {
4300
+ }, Di = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Li(t).format(e), Fi = (e, t = F()) => sr(e, t), ji = Y([K, ae], () => $i);
4301
+ Y([K], () => Di);
4302
+ Y([K], () => Ui);
4303
+ Y([K], () => Gi);
4304
+ Y([K, ae], () => Fi);
4305
+ window.emWidgets = { topic: Kr };
4306
+ const ki = (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)), Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4307
+ function Xi(e, t) {
4287
4308
  if (e) {
4288
4309
  const r = document.createElement("style");
4289
4310
  r.innerHTML = t, e.appendChild(r);
4290
4311
  }
4291
4312
  }
4292
- function Xi(e, t) {
4313
+ function Wi(e, t) {
4293
4314
  const r = new URL(t);
4294
4315
  fetch(r.href).then((n) => n.text()).then((n) => {
4295
4316
  const i = document.createElement("style");
@@ -4298,7 +4319,7 @@ function Xi(e, t) {
4298
4319
  console.error("There was an error while trying to load client styling from URL", n);
4299
4320
  });
4300
4321
  }
4301
- function Wi(e, t, r) {
4322
+ function zi(e, t, r) {
4302
4323
  if (window.emMessageBus) {
4303
4324
  const n = document.createElement("style");
4304
4325
  window.emMessageBus.subscribe(t, (i) => {
@@ -4306,13 +4327,13 @@ function Wi(e, t, r) {
4306
4327
  });
4307
4328
  }
4308
4329
  }
4309
- function wt(e, t) {
4310
- ar(e, t);
4330
+ function Ht(e, t) {
4331
+ ur(e, t);
4311
4332
  }
4312
- function zi(e) {
4313
- ee.set(e);
4333
+ function Zi(e) {
4334
+ K.set(e);
4314
4335
  }
4315
- const Tt = {
4336
+ const Bt = {
4316
4337
  en: {
4317
4338
  error: "500 Error - Internal Server Error"
4318
4339
  },
@@ -4344,7 +4365,7 @@ if (typeof window < "u") {
4344
4365
  }
4345
4366
  };
4346
4367
  };
4347
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BQ5CpgB4.js").then(({ default: t }) => {
4368
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B9hKQEd-.js").then(({ default: t }) => {
4348
4369
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4349
4370
  });
4350
4371
  }
@@ -4360,32 +4381,32 @@ if (typeof window < "u") {
4360
4381
  }
4361
4382
  };
4362
4383
  };
4363
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-CGhAWhOs.js").then(({ default: t }) => {
4384
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-CqVVctMc.js").then(({ default: t }) => {
4364
4385
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4365
4386
  });
4366
4387
  }
4367
- function Zi(e) {
4388
+ function Qi(e) {
4368
4389
  gr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{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-5u3c97{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-5u3c97{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-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4369
4390
  }.LoadingSpinner.svelte-5u3c97: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, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4370
4391
  }
4371
- function Ht(e, t, r) {
4392
+ function At(e, t, r) {
4372
4393
  const n = e.slice();
4373
4394
  return n[26] = t[r], n[28] = r, n;
4374
4395
  }
4375
- function Qi(e) {
4376
- let t, r, n, i = nt(
4396
+ function Ji(e) {
4397
+ let t, r, n, i = ot(
4377
4398
  /*calendarCollections*/
4378
4399
  e[6]
4379
4400
  ), o = [];
4380
4401
  for (let s = 0; s < i.length; s += 1)
4381
- o[s] = Bt(Ht(e, i, s));
4402
+ o[s] = Pt(At(e, i, s));
4382
4403
  let a = (
4383
4404
  /*calendarModalOpened*/
4384
- e[11] == !0 && At(e)
4405
+ e[11] == !0 && Ot(e)
4385
4406
  );
4386
4407
  return {
4387
4408
  c() {
4388
- t = O("div");
4409
+ t = C("div");
4389
4410
  for (let s = 0; s < o.length; s += 1)
4390
4411
  o[s].c();
4391
4412
  r = xr(), a && a.c(), R(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
@@ -4395,26 +4416,26 @@ function Qi(e) {
4395
4416
  G(s, t, l);
4396
4417
  for (let u = 0; u < o.length; u += 1)
4397
4418
  o[u] && o[u].m(t, null);
4398
- ve(t, r), a && a.m(t, null);
4419
+ _e(t, r), a && a.m(t, null);
4399
4420
  },
4400
4421
  p(s, l) {
4401
4422
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4402
4423
  95) {
4403
- i = nt(
4424
+ i = ot(
4404
4425
  /*calendarCollections*/
4405
4426
  s[6]
4406
4427
  );
4407
4428
  let u;
4408
4429
  for (u = 0; u < i.length; u += 1) {
4409
- const h = Ht(s, i, u);
4410
- o[u] ? o[u].p(h, l) : (o[u] = Bt(h), o[u].c(), o[u].m(t, r));
4430
+ const h = At(s, i, u);
4431
+ o[u] ? o[u].p(h, l) : (o[u] = Pt(h), o[u].c(), o[u].m(t, r));
4411
4432
  }
4412
4433
  for (; u < o.length; u += 1)
4413
4434
  o[u].d(1);
4414
4435
  o.length = i.length;
4415
4436
  }
4416
4437
  /*calendarModalOpened*/
4417
- s[11] == !0 ? a ? a.p(s, l) : (a = At(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4438
+ s[11] == !0 ? a ? a.p(s, l) : (a = Ot(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4418
4439
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4419
4440
  (s[10] ? "Mobile" : "") + " svelte-5u3c97") && R(t, "class", n);
4420
4441
  },
@@ -4423,11 +4444,11 @@ function Qi(e) {
4423
4444
  }
4424
4445
  };
4425
4446
  }
4426
- function Ji(e) {
4447
+ function qi(e) {
4427
4448
  let t;
4428
4449
  return {
4429
4450
  c() {
4430
- t = O("div"), R(t, "class", "LoadingSpinner svelte-5u3c97");
4451
+ t = C("div"), R(t, "class", "LoadingSpinner svelte-5u3c97");
4431
4452
  },
4432
4453
  m(r, n) {
4433
4454
  G(r, t, n);
@@ -4438,17 +4459,17 @@ function Ji(e) {
4438
4459
  }
4439
4460
  };
4440
4461
  }
4441
- function qi(e) {
4462
+ function Yi(e) {
4442
4463
  let t, r = (
4443
4464
  /*$_*/
4444
4465
  e[12]("error") + ""
4445
4466
  ), n;
4446
4467
  return {
4447
4468
  c() {
4448
- t = O("p"), n = Lt(r), R(t, "class", "SearchLoading svelte-5u3c97");
4469
+ t = C("p"), n = Mt(r), R(t, "class", "SearchLoading svelte-5u3c97");
4449
4470
  },
4450
4471
  m(i, o) {
4451
- G(i, t, o), ve(t, n);
4472
+ G(i, t, o), _e(t, n);
4452
4473
  },
4453
4474
  p(i, o) {
4454
4475
  o & /*$_*/
@@ -4460,11 +4481,11 @@ function qi(e) {
4460
4481
  }
4461
4482
  };
4462
4483
  }
4463
- function Bt(e) {
4484
+ function Pt(e) {
4464
4485
  let t, r, n, i, o, a;
4465
4486
  return {
4466
4487
  c() {
4467
- t = O("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4488
+ t = C("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4468
4489
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4469
4490
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4470
4491
  e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
@@ -4552,11 +4573,11 @@ function Bt(e) {
4552
4573
  }
4553
4574
  };
4554
4575
  }
4555
- function At(e) {
4576
+ function Ot(e) {
4556
4577
  let t, r, n, i, o, a, s, l;
4557
4578
  return {
4558
4579
  c() {
4559
- t = O("div"), r = O("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4580
+ t = C("div"), r = C("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4560
4581
  e[6][
4561
4582
  /*selectedIndex*/
4562
4583
  e[7]
@@ -4608,7 +4629,7 @@ function At(e) {
4608
4629
  ), d(r, "class", "svelte-5u3c97"), R(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4609
4630
  },
4610
4631
  m(u, h) {
4611
- G(u, t, h), ve(t, r);
4632
+ G(u, t, h), _e(t, r);
4612
4633
  },
4613
4634
  p(u, h) {
4614
4635
  h & /*calendarCollections, selectedIndex*/
@@ -4678,29 +4699,29 @@ function At(e) {
4678
4699
  }
4679
4700
  };
4680
4701
  }
4681
- function Yi(e) {
4702
+ function Ki(e) {
4682
4703
  let t;
4683
4704
  function r(o, a) {
4684
4705
  if (
4685
4706
  /*hasErrors*/
4686
4707
  o[9]
4687
4708
  )
4688
- return qi;
4709
+ return Yi;
4689
4710
  if (
4690
4711
  /*isLoading*/
4691
4712
  o[8]
4692
4713
  )
4693
- return Ji;
4714
+ return qi;
4694
4715
  if (
4695
4716
  /*calendarCollections*/
4696
4717
  o[6]?.length
4697
4718
  )
4698
- return Qi;
4719
+ return Ji;
4699
4720
  }
4700
4721
  let n = r(e), i = n && n(e);
4701
4722
  return {
4702
4723
  c() {
4703
- t = O("div"), i && i.c(), R(t, "class", "svelte-5u3c97");
4724
+ t = C("div"), i && i.c(), R(t, "class", "svelte-5u3c97");
4704
4725
  },
4705
4726
  m(o, a) {
4706
4727
  G(o, t, a), i && i.m(t, null), e[16](t);
@@ -4715,61 +4736,61 @@ function Yi(e) {
4715
4736
  }
4716
4737
  };
4717
4738
  }
4718
- function Ki(e, t, r) {
4739
+ function eo(e, t, r) {
4719
4740
  let n;
4720
- yr(e, Fi, (p) => r(12, n = p));
4721
- 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, w = !1, L = !1, A = window.navigator.userAgent, S = !1, D;
4722
- const P = () => {
4723
- zi(s);
4741
+ yr(e, ji, (p) => r(12, n = p));
4742
+ 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, v = 0, g = !0, w = !1, L = !1, P = window.navigator.userAgent, S = !1;
4743
+ const D = () => {
4744
+ Zi(s);
4724
4745
  };
4725
- Object.keys(Tt).forEach((p) => {
4726
- wt(p, Tt[p]);
4746
+ Object.keys(Bt).forEach((p) => {
4747
+ Ht(p, Bt[p]);
4727
4748
  });
4728
- const j = () => {
4749
+ const O = () => {
4729
4750
  let p = h;
4730
4751
  if (p)
4731
4752
  return fetch(p).then((H) => H.json()).then((H) => {
4732
4753
  Object.keys(H).forEach((N) => {
4733
- wt(N, H[N]);
4754
+ Ht(N, H[N]);
4734
4755
  });
4735
4756
  }).catch((H) => {
4736
4757
  console.log(H);
4737
4758
  });
4738
- }, ue = () => {
4739
- r(8, v = !0);
4759
+ }, j = () => {
4760
+ r(8, g = !0);
4740
4761
  let p = new URL(`${i}/${s}/daily-calendar`);
4741
4762
  p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4742
- let H = ki(A);
4763
+ let H = Vi(P);
4743
4764
  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((N) => N.json()).then((N) => {
4744
4765
  r(6, y = N);
4745
4766
  }).catch((N) => {
4746
4767
  console.log(N), r(9, w = !0);
4747
4768
  }).finally(() => {
4748
- fr(), r(8, v = !1);
4769
+ ue(), r(8, g = !1);
4749
4770
  });
4750
- }, fr = () => {
4771
+ }, ue = () => {
4751
4772
  const p = c.getRootNode().host;
4752
4773
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4753
4774
  }, dr = () => {
4754
- ue();
4755
- }, et = (p) => {
4756
- p.data && p.data.type == "OpenCalendar" && (r(7, _ = p.data.index), r(11, S = !0), window.postMessage(
4775
+ j();
4776
+ }, rt = (p) => {
4777
+ p.data && p.data.type == "OpenCalendar" && (r(7, v = p.data.index), r(11, S = !0), window.postMessage(
4757
4778
  {
4758
4779
  type: "ShowModal",
4759
- selectedIndex: _,
4780
+ selectedIndex: v,
4760
4781
  identifier: "Calendar"
4761
4782
  },
4762
4783
  window.location.href
4763
4784
  ), window.postMessage({
4764
4785
  type: "DailyEventsData",
4765
- data: y[_]?.dailyEvents
4786
+ data: y[v]?.dailyEvents
4766
4787
  })), p.data && p.data.type == "ModalClosed" && r(11, S = !1);
4767
4788
  };
4768
- Br(() => (window.addEventListener("message", et, !1), ji(A) && r(10, L = !0), () => {
4769
- window.emMessageBus && D && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", et);
4789
+ Br(() => (window.addEventListener("message", rt, !1), ki(P) && r(10, L = !0), () => {
4790
+ window.removeEventListener("message", rt);
4770
4791
  }));
4771
4792
  function pr(p) {
4772
- Le[p ? "unshift" : "push"](() => {
4793
+ Me[p ? "unshift" : "push"](() => {
4773
4794
  c = p, r(5, c);
4774
4795
  });
4775
4796
  }
@@ -4778,11 +4799,11 @@ function Ki(e, t, r) {
4778
4799
  }, e.$$.update = () => {
4779
4800
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4780
4801
  57345 && i && s && o && a && dr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4781
- 34 && l && c && Vi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4782
- 36 && u && c && Xi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4783
- 48 && c && Wi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4784
- 1 && s && P(), e.$$.dirty & /*lang, translationurl*/
4785
- 9 && s && h && j();
4802
+ 34 && l && c && Xi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4803
+ 36 && u && c && Wi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4804
+ 48 && c && zi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4805
+ 1 && s && D(), e.$$.dirty & /*lang, translationurl*/
4806
+ 9 && s && h && O();
4786
4807
  }, [
4787
4808
  s,
4788
4809
  l,
@@ -4791,8 +4812,8 @@ function Ki(e, t, r) {
4791
4812
  f,
4792
4813
  c,
4793
4814
  y,
4794
- _,
4795
4815
  v,
4816
+ g,
4796
4817
  w,
4797
4818
  L,
4798
4819
  S,
@@ -4803,14 +4824,14 @@ function Ki(e, t, r) {
4803
4824
  pr
4804
4825
  ];
4805
4826
  }
4806
- class eo extends Dr {
4827
+ class to extends Dr {
4807
4828
  constructor(t) {
4808
4829
  super(), Rr(
4809
4830
  this,
4810
4831
  t,
4832
+ eo,
4811
4833
  Ki,
4812
- Yi,
4813
- It,
4834
+ Ct,
4814
4835
  {
4815
4836
  cmsendpoint: 13,
4816
4837
  env: 14,
@@ -4821,7 +4842,7 @@ class eo extends Dr {
4821
4842
  translationurl: 3,
4822
4843
  mbsource: 4
4823
4844
  },
4824
- Zi
4845
+ Qi
4825
4846
  );
4826
4847
  }
4827
4848
  get cmsendpoint() {
@@ -4873,47 +4894,47 @@ class eo extends Dr {
4873
4894
  this.$$set({ mbsource: t }), B();
4874
4895
  }
4875
4896
  }
4876
- $r(eo, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4897
+ $r(to, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4877
4898
  export {
4878
- ee as $,
4879
- ao as A,
4880
- io as B,
4881
- oo as C,
4882
- no as D,
4883
- wr as E,
4884
- Er as F,
4885
- T as G,
4886
- d as H,
4887
- to as I,
4888
- Fi as J,
4889
- so as K,
4890
- uo as L,
4891
- eo as M,
4899
+ K as $,
4900
+ uo as A,
4901
+ xr as B,
4902
+ Me as C,
4903
+ ro as D,
4904
+ d as E,
4905
+ ao as F,
4906
+ lo as G,
4907
+ ho as H,
4908
+ ji as I,
4909
+ Xi as J,
4910
+ Wi as K,
4911
+ zi as L,
4912
+ to as M,
4892
4913
  Dr as S,
4893
- ar as a,
4914
+ ur as a,
4894
4915
  gr as b,
4895
4916
  $r as c,
4896
- G as d,
4897
- O as e,
4917
+ $ as d,
4918
+ Cr as e,
4898
4919
  B as f,
4899
- ho as g,
4900
- Cr as h,
4920
+ co as g,
4921
+ G as h,
4901
4922
  Rr as i,
4902
- $ as j,
4923
+ C as j,
4903
4924
  yr as k,
4904
- Xi as l,
4905
- Wi as m,
4906
- lo as n,
4925
+ ki as l,
4926
+ wr as m,
4927
+ T as n,
4907
4928
  Br as o,
4908
- ji as p,
4909
- Le as q,
4910
- Vi as r,
4911
- It as s,
4912
- co as t,
4913
- ro as u,
4914
- nt as v,
4915
- xr as w,
4916
- Lt as x,
4917
- R as y,
4918
- ve as z
4929
+ _e as p,
4930
+ Mt as q,
4931
+ R as r,
4932
+ Ct as s,
4933
+ fo as t,
4934
+ no as u,
4935
+ ot as v,
4936
+ Er as w,
4937
+ oo as x,
4938
+ so as y,
4939
+ io as z
4919
4940
  };