@everymatrix/casino-page 1.55.0 → 1.56.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 (90) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-DwKH1vl3.js} +1101 -1101
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-tMtCN0uW.js} +960 -960
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-DoRepmON.js} +54 -54
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-Yt2ApEP5.js} +52 -52
  13. package/components/{CasinoFavoritesSection-CPFXr99O.js → CasinoFavoritesSection-M3wz4Hsn.js} +32 -31
  14. package/components/{CasinoFavoritesSection-BMxE9u9W.js → CasinoFavoritesSection-UtUw8bHl.js} +32 -31
  15. package/components/CasinoFavoritesSection-eK-e7FeC.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-BbKgy4VX.js} +246 -247
  18. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-Cb7FySTm.js} +235 -234
  19. package/components/CasinoGameThumbnail-10TTv4CH.cjs +47 -0
  20. package/components/{CasinoGameThumbnail-CfP973nP.js → CasinoGameThumbnail-BZ8OnqL9.js} +569 -553
  21. package/components/{CasinoGameThumbnail-hqC7YEtD.js → CasinoGameThumbnail-BokqjU_3.js} +1116 -1132
  22. package/components/CasinoGamesCategorySection-BtYQ_Cmz.cjs +1 -0
  23. package/components/{CasinoGamesCategorySection-B2K0Knl1.js → CasinoGamesCategorySection-CeuGEQJP.js} +659 -695
  24. package/components/{CasinoGamesCategorySection-CD0rjXbd.js → CasinoGamesCategorySection-mejOW_4O.js} +1084 -1120
  25. package/components/{CasinoJackpotBanner-rIlKc9yB.js → CasinoJackpotBanner-BaqwOwIt.js} +146 -144
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-BIHc0ZJN.js → CasinoJackpotBanner-Dnu1YGvy.js} +149 -147
  28. package/components/CasinoLastPlayedSection-1vrPgQaO.cjs +1 -0
  29. package/components/{CasinoLastPlayedSection-BrUPu7bW.js → CasinoLastPlayedSection-BSbuszLI.js} +48 -48
  30. package/components/{CasinoLastPlayedSection-CbftznEu.js → CasinoLastPlayedSection-D1gqQwzF.js} +48 -48
  31. package/components/{CasinoMostPlayedSection-CK_65V_H.js → CasinoMostPlayedSection-CgUwp5nt.js} +170 -161
  32. package/components/CasinoMostPlayedSection-DtSDqrXG.cjs +1 -0
  33. package/components/{CasinoMostPlayedSection-Cn5hGmEL.js → CasinoMostPlayedSection-jWqnrmjv.js} +170 -161
  34. package/components/{CasinoMyGames-Bl1r6y2U.js → CasinoMyGames-BRGZxXY6.js} +331 -298
  35. package/components/CasinoMyGames-CPWV0sSu.cjs +1 -0
  36. package/components/{CasinoMyGames-RRWE3bwH.js → CasinoMyGames-DrnKvqrj.js} +333 -300
  37. package/components/CasinoPage-BxqUNSyB.cjs +1 -0
  38. package/components/{CasinoPage-Co3MjNG2.js → CasinoPage-CP0TDj2s.js} +593 -530
  39. package/components/{CasinoPage-DgRtBnkW.js → CasinoPage-oah0JVVU.js} +708 -645
  40. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-D9BEuIS2.js} +60 -60
  42. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-T1GVZYOt.js} +60 -60
  43. package/components/{CasinoSearch-noyB94iJ.js → CasinoSearch-BX1qMF6U.js} +69 -69
  44. package/components/{CasinoSearch-B8ow9TRS.js → CasinoSearch-Cfj0uLun.js} +69 -69
  45. package/components/{CasinoSearch-8dLpmGZC.cjs → CasinoSearch-DvRie_tr.cjs} +1 -1
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-4fX-Jkcx.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DbNw8Ecj.js} +151 -151
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-Dn6mLcJT.js} +171 -171
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  64. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  65. package/components/CasinoCalendar-hlupOGnG.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  67. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  68. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  69. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  70. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  71. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  72. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  73. package/components/CasinoFavoritesSection-C8XipeGx.cjs +0 -1
  74. package/components/CasinoFilter-Dca8BAHj.cjs +0 -1
  75. package/components/CasinoGameThumbnail-C-Tt8tAv.cjs +0 -47
  76. package/components/CasinoGamesCategorySection-CppaXkzh.cjs +0 -1
  77. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  78. package/components/CasinoLastPlayedSection-BVjRebLJ.cjs +0 -1
  79. package/components/CasinoMostPlayedSection-C_4j7zs2.cjs +0 -1
  80. package/components/CasinoMyGames-20ibf19k.cjs +0 -1
  81. package/components/CasinoPage-DVD4VGGZ.cjs +0 -1
  82. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  83. package/components/CasinoSort-B6tKDPof.js +0 -428
  84. package/components/CasinoSort-D05yyakn.js +0 -427
  85. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  86. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  87. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  88. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  89. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  90. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -1,64 +1,64 @@
