@everymatrix/casino-page 1.58.1 → 1.59.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/components/{CasinoCalendar-DSG6g7xU.js → CasinoCalendar-Ckt1PYIP.js} +783 -780
  2. package/components/CasinoCalendar-DEC4kbu7.cjs +19 -0
  3. package/components/{CasinoCalendar-DiZrkgaV.js → CasinoCalendar-DNaLXH6n.js} +769 -766
  4. package/components/{CasinoCalendarDailyDetails-Dv1jxPLQ.js → CasinoCalendarDailyDetails-BdhBt4HO.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CcuM0Eaq.js → CasinoCalendarDailyDetails-DOhd-4ZT.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DNnl20nr.cjs → CasinoCalendarDailyDetails-EinwK-x0.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-BBaphFv2.js → CasinoCalendarDailyItem-254MG7d4.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-HkwdKiaQ.cjs → CasinoCalendarDailyItem-CEbe-dts.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DateMcJ_.js → CasinoCalendarDailyItem-I0d1EuRW.js} +1 -1
  10. package/components/{CasinoCollectionsProviders-CQ42E76I.js → CasinoCollectionsProviders-2w-n1gbT.js} +108 -105
  11. package/components/{CasinoCollectionsProviders-JONztOpa.js → CasinoCollectionsProviders-BFdX7p1F.js} +106 -103
  12. package/components/{CasinoCollectionsProviders-DlyhZFGW.cjs → CasinoCollectionsProviders-CHGsk2qn.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-Di0ChxzM.js → CasinoFavoritesSection-B5R2pJV4.js} +2 -2
  14. package/components/{CasinoFavoritesSection-KsIBcFcl.cjs → CasinoFavoritesSection-Bwd9cydJ.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-B35fc0WA.js → CasinoFavoritesSection-CxfnKpK7.js} +2 -2
  16. package/components/{CasinoFilter-DTSqCXdO.js → CasinoFilter-Cf6wLS_J.js} +3 -3
  17. package/components/{CasinoFilter-D3nwp5eh.js → CasinoFilter-DT_mfIxJ.js} +3 -3
  18. package/components/{CasinoFilter-w2jN5tFN.cjs → CasinoFilter-DkRFodLT.cjs} +1 -1
  19. package/components/{CasinoGameThumbnail-DSJ5QN_S.js → CasinoGameThumbnail-BB7ZnUGU.js} +1516 -1500
  20. package/components/{CasinoGameThumbnail-CcXh2l2p.js → CasinoGameThumbnail-C5TP6kvd.js} +1449 -1433
  21. package/components/CasinoGameThumbnail-Dkeg5Jrp.cjs +47 -0
  22. package/components/{CasinoGamesCategorySection-Bt_TCzHb.js → CasinoGamesCategorySection-C8WyPQDN.js} +296 -291
  23. package/components/{CasinoGamesCategorySection-DMsv60nN.js → CasinoGamesCategorySection-CmOh8LLU.js} +385 -380
  24. package/components/{CasinoGamesCategorySection-CFrf0WgK.cjs → CasinoGamesCategorySection-q9Tr9avS.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner-DhUCd87f.js → CasinoJackpotBanner-Dt56Ssbv.js} +215 -210
  26. package/components/{CasinoJackpotBanner-CB4S1SRX.js → CasinoJackpotBanner-QjY0RFqn.js} +167 -162
  27. package/components/CasinoJackpotBanner-W78-HVH9.cjs +1 -0
  28. package/components/{CasinoLastPlayedSection-D2YhL3mI.js → CasinoLastPlayedSection-CKWvJxMR.js} +2 -2
  29. package/components/{CasinoLastPlayedSection-DisexHa1.js → CasinoLastPlayedSection-Dludgfrb.js} +2 -2
  30. package/components/{CasinoLastPlayedSection-D7Nb9EcO.cjs → CasinoLastPlayedSection-zFK0JAoa.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSection-BwTn0Z9W.js → CasinoMostPlayedSection-BGB-1gJ6.js} +2 -2
  32. package/components/{CasinoMostPlayedSection-vevxfvAK.cjs → CasinoMostPlayedSection-DgpDWQv8.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-Dt0krTX5.js → CasinoMostPlayedSection-dy5GXNdk.js} +2 -2
  34. package/components/{CasinoMyGames-eqkYGMmg.cjs → CasinoMyGames-C4rFDrWA.cjs} +1 -1
  35. package/components/{CasinoMyGames-D18ON4L8.js → CasinoMyGames-CWGIjw4v.js} +4 -4
  36. package/components/{CasinoMyGames-BUsipYGW.js → CasinoMyGames-aci4Yv-i.js} +4 -4
  37. package/components/{CasinoPage-BmW4Yfd6.js → CasinoPage-BgidFXhP.js} +1493 -1447
  38. package/components/CasinoPage-DYuTwu6B.cjs +1 -0
  39. package/components/CasinoPage-i2aFxb3_.js +3755 -0
  40. package/components/{CasinoRandomGame-C723vTme.cjs → CasinoRandomGame-CH4DPGtX.cjs} +1 -1
  41. package/components/{CasinoRandomGame-Cs6Mh9-O.js → CasinoRandomGame-CTVNBAys.js} +22 -22
  42. package/components/{CasinoRandomGame-BdTCJXjk.js → CasinoRandomGame-FAQztl67.js} +21 -21
  43. package/components/{CasinoSearch-Cmgioy33.cjs → CasinoSearch-CFgo_QTr.cjs} +1 -1
  44. package/components/{CasinoSearch-CwfU7YXU.js → CasinoSearch-CWKv8MPn.js} +3 -3
  45. package/components/{CasinoSearch-BTg9BmdC.js → CasinoSearch-CtHELaJv.js} +3 -3
  46. package/components/{CasinoSort-d7HpFn0y.cjs → CasinoSort-CD6jHMIw.cjs} +1 -1
  47. package/components/{CasinoSort-C9FqhPn1.js → CasinoSort-D-E5cV7V.js} +1 -1
  48. package/components/{CasinoSort-DJGB2rWX.js → CasinoSort-jHGGKT4T.js} +1 -1
  49. package/components/{CasinoWinners-KCECqhoF.js → CasinoWinners-BnSu5nnB.js} +119 -116
  50. package/components/{CasinoWinners-Djt0qjWA.js → CasinoWinners-BpeW82lE.js} +107 -104
  51. package/components/{CasinoWinners-Br-OwXS1.cjs → CasinoWinners-DM9Vf73b.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-Dha7DXjj.js → GeneralAnimationLoading-Bl-AgLq7.js} +1 -1
  53. package/components/{GeneralAnimationLoading-jXOehNwh.js → GeneralAnimationLoading-oiUh9Rwe.js} +1 -1
  54. package/components/{GeneralAnimationLoading-Dy1zCPsz.cjs → GeneralAnimationLoading-vwMxZgQG.cjs} +1 -1
  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/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  60. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
  61. package/stencil/{casino-play-random-game-NcJEjFWA.js → casino-play-random-game-CLSQBVzD.js} +19 -17
  62. package/stencil/{casino-play-random-game-DjdZ0XM0.cjs → casino-play-random-game-CdZKN03s.cjs} +2 -2
  63. package/stencil/{casino-play-random-game-BOnTgUqC.js → casino-play-random-game-Dm8A9dTR.js} +20 -18
  64. package/stencil/index-ab3202d6-C1hgKWrC.cjs +1 -0
  65. package/stencil/{index-510a6ba4-1RrL4Z6e.js → index-ab3202d6-OPh7hJp9.js} +120 -109
  66. package/stencil/{index-510a6ba4-CNr-xCZE.js → index-ab3202d6-hGs51skN.js} +121 -110
  67. package/stencil/index-ae04a8b1-BhaHMrLE.js +516 -0
  68. package/stencil/index-ae04a8b1-Dn3cponN.js +532 -0
  69. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +1 -0
  70. package/stencil/ui-skeleton-Bz6cw7xJ.js +11 -0
  71. package/stencil/ui-skeleton-D9k-xWaS.cjs +1 -0
  72. package/stencil/ui-skeleton-DDYD_XHU.js +29 -0
  73. package/stencil/ui-skeleton-a642cced-Bg6oYmhk.js +122 -0
  74. package/stencil/ui-skeleton-a642cced-CVw8zpGJ.cjs +1 -0
  75. package/stencil/ui-skeleton-a642cced-MvzXi5-c.js +122 -0
  76. package/components/CasinoCalendar-df0Yv0_Y.cjs +0 -19
  77. package/components/CasinoGameThumbnail-CFfgryHx.cjs +0 -47
  78. package/components/CasinoJackpotBanner-Bc1JKlzX.cjs +0 -1
  79. package/components/CasinoPage-CaIJbUnB.js +0 -3709
  80. package/components/CasinoPage-CmCL5c1m.cjs +0 -1
  81. package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
  82. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  83. package/stencil/index-510a6ba4-eEczisTR.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var Er = Object.defineProperty, xr = Object.defineProperties;
