@everymatrix/casino-calendar 1.77.20 → 1.77.21

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