1
- var Pr = Object.defineProperty, Ar = Object.defineProperties;
2
- var Or = Object.getOwnPropertyDescriptors;
3
- var at = Object.getOwnPropertySymbols;
4
- var Ir = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? Pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
1
+ var wr = Object.defineProperty, Sr = Object.defineProperties;
2
+ var Tr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Hr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, r) => t in e ? wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ir.call(t, r) && Ie(e, r, t[r]);
8
- if (at)
9
- for (var r of at(t))
10
- Cr.call(t, r) && Ie(e, r, t[r]);
7
+ Hr.call(t, r) && Oe(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Br.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
- }, lt = (e, t) => Ar(e, Or(t));
13
- var T = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ht = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => Sr(e, Tr(t));
13
+ var T = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- s(r.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
- s(r.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Lr(e, t) {
32
+ function Pr(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function Gt(e) {
39
+ function Rt(e) {
40
40
  return e();
41
41
  }
42
- function ct() {
42
+ function at() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
45
  function W(e) {
46
- e.forEach(Gt);
46
+ e.forEach(Rt);
47
47
  }
48
- function Te(e) {
48
+ function Se(e) {
49
49
  return typeof e == "function";
50
50
  }
51
- function Ft(e, t) {
51
+ function $t(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
- let pe;
55
- function yo(e, t) {
56
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
54
+ let de;
55
+ function fo(e, t) {
56
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
57
57
  }
58
- function Mr(e) {
58
+ function Ar(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function jt(e, ...t) {
61
+ function Dt(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
@@ -67,40 +67,40 @@ function jt(e, ...t) {
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function Nr(e, t, r) {
71
- e.$$.on_destroy.push(jt(t, r));
70
+ function Or(e, t, r) {
71
+ e.$$.on_destroy.push(Dt(t, r));
72
72
  }
73
- function go(e, t, r, n) {
73
+ function po(e, t, r, n) {
74
74
  if (e) {
75
- const i = kt(e, t, r, n);
75
+ const i = Ut(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
- function kt(e, t, r, n) {
80
- return e[1] && n ? Lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function Ut(e, t, r, n) {
80
+ return e[1] && n ? Pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
- function vo(e, t, r, n) {
82
+ function mo(e, t, r, n) {
83
83
  if (e[2] && n) {
84
84
  const i = e[2](n(r));
85
85
  if (t.dirty === void 0)
86
86
  return i;
87
87
  if (typeof i == "object") {
88
- const o = [], a = Math.max(t.dirty.length, i.length);
89
- for (let s = 0; s < a; s += 1)
90
- o[s] = t.dirty[s] | i[s];
88
+ const o = [], s = Math.max(t.dirty.length, i.length);
89
+ for (let a = 0; a < s; a += 1)
90
+ o[a] = t.dirty[a] | i[a];
91
91
  return o;
92
92
  }
93
93
  return t.dirty | i;
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function _o(e, t, r, n, i, o) {
97
+ function bo(e, t, r, n, i, o) {
98
98
  if (i) {
99
- const a = kt(t, r, n, o);
100
- e.p(a, i);
99
+ const s = Ut(t, r, n, o);
100
+ e.p(s, i);
101
101
  }
102
102
  }
103
- function Eo(e) {
103
+ function yo(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -109,20 +109,20 @@ function Eo(e) {
109
109
  }
110
110
  return -1;
111
111
  }
112
- function xo(e) {
113
- return e && Te(e.destroy) ? e.destroy : O;
112
+ function go(e) {
113
+ return e && Se(e.destroy) ? e.destroy : O;
114
114
  }
115
- function fe(e, t) {
115
+ function ce(e, t) {
116
116
  e.appendChild(t);
117
117
  }
118
- function Rr(e, t, r) {
119
- const n = $r(e);
118
+ function Ir(e, t, r) {
119
+ const n = Cr(e);
120
120
  if (!n.getElementById(t)) {
121
- const i = M("style");
122
- i.id = t, i.textContent = r, Dr(n, i);
121
+ const i = N("style");
122
+ i.id = t, i.textContent = r, Lr(n, i);
123
123
  }
124
124
  }
125
- function $r(e) {
125
+ function Cr(e) {
126
126
  if (!e) return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
128
128
  return t && /** @type {ShadowRoot} */
@@ -131,104 +131,104 @@ function $r(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function Dr(e, t) {
135
- return fe(
134
+ function Lr(e, t) {
135
+ return ce(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function k(e, t, r) {
141
+ function V(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
144
  function D(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function Ur(e, t) {
147
+ function Nr(e, t) {
148
148
  for (let r = 0; r < e.length; r += 1)
149
149
  e[r] && e[r].d(t);
150
150
  }
151
- function M(e) {
151
+ function N(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function Gr(e) {
154
+ function Mr(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
- function rt(e) {
157
+ function et(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Fr() {
161
- return rt(" ");
160
+ function Rr() {
161
+ return et(" ");
162
162
  }
163
- function wo() {
164
- return rt("");
163
+ function vo() {
164
+ return et("");
165
165
  }
166
- function ft(e, t, r, n) {
166
+ function ut(e, t, r, n) {
167
167
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function So(e) {
169
+ function _o(e) {
170
170
  return function(t) {
171
171
  return t.stopPropagation(), e.call(this, t);
172
172
  };
173
173
  }
174
- function X(e, t, r) {
174
+ function k(e, t, r) {
175
175
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
176
  }
177
- function m(e, t, r) {
177
+ function p(e, t, r) {
178
178
  const n = t.toLowerCase();
179
- 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);
179
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
180
180
  }
181
- function jr(e) {
181
+ function $r(e) {
182
182
  return Array.from(e.childNodes);
183
183
  }
184
- function kr(e, t) {
184
+ function Dr(e, t) {
185
185
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
186
186
  t);
187
187
  }
188
- function To(e, t) {
188
+ function Eo(e, t) {
189
189
  e.value = t == null ? "" : t;
190
190
  }
191
- function Ho(e, t, r, n) {
191
+ function xo(e, t, r, n) {
192
192
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
193
193
  }
194
- let me;
195
- function Vr() {
196
- if (me === void 0) {
197
- me = !1;
194
+ let pe;
195
+ function Ur() {
196
+ if (pe === void 0) {
197
+ pe = !1;
198
198
  try {
199
199
  typeof window != "undefined" && window.parent && window.parent.document;
200
200
  } catch (e) {
201
- me = !0;
201
+ pe = !0;
202
202
  }
203
203
  }
204
- return me;
204
+ return pe;
205
205
  }
206
- function Bo(e, t) {
206
+ function wo(e, t) {
207
207
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
208
- const n = M("iframe");
208
+ const n = N("iframe");
209
209
  n.setAttribute(
210
210
  "style",
211
211
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
212
212
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
213
- const i = Vr();
213
+ const i = Ur();
214
214
  let o;
215
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ft(
215
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ut(
216
216
  window,
217
217
  "message",
218
218
  /** @param {MessageEvent} event */
219
- (a) => {
220
- a.source === n.contentWindow && t();
219
+ (s) => {
220
+ s.source === n.contentWindow && t();
221
221
  }
222
222
  )) : (n.src = "about:blank", n.onload = () => {
223
- o = ft(n.contentWindow, "resize", t), t();
224
- }), fe(e, n), () => {
223
+ o = ut(n.contentWindow, "resize", t), t();
224
+ }), ce(e, n), () => {
225
225
  (i || o && n.contentWindow) && o(), D(n);
226
226
  };
227
227
  }
228
- function Po(e, t, r) {
228
+ function So(e, t, r) {
229
229
  e.classList.toggle(t, !!r);
230
230
  }
231
- class Ao {
231
+ class To {
232
232
  constructor(t = !1) {
233
233
  /**
234
234
  * @private
@@ -259,10 +259,10 @@ class Ao {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Gr(
262
+ this.e || (this.is_svg ? this.e = Mr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = M(
265
+ ) : this.e = N(
266
266
  /** @type {keyof HTMLElementTagNameMap} */
267
267
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
268
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -283,7 +283,7 @@ class Ao {
283
283
  * @returns {void} */
284
284
  i(t) {
285
285
  for (let r = 0; r < this.n.length; r += 1)
286
- k(this.t, this.n[r], t);
286
+ V(this.t, this.n[r], t);
287
287
  }
288
288
  /**
289
289
  * @param {string} html
@@ -298,7 +298,7 @@ class Ao {
298
298
  this.n.forEach(D);
299
299
  }
300
300
  }
301
- function Xr(e) {
301
+ function Gr(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -307,142 +307,142 @@ function Xr(e) {
307
307
  }
308
308
  ), t;
309
309
  }
310
- let le;
311
- function ue(e) {
312
- le = e;
310
+ let ue;
311
+ function ae(e) {
312
+ ue = e;
313
313
  }
314
- function Vt() {
315
- if (!le) throw new Error("Function called outside component initialization");
316
- return le;
314
+ function Gt() {
315
+ if (!ue) throw new Error("Function called outside component initialization");
316
+ return ue;
317
317
  }
318
- function Wr(e) {
319
- Vt().$$.on_mount.push(e);
318
+ function Fr(e) {
319
+ Gt().$$.on_mount.push(e);
320
320
  }
321
- function Oo(e) {
322
- Vt().$$.on_destroy.push(e);
321
+ function Ho(e) {
322
+ Gt().$$.on_destroy.push(e);
323
323
  }
324
- const J = [], Ge = [];
325
- let Y = [];
326
- const dt = [], Xt = /* @__PURE__ */ Promise.resolve();
327
- let Fe = !1;
328
- function Wt() {
329
- Fe || (Fe = !0, Xt.then($));
324
+ const J = [], De = [];
325
+ let q = [];
326
+ const lt = [], Ft = /* @__PURE__ */ Promise.resolve();
327
+ let Ue = !1;
328
+ function jt() {
329
+ Ue || (Ue = !0, Ft.then($));
330
330
  }
331
- function Io() {
332
- return Wt(), Xt;
331
+ function Bo() {
332
+ return jt(), Ft;
333
333
  }
334
- function je(e) {
335
- Y.push(e);
334
+ function Ge(e) {
335
+ q.push(e);
336
336
  }
337
- const Ce = /* @__PURE__ */ new Set();
337
+ const Ie = /* @__PURE__ */ new Set();
338
338
  let Z = 0;
339
339
  function $() {
340
340
  if (Z !== 0)
341
341
  return;
342
- const e = le;
342
+ const e = ue;
343
343
  do {
344
344
  try {
345
345
  for (; Z < J.length; ) {
346
346
  const t = J[Z];
347
- Z++, ue(t), zr(t.$$);
347
+ Z++, ae(t), jr(t.$$);
348
348
  }
349
349
  } catch (t) {
350
350
  throw J.length = 0, Z = 0, t;
351
351
  }
352
- for (ue(null), J.length = 0, Z = 0; Ge.length; ) Ge.pop()();
353
- for (let t = 0; t < Y.length; t += 1) {
354
- const r = Y[t];
355
- Ce.has(r) || (Ce.add(r), r());
352
+ for (ae(null), J.length = 0, Z = 0; De.length; ) De.pop()();
353
+ for (let t = 0; t < q.length; t += 1) {
354
+ const r = q[t];
355
+ Ie.has(r) || (Ie.add(r), r());
356
356
  }
357
- Y.length = 0;
357
+ q.length = 0;
358
358
  } while (J.length);
359
- for (; dt.length; )
360
- dt.pop()();
361
- Fe = !1, Ce.clear(), ue(e);
359
+ for (; lt.length; )
360
+ lt.pop()();
361
+ Ue = !1, Ie.clear(), ae(e);
362
362
  }
363
- function zr(e) {
363
+ function jr(e) {
364
364
  if (e.fragment !== null) {
365
365
  e.update(), W(e.before_update);
366
366
  const t = e.dirty;
367
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
367
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
368
368
  }
369
369
  }
370
- function qr(e) {
370
+ function kr(e) {
371
371
  const t = [], r = [];
372
- Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
372
+ q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
373
373
  }
374
- const ge = /* @__PURE__ */ new Set();
375
- let V;
376
- function Co() {
377
- V = {
374
+ const ye = /* @__PURE__ */ new Set();
375
+ let X;
376
+ function Po() {
377
+ X = {
378
378
  r: 0,
379
379
  c: [],
380
- p: V
380
+ p: X
381
381
  // parent group
382
382
  };
383
383
  }
384
- function Lo() {
385
- V.r || W(V.c), V = V.p;
384
+ function Ao() {
385
+ X.r || W(X.c), X = X.p;
386
386
  }
387
- function zt(e, t) {
388
- e && e.i && (ge.delete(e), e.i(t));
387
+ function kt(e, t) {
388
+ e && e.i && (ye.delete(e), e.i(t));
389
389
  }
390
- function Mo(e, t, r, n) {
390
+ function Oo(e, t, r, n) {
391
391
  if (e && e.o) {
392
- if (ge.has(e)) return;
393
- ge.add(e), V.c.push(() => {
394
- ge.delete(e), n && (r && e.d(1), n());
392
+ if (ye.has(e)) return;
393
+ ye.add(e), X.c.push(() => {
394
+ ye.delete(e), n && (r && e.d(1), n());
395
395
  }), e.o(t);
396
396
  } else n && n();
397
397
  }
398
- function pt(e) {
398
+ function ht(e) {
399
399
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
400
400
  }
401
- function No(e, t) {
401
+ function Io(e, t) {
402
402
  e.d(1), t.delete(e.key);
403
403
  }
404
- function Ro(e, t, r, n, i, o, a, s, l, u, h, f) {
405
- let c = e.length, d = o.length, b = c;
404
+ function Co(e, t, r, n, i, o, s, a, l, u, h, f) {
405
+ let c = e.length, m = o.length, b = c;
406
406
  const g = {};
407
407
  for (; b--; ) g[e[b].key] = b;
408
408
  const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), S = [];
409
- for (b = d; b--; ) {
410
- const x = f(i, o, b), L = r(x);
411
- let A = a.get(L);
412
- A ? S.push(() => A.p(x, t)) : (A = u(L, x), A.c()), I.set(L, w[b] = A), L in g && P.set(L, Math.abs(b - g[L]));
409
+ for (b = m; b--; ) {
410
+ const x = f(i, o, b), A = r(x);
411
+ let L = s.get(A);
412
+ L ? S.push(() => L.p(x, t)) : (L = u(A, x), L.c()), I.set(A, w[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
413
413
  }
414
- const N = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
414
+ const M = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
415
415
  function R(x) {
416
- zt(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, d--;
416
+ kt(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
417
417
  }
418
- for (; c && d; ) {
419
- const x = w[d - 1], L = e[c - 1], A = x.key, q = L.key;
420
- x === L ? (h = x.first, c--, d--) : I.has(q) ? !a.has(A) || N.has(A) ? R(x) : C.has(q) ? c-- : P.get(A) > P.get(q) ? (C.add(A), R(x)) : (N.add(q), c--) : (l(L, a), c--);
418
+ for (; c && m; ) {
419
+ const x = w[m - 1], A = e[c - 1], L = x.key, d = A.key;
420
+ x === A ? (h = x.first, c--, m--) : I.has(d) ? !s.has(L) || M.has(L) ? R(x) : C.has(d) ? c-- : P.get(L) > P.get(d) ? (C.add(L), R(x)) : (M.add(d), c--) : (l(A, s), c--);
421
421
  }
422
422
  for (; c--; ) {
423
423
  const x = e[c];
424
- I.has(x.key) || l(x, a);
424
+ I.has(x.key) || l(x, s);
425
425
  }
426
- for (; d; ) R(w[d - 1]);
426
+ for (; m; ) R(w[m - 1]);
427
427
  return W(S), w;
428
428
  }
429
- function Zr(e, t, r) {
429
+ function Vr(e, t, r) {
430
430
  const { fragment: n, after_update: i } = e.$$;
431
- n && n.m(t, r), je(() => {
432
- const o = e.$$.on_mount.map(Gt).filter(Te);
431
+ n && n.m(t, r), Ge(() => {
432
+ const o = e.$$.on_mount.map(Rt).filter(Se);
433
433
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
434
- }), i.forEach(je);
434
+ }), i.forEach(Ge);
435
435
  }
436
- function Qr(e, t) {
436
+ function Xr(e, t) {
437
437
  const r = e.$$;
438
- r.fragment !== null && (qr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
438
+ r.fragment !== null && (kr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
439
439
  }
440
- function Jr(e, t) {
441
- e.$$.dirty[0] === -1 && (J.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
440
+ function Wr(e, t) {
441
+ e.$$.dirty[0] === -1 && (J.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
442
442
  }
443
- function Yr(e, t, r, n, i, o, a = null, s = [-1]) {
444
- const l = le;
445
- ue(e);
443
+ function zr(e, t, r, n, i, o, s = null, a = [-1]) {
444
+ const l = ue;
445
+ ae(e);
446
446
  const u = e.$$ = {
447
447
  fragment: null,
448
448
  ctx: [],
@@ -450,7 +450,7 @@ function Yr(e, t, r, n, i, o, a = null, s = [-1]) {
450
450
  props: o,
451
451
  update: O,
452
452
  not_equal: i,
453
- bound: ct(),
453
+ bound: at(),
454
454
  // lifecycle
455
455
  on_mount: [],
456
456
  on_destroy: [],
@@ -459,28 +459,28 @@ function Yr(e, t, r, n, i, o, a = null, s = [-1]) {
459
459
  after_update: [],
460
460
  context: new Map(t.context || (l ? l.$$.context : [])),
461
461
  // everything else
462
- callbacks: ct(),
463
- dirty: s,
462
+ callbacks: at(),
463
+ dirty: a,
464
464
  skip_bound: !1,
465
465
  root: t.target || l.$$.root
466
466
  };
467
- a && a(u.root);
467
+ s && s(u.root);
468
468
  let h = !1;
469
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
470
- const b = d.length ? d[0] : c;
471
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Jr(e, f)), c;
469
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
470
+ const b = m.length ? m[0] : c;
471
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Wr(e, f)), c;
472
472
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
473
473
  if (t.hydrate) {
474
- const f = jr(t.target);
474
+ const f = $r(t.target);
475
475
  u.fragment && u.fragment.l(f), f.forEach(D);
476
476
  } else
477
477
  u.fragment && u.fragment.c();
478
- t.intro && zt(e.$$.fragment), Zr(e, t.target, t.anchor), $();
478
+ t.intro && kt(e.$$.fragment), Vr(e, t.target, t.anchor), $();
479
479
  }
480
- ue(l);
480
+ ae(l);
481
481
  }
482
- let qt;
483
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
482
+ let Vt;
483
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
484
484
  constructor(t, r, n) {
485
485
  super();
486
486
  /** The Svelte component constructor */
@@ -517,42 +517,42 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
517
517
  }
518
518
  }
519
519
  connectedCallback() {
520
- return ht(this, null, function* () {
520
+ return st(this, null, function* () {
521
521
  if (this.$$cn = !0, !this.$$c) {
522
522
  let t = function(o) {
523
523
  return () => {
524
- let a;
524
+ let s;
525
525
  return {
526
526
  c: function() {
527
- a = M("slot"), o !== "default" && X(a, "name", o);
527
+ s = N("slot"), o !== "default" && k(s, "name", o);
528
528
  },
529
529
  /**
530
530
  * @param {HTMLElement} target
531
531
  * @param {HTMLElement} [anchor]
532
532
  */
533
533
  m: function(u, h) {
534
- k(u, a, h);
534
+ V(u, s, h);
535
535
  },
536
536
  d: function(u) {
537
- u && D(a);
537
+ u && D(s);
538
538
  }
539
539
  };
540
540
  };
541
541
  };
542
542
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
543
543
  return;
544
- const r = {}, n = Xr(this);
544
+ const r = {}, n = Gr(this);
545
545
  for (const o of this.$$s)
546
546
  o in n && (r[o] = [t(o)]);
547
547
  for (const o of this.attributes) {
548
- const a = this.$$g_p(o.name);
549
- a in this.$$d || (this.$$d[a] = ve(a, o.value, this.$$p_d, "toProp"));
548
+ const s = this.$$g_p(o.name);
549
+ s in this.$$d || (this.$$d[s] = ge(s, o.value, this.$$p_d, "toProp"));
550
550
  }
551
551
  for (const o in this.$$p_d)
552
552
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
553
553
  this.$$c = new this.$$ctor({
554
554
  target: this.shadowRoot || this,
555
- props: lt(ut({}, this.$$d), {
555
+ props: ot(it({}, this.$$d), {
556
556
  $$slots: r,
557
557
  $$scope: {
558
558
  ctx: []
@@ -563,21 +563,21 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
563
563
  this.$$r = !0;
564
564
  for (const o in this.$$p_d)
565
565
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
566
- const a = ve(
566
+ const s = ge(
567
567
  o,
568
568
  this.$$d[o],
569
569
  this.$$p_d,
570
570
  "toAttribute"
571
571
  );
572
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
572
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
573
573
  }
574
574
  this.$$r = !1;
575
575
  };
576
576
  this.$$c.$$.after_update.push(i), i();
577
577
  for (const o in this.$$l)
578
- for (const a of this.$$l[o]) {
579
- const s = this.$$c.$on(o, a);
580
- this.$$l_u.set(a, s);
578
+ for (const s of this.$$l[o]) {
579
+ const a = this.$$c.$on(o, s);
580
+ this.$$l_u.set(s, a);
581
581
  }
582
582
  this.$$l = {};
583
583
  }
@@ -587,7 +587,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
587
587
  // and setting attributes through setAttribute etc, this is helpful
588
588
  attributeChangedCallback(t, r, n) {
589
589
  var i;
590
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
590
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
591
591
  }
592
592
  disconnectedCallback() {
593
593
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -600,7 +600,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
600
600
  ) || t;
601
601
  }
602
602
  });
603
- function ve(e, t, r, n) {
603
+ function ge(e, t, r, n) {
604
604
  var o;
605
605
  const i = (o = r[e]) == null ? void 0 : o.type;
606
606
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -630,38 +630,38 @@ function ve(e, t, r, n) {
630
630
  return t;
631
631
  }
632
632
  }
633
- function Kr(e, t, r, n, i, o) {
634
- let a = class extends qt {
633
+ function Zr(e, t, r, n, i, o) {
634
+ let s = class extends Vt {
635
635
  constructor() {
636
636
  super(e, r, i), this.$$p_d = t;
637
637
  }
638
638
  static get observedAttributes() {
639
639
  return Object.keys(t).map(
640
- (s) => (t[s].attribute || s).toLowerCase()
640
+ (a) => (t[a].attribute || a).toLowerCase()
641
641
  );
642
642
  }
643
643
  };
644
- return Object.keys(t).forEach((s) => {
645
- Object.defineProperty(a.prototype, s, {
644
+ return Object.keys(t).forEach((a) => {
645
+ Object.defineProperty(s.prototype, a, {
646
646
  get() {
647
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
647
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
648
648
  },
649
649
  set(l) {
650
650
  var u;
651
- l = ve(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
651
+ l = ge(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
652
652
  }
653
653
  });
654
- }), n.forEach((s) => {
655
- Object.defineProperty(a.prototype, s, {
654
+ }), n.forEach((a) => {
655
+ Object.defineProperty(s.prototype, a, {
656
656
  get() {
657
657
  var l;
658
- return (l = this.$$c) == null ? void 0 : l[s];
658
+ return (l = this.$$c) == null ? void 0 : l[a];
659
659
  }
660
660
  });
661
661
  }), e.element = /** @type {any} */
662
- a, a;
662
+ s, s;
663
663
  }
664
- class en {
664
+ class Qr {
665
665
  constructor() {
666
666
  /**
667
667
  * ### PRIVATE API
@@ -682,7 +682,7 @@ class en {
682
682
  }
683
683
  /** @returns {void} */
684
684
  $destroy() {
685
- Qr(this, 1), this.$destroy = O;
685
+ Xr(this, 1), this.$destroy = O;
686
686
  }
687
687
  /**
688
688
  * @template {Extract<keyof Events, string>} K
@@ -691,7 +691,7 @@ class en {
691
691
  * @returns {() => void}
692
692
  */
693
693
  $on(t, r) {
694
- if (!Te(r))
694
+ if (!Se(r))
695
695
  return O;
696
696
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
697
697
  return n.push(r), () => {
@@ -704,22 +704,22 @@ class en {
704
704
  * @returns {void}
705
705
  */
706
706
  $set(t) {
707
- this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
707
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
708
708
  }
709
709
  }
710
- const tn = "4";
711
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
712
- var ke = function(e, t) {
713
- return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
710
+ const Jr = "4";
711
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
712
+ var Fe = function(e, t) {
713
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
714
714
  r.__proto__ = n;
715
715
  } || function(r, n) {
716
716
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
717
- }, ke(e, t);
717
+ }, Fe(e, t);
718
718
  };
719
719
  function G(e, t) {
720
720
  if (typeof t != "function" && t !== null)
721
721
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
722
- ke(e, t);
722
+ Fe(e, t);
723
723
  function r() {
724
724
  this.constructor = e;
725
725
  }
@@ -734,7 +734,7 @@ var _ = function() {
734
734
  return t;
735
735
  }, _.apply(this, arguments);
736
736
  };
737
- function rn(e, t) {
737
+ function qr(e, t) {
738
738
  var r = {};
739
739
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
740
740
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -742,7 +742,7 @@ function rn(e, t) {
742
742
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
743
743
  return r;
744
744
  }
745
- function Ve(e) {
745
+ function je(e) {
746
746
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
747
747
  if (r) return r.call(e);
748
748
  if (e && typeof e.length == "number") return {
@@ -752,24 +752,24 @@ function Ve(e) {
752
752
  };
753
753
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
754
754
  }
755
- function Xe(e, t) {
755
+ function ke(e, t) {
756
756
  var r = typeof Symbol == "function" && e[Symbol.iterator];
757
757
  if (!r) return e;
758
- var n = r.call(e), i, o = [], a;
758
+ var n = r.call(e), i, o = [], s;
759
759
  try {
760
760
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
761
- } catch (s) {
762
- a = { error: s };
761
+ } catch (a) {
762
+ s = { error: a };
763
763
  } finally {
764
764
  try {
765
765
  i && !i.done && (r = n.return) && r.call(n);
766
766
  } finally {
767
- if (a) throw a.error;
767
+ if (s) throw s.error;
768
768
  }
769
769
  }
770
770
  return o;
771
771
  }
772
- function K(e, t, r) {
772
+ function Y(e, t, r) {
773
773
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
774
774
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
775
775
  return e.concat(o || Array.prototype.slice.call(t));
@@ -777,13 +777,13 @@ function K(e, t, r) {
777
777
  function U(e) {
778
778
  return typeof e == "function";
779
779
  }
780
- function Zt(e) {
780
+ function Xt(e) {
781
781
  var t = function(n) {
782
782
  Error.call(n), n.stack = new Error().stack;
783
783
  }, r = e(t);
784
784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
785
785
  }
786
- var Le = Zt(function(e) {
786
+ var Ce = Xt(function(e) {
787
787
  return function(r) {
788
788
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
789
789
  ` + r.map(function(n, i) {
@@ -792,13 +792,13 @@ var Le = Zt(function(e) {
792
792
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
793
793
  };
794
794
  });
795
- function We(e, t) {
795
+ function Ve(e, t) {
796
796
  if (e) {
797
797
  var r = e.indexOf(t);
798
798
  0 <= r && e.splice(r, 1);
799
799
  }
800
800
  }
801
- var He = function() {
801
+ var Te = function() {
802
802
  function e(t) {
803
803
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
804
804
  }
@@ -806,11 +806,11 @@ var He = function() {
806
806
  var t, r, n, i, o;
807
807
  if (!this.closed) {
808
808
  this.closed = !0;
809
- var a = this._parentage;
810
- if (a)
811
- if (this._parentage = null, Array.isArray(a))
809
+ var s = this._parentage;
810
+ if (s)
811
+ if (this._parentage = null, Array.isArray(s))
812
812
  try {
813
- for (var s = Ve(a), l = s.next(); !l.done; l = s.next()) {
813
+ for (var a = je(s), l = a.next(); !l.done; l = a.next()) {
814
814
  var u = l.value;
815
815
  u.remove(this);
816
816
  }
@@ -818,50 +818,50 @@ var He = function() {
818
818
  t = { error: g };
819
819
  } finally {
820
820
  try {
821
- l && !l.done && (r = s.return) && r.call(s);
821
+ l && !l.done && (r = a.return) && r.call(a);
822
822
  } finally {
823
823
  if (t) throw t.error;
824
824
  }
825
825
  }
826
826
  else
827
- a.remove(this);
827
+ s.remove(this);
828
828
  var h = this.initialTeardown;
829
829
  if (U(h))
830
830
  try {
831
831
  h();
832
832
  } catch (g) {
833
- o = g instanceof Le ? g.errors : [g];
833
+ o = g instanceof Ce ? g.errors : [g];
834
834
  }
835
835
  var f = this._finalizers;
836
836
  if (f) {
837
837
  this._finalizers = null;
838
838
  try {
839
- for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
840
- var b = d.value;
839
+ for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
840
+ var b = m.value;
841
841
  try {
842
- mt(b);
842
+ ct(b);
843
843
  } catch (g) {
844
- o = o != null ? o : [], g instanceof Le ? o = K(K([], Xe(o)), Xe(g.errors)) : o.push(g);
844
+ o = o != null ? o : [], g instanceof Ce ? o = Y(Y([], ke(o)), ke(g.errors)) : o.push(g);
845
845
  }
846
846
  }
847
847
  } catch (g) {
848
848
  n = { error: g };
849
849
  } finally {
850
850
  try {
851
- d && !d.done && (i = c.return) && i.call(c);
851
+ m && !m.done && (i = c.return) && i.call(c);
852
852
  } finally {
853
853
  if (n) throw n.error;
854
854
  }
855
855
  }
856
856
  }
857
857
  if (o)
858
- throw new Le(o);
858
+ throw new Ce(o);
859
859
  }
860
860
  }, e.prototype.add = function(t) {
861
861
  var r;
862
862
  if (t && t !== this)
863
863
  if (this.closed)
864
- mt(t);
864
+ ct(t);
865
865
  else {
866
866
  if (t instanceof e) {
867
867
  if (t.closed || t._hasParent(this))
@@ -878,56 +878,52 @@ var He = function() {
878
878
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
879
879
  }, e.prototype._removeParent = function(t) {
880
880
  var r = this._parentage;
881
- r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
881
+ r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
882
882
  }, e.prototype.remove = function(t) {
883
883
  var r = this._finalizers;
884
- r && We(r, t), t instanceof e && t._removeParent(this);
884
+ r && Ve(r, t), t instanceof e && t._removeParent(this);
885
885
  }, e.EMPTY = function() {
886
886
  var t = new e();
887
887
  return t.closed = !0, t;
888
888
  }(), e;
889
- }(), Qt = He.EMPTY;
890
- function Jt(e) {
891
- return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
889
+ }(), Wt = Te.EMPTY;
890
+ function zt(e) {
891
+ return e instanceof Te || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
892
892
  }
893
- function mt(e) {
893
+ function ct(e) {
894
894
  U(e) ? e() : e.unsubscribe();
895
895
  }
896
- var Yt = {
897
- onUnhandledError: null,
898
- onStoppedNotification: null,
899
- Promise: void 0,
900
- useDeprecatedSynchronousErrorHandling: !1,
901
- useDeprecatedNextContext: !1
902
- }, nn = {
896
+ var Yr = {
897
+ Promise: void 0
898
+ }, Kr = {
903
899
  setTimeout: function(e, t) {
904
900
  for (var r = [], n = 2; n < arguments.length; n++)
905
901
  r[n - 2] = arguments[n];
906
- return setTimeout.apply(void 0, K([e, t], Xe(r)));
902
+ return setTimeout.apply(void 0, Y([e, t], ke(r)));
907
903
  },
908
904
  clearTimeout: function(e) {
909
905
  return clearTimeout(e);
910
906
  },
911
907
  delegate: void 0
912
908
  };
913
- function on(e) {
914
- nn.setTimeout(function() {
909
+ function en(e) {
910
+ Kr.setTimeout(function() {
915
911
  throw e;
916
912
  });
917
913
  }
918
- function bt() {
914
+ function ft() {
919
915
  }
920
- function _e(e) {
916
+ function ve(e) {
921
917
  e();
922
918
  }
923
- var Kt = function(e) {
919
+ var Zt = function(e) {
924
920
  G(t, e);
925
921
  function t(r) {
926
922
  var n = e.call(this) || this;
927
- return n.isStopped = !1, r ? (n.destination = r, Jt(r) && r.add(n)) : n.destination = ln, n;
923
+ return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = nn, n;
928
924
  }
929
925
  return t.create = function(r, n, i) {
930
- return new ze(r, n, i);
926
+ return new Xe(r, n, i);
931
927
  }, t.prototype.next = function(r) {
932
928
  this.isStopped || this._next(r);
933
929
  }, t.prototype.error = function(r) {
@@ -951,11 +947,7 @@ var Kt = function(e) {
951
947
  this.unsubscribe();
952
948
  }
953
949
  }, t;
954
- }(He), sn = Function.prototype.bind;
955
- function Me(e, t) {
956
- return sn.call(e, t);
957
- }
958
- var an = function() {
950
+ }(Te), tn = function() {
959
951
  function e(t) {
960
952
  this.partialObserver = t;
961
953
  }
@@ -965,7 +957,7 @@ var an = function() {
965
957
  try {
966
958
  r.next(t);
967
959
  } catch (n) {
968
- be(n);
960
+ me(n);
969
961
  }
970
962
  }, e.prototype.error = function(t) {
971
963
  var r = this.partialObserver;
@@ -973,68 +965,56 @@ var an = function() {
973
965
  try {
974
966
  r.error(t);
975
967
  } catch (n) {
976
- be(n);
968
+ me(n);
977
969
  }
978
970
  else
979
- be(t);
971
+ me(t);
980
972
  }, e.prototype.complete = function() {
981
973
  var t = this.partialObserver;
982
974
  if (t.complete)
983
975
  try {
984
976
  t.complete();
985
977
  } catch (r) {
986
- be(r);
978
+ me(r);
987
979
  }
988
980
  }, e;
989
- }(), ze = function(e) {
981
+ }(), Xe = function(e) {
990
982
  G(t, e);
991
983
  function t(r, n, i) {
992
- var o = e.call(this) || this, a;
993
- if (U(r) || !r)
994
- a = {
995
- next: r != null ? r : void 0,
996
- error: n != null ? n : void 0,
997
- complete: i != null ? i : void 0
998
- };
999
- else {
1000
- var s;
1001
- o && Yt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1002
- return o.unsubscribe();
1003
- }, a = {
1004
- next: r.next && Me(r.next, s),
1005
- error: r.error && Me(r.error, s),
1006
- complete: r.complete && Me(r.complete, s)
1007
- }) : a = r;
1008
- }
1009
- return o.destination = new an(a), o;
984
+ var o = e.call(this) || this, s;
985
+ return U(r) || !r ? s = {
986
+ next: r != null ? r : void 0,
987
+ error: n != null ? n : void 0,
988
+ complete: i != null ? i : void 0
989
+ } : s = r, o.destination = new tn(s), o;
1010
990
  }
1011
991
  return t;
1012
- }(Kt);
1013
- function be(e) {
1014
- on(e);
992
+ }(Zt);
993
+ function me(e) {
994
+ en(e);
1015
995
  }
1016
- function un(e) {
996
+ function rn(e) {
1017
997
  throw e;
1018
998
  }
1019
- var ln = {
999
+ var nn = {
1020
1000
  closed: !0,
1021
- next: bt,
1022
- error: un,
1023
- complete: bt
1024
- }, hn = function() {
1001
+ next: ft,
1002
+ error: rn,
1003
+ complete: ft
1004
+ }, on = function() {
1025
1005
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1026
1006
  }();
1027
- function cn(e) {
1007
+ function sn(e) {
1028
1008
  return e;
1029
1009
  }
1030
- function fn(e) {
1031
- return e.length === 0 ? cn : e.length === 1 ? e[0] : function(r) {
1010
+ function an(e) {
1011
+ return e.length === 0 ? sn : e.length === 1 ? e[0] : function(r) {
1032
1012
  return e.reduce(function(n, i) {
1033
1013
  return i(n);
1034
1014
  }, r);
1035
1015
  };
1036
1016
  }
1037
- var yt = function() {
1017
+ var dt = function() {
1038
1018
  function e(t) {
1039
1019
  t && (this._subscribe = t);
1040
1020
  }
@@ -1042,10 +1022,10 @@ var yt = function() {
1042
1022
  var r = new e();
1043
1023
  return r.source = this, r.operator = t, r;
1044
1024
  }, e.prototype.subscribe = function(t, r, n) {
1045
- var i = this, o = pn(t) ? t : new ze(t, r, n);
1046
- return _e(function() {
1047
- var a = i, s = a.operator, l = a.source;
1048
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1025
+ var i = this, o = ln(t) ? t : new Xe(t, r, n);
1026
+ return ve(function() {
1027
+ var s = i, a = s.operator, l = s.source;
1028
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1049
1029
  }), o;
1050
1030
  }, e.prototype._trySubscribe = function(t) {
1051
1031
  try {
@@ -1055,37 +1035,37 @@ var yt = function() {
1055
1035
  }
1056
1036
  }, e.prototype.forEach = function(t, r) {
1057
1037
  var n = this;
1058
- return r = gt(r), new r(function(i, o) {
1059
- var a = new ze({
1060
- next: function(s) {
1038
+ return r = pt(r), new r(function(i, o) {
1039
+ var s = new Xe({
1040
+ next: function(a) {
1061
1041
  try {
1062
- t(s);
1042
+ t(a);
1063
1043
  } catch (l) {
1064
- o(l), a.unsubscribe();
1044
+ o(l), s.unsubscribe();
1065
1045
  }
1066
1046
  },
1067
1047
  error: o,
1068
1048
  complete: i
1069
1049
  });
1070
- n.subscribe(a);
1050
+ n.subscribe(s);
1071
1051
  });
1072
1052
  }, e.prototype._subscribe = function(t) {
1073
1053
  var r;
1074
1054
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1075
- }, e.prototype[hn] = function() {
1055
+ }, e.prototype[on] = function() {
1076
1056
  return this;
1077
1057
  }, e.prototype.pipe = function() {
1078
1058
  for (var t = [], r = 0; r < arguments.length; r++)
1079
1059
  t[r] = arguments[r];
1080
- return fn(t)(this);
1060
+ return an(t)(this);
1081
1061
  }, e.prototype.toPromise = function(t) {
1082
1062
  var r = this;
1083
- return t = gt(t), new t(function(n, i) {
1063
+ return t = pt(t), new t(function(n, i) {
1084
1064
  var o;
1085
- r.subscribe(function(a) {
1086
- return o = a;
1087
- }, function(a) {
1088
- return i(a);
1065
+ r.subscribe(function(s) {
1066
+ return o = s;
1067
+ }, function(s) {
1068
+ return i(s);
1089
1069
  }, function() {
1090
1070
  return n(o);
1091
1071
  });
@@ -1094,48 +1074,48 @@ var yt = function() {
1094
1074
  return new e(t);
1095
1075
  }, e;
1096
1076
  }();
1097
- function gt(e) {
1077
+ function pt(e) {
1098
1078
  var t;
1099
- return (t = e != null ? e : Yt.Promise) !== null && t !== void 0 ? t : Promise;
1079
+ return (t = e != null ? e : Yr.Promise) !== null && t !== void 0 ? t : Promise;
1100
1080
  }
1101
- function dn(e) {
1081
+ function un(e) {
1102
1082
  return e && U(e.next) && U(e.error) && U(e.complete);
1103
1083
  }
1104
- function pn(e) {
1105
- return e && e instanceof Kt || dn(e) && Jt(e);
1084
+ function ln(e) {
1085
+ return e && e instanceof Zt || un(e) && zt(e);
1106
1086
  }
1107
- var mn = Zt(function(e) {
1087
+ var hn = Xt(function(e) {
1108
1088
  return function() {
1109
1089
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1110
1090
  };
1111
- }), er = function(e) {
1091
+ }), Qt = function(e) {
1112
1092
  G(t, e);
1113
1093
  function t() {
1114
1094
  var r = e.call(this) || this;
1115
1095
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1116
1096
  }
1117
1097
  return t.prototype.lift = function(r) {
1118
- var n = new vt(this, this);
1098
+ var n = new mt(this, this);
1119
1099
  return n.operator = r, n;
1120
1100
  }, t.prototype._throwIfClosed = function() {
1121
1101
  if (this.closed)
1122
- throw new mn();
1102
+ throw new hn();
1123
1103
  }, t.prototype.next = function(r) {
1124
1104
  var n = this;
1125
- _e(function() {
1105
+ ve(function() {
1126
1106
  var i, o;
1127
1107
  if (n._throwIfClosed(), !n.isStopped) {
1128
1108
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1129
1109
  try {
1130
- for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1131
- var l = s.value;
1110
+ for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1111
+ var l = a.value;
1132
1112
  l.next(r);
1133
1113
  }
1134
1114
  } catch (u) {
1135
1115
  i = { error: u };
1136
1116
  } finally {
1137
1117
  try {
1138
- s && !s.done && (o = a.return) && o.call(a);
1118
+ a && !a.done && (o = s.return) && o.call(s);
1139
1119
  } finally {
1140
1120
  if (i) throw i.error;
1141
1121
  }
@@ -1144,7 +1124,7 @@ var mn = Zt(function(e) {
1144
1124
  });
1145
1125
  }, t.prototype.error = function(r) {
1146
1126
  var n = this;
1147
- _e(function() {
1127
+ ve(function() {
1148
1128
  if (n._throwIfClosed(), !n.isStopped) {
1149
1129
  n.hasError = n.isStopped = !0, n.thrownError = r;
1150
1130
  for (var i = n.observers; i.length; )
@@ -1153,7 +1133,7 @@ var mn = Zt(function(e) {
1153
1133
  });
1154
1134
  }, t.prototype.complete = function() {
1155
1135
  var r = this;
1156
- _e(function() {
1136
+ ve(function() {
1157
1137
  if (r._throwIfClosed(), !r.isStopped) {
1158
1138
  r.isStopped = !0;
1159
1139
  for (var n = r.observers; n.length; )
@@ -1174,20 +1154,20 @@ var mn = Zt(function(e) {
1174
1154
  }, t.prototype._subscribe = function(r) {
1175
1155
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1176
1156
  }, t.prototype._innerSubscribe = function(r) {
1177
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1178
- return o || a ? Qt : (this.currentObservers = null, s.push(r), new He(function() {
1179
- n.currentObservers = null, We(s, r);
1157
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1158
+ return o || s ? Wt : (this.currentObservers = null, a.push(r), new Te(function() {
1159
+ n.currentObservers = null, Ve(a, r);
1180
1160
  }));
1181
1161
  }, t.prototype._checkFinalizedStatuses = function(r) {
1182
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1183
- i ? r.error(o) : a && r.complete();
1162
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1163
+ i ? r.error(o) : s && r.complete();
1184
1164
  }, t.prototype.asObservable = function() {
1185
- var r = new yt();
1165
+ var r = new dt();
1186
1166
  return r.source = this, r;
1187
1167
  }, t.create = function(r, n) {
1188
- return new vt(r, n);
1168
+ return new mt(r, n);
1189
1169
  }, t;
1190
- }(yt), vt = function(e) {
1170
+ }(dt), mt = function(e) {
1191
1171
  G(t, e);
1192
1172
  function t(r, n) {
1193
1173
  var i = e.call(this) || this;
@@ -1204,54 +1184,54 @@ var mn = Zt(function(e) {
1204
1184
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1205
1185
  }, t.prototype._subscribe = function(r) {
1206
1186
  var n, i;
1207
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
1187
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Wt;
1208
1188
  }, t;
1209
- }(er), tr = {
1189
+ }(Qt), Jt = {
1210
1190
  now: function() {
1211
- return (tr.delegate || Date).now();
1191
+ return (Jt.delegate || Date).now();
1212
1192
  },
1213
1193
  delegate: void 0
1214
- }, bn = function(e) {
1194
+ }, cn = function(e) {
1215
1195
  G(t, e);
1216
1196
  function t(r, n, i) {
1217
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
1197
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1218
1198
  var o = e.call(this) || this;
1219
1199
  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;
1220
1200
  }
1221
1201
  return t.prototype.next = function(r) {
1222
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1223
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1202
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1203
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1224
1204
  }, t.prototype._subscribe = function(r) {
1225
1205
  this._throwIfClosed(), this._trimBuffer();
1226
- 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)
1227
- r.next(s[l]);
1206
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1207
+ r.next(a[l]);
1228
1208
  return this._checkFinalizedStatuses(r), n;
1229
1209
  }, t.prototype._trimBuffer = function() {
1230
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1231
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1210
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1211
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1232
1212
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1233
1213
  u = h;
1234
1214
  u && o.splice(0, u + 1);
1235
1215
  }
1236
1216
  }, t;
1237
- }(er);
1238
- const _t = [], Et = {}, yn = (e, t = 0) => {
1239
- if (_t.indexOf(e) == -1) {
1240
- const r = new bn(t);
1241
- Et[e] = r, _t.push(e);
1217
+ }(Qt);
1218
+ const bt = [], yt = {}, fn = (e, t = 0) => {
1219
+ if (bt.indexOf(e) == -1) {
1220
+ const r = new cn(t);
1221
+ yt[e] = r, bt.push(e);
1242
1222
  }
1243
- return Et[e];
1223
+ return yt[e];
1244
1224
  }, Q = [];
1245
- function gn(e, t) {
1225
+ function dn(e, t) {
1246
1226
  return {
1247
- subscribe: Be(e, t).subscribe
1227
+ subscribe: He(e, t).subscribe
1248
1228
  };
1249
1229
  }
1250
- function Be(e, t = O) {
1230
+ function He(e, t = O) {
1251
1231
  let r;
1252
1232
  const n = /* @__PURE__ */ new Set();
1253
- function i(s) {
1254
- if (Ft(e, s) && (e = s, r)) {
1233
+ function i(a) {
1234
+ if ($t(e, a) && (e = a, r)) {
1255
1235
  const l = !Q.length;
1256
1236
  for (const u of n)
1257
1237
  u[1](), Q.push(u, e);
@@ -1262,23 +1242,23 @@ function Be(e, t = O) {
1262
1242
  }
1263
1243
  }
1264
1244
  }
1265
- function o(s) {
1266
- i(s(e));
1245
+ function o(a) {
1246
+ i(a(e));
1267
1247
  }
1268
- function a(s, l = O) {
1269
- const u = [s, l];
1270
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1248
+ function s(a, l = O) {
1249
+ const u = [a, l];
1250
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
1271
1251
  n.delete(u), n.size === 0 && r && (r(), r = null);
1272
1252
  };
1273
1253
  }
1274
- return { set: i, update: o, subscribe: a };
1254
+ return { set: i, update: o, subscribe: s };
1275
1255
  }
1276
- function ie(e, t, r) {
1256
+ function ne(e, t, r) {
1277
1257
  const n = !Array.isArray(e), i = n ? [e] : e;
1278
1258
  if (!i.every(Boolean))
1279
1259
  throw new Error("derived() expects stores as input, got a falsy value");
1280
1260
  const o = t.length < 2;
1281
- return gn(r, (a, s) => {
1261
+ return dn(r, (s, a) => {
1282
1262
  let l = !1;
1283
1263
  const u = [];
1284
1264
  let h = 0, f = O;
@@ -1286,10 +1266,10 @@ function ie(e, t, r) {
1286
1266
  if (h)
1287
1267
  return;
1288
1268
  f();
1289
- const b = t(n ? u[0] : u, a, s);
1290
- o ? a(b) : f = Te(b) ? b : O;
1291
- }, d = i.map(
1292
- (b, g) => jt(
1269
+ const b = t(n ? u[0] : u, s, a);
1270
+ o ? s(b) : f = Se(b) ? b : O;
1271
+ }, m = i.map(
1272
+ (b, g) => Dt(
1293
1273
  b,
1294
1274
  (w) => {
1295
1275
  u[g] = w, h &= ~(1 << g), l && c();
@@ -1300,134 +1280,132 @@ function ie(e, t, r) {
1300
1280
  )
1301
1281
  );
1302
1282
  return l = !0, c(), function() {
1303
- W(d), f(), l = !1;
1283
+ W(m), f(), l = !1;
1304
1284
  };
1305
1285
  });
1306
1286
  }
1307
- function vn(e) {
1287
+ function pn(e) {
1308
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1309
1289
  }
1310
- var _n = function(t) {
1311
- return En(t) && !xn(t);
1290
+ var mn = function(t) {
1291
+ return bn(t) && !yn(t);
1312
1292
  };
1313
- function En(e) {
1293
+ function bn(e) {
1314
1294
  return !!e && typeof e == "object";
1315
1295
  }
1316
- function xn(e) {
1296
+ function yn(e) {
1317
1297
  var t = Object.prototype.toString.call(e);
1318
- return t === "[object RegExp]" || t === "[object Date]" || Tn(e);
1298
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
1319
1299
  }
1320
- var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
1321
- function Tn(e) {
1322
- return e.$$typeof === Sn;
1300
+ var gn = typeof Symbol == "function" && Symbol.for, vn = gn ? Symbol.for("react.element") : 60103;
1301
+ function _n(e) {
1302
+ return e.$$typeof === vn;
1323
1303
  }
1324
- function Hn(e) {
1304
+ function En(e) {
1325
1305
  return Array.isArray(e) ? [] : {};
1326
1306
  }
1327
- function he(e, t) {
1328
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Hn(e), e, t) : e;
1307
+ function le(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(En(e), e, t) : e;
1329
1309
  }
1330
- function Bn(e, t, r) {
1310
+ function xn(e, t, r) {
1331
1311
  return e.concat(t).map(function(n) {
1332
- return he(n, r);
1312
+ return le(n, r);
1333
1313
  });
1334
1314
  }
1335
- function Pn(e, t) {
1315
+ function wn(e, t) {
1336
1316
  if (!t.customMerge)
1337
- return ee;
1317
+ return K;
1338
1318
  var r = t.customMerge(e);
1339
- return typeof r == "function" ? r : ee;
1319
+ return typeof r == "function" ? r : K;
1340
1320
  }
1341
- function An(e) {
1321
+ function Sn(e) {
1342
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1343
1323
  return Object.propertyIsEnumerable.call(e, t);
1344
1324
  }) : [];
1345
1325
  }
1346
- function xt(e) {
1347
- return Object.keys(e).concat(An(e));
1326
+ function gt(e) {
1327
+ return Object.keys(e).concat(Sn(e));
1348
1328
  }
1349
- function rr(e, t) {
1329
+ function qt(e, t) {
1350
1330
  try {
1351
1331
  return t in e;
1352
1332
  } catch (r) {
1353
1333
  return !1;
1354
1334
  }
1355
1335
  }
1356
- function On(e, t) {
1357
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1336
+ function Tn(e, t) {
1337
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1358
1338
  }
1359
- function In(e, t, r) {
1339
+ function Hn(e, t, r) {
1360
1340
  var n = {};
1361
- return r.isMergeableObject(e) && xt(e).forEach(function(i) {
1362
- n[i] = he(e[i], r);
1363
- }), xt(t).forEach(function(i) {
1364
- On(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1341
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1342
+ n[i] = le(e[i], r);
1343
+ }), gt(t).forEach(function(i) {
1344
+ Tn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1365
1345
  }), n;
1366
1346
  }
1367
- function ee(e, t, r) {
1368
- r = r || {}, r.arrayMerge = r.arrayMerge || Bn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = he;
1347
+ function K(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = le;
1369
1349
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1370
- return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : he(t, r);
1350
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : le(t, r);
1371
1351
  }
1372
- ee.all = function(t, r) {
1352
+ K.all = function(t, r) {
1373
1353
  if (!Array.isArray(t))
1374
1354
  throw new Error("first argument should be an array");
1375
1355
  return t.reduce(function(n, i) {
1376
- return ee(n, i, r);
1356
+ return K(n, i, r);
1377
1357
  }, {});
1378
1358
  };
1379
- var Cn = ee, Ln = Cn;
1380
- const Mn = /* @__PURE__ */ vn(Ln);
1381
- function Ne(e, t) {
1382
- var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
1359
+ var Bn = K, Pn = Bn;
1360
+ const An = /* @__PURE__ */ pn(Pn);
1361
+ function Le(e, t) {
1362
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Cn;
1383
1363
  return i(e, {
1384
1364
  cache: r,
1385
1365
  serializer: n
1386
1366
  });
1387
1367
  }
1388
- function Nn(e) {
1368
+ function On(e) {
1389
1369
  return e == null || typeof e == "number" || typeof e == "boolean";
1390
1370
  }
1391
- function nr(e, t, r, n) {
1392
- var i = Nn(n) ? n : r(n), o = t.get(i);
1371
+ function In(e, t, r, n) {
1372
+ var i = On(n) ? n : r(n), o = t.get(i);
1393
1373
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1394
1374
  }
1395
- function ir(e, t, r) {
1375
+ function Yt(e, t, r) {
1396
1376
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1397
1377
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1398
1378
  }
1399
- function nt(e, t, r, n, i) {
1379
+ function Kt(e, t, r, n, i) {
1400
1380
  return r.bind(t, e, n, i);
1401
1381
  }
1402
- function Rn(e, t) {
1403
- var r = e.length === 1 ? nr : ir;
1404
- return nt(e, this, r, t.cache.create(), t.serializer);
1405
- }
1406
- function $n(e, t) {
1407
- return nt(e, this, ir, t.cache.create(), t.serializer);
1382
+ function Cn(e, t) {
1383
+ var r = e.length === 1 ? In : Yt;
1384
+ return Kt(e, this, r, t.cache.create(), t.serializer);
1408
1385
  }
1409
- function Dn(e, t) {
1410
- return nt(e, this, nr, t.cache.create(), t.serializer);
1386
+ function Ln(e, t) {
1387
+ return Kt(e, this, Yt, t.cache.create(), t.serializer);
1411
1388
  }
1412
- var Un = function() {
1389
+ var Nn = function() {
1413
1390
  return JSON.stringify(arguments);
1414
- };
1415
- function it() {
1416
- this.cache = /* @__PURE__ */ Object.create(null);
1417
- }
1418
- it.prototype.get = function(e) {
1419
- return this.cache[e];
1420
- };
1421
- it.prototype.set = function(e, t) {
1422
- this.cache[e] = t;
1423
- };
1424
- var Gn = {
1391
+ }, Mn = (
1392
+ /** @class */
1393
+ function() {
1394
+ function e() {
1395
+ this.cache = /* @__PURE__ */ Object.create(null);
1396
+ }
1397
+ return e.prototype.get = function(t) {
1398
+ return this.cache[t];
1399
+ }, e.prototype.set = function(t, r) {
1400
+ this.cache[t] = r;
1401
+ }, e;
1402
+ }()
1403
+ ), Rn = {
1425
1404
  create: function() {
1426
- return new it();
1405
+ return new Mn();
1427
1406
  }
1428
- }, Re = {
1429
- variadic: $n,
1430
- monadic: Dn
1407
+ }, Ne = {
1408
+ variadic: Ln
1431
1409
  }, y;
1432
1410
  (function(e) {
1433
1411
  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";
@@ -1436,47 +1414,47 @@ var E;
1436
1414
  (function(e) {
1437
1415
  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";
1438
1416
  })(E || (E = {}));
1439
- var te;
1417
+ var ee;
1440
1418
  (function(e) {
1441
1419
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1442
- })(te || (te = {}));
1443
- function wt(e) {
1420
+ })(ee || (ee = {}));
1421
+ function vt(e) {
1444
1422
  return e.type === E.literal;
1445
1423
  }
1446
- function Fn(e) {
1424
+ function $n(e) {
1447
1425
  return e.type === E.argument;
1448
1426
  }
1449
- function or(e) {
1427
+ function er(e) {
1450
1428
  return e.type === E.number;
1451
1429
  }
1452
- function sr(e) {
1430
+ function tr(e) {
1453
1431
  return e.type === E.date;
1454
1432
  }
1455
- function ar(e) {
1433
+ function rr(e) {
1456
1434
  return e.type === E.time;
1457
1435
  }
1458
- function ur(e) {
1436
+ function nr(e) {
1459
1437
  return e.type === E.select;
1460
1438
  }
1461
- function lr(e) {
1439
+ function ir(e) {
1462
1440
  return e.type === E.plural;
1463
1441
  }
1464
- function jn(e) {
1442
+ function Dn(e) {
1465
1443
  return e.type === E.pound;
1466
1444
  }
1467
- function hr(e) {
1445
+ function or(e) {
1468
1446
  return e.type === E.tag;
1469
1447
  }
1470
- function cr(e) {
1471
- return !!(e && typeof e == "object" && e.type === te.number);
1448
+ function sr(e) {
1449
+ return !!(e && typeof e == "object" && e.type === ee.number);
1472
1450
  }
1473
- function qe(e) {
1474
- return !!(e && typeof e == "object" && e.type === te.dateTime);
1451
+ function We(e) {
1452
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1475
1453
  }
1476
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
1477
- function Vn(e) {
1454
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1455
+ function Gn(e) {
1478
1456
  var t = {};
1479
- return e.replace(kn, function(r) {
1457
+ return e.replace(Un, function(r) {
1480
1458
  var n = r.length;
1481
1459
  switch (r[0]) {
1482
1460
  case "G":
@@ -1565,36 +1543,36 @@ function Vn(e) {
1565
1543
  return "";
1566
1544
  }), t;
1567
1545
  }
1568
- var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1569
- function Wn(e) {
1546
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1547
+ function jn(e) {
1570
1548
  if (e.length === 0)
1571
1549
  throw new Error("Number skeleton cannot be empty");
1572
- for (var t = e.split(Xn).filter(function(c) {
1550
+ for (var t = e.split(Fn).filter(function(c) {
1573
1551
  return c.length > 0;
1574
1552
  }), r = [], n = 0, i = t; n < i.length; n++) {
1575
- var o = i[n], a = o.split("/");
1576
- if (a.length === 0)
1553
+ var o = i[n], s = o.split("/");
1554
+ if (s.length === 0)
1577
1555
  throw new Error("Invalid number skeleton");
1578
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1556
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1579
1557
  var f = h[u];
1580
1558
  if (f.length === 0)
1581
1559
  throw new Error("Invalid number skeleton");
1582
1560
  }
1583
- r.push({ stem: s, options: l });
1561
+ r.push({ stem: a, options: l });
1584
1562
  }
1585
1563
  return r;
1586
1564
  }
1587
- function zn(e) {
1565
+ function kn(e) {
1588
1566
  return e.replace(/^(.*?)-/, "");
1589
1567
  }
1590
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, pr = /^(0+)$/;
1591
- function Tt(e) {
1568
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1569
+ function Et(e) {
1592
1570
  var t = {};
1593
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
1571
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1594
1572
  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)), "";
1595
1573
  }), t;
1596
1574
  }
1597
- function mr(e) {
1575
+ function hr(e) {
1598
1576
  switch (e) {
1599
1577
  case "sign-auto":
1600
1578
  return {
@@ -1634,7 +1612,7 @@ function mr(e) {
1634
1612
  };
1635
1613
  }
1636
1614
  }
1637
- function Zn(e) {
1615
+ function Xn(e) {
1638
1616
  var t;
1639
1617
  if (e[0] === "E" && e[1] === "E" ? (t = {
1640
1618
  notation: "engineering"
@@ -1642,17 +1620,17 @@ function Zn(e) {
1642
1620
  notation: "scientific"
1643
1621
  }, e = e.slice(1)), t) {
1644
1622
  var r = e.slice(0, 2);
1645
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !pr.test(e))
1623
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1646
1624
  throw new Error("Malformed concise eng/scientific notation");
1647
1625
  t.minimumIntegerDigits = e.length;
1648
1626
  }
1649
1627
  return t;
1650
1628
  }
1651
- function Ht(e) {
1652
- var t = {}, r = mr(e);
1629
+ function xt(e) {
1630
+ var t = {}, r = hr(e);
1653
1631
  return r || t;
1654
1632
  }
1655
- function Qn(e) {
1633
+ function Wn(e) {
1656
1634
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1657
1635
  var i = n[r];
1658
1636
  switch (i.stem) {
@@ -1676,7 +1654,7 @@ function Qn(e) {
1676
1654
  continue;
1677
1655
  case "measure-unit":
1678
1656
  case "unit":
1679
- t.style = "unit", t.unit = zn(i.options[0]);
1657
+ t.style = "unit", t.unit = kn(i.options[0]);
1680
1658
  continue;
1681
1659
  case "compact-short":
1682
1660
  case "K":
@@ -1688,12 +1666,12 @@ function Qn(e) {
1688
1666
  continue;
1689
1667
  case "scientific":
1690
1668
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1691
- return _(_({}, l), Ht(u));
1669
+ return _(_({}, l), xt(u));
1692
1670
  }, {}));
1693
1671
  continue;
1694
1672
  case "engineering":
1695
1673
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1696
- return _(_({}, l), Ht(u));
1674
+ return _(_({}, l), xt(u));
1697
1675
  }, {}));
1698
1676
  continue;
1699
1677
  case "notation-simple":
@@ -1738,45 +1716,45 @@ function Qn(e) {
1738
1716
  case "integer-width":
1739
1717
  if (i.options.length > 1)
1740
1718
  throw new RangeError("integer-width stems only accept a single optional option");
1741
- i.options[0].replace(qn, function(l, u, h, f, c, d) {
1719
+ i.options[0].replace(Vn, function(l, u, h, f, c, m) {
1742
1720
  if (u)
1743
1721
  t.minimumIntegerDigits = h.length;
1744
1722
  else {
1745
1723
  if (f && c)
1746
1724
  throw new Error("We currently do not support maximum integer digits");
1747
- if (d)
1725
+ if (m)
1748
1726
  throw new Error("We currently do not support exact integer digits");
1749
1727
  }
1750
1728
  return "";
1751
1729
  });
1752
1730
  continue;
1753
1731
  }
1754
- if (pr.test(i.stem)) {
1732
+ if (lr.test(i.stem)) {
1755
1733
  t.minimumIntegerDigits = i.stem.length;
1756
1734
  continue;
1757
1735
  }
1758
- if (St.test(i.stem)) {
1736
+ if (_t.test(i.stem)) {
1759
1737
  if (i.options.length > 1)
1760
1738
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1761
- i.stem.replace(St, function(l, u, h, f, c, d) {
1762
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1739
+ i.stem.replace(_t, function(l, u, h, f, c, m) {
1740
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1763
1741
  });
1764
1742
  var o = i.options[0];
1765
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1743
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1766
1744
  continue;
1767
1745
  }
1768
- if (dr.test(i.stem)) {
1769
- t = _(_({}, t), Tt(i.stem));
1746
+ if (ur.test(i.stem)) {
1747
+ t = _(_({}, t), Et(i.stem));
1770
1748
  continue;
1771
1749
  }
1772
- var a = mr(i.stem);
1773
- a && (t = _(_({}, t), a));
1774
- var s = Zn(i.stem);
1750
+ var s = hr(i.stem);
1775
1751
  s && (t = _(_({}, t), s));
1752
+ var a = Xn(i.stem);
1753
+ a && (t = _(_({}, t), a));
1776
1754
  }
1777
1755
  return t;
1778
1756
  }
1779
- var ye = {
1757
+ var be = {
1780
1758
  "001": [
1781
1759
  "H",
1782
1760
  "h"
@@ -3191,22 +3169,22 @@ var ye = {
3191
3169
  "h"
3192
3170
  ]
3193
3171
  };
3194
- function Jn(e, t) {
3172
+ function zn(e, t) {
3195
3173
  for (var r = "", n = 0; n < e.length; n++) {
3196
3174
  var i = e.charAt(n);
3197
3175
  if (i === "j") {
3198
3176
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3199
3177
  o++, n++;
3200
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3201
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3178
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zn(t);
3179
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3202
3180
  r += l;
3203
- for (; a-- > 0; )
3181
+ for (; s-- > 0; )
3204
3182
  r = u + r;
3205
3183
  } else i === "J" ? r += "H" : r += i;
3206
3184
  }
3207
3185
  return r;
3208
3186
  }
3209
- function Yn(e) {
3187
+ function Zn(e) {
3210
3188
  var t = e.hourCycle;
3211
3189
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3212
3190
  e.hourCycles && // @ts-ignore
@@ -3225,23 +3203,23 @@ function Yn(e) {
3225
3203
  }
3226
3204
  var r = e.language, n;
3227
3205
  r !== "root" && (n = e.maximize().region);
3228
- var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
3206
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3229
3207
  return i[0];
3230
3208
  }
3231
- var $e, Kn = new RegExp("^".concat(fr.source, "*")), ei = new RegExp("".concat(fr.source, "*$"));
3209
+ var Me, Qn = new RegExp("^".concat(ar.source, "*")), Jn = new RegExp("".concat(ar.source, "*$"));
3232
3210
  function v(e, t) {
3233
3211
  return { start: e, end: t };
3234
3212
  }
3235
- var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
3213
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3236
3214
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3237
- }, Ze = !0;
3215
+ }, ze = !0;
3238
3216
  try {
3239
- var li = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3240
- Ze = (($e = li.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
3217
+ var oi = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3218
+ ze = ((Me = oi.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3241
3219
  } catch (e) {
3242
- Ze = !1;
3220
+ ze = !1;
3243
3221
  }
3244
- var Bt = ti ? (
3222
+ var wt = qn ? (
3245
3223
  // Native
3246
3224
  function(t, r, n) {
3247
3225
  return t.startsWith(r, n);
@@ -3251,31 +3229,31 @@ var Bt = ti ? (
3251
3229
  function(t, r, n) {
3252
3230
  return t.slice(n, n + r.length) === r;
3253
3231
  }
3254
- ), Qe = ri ? String.fromCodePoint : (
3232
+ ), Ze = Yn ? String.fromCodePoint : (
3255
3233
  // IE11
3256
3234
  function() {
3257
3235
  for (var t = [], r = 0; r < arguments.length; r++)
3258
3236
  t[r] = arguments[r];
3259
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3260
- if (a = t[o++], a > 1114111)
3261
- throw RangeError(a + " is not a valid code point");
3262
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3237
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3238
+ if (s = t[o++], s > 1114111)
3239
+ throw RangeError(s + " is not a valid code point");
3240
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3263
3241
  }
3264
3242
  return n;
3265
3243
  }
3266
- ), Pt = (
3244
+ ), St = (
3267
3245
  // native
3268
- ni ? Object.fromEntries : (
3246
+ Kn ? Object.fromEntries : (
3269
3247
  // Ponyfill
3270
3248
  function(t) {
3271
3249
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3272
- var o = i[n], a = o[0], s = o[1];
3273
- r[a] = s;
3250
+ var o = i[n], s = o[0], a = o[1];
3251
+ r[s] = a;
3274
3252
  }
3275
3253
  return r;
3276
3254
  }
3277
3255
  )
3278
- ), br = ii ? (
3256
+ ), cr = ei ? (
3279
3257
  // Native
3280
3258
  function(t, r) {
3281
3259
  return t.codePointAt(r);
@@ -3289,7 +3267,7 @@ var Bt = ti ? (
3289
3267
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3290
3268
  }
3291
3269
  }
3292
- ), hi = oi ? (
3270
+ ), si = ti ? (
3293
3271
  // Native
3294
3272
  function(t) {
3295
3273
  return t.trimStart();
@@ -3297,9 +3275,9 @@ var Bt = ti ? (
3297
3275
  ) : (
3298
3276
  // Ponyfill
3299
3277
  function(t) {
3300
- return t.replace(Kn, "");
3278
+ return t.replace(Qn, "");
3301
3279
  }
3302
- ), ci = si ? (
3280
+ ), ai = ri ? (
3303
3281
  // Native
3304
3282
  function(t) {
3305
3283
  return t.trimEnd();
@@ -3307,32 +3285,32 @@ var Bt = ti ? (
3307
3285
  ) : (
3308
3286
  // Ponyfill
3309
3287
  function(t) {
3310
- return t.replace(ei, "");
3288
+ return t.replace(Jn, "");
3311
3289
  }
3312
3290
  );
3313
- function yr(e, t) {
3291
+ function fr(e, t) {
3314
3292
  return new RegExp(e, t);
3315
3293
  }
3316
- var Je;
3317
- if (Ze) {
3318
- var At = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3319
- Je = function(t, r) {
3294
+ var Qe;
3295
+ if (ze) {
3296
+ var Tt = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3297
+ Qe = function(t, r) {
3320
3298
  var n;
3321
- At.lastIndex = r;
3322
- var i = At.exec(t);
3299
+ Tt.lastIndex = r;
3300
+ var i = Tt.exec(t);
3323
3301
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3324
3302
  };
3325
3303
  } else
3326
- Je = function(t, r) {
3304
+ Qe = function(t, r) {
3327
3305
  for (var n = []; ; ) {
3328
- var i = br(t, r);
3329
- if (i === void 0 || gr(i) || mi(i))
3306
+ var i = cr(t, r);
3307
+ if (i === void 0 || dr(i) || ci(i))
3330
3308
  break;
3331
3309
  n.push(i), r += i >= 65536 ? 2 : 1;
3332
3310
  }
3333
- return Qe.apply(void 0, n);
3311
+ return Ze.apply(void 0, n);
3334
3312
  };
3335
- var fi = (
3313
+ var ui = (
3336
3314
  /** @class */
3337
3315
  function() {
3338
3316
  function e(t, r) {
@@ -3346,33 +3324,33 @@ var fi = (
3346
3324
  for (var i = []; !this.isEOF(); ) {
3347
3325
  var o = this.char();
3348
3326
  if (o === 123) {
3349
- var a = this.parseArgument(t, n);
3350
- if (a.err)
3351
- return a;
3352
- i.push(a.val);
3327
+ var s = this.parseArgument(t, n);
3328
+ if (s.err)
3329
+ return s;
3330
+ i.push(s.val);
3353
3331
  } else {
3354
3332
  if (o === 125 && t > 0)
3355
3333
  break;
3356
3334
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3357
- var s = this.clonePosition();
3335
+ var a = this.clonePosition();
3358
3336
  this.bump(), i.push({
3359
3337
  type: E.pound,
3360
- location: v(s, this.clonePosition())
3338
+ location: v(a, this.clonePosition())
3361
3339
  });
3362
3340
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3363
3341
  if (n)
3364
3342
  break;
3365
3343
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3366
- } else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
3367
- var a = this.parseTag(t, r);
3368
- if (a.err)
3369
- return a;
3370
- i.push(a.val);
3344
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3345
+ var s = this.parseTag(t, r);
3346
+ if (s.err)
3347
+ return s;
3348
+ i.push(s.val);
3371
3349
  } else {
3372
- var a = this.parseLiteral(t, r);
3373
- if (a.err)
3374
- return a;
3375
- i.push(a.val);
3350
+ var s = this.parseLiteral(t, r);
3351
+ if (s.err)
3352
+ return s;
3353
+ i.push(s.val);
3376
3354
  }
3377
3355
  }
3378
3356
  }
@@ -3394,27 +3372,27 @@ var fi = (
3394
3372
  var o = this.parseMessage(t + 1, r, !0);
3395
3373
  if (o.err)
3396
3374
  return o;
3397
- var a = o.val, s = this.clonePosition();
3375
+ var s = o.val, a = this.clonePosition();
3398
3376
  if (this.bumpIf("</")) {
3399
- if (this.isEOF() || !Ye(this.char()))
3400
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3377
+ if (this.isEOF() || !Je(this.char()))
3378
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3401
3379
  var l = this.clonePosition(), u = this.parseTagName();
3402
3380
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3403
3381
  val: {
3404
3382
  type: E.tag,
3405
3383
  value: i,
3406
- children: a,
3384
+ children: s,
3407
3385
  location: v(n, this.clonePosition())
3408
3386
  },
3409
3387
  err: null
3410
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3388
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3411
3389
  } else
3412
3390
  return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3413
3391
  } else
3414
3392
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3415
3393
  }, e.prototype.parseTagName = function() {
3416
3394
  var t = this.offset();
3417
- for (this.bump(); !this.isEOF() && pi(this.char()); )
3395
+ for (this.bump(); !this.isEOF() && hi(this.char()); )
3418
3396
  this.bump();
3419
3397
  return this.message.slice(t, this.offset());
3420
3398
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3424,16 +3402,16 @@ var fi = (
3424
3402
  i += o;
3425
3403
  continue;
3426
3404
  }
3427
- var a = this.tryParseUnquoted(t, r);
3428
- if (a) {
3429
- i += a;
3430
- continue;
3431
- }
3432
- var s = this.tryParseLeftAngleBracket();
3405
+ var s = this.tryParseUnquoted(t, r);
3433
3406
  if (s) {
3434
3407
  i += s;
3435
3408
  continue;
3436
3409
  }
3410
+ var a = this.tryParseLeftAngleBracket();
3411
+ if (a) {
3412
+ i += a;
3413
+ continue;
3414
+ }
3437
3415
  break;
3438
3416
  }
3439
3417
  var l = v(n, this.clonePosition());
@@ -3443,7 +3421,7 @@ var fi = (
3443
3421
  };
3444
3422
  }, e.prototype.tryParseLeftAngleBracket = function() {
3445
3423
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3446
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
3424
+ !li(this.peek() || 0)) ? (this.bump(), "<") : null;
3447
3425
  }, e.prototype.tryParseQuote = function(t) {
3448
3426
  if (this.isEOF() || this.char() !== 39)
3449
3427
  return null;
@@ -3477,12 +3455,12 @@ var fi = (
3477
3455
  r.push(n);
3478
3456
  this.bump();
3479
3457
  }
3480
- return Qe.apply(void 0, r);
3458
+ return Ze.apply(void 0, r);
3481
3459
  }, e.prototype.tryParseUnquoted = function(t, r) {
3482
3460
  if (this.isEOF())
3483
3461
  return null;
3484
3462
  var n = this.char();
3485
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3463
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3486
3464
  }, e.prototype.parseArgument = function(t, r) {
3487
3465
  var n = this.clonePosition();
3488
3466
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3511,15 +3489,15 @@ var fi = (
3511
3489
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3512
3490
  }
3513
3491
  }, e.prototype.parseIdentifierIfPossible = function() {
3514
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3492
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3515
3493
  this.bumpTo(i);
3516
- var o = this.clonePosition(), a = v(t, o);
3517
- return { value: n, location: a };
3494
+ var o = this.clonePosition(), s = v(t, o);
3495
+ return { value: n, location: s };
3518
3496
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3519
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3520
- switch (s) {
3497
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3498
+ switch (a) {
3521
3499
  case "":
3522
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3500
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
3523
3501
  case "number":
3524
3502
  case "date":
3525
3503
  case "time": {
@@ -3530,19 +3508,19 @@ var fi = (
3530
3508
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3531
3509
  if (f.err)
3532
3510
  return f;
3533
- var c = ci(f.val);
3511
+ var c = ai(f.val);
3534
3512
  if (c.length === 0)
3535
3513
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3536
- var d = v(h, this.clonePosition());
3537
- u = { style: c, styleLocation: d };
3514
+ var m = v(h, this.clonePosition());
3515
+ u = { style: c, styleLocation: m };
3538
3516
  }
3539
3517
  var b = this.tryParseArgumentClose(i);
3540
3518
  if (b.err)
3541
3519
  return b;
3542
3520
  var g = v(i, this.clonePosition());
3543
- if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3544
- var w = hi(u.style.slice(2));
3545
- if (s === "number") {
3521
+ if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3522
+ var w = si(u.style.slice(2));
3523
+ if (a === "number") {
3546
3524
  var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3547
3525
  return f.err ? f : {
3548
3526
  val: { type: E.number, value: n, location: g, style: f.val },
@@ -3552,13 +3530,13 @@ var fi = (
3552
3530
  if (w.length === 0)
3553
3531
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3554
3532
  var I = w;
3555
- this.locale && (I = Jn(w, this.locale));
3533
+ this.locale && (I = zn(w, this.locale));
3556
3534
  var c = {
3557
- type: te.dateTime,
3535
+ type: ee.dateTime,
3558
3536
  pattern: I,
3559
3537
  location: u.styleLocation,
3560
- parsedOptions: this.shouldParseSkeletons ? Vn(I) : {}
3561
- }, P = s === "date" ? E.date : E.time;
3538
+ parsedOptions: this.shouldParseSkeletons ? Gn(I) : {}
3539
+ }, P = a === "date" ? E.date : E.time;
3562
3540
  return {
3563
3541
  val: { type: P, value: n, location: g, style: c },
3564
3542
  err: null
@@ -3567,7 +3545,7 @@ var fi = (
3567
3545
  }
3568
3546
  return {
3569
3547
  val: {
3570
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3548
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3571
3549
  value: n,
3572
3550
  location: g,
3573
3551
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3582,28 +3560,28 @@ var fi = (
3582
3560
  if (this.bumpSpace(), !this.bumpIf(","))
3583
3561
  return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
3584
3562
  this.bumpSpace();
3585
- var N = this.parseIdentifierIfPossible(), C = 0;
3586
- if (s !== "select" && N.value === "offset") {
3563
+ var M = this.parseIdentifierIfPossible(), C = 0;
3564
+ if (a !== "select" && M.value === "offset") {
3587
3565
  if (!this.bumpIf(":"))
3588
3566
  return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3589
3567
  this.bumpSpace();
3590
3568
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3591
3569
  if (f.err)
3592
3570
  return f;
3593
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), C = f.val;
3571
+ this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = f.val;
3594
3572
  }
3595
- var R = this.tryParsePluralOrSelectOptions(t, s, r, N);
3573
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, M);
3596
3574
  if (R.err)
3597
3575
  return R;
3598
3576
  var b = this.tryParseArgumentClose(i);
3599
3577
  if (b.err)
3600
3578
  return b;
3601
3579
  var x = v(i, this.clonePosition());
3602
- return s === "select" ? {
3580
+ return a === "select" ? {
3603
3581
  val: {
3604
3582
  type: E.select,
3605
3583
  value: n,
3606
- options: Pt(R.val),
3584
+ options: St(R.val),
3607
3585
  location: x
3608
3586
  },
3609
3587
  err: null
@@ -3611,16 +3589,16 @@ var fi = (
3611
3589
  val: {
3612
3590
  type: E.plural,
3613
3591
  value: n,
3614
- options: Pt(R.val),
3592
+ options: St(R.val),
3615
3593
  offset: C,
3616
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3594
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3617
3595
  location: x
3618
3596
  },
3619
3597
  err: null
3620
3598
  };
3621
3599
  }
3622
3600
  default:
3623
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3601
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
3624
3602
  }
3625
3603
  }, e.prototype.tryParseArgumentClose = function(t) {
3626
3604
  return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3662,21 +3640,21 @@ var fi = (
3662
3640
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3663
3641
  var n = [];
3664
3642
  try {
3665
- n = Wn(t);
3643
+ n = jn(t);
3666
3644
  } catch (i) {
3667
3645
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3668
3646
  }
3669
3647
  return {
3670
3648
  val: {
3671
- type: te.number,
3649
+ type: ee.number,
3672
3650
  tokens: n,
3673
3651
  location: r,
3674
- parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3652
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3675
3653
  },
3676
3654
  err: null
3677
3655
  };
3678
3656
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3679
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3657
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3680
3658
  if (u.length === 0) {
3681
3659
  var f = this.clonePosition();
3682
3660
  if (r !== "select" && this.bumpIf("=")) {
@@ -3689,37 +3667,37 @@ var fi = (
3689
3667
  }
3690
3668
  if (l.has(u))
3691
3669
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3692
- u === "other" && (a = !0), this.bumpSpace();
3693
- var d = this.clonePosition();
3670
+ u === "other" && (s = !0), this.bumpSpace();
3671
+ var m = this.clonePosition();
3694
3672
  if (!this.bumpIf("{"))
3695
3673
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3696
3674
  var b = this.parseMessage(t + 1, r, n);
3697
3675
  if (b.err)
3698
3676
  return b;
3699
- var g = this.tryParseArgumentClose(d);
3677
+ var g = this.tryParseArgumentClose(m);
3700
3678
  if (g.err)
3701
3679
  return g;
3702
- s.push([
3680
+ a.push([
3703
3681
  u,
3704
3682
  {
3705
3683
  value: b.val,
3706
- location: v(d, this.clonePosition())
3684
+ location: v(m, this.clonePosition())
3707
3685
  }
3708
3686
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3709
3687
  }
3710
- return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3688
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3711
3689
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3712
3690
  var n = 1, i = this.clonePosition();
3713
3691
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3714
- for (var o = !1, a = 0; !this.isEOF(); ) {
3715
- var s = this.char();
3716
- if (s >= 48 && s <= 57)
3717
- o = !0, a = a * 10 + (s - 48), this.bump();
3692
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3693
+ var a = this.char();
3694
+ if (a >= 48 && a <= 57)
3695
+ o = !0, s = s * 10 + (a - 48), this.bump();
3718
3696
  else
3719
3697
  break;
3720
3698
  }
3721
3699
  var l = v(i, this.clonePosition());
3722
- return o ? (a *= n, ui(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3700
+ return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3723
3701
  }, e.prototype.offset = function() {
3724
3702
  return this.position.offset;
3725
3703
  }, e.prototype.isEOF = function() {
@@ -3734,7 +3712,7 @@ var fi = (
3734
3712
  var t = this.position.offset;
3735
3713
  if (t >= this.message.length)
3736
3714
  throw Error("out of bound");
3737
- var r = br(this.message, t);
3715
+ var r = cr(this.message, t);
3738
3716
  if (r === void 0)
3739
3717
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3740
3718
  return r;
@@ -3753,7 +3731,7 @@ var fi = (
3753
3731
  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);
3754
3732
  }
3755
3733
  }, e.prototype.bumpIf = function(t) {
3756
- if (Bt(this.message, t, this.offset())) {
3734
+ if (wt(this.message, t, this.offset())) {
3757
3735
  for (var r = 0; r < t.length; r++)
3758
3736
  this.bump();
3759
3737
  return !0;
@@ -3775,7 +3753,7 @@ var fi = (
3775
3753
  break;
3776
3754
  }
3777
3755
  }, e.prototype.bumpSpace = function() {
3778
- for (; !this.isEOF() && gr(this.char()); )
3756
+ for (; !this.isEOF() && dr(this.char()); )
3779
3757
  this.bump();
3780
3758
  }, e.prototype.peek = function() {
3781
3759
  if (this.isEOF())
@@ -3785,43 +3763,43 @@ var fi = (
3785
3763
  }, e;
3786
3764
  }()
3787
3765
  );
3788
- function Ye(e) {
3766
+ function Je(e) {
3789
3767
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3790
3768
  }
3791
- function di(e) {
3792
- return Ye(e) || e === 47;
3769
+ function li(e) {
3770
+ return Je(e) || e === 47;
3793
3771
  }
3794
- function pi(e) {
3772
+ function hi(e) {
3795
3773
  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;
3796
3774
  }
3797
- function gr(e) {
3775
+ function dr(e) {
3798
3776
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3799
3777
  }
3800
- function mi(e) {
3778
+ function ci(e) {
3801
3779
  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;
3802
3780
  }
3803
- function Ke(e) {
3781
+ function qe(e) {
3804
3782
  e.forEach(function(t) {
3805
- if (delete t.location, ur(t) || lr(t))
3783
+ if (delete t.location, nr(t) || ir(t))
3806
3784
  for (var r in t.options)
3807
- delete t.options[r].location, Ke(t.options[r].value);
3808
- else or(t) && cr(t.style) || (sr(t) || ar(t)) && qe(t.style) ? delete t.style.location : hr(t) && Ke(t.children);
3785
+ delete t.options[r].location, qe(t.options[r].value);
3786
+ else er(t) && sr(t.style) || (tr(t) || rr(t)) && We(t.style) ? delete t.style.location : or(t) && qe(t.children);
3809
3787
  });
3810
3788
  }
3811
- function bi(e, t) {
3789
+ function fi(e, t) {
3812
3790
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3813
- var r = new fi(e, t).parse();
3791
+ var r = new ui(e, t).parse();
3814
3792
  if (r.err) {
3815
3793
  var n = SyntaxError(y[r.err.kind]);
3816
3794
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3817
3795
  }
3818
- return t != null && t.captureLocation || Ke(r.val), r.val;
3796
+ return t != null && t.captureLocation || qe(r.val), r.val;
3819
3797
  }
3820
- var re;
3798
+ var te;
3821
3799
  (function(e) {
3822
3800
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3823
- })(re || (re = {}));
3824
- var Pe = (
3801
+ })(te || (te = {}));
3802
+ var Be = (
3825
3803
  /** @class */
3826
3804
  function(e) {
3827
3805
  G(t, e);
@@ -3833,65 +3811,65 @@ var Pe = (
3833
3811
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3834
3812
  }, t;
3835
3813
  }(Error)
3836
- ), Ot = (
3814
+ ), Ht = (
3837
3815
  /** @class */
3838
3816
  function(e) {
3839
3817
  G(t, e);
3840
3818
  function t(r, n, i, o) {
3841
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3819
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3842
3820
  }
3843
3821
  return t;
3844
- }(Pe)
3845
- ), yi = (
3822
+ }(Be)
3823
+ ), di = (
3846
3824
  /** @class */
3847
3825
  function(e) {
3848
3826
  G(t, e);
3849
3827
  function t(r, n, i) {
3850
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3828
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3851
3829
  }
3852
3830
  return t;
3853
- }(Pe)
3854
- ), gi = (
3831
+ }(Be)
3832
+ ), pi = (
3855
3833
  /** @class */
3856
3834
  function(e) {
3857
3835
  G(t, e);
3858
3836
  function t(r, n) {
3859
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3837
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3860
3838
  }
3861
3839
  return t;
3862
- }(Pe)
3840
+ }(Be)
3863
3841
  ), H;
3864
3842
  (function(e) {
3865
3843
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3866
3844
  })(H || (H = {}));
3867
- function vi(e) {
3845
+ function mi(e) {
3868
3846
  return e.length < 2 ? e : e.reduce(function(t, r) {
3869
3847
  var n = t[t.length - 1];
3870
3848
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3871
3849
  }, []);
3872
3850
  }
3873
- function _i(e) {
3851
+ function bi(e) {
3874
3852
  return typeof e == "function";
3875
3853
  }
3876
- function Ee(e, t, r, n, i, o, a) {
3877
- if (e.length === 1 && wt(e[0]))
3854
+ function _e(e, t, r, n, i, o, s) {
3855
+ if (e.length === 1 && vt(e[0]))
3878
3856
  return [
3879
3857
  {
3880
3858
  type: H.literal,
3881
3859
  value: e[0].value
3882
3860
  }
3883
3861
  ];
3884
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3862
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3885
3863
  var h = u[l];
3886
- if (wt(h)) {
3887
- s.push({
3864
+ if (vt(h)) {
3865
+ a.push({
3888
3866
  type: H.literal,
3889
3867
  value: h.value
3890
3868
  });
3891
3869
  continue;
3892
3870
  }
3893
- if (jn(h)) {
3894
- typeof o == "number" && s.push({
3871
+ if (Dn(h)) {
3872
+ typeof o == "number" && a.push({
3895
3873
  type: H.literal,
3896
3874
  value: r.getNumberFormat(t).format(o)
3897
3875
  });
@@ -3899,89 +3877,89 @@ function Ee(e, t, r, n, i, o, a) {
3899
3877
  }
3900
3878
  var f = h.value;
3901
3879
  if (!(i && f in i))
3902
- throw new gi(f, a);
3880
+ throw new pi(f, s);
3903
3881
  var c = i[f];
3904
- if (Fn(h)) {
3905
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3882
+ if ($n(h)) {
3883
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3906
3884
  type: typeof c == "string" ? H.literal : H.object,
3907
3885
  value: c
3908
3886
  });
3909
3887
  continue;
3910
3888
  }
3911
- if (sr(h)) {
3912
- var d = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3913
- s.push({
3889
+ if (tr(h)) {
3890
+ var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3891
+ a.push({
3914
3892
  type: H.literal,
3915
- value: r.getDateTimeFormat(t, d).format(c)
3893
+ value: r.getDateTimeFormat(t, m).format(c)
3916
3894
  });
3917
3895
  continue;
3918
3896
  }
3919
- if (ar(h)) {
3920
- var d = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
3921
- s.push({
3897
+ if (rr(h)) {
3898
+ var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3899
+ a.push({
3922
3900
  type: H.literal,
3923
- value: r.getDateTimeFormat(t, d).format(c)
3901
+ value: r.getDateTimeFormat(t, m).format(c)
3924
3902
  });
3925
3903
  continue;
3926
3904
  }
3927
- if (or(h)) {
3928
- var d = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3929
- d && d.scale && (c = c * (d.scale || 1)), s.push({
3905
+ if (er(h)) {
3906
+ var m = typeof h.style == "string" ? n.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3907
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3930
3908
  type: H.literal,
3931
- value: r.getNumberFormat(t, d).format(c)
3909
+ value: r.getNumberFormat(t, m).format(c)
3932
3910
  });
3933
3911
  continue;
3934
3912
  }
3935
- if (hr(h)) {
3913
+ if (or(h)) {
3936
3914
  var b = h.children, g = h.value, w = i[g];
3937
- if (!_i(w))
3938
- throw new yi(g, "function", a);
3939
- var I = Ee(b, t, r, n, i, o), P = w(I.map(function(C) {
3915
+ if (!bi(w))
3916
+ throw new di(g, "function", s);
3917
+ var I = _e(b, t, r, n, i, o), P = w(I.map(function(C) {
3940
3918
  return C.value;
3941
3919
  }));
3942
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3920
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(C) {
3943
3921
  return {
3944
3922
  type: typeof C == "string" ? H.literal : H.object,
3945
3923
  value: C
3946
3924
  };
3947
3925
  }));
3948
3926
  }
3949
- if (ur(h)) {
3927
+ if (nr(h)) {
3950
3928
  var S = h.options[c] || h.options.other;
3951
3929
  if (!S)
3952
- throw new Ot(h.value, c, Object.keys(h.options), a);
3953
- s.push.apply(s, Ee(S.value, t, r, n, i));
3930
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3931
+ a.push.apply(a, _e(S.value, t, r, n, i));
3954
3932
  continue;
3955
3933
  }
3956
- if (lr(h)) {
3934
+ if (ir(h)) {
3957
3935
  var S = h.options["=".concat(c)];
3958
3936
  if (!S) {
3959
3937
  if (!Intl.PluralRules)
3960
- throw new Pe(`Intl.PluralRules is not available in this environment.
3938
+ throw new Be(`Intl.PluralRules is not available in this environment.
3961
3939
  Try polyfilling it using "@formatjs/intl-pluralrules"
3962
- `, re.MISSING_INTL_API, a);
3963
- var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3964
- S = h.options[N] || h.options.other;
3940
+ `, te.MISSING_INTL_API, s);
3941
+ var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3942
+ S = h.options[M] || h.options.other;
3965
3943
  }
3966
3944
  if (!S)
3967
- throw new Ot(h.value, c, Object.keys(h.options), a);
3968
- s.push.apply(s, Ee(S.value, t, r, n, i, c - (h.offset || 0)));
3945
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3946
+ a.push.apply(a, _e(S.value, t, r, n, i, c - (h.offset || 0)));
3969
3947
  continue;
3970
3948
  }
3971
3949
  }
3972
- return vi(s);
3950
+ return mi(a);
3973
3951
  }
3974
- function Ei(e, t) {
3952
+ function yi(e, t) {
3975
3953
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3976
3954
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3977
3955
  }, {})) : e;
3978
3956
  }
3979
- function xi(e, t) {
3957
+ function gi(e, t) {
3980
3958
  return t ? Object.keys(e).reduce(function(r, n) {
3981
- return r[n] = Ei(e[n], t[n]), r;
3959
+ return r[n] = yi(e[n], t[n]), r;
3982
3960
  }, _({}, e)) : e;
3983
3961
  }
3984
- function De(e) {
3962
+ function Re(e) {
3985
3963
  return {
3986
3964
  create: function() {
3987
3965
  return {
@@ -3995,39 +3973,39 @@ function De(e) {
3995
3973
  }
3996
3974
  };
3997
3975
  }
3998
- function wi(e) {
3976
+ function vi(e) {
3999
3977
  return e === void 0 && (e = {
4000
3978
  number: {},
4001
3979
  dateTime: {},
4002
3980
  pluralRules: {}
4003
3981
  }), {
4004
- getNumberFormat: Ne(function() {
3982
+ getNumberFormat: Le(function() {
4005
3983
  for (var t, r = [], n = 0; n < arguments.length; n++)
4006
3984
  r[n] = arguments[n];
4007
- return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3985
+ return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4008
3986
  }, {
4009
- cache: De(e.number),
4010
- strategy: Re.variadic
3987
+ cache: Re(e.number),
3988
+ strategy: Ne.variadic
4011
3989
  }),
4012
- getDateTimeFormat: Ne(function() {
3990
+ getDateTimeFormat: Le(function() {
4013
3991
  for (var t, r = [], n = 0; n < arguments.length; n++)
4014
3992
  r[n] = arguments[n];
4015
- return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3993
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4016
3994
  }, {
4017
- cache: De(e.dateTime),
4018
- strategy: Re.variadic
3995
+ cache: Re(e.dateTime),
3996
+ strategy: Ne.variadic
4019
3997
  }),
4020
- getPluralRules: Ne(function() {
3998
+ getPluralRules: Le(function() {
4021
3999
  for (var t, r = [], n = 0; n < arguments.length; n++)
4022
4000
  r[n] = arguments[n];
4023
- return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4001
+ return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4024
4002
  }, {
4025
- cache: De(e.pluralRules),
4026
- strategy: Re.variadic
4003
+ cache: Re(e.pluralRules),
4004
+ strategy: Ne.variadic
4027
4005
  })
4028
4006
  };
4029
4007
  }
4030
- var Si = (
4008
+ var _i = (
4031
4009
  /** @class */
4032
4010
  function() {
4033
4011
  function e(t, r, n, i) {
@@ -4046,7 +4024,7 @@ var Si = (
4046
4024
  }, []);
4047
4025
  return h.length <= 1 ? h[0] || "" : h;
4048
4026
  }, this.formatToParts = function(l) {
4049
- return Ee(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4027
+ return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4050
4028
  }, this.resolvedOptions = function() {
4051
4029
  var l;
4052
4030
  return {
@@ -4057,15 +4035,15 @@ var Si = (
4057
4035
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4058
4036
  if (this.message = t, !e.__parse)
4059
4037
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4060
- var a = i || {};
4061
- a.formatters;
4062
- var s = rn(a, ["formatters"]);
4063
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4038
+ var s = i || {};
4039
+ s.formatters;
4040
+ var a = qr(s, ["formatters"]);
4041
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4064
4042
  } else
4065
4043
  this.ast = t;
4066
4044
  if (!Array.isArray(this.ast))
4067
4045
  throw new TypeError("A message must be provided as a String or AST.");
4068
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
4046
+ this.formats = gi(e.formats, n), this.formatters = i && i.formatters || vi(this.formatterCache);
4069
4047
  }
4070
4048
  return Object.defineProperty(e, "defaultLocale", {
4071
4049
  get: function() {
@@ -4078,7 +4056,7 @@ var Si = (
4078
4056
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4079
4057
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4080
4058
  }
4081
- }, e.__parse = bi, e.formats = {
4059
+ }, e.__parse = fi, e.formats = {
4082
4060
  number: {
4083
4061
  integer: {
4084
4062
  maximumFractionDigits: 0
@@ -4139,7 +4117,7 @@ var Si = (
4139
4117
  }, e;
4140
4118
  }()
4141
4119
  );
4142
- function Ti(e, t) {
4120
+ function Ei(e, t) {
4143
4121
  if (t == null)
4144
4122
  return;
4145
4123
  if (t in e)
@@ -4160,92 +4138,92 @@ function Ti(e, t) {
4160
4138
  n = void 0;
4161
4139
  return n;
4162
4140
  }
4163
- const j = {}, Hi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), vr = (e, t) => {
4141
+ const j = {}, xi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
4164
4142
  if (t == null)
4165
4143
  return;
4166
4144
  if (t in j && e in j[t])
4167
4145
  return j[t][e];
4168
- const r = Ae(t);
4146
+ const r = Pe(t);
4169
4147
  for (let n = 0; n < r.length; n++) {
4170
- const i = r[n], o = Pi(i, e);
4148
+ const i = r[n], o = Si(i, e);
4171
4149
  if (o)
4172
- return Hi(e, t, o);
4150
+ return xi(e, t, o);
4173
4151
  }
4174
4152
  };
4175
- let ot;
4176
- const de = Be({});
4177
- function Bi(e) {
4178
- return ot[e] || null;
4153
+ let tt;
4154
+ const fe = He({});
4155
+ function wi(e) {
4156
+ return tt[e] || null;
4179
4157
  }
4180
- function _r(e) {
4181
- return e in ot;
4158
+ function mr(e) {
4159
+ return e in tt;
4182
4160
  }
4183
- function Pi(e, t) {
4184
- if (!_r(e))
4161
+ function Si(e, t) {
4162
+ if (!mr(e))
4185
4163
  return null;
4186
- const r = Bi(e);
4187
- return Ti(r, t);
4164
+ const r = wi(e);
4165
+ return Ei(r, t);
4188
4166
  }
4189
- function Ai(e) {
4167
+ function Ti(e) {
4190
4168
  if (e == null)
4191
4169
  return;
4192
- const t = Ae(e);
4170
+ const t = Pe(e);
4193
4171
  for (let r = 0; r < t.length; r++) {
4194
4172
  const n = t[r];
4195
- if (_r(n))
4173
+ if (mr(n))
4196
4174
  return n;
4197
4175
  }
4198
4176
  }
4199
- function Er(e, ...t) {
4200
- delete j[e], de.update((r) => (r[e] = Mn.all([r[e] || {}, ...t]), r));
4177
+ function br(e, ...t) {
4178
+ delete j[e], fe.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
4201
4179
  }
4202
- ie(
4203
- [de],
4180
+ ne(
4181
+ [fe],
4204
4182
  ([e]) => Object.keys(e)
4205
4183
  );
4206
- de.subscribe((e) => ot = e);
4207
- const xe = {};
4208
- function Oi(e, t) {
4209
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4184
+ fe.subscribe((e) => tt = e);
4185
+ const Ee = {};
4186
+ function Hi(e, t) {
4187
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
4210
4188
  }
4211
- function xr(e) {
4212
- return xe[e];
4189
+ function yr(e) {
4190
+ return Ee[e];
4213
4191
  }
4214
- function Ii(e) {
4215
- return Ae(e).map((t) => {
4216
- const r = xr(t);
4192
+ function Bi(e) {
4193
+ return Pe(e).map((t) => {
4194
+ const r = yr(t);
4217
4195
  return [t, r ? [...r] : []];
4218
4196
  }).filter(([, t]) => t.length > 0);
4219
4197
  }
4220
- function et(e) {
4221
- return e == null ? !1 : Ae(e).some(
4198
+ function Ye(e) {
4199
+ return e == null ? !1 : Pe(e).some(
4222
4200
  (t) => {
4223
4201
  var r;
4224
- return (r = xr(t)) == null ? void 0 : r.size;
4202
+ return (r = yr(t)) == null ? void 0 : r.size;
4225
4203
  }
4226
4204
  );
4227
4205
  }
4228
- function Ci(e, t) {
4206
+ function Pi(e, t) {
4229
4207
  return Promise.all(
4230
- t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
4231
- ).then((n) => Er(e, ...n));
4232
- }
4233
- const ae = {};
4234
- function wr(e) {
4235
- if (!et(e))
4236
- return e in ae ? ae[e] : Promise.resolve();
4237
- const t = Ii(e);
4238
- return ae[e] = Promise.all(
4208
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4209
+ ).then((n) => br(e, ...n));
4210
+ }
4211
+ const se = {};
4212
+ function gr(e) {
4213
+ if (!Ye(e))
4214
+ return e in se ? se[e] : Promise.resolve();
4215
+ const t = Bi(e);
4216
+ return se[e] = Promise.all(
4239
4217
  t.map(
4240
- ([r, n]) => Ci(r, n)
4218
+ ([r, n]) => Pi(r, n)
4241
4219
  )
4242
4220
  ).then(() => {
4243
- if (et(e))
4244
- return wr(e);
4245
- delete ae[e];
4246
- }), ae[e];
4221
+ if (Ye(e))
4222
+ return gr(e);
4223
+ delete se[e];
4224
+ }), se[e];
4247
4225
  }
4248
- const Li = {
4226
+ const Ai = {
4249
4227
  number: {
4250
4228
  scientific: { notation: "scientific" },
4251
4229
  engineering: { notation: "engineering" },
@@ -4274,159 +4252,159 @@ const Li = {
4274
4252
  timeZoneName: "short"
4275
4253
  }
4276
4254
  }
4277
- }, Mi = {
4255
+ }, Oi = {
4278
4256
  fallbackLocale: null,
4279
4257
  loadingDelay: 200,
4280
- formats: Li,
4258
+ formats: Ai,
4281
4259
  warnOnMissingMessages: !0,
4282
4260
  handleMissingMessage: void 0,
4283
4261
  ignoreTag: !0
4284
- }, Ni = Mi;
4285
- function ne() {
4286
- return Ni;
4262
+ }, Ii = Oi;
4263
+ function re() {
4264
+ return Ii;
4287
4265
  }
4288
- const Ue = Be(!1);
4289
- var Ri = Object.defineProperty, $i = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4266
+ const $e = He(!1);
4267
+ var Ci = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
4290
4268
  for (var r in t || (t = {}))
4291
- Ui.call(t, r) && Ct(e, r, t[r]);
4292
- if (It)
4293
- for (var r of It(t))
4294
- Gi.call(t, r) && Ct(e, r, t[r]);
4269
+ Mi.call(t, r) && Pt(e, r, t[r]);
4270
+ if (Bt)
4271
+ for (var r of Bt(t))
4272
+ Ri.call(t, r) && Pt(e, r, t[r]);
4295
4273
  return e;
4296
- }, ji = (e, t) => $i(e, Di(t));
4297
- let tt;
4298
- const we = Be(null);
4299
- function Lt(e) {
4274
+ }, Di = (e, t) => Li(e, Ni(t));
4275
+ let Ke;
4276
+ const xe = He(null);
4277
+ function At(e) {
4300
4278
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4301
4279
  }
4302
- function Ae(e, t = ne().fallbackLocale) {
4303
- const r = Lt(e);
4304
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4280
+ function Pe(e, t = re().fallbackLocale) {
4281
+ const r = At(e);
4282
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4305
4283
  }
4306
4284
  function z() {
4307
- return tt != null ? tt : void 0;
4285
+ return Ke != null ? Ke : void 0;
4308
4286
  }
4309
- we.subscribe((e) => {
4310
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4287
+ xe.subscribe((e) => {
4288
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4311
4289
  });
4312
- const ki = (e) => {
4313
- if (e && Ai(e) && et(e)) {
4314
- const { loadingDelay: t } = ne();
4290
+ const Ui = (e) => {
4291
+ if (e && Ti(e) && Ye(e)) {
4292
+ const { loadingDelay: t } = re();
4315
4293
  let r;
4316
4294
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4317
- () => Ue.set(!0),
4295
+ () => $e.set(!0),
4318
4296
  t
4319
- ) : Ue.set(!0), wr(e).then(() => {
4320
- we.set(e);
4297
+ ) : $e.set(!0), gr(e).then(() => {
4298
+ xe.set(e);
4321
4299
  }).finally(() => {
4322
- clearTimeout(r), Ue.set(!1);
4300
+ clearTimeout(r), $e.set(!1);
4323
4301
  });
4324
4302
  }
4325
- return we.set(e);
4326
- }, oe = ji(Fi({}, we), {
4327
- set: ki
4328
- }), Oe = (e) => {
4303
+ return xe.set(e);
4304
+ }, ie = Di($i({}, xe), {
4305
+ set: Ui
4306
+ }), Ae = (e) => {
4329
4307
  const t = /* @__PURE__ */ Object.create(null);
4330
4308
  return (n) => {
4331
4309
  const i = JSON.stringify(n);
4332
4310
  return i in t ? t[i] : t[i] = e(n);
4333
4311
  };
4334
4312
  };
4335
- var Vi = Object.defineProperty, Se = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
4313
+ var Gi = Object.defineProperty, we = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4336
4314
  for (var r in t || (t = {}))
4337
- Sr.call(t, r) && Mt(e, r, t[r]);
4338
- if (Se)
4339
- for (var r of Se(t))
4340
- Tr.call(t, r) && Mt(e, r, t[r]);
4315
+ vr.call(t, r) && Ot(e, r, t[r]);
4316
+ if (we)
4317
+ for (var r of we(t))
4318
+ _r.call(t, r) && Ot(e, r, t[r]);
4341
4319
  return e;
4342
- }, se = (e, t) => {
4320
+ }, oe = (e, t) => {
4343
4321
  var r = {};
4344
4322
  for (var n in e)
4345
- Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4346
- if (e != null && Se)
4347
- for (var n of Se(e))
4348
- t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
4323
+ vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4324
+ if (e != null && we)
4325
+ for (var n of we(e))
4326
+ t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4349
4327
  return r;
4350
4328
  };
4351
- const ce = (e, t) => {
4352
- const { formats: r } = ne();
4329
+ const he = (e, t) => {
4330
+ const { formats: r } = re();
4353
4331
  if (e in r && t in r[e])
4354
4332
  return r[e][t];
4355
4333
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4356
- }, Xi = Oe(
4334
+ }, Fi = Ae(
4357
4335
  (e) => {
4358
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4336
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4359
4337
  if (r == null)
4360
4338
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4361
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4339
+ return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4362
4340
  }
4363
- ), Wi = Oe(
4341
+ ), ji = Ae(
4364
4342
  (e) => {
4365
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4343
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4366
4344
  if (r == null)
4367
4345
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4368
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4346
+ return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4369
4347
  }
4370
- ), zi = Oe(
4348
+ ), ki = Ae(
4371
4349
  (e) => {
4372
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4350
+ var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4373
4351
  if (r == null)
4374
4352
  throw new Error(
4375
4353
  '[svelte-i18n] A "locale" must be set to format time values'
4376
4354
  );
4377
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4355
+ return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4378
4356
  }
4379
- ), qi = (e = {}) => {
4357
+ ), Vi = (e = {}) => {
4380
4358
  var t = e, {
4381
4359
  locale: r = z()
4382
- } = t, n = se(t, [
4360
+ } = t, n = oe(t, [
4383
4361
  "locale"
4384
4362
  ]);
4385
- return Xi(st({ locale: r }, n));
4386
- }, Zi = (e = {}) => {
4363
+ return Fi(rt({ locale: r }, n));
4364
+ }, Xi = (e = {}) => {
4387
4365
  var t = e, {
4388
4366
  locale: r = z()
4389
- } = t, n = se(t, [
4367
+ } = t, n = oe(t, [
4390
4368
  "locale"
4391
4369
  ]);
4392
- return Wi(st({ locale: r }, n));
4393
- }, Qi = (e = {}) => {
4370
+ return ji(rt({ locale: r }, n));
4371
+ }, Wi = (e = {}) => {
4394
4372
  var t = e, {
4395
4373
  locale: r = z()
4396
- } = t, n = se(t, [
4374
+ } = t, n = oe(t, [
4397
4375
  "locale"
4398
4376
  ]);
4399
- return zi(st({ locale: r }, n));
4400
- }, Ji = Oe(
4377
+ return ki(rt({ locale: r }, n));
4378
+ }, zi = Ae(
4401
4379
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4402
- (e, t = z()) => new Si(e, t, ne().formats, {
4403
- ignoreTag: ne().ignoreTag
4380
+ (e, t = z()) => new _i(e, t, re().formats, {
4381
+ ignoreTag: re().ignoreTag
4404
4382
  })
4405
- ), Yi = (e, t = {}) => {
4383
+ ), Zi = (e, t = {}) => {
4406
4384
  var r, n, i, o;
4407
- let a = t;
4408
- typeof e == "object" && (a = e, e = a.id);
4385
+ let s = t;
4386
+ typeof e == "object" && (s = e, e = s.id);
4409
4387
  const {
4410
- values: s,
4388
+ values: a,
4411
4389
  locale: l = z(),
4412
4390
  default: u
4413
- } = a;
4391
+ } = s;
4414
4392
  if (l == null)
4415
4393
  throw new Error(
4416
4394
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4417
4395
  );
4418
- let h = vr(e, l);
4396
+ let h = pr(e, l);
4419
4397
  if (!h)
4420
- 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;
4398
+ h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4421
4399
  else if (typeof h != "string")
4422
4400
  return console.warn(
4423
4401
  `[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.`
4424
4402
  ), h;
4425
- if (!s)
4403
+ if (!a)
4426
4404
  return h;
4427
4405
  let f = h;
4428
4406
  try {
4429
- f = Ji(h, l).format(s);
4407
+ f = zi(h, l).format(a);
4430
4408
  } catch (c) {
4431
4409
  c instanceof Error && console.warn(
4432
4410
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4434,16 +4412,16 @@ const ce = (e, t) => {
4434
4412
  );
4435
4413
  }
4436
4414
  return f;
4437
- }, Ki = (e, t) => Qi(t).format(e), eo = (e, t) => Zi(t).format(e), to = (e, t) => qi(t).format(e), ro = (e, t = z()) => vr(e, t), no = ie([oe, de], () => Yi);
4438
- ie([oe], () => Ki);
4439
- ie([oe], () => eo);
4440
- ie([oe], () => to);
4441
- ie([oe, de], () => ro);
4442
- window.emWidgets = { topic: yn };
4443
- const Hr = (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)), io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4444
- function $o(e, t) {
4415
+ }, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = z()) => pr(e, t), Ki = ne([ie, fe], () => Zi);
4416
+ ne([ie], () => Qi);
4417
+ ne([ie], () => Ji);
4418
+ ne([ie], () => qi);
4419
+ ne([ie, fe], () => Yi);
4420
+ window.emWidgets = { topic: fn };
4421
+ const Er = (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)), eo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4422
+ function Lo(e, t) {
4445
4423
  const r = window.navigator.userAgent;
4446
- return Hr(r) ? t = e.filter((n) => {
4424
+ return Er(r) ? t = e.filter((n) => {
4447
4425
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4448
4426
  return n;
4449
4427
  }) : t = e.filter((n) => {
@@ -4451,13 +4429,13 @@ function $o(e, t) {
4451
4429
  return n;
4452
4430
  }), t;
4453
4431
  }
4454
- function oo(e, t) {
4432
+ function to(e, t) {
4455
4433
  if (e) {
4456
4434
  const r = document.createElement("style");
4457
4435
  r.innerHTML = t, e.appendChild(r);
4458
4436
  }
4459
4437
  }
4460
- function so(e, t) {
4438
+ function ro(e, t) {
4461
4439
  const r = new URL(t);
4462
4440
  fetch(r.href).then((n) => n.text()).then((n) => {
4463
4441
  const i = document.createElement("style");
@@ -4466,7 +4444,7 @@ function so(e, t) {
4466
4444
  console.error("There was an error while trying to load client styling from URL", n);
4467
4445
  });
4468
4446
  }
4469
- function ao(e, t, r) {
4447
+ function no(e, t, r) {
4470
4448
  if (window.emMessageBus) {
4471
4449
  const n = document.createElement("style");
4472
4450
  window.emMessageBus.subscribe(t, (i) => {
@@ -4474,13 +4452,13 @@ function ao(e, t, r) {
4474
4452
  });
4475
4453
  }
4476
4454
  }
4477
- function Nt(e, t) {
4478
- Er(e, t);
4455
+ function It(e, t) {
4456
+ br(e, t);
4479
4457
  }
4480
- function uo(e) {
4481
- oe.set(e);
4458
+ function io(e) {
4459
+ ie.set(e);
4482
4460
  }
4483
- const Rt = {
4461
+ const Ct = {
4484
4462
  en: {
4485
4463
  error: "500 Error - Internal Server Error"
4486
4464
  },
@@ -4512,7 +4490,7 @@ if (typeof window != "undefined") {
4512
4490
  }
4513
4491
  };
4514
4492
  };
4515
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BVWbjQFD.js").then(({ default: t }) => {
4493
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CehhK4Vt.js").then(({ default: t }) => {
4516
4494
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4517
4495
  });
4518
4496
  }
@@ -4528,77 +4506,77 @@ if (typeof window != "undefined") {
4528
4506
  }
4529
4507
  };
4530
4508
  };
4531
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Cpx3YOPg.js").then(({ default: t }) => {
4509
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-Cf-elj80.js").then(({ default: t }) => {
4532
4510
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4533
4511
  });
4534
4512
  }
4535
- function lo(e) {
4536
- Rr(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
4537
- }.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)}}`);
4513
+ function oo(e) {
4514
+ Ir(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{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-61avp5{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-61avp5{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-61avp5{display:block;width:80px;height:80px;margin:0 auto
4515
+ }.LoadingSpinner.svelte-61avp5: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-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4538
4516
  }
4539
- function $t(e, t, r) {
4517
+ function Lt(e, t, r) {
4540
4518
  const n = e.slice();
4541
4519
  return n[25] = t[r], n[27] = r, n;
4542
4520
  }
4543
- function ho(e) {
4544
- let t, r, n, i = pt(
4521
+ function so(e) {
4522
+ let t, r, n, i = ht(
4545
4523
  /*calendarCollections*/
4546
- e[5]
4524
+ e[6]
4547
4525
  ), o = [];
4548
- for (let s = 0; s < i.length; s += 1)
4549
- o[s] = Dt($t(e, i, s));
4550
- let a = (
4526
+ for (let a = 0; a < i.length; a += 1)
4527
+ o[a] = Nt(Lt(e, i, a));
4528
+ let s = (
4551
4529
  /*calendarModalOpened*/
4552
- e[10] == !0 && Ut(e)
4530
+ e[11] == !0 && Mt(e)
4553
4531
  );
4554
4532
  return {
4555
4533
  c() {
4556
- t = M("div");
4557
- for (let s = 0; s < o.length; s += 1)
4558
- o[s].c();
4559
- r = Fr(), a && a.c(), X(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4560
- (e[9] ? "Mobile" : "") + " svelte-1bqenf9");
4534
+ t = N("div");
4535
+ for (let a = 0; a < o.length; a += 1)
4536
+ o[a].c();
4537
+ r = Rr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4538
+ (e[10] ? "Mobile" : "") + " svelte-61avp5");
4561
4539
  },
4562
- m(s, l) {
4563
- k(s, t, l);
4540
+ m(a, l) {
4541
+ V(a, t, l);
4564
4542
  for (let u = 0; u < o.length; u += 1)
4565
4543
  o[u] && o[u].m(t, null);
4566
- fe(t, r), a && a.m(t, null);
4544
+ ce(t, r), s && s.m(t, null);
4567
4545
  },
4568
- p(s, l) {
4569
- if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, translationurl*/
4570
- 47) {
4571
- i = pt(
4546
+ p(a, l) {
4547
+ if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4548
+ 95) {
4549
+ i = ht(
4572
4550
  /*calendarCollections*/
4573
- s[5]
4551
+ a[6]
4574
4552
  );
4575
4553
  let u;
4576
4554
  for (u = 0; u < i.length; u += 1) {
4577
- const h = $t(s, i, u);
4578
- o[u] ? o[u].p(h, l) : (o[u] = Dt(h), o[u].c(), o[u].m(t, r));
4555
+ const h = Lt(a, i, u);
4556
+ o[u] ? o[u].p(h, l) : (o[u] = Nt(h), o[u].c(), o[u].m(t, r));
4579
4557
  }
4580
4558
  for (; u < o.length; u += 1)
4581
4559
  o[u].d(1);
4582
4560
  o.length = i.length;
4583
4561
  }
4584
4562
  /*calendarModalOpened*/
4585
- s[10] == !0 ? a ? a.p(s, l) : (a = Ut(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4586
- 512 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4587
- (s[9] ? "Mobile" : "") + " svelte-1bqenf9") && X(t, "class", n);
4563
+ a[11] == !0 ? s ? s.p(a, l) : (s = Mt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4564
+ 1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4565
+ (a[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4588
4566
  },
4589
- d(s) {
4590
- s && D(t), Ur(o, s), a && a.d();
4567
+ d(a) {
4568
+ a && D(t), Nr(o, a), s && s.d();
4591
4569
  }
4592
4570
  };
4593
4571
  }
4594
- function co(e) {
4572
+ function ao(e) {
4595
4573
  let t;
4596
4574
  return {
4597
4575
  c() {
4598
- t = M("div"), X(t, "class", "LoadingSpinner svelte-1bqenf9");
4576
+ t = N("div"), k(t, "class", "LoadingSpinner svelte-61avp5");
4599
4577
  },
4600
4578
  m(r, n) {
4601
- k(r, t, n);
4579
+ V(r, t, n);
4602
4580
  },
4603
4581
  p: O,
4604
4582
  d(r) {
@@ -4606,213 +4584,235 @@ function co(e) {
4606
4584
  }
4607
4585
  };
4608
4586
  }
4609
- function fo(e) {
4587
+ function uo(e) {
4610
4588
  let t, r = (
4611
4589
  /*$_*/
4612
- e[11]("error") + ""
4590
+ e[12]("error") + ""
4613
4591
  ), n;
4614
4592
  return {
4615
4593
  c() {
4616
- t = M("p"), n = rt(r), X(t, "class", "SearchLoading");
4594
+ t = N("p"), n = et(r), k(t, "class", "SearchLoading svelte-61avp5");
4617
4595
  },
4618
4596
  m(i, o) {
4619
- k(i, t, o), fe(t, n);
4597
+ V(i, t, o), ce(t, n);
4620
4598
  },
4621
4599
  p(i, o) {
4622
4600
  o & /*$_*/
4623
- 2048 && r !== (r = /*$_*/
4624
- i[11]("error") + "") && kr(n, r);
4601
+ 4096 && r !== (r = /*$_*/
4602
+ i[12]("error") + "") && Dr(n, r);
4625
4603
  },
4626
4604
  d(i) {
4627
4605
  i && D(t);
4628
4606
  }
4629
4607
  };
4630
4608
  }
4631
- function Dt(e) {
4632
- let t, r, n, i, o, a;
4609
+ function Nt(e) {
4610
+ let t, r, n, i, o, s;
4633
4611
  return {
4634
4612
  c() {
4635
- t = M("casino-calendar-daily-item"), m(t, "dailybackground", r = /*dailyCalendarData*/
4636
- e[25].dailyBackground), m(t, "dailyicon", n = /*dailyCalendarData*/
4637
- e[25].dailyIcon), m(t, "dailyday", i = /*dailyCalendarData*/
4638
- e[25].dailyDay), m(t, "dailydescription", o = /*dailyCalendarData*/
4639
- e[25].dailyDescription), m(t, "dailybuttontitle", a = /*dailyCalendarData*/
4640
- e[25].dailyButtonTitle), m(
4613
+ t = N("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4614
+ e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4615
+ e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4616
+ e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4617
+ e[25].dailyDescription), p(t, "dailybuttontitle", s = /*dailyCalendarData*/
4618
+ e[25].dailyButtonTitle), p(
4641
4619
  t,
4642
4620
  "index",
4643
4621
  /*index*/
4644
4622
  e[27]
4645
- ), m(
4623
+ ), p(
4646
4624
  t,
4647
4625
  "lang",
4648
4626
  /*lang*/
4649
4627
  e[0]
4650
- ), m(
4628
+ ), p(
4651
4629
  t,
4652
4630
  "clientstyling",
4653
4631
  /*clientstyling*/
4654
4632
  e[1]
4655
- ), m(
4633
+ ), p(
4656
4634
  t,
4657
4635
  "clientstylingurl",
4658
4636
  /*clientstylingurl*/
4659
4637
  e[2]
4660
- ), m(
4638
+ ), p(
4639
+ t,
4640
+ "mbsource",
4641
+ /*mbsource*/
4642
+ e[4]
4643
+ ), p(
4661
4644
  t,
4662
4645
  "translationurl",
4663
4646
  /*translationurl*/
4664
4647
  e[3]
4665
- );
4648
+ ), p(t, "class", "svelte-61avp5");
4666
4649
  },
4667
- m(s, l) {
4668
- k(s, t, l);
4650
+ m(a, l) {
4651
+ V(a, t, l);
4669
4652
  },
4670
- p(s, l) {
4653
+ p(a, l) {
4671
4654
  l & /*calendarCollections*/
4672
- 32 && r !== (r = /*dailyCalendarData*/
4673
- s[25].dailyBackground) && m(t, "dailybackground", r), l & /*calendarCollections*/
4674
- 32 && n !== (n = /*dailyCalendarData*/
4675
- s[25].dailyIcon) && m(t, "dailyicon", n), l & /*calendarCollections*/
4676
- 32 && i !== (i = /*dailyCalendarData*/
4677
- s[25].dailyDay) && m(t, "dailyday", i), l & /*calendarCollections*/
4678
- 32 && o !== (o = /*dailyCalendarData*/
4679
- s[25].dailyDescription) && m(t, "dailydescription", o), l & /*calendarCollections*/
4680
- 32 && a !== (a = /*dailyCalendarData*/
4681
- s[25].dailyButtonTitle) && m(t, "dailybuttontitle", a), l & /*lang*/
4682
- 1 && m(
4655
+ 64 && r !== (r = /*dailyCalendarData*/
4656
+ a[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4657
+ 64 && n !== (n = /*dailyCalendarData*/
4658
+ a[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4659
+ 64 && i !== (i = /*dailyCalendarData*/
4660
+ a[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4661
+ 64 && o !== (o = /*dailyCalendarData*/
4662
+ a[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4663
+ 64 && s !== (s = /*dailyCalendarData*/
4664
+ a[25].dailyButtonTitle) && p(t, "dailybuttontitle", s), l & /*lang*/
4665
+ 1 && p(
4683
4666
  t,
4684
4667
  "lang",
4685
4668
  /*lang*/
4686
- s[0]
4669
+ a[0]
4687
4670
  ), l & /*clientstyling*/
4688
- 2 && m(
4671
+ 2 && p(
4689
4672
  t,
4690
4673
  "clientstyling",
4691
4674
  /*clientstyling*/
4692
- s[1]
4675
+ a[1]
4693
4676
  ), l & /*clientstylingurl*/
4694
- 4 && m(
4677
+ 4 && p(
4695
4678
  t,
4696
4679
  "clientstylingurl",
4697
4680
  /*clientstylingurl*/
4698
- s[2]
4681
+ a[2]
4682
+ ), l & /*mbsource*/
4683
+ 16 && p(
4684
+ t,
4685
+ "mbsource",
4686
+ /*mbsource*/
4687
+ a[4]
4699
4688
  ), l & /*translationurl*/
4700
- 8 && m(
4689
+ 8 && p(
4701
4690
  t,
4702
4691
  "translationurl",
4703
4692
  /*translationurl*/
4704
- s[3]
4693
+ a[3]
4705
4694
  );
4706
4695
  },
4707
- d(s) {
4708
- s && D(t);
4696
+ d(a) {
4697
+ a && D(t);
4709
4698
  }
4710
4699
  };
4711
4700
  }
4712
- function Ut(e) {
4713
- let t, r, n, i, o, a, s, l;
4701
+ function Mt(e) {
4702
+ let t, r, n, i, o, s, a, l;
4714
4703
  return {
4715
4704
  c() {
4716
- t = M("div"), r = M("casino-calendar-daily-details"), m(r, "dailybackground", n = /*calendarCollections*/
4717
- e[5][
4705
+ t = N("div"), r = N("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4706
+ e[6][
4718
4707
  /*selectedIndex*/
4719
- e[6]
4720
- ].dailyBackground), m(r, "dailybuttontitle", i = /*calendarCollections*/
4721
- e[5][
4708
+ e[7]
4709
+ ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4710
+ e[6][
4722
4711
  /*selectedIndex*/
4723
- e[6]
4724
- ].dailyButtonTitle), m(r, "dailyday", o = /*calendarCollections*/
4725
- e[5][
4712
+ e[7]
4713
+ ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4714
+ e[6][
4726
4715
  /*selectedIndex*/
4727
- e[6]
4728
- ].dailyDay), m(r, "dailydescription", a = /*calendarCollections*/
4729
- e[5][
4716
+ e[7]
4717
+ ].dailyDay), p(r, "dailydescription", s = /*calendarCollections*/
4718
+ e[6][
4730
4719
  /*selectedIndex*/
4731
- e[6]
4732
- ].dailyDescription), m(r, "dailyicon", s = /*calendarCollections*/
4733
- e[5][
4720
+ e[7]
4721
+ ].dailyDescription), p(r, "dailyicon", a = /*calendarCollections*/
4722
+ e[6][
4734
4723
  /*selectedIndex*/
4735
- e[6]
4736
- ].dailyIcon), m(r, "dailytitle", l = /*calendarCollections*/
4737
- e[5][
4724
+ e[7]
4725
+ ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4726
+ e[6][
4738
4727
  /*selectedIndex*/
4739
- e[6]
4740
- ].dailyTitle), m(
4728
+ e[7]
4729
+ ].dailyTitle), p(
4741
4730
  r,
4742
4731
  "lang",
4743
4732
  /*lang*/
4744
4733
  e[0]
4745
- ), m(
4734
+ ), p(
4746
4735
  r,
4747
4736
  "clientstyling",
4748
4737
  /*clientstyling*/
4749
4738
  e[1]
4750
- ), m(
4739
+ ), p(
4751
4740
  r,
4752
4741
  "clientstylingurl",
4753
4742
  /*clientstylingurl*/
4754
4743
  e[2]
4755
- ), m(
4744
+ ), p(
4745
+ r,
4746
+ "mbsource",
4747
+ /*mbsource*/
4748
+ e[4]
4749
+ ), p(
4756
4750
  r,
4757
4751
  "translationurl",
4758
4752
  /*translationurl*/
4759
4753
  e[3]
4760
- ), X(t, "class", "CalendarDetailsWrapper svelte-1bqenf9");
4754
+ ), p(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4761
4755
  },
4762
4756
  m(u, h) {
4763
- k(u, t, h), fe(t, r);
4757
+ V(u, t, h), ce(t, r);
4764
4758
  },
4765
4759
  p(u, h) {
4766
4760
  h & /*calendarCollections, selectedIndex*/
4767
- 96 && n !== (n = /*calendarCollections*/
4768
- u[5][
4761
+ 192 && n !== (n = /*calendarCollections*/
4762
+ u[6][
4769
4763
  /*selectedIndex*/
4770
- u[6]
4771
- ].dailyBackground) && m(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4772
- 96 && i !== (i = /*calendarCollections*/
4773
- u[5][
4764
+ u[7]
4765
+ ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4766
+ 192 && i !== (i = /*calendarCollections*/
4767
+ u[6][
4774
4768
  /*selectedIndex*/
4775
- u[6]
4776
- ].dailyButtonTitle) && m(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4777
- 96 && o !== (o = /*calendarCollections*/
4778
- u[5][
4769
+ u[7]
4770
+ ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4771
+ 192 && o !== (o = /*calendarCollections*/
4772
+ u[6][
4779
4773
  /*selectedIndex*/
4780
- u[6]
4781
- ].dailyDay) && m(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4782
- 96 && a !== (a = /*calendarCollections*/
4783
- u[5][
4774
+ u[7]
4775
+ ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4776
+ 192 && s !== (s = /*calendarCollections*/
4777
+ u[6][
4784
4778
  /*selectedIndex*/
4785
- u[6]
4786
- ].dailyDescription) && m(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4787
- 96 && s !== (s = /*calendarCollections*/
4788
- u[5][
4779
+ u[7]
4780
+ ].dailyDescription) && p(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4781
+ 192 && a !== (a = /*calendarCollections*/
4782
+ u[6][
4789
4783
  /*selectedIndex*/
4790
- u[6]
4791
- ].dailyIcon) && m(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4792
- 96 && l !== (l = /*calendarCollections*/
4793
- u[5][
4784
+ u[7]
4785
+ ].dailyIcon) && p(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4786
+ 192 && l !== (l = /*calendarCollections*/
4787
+ u[6][
4794
4788
  /*selectedIndex*/
4795
- u[6]
4796
- ].dailyTitle) && m(r, "dailytitle", l), h & /*lang*/
4797
- 1 && m(
4789
+ u[7]
4790
+ ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4791
+ 1 && p(
4798
4792
  r,
4799
4793
  "lang",
4800
4794
  /*lang*/
4801
4795
  u[0]
4802
4796
  ), h & /*clientstyling*/
4803
- 2 && m(
4797
+ 2 && p(
4804
4798
  r,
4805
4799
  "clientstyling",
4806
4800
  /*clientstyling*/
4807
4801
  u[1]
4808
4802
  ), h & /*clientstylingurl*/
4809
- 4 && m(
4803
+ 4 && p(
4810
4804
  r,
4811
4805
  "clientstylingurl",
4812
4806
  /*clientstylingurl*/
4813
4807
  u[2]
4808
+ ), h & /*mbsource*/
4809
+ 16 && p(
4810
+ r,
4811
+ "mbsource",
4812
+ /*mbsource*/
4813
+ u[4]
4814
4814
  ), h & /*translationurl*/
4815
- 8 && m(
4815
+ 8 && p(
4816
4816
  r,
4817
4817
  "translationurl",
4818
4818
  /*translationurl*/
@@ -4824,33 +4824,33 @@ function Ut(e) {
4824
4824
  }
4825
4825
  };
4826
4826
  }
4827
- function po(e) {
4827
+ function lo(e) {
4828
4828
  let t;
4829
- function r(o, a) {
4830
- var s;
4829
+ function r(o, s) {
4830
+ var a;
4831
4831
  if (
4832
4832
  /*hasErrors*/
4833
- o[8]
4834
- ) return fo;
4833
+ o[9]
4834
+ ) return uo;
4835
4835
  if (
4836
4836
  /*isLoading*/
4837
- o[7]
4838
- ) return co;
4837
+ o[8]
4838
+ ) return ao;
4839
4839
  if (
4840
4840
  /*calendarCollections*/
4841
- (s = o[5]) != null && s.length
4842
- ) return ho;
4841
+ (a = o[6]) != null && a.length
4842
+ ) return so;
4843
4843
  }
4844
4844
  let n = r(e), i = n && n(e);
4845
4845
  return {
4846
4846
  c() {
4847
- t = M("div"), i && i.c();
4847
+ t = N("div"), i && i.c(), k(t, "class", "svelte-61avp5");
4848
4848
  },
4849
- m(o, a) {
4850
- k(o, t, a), i && i.m(t, null), e[16](t);
4849
+ m(o, s) {
4850
+ V(o, t, s), i && i.m(t, null), e[16](t);
4851
4851
  },
4852
- p(o, [a]) {
4853
- n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4852
+ p(o, [s]) {
4853
+ n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4854
4854
  },
4855
4855
  i: O,
4856
4856
  o: O,
@@ -4859,43 +4859,43 @@ function po(e) {
4859
4859
  }
4860
4860
  };
4861
4861
  }
4862
- function mo(e, t, r) {
4862
+ function ho(e, t, r) {
4863
4863
  let n;
4864
- Nr(e, no, (p) => r(11, n = p));
4865
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, d, b = 0, g = !0, w = !1, I = !1, P = window.navigator.userAgent, S = !1, N;
4866
- const C = () => {
4867
- uo(s);
4864
+ Or(e, Ki, (d) => r(12, n = d));
4865
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: s = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, w = !1, I = !1, P = window.navigator.userAgent, S = !1;
4866
+ const M = () => {
4867
+ io(a);
4868
4868
  };
4869
- Object.keys(Rt).forEach((p) => {
4870
- Nt(p, Rt[p]);
4869
+ Object.keys(Ct).forEach((d) => {
4870
+ It(d, Ct[d]);
4871
4871
  });
4872
- const R = () => {
4873
- let p = h;
4874
- if (p)
4875
- return fetch(p).then((B) => B.json()).then((B) => {
4872
+ const C = () => {
4873
+ let d = h;
4874
+ if (d)
4875
+ return fetch(d).then((B) => B.json()).then((B) => {
4876
4876
  Object.keys(B).forEach((F) => {
4877
- Nt(F, B[F]);
4877
+ It(F, B[F]);
4878
4878
  });
4879
4879
  }).catch((B) => {
4880
4880
  console.log(B);
4881
4881
  });
4882
- }, x = () => {
4883
- r(7, g = !0);
4884
- let p = new URL(`${i}/${s}/daily-calendar`);
4885
- p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4886
- let B = io(P);
4887
- B && (B === "PC" ? p.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((F) => F.json()).then((F) => {
4888
- r(5, d = F);
4882
+ }, R = () => {
4883
+ r(8, g = !0);
4884
+ let d = new URL(`${i}/${a}/daily-calendar`);
4885
+ d.searchParams.append("userRoles", s), d.searchParams.append("env", o);
4886
+ let B = eo(P);
4887
+ B && (B === "PC" ? d.searchParams.append("device", "dk") : B === "iPad" || B === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((F) => F.json()).then((F) => {
4888
+ r(6, m = F);
4889
4889
  }).catch((F) => {
4890
- console.log(F), r(8, w = !0);
4890
+ console.log(F), r(9, w = !0);
4891
4891
  }).finally(() => {
4892
- r(7, g = !1);
4892
+ r(8, g = !1);
4893
4893
  });
4894
- }, L = () => {
4895
- x();
4896
- }, A = (p) => {
4894
+ }, x = () => {
4895
+ R();
4896
+ }, A = (d) => {
4897
4897
  var B;
4898
- p.data && p.data.type == "OpenCalendar" && (r(6, b = p.data.index), r(10, S = !0), window.postMessage(
4898
+ d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, S = !0), window.postMessage(
4899
4899
  {
4900
4900
  type: "ShowModal",
4901
4901
  selectedIndex: b,
@@ -4904,34 +4904,35 @@ function mo(e, t, r) {
4904
4904
  window.location.href
4905
4905
  ), window.postMessage({
4906
4906
  type: "DailyEventsData",
4907
- data: (B = d[b]) == null ? void 0 : B.dailyEvents
4908
- })), p.data && p.data.type == "ModalClosed" && r(10, S = !1);
4907
+ data: (B = m[b]) == null ? void 0 : B.dailyEvents
4908
+ })), d.data && d.data.type == "ModalClosed" && r(11, S = !1);
4909
4909
  };
4910
- Wr(() => (window.addEventListener("message", A, !1), Hr(P) && r(9, I = !0), () => {
4911
- window.emMessageBus && N && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", A);
4910
+ Fr(() => (window.addEventListener("message", A, !1), Er(P) && r(10, I = !0), () => {
4911
+ window.removeEventListener("message", A);
4912
4912
  }));
4913
- function q(p) {
4914
- Ge[p ? "unshift" : "push"](() => {
4915
- c = p, r(4, c);
4913
+ function L(d) {
4914
+ De[d ? "unshift" : "push"](() => {
4915
+ c = d, r(5, c);
4916
4916
  });
4917
4917
  }
4918
- return e.$$set = (p) => {
4919
- "cmsendpoint" in p && r(12, i = p.cmsendpoint), "env" in p && r(13, o = p.env), "userroles" in p && r(14, a = p.userroles), "lang" in p && r(0, s = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(15, f = p.mbsource);
4918
+ return e.$$set = (d) => {
4919
+ "cmsendpoint" in d && r(13, i = d.cmsendpoint), "env" in d && r(14, o = d.env), "userroles" in d && r(15, s = d.userroles), "lang" in d && r(0, a = d.lang), "clientstyling" in d && r(1, l = d.clientstyling), "clientstylingurl" in d && r(2, u = d.clientstylingurl), "translationurl" in d && r(3, h = d.translationurl), "mbsource" in d && r(4, f = d.mbsource);
4920
4920
  }, e.$$.update = () => {
4921
4921
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4922
- 28673 && i && s && o && a && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4923
- 18 && l && c && oo(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4924
- 20 && u && c && so(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4925
- 32784 && c && ao(c, `${f}.Style`), e.$$.dirty & /*lang*/
4926
- 1 && s && C(), e.$$.dirty & /*lang, translationurl*/
4927
- 9 && s && h && R();
4922
+ 57345 && i && a && o && s && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4923
+ 34 && l && c && to(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4924
+ 36 && u && c && ro(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4925
+ 48 && c && no(c, `${f}.Style`), e.$$.dirty & /*lang*/
4926
+ 1 && a && M(), e.$$.dirty & /*lang, translationurl*/
4927
+ 9 && a && h && C();
4928
4928
  }, [
4929
- s,
4929
+ a,
4930
4930
  l,
4931
4931
  u,
4932
4932
  h,
4933
+ f,
4933
4934
  c,
4934
- d,
4935
+ m,
4935
4936
  b,
4936
4937
  g,
4937
4938
  w,
@@ -4940,46 +4941,45 @@ function mo(e, t, r) {
4940
4941
  n,
4941
4942
  i,
4942
4943
  o,
4943
- a,
4944
- f,
4945
- q
4944
+ s,
4945
+ L
4946
4946
  ];
4947
4947
  }
4948
- class Br extends en {
4948
+ class xr extends Qr {
4949
4949
  constructor(t) {
4950
- super(), Yr(
4950
+ super(), zr(
4951
4951
  this,
4952
4952
  t,
4953
- mo,
4954
- po,
4955
- Ft,
4953
+ ho,
4954
+ lo,
4955
+ $t,
4956
4956
  {
4957
- cmsendpoint: 12,
4958
- env: 13,
4959
- userroles: 14,
4957
+ cmsendpoint: 13,
4958
+ env: 14,
4959
+ userroles: 15,
4960
4960
  lang: 0,
4961
4961
  clientstyling: 1,
4962
4962
  clientstylingurl: 2,
4963
4963
  translationurl: 3,
4964
- mbsource: 15
4964
+ mbsource: 4
4965
4965
  },
4966
- lo
4966
+ oo
4967
4967
  );
4968
4968
  }
4969
4969
  get cmsendpoint() {
4970
- return this.$$.ctx[12];
4970
+ return this.$$.ctx[13];
4971
4971
  }
4972
4972
  set cmsendpoint(t) {
4973
4973
  this.$$set({ cmsendpoint: t }), $();
4974
4974
  }
4975
4975
  get env() {
4976
- return this.$$.ctx[13];
4976
+ return this.$$.ctx[14];
4977
4977
  }
4978
4978
  set env(t) {
4979
4979
  this.$$set({ env: t }), $();
4980
4980
  }
4981
4981
  get userroles() {
4982
- return this.$$.ctx[14];
4982
+ return this.$$.ctx[15];
4983
4983
  }
4984
4984
  set userroles(t) {
4985
4985
  this.$$set({ userroles: t }), $();
@@ -5009,74 +5009,74 @@ class Br extends en {
5009
5009
  this.$$set({ translationurl: t }), $();
5010
5010
  }
5011
5011
  get mbsource() {
5012
- return this.$$.ctx[15];
5012
+ return this.$$.ctx[4];
5013
5013
  }
5014
5014
  set mbsource(t) {
5015
5015
  this.$$set({ mbsource: t }), $();
5016
5016
  }
5017
5017
  }
5018
- Kr(Br, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5019
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5018
+ Zr(xr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5019
+ const No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5020
5020
  __proto__: null,
5021
- default: Br
5021
+ default: xr
5022
5022
  }, Symbol.toStringTag, { value: "Module" }));
5023
5023
  export {
5024
- oe as $,
5025
- vo as A,
5026
- kr as B,
5027
- Ur as C,
5028
- O as D,
5029
- yo as E,
5030
- no as F,
5031
- Gr as G,
5032
- wo as H,
5033
- Ho as I,
5034
- Ao as J,
5035
- so as K,
5036
- oo as L,
5037
- ao as M,
5038
- je as N,
5039
- Bo as O,
5024
+ ie as $,
5025
+ ut as A,
5026
+ Rr as B,
5027
+ De as C,
5028
+ fo as D,
5029
+ Mr as E,
5030
+ vo as F,
5031
+ xo as G,
5032
+ To as H,
5033
+ to as I,
5034
+ ro as J,
5035
+ no as K,
5036
+ Zr as L,
5037
+ Ki as M,
5038
+ wo as N,
5039
+ Ge as O,
5040
5040
  W as P,
5041
- So as Q,
5042
- de as R,
5043
- en as S,
5044
- m as T,
5045
- io as U,
5046
- To as V,
5047
- Po as W,
5048
- Io as X,
5049
- $o as Y,
5050
- Ro as Z,
5051
- No as _,
5052
- Er as a,
5053
- Oo as a0,
5054
- xo as a1,
5055
- Te as a2,
5056
- Do as a3,
5057
- Rr as b,
5058
- Kr as c,
5059
- k as d,
5060
- M as e,
5041
+ _o as Q,
5042
+ fe as R,
5043
+ Qr as S,
5044
+ p as T,
5045
+ eo as U,
5046
+ Eo as V,
5047
+ So as W,
5048
+ Bo as X,
5049
+ Lo as Y,
5050
+ Co as Z,
5051
+ Io as _,
5052
+ br as a,
5053
+ Ho as a0,
5054
+ go as a1,
5055
+ Se as a2,
5056
+ No as a3,
5057
+ Ir as b,
5058
+ kt as c,
5059
+ D as d,
5060
+ Ao as e,
5061
5061
  $ as f,
5062
- Lo as g,
5063
- zt as h,
5064
- Yr as i,
5065
- D as j,
5066
- Nr as k,
5067
- Co as l,
5068
- Hr as m,
5069
- Ge as n,
5070
- Wr as o,
5071
- go as p,
5072
- pt as q,
5073
- Fr as r,
5074
- Ft as s,
5075
- Mo as t,
5076
- rt as u,
5077
- X as v,
5078
- fe as w,
5079
- ft as x,
5080
- _o as y,
5081
- Eo as z
5062
+ Po as g,
5063
+ V as h,
5064
+ zr as i,
5065
+ N as j,
5066
+ Or as k,
5067
+ Er as l,
5068
+ Dr as m,
5069
+ O as n,
5070
+ Fr as o,
5071
+ ce as p,
5072
+ et as q,
5073
+ k as r,
5074
+ $t as s,
5075
+ Oo as t,
5076
+ po as u,
5077
+ ht as v,
5078
+ Nr as w,
5079
+ bo as x,
5080
+ yo as y,
5081
+ mo as z
5082
5082
  };