@everymatrix/casino-calendar 1.76.0 → 1.76.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoCalendar-BsekytFQ.js → CasinoCalendar-C9xgBkbo.js} +753 -774
  2. package/components/CasinoCalendar-DTAsRAIg.cjs +19 -0
  3. package/components/{CasinoCalendar-B_yIJo9o.js → CasinoCalendar-TOEOl5qN.js} +722 -743
  4. package/components/{CasinoCalendarDailyDetails-B9hKQEd-.js → CasinoCalendarDailyDetails-BQ5CpgB4.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-5Uwasp4V.cjs → CasinoCalendarDailyDetails-BinrRuSF.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-qQmxCOJN.js → CasinoCalendarDailyDetails-RkYvXIIH.js} +39 -39
  7. package/components/{CasinoCalendarDailyItem-J1Bv2gjs.js → CasinoCalendarDailyItem-BfZfG9F4.js} +31 -31
  8. package/components/{CasinoCalendarDailyItem-BuRk9egV.cjs → CasinoCalendarDailyItem-BgFtETap.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CqVVctMc.js → CasinoCalendarDailyItem-CGhAWhOs.js} +38 -38
  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-BD-QREJe.js +558 -0
  15. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  16. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  17. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
  18. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
  19. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  22. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  23. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  24. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  25. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-_K8Pt3w9.js} +2 -2
  26. package/components/CasinoCalendar-D4IlozoR.cjs +0 -19
  27. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  28. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  29. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
@@ -1,17 +1,17 @@
1
1
  var xr = Object.defineProperty, Sr = Object.defineProperties;
2
2
  var wr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
3
+ var nt = Object.getOwnPropertySymbols;
4
4
  var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