2
- var Sr = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var Ae = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
1
+ var xr = Object.defineProperty, Sr = Object.defineProperties;
2
+ var wr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
+ var Oe = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- wr.call(t, r) && Ae(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- Tr.call(t, r) && Ae(e, r, t[r]);
7
+ Tr.call(t, r) && Oe(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Hr.call(t, r) && Oe(e, r, t[r]);
11
11
  return e;
12
- }, it = (e, t) => xr(e, Sr(t));
13
- var T = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => Sr(e, wr(t));
13
+ var T = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,7 +29,7 @@ var ot = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function O() {
31
31
  }
32
- function Hr(e, t) {
32
+ function Br(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function Hr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Nt(e) {
40
+ function Mt(e) {
41
41
  return e();
42
42
  }
43
- function st() {
43
+ function at() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function W(e) {
47
- e.forEach(Nt);
47
+ e.forEach(Mt);
48
48
  }
49
- function xe(e) {
49
+ function Se(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Mt(e, t) {
52
+ function Rt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let fe;
56
- function lo(e, t) {
57
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
55
+ let de;
56
+ function ho(e, t) {
57
+ return e === t ? !0 : (de || (de = document.createElement("a")), de.href = t, e === de.href);
58
58
  }
59
- function Br(e) {
59
+ function Pr(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function Rt(e, ...t) {
62
+ function $t(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,19 +68,19 @@ function Rt(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function Pr(e, t, r) {
72
- e.$$.on_destroy.push(Rt(t, r));
71
+ function Ar(e, t, r) {
72
+ e.$$.on_destroy.push($t(t, r));
73
73
  }
74
- function ho(e, t, r, n) {
74
+ function co(e, t, r, n) {
75
75
  if (e) {
76
- const i = $t(e, t, r, n);
76
+ const i = Dt(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function $t(e, t, r, n) {
81
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function Dt(e, t, r, n) {
81
+ return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function co(e, t, r, n) {
83
+ function fo(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function co(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function fo(e, t, r, n, i, o) {
98
+ function po(e, t, r, n, i, o) {
99
99
  if (i) {
100
- const s = $t(t, r, n, o);
100
+ const s = Dt(t, r, n, o);
101
101
  e.p(s, i);
102
102
  }
103
103
  }
104
- function po(e) {
104
+ function mo(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,20 +110,20 @@ function po(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function mo(e) {
114
- return e && xe(e.destroy) ? e.destroy : O;
113
+ function bo(e) {
114
+ return e && Se(e.destroy) ? e.destroy : O;
115
115
  }
116
- function Se(e, t) {
116
+ function we(e, t) {
117
117
  e.appendChild(t);
118
118
  }
119
- function Ar(e, t, r) {
120
- const n = Or(e);
119
+ function Or(e, t, r) {
120
+ const n = Ir(e);
121
121
  if (!n.getElementById(t)) {
122
122
  const i = $("style");
123
- i.id = t, i.textContent = r, Ir(n, i);
123
+ i.id = t, i.textContent = r, Cr(n, i);
124
124
  }
125
125
  }
126
- function Or(e) {
126
+ function Ir(e) {
127
127
  if (!e)
128
128
  return document;
129
129
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -133,8 +133,8 @@ function Or(e) {
133
133
  t
134
134
  ) : e.ownerDocument;
135
135
  }
136
- function Ir(e, t) {
137
- return Se(
136
+ function Cr(e, t) {
137
+ return we(
138
138
  /** @type {Document} */
139
139
  e.head || e,
140
140
  t
@@ -146,29 +146,29 @@ function V(e, t, r) {
146
146
  function U(e) {
147
147
  e.parentNode && e.parentNode.removeChild(e);
148
148
  }
149
- function Cr(e, t) {
149
+ function Lr(e, t) {
150
150
  for (let r = 0; r < e.length; r += 1)
151
151
  e[r] && e[r].d(t);
152
152
  }
153
153
  function $(e) {
154
154
  return document.createElement(e);
155
155
  }
156
- function Lr(e) {
156
+ function Nr(e) {
157
157
  return document.createElementNS("http://www.w3.org/2000/svg", e);
158
158
  }
159
- function Ke(e) {
159
+ function et(e) {
160
160
  return document.createTextNode(e);
161
161
  }
162
- function Nr() {
163
- return Ke(" ");
162
+ function Mr() {
163
+ return et(" ");
164
164
  }
165
- function bo() {
166
- return Ke("");
165
+ function yo() {
166
+ return et("");
167
167
  }
168
- function yo(e, t, r, n) {
168
+ function go(e, t, r, n) {
169
169
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
170
170
  }
171
- function go(e) {
171
+ function vo(e) {
172
172
  return function(t) {
173
173
  return t.stopPropagation(), e.call(this, t);
174
174
  };
@@ -176,27 +176,27 @@ function go(e) {
176
176
  function k(e, t, r) {
177
177
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
178
178
  }
179
- function p(e, t, r) {
179
+ function d(e, t, r) {
180
180
  const n = t.toLowerCase();
181
181
  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);
182
182
  }
183
- function Mr(e) {
183
+ function Rr(e) {
184
184
  return Array.from(e.childNodes);
185
185
  }
186
- function Rr(e, t) {
186
+ function $r(e, t) {
187
187
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
188
188
  t);
189
189
  }
190
- function vo(e, t) {
190
+ function _o(e, t) {
191
191
  e.value = t == null ? "" : t;
192
192
  }
193
- function _o(e, t, r, n) {
193
+ function Eo(e, t, r, n) {
194
194
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
195
195
  }
196
- function Eo(e, t, r) {
196
+ function xo(e, t, r) {
197
197
  e.classList.toggle(t, !!r);
198
198
  }
199
- class xo {
199
+ class So {
200
200
  constructor(t = !1) {
201
201
  /**
202
202
  * @private
@@ -227,7 +227,7 @@ class xo {
227
227
  * @returns {void}
228
228
  */
229
229
  m(t, r, n = null) {
230
- this.e || (this.is_svg ? this.e = Lr(
230
+ this.e || (this.is_svg ? this.e = Nr(
231
231
  /** @type {keyof SVGElementTagNameMap} */
232
232
  r.nodeName
233
233
  ) : this.e = $(
@@ -266,7 +266,7 @@ class xo {
266
266
  this.n.forEach(U);
267
267
  }
268
268
  }
269
- function $r(e) {
269
+ function Dr(e) {
270
270
  const t = {};
271
271
  return e.childNodes.forEach(
272
272
  /** @param {Element} node */
@@ -275,75 +275,75 @@ function $r(e) {
275
275
  }
276
276
  ), t;
277
277
  }
278
- let ue;
279
- function ae(e) {
280
- ue = e;
278
+ let le;
279
+ function ue(e) {
280
+ le = e;
281
281
  }
282
- function Dt() {
283
- if (!ue)
282
+ function Ut() {
283
+ if (!le)
284
284
  throw new Error("Function called outside component initialization");
285
- return ue;
285
+ return le;
286
286
  }
287
- function Dr(e) {
288
- Dt().$$.on_mount.push(e);
287
+ function Ur(e) {
288
+ Ut().$$.on_mount.push(e);
289
289
  }
290
- function So(e) {
291
- Dt().$$.on_destroy.push(e);
290
+ function wo(e) {
291
+ Ut().$$.on_destroy.push(e);
292
292
  }
293
- const J = [], $e = [];
294
- let q = [];
295
- const at = [], Ut = /* @__PURE__ */ Promise.resolve();
296
- let De = !1;
297
- function Gt() {
298
- De || (De = !0, Ut.then(R));
293
+ const q = [], De = [];
294
+ let Y = [];
295
+ const ut = [], Gt = /* @__PURE__ */ Promise.resolve();
296
+ let Ue = !1;
297
+ function Ft() {
298
+ Ue || (Ue = !0, Gt.then(R));
299
299
  }
300
- function wo() {
301
- return Gt(), Ut;
300
+ function To() {
301
+ return Ft(), Gt;
302
302
  }
303
- function Ue(e) {
304
- q.push(e);
303
+ function Ge(e) {
304
+ Y.push(e);
305
305
  }
306
- const Oe = /* @__PURE__ */ new Set();
307
- let Z = 0;
306
+ const Ie = /* @__PURE__ */ new Set();
307
+ let Q = 0;
308
308
  function R() {
309
- if (Z !== 0)
309
+ if (Q !== 0)
310
310
  return;
311
- const e = ue;
311
+ const e = le;
312
312
  do {
313
313
  try {
314
- for (; Z < J.length; ) {
315
- const t = J[Z];
316
- Z++, ae(t), Ur(t.$$);
314
+ for (; Q < q.length; ) {
315
+ const t = q[Q];
316
+ Q++, ue(t), Gr(t.$$);
317
317
  }
318
318
  } catch (t) {
319
- throw J.length = 0, Z = 0, t;
319
+ throw q.length = 0, Q = 0, t;
320
320
  }
321
- for (ae(null), J.length = 0, Z = 0; $e.length; )
322
- $e.pop()();
323
- for (let t = 0; t < q.length; t += 1) {
324
- const r = q[t];
325
- Oe.has(r) || (Oe.add(r), r());
321
+ for (ue(null), q.length = 0, Q = 0; De.length; )
322
+ De.pop()();
323
+ for (let t = 0; t < Y.length; t += 1) {
324
+ const r = Y[t];
325
+ Ie.has(r) || (Ie.add(r), r());
326
326
  }
327
- q.length = 0;
328
- } while (J.length);
329
- for (; at.length; )
330
- at.pop()();
331
- De = !1, Oe.clear(), ae(e);
327
+ Y.length = 0;
328
+ } while (q.length);
329
+ for (; ut.length; )
330
+ ut.pop()();
331
+ Ue = !1, Ie.clear(), ue(e);
332
332
  }
333
- function Ur(e) {
333
+ function Gr(e) {
334
334
  if (e.fragment !== null) {
335
335
  e.update(), W(e.before_update);
336
336
  const t = e.dirty;
337
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
337
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
338
338
  }
339
339
  }
340
- function Gr(e) {
340
+ function Fr(e) {
341
341
  const t = [], r = [];
342
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
342
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
343
343
  }
344
- const me = /* @__PURE__ */ new Set();
344
+ const be = /* @__PURE__ */ new Set();
345
345
  let X;
346
- function To() {
346
+ function Ho() {
347
347
  X = {
348
348
  r: 0,
349
349
  c: [],
@@ -351,46 +351,46 @@ function To() {
351
351
  // parent group
352
352
  };
353
353
  }
354
- function Ho() {
354
+ function Bo() {
355
355
  X.r || W(X.c), X = X.p;
356
356
  }
357
- function Ft(e, t) {
358
- e && e.i && (me.delete(e), e.i(t));
357
+ function jt(e, t) {
358
+ e && e.i && (be.delete(e), e.i(t));
359
359
  }
360
- function Bo(e, t, r, n) {
360
+ function Po(e, t, r, n) {
361
361
  if (e && e.o) {
362
- if (me.has(e))
362
+ if (be.has(e))
363
363
  return;
364
- me.add(e), X.c.push(() => {
365
- me.delete(e), n && (r && e.d(1), n());
364
+ be.add(e), X.c.push(() => {
365
+ be.delete(e), n && (r && e.d(1), n());
366
366
  }), e.o(t);
367
367
  } else
368
368
  n && n();
369
369
  }
370
- function ut(e) {
370
+ function lt(e) {
371
371
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
372
372
  }
373
- function Po(e, t) {
373
+ function Ao(e, t) {
374
374
  e.d(1), t.delete(e.key);
375
375
  }
376
- function Ao(e, t, r, n, i, o, s, a, l, u, h, f) {
376
+ function Oo(e, t, r, n, i, o, s, a, l, u, h, f) {
377
377
  let c = e.length, m = o.length, b = c;
378
378
  const g = {};
379
379
  for (; b--; )
380
380
  g[e[b].key] = b;
381
381
  const S = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
382
382
  for (b = m; b--; ) {
383
- const x = f(i, o, b), A = r(x);
384
- let L = s.get(A);
385
- L ? w.push(() => L.p(x, t)) : (L = u(A, x), L.c()), I.set(A, S[b] = L), A in g && P.set(A, Math.abs(b - g[A]));
383
+ const x = f(i, o, b), L = r(x);
384
+ let A = s.get(L);
385
+ A ? w.push(() => A.p(x, t)) : (A = u(L, x), A.c()), I.set(L, S[b] = A), L in g && P.set(L, Math.abs(b - g[L]));
386
386
  }
387
387
  const N = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set();
388
388
  function M(x) {
389
- Ft(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
389
+ jt(x, 1), x.m(a, h), s.set(x.key, x), h = x.first, m--;
390
390
  }
391
391
  for (; c && m; ) {
392
- const x = S[m - 1], A = e[c - 1], L = x.key, d = A.key;
393
- x === A ? (h = x.first, c--, m--) : I.has(d) ? !s.has(L) || N.has(L) ? M(x) : C.has(d) ? c-- : P.get(L) > P.get(d) ? (C.add(L), M(x)) : (N.add(d), c--) : (l(A, s), c--);
392
+ const x = S[m - 1], L = e[c - 1], A = x.key, Z = L.key;
393
+ x === L ? (h = x.first, c--, m--) : I.has(Z) ? !s.has(A) || N.has(A) ? M(x) : C.has(Z) ? c-- : P.get(A) > P.get(Z) ? (C.add(A), M(x)) : (N.add(Z), c--) : (l(L, s), c--);
394
394
  }
395
395
  for (; c--; ) {
396
396
  const x = e[c];
@@ -400,23 +400,23 @@ function Ao(e, t, r, n, i, o, s, a, l, u, h, f) {
400
400
  M(S[m - 1]);
401
401
  return W(w), S;
402
402
  }
403
- function Fr(e, t, r) {
403
+ function jr(e, t, r) {
404
404
  const { fragment: n, after_update: i } = e.$$;
405
- n && n.m(t, r), Ue(() => {
406
- const o = e.$$.on_mount.map(Nt).filter(xe);
405
+ n && n.m(t, r), Ge(() => {
406
+ const o = e.$$.on_mount.map(Mt).filter(Se);
407
407
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
408
- }), i.forEach(Ue);
408
+ }), i.forEach(Ge);
409
409
  }
410
- function jr(e, t) {
410
+ function kr(e, t) {
411
411
  const r = e.$$;
412
- r.fragment !== null && (Gr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
412
+ r.fragment !== null && (Fr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
413
413
  }
414
- function kr(e, t) {
415
- e.$$.dirty[0] === -1 && (J.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
414
+ function Vr(e, t) {
415
+ e.$$.dirty[0] === -1 && (q.push(e), Ft(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
416
416
  }
417
- function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
418
- const l = ue;
419
- ae(e);
417
+ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
418
+ const l = le;
419
+ ue(e);
420
420
  const u = e.$$ = {
421
421
  fragment: null,
422
422
  ctx: [],
@@ -424,7 +424,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
424
424
  props: o,
425
425
  update: O,
426
426
  not_equal: i,
427
- bound: st(),
427
+ bound: at(),
428
428
  // lifecycle
429
429
  on_mount: [],
430
430
  on_destroy: [],
@@ -433,7 +433,7 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
433
433
  after_update: [],
434
434
  context: new Map(t.context || (l ? l.$$.context : [])),
435
435
  // everything else
436
- callbacks: st(),
436
+ callbacks: at(),
437
437
  dirty: a,
438
438
  skip_bound: !1,
439
439
  root: t.target || l.$$.root
@@ -442,19 +442,19 @@ function Vr(e, t, r, n, i, o, s = null, a = [-1]) {
442
442
  let h = !1;
443
443
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
444
444
  const b = m.length ? m[0] : c;
445
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && kr(e, f)), c;
445
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Vr(e, f)), c;
446
446
  }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
447
447
  if (t.hydrate) {
448
- const f = Mr(t.target);
448
+ const f = Rr(t.target);
449
449
  u.fragment && u.fragment.l(f), f.forEach(U);
450
450
  } else
451
451
  u.fragment && u.fragment.c();
452
- t.intro && Ft(e.$$.fragment), Fr(e, t.target, t.anchor), R();
452
+ t.intro && jt(e.$$.fragment), jr(e, t.target, t.anchor), R();
453
453
  }
454
- ae(l);
454
+ ue(l);
455
455
  }
456
- let jt;
457
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
456
+ let kt;
457
+ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
458
458
  constructor(t, r, n) {
459
459
  super();
460
460
  /** The Svelte component constructor */
@@ -491,7 +491,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
491
491
  }
492
492
  }
493
493
  connectedCallback() {
494
- return ot(this, null, function* () {
494
+ return st(this, null, function* () {
495
495
  if (this.$$cn = !0, !this.$$c) {
496
496
  let t = function(o) {
497
497
  return () => {
@@ -515,18 +515,18 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
515
515
  };
516
516
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
517
517
  return;
518
- const r = {}, n = $r(this);
518
+ const r = {}, n = Dr(this);
519
519
  for (const o of this.$$s)
520
520
  o in n && (r[o] = [t(o)]);
521
521
  for (const o of this.attributes) {
522
522
  const s = this.$$g_p(o.name);
523
- s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
523
+ s in this.$$d || (this.$$d[s] = ye(s, o.value, this.$$p_d, "toProp"));
524
524
  }
525
525
  for (const o in this.$$p_d)
526
526
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
527
527
  this.$$c = new this.$$ctor({
528
528
  target: this.shadowRoot || this,
529
- props: it(nt({}, this.$$d), {
529
+ props: ot(it({}, this.$$d), {
530
530
  $$slots: r,
531
531
  $$scope: {
532
532
  ctx: []
@@ -537,7 +537,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
537
537
  this.$$r = !0;
538
538
  for (const o in this.$$p_d)
539
539
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
540
- const s = be(
540
+ const s = ye(
541
541
  o,
542
542
  this.$$d[o],
543
543
  this.$$p_d,
@@ -561,7 +561,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
561
561
  // and setting attributes through setAttribute etc, this is helpful
562
562
  attributeChangedCallback(t, r, n) {
563
563
  var i;
564
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
564
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
565
565
  }
566
566
  disconnectedCallback() {
567
567
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -574,7 +574,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
574
574
  ) || t;
575
575
  }
576
576
  });
577
- function be(e, t, r, n) {
577
+ function ye(e, t, r, n) {
578
578
  var o;
579
579
  const i = (o = r[e]) == null ? void 0 : o.type;
580
580
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -604,8 +604,8 @@ function be(e, t, r, n) {
604
604
  return t;
605
605
  }
606
606
  }
607
- function Xr(e, t, r, n, i, o) {
608
- let s = class extends jt {
607
+ function Wr(e, t, r, n, i, o) {
608
+ let s = class extends kt {
609
609
  constructor() {
610
610
  super(e, r, i), this.$$p_d = t;
611
611
  }
@@ -622,7 +622,7 @@ function Xr(e, t, r, n, i, o) {
622
622
  },
623
623
  set(l) {
624
624
  var u;
625
- l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
625
+ l = ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
626
626
  }
627
627
  });
628
628
  }), n.forEach((a) => {
@@ -635,7 +635,7 @@ function Xr(e, t, r, n, i, o) {
635
635
  }), e.element = /** @type {any} */
636
636
  s, s;
637
637
  }
638
- class Wr {
638
+ class zr {
639
639
  constructor() {
640
640
  /**
641
641
  * ### PRIVATE API
@@ -656,7 +656,7 @@ class Wr {
656
656
  }
657
657
  /** @returns {void} */
658
658
  $destroy() {
659
- jr(this, 1), this.$destroy = O;
659
+ kr(this, 1), this.$destroy = O;
660
660
  }
661
661
  /**
662
662
  * @template {Extract<keyof Events, string>} K
@@ -665,7 +665,7 @@ class Wr {
665
665
  * @returns {() => void}
666
666
  */
667
667
  $on(t, r) {
668
- if (!xe(r))
668
+ if (!Se(r))
669
669
  return O;
670
670
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
671
671
  return n.push(r), () => {
@@ -678,11 +678,11 @@ class Wr {
678
678
  * @returns {void}
679
679
  */
680
680
  $set(t) {
681
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
681
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
682
682
  }
683
683
  }
684
- const zr = "4";
685
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
684
+ const Zr = "4";
685
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
686
686
  /*! *****************************************************************************
687
687
  Copyright (c) Microsoft Corporation.
688
688
 
@@ -697,18 +697,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
697
697
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
698
698
  PERFORMANCE OF THIS SOFTWARE.
699
699
  ***************************************************************************** */
700
- var Ge = function(e, t) {
701
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
700
+ var Fe = function(e, t) {
701
+ return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
702
702
  r.__proto__ = n;
703
703
  } || function(r, n) {
704
704
  for (var i in n)
705
705
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
706
- }, Ge(e, t);
706
+ }, Fe(e, t);
707
707
  };
708
708
  function G(e, t) {
709
709
  if (typeof t != "function" && t !== null)
710
710
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
711
- Ge(e, t);
711
+ Fe(e, t);
712
712
  function r() {
713
713
  this.constructor = e;
714
714
  }
@@ -724,7 +724,7 @@ var _ = function() {
724
724
  return t;
725
725
  }, _.apply(this, arguments);
726
726
  };
727
- function Zr(e, t) {
727
+ function Qr(e, t) {
728
728
  var r = {};
729
729
  for (var n in e)
730
730
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -733,7 +733,7 @@ function Zr(e, t) {
733
733
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
734
734
  return r;
735
735
  }
736
- function Fe(e) {
736
+ function je(e) {
737
737
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
738
738
  if (r)
739
739
  return r.call(e);
@@ -745,7 +745,7 @@ function Fe(e) {
745
745
  };
746
746
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
747
747
  }
748
- function je(e, t) {
748
+ function ke(e, t) {
749
749
  var r = typeof Symbol == "function" && e[Symbol.iterator];
750
750
  if (!r)
751
751
  return e;
@@ -765,7 +765,7 @@ function je(e, t) {
765
765
  }
766
766
  return o;
767
767
  }
768
- function Y(e, t, r) {
768
+ function K(e, t, r) {
769
769
  if (r || arguments.length === 2)
770
770
  for (var n = 0, i = t.length, o; n < i; n++)
771
771
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -774,13 +774,13 @@ function Y(e, t, r) {
774
774
  function D(e) {
775
775
  return typeof e == "function";
776
776
  }
777
- function kt(e) {
777
+ function Vt(e) {
778
778
  var t = function(n) {
779
779
  Error.call(n), n.stack = new Error().stack;
780
780
  }, r = e(t);
781
781
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
782
782
  }
783
- var Ie = kt(function(e) {
783
+ var Ce = Vt(function(e) {
784
784
  return function(r) {
785
785
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
786
786
  ` + r.map(function(n, i) {
@@ -789,13 +789,13 @@ var Ie = kt(function(e) {
789
789
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
790
790
  };
791
791
  });
792
- function ke(e, t) {
792
+ function Ve(e, t) {
793
793
  if (e) {
794
794
  var r = e.indexOf(t);
795
795
  0 <= r && e.splice(r, 1);
796
796
  }
797
797
  }
798
- var we = function() {
798
+ var Te = function() {
799
799
  function e(t) {
800
800
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
801
801
  }
@@ -807,7 +807,7 @@ var we = function() {
807
807
  if (s)
808
808
  if (this._parentage = null, Array.isArray(s))
809
809
  try {
810
- for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
810
+ for (var a = je(s), l = a.next(); !l.done; l = a.next()) {
811
811
  var u = l.value;
812
812
  u.remove(this);
813
813
  }
@@ -828,18 +828,18 @@ var we = function() {
828
828
  try {
829
829
  h();
830
830
  } catch (g) {
831
- o = g instanceof Ie ? g.errors : [g];
831
+ o = g instanceof Ce ? g.errors : [g];
832
832
  }
833
833
  var f = this._finalizers;
834
834
  if (f) {
835
835
  this._finalizers = null;
836
836
  try {
837
- for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
837
+ for (var c = je(f), m = c.next(); !m.done; m = c.next()) {
838
838
  var b = m.value;
839
839
  try {
840
- lt(b);
840
+ ht(b);
841
841
  } catch (g) {
842
- o = o != null ? o : [], g instanceof Ie ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
842
+ o = o != null ? o : [], g instanceof Ce ? o = K(K([], ke(o)), ke(g.errors)) : o.push(g);
843
843
  }
844
844
  }
845
845
  } catch (g) {
@@ -854,13 +854,13 @@ var we = function() {
854
854
  }
855
855
  }
856
856
  if (o)
857
- throw new Ie(o);
857
+ throw new Ce(o);
858
858
  }
859
859
  }, e.prototype.add = function(t) {
860
860
  var r;
861
861
  if (t && t !== this)
862
862
  if (this.closed)
863
- lt(t);
863
+ ht(t);
864
864
  else {
865
865
  if (t instanceof e) {
866
866
  if (t.closed || t._hasParent(this))
@@ -877,52 +877,52 @@ var we = function() {
877
877
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
878
878
  }, e.prototype._removeParent = function(t) {
879
879
  var r = this._parentage;
880
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
880
+ r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
881
881
  }, e.prototype.remove = function(t) {
882
882
  var r = this._finalizers;
883
- r && ke(r, t), t instanceof e && t._removeParent(this);
883
+ r && Ve(r, t), t instanceof e && t._removeParent(this);
884
884
  }, e.EMPTY = function() {
885
885
  var t = new e();
886
886
  return t.closed = !0, t;
887
887
  }(), e;
888
- }(), Vt = we.EMPTY;
889
- function Xt(e) {
890
- return e instanceof we || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
888
+ }(), Xt = Te.EMPTY;
889
+ function Wt(e) {
890
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
891
891
  }
892
- function lt(e) {
892
+ function ht(e) {
893
893
  D(e) ? e() : e.unsubscribe();
894
894
  }
895
- var Qr = {
895
+ var Jr = {
896
896
  Promise: void 0
897
- }, Jr = {
897
+ }, qr = {
898
898
  setTimeout: function(e, t) {
899
899
  for (var r = [], n = 2; n < arguments.length; n++)
900
900
  r[n - 2] = arguments[n];
901
- return setTimeout.apply(void 0, Y([e, t], je(r)));
901
+ return setTimeout.apply(void 0, K([e, t], ke(r)));
902
902
  },
903
903
  clearTimeout: function(e) {
904
904
  return clearTimeout(e);
905
905
  },
906
906
  delegate: void 0
907
907
  };
908
- function qr(e) {
909
- Jr.setTimeout(function() {
908
+ function Yr(e) {
909
+ qr.setTimeout(function() {
910
910
  throw e;
911
911
  });
912
912
  }
913
- function ht() {
913
+ function ct() {
914
914
  }
915
- function ye(e) {
915
+ function ge(e) {
916
916
  e();
917
917
  }
918
- var Wt = function(e) {
918
+ var zt = function(e) {
919
919
  G(t, e);
920
920
  function t(r) {
921
921
  var n = e.call(this) || this;
922
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = en, n;
922
+ return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = tn, n;
923
923
  }
924
924
  return t.create = function(r, n, i) {
925
- return new Ve(r, n, i);
925
+ return new Xe(r, n, i);
926
926
  }, t.prototype.next = function(r) {
927
927
  this.isStopped || this._next(r);
928
928
  }, t.prototype.error = function(r) {
@@ -946,7 +946,7 @@ var Wt = function(e) {
946
946
  this.unsubscribe();
947
947
  }
948
948
  }, t;
949
- }(we), Yr = function() {
949
+ }(Te), Kr = function() {
950
950
  function e(t) {
951
951
  this.partialObserver = t;
952
952
  }
@@ -956,7 +956,7 @@ var Wt = function(e) {
956
956
  try {
957
957
  r.next(t);
958
958
  } catch (n) {
959
- de(n);
959
+ pe(n);
960
960
  }
961
961
  }, e.prototype.error = function(t) {
962
962
  var r = this.partialObserver;
@@ -964,20 +964,20 @@ var Wt = function(e) {
964
964
  try {
965
965
  r.error(t);
966
966
  } catch (n) {
967
- de(n);
967
+ pe(n);
968
968
  }
969
969
  else
970
- de(t);
970
+ pe(t);
971
971
  }, e.prototype.complete = function() {
972
972
  var t = this.partialObserver;
973
973
  if (t.complete)
974
974
  try {
975
975
  t.complete();
976
976
  } catch (r) {
977
- de(r);
977
+ pe(r);
978
978
  }
979
979
  }, e;
980
- }(), Ve = function(e) {
980
+ }(), Xe = function(e) {
981
981
  G(t, e);
982
982
  function t(r, n, i) {
983
983
  var o = e.call(this) || this, s;
@@ -985,35 +985,35 @@ var Wt = function(e) {
985
985
  next: r != null ? r : void 0,
986
986
  error: n != null ? n : void 0,
987
987
  complete: i != null ? i : void 0
988
- } : s = r, o.destination = new Yr(s), o;
988
+ } : s = r, o.destination = new Kr(s), o;
989
989
  }
990
990
  return t;
991
- }(Wt);
992
- function de(e) {
993
- qr(e);
991
+ }(zt);
992
+ function pe(e) {
993
+ Yr(e);
994
994
  }
995
- function Kr(e) {
995
+ function en(e) {
996
996
  throw e;
997
997
  }
998
- var en = {
998
+ var tn = {
999
999
  closed: !0,
1000
- next: ht,
1001
- error: Kr,
1002
- complete: ht
1003
- }, tn = function() {
1000
+ next: ct,
1001
+ error: en,
1002
+ complete: ct
1003
+ }, rn = function() {
1004
1004
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1005
1005
  }();
1006
- function rn(e) {
1006
+ function nn(e) {
1007
1007
  return e;
1008
1008
  }
1009
- function nn(e) {
1010
- return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
1009
+ function on(e) {
1010
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
1011
1011
  return e.reduce(function(n, i) {
1012
1012
  return i(n);
1013
1013
  }, r);
1014
1014
  };
1015
1015
  }
1016
- var ct = function() {
1016
+ var ft = function() {
1017
1017
  function e(t) {
1018
1018
  t && (this._subscribe = t);
1019
1019
  }
@@ -1021,8 +1021,8 @@ var ct = function() {
1021
1021
  var r = new e();
1022
1022
  return r.source = this, r.operator = t, r;
1023
1023
  }, e.prototype.subscribe = function(t, r, n) {
1024
- var i = this, o = sn(t) ? t : new Ve(t, r, n);
1025
- return ye(function() {
1024
+ var i = this, o = an(t) ? t : new Xe(t, r, n);
1025
+ return ge(function() {
1026
1026
  var s = i, a = s.operator, l = s.source;
1027
1027
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1028
1028
  }), o;
@@ -1034,8 +1034,8 @@ var ct = function() {
1034
1034
  }
1035
1035
  }, e.prototype.forEach = function(t, r) {
1036
1036
  var n = this;
1037
- return r = ft(r), new r(function(i, o) {
1038
- var s = new Ve({
1037
+ return r = dt(r), new r(function(i, o) {
1038
+ var s = new Xe({
1039
1039
  next: function(a) {
1040
1040
  try {
1041
1041
  t(a);
@@ -1051,15 +1051,15 @@ var ct = function() {
1051
1051
  }, e.prototype._subscribe = function(t) {
1052
1052
  var r;
1053
1053
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1054
- }, e.prototype[tn] = function() {
1054
+ }, e.prototype[rn] = function() {
1055
1055
  return this;
1056
1056
  }, e.prototype.pipe = function() {
1057
1057
  for (var t = [], r = 0; r < arguments.length; r++)
1058
1058
  t[r] = arguments[r];
1059
- return nn(t)(this);
1059
+ return on(t)(this);
1060
1060
  }, e.prototype.toPromise = function(t) {
1061
1061
  var r = this;
1062
- return t = ft(t), new t(function(n, i) {
1062
+ return t = dt(t), new t(function(n, i) {
1063
1063
  var o;
1064
1064
  r.subscribe(function(s) {
1065
1065
  return o = s;
@@ -1073,40 +1073,40 @@ var ct = function() {
1073
1073
  return new e(t);
1074
1074
  }, e;
1075
1075
  }();
1076
- function ft(e) {
1076
+ function dt(e) {
1077
1077
  var t;
1078
- return (t = e != null ? e : Qr.Promise) !== null && t !== void 0 ? t : Promise;
1078
+ return (t = e != null ? e : Jr.Promise) !== null && t !== void 0 ? t : Promise;
1079
1079
  }
1080
- function on(e) {
1080
+ function sn(e) {
1081
1081
  return e && D(e.next) && D(e.error) && D(e.complete);
1082
1082
  }
1083
- function sn(e) {
1084
- return e && e instanceof Wt || on(e) && Xt(e);
1083
+ function an(e) {
1084
+ return e && e instanceof zt || sn(e) && Wt(e);
1085
1085
  }
1086
- var an = kt(function(e) {
1086
+ var un = Vt(function(e) {
1087
1087
  return function() {
1088
1088
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1089
1089
  };
1090
- }), zt = function(e) {
1090
+ }), Zt = function(e) {
1091
1091
  G(t, e);
1092
1092
  function t() {
1093
1093
  var r = e.call(this) || this;
1094
1094
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1095
1095
  }
1096
1096
  return t.prototype.lift = function(r) {
1097
- var n = new dt(this, this);
1097
+ var n = new pt(this, this);
1098
1098
  return n.operator = r, n;
1099
1099
  }, t.prototype._throwIfClosed = function() {
1100
1100
  if (this.closed)
1101
- throw new an();
1101
+ throw new un();
1102
1102
  }, t.prototype.next = function(r) {
1103
1103
  var n = this;
1104
- ye(function() {
1104
+ ge(function() {
1105
1105
  var i, o;
1106
1106
  if (n._throwIfClosed(), !n.isStopped) {
1107
1107
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1108
1108
  try {
1109
- for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1109
+ for (var s = je(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1110
1110
  var l = a.value;
1111
1111
  l.next(r);
1112
1112
  }
@@ -1124,7 +1124,7 @@ var an = kt(function(e) {
1124
1124
  });
1125
1125
  }, t.prototype.error = function(r) {
1126
1126
  var n = this;
1127
- ye(function() {
1127
+ ge(function() {
1128
1128
  if (n._throwIfClosed(), !n.isStopped) {
1129
1129
  n.hasError = n.isStopped = !0, n.thrownError = r;
1130
1130
  for (var i = n.observers; i.length; )
@@ -1133,7 +1133,7 @@ var an = kt(function(e) {
1133
1133
  });
1134
1134
  }, t.prototype.complete = function() {
1135
1135
  var r = this;
1136
- ye(function() {
1136
+ ge(function() {
1137
1137
  if (r._throwIfClosed(), !r.isStopped) {
1138
1138
  r.isStopped = !0;
1139
1139
  for (var n = r.observers; n.length; )
@@ -1155,19 +1155,19 @@ var an = kt(function(e) {
1155
1155
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1156
1156
  }, t.prototype._innerSubscribe = function(r) {
1157
1157
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1158
- return o || s ? Vt : (this.currentObservers = null, a.push(r), new we(function() {
1159
- n.currentObservers = null, ke(a, r);
1158
+ return o || s ? Xt : (this.currentObservers = null, a.push(r), new Te(function() {
1159
+ n.currentObservers = null, Ve(a, r);
1160
1160
  }));
1161
1161
  }, t.prototype._checkFinalizedStatuses = function(r) {
1162
1162
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1163
1163
  i ? r.error(o) : s && r.complete();
1164
1164
  }, t.prototype.asObservable = function() {
1165
- var r = new ct();
1165
+ var r = new ft();
1166
1166
  return r.source = this, r;
1167
1167
  }, t.create = function(r, n) {
1168
- return new dt(r, n);
1168
+ return new pt(r, n);
1169
1169
  }, t;
1170
- }(ct), dt = function(e) {
1170
+ }(ft), pt = function(e) {
1171
1171
  G(t, e);
1172
1172
  function t(r, n) {
1173
1173
  var i = e.call(this) || this;
@@ -1184,17 +1184,17 @@ var an = kt(function(e) {
1184
1184
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1185
1185
  }, t.prototype._subscribe = function(r) {
1186
1186
  var n, i;
1187
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1187
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1188
1188
  }, t;
1189
- }(zt), Zt = {
1189
+ }(Zt), Qt = {
1190
1190
  now: function() {
1191
- return (Zt.delegate || Date).now();
1191
+ return (Qt.delegate || Date).now();
1192
1192
  },
1193
1193
  delegate: void 0
1194
- }, un = function(e) {
1194
+ }, ln = function(e) {
1195
1195
  G(t, e);
1196
1196
  function t(r, n, i) {
1197
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1197
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1198
1198
  var o = e.call(this) || this;
1199
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;
1200
1200
  }
@@ -1214,31 +1214,31 @@ var an = kt(function(e) {
1214
1214
  u && o.splice(0, u + 1);
1215
1215
  }
1216
1216
  }, t;
1217
- }(zt);
1218
- const pt = [], mt = {}, ln = (e, t = 0) => {
1219
- if (pt.indexOf(e) == -1) {
1220
- const r = new un(t);
1221
- mt[e] = r, pt.push(e);
1217
+ }(Zt);
1218
+ const mt = [], bt = {}, hn = (e, t = 0) => {
1219
+ if (mt.indexOf(e) == -1) {
1220
+ const r = new ln(t);
1221
+ bt[e] = r, mt.push(e);
1222
1222
  }
1223
- return mt[e];
1224
- }, Q = [];
1225
- function hn(e, t) {
1223
+ return bt[e];
1224
+ }, J = [];
1225
+ function cn(e, t) {
1226
1226
  return {
1227
- subscribe: Te(e, t).subscribe
1227
+ subscribe: He(e, t).subscribe
1228
1228
  };
1229
1229
  }
1230
- function Te(e, t = O) {
1230
+ function He(e, t = O) {
1231
1231
  let r;
1232
1232
  const n = /* @__PURE__ */ new Set();
1233
1233
  function i(a) {
1234
- if (Mt(e, a) && (e = a, r)) {
1235
- const l = !Q.length;
1234
+ if (Rt(e, a) && (e = a, r)) {
1235
+ const l = !J.length;
1236
1236
  for (const u of n)
1237
- u[1](), Q.push(u, e);
1237
+ u[1](), J.push(u, e);
1238
1238
  if (l) {
1239
- for (let u = 0; u < Q.length; u += 2)
1240
- Q[u][0](Q[u + 1]);
1241
- Q.length = 0;
1239
+ for (let u = 0; u < J.length; u += 2)
1240
+ J[u][0](J[u + 1]);
1241
+ J.length = 0;
1242
1242
  }
1243
1243
  }
1244
1244
  }
@@ -1253,12 +1253,12 @@ function Te(e, t = O) {
1253
1253
  }
1254
1254
  return { set: i, update: o, subscribe: s };
1255
1255
  }
1256
- function ne(e, t, r) {
1256
+ function ie(e, t, r) {
1257
1257
  const n = !Array.isArray(e), i = n ? [e] : e;
1258
1258
  if (!i.every(Boolean))
1259
1259
  throw new Error("derived() expects stores as input, got a falsy value");
1260
1260
  const o = t.length < 2;
1261
- return hn(r, (s, a) => {
1261
+ return cn(r, (s, a) => {
1262
1262
  let l = !1;
1263
1263
  const u = [];
1264
1264
  let h = 0, f = O;
@@ -1267,9 +1267,9 @@ function ne(e, t, r) {
1267
1267
  return;
1268
1268
  f();
1269
1269
  const b = t(n ? u[0] : u, s, a);
1270
- o ? s(b) : f = xe(b) ? b : O;
1270
+ o ? s(b) : f = Se(b) ? b : O;
1271
1271
  }, m = i.map(
1272
- (b, g) => Rt(
1272
+ (b, g) => $t(
1273
1273
  b,
1274
1274
  (S) => {
1275
1275
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1284,111 +1284,111 @@ function ne(e, t, r) {
1284
1284
  };
1285
1285
  });
1286
1286
  }
1287
- function cn(e) {
1287
+ function fn(e) {
1288
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1289
1289
  }
1290
- var fn = function(t) {
1291
- return dn(t) && !pn(t);
1290
+ var dn = function(t) {
1291
+ return pn(t) && !mn(t);
1292
1292
  };
1293
- function dn(e) {
1293
+ function pn(e) {
1294
1294
  return !!e && typeof e == "object";
1295
1295
  }
1296
- function pn(e) {
1296
+ function mn(e) {
1297
1297
  var t = Object.prototype.toString.call(e);
1298
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1299
- }
1300
- var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1301
- function yn(e) {
1302
- return e.$$typeof === bn;
1298
+ return t === "[object RegExp]" || t === "[object Date]" || gn(e);
1303
1299
  }
1300
+ var bn = typeof Symbol == "function" && Symbol.for, yn = bn ? Symbol.for("react.element") : 60103;
1304
1301
  function gn(e) {
1302
+ return e.$$typeof === yn;
1303
+ }
1304
+ function vn(e) {
1305
1305
  return Array.isArray(e) ? [] : {};
1306
1306
  }
1307
- function le(e, t) {
1308
- return t.clone !== !1 && t.isMergeableObject(e) ? K(gn(e), e, t) : e;
1307
+ function he(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(vn(e), e, t) : e;
1309
1309
  }
1310
- function vn(e, t, r) {
1310
+ function _n(e, t, r) {
1311
1311
  return e.concat(t).map(function(n) {
1312
- return le(n, r);
1312
+ return he(n, r);
1313
1313
  });
1314
1314
  }
1315
- function _n(e, t) {
1315
+ function En(e, t) {
1316
1316
  if (!t.customMerge)
1317
- return K;
1317
+ return ee;
1318
1318
  var r = t.customMerge(e);
1319
- return typeof r == "function" ? r : K;
1319
+ return typeof r == "function" ? r : ee;
1320
1320
  }
1321
- function En(e) {
1321
+ function xn(e) {
1322
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1323
1323
  return Object.propertyIsEnumerable.call(e, t);
1324
1324
  }) : [];
1325
1325
  }
1326
- function bt(e) {
1327
- return Object.keys(e).concat(En(e));
1326
+ function yt(e) {
1327
+ return Object.keys(e).concat(xn(e));
1328
1328
  }
1329
- function Qt(e, t) {
1329
+ function Jt(e, t) {
1330
1330
  try {
1331
1331
  return t in e;
1332
1332
  } catch (r) {
1333
1333
  return !1;
1334
1334
  }
1335
1335
  }
1336
- function xn(e, t) {
1337
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1336
+ function Sn(e, t) {
1337
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1338
1338
  }
1339
- function Sn(e, t, r) {
1339
+ function wn(e, t, r) {
1340
1340
  var n = {};
1341
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1342
- n[i] = le(e[i], r);
1343
- }), bt(t).forEach(function(i) {
1344
- xn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1341
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1342
+ n[i] = he(e[i], r);
1343
+ }), yt(t).forEach(function(i) {
1344
+ Sn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
1345
1345
  }), n;
1346
1346
  }
1347
- function K(e, t, r) {
1348
- r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = le;
1347
+ function ee(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = he;
1349
1349
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1350
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : le(t, r);
1350
+ return o ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : he(t, r);
1351
1351
  }
1352
- K.all = function(t, r) {
1352
+ ee.all = function(t, r) {
1353
1353
  if (!Array.isArray(t))
1354
1354
  throw new Error("first argument should be an array");
1355
1355
  return t.reduce(function(n, i) {
1356
- return K(n, i, r);
1356
+ return ee(n, i, r);
1357
1357
  }, {});
1358
1358
  };
1359
- var wn = K, Tn = wn;
1360
- const Hn = /* @__PURE__ */ cn(Tn);
1361
- function Ce(e, t) {
1362
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : An;
1359
+ var Tn = ee, Hn = Tn;
1360
+ const Bn = /* @__PURE__ */ fn(Hn);
1361
+ function Le(e, t) {
1362
+ var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : On;
1363
1363
  return i(e, {
1364
1364
  cache: r,
1365
1365
  serializer: n
1366
1366
  });
1367
1367
  }
1368
- function Bn(e) {
1368
+ function Pn(e) {
1369
1369
  return e == null || typeof e == "number" || typeof e == "boolean";
1370
1370
  }
1371
- function Pn(e, t, r, n) {
1372
- var i = Bn(n) ? n : r(n), o = t.get(i);
1371
+ function An(e, t, r, n) {
1372
+ var i = Pn(n) ? n : r(n), o = t.get(i);
1373
1373
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1374
1374
  }
1375
- function Jt(e, t, r) {
1375
+ function qt(e, t, r) {
1376
1376
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1377
1377
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1378
1378
  }
1379
- function qt(e, t, r, n, i) {
1379
+ function Yt(e, t, r, n, i) {
1380
1380
  return r.bind(t, e, n, i);
1381
1381
  }
1382
- function An(e, t) {
1383
- var r = e.length === 1 ? Pn : Jt;
1384
- return qt(e, this, r, t.cache.create(), t.serializer);
1385
- }
1386
1382
  function On(e, t) {
1387
- return qt(e, this, Jt, t.cache.create(), t.serializer);
1383
+ var r = e.length === 1 ? An : qt;
1384
+ return Yt(e, this, r, t.cache.create(), t.serializer);
1388
1385
  }
1389
- var In = function() {
1386
+ function In(e, t) {
1387
+ return Yt(e, this, qt, t.cache.create(), t.serializer);
1388
+ }
1389
+ var Cn = function() {
1390
1390
  return JSON.stringify(arguments);
1391
- }, Cn = (
1391
+ }, Ln = (
1392
1392
  /** @class */
1393
1393
  function() {
1394
1394
  function e() {
@@ -1400,12 +1400,12 @@ var In = function() {
1400
1400
  this.cache[t] = r;
1401
1401
  }, e;
1402
1402
  }()
1403
- ), Ln = {
1403
+ ), Nn = {
1404
1404
  create: function() {
1405
- return new Cn();
1405
+ return new Ln();
1406
1406
  }
1407
- }, Le = {
1408
- variadic: On
1407
+ }, Ne = {
1408
+ variadic: In
1409
1409
  }, y;
1410
1410
  (function(e) {
1411
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";
@@ -1414,47 +1414,47 @@ var E;
1414
1414
  (function(e) {
1415
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";
1416
1416
  })(E || (E = {}));
1417
- var ee;
1417
+ var te;
1418
1418
  (function(e) {
1419
1419
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1420
- })(ee || (ee = {}));
1421
- function yt(e) {
1420
+ })(te || (te = {}));
1421
+ function gt(e) {
1422
1422
  return e.type === E.literal;
1423
1423
  }
1424
- function Nn(e) {
1424
+ function Mn(e) {
1425
1425
  return e.type === E.argument;
1426
1426
  }
1427
- function Yt(e) {
1427
+ function Kt(e) {
1428
1428
  return e.type === E.number;
1429
1429
  }
1430
- function Kt(e) {
1430
+ function er(e) {
1431
1431
  return e.type === E.date;
1432
1432
  }
1433
- function er(e) {
1433
+ function tr(e) {
1434
1434
  return e.type === E.time;
1435
1435
  }
1436
- function tr(e) {
1436
+ function rr(e) {
1437
1437
  return e.type === E.select;
1438
1438
  }
1439
- function rr(e) {
1439
+ function nr(e) {
1440
1440
  return e.type === E.plural;
1441
1441
  }
1442
- function Mn(e) {
1442
+ function Rn(e) {
1443
1443
  return e.type === E.pound;
1444
1444
  }
1445
- function nr(e) {
1445
+ function ir(e) {
1446
1446
  return e.type === E.tag;
1447
1447
  }
1448
- function ir(e) {
1449
- return !!(e && typeof e == "object" && e.type === ee.number);
1448
+ function or(e) {
1449
+ return !!(e && typeof e == "object" && e.type === te.number);
1450
1450
  }
1451
- function Xe(e) {
1452
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1451
+ function We(e) {
1452
+ return !!(e && typeof e == "object" && e.type === te.dateTime);
1453
1453
  }
1454
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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 $n(e) {
1454
+ var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, $n = /(?:[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 Dn(e) {
1456
1456
  var t = {};
1457
- return e.replace(Rn, function(r) {
1457
+ return e.replace($n, function(r) {
1458
1458
  var n = r.length;
1459
1459
  switch (r[0]) {
1460
1460
  case "G":
@@ -1543,11 +1543,11 @@ function $n(e) {
1543
1543
  return "";
1544
1544
  }), t;
1545
1545
  }
1546
- var Dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1547
- function Un(e) {
1546
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1547
+ function Gn(e) {
1548
1548
  if (e.length === 0)
1549
1549
  throw new Error("Number skeleton cannot be empty");
1550
- for (var t = e.split(Dn).filter(function(c) {
1550
+ for (var t = e.split(Un).filter(function(c) {
1551
1551
  return c.length > 0;
1552
1552
  }), r = [], n = 0, i = t; n < i.length; n++) {
1553
1553
  var o = i[n], s = o.split("/");
@@ -1562,17 +1562,17 @@ function Un(e) {
1562
1562
  }
1563
1563
  return r;
1564
1564
  }
1565
- function Gn(e) {
1565
+ function Fn(e) {
1566
1566
  return e.replace(/^(.*?)-/, "");
1567
1567
  }
1568
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1569
- function vt(e) {
1568
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1569
+ function _t(e) {
1570
1570
  var t = {};
1571
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1571
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1572
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)), "";
1573
1573
  }), t;
1574
1574
  }
1575
- function ur(e) {
1575
+ function lr(e) {
1576
1576
  switch (e) {
1577
1577
  case "sign-auto":
1578
1578
  return {
@@ -1612,7 +1612,7 @@ function ur(e) {
1612
1612
  };
1613
1613
  }
1614
1614
  }
1615
- function jn(e) {
1615
+ function kn(e) {
1616
1616
  var t;
1617
1617
  if (e[0] === "E" && e[1] === "E" ? (t = {
1618
1618
  notation: "engineering"
@@ -1620,17 +1620,17 @@ function jn(e) {
1620
1620
  notation: "scientific"
1621
1621
  }, e = e.slice(1)), t) {
1622
1622
  var r = e.slice(0, 2);
1623
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1623
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1624
1624
  throw new Error("Malformed concise eng/scientific notation");
1625
1625
  t.minimumIntegerDigits = e.length;
1626
1626
  }
1627
1627
  return t;
1628
1628
  }
1629
- function _t(e) {
1630
- var t = {}, r = ur(e);
1629
+ function Et(e) {
1630
+ var t = {}, r = lr(e);
1631
1631
  return r || t;
1632
1632
  }
1633
- function kn(e) {
1633
+ function Vn(e) {
1634
1634
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1635
1635
  var i = n[r];
1636
1636
  switch (i.stem) {
@@ -1654,7 +1654,7 @@ function kn(e) {
1654
1654
  continue;
1655
1655
  case "measure-unit":
1656
1656
  case "unit":
1657
- t.style = "unit", t.unit = Gn(i.options[0]);
1657
+ t.style = "unit", t.unit = Fn(i.options[0]);
1658
1658
  continue;
1659
1659
  case "compact-short":
1660
1660
  case "K":
@@ -1666,12 +1666,12 @@ function kn(e) {
1666
1666
  continue;
1667
1667
  case "scientific":
1668
1668
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1669
- return _(_({}, l), _t(u));
1669
+ return _(_({}, l), Et(u));
1670
1670
  }, {}));
1671
1671
  continue;
1672
1672
  case "engineering":
1673
1673
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1674
- return _(_({}, l), _t(u));
1674
+ return _(_({}, l), Et(u));
1675
1675
  }, {}));
1676
1676
  continue;
1677
1677
  case "notation-simple":
@@ -1716,7 +1716,7 @@ function kn(e) {
1716
1716
  case "integer-width":
1717
1717
  if (i.options.length > 1)
1718
1718
  throw new RangeError("integer-width stems only accept a single optional option");
1719
- i.options[0].replace(Fn, function(l, u, h, f, c, m) {
1719
+ i.options[0].replace(jn, function(l, u, h, f, c, m) {
1720
1720
  if (u)
1721
1721
  t.minimumIntegerDigits = h.length;
1722
1722
  else {
@@ -1729,32 +1729,32 @@ function kn(e) {
1729
1729
  });
1730
1730
  continue;
1731
1731
  }
1732
- if (ar.test(i.stem)) {
1732
+ if (ur.test(i.stem)) {
1733
1733
  t.minimumIntegerDigits = i.stem.length;
1734
1734
  continue;
1735
1735
  }
1736
- if (gt.test(i.stem)) {
1736
+ if (vt.test(i.stem)) {
1737
1737
  if (i.options.length > 1)
1738
1738
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1739
- i.stem.replace(gt, function(l, u, h, f, c, m) {
1739
+ i.stem.replace(vt, function(l, u, h, f, c, m) {
1740
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), "";
1741
1741
  });
1742
1742
  var o = i.options[0];
1743
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1743
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), _t(o)));
1744
1744
  continue;
1745
1745
  }
1746
- if (sr.test(i.stem)) {
1747
- t = _(_({}, t), vt(i.stem));
1746
+ if (ar.test(i.stem)) {
1747
+ t = _(_({}, t), _t(i.stem));
1748
1748
  continue;
1749
1749
  }
1750
- var s = ur(i.stem);
1750
+ var s = lr(i.stem);
1751
1751
  s && (t = _(_({}, t), s));
1752
- var a = jn(i.stem);
1752
+ var a = kn(i.stem);
1753
1753
  a && (t = _(_({}, t), a));
1754
1754
  }
1755
1755
  return t;
1756
1756
  }
1757
- var pe = {
1757
+ var me = {
1758
1758
  "001": [
1759
1759
  "H",
1760
1760
  "h"
@@ -3169,13 +3169,13 @@ var pe = {
3169
3169
  "h"
3170
3170
  ]
3171
3171
  };
3172
- function Vn(e, t) {
3172
+ function Xn(e, t) {
3173
3173
  for (var r = "", n = 0; n < e.length; n++) {
3174
3174
  var i = e.charAt(n);
3175
3175
  if (i === "j") {
3176
3176
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3177
3177
  o++, n++;
3178
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Xn(t);
3178
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Wn(t);
3179
3179
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3180
3180
  r += l;
3181
3181
  for (; s-- > 0; )
@@ -3185,7 +3185,7 @@ function Vn(e, t) {
3185
3185
  }
3186
3186
  return r;
3187
3187
  }
3188
- function Xn(e) {
3188
+ function Wn(e) {
3189
3189
  var t = e.hourCycle;
3190
3190
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3191
3191
  e.hourCycles && // @ts-ignore
@@ -3204,23 +3204,23 @@ function Xn(e) {
3204
3204
  }
3205
3205
  var r = e.language, n;
3206
3206
  r !== "root" && (n = e.maximize().region);
3207
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3207
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3208
3208
  return i[0];
3209
3209
  }
3210
- var Ne, Wn = new RegExp("^".concat(or.source, "*")), zn = new RegExp("".concat(or.source, "*$"));
3210
+ var Me, zn = new RegExp("^".concat(sr.source, "*")), Zn = new RegExp("".concat(sr.source, "*$"));
3211
3211
  function v(e, t) {
3212
3212
  return { start: e, end: t };
3213
3213
  }
3214
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Jn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Yn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3214
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3215
3215
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3216
- }, We = !0;
3216
+ }, ze = !0;
3217
3217
  try {
3218
- var ri = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3219
- We = ((Ne = ri.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3218
+ var ni = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3219
+ ze = ((Me = ni.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3220
3220
  } catch (e) {
3221
- We = !1;
3221
+ ze = !1;
3222
3222
  }
3223
- var Et = Zn ? (
3223
+ var xt = Qn ? (
3224
3224
  // Native
3225
3225
  function(t, r, n) {
3226
3226
  return t.startsWith(r, n);
@@ -3230,7 +3230,7 @@ var Et = Zn ? (
3230
3230
  function(t, r, n) {
3231
3231
  return t.slice(n, n + r.length) === r;
3232
3232
  }
3233
- ), ze = Qn ? String.fromCodePoint : (
3233
+ ), Ze = Jn ? String.fromCodePoint : (
3234
3234
  // IE11
3235
3235
  function() {
3236
3236
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3242,9 +3242,9 @@ var Et = Zn ? (
3242
3242
  }
3243
3243
  return n;
3244
3244
  }
3245
- ), xt = (
3245
+ ), St = (
3246
3246
  // native
3247
- Jn ? Object.fromEntries : (
3247
+ qn ? Object.fromEntries : (
3248
3248
  // Ponyfill
3249
3249
  function(t) {
3250
3250
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3254,7 +3254,7 @@ var Et = Zn ? (
3254
3254
  return r;
3255
3255
  }
3256
3256
  )
3257
- ), lr = qn ? (
3257
+ ), hr = Yn ? (
3258
3258
  // Native
3259
3259
  function(t, r) {
3260
3260
  return t.codePointAt(r);
@@ -3268,7 +3268,7 @@ var Et = Zn ? (
3268
3268
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3269
3269
  }
3270
3270
  }
3271
- ), ni = Yn ? (
3271
+ ), ii = Kn ? (
3272
3272
  // Native
3273
3273
  function(t) {
3274
3274
  return t.trimStart();
@@ -3276,9 +3276,9 @@ var Et = Zn ? (
3276
3276
  ) : (
3277
3277
  // Ponyfill
3278
3278
  function(t) {
3279
- return t.replace(Wn, "");
3279
+ return t.replace(zn, "");
3280
3280
  }
3281
- ), ii = Kn ? (
3281
+ ), oi = ei ? (
3282
3282
  // Native
3283
3283
  function(t) {
3284
3284
  return t.trimEnd();
@@ -3286,32 +3286,32 @@ var Et = Zn ? (
3286
3286
  ) : (
3287
3287
  // Ponyfill
3288
3288
  function(t) {
3289
- return t.replace(zn, "");
3289
+ return t.replace(Zn, "");
3290
3290
  }
3291
3291
  );
3292
- function hr(e, t) {
3292
+ function cr(e, t) {
3293
3293
  return new RegExp(e, t);
3294
3294
  }
3295
- var Ze;
3296
- if (We) {
3297
- var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
- Ze = function(t, r) {
3295
+ var Qe;
3296
+ if (ze) {
3297
+ var wt = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3298
+ Qe = function(t, r) {
3299
3299
  var n;
3300
- St.lastIndex = r;
3301
- var i = St.exec(t);
3300
+ wt.lastIndex = r;
3301
+ var i = wt.exec(t);
3302
3302
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3303
3303
  };
3304
3304
  } else
3305
- Ze = function(t, r) {
3305
+ Qe = function(t, r) {
3306
3306
  for (var n = []; ; ) {
3307
- var i = lr(t, r);
3308
- if (i === void 0 || cr(i) || ui(i))
3307
+ var i = hr(t, r);
3308
+ if (i === void 0 || fr(i) || li(i))
3309
3309
  break;
3310
3310
  n.push(i), r += i >= 65536 ? 2 : 1;
3311
3311
  }
3312
- return ze.apply(void 0, n);
3312
+ return Ze.apply(void 0, n);
3313
3313
  };
3314
- var oi = (
3314
+ var si = (
3315
3315
  /** @class */
3316
3316
  function() {
3317
3317
  function e(t, r) {
@@ -3342,7 +3342,7 @@ var oi = (
3342
3342
  if (n)
3343
3343
  break;
3344
3344
  return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3345
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3345
+ } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3346
3346
  var s = this.parseTag(t, r);
3347
3347
  if (s.err)
3348
3348
  return s;
@@ -3375,7 +3375,7 @@ var oi = (
3375
3375
  return o;
3376
3376
  var s = o.val, a = this.clonePosition();
3377
3377
  if (this.bumpIf("</")) {
3378
- if (this.isEOF() || !Qe(this.char()))
3378
+ if (this.isEOF() || !Je(this.char()))
3379
3379
  return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3380
3380
  var l = this.clonePosition(), u = this.parseTagName();
3381
3381
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3393,7 +3393,7 @@ var oi = (
3393
3393
  return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3394
3394
  }, e.prototype.parseTagName = function() {
3395
3395
  var t = this.offset();
3396
- for (this.bump(); !this.isEOF() && ai(this.char()); )
3396
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3397
3397
  this.bump();
3398
3398
  return this.message.slice(t, this.offset());
3399
3399
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3422,7 +3422,7 @@ var oi = (
3422
3422
  };
3423
3423
  }, e.prototype.tryParseLeftAngleBracket = function() {
3424
3424
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3425
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3425
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3426
3426
  }, e.prototype.tryParseQuote = function(t) {
3427
3427
  if (this.isEOF() || this.char() !== 39)
3428
3428
  return null;
@@ -3456,12 +3456,12 @@ var oi = (
3456
3456
  r.push(n);
3457
3457
  this.bump();
3458
3458
  }
3459
- return ze.apply(void 0, r);
3459
+ return Ze.apply(void 0, r);
3460
3460
  }, e.prototype.tryParseUnquoted = function(t, r) {
3461
3461
  if (this.isEOF())
3462
3462
  return null;
3463
3463
  var n = this.char();
3464
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3464
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3465
3465
  }, e.prototype.parseArgument = function(t, r) {
3466
3466
  var n = this.clonePosition();
3467
3467
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3490,7 +3490,7 @@ var oi = (
3490
3490
  return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3491
3491
  }
3492
3492
  }, e.prototype.parseIdentifierIfPossible = function() {
3493
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3493
+ var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3494
3494
  this.bumpTo(i);
3495
3495
  var o = this.clonePosition(), s = v(t, o);
3496
3496
  return { value: n, location: s };
@@ -3509,7 +3509,7 @@ var oi = (
3509
3509
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3510
3510
  if (f.err)
3511
3511
  return f;
3512
- var c = ii(f.val);
3512
+ var c = oi(f.val);
3513
3513
  if (c.length === 0)
3514
3514
  return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3515
3515
  var m = v(h, this.clonePosition());
@@ -3519,8 +3519,8 @@ var oi = (
3519
3519
  if (b.err)
3520
3520
  return b;
3521
3521
  var g = v(i, this.clonePosition());
3522
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3523
- var S = ni(u.style.slice(2));
3522
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3523
+ var S = ii(u.style.slice(2));
3524
3524
  if (a === "number") {
3525
3525
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3526
3526
  return f.err ? f : {
@@ -3531,12 +3531,12 @@ var oi = (
3531
3531
  if (S.length === 0)
3532
3532
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3533
3533
  var I = S;
3534
- this.locale && (I = Vn(S, this.locale));
3534
+ this.locale && (I = Xn(S, this.locale));
3535
3535
  var c = {
3536
- type: ee.dateTime,
3536
+ type: te.dateTime,
3537
3537
  pattern: I,
3538
3538
  location: u.styleLocation,
3539
- parsedOptions: this.shouldParseSkeletons ? $n(I) : {}
3539
+ parsedOptions: this.shouldParseSkeletons ? Dn(I) : {}
3540
3540
  }, P = a === "date" ? E.date : E.time;
3541
3541
  return {
3542
3542
  val: { type: P, value: n, location: g, style: c },
@@ -3582,7 +3582,7 @@ var oi = (
3582
3582
  val: {
3583
3583
  type: E.select,
3584
3584
  value: n,
3585
- options: xt(M.val),
3585
+ options: St(M.val),
3586
3586
  location: x
3587
3587
  },
3588
3588
  err: null
@@ -3590,7 +3590,7 @@ var oi = (
3590
3590
  val: {
3591
3591
  type: E.plural,
3592
3592
  value: n,
3593
- options: xt(M.val),
3593
+ options: St(M.val),
3594
3594
  offset: C,
3595
3595
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3596
3596
  location: x
@@ -3641,16 +3641,16 @@ var oi = (
3641
3641
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3642
3642
  var n = [];
3643
3643
  try {
3644
- n = Un(t);
3644
+ n = Gn(t);
3645
3645
  } catch (i) {
3646
3646
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3647
3647
  }
3648
3648
  return {
3649
3649
  val: {
3650
- type: ee.number,
3650
+ type: te.number,
3651
3651
  tokens: n,
3652
3652
  location: r,
3653
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3653
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3654
3654
  },
3655
3655
  err: null
3656
3656
  };
@@ -3698,7 +3698,7 @@ var oi = (
3698
3698
  break;
3699
3699
  }
3700
3700
  var l = v(i, this.clonePosition());
3701
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3701
+ return o ? (s *= n, ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3702
3702
  }, e.prototype.offset = function() {
3703
3703
  return this.position.offset;
3704
3704
  }, e.prototype.isEOF = function() {
@@ -3713,7 +3713,7 @@ var oi = (
3713
3713
  var t = this.position.offset;
3714
3714
  if (t >= this.message.length)
3715
3715
  throw Error("out of bound");
3716
- var r = lr(this.message, t);
3716
+ var r = hr(this.message, t);
3717
3717
  if (r === void 0)
3718
3718
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3719
3719
  return r;
@@ -3732,7 +3732,7 @@ var oi = (
3732
3732
  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);
3733
3733
  }
3734
3734
  }, e.prototype.bumpIf = function(t) {
3735
- if (Et(this.message, t, this.offset())) {
3735
+ if (xt(this.message, t, this.offset())) {
3736
3736
  for (var r = 0; r < t.length; r++)
3737
3737
  this.bump();
3738
3738
  return !0;
@@ -3754,7 +3754,7 @@ var oi = (
3754
3754
  break;
3755
3755
  }
3756
3756
  }, e.prototype.bumpSpace = function() {
3757
- for (; !this.isEOF() && cr(this.char()); )
3757
+ for (; !this.isEOF() && fr(this.char()); )
3758
3758
  this.bump();
3759
3759
  }, e.prototype.peek = function() {
3760
3760
  if (this.isEOF())
@@ -3764,44 +3764,44 @@ var oi = (
3764
3764
  }, e;
3765
3765
  }()
3766
3766
  );
3767
- function Qe(e) {
3767
+ function Je(e) {
3768
3768
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3769
3769
  }
3770
- function si(e) {
3771
- return Qe(e) || e === 47;
3772
- }
3773
3770
  function ai(e) {
3771
+ return Je(e) || e === 47;
3772
+ }
3773
+ function ui(e) {
3774
3774
  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;
3775
3775
  }
3776
- function cr(e) {
3776
+ function fr(e) {
3777
3777
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3778
3778
  }
3779
- function ui(e) {
3779
+ function li(e) {
3780
3780
  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;
3781
3781
  }
3782
- function Je(e) {
3782
+ function qe(e) {
3783
3783
  e.forEach(function(t) {
3784
- if (delete t.location, tr(t) || rr(t))
3784
+ if (delete t.location, rr(t) || nr(t))
3785
3785
  for (var r in t.options)
3786
- delete t.options[r].location, Je(t.options[r].value);
3786
+ delete t.options[r].location, qe(t.options[r].value);
3787
3787
  else
3788
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3788
+ Kt(t) && or(t.style) || (er(t) || tr(t)) && We(t.style) ? delete t.style.location : ir(t) && qe(t.children);
3789
3789
  });
3790
3790
  }
3791
- function li(e, t) {
3791
+ function hi(e, t) {
3792
3792
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3793
- var r = new oi(e, t).parse();
3793
+ var r = new si(e, t).parse();
3794
3794
  if (r.err) {
3795
3795
  var n = SyntaxError(y[r.err.kind]);
3796
3796
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3797
3797
  }
3798
- return t != null && t.captureLocation || Je(r.val), r.val;
3798
+ return t != null && t.captureLocation || qe(r.val), r.val;
3799
3799
  }
3800
- var te;
3800
+ var re;
3801
3801
  (function(e) {
3802
3802
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3803
- })(te || (te = {}));
3804
- var He = (
3803
+ })(re || (re = {}));
3804
+ var Be = (
3805
3805
  /** @class */
3806
3806
  function(e) {
3807
3807
  G(t, e);
@@ -3813,48 +3813,48 @@ var He = (
3813
3813
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3814
3814
  }, t;
3815
3815
  }(Error)
3816
- ), wt = (
3816
+ ), Tt = (
3817
3817
  /** @class */
3818
3818
  function(e) {
3819
3819
  G(t, e);
3820
3820
  function t(r, n, i, o) {
3821
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3821
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3822
3822
  }
3823
3823
  return t;
3824
- }(He)
3825
- ), hi = (
3824
+ }(Be)
3825
+ ), ci = (
3826
3826
  /** @class */
3827
3827
  function(e) {
3828
3828
  G(t, e);
3829
3829
  function t(r, n, i) {
3830
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3830
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3831
3831
  }
3832
3832
  return t;
3833
- }(He)
3834
- ), ci = (
3833
+ }(Be)
3834
+ ), fi = (
3835
3835
  /** @class */
3836
3836
  function(e) {
3837
3837
  G(t, e);
3838
3838
  function t(r, n) {
3839
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3839
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3840
3840
  }
3841
3841
  return t;
3842
- }(He)
3842
+ }(Be)
3843
3843
  ), H;
3844
3844
  (function(e) {
3845
3845
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3846
3846
  })(H || (H = {}));
3847
- function fi(e) {
3847
+ function di(e) {
3848
3848
  return e.length < 2 ? e : e.reduce(function(t, r) {
3849
3849
  var n = t[t.length - 1];
3850
3850
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3851
3851
  }, []);
3852
3852
  }
3853
- function di(e) {
3853
+ function pi(e) {
3854
3854
  return typeof e == "function";
3855
3855
  }
3856
- function ge(e, t, r, n, i, o, s) {
3857
- if (e.length === 1 && yt(e[0]))
3856
+ function ve(e, t, r, n, i, o, s) {
3857
+ if (e.length === 1 && gt(e[0]))
3858
3858
  return [
3859
3859
  {
3860
3860
  type: H.literal,
@@ -3863,14 +3863,14 @@ function ge(e, t, r, n, i, o, s) {
3863
3863
  ];
3864
3864
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3865
3865
  var h = u[l];
3866
- if (yt(h)) {
3866
+ if (gt(h)) {
3867
3867
  a.push({
3868
3868
  type: H.literal,
3869
3869
  value: h.value
3870
3870
  });
3871
3871
  continue;
3872
3872
  }
3873
- if (Mn(h)) {
3873
+ if (Rn(h)) {
3874
3874
  typeof o == "number" && a.push({
3875
3875
  type: H.literal,
3876
3876
  value: r.getNumberFormat(t).format(o)
@@ -3879,44 +3879,44 @@ function ge(e, t, r, n, i, o, s) {
3879
3879
  }
3880
3880
  var f = h.value;
3881
3881
  if (!(i && f in i))
3882
- throw new ci(f, s);
3882
+ throw new fi(f, s);
3883
3883
  var c = i[f];
3884
- if (Nn(h)) {
3884
+ if (Mn(h)) {
3885
3885
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3886
3886
  type: typeof c == "string" ? H.literal : H.object,
3887
3887
  value: c
3888
3888
  });
3889
3889
  continue;
3890
3890
  }
3891
- if (Kt(h)) {
3892
- var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3891
+ if (er(h)) {
3892
+ var m = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3893
3893
  a.push({
3894
3894
  type: H.literal,
3895
3895
  value: r.getDateTimeFormat(t, m).format(c)
3896
3896
  });
3897
3897
  continue;
3898
3898
  }
3899
- if (er(h)) {
3900
- var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3899
+ if (tr(h)) {
3900
+ var m = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3901
3901
  a.push({
3902
3902
  type: H.literal,
3903
3903
  value: r.getDateTimeFormat(t, m).format(c)
3904
3904
  });
3905
3905
  continue;
3906
3906
  }
3907
- if (Yt(h)) {
3908
- var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3907
+ if (Kt(h)) {
3908
+ var m = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3909
3909
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3910
3910
  type: H.literal,
3911
3911
  value: r.getNumberFormat(t, m).format(c)
3912
3912
  });
3913
3913
  continue;
3914
3914
  }
3915
- if (nr(h)) {
3915
+ if (ir(h)) {
3916
3916
  var b = h.children, g = h.value, S = i[g];
3917
- if (!di(S))
3918
- throw new hi(g, "function", s);
3919
- var I = ge(b, t, r, n, i, o), P = S(I.map(function(C) {
3917
+ if (!pi(S))
3918
+ throw new ci(g, "function", s);
3919
+ var I = ve(b, t, r, n, i, o), P = S(I.map(function(C) {
3920
3920
  return C.value;
3921
3921
  }));
3922
3922
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(C) {
@@ -3926,42 +3926,42 @@ function ge(e, t, r, n, i, o, s) {
3926
3926
  };
3927
3927
  }));
3928
3928
  }
3929
- if (tr(h)) {
3929
+ if (rr(h)) {
3930
3930
  var w = h.options[c] || h.options.other;
3931
3931
  if (!w)
3932
- throw new wt(h.value, c, Object.keys(h.options), s);
3933
- a.push.apply(a, ge(w.value, t, r, n, i));
3932
+ throw new Tt(h.value, c, Object.keys(h.options), s);
3933
+ a.push.apply(a, ve(w.value, t, r, n, i));
3934
3934
  continue;
3935
3935
  }
3936
- if (rr(h)) {
3936
+ if (nr(h)) {
3937
3937
  var w = h.options["=".concat(c)];
3938
3938
  if (!w) {
3939
3939
  if (!Intl.PluralRules)
3940
- throw new He(`Intl.PluralRules is not available in this environment.
3940
+ throw new Be(`Intl.PluralRules is not available in this environment.
3941
3941
  Try polyfilling it using "@formatjs/intl-pluralrules"
3942
- `, te.MISSING_INTL_API, s);
3942
+ `, re.MISSING_INTL_API, s);
3943
3943
  var N = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3944
3944
  w = h.options[N] || h.options.other;
3945
3945
  }
3946
3946
  if (!w)
3947
- throw new wt(h.value, c, Object.keys(h.options), s);
3948
- a.push.apply(a, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3947
+ throw new Tt(h.value, c, Object.keys(h.options), s);
3948
+ a.push.apply(a, ve(w.value, t, r, n, i, c - (h.offset || 0)));
3949
3949
  continue;
3950
3950
  }
3951
3951
  }
3952
- return fi(a);
3952
+ return di(a);
3953
3953
  }
3954
- function pi(e, t) {
3954
+ function mi(e, t) {
3955
3955
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3956
3956
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3957
3957
  }, {})) : e;
3958
3958
  }
3959
- function mi(e, t) {
3959
+ function bi(e, t) {
3960
3960
  return t ? Object.keys(e).reduce(function(r, n) {
3961
- return r[n] = pi(e[n], t[n]), r;
3961
+ return r[n] = mi(e[n], t[n]), r;
3962
3962
  }, _({}, e)) : e;
3963
3963
  }
3964
- function Me(e) {
3964
+ function Re(e) {
3965
3965
  return {
3966
3966
  create: function() {
3967
3967
  return {
@@ -3975,39 +3975,39 @@ function Me(e) {
3975
3975
  }
3976
3976
  };
3977
3977
  }
3978
- function bi(e) {
3978
+ function yi(e) {
3979
3979
  return e === void 0 && (e = {
3980
3980
  number: {},
3981
3981
  dateTime: {},
3982
3982
  pluralRules: {}
3983
3983
  }), {
3984
- getNumberFormat: Ce(function() {
3984
+ getNumberFormat: Le(function() {
3985
3985
  for (var t, r = [], n = 0; n < arguments.length; n++)
3986
3986
  r[n] = arguments[n];
3987
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
3987
+ return new ((t = Intl.NumberFormat).bind.apply(t, K([void 0], r, !1)))();
3988
3988
  }, {
3989
- cache: Me(e.number),
3990
- strategy: Le.variadic
3989
+ cache: Re(e.number),
3990
+ strategy: Ne.variadic
3991
3991
  }),
3992
- getDateTimeFormat: Ce(function() {
3992
+ getDateTimeFormat: Le(function() {
3993
3993
  for (var t, r = [], n = 0; n < arguments.length; n++)
3994
3994
  r[n] = arguments[n];
3995
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
3995
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, K([void 0], r, !1)))();
3996
3996
  }, {
3997
- cache: Me(e.dateTime),
3998
- strategy: Le.variadic
3997
+ cache: Re(e.dateTime),
3998
+ strategy: Ne.variadic
3999
3999
  }),
4000
- getPluralRules: Ce(function() {
4000
+ getPluralRules: Le(function() {
4001
4001
  for (var t, r = [], n = 0; n < arguments.length; n++)
4002
4002
  r[n] = arguments[n];
4003
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4003
+ return new ((t = Intl.PluralRules).bind.apply(t, K([void 0], r, !1)))();
4004
4004
  }, {
4005
- cache: Me(e.pluralRules),
4006
- strategy: Le.variadic
4005
+ cache: Re(e.pluralRules),
4006
+ strategy: Ne.variadic
4007
4007
  })
4008
4008
  };
4009
4009
  }
4010
- var yi = (
4010
+ var gi = (
4011
4011
  /** @class */
4012
4012
  function() {
4013
4013
  function e(t, r, n, i) {
@@ -4026,7 +4026,7 @@ var yi = (
4026
4026
  }, []);
4027
4027
  return h.length <= 1 ? h[0] || "" : h;
4028
4028
  }, this.formatToParts = function(l) {
4029
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4029
+ return ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4030
4030
  }, this.resolvedOptions = function() {
4031
4031
  var l;
4032
4032
  return {
@@ -4039,13 +4039,13 @@ var yi = (
4039
4039
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4040
4040
  var s = i || {};
4041
4041
  s.formatters;
4042
- var a = Zr(s, ["formatters"]);
4042
+ var a = Qr(s, ["formatters"]);
4043
4043
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4044
4044
  } else
4045
4045
  this.ast = t;
4046
4046
  if (!Array.isArray(this.ast))
4047
4047
  throw new TypeError("A message must be provided as a String or AST.");
4048
- this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
4048
+ this.formats = bi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
4049
4049
  }
4050
4050
  return Object.defineProperty(e, "defaultLocale", {
4051
4051
  get: function() {
@@ -4058,7 +4058,7 @@ var yi = (
4058
4058
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4059
4059
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4060
4060
  }
4061
- }, e.__parse = li, e.formats = {
4061
+ }, e.__parse = hi, e.formats = {
4062
4062
  number: {
4063
4063
  integer: {
4064
4064
  maximumFractionDigits: 0
@@ -4119,7 +4119,7 @@ var yi = (
4119
4119
  }, e;
4120
4120
  }()
4121
4121
  );
4122
- function gi(e, t) {
4122
+ function vi(e, t) {
4123
4123
  if (t == null)
4124
4124
  return;
4125
4125
  if (t in e)
@@ -4140,92 +4140,92 @@ function gi(e, t) {
4140
4140
  n = void 0;
4141
4141
  return n;
4142
4142
  }
4143
- const j = {}, vi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), fr = (e, t) => {
4143
+ const j = {}, _i = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), dr = (e, t) => {
4144
4144
  if (t == null)
4145
4145
  return;
4146
4146
  if (t in j && e in j[t])
4147
4147
  return j[t][e];
4148
- const r = Be(t);
4148
+ const r = Pe(t);
4149
4149
  for (let n = 0; n < r.length; n++) {
4150
- const i = r[n], o = Ei(i, e);
4150
+ const i = r[n], o = xi(i, e);
4151
4151
  if (o)
4152
- return vi(e, t, o);
4152
+ return _i(e, t, o);
4153
4153
  }
4154
4154
  };
4155
- let et;
4156
- const ce = Te({});
4157
- function _i(e) {
4158
- return et[e] || null;
4155
+ let tt;
4156
+ const fe = He({});
4157
+ function Ei(e) {
4158
+ return tt[e] || null;
4159
4159
  }
4160
- function dr(e) {
4161
- return e in et;
4160
+ function pr(e) {
4161
+ return e in tt;
4162
4162
  }
4163
- function Ei(e, t) {
4164
- if (!dr(e))
4163
+ function xi(e, t) {
4164
+ if (!pr(e))
4165
4165
  return null;
4166
- const r = _i(e);
4167
- return gi(r, t);
4166
+ const r = Ei(e);
4167
+ return vi(r, t);
4168
4168
  }
4169
- function xi(e) {
4169
+ function Si(e) {
4170
4170
  if (e == null)
4171
4171
  return;
4172
- const t = Be(e);
4172
+ const t = Pe(e);
4173
4173
  for (let r = 0; r < t.length; r++) {
4174
4174
  const n = t[r];
4175
- if (dr(n))
4175
+ if (pr(n))
4176
4176
  return n;
4177
4177
  }
4178
4178
  }
4179
- function pr(e, ...t) {
4180
- delete j[e], ce.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
4179
+ function mr(e, ...t) {
4180
+ delete j[e], fe.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
4181
4181
  }
4182
- ne(
4183
- [ce],
4182
+ ie(
4183
+ [fe],
4184
4184
  ([e]) => Object.keys(e)
4185
4185
  );
4186
- ce.subscribe((e) => et = e);
4187
- const ve = {};
4188
- function Si(e, t) {
4189
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4186
+ fe.subscribe((e) => tt = e);
4187
+ const _e = {};
4188
+ function wi(e, t) {
4189
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4190
4190
  }
4191
- function mr(e) {
4192
- return ve[e];
4191
+ function br(e) {
4192
+ return _e[e];
4193
4193
  }
4194
- function wi(e) {
4195
- return Be(e).map((t) => {
4196
- const r = mr(t);
4194
+ function Ti(e) {
4195
+ return Pe(e).map((t) => {
4196
+ const r = br(t);
4197
4197
  return [t, r ? [...r] : []];
4198
4198
  }).filter(([, t]) => t.length > 0);
4199
4199
  }
4200
- function qe(e) {
4201
- return e == null ? !1 : Be(e).some(
4200
+ function Ye(e) {
4201
+ return e == null ? !1 : Pe(e).some(
4202
4202
  (t) => {
4203
4203
  var r;
4204
- return (r = mr(t)) == null ? void 0 : r.size;
4204
+ return (r = br(t)) == null ? void 0 : r.size;
4205
4205
  }
4206
4206
  );
4207
4207
  }
4208
- function Ti(e, t) {
4208
+ function Hi(e, t) {
4209
4209
  return Promise.all(
4210
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4211
- ).then((n) => pr(e, ...n));
4212
- }
4213
- const se = {};
4214
- function br(e) {
4215
- if (!qe(e))
4216
- return e in se ? se[e] : Promise.resolve();
4217
- const t = wi(e);
4218
- return se[e] = Promise.all(
4210
+ t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4211
+ ).then((n) => mr(e, ...n));
4212
+ }
4213
+ const ae = {};
4214
+ function yr(e) {
4215
+ if (!Ye(e))
4216
+ return e in ae ? ae[e] : Promise.resolve();
4217
+ const t = Ti(e);
4218
+ return ae[e] = Promise.all(
4219
4219
  t.map(
4220
- ([r, n]) => Ti(r, n)
4220
+ ([r, n]) => Hi(r, n)
4221
4221
  )
4222
4222
  ).then(() => {
4223
- if (qe(e))
4224
- return br(e);
4225
- delete se[e];
4226
- }), se[e];
4223
+ if (Ye(e))
4224
+ return yr(e);
4225
+ delete ae[e];
4226
+ }), ae[e];
4227
4227
  }
4228
- const Hi = {
4228
+ const Bi = {
4229
4229
  number: {
4230
4230
  scientific: { notation: "scientific" },
4231
4231
  engineering: { notation: "engineering" },
@@ -4254,135 +4254,135 @@ const Hi = {
4254
4254
  timeZoneName: "short"
4255
4255
  }
4256
4256
  }
4257
- }, Bi = {
4257
+ }, Pi = {
4258
4258
  fallbackLocale: null,
4259
4259
  loadingDelay: 200,
4260
- formats: Hi,
4260
+ formats: Bi,
4261
4261
  warnOnMissingMessages: !0,
4262
4262
  handleMissingMessage: void 0,
4263
4263
  ignoreTag: !0
4264
- }, Pi = Bi;
4265
- function re() {
4266
- return Pi;
4264
+ }, Ai = Pi;
4265
+ function ne() {
4266
+ return Ai;
4267
4267
  }
4268
- const Re = Te(!1);
4269
- var Ai = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
4268
+ const $e = He(!1);
4269
+ var Oi = Object.defineProperty, Ii = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ni = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4270
4270
  for (var r in t || (t = {}))
4271
- Ci.call(t, r) && Ht(e, r, t[r]);
4272
- if (Tt)
4273
- for (var r of Tt(t))
4274
- Li.call(t, r) && Ht(e, r, t[r]);
4271
+ Li.call(t, r) && Bt(e, r, t[r]);
4272
+ if (Ht)
4273
+ for (var r of Ht(t))
4274
+ Ni.call(t, r) && Bt(e, r, t[r]);
4275
4275
  return e;
4276
- }, Mi = (e, t) => Oi(e, Ii(t));
4277
- let Ye;
4278
- const _e = Te(null);
4279
- function Bt(e) {
4276
+ }, Ri = (e, t) => Ii(e, Ci(t));
4277
+ let Ke;
4278
+ const Ee = He(null);
4279
+ function Pt(e) {
4280
4280
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4281
4281
  }
4282
- function Be(e, t = re().fallbackLocale) {
4283
- const r = Bt(e);
4284
- return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4282
+ function Pe(e, t = ne().fallbackLocale) {
4283
+ const r = Pt(e);
4284
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4285
4285
  }
4286
4286
  function z() {
4287
- return Ye != null ? Ye : void 0;
4287
+ return Ke != null ? Ke : void 0;
4288
4288
  }
4289
- _e.subscribe((e) => {
4290
- Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4289
+ Ee.subscribe((e) => {
4290
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4291
4291
  });
4292
- const Ri = (e) => {
4293
- if (e && xi(e) && qe(e)) {
4294
- const { loadingDelay: t } = re();
4292
+ const $i = (e) => {
4293
+ if (e && Si(e) && Ye(e)) {
4294
+ const { loadingDelay: t } = ne();
4295
4295
  let r;
4296
4296
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
4297
- () => Re.set(!0),
4297
+ () => $e.set(!0),
4298
4298
  t
4299
- ) : Re.set(!0), br(e).then(() => {
4300
- _e.set(e);
4299
+ ) : $e.set(!0), yr(e).then(() => {
4300
+ Ee.set(e);
4301
4301
  }).finally(() => {
4302
- clearTimeout(r), Re.set(!1);
4302
+ clearTimeout(r), $e.set(!1);
4303
4303
  });
4304
4304
  }
4305
- return _e.set(e);
4306
- }, ie = Mi(Ni({}, _e), {
4307
- set: Ri
4308
- }), Pe = (e) => {
4305
+ return Ee.set(e);
4306
+ }, oe = Ri(Mi({}, Ee), {
4307
+ set: $i
4308
+ }), Ae = (e) => {
4309
4309
  const t = /* @__PURE__ */ Object.create(null);
4310
4310
  return (n) => {
4311
4311
  const i = JSON.stringify(n);
4312
4312
  return i in t ? t[i] : t[i] = e(n);
4313
4313
  };
4314
4314
  };
4315
- var $i = Object.defineProperty, Ee = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4315
+ var Di = Object.defineProperty, xe = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4316
4316
  for (var r in t || (t = {}))
4317
- yr.call(t, r) && Pt(e, r, t[r]);
4318
- if (Ee)
4319
- for (var r of Ee(t))
4320
- gr.call(t, r) && Pt(e, r, t[r]);
4317
+ gr.call(t, r) && At(e, r, t[r]);
4318
+ if (xe)
4319
+ for (var r of xe(t))
4320
+ vr.call(t, r) && At(e, r, t[r]);
4321
4321
  return e;
4322
- }, oe = (e, t) => {
4322
+ }, se = (e, t) => {
4323
4323
  var r = {};
4324
4324
  for (var n in e)
4325
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4326
- if (e != null && Ee)
4327
- for (var n of Ee(e))
4328
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4325
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4326
+ if (e != null && xe)
4327
+ for (var n of xe(e))
4328
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4329
4329
  return r;
4330
4330
  };
4331
- const he = (e, t) => {
4332
- const { formats: r } = re();
4331
+ const ce = (e, t) => {
4332
+ const { formats: r } = ne();
4333
4333
  if (e in r && t in r[e])
4334
4334
  return r[e][t];
4335
4335
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4336
- }, Di = Pe(
4336
+ }, Ui = Ae(
4337
4337
  (e) => {
4338
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4338
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4339
4339
  if (r == null)
4340
4340
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4341
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4341
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
4342
4342
  }
4343
- ), Ui = Pe(
4343
+ ), Gi = Ae(
4344
4344
  (e) => {
4345
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4345
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4346
4346
  if (r == null)
4347
4347
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4348
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4348
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
4349
4349
  }
4350
- ), Gi = Pe(
4350
+ ), Fi = Ae(
4351
4351
  (e) => {
4352
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4352
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
4353
4353
  if (r == null)
4354
4354
  throw new Error(
4355
4355
  '[svelte-i18n] A "locale" must be set to format time values'
4356
4356
  );
4357
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4357
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
4358
4358
  }
4359
- ), Fi = (e = {}) => {
4359
+ ), ji = (e = {}) => {
4360
4360
  var t = e, {
4361
4361
  locale: r = z()
4362
- } = t, n = oe(t, [
4362
+ } = t, n = se(t, [
4363
4363
  "locale"
4364
4364
  ]);
4365
- return Di(tt({ locale: r }, n));
4366
- }, ji = (e = {}) => {
4365
+ return Ui(rt({ locale: r }, n));
4366
+ }, ki = (e = {}) => {
4367
4367
  var t = e, {
4368
4368
  locale: r = z()
4369
- } = t, n = oe(t, [
4369
+ } = t, n = se(t, [
4370
4370
  "locale"
4371
4371
  ]);
4372
- return Ui(tt({ locale: r }, n));
4373
- }, ki = (e = {}) => {
4372
+ return Gi(rt({ locale: r }, n));
4373
+ }, Vi = (e = {}) => {
4374
4374
  var t = e, {
4375
4375
  locale: r = z()
4376
- } = t, n = oe(t, [
4376
+ } = t, n = se(t, [
4377
4377
  "locale"
4378
4378
  ]);
4379
- return Gi(tt({ locale: r }, n));
4380
- }, Vi = Pe(
4379
+ return Fi(rt({ locale: r }, n));
4380
+ }, Xi = Ae(
4381
4381
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4382
- (e, t = z()) => new yi(e, t, re().formats, {
4383
- ignoreTag: re().ignoreTag
4382
+ (e, t = z()) => new gi(e, t, ne().formats, {
4383
+ ignoreTag: ne().ignoreTag
4384
4384
  })
4385
- ), Xi = (e, t = {}) => {
4385
+ ), Wi = (e, t = {}) => {
4386
4386
  var r, n, i, o;
4387
4387
  let s = t;
4388
4388
  typeof e == "object" && (s = e, e = s.id);
@@ -4395,9 +4395,9 @@ const he = (e, t) => {
4395
4395
  throw new Error(
4396
4396
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4397
4397
  );
4398
- let h = fr(e, l);
4398
+ let h = dr(e, l);
4399
4399
  if (!h)
4400
- 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;
4400
+ 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;
4401
4401
  else if (typeof h != "string")
4402
4402
  return console.warn(
4403
4403
  `[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.`
@@ -4406,7 +4406,7 @@ const he = (e, t) => {
4406
4406
  return h;
4407
4407
  let f = h;
4408
4408
  try {
4409
- f = Vi(h, l).format(a);
4409
+ f = Xi(h, l).format(a);
4410
4410
  } catch (c) {
4411
4411
  c instanceof Error && console.warn(
4412
4412
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4414,16 +4414,16 @@ const he = (e, t) => {
4414
4414
  );
4415
4415
  }
4416
4416
  return f;
4417
- }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = z()) => fr(e, t), Ji = ne([ie, ce], () => Xi);
4418
- ne([ie], () => Wi);
4419
- ne([ie], () => zi);
4420
- ne([ie], () => Zi);
4421
- ne([ie, ce], () => Qi);
4422
- window.emWidgets = { topic: ln };
4423
- const vr = (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)), qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4424
- function Oo(e, t) {
4417
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Ji = (e, t = z()) => dr(e, t), qi = ie([oe, fe], () => Wi);
4418
+ ie([oe], () => zi);
4419
+ ie([oe], () => Zi);
4420
+ ie([oe], () => Qi);
4421
+ ie([oe, fe], () => Ji);
4422
+ window.emWidgets = { topic: hn };
4423
+ const _r = (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)), Yi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4424
+ function Io(e, t) {
4425
4425
  const r = window.navigator.userAgent;
4426
- return vr(r) ? t = e.filter((n) => {
4426
+ return _r(r) ? t = e.filter((n) => {
4427
4427
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4428
4428
  return n;
4429
4429
  }) : t = e.filter((n) => {
@@ -4431,13 +4431,13 @@ function Oo(e, t) {
4431
4431
  return n;
4432
4432
  }), t;
4433
4433
  }
4434
- function Yi(e, t) {
4434
+ function Ki(e, t) {
4435
4435
  if (e) {
4436
4436
  const r = document.createElement("style");
4437
4437
  r.innerHTML = t, e.appendChild(r);
4438
4438
  }
4439
4439
  }
4440
- function Ki(e, t) {
4440
+ function eo(e, t) {
4441
4441
  const r = new URL(t);
4442
4442
  fetch(r.href).then((n) => n.text()).then((n) => {
4443
4443
  const i = document.createElement("style");
@@ -4446,7 +4446,7 @@ function Ki(e, t) {
4446
4446
  console.error("There was an error while trying to load client styling from URL", n);
4447
4447
  });
4448
4448
  }
4449
- function eo(e, t, r) {
4449
+ function to(e, t, r) {
4450
4450
  if (window.emMessageBus) {
4451
4451
  const n = document.createElement("style");
4452
4452
  window.emMessageBus.subscribe(t, (i) => {
@@ -4454,13 +4454,13 @@ function eo(e, t, r) {
4454
4454
  });
4455
4455
  }
4456
4456
  }
4457
- function At(e, t) {
4458
- pr(e, t);
4457
+ function Ot(e, t) {
4458
+ mr(e, t);
4459
4459
  }
4460
- function to(e) {
4461
- ie.set(e);
4460
+ function ro(e) {
4461
+ oe.set(e);
4462
4462
  }
4463
- const Ot = {
4463
+ const It = {
4464
4464
  en: {
4465
4465
  error: "500 Error - Internal Server Error"
4466
4466
  },
@@ -4492,7 +4492,7 @@ if (typeof window != "undefined") {
4492
4492
  }
4493
4493
  };
4494
4494
  };
4495
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Dv1jxPLQ.js").then(({ default: t }) => {
4495
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-DOhd-4ZT.js").then(({ default: t }) => {
4496
4496
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4497
4497
  });
4498
4498
  }
@@ -4508,70 +4508,70 @@ if (typeof window != "undefined") {
4508
4508
  }
4509
4509
  };
4510
4510
  };
4511
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BBaphFv2.js").then(({ default: t }) => {
4511
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-I0d1EuRW.js").then(({ default: t }) => {
4512
4512
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4513
4513
  });
4514
4514
  }
4515
- function ro(e) {
4516
- Ar(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
+ function no(e) {
4516
+ Or(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
4517
4517
  }.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)}}`);
4518
4518
  }
4519
- function It(e, t, r) {
4519
+ function Ct(e, t, r) {
4520
4520
  const n = e.slice();
4521
- return n[25] = t[r], n[27] = r, n;
4521
+ return n[26] = t[r], n[28] = r, n;
4522
4522
  }
4523
- function no(e) {
4524
- let t, r, n, i = ut(
4523
+ function io(e) {
4524
+ let t, r, n, i = lt(
4525
4525
  /*calendarCollections*/
4526
4526
  e[6]
4527
4527
  ), o = [];
4528
4528
  for (let a = 0; a < i.length; a += 1)
4529
- o[a] = Ct(It(e, i, a));
4529
+ o[a] = Lt(Ct(e, i, a));
4530
4530
  let s = (
4531
4531
  /*calendarModalOpened*/
4532
- e[11] == !0 && Lt(e)
4532
+ e[11] == !0 && Nt(e)
4533
4533
  );
4534
4534
  return {
4535
4535
  c() {
4536
4536
  t = $("div");
4537
4537
  for (let a = 0; a < o.length; a += 1)
4538
4538
  o[a].c();
4539
- r = Nr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4539
+ r = Mr(), s && s.c(), k(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4540
4540
  (e[10] ? "Mobile" : "") + " svelte-61avp5");
4541
4541
  },
4542
4542
  m(a, l) {
4543
4543
  V(a, t, l);
4544
4544
  for (let u = 0; u < o.length; u += 1)
4545
4545
  o[u] && o[u].m(t, null);
4546
- Se(t, r), s && s.m(t, null);
4546
+ we(t, r), s && s.m(t, null);
4547
4547
  },
4548
4548
  p(a, l) {
4549
4549
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4550
4550
  95) {
4551
- i = ut(
4551
+ i = lt(
4552
4552
  /*calendarCollections*/
4553
4553
  a[6]
4554
4554
  );
4555
4555
  let u;
4556
4556
  for (u = 0; u < i.length; u += 1) {
4557
- const h = It(a, i, u);
4558
- o[u] ? o[u].p(h, l) : (o[u] = Ct(h), o[u].c(), o[u].m(t, r));
4557
+ const h = Ct(a, i, u);
4558
+ o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4559
4559
  }
4560
4560
  for (; u < o.length; u += 1)
4561
4561
  o[u].d(1);
4562
4562
  o.length = i.length;
4563
4563
  }
4564
4564
  /*calendarModalOpened*/
4565
- a[11] == !0 ? s ? s.p(a, l) : (s = Lt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4565
+ a[11] == !0 ? s ? s.p(a, l) : (s = Nt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4566
4566
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4567
4567
  (a[10] ? "Mobile" : "") + " svelte-61avp5") && k(t, "class", n);
4568
4568
  },
4569
4569
  d(a) {
4570
- a && U(t), Cr(o, a), s && s.d();
4570
+ a && U(t), Lr(o, a), s && s.d();
4571
4571
  }
4572
4572
  };
4573
4573
  }
4574
- function io(e) {
4574
+ function oo(e) {
4575
4575
  let t;
4576
4576
  return {
4577
4577
  c() {
@@ -4586,68 +4586,68 @@ function io(e) {
4586
4586
  }
4587
4587
  };
4588
4588
  }
4589
- function oo(e) {
4589
+ function so(e) {
4590
4590
  let t, r = (
4591
4591
  /*$_*/
4592
4592
  e[12]("error") + ""
4593
4593
  ), n;
4594
4594
  return {
4595
4595
  c() {
4596
- t = $("p"), n = Ke(r), k(t, "class", "SearchLoading svelte-61avp5");
4596
+ t = $("p"), n = et(r), k(t, "class", "SearchLoading svelte-61avp5");
4597
4597
  },
4598
4598
  m(i, o) {
4599
- V(i, t, o), Se(t, n);
4599
+ V(i, t, o), we(t, n);
4600
4600
  },
4601
4601
  p(i, o) {
4602
4602
  o & /*$_*/
4603
4603
  4096 && r !== (r = /*$_*/
4604
- i[12]("error") + "") && Rr(n, r);
4604
+ i[12]("error") + "") && $r(n, r);
4605
4605
  },
4606
4606
  d(i) {
4607
4607
  i && U(t);
4608
4608
  }
4609
4609
  };
4610
4610
  }
4611
- function Ct(e) {
4611
+ function Lt(e) {
4612
4612
  let t, r, n, i, o, s;
4613
4613
  return {
4614
4614
  c() {
4615
- t = $("casino-calendar-daily-item"), p(t, "dailybackground", r = /*dailyCalendarData*/
4616
- e[25].dailyBackground), p(t, "dailyicon", n = /*dailyCalendarData*/
4617
- e[25].dailyIcon), p(t, "dailyday", i = /*dailyCalendarData*/
4618
- e[25].dailyDay), p(t, "dailydescription", o = /*dailyCalendarData*/
4619
- e[25].dailyDescription), p(t, "dailybuttontitle", s = /*dailyCalendarData*/
4620
- e[25].dailyButtonTitle), p(
4615
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4616
+ e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4617
+ e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4618
+ e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
4619
+ e[26].dailyDescription), d(t, "dailybuttontitle", s = /*dailyCalendarData*/
4620
+ e[26].dailyButtonTitle), d(
4621
4621
  t,
4622
4622
  "index",
4623
4623
  /*index*/
4624
- e[27]
4625
- ), p(
4624
+ e[28]
4625
+ ), d(
4626
4626
  t,
4627
4627
  "lang",
4628
4628
  /*lang*/
4629
4629
  e[0]
4630
- ), p(
4630
+ ), d(
4631
4631
  t,
4632
4632
  "clientstyling",
4633
4633
  /*clientstyling*/
4634
4634
  e[1]
4635
- ), p(
4635
+ ), d(
4636
4636
  t,
4637
4637
  "clientstylingurl",
4638
4638
  /*clientstylingurl*/
4639
4639
  e[2]
4640
- ), p(
4640
+ ), d(
4641
4641
  t,
4642
4642
  "mbsource",
4643
4643
  /*mbsource*/
4644
4644
  e[4]
4645
- ), p(
4645
+ ), d(
4646
4646
  t,
4647
4647
  "translationurl",
4648
4648
  /*translationurl*/
4649
4649
  e[3]
4650
- ), p(t, "class", "svelte-61avp5");
4650
+ ), d(t, "class", "svelte-61avp5");
4651
4651
  },
4652
4652
  m(a, l) {
4653
4653
  V(a, t, l);
@@ -4655,40 +4655,40 @@ function Ct(e) {
4655
4655
  p(a, l) {
4656
4656
  l & /*calendarCollections*/
4657
4657
  64 && r !== (r = /*dailyCalendarData*/
4658
- a[25].dailyBackground) && p(t, "dailybackground", r), l & /*calendarCollections*/
4658
+ a[26].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
4659
4659
  64 && n !== (n = /*dailyCalendarData*/
4660
- a[25].dailyIcon) && p(t, "dailyicon", n), l & /*calendarCollections*/
4660
+ a[26].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
4661
4661
  64 && i !== (i = /*dailyCalendarData*/
4662
- a[25].dailyDay) && p(t, "dailyday", i), l & /*calendarCollections*/
4662
+ a[26].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
4663
4663
  64 && o !== (o = /*dailyCalendarData*/
4664
- a[25].dailyDescription) && p(t, "dailydescription", o), l & /*calendarCollections*/
4664
+ a[26].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
4665
4665
  64 && s !== (s = /*dailyCalendarData*/
4666
- a[25].dailyButtonTitle) && p(t, "dailybuttontitle", s), l & /*lang*/
4667
- 1 && p(
4666
+ a[26].dailyButtonTitle) && d(t, "dailybuttontitle", s), l & /*lang*/
4667
+ 1 && d(
4668
4668
  t,
4669
4669
  "lang",
4670
4670
  /*lang*/
4671
4671
  a[0]
4672
4672
  ), l & /*clientstyling*/
4673
- 2 && p(
4673
+ 2 && d(
4674
4674
  t,
4675
4675
  "clientstyling",
4676
4676
  /*clientstyling*/
4677
4677
  a[1]
4678
4678
  ), l & /*clientstylingurl*/
4679
- 4 && p(
4679
+ 4 && d(
4680
4680
  t,
4681
4681
  "clientstylingurl",
4682
4682
  /*clientstylingurl*/
4683
4683
  a[2]
4684
4684
  ), l & /*mbsource*/
4685
- 16 && p(
4685
+ 16 && d(
4686
4686
  t,
4687
4687
  "mbsource",
4688
4688
  /*mbsource*/
4689
4689
  a[4]
4690
4690
  ), l & /*translationurl*/
4691
- 8 && p(
4691
+ 8 && d(
4692
4692
  t,
4693
4693
  "translationurl",
4694
4694
  /*translationurl*/
@@ -4700,63 +4700,63 @@ function Ct(e) {
4700
4700
  }
4701
4701
  };
4702
4702
  }
4703
- function Lt(e) {
4703
+ function Nt(e) {
4704
4704
  let t, r, n, i, o, s, a, l;
4705
4705
  return {
4706
4706
  c() {
4707
- t = $("div"), r = $("casino-calendar-daily-details"), p(r, "dailybackground", n = /*calendarCollections*/
4707
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4708
4708
  e[6][
4709
4709
  /*selectedIndex*/
4710
4710
  e[7]
4711
- ].dailyBackground), p(r, "dailybuttontitle", i = /*calendarCollections*/
4711
+ ].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
4712
4712
  e[6][
4713
4713
  /*selectedIndex*/
4714
4714
  e[7]
4715
- ].dailyButtonTitle), p(r, "dailyday", o = /*calendarCollections*/
4715
+ ].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
4716
4716
  e[6][
4717
4717
  /*selectedIndex*/
4718
4718
  e[7]
4719
- ].dailyDay), p(r, "dailydescription", s = /*calendarCollections*/
4719
+ ].dailyDay), d(r, "dailydescription", s = /*calendarCollections*/
4720
4720
  e[6][
4721
4721
  /*selectedIndex*/
4722
4722
  e[7]
4723
- ].dailyDescription), p(r, "dailyicon", a = /*calendarCollections*/
4723
+ ].dailyDescription), d(r, "dailyicon", a = /*calendarCollections*/
4724
4724
  e[6][
4725
4725
  /*selectedIndex*/
4726
4726
  e[7]
4727
- ].dailyIcon), p(r, "dailytitle", l = /*calendarCollections*/
4727
+ ].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
4728
4728
  e[6][
4729
4729
  /*selectedIndex*/
4730
4730
  e[7]
4731
- ].dailyTitle), p(
4731
+ ].dailyTitle), d(
4732
4732
  r,
4733
4733
  "lang",
4734
4734
  /*lang*/
4735
4735
  e[0]
4736
- ), p(
4736
+ ), d(
4737
4737
  r,
4738
4738
  "clientstyling",
4739
4739
  /*clientstyling*/
4740
4740
  e[1]
4741
- ), p(
4741
+ ), d(
4742
4742
  r,
4743
4743
  "clientstylingurl",
4744
4744
  /*clientstylingurl*/
4745
4745
  e[2]
4746
- ), p(
4746
+ ), d(
4747
4747
  r,
4748
4748
  "mbsource",
4749
4749
  /*mbsource*/
4750
4750
  e[4]
4751
- ), p(
4751
+ ), d(
4752
4752
  r,
4753
4753
  "translationurl",
4754
4754
  /*translationurl*/
4755
4755
  e[3]
4756
- ), p(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4756
+ ), d(r, "class", "svelte-61avp5"), k(t, "class", "CalendarDetailsWrapper svelte-61avp5");
4757
4757
  },
4758
4758
  m(u, h) {
4759
- V(u, t, h), Se(t, r);
4759
+ V(u, t, h), we(t, r);
4760
4760
  },
4761
4761
  p(u, h) {
4762
4762
  h & /*calendarCollections, selectedIndex*/
@@ -4764,57 +4764,57 @@ function Lt(e) {
4764
4764
  u[6][
4765
4765
  /*selectedIndex*/
4766
4766
  u[7]
4767
- ].dailyBackground) && p(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4767
+ ].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4768
4768
  192 && i !== (i = /*calendarCollections*/
4769
4769
  u[6][
4770
4770
  /*selectedIndex*/
4771
4771
  u[7]
4772
- ].dailyButtonTitle) && p(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4772
+ ].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4773
4773
  192 && o !== (o = /*calendarCollections*/
4774
4774
  u[6][
4775
4775
  /*selectedIndex*/
4776
4776
  u[7]
4777
- ].dailyDay) && p(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4777
+ ].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4778
4778
  192 && s !== (s = /*calendarCollections*/
4779
4779
  u[6][
4780
4780
  /*selectedIndex*/
4781
4781
  u[7]
4782
- ].dailyDescription) && p(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4782
+ ].dailyDescription) && d(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4783
4783
  192 && a !== (a = /*calendarCollections*/
4784
4784
  u[6][
4785
4785
  /*selectedIndex*/
4786
4786
  u[7]
4787
- ].dailyIcon) && p(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4787
+ ].dailyIcon) && d(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4788
4788
  192 && l !== (l = /*calendarCollections*/
4789
4789
  u[6][
4790
4790
  /*selectedIndex*/
4791
4791
  u[7]
4792
- ].dailyTitle) && p(r, "dailytitle", l), h & /*lang*/
4793
- 1 && p(
4792
+ ].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
4793
+ 1 && d(
4794
4794
  r,
4795
4795
  "lang",
4796
4796
  /*lang*/
4797
4797
  u[0]
4798
4798
  ), h & /*clientstyling*/
4799
- 2 && p(
4799
+ 2 && d(
4800
4800
  r,
4801
4801
  "clientstyling",
4802
4802
  /*clientstyling*/
4803
4803
  u[1]
4804
4804
  ), h & /*clientstylingurl*/
4805
- 4 && p(
4805
+ 4 && d(
4806
4806
  r,
4807
4807
  "clientstylingurl",
4808
4808
  /*clientstylingurl*/
4809
4809
  u[2]
4810
4810
  ), h & /*mbsource*/
4811
- 16 && p(
4811
+ 16 && d(
4812
4812
  r,
4813
4813
  "mbsource",
4814
4814
  /*mbsource*/
4815
4815
  u[4]
4816
4816
  ), h & /*translationurl*/
4817
- 8 && p(
4817
+ 8 && d(
4818
4818
  r,
4819
4819
  "translationurl",
4820
4820
  /*translationurl*/
@@ -4826,7 +4826,7 @@ function Lt(e) {
4826
4826
  }
4827
4827
  };
4828
4828
  }
4829
- function so(e) {
4829
+ function ao(e) {
4830
4830
  let t;
4831
4831
  function r(o, s) {
4832
4832
  var a;
@@ -4834,17 +4834,17 @@ function so(e) {
4834
4834
  /*hasErrors*/
4835
4835
  o[9]
4836
4836
  )
4837
- return oo;
4837
+ return so;
4838
4838
  if (
4839
4839
  /*isLoading*/
4840
4840
  o[8]
4841
4841
  )
4842
- return io;
4842
+ return oo;
4843
4843
  if (
4844
4844
  /*calendarCollections*/
4845
4845
  (a = o[6]) != null && a.length
4846
4846
  )
4847
- return no;
4847
+ return io;
4848
4848
  }
4849
4849
  let n = r(e), i = n && n(e);
4850
4850
  return {
@@ -4864,43 +4864,46 @@ function so(e) {
4864
4864
  }
4865
4865
  };
4866
4866
  }
4867
- function ao(e, t, r) {
4867
+ function uo(e, t, r) {
4868
4868
  let n;
4869
- Pr(e, Ji, (d) => r(12, n = d));
4869
+ Ar(e, qi, (p) => r(12, n = p));
4870
4870
  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, S = !1, I = !1, P = window.navigator.userAgent, w = !1;
4871
4871
  const N = () => {
4872
- to(a);
4872
+ ro(a);
4873
4873
  };
4874
- Object.keys(Ot).forEach((d) => {
4875
- At(d, Ot[d]);
4874
+ Object.keys(It).forEach((p) => {
4875
+ Ot(p, It[p]);
4876
4876
  });
4877
4877
  const C = () => {
4878
- let d = h;
4879
- if (d)
4880
- return fetch(d).then((B) => B.json()).then((B) => {
4878
+ let p = h;
4879
+ if (p)
4880
+ return fetch(p).then((B) => B.json()).then((B) => {
4881
4881
  Object.keys(B).forEach((F) => {
4882
- At(F, B[F]);
4882
+ Ot(F, B[F]);
4883
4883
  });
4884
4884
  }).catch((B) => {
4885
4885
  console.log(B);
4886
4886
  });
4887
4887
  }, M = () => {
4888
4888
  r(8, g = !0);
4889
- let d = new URL(`${i}/${a}/daily-calendar`);
4890
- d.searchParams.append("userRoles", s), d.searchParams.append("env", o);
4891
- let B = qi(P);
4892
- 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) => {
4889
+ let p = new URL(`${i}/${a}/daily-calendar`);
4890
+ p.searchParams.append("userRoles", s), p.searchParams.append("env", o);
4891
+ let B = Yi(P);
4892
+ 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) => {
4893
4893
  r(6, m = F);
4894
4894
  }).catch((F) => {
4895
4895
  console.log(F), r(9, S = !0);
4896
4896
  }).finally(() => {
4897
- r(8, g = !1);
4897
+ x(), r(8, g = !1);
4898
4898
  });
4899
4899
  }, x = () => {
4900
+ const p = c.getRootNode().host;
4901
+ p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4902
+ }, L = () => {
4900
4903
  M();
4901
- }, A = (d) => {
4904
+ }, A = (p) => {
4902
4905
  var B;
4903
- d.data && d.data.type == "OpenCalendar" && (r(7, b = d.data.index), r(11, w = !0), window.postMessage(
4906
+ p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4904
4907
  {
4905
4908
  type: "ShowModal",
4906
4909
  selectedIndex: b,
@@ -4910,24 +4913,24 @@ function ao(e, t, r) {
4910
4913
  ), window.postMessage({
4911
4914
  type: "DailyEventsData",
4912
4915
  data: (B = m[b]) == null ? void 0 : B.dailyEvents
4913
- })), d.data && d.data.type == "ModalClosed" && r(11, w = !1);
4916
+ })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4914
4917
  };
4915
- Dr(() => (window.addEventListener("message", A, !1), vr(P) && r(10, I = !0), () => {
4918
+ Ur(() => (window.addEventListener("message", A, !1), _r(P) && r(10, I = !0), () => {
4916
4919
  window.removeEventListener("message", A);
4917
4920
  }));
4918
- function L(d) {
4919
- $e[d ? "unshift" : "push"](() => {
4920
- c = d, r(5, c);
4921
+ function Z(p) {
4922
+ De[p ? "unshift" : "push"](() => {
4923
+ c = p, r(5, c);
4921
4924
  });
4922
4925
  }
4923
- return e.$$set = (d) => {
4924
- "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);
4926
+ return e.$$set = (p) => {
4927
+ "cmsendpoint" in p && r(13, i = p.cmsendpoint), "env" in p && r(14, o = p.env), "userroles" in p && r(15, s = p.userroles), "lang" in p && r(0, a = p.lang), "clientstyling" in p && r(1, l = p.clientstyling), "clientstylingurl" in p && r(2, u = p.clientstylingurl), "translationurl" in p && r(3, h = p.translationurl), "mbsource" in p && r(4, f = p.mbsource);
4925
4928
  }, e.$$.update = () => {
4926
4929
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4927
- 57345 && i && a && o && s && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4928
- 34 && l && c && Yi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4929
- 36 && u && c && Ki(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4930
- 48 && c && eo(c, `${f}.Style`), e.$$.dirty & /*lang*/
4930
+ 57345 && i && a && o && s && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4931
+ 34 && l && c && Ki(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4932
+ 36 && u && c && eo(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4933
+ 48 && c && to(c, `${f}.Style`), e.$$.dirty & /*lang*/
4931
4934
  1 && a && N(), e.$$.dirty & /*lang, translationurl*/
4932
4935
  9 && a && h && C();
4933
4936
  }, [
@@ -4947,17 +4950,17 @@ function ao(e, t, r) {
4947
4950
  i,
4948
4951
  o,
4949
4952
  s,
4950
- L
4953
+ Z
4951
4954
  ];
4952
4955
  }
4953
- class _r extends Wr {
4956
+ class Er extends zr {
4954
4957
  constructor(t) {
4955
- super(), Vr(
4958
+ super(), Xr(
4956
4959
  this,
4957
4960
  t,
4961
+ uo,
4958
4962
  ao,
4959
- so,
4960
- Mt,
4963
+ Rt,
4961
4964
  {
4962
4965
  cmsendpoint: 13,
4963
4966
  env: 14,
@@ -4968,7 +4971,7 @@ class _r extends Wr {
4968
4971
  translationurl: 3,
4969
4972
  mbsource: 4
4970
4973
  },
4971
- ro
4974
+ no
4972
4975
  );
4973
4976
  }
4974
4977
  get cmsendpoint() {
@@ -5020,66 +5023,66 @@ class _r extends Wr {
5020
5023
  this.$$set({ mbsource: t }), R();
5021
5024
  }
5022
5025
  }
5023
- Xr(_r, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5024
- const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5026
+ Wr(Er, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5027
+ const Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5025
5028
  __proto__: null,
5026
- default: _r
5029
+ default: Er
5027
5030
  }, Symbol.toStringTag, { value: "Module" }));
5028
5031
  export {
5029
- ie as $,
5030
- yo as A,
5031
- Nr as B,
5032
- $e as C,
5033
- lo as D,
5034
- Lr as E,
5035
- bo as F,
5036
- _o as G,
5037
- xo as H,
5038
- Yi as I,
5039
- Ki as J,
5040
- eo as K,
5041
- Xr as L,
5042
- Ji as M,
5032
+ oe as $,
5033
+ go as A,
5034
+ Mr as B,
5035
+ De as C,
5036
+ ho as D,
5037
+ Nr as E,
5038
+ yo as F,
5039
+ Eo as G,
5040
+ So as H,
5041
+ Ki as I,
5042
+ eo as J,
5043
+ to as K,
5044
+ Wr as L,
5045
+ qi as M,
5043
5046
  W as N,
5044
- go as O,
5045
- ce as P,
5046
- p as Q,
5047
- qi as R,
5048
- Wr as S,
5049
- vo as T,
5050
- Eo as U,
5051
- wo as V,
5052
- Oo as W,
5053
- Ao as X,
5054
- Po as Y,
5055
- So as Z,
5056
- mo as _,
5057
- pr as a,
5058
- xe as a0,
5059
- Io as a1,
5060
- Ar as b,
5061
- Ft as c,
5047
+ vo as O,
5048
+ fe as P,
5049
+ d as Q,
5050
+ Yi as R,
5051
+ zr as S,
5052
+ _o as T,
5053
+ xo as U,
5054
+ bo as V,
5055
+ To as W,
5056
+ Io as X,
5057
+ Oo as Y,
5058
+ Ao as Z,
5059
+ wo as _,
5060
+ mr as a,
5061
+ Se as a0,
5062
+ Co as a1,
5063
+ Or as b,
5064
+ jt as c,
5062
5065
  U as d,
5063
- Ho as e,
5066
+ Bo as e,
5064
5067
  R as f,
5065
- To as g,
5068
+ Ho as g,
5066
5069
  V as h,
5067
- Vr as i,
5070
+ Xr as i,
5068
5071
  $ as j,
5069
- Pr as k,
5070
- vr as l,
5071
- Rr as m,
5072
+ Ar as k,
5073
+ _r as l,
5074
+ $r as m,
5072
5075
  O as n,
5073
- Dr as o,
5074
- Se as p,
5075
- Ke as q,
5076
+ Ur as o,
5077
+ we as p,
5078
+ et as q,
5076
5079
  k as r,
5077
- Mt as s,
5078
- Bo as t,
5079
- ho as u,
5080
- ut as v,
5081
- Cr as w,
5082
- fo as x,
5083
- po as y,
5084
- co as z
5080
+ Rt as s,
5081
+ Po as t,
5082
+ co as u,
5083
+ lt as v,
5084
+ Lr as w,
5085
+ po as x,
5086
+ mo as y,
5087
+ fo as z
5085
5088
  };