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