5
+ var He = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && Pe(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Hr.call(t, r) && Pe(e, r, t[r]);
7
+ Tr.call(t, r) && He(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Hr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Sr(e, wr(t));
13
- var H = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => Sr(e, wr(t));
13
+ var H = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -37,29 +37,29 @@ function Br(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function $t(e) {
40
+ function Mt(e) {
41
41
  return e();
42
42
  }
43
- function lt() {
43
+ function at() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function Y(e) {
47
- e.forEach($t);
46
+ function K(e) {
47
+ e.forEach(Mt);
48
48
  }
49
- function tt(e) {
49
+ function qe(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Dt(e, t) {
52
+ function Rt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let he;
56
- function mo(e, t) {
56
+ function po(e, t) {
57
57
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
58
58
  }
59
- function Pr(e) {
59
+ function Ar(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function Ut(e, ...t) {
62
+ function $t(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function Ut(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Ar(e, t, r) {
72
- e.$$.on_destroy.push(Ut(t, r));
71
+ function Pr(e, t, r) {
72
+ e.$$.on_destroy.push($t(t, r));
73
73
  }
74
- function bo(e, t, r, n) {
74
+ function mo(e, t, r, n) {
75
75
  if (e) {
76
- const i = Gt(e, t, r, n);
76
+ const i = Dt(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function Gt(e, t, r, n) {
80
+ function Dt(e, t, r, n) {
81
81
  return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function yo(e, t, r, n) {
83
+ function bo(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function yo(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function go(e, t, r, n, i, o) {
98
+ function yo(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const a = Gt(t, r, n, o);
100
+ const a = Dt(t, r, n, o);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function vo(e) {
104
+ function go(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,13 +110,13 @@ function vo(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function Ee(e, t) {
113
+ function _e(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
116
  function Or(e, t, r) {
117
117
  const n = Ir(e);
118
118
  if (!n.getElementById(t)) {
119
- const i = L("style");
119
+ const i = C("style");
120
120
  i.id = t, i.textContent = r, Cr(n, i);
121
121
  }
122
122
  }
@@ -131,7 +131,7 @@ function Ir(e) {
131
131
  ) : e.ownerDocument;
132
132
  }
133
133
  function Cr(e, t) {
134
- return Ee(
134
+ return _e(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
@@ -147,19 +147,19 @@ function Lr(e, t) {
147
147
  for (let r = 0; r < e.length; r += 1)
148
148
  e[r] && e[r].d(t);
149
149
  }
150
- function L(e) {
150
+ function C(e) {
151
151
  return document.createElement(e);
152
152
  }
153
- function _o(e) {
153
+ function vo(e) {
154
154
  return document.createElementNS("http://www.w3.org/2000/svg", e);
155
155
  }
156
- function Ft(e) {
156
+ function Ut(e) {
157
157
  return document.createTextNode(e);
158
158
  }
159
159
  function Nr() {
160
- return Ft(" ");
160
+ return Ut(" ");
161
161
  }
162
- function Eo(e, t, r, n) {
162
+ function _o(e, t, r, n) {
163
163
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
164
164
  }
165
165
  function $(e, t, r) {
@@ -176,7 +176,7 @@ function Rr(e, t) {
176
176
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
177
177
  t);
178
178
  }
179
- function xo(e, t, r, n) {
179
+ function Eo(e, t, r, n) {
180
180
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
181
181
  }
182
182
  function $r(e) {
@@ -188,60 +188,60 @@ function $r(e) {
188
188
  }
189
189
  ), t;
190
190
  }
191
- let ie;
192
- function ne(e) {
193
- ie = e;
191
+ let oe;
192
+ function ie(e) {
193
+ oe = e;
194
194
  }
195
195
  function Dr() {
196
- if (!ie)
196
+ if (!oe)
197
197
  throw new Error("Function called outside component initialization");
198
- return ie;
198
+ return oe;
199
199
  }
200
200
  function Ur(e) {
201
201
  Dr().$$.on_mount.push(e);
202
202
  }
203
- const W = [], $e = [];
203
+ const W = [], Me = [];
204
204
  let z = [];
205
- const ht = [], Gr = /* @__PURE__ */ Promise.resolve();
206
- let De = !1;
205
+ const ut = [], Gr = /* @__PURE__ */ Promise.resolve();
206
+ let Re = !1;
207
207
  function Fr() {
208
- De || (De = !0, Gr.then(P));
208
+ Re || (Re = !0, Gr.then(A));
209
209
  }
210
- function Ue(e) {
210
+ function $e(e) {
211
211
  z.push(e);
212
212
  }
213
- const Ae = /* @__PURE__ */ new Set();
213
+ const Be = /* @__PURE__ */ new Set();
214
214
  let V = 0;
215
- function P() {
215
+ function A() {
216
216
  if (V !== 0)
217
217
  return;
218
- const e = ie;
218
+ const e = oe;
219
219
  do {
220
220
  try {
221
221
  for (; V < W.length; ) {
222
222
  const t = W[V];
223
- V++, ne(t), jr(t.$$);
223
+ V++, ie(t), jr(t.$$);
224
224
  }
225
225
  } catch (t) {
226
226
  throw W.length = 0, V = 0, t;
227
227
  }
228
- for (ne(null), W.length = 0, V = 0; $e.length; )
229
- $e.pop()();
228
+ for (ie(null), W.length = 0, V = 0; Me.length; )
229
+ Me.pop()();
230
230
  for (let t = 0; t < z.length; t += 1) {
231
231
  const r = z[t];
232
- Ae.has(r) || (Ae.add(r), r());
232
+ Be.has(r) || (Be.add(r), r());
233
233
  }
234
234
  z.length = 0;
235
235
  } while (W.length);
236
- for (; ht.length; )
237
- ht.pop()();
238
- De = !1, Ae.clear(), ne(e);
236
+ for (; ut.length; )
237
+ ut.pop()();
238
+ Re = !1, Be.clear(), ie(e);
239
239
  }
240
240
  function jr(e) {
241
241
  if (e.fragment !== null) {
242
- e.update(), Y(e.before_update);
242
+ e.update(), K(e.before_update);
243
243
  const t = e.dirty;
244
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
244
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
245
245
  }
246
246
  }
247
247
  function kr(e) {
@@ -250,7 +250,7 @@ function kr(e) {
250
250
  }
251
251
  const de = /* @__PURE__ */ new Set();
252
252
  let G;
253
- function So() {
253
+ function xo() {
254
254
  G = {
255
255
  r: 0,
256
256
  c: [],
@@ -258,13 +258,13 @@ function So() {
258
258
  // parent group
259
259
  };
260
260
  }
261
- function wo() {
262
- G.r || Y(G.c), G = G.p;
261
+ function So() {
262
+ G.r || K(G.c), G = G.p;
263
263
  }
264
264
  function Vr(e, t) {
265
265
  e && e.i && (de.delete(e), e.i(t));
266
266
  }
267
- function To(e, t, r, n) {
267
+ function wo(e, t, r, n) {
268
268
  if (e && e.o) {
269
269
  if (de.has(e))
270
270
  return;
@@ -274,26 +274,26 @@ function To(e, t, r, n) {
274
274
  } else
275
275
  n && n();
276
276
  }
277
- function ct(e) {
277
+ function lt(e) {
278
278
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
279
279
  }
280
280
  function Xr(e, t, r) {
281
281
  const { fragment: n, after_update: i } = e.$$;
282
- n && n.m(t, r), Ue(() => {
283
- const o = e.$$.on_mount.map($t).filter(tt);
284
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
285
- }), i.forEach(Ue);
282
+ n && n.m(t, r), $e(() => {
283
+ const o = e.$$.on_mount.map(Mt).filter(qe);
284
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
285
+ }), i.forEach($e);
286
286
  }
287
287
  function Wr(e, t) {
288
288
  const r = e.$$;
289
- r.fragment !== null && (kr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
289
+ r.fragment !== null && (kr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
290
290
  }
291
291
  function zr(e, t) {
292
292
  e.$$.dirty[0] === -1 && (W.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
293
293
  }
294
294
  function Zr(e, t, r, n, i, o, a = null, s = [-1]) {
295
- const l = ie;
296
- ne(e);
295
+ const l = oe;
296
+ ie(e);
297
297
  const u = e.$$ = {
298
298
  fragment: null,
299
299
  ctx: [],
@@ -301,7 +301,7 @@ function Zr(e, t, r, n, i, o, a = null, s = [-1]) {
301
301
  props: o,
302
302
  update: B,
303
303
  not_equal: i,
304
- bound: lt(),
304
+ bound: at(),
305
305
  // lifecycle
306
306
  on_mount: [],
307
307
  on_destroy: [],
@@ -310,7 +310,7 @@ function Zr(e, t, r, n, i, o, a = null, s = [-1]) {
310
310
  after_update: [],
311
311
  context: new Map(t.context || (l ? l.$$.context : [])),
312
312
  // everything else
313
- callbacks: lt(),
313
+ callbacks: at(),
314
314
  dirty: s,
315
315
  skip_bound: !1,
316
316
  root: t.target || l.$$.root
@@ -318,20 +318,20 @@ function Zr(e, t, r, n, i, o, a = null, s = [-1]) {
318
318
  a && a(u.root);
319
319
  let h = !1;
320
320
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
321
- const v = y.length ? y[0] : c;
322
- return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), h && zr(e, f)), c;
323
- }) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
321
+ const _ = y.length ? y[0] : c;
322
+ return u.ctx && i(u.ctx[f], u.ctx[f] = _) && (!u.skip_bound && u.bound[f] && u.bound[f](_), h && zr(e, f)), c;
323
+ }) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
324
324
  if (t.hydrate) {
325
325
  const f = Mr(t.target);
326
326
  u.fragment && u.fragment.l(f), f.forEach(D);
327
327
  } else
328
328
  u.fragment && u.fragment.c();
329
- t.intro && Vr(e.$$.fragment), Xr(e, t.target, t.anchor), P();
329
+ t.intro && Vr(e.$$.fragment), Xr(e, t.target, t.anchor), A();
330
330
  }
331
- ne(l);
331
+ ie(l);
332
332
  }
333
- let jt;
334
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
333
+ let Gt;
334
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
335
335
  constructor(t, r, n) {
336
336
  super();
337
337
  /** The Svelte component constructor */
@@ -368,14 +368,14 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
368
368
  }
369
369
  }
370
370
  connectedCallback() {
371
- return ut(this, null, function* () {
371
+ return st(this, null, function* () {
372
372
  if (this.$$cn = !0, !this.$$c) {
373
373
  let t = function(o) {
374
374
  return () => {
375
375
  let a;
376
376
  return {
377
377
  c: function() {
378
- a = L("slot"), o !== "default" && $(a, "name", o);
378
+ a = C("slot"), o !== "default" && $(a, "name", o);
379
379
  },
380
380
  /**
381
381
  * @param {HTMLElement} target
@@ -403,7 +403,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
403
403
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
404
404
  this.$$c = new this.$$ctor({
405
405
  target: this.shadowRoot || this,
406
- props: at(st({}, this.$$d), {
406
+ props: ot(it({}, this.$$d), {
407
407
  $$slots: r,
408
408
  $$scope: {
409
409
  ctx: []
@@ -482,7 +482,7 @@ function pe(e, t, r, n) {
482
482
  }
483
483
  }
484
484
  function Qr(e, t, r, n, i, o) {
485
- let a = class extends jt {
485
+ let a = class extends Gt {
486
486
  constructor() {
487
487
  super(e, r, i), this.$$p_d = t;
488
488
  }
@@ -542,7 +542,7 @@ class Jr {
542
542
  * @returns {() => void}
543
543
  */
544
544
  $on(t, r) {
545
- if (!tt(r))
545
+ if (!qe(r))
546
546
  return B;
547
547
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
548
548
  return n.push(r), () => {
@@ -555,7 +555,7 @@ class Jr {
555
555
  * @returns {void}
556
556
  */
557
557
  $set(t) {
558
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
558
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
559
559
  }
560
560
  }
561
561
  const qr = "4";
@@ -574,24 +574,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
574
574
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
575
575
  PERFORMANCE OF THIS SOFTWARE.
576
576
  ***************************************************************************** */
577
- var Ge = function(e, t) {
578
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
577
+ var De = function(e, t) {
578
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
579
579
  r.__proto__ = n;
580
580
  } || function(r, n) {
581
581
  for (var i in n)
582
582
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
583
- }, Ge(e, t);
583
+ }, De(e, t);
584
584
  };
585
- function ae(e, t) {
585
+ function L(e, t) {
586
586
  if (typeof t != "function" && t !== null)
587
587
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
588
- Ge(e, t);
588
+ De(e, t);
589
589
  function r() {
590
590
  this.constructor = e;
591
591
  }
592
592
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
593
593
  }
594
- function Fe(e) {
594
+ var g = function() {
595
+ return g = Object.assign || function(t) {
596
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
597
+ r = arguments[n];
598
+ for (var o in r)
599
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
600
+ }
601
+ return t;
602
+ }, g.apply(this, arguments);
603
+ };
604
+ function Yr(e, t) {
605
+ var r = {};
606
+ for (var n in e)
607
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
608
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
609
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
610
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
611
+ return r;
612
+ }
613
+ function Ue(e) {
595
614
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
596
615
  if (r)
597
616
  return r.call(e);
@@ -603,7 +622,7 @@ function Fe(e) {
603
622
  };
604
623
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
605
624
  }
606
- function je(e, t) {
625
+ function Ge(e, t) {
607
626
  var r = typeof Symbol == "function" && e[Symbol.iterator];
608
627
  if (!r)
609
628
  return e;
@@ -623,22 +642,22 @@ function je(e, t) {
623
642
  }
624
643
  return o;
625
644
  }
626
- function ke(e, t, r) {
627
- if (arguments.length === 2)
645
+ function Z(e, t, r) {
646
+ if (r || arguments.length === 2)
628
647
  for (var n = 0, i = t.length, o; n < i; n++)
629
648
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
630
649
  return e.concat(o || t);
631
650
  }
632
- function C(e) {
651
+ function I(e) {
633
652
  return typeof e == "function";
634
653
  }
635
- function kt(e) {
654
+ function Ft(e) {
636
655
  var t = function(n) {
637
656
  Error.call(n), n.stack = new Error().stack;
638
657
  }, r = e(t);
639
658
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
640
659
  }
641
- var Oe = kt(function(e) {
660
+ var Ae = Ft(function(e) {
642
661
  return function(r) {
643
662
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
644
663
  ` + r.map(function(n, i) {
@@ -647,13 +666,13 @@ var Oe = kt(function(e) {
647
666
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
648
667
  };
649
668
  });
650
- function Ve(e, t) {
669
+ function Fe(e, t) {
651
670
  if (e) {
652
671
  var r = e.indexOf(t);
653
672
  0 <= r && e.splice(r, 1);
654
673
  }
655
674
  }
656
- var xe = function() {
675
+ var Ee = function() {
657
676
  function e(t) {
658
677
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
659
678
  }
@@ -665,12 +684,12 @@ var xe = function() {
665
684
  if (a)
666
685
  if (this._parentage = null, Array.isArray(a))
667
686
  try {
668
- for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
687
+ for (var s = Ue(a), l = s.next(); !l.done; l = s.next()) {
669
688
  var u = l.value;
670
689
  u.remove(this);
671
690
  }
672
- } catch (g) {
673
- t = { error: g };
691
+ } catch (v) {
692
+ t = { error: v };
674
693
  } finally {
675
694
  try {
676
695
  l && !l.done && (r = s.return) && r.call(s);
@@ -682,26 +701,26 @@ var xe = function() {
682
701
  else
683
702
  a.remove(this);
684
703
  var h = this.initialTeardown;
685
- if (C(h))
704
+ if (I(h))
686
705
  try {
687
706
  h();
688
- } catch (g) {
689
- o = g instanceof Oe ? g.errors : [g];
707
+ } catch (v) {
708
+ o = v instanceof Ae ? v.errors : [v];
690
709
  }
691
710
  var f = this._finalizers;
692
711
  if (f) {
693
712
  this._finalizers = null;
694
713
  try {
695
- for (var c = Fe(f), y = c.next(); !y.done; y = c.next()) {
696
- var v = y.value;
714
+ for (var c = Ue(f), y = c.next(); !y.done; y = c.next()) {
715
+ var _ = y.value;
697
716
  try {
698
- ft(v);
699
- } catch (g) {
700
- o = o != null ? o : [], g instanceof Oe ? o = ke(ke([], je(o)), je(g.errors)) : o.push(g);
717
+ ht(_);
718
+ } catch (v) {
719
+ o = o != null ? o : [], v instanceof Ae ? o = Z(Z([], Ge(o)), Ge(v.errors)) : o.push(v);
701
720
  }
702
721
  }
703
- } catch (g) {
704
- n = { error: g };
722
+ } catch (v) {
723
+ n = { error: v };
705
724
  } finally {
706
725
  try {
707
726
  y && !y.done && (i = c.return) && i.call(c);
@@ -712,13 +731,13 @@ var xe = function() {
712
731
  }
713
732
  }
714
733
  if (o)
715
- throw new Oe(o);
734
+ throw new Ae(o);
716
735
  }
717
736
  }, e.prototype.add = function(t) {
718
737
  var r;
719
738
  if (t && t !== this)
720
739
  if (this.closed)
721
- ft(t);
740
+ ht(t);
722
741
  else {
723
742
  if (t instanceof e) {
724
743
  if (t.closed || t._hasParent(this))
@@ -735,28 +754,32 @@ var xe = function() {
735
754
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
736
755
  }, e.prototype._removeParent = function(t) {
737
756
  var r = this._parentage;
738
- r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
757
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
739
758
  }, e.prototype.remove = function(t) {
740
759
  var r = this._finalizers;
741
- r && Ve(r, t), t instanceof e && t._removeParent(this);
760
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
742
761
  }, e.EMPTY = function() {
743
762
  var t = new e();
744
763
  return t.closed = !0, t;
745
764
  }(), e;
746
- }(), Vt = xe.EMPTY;
747
- function Xt(e) {
748
- return e instanceof xe || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
765
+ }(), jt = Ee.EMPTY;
766
+ function kt(e) {
767
+ return e instanceof Ee || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
749
768
  }
750
- function ft(e) {
751
- C(e) ? e() : e.unsubscribe();
769
+ function ht(e) {
770
+ I(e) ? e() : e.unsubscribe();
752
771
  }
753
- var Yr = {
754
- Promise: void 0
772
+ var Vt = {
773
+ onUnhandledError: null,
774
+ onStoppedNotification: null,
775
+ Promise: void 0,
776
+ useDeprecatedSynchronousErrorHandling: !1,
777
+ useDeprecatedNextContext: !1
755
778
  }, Kr = {
756
779
  setTimeout: function(e, t) {
757
780
  for (var r = [], n = 2; n < arguments.length; n++)
758
781
  r[n - 2] = arguments[n];
759
- return setTimeout.apply(void 0, ke([e, t], je(r)));
782
+ return setTimeout.apply(void 0, Z([e, t], Ge(r)));
760
783
  },
761
784
  clearTimeout: function(e) {
762
785
  return clearTimeout(e);
@@ -768,19 +791,19 @@ function en(e) {
768
791
  throw e;
769
792
  });
770
793
  }
771
- function dt() {
794
+ function ct() {
772
795
  }
773
796
  function me(e) {
774
797
  e();
775
798
  }
776
- var Wt = function(e) {
777
- ae(t, e);
799
+ var Xt = function(e) {
800
+ L(t, e);
778
801
  function t(r) {
779
802
  var n = e.call(this) || this;
780
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = nn, n;
803
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = on, n;
781
804
  }
782
805
  return t.create = function(r, n, i) {
783
- return new Xe(r, n, i);
806
+ return new je(r, n, i);
784
807
  }, t.prototype.next = function(r) {
785
808
  this.isStopped || this._next(r);
786
809
  }, t.prototype.error = function(r) {
@@ -804,7 +827,11 @@ var Wt = function(e) {
804
827
  this.unsubscribe();
805
828
  }
806
829
  }, t;
807
- }(xe), tn = function() {
830
+ }(Ee), tn = Function.prototype.bind;
831
+ function Pe(e, t) {
832
+ return tn.call(e, t);
833
+ }
834
+ var rn = function() {
808
835
  function e(t) {
809
836
  this.partialObserver = t;
810
837
  }
@@ -835,43 +862,55 @@ var Wt = function(e) {
835
862
  ce(r);
836
863
  }
837
864
  }, e;
838
- }(), Xe = function(e) {
839
- ae(t, e);
865
+ }(), je = function(e) {
866
+ L(t, e);
840
867
  function t(r, n, i) {
841
868
  var o = e.call(this) || this, a;
842
- return C(r) || !r ? a = {
843
- next: r != null ? r : void 0,
844
- error: n != null ? n : void 0,
845
- complete: i != null ? i : void 0
846
- } : a = r, o.destination = new tn(a), o;
869
+ if (I(r) || !r)
870
+ a = {
871
+ next: r != null ? r : void 0,
872
+ error: n != null ? n : void 0,
873
+ complete: i != null ? i : void 0
874
+ };
875
+ else {
876
+ var s;
877
+ o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
878
+ return o.unsubscribe();
879
+ }, a = {
880
+ next: r.next && Pe(r.next, s),
881
+ error: r.error && Pe(r.error, s),
882
+ complete: r.complete && Pe(r.complete, s)
883
+ }) : a = r;
884
+ }
885
+ return o.destination = new rn(a), o;
847
886
  }
848
887
  return t;
849
- }(Wt);
888
+ }(Xt);
850
889
  function ce(e) {
851
890
  en(e);
852
891
  }
853
- function rn(e) {
892
+ function nn(e) {
854
893
  throw e;
855
894
  }
856
- var nn = {
895
+ var on = {
857
896
  closed: !0,
858
- next: dt,
859
- error: rn,
860
- complete: dt
861
- }, on = function() {
897
+ next: ct,
898
+ error: nn,
899
+ complete: ct
900
+ }, sn = function() {
862
901
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
863
902
  }();
864
- function sn(e) {
903
+ function an(e) {
865
904
  return e;
866
905
  }
867
- function an(e) {
868
- return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
906
+ function un(e) {
907
+ return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
869
908
  return e.reduce(function(n, i) {
870
909
  return i(n);
871
910
  }, r);
872
911
  };
873
912
  }
874
- var pt = function() {
913
+ var ft = function() {
875
914
  function e(t) {
876
915
  t && (this._subscribe = t);
877
916
  }
@@ -879,7 +918,7 @@ var pt = function() {
879
918
  var r = new e();
880
919
  return r.source = this, r.operator = t, r;
881
920
  }, e.prototype.subscribe = function(t, r, n) {
882
- var i = this, o = ln(t) ? t : new Xe(t, r, n);
921
+ var i = this, o = hn(t) ? t : new je(t, r, n);
883
922
  return me(function() {
884
923
  var a = i, s = a.operator, l = a.source;
885
924
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -892,8 +931,8 @@ var pt = function() {
892
931
  }
893
932
  }, e.prototype.forEach = function(t, r) {
894
933
  var n = this;
895
- return r = mt(r), new r(function(i, o) {
896
- var a = new Xe({
934
+ return r = dt(r), new r(function(i, o) {
935
+ var a = new je({
897
936
  next: function(s) {
898
937
  try {
899
938
  t(s);
@@ -909,15 +948,15 @@ var pt = function() {
909
948
  }, e.prototype._subscribe = function(t) {
910
949
  var r;
911
950
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
912
- }, e.prototype[on] = function() {
951
+ }, e.prototype[sn] = function() {
913
952
  return this;
914
953
  }, e.prototype.pipe = function() {
915
954
  for (var t = [], r = 0; r < arguments.length; r++)
916
955
  t[r] = arguments[r];
917
- return an(t)(this);
956
+ return un(t)(this);
918
957
  }, e.prototype.toPromise = function(t) {
919
958
  var r = this;
920
- return t = mt(t), new t(function(n, i) {
959
+ return t = dt(t), new t(function(n, i) {
921
960
  var o;
922
961
  r.subscribe(function(a) {
923
962
  return o = a;
@@ -931,32 +970,32 @@ var pt = function() {
931
970
  return new e(t);
932
971
  }, e;
933
972
  }();
934
- function mt(e) {
973
+ function dt(e) {
935
974
  var t;
936
- return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
937
- }
938
- function un(e) {
939
- return e && C(e.next) && C(e.error) && C(e.complete);
975
+ return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
940
976
  }
941
977
  function ln(e) {
942
- return e && e instanceof Wt || un(e) && Xt(e);
978
+ return e && I(e.next) && I(e.error) && I(e.complete);
943
979
  }
944
- var hn = kt(function(e) {
980
+ function hn(e) {
981
+ return e && e instanceof Xt || ln(e) && kt(e);
982
+ }
983
+ var cn = Ft(function(e) {
945
984
  return function() {
946
985
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
947
986
  };
948
- }), zt = function(e) {
949
- ae(t, e);
987
+ }), Wt = function(e) {
988
+ L(t, e);
950
989
  function t() {
951
990
  var r = e.call(this) || this;
952
991
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
953
992
  }
954
993
  return t.prototype.lift = function(r) {
955
- var n = new bt(this, this);
994
+ var n = new pt(this, this);
956
995
  return n.operator = r, n;
957
996
  }, t.prototype._throwIfClosed = function() {
958
997
  if (this.closed)
959
- throw new hn();
998
+ throw new cn();
960
999
  }, t.prototype.next = function(r) {
961
1000
  var n = this;
962
1001
  me(function() {
@@ -964,7 +1003,7 @@ var hn = kt(function(e) {
964
1003
  if (n._throwIfClosed(), !n.isStopped) {
965
1004
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
966
1005
  try {
967
- for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1006
+ for (var a = Ue(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
968
1007
  var l = s.value;
969
1008
  l.next(r);
970
1009
  }
@@ -1013,20 +1052,20 @@ var hn = kt(function(e) {
1013
1052
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1014
1053
  }, t.prototype._innerSubscribe = function(r) {
1015
1054
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1016
- return o || a ? Vt : (this.currentObservers = null, s.push(r), new xe(function() {
1017
- n.currentObservers = null, Ve(s, r);
1055
+ return o || a ? jt : (this.currentObservers = null, s.push(r), new Ee(function() {
1056
+ n.currentObservers = null, Fe(s, r);
1018
1057
  }));
1019
1058
  }, t.prototype._checkFinalizedStatuses = function(r) {
1020
1059
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1021
1060
  i ? r.error(o) : a && r.complete();
1022
1061
  }, t.prototype.asObservable = function() {
1023
- var r = new pt();
1062
+ var r = new ft();
1024
1063
  return r.source = this, r;
1025
1064
  }, t.create = function(r, n) {
1026
- return new bt(r, n);
1065
+ return new pt(r, n);
1027
1066
  }, t;
1028
- }(pt), bt = function(e) {
1029
- ae(t, e);
1067
+ }(ft), pt = function(e) {
1068
+ L(t, e);
1030
1069
  function t(r, n) {
1031
1070
  var i = e.call(this) || this;
1032
1071
  return i.destination = r, i.source = n, i;
@@ -1042,17 +1081,17 @@ var hn = kt(function(e) {
1042
1081
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1043
1082
  }, t.prototype._subscribe = function(r) {
1044
1083
  var n, i;
1045
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1084
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1046
1085
  }, t;
1047
- }(zt), Zt = {
1086
+ }(Wt), zt = {
1048
1087
  now: function() {
1049
- return (Zt.delegate || Date).now();
1088
+ return (zt.delegate || Date).now();
1050
1089
  },
1051
1090
  delegate: void 0
1052
- }, cn = function(e) {
1053
- ae(t, e);
1091
+ }, fn = function(e) {
1092
+ L(t, e);
1054
1093
  function t(r, n, i) {
1055
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1094
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1056
1095
  var o = e.call(this) || this;
1057
1096
  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;
1058
1097
  }
@@ -1072,24 +1111,24 @@ var hn = kt(function(e) {
1072
1111
  u && o.splice(0, u + 1);
1073
1112
  }
1074
1113
  }, t;
1075
- }(zt);
1076
- const yt = [], gt = {}, fn = (e, t = 0) => {
1077
- if (yt.indexOf(e) == -1) {
1078
- const r = new cn(t);
1079
- gt[e] = r, yt.push(e);
1114
+ }(Wt);
1115
+ const mt = [], bt = {}, dn = (e, t = 0) => {
1116
+ if (mt.indexOf(e) == -1) {
1117
+ const r = new fn(t);
1118
+ bt[e] = r, mt.push(e);
1080
1119
  }
1081
- return gt[e];
1120
+ return bt[e];
1082
1121
  }, X = [];
1083
- function dn(e, t) {
1122
+ function pn(e, t) {
1084
1123
  return {
1085
- subscribe: Se(e, t).subscribe
1124
+ subscribe: xe(e, t).subscribe
1086
1125
  };
1087
1126
  }
1088
- function Se(e, t = B) {
1127
+ function xe(e, t = B) {
1089
1128
  let r;
1090
1129
  const n = /* @__PURE__ */ new Set();
1091
1130
  function i(s) {
1092
- if (Dt(e, s) && (e = s, r)) {
1131
+ if (Rt(e, s) && (e = s, r)) {
1093
1132
  const l = !X.length;
1094
1133
  for (const u of n)
1095
1134
  u[1](), X.push(u, e);
@@ -1111,12 +1150,12 @@ function Se(e, t = B) {
1111
1150
  }
1112
1151
  return { set: i, update: o, subscribe: a };
1113
1152
  }
1114
- function K(e, t, r) {
1153
+ function ee(e, t, r) {
1115
1154
  const n = !Array.isArray(e), i = n ? [e] : e;
1116
1155
  if (!i.every(Boolean))
1117
1156
  throw new Error("derived() expects stores as input, got a falsy value");
1118
1157
  const o = t.length < 2;
1119
- return dn(r, (a, s) => {
1158
+ return pn(r, (a, s) => {
1120
1159
  let l = !1;
1121
1160
  const u = [];
1122
1161
  let h = 0, f = B;
@@ -1124,142 +1163,100 @@ function K(e, t, r) {
1124
1163
  if (h)
1125
1164
  return;
1126
1165
  f();
1127
- const v = t(n ? u[0] : u, a, s);
1128
- o ? a(v) : f = tt(v) ? v : B;
1166
+ const _ = t(n ? u[0] : u, a, s);
1167
+ o ? a(_) : f = qe(_) ? _ : B;
1129
1168
  }, y = i.map(
1130
- (v, g) => Ut(
1131
- v,
1169
+ (_, v) => $t(
1170
+ _,
1132
1171
  (T) => {
1133
- u[g] = T, h &= ~(1 << g), l && c();
1172
+ u[v] = T, h &= ~(1 << v), l && c();
1134
1173
  },
1135
1174
  () => {
1136
- h |= 1 << g;
1175
+ h |= 1 << v;
1137
1176
  }
1138
1177
  )
1139
1178
  );
1140
1179
  return l = !0, c(), function() {
1141
- Y(y), f(), l = !1;
1180
+ K(y), f(), l = !1;
1142
1181
  };
1143
1182
  });
1144
1183
  }
1145
- function pn(e) {
1184
+ function mn(e) {
1146
1185
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1147
1186
  }
1148
- var mn = function(t) {
1149
- return bn(t) && !yn(t);
1187
+ var bn = function(t) {
1188
+ return yn(t) && !gn(t);
1150
1189
  };
1151
- function bn(e) {
1190
+ function yn(e) {
1152
1191
  return !!e && typeof e == "object";
1153
1192
  }
1154
- function yn(e) {
1193
+ function gn(e) {
1155
1194
  var t = Object.prototype.toString.call(e);
1156
- return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1157
- }
1158
- var gn = typeof Symbol == "function" && Symbol.for, vn = gn ? Symbol.for("react.element") : 60103;
1159
- function _n(e) {
1160
- return e.$$typeof === vn;
1195
+ return t === "[object RegExp]" || t === "[object Date]" || En(e);
1161
1196
  }
1197
+ var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
1162
1198
  function En(e) {
1199
+ return e.$$typeof === _n;
1200
+ }
1201
+ function xn(e) {
1163
1202
  return Array.isArray(e) ? [] : {};
1164
1203
  }
1165
- function oe(e, t) {
1166
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(En(e), e, t) : e;
1204
+ function se(e, t) {
1205
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(xn(e), e, t) : e;
1167
1206
  }
1168
- function xn(e, t, r) {
1207
+ function Sn(e, t, r) {
1169
1208
  return e.concat(t).map(function(n) {
1170
- return oe(n, r);
1209
+ return se(n, r);
1171
1210
  });
1172
1211
  }
1173
- function Sn(e, t) {
1212
+ function wn(e, t) {
1174
1213
  if (!t.customMerge)
1175
- return Z;
1214
+ return Q;
1176
1215
  var r = t.customMerge(e);
1177
- return typeof r == "function" ? r : Z;
1216
+ return typeof r == "function" ? r : Q;
1178
1217
  }
1179
- function wn(e) {
1218
+ function Tn(e) {
1180
1219
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1181
1220
  return Object.propertyIsEnumerable.call(e, t);
1182
1221
  }) : [];
1183
1222
  }
1184
- function vt(e) {
1185
- return Object.keys(e).concat(wn(e));
1223
+ function yt(e) {
1224
+ return Object.keys(e).concat(Tn(e));
1186
1225
  }
1187
- function Qt(e, t) {
1226
+ function Zt(e, t) {
1188
1227
  try {
1189
1228
  return t in e;
1190
1229
  } catch (r) {
1191
1230
  return !1;
1192
1231
  }
1193
1232
  }
1194
- function Tn(e, t) {
1195
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1233
+ function Hn(e, t) {
1234
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1196
1235
  }
1197
- function Hn(e, t, r) {
1236
+ function Bn(e, t, r) {
1198
1237
  var n = {};
1199
- return r.isMergeableObject(e) && vt(e).forEach(function(i) {
1200
- n[i] = oe(e[i], r);
1201
- }), vt(t).forEach(function(i) {
1202
- Tn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1238
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1239
+ n[i] = se(e[i], r);
1240
+ }), yt(t).forEach(function(i) {
1241
+ Hn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1203
1242
  }), n;
1204
1243
  }
1205
- function Z(e, t, r) {
1206
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = oe;
1244
+ function Q(e, t, r) {
1245
+ r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = se;
1207
1246
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1208
- return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : oe(t, r);
1247
+ return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : se(t, r);
1209
1248
  }
1210
- Z.all = function(t, r) {
1249
+ Q.all = function(t, r) {
1211
1250
  if (!Array.isArray(t))
1212
1251
  throw new Error("first argument should be an array");
1213
1252
  return t.reduce(function(n, i) {
1214
- return Z(n, i, r);
1253
+ return Q(n, i, r);
1215
1254
  }, {});
1216
1255
  };
1217
- var Bn = Z, Pn = Bn;
1218
- const An = /* @__PURE__ */ pn(Pn);
1219
- var We = function(e, t) {
1220
- return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1221
- r.__proto__ = n;
1222
- } || function(r, n) {
1223
- for (var i in n)
1224
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1225
- }, We(e, t);
1226
- };
1227
- function we(e, t) {
1228
- if (typeof t != "function" && t !== null)
1229
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1230
- We(e, t);
1231
- function r() {
1232
- this.constructor = e;
1233
- }
1234
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1235
- }
1236
- var A = function() {
1237
- return A = Object.assign || function(t) {
1238
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1239
- r = arguments[n];
1240
- for (var o in r)
1241
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1242
- }
1243
- return t;
1244
- }, A.apply(this, arguments);
1245
- };
1246
- function On(e, t) {
1247
- var r = {};
1248
- for (var n in e)
1249
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1250
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1251
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1252
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1253
- return r;
1254
- }
1255
- function Ie(e, t, r) {
1256
- if (r || arguments.length === 2)
1257
- for (var n = 0, i = t.length, o; n < i; n++)
1258
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1259
- return e.concat(o || Array.prototype.slice.call(t));
1260
- }
1261
- function Ce(e, t) {
1262
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Ln;
1256
+ var An = Q, Pn = An;
1257
+ const On = /* @__PURE__ */ mn(Pn);
1258
+ function Oe(e, t) {
1259
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Cn;
1263
1260
  return i(e, {
1264
1261
  cache: r,
1265
1262
  serializer: n
@@ -1268,7 +1265,7 @@ function Ce(e, t) {
1268
1265
  function In(e) {
1269
1266
  return e == null || typeof e == "number" || typeof e == "boolean";
1270
1267
  }
1271
- function Cn(e, t, r, n) {
1268
+ function Qt(e, t, r, n) {
1272
1269
  var i = In(n) ? n : r(n), o = t.get(i);
1273
1270
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1274
1271
  }
@@ -1276,95 +1273,87 @@ function Jt(e, t, r) {
1276
1273
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1277
1274
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1278
1275
  }
1279
- function qt(e, t, r, n, i) {
1276
+ function Ye(e, t, r, n, i) {
1280
1277
  return r.bind(t, e, n, i);
1281
1278
  }
1279
+ function Cn(e, t) {
1280
+ var r = e.length === 1 ? Qt : Jt;
1281
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1282
+ }
1282
1283
  function Ln(e, t) {
1283
- var r = e.length === 1 ? Cn : Jt;
1284
- return qt(e, this, r, t.cache.create(), t.serializer);
1284
+ return Ye(e, this, Jt, t.cache.create(), t.serializer);
1285
1285
  }
1286
1286
  function Nn(e, t) {
1287
- return qt(e, this, Jt, t.cache.create(), t.serializer);
1287
+ return Ye(e, this, Qt, t.cache.create(), t.serializer);
1288
1288
  }
1289
1289
  var Mn = function() {
1290
1290
  return JSON.stringify(arguments);
1291
- }, Rn = (
1292
- /** @class */
1293
- function() {
1294
- function e() {
1295
- this.cache = /* @__PURE__ */ Object.create(null);
1296
- }
1297
- return e.prototype.get = function(t) {
1298
- return this.cache[t];
1299
- }, e.prototype.set = function(t, r) {
1300
- this.cache[t] = r;
1301
- }, e;
1302
- }()
1303
- ), $n = {
1291
+ };
1292
+ function Ke() {
1293
+ this.cache = /* @__PURE__ */ Object.create(null);
1294
+ }
1295
+ Ke.prototype.get = function(e) {
1296
+ return this.cache[e];
1297
+ };
1298
+ Ke.prototype.set = function(e, t) {
1299
+ this.cache[e] = t;
1300
+ };
1301
+ var Rn = {
1304
1302
  create: function() {
1305
- return new Rn();
1303
+ return new Ke();
1306
1304
  }
1307
- }, Le = {
1308
- variadic: Nn
1309
- }, ge = function() {
1310
- return ge = Object.assign || function(t) {
1311
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1312
- r = arguments[n];
1313
- for (var o in r)
1314
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1315
- }
1316
- return t;
1317
- }, ge.apply(this, arguments);
1318
- };
1319
- var m;
1305
+ }, Ie = {
1306
+ variadic: Ln,
1307
+ monadic: Nn
1308
+ }, m;
1320
1309
  (function(e) {
1321
1310
  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";
1322
1311
  })(m || (m = {}));
1323
- var _;
1312
+ var E;
1324
1313
  (function(e) {
1325
1314
  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";
1326
- })(_ || (_ = {}));
1327
- var Q;
1315
+ })(E || (E = {}));
1316
+ var J;
1328
1317
  (function(e) {
1329
1318
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1330
- })(Q || (Q = {}));
1331
- function _t(e) {
1332
- return e.type === _.literal;
1319
+ })(J || (J = {}));
1320
+ function gt(e) {
1321
+ return e.type === E.literal;
1333
1322
  }
1334
- function Dn(e) {
1335
- return e.type === _.argument;
1323
+ function $n(e) {
1324
+ return e.type === E.argument;
1325
+ }
1326
+ function qt(e) {
1327
+ return e.type === E.number;
1336
1328
  }
1337
1329
  function Yt(e) {
1338
- return e.type === _.number;
1330
+ return e.type === E.date;
1339
1331
  }
1340
1332
  function Kt(e) {
1341
- return e.type === _.date;
1333
+ return e.type === E.time;
1342
1334
  }
1343
1335
  function er(e) {
1344
- return e.type === _.time;
1336
+ return e.type === E.select;
1345
1337
  }
1346
1338
  function tr(e) {
1347
- return e.type === _.select;
1339
+ return e.type === E.plural;
1348
1340
  }
1349
- function rr(e) {
1350
- return e.type === _.plural;
1341
+ function Dn(e) {
1342
+ return e.type === E.pound;
1351
1343
  }
1352
- function Un(e) {
1353
- return e.type === _.pound;
1344
+ function rr(e) {
1345
+ return e.type === E.tag;
1354
1346
  }
1355
1347
  function nr(e) {
1356
- return e.type === _.tag;
1357
- }
1358
- function ir(e) {
1359
- return !!(e && typeof e == "object" && e.type === Q.number);
1348
+ return !!(e && typeof e == "object" && e.type === J.number);
1360
1349
  }
1361
- function ze(e) {
1362
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1350
+ function ke(e) {
1351
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1363
1352
  }
1364
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
1365
- function Fn(e) {
1353
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1354
+ function Gn(e) {
1366
1355
  var t = {};
1367
- return e.replace(Gn, function(r) {
1356
+ return e.replace(Un, function(r) {
1368
1357
  var n = r.length;
1369
1358
  switch (r[0]) {
1370
1359
  case "G":
@@ -1453,21 +1442,11 @@ function Fn(e) {
1453
1442
  return "";
1454
1443
  }), t;
1455
1444
  }
1456
- var E = function() {
1457
- return E = Object.assign || function(t) {
1458
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1459
- r = arguments[n];
1460
- for (var o in r)
1461
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1462
- }
1463
- return t;
1464
- }, E.apply(this, arguments);
1465
- };
1466
- var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1467
- function kn(e) {
1445
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1446
+ function jn(e) {
1468
1447
  if (e.length === 0)
1469
1448
  throw new Error("Number skeleton cannot be empty");
1470
- for (var t = e.split(jn).filter(function(c) {
1449
+ for (var t = e.split(Fn).filter(function(c) {
1471
1450
  return c.length > 0;
1472
1451
  }), r = [], n = 0, i = t; n < i.length; n++) {
1473
1452
  var o = i[n], a = o.split("/");
@@ -1482,17 +1461,17 @@ function kn(e) {
1482
1461
  }
1483
1462
  return r;
1484
1463
  }
1485
- function Vn(e) {
1464
+ function kn(e) {
1486
1465
  return e.replace(/^(.*?)-/, "");
1487
1466
  }
1488
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1489
- function xt(e) {
1467
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1468
+ function _t(e) {
1490
1469
  var t = {};
1491
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1470
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1492
1471
  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)), "";
1493
1472
  }), t;
1494
1473
  }
1495
- function ur(e) {
1474
+ function ar(e) {
1496
1475
  switch (e) {
1497
1476
  case "sign-auto":
1498
1477
  return {
@@ -1532,7 +1511,7 @@ function ur(e) {
1532
1511
  };
1533
1512
  }
1534
1513
  }
1535
- function Wn(e) {
1514
+ function Xn(e) {
1536
1515
  var t;
1537
1516
  if (e[0] === "E" && e[1] === "E" ? (t = {
1538
1517
  notation: "engineering"
@@ -1540,17 +1519,17 @@ function Wn(e) {
1540
1519
  notation: "scientific"
1541
1520
  }, e = e.slice(1)), t) {
1542
1521
  var r = e.slice(0, 2);
1543
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1522
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1544
1523
  throw new Error("Malformed concise eng/scientific notation");
1545
1524
  t.minimumIntegerDigits = e.length;
1546
1525
  }
1547
1526
  return t;
1548
1527
  }
1549
- function St(e) {
1550
- var t = {}, r = ur(e);
1528
+ function Et(e) {
1529
+ var t = {}, r = ar(e);
1551
1530
  return r || t;
1552
1531
  }
1553
- function zn(e) {
1532
+ function Wn(e) {
1554
1533
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1555
1534
  var i = n[r];
1556
1535
  switch (i.stem) {
@@ -1574,7 +1553,7 @@ function zn(e) {
1574
1553
  continue;
1575
1554
  case "measure-unit":
1576
1555
  case "unit":
1577
- t.style = "unit", t.unit = Vn(i.options[0]);
1556
+ t.style = "unit", t.unit = kn(i.options[0]);
1578
1557
  continue;
1579
1558
  case "compact-short":
1580
1559
  case "K":
@@ -1585,13 +1564,13 @@ function zn(e) {
1585
1564
  t.notation = "compact", t.compactDisplay = "long";
1586
1565
  continue;
1587
1566
  case "scientific":
1588
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1589
- return E(E({}, l), St(u));
1567
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1568
+ return g(g({}, l), Et(u));
1590
1569
  }, {}));
1591
1570
  continue;
1592
1571
  case "engineering":
1593
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1594
- return E(E({}, l), St(u));
1572
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1573
+ return g(g({}, l), Et(u));
1595
1574
  }, {}));
1596
1575
  continue;
1597
1576
  case "notation-simple":
@@ -1636,7 +1615,7 @@ function zn(e) {
1636
1615
  case "integer-width":
1637
1616
  if (i.options.length > 1)
1638
1617
  throw new RangeError("integer-width stems only accept a single optional option");
1639
- i.options[0].replace(Xn, function(l, u, h, f, c, y) {
1618
+ i.options[0].replace(Vn, function(l, u, h, f, c, y) {
1640
1619
  if (u)
1641
1620
  t.minimumIntegerDigits = h.length;
1642
1621
  else {
@@ -1649,28 +1628,28 @@ function zn(e) {
1649
1628
  });
1650
1629
  continue;
1651
1630
  }
1652
- if (ar.test(i.stem)) {
1631
+ if (sr.test(i.stem)) {
1653
1632
  t.minimumIntegerDigits = i.stem.length;
1654
1633
  continue;
1655
1634
  }
1656
- if (Et.test(i.stem)) {
1635
+ if (vt.test(i.stem)) {
1657
1636
  if (i.options.length > 1)
1658
1637
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1659
- i.stem.replace(Et, function(l, u, h, f, c, y) {
1638
+ i.stem.replace(vt, function(l, u, h, f, c, y) {
1660
1639
  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), "";
1661
1640
  });
1662
1641
  var o = i.options[0];
1663
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), xt(o)));
1642
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), _t(o)));
1664
1643
  continue;
1665
1644
  }
1666
- if (sr.test(i.stem)) {
1667
- t = E(E({}, t), xt(i.stem));
1645
+ if (or.test(i.stem)) {
1646
+ t = g(g({}, t), _t(i.stem));
1668
1647
  continue;
1669
1648
  }
1670
- var a = ur(i.stem);
1671
- a && (t = E(E({}, t), a));
1672
- var s = Wn(i.stem);
1673
- s && (t = E(E({}, t), s));
1649
+ var a = ar(i.stem);
1650
+ a && (t = g(g({}, t), a));
1651
+ var s = Xn(i.stem);
1652
+ s && (t = g(g({}, t), s));
1674
1653
  }
1675
1654
  return t;
1676
1655
  }
@@ -3089,13 +3068,13 @@ var fe = {
3089
3068
  "h"
3090
3069
  ]
3091
3070
  };
3092
- function Zn(e, t) {
3071
+ function zn(e, t) {
3093
3072
  for (var r = "", n = 0; n < e.length; n++) {
3094
3073
  var i = e.charAt(n);
3095
3074
  if (i === "j") {
3096
3075
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3097
3076
  o++, n++;
3098
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
3077
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
3099
3078
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3100
3079
  r += l;
3101
3080
  for (; a-- > 0; )
@@ -3105,7 +3084,7 @@ function Zn(e, t) {
3105
3084
  }
3106
3085
  return r;
3107
3086
  }
3108
- function Qn(e) {
3087
+ function Zn(e) {
3109
3088
  var t = e.hourCycle;
3110
3089
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3111
3090
  e.hourCycles && // @ts-ignore
@@ -3127,20 +3106,20 @@ function Qn(e) {
3127
3106
  var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3128
3107
  return i[0];
3129
3108
  }
3130
- var Ne, Jn = new RegExp("^".concat(or.source, "*")), qn = new RegExp("".concat(or.source, "*$"));
3109
+ var Ce, Qn = new RegExp("^".concat(ir.source, "*")), Jn = new RegExp("".concat(ir.source, "*$"));
3131
3110
  function b(e, t) {
3132
3111
  return { start: e, end: t };
3133
3112
  }
3134
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3113
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3135
3114
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3136
- }, Ze = !0;
3115
+ }, Ve = !0;
3137
3116
  try {
3138
- var si = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3139
- Ze = ((Ne = si.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3117
+ var oi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3118
+ Ve = ((Ce = oi.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3140
3119
  } catch (e) {
3141
- Ze = !1;
3120
+ Ve = !1;
3142
3121
  }
3143
- var wt = Yn ? (
3122
+ var xt = qn ? (
3144
3123
  // Native
3145
3124
  function(t, r, n) {
3146
3125
  return t.startsWith(r, n);
@@ -3150,7 +3129,7 @@ var wt = Yn ? (
3150
3129
  function(t, r, n) {
3151
3130
  return t.slice(n, n + r.length) === r;
3152
3131
  }
3153
- ), Qe = Kn ? String.fromCodePoint : (
3132
+ ), Xe = Yn ? String.fromCodePoint : (
3154
3133
  // IE11
3155
3134
  function() {
3156
3135
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3162,9 +3141,9 @@ var wt = Yn ? (
3162
3141
  }
3163
3142
  return n;
3164
3143
  }
3165
- ), Tt = (
3144
+ ), St = (
3166
3145
  // native
3167
- ei ? Object.fromEntries : (
3146
+ Kn ? Object.fromEntries : (
3168
3147
  // Ponyfill
3169
3148
  function(t) {
3170
3149
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3174,7 +3153,7 @@ var wt = Yn ? (
3174
3153
  return r;
3175
3154
  }
3176
3155
  )
3177
- ), lr = ti ? (
3156
+ ), ur = ei ? (
3178
3157
  // Native
3179
3158
  function(t, r) {
3180
3159
  return t.codePointAt(r);
@@ -3188,7 +3167,7 @@ var wt = Yn ? (
3188
3167
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3189
3168
  }
3190
3169
  }
3191
- ), ai = ri ? (
3170
+ ), si = ti ? (
3192
3171
  // Native
3193
3172
  function(t) {
3194
3173
  return t.trimStart();
@@ -3196,9 +3175,9 @@ var wt = Yn ? (
3196
3175
  ) : (
3197
3176
  // Ponyfill
3198
3177
  function(t) {
3199
- return t.replace(Jn, "");
3178
+ return t.replace(Qn, "");
3200
3179
  }
3201
- ), ui = ni ? (
3180
+ ), ai = ri ? (
3202
3181
  // Native
3203
3182
  function(t) {
3204
3183
  return t.trimEnd();
@@ -3206,32 +3185,32 @@ var wt = Yn ? (
3206
3185
  ) : (
3207
3186
  // Ponyfill
3208
3187
  function(t) {
3209
- return t.replace(qn, "");
3188
+ return t.replace(Jn, "");
3210
3189
  }
3211
3190
  );
3212
- function hr(e, t) {
3191
+ function lr(e, t) {
3213
3192
  return new RegExp(e, t);
3214
3193
  }
3215
- var Je;
3216
- if (Ze) {
3217
- var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3218
- Je = function(t, r) {
3194
+ var We;
3195
+ if (Ve) {
3196
+ var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3197
+ We = function(t, r) {
3219
3198
  var n;
3220
- Ht.lastIndex = r;
3221
- var i = Ht.exec(t);
3199
+ wt.lastIndex = r;
3200
+ var i = wt.exec(t);
3222
3201
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3223
3202
  };
3224
3203
  } else
3225
- Je = function(t, r) {
3204
+ We = function(t, r) {
3226
3205
  for (var n = []; ; ) {
3227
- var i = lr(t, r);
3228
- if (i === void 0 || cr(i) || fi(i))
3206
+ var i = ur(t, r);
3207
+ if (i === void 0 || hr(i) || ci(i))
3229
3208
  break;
3230
3209
  n.push(i), r += i >= 65536 ? 2 : 1;
3231
3210
  }
3232
- return Qe.apply(void 0, n);
3211
+ return Xe.apply(void 0, n);
3233
3212
  };
3234
- var li = (
3213
+ var ui = (
3235
3214
  /** @class */
3236
3215
  function() {
3237
3216
  function e(t, r) {
@@ -3255,14 +3234,14 @@ var li = (
3255
3234
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3256
3235
  var s = this.clonePosition();
3257
3236
  this.bump(), i.push({
3258
- type: _.pound,
3237
+ type: E.pound,
3259
3238
  location: b(s, this.clonePosition())
3260
3239
  });
3261
3240
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3262
3241
  if (n)
3263
3242
  break;
3264
3243
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3265
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3244
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3266
3245
  var a = this.parseTag(t, r);
3267
3246
  if (a.err)
3268
3247
  return a;
@@ -3283,7 +3262,7 @@ var li = (
3283
3262
  if (this.bumpSpace(), this.bumpIf("/>"))
3284
3263
  return {
3285
3264
  val: {
3286
- type: _.literal,
3265
+ type: E.literal,
3287
3266
  value: "<".concat(i, "/>"),
3288
3267
  location: b(n, this.clonePosition())
3289
3268
  },
@@ -3295,12 +3274,12 @@ var li = (
3295
3274
  return o;
3296
3275
  var a = o.val, s = this.clonePosition();
3297
3276
  if (this.bumpIf("</")) {
3298
- if (this.isEOF() || !qe(this.char()))
3277
+ if (this.isEOF() || !ze(this.char()))
3299
3278
  return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
3300
3279
  var l = this.clonePosition(), u = this.parseTagName();
3301
3280
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3302
3281
  val: {
3303
- type: _.tag,
3282
+ type: E.tag,
3304
3283
  value: i,
3305
3284
  children: a,
3306
3285
  location: b(n, this.clonePosition())
@@ -3313,7 +3292,7 @@ var li = (
3313
3292
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3314
3293
  }, e.prototype.parseTagName = function() {
3315
3294
  var t = this.offset();
3316
- for (this.bump(); !this.isEOF() && ci(this.char()); )
3295
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3317
3296
  this.bump();
3318
3297
  return this.message.slice(t, this.offset());
3319
3298
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3337,12 +3316,12 @@ var li = (
3337
3316
  }
3338
3317
  var l = b(n, this.clonePosition());
3339
3318
  return {
3340
- val: { type: _.literal, value: i, location: l },
3319
+ val: { type: E.literal, value: i, location: l },
3341
3320
  err: null
3342
3321
  };
3343
3322
  }, e.prototype.tryParseLeftAngleBracket = function() {
3344
3323
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3345
- !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3324
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3346
3325
  }, e.prototype.tryParseQuote = function(t) {
3347
3326
  if (this.isEOF() || this.char() !== 39)
3348
3327
  return null;
@@ -3376,12 +3355,12 @@ var li = (
3376
3355
  r.push(n);
3377
3356
  this.bump();
3378
3357
  }
3379
- return Qe.apply(void 0, r);
3358
+ return Xe.apply(void 0, r);
3380
3359
  }, e.prototype.tryParseUnquoted = function(t, r) {
3381
3360
  if (this.isEOF())
3382
3361
  return null;
3383
3362
  var n = this.char();
3384
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3363
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3385
3364
  }, e.prototype.parseArgument = function(t, r) {
3386
3365
  var n = this.clonePosition();
3387
3366
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3397,7 +3376,7 @@ var li = (
3397
3376
  case 125:
3398
3377
  return this.bump(), {
3399
3378
  val: {
3400
- type: _.argument,
3379
+ type: E.argument,
3401
3380
  // value does not include the opening and closing braces.
3402
3381
  value: i,
3403
3382
  location: b(n, this.clonePosition())
@@ -3410,7 +3389,7 @@ var li = (
3410
3389
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3411
3390
  }
3412
3391
  }, e.prototype.parseIdentifierIfPossible = function() {
3413
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3392
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3414
3393
  this.bumpTo(i);
3415
3394
  var o = this.clonePosition(), a = b(t, o);
3416
3395
  return { value: n, location: a };
@@ -3429,46 +3408,46 @@ var li = (
3429
3408
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3430
3409
  if (f.err)
3431
3410
  return f;
3432
- var c = ui(f.val);
3411
+ var c = ai(f.val);
3433
3412
  if (c.length === 0)
3434
3413
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3435
3414
  var y = b(h, this.clonePosition());
3436
3415
  u = { style: c, styleLocation: y };
3437
3416
  }
3438
- var v = this.tryParseArgumentClose(i);
3439
- if (v.err)
3440
- return v;
3441
- var g = b(i, this.clonePosition());
3442
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3443
- var T = ai(u.style.slice(2));
3417
+ var _ = this.tryParseArgumentClose(i);
3418
+ if (_.err)
3419
+ return _;
3420
+ var v = b(i, this.clonePosition());
3421
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3422
+ var T = si(u.style.slice(2));
3444
3423
  if (s === "number") {
3445
3424
  var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3446
3425
  return f.err ? f : {
3447
- val: { type: _.number, value: n, location: g, style: f.val },
3426
+ val: { type: E.number, value: n, location: v, style: f.val },
3448
3427
  err: null
3449
3428
  };
3450
3429
  } else {
3451
3430
  if (T.length === 0)
3452
- return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
3431
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3453
3432
  var N = T;
3454
- this.locale && (N = Zn(T, this.locale));
3433
+ this.locale && (N = zn(T, this.locale));
3455
3434
  var c = {
3456
- type: Q.dateTime,
3435
+ type: J.dateTime,
3457
3436
  pattern: N,
3458
3437
  location: u.styleLocation,
3459
- parsedOptions: this.shouldParseSkeletons ? Fn(N) : {}
3460
- }, O = s === "date" ? _.date : _.time;
3438
+ parsedOptions: this.shouldParseSkeletons ? Gn(N) : {}
3439
+ }, P = s === "date" ? E.date : E.time;
3461
3440
  return {
3462
- val: { type: O, value: n, location: g, style: c },
3441
+ val: { type: P, value: n, location: v, style: c },
3463
3442
  err: null
3464
3443
  };
3465
3444
  }
3466
3445
  }
3467
3446
  return {
3468
3447
  val: {
3469
- type: s === "number" ? _.number : s === "date" ? _.date : _.time,
3448
+ type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3470
3449
  value: n,
3471
- location: g,
3450
+ location: v,
3472
3451
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3473
3452
  },
3474
3453
  err: null
@@ -3479,9 +3458,9 @@ var li = (
3479
3458
  case "select": {
3480
3459
  var S = this.clonePosition();
3481
3460
  if (this.bumpSpace(), !this.bumpIf(","))
3482
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, ge({}, S)));
3461
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, g({}, S)));
3483
3462
  this.bumpSpace();
3484
- var U = this.parseIdentifierIfPossible(), I = 0;
3463
+ var U = this.parseIdentifierIfPossible(), O = 0;
3485
3464
  if (s !== "select" && U.value === "offset") {
3486
3465
  if (!this.bumpIf(":"))
3487
3466
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3489,29 +3468,29 @@ var li = (
3489
3468
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3490
3469
  if (f.err)
3491
3470
  return f;
3492
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), I = f.val;
3471
+ this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = f.val;
3493
3472
  }
3494
3473
  var k = this.tryParsePluralOrSelectOptions(t, s, r, U);
3495
3474
  if (k.err)
3496
3475
  return k;
3497
- var v = this.tryParseArgumentClose(i);
3498
- if (v.err)
3499
- return v;
3476
+ var _ = this.tryParseArgumentClose(i);
3477
+ if (_.err)
3478
+ return _;
3500
3479
  var le = b(i, this.clonePosition());
3501
3480
  return s === "select" ? {
3502
3481
  val: {
3503
- type: _.select,
3482
+ type: E.select,
3504
3483
  value: n,
3505
- options: Tt(k.val),
3484
+ options: St(k.val),
3506
3485
  location: le
3507
3486
  },
3508
3487
  err: null
3509
3488
  } : {
3510
3489
  val: {
3511
- type: _.plural,
3490
+ type: E.plural,
3512
3491
  value: n,
3513
- options: Tt(k.val),
3514
- offset: I,
3492
+ options: St(k.val),
3493
+ offset: O,
3515
3494
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3516
3495
  location: le
3517
3496
  },
@@ -3561,16 +3540,16 @@ var li = (
3561
3540
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3562
3541
  var n = [];
3563
3542
  try {
3564
- n = kn(t);
3543
+ n = jn(t);
3565
3544
  } catch (i) {
3566
3545
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3567
3546
  }
3568
3547
  return {
3569
3548
  val: {
3570
- type: Q.number,
3549
+ type: J.number,
3571
3550
  tokens: n,
3572
3551
  location: r,
3573
- parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3552
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3574
3553
  },
3575
3554
  err: null
3576
3555
  };
@@ -3592,16 +3571,16 @@ var li = (
3592
3571
  var y = this.clonePosition();
3593
3572
  if (!this.bumpIf("{"))
3594
3573
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3595
- var v = this.parseMessage(t + 1, r, n);
3574
+ var _ = this.parseMessage(t + 1, r, n);
3575
+ if (_.err)
3576
+ return _;
3577
+ var v = this.tryParseArgumentClose(y);
3596
3578
  if (v.err)
3597
3579
  return v;
3598
- var g = this.tryParseArgumentClose(y);
3599
- if (g.err)
3600
- return g;
3601
3580
  s.push([
3602
3581
  u,
3603
3582
  {
3604
- value: v.val,
3583
+ value: _.val,
3605
3584
  location: b(y, this.clonePosition())
3606
3585
  }
3607
3586
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3618,7 +3597,7 @@ var li = (
3618
3597
  break;
3619
3598
  }
3620
3599
  var l = b(i, this.clonePosition());
3621
- return o ? (a *= n, oi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3600
+ return o ? (a *= n, ii(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3622
3601
  }, e.prototype.offset = function() {
3623
3602
  return this.position.offset;
3624
3603
  }, e.prototype.isEOF = function() {
@@ -3633,7 +3612,7 @@ var li = (
3633
3612
  var t = this.position.offset;
3634
3613
  if (t >= this.message.length)
3635
3614
  throw Error("out of bound");
3636
- var r = lr(this.message, t);
3615
+ var r = ur(this.message, t);
3637
3616
  if (r === void 0)
3638
3617
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3639
3618
  return r;
@@ -3652,7 +3631,7 @@ var li = (
3652
3631
  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);
3653
3632
  }
3654
3633
  }, e.prototype.bumpIf = function(t) {
3655
- if (wt(this.message, t, this.offset())) {
3634
+ if (xt(this.message, t, this.offset())) {
3656
3635
  for (var r = 0; r < t.length; r++)
3657
3636
  this.bump();
3658
3637
  return !0;
@@ -3674,7 +3653,7 @@ var li = (
3674
3653
  break;
3675
3654
  }
3676
3655
  }, e.prototype.bumpSpace = function() {
3677
- for (; !this.isEOF() && cr(this.char()); )
3656
+ for (; !this.isEOF() && hr(this.char()); )
3678
3657
  this.bump();
3679
3658
  }, e.prototype.peek = function() {
3680
3659
  if (this.isEOF())
@@ -3684,47 +3663,47 @@ var li = (
3684
3663
  }, e;
3685
3664
  }()
3686
3665
  );
3687
- function qe(e) {
3666
+ function ze(e) {
3688
3667
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3689
3668
  }
3690
- function hi(e) {
3691
- return qe(e) || e === 47;
3669
+ function li(e) {
3670
+ return ze(e) || e === 47;
3692
3671
  }
3693
- function ci(e) {
3672
+ function hi(e) {
3694
3673
  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;
3695
3674
  }
3696
- function cr(e) {
3675
+ function hr(e) {
3697
3676
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3698
3677
  }
3699
- function fi(e) {
3678
+ function ci(e) {
3700
3679
  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;
3701
3680
  }
3702
- function Ye(e) {
3681
+ function Ze(e) {
3703
3682
  e.forEach(function(t) {
3704
- if (delete t.location, tr(t) || rr(t))
3683
+ if (delete t.location, er(t) || tr(t))
3705
3684
  for (var r in t.options)
3706
- delete t.options[r].location, Ye(t.options[r].value);
3685
+ delete t.options[r].location, Ze(t.options[r].value);
3707
3686
  else
3708
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
3687
+ qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3709
3688
  });
3710
3689
  }
3711
- function di(e, t) {
3712
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3713
- var r = new li(e, t).parse();
3690
+ function fi(e, t) {
3691
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3692
+ var r = new ui(e, t).parse();
3714
3693
  if (r.err) {
3715
3694
  var n = SyntaxError(m[r.err.kind]);
3716
3695
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3717
3696
  }
3718
- return t != null && t.captureLocation || Ye(r.val), r.val;
3697
+ return t != null && t.captureLocation || Ze(r.val), r.val;
3719
3698
  }
3720
- var J;
3699
+ var q;
3721
3700
  (function(e) {
3722
3701
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3723
- })(J || (J = {}));
3724
- var Te = (
3702
+ })(q || (q = {}));
3703
+ var Se = (
3725
3704
  /** @class */
3726
3705
  function(e) {
3727
- we(t, e);
3706
+ L(t, e);
3728
3707
  function t(r, n, i) {
3729
3708
  var o = e.call(this, r) || this;
3730
3709
  return o.code = n, o.originalMessage = i, o;
@@ -3733,48 +3712,48 @@ var Te = (
3733
3712
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3734
3713
  }, t;
3735
3714
  }(Error)
3736
- ), Bt = (
3715
+ ), Tt = (
3737
3716
  /** @class */
3738
3717
  function(e) {
3739
- we(t, e);
3718
+ L(t, e);
3740
3719
  function t(r, n, i, o) {
3741
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3720
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3742
3721
  }
3743
3722
  return t;
3744
- }(Te)
3745
- ), pi = (
3723
+ }(Se)
3724
+ ), di = (
3746
3725
  /** @class */
3747
3726
  function(e) {
3748
- we(t, e);
3727
+ L(t, e);
3749
3728
  function t(r, n, i) {
3750
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3729
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3751
3730
  }
3752
3731
  return t;
3753
- }(Te)
3754
- ), mi = (
3732
+ }(Se)
3733
+ ), pi = (
3755
3734
  /** @class */
3756
3735
  function(e) {
3757
- we(t, e);
3736
+ L(t, e);
3758
3737
  function t(r, n) {
3759
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3738
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3760
3739
  }
3761
3740
  return t;
3762
- }(Te)
3741
+ }(Se)
3763
3742
  ), x;
3764
3743
  (function(e) {
3765
3744
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3766
3745
  })(x || (x = {}));
3767
- function bi(e) {
3746
+ function mi(e) {
3768
3747
  return e.length < 2 ? e : e.reduce(function(t, r) {
3769
3748
  var n = t[t.length - 1];
3770
3749
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3771
3750
  }, []);
3772
3751
  }
3773
- function yi(e) {
3752
+ function bi(e) {
3774
3753
  return typeof e == "function";
3775
3754
  }
3776
3755
  function be(e, t, r, n, i, o, a) {
3777
- if (e.length === 1 && _t(e[0]))
3756
+ if (e.length === 1 && gt(e[0]))
3778
3757
  return [
3779
3758
  {
3780
3759
  type: x.literal,
@@ -3783,14 +3762,14 @@ function be(e, t, r, n, i, o, a) {
3783
3762
  ];
3784
3763
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3785
3764
  var h = u[l];
3786
- if (_t(h)) {
3765
+ if (gt(h)) {
3787
3766
  s.push({
3788
3767
  type: x.literal,
3789
3768
  value: h.value
3790
3769
  });
3791
3770
  continue;
3792
3771
  }
3793
- if (Un(h)) {
3772
+ if (Dn(h)) {
3794
3773
  typeof o == "number" && s.push({
3795
3774
  type: x.literal,
3796
3775
  value: r.getNumberFormat(t).format(o)
@@ -3799,89 +3778,89 @@ function be(e, t, r, n, i, o, a) {
3799
3778
  }
3800
3779
  var f = h.value;
3801
3780
  if (!(i && f in i))
3802
- throw new mi(f, a);
3781
+ throw new pi(f, a);
3803
3782
  var c = i[f];
3804
- if (Dn(h)) {
3783
+ if ($n(h)) {
3805
3784
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3806
3785
  type: typeof c == "string" ? x.literal : x.object,
3807
3786
  value: c
3808
3787
  });
3809
3788
  continue;
3810
3789
  }
3811
- if (Kt(h)) {
3812
- var y = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3790
+ if (Yt(h)) {
3791
+ var y = typeof h.style == "string" ? n.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3813
3792
  s.push({
3814
3793
  type: x.literal,
3815
3794
  value: r.getDateTimeFormat(t, y).format(c)
3816
3795
  });
3817
3796
  continue;
3818
3797
  }
3819
- if (er(h)) {
3820
- var y = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3798
+ if (Kt(h)) {
3799
+ var y = typeof h.style == "string" ? n.time[h.style] : ke(h.style) ? h.style.parsedOptions : n.time.medium;
3821
3800
  s.push({
3822
3801
  type: x.literal,
3823
3802
  value: r.getDateTimeFormat(t, y).format(c)
3824
3803
  });
3825
3804
  continue;
3826
3805
  }
3827
- if (Yt(h)) {
3828
- var y = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3806
+ if (qt(h)) {
3807
+ var y = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3829
3808
  y && y.scale && (c = c * (y.scale || 1)), s.push({
3830
3809
  type: x.literal,
3831
3810
  value: r.getNumberFormat(t, y).format(c)
3832
3811
  });
3833
3812
  continue;
3834
3813
  }
3835
- if (nr(h)) {
3836
- var v = h.children, g = h.value, T = i[g];
3837
- if (!yi(T))
3838
- throw new pi(g, "function", a);
3839
- var N = be(v, t, r, n, i, o), O = T(N.map(function(I) {
3840
- return I.value;
3814
+ if (rr(h)) {
3815
+ var _ = h.children, v = h.value, T = i[v];
3816
+ if (!bi(T))
3817
+ throw new di(v, "function", a);
3818
+ var N = be(_, t, r, n, i, o), P = T(N.map(function(O) {
3819
+ return O.value;
3841
3820
  }));
3842
- Array.isArray(O) || (O = [O]), s.push.apply(s, O.map(function(I) {
3821
+ Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(O) {
3843
3822
  return {
3844
- type: typeof I == "string" ? x.literal : x.object,
3845
- value: I
3823
+ type: typeof O == "string" ? x.literal : x.object,
3824
+ value: O
3846
3825
  };
3847
3826
  }));
3848
3827
  }
3849
- if (tr(h)) {
3828
+ if (er(h)) {
3850
3829
  var S = h.options[c] || h.options.other;
3851
3830
  if (!S)
3852
- throw new Bt(h.value, c, Object.keys(h.options), a);
3831
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3853
3832
  s.push.apply(s, be(S.value, t, r, n, i));
3854
3833
  continue;
3855
3834
  }
3856
- if (rr(h)) {
3835
+ if (tr(h)) {
3857
3836
  var S = h.options["=".concat(c)];
3858
3837
  if (!S) {
3859
3838
  if (!Intl.PluralRules)
3860
- throw new Te(`Intl.PluralRules is not available in this environment.
3839
+ throw new Se(`Intl.PluralRules is not available in this environment.
3861
3840
  Try polyfilling it using "@formatjs/intl-pluralrules"
3862
- `, J.MISSING_INTL_API, a);
3841
+ `, q.MISSING_INTL_API, a);
3863
3842
  var U = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3864
3843
  S = h.options[U] || h.options.other;
3865
3844
  }
3866
3845
  if (!S)
3867
- throw new Bt(h.value, c, Object.keys(h.options), a);
3846
+ throw new Tt(h.value, c, Object.keys(h.options), a);
3868
3847
  s.push.apply(s, be(S.value, t, r, n, i, c - (h.offset || 0)));
3869
3848
  continue;
3870
3849
  }
3871
3850
  }
3872
- return bi(s);
3851
+ return mi(s);
3873
3852
  }
3874
- function gi(e, t) {
3875
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3876
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3853
+ function yi(e, t) {
3854
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3855
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3877
3856
  }, {})) : e;
3878
3857
  }
3879
- function vi(e, t) {
3858
+ function gi(e, t) {
3880
3859
  return t ? Object.keys(e).reduce(function(r, n) {
3881
- return r[n] = gi(e[n], t[n]), r;
3882
- }, A({}, e)) : e;
3860
+ return r[n] = yi(e[n], t[n]), r;
3861
+ }, g({}, e)) : e;
3883
3862
  }
3884
- function Me(e) {
3863
+ function Le(e) {
3885
3864
  return {
3886
3865
  create: function() {
3887
3866
  return {
@@ -3895,39 +3874,39 @@ function Me(e) {
3895
3874
  }
3896
3875
  };
3897
3876
  }
3898
- function _i(e) {
3877
+ function vi(e) {
3899
3878
  return e === void 0 && (e = {
3900
3879
  number: {},
3901
3880
  dateTime: {},
3902
3881
  pluralRules: {}
3903
3882
  }), {
3904
- getNumberFormat: Ce(function() {
3883
+ getNumberFormat: Oe(function() {
3905
3884
  for (var t, r = [], n = 0; n < arguments.length; n++)
3906
3885
  r[n] = arguments[n];
3907
- return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3886
+ return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3908
3887
  }, {
3909
- cache: Me(e.number),
3910
- strategy: Le.variadic
3888
+ cache: Le(e.number),
3889
+ strategy: Ie.variadic
3911
3890
  }),
3912
- getDateTimeFormat: Ce(function() {
3891
+ getDateTimeFormat: Oe(function() {
3913
3892
  for (var t, r = [], n = 0; n < arguments.length; n++)
3914
3893
  r[n] = arguments[n];
3915
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3894
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
3916
3895
  }, {
3917
- cache: Me(e.dateTime),
3918
- strategy: Le.variadic
3896
+ cache: Le(e.dateTime),
3897
+ strategy: Ie.variadic
3919
3898
  }),
3920
- getPluralRules: Ce(function() {
3899
+ getPluralRules: Oe(function() {
3921
3900
  for (var t, r = [], n = 0; n < arguments.length; n++)
3922
3901
  r[n] = arguments[n];
3923
- return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3902
+ return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
3924
3903
  }, {
3925
- cache: Me(e.pluralRules),
3926
- strategy: Le.variadic
3904
+ cache: Le(e.pluralRules),
3905
+ strategy: Ie.variadic
3927
3906
  })
3928
3907
  };
3929
3908
  }
3930
- var Ei = (
3909
+ var _i = (
3931
3910
  /** @class */
3932
3911
  function() {
3933
3912
  function e(t, r, n, i) {
@@ -3959,13 +3938,13 @@ var Ei = (
3959
3938
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3960
3939
  var a = i || {};
3961
3940
  a.formatters;
3962
- var s = On(a, ["formatters"]);
3963
- this.ast = e.__parse(t, A(A({}, s), { locale: this.resolvedLocale }));
3941
+ var s = Yr(a, ["formatters"]);
3942
+ this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
3964
3943
  } else
3965
3944
  this.ast = t;
3966
3945
  if (!Array.isArray(this.ast))
3967
3946
  throw new TypeError("A message must be provided as a String or AST.");
3968
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3947
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
3969
3948
  }
3970
3949
  return Object.defineProperty(e, "defaultLocale", {
3971
3950
  get: function() {
@@ -3978,7 +3957,7 @@ var Ei = (
3978
3957
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3979
3958
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3980
3959
  }
3981
- }, e.__parse = di, e.formats = {
3960
+ }, e.__parse = fi, e.formats = {
3982
3961
  number: {
3983
3962
  integer: {
3984
3963
  maximumFractionDigits: 0
@@ -4039,7 +4018,7 @@ var Ei = (
4039
4018
  }, e;
4040
4019
  }()
4041
4020
  );
4042
- function xi(e, t) {
4021
+ function Ei(e, t) {
4043
4022
  if (t == null)
4044
4023
  return;
4045
4024
  if (t in e)
@@ -4060,92 +4039,92 @@ function xi(e, t) {
4060
4039
  n = void 0;
4061
4040
  return n;
4062
4041
  }
4063
- const R = {}, Si = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), fr = (e, t) => {
4042
+ const R = {}, xi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), cr = (e, t) => {
4064
4043
  if (t == null)
4065
4044
  return;
4066
4045
  if (t in R && e in R[t])
4067
4046
  return R[t][e];
4068
- const r = He(t);
4047
+ const r = we(t);
4069
4048
  for (let n = 0; n < r.length; n++) {
4070
- const i = r[n], o = Ti(i, e);
4049
+ const i = r[n], o = wi(i, e);
4071
4050
  if (o)
4072
- return Si(e, t, o);
4051
+ return xi(e, t, o);
4073
4052
  }
4074
4053
  };
4075
- let rt;
4076
- const ue = Se({});
4077
- function wi(e) {
4078
- return rt[e] || null;
4054
+ let et;
4055
+ const ue = xe({});
4056
+ function Si(e) {
4057
+ return et[e] || null;
4079
4058
  }
4080
- function dr(e) {
4081
- return e in rt;
4059
+ function fr(e) {
4060
+ return e in et;
4082
4061
  }
4083
- function Ti(e, t) {
4084
- if (!dr(e))
4062
+ function wi(e, t) {
4063
+ if (!fr(e))
4085
4064
  return null;
4086
- const r = wi(e);
4087
- return xi(r, t);
4065
+ const r = Si(e);
4066
+ return Ei(r, t);
4088
4067
  }
4089
- function Hi(e) {
4068
+ function Ti(e) {
4090
4069
  if (e == null)
4091
4070
  return;
4092
- const t = He(e);
4071
+ const t = we(e);
4093
4072
  for (let r = 0; r < t.length; r++) {
4094
4073
  const n = t[r];
4095
- if (dr(n))
4074
+ if (fr(n))
4096
4075
  return n;
4097
4076
  }
4098
4077
  }
4099
- function pr(e, ...t) {
4100
- delete R[e], ue.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4078
+ function dr(e, ...t) {
4079
+ delete R[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4101
4080
  }
4102
- K(
4081
+ ee(
4103
4082
  [ue],
4104
4083
  ([e]) => Object.keys(e)
4105
4084
  );
4106
- ue.subscribe((e) => rt = e);
4085
+ ue.subscribe((e) => et = e);
4107
4086
  const ye = {};
4108
- function Bi(e, t) {
4087
+ function Hi(e, t) {
4109
4088
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4110
4089
  }
4111
- function mr(e) {
4090
+ function pr(e) {
4112
4091
  return ye[e];
4113
4092
  }
4114
- function Pi(e) {
4115
- return He(e).map((t) => {
4116
- const r = mr(t);
4093
+ function Bi(e) {
4094
+ return we(e).map((t) => {
4095
+ const r = pr(t);
4117
4096
  return [t, r ? [...r] : []];
4118
4097
  }).filter(([, t]) => t.length > 0);
4119
4098
  }
4120
- function Ke(e) {
4121
- return e == null ? !1 : He(e).some(
4099
+ function Qe(e) {
4100
+ return e == null ? !1 : we(e).some(
4122
4101
  (t) => {
4123
4102
  var r;
4124
- return (r = mr(t)) == null ? void 0 : r.size;
4103
+ return (r = pr(t)) == null ? void 0 : r.size;
4125
4104
  }
4126
4105
  );
4127
4106
  }
4128
4107
  function Ai(e, t) {
4129
4108
  return Promise.all(
4130
- t.map((n) => (Bi(e, n), n().then((i) => i.default || i)))
4131
- ).then((n) => pr(e, ...n));
4132
- }
4133
- const re = {};
4134
- function br(e) {
4135
- if (!Ke(e))
4136
- return e in re ? re[e] : Promise.resolve();
4137
- const t = Pi(e);
4138
- return re[e] = Promise.all(
4109
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4110
+ ).then((n) => dr(e, ...n));
4111
+ }
4112
+ const ne = {};
4113
+ function mr(e) {
4114
+ if (!Qe(e))
4115
+ return e in ne ? ne[e] : Promise.resolve();
4116
+ const t = Bi(e);
4117
+ return ne[e] = Promise.all(
4139
4118
  t.map(
4140
4119
  ([r, n]) => Ai(r, n)
4141
4120
  )
4142
4121
  ).then(() => {
4143
- if (Ke(e))
4144
- return br(e);
4145
- delete re[e];
4146
- }), re[e];
4122
+ if (Qe(e))
4123
+ return mr(e);
4124
+ delete ne[e];
4125
+ }), ne[e];
4147
4126
  }
4148
- const Oi = {
4127
+ const Pi = {
4149
4128
  number: {
4150
4129
  scientific: { notation: "scientific" },
4151
4130
  engineering: { notation: "engineering" },
@@ -4174,135 +4153,135 @@ const Oi = {
4174
4153
  timeZoneName: "short"
4175
4154
  }
4176
4155
  }
4177
- }, Ii = {
4156
+ }, Oi = {
4178
4157
  fallbackLocale: null,
4179
4158
  loadingDelay: 200,
4180
- formats: Oi,
4159
+ formats: Pi,
4181
4160
  warnOnMissingMessages: !0,
4182
4161
  handleMissingMessage: void 0,
4183
4162
  ignoreTag: !0
4184
- }, Ci = Ii;
4185
- function q() {
4186
- return Ci;
4163
+ }, Ii = Oi;
4164
+ function Y() {
4165
+ return Ii;
4187
4166
  }
4188
- const Re = Se(!1);
4189
- var Li = Object.defineProperty, Ni = Object.defineProperties, Mi = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4167
+ const Ne = xe(!1);
4168
+ var Ci = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4190
4169
  for (var r in t || (t = {}))
4191
- Ri.call(t, r) && At(e, r, t[r]);
4192
- if (Pt)
4193
- for (var r of Pt(t))
4194
- $i.call(t, r) && At(e, r, t[r]);
4170
+ Mi.call(t, r) && Bt(e, r, t[r]);
4171
+ if (Ht)
4172
+ for (var r of Ht(t))
4173
+ Ri.call(t, r) && Bt(e, r, t[r]);
4195
4174
  return e;
4196
- }, Ui = (e, t) => Ni(e, Mi(t));
4197
- let et;
4198
- const ve = Se(null);
4199
- function Ot(e) {
4175
+ }, Di = (e, t) => Li(e, Ni(t));
4176
+ let Je;
4177
+ const ge = xe(null);
4178
+ function At(e) {
4200
4179
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4201
4180
  }
4202
- function He(e, t = q().fallbackLocale) {
4203
- const r = Ot(e);
4204
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4181
+ function we(e, t = Y().fallbackLocale) {
4182
+ const r = At(e);
4183
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4205
4184
  }
4206
4185
  function j() {
4207
- return et != null ? et : void 0;
4186
+ return Je != null ? Je : void 0;
4208
4187
  }
4209
- ve.subscribe((e) => {
4210
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4188
+ ge.subscribe((e) => {
4189
+ Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4211
4190
  });
4212
- const Gi = (e) => {
4213
- if (e && Hi(e) && Ke(e)) {
4214
- const { loadingDelay: t } = q();
4191
+ const Ui = (e) => {
4192
+ if (e && Ti(e) && Qe(e)) {
4193
+ const { loadingDelay: t } = Y();
4215
4194
  let r;
4216
4195
  return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4217
- () => Re.set(!0),
4196
+ () => Ne.set(!0),
4218
4197
  t
4219
- ) : Re.set(!0), br(e).then(() => {
4220
- ve.set(e);
4198
+ ) : Ne.set(!0), mr(e).then(() => {
4199
+ ge.set(e);
4221
4200
  }).finally(() => {
4222
- clearTimeout(r), Re.set(!1);
4201
+ clearTimeout(r), Ne.set(!1);
4223
4202
  });
4224
4203
  }
4225
- return ve.set(e);
4226
- }, ee = Ui(Di({}, ve), {
4227
- set: Gi
4228
- }), Be = (e) => {
4204
+ return ge.set(e);
4205
+ }, te = Di($i({}, ge), {
4206
+ set: Ui
4207
+ }), Te = (e) => {
4229
4208
  const t = /* @__PURE__ */ Object.create(null);
4230
4209
  return (n) => {
4231
4210
  const i = JSON.stringify(n);
4232
4211
  return i in t ? t[i] : t[i] = e(n);
4233
4212
  };
4234
4213
  };
4235
- var Fi = Object.defineProperty, _e = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4214
+ var Gi = Object.defineProperty, ve = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4236
4215
  for (var r in t || (t = {}))
4237
- yr.call(t, r) && It(e, r, t[r]);
4238
- if (_e)
4239
- for (var r of _e(t))
4240
- gr.call(t, r) && It(e, r, t[r]);
4216
+ br.call(t, r) && Pt(e, r, t[r]);
4217
+ if (ve)
4218
+ for (var r of ve(t))
4219
+ yr.call(t, r) && Pt(e, r, t[r]);
4241
4220
  return e;
4242
- }, te = (e, t) => {
4221
+ }, re = (e, t) => {
4243
4222
  var r = {};
4244
4223
  for (var n in e)
4245
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4246
- if (e != null && _e)
4247
- for (var n of _e(e))
4248
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4224
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4225
+ if (e != null && ve)
4226
+ for (var n of ve(e))
4227
+ t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4249
4228
  return r;
4250
4229
  };
4251
- const se = (e, t) => {
4252
- const { formats: r } = q();
4230
+ const ae = (e, t) => {
4231
+ const { formats: r } = Y();
4253
4232
  if (e in r && t in r[e])
4254
4233
  return r[e][t];
4255
4234
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4256
- }, ji = Be(
4235
+ }, Fi = Te(
4257
4236
  (e) => {
4258
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4237
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4259
4238
  if (r == null)
4260
4239
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4261
- return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4240
+ return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4262
4241
  }
4263
- ), ki = Be(
4242
+ ), ji = Te(
4264
4243
  (e) => {
4265
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4244
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4266
4245
  if (r == null)
4267
4246
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4268
- return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4247
+ return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4269
4248
  }
4270
- ), Vi = Be(
4249
+ ), ki = Te(
4271
4250
  (e) => {
4272
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4251
+ var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4273
4252
  if (r == null)
4274
4253
  throw new Error(
4275
4254
  '[svelte-i18n] A "locale" must be set to format time values'
4276
4255
  );
4277
- return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4256
+ return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4278
4257
  }
4279
- ), Xi = (e = {}) => {
4258
+ ), Vi = (e = {}) => {
4280
4259
  var t = e, {
4281
4260
  locale: r = j()
4282
- } = t, n = te(t, [
4261
+ } = t, n = re(t, [
4283
4262
  "locale"
4284
4263
  ]);
4285
- return ji(nt({ locale: r }, n));
4286
- }, Wi = (e = {}) => {
4264
+ return Fi(tt({ locale: r }, n));
4265
+ }, Xi = (e = {}) => {
4287
4266
  var t = e, {
4288
4267
  locale: r = j()
4289
- } = t, n = te(t, [
4268
+ } = t, n = re(t, [
4290
4269
  "locale"
4291
4270
  ]);
4292
- return ki(nt({ locale: r }, n));
4293
- }, zi = (e = {}) => {
4271
+ return ji(tt({ locale: r }, n));
4272
+ }, Wi = (e = {}) => {
4294
4273
  var t = e, {
4295
4274
  locale: r = j()
4296
- } = t, n = te(t, [
4275
+ } = t, n = re(t, [
4297
4276
  "locale"
4298
4277
  ]);
4299
- return Vi(nt({ locale: r }, n));
4300
- }, Zi = Be(
4278
+ return ki(tt({ locale: r }, n));
4279
+ }, zi = Te(
4301
4280
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4302
- (e, t = j()) => new Ei(e, t, q().formats, {
4303
- ignoreTag: q().ignoreTag
4281
+ (e, t = j()) => new _i(e, t, Y().formats, {
4282
+ ignoreTag: Y().ignoreTag
4304
4283
  })
4305
- ), Qi = (e, t = {}) => {
4284
+ ), Zi = (e, t = {}) => {
4306
4285
  var r, n, i, o;
4307
4286
  let a = t;
4308
4287
  typeof e == "object" && (a = e, e = a.id);
@@ -4315,9 +4294,9 @@ const se = (e, t) => {
4315
4294
  throw new Error(
4316
4295
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4317
4296
  );
4318
- let h = fr(e, l);
4297
+ let h = cr(e, l);
4319
4298
  if (!h)
4320
- 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;
4299
+ h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4321
4300
  else if (typeof h != "string")
4322
4301
  return console.warn(
4323
4302
  `[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.`
@@ -4326,7 +4305,7 @@ const se = (e, t) => {
4326
4305
  return h;
4327
4306
  let f = h;
4328
4307
  try {
4329
- f = Zi(h, l).format(s);
4308
+ f = zi(h, l).format(s);
4330
4309
  } catch (c) {
4331
4310
  c instanceof Error && console.warn(
4332
4311
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4334,20 +4313,20 @@ const se = (e, t) => {
4334
4313
  );
4335
4314
  }
4336
4315
  return f;
4337
- }, Ji = (e, t) => zi(t).format(e), qi = (e, t) => Wi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = j()) => fr(e, t), eo = K([ee, ue], () => Qi);
4338
- K([ee], () => Ji);
4339
- K([ee], () => qi);
4340
- K([ee], () => Yi);
4341
- K([ee, ue], () => Ki);
4342
- window.emWidgets = { topic: fn };
4343
- const to = (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)), ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4344
- function no(e, t) {
4316
+ }, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = j()) => cr(e, t), Ki = ee([te, ue], () => Zi);
4317
+ ee([te], () => Qi);
4318
+ ee([te], () => Ji);
4319
+ ee([te], () => qi);
4320
+ ee([te, ue], () => Yi);
4321
+ window.emWidgets = { topic: dn };
4322
+ const eo = (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)), to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4323
+ function ro(e, t) {
4345
4324
  if (e) {
4346
4325
  const r = document.createElement("style");
4347
4326
  r.innerHTML = t, e.appendChild(r);
4348
4327
  }
4349
4328
  }
4350
- function io(e, t) {
4329
+ function no(e, t) {
4351
4330
  const r = new URL(t);
4352
4331
  fetch(r.href).then((n) => n.text()).then((n) => {
4353
4332
  const i = document.createElement("style");
@@ -4356,7 +4335,7 @@ function io(e, t) {
4356
4335
  console.error("There was an error while trying to load client styling from URL", n);
4357
4336
  });
4358
4337
  }
4359
- function oo(e, t, r) {
4338
+ function io(e, t, r) {
4360
4339
  if (window.emMessageBus) {
4361
4340
  const n = document.createElement("style");
4362
4341
  window.emMessageBus.subscribe(t, (i) => {
@@ -4364,13 +4343,13 @@ function oo(e, t, r) {
4364
4343
  });
4365
4344
  }
4366
4345
  }
4367
- function Ct(e, t) {
4368
- pr(e, t);
4346
+ function Ot(e, t) {
4347
+ dr(e, t);
4369
4348
  }
4370
- function so(e) {
4371
- ee.set(e);
4349
+ function oo(e) {
4350
+ te.set(e);
4372
4351
  }
4373
- const Lt = {
4352
+ const It = {
4374
4353
  en: {
4375
4354
  error: "500 Error - Internal Server Error"
4376
4355
  },
@@ -4402,7 +4381,7 @@ if (typeof window != "undefined") {
4402
4381
  }
4403
4382
  };
4404
4383
  };
4405
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-qQmxCOJN.js").then(({ default: t }) => {
4384
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-RkYvXIIH.js").then(({ default: t }) => {
4406
4385
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4407
4386
  });
4408
4387
  }
@@ -4418,32 +4397,32 @@ if (typeof window != "undefined") {
4418
4397
  }
4419
4398
  };
4420
4399
  };
4421
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-J1Bv2gjs.js").then(({ default: t }) => {
4400
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BfZfG9F4.js").then(({ default: t }) => {
4422
4401
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4423
4402
  });
4424
4403
  }
4425
- function ao(e) {
4404
+ function so(e) {
4426
4405
  Or(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
4427
4406
  }.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)}}`);
4428
4407
  }
4429
- function Nt(e, t, r) {
4408
+ function Ct(e, t, r) {
4430
4409
  const n = e.slice();
4431
4410
  return n[26] = t[r], n[28] = r, n;
4432
4411
  }
4433
- function uo(e) {
4434
- let t, r, n, i = ct(
4412
+ function ao(e) {
4413
+ let t, r, n, i = lt(
4435
4414
  /*calendarCollections*/
4436
4415
  e[6]
4437
4416
  ), o = [];
4438
4417
  for (let s = 0; s < i.length; s += 1)
4439
- o[s] = Mt(Nt(e, i, s));
4418
+ o[s] = Lt(Ct(e, i, s));
4440
4419
  let a = (
4441
4420
  /*calendarModalOpened*/
4442
- e[11] == !0 && Rt(e)
4421
+ e[11] == !0 && Nt(e)
4443
4422
  );
4444
4423
  return {
4445
4424
  c() {
4446
- t = L("div");
4425
+ t = C("div");
4447
4426
  for (let s = 0; s < o.length; s += 1)
4448
4427
  o[s].c();
4449
4428
  r = Nr(), a && a.c(), $(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
@@ -4453,26 +4432,26 @@ function uo(e) {
4453
4432
  F(s, t, l);
4454
4433
  for (let u = 0; u < o.length; u += 1)
4455
4434
  o[u] && o[u].m(t, null);
4456
- Ee(t, r), a && a.m(t, null);
4435
+ _e(t, r), a && a.m(t, null);
4457
4436
  },
4458
4437
  p(s, l) {
4459
4438
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4460
4439
  95) {
4461
- i = ct(
4440
+ i = lt(
4462
4441
  /*calendarCollections*/
4463
4442
  s[6]
4464
4443
  );
4465
4444
  let u;
4466
4445
  for (u = 0; u < i.length; u += 1) {
4467
- const h = Nt(s, i, u);
4468
- o[u] ? o[u].p(h, l) : (o[u] = Mt(h), o[u].c(), o[u].m(t, r));
4446
+ const h = Ct(s, i, u);
4447
+ o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4469
4448
  }
4470
4449
  for (; u < o.length; u += 1)
4471
4450
  o[u].d(1);
4472
4451
  o.length = i.length;
4473
4452
  }
4474
4453
  /*calendarModalOpened*/
4475
- s[11] == !0 ? a ? a.p(s, l) : (a = Rt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4454
+ s[11] == !0 ? a ? a.p(s, l) : (a = Nt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4476
4455
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4477
4456
  (s[10] ? "Mobile" : "") + " svelte-5u3c97") && $(t, "class", n);
4478
4457
  },
@@ -4481,11 +4460,11 @@ function uo(e) {
4481
4460
  }
4482
4461
  };
4483
4462
  }
4484
- function lo(e) {
4463
+ function uo(e) {
4485
4464
  let t;
4486
4465
  return {
4487
4466
  c() {
4488
- t = L("div"), $(t, "class", "LoadingSpinner svelte-5u3c97");
4467
+ t = C("div"), $(t, "class", "LoadingSpinner svelte-5u3c97");
4489
4468
  },
4490
4469
  m(r, n) {
4491
4470
  F(r, t, n);
@@ -4496,17 +4475,17 @@ function lo(e) {
4496
4475
  }
4497
4476
  };
4498
4477
  }
4499
- function ho(e) {
4478
+ function lo(e) {
4500
4479
  let t, r = (
4501
4480
  /*$_*/
4502
4481
  e[12]("error") + ""
4503
4482
  ), n;
4504
4483
  return {
4505
4484
  c() {
4506
- t = L("p"), n = Ft(r), $(t, "class", "SearchLoading svelte-5u3c97");
4485
+ t = C("p"), n = Ut(r), $(t, "class", "SearchLoading svelte-5u3c97");
4507
4486
  },
4508
4487
  m(i, o) {
4509
- F(i, t, o), Ee(t, n);
4488
+ F(i, t, o), _e(t, n);
4510
4489
  },
4511
4490
  p(i, o) {
4512
4491
  o & /*$_*/
@@ -4518,11 +4497,11 @@ function ho(e) {
4518
4497
  }
4519
4498
  };
4520
4499
  }
4521
- function Mt(e) {
4500
+ function Lt(e) {
4522
4501
  let t, r, n, i, o, a;
4523
4502
  return {
4524
4503
  c() {
4525
- t = L("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4504
+ t = C("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4526
4505
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4527
4506
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4528
4507
  e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
@@ -4610,11 +4589,11 @@ function Mt(e) {
4610
4589
  }
4611
4590
  };
4612
4591
  }
4613
- function Rt(e) {
4592
+ function Nt(e) {
4614
4593
  let t, r, n, i, o, a, s, l;
4615
4594
  return {
4616
4595
  c() {
4617
- t = L("div"), r = L("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4596
+ t = C("div"), r = C("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4618
4597
  e[6][
4619
4598
  /*selectedIndex*/
4620
4599
  e[7]
@@ -4666,7 +4645,7 @@ function Rt(e) {
4666
4645
  ), d(r, "class", "svelte-5u3c97"), $(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4667
4646
  },
4668
4647
  m(u, h) {
4669
- F(u, t, h), Ee(t, r);
4648
+ F(u, t, h), _e(t, r);
4670
4649
  },
4671
4650
  p(u, h) {
4672
4651
  h & /*calendarCollections, selectedIndex*/
@@ -4736,7 +4715,7 @@ function Rt(e) {
4736
4715
  }
4737
4716
  };
4738
4717
  }
4739
- function co(e) {
4718
+ function ho(e) {
4740
4719
  let t;
4741
4720
  function r(o, a) {
4742
4721
  var s;
@@ -4744,22 +4723,22 @@ function co(e) {
4744
4723
  /*hasErrors*/
4745
4724
  o[9]
4746
4725
  )
4747
- return ho;
4726
+ return lo;
4748
4727
  if (
4749
4728
  /*isLoading*/
4750
4729
  o[8]
4751
4730
  )
4752
- return lo;
4731
+ return uo;
4753
4732
  if (
4754
4733
  /*calendarCollections*/
4755
4734
  (s = o[6]) != null && s.length
4756
4735
  )
4757
- return uo;
4736
+ return ao;
4758
4737
  }
4759
4738
  let n = r(e), i = n && n(e);
4760
4739
  return {
4761
4740
  c() {
4762
- t = L("div"), i && i.c(), $(t, "class", "svelte-5u3c97");
4741
+ t = C("div"), i && i.c(), $(t, "class", "svelte-5u3c97");
4763
4742
  },
4764
4743
  m(o, a) {
4765
4744
  F(o, t, a), i && i.m(t, null), e[16](t);
@@ -4774,62 +4753,62 @@ function co(e) {
4774
4753
  }
4775
4754
  };
4776
4755
  }
4777
- function fo(e, t, r) {
4756
+ function co(e, t, r) {
4778
4757
  let n;
4779
- Ar(e, eo, (p) => r(12, n = p));
4780
- 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, T = !1, N = !1, O = window.navigator.userAgent, S = !1;
4781
- const U = () => {
4782
- so(s);
4758
+ Pr(e, Ki, (p) => r(12, n = p));
4759
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, y, _ = 0, v = !0, T = !1, N = !1, P = window.navigator.userAgent, S = !1, U;
4760
+ const O = () => {
4761
+ oo(s);
4783
4762
  };
4784
- Object.keys(Lt).forEach((p) => {
4785
- Ct(p, Lt[p]);
4763
+ Object.keys(It).forEach((p) => {
4764
+ Ot(p, It[p]);
4786
4765
  });
4787
- const I = () => {
4766
+ const k = () => {
4788
4767
  let p = h;
4789
4768
  if (p)
4790
4769
  return fetch(p).then((w) => w.json()).then((w) => {
4791
4770
  Object.keys(w).forEach((M) => {
4792
- Ct(M, w[M]);
4771
+ Ot(M, w[M]);
4793
4772
  });
4794
4773
  }).catch((w) => {
4795
4774
  console.log(w);
4796
4775
  });
4797
- }, k = () => {
4798
- r(8, g = !0);
4776
+ }, le = () => {
4777
+ r(8, v = !0);
4799
4778
  let p = new URL(`${i}/${s}/daily-calendar`);
4800
4779
  p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4801
- let w = ro(O);
4780
+ let w = to(P);
4802
4781
  w && (w === "PC" ? p.searchParams.append("device", "dk") : w === "iPad" || w === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((M) => M.json()).then((M) => {
4803
4782
  r(6, y = M);
4804
4783
  }).catch((M) => {
4805
4784
  console.log(M), r(9, T = !0);
4806
4785
  }).finally(() => {
4807
- le(), r(8, g = !1);
4786
+ vr(), r(8, v = !1);
4808
4787
  });
4809
- }, le = () => {
4788
+ }, vr = () => {
4810
4789
  const p = c.getRootNode().host;
4811
4790
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4812
4791
  }, _r = () => {
4813
- k();
4814
- }, it = (p) => {
4792
+ le();
4793
+ }, rt = (p) => {
4815
4794
  var w;
4816
- p.data && p.data.type == "OpenCalendar" && (r(7, v = p.data.index), r(11, S = !0), window.postMessage(
4795
+ p.data && p.data.type == "OpenCalendar" && (r(7, _ = p.data.index), r(11, S = !0), window.postMessage(
4817
4796
  {
4818
4797
  type: "ShowModal",
4819
- selectedIndex: v,
4798
+ selectedIndex: _,
4820
4799
  identifier: "Calendar"
4821
4800
  },
4822
4801
  window.location.href
4823
4802
  ), window.postMessage({
4824
4803
  type: "DailyEventsData",
4825
- data: (w = y[v]) == null ? void 0 : w.dailyEvents
4804
+ data: (w = y[_]) == null ? void 0 : w.dailyEvents
4826
4805
  })), p.data && p.data.type == "ModalClosed" && r(11, S = !1);
4827
4806
  };
4828
- Ur(() => (window.addEventListener("message", it, !1), to(O) && r(10, N = !0), () => {
4829
- window.removeEventListener("message", it);
4807
+ Ur(() => (window.addEventListener("message", rt, !1), eo(P) && r(10, N = !0), () => {
4808
+ window.emMessageBus && U && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", rt);
4830
4809
  }));
4831
4810
  function Er(p) {
4832
- $e[p ? "unshift" : "push"](() => {
4811
+ Me[p ? "unshift" : "push"](() => {
4833
4812
  c = p, r(5, c);
4834
4813
  });
4835
4814
  }
@@ -4838,11 +4817,11 @@ function fo(e, t, r) {
4838
4817
  }, e.$$.update = () => {
4839
4818
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4840
4819
  57345 && i && s && o && a && _r(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4841
- 34 && l && c && no(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4842
- 36 && u && c && io(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4843
- 48 && c && oo(c, `${f}.Style`), e.$$.dirty & /*lang*/
4844
- 1 && s && U(), e.$$.dirty & /*lang, translationurl*/
4845
- 9 && s && h && I();
4820
+ 34 && l && c && ro(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4821
+ 36 && u && c && no(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4822
+ 48 && c && io(c, `${f}.Style`), e.$$.dirty & /*lang*/
4823
+ 1 && s && O(), e.$$.dirty & /*lang, translationurl*/
4824
+ 9 && s && h && k();
4846
4825
  }, [
4847
4826
  s,
4848
4827
  l,
@@ -4851,8 +4830,8 @@ function fo(e, t, r) {
4851
4830
  f,
4852
4831
  c,
4853
4832
  y,
4833
+ _,
4854
4834
  v,
4855
- g,
4856
4835
  T,
4857
4836
  N,
4858
4837
  S,
@@ -4863,14 +4842,14 @@ function fo(e, t, r) {
4863
4842
  Er
4864
4843
  ];
4865
4844
  }
4866
- class vr extends Jr {
4845
+ class gr extends Jr {
4867
4846
  constructor(t) {
4868
4847
  super(), Zr(
4869
4848
  this,
4870
4849
  t,
4871
- fo,
4872
4850
  co,
4873
- Dt,
4851
+ ho,
4852
+ Rt,
4874
4853
  {
4875
4854
  cmsendpoint: 13,
4876
4855
  env: 14,
@@ -4881,103 +4860,103 @@ class vr extends Jr {
4881
4860
  translationurl: 3,
4882
4861
  mbsource: 4
4883
4862
  },
4884
- ao
4863
+ so
4885
4864
  );
4886
4865
  }
4887
4866
  get cmsendpoint() {
4888
4867
  return this.$$.ctx[13];
4889
4868
  }
4890
4869
  set cmsendpoint(t) {
4891
- this.$$set({ cmsendpoint: t }), P();
4870
+ this.$$set({ cmsendpoint: t }), A();
4892
4871
  }
4893
4872
  get env() {
4894
4873
  return this.$$.ctx[14];
4895
4874
  }
4896
4875
  set env(t) {
4897
- this.$$set({ env: t }), P();
4876
+ this.$$set({ env: t }), A();
4898
4877
  }
4899
4878
  get userroles() {
4900
4879
  return this.$$.ctx[15];
4901
4880
  }
4902
4881
  set userroles(t) {
4903
- this.$$set({ userroles: t }), P();
4882
+ this.$$set({ userroles: t }), A();
4904
4883
  }
4905
4884
  get lang() {
4906
4885
  return this.$$.ctx[0];
4907
4886
  }
4908
4887
  set lang(t) {
4909
- this.$$set({ lang: t }), P();
4888
+ this.$$set({ lang: t }), A();
4910
4889
  }
4911
4890
  get clientstyling() {
4912
4891
  return this.$$.ctx[1];
4913
4892
  }
4914
4893
  set clientstyling(t) {
4915
- this.$$set({ clientstyling: t }), P();
4894
+ this.$$set({ clientstyling: t }), A();
4916
4895
  }
4917
4896
  get clientstylingurl() {
4918
4897
  return this.$$.ctx[2];
4919
4898
  }
4920
4899
  set clientstylingurl(t) {
4921
- this.$$set({ clientstylingurl: t }), P();
4900
+ this.$$set({ clientstylingurl: t }), A();
4922
4901
  }
4923
4902
  get translationurl() {
4924
4903
  return this.$$.ctx[3];
4925
4904
  }
4926
4905
  set translationurl(t) {
4927
- this.$$set({ translationurl: t }), P();
4906
+ this.$$set({ translationurl: t }), A();
4928
4907
  }
4929
4908
  get mbsource() {
4930
4909
  return this.$$.ctx[4];
4931
4910
  }
4932
4911
  set mbsource(t) {
4933
- this.$$set({ mbsource: t }), P();
4912
+ this.$$set({ mbsource: t }), A();
4934
4913
  }
4935
4914
  }
4936
- Qr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4937
- const Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4915
+ Qr(gr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4916
+ const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4938
4917
  __proto__: null,
4939
- default: vr
4918
+ default: gr
4940
4919
  }, Symbol.toStringTag, { value: "Module" }));
4941
4920
  export {
4942
- ee as $,
4943
- $e as A,
4944
- mo as B,
4945
- d as C,
4946
- _o as D,
4947
- xo as E,
4948
- So as F,
4949
- to as G,
4950
- no as H,
4951
- io as I,
4952
- oo as J,
4953
- Qr as K,
4954
- eo as L,
4955
- Ho as M,
4921
+ te as $,
4922
+ _o as A,
4923
+ yo as B,
4924
+ go as C,
4925
+ bo as D,
4926
+ Rr as E,
4927
+ Lr as F,
4928
+ B as G,
4929
+ d as H,
4930
+ po as I,
4931
+ Ki as J,
4932
+ vo as K,
4933
+ Eo as L,
4934
+ To as M,
4956
4935
  Jr as S,
4957
- pr as a,
4936
+ dr as a,
4958
4937
  Or as b,
4959
- Vr as c,
4960
- D as d,
4961
- wo as e,
4962
- P as f,
4963
- F as g,
4964
- L as h,
4938
+ Qr as c,
4939
+ F as d,
4940
+ C as e,
4941
+ A as f,
4942
+ So as g,
4943
+ Vr as h,
4965
4944
  Zr as i,
4966
- Ar as j,
4967
- Rr as k,
4968
- Ee as l,
4969
- Ft as m,
4970
- B as n,
4945
+ D as j,
4946
+ Pr as k,
4947
+ no as l,
4948
+ io as m,
4949
+ xo as n,
4971
4950
  Ur as o,
4972
- $ as p,
4973
- bo as q,
4974
- ct as r,
4975
- Dt as s,
4976
- To as t,
4977
- Lr as u,
4978
- go as v,
4979
- vo as w,
4980
- yo as x,
4981
- Eo as y,
4982
- Nr as z
4951
+ eo as p,
4952
+ Me as q,
4953
+ ro as r,
4954
+ Rt as s,
4955
+ wo as t,
4956
+ mo as u,
4957
+ lt as v,
4958
+ Nr as w,
4959
+ Ut as x,
4960
+ $ as y,
4961
+ _e as z
4983
4962
  };