@everymatrix/casino-lobby 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
  24. package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
  25. package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
  89. package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-7rPVpOym.cjs +0 -1
  94. package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,78 +1,78 @@
1
- function B() {
1
+ function A() {
2
2
  }
3
- const Br = (e) => e;
4
- function Or(e, t) {
3
+ const Lr = (e) => e;
4
+ function Mr(e, t) {
5
5
  for (const r in t) e[r] = t[r];
6
6
  return (
7
7
  /** @type {T & S} */
8
8
  e
9
9
  );
10
10
  }
11
- function Ut(e) {
11
+ function kt(e) {
12
12
  return e();
13
13
  }
14
- function lt() {
14
+ function dt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function k(e) {
18
- e.forEach(Ut);
18
+ e.forEach(kt);
19
19
  }
20
20
  function de(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Gt(e, t) {
23
+ function Vt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let be;
27
- function _o(e, t) {
27
+ function Ss(e, t) {
28
28
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
29
29
  }
30
- function Ir(e) {
30
+ function Nr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Ft(e, ...t) {
33
+ function Xt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return B;
37
+ return A;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
- function Cr(e, t, r) {
43
- e.$$.on_destroy.push(Ft(t, r));
42
+ function Rr(e, t, r) {
43
+ e.$$.on_destroy.push(Xt(t, r));
44
44
  }
45
- function vo(e, t, r, n) {
45
+ function Ts(e, t, r, n) {
46
46
  if (e) {
47
- const i = jt(e, t, r, n);
47
+ const i = Wt(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function jt(e, t, r, n) {
52
- return e[1] && n ? Or(r.ctx.slice(), e[1](n(t))) : r.ctx;
51
+ function Wt(e, t, r, n) {
52
+ return e[1] && n ? Mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function Eo(e, t, r, n) {
54
+ function Hs(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)
58
58
  return i;
59
59
  if (typeof i == "object") {
60
- const o = [], a = Math.max(t.dirty.length, i.length);
61
- for (let s = 0; s < a; s += 1)
62
- o[s] = t.dirty[s] | i[s];
63
- return o;
60
+ const s = [], a = Math.max(t.dirty.length, i.length);
61
+ for (let o = 0; o < a; o += 1)
62
+ s[o] = t.dirty[o] | i[o];
63
+ return s;
64
64
  }
65
65
  return t.dirty | i;
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function xo(e, t, r, n, i, o) {
69
+ function Bs(e, t, r, n, i, s) {
70
70
  if (i) {
71
- const a = jt(t, r, n, o);
71
+ const a = Wt(t, r, n, s);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function wo(e) {
75
+ function Ps(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,20 +81,20 @@ function wo(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function So(e) {
85
- return e && de(e.destroy) ? e.destroy : B;
84
+ function As(e) {
85
+ return e && de(e.destroy) ? e.destroy : A;
86
86
  }
87
- const kt = typeof window < "u";
88
- let Lr = kt ? () => window.performance.now() : () => Date.now(), it = kt ? (e) => requestAnimationFrame(e) : B;
87
+ const zt = typeof window < "u";
88
+ let $r = zt ? () => window.performance.now() : () => Date.now(), st = zt ? (e) => requestAnimationFrame(e) : A;
89
89
  const J = /* @__PURE__ */ new Set();
90
- function Vt(e) {
90
+ function qt(e) {
91
91
  J.forEach((t) => {
92
92
  t.c(e) || (J.delete(t), t.f());
93
- }), J.size !== 0 && it(Vt);
93
+ }), J.size !== 0 && st(qt);
94
94
  }
95
- function Nr(e) {
95
+ function Dr(e) {
96
96
  let t;
97
- return J.size === 0 && it(Vt), {
97
+ return J.size === 0 && st(qt), {
98
98
  promise: new Promise((r) => {
99
99
  J.add(t = { c: e, f: r });
100
100
  }),
@@ -106,11 +106,11 @@ function Nr(e) {
106
106
  function pe(e, t) {
107
107
  e.appendChild(t);
108
108
  }
109
- function Mr(e, t, r) {
109
+ function Ur(e, t, r) {
110
110
  const n = ot(e);
111
111
  if (!n.getElementById(t)) {
112
- const i = R("style");
113
- i.id = t, i.textContent = r, Xt(n, i);
112
+ const i = M("style");
113
+ i.id = t, i.textContent = r, Zt(n, i);
114
114
  }
115
115
  }
116
116
  function ot(e) {
@@ -122,11 +122,11 @@ function ot(e) {
122
122
  t
123
123
  ) : e.ownerDocument;
124
124
  }
125
- function Rr(e) {
126
- const t = R("style");
127
- return t.textContent = "/* empty */", Xt(ot(e), t), t.sheet;
125
+ function Gr(e) {
126
+ const t = M("style");
127
+ return t.textContent = "/* empty */", Zt(ot(e), t), t.sheet;
128
128
  }
129
- function Xt(e, t) {
129
+ function Zt(e, t) {
130
130
  return pe(
131
131
  /** @type {Document} */
132
132
  e.head || e,
@@ -136,32 +136,32 @@ function Xt(e, t) {
136
136
  function V(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function $(e) {
139
+ function R(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function $r(e, t) {
142
+ function Fr(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
- function R(e) {
146
+ function M(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Dr(e) {
149
+ function jr(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function st(e) {
152
+ function at(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
- function Ur() {
156
- return st(" ");
155
+ function kr() {
156
+ return at(" ");
157
157
  }
158
- function To() {
159
- return st("");
158
+ function Os() {
159
+ return at("");
160
160
  }
161
- function ht(e, t, r, n) {
161
+ function pt(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
- function Ho(e) {
164
+ function Is(e) {
165
165
  return function(t) {
166
166
  return t.stopPropagation(), e.call(this, t);
167
167
  };
@@ -173,21 +173,21 @@ function y(e, t, r) {
173
173
  const n = t.toLowerCase();
174
174
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : X(e, t, r);
175
175
  }
176
- function Gr(e) {
176
+ function Vr(e) {
177
177
  return Array.from(e.childNodes);
178
178
  }
179
- function Fr(e, t) {
179
+ function Xr(e, t) {
180
180
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
181
181
  t);
182
182
  }
183
- function Po(e, t) {
183
+ function Cs(e, t) {
184
184
  e.value = t ?? "";
185
185
  }
186
- function Ao(e, t, r, n) {
186
+ function Ls(e, t, r, n) {
187
187
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
188
188
  }
189
189
  let ye;
190
- function jr() {
190
+ function Wr() {
191
191
  if (ye === void 0) {
192
192
  ye = !1;
193
193
  try {
@@ -198,16 +198,16 @@ function jr() {
198
198
  }
199
199
  return ye;
200
200
  }
201
- function Bo(e, t) {
201
+ function Ms(e, t) {
202
202
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
203
- const n = R("iframe");
203
+ const n = M("iframe");
204
204
  n.setAttribute(
205
205
  "style",
206
206
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
207
207
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
208
- const i = jr();
209
- let o;
210
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ht(
208
+ const i = Wr();
209
+ let s;
210
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = pt(
211
211
  window,
212
212
  "message",
213
213
  /** @param {MessageEvent} event */
@@ -215,18 +215,18 @@ function Bo(e, t) {
215
215
  a.source === n.contentWindow && t();
216
216
  }
217
217
  )) : (n.src = "about:blank", n.onload = () => {
218
- o = ht(n.contentWindow, "resize", t), t();
218
+ s = pt(n.contentWindow, "resize", t), t();
219
219
  }), pe(e, n), () => {
220
- (i || o && n.contentWindow) && o(), $(n);
220
+ (i || s && n.contentWindow) && s(), R(n);
221
221
  };
222
222
  }
223
- function Oo(e, t, r) {
223
+ function Ns(e, t, r) {
224
224
  e.classList.toggle(t, !!r);
225
225
  }
226
- function kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
226
+ function zr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
227
227
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
228
228
  }
229
- class Io {
229
+ class Rs {
230
230
  /**
231
231
  * @private
232
232
  * @default false
@@ -257,10 +257,10 @@ class Io {
257
257
  * @returns {void}
258
258
  */
259
259
  m(t, r, n = null) {
260
- this.e || (this.is_svg ? this.e = Dr(
260
+ this.e || (this.is_svg ? this.e = jr(
261
261
  /** @type {keyof SVGElementTagNameMap} */
262
262
  r.nodeName
263
- ) : this.e = R(
263
+ ) : this.e = M(
264
264
  /** @type {keyof HTMLElementTagNameMap} */
265
265
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
266
266
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -293,10 +293,10 @@ class Io {
293
293
  /**
294
294
  * @returns {void} */
295
295
  d() {
296
- this.n.forEach($);
296
+ this.n.forEach(R);
297
297
  }
298
298
  }
299
- function Vr(e) {
299
+ function qr(e) {
300
300
  const t = {};
301
301
  return e.childNodes.forEach(
302
302
  /** @param {Element} node */
@@ -307,42 +307,42 @@ function Vr(e) {
307
307
  }
308
308
  const Te = /* @__PURE__ */ new Map();
309
309
  let He = 0;
310
- function Xr(e) {
310
+ function Zr(e) {
311
311
  let t = 5381, r = e.length;
312
312
  for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
313
313
  return t >>> 0;
314
314
  }
315
- function Wr(e, t) {
316
- const r = { stylesheet: Rr(t), rules: {} };
315
+ function Qr(e, t) {
316
+ const r = { stylesheet: Gr(t), rules: {} };
317
317
  return Te.set(e, r), r;
318
318
  }
319
- function ct(e, t, r, n, i, o, a, s = 0) {
319
+ function mt(e, t, r, n, i, s, a, o = 0) {
320
320
  const l = 16.666 / n;
321
321
  let u = `{
322
322
  `;
323
323
  for (let E = 0; E <= 1; E += l) {
324
- const S = t + (r - t) * o(E);
325
- u += E * 100 + `%{${a(S, 1 - S)}}
324
+ const T = t + (r - t) * s(E);
325
+ u += E * 100 + `%{${a(T, 1 - T)}}
326
326
  `;
327
327
  }
328
328
  const h = u + `100% {${a(r, 1 - r)}}
329
- }`, c = `__svelte_${Xr(h)}_${s}`, f = ot(e), { stylesheet: p, rules: d } = Te.get(f) || Wr(f, e);
330
- d[c] || (d[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
329
+ }`, f = `__svelte_${Zr(h)}_${o}`, c = ot(e), { stylesheet: p, rules: d } = Te.get(c) || Qr(c, e);
330
+ d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
331
331
  const m = e.style.animation || "";
332
- return e.style.animation = `${m ? `${m}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
332
+ return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, He += 1, f;
333
333
  }
334
- function zr(e, t) {
334
+ function Jr(e, t) {
335
335
  const r = (e.style.animation || "").split(", "), n = r.filter(
336
- t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
336
+ t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
337
337
  // remove all Svelte animations
338
338
  ), i = r.length - n.length;
339
- i && (e.style.animation = n.join(", "), He -= i, He || qr());
339
+ i && (e.style.animation = n.join(", "), He -= i, He || Yr());
340
340
  }
341
- function qr() {
342
- it(() => {
341
+ function Yr() {
342
+ st(() => {
343
343
  He || (Te.forEach((e) => {
344
344
  const { ownerNode: t } = e.stylesheet;
345
- t && $(t);
345
+ t && R(t);
346
346
  }), Te.clear());
347
347
  });
348
348
  }
@@ -350,32 +350,35 @@ let he;
350
350
  function le(e) {
351
351
  he = e;
352
352
  }
353
- function Wt() {
353
+ function ut() {
354
354
  if (!he) throw new Error("Function called outside component initialization");
355
355
  return he;
356
356
  }
357
- function Co(e) {
358
- Wt().$$.before_update.push(e);
357
+ function $s(e) {
358
+ ut().$$.before_update.push(e);
359
359
  }
360
- function Zr(e) {
361
- Wt().$$.on_mount.push(e);
360
+ function Kr(e) {
361
+ ut().$$.on_mount.push(e);
362
+ }
363
+ function Ds(e) {
364
+ ut().$$.on_destroy.push(e);
362
365
  }
363
- const Q = [], ke = [];
366
+ const Q = [], Ve = [];
364
367
  let Y = [];
365
- const ft = [], zt = /* @__PURE__ */ Promise.resolve();
366
- let Ve = !1;
367
- function qt() {
368
- Ve || (Ve = !0, zt.then(D));
368
+ const bt = [], Qt = /* @__PURE__ */ Promise.resolve();
369
+ let Xe = !1;
370
+ function Jt() {
371
+ Xe || (Xe = !0, Qt.then($));
369
372
  }
370
- function Lo() {
371
- return qt(), zt;
373
+ function Us() {
374
+ return Jt(), Qt;
372
375
  }
373
- function Pe(e) {
376
+ function Be(e) {
374
377
  Y.push(e);
375
378
  }
376
- const Me = /* @__PURE__ */ new Set();
379
+ const Ne = /* @__PURE__ */ new Set();
377
380
  let q = 0;
378
- function D() {
381
+ function $() {
379
382
  if (q !== 0)
380
383
  return;
381
384
  const e = he;
@@ -383,73 +386,73 @@ function D() {
383
386
  try {
384
387
  for (; q < Q.length; ) {
385
388
  const t = Q[q];
386
- q++, le(t), Qr(t.$$);
389
+ q++, le(t), en(t.$$);
387
390
  }
388
391
  } catch (t) {
389
392
  throw Q.length = 0, q = 0, t;
390
393
  }
391
- for (le(null), Q.length = 0, q = 0; ke.length; ) ke.pop()();
394
+ for (le(null), Q.length = 0, q = 0; Ve.length; ) Ve.pop()();
392
395
  for (let t = 0; t < Y.length; t += 1) {
393
396
  const r = Y[t];
394
- Me.has(r) || (Me.add(r), r());
397
+ Ne.has(r) || (Ne.add(r), r());
395
398
  }
396
399
  Y.length = 0;
397
400
  } while (Q.length);
398
- for (; ft.length; )
399
- ft.pop()();
400
- Ve = !1, Me.clear(), le(e);
401
+ for (; bt.length; )
402
+ bt.pop()();
403
+ Xe = !1, Ne.clear(), le(e);
401
404
  }
402
- function Qr(e) {
405
+ function en(e) {
403
406
  if (e.fragment !== null) {
404
407
  e.update(), k(e.before_update);
405
408
  const t = e.dirty;
406
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
409
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
407
410
  }
408
411
  }
409
- function Jr(e) {
412
+ function tn(e) {
410
413
  const t = [], r = [];
411
414
  Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
412
415
  }
413
416
  let ae;
414
- function Yr() {
417
+ function rn() {
415
418
  return ae || (ae = Promise.resolve(), ae.then(() => {
416
419
  ae = null;
417
420
  })), ae;
418
421
  }
419
422
  function Re(e, t, r) {
420
- e.dispatchEvent(kr(`${t ? "intro" : "outro"}${r}`));
423
+ e.dispatchEvent(zr(`${t ? "intro" : "outro"}${r}`));
421
424
  }
422
425
  const ve = /* @__PURE__ */ new Set();
423
- let U;
424
- function No() {
425
- U = {
426
+ let D;
427
+ function Gs() {
428
+ D = {
426
429
  r: 0,
427
430
  c: [],
428
- p: U
431
+ p: D
429
432
  // parent group
430
433
  };
431
434
  }
432
- function Mo() {
433
- U.r || k(U.c), U = U.p;
435
+ function Fs() {
436
+ D.r || k(D.c), D = D.p;
434
437
  }
435
- function Zt(e, t) {
438
+ function Yt(e, t) {
436
439
  e && e.i && (ve.delete(e), e.i(t));
437
440
  }
438
- function Ro(e, t, r, n) {
441
+ function js(e, t, r, n) {
439
442
  if (e && e.o) {
440
443
  if (ve.has(e)) return;
441
- ve.add(e), U.c.push(() => {
444
+ ve.add(e), D.c.push(() => {
442
445
  ve.delete(e), n && (r && e.d(1), n());
443
446
  }), e.o(t);
444
447
  } else n && n();
445
448
  }
446
- const Kr = { duration: 0 };
447
- function $o(e, t, r, n) {
448
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
449
- function c() {
450
- u && zr(e, u);
449
+ const nn = { duration: 0 };
450
+ function ks(e, t, r, n) {
451
+ let s = t(e, r, { direction: "both" }), a = n ? 0 : 1, o = null, l = null, u = null, h;
452
+ function f() {
453
+ u && Jr(e, u);
451
454
  }
452
- function f(d, m) {
455
+ function c(d, m) {
453
456
  const E = (
454
457
  /** @type {Program['d']} */
455
458
  d.b - a
@@ -468,101 +471,101 @@ function $o(e, t, r, n) {
468
471
  const {
469
472
  delay: m = 0,
470
473
  duration: E = 300,
471
- easing: S = Br,
472
- tick: H = B,
473
- css: T
474
- } = o || Kr, O = {
475
- start: Lr() + m,
474
+ easing: T = Lr,
475
+ tick: H = A,
476
+ css: S
477
+ } = s || nn, O = {
478
+ start: $r() + m,
476
479
  b: d
477
480
  };
478
- d || (O.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
479
- e.inert, e.inert = !0)), s || l ? l = O : (T && (c(), u = ct(e, a, d, E, m, S, T)), d && H(0, 1), s = f(O, E), Pe(() => Re(e, d, "start")), Nr((P) => {
480
- if (l && P > l.start && (s = f(l, E), l = null, Re(e, s.b, "start"), T && (c(), u = ct(
481
+ d || (O.group = D, D.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
482
+ e.inert, e.inert = !0)), o || l ? l = O : (S && (f(), u = mt(e, a, d, E, m, T, S)), d && H(0, 1), o = c(O, E), Be(() => Re(e, d, "start")), Dr((B) => {
483
+ if (l && B > l.start && (o = c(l, E), l = null, Re(e, o.b, "start"), S && (f(), u = mt(
481
484
  e,
482
485
  a,
483
- s.b,
484
- s.duration,
486
+ o.b,
487
+ o.duration,
485
488
  0,
486
- S,
487
- o.css
488
- ))), s) {
489
- if (P >= s.end)
490
- H(a = s.b, 1 - a), Re(e, s.b, "end"), l || (s.b ? c() : --s.group.r || k(s.group.c)), s = null;
491
- else if (P >= s.start) {
492
- const C = P - s.start;
493
- a = s.a + s.d * S(C / s.duration), H(a, 1 - a);
489
+ T,
490
+ s.css
491
+ ))), o) {
492
+ if (B >= o.end)
493
+ H(a = o.b, 1 - a), Re(e, o.b, "end"), l || (o.b ? f() : --o.group.r || k(o.group.c)), o = null;
494
+ else if (B >= o.start) {
495
+ const C = B - o.start;
496
+ a = o.a + o.d * T(C / o.duration), H(a, 1 - a);
494
497
  }
495
498
  }
496
- return !!(s || l);
499
+ return !!(o || l);
497
500
  }));
498
501
  }
499
502
  return {
500
503
  run(d) {
501
- de(o) ? Yr().then(() => {
502
- o = o({ direction: d ? "in" : "out" }), p(d);
504
+ de(s) ? rn().then(() => {
505
+ s = s({ direction: d ? "in" : "out" }), p(d);
503
506
  }) : p(d);
504
507
  },
505
508
  end() {
506
- c(), s = l = null;
509
+ f(), o = l = null;
507
510
  }
508
511
  };
509
512
  }
510
- function dt(e) {
513
+ function yt(e) {
511
514
  return e?.length !== void 0 ? e : Array.from(e);
512
515
  }
513
- function Do(e, t) {
516
+ function Vs(e, t) {
514
517
  e.d(1), t.delete(e.key);
515
518
  }
516
- function Uo(e, t, r, n, i, o, a, s, l, u, h, c) {
517
- let f = e.length, p = o.length, d = f;
519
+ function Xs(e, t, r, n, i, s, a, o, l, u, h, f) {
520
+ let c = e.length, p = s.length, d = c;
518
521
  const m = {};
519
522
  for (; d--; ) m[e[d].key] = d;
520
- const E = [], S = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), T = [];
523
+ const E = [], T = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), S = [];
521
524
  for (d = p; d--; ) {
522
- const x = c(i, o, d), L = r(x);
523
- let N = a.get(L);
524
- N ? T.push(() => N.p(x, t)) : (N = u(L, x), N.c()), S.set(L, E[d] = N), L in m && H.set(L, Math.abs(d - m[L]));
525
+ const w = f(i, s, d), L = r(w);
526
+ let I = a.get(L);
527
+ I ? S.push(() => I.p(w, t)) : (I = u(L, w), I.c()), T.set(L, E[d] = I), L in m && H.set(L, Math.abs(d - m[L]));
525
528
  }
526
- const O = /* @__PURE__ */ new Set(), P = /* @__PURE__ */ new Set();
527
- function C(x) {
528
- Zt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
529
+ const O = /* @__PURE__ */ new Set(), B = /* @__PURE__ */ new Set();
530
+ function C(w) {
531
+ Yt(w, 1), w.m(o, h), a.set(w.key, w), h = w.first, p--;
529
532
  }
530
- for (; f && p; ) {
531
- const x = E[p - 1], L = e[f - 1], N = x.key, z = L.key;
532
- x === L ? (h = x.first, f--, p--) : S.has(z) ? !a.has(N) || O.has(N) ? C(x) : P.has(z) ? f-- : H.get(N) > H.get(z) ? (P.add(N), C(x)) : (O.add(z), f--) : (l(L, a), f--);
533
+ for (; c && p; ) {
534
+ const w = E[p - 1], L = e[c - 1], I = w.key, z = L.key;
535
+ w === L ? (h = w.first, c--, p--) : T.has(z) ? !a.has(I) || O.has(I) ? C(w) : B.has(z) ? c-- : H.get(I) > H.get(z) ? (B.add(I), C(w)) : (O.add(z), c--) : (l(L, a), c--);
533
536
  }
534
- for (; f--; ) {
535
- const x = e[f];
536
- S.has(x.key) || l(x, a);
537
+ for (; c--; ) {
538
+ const w = e[c];
539
+ T.has(w.key) || l(w, a);
537
540
  }
538
541
  for (; p; ) C(E[p - 1]);
539
- return k(T), E;
542
+ return k(S), E;
540
543
  }
541
- function en(e, t, r) {
544
+ function sn(e, t, r) {
542
545
  const { fragment: n, after_update: i } = e.$$;
543
- n && n.m(t, r), Pe(() => {
544
- const o = e.$$.on_mount.map(Ut).filter(de);
545
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
546
- }), i.forEach(Pe);
546
+ n && n.m(t, r), Be(() => {
547
+ const s = e.$$.on_mount.map(kt).filter(de);
548
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : k(s), e.$$.on_mount = [];
549
+ }), i.forEach(Be);
547
550
  }
548
- function tn(e, t) {
551
+ function on(e, t) {
549
552
  const r = e.$$;
550
- r.fragment !== null && (Jr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
553
+ r.fragment !== null && (tn(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
551
554
  }
552
- function rn(e, t) {
553
- e.$$.dirty[0] === -1 && (Q.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
555
+ function an(e, t) {
556
+ e.$$.dirty[0] === -1 && (Q.push(e), Jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
554
557
  }
555
- function nn(e, t, r, n, i, o, a = null, s = [-1]) {
558
+ function un(e, t, r, n, i, s, a = null, o = [-1]) {
556
559
  const l = he;
557
560
  le(e);
558
561
  const u = e.$$ = {
559
562
  fragment: null,
560
563
  ctx: [],
561
564
  // state
562
- props: o,
563
- update: B,
565
+ props: s,
566
+ update: A,
564
567
  not_equal: i,
565
- bound: lt(),
568
+ bound: dt(),
566
569
  // lifecycle
567
570
  on_mount: [],
568
571
  on_destroy: [],
@@ -571,28 +574,28 @@ function nn(e, t, r, n, i, o, a = null, s = [-1]) {
571
574
  after_update: [],
572
575
  context: new Map(t.context || (l ? l.$$.context : [])),
573
576
  // everything else
574
- callbacks: lt(),
575
- dirty: s,
577
+ callbacks: dt(),
578
+ dirty: o,
576
579
  skip_bound: !1,
577
580
  root: t.target || l.$$.root
578
581
  };
579
582
  a && a(u.root);
580
583
  let h = !1;
581
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
582
- const d = p.length ? p[0] : f;
583
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && rn(e, c)), f;
584
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
585
+ const d = p.length ? p[0] : c;
586
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && an(e, f)), c;
584
587
  }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
585
588
  if (t.hydrate) {
586
- const c = Gr(t.target);
587
- u.fragment && u.fragment.l(c), c.forEach($);
589
+ const f = Vr(t.target);
590
+ u.fragment && u.fragment.l(f), f.forEach(R);
588
591
  } else
589
592
  u.fragment && u.fragment.c();
590
- t.intro && Zt(e.$$.fragment), en(e, t.target, t.anchor), D();
593
+ t.intro && Yt(e.$$.fragment), sn(e, t.target, t.anchor), $();
591
594
  }
592
595
  le(l);
593
596
  }
594
- let Qt;
595
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
597
+ let Kt;
598
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
596
599
  /** The Svelte component constructor */
597
600
  $$ctor;
598
601
  /** Slots */
@@ -631,32 +634,32 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
631
634
  if (this.$$cn = !0, !this.$$c) {
632
635
  let e = function(i) {
633
636
  return () => {
634
- let o;
637
+ let s;
635
638
  return {
636
639
  c: function() {
637
- o = R("slot"), i !== "default" && X(o, "name", i);
640
+ s = M("slot"), i !== "default" && X(s, "name", i);
638
641
  },
639
642
  /**
640
643
  * @param {HTMLElement} target
641
644
  * @param {HTMLElement} [anchor]
642
645
  */
643
646
  m: function(l, u) {
644
- V(l, o, u);
647
+ V(l, s, u);
645
648
  },
646
649
  d: function(l) {
647
- l && $(o);
650
+ l && R(s);
648
651
  }
649
652
  };
650
653
  };
651
654
  };
652
655
  if (await Promise.resolve(), !this.$$cn || this.$$c)
653
656
  return;
654
- const t = {}, r = Vr(this);
657
+ const t = {}, r = qr(this);
655
658
  for (const i of this.$$s)
656
659
  i in r && (t[i] = [e(i)]);
657
660
  for (const i of this.attributes) {
658
- const o = this.$$g_p(i.name);
659
- o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
661
+ const s = this.$$g_p(i.name);
662
+ s in this.$$d || (this.$$d[s] = Ee(s, i.value, this.$$p_d, "toProp"));
660
663
  }
661
664
  for (const i in this.$$p_d)
662
665
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -674,21 +677,21 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
674
677
  this.$$r = !0;
675
678
  for (const i in this.$$p_d)
676
679
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
677
- const o = Ee(
680
+ const s = Ee(
678
681
  i,
679
682
  this.$$d[i],
680
683
  this.$$p_d,
681
684
  "toAttribute"
682
685
  );
683
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
686
+ s == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, s);
684
687
  }
685
688
  this.$$r = !1;
686
689
  };
687
690
  this.$$c.$$.after_update.push(n), n();
688
691
  for (const i in this.$$l)
689
- for (const o of this.$$l[i]) {
690
- const a = this.$$c.$on(i, o);
691
- this.$$l_u.set(o, a);
692
+ for (const s of this.$$l[i]) {
693
+ const a = this.$$c.$on(i, s);
694
+ this.$$l_u.set(s, a);
692
695
  }
693
696
  this.$$l = {};
694
697
  }
@@ -738,36 +741,36 @@ function Ee(e, t, r, n) {
738
741
  return t;
739
742
  }
740
743
  }
741
- function on(e, t, r, n, i, o) {
742
- let a = class extends Qt {
744
+ function ln(e, t, r, n, i, s) {
745
+ let a = class extends Kt {
743
746
  constructor() {
744
747
  super(e, r, i), this.$$p_d = t;
745
748
  }
746
749
  static get observedAttributes() {
747
750
  return Object.keys(t).map(
748
- (s) => (t[s].attribute || s).toLowerCase()
751
+ (o) => (t[o].attribute || o).toLowerCase()
749
752
  );
750
753
  }
751
754
  };
752
- return Object.keys(t).forEach((s) => {
753
- Object.defineProperty(a.prototype, s, {
755
+ return Object.keys(t).forEach((o) => {
756
+ Object.defineProperty(a.prototype, o, {
754
757
  get() {
755
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
758
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
756
759
  },
757
760
  set(l) {
758
- l = Ee(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
761
+ l = Ee(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
759
762
  }
760
763
  });
761
- }), n.forEach((s) => {
762
- Object.defineProperty(a.prototype, s, {
764
+ }), n.forEach((o) => {
765
+ Object.defineProperty(a.prototype, o, {
763
766
  get() {
764
- return this.$$c?.[s];
767
+ return this.$$c?.[o];
765
768
  }
766
769
  });
767
770
  }), e.element = /** @type {any} */
768
771
  a, a;
769
772
  }
770
- class sn {
773
+ class hn {
771
774
  /**
772
775
  * ### PRIVATE API
773
776
  *
@@ -786,7 +789,7 @@ class sn {
786
789
  $$set = void 0;
787
790
  /** @returns {void} */
788
791
  $destroy() {
789
- tn(this, 1), this.$destroy = B;
792
+ on(this, 1), this.$destroy = A;
790
793
  }
791
794
  /**
792
795
  * @template {Extract<keyof Events, string>} K
@@ -796,7 +799,7 @@ class sn {
796
799
  */
797
800
  $on(t, r) {
798
801
  if (!de(r))
799
- return B;
802
+ return A;
800
803
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
801
804
  return n.push(r), () => {
802
805
  const i = n.indexOf(r);
@@ -808,22 +811,22 @@ class sn {
808
811
  * @returns {void}
809
812
  */
810
813
  $set(t) {
811
- this.$$set && !Ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
814
+ this.$$set && !Nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
812
815
  }
813
816
  }
814
- const an = "4";
815
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
816
- var Xe = function(e, t) {
817
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
817
+ const cn = "4";
818
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
819
+ var We = function(e, t) {
820
+ return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
818
821
  r.__proto__ = n;
819
822
  } || function(r, n) {
820
823
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
821
- }, Xe(e, t);
824
+ }, We(e, t);
822
825
  };
823
- function F(e, t) {
826
+ function G(e, t) {
824
827
  if (typeof t != "function" && t !== null)
825
828
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
826
- Xe(e, t);
829
+ We(e, t);
827
830
  function r() {
828
831
  this.constructor = e;
829
832
  }
@@ -833,12 +836,12 @@ var v = function() {
833
836
  return v = Object.assign || function(t) {
834
837
  for (var r, n = 1, i = arguments.length; n < i; n++) {
835
838
  r = arguments[n];
836
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
839
+ for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
837
840
  }
838
841
  return t;
839
842
  }, v.apply(this, arguments);
840
843
  };
841
- function un(e, t) {
844
+ function fn(e, t) {
842
845
  var r = {};
843
846
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
844
847
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -846,7 +849,7 @@ function un(e, t) {
846
849
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
847
850
  return r;
848
851
  }
849
- function We(e) {
852
+ function ze(e) {
850
853
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
851
854
  if (r) return r.call(e);
852
855
  if (e && typeof e.length == "number") return {
@@ -856,14 +859,14 @@ function We(e) {
856
859
  };
857
860
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
858
861
  }
859
- function ze(e, t) {
862
+ function qe(e, t) {
860
863
  var r = typeof Symbol == "function" && e[Symbol.iterator];
861
864
  if (!r) return e;
862
- var n = r.call(e), i, o = [], a;
865
+ var n = r.call(e), i, s = [], a;
863
866
  try {
864
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
865
- } catch (s) {
866
- a = { error: s };
867
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) s.push(i.value);
868
+ } catch (o) {
869
+ a = { error: o };
867
870
  } finally {
868
871
  try {
869
872
  i && !i.done && (r = n.return) && r.call(n);
@@ -871,23 +874,23 @@ function ze(e, t) {
871
874
  if (a) throw a.error;
872
875
  }
873
876
  }
874
- return o;
877
+ return s;
875
878
  }
876
879
  function K(e, t, r) {
877
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
878
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
879
- return e.concat(o || Array.prototype.slice.call(t));
880
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
881
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
882
+ return e.concat(s || Array.prototype.slice.call(t));
880
883
  }
881
- function G(e) {
884
+ function U(e) {
882
885
  return typeof e == "function";
883
886
  }
884
- function Jt(e) {
887
+ function er(e) {
885
888
  var t = function(n) {
886
889
  Error.call(n), n.stack = new Error().stack;
887
890
  }, r = e(t);
888
891
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
889
892
  }
890
- var $e = Jt(function(e) {
893
+ var $e = er(function(e) {
891
894
  return function(r) {
892
895
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
893
896
  ` + r.map(function(n, i) {
@@ -896,7 +899,7 @@ var $e = Jt(function(e) {
896
899
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
897
900
  };
898
901
  });
899
- function qe(e, t) {
902
+ function Ze(e, t) {
900
903
  if (e) {
901
904
  var r = e.indexOf(t);
902
905
  0 <= r && e.splice(r, 1);
@@ -907,14 +910,14 @@ var Oe = function() {
907
910
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
908
911
  }
909
912
  return e.prototype.unsubscribe = function() {
910
- var t, r, n, i, o;
913
+ var t, r, n, i, s;
911
914
  if (!this.closed) {
912
915
  this.closed = !0;
913
916
  var a = this._parentage;
914
917
  if (a)
915
918
  if (this._parentage = null, Array.isArray(a))
916
919
  try {
917
- for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
920
+ for (var o = ze(a), l = o.next(); !l.done; l = o.next()) {
918
921
  var u = l.value;
919
922
  u.remove(this);
920
923
  }
@@ -922,7 +925,7 @@ var Oe = function() {
922
925
  t = { error: m };
923
926
  } finally {
924
927
  try {
925
- l && !l.done && (r = s.return) && r.call(s);
928
+ l && !l.done && (r = o.return) && r.call(o);
926
929
  } finally {
927
930
  if (t) throw t.error;
928
931
  }
@@ -930,42 +933,42 @@ var Oe = function() {
930
933
  else
931
934
  a.remove(this);
932
935
  var h = this.initialTeardown;
933
- if (G(h))
936
+ if (U(h))
934
937
  try {
935
938
  h();
936
939
  } catch (m) {
937
- o = m instanceof $e ? m.errors : [m];
940
+ s = m instanceof $e ? m.errors : [m];
938
941
  }
939
- var c = this._finalizers;
940
- if (c) {
942
+ var f = this._finalizers;
943
+ if (f) {
941
944
  this._finalizers = null;
942
945
  try {
943
- for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
946
+ for (var c = ze(f), p = c.next(); !p.done; p = c.next()) {
944
947
  var d = p.value;
945
948
  try {
946
- pt(d);
949
+ gt(d);
947
950
  } catch (m) {
948
- o = o ?? [], m instanceof $e ? o = K(K([], ze(o)), ze(m.errors)) : o.push(m);
951
+ s = s ?? [], m instanceof $e ? s = K(K([], qe(s)), qe(m.errors)) : s.push(m);
949
952
  }
950
953
  }
951
954
  } catch (m) {
952
955
  n = { error: m };
953
956
  } finally {
954
957
  try {
955
- p && !p.done && (i = f.return) && i.call(f);
958
+ p && !p.done && (i = c.return) && i.call(c);
956
959
  } finally {
957
960
  if (n) throw n.error;
958
961
  }
959
962
  }
960
963
  }
961
- if (o)
962
- throw new $e(o);
964
+ if (s)
965
+ throw new $e(s);
963
966
  }
964
967
  }, e.prototype.add = function(t) {
965
968
  var r;
966
969
  if (t && t !== this)
967
970
  if (this.closed)
968
- pt(t);
971
+ gt(t);
969
972
  else {
970
973
  if (t instanceof e) {
971
974
  if (t.closed || t._hasParent(this))
@@ -982,52 +985,56 @@ var Oe = function() {
982
985
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
983
986
  }, e.prototype._removeParent = function(t) {
984
987
  var r = this._parentage;
985
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
988
+ r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
986
989
  }, e.prototype.remove = function(t) {
987
990
  var r = this._finalizers;
988
- r && qe(r, t), t instanceof e && t._removeParent(this);
991
+ r && Ze(r, t), t instanceof e && t._removeParent(this);
989
992
  }, e.EMPTY = function() {
990
993
  var t = new e();
991
994
  return t.closed = !0, t;
992
995
  }(), e;
993
- }(), Yt = Oe.EMPTY;
994
- function Kt(e) {
995
- return e instanceof Oe || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
996
- }
997
- function pt(e) {
998
- G(e) ? e() : e.unsubscribe();
999
- }
1000
- var ln = {
1001
- Promise: void 0
1002
- }, hn = {
996
+ }(), tr = Oe.EMPTY;
997
+ function rr(e) {
998
+ return e instanceof Oe || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
999
+ }
1000
+ function gt(e) {
1001
+ U(e) ? e() : e.unsubscribe();
1002
+ }
1003
+ var nr = {
1004
+ onUnhandledError: null,
1005
+ onStoppedNotification: null,
1006
+ Promise: void 0,
1007
+ useDeprecatedSynchronousErrorHandling: !1,
1008
+ useDeprecatedNextContext: !1
1009
+ }, dn = {
1003
1010
  setTimeout: function(e, t) {
1004
1011
  for (var r = [], n = 2; n < arguments.length; n++)
1005
1012
  r[n - 2] = arguments[n];
1006
- return setTimeout.apply(void 0, K([e, t], ze(r)));
1013
+ return setTimeout.apply(void 0, K([e, t], qe(r)));
1007
1014
  },
1008
1015
  clearTimeout: function(e) {
1009
1016
  return clearTimeout(e);
1010
1017
  },
1011
1018
  delegate: void 0
1012
1019
  };
1013
- function cn(e) {
1014
- hn.setTimeout(function() {
1020
+ function pn(e) {
1021
+ dn.setTimeout(function() {
1015
1022
  throw e;
1016
1023
  });
1017
1024
  }
1018
- function mt() {
1025
+ function _t() {
1019
1026
  }
1020
1027
  function xe(e) {
1021
1028
  e();
1022
1029
  }
1023
- var er = function(e) {
1024
- F(t, e);
1030
+ var ir = function(e) {
1031
+ G(t, e);
1025
1032
  function t(r) {
1026
1033
  var n = e.call(this) || this;
1027
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = pn, n;
1034
+ return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = gn, n;
1028
1035
  }
1029
1036
  return t.create = function(r, n, i) {
1030
- return new Ze(r, n, i);
1037
+ return new Qe(r, n, i);
1031
1038
  }, t.prototype.next = function(r) {
1032
1039
  this.isStopped || this._next(r);
1033
1040
  }, t.prototype.error = function(r) {
@@ -1051,7 +1058,11 @@ var er = function(e) {
1051
1058
  this.unsubscribe();
1052
1059
  }
1053
1060
  }, t;
1054
- }(Oe), fn = function() {
1061
+ }(Oe), mn = Function.prototype.bind;
1062
+ function De(e, t) {
1063
+ return mn.call(e, t);
1064
+ }
1065
+ var bn = function() {
1055
1066
  function e(t) {
1056
1067
  this.partialObserver = t;
1057
1068
  }
@@ -1082,43 +1093,55 @@ var er = function(e) {
1082
1093
  ge(r);
1083
1094
  }
1084
1095
  }, e;
1085
- }(), Ze = function(e) {
1086
- F(t, e);
1096
+ }(), Qe = function(e) {
1097
+ G(t, e);
1087
1098
  function t(r, n, i) {
1088
- var o = e.call(this) || this, a;
1089
- return G(r) || !r ? a = {
1090
- next: r ?? void 0,
1091
- error: n ?? void 0,
1092
- complete: i ?? void 0
1093
- } : a = r, o.destination = new fn(a), o;
1099
+ var s = e.call(this) || this, a;
1100
+ if (U(r) || !r)
1101
+ a = {
1102
+ next: r ?? void 0,
1103
+ error: n ?? void 0,
1104
+ complete: i ?? void 0
1105
+ };
1106
+ else {
1107
+ var o;
1108
+ s && nr.useDeprecatedNextContext ? (o = Object.create(r), o.unsubscribe = function() {
1109
+ return s.unsubscribe();
1110
+ }, a = {
1111
+ next: r.next && De(r.next, o),
1112
+ error: r.error && De(r.error, o),
1113
+ complete: r.complete && De(r.complete, o)
1114
+ }) : a = r;
1115
+ }
1116
+ return s.destination = new bn(a), s;
1094
1117
  }
1095
1118
  return t;
1096
- }(er);
1119
+ }(ir);
1097
1120
  function ge(e) {
1098
- cn(e);
1121
+ pn(e);
1099
1122
  }
1100
- function dn(e) {
1123
+ function yn(e) {
1101
1124
  throw e;
1102
1125
  }
1103
- var pn = {
1126
+ var gn = {
1104
1127
  closed: !0,
1105
- next: mt,
1106
- error: dn,
1107
- complete: mt
1108
- }, mn = function() {
1128
+ next: _t,
1129
+ error: yn,
1130
+ complete: _t
1131
+ }, _n = function() {
1109
1132
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1110
1133
  }();
1111
- function bn(e) {
1134
+ function vn(e) {
1112
1135
  return e;
1113
1136
  }
1114
- function yn(e) {
1115
- return e.length === 0 ? bn : e.length === 1 ? e[0] : function(r) {
1137
+ function En(e) {
1138
+ return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
1116
1139
  return e.reduce(function(n, i) {
1117
1140
  return i(n);
1118
1141
  }, r);
1119
1142
  };
1120
1143
  }
1121
- var bt = function() {
1144
+ var vt = function() {
1122
1145
  function e(t) {
1123
1146
  t && (this._subscribe = t);
1124
1147
  }
@@ -1126,11 +1149,11 @@ var bt = function() {
1126
1149
  var r = new e();
1127
1150
  return r.source = this, r.operator = t, r;
1128
1151
  }, e.prototype.subscribe = function(t, r, n) {
1129
- var i = this, o = _n(t) ? t : new Ze(t, r, n);
1152
+ var i = this, s = wn(t) ? t : new Qe(t, r, n);
1130
1153
  return xe(function() {
1131
- var a = i, s = a.operator, l = a.source;
1132
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1133
- }), o;
1154
+ var a = i, o = a.operator, l = a.source;
1155
+ s.add(o ? o.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
1156
+ }), s;
1134
1157
  }, e.prototype._trySubscribe = function(t) {
1135
1158
  try {
1136
1159
  return this._subscribe(t);
@@ -1139,16 +1162,16 @@ var bt = function() {
1139
1162
  }
1140
1163
  }, e.prototype.forEach = function(t, r) {
1141
1164
  var n = this;
1142
- return r = yt(r), new r(function(i, o) {
1143
- var a = new Ze({
1144
- next: function(s) {
1165
+ return r = Et(r), new r(function(i, s) {
1166
+ var a = new Qe({
1167
+ next: function(o) {
1145
1168
  try {
1146
- t(s);
1169
+ t(o);
1147
1170
  } catch (l) {
1148
- o(l), a.unsubscribe();
1171
+ s(l), a.unsubscribe();
1149
1172
  }
1150
1173
  },
1151
- error: o,
1174
+ error: s,
1152
1175
  complete: i
1153
1176
  });
1154
1177
  n.subscribe(a);
@@ -1156,70 +1179,70 @@ var bt = function() {
1156
1179
  }, e.prototype._subscribe = function(t) {
1157
1180
  var r;
1158
1181
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1159
- }, e.prototype[mn] = function() {
1182
+ }, e.prototype[_n] = function() {
1160
1183
  return this;
1161
1184
  }, e.prototype.pipe = function() {
1162
1185
  for (var t = [], r = 0; r < arguments.length; r++)
1163
1186
  t[r] = arguments[r];
1164
- return yn(t)(this);
1187
+ return En(t)(this);
1165
1188
  }, e.prototype.toPromise = function(t) {
1166
1189
  var r = this;
1167
- return t = yt(t), new t(function(n, i) {
1168
- var o;
1190
+ return t = Et(t), new t(function(n, i) {
1191
+ var s;
1169
1192
  r.subscribe(function(a) {
1170
- return o = a;
1193
+ return s = a;
1171
1194
  }, function(a) {
1172
1195
  return i(a);
1173
1196
  }, function() {
1174
- return n(o);
1197
+ return n(s);
1175
1198
  });
1176
1199
  });
1177
1200
  }, e.create = function(t) {
1178
1201
  return new e(t);
1179
1202
  }, e;
1180
1203
  }();
1181
- function yt(e) {
1204
+ function Et(e) {
1182
1205
  var t;
1183
- return (t = e ?? ln.Promise) !== null && t !== void 0 ? t : Promise;
1206
+ return (t = e ?? nr.Promise) !== null && t !== void 0 ? t : Promise;
1184
1207
  }
1185
- function gn(e) {
1186
- return e && G(e.next) && G(e.error) && G(e.complete);
1208
+ function xn(e) {
1209
+ return e && U(e.next) && U(e.error) && U(e.complete);
1187
1210
  }
1188
- function _n(e) {
1189
- return e && e instanceof er || gn(e) && Kt(e);
1211
+ function wn(e) {
1212
+ return e && e instanceof ir || xn(e) && rr(e);
1190
1213
  }
1191
- var vn = Jt(function(e) {
1214
+ var Sn = er(function(e) {
1192
1215
  return function() {
1193
1216
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1194
1217
  };
1195
- }), tr = function(e) {
1196
- F(t, e);
1218
+ }), sr = function(e) {
1219
+ G(t, e);
1197
1220
  function t() {
1198
1221
  var r = e.call(this) || this;
1199
1222
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1200
1223
  }
1201
1224
  return t.prototype.lift = function(r) {
1202
- var n = new gt(this, this);
1225
+ var n = new xt(this, this);
1203
1226
  return n.operator = r, n;
1204
1227
  }, t.prototype._throwIfClosed = function() {
1205
1228
  if (this.closed)
1206
- throw new vn();
1229
+ throw new Sn();
1207
1230
  }, t.prototype.next = function(r) {
1208
1231
  var n = this;
1209
1232
  xe(function() {
1210
- var i, o;
1233
+ var i, s;
1211
1234
  if (n._throwIfClosed(), !n.isStopped) {
1212
1235
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1213
1236
  try {
1214
- for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1215
- var l = s.value;
1237
+ for (var a = ze(n.currentObservers), o = a.next(); !o.done; o = a.next()) {
1238
+ var l = o.value;
1216
1239
  l.next(r);
1217
1240
  }
1218
1241
  } catch (u) {
1219
1242
  i = { error: u };
1220
1243
  } finally {
1221
1244
  try {
1222
- s && !s.done && (o = a.return) && o.call(a);
1245
+ o && !o.done && (s = a.return) && s.call(a);
1223
1246
  } finally {
1224
1247
  if (i) throw i.error;
1225
1248
  }
@@ -1258,21 +1281,21 @@ var vn = Jt(function(e) {
1258
1281
  }, t.prototype._subscribe = function(r) {
1259
1282
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1260
1283
  }, t.prototype._innerSubscribe = function(r) {
1261
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1262
- return o || a ? Yt : (this.currentObservers = null, s.push(r), new Oe(function() {
1263
- n.currentObservers = null, qe(s, r);
1284
+ var n = this, i = this, s = i.hasError, a = i.isStopped, o = i.observers;
1285
+ return s || a ? tr : (this.currentObservers = null, o.push(r), new Oe(function() {
1286
+ n.currentObservers = null, Ze(o, r);
1264
1287
  }));
1265
1288
  }, t.prototype._checkFinalizedStatuses = function(r) {
1266
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1267
- i ? r.error(o) : a && r.complete();
1289
+ var n = this, i = n.hasError, s = n.thrownError, a = n.isStopped;
1290
+ i ? r.error(s) : a && r.complete();
1268
1291
  }, t.prototype.asObservable = function() {
1269
- var r = new bt();
1292
+ var r = new vt();
1270
1293
  return r.source = this, r;
1271
1294
  }, t.create = function(r, n) {
1272
- return new gt(r, n);
1295
+ return new xt(r, n);
1273
1296
  }, t;
1274
- }(bt), gt = function(e) {
1275
- F(t, e);
1297
+ }(vt), xt = function(e) {
1298
+ G(t, e);
1276
1299
  function t(r, n) {
1277
1300
  var i = e.call(this) || this;
1278
1301
  return i.destination = r, i.source = n, i;
@@ -1288,54 +1311,54 @@ var vn = Jt(function(e) {
1288
1311
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1289
1312
  }, t.prototype._subscribe = function(r) {
1290
1313
  var n, i;
1291
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1314
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
1292
1315
  }, t;
1293
- }(tr), rr = {
1316
+ }(sr), or = {
1294
1317
  now: function() {
1295
- return (rr.delegate || Date).now();
1318
+ return (or.delegate || Date).now();
1296
1319
  },
1297
1320
  delegate: void 0
1298
- }, En = function(e) {
1299
- F(t, e);
1321
+ }, Tn = function(e) {
1322
+ G(t, e);
1300
1323
  function t(r, n, i) {
1301
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
1302
- var o = e.call(this) || this;
1303
- 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;
1324
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
1325
+ var s = e.call(this) || this;
1326
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1304
1327
  }
1305
1328
  return t.prototype.next = function(r) {
1306
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1307
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1329
+ var n = this, i = n.isStopped, s = n._buffer, a = n._infiniteTimeWindow, o = n._timestampProvider, l = n._windowTime;
1330
+ i || (s.push(r), !a && s.push(o.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1308
1331
  }, t.prototype._subscribe = function(r) {
1309
1332
  this._throwIfClosed(), this._trimBuffer();
1310
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1311
- r.next(s[l]);
1333
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, a = i._buffer, o = a.slice(), l = 0; l < o.length && !r.closed; l += s ? 1 : 2)
1334
+ r.next(o[l]);
1312
1335
  return this._checkFinalizedStatuses(r), n;
1313
1336
  }, t.prototype._trimBuffer = function() {
1314
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1315
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1316
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1337
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, a = r._infiniteTimeWindow, o = (a ? 1 : 2) * n;
1338
+ if (n < 1 / 0 && o < s.length && s.splice(0, s.length - o), !a) {
1339
+ for (var l = i.now(), u = 0, h = 1; h < s.length && s[h] <= l; h += 2)
1317
1340
  u = h;
1318
- u && o.splice(0, u + 1);
1341
+ u && s.splice(0, u + 1);
1319
1342
  }
1320
1343
  }, t;
1321
- }(tr);
1322
- const _t = [], vt = {}, xn = (e, t = 0) => {
1323
- if (_t.indexOf(e) == -1) {
1324
- const r = new En(t);
1325
- vt[e] = r, _t.push(e);
1344
+ }(sr);
1345
+ const wt = [], St = {}, Hn = (e, t = 0) => {
1346
+ if (wt.indexOf(e) == -1) {
1347
+ const r = new Tn(t);
1348
+ St[e] = r, wt.push(e);
1326
1349
  }
1327
- return vt[e];
1350
+ return St[e];
1328
1351
  }, Z = [];
1329
- function wn(e, t) {
1352
+ function Bn(e, t) {
1330
1353
  return {
1331
1354
  subscribe: Ie(e, t).subscribe
1332
1355
  };
1333
1356
  }
1334
- function Ie(e, t = B) {
1357
+ function Ie(e, t = A) {
1335
1358
  let r;
1336
1359
  const n = /* @__PURE__ */ new Set();
1337
- function i(s) {
1338
- if (Gt(e, s) && (e = s, r)) {
1360
+ function i(o) {
1361
+ if (Vt(e, o) && (e = o, r)) {
1339
1362
  const l = !Z.length;
1340
1363
  for (const u of n)
1341
1364
  u[1](), Z.push(u, e);
@@ -1346,112 +1369,112 @@ function Ie(e, t = B) {
1346
1369
  }
1347
1370
  }
1348
1371
  }
1349
- function o(s) {
1350
- i(s(e));
1372
+ function s(o) {
1373
+ i(o(e));
1351
1374
  }
1352
- function a(s, l = B) {
1353
- const u = [s, l];
1354
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1375
+ function a(o, l = A) {
1376
+ const u = [o, l];
1377
+ return n.add(u), n.size === 1 && (r = t(i, s) || A), o(e), () => {
1355
1378
  n.delete(u), n.size === 0 && r && (r(), r = null);
1356
1379
  };
1357
1380
  }
1358
- return { set: i, update: o, subscribe: a };
1381
+ return { set: i, update: s, subscribe: a };
1359
1382
  }
1360
1383
  function ie(e, t, r) {
1361
1384
  const n = !Array.isArray(e), i = n ? [e] : e;
1362
1385
  if (!i.every(Boolean))
1363
1386
  throw new Error("derived() expects stores as input, got a falsy value");
1364
- const o = t.length < 2;
1365
- return wn(r, (a, s) => {
1387
+ const s = t.length < 2;
1388
+ return Bn(r, (a, o) => {
1366
1389
  let l = !1;
1367
1390
  const u = [];
1368
- let h = 0, c = B;
1369
- const f = () => {
1391
+ let h = 0, f = A;
1392
+ const c = () => {
1370
1393
  if (h)
1371
1394
  return;
1372
- c();
1373
- const d = t(n ? u[0] : u, a, s);
1374
- o ? a(d) : c = de(d) ? d : B;
1395
+ f();
1396
+ const d = t(n ? u[0] : u, a, o);
1397
+ s ? a(d) : f = de(d) ? d : A;
1375
1398
  }, p = i.map(
1376
- (d, m) => Ft(
1399
+ (d, m) => Xt(
1377
1400
  d,
1378
1401
  (E) => {
1379
- u[m] = E, h &= ~(1 << m), l && f();
1402
+ u[m] = E, h &= ~(1 << m), l && c();
1380
1403
  },
1381
1404
  () => {
1382
1405
  h |= 1 << m;
1383
1406
  }
1384
1407
  )
1385
1408
  );
1386
- return l = !0, f(), function() {
1387
- k(p), c(), l = !1;
1409
+ return l = !0, c(), function() {
1410
+ k(p), f(), l = !1;
1388
1411
  };
1389
1412
  });
1390
1413
  }
1391
- function Sn(e) {
1414
+ function Pn(e) {
1392
1415
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1393
1416
  }
1394
- var Tn = function(t) {
1395
- return Hn(t) && !Pn(t);
1417
+ var An = function(t) {
1418
+ return On(t) && !In(t);
1396
1419
  };
1397
- function Hn(e) {
1420
+ function On(e) {
1398
1421
  return !!e && typeof e == "object";
1399
1422
  }
1400
- function Pn(e) {
1423
+ function In(e) {
1401
1424
  var t = Object.prototype.toString.call(e);
1402
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1425
+ return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
1403
1426
  }
1404
- var An = typeof Symbol == "function" && Symbol.for, Bn = An ? Symbol.for("react.element") : 60103;
1405
- function On(e) {
1406
- return e.$$typeof === Bn;
1427
+ var Cn = typeof Symbol == "function" && Symbol.for, Ln = Cn ? Symbol.for("react.element") : 60103;
1428
+ function Mn(e) {
1429
+ return e.$$typeof === Ln;
1407
1430
  }
1408
- function In(e) {
1431
+ function Nn(e) {
1409
1432
  return Array.isArray(e) ? [] : {};
1410
1433
  }
1411
1434
  function ce(e, t) {
1412
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(In(e), e, t) : e;
1435
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Nn(e), e, t) : e;
1413
1436
  }
1414
- function Cn(e, t, r) {
1437
+ function Rn(e, t, r) {
1415
1438
  return e.concat(t).map(function(n) {
1416
1439
  return ce(n, r);
1417
1440
  });
1418
1441
  }
1419
- function Ln(e, t) {
1442
+ function $n(e, t) {
1420
1443
  if (!t.customMerge)
1421
1444
  return ee;
1422
1445
  var r = t.customMerge(e);
1423
1446
  return typeof r == "function" ? r : ee;
1424
1447
  }
1425
- function Nn(e) {
1448
+ function Dn(e) {
1426
1449
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1427
1450
  return Object.propertyIsEnumerable.call(e, t);
1428
1451
  }) : [];
1429
1452
  }
1430
- function Et(e) {
1431
- return Object.keys(e).concat(Nn(e));
1453
+ function Tt(e) {
1454
+ return Object.keys(e).concat(Dn(e));
1432
1455
  }
1433
- function nr(e, t) {
1456
+ function ar(e, t) {
1434
1457
  try {
1435
1458
  return t in e;
1436
1459
  } catch {
1437
1460
  return !1;
1438
1461
  }
1439
1462
  }
1440
- function Mn(e, t) {
1441
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1463
+ function Un(e, t) {
1464
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1442
1465
  }
1443
- function Rn(e, t, r) {
1466
+ function Gn(e, t, r) {
1444
1467
  var n = {};
1445
- return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1468
+ return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
1446
1469
  n[i] = ce(e[i], r);
1447
- }), Et(t).forEach(function(i) {
1448
- Mn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1470
+ }), Tt(t).forEach(function(i) {
1471
+ Un(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
1449
1472
  }), n;
1450
1473
  }
1451
1474
  function ee(e, t, r) {
1452
- r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = ce;
1453
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1454
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ce(t, r);
1475
+ r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || An, r.cloneUnlessOtherwiseSpecified = ce;
1476
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1477
+ return s ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : ce(t, r);
1455
1478
  }
1456
1479
  ee.all = function(t, r) {
1457
1480
  if (!Array.isArray(t))
@@ -1460,105 +1483,107 @@ ee.all = function(t, r) {
1460
1483
  return ee(n, i, r);
1461
1484
  }, {});
1462
1485
  };
1463
- var $n = ee, Dn = $n;
1464
- const Un = /* @__PURE__ */ Sn(Dn);
1465
- function De(e, t) {
1466
- var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
1486
+ var Fn = ee, jn = Fn;
1487
+ const kn = /* @__PURE__ */ Pn(jn);
1488
+ function Ue(e, t) {
1489
+ var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Xn;
1467
1490
  return i(e, {
1468
1491
  cache: r,
1469
1492
  serializer: n
1470
1493
  });
1471
1494
  }
1472
- function Gn(e) {
1495
+ function Vn(e) {
1473
1496
  return e == null || typeof e == "number" || typeof e == "boolean";
1474
1497
  }
1475
- function Fn(e, t, r, n) {
1476
- var i = Gn(n) ? n : r(n), o = t.get(i);
1477
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1498
+ function ur(e, t, r, n) {
1499
+ var i = Vn(n) ? n : r(n), s = t.get(i);
1500
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
1478
1501
  }
1479
- function ir(e, t, r) {
1480
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1481
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1502
+ function lr(e, t, r) {
1503
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1504
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
1482
1505
  }
1483
- function or(e, t, r, n, i) {
1506
+ function lt(e, t, r, n, i) {
1484
1507
  return r.bind(t, e, n, i);
1485
1508
  }
1486
- function jn(e, t) {
1487
- var r = e.length === 1 ? Fn : ir;
1488
- return or(e, this, r, t.cache.create(), t.serializer);
1509
+ function Xn(e, t) {
1510
+ var r = e.length === 1 ? ur : lr;
1511
+ return lt(e, this, r, t.cache.create(), t.serializer);
1512
+ }
1513
+ function Wn(e, t) {
1514
+ return lt(e, this, lr, t.cache.create(), t.serializer);
1489
1515
  }
1490
- function kn(e, t) {
1491
- return or(e, this, ir, t.cache.create(), t.serializer);
1516
+ function zn(e, t) {
1517
+ return lt(e, this, ur, t.cache.create(), t.serializer);
1492
1518
  }
1493
- var Vn = function() {
1519
+ var qn = function() {
1494
1520
  return JSON.stringify(arguments);
1495
- }, Xn = (
1496
- /** @class */
1497
- function() {
1498
- function e() {
1499
- this.cache = /* @__PURE__ */ Object.create(null);
1500
- }
1501
- return e.prototype.get = function(t) {
1502
- return this.cache[t];
1503
- }, e.prototype.set = function(t, r) {
1504
- this.cache[t] = r;
1505
- }, e;
1506
- }()
1507
- ), Wn = {
1521
+ };
1522
+ function ht() {
1523
+ this.cache = /* @__PURE__ */ Object.create(null);
1524
+ }
1525
+ ht.prototype.get = function(e) {
1526
+ return this.cache[e];
1527
+ };
1528
+ ht.prototype.set = function(e, t) {
1529
+ this.cache[e] = t;
1530
+ };
1531
+ var Zn = {
1508
1532
  create: function() {
1509
- return new Xn();
1533
+ return new ht();
1510
1534
  }
1511
- }, Ue = {
1512
- variadic: kn
1535
+ }, Ge = {
1536
+ variadic: Wn,
1537
+ monadic: zn
1513
1538
  }, g;
1514
1539
  (function(e) {
1515
1540
  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";
1516
1541
  })(g || (g = {}));
1517
- var w;
1542
+ var x;
1518
1543
  (function(e) {
1519
1544
  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";
1520
- })(w || (w = {}));
1545
+ })(x || (x = {}));
1521
1546
  var te;
1522
1547
  (function(e) {
1523
1548
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1524
1549
  })(te || (te = {}));
1525
- function xt(e) {
1526
- return e.type === w.literal;
1550
+ function Ht(e) {
1551
+ return e.type === x.literal;
1527
1552
  }
1528
- function zn(e) {
1529
- return e.type === w.argument;
1553
+ function Qn(e) {
1554
+ return e.type === x.argument;
1530
1555
  }
1531
- function sr(e) {
1532
- return e.type === w.number;
1556
+ function hr(e) {
1557
+ return e.type === x.number;
1533
1558
  }
1534
- function ar(e) {
1535
- return e.type === w.date;
1559
+ function cr(e) {
1560
+ return e.type === x.date;
1536
1561
  }
1537
- function ur(e) {
1538
- return e.type === w.time;
1562
+ function fr(e) {
1563
+ return e.type === x.time;
1539
1564
  }
1540
- function lr(e) {
1541
- return e.type === w.select;
1565
+ function dr(e) {
1566
+ return e.type === x.select;
1542
1567
  }
1543
- function hr(e) {
1544
- return e.type === w.plural;
1568
+ function pr(e) {
1569
+ return e.type === x.plural;
1545
1570
  }
1546
- function qn(e) {
1547
- return e.type === w.pound;
1571
+ function Jn(e) {
1572
+ return e.type === x.pound;
1548
1573
  }
1549
- function cr(e) {
1550
- return e.type === w.tag;
1574
+ function mr(e) {
1575
+ return e.type === x.tag;
1551
1576
  }
1552
- function fr(e) {
1577
+ function br(e) {
1553
1578
  return !!(e && typeof e == "object" && e.type === te.number);
1554
1579
  }
1555
- function Qe(e) {
1580
+ function Je(e) {
1556
1581
  return !!(e && typeof e == "object" && e.type === te.dateTime);
1557
1582
  }
1558
- var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[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;
1559
- function Qn(e) {
1583
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
1584
+ function Kn(e) {
1560
1585
  var t = {};
1561
- return e.replace(Zn, function(r) {
1586
+ return e.replace(Yn, function(r) {
1562
1587
  var n = r.length;
1563
1588
  switch (r[0]) {
1564
1589
  case "G":
@@ -1647,36 +1672,36 @@ function Qn(e) {
1647
1672
  return "";
1648
1673
  }), t;
1649
1674
  }
1650
- var Jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1651
- function Yn(e) {
1675
+ var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1676
+ function ti(e) {
1652
1677
  if (e.length === 0)
1653
1678
  throw new Error("Number skeleton cannot be empty");
1654
- for (var t = e.split(Jn).filter(function(f) {
1655
- return f.length > 0;
1679
+ for (var t = e.split(ei).filter(function(c) {
1680
+ return c.length > 0;
1656
1681
  }), r = [], n = 0, i = t; n < i.length; n++) {
1657
- var o = i[n], a = o.split("/");
1682
+ var s = i[n], a = s.split("/");
1658
1683
  if (a.length === 0)
1659
1684
  throw new Error("Invalid number skeleton");
1660
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1661
- var c = h[u];
1662
- if (c.length === 0)
1685
+ for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1686
+ var f = h[u];
1687
+ if (f.length === 0)
1663
1688
  throw new Error("Invalid number skeleton");
1664
1689
  }
1665
- r.push({ stem: s, options: l });
1690
+ r.push({ stem: o, options: l });
1666
1691
  }
1667
1692
  return r;
1668
1693
  }
1669
- function Kn(e) {
1694
+ function ri(e) {
1670
1695
  return e.replace(/^(.*?)-/, "");
1671
1696
  }
1672
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1673
- function St(e) {
1697
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1698
+ function Pt(e) {
1674
1699
  var t = {};
1675
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1700
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
1676
1701
  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)), "";
1677
1702
  }), t;
1678
1703
  }
1679
- function br(e) {
1704
+ function vr(e) {
1680
1705
  switch (e) {
1681
1706
  case "sign-auto":
1682
1707
  return {
@@ -1716,7 +1741,7 @@ function br(e) {
1716
1741
  };
1717
1742
  }
1718
1743
  }
1719
- function ti(e) {
1744
+ function ii(e) {
1720
1745
  var t;
1721
1746
  if (e[0] === "E" && e[1] === "E" ? (t = {
1722
1747
  notation: "engineering"
@@ -1724,17 +1749,17 @@ function ti(e) {
1724
1749
  notation: "scientific"
1725
1750
  }, e = e.slice(1)), t) {
1726
1751
  var r = e.slice(0, 2);
1727
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1752
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1728
1753
  throw new Error("Malformed concise eng/scientific notation");
1729
1754
  t.minimumIntegerDigits = e.length;
1730
1755
  }
1731
1756
  return t;
1732
1757
  }
1733
- function Tt(e) {
1734
- var t = {}, r = br(e);
1758
+ function At(e) {
1759
+ var t = {}, r = vr(e);
1735
1760
  return r || t;
1736
1761
  }
1737
- function ri(e) {
1762
+ function si(e) {
1738
1763
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1739
1764
  var i = n[r];
1740
1765
  switch (i.stem) {
@@ -1758,7 +1783,7 @@ function ri(e) {
1758
1783
  continue;
1759
1784
  case "measure-unit":
1760
1785
  case "unit":
1761
- t.style = "unit", t.unit = Kn(i.options[0]);
1786
+ t.style = "unit", t.unit = ri(i.options[0]);
1762
1787
  continue;
1763
1788
  case "compact-short":
1764
1789
  case "K":
@@ -1770,12 +1795,12 @@ function ri(e) {
1770
1795
  continue;
1771
1796
  case "scientific":
1772
1797
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1773
- return v(v({}, l), Tt(u));
1798
+ return v(v({}, l), At(u));
1774
1799
  }, {}));
1775
1800
  continue;
1776
1801
  case "engineering":
1777
1802
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1778
- return v(v({}, l), Tt(u));
1803
+ return v(v({}, l), At(u));
1779
1804
  }, {}));
1780
1805
  continue;
1781
1806
  case "notation-simple":
@@ -1820,11 +1845,11 @@ function ri(e) {
1820
1845
  case "integer-width":
1821
1846
  if (i.options.length > 1)
1822
1847
  throw new RangeError("integer-width stems only accept a single optional option");
1823
- i.options[0].replace(ei, function(l, u, h, c, f, p) {
1848
+ i.options[0].replace(ni, function(l, u, h, f, c, p) {
1824
1849
  if (u)
1825
1850
  t.minimumIntegerDigits = h.length;
1826
1851
  else {
1827
- if (c && f)
1852
+ if (f && c)
1828
1853
  throw new Error("We currently do not support maximum integer digits");
1829
1854
  if (p)
1830
1855
  throw new Error("We currently do not support exact integer digits");
@@ -1833,28 +1858,28 @@ function ri(e) {
1833
1858
  });
1834
1859
  continue;
1835
1860
  }
1836
- if (mr.test(i.stem)) {
1861
+ if (_r.test(i.stem)) {
1837
1862
  t.minimumIntegerDigits = i.stem.length;
1838
1863
  continue;
1839
1864
  }
1840
- if (wt.test(i.stem)) {
1865
+ if (Bt.test(i.stem)) {
1841
1866
  if (i.options.length > 1)
1842
1867
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1843
- i.stem.replace(wt, function(l, u, h, c, f, p) {
1844
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1868
+ i.stem.replace(Bt, function(l, u, h, f, c, p) {
1869
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1845
1870
  });
1846
- var o = i.options[0];
1847
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), St(o)));
1871
+ var s = i.options[0];
1872
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Pt(s)));
1848
1873
  continue;
1849
1874
  }
1850
- if (pr.test(i.stem)) {
1851
- t = v(v({}, t), St(i.stem));
1875
+ if (gr.test(i.stem)) {
1876
+ t = v(v({}, t), Pt(i.stem));
1852
1877
  continue;
1853
1878
  }
1854
- var a = br(i.stem);
1879
+ var a = vr(i.stem);
1855
1880
  a && (t = v(v({}, t), a));
1856
- var s = ti(i.stem);
1857
- s && (t = v(v({}, t), s));
1881
+ var o = ii(i.stem);
1882
+ o && (t = v(v({}, t), o));
1858
1883
  }
1859
1884
  return t;
1860
1885
  }
@@ -3273,14 +3298,14 @@ var _e = {
3273
3298
  "h"
3274
3299
  ]
3275
3300
  };
3276
- function ni(e, t) {
3301
+ function oi(e, t) {
3277
3302
  for (var r = "", n = 0; n < e.length; n++) {
3278
3303
  var i = e.charAt(n);
3279
3304
  if (i === "j") {
3280
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3281
- o++, n++;
3282
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ii(t);
3283
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3305
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3306
+ s++, n++;
3307
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ai(t);
3308
+ for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
3284
3309
  r += l;
3285
3310
  for (; a-- > 0; )
3286
3311
  r = u + r;
@@ -3288,7 +3313,7 @@ function ni(e, t) {
3288
3313
  }
3289
3314
  return r;
3290
3315
  }
3291
- function ii(e) {
3316
+ function ai(e) {
3292
3317
  var t = e.hourCycle;
3293
3318
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3294
3319
  e.hourCycles && // @ts-ignore
@@ -3310,20 +3335,20 @@ function ii(e) {
3310
3335
  var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
3311
3336
  return i[0];
3312
3337
  }
3313
- var Ge, oi = new RegExp("^".concat(dr.source, "*")), si = new RegExp("".concat(dr.source, "*$"));
3338
+ var Fe, ui = new RegExp("^".concat(yr.source, "*")), li = new RegExp("".concat(yr.source, "*$"));
3314
3339
  function _(e, t) {
3315
3340
  return { start: e, end: t };
3316
3341
  }
3317
- var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, pi = di ? Number.isSafeInteger : function(e) {
3342
+ var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, di = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, mi = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, yi = bi ? Number.isSafeInteger : function(e) {
3318
3343
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3319
- }, Je = !0;
3344
+ }, Ye = !0;
3320
3345
  try {
3321
- var mi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3322
- Je = ((Ge = mi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3346
+ var gi = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3347
+ Ye = ((Fe = gi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3323
3348
  } catch {
3324
- Je = !1;
3349
+ Ye = !1;
3325
3350
  }
3326
- var Ht = ai ? (
3351
+ var Ot = hi ? (
3327
3352
  // Native
3328
3353
  function(t, r, n) {
3329
3354
  return t.startsWith(r, n);
@@ -3333,31 +3358,31 @@ var Ht = ai ? (
3333
3358
  function(t, r, n) {
3334
3359
  return t.slice(n, n + r.length) === r;
3335
3360
  }
3336
- ), Ye = ui ? String.fromCodePoint : (
3361
+ ), Ke = ci ? String.fromCodePoint : (
3337
3362
  // IE11
3338
3363
  function() {
3339
3364
  for (var t = [], r = 0; r < arguments.length; r++)
3340
3365
  t[r] = arguments[r];
3341
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3342
- if (a = t[o++], a > 1114111)
3366
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
3367
+ if (a = t[s++], a > 1114111)
3343
3368
  throw RangeError(a + " is not a valid code point");
3344
3369
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3345
3370
  }
3346
3371
  return n;
3347
3372
  }
3348
- ), Pt = (
3373
+ ), It = (
3349
3374
  // native
3350
- li ? Object.fromEntries : (
3375
+ fi ? Object.fromEntries : (
3351
3376
  // Ponyfill
3352
3377
  function(t) {
3353
3378
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3354
- var o = i[n], a = o[0], s = o[1];
3355
- r[a] = s;
3379
+ var s = i[n], a = s[0], o = s[1];
3380
+ r[a] = o;
3356
3381
  }
3357
3382
  return r;
3358
3383
  }
3359
3384
  )
3360
- ), yr = hi ? (
3385
+ ), Er = di ? (
3361
3386
  // Native
3362
3387
  function(t, r) {
3363
3388
  return t.codePointAt(r);
@@ -3367,11 +3392,11 @@ var Ht = ai ? (
3367
3392
  function(t, r) {
3368
3393
  var n = t.length;
3369
3394
  if (!(r < 0 || r >= n)) {
3370
- var i = t.charCodeAt(r), o;
3371
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3395
+ var i = t.charCodeAt(r), s;
3396
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3372
3397
  }
3373
3398
  }
3374
- ), bi = ci ? (
3399
+ ), _i = pi ? (
3375
3400
  // Native
3376
3401
  function(t) {
3377
3402
  return t.trimStart();
@@ -3379,9 +3404,9 @@ var Ht = ai ? (
3379
3404
  ) : (
3380
3405
  // Ponyfill
3381
3406
  function(t) {
3382
- return t.replace(oi, "");
3407
+ return t.replace(ui, "");
3383
3408
  }
3384
- ), yi = fi ? (
3409
+ ), vi = mi ? (
3385
3410
  // Native
3386
3411
  function(t) {
3387
3412
  return t.trimEnd();
@@ -3389,32 +3414,32 @@ var Ht = ai ? (
3389
3414
  ) : (
3390
3415
  // Ponyfill
3391
3416
  function(t) {
3392
- return t.replace(si, "");
3417
+ return t.replace(li, "");
3393
3418
  }
3394
3419
  );
3395
- function gr(e, t) {
3420
+ function xr(e, t) {
3396
3421
  return new RegExp(e, t);
3397
3422
  }
3398
- var Ke;
3399
- if (Je) {
3400
- var At = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3401
- Ke = function(t, r) {
3423
+ var et;
3424
+ if (Ye) {
3425
+ var Ct = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3426
+ et = function(t, r) {
3402
3427
  var n;
3403
- At.lastIndex = r;
3404
- var i = At.exec(t);
3428
+ Ct.lastIndex = r;
3429
+ var i = Ct.exec(t);
3405
3430
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3406
3431
  };
3407
3432
  } else
3408
- Ke = function(t, r) {
3433
+ et = function(t, r) {
3409
3434
  for (var n = []; ; ) {
3410
- var i = yr(t, r);
3411
- if (i === void 0 || _r(i) || Ei(i))
3435
+ var i = Er(t, r);
3436
+ if (i === void 0 || wr(i) || Si(i))
3412
3437
  break;
3413
3438
  n.push(i), r += i >= 65536 ? 2 : 1;
3414
3439
  }
3415
- return Ye.apply(void 0, n);
3440
+ return Ke.apply(void 0, n);
3416
3441
  };
3417
- var gi = (
3442
+ var Ei = (
3418
3443
  /** @class */
3419
3444
  function() {
3420
3445
  function e(t, r) {
@@ -3426,26 +3451,26 @@ var gi = (
3426
3451
  return this.parseMessage(0, "", !1);
3427
3452
  }, e.prototype.parseMessage = function(t, r, n) {
3428
3453
  for (var i = []; !this.isEOF(); ) {
3429
- var o = this.char();
3430
- if (o === 123) {
3454
+ var s = this.char();
3455
+ if (s === 123) {
3431
3456
  var a = this.parseArgument(t, n);
3432
3457
  if (a.err)
3433
3458
  return a;
3434
3459
  i.push(a.val);
3435
3460
  } else {
3436
- if (o === 125 && t > 0)
3461
+ if (s === 125 && t > 0)
3437
3462
  break;
3438
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3439
- var s = this.clonePosition();
3463
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3464
+ var o = this.clonePosition();
3440
3465
  this.bump(), i.push({
3441
- type: w.pound,
3442
- location: _(s, this.clonePosition())
3466
+ type: x.pound,
3467
+ location: _(o, this.clonePosition())
3443
3468
  });
3444
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3469
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3445
3470
  if (n)
3446
3471
  break;
3447
3472
  return this.error(g.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3448
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3473
+ } else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3449
3474
  var a = this.parseTag(t, r);
3450
3475
  if (a.err)
3451
3476
  return a;
@@ -3466,44 +3491,44 @@ var gi = (
3466
3491
  if (this.bumpSpace(), this.bumpIf("/>"))
3467
3492
  return {
3468
3493
  val: {
3469
- type: w.literal,
3494
+ type: x.literal,
3470
3495
  value: "<".concat(i, "/>"),
3471
3496
  location: _(n, this.clonePosition())
3472
3497
  },
3473
3498
  err: null
3474
3499
  };
3475
3500
  if (this.bumpIf(">")) {
3476
- var o = this.parseMessage(t + 1, r, !0);
3477
- if (o.err)
3478
- return o;
3479
- var a = o.val, s = this.clonePosition();
3501
+ var s = this.parseMessage(t + 1, r, !0);
3502
+ if (s.err)
3503
+ return s;
3504
+ var a = s.val, o = this.clonePosition();
3480
3505
  if (this.bumpIf("</")) {
3481
- if (this.isEOF() || !et(this.char()))
3482
- return this.error(g.INVALID_TAG, _(s, this.clonePosition()));
3506
+ if (this.isEOF() || !tt(this.char()))
3507
+ return this.error(g.INVALID_TAG, _(o, this.clonePosition()));
3483
3508
  var l = this.clonePosition(), u = this.parseTagName();
3484
3509
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3485
3510
  val: {
3486
- type: w.tag,
3511
+ type: x.tag,
3487
3512
  value: i,
3488
3513
  children: a,
3489
3514
  location: _(n, this.clonePosition())
3490
3515
  },
3491
3516
  err: null
3492
- } : this.error(g.INVALID_TAG, _(s, this.clonePosition())));
3517
+ } : this.error(g.INVALID_TAG, _(o, this.clonePosition())));
3493
3518
  } else
3494
3519
  return this.error(g.UNCLOSED_TAG, _(n, this.clonePosition()));
3495
3520
  } else
3496
3521
  return this.error(g.INVALID_TAG, _(n, this.clonePosition()));
3497
3522
  }, e.prototype.parseTagName = function() {
3498
3523
  var t = this.offset();
3499
- for (this.bump(); !this.isEOF() && vi(this.char()); )
3524
+ for (this.bump(); !this.isEOF() && wi(this.char()); )
3500
3525
  this.bump();
3501
3526
  return this.message.slice(t, this.offset());
3502
3527
  }, e.prototype.parseLiteral = function(t, r) {
3503
3528
  for (var n = this.clonePosition(), i = ""; ; ) {
3504
- var o = this.tryParseQuote(r);
3505
- if (o) {
3506
- i += o;
3529
+ var s = this.tryParseQuote(r);
3530
+ if (s) {
3531
+ i += s;
3507
3532
  continue;
3508
3533
  }
3509
3534
  var a = this.tryParseUnquoted(t, r);
@@ -3511,21 +3536,21 @@ var gi = (
3511
3536
  i += a;
3512
3537
  continue;
3513
3538
  }
3514
- var s = this.tryParseLeftAngleBracket();
3515
- if (s) {
3516
- i += s;
3539
+ var o = this.tryParseLeftAngleBracket();
3540
+ if (o) {
3541
+ i += o;
3517
3542
  continue;
3518
3543
  }
3519
3544
  break;
3520
3545
  }
3521
3546
  var l = _(n, this.clonePosition());
3522
3547
  return {
3523
- val: { type: w.literal, value: i, location: l },
3548
+ val: { type: x.literal, value: i, location: l },
3524
3549
  err: null
3525
3550
  };
3526
3551
  }, e.prototype.tryParseLeftAngleBracket = function() {
3527
3552
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3528
- !_i(this.peek() || 0)) ? (this.bump(), "<") : null;
3553
+ !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3529
3554
  }, e.prototype.tryParseQuote = function(t) {
3530
3555
  if (this.isEOF() || this.char() !== 39)
3531
3556
  return null;
@@ -3559,12 +3584,12 @@ var gi = (
3559
3584
  r.push(n);
3560
3585
  this.bump();
3561
3586
  }
3562
- return Ye.apply(void 0, r);
3587
+ return Ke.apply(void 0, r);
3563
3588
  }, e.prototype.tryParseUnquoted = function(t, r) {
3564
3589
  if (this.isEOF())
3565
3590
  return null;
3566
3591
  var n = this.char();
3567
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3592
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
3568
3593
  }, e.prototype.parseArgument = function(t, r) {
3569
3594
  var n = this.clonePosition();
3570
3595
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3580,7 +3605,7 @@ var gi = (
3580
3605
  case 125:
3581
3606
  return this.bump(), {
3582
3607
  val: {
3583
- type: w.argument,
3608
+ type: x.argument,
3584
3609
  // value does not include the opening and closing braces.
3585
3610
  value: i,
3586
3611
  location: _(n, this.clonePosition())
@@ -3593,13 +3618,13 @@ var gi = (
3593
3618
  return this.error(g.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3594
3619
  }
3595
3620
  }, e.prototype.parseIdentifierIfPossible = function() {
3596
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3621
+ var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3597
3622
  this.bumpTo(i);
3598
- var o = this.clonePosition(), a = _(t, o);
3623
+ var s = this.clonePosition(), a = _(t, s);
3599
3624
  return { value: n, location: a };
3600
3625
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3601
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3602
- switch (s) {
3626
+ var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3627
+ switch (o) {
3603
3628
  case "":
3604
3629
  return this.error(g.EXPECT_ARGUMENT_TYPE, _(a, l));
3605
3630
  case "number":
@@ -3609,50 +3634,50 @@ var gi = (
3609
3634
  var u = null;
3610
3635
  if (this.bumpIf(",")) {
3611
3636
  this.bumpSpace();
3612
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3613
- if (c.err)
3614
- return c;
3615
- var f = yi(c.val);
3616
- if (f.length === 0)
3637
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3638
+ if (f.err)
3639
+ return f;
3640
+ var c = vi(f.val);
3641
+ if (c.length === 0)
3617
3642
  return this.error(g.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3618
3643
  var p = _(h, this.clonePosition());
3619
- u = { style: f, styleLocation: p };
3644
+ u = { style: c, styleLocation: p };
3620
3645
  }
3621
3646
  var d = this.tryParseArgumentClose(i);
3622
3647
  if (d.err)
3623
3648
  return d;
3624
3649
  var m = _(i, this.clonePosition());
3625
- if (u && Ht(u?.style, "::", 0)) {
3626
- var E = bi(u.style.slice(2));
3627
- if (s === "number") {
3628
- var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3629
- return c.err ? c : {
3630
- val: { type: w.number, value: n, location: m, style: c.val },
3650
+ if (u && Ot(u?.style, "::", 0)) {
3651
+ var E = _i(u.style.slice(2));
3652
+ if (o === "number") {
3653
+ var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3654
+ return f.err ? f : {
3655
+ val: { type: x.number, value: n, location: m, style: f.val },
3631
3656
  err: null
3632
3657
  };
3633
3658
  } else {
3634
3659
  if (E.length === 0)
3635
3660
  return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
3636
- var S = E;
3637
- this.locale && (S = ni(E, this.locale));
3638
- var f = {
3661
+ var T = E;
3662
+ this.locale && (T = oi(E, this.locale));
3663
+ var c = {
3639
3664
  type: te.dateTime,
3640
- pattern: S,
3665
+ pattern: T,
3641
3666
  location: u.styleLocation,
3642
- parsedOptions: this.shouldParseSkeletons ? Qn(S) : {}
3643
- }, H = s === "date" ? w.date : w.time;
3667
+ parsedOptions: this.shouldParseSkeletons ? Kn(T) : {}
3668
+ }, H = o === "date" ? x.date : x.time;
3644
3669
  return {
3645
- val: { type: H, value: n, location: m, style: f },
3670
+ val: { type: H, value: n, location: m, style: c },
3646
3671
  err: null
3647
3672
  };
3648
3673
  }
3649
3674
  }
3650
3675
  return {
3651
3676
  val: {
3652
- type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3677
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
3653
3678
  value: n,
3654
3679
  location: m,
3655
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3680
+ style: (s = u?.style) !== null && s !== void 0 ? s : null
3656
3681
  },
3657
3682
  err: null
3658
3683
  };
@@ -3660,43 +3685,43 @@ var gi = (
3660
3685
  case "plural":
3661
3686
  case "selectordinal":
3662
3687
  case "select": {
3663
- var T = this.clonePosition();
3688
+ var S = this.clonePosition();
3664
3689
  if (this.bumpSpace(), !this.bumpIf(","))
3665
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, v({}, T)));
3690
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, v({}, S)));
3666
3691
  this.bumpSpace();
3667
- var O = this.parseIdentifierIfPossible(), P = 0;
3668
- if (s !== "select" && O.value === "offset") {
3692
+ var O = this.parseIdentifierIfPossible(), B = 0;
3693
+ if (o !== "select" && O.value === "offset") {
3669
3694
  if (!this.bumpIf(":"))
3670
3695
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3671
3696
  this.bumpSpace();
3672
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3673
- if (c.err)
3674
- return c;
3675
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = c.val;
3697
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3698
+ if (f.err)
3699
+ return f;
3700
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), B = f.val;
3676
3701
  }
3677
- var C = this.tryParsePluralOrSelectOptions(t, s, r, O);
3702
+ var C = this.tryParsePluralOrSelectOptions(t, o, r, O);
3678
3703
  if (C.err)
3679
3704
  return C;
3680
3705
  var d = this.tryParseArgumentClose(i);
3681
3706
  if (d.err)
3682
3707
  return d;
3683
- var x = _(i, this.clonePosition());
3684
- return s === "select" ? {
3708
+ var w = _(i, this.clonePosition());
3709
+ return o === "select" ? {
3685
3710
  val: {
3686
- type: w.select,
3711
+ type: x.select,
3687
3712
  value: n,
3688
- options: Pt(C.val),
3689
- location: x
3713
+ options: It(C.val),
3714
+ location: w
3690
3715
  },
3691
3716
  err: null
3692
3717
  } : {
3693
3718
  val: {
3694
- type: w.plural,
3719
+ type: x.plural,
3695
3720
  value: n,
3696
- options: Pt(C.val),
3697
- offset: P,
3698
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3699
- location: x
3721
+ options: It(C.val),
3722
+ offset: B,
3723
+ pluralType: o === "plural" ? "cardinal" : "ordinal",
3724
+ location: w
3700
3725
  },
3701
3726
  err: null
3702
3727
  };
@@ -3744,7 +3769,7 @@ var gi = (
3744
3769
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3745
3770
  var n = [];
3746
3771
  try {
3747
- n = Yn(t);
3772
+ n = ti(t);
3748
3773
  } catch {
3749
3774
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3750
3775
  }
@@ -3753,19 +3778,19 @@ var gi = (
3753
3778
  type: te.number,
3754
3779
  tokens: n,
3755
3780
  location: r,
3756
- parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3781
+ parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3757
3782
  },
3758
3783
  err: null
3759
3784
  };
3760
3785
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3761
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3786
+ for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3762
3787
  if (u.length === 0) {
3763
- var c = this.clonePosition();
3788
+ var f = this.clonePosition();
3764
3789
  if (r !== "select" && this.bumpIf("=")) {
3765
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3766
- if (f.err)
3767
- return f;
3768
- h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3790
+ var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3791
+ if (c.err)
3792
+ return c;
3793
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3769
3794
  } else
3770
3795
  break;
3771
3796
  }
@@ -3781,27 +3806,27 @@ var gi = (
3781
3806
  var m = this.tryParseArgumentClose(p);
3782
3807
  if (m.err)
3783
3808
  return m;
3784
- s.push([
3809
+ o.push([
3785
3810
  u,
3786
3811
  {
3787
3812
  value: d.val,
3788
3813
  location: _(p, this.clonePosition())
3789
3814
  }
3790
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3815
+ ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3791
3816
  }
3792
- return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3817
+ return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3793
3818
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3794
3819
  var n = 1, i = this.clonePosition();
3795
3820
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3796
- for (var o = !1, a = 0; !this.isEOF(); ) {
3797
- var s = this.char();
3798
- if (s >= 48 && s <= 57)
3799
- o = !0, a = a * 10 + (s - 48), this.bump();
3821
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3822
+ var o = this.char();
3823
+ if (o >= 48 && o <= 57)
3824
+ s = !0, a = a * 10 + (o - 48), this.bump();
3800
3825
  else
3801
3826
  break;
3802
3827
  }
3803
3828
  var l = _(i, this.clonePosition());
3804
- return o ? (a *= n, pi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3829
+ return s ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3805
3830
  }, e.prototype.offset = function() {
3806
3831
  return this.position.offset;
3807
3832
  }, e.prototype.isEOF = function() {
@@ -3816,7 +3841,7 @@ var gi = (
3816
3841
  var t = this.position.offset;
3817
3842
  if (t >= this.message.length)
3818
3843
  throw Error("out of bound");
3819
- var r = yr(this.message, t);
3844
+ var r = Er(this.message, t);
3820
3845
  if (r === void 0)
3821
3846
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3822
3847
  return r;
@@ -3835,7 +3860,7 @@ var gi = (
3835
3860
  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);
3836
3861
  }
3837
3862
  }, e.prototype.bumpIf = function(t) {
3838
- if (Ht(this.message, t, this.offset())) {
3863
+ if (Ot(this.message, t, this.offset())) {
3839
3864
  for (var r = 0; r < t.length; r++)
3840
3865
  this.bump();
3841
3866
  return !0;
@@ -3857,7 +3882,7 @@ var gi = (
3857
3882
  break;
3858
3883
  }
3859
3884
  }, e.prototype.bumpSpace = function() {
3860
- for (; !this.isEOF() && _r(this.char()); )
3885
+ for (; !this.isEOF() && wr(this.char()); )
3861
3886
  this.bump();
3862
3887
  }, e.prototype.peek = function() {
3863
3888
  if (this.isEOF())
@@ -3867,37 +3892,37 @@ var gi = (
3867
3892
  }, e;
3868
3893
  }()
3869
3894
  );
3870
- function et(e) {
3895
+ function tt(e) {
3871
3896
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3872
3897
  }
3873
- function _i(e) {
3874
- return et(e) || e === 47;
3898
+ function xi(e) {
3899
+ return tt(e) || e === 47;
3875
3900
  }
3876
- function vi(e) {
3901
+ function wi(e) {
3877
3902
  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;
3878
3903
  }
3879
- function _r(e) {
3904
+ function wr(e) {
3880
3905
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3881
3906
  }
3882
- function Ei(e) {
3907
+ function Si(e) {
3883
3908
  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;
3884
3909
  }
3885
- function tt(e) {
3910
+ function rt(e) {
3886
3911
  e.forEach(function(t) {
3887
- if (delete t.location, lr(t) || hr(t))
3912
+ if (delete t.location, dr(t) || pr(t))
3888
3913
  for (var r in t.options)
3889
- delete t.options[r].location, tt(t.options[r].value);
3890
- else sr(t) && fr(t.style) || (ar(t) || ur(t)) && Qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3914
+ delete t.options[r].location, rt(t.options[r].value);
3915
+ else hr(t) && br(t.style) || (cr(t) || fr(t)) && Je(t.style) ? delete t.style.location : mr(t) && rt(t.children);
3891
3916
  });
3892
3917
  }
3893
- function xi(e, t) {
3918
+ function Ti(e, t) {
3894
3919
  t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3895
- var r = new gi(e, t).parse();
3920
+ var r = new Ei(e, t).parse();
3896
3921
  if (r.err) {
3897
3922
  var n = SyntaxError(g[r.err.kind]);
3898
3923
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3899
3924
  }
3900
- return t?.captureLocation || tt(r.val), r.val;
3925
+ return t?.captureLocation || rt(r.val), r.val;
3901
3926
  }
3902
3927
  var re;
3903
3928
  (function(e) {
@@ -3906,164 +3931,164 @@ var re;
3906
3931
  var Ce = (
3907
3932
  /** @class */
3908
3933
  function(e) {
3909
- F(t, e);
3934
+ G(t, e);
3910
3935
  function t(r, n, i) {
3911
- var o = e.call(this, r) || this;
3912
- return o.code = n, o.originalMessage = i, o;
3936
+ var s = e.call(this, r) || this;
3937
+ return s.code = n, s.originalMessage = i, s;
3913
3938
  }
3914
3939
  return t.prototype.toString = function() {
3915
3940
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3916
3941
  }, t;
3917
3942
  }(Error)
3918
- ), Bt = (
3943
+ ), Lt = (
3919
3944
  /** @class */
3920
3945
  function(e) {
3921
- F(t, e);
3922
- function t(r, n, i, o) {
3923
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3946
+ G(t, e);
3947
+ function t(r, n, i, s) {
3948
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3924
3949
  }
3925
3950
  return t;
3926
3951
  }(Ce)
3927
- ), wi = (
3952
+ ), Hi = (
3928
3953
  /** @class */
3929
3954
  function(e) {
3930
- F(t, e);
3955
+ G(t, e);
3931
3956
  function t(r, n, i) {
3932
3957
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3933
3958
  }
3934
3959
  return t;
3935
3960
  }(Ce)
3936
- ), Si = (
3961
+ ), Bi = (
3937
3962
  /** @class */
3938
3963
  function(e) {
3939
- F(t, e);
3964
+ G(t, e);
3940
3965
  function t(r, n) {
3941
3966
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3942
3967
  }
3943
3968
  return t;
3944
3969
  }(Ce)
3945
- ), A;
3970
+ ), P;
3946
3971
  (function(e) {
3947
3972
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3948
- })(A || (A = {}));
3949
- function Ti(e) {
3973
+ })(P || (P = {}));
3974
+ function Pi(e) {
3950
3975
  return e.length < 2 ? e : e.reduce(function(t, r) {
3951
3976
  var n = t[t.length - 1];
3952
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3977
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3953
3978
  }, []);
3954
3979
  }
3955
- function Hi(e) {
3980
+ function Ai(e) {
3956
3981
  return typeof e == "function";
3957
3982
  }
3958
- function we(e, t, r, n, i, o, a) {
3959
- if (e.length === 1 && xt(e[0]))
3983
+ function we(e, t, r, n, i, s, a) {
3984
+ if (e.length === 1 && Ht(e[0]))
3960
3985
  return [
3961
3986
  {
3962
- type: A.literal,
3987
+ type: P.literal,
3963
3988
  value: e[0].value
3964
3989
  }
3965
3990
  ];
3966
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3991
+ for (var o = [], l = 0, u = e; l < u.length; l++) {
3967
3992
  var h = u[l];
3968
- if (xt(h)) {
3969
- s.push({
3970
- type: A.literal,
3993
+ if (Ht(h)) {
3994
+ o.push({
3995
+ type: P.literal,
3971
3996
  value: h.value
3972
3997
  });
3973
3998
  continue;
3974
3999
  }
3975
- if (qn(h)) {
3976
- typeof o == "number" && s.push({
3977
- type: A.literal,
3978
- value: r.getNumberFormat(t).format(o)
4000
+ if (Jn(h)) {
4001
+ typeof s == "number" && o.push({
4002
+ type: P.literal,
4003
+ value: r.getNumberFormat(t).format(s)
3979
4004
  });
3980
4005
  continue;
3981
4006
  }
3982
- var c = h.value;
3983
- if (!(i && c in i))
3984
- throw new Si(c, a);
3985
- var f = i[c];
3986
- if (zn(h)) {
3987
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3988
- type: typeof f == "string" ? A.literal : A.object,
3989
- value: f
4007
+ var f = h.value;
4008
+ if (!(i && f in i))
4009
+ throw new Bi(f, a);
4010
+ var c = i[f];
4011
+ if (Qn(h)) {
4012
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
4013
+ type: typeof c == "string" ? P.literal : P.object,
4014
+ value: c
3990
4015
  });
3991
4016
  continue;
3992
4017
  }
3993
- if (ar(h)) {
3994
- var p = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3995
- s.push({
3996
- type: A.literal,
3997
- value: r.getDateTimeFormat(t, p).format(f)
4018
+ if (cr(h)) {
4019
+ var p = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
4020
+ o.push({
4021
+ type: P.literal,
4022
+ value: r.getDateTimeFormat(t, p).format(c)
3998
4023
  });
3999
4024
  continue;
4000
4025
  }
4001
- if (ur(h)) {
4002
- var p = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
4003
- s.push({
4004
- type: A.literal,
4005
- value: r.getDateTimeFormat(t, p).format(f)
4026
+ if (fr(h)) {
4027
+ var p = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
4028
+ o.push({
4029
+ type: P.literal,
4030
+ value: r.getDateTimeFormat(t, p).format(c)
4006
4031
  });
4007
4032
  continue;
4008
4033
  }
4009
- if (sr(h)) {
4010
- var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
4011
- p && p.scale && (f = f * (p.scale || 1)), s.push({
4012
- type: A.literal,
4013
- value: r.getNumberFormat(t, p).format(f)
4034
+ if (hr(h)) {
4035
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
4036
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
4037
+ type: P.literal,
4038
+ value: r.getNumberFormat(t, p).format(c)
4014
4039
  });
4015
4040
  continue;
4016
4041
  }
4017
- if (cr(h)) {
4042
+ if (mr(h)) {
4018
4043
  var d = h.children, m = h.value, E = i[m];
4019
- if (!Hi(E))
4020
- throw new wi(m, "function", a);
4021
- var S = we(d, t, r, n, i, o), H = E(S.map(function(P) {
4022
- return P.value;
4044
+ if (!Ai(E))
4045
+ throw new Hi(m, "function", a);
4046
+ var T = we(d, t, r, n, i, s), H = E(T.map(function(B) {
4047
+ return B.value;
4023
4048
  }));
4024
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(P) {
4049
+ Array.isArray(H) || (H = [H]), o.push.apply(o, H.map(function(B) {
4025
4050
  return {
4026
- type: typeof P == "string" ? A.literal : A.object,
4027
- value: P
4051
+ type: typeof B == "string" ? P.literal : P.object,
4052
+ value: B
4028
4053
  };
4029
4054
  }));
4030
4055
  }
4031
- if (lr(h)) {
4032
- var T = h.options[f] || h.options.other;
4033
- if (!T)
4034
- throw new Bt(h.value, f, Object.keys(h.options), a);
4035
- s.push.apply(s, we(T.value, t, r, n, i));
4056
+ if (dr(h)) {
4057
+ var S = h.options[c] || h.options.other;
4058
+ if (!S)
4059
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4060
+ o.push.apply(o, we(S.value, t, r, n, i));
4036
4061
  continue;
4037
4062
  }
4038
- if (hr(h)) {
4039
- var T = h.options["=".concat(f)];
4040
- if (!T) {
4063
+ if (pr(h)) {
4064
+ var S = h.options["=".concat(c)];
4065
+ if (!S) {
4041
4066
  if (!Intl.PluralRules)
4042
4067
  throw new Ce(`Intl.PluralRules is not available in this environment.
4043
4068
  Try polyfilling it using "@formatjs/intl-pluralrules"
4044
4069
  `, re.MISSING_INTL_API, a);
4045
- var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4046
- T = h.options[O] || h.options.other;
4070
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
4071
+ S = h.options[O] || h.options.other;
4047
4072
  }
4048
- if (!T)
4049
- throw new Bt(h.value, f, Object.keys(h.options), a);
4050
- s.push.apply(s, we(T.value, t, r, n, i, f - (h.offset || 0)));
4073
+ if (!S)
4074
+ throw new Lt(h.value, c, Object.keys(h.options), a);
4075
+ o.push.apply(o, we(S.value, t, r, n, i, c - (h.offset || 0)));
4051
4076
  continue;
4052
4077
  }
4053
4078
  }
4054
- return Ti(s);
4079
+ return Pi(o);
4055
4080
  }
4056
- function Pi(e, t) {
4081
+ function Oi(e, t) {
4057
4082
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4058
4083
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
4059
4084
  }, {})) : e;
4060
4085
  }
4061
- function Ai(e, t) {
4086
+ function Ii(e, t) {
4062
4087
  return t ? Object.keys(e).reduce(function(r, n) {
4063
- return r[n] = Pi(e[n], t[n]), r;
4088
+ return r[n] = Oi(e[n], t[n]), r;
4064
4089
  }, v({}, e)) : e;
4065
4090
  }
4066
- function Fe(e) {
4091
+ function je(e) {
4067
4092
  return {
4068
4093
  create: function() {
4069
4094
  return {
@@ -4077,77 +4102,77 @@ function Fe(e) {
4077
4102
  }
4078
4103
  };
4079
4104
  }
4080
- function Bi(e) {
4105
+ function Ci(e) {
4081
4106
  return e === void 0 && (e = {
4082
4107
  number: {},
4083
4108
  dateTime: {},
4084
4109
  pluralRules: {}
4085
4110
  }), {
4086
- getNumberFormat: De(function() {
4111
+ getNumberFormat: Ue(function() {
4087
4112
  for (var t, r = [], n = 0; n < arguments.length; n++)
4088
4113
  r[n] = arguments[n];
4089
4114
  return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
4090
4115
  }, {
4091
- cache: Fe(e.number),
4092
- strategy: Ue.variadic
4116
+ cache: je(e.number),
4117
+ strategy: Ge.variadic
4093
4118
  }),
4094
- getDateTimeFormat: De(function() {
4119
+ getDateTimeFormat: Ue(function() {
4095
4120
  for (var t, r = [], n = 0; n < arguments.length; n++)
4096
4121
  r[n] = arguments[n];
4097
4122
  return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
4098
4123
  }, {
4099
- cache: Fe(e.dateTime),
4100
- strategy: Ue.variadic
4124
+ cache: je(e.dateTime),
4125
+ strategy: Ge.variadic
4101
4126
  }),
4102
- getPluralRules: De(function() {
4127
+ getPluralRules: Ue(function() {
4103
4128
  for (var t, r = [], n = 0; n < arguments.length; n++)
4104
4129
  r[n] = arguments[n];
4105
4130
  return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4106
4131
  }, {
4107
- cache: Fe(e.pluralRules),
4108
- strategy: Ue.variadic
4132
+ cache: je(e.pluralRules),
4133
+ strategy: Ge.variadic
4109
4134
  })
4110
4135
  };
4111
4136
  }
4112
- var Oi = (
4137
+ var Li = (
4113
4138
  /** @class */
4114
4139
  function() {
4115
4140
  function e(t, r, n, i) {
4116
4141
  r === void 0 && (r = e.defaultLocale);
4117
- var o = this;
4142
+ var s = this;
4118
4143
  if (this.formatterCache = {
4119
4144
  number: {},
4120
4145
  dateTime: {},
4121
4146
  pluralRules: {}
4122
4147
  }, this.format = function(l) {
4123
- var u = o.formatToParts(l);
4148
+ var u = s.formatToParts(l);
4124
4149
  if (u.length === 1)
4125
4150
  return u[0].value;
4126
- var h = u.reduce(function(c, f) {
4127
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4151
+ var h = u.reduce(function(f, c) {
4152
+ return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4128
4153
  }, []);
4129
4154
  return h.length <= 1 ? h[0] || "" : h;
4130
4155
  }, this.formatToParts = function(l) {
4131
- return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4156
+ return we(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
4132
4157
  }, this.resolvedOptions = function() {
4133
4158
  var l;
4134
4159
  return {
4135
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
4160
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
4136
4161
  };
4137
4162
  }, this.getAst = function() {
4138
- return o.ast;
4163
+ return s.ast;
4139
4164
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4140
4165
  if (this.message = t, !e.__parse)
4141
4166
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4142
4167
  var a = i || {};
4143
4168
  a.formatters;
4144
- var s = un(a, ["formatters"]);
4145
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
4169
+ var o = fn(a, ["formatters"]);
4170
+ this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
4146
4171
  } else
4147
4172
  this.ast = t;
4148
4173
  if (!Array.isArray(this.ast))
4149
4174
  throw new TypeError("A message must be provided as a String or AST.");
4150
- this.formats = Ai(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
4175
+ this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
4151
4176
  }
4152
4177
  return Object.defineProperty(e, "defaultLocale", {
4153
4178
  get: function() {
@@ -4160,7 +4185,7 @@ var Oi = (
4160
4185
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4161
4186
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4162
4187
  }
4163
- }, e.__parse = xi, e.formats = {
4188
+ }, e.__parse = Ti, e.formats = {
4164
4189
  number: {
4165
4190
  integer: {
4166
4191
  maximumFractionDigits: 0
@@ -4221,7 +4246,7 @@ var Oi = (
4221
4246
  }, e;
4222
4247
  }()
4223
4248
  );
4224
- function Ii(e, t) {
4249
+ function Mi(e, t) {
4225
4250
  if (t == null)
4226
4251
  return;
4227
4252
  if (t in e)
@@ -4231,9 +4256,9 @@ function Ii(e, t) {
4231
4256
  for (let i = 0; i < r.length; i++)
4232
4257
  if (typeof n == "object") {
4233
4258
  if (i > 0) {
4234
- const o = r.slice(i, r.length).join(".");
4235
- if (o in n) {
4236
- n = n[o];
4259
+ const s = r.slice(i, r.length).join(".");
4260
+ if (s in n) {
4261
+ n = n[s];
4237
4262
  break;
4238
4263
  }
4239
4264
  }
@@ -4242,92 +4267,92 @@ function Ii(e, t) {
4242
4267
  n = void 0;
4243
4268
  return n;
4244
4269
  }
4245
- const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4270
+ const j = {}, Ni = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Sr = (e, t) => {
4246
4271
  if (t == null)
4247
4272
  return;
4248
4273
  if (t in j && e in j[t])
4249
4274
  return j[t][e];
4250
4275
  const r = Le(t);
4251
4276
  for (let n = 0; n < r.length; n++) {
4252
- const i = r[n], o = Ni(i, e);
4253
- if (o)
4254
- return Ci(e, t, o);
4277
+ const i = r[n], s = $i(i, e);
4278
+ if (s)
4279
+ return Ni(e, t, s);
4255
4280
  }
4256
4281
  };
4257
- let at;
4282
+ let ct;
4258
4283
  const me = Ie({});
4259
- function Li(e) {
4260
- return at[e] || null;
4284
+ function Ri(e) {
4285
+ return ct[e] || null;
4261
4286
  }
4262
- function Er(e) {
4263
- return e in at;
4287
+ function Tr(e) {
4288
+ return e in ct;
4264
4289
  }
4265
- function Ni(e, t) {
4266
- if (!Er(e))
4290
+ function $i(e, t) {
4291
+ if (!Tr(e))
4267
4292
  return null;
4268
- const r = Li(e);
4269
- return Ii(r, t);
4293
+ const r = Ri(e);
4294
+ return Mi(r, t);
4270
4295
  }
4271
- function Mi(e) {
4296
+ function Di(e) {
4272
4297
  if (e == null)
4273
4298
  return;
4274
4299
  const t = Le(e);
4275
4300
  for (let r = 0; r < t.length; r++) {
4276
4301
  const n = t[r];
4277
- if (Er(n))
4302
+ if (Tr(n))
4278
4303
  return n;
4279
4304
  }
4280
4305
  }
4281
- function xr(e, ...t) {
4282
- delete j[e], me.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
4306
+ function Hr(e, ...t) {
4307
+ delete j[e], me.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
4283
4308
  }
4284
4309
  ie(
4285
4310
  [me],
4286
4311
  ([e]) => Object.keys(e)
4287
4312
  );
4288
- me.subscribe((e) => at = e);
4313
+ me.subscribe((e) => ct = e);
4289
4314
  const Se = {};
4290
- function Ri(e, t) {
4315
+ function Ui(e, t) {
4291
4316
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4292
4317
  }
4293
- function wr(e) {
4318
+ function Br(e) {
4294
4319
  return Se[e];
4295
4320
  }
4296
- function $i(e) {
4321
+ function Gi(e) {
4297
4322
  return Le(e).map((t) => {
4298
- const r = wr(t);
4323
+ const r = Br(t);
4299
4324
  return [t, r ? [...r] : []];
4300
4325
  }).filter(([, t]) => t.length > 0);
4301
4326
  }
4302
- function rt(e) {
4327
+ function nt(e) {
4303
4328
  return e == null ? !1 : Le(e).some(
4304
4329
  (t) => {
4305
4330
  var r;
4306
- return (r = wr(t)) == null ? void 0 : r.size;
4331
+ return (r = Br(t)) == null ? void 0 : r.size;
4307
4332
  }
4308
4333
  );
4309
4334
  }
4310
- function Di(e, t) {
4335
+ function Fi(e, t) {
4311
4336
  return Promise.all(
4312
- t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
4313
- ).then((n) => xr(e, ...n));
4337
+ t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4338
+ ).then((n) => Hr(e, ...n));
4314
4339
  }
4315
4340
  const ue = {};
4316
- function Sr(e) {
4317
- if (!rt(e))
4341
+ function Pr(e) {
4342
+ if (!nt(e))
4318
4343
  return e in ue ? ue[e] : Promise.resolve();
4319
- const t = $i(e);
4344
+ const t = Gi(e);
4320
4345
  return ue[e] = Promise.all(
4321
4346
  t.map(
4322
- ([r, n]) => Di(r, n)
4347
+ ([r, n]) => Fi(r, n)
4323
4348
  )
4324
4349
  ).then(() => {
4325
- if (rt(e))
4326
- return Sr(e);
4350
+ if (nt(e))
4351
+ return Pr(e);
4327
4352
  delete ue[e];
4328
4353
  }), ue[e];
4329
4354
  }
4330
- const Ui = {
4355
+ const ji = {
4331
4356
  number: {
4332
4357
  scientific: { notation: "scientific" },
4333
4358
  engineering: { notation: "engineering" },
@@ -4356,78 +4381,78 @@ const Ui = {
4356
4381
  timeZoneName: "short"
4357
4382
  }
4358
4383
  }
4359
- }, Gi = {
4384
+ }, ki = {
4360
4385
  fallbackLocale: null,
4361
4386
  loadingDelay: 200,
4362
- formats: Ui,
4387
+ formats: ji,
4363
4388
  warnOnMissingMessages: !0,
4364
4389
  handleMissingMessage: void 0,
4365
4390
  ignoreTag: !0
4366
- }, Fi = Gi;
4391
+ }, Vi = ki;
4367
4392
  function ne() {
4368
- return Fi;
4393
+ return Vi;
4369
4394
  }
4370
- const je = Ie(!1);
4371
- var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, Wi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zi = (e, t) => {
4395
+ const ke = Ie(!1);
4396
+ var Xi = Object.defineProperty, Wi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4372
4397
  for (var r in t || (t = {}))
4373
- Xi.call(t, r) && It(e, r, t[r]);
4374
- if (Ot)
4375
- for (var r of Ot(t))
4376
- Wi.call(t, r) && It(e, r, t[r]);
4398
+ qi.call(t, r) && Nt(e, r, t[r]);
4399
+ if (Mt)
4400
+ for (var r of Mt(t))
4401
+ Zi.call(t, r) && Nt(e, r, t[r]);
4377
4402
  return e;
4378
- }, qi = (e, t) => ki(e, Vi(t));
4379
- let nt;
4380
- const Ae = Ie(null);
4381
- function Ct(e) {
4403
+ }, Ji = (e, t) => Wi(e, zi(t));
4404
+ let it;
4405
+ const Pe = Ie(null);
4406
+ function Rt(e) {
4382
4407
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4383
4408
  }
4384
4409
  function Le(e, t = ne().fallbackLocale) {
4385
- const r = Ct(e);
4386
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
4410
+ const r = Rt(e);
4411
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4387
4412
  }
4388
4413
  function W() {
4389
- return nt ?? void 0;
4414
+ return it ?? void 0;
4390
4415
  }
4391
- Ae.subscribe((e) => {
4392
- nt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4416
+ Pe.subscribe((e) => {
4417
+ it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4393
4418
  });
4394
- const Zi = (e) => {
4395
- if (e && Mi(e) && rt(e)) {
4419
+ const Yi = (e) => {
4420
+ if (e && Di(e) && nt(e)) {
4396
4421
  const { loadingDelay: t } = ne();
4397
4422
  let r;
4398
4423
  return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4399
- () => je.set(!0),
4424
+ () => ke.set(!0),
4400
4425
  t
4401
- ) : je.set(!0), Sr(e).then(() => {
4402
- Ae.set(e);
4426
+ ) : ke.set(!0), Pr(e).then(() => {
4427
+ Pe.set(e);
4403
4428
  }).finally(() => {
4404
- clearTimeout(r), je.set(!1);
4429
+ clearTimeout(r), ke.set(!1);
4405
4430
  });
4406
4431
  }
4407
- return Ae.set(e);
4408
- }, oe = qi(zi({}, Ae), {
4409
- set: Zi
4410
- }), Ne = (e) => {
4432
+ return Pe.set(e);
4433
+ }, se = Ji(Qi({}, Pe), {
4434
+ set: Yi
4435
+ }), Me = (e) => {
4411
4436
  const t = /* @__PURE__ */ Object.create(null);
4412
4437
  return (n) => {
4413
4438
  const i = JSON.stringify(n);
4414
4439
  return i in t ? t[i] : t[i] = e(n);
4415
4440
  };
4416
4441
  };
4417
- var Qi = Object.defineProperty, Be = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
4442
+ var Ki = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4418
4443
  for (var r in t || (t = {}))
4419
- Tr.call(t, r) && Lt(e, r, t[r]);
4420
- if (Be)
4421
- for (var r of Be(t))
4422
- Hr.call(t, r) && Lt(e, r, t[r]);
4444
+ Ar.call(t, r) && $t(e, r, t[r]);
4445
+ if (Ae)
4446
+ for (var r of Ae(t))
4447
+ Or.call(t, r) && $t(e, r, t[r]);
4423
4448
  return e;
4424
- }, se = (e, t) => {
4449
+ }, oe = (e, t) => {
4425
4450
  var r = {};
4426
4451
  for (var n in e)
4427
- Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4428
- if (e != null && Be)
4429
- for (var n of Be(e))
4430
- t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
4452
+ Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4453
+ if (e != null && Ae)
4454
+ for (var n of Ae(e))
4455
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4431
4456
  return r;
4432
4457
  };
4433
4458
  const fe = (e, t) => {
@@ -4435,61 +4460,61 @@ const fe = (e, t) => {
4435
4460
  if (e in r && t in r[e])
4436
4461
  return r[e][t];
4437
4462
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4438
- }, Ji = Ne(
4463
+ }, es = Me(
4439
4464
  (e) => {
4440
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4465
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4441
4466
  if (r == null)
4442
4467
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4443
4468
  return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
4444
4469
  }
4445
- ), Yi = Ne(
4470
+ ), ts = Me(
4446
4471
  (e) => {
4447
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4472
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4448
4473
  if (r == null)
4449
4474
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4450
4475
  return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
4451
4476
  }
4452
- ), Ki = Ne(
4477
+ ), rs = Me(
4453
4478
  (e) => {
4454
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4479
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4455
4480
  if (r == null)
4456
4481
  throw new Error(
4457
4482
  '[svelte-i18n] A "locale" must be set to format time values'
4458
4483
  );
4459
4484
  return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
4460
4485
  }
4461
- ), eo = (e = {}) => {
4486
+ ), ns = (e = {}) => {
4462
4487
  var t = e, {
4463
4488
  locale: r = W()
4464
- } = t, n = se(t, [
4489
+ } = t, n = oe(t, [
4465
4490
  "locale"
4466
4491
  ]);
4467
- return Ji(ut({ locale: r }, n));
4468
- }, to = (e = {}) => {
4492
+ return es(ft({ locale: r }, n));
4493
+ }, is = (e = {}) => {
4469
4494
  var t = e, {
4470
4495
  locale: r = W()
4471
- } = t, n = se(t, [
4496
+ } = t, n = oe(t, [
4472
4497
  "locale"
4473
4498
  ]);
4474
- return Yi(ut({ locale: r }, n));
4475
- }, ro = (e = {}) => {
4499
+ return ts(ft({ locale: r }, n));
4500
+ }, ss = (e = {}) => {
4476
4501
  var t = e, {
4477
4502
  locale: r = W()
4478
- } = t, n = se(t, [
4503
+ } = t, n = oe(t, [
4479
4504
  "locale"
4480
4505
  ]);
4481
- return Ki(ut({ locale: r }, n));
4482
- }, no = Ne(
4506
+ return rs(ft({ locale: r }, n));
4507
+ }, os = Me(
4483
4508
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4484
- (e, t = W()) => new Oi(e, t, ne().formats, {
4509
+ (e, t = W()) => new Li(e, t, ne().formats, {
4485
4510
  ignoreTag: ne().ignoreTag
4486
4511
  })
4487
- ), io = (e, t = {}) => {
4488
- var r, n, i, o;
4512
+ ), as = (e, t = {}) => {
4513
+ var r, n, i, s;
4489
4514
  let a = t;
4490
4515
  typeof e == "object" && (a = e, e = a.id);
4491
4516
  const {
4492
- values: s,
4517
+ values: o,
4493
4518
  locale: l = W(),
4494
4519
  default: u
4495
4520
  } = a;
@@ -4497,35 +4522,35 @@ const fe = (e, t) => {
4497
4522
  throw new Error(
4498
4523
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4499
4524
  );
4500
- let h = vr(e, l);
4525
+ let h = Sr(e, l);
4501
4526
  if (!h)
4502
- h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4527
+ h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4503
4528
  else if (typeof h != "string")
4504
4529
  return console.warn(
4505
4530
  `[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.`
4506
4531
  ), h;
4507
- if (!s)
4532
+ if (!o)
4508
4533
  return h;
4509
- let c = h;
4534
+ let f = h;
4510
4535
  try {
4511
- c = no(h, l).format(s);
4512
- } catch (f) {
4513
- f instanceof Error && console.warn(
4536
+ f = os(h, l).format(o);
4537
+ } catch (c) {
4538
+ c instanceof Error && console.warn(
4514
4539
  `[svelte-i18n] Message "${e}" has syntax error:`,
4515
- f.message
4540
+ c.message
4516
4541
  );
4517
4542
  }
4518
- return c;
4519
- }, oo = (e, t) => ro(t).format(e), so = (e, t) => to(t).format(e), ao = (e, t) => eo(t).format(e), uo = (e, t = W()) => vr(e, t), lo = ie([oe, me], () => io);
4520
- ie([oe], () => oo);
4521
- ie([oe], () => so);
4522
- ie([oe], () => ao);
4523
- ie([oe, me], () => uo);
4524
- window.emWidgets = { topic: xn };
4525
- const Pr = (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)), ho = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4526
- function Go(e, t) {
4543
+ return f;
4544
+ }, us = (e, t) => ss(t).format(e), ls = (e, t) => is(t).format(e), hs = (e, t) => ns(t).format(e), cs = (e, t = W()) => Sr(e, t), fs = ie([se, me], () => as);
4545
+ ie([se], () => us);
4546
+ ie([se], () => ls);
4547
+ ie([se], () => hs);
4548
+ ie([se, me], () => cs);
4549
+ window.emWidgets = { topic: Hn };
4550
+ const Ir = (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)), ds = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4551
+ function Ws(e, t) {
4527
4552
  const r = window.navigator.userAgent;
4528
- return Pr(r) ? t = e.filter((n) => {
4553
+ return Ir(r) ? t = e.filter((n) => {
4529
4554
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4530
4555
  return n;
4531
4556
  }) : t = e.filter((n) => {
@@ -4533,24 +4558,47 @@ function Go(e, t) {
4533
4558
  return n;
4534
4559
  }), t;
4535
4560
  }
4536
- function Fo(e, t) {
4561
+ function zs(e, t) {
4537
4562
  return new Promise((r, n) => {
4538
4563
  const i = new Headers();
4539
4564
  i.append("X-SessionID", t);
4540
- const o = {
4565
+ const s = {
4541
4566
  method: "GET",
4542
4567
  headers: i
4543
4568
  };
4544
- fetch(`${e}/v1/player/session/player`, o).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4569
+ fetch(`${e}/v1/player/session/player`, s).then((a) => a.json()).then((a) => r(a)).catch((a) => n(a));
4545
4570
  });
4546
4571
  }
4547
- function Nt(e, t) {
4548
- xr(e, t);
4572
+ function ps(e, t) {
4573
+ if (e) {
4574
+ const r = document.createElement("style");
4575
+ r.innerHTML = t, e.appendChild(r);
4576
+ }
4577
+ }
4578
+ function ms(e, t) {
4579
+ const r = new URL(t);
4580
+ fetch(r.href).then((n) => n.text()).then((n) => {
4581
+ const i = document.createElement("style");
4582
+ i.innerHTML = n, e && e.appendChild(i);
4583
+ }).catch((n) => {
4584
+ console.error("There was an error while trying to load client styling from URL", n);
4585
+ });
4586
+ }
4587
+ function bs(e, t, r) {
4588
+ if (window.emMessageBus) {
4589
+ const n = document.createElement("style");
4590
+ window.emMessageBus.subscribe(t, (i) => {
4591
+ n.innerHTML = i, e && e.appendChild(n);
4592
+ });
4593
+ }
4594
+ }
4595
+ function Dt(e, t) {
4596
+ Hr(e, t);
4549
4597
  }
4550
- function co(e) {
4551
- oe.set(e);
4598
+ function ys(e) {
4599
+ se.set(e);
4552
4600
  }
4553
- const Mt = {
4601
+ const Ut = {
4554
4602
  en: {
4555
4603
  error: "500 Error - Internal Server Error"
4556
4604
  },
@@ -4582,7 +4630,7 @@ if (typeof window < "u") {
4582
4630
  }
4583
4631
  };
4584
4632
  };
4585
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B7hChP4v.js").then(({ default: t }) => {
4633
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B-FOmYEZ.js").then(({ default: t }) => {
4586
4634
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4587
4635
  });
4588
4636
  }
@@ -4598,120 +4646,120 @@ if (typeof window < "u") {
4598
4646
  }
4599
4647
  };
4600
4648
  };
4601
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BNNa1Jdv.js").then(({ default: t }) => {
4649
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DIhsLlMC.js").then(({ default: t }) => {
4602
4650
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4603
4651
  });
4604
4652
  }
4605
- function fo(e) {
4606
- Mr(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4653
+ function gs(e) {
4654
+ Ur(e, "svelte-1bqenf9", `.CasinoCalendarItem.svelte-1bqenf9{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-1bqenf9{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-1bqenf9{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1bqenf9{display:block;width:80px;height:80px;margin:0 auto
4607
4655
  }.LoadingSpinner.svelte-1bqenf9:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-1bqenf9-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1bqenf9-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4608
4656
  }
4609
- function Rt(e, t, r) {
4657
+ function Gt(e, t, r) {
4610
4658
  const n = e.slice();
4611
- return n[26] = t[r], n[28] = r, n;
4659
+ return n[25] = t[r], n[27] = r, n;
4612
4660
  }
4613
- function po(e) {
4614
- let t, r, n, i = dt(
4661
+ function _s(e) {
4662
+ let t, r, n, i = yt(
4615
4663
  /*calendarCollections*/
4616
4664
  e[5]
4617
- ), o = [];
4618
- for (let s = 0; s < i.length; s += 1)
4619
- o[s] = $t(Rt(e, i, s));
4665
+ ), s = [];
4666
+ for (let o = 0; o < i.length; o += 1)
4667
+ s[o] = Ft(Gt(e, i, o));
4620
4668
  let a = (
4621
4669
  /*calendarModalOpened*/
4622
- e[10] == !0 && Dt(e)
4670
+ e[10] == !0 && jt(e)
4623
4671
  );
4624
4672
  return {
4625
4673
  c() {
4626
- t = R("div");
4627
- for (let s = 0; s < o.length; s += 1)
4628
- o[s].c();
4629
- r = Ur(), a && a.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4674
+ t = M("div");
4675
+ for (let o = 0; o < s.length; o += 1)
4676
+ s[o].c();
4677
+ r = kr(), a && a.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4630
4678
  (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4631
4679
  },
4632
- m(s, l) {
4633
- V(s, t, l);
4634
- for (let u = 0; u < o.length; u += 1)
4635
- o[u] && o[u].m(t, null);
4680
+ m(o, l) {
4681
+ V(o, t, l);
4682
+ for (let u = 0; u < s.length; u += 1)
4683
+ s[u] && s[u].m(t, null);
4636
4684
  pe(t, r), a && a.m(t, null);
4637
4685
  },
4638
- p(s, l) {
4686
+ p(o, l) {
4639
4687
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4640
4688
  47) {
4641
- i = dt(
4689
+ i = yt(
4642
4690
  /*calendarCollections*/
4643
- s[5]
4691
+ o[5]
4644
4692
  );
4645
4693
  let u;
4646
4694
  for (u = 0; u < i.length; u += 1) {
4647
- const h = Rt(s, i, u);
4648
- o[u] ? o[u].p(h, l) : (o[u] = $t(h), o[u].c(), o[u].m(t, r));
4695
+ const h = Gt(o, i, u);
4696
+ s[u] ? s[u].p(h, l) : (s[u] = Ft(h), s[u].c(), s[u].m(t, r));
4649
4697
  }
4650
- for (; u < o.length; u += 1)
4651
- o[u].d(1);
4652
- o.length = i.length;
4698
+ for (; u < s.length; u += 1)
4699
+ s[u].d(1);
4700
+ s.length = i.length;
4653
4701
  }
4654
4702
  /*calendarModalOpened*/
4655
- s[10] == !0 ? a ? a.p(s, l) : (a = Dt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4703
+ o[10] == !0 ? a ? a.p(o, l) : (a = jt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4656
4704
  512 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4657
- (s[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4705
+ (o[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4658
4706
  },
4659
- d(s) {
4660
- s && $(t), $r(o, s), a && a.d();
4707
+ d(o) {
4708
+ o && R(t), Fr(s, o), a && a.d();
4661
4709
  }
4662
4710
  };
4663
4711
  }
4664
- function mo(e) {
4712
+ function vs(e) {
4665
4713
  let t;
4666
4714
  return {
4667
4715
  c() {
4668
- t = R("div"), X(t, "class", "LoadingSpinner svelte-1bqenf9");
4716
+ t = M("div"), X(t, "class", "LoadingSpinner svelte-1bqenf9");
4669
4717
  },
4670
4718
  m(r, n) {
4671
4719
  V(r, t, n);
4672
4720
  },
4673
- p: B,
4721
+ p: A,
4674
4722
  d(r) {
4675
- r && $(t);
4723
+ r && R(t);
4676
4724
  }
4677
4725
  };
4678
4726
  }
4679
- function bo(e) {
4727
+ function Es(e) {
4680
4728
  let t, r = (
4681
4729
  /*$_*/
4682
4730
  e[11]("error") + ""
4683
4731
  ), n;
4684
4732
  return {
4685
4733
  c() {
4686
- t = R("p"), n = st(r), X(t, "class", "SearchLoading");
4734
+ t = M("p"), n = at(r), X(t, "class", "SearchLoading");
4687
4735
  },
4688
- m(i, o) {
4689
- V(i, t, o), pe(t, n);
4736
+ m(i, s) {
4737
+ V(i, t, s), pe(t, n);
4690
4738
  },
4691
- p(i, o) {
4692
- o & /*$_*/
4739
+ p(i, s) {
4740
+ s & /*$_*/
4693
4741
  2048 && r !== (r = /*$_*/
4694
- i[11]("error") + "") && Fr(n, r);
4742
+ i[11]("error") + "") && Xr(n, r);
4695
4743
  },
4696
4744
  d(i) {
4697
- i && $(t);
4745
+ i && R(t);
4698
4746
  }
4699
4747
  };
4700
4748
  }
4701
- function $t(e) {
4702
- let t, r, n, i, o, a;
4749
+ function Ft(e) {
4750
+ let t, r, n, i, s, a;
4703
4751
  return {
4704
4752
  c() {
4705
- t = R("casino-calendar-daily-item"), y(t, "dailybackground", r = /*dailyCalendarData*/
4706
- e[26].dailyBackground), y(t, "dailyicon", n = /*dailyCalendarData*/
4707
- e[26].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4708
- e[26].dailyDay), y(t, "dailydescription", o = /*dailyCalendarData*/
4709
- e[26].dailyDescription), y(t, "dailybuttontitle", a = /*dailyCalendarData*/
4710
- e[26].dailyButtonTitle), y(
4753
+ t = M("casino-calendar-daily-item"), y(t, "dailybackground", r = /*dailyCalendarData*/
4754
+ e[25].dailyBackground), y(t, "dailyicon", n = /*dailyCalendarData*/
4755
+ e[25].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4756
+ e[25].dailyDay), y(t, "dailydescription", s = /*dailyCalendarData*/
4757
+ e[25].dailyDescription), y(t, "dailybuttontitle", a = /*dailyCalendarData*/
4758
+ e[25].dailyButtonTitle), y(
4711
4759
  t,
4712
4760
  "index",
4713
4761
  /*index*/
4714
- e[28]
4762
+ e[27]
4715
4763
  ), y(
4716
4764
  t,
4717
4765
  "lang",
@@ -4734,56 +4782,56 @@ function $t(e) {
4734
4782
  e[3]
4735
4783
  );
4736
4784
  },
4737
- m(s, l) {
4738
- V(s, t, l);
4785
+ m(o, l) {
4786
+ V(o, t, l);
4739
4787
  },
4740
- p(s, l) {
4788
+ p(o, l) {
4741
4789
  l & /*calendarCollections*/
4742
4790
  32 && r !== (r = /*dailyCalendarData*/
4743
- s[26].dailyBackground) && y(t, "dailybackground", r), l & /*calendarCollections*/
4791
+ o[25].dailyBackground) && y(t, "dailybackground", r), l & /*calendarCollections*/
4744
4792
  32 && n !== (n = /*dailyCalendarData*/
4745
- s[26].dailyIcon) && y(t, "dailyicon", n), l & /*calendarCollections*/
4793
+ o[25].dailyIcon) && y(t, "dailyicon", n), l & /*calendarCollections*/
4746
4794
  32 && i !== (i = /*dailyCalendarData*/
4747
- s[26].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4748
- 32 && o !== (o = /*dailyCalendarData*/
4749
- s[26].dailyDescription) && y(t, "dailydescription", o), l & /*calendarCollections*/
4795
+ o[25].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4796
+ 32 && s !== (s = /*dailyCalendarData*/
4797
+ o[25].dailyDescription) && y(t, "dailydescription", s), l & /*calendarCollections*/
4750
4798
  32 && a !== (a = /*dailyCalendarData*/
4751
- s[26].dailyButtonTitle) && y(t, "dailybuttontitle", a), l & /*lang*/
4799
+ o[25].dailyButtonTitle) && y(t, "dailybuttontitle", a), l & /*lang*/
4752
4800
  1 && y(
4753
4801
  t,
4754
4802
  "lang",
4755
4803
  /*lang*/
4756
- s[0]
4804
+ o[0]
4757
4805
  ), l & /*clientstyling*/
4758
4806
  2 && y(
4759
4807
  t,
4760
4808
  "clientstyling",
4761
4809
  /*clientstyling*/
4762
- s[1]
4810
+ o[1]
4763
4811
  ), l & /*clientstylingurl*/
4764
4812
  4 && y(
4765
4813
  t,
4766
4814
  "clientstylingurl",
4767
4815
  /*clientstylingurl*/
4768
- s[2]
4816
+ o[2]
4769
4817
  ), l & /*translationurl*/
4770
4818
  8 && y(
4771
4819
  t,
4772
4820
  "translationurl",
4773
4821
  /*translationurl*/
4774
- s[3]
4822
+ o[3]
4775
4823
  );
4776
4824
  },
4777
- d(s) {
4778
- s && $(t);
4825
+ d(o) {
4826
+ o && R(t);
4779
4827
  }
4780
4828
  };
4781
4829
  }
4782
- function Dt(e) {
4783
- let t, r, n, i, o, a, s, l;
4830
+ function jt(e) {
4831
+ let t, r, n, i, s, a, o, l;
4784
4832
  return {
4785
4833
  c() {
4786
- t = R("div"), r = R("casino-calendar-daily-details"), y(r, "dailybackground", n = /*calendarCollections*/
4834
+ t = M("div"), r = M("casino-calendar-daily-details"), y(r, "dailybackground", n = /*calendarCollections*/
4787
4835
  e[5][
4788
4836
  /*selectedIndex*/
4789
4837
  e[6]
@@ -4791,7 +4839,7 @@ function Dt(e) {
4791
4839
  e[5][
4792
4840
  /*selectedIndex*/
4793
4841
  e[6]
4794
- ].dailyButtonTitle), y(r, "dailyday", o = /*calendarCollections*/
4842
+ ].dailyButtonTitle), y(r, "dailyday", s = /*calendarCollections*/
4795
4843
  e[5][
4796
4844
  /*selectedIndex*/
4797
4845
  e[6]
@@ -4799,7 +4847,7 @@ function Dt(e) {
4799
4847
  e[5][
4800
4848
  /*selectedIndex*/
4801
4849
  e[6]
4802
- ].dailyDescription), y(r, "dailyicon", s = /*calendarCollections*/
4850
+ ].dailyDescription), y(r, "dailyicon", o = /*calendarCollections*/
4803
4851
  e[5][
4804
4852
  /*selectedIndex*/
4805
4853
  e[6]
@@ -4844,21 +4892,21 @@ function Dt(e) {
4844
4892
  /*selectedIndex*/
4845
4893
  u[6]
4846
4894
  ].dailyButtonTitle) && y(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4847
- 96 && o !== (o = /*calendarCollections*/
4895
+ 96 && s !== (s = /*calendarCollections*/
4848
4896
  u[5][
4849
4897
  /*selectedIndex*/
4850
4898
  u[6]
4851
- ].dailyDay) && y(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4899
+ ].dailyDay) && y(r, "dailyday", s), h & /*calendarCollections, selectedIndex*/
4852
4900
  96 && a !== (a = /*calendarCollections*/
4853
4901
  u[5][
4854
4902
  /*selectedIndex*/
4855
4903
  u[6]
4856
4904
  ].dailyDescription) && y(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4857
- 96 && s !== (s = /*calendarCollections*/
4905
+ 96 && o !== (o = /*calendarCollections*/
4858
4906
  u[5][
4859
4907
  /*selectedIndex*/
4860
4908
  u[6]
4861
- ].dailyIcon) && y(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4909
+ ].dailyIcon) && y(r, "dailyicon", o), h & /*calendarCollections, selectedIndex*/
4862
4910
  96 && l !== (l = /*calendarCollections*/
4863
4911
  u[5][
4864
4912
  /*selectedIndex*/
@@ -4890,152 +4938,137 @@ function Dt(e) {
4890
4938
  );
4891
4939
  },
4892
4940
  d(u) {
4893
- u && $(t);
4941
+ u && R(t);
4894
4942
  }
4895
4943
  };
4896
4944
  }
4897
- function yo(e) {
4945
+ function xs(e) {
4898
4946
  let t;
4899
- function r(o, a) {
4947
+ function r(s, a) {
4900
4948
  if (
4901
4949
  /*hasErrors*/
4902
- o[8]
4903
- ) return bo;
4950
+ s[8]
4951
+ ) return Es;
4904
4952
  if (
4905
4953
  /*isLoading*/
4906
- o[7]
4907
- ) return mo;
4954
+ s[7]
4955
+ ) return vs;
4908
4956
  if (
4909
4957
  /*calendarCollections*/
4910
- o[5]?.length
4911
- ) return po;
4958
+ s[5]?.length
4959
+ ) return _s;
4912
4960
  }
4913
4961
  let n = r(e), i = n && n(e);
4914
4962
  return {
4915
4963
  c() {
4916
- t = R("div"), i && i.c();
4964
+ t = M("div"), i && i.c();
4917
4965
  },
4918
- m(o, a) {
4919
- V(o, t, a), i && i.m(t, null), e[15](t);
4966
+ m(s, a) {
4967
+ V(s, t, a), i && i.m(t, null), e[16](t);
4920
4968
  },
4921
- p(o, [a]) {
4922
- n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4969
+ p(s, [a]) {
4970
+ n === (n = r(s)) && i ? i.p(s, a) : (i && i.d(1), i = n && n(s), i && (i.c(), i.m(t, null)));
4923
4971
  },
4924
- i: B,
4925
- o: B,
4926
- d(o) {
4927
- o && $(t), i && i.d(), e[15](null);
4972
+ i: A,
4973
+ o: A,
4974
+ d(s) {
4975
+ s && R(t), i && i.d(), e[16](null);
4928
4976
  }
4929
4977
  };
4930
4978
  }
4931
- function go(e, t, r) {
4979
+ function ws(e, t, r) {
4932
4980
  let n;
4933
- Cr(e, lo, (b) => r(11, n = b));
4934
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, c, f, p = 0, d = !0, m = !1, E = !1, S = window.navigator.userAgent, H = !1;
4935
- const T = () => {
4936
- co(s);
4981
+ Rr(e, fs, (b) => r(11, n = b));
4982
+ let { cmsendpoint: i = "" } = t, { env: s = "" } = t, { userroles: a = "" } = t, { lang: o = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, d = 0, m = !0, E = !1, T = !1, H = window.navigator.userAgent, S = !1, O;
4983
+ const B = () => {
4984
+ ys(o);
4937
4985
  };
4938
- Object.keys(Mt).forEach((b) => {
4939
- Nt(b, Mt[b]);
4986
+ Object.keys(Ut).forEach((b) => {
4987
+ Dt(b, Ut[b]);
4940
4988
  });
4941
- const O = () => {
4989
+ const C = () => {
4942
4990
  let b = h;
4943
4991
  if (b)
4944
- return fetch(b).then((I) => I.json()).then((I) => {
4945
- Object.keys(I).forEach((M) => {
4946
- Nt(M, I[M]);
4992
+ return fetch(b).then((N) => N.json()).then((N) => {
4993
+ Object.keys(N).forEach((F) => {
4994
+ Dt(F, N[F]);
4947
4995
  });
4948
- }).catch((I) => {
4949
- console.log(I);
4996
+ }).catch((N) => {
4997
+ console.log(N);
4950
4998
  });
4951
- }, P = () => {
4952
- r(7, d = !0);
4953
- let b = new URL(`${i}/${s}/daily-calendar`);
4954
- b.searchParams.append("userRoles", a), b.searchParams.append("env", o);
4955
- let I = ho(S);
4956
- I && (I === "PC" ? b.searchParams.append("device", "dk") : I === "iPad" || I === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((M) => M.json()).then((M) => {
4957
- r(5, f = M);
4958
- }).catch((M) => {
4959
- console.log(M), r(8, m = !0);
4999
+ }, w = () => {
5000
+ r(7, m = !0);
5001
+ let b = new URL(`${i}/${o}/daily-calendar`);
5002
+ b.searchParams.append("userRoles", a), b.searchParams.append("env", s);
5003
+ let N = ds(H);
5004
+ N && (N === "PC" ? b.searchParams.append("device", "dk") : N === "iPad" || N === "iPhone" ? b.searchParams.append("device", "ios") : b.searchParams.append("device", "mtWeb")), fetch(b.href).then((F) => F.json()).then((F) => {
5005
+ r(5, p = F);
5006
+ }).catch((F) => {
5007
+ console.log(F), r(8, E = !0);
4960
5008
  }).finally(() => {
4961
- r(7, d = !1);
5009
+ r(7, m = !1);
4962
5010
  });
4963
- }, C = () => {
4964
- P();
4965
- }, x = (b) => {
4966
- b.data && b.data.type == "OpenCalendar" && (r(6, p = b.data.index), r(10, H = !0), window.postMessage(
5011
+ }, L = () => {
5012
+ w();
5013
+ }, I = (b) => {
5014
+ b.data && b.data.type == "OpenCalendar" && (r(6, d = b.data.index), r(10, S = !0), window.postMessage(
4967
5015
  {
4968
5016
  type: "ShowModal",
4969
- selectedIndex: p,
5017
+ selectedIndex: d,
4970
5018
  identifier: "Calendar"
4971
5019
  },
4972
5020
  window.location.href
4973
5021
  ), window.postMessage({
4974
5022
  type: "DailyEventsData",
4975
- data: f[p]?.dailyEvents
4976
- })), b.data && b.data.type == "ModalClosed" && r(10, H = !1);
4977
- }, L = () => {
4978
- let b = document.createElement("style");
4979
- b.innerHTML = l, c.appendChild(b);
4980
- }, N = () => {
4981
- let b = new URL(u), I = document.createElement("style");
4982
- fetch(b.href).then((M) => M.text()).then((M) => {
4983
- I.innerHTML = M, setTimeout(
4984
- () => {
4985
- c.appendChild(I);
4986
- },
4987
- 1
4988
- ), setTimeout(
4989
- () => {
4990
- },
4991
- 500
4992
- );
4993
- });
5023
+ data: p[d]?.dailyEvents
5024
+ })), b.data && b.data.type == "ModalClosed" && r(10, S = !1);
4994
5025
  };
4995
- Zr(() => (window.addEventListener("message", x, !1), Pr(S) && r(9, E = !0), () => {
4996
- window.removeEventListener("message", x);
5026
+ Kr(() => (window.addEventListener("message", I, !1), Ir(H) && r(9, T = !0), () => {
5027
+ window.emMessageBus && O && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", I);
4997
5028
  }));
4998
5029
  function z(b) {
4999
- ke[b ? "unshift" : "push"](() => {
5030
+ Ve[b ? "unshift" : "push"](() => {
5000
5031
  c = b, r(4, c);
5001
5032
  });
5002
5033
  }
5003
5034
  return e.$$set = (b) => {
5004
- "cmsendpoint" in b && r(12, i = b.cmsendpoint), "env" in b && r(13, o = b.env), "userroles" in b && r(14, a = b.userroles), "lang" in b && r(0, s = b.lang), "clientstyling" in b && r(1, l = b.clientstyling), "clientstylingurl" in b && r(2, u = b.clientstylingurl), "translationurl" in b && r(3, h = b.translationurl);
5035
+ "cmsendpoint" in b && r(12, i = b.cmsendpoint), "env" in b && r(13, s = b.env), "userroles" in b && r(14, a = b.userroles), "lang" in b && r(0, o = b.lang), "clientstyling" in b && r(1, l = b.clientstyling), "clientstylingurl" in b && r(2, u = b.clientstylingurl), "translationurl" in b && r(3, h = b.translationurl), "mbsource" in b && r(15, f = b.mbsource);
5005
5036
  }, e.$$.update = () => {
5006
5037
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
5007
- 28673 && i && s && o && a && C(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5008
- 18 && l && c && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5009
- 20 && u && c && N(), e.$$.dirty & /*lang*/
5010
- 1 && s && T(), e.$$.dirty & /*lang, translationurl*/
5011
- 9 && s && h && O();
5038
+ 28673 && i && o && s && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
5039
+ 18 && l && c && ps(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
5040
+ 20 && u && c && ms(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
5041
+ 32784 && c && bs(c, `${f}.Style`), e.$$.dirty & /*lang*/
5042
+ 1 && o && B(), e.$$.dirty & /*lang, translationurl*/
5043
+ 9 && o && h && C();
5012
5044
  }, [
5013
- s,
5045
+ o,
5014
5046
  l,
5015
5047
  u,
5016
5048
  h,
5017
5049
  c,
5018
- f,
5019
5050
  p,
5020
5051
  d,
5021
5052
  m,
5022
5053
  E,
5023
- H,
5054
+ T,
5055
+ S,
5024
5056
  n,
5025
5057
  i,
5026
- o,
5058
+ s,
5027
5059
  a,
5060
+ f,
5028
5061
  z
5029
5062
  ];
5030
5063
  }
5031
- class Ar extends sn {
5064
+ class Cr extends hn {
5032
5065
  constructor(t) {
5033
- super(), nn(
5066
+ super(), un(
5034
5067
  this,
5035
5068
  t,
5036
- go,
5037
- yo,
5038
- Gt,
5069
+ ws,
5070
+ xs,
5071
+ Vt,
5039
5072
  {
5040
5073
  cmsendpoint: 12,
5041
5074
  env: 13,
@@ -5043,116 +5076,127 @@ class Ar extends sn {
5043
5076
  lang: 0,
5044
5077
  clientstyling: 1,
5045
5078
  clientstylingurl: 2,
5046
- translationurl: 3
5079
+ translationurl: 3,
5080
+ mbsource: 15
5047
5081
  },
5048
- fo
5082
+ gs
5049
5083
  );
5050
5084
  }
5051
5085
  get cmsendpoint() {
5052
5086
  return this.$$.ctx[12];
5053
5087
  }
5054
5088
  set cmsendpoint(t) {
5055
- this.$$set({ cmsendpoint: t }), D();
5089
+ this.$$set({ cmsendpoint: t }), $();
5056
5090
  }
5057
5091
  get env() {
5058
5092
  return this.$$.ctx[13];
5059
5093
  }
5060
5094
  set env(t) {
5061
- this.$$set({ env: t }), D();
5095
+ this.$$set({ env: t }), $();
5062
5096
  }
5063
5097
  get userroles() {
5064
5098
  return this.$$.ctx[14];
5065
5099
  }
5066
5100
  set userroles(t) {
5067
- this.$$set({ userroles: t }), D();
5101
+ this.$$set({ userroles: t }), $();
5068
5102
  }
5069
5103
  get lang() {
5070
5104
  return this.$$.ctx[0];
5071
5105
  }
5072
5106
  set lang(t) {
5073
- this.$$set({ lang: t }), D();
5107
+ this.$$set({ lang: t }), $();
5074
5108
  }
5075
5109
  get clientstyling() {
5076
5110
  return this.$$.ctx[1];
5077
5111
  }
5078
5112
  set clientstyling(t) {
5079
- this.$$set({ clientstyling: t }), D();
5113
+ this.$$set({ clientstyling: t }), $();
5080
5114
  }
5081
5115
  get clientstylingurl() {
5082
5116
  return this.$$.ctx[2];
5083
5117
  }
5084
5118
  set clientstylingurl(t) {
5085
- this.$$set({ clientstylingurl: t }), D();
5119
+ this.$$set({ clientstylingurl: t }), $();
5086
5120
  }
5087
5121
  get translationurl() {
5088
5122
  return this.$$.ctx[3];
5089
5123
  }
5090
5124
  set translationurl(t) {
5091
- this.$$set({ translationurl: t }), D();
5125
+ this.$$set({ translationurl: t }), $();
5126
+ }
5127
+ get mbsource() {
5128
+ return this.$$.ctx[15];
5129
+ }
5130
+ set mbsource(t) {
5131
+ this.$$set({ mbsource: t }), $();
5092
5132
  }
5093
5133
  }
5094
- on(Ar, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5095
- const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5134
+ ln(Cr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5135
+ const qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5096
5136
  __proto__: null,
5097
- default: Ar
5137
+ default: Cr
5098
5138
  }, Symbol.toStringTag, { value: "Module" }));
5099
5139
  export {
5100
- oe as $,
5101
- ht as A,
5102
- Ur as B,
5103
- ke as C,
5104
- _o as D,
5105
- Dr as E,
5106
- To as F,
5107
- Ao as G,
5108
- Io as H,
5109
- on as I,
5110
- lo as J,
5111
- ho as K,
5112
- y as L,
5113
- So as M,
5114
- Lo as N,
5115
- Bo as O,
5116
- Pe as P,
5117
- k as Q,
5118
- Ho as R,
5119
- sn as S,
5120
- me as T,
5121
- Po as U,
5122
- Co as V,
5123
- Fo as W,
5124
- Oo as X,
5125
- Go as Y,
5126
- Uo as Z,
5127
- Do as _,
5128
- xr as a,
5129
- Br as a0,
5130
- $o as a1,
5131
- de as a2,
5132
- jo as a3,
5133
- Mr as b,
5134
- Zt as c,
5135
- $ as d,
5136
- Mo as e,
5137
- D as f,
5138
- No as g,
5139
- V as h,
5140
- nn as i,
5140
+ se as $,
5141
+ Hs as A,
5142
+ Xr as B,
5143
+ Fr as C,
5144
+ A as D,
5145
+ Ss as E,
5146
+ fs as F,
5147
+ jr as G,
5148
+ Os as H,
5149
+ Ls as I,
5150
+ Rs as J,
5151
+ ms as K,
5152
+ Us as L,
5153
+ ds as M,
5154
+ ps as N,
5155
+ bs as O,
5156
+ y as P,
5157
+ As as Q,
5158
+ Be as R,
5159
+ hn as S,
5160
+ Ms as T,
5161
+ k as U,
5162
+ Is as V,
5163
+ me as W,
5164
+ Cs as X,
5165
+ $s as Y,
5166
+ zs as Z,
5167
+ Ns as _,
5168
+ Hr as a,
5169
+ Ws as a0,
5170
+ Xs as a1,
5171
+ Vs as a2,
5172
+ Ds as a3,
5173
+ Lr as a4,
5174
+ ks as a5,
5175
+ de as a6,
5176
+ qs as a7,
5177
+ Ur as b,
5178
+ ln as c,
5179
+ V as d,
5180
+ M as e,
5181
+ $ as f,
5182
+ Fs as g,
5183
+ Yt as h,
5184
+ un as i,
5141
5185
  R as j,
5142
- Cr as k,
5143
- Pr as l,
5144
- Fr as m,
5145
- B as n,
5146
- Zr as o,
5147
- pe as p,
5148
- st as q,
5149
- X as r,
5150
- Gt as s,
5151
- Ro as t,
5152
- vo as u,
5153
- dt as v,
5154
- $r as w,
5155
- xo as x,
5156
- wo as y,
5157
- Eo as z
5186
+ Rr as k,
5187
+ Gs as l,
5188
+ Ir as m,
5189
+ Ve as n,
5190
+ Kr as o,
5191
+ Ts as p,
5192
+ yt as q,
5193
+ kr as r,
5194
+ Vt as s,
5195
+ js as t,
5196
+ at as u,
5197
+ X as v,
5198
+ pe as w,
5199
+ pt as x,
5200
+ Bs as y,
5201
+ Ps as z
5158
5202
  };