@everymatrix/casino-lobby 1.86.4 → 1.86.5

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 (110) hide show
  1. package/components/CasinoCalendar-CDybCkBw.cjs +19 -0
  2. package/components/{CasinoCalendar-CTTcluAF.js → CasinoCalendar-DeuDpvc7.js} +1033 -1012
  3. package/components/{CasinoCalendar-g3C0yL-l.js → CasinoCalendar-qxlVRlx3.js} +849 -828
  4. package/components/{CasinoCalendarDailyDetails-MbSzyBl-.cjs → CasinoCalendarDailyDetails-0DzEjr4I.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C6NZu63m.js → CasinoCalendarDailyDetails-DgSA6Oos.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-BReSw0PH.js → CasinoCalendarDailyDetails-oDArpqk3.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-D_-hgIOG.js → CasinoCalendarDailyItem--x4C1v1R.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-vF8QUewM.cjs → CasinoCalendarDailyItem-BT_oTw81.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DW4bwJrg.js → CasinoCalendarDailyItem-D1UMrOrr.js} +34 -34
  10. package/components/{CasinoCategoriesSlider-uIpxZEDW.js → CasinoCategoriesSlider-BmkD2GJJ.js} +70 -70
  11. package/components/CasinoCategoriesSlider-CDsrUsbe.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-DLioXO8u.js → CasinoCategoriesSlider-DnJiwJ-i.js} +73 -73
  13. package/components/{CasinoCollectionsProviders-BDJPyhyP.js → CasinoCollectionsProviders-DS-cICru.js} +64 -64
  14. package/components/{CasinoCollectionsProviders-C66FXn8E.cjs → CasinoCollectionsProviders-KucGv4ev.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-l8Bj7gLF.js → CasinoCollectionsProviders-SF9NUz_s.js} +77 -77
  16. package/components/{CasinoFavoritesSection-1xjeruY9.js → CasinoFavoritesSection-DBOa4rLG.js} +19 -19
  17. package/components/{CasinoFavoritesSection-JbXta4ej.js → CasinoFavoritesSection-Q91WkZtR.js} +19 -19
  18. package/components/{CasinoFavoritesSection-flqQ1Txz.cjs → CasinoFavoritesSection-ioWl2WWa.cjs} +1 -1
  19. package/components/{CasinoFilter-DK1IJtKj.js → CasinoFilter-Iy2ZAp7X.js} +244 -245
  20. package/components/CasinoFilter-S-pUTxvR.cjs +1 -0
  21. package/components/{CasinoFilter-AWMGrvg7.js → CasinoFilter-WlNu83Yo.js} +223 -222
  22. package/components/CasinoGameThumbnail-B386-P3k.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-DgEB-dkM.js → CasinoGameThumbnail-Ddpsxirj.js} +1252 -1268
  24. package/components/{CasinoGameThumbnail-AMyBxNdq.js → CasinoGameThumbnail-yvrHp66V.js} +778 -762
  25. package/components/{CasinoGamesCategorySection-UbxtEgDx.js → CasinoGamesCategorySection-COcAuqTG.js} +301 -301
  26. package/components/{CasinoGamesCategorySection-blhrWiJn.js → CasinoGamesCategorySection-DDqd3M8L.js} +302 -302
  27. package/components/{CasinoGamesCategorySection-ZiaOwaIX.cjs → CasinoGamesCategorySection-DUgz8uau.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-sKWQEAXI.js → CasinoJackpotBanner-CuHjieHv.js} +89 -89
  29. package/components/{CasinoJackpotBanner-15vjCxeq.cjs → CasinoJackpotBanner-DEsoDJ4R.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-OEQ6kTNX.js → CasinoJackpotBanner-ovGVK744.js} +84 -84
  31. package/components/{CasinoLastPlayedSection-kM9yLvhD.cjs → CasinoLastPlayedSection-BHV-LRk1.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-DlDq9l_7.js → CasinoLastPlayedSection-C8WSFXnj.js} +33 -33
  33. package/components/{CasinoLastPlayedSection-Dv7S9x-o.js → CasinoLastPlayedSection-cSkPcLtL.js} +33 -33
  34. package/components/{CasinoLobby-Dho7eG4P.js → CasinoLobby-Bc2QHTe4.js} +59 -59
  35. package/components/{CasinoLobby-BknjaOeS.js → CasinoLobby-Bkj4ZQu6.js} +59 -59
  36. package/components/{CasinoLobby-odJbcWRR.cjs → CasinoLobby-Cs6HmQRu.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-CGxtqevB.js → CasinoMostPlayedSection-CQdqKCZj.js} +45 -45
  38. package/components/{CasinoMostPlayedSection-BJpdcEGe.cjs → CasinoMostPlayedSection-DsX-pIXm.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-PvqfZR6v.js → CasinoMostPlayedSection-smiwW5Ol.js} +45 -45
  40. package/components/{CasinoMyGames-Baaz8xfL.cjs → CasinoMyGames-CJ7rioBh.cjs} +1 -1
  41. package/components/{CasinoMyGames-C22R6240.js → CasinoMyGames-CYZ5nWjJ.js} +29 -29
  42. package/components/{CasinoMyGames-Cr-QJTaa.js → CasinoMyGames-CnnjGYeT.js} +29 -29
  43. package/components/{CasinoPage-BZnxTJSo.cjs → CasinoPage-BzASY7Hg.cjs} +1 -1
  44. package/components/{CasinoPage-DcXwVMup.js → CasinoPage-CUUEVdPt.js} +123 -123
  45. package/components/{CasinoPage-BGrASQhH.js → CasinoPage-Dg5sPuQa.js} +109 -109
  46. package/components/{CasinoRandomGame-DoBaxDNA.js → CasinoRandomGame-DBzLZj0J.js} +52 -52
  47. package/components/{CasinoRandomGame-Cz5w1Xkm.cjs → CasinoRandomGame-DRJXaM_Z.cjs} +1 -1
  48. package/components/{CasinoRandomGame-CLsTaSPD.js → CasinoRandomGame-Dh5EVxCR.js} +53 -53
  49. package/components/{CasinoSearch-D4nuoT1C.js → CasinoSearch--8BCnmOG.js} +85 -85
  50. package/components/{CasinoSearch-M-zypI5B.js → CasinoSearch-BxyP0Ga2.js} +82 -82
  51. package/components/{CasinoSearch-DHRGmpEd.cjs → CasinoSearch-r9ofFlZt.cjs} +1 -1
  52. package/components/{CasinoSlider-DvI5SCyj.js → CasinoSlider-BihCQ92y.js} +86 -86
  53. package/components/{CasinoSlider-B_WI_7Qb.cjs → CasinoSlider-C0mxz0hk.cjs} +1 -1
  54. package/components/{CasinoSlider-OSPrTvMo.js → CasinoSlider-DpYeYJhK.js} +87 -87
  55. package/components/{CasinoSort-DEbYB6BH.js → CasinoSort-BOsO5Bfe.js} +111 -112
  56. package/components/{CasinoSort-COpZLKBV.js → CasinoSort-CbOOYzWs.js} +103 -102
  57. package/components/{CasinoSort-KSHMLnqL.cjs → CasinoSort-L9UM4M85.cjs} +1 -1
  58. package/components/{CasinoWinners-CtR1v_xw.js → CasinoWinners-CDQfWIM6.js} +148 -148
  59. package/components/{CasinoWinners-DlPnBzX-.cjs → CasinoWinners-CxuidCR1.cjs} +1 -1
  60. package/components/{CasinoWinners-6u19h4xG.js → CasinoWinners-DAW-pGRt.js} +151 -151
  61. package/components/{GeneralAnimationLoading-oehLt3ob.cjs → GeneralAnimationLoading-CFokXkWs.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-CEqG5qMY.js → GeneralAnimationLoading-CPc2UOwA.js} +14 -14
  63. package/components/{GeneralAnimationLoading-rntZi33z.js → GeneralAnimationLoading-D0quTPWA.js} +14 -14
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-Dge6-qaF.js → casino-play-random-game-DmsXPThq.js} +1 -1
  69. package/stencil/{casino-play-random-game-D9PFB7B2.js → casino-play-random-game-bUDjgSKo.js} +1 -1
  70. package/stencil/{casino-play-random-game-111R1Frl.cjs → casino-play-random-game-rBIQ75Yb.cjs} +1 -1
  71. package/stencil/{casino-play-random-game_2-CunwpDd1.js → casino-play-random-game_2-Bf4CHBc9.js} +2 -2
  72. package/stencil/{casino-play-random-game_2-auPXMZnz.js → casino-play-random-game_2-C30-vRGp.js} +2 -2
  73. package/stencil/{casino-play-random-game_2-cZvlv_fo.cjs → casino-play-random-game_2-CCCLDakd.cjs} +2 -2
  74. package/stencil/index-328e660d-B6ge05AJ.js +560 -0
  75. package/stencil/index-328e660d-C6OCQOhB.cjs +1 -0
  76. package/stencil/index-328e660d-Duk3nD23.js +576 -0
  77. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  78. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  79. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  80. package/stencil/index-b2193545-BZAG_Jnw.js +503 -0
  81. package/stencil/index-b2193545-DG7pnr-7.js +519 -0
  82. package/stencil/index-b2193545-DuCTLpV-.cjs +1 -0
  83. package/stencil/{ui-image-C1Fl5HOc.cjs → ui-image-BmLAbwvr.cjs} +1 -1
  84. package/stencil/{ui-image-DnOuibDF.js → ui-image-DDulMZDF.js} +1 -1
  85. package/stencil/{ui-image-_mAQXh8W.js → ui-image-DwWgscwP.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  88. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  89. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
  90. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  91. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
  92. package/stencil/{ui-skeleton-CWdppDyF.cjs → ui-skeleton-BWEKzqTN.cjs} +1 -1
  93. package/stencil/{ui-skeleton-TkMXeWrD.js → ui-skeleton-D_tu1FGi.js} +2 -2
  94. package/stencil/{ui-skeleton-QCtPK7l5.js → ui-skeleton-DgZQnowa.js} +2 -2
  95. package/stencil/{ui-skeleton-ed169f8f-CiWqRE71.js → ui-skeleton-ed169f8f-Bs1q2JQr.js} +1 -1
  96. package/stencil/{ui-skeleton-ed169f8f-pTYMIneT.js → ui-skeleton-ed169f8f-D2rWx_KU.js} +1 -1
  97. package/stencil/{ui-skeleton-ed169f8f-BT7QFq3s.cjs → ui-skeleton-ed169f8f-Ti6Ksz7V.cjs} +1 -1
  98. package/components/CasinoCalendar-Bh1m4DYa.cjs +0 -19
  99. package/components/CasinoCategoriesSlider-CMW1BzhU.cjs +0 -1
  100. package/components/CasinoFilter-CrCTTPvH.cjs +0 -1
  101. package/components/CasinoGameThumbnail-Dymq8wWq.cjs +0 -47
  102. package/stencil/index-328e660d-A_dWaOAX.cjs +0 -1
  103. package/stencil/index-328e660d-BiHqu78m.js +0 -576
  104. package/stencil/index-328e660d-DJbpQFmN.js +0 -560
  105. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  106. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  107. package/stencil/index-97d17652-p-iQtjus.js +0 -542
  108. package/stencil/index-b2193545-BkP0Nc2C.cjs +0 -1
  109. package/stencil/index-b2193545-CejVSlwL.js +0 -519
  110. package/stencil/index-b2193545-DL1I-QYR.js +0 -503
@@ -1,4 +1,4 @@
1
- function B() {
1
+ function P() {
2
2
  }
3
3
  function Er(e, t) {
4
4
  for (const r in t)
@@ -8,50 +8,50 @@ function Er(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Lt(e) {
11
+ function Nt(e) {
12
12
  return e();
13
13
  }
14
- function it() {
14
+ function st() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function W(e) {
18
- e.forEach(Lt);
17
+ function X(e) {
18
+ e.forEach(Nt);
19
19
  }
20
- function xe(e) {
20
+ function Se(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Ct(e, t) {
23
+ function Mt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  let fe;
27
- function no(e, t) {
27
+ function io(e, t) {
28
28
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
29
29
  }
30
30
  function xr(e) {
31
31
  return Object.keys(e).length === 0;
32
32
  }
33
- function Mt(e, ...t) {
33
+ function Rt(e, ...t) {
34
34
  if (e == null) {
35
35
  for (const n of t)
36
36
  n(void 0);
37
- return B;
37
+ return P;
38
38
  }
39
39
  const r = e.subscribe(...t);
40
40
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
41
  }
42
42
  function Sr(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
43
+ e.$$.on_destroy.push(Rt(t, r));
44
44
  }
45
- function io(e, t, r, n) {
45
+ function oo(e, t, r, n) {
46
46
  if (e) {
47
- const i = Nt(e, t, r, n);
47
+ const i = $t(e, t, r, n);
48
48
  return e[0](i);
49
49
  }
50
50
  }
51
- function Nt(e, t, r, n) {
51
+ function $t(e, t, r, n) {
52
52
  return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function oo(e, t, r, n) {
54
+ function so(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
@@ -66,13 +66,13 @@ function oo(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function so(e, t, r, n, i, o) {
69
+ function ao(e, t, r, n, i, o) {
70
70
  if (i) {
71
- const a = Nt(t, r, n, o);
71
+ const a = $t(t, r, n, o);
72
72
  e.p(a, i);
73
73
  }
74
74
  }
75
- function ao(e) {
75
+ function uo(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,16 +81,16 @@ function ao(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function uo(e) {
85
- return e && xe(e.destroy) ? e.destroy : B;
84
+ function lo(e) {
85
+ return e && Se(e.destroy) ? e.destroy : P;
86
86
  }
87
- function Se(e, t) {
87
+ function we(e, t) {
88
88
  e.appendChild(t);
89
89
  }
90
90
  function wr(e, t, r) {
91
91
  const n = Tr(e);
92
92
  if (!n.getElementById(t)) {
93
- const i = R("style");
93
+ const i = $("style");
94
94
  i.id = t, i.textContent = r, Hr(n, i);
95
95
  }
96
96
  }
@@ -105,7 +105,7 @@ function Tr(e) {
105
105
  ) : e.ownerDocument;
106
106
  }
107
107
  function Hr(e, t) {
108
- return Se(
108
+ return we(
109
109
  /** @type {Document} */
110
110
  e.head || e,
111
111
  t
@@ -114,37 +114,37 @@ function Hr(e, t) {
114
114
  function k(e, t, r) {
115
115
  e.insertBefore(t, r || null);
116
116
  }
117
- function D(e) {
117
+ function U(e) {
118
118
  e.parentNode && e.parentNode.removeChild(e);
119
119
  }
120
120
  function Br(e, t) {
121
121
  for (let r = 0; r < e.length; r += 1)
122
122
  e[r] && e[r].d(t);
123
123
  }
124
- function R(e) {
124
+ function $(e) {
125
125
  return document.createElement(e);
126
126
  }
127
127
  function Pr(e) {
128
128
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
129
  }
130
- function Ke(e) {
130
+ function nt(e) {
131
131
  return document.createTextNode(e);
132
132
  }
133
133
  function Ar() {
134
- return Ke(" ");
134
+ return nt(" ");
135
135
  }
136
- function lo() {
137
- return Ke("");
136
+ function ho() {
137
+ return nt("");
138
138
  }
139
- function ho(e, t, r, n) {
139
+ function co(e, t, r, n) {
140
140
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
141
  }
142
- function co(e) {
142
+ function fo(e) {
143
143
  return function(t) {
144
144
  return t.preventDefault(), e.call(this, t);
145
145
  };
146
146
  }
147
- function fo(e) {
147
+ function po(e) {
148
148
  return function(t) {
149
149
  return t.stopPropagation(), e.call(this, t);
150
150
  };
@@ -163,16 +163,16 @@ function Ir(e, t) {
163
163
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
164
164
  t);
165
165
  }
166
- function po(e, t) {
166
+ function mo(e, t) {
167
167
  e.value = t ?? "";
168
168
  }
169
- function mo(e, t, r, n) {
169
+ function bo(e, t, r, n) {
170
170
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
171
171
  }
172
- function bo(e, t, r) {
172
+ function yo(e, t, r) {
173
173
  e.classList.toggle(t, !!r);
174
174
  }
175
- class yo {
175
+ class go {
176
176
  /**
177
177
  * @private
178
178
  * @default false
@@ -206,7 +206,7 @@ class yo {
206
206
  this.e || (this.is_svg ? this.e = Pr(
207
207
  /** @type {keyof SVGElementTagNameMap} */
208
208
  r.nodeName
209
- ) : this.e = R(
209
+ ) : this.e = $(
210
210
  /** @type {keyof HTMLElementTagNameMap} */
211
211
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
212
212
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -239,7 +239,7 @@ class yo {
239
239
  /**
240
240
  * @returns {void} */
241
241
  d() {
242
- this.n.forEach(D);
242
+ this.n.forEach(U);
243
243
  }
244
244
  }
245
245
  function Lr(e) {
@@ -251,165 +251,165 @@ function Lr(e) {
251
251
  }
252
252
  ), t;
253
253
  }
254
- let ue;
255
- function ae(e) {
256
- ue = e;
254
+ let ae;
255
+ function se(e) {
256
+ ae = e;
257
257
  }
258
- function Rt() {
259
- if (!ue)
258
+ function Dt() {
259
+ if (!ae)
260
260
  throw new Error("Function called outside component initialization");
261
- return ue;
261
+ return ae;
262
262
  }
263
263
  function Cr(e) {
264
- Rt().$$.on_mount.push(e);
264
+ Dt().$$.on_mount.push(e);
265
265
  }
266
- function go(e) {
267
- Rt().$$.on_destroy.push(e);
266
+ function _o(e) {
267
+ Dt().$$.on_destroy.push(e);
268
268
  }
269
269
  function vo(e, t) {
270
270
  const r = e.$$.callbacks[t.type];
271
271
  r && r.slice().forEach((n) => n.call(this, t));
272
272
  }
273
- const q = [], $e = [];
273
+ const q = [], Ue = [];
274
274
  let J = [];
275
- const ot = [], $t = /* @__PURE__ */ Promise.resolve();
276
- let De = !1;
277
- function Dt() {
278
- De || (De = !0, $t.then(N));
275
+ const at = [], Ut = /* @__PURE__ */ Promise.resolve();
276
+ let Ge = !1;
277
+ function Gt() {
278
+ Ge || (Ge = !0, Ut.then(M));
279
279
  }
280
- function _o() {
281
- return Dt(), $t;
280
+ function Eo() {
281
+ return Gt(), Ut;
282
282
  }
283
- function Ue(e) {
283
+ function Fe(e) {
284
284
  J.push(e);
285
285
  }
286
- const Ae = /* @__PURE__ */ new Set();
286
+ const Ie = /* @__PURE__ */ new Set();
287
287
  let Z = 0;
288
- function N() {
288
+ function M() {
289
289
  if (Z !== 0)
290
290
  return;
291
- const e = ue;
291
+ const e = ae;
292
292
  do {
293
293
  try {
294
294
  for (; Z < q.length; ) {
295
295
  const t = q[Z];
296
- Z++, ae(t), Mr(t.$$);
296
+ Z++, se(t), Nr(t.$$);
297
297
  }
298
298
  } catch (t) {
299
299
  throw q.length = 0, Z = 0, t;
300
300
  }
301
- for (ae(null), q.length = 0, Z = 0; $e.length; )
302
- $e.pop()();
301
+ for (se(null), q.length = 0, Z = 0; Ue.length; )
302
+ Ue.pop()();
303
303
  for (let t = 0; t < J.length; t += 1) {
304
304
  const r = J[t];
305
- Ae.has(r) || (Ae.add(r), r());
305
+ Ie.has(r) || (Ie.add(r), r());
306
306
  }
307
307
  J.length = 0;
308
308
  } while (q.length);
309
- for (; ot.length; )
310
- ot.pop()();
311
- De = !1, Ae.clear(), ae(e);
309
+ for (; at.length; )
310
+ at.pop()();
311
+ Ge = !1, Ie.clear(), se(e);
312
312
  }
313
- function Mr(e) {
313
+ function Nr(e) {
314
314
  if (e.fragment !== null) {
315
- e.update(), W(e.before_update);
315
+ e.update(), X(e.before_update);
316
316
  const t = e.dirty;
317
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
317
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
318
318
  }
319
319
  }
320
- function Nr(e) {
320
+ function Mr(e) {
321
321
  const t = [], r = [];
322
322
  J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
323
323
  }
324
324
  const me = /* @__PURE__ */ new Set();
325
- let X;
326
- function Eo() {
327
- X = {
325
+ let V;
326
+ function xo() {
327
+ V = {
328
328
  r: 0,
329
329
  c: [],
330
- p: X
330
+ p: V
331
331
  // parent group
332
332
  };
333
333
  }
334
- function xo() {
335
- X.r || W(X.c), X = X.p;
334
+ function So() {
335
+ V.r || X(V.c), V = V.p;
336
336
  }
337
- function Ut(e, t) {
337
+ function Ft(e, t) {
338
338
  e && e.i && (me.delete(e), e.i(t));
339
339
  }
340
340
  function Rr(e, t, r, n) {
341
341
  if (e && e.o) {
342
342
  if (me.has(e))
343
343
  return;
344
- me.add(e), X.c.push(() => {
344
+ me.add(e), V.c.push(() => {
345
345
  me.delete(e), n && (r && e.d(1), n());
346
346
  }), e.o(t);
347
347
  } else
348
348
  n && n();
349
349
  }
350
- function st(e) {
350
+ function ut(e) {
351
351
  return e?.length !== void 0 ? e : Array.from(e);
352
352
  }
353
- function So(e, t) {
353
+ function wo(e, t) {
354
354
  e.d(1), t.delete(e.key);
355
355
  }
356
- function wo(e, t) {
356
+ function To(e, t) {
357
357
  Rr(e, 1, 1, () => {
358
358
  t.delete(e.key);
359
359
  });
360
360
  }
361
- function To(e, t, r, n, i, o, a, s, l, u, h, f) {
361
+ function Ho(e, t, r, n, i, o, a, s, l, u, h, f) {
362
362
  let c = e.length, m = o.length, b = c;
363
363
  const g = {};
364
364
  for (; b--; )
365
365
  g[e[b].key] = b;
366
- const S = [], P = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
366
+ const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
367
367
  for (b = m; b--; ) {
368
- const x = f(i, o, b), O = r(x);
369
- let I = a.get(O);
370
- I ? w.push(() => I.p(x, t)) : (I = u(O, x), I.c()), P.set(O, S[b] = I), O in g && H.set(O, Math.abs(b - g[O]));
368
+ const E = f(i, o, b), I = r(E);
369
+ let B = a.get(I);
370
+ B ? w.push(() => B.p(E, t)) : (B = u(I, E), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
371
371
  }
372
- const C = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
373
- function M(x) {
374
- Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
372
+ const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
373
+ function N(E) {
374
+ Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
375
375
  }
376
376
  for (; c && m; ) {
377
- const x = S[m - 1], O = e[c - 1], I = x.key, V = O.key;
378
- x === O ? (h = x.first, c--, m--) : P.has(V) ? !a.has(I) || C.has(I) ? M(x) : A.has(V) ? c-- : H.get(I) > H.get(V) ? (A.add(I), M(x)) : (C.add(V), c--) : (l(O, a), c--);
377
+ const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
378
+ E === I ? (h = E.first, c--, m--) : A.has(z) ? !a.has(B) || C.has(B) ? N(E) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), N(E)) : (C.add(z), c--) : (l(I, a), c--);
379
379
  }
380
380
  for (; c--; ) {
381
- const x = e[c];
382
- P.has(x.key) || l(x, a);
381
+ const E = e[c];
382
+ A.has(E.key) || l(E, a);
383
383
  }
384
384
  for (; m; )
385
- M(S[m - 1]);
386
- return W(w), S;
385
+ N(S[m - 1]);
386
+ return X(w), S;
387
387
  }
388
388
  function $r(e, t, r) {
389
389
  const { fragment: n, after_update: i } = e.$$;
390
- n && n.m(t, r), Ue(() => {
391
- const o = e.$$.on_mount.map(Lt).filter(xe);
392
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
393
- }), i.forEach(Ue);
390
+ n && n.m(t, r), Fe(() => {
391
+ const o = e.$$.on_mount.map(Nt).filter(Se);
392
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
393
+ }), i.forEach(Fe);
394
394
  }
395
395
  function Dr(e, t) {
396
396
  const r = e.$$;
397
- r.fragment !== null && (Nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
397
+ r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
398
398
  }
399
399
  function Ur(e, t) {
400
- e.$$.dirty[0] === -1 && (q.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
400
+ e.$$.dirty[0] === -1 && (q.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
401
401
  }
402
402
  function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
403
- const l = ue;
404
- ae(e);
403
+ const l = ae;
404
+ se(e);
405
405
  const u = e.$$ = {
406
406
  fragment: null,
407
407
  ctx: [],
408
408
  // state
409
409
  props: o,
410
- update: B,
410
+ update: P,
411
411
  not_equal: i,
412
- bound: it(),
412
+ bound: st(),
413
413
  // lifecycle
414
414
  on_mount: [],
415
415
  on_destroy: [],
@@ -418,7 +418,7 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
418
418
  after_update: [],
419
419
  context: new Map(t.context || (l ? l.$$.context : [])),
420
420
  // everything else
421
- callbacks: it(),
421
+ callbacks: st(),
422
422
  dirty: s,
423
423
  skip_bound: !1,
424
424
  root: t.target || l.$$.root
@@ -428,18 +428,18 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
428
428
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
429
429
  const b = m.length ? m[0] : c;
430
430
  return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Ur(e, f)), c;
431
- }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
431
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
432
432
  if (t.hydrate) {
433
433
  const f = Or(t.target);
434
- u.fragment && u.fragment.l(f), f.forEach(D);
434
+ u.fragment && u.fragment.l(f), f.forEach(U);
435
435
  } else
436
436
  u.fragment && u.fragment.c();
437
- t.intro && Ut(e.$$.fragment), $r(e, t.target, t.anchor), N();
437
+ t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
438
438
  }
439
- ae(l);
439
+ se(l);
440
440
  }
441
- let Gt;
442
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
441
+ let jt;
442
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
443
443
  /** The Svelte component constructor */
444
444
  $$ctor;
445
445
  /** Slots */
@@ -481,7 +481,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
481
481
  let o;
482
482
  return {
483
483
  c: function() {
484
- o = R("slot"), i !== "default" && j(o, "name", i);
484
+ o = $("slot"), i !== "default" && j(o, "name", i);
485
485
  },
486
486
  /**
487
487
  * @param {HTMLElement} target
@@ -491,7 +491,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
491
491
  k(l, o, u);
492
492
  },
493
493
  d: function(l) {
494
- l && D(o);
494
+ l && U(o);
495
495
  }
496
496
  };
497
497
  };
@@ -586,7 +586,7 @@ function be(e, t, r, n) {
586
586
  }
587
587
  }
588
588
  function Fr(e, t, r, n, i, o) {
589
- let a = class extends Gt {
589
+ let a = class extends jt {
590
590
  constructor() {
591
591
  super(e, r, i), this.$$p_d = t;
592
592
  }
@@ -633,7 +633,7 @@ class jr {
633
633
  $$set = void 0;
634
634
  /** @returns {void} */
635
635
  $destroy() {
636
- Dr(this, 1), this.$destroy = B;
636
+ Dr(this, 1), this.$destroy = P;
637
637
  }
638
638
  /**
639
639
  * @template {Extract<keyof Events, string>} K
@@ -642,8 +642,8 @@ class jr {
642
642
  * @returns {() => void}
643
643
  */
644
644
  $on(t, r) {
645
- if (!xe(r))
646
- return B;
645
+ if (!Se(r))
646
+ return P;
647
647
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
648
648
  return n.push(r), () => {
649
649
  const i = n.indexOf(r);
@@ -674,43 +674,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
674
674
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
675
675
  PERFORMANCE OF THIS SOFTWARE.
676
676
  ***************************************************************************** */
677
- var Ge = function(e, t) {
678
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
677
+ var je = function(e, t) {
678
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
679
679
  r.__proto__ = n;
680
680
  } || function(r, n) {
681
681
  for (var i in n)
682
682
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
683
- }, Ge(e, t);
683
+ }, je(e, t);
684
684
  };
685
- function U(e, t) {
685
+ function he(e, t) {
686
686
  if (typeof t != "function" && t !== null)
687
687
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
688
- Ge(e, t);
688
+ je(e, t);
689
689
  function r() {
690
690
  this.constructor = e;
691
691
  }
692
692
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
693
693
  }
694
- var _ = function() {
695
- return _ = Object.assign || function(t) {
696
- for (var r, n = 1, i = arguments.length; n < i; n++) {
697
- r = arguments[n];
698
- for (var o in r)
699
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
700
- }
701
- return t;
702
- }, _.apply(this, arguments);
703
- };
704
- function Vr(e, t) {
705
- var r = {};
706
- for (var n in e)
707
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
708
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
709
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
710
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
711
- return r;
712
- }
713
- function Fe(e) {
694
+ function ke(e) {
714
695
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
715
696
  if (r)
716
697
  return r.call(e);
@@ -722,7 +703,7 @@ function Fe(e) {
722
703
  };
723
704
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
724
705
  }
725
- function je(e, t) {
706
+ function Ve(e, t) {
726
707
  var r = typeof Symbol == "function" && e[Symbol.iterator];
727
708
  if (!r)
728
709
  return e;
@@ -742,22 +723,22 @@ function je(e, t) {
742
723
  }
743
724
  return o;
744
725
  }
745
- function Y(e, t, r) {
746
- if (r || arguments.length === 2)
726
+ function Xe(e, t, r) {
727
+ if (arguments.length === 2)
747
728
  for (var n = 0, i = t.length, o; n < i; n++)
748
729
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
749
730
  return e.concat(o || t);
750
731
  }
751
- function $(e) {
732
+ function D(e) {
752
733
  return typeof e == "function";
753
734
  }
754
- function Ft(e) {
735
+ function kt(e) {
755
736
  var t = function(n) {
756
737
  Error.call(n), n.stack = new Error().stack;
757
738
  }, r = e(t);
758
739
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
759
740
  }
760
- var Oe = Ft(function(e) {
741
+ var Le = kt(function(e) {
761
742
  return function(r) {
762
743
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
763
744
  ` + r.map(function(n, i) {
@@ -766,13 +747,13 @@ var Oe = Ft(function(e) {
766
747
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
767
748
  };
768
749
  });
769
- function ke(e, t) {
750
+ function We(e, t) {
770
751
  if (e) {
771
752
  var r = e.indexOf(t);
772
753
  0 <= r && e.splice(r, 1);
773
754
  }
774
755
  }
775
- var we = function() {
756
+ var Te = function() {
776
757
  function e(t) {
777
758
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
778
759
  }
@@ -784,7 +765,7 @@ var we = function() {
784
765
  if (a)
785
766
  if (this._parentage = null, Array.isArray(a))
786
767
  try {
787
- for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
768
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
788
769
  var u = l.value;
789
770
  u.remove(this);
790
771
  }
@@ -801,22 +782,22 @@ var we = function() {
801
782
  else
802
783
  a.remove(this);
803
784
  var h = this.initialTeardown;
804
- if ($(h))
785
+ if (D(h))
805
786
  try {
806
787
  h();
807
788
  } catch (g) {
808
- o = g instanceof Oe ? g.errors : [g];
789
+ o = g instanceof Le ? g.errors : [g];
809
790
  }
810
791
  var f = this._finalizers;
811
792
  if (f) {
812
793
  this._finalizers = null;
813
794
  try {
814
- for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
795
+ for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
815
796
  var b = m.value;
816
797
  try {
817
- at(b);
798
+ lt(b);
818
799
  } catch (g) {
819
- o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
800
+ o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
820
801
  }
821
802
  }
822
803
  } catch (g) {
@@ -831,13 +812,13 @@ var we = function() {
831
812
  }
832
813
  }
833
814
  if (o)
834
- throw new Oe(o);
815
+ throw new Le(o);
835
816
  }
836
817
  }, e.prototype.add = function(t) {
837
818
  var r;
838
819
  if (t && t !== this)
839
820
  if (this.closed)
840
- at(t);
821
+ lt(t);
841
822
  else {
842
823
  if (t instanceof e) {
843
824
  if (t.closed || t._hasParent(this))
@@ -854,32 +835,28 @@ var we = function() {
854
835
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
855
836
  }, e.prototype._removeParent = function(t) {
856
837
  var r = this._parentage;
857
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
838
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
858
839
  }, e.prototype.remove = function(t) {
859
840
  var r = this._finalizers;
860
- r && ke(r, t), t instanceof e && t._removeParent(this);
841
+ r && We(r, t), t instanceof e && t._removeParent(this);
861
842
  }, e.EMPTY = function() {
862
843
  var t = new e();
863
844
  return t.closed = !0, t;
864
845
  }(), e;
865
- }(), jt = we.EMPTY;
866
- function kt(e) {
867
- return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
846
+ }(), Vt = Te.EMPTY;
847
+ function Xt(e) {
848
+ return e instanceof Te || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
868
849
  }
869
- function at(e) {
870
- $(e) ? e() : e.unsubscribe();
850
+ function lt(e) {
851
+ D(e) ? e() : e.unsubscribe();
871
852
  }
872
- var Vt = {
873
- onUnhandledError: null,
874
- onStoppedNotification: null,
875
- Promise: void 0,
876
- useDeprecatedSynchronousErrorHandling: !1,
877
- useDeprecatedNextContext: !1
853
+ var Vr = {
854
+ Promise: void 0
878
855
  }, Xr = {
879
856
  setTimeout: function(e, t) {
880
857
  for (var r = [], n = 2; n < arguments.length; n++)
881
858
  r[n - 2] = arguments[n];
882
- return setTimeout.apply(void 0, Y([e, t], je(r)));
859
+ return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
883
860
  },
884
861
  clearTimeout: function(e) {
885
862
  return clearTimeout(e);
@@ -891,19 +868,19 @@ function Wr(e) {
891
868
  throw e;
892
869
  });
893
870
  }
894
- function ut() {
871
+ function ht() {
895
872
  }
896
873
  function ye(e) {
897
874
  e();
898
875
  }
899
- var Xt = function(e) {
900
- U(t, e);
876
+ var Wt = function(e) {
877
+ he(t, e);
901
878
  function t(r) {
902
879
  var n = e.call(this) || this;
903
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = qr, n;
880
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
904
881
  }
905
882
  return t.create = function(r, n, i) {
906
- return new Ve(r, n, i);
883
+ return new ze(r, n, i);
907
884
  }, t.prototype.next = function(r) {
908
885
  this.isStopped || this._next(r);
909
886
  }, t.prototype.error = function(r) {
@@ -927,11 +904,7 @@ var Xt = function(e) {
927
904
  this.unsubscribe();
928
905
  }
929
906
  }, t;
930
- }(we), zr = Function.prototype.bind;
931
- function Ie(e, t) {
932
- return zr.call(e, t);
933
- }
934
- var Zr = function() {
907
+ }(Te), zr = function() {
935
908
  function e(t) {
936
909
  this.partialObserver = t;
937
910
  }
@@ -962,55 +935,43 @@ var Zr = function() {
962
935
  de(r);
963
936
  }
964
937
  }, e;
965
- }(), Ve = function(e) {
966
- U(t, e);
938
+ }(), ze = function(e) {
939
+ he(t, e);
967
940
  function t(r, n, i) {
968
941
  var o = e.call(this) || this, a;
969
- if ($(r) || !r)
970
- a = {
971
- next: r ?? void 0,
972
- error: n ?? void 0,
973
- complete: i ?? void 0
974
- };
975
- else {
976
- var s;
977
- o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
978
- return o.unsubscribe();
979
- }, a = {
980
- next: r.next && Ie(r.next, s),
981
- error: r.error && Ie(r.error, s),
982
- complete: r.complete && Ie(r.complete, s)
983
- }) : a = r;
984
- }
985
- return o.destination = new Zr(a), o;
942
+ return D(r) || !r ? a = {
943
+ next: r ?? void 0,
944
+ error: n ?? void 0,
945
+ complete: i ?? void 0
946
+ } : a = r, o.destination = new zr(a), o;
986
947
  }
987
948
  return t;
988
- }(Xt);
949
+ }(Wt);
989
950
  function de(e) {
990
951
  Wr(e);
991
952
  }
992
- function Qr(e) {
953
+ function Zr(e) {
993
954
  throw e;
994
955
  }
995
- var qr = {
956
+ var Qr = {
996
957
  closed: !0,
997
- next: ut,
998
- error: Qr,
999
- complete: ut
1000
- }, Jr = function() {
958
+ next: ht,
959
+ error: Zr,
960
+ complete: ht
961
+ }, qr = function() {
1001
962
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1002
963
  }();
1003
- function Yr(e) {
964
+ function Jr(e) {
1004
965
  return e;
1005
966
  }
1006
- function Kr(e) {
1007
- return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
967
+ function Yr(e) {
968
+ return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
1008
969
  return e.reduce(function(n, i) {
1009
970
  return i(n);
1010
971
  }, r);
1011
972
  };
1012
973
  }
1013
- var lt = function() {
974
+ var ct = function() {
1014
975
  function e(t) {
1015
976
  t && (this._subscribe = t);
1016
977
  }
@@ -1018,7 +979,7 @@ var lt = function() {
1018
979
  var r = new e();
1019
980
  return r.source = this, r.operator = t, r;
1020
981
  }, e.prototype.subscribe = function(t, r, n) {
1021
- var i = this, o = tn(t) ? t : new Ve(t, r, n);
982
+ var i = this, o = en(t) ? t : new ze(t, r, n);
1022
983
  return ye(function() {
1023
984
  var a = i, s = a.operator, l = a.source;
1024
985
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1031,8 +992,8 @@ var lt = function() {
1031
992
  }
1032
993
  }, e.prototype.forEach = function(t, r) {
1033
994
  var n = this;
1034
- return r = ht(r), new r(function(i, o) {
1035
- var a = new Ve({
995
+ return r = ft(r), new r(function(i, o) {
996
+ var a = new ze({
1036
997
  next: function(s) {
1037
998
  try {
1038
999
  t(s);
@@ -1048,15 +1009,15 @@ var lt = function() {
1048
1009
  }, e.prototype._subscribe = function(t) {
1049
1010
  var r;
1050
1011
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1051
- }, e.prototype[Jr] = function() {
1012
+ }, e.prototype[qr] = function() {
1052
1013
  return this;
1053
1014
  }, e.prototype.pipe = function() {
1054
1015
  for (var t = [], r = 0; r < arguments.length; r++)
1055
1016
  t[r] = arguments[r];
1056
- return Kr(t)(this);
1017
+ return Yr(t)(this);
1057
1018
  }, e.prototype.toPromise = function(t) {
1058
1019
  var r = this;
1059
- return t = ht(t), new t(function(n, i) {
1020
+ return t = ft(t), new t(function(n, i) {
1060
1021
  var o;
1061
1022
  r.subscribe(function(a) {
1062
1023
  return o = a;
@@ -1070,32 +1031,32 @@ var lt = function() {
1070
1031
  return new e(t);
1071
1032
  }, e;
1072
1033
  }();
1073
- function ht(e) {
1034
+ function ft(e) {
1074
1035
  var t;
1075
- return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
1036
+ return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
1076
1037
  }
1077
- function en(e) {
1078
- return e && $(e.next) && $(e.error) && $(e.complete);
1038
+ function Kr(e) {
1039
+ return e && D(e.next) && D(e.error) && D(e.complete);
1079
1040
  }
1080
- function tn(e) {
1081
- return e && e instanceof Xt || en(e) && kt(e);
1041
+ function en(e) {
1042
+ return e && e instanceof Wt || Kr(e) && Xt(e);
1082
1043
  }
1083
- var rn = Ft(function(e) {
1044
+ var tn = kt(function(e) {
1084
1045
  return function() {
1085
1046
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1086
1047
  };
1087
- }), Wt = function(e) {
1088
- U(t, e);
1048
+ }), zt = function(e) {
1049
+ he(t, e);
1089
1050
  function t() {
1090
1051
  var r = e.call(this) || this;
1091
1052
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1092
1053
  }
1093
1054
  return t.prototype.lift = function(r) {
1094
- var n = new ct(this, this);
1055
+ var n = new dt(this, this);
1095
1056
  return n.operator = r, n;
1096
1057
  }, t.prototype._throwIfClosed = function() {
1097
1058
  if (this.closed)
1098
- throw new rn();
1059
+ throw new tn();
1099
1060
  }, t.prototype.next = function(r) {
1100
1061
  var n = this;
1101
1062
  ye(function() {
@@ -1103,7 +1064,7 @@ var rn = Ft(function(e) {
1103
1064
  if (n._throwIfClosed(), !n.isStopped) {
1104
1065
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1105
1066
  try {
1106
- for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1067
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1107
1068
  var l = s.value;
1108
1069
  l.next(r);
1109
1070
  }
@@ -1152,20 +1113,20 @@ var rn = Ft(function(e) {
1152
1113
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1153
1114
  }, t.prototype._innerSubscribe = function(r) {
1154
1115
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1155
- return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
1156
- n.currentObservers = null, ke(s, r);
1116
+ return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
1117
+ n.currentObservers = null, We(s, r);
1157
1118
  }));
1158
1119
  }, t.prototype._checkFinalizedStatuses = function(r) {
1159
1120
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1160
1121
  i ? r.error(o) : a && r.complete();
1161
1122
  }, t.prototype.asObservable = function() {
1162
- var r = new lt();
1123
+ var r = new ct();
1163
1124
  return r.source = this, r;
1164
1125
  }, t.create = function(r, n) {
1165
- return new ct(r, n);
1126
+ return new dt(r, n);
1166
1127
  }, t;
1167
- }(lt), ct = function(e) {
1168
- U(t, e);
1128
+ }(ct), dt = function(e) {
1129
+ he(t, e);
1169
1130
  function t(r, n) {
1170
1131
  var i = e.call(this) || this;
1171
1132
  return i.destination = r, i.source = n, i;
@@ -1181,17 +1142,17 @@ var rn = Ft(function(e) {
1181
1142
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1182
1143
  }, t.prototype._subscribe = function(r) {
1183
1144
  var n, i;
1184
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1145
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1185
1146
  }, t;
1186
- }(Wt), zt = {
1147
+ }(zt), Zt = {
1187
1148
  now: function() {
1188
- return (zt.delegate || Date).now();
1149
+ return (Zt.delegate || Date).now();
1189
1150
  },
1190
1151
  delegate: void 0
1191
- }, nn = function(e) {
1192
- U(t, e);
1152
+ }, rn = function(e) {
1153
+ he(t, e);
1193
1154
  function t(r, n, i) {
1194
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1155
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1195
1156
  var o = e.call(this) || this;
1196
1157
  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;
1197
1158
  }
@@ -1211,24 +1172,24 @@ var rn = Ft(function(e) {
1211
1172
  u && o.splice(0, u + 1);
1212
1173
  }
1213
1174
  }, t;
1214
- }(Wt);
1215
- const ft = [], dt = {}, on = (e, t = 0) => {
1216
- if (ft.indexOf(e) == -1) {
1217
- const r = new nn(t);
1218
- dt[e] = r, ft.push(e);
1175
+ }(zt);
1176
+ const pt = [], mt = {}, nn = (e, t = 0) => {
1177
+ if (pt.indexOf(e) == -1) {
1178
+ const r = new rn(t);
1179
+ mt[e] = r, pt.push(e);
1219
1180
  }
1220
- return dt[e];
1181
+ return mt[e];
1221
1182
  }, Q = [];
1222
- function sn(e, t) {
1183
+ function on(e, t) {
1223
1184
  return {
1224
- subscribe: Te(e, t).subscribe
1185
+ subscribe: He(e, t).subscribe
1225
1186
  };
1226
1187
  }
1227
- function Te(e, t = B) {
1188
+ function He(e, t = P) {
1228
1189
  let r;
1229
1190
  const n = /* @__PURE__ */ new Set();
1230
1191
  function i(s) {
1231
- if (Ct(e, s) && (e = s, r)) {
1192
+ if (Mt(e, s) && (e = s, r)) {
1232
1193
  const l = !Q.length;
1233
1194
  for (const u of n)
1234
1195
  u[1](), Q.push(u, e);
@@ -1242,31 +1203,31 @@ function Te(e, t = B) {
1242
1203
  function o(s) {
1243
1204
  i(s(e));
1244
1205
  }
1245
- function a(s, l = B) {
1206
+ function a(s, l = P) {
1246
1207
  const u = [s, l];
1247
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1208
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
1248
1209
  n.delete(u), n.size === 0 && r && (r(), r = null);
1249
1210
  };
1250
1211
  }
1251
1212
  return { set: i, update: o, subscribe: a };
1252
1213
  }
1253
- function ne(e, t, r) {
1214
+ function re(e, t, r) {
1254
1215
  const n = !Array.isArray(e), i = n ? [e] : e;
1255
1216
  if (!i.every(Boolean))
1256
1217
  throw new Error("derived() expects stores as input, got a falsy value");
1257
1218
  const o = t.length < 2;
1258
- return sn(r, (a, s) => {
1219
+ return on(r, (a, s) => {
1259
1220
  let l = !1;
1260
1221
  const u = [];
1261
- let h = 0, f = B;
1222
+ let h = 0, f = P;
1262
1223
  const c = () => {
1263
1224
  if (h)
1264
1225
  return;
1265
1226
  f();
1266
1227
  const b = t(n ? u[0] : u, a, s);
1267
- o ? a(b) : f = xe(b) ? b : B;
1228
+ o ? a(b) : f = Se(b) ? b : P;
1268
1229
  }, m = i.map(
1269
- (b, g) => Mt(
1230
+ (b, g) => Rt(
1270
1231
  b,
1271
1232
  (S) => {
1272
1233
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1277,86 +1238,128 @@ function ne(e, t, r) {
1277
1238
  )
1278
1239
  );
1279
1240
  return l = !0, c(), function() {
1280
- W(m), f(), l = !1;
1241
+ X(m), f(), l = !1;
1281
1242
  };
1282
1243
  });
1283
1244
  }
1284
- function an(e) {
1245
+ function sn(e) {
1285
1246
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1286
1247
  }
1287
- var un = function(t) {
1288
- return ln(t) && !hn(t);
1248
+ var an = function(t) {
1249
+ return un(t) && !ln(t);
1289
1250
  };
1290
- function ln(e) {
1251
+ function un(e) {
1291
1252
  return !!e && typeof e == "object";
1292
1253
  }
1293
- function hn(e) {
1254
+ function ln(e) {
1294
1255
  var t = Object.prototype.toString.call(e);
1295
- return t === "[object RegExp]" || t === "[object Date]" || dn(e);
1256
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1296
1257
  }
1297
- var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1298
- function dn(e) {
1299
- return e.$$typeof === fn;
1258
+ var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1259
+ function fn(e) {
1260
+ return e.$$typeof === cn;
1300
1261
  }
1301
- function pn(e) {
1262
+ function dn(e) {
1302
1263
  return Array.isArray(e) ? [] : {};
1303
1264
  }
1304
- function le(e, t) {
1305
- return t.clone !== !1 && t.isMergeableObject(e) ? K(pn(e), e, t) : e;
1265
+ function ue(e, t) {
1266
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1306
1267
  }
1307
- function mn(e, t, r) {
1268
+ function pn(e, t, r) {
1308
1269
  return e.concat(t).map(function(n) {
1309
- return le(n, r);
1270
+ return ue(n, r);
1310
1271
  });
1311
1272
  }
1312
- function bn(e, t) {
1273
+ function mn(e, t) {
1313
1274
  if (!t.customMerge)
1314
- return K;
1275
+ return Y;
1315
1276
  var r = t.customMerge(e);
1316
- return typeof r == "function" ? r : K;
1277
+ return typeof r == "function" ? r : Y;
1317
1278
  }
1318
- function yn(e) {
1279
+ function bn(e) {
1319
1280
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1320
1281
  return Object.propertyIsEnumerable.call(e, t);
1321
1282
  }) : [];
1322
1283
  }
1323
- function pt(e) {
1324
- return Object.keys(e).concat(yn(e));
1284
+ function bt(e) {
1285
+ return Object.keys(e).concat(bn(e));
1325
1286
  }
1326
- function Zt(e, t) {
1287
+ function Qt(e, t) {
1327
1288
  try {
1328
1289
  return t in e;
1329
1290
  } catch {
1330
1291
  return !1;
1331
1292
  }
1332
1293
  }
1333
- function gn(e, t) {
1334
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1294
+ function yn(e, t) {
1295
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1335
1296
  }
1336
- function vn(e, t, r) {
1297
+ function gn(e, t, r) {
1337
1298
  var n = {};
1338
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1339
- n[i] = le(e[i], r);
1340
- }), pt(t).forEach(function(i) {
1341
- gn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
1299
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1300
+ n[i] = ue(e[i], r);
1301
+ }), bt(t).forEach(function(i) {
1302
+ yn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1342
1303
  }), n;
1343
1304
  }
1344
- function K(e, t, r) {
1345
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
1305
+ function Y(e, t, r) {
1306
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
1346
1307
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1347
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : le(t, r);
1308
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
1348
1309
  }
1349
- K.all = function(t, r) {
1310
+ Y.all = function(t, r) {
1350
1311
  if (!Array.isArray(t))
1351
1312
  throw new Error("first argument should be an array");
1352
1313
  return t.reduce(function(n, i) {
1353
- return K(n, i, r);
1314
+ return Y(n, i, r);
1354
1315
  }, {});
1355
1316
  };
1356
- var _n = K, En = _n;
1357
- const xn = /* @__PURE__ */ an(En);
1358
- function Le(e, t) {
1359
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : wn;
1317
+ var _n = Y, vn = _n;
1318
+ const En = /* @__PURE__ */ sn(vn);
1319
+ var Ze = function(e, t) {
1320
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1321
+ r.__proto__ = n;
1322
+ } || function(r, n) {
1323
+ for (var i in n)
1324
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1325
+ }, Ze(e, t);
1326
+ };
1327
+ function Be(e, t) {
1328
+ if (typeof t != "function" && t !== null)
1329
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1330
+ Ze(e, t);
1331
+ function r() {
1332
+ this.constructor = e;
1333
+ }
1334
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1335
+ }
1336
+ var R = function() {
1337
+ return R = Object.assign || function(t) {
1338
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1339
+ r = arguments[n];
1340
+ for (var o in r)
1341
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1342
+ }
1343
+ return t;
1344
+ }, R.apply(this, arguments);
1345
+ };
1346
+ function xn(e, t) {
1347
+ var r = {};
1348
+ for (var n in e)
1349
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1350
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1351
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1352
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1353
+ return r;
1354
+ }
1355
+ function Ce(e, t, r) {
1356
+ if (r || arguments.length === 2)
1357
+ for (var n = 0, i = t.length, o; n < i; n++)
1358
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1359
+ return e.concat(o || Array.prototype.slice.call(t));
1360
+ }
1361
+ function Ne(e, t) {
1362
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1360
1363
  return i(e, {
1361
1364
  cache: r,
1362
1365
  serializer: n
@@ -1365,7 +1368,7 @@ function Le(e, t) {
1365
1368
  function Sn(e) {
1366
1369
  return e == null || typeof e == "number" || typeof e == "boolean";
1367
1370
  }
1368
- function Qt(e, t, r, n) {
1371
+ function wn(e, t, r, n) {
1369
1372
  var i = Sn(n) ? n : r(n), o = t.get(i);
1370
1373
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1371
1374
  }
@@ -1373,87 +1376,95 @@ function qt(e, t, r) {
1373
1376
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1374
1377
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1375
1378
  }
1376
- function et(e, t, r, n, i) {
1379
+ function Jt(e, t, r, n, i) {
1377
1380
  return r.bind(t, e, n, i);
1378
1381
  }
1379
- function wn(e, t) {
1380
- var r = e.length === 1 ? Qt : qt;
1381
- return et(e, this, r, t.cache.create(), t.serializer);
1382
- }
1383
1382
  function Tn(e, t) {
1384
- return et(e, this, qt, t.cache.create(), t.serializer);
1383
+ var r = e.length === 1 ? wn : qt;
1384
+ return Jt(e, this, r, t.cache.create(), t.serializer);
1385
1385
  }
1386
1386
  function Hn(e, t) {
1387
- return et(e, this, Qt, t.cache.create(), t.serializer);
1387
+ return Jt(e, this, qt, t.cache.create(), t.serializer);
1388
1388
  }
1389
1389
  var Bn = function() {
1390
1390
  return JSON.stringify(arguments);
1391
- };
1392
- function tt() {
1393
- this.cache = /* @__PURE__ */ Object.create(null);
1394
- }
1395
- tt.prototype.get = function(e) {
1396
- return this.cache[e];
1397
- };
1398
- tt.prototype.set = function(e, t) {
1399
- this.cache[e] = t;
1400
- };
1401
- var Pn = {
1391
+ }, Pn = (
1392
+ /** @class */
1393
+ function() {
1394
+ function e() {
1395
+ this.cache = /* @__PURE__ */ Object.create(null);
1396
+ }
1397
+ return e.prototype.get = function(t) {
1398
+ return this.cache[t];
1399
+ }, e.prototype.set = function(t, r) {
1400
+ this.cache[t] = r;
1401
+ }, e;
1402
+ }()
1403
+ ), An = {
1402
1404
  create: function() {
1403
- return new tt();
1405
+ return new Pn();
1404
1406
  }
1405
- }, Ce = {
1406
- variadic: Tn,
1407
- monadic: Hn
1408
- }, y;
1407
+ }, Me = {
1408
+ variadic: Hn
1409
+ }, ve = function() {
1410
+ return ve = Object.assign || function(t) {
1411
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1412
+ r = arguments[n];
1413
+ for (var o in r)
1414
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1415
+ }
1416
+ return t;
1417
+ }, ve.apply(this, arguments);
1418
+ };
1419
+ var y;
1409
1420
  (function(e) {
1410
1421
  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";
1411
1422
  })(y || (y = {}));
1412
- var E;
1423
+ var v;
1413
1424
  (function(e) {
1414
1425
  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";
1415
- })(E || (E = {}));
1416
- var ee;
1426
+ })(v || (v = {}));
1427
+ var K;
1417
1428
  (function(e) {
1418
1429
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1419
- })(ee || (ee = {}));
1420
- function mt(e) {
1421
- return e.type === E.literal;
1422
- }
1423
- function An(e) {
1424
- return e.type === E.argument;
1430
+ })(K || (K = {}));
1431
+ function yt(e) {
1432
+ return e.type === v.literal;
1425
1433
  }
1426
- function Jt(e) {
1427
- return e.type === E.number;
1434
+ function On(e) {
1435
+ return e.type === v.argument;
1428
1436
  }
1429
1437
  function Yt(e) {
1430
- return e.type === E.date;
1438
+ return e.type === v.number;
1431
1439
  }
1432
1440
  function Kt(e) {
1433
- return e.type === E.time;
1441
+ return e.type === v.date;
1434
1442
  }
1435
1443
  function er(e) {
1436
- return e.type === E.select;
1444
+ return e.type === v.time;
1437
1445
  }
1438
1446
  function tr(e) {
1439
- return e.type === E.plural;
1440
- }
1441
- function On(e) {
1442
- return e.type === E.pound;
1447
+ return e.type === v.select;
1443
1448
  }
1444
1449
  function rr(e) {
1445
- return e.type === E.tag;
1450
+ return e.type === v.plural;
1451
+ }
1452
+ function In(e) {
1453
+ return e.type === v.pound;
1446
1454
  }
1447
1455
  function nr(e) {
1448
- return !!(e && typeof e == "object" && e.type === ee.number);
1456
+ return e.type === v.tag;
1457
+ }
1458
+ function ir(e) {
1459
+ return !!(e && typeof e == "object" && e.type === K.number);
1449
1460
  }
1450
- function Xe(e) {
1451
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1461
+ function Qe(e) {
1462
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1452
1463
  }
1453
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1454
- function Ln(e) {
1464
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
1465
+ function Cn(e) {
1455
1466
  var t = {};
1456
- return e.replace(In, function(r) {
1467
+ return e.replace(Ln, function(r) {
1457
1468
  var n = r.length;
1458
1469
  switch (r[0]) {
1459
1470
  case "G":
@@ -1542,11 +1553,21 @@ function Ln(e) {
1542
1553
  return "";
1543
1554
  }), t;
1544
1555
  }
1545
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1556
+ var x = function() {
1557
+ return x = Object.assign || function(t) {
1558
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1559
+ r = arguments[n];
1560
+ for (var o in r)
1561
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1562
+ }
1563
+ return t;
1564
+ }, x.apply(this, arguments);
1565
+ };
1566
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1546
1567
  function Mn(e) {
1547
1568
  if (e.length === 0)
1548
1569
  throw new Error("Number skeleton cannot be empty");
1549
- for (var t = e.split(Cn).filter(function(c) {
1570
+ for (var t = e.split(Nn).filter(function(c) {
1550
1571
  return c.length > 0;
1551
1572
  }), r = [], n = 0, i = t; n < i.length; n++) {
1552
1573
  var o = i[n], a = o.split("/");
@@ -1561,17 +1582,17 @@ function Mn(e) {
1561
1582
  }
1562
1583
  return r;
1563
1584
  }
1564
- function Nn(e) {
1585
+ function Rn(e) {
1565
1586
  return e.replace(/^(.*?)-/, "");
1566
1587
  }
1567
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1568
- function yt(e) {
1588
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1589
+ function _t(e) {
1569
1590
  var t = {};
1570
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1591
+ 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
1592
  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)), "";
1572
1593
  }), t;
1573
1594
  }
1574
- function ar(e) {
1595
+ function ur(e) {
1575
1596
  switch (e) {
1576
1597
  case "sign-auto":
1577
1598
  return {
@@ -1611,7 +1632,7 @@ function ar(e) {
1611
1632
  };
1612
1633
  }
1613
1634
  }
1614
- function $n(e) {
1635
+ function Dn(e) {
1615
1636
  var t;
1616
1637
  if (e[0] === "E" && e[1] === "E" ? (t = {
1617
1638
  notation: "engineering"
@@ -1619,17 +1640,17 @@ function $n(e) {
1619
1640
  notation: "scientific"
1620
1641
  }, e = e.slice(1)), t) {
1621
1642
  var r = e.slice(0, 2);
1622
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1643
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1623
1644
  throw new Error("Malformed concise eng/scientific notation");
1624
1645
  t.minimumIntegerDigits = e.length;
1625
1646
  }
1626
1647
  return t;
1627
1648
  }
1628
- function gt(e) {
1629
- var t = {}, r = ar(e);
1649
+ function vt(e) {
1650
+ var t = {}, r = ur(e);
1630
1651
  return r || t;
1631
1652
  }
1632
- function Dn(e) {
1653
+ function Un(e) {
1633
1654
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1634
1655
  var i = n[r];
1635
1656
  switch (i.stem) {
@@ -1653,7 +1674,7 @@ function Dn(e) {
1653
1674
  continue;
1654
1675
  case "measure-unit":
1655
1676
  case "unit":
1656
- t.style = "unit", t.unit = Nn(i.options[0]);
1677
+ t.style = "unit", t.unit = Rn(i.options[0]);
1657
1678
  continue;
1658
1679
  case "compact-short":
1659
1680
  case "K":
@@ -1664,13 +1685,13 @@ function Dn(e) {
1664
1685
  t.notation = "compact", t.compactDisplay = "long";
1665
1686
  continue;
1666
1687
  case "scientific":
1667
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1668
- return _(_({}, l), gt(u));
1688
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1689
+ return x(x({}, l), vt(u));
1669
1690
  }, {}));
1670
1691
  continue;
1671
1692
  case "engineering":
1672
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1673
- return _(_({}, l), gt(u));
1693
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1694
+ return x(x({}, l), vt(u));
1674
1695
  }, {}));
1675
1696
  continue;
1676
1697
  case "notation-simple":
@@ -1715,7 +1736,7 @@ function Dn(e) {
1715
1736
  case "integer-width":
1716
1737
  if (i.options.length > 1)
1717
1738
  throw new RangeError("integer-width stems only accept a single optional option");
1718
- i.options[0].replace(Rn, function(l, u, h, f, c, m) {
1739
+ i.options[0].replace($n, function(l, u, h, f, c, m) {
1719
1740
  if (u)
1720
1741
  t.minimumIntegerDigits = h.length;
1721
1742
  else {
@@ -1728,28 +1749,28 @@ function Dn(e) {
1728
1749
  });
1729
1750
  continue;
1730
1751
  }
1731
- if (sr.test(i.stem)) {
1752
+ if (ar.test(i.stem)) {
1732
1753
  t.minimumIntegerDigits = i.stem.length;
1733
1754
  continue;
1734
1755
  }
1735
- if (bt.test(i.stem)) {
1756
+ if (gt.test(i.stem)) {
1736
1757
  if (i.options.length > 1)
1737
1758
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1738
- i.stem.replace(bt, function(l, u, h, f, c, m) {
1759
+ i.stem.replace(gt, function(l, u, h, f, c, m) {
1739
1760
  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), "";
1740
1761
  });
1741
1762
  var o = i.options[0];
1742
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1763
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
1743
1764
  continue;
1744
1765
  }
1745
- if (or.test(i.stem)) {
1746
- t = _(_({}, t), yt(i.stem));
1766
+ if (sr.test(i.stem)) {
1767
+ t = x(x({}, t), _t(i.stem));
1747
1768
  continue;
1748
1769
  }
1749
- var a = ar(i.stem);
1750
- a && (t = _(_({}, t), a));
1751
- var s = $n(i.stem);
1752
- s && (t = _(_({}, t), s));
1770
+ var a = ur(i.stem);
1771
+ a && (t = x(x({}, t), a));
1772
+ var s = Dn(i.stem);
1773
+ s && (t = x(x({}, t), s));
1753
1774
  }
1754
1775
  return t;
1755
1776
  }
@@ -3168,13 +3189,13 @@ var pe = {
3168
3189
  "h"
3169
3190
  ]
3170
3191
  };
3171
- function Un(e, t) {
3192
+ function Gn(e, t) {
3172
3193
  for (var r = "", n = 0; n < e.length; n++) {
3173
3194
  var i = e.charAt(n);
3174
3195
  if (i === "j") {
3175
3196
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3176
3197
  o++, n++;
3177
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
3198
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3178
3199
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3179
3200
  r += l;
3180
3201
  for (; a-- > 0; )
@@ -3184,7 +3205,7 @@ function Un(e, t) {
3184
3205
  }
3185
3206
  return r;
3186
3207
  }
3187
- function Gn(e) {
3208
+ function Fn(e) {
3188
3209
  var t = e.hourCycle;
3189
3210
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3190
3211
  e.hourCycles && // @ts-ignore
@@ -3206,20 +3227,20 @@ function Gn(e) {
3206
3227
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3207
3228
  return i[0];
3208
3229
  }
3209
- var Me, Fn = new RegExp("^".concat(ir.source, "*")), jn = new RegExp("".concat(ir.source, "*$"));
3210
- function v(e, t) {
3230
+ var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
3231
+ function _(e, t) {
3211
3232
  return { start: e, end: t };
3212
3233
  }
3213
- var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
3234
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, qn = !!Number.isSafeInteger, Jn = qn ? Number.isSafeInteger : function(e) {
3214
3235
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3215
- }, We = !0;
3236
+ }, qe = !0;
3216
3237
  try {
3217
- var Jn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3218
- We = ((Me = Jn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3238
+ var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3239
+ qe = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3219
3240
  } catch {
3220
- We = !1;
3241
+ qe = !1;
3221
3242
  }
3222
- var vt = kn ? (
3243
+ var Et = Vn ? (
3223
3244
  // Native
3224
3245
  function(t, r, n) {
3225
3246
  return t.startsWith(r, n);
@@ -3229,7 +3250,7 @@ var vt = kn ? (
3229
3250
  function(t, r, n) {
3230
3251
  return t.slice(n, n + r.length) === r;
3231
3252
  }
3232
- ), ze = Vn ? String.fromCodePoint : (
3253
+ ), Je = Xn ? String.fromCodePoint : (
3233
3254
  // IE11
3234
3255
  function() {
3235
3256
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3241,9 +3262,9 @@ var vt = kn ? (
3241
3262
  }
3242
3263
  return n;
3243
3264
  }
3244
- ), _t = (
3265
+ ), xt = (
3245
3266
  // native
3246
- Xn ? Object.fromEntries : (
3267
+ Wn ? Object.fromEntries : (
3247
3268
  // Ponyfill
3248
3269
  function(t) {
3249
3270
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3253,7 +3274,7 @@ var vt = kn ? (
3253
3274
  return r;
3254
3275
  }
3255
3276
  )
3256
- ), ur = Wn ? (
3277
+ ), lr = zn ? (
3257
3278
  // Native
3258
3279
  function(t, r) {
3259
3280
  return t.codePointAt(r);
@@ -3267,7 +3288,7 @@ var vt = kn ? (
3267
3288
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3268
3289
  }
3269
3290
  }
3270
- ), Yn = zn ? (
3291
+ ), Kn = Zn ? (
3271
3292
  // Native
3272
3293
  function(t) {
3273
3294
  return t.trimStart();
@@ -3275,9 +3296,9 @@ var vt = kn ? (
3275
3296
  ) : (
3276
3297
  // Ponyfill
3277
3298
  function(t) {
3278
- return t.replace(Fn, "");
3299
+ return t.replace(jn, "");
3279
3300
  }
3280
- ), Kn = Zn ? (
3301
+ ), ei = Qn ? (
3281
3302
  // Native
3282
3303
  function(t) {
3283
3304
  return t.trimEnd();
@@ -3285,32 +3306,32 @@ var vt = kn ? (
3285
3306
  ) : (
3286
3307
  // Ponyfill
3287
3308
  function(t) {
3288
- return t.replace(jn, "");
3309
+ return t.replace(kn, "");
3289
3310
  }
3290
3311
  );
3291
- function lr(e, t) {
3312
+ function hr(e, t) {
3292
3313
  return new RegExp(e, t);
3293
3314
  }
3294
- var Ze;
3295
- if (We) {
3296
- var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3297
- Ze = function(t, r) {
3315
+ var Ye;
3316
+ if (qe) {
3317
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3318
+ Ye = function(t, r) {
3298
3319
  var n;
3299
- Et.lastIndex = r;
3300
- var i = Et.exec(t);
3320
+ St.lastIndex = r;
3321
+ var i = St.exec(t);
3301
3322
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3302
3323
  };
3303
3324
  } else
3304
- Ze = function(t, r) {
3325
+ Ye = function(t, r) {
3305
3326
  for (var n = []; ; ) {
3306
- var i = ur(t, r);
3307
- if (i === void 0 || hr(i) || ni(i))
3327
+ var i = lr(t, r);
3328
+ if (i === void 0 || cr(i) || ii(i))
3308
3329
  break;
3309
3330
  n.push(i), r += i >= 65536 ? 2 : 1;
3310
3331
  }
3311
- return ze.apply(void 0, n);
3332
+ return Je.apply(void 0, n);
3312
3333
  };
3313
- var ei = (
3334
+ var ti = (
3314
3335
  /** @class */
3315
3336
  function() {
3316
3337
  function e(t, r) {
@@ -3334,14 +3355,14 @@ var ei = (
3334
3355
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3335
3356
  var s = this.clonePosition();
3336
3357
  this.bump(), i.push({
3337
- type: E.pound,
3338
- location: v(s, this.clonePosition())
3358
+ type: v.pound,
3359
+ location: _(s, this.clonePosition())
3339
3360
  });
3340
3361
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3341
3362
  if (n)
3342
3363
  break;
3343
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3344
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3364
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3365
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3345
3366
  var a = this.parseTag(t, r);
3346
3367
  if (a.err)
3347
3368
  return a;
@@ -3362,9 +3383,9 @@ var ei = (
3362
3383
  if (this.bumpSpace(), this.bumpIf("/>"))
3363
3384
  return {
3364
3385
  val: {
3365
- type: E.literal,
3386
+ type: v.literal,
3366
3387
  value: "<".concat(i, "/>"),
3367
- location: v(n, this.clonePosition())
3388
+ location: _(n, this.clonePosition())
3368
3389
  },
3369
3390
  err: null
3370
3391
  };
@@ -3374,25 +3395,25 @@ var ei = (
3374
3395
  return o;
3375
3396
  var a = o.val, s = this.clonePosition();
3376
3397
  if (this.bumpIf("</")) {
3377
- if (this.isEOF() || !Qe(this.char()))
3378
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3398
+ if (this.isEOF() || !Ke(this.char()))
3399
+ return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3379
3400
  var l = this.clonePosition(), u = this.parseTagName();
3380
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3401
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3381
3402
  val: {
3382
- type: E.tag,
3403
+ type: v.tag,
3383
3404
  value: i,
3384
3405
  children: a,
3385
- location: v(n, this.clonePosition())
3406
+ location: _(n, this.clonePosition())
3386
3407
  },
3387
3408
  err: null
3388
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3409
+ } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3389
3410
  } else
3390
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3411
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3391
3412
  } else
3392
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3413
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3393
3414
  }, e.prototype.parseTagName = function() {
3394
3415
  var t = this.offset();
3395
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3416
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3396
3417
  this.bump();
3397
3418
  return this.message.slice(t, this.offset());
3398
3419
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3414,14 +3435,14 @@ var ei = (
3414
3435
  }
3415
3436
  break;
3416
3437
  }
3417
- var l = v(n, this.clonePosition());
3438
+ var l = _(n, this.clonePosition());
3418
3439
  return {
3419
- val: { type: E.literal, value: i, location: l },
3440
+ val: { type: v.literal, value: i, location: l },
3420
3441
  err: null
3421
3442
  };
3422
3443
  }, e.prototype.tryParseLeftAngleBracket = function() {
3423
3444
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3424
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3445
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3425
3446
  }, e.prototype.tryParseQuote = function(t) {
3426
3447
  if (this.isEOF() || this.char() !== 39)
3427
3448
  return null;
@@ -3455,49 +3476,49 @@ var ei = (
3455
3476
  r.push(n);
3456
3477
  this.bump();
3457
3478
  }
3458
- return ze.apply(void 0, r);
3479
+ return Je.apply(void 0, r);
3459
3480
  }, e.prototype.tryParseUnquoted = function(t, r) {
3460
3481
  if (this.isEOF())
3461
3482
  return null;
3462
3483
  var n = this.char();
3463
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3484
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3464
3485
  }, e.prototype.parseArgument = function(t, r) {
3465
3486
  var n = this.clonePosition();
3466
3487
  if (this.bump(), this.bumpSpace(), this.isEOF())
3467
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3488
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3468
3489
  if (this.char() === 125)
3469
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3490
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3470
3491
  var i = this.parseIdentifierIfPossible().value;
3471
3492
  if (!i)
3472
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3493
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3473
3494
  if (this.bumpSpace(), this.isEOF())
3474
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3495
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3475
3496
  switch (this.char()) {
3476
3497
  case 125:
3477
3498
  return this.bump(), {
3478
3499
  val: {
3479
- type: E.argument,
3500
+ type: v.argument,
3480
3501
  // value does not include the opening and closing braces.
3481
3502
  value: i,
3482
- location: v(n, this.clonePosition())
3503
+ location: _(n, this.clonePosition())
3483
3504
  },
3484
3505
  err: null
3485
3506
  };
3486
3507
  case 44:
3487
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3508
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3488
3509
  default:
3489
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3510
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3490
3511
  }
3491
3512
  }, e.prototype.parseIdentifierIfPossible = function() {
3492
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3513
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3493
3514
  this.bumpTo(i);
3494
- var o = this.clonePosition(), a = v(t, o);
3515
+ var o = this.clonePosition(), a = _(t, o);
3495
3516
  return { value: n, location: a };
3496
3517
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3497
3518
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3498
3519
  switch (s) {
3499
3520
  case "":
3500
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3521
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3501
3522
  case "number":
3502
3523
  case "date":
3503
3524
  case "time": {
@@ -3508,35 +3529,35 @@ var ei = (
3508
3529
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3509
3530
  if (f.err)
3510
3531
  return f;
3511
- var c = Kn(f.val);
3532
+ var c = ei(f.val);
3512
3533
  if (c.length === 0)
3513
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3514
- var m = v(h, this.clonePosition());
3534
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3535
+ var m = _(h, this.clonePosition());
3515
3536
  u = { style: c, styleLocation: m };
3516
3537
  }
3517
3538
  var b = this.tryParseArgumentClose(i);
3518
3539
  if (b.err)
3519
3540
  return b;
3520
- var g = v(i, this.clonePosition());
3521
- if (u && vt(u?.style, "::", 0)) {
3522
- var S = Yn(u.style.slice(2));
3541
+ var g = _(i, this.clonePosition());
3542
+ if (u && Et(u?.style, "::", 0)) {
3543
+ var S = Kn(u.style.slice(2));
3523
3544
  if (s === "number") {
3524
3545
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3525
3546
  return f.err ? f : {
3526
- val: { type: E.number, value: n, location: g, style: f.val },
3547
+ val: { type: v.number, value: n, location: g, style: f.val },
3527
3548
  err: null
3528
3549
  };
3529
3550
  } else {
3530
3551
  if (S.length === 0)
3531
3552
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3532
- var P = S;
3533
- this.locale && (P = Un(S, this.locale));
3553
+ var A = S;
3554
+ this.locale && (A = Gn(S, this.locale));
3534
3555
  var c = {
3535
- type: ee.dateTime,
3536
- pattern: P,
3556
+ type: K.dateTime,
3557
+ pattern: A,
3537
3558
  location: u.styleLocation,
3538
- parsedOptions: this.shouldParseSkeletons ? Ln(P) : {}
3539
- }, H = s === "date" ? E.date : E.time;
3559
+ parsedOptions: this.shouldParseSkeletons ? Cn(A) : {}
3560
+ }, H = s === "date" ? v.date : v.time;
3540
3561
  return {
3541
3562
  val: { type: H, value: n, location: g, style: c },
3542
3563
  err: null
@@ -3545,7 +3566,7 @@ var ei = (
3545
3566
  }
3546
3567
  return {
3547
3568
  val: {
3548
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3569
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3549
3570
  value: n,
3550
3571
  location: g,
3551
3572
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3558,50 +3579,50 @@ var ei = (
3558
3579
  case "select": {
3559
3580
  var w = this.clonePosition();
3560
3581
  if (this.bumpSpace(), !this.bumpIf(","))
3561
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3582
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
3562
3583
  this.bumpSpace();
3563
- var C = this.parseIdentifierIfPossible(), A = 0;
3584
+ var C = this.parseIdentifierIfPossible(), O = 0;
3564
3585
  if (s !== "select" && C.value === "offset") {
3565
3586
  if (!this.bumpIf(":"))
3566
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3587
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3567
3588
  this.bumpSpace();
3568
3589
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3569
3590
  if (f.err)
3570
3591
  return f;
3571
- this.bumpSpace(), C = this.parseIdentifierIfPossible(), A = f.val;
3592
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), O = f.val;
3572
3593
  }
3573
- var M = this.tryParsePluralOrSelectOptions(t, s, r, C);
3574
- if (M.err)
3575
- return M;
3594
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, C);
3595
+ if (N.err)
3596
+ return N;
3576
3597
  var b = this.tryParseArgumentClose(i);
3577
3598
  if (b.err)
3578
3599
  return b;
3579
- var x = v(i, this.clonePosition());
3600
+ var E = _(i, this.clonePosition());
3580
3601
  return s === "select" ? {
3581
3602
  val: {
3582
- type: E.select,
3603
+ type: v.select,
3583
3604
  value: n,
3584
- options: _t(M.val),
3585
- location: x
3605
+ options: xt(N.val),
3606
+ location: E
3586
3607
  },
3587
3608
  err: null
3588
3609
  } : {
3589
3610
  val: {
3590
- type: E.plural,
3611
+ type: v.plural,
3591
3612
  value: n,
3592
- options: _t(M.val),
3593
- offset: A,
3613
+ options: xt(N.val),
3614
+ offset: O,
3594
3615
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3595
- location: x
3616
+ location: E
3596
3617
  },
3597
3618
  err: null
3598
3619
  };
3599
3620
  }
3600
3621
  default:
3601
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3622
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3602
3623
  }
3603
3624
  }, e.prototype.tryParseArgumentClose = function(t) {
3604
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3625
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3605
3626
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3606
3627
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3607
3628
  var n = this.char();
@@ -3610,7 +3631,7 @@ var ei = (
3610
3631
  this.bump();
3611
3632
  var i = this.clonePosition();
3612
3633
  if (!this.bumpUntil("'"))
3613
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3634
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3614
3635
  this.bump();
3615
3636
  break;
3616
3637
  }
@@ -3646,10 +3667,10 @@ var ei = (
3646
3667
  }
3647
3668
  return {
3648
3669
  val: {
3649
- type: ee.number,
3670
+ type: K.number,
3650
3671
  tokens: n,
3651
3672
  location: r,
3652
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3673
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3653
3674
  },
3654
3675
  err: null
3655
3676
  };
@@ -3661,7 +3682,7 @@ var ei = (
3661
3682
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3662
3683
  if (c.err)
3663
3684
  return c;
3664
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3685
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3665
3686
  } else
3666
3687
  break;
3667
3688
  }
@@ -3670,7 +3691,7 @@ var ei = (
3670
3691
  u === "other" && (a = !0), this.bumpSpace();
3671
3692
  var m = this.clonePosition();
3672
3693
  if (!this.bumpIf("{"))
3673
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3694
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3674
3695
  var b = this.parseMessage(t + 1, r, n);
3675
3696
  if (b.err)
3676
3697
  return b;
@@ -3681,11 +3702,11 @@ var ei = (
3681
3702
  u,
3682
3703
  {
3683
3704
  value: b.val,
3684
- location: v(m, this.clonePosition())
3705
+ location: _(m, this.clonePosition())
3685
3706
  }
3686
3707
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3687
3708
  }
3688
- return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3709
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3689
3710
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3690
3711
  var n = 1, i = this.clonePosition();
3691
3712
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3696,8 +3717,8 @@ var ei = (
3696
3717
  else
3697
3718
  break;
3698
3719
  }
3699
- var l = v(i, this.clonePosition());
3700
- return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3720
+ var l = _(i, this.clonePosition());
3721
+ return o ? (a *= n, Jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3701
3722
  }, e.prototype.offset = function() {
3702
3723
  return this.position.offset;
3703
3724
  }, e.prototype.isEOF = function() {
@@ -3712,7 +3733,7 @@ var ei = (
3712
3733
  var t = this.position.offset;
3713
3734
  if (t >= this.message.length)
3714
3735
  throw Error("out of bound");
3715
- var r = ur(this.message, t);
3736
+ var r = lr(this.message, t);
3716
3737
  if (r === void 0)
3717
3738
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3718
3739
  return r;
@@ -3731,7 +3752,7 @@ var ei = (
3731
3752
  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);
3732
3753
  }
3733
3754
  }, e.prototype.bumpIf = function(t) {
3734
- if (vt(this.message, t, this.offset())) {
3755
+ if (Et(this.message, t, this.offset())) {
3735
3756
  for (var r = 0; r < t.length; r++)
3736
3757
  this.bump();
3737
3758
  return !0;
@@ -3753,7 +3774,7 @@ var ei = (
3753
3774
  break;
3754
3775
  }
3755
3776
  }, e.prototype.bumpSpace = function() {
3756
- for (; !this.isEOF() && hr(this.char()); )
3777
+ for (; !this.isEOF() && cr(this.char()); )
3757
3778
  this.bump();
3758
3779
  }, e.prototype.peek = function() {
3759
3780
  if (this.isEOF())
@@ -3763,47 +3784,47 @@ var ei = (
3763
3784
  }, e;
3764
3785
  }()
3765
3786
  );
3766
- function Qe(e) {
3787
+ function Ke(e) {
3767
3788
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3768
3789
  }
3769
- function ti(e) {
3770
- return Qe(e) || e === 47;
3771
- }
3772
3790
  function ri(e) {
3791
+ return Ke(e) || e === 47;
3792
+ }
3793
+ function ni(e) {
3773
3794
  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;
3774
3795
  }
3775
- function hr(e) {
3796
+ function cr(e) {
3776
3797
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3777
3798
  }
3778
- function ni(e) {
3799
+ function ii(e) {
3779
3800
  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;
3780
3801
  }
3781
- function qe(e) {
3802
+ function et(e) {
3782
3803
  e.forEach(function(t) {
3783
- if (delete t.location, er(t) || tr(t))
3804
+ if (delete t.location, tr(t) || rr(t))
3784
3805
  for (var r in t.options)
3785
- delete t.options[r].location, qe(t.options[r].value);
3806
+ delete t.options[r].location, et(t.options[r].value);
3786
3807
  else
3787
- Jt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && qe(t.children);
3808
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3788
3809
  });
3789
3810
  }
3790
- function ii(e, t) {
3791
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3792
- var r = new ei(e, t).parse();
3811
+ function oi(e, t) {
3812
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3813
+ var r = new ti(e, t).parse();
3793
3814
  if (r.err) {
3794
3815
  var n = SyntaxError(y[r.err.kind]);
3795
3816
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3796
3817
  }
3797
- return t?.captureLocation || qe(r.val), r.val;
3818
+ return t?.captureLocation || et(r.val), r.val;
3798
3819
  }
3799
- var te;
3820
+ var ee;
3800
3821
  (function(e) {
3801
3822
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3802
- })(te || (te = {}));
3803
- var He = (
3823
+ })(ee || (ee = {}));
3824
+ var Pe = (
3804
3825
  /** @class */
3805
3826
  function(e) {
3806
- U(t, e);
3827
+ Be(t, e);
3807
3828
  function t(r, n, i) {
3808
3829
  var o = e.call(this, r) || this;
3809
3830
  return o.code = n, o.originalMessage = i, o;
@@ -3812,48 +3833,48 @@ var He = (
3812
3833
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3813
3834
  }, t;
3814
3835
  }(Error)
3815
- ), xt = (
3836
+ ), wt = (
3816
3837
  /** @class */
3817
3838
  function(e) {
3818
- U(t, e);
3839
+ Be(t, e);
3819
3840
  function t(r, n, i, o) {
3820
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3841
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3821
3842
  }
3822
3843
  return t;
3823
- }(He)
3824
- ), oi = (
3844
+ }(Pe)
3845
+ ), si = (
3825
3846
  /** @class */
3826
3847
  function(e) {
3827
- U(t, e);
3848
+ Be(t, e);
3828
3849
  function t(r, n, i) {
3829
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3850
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3830
3851
  }
3831
3852
  return t;
3832
- }(He)
3833
- ), si = (
3853
+ }(Pe)
3854
+ ), ai = (
3834
3855
  /** @class */
3835
3856
  function(e) {
3836
- U(t, e);
3857
+ Be(t, e);
3837
3858
  function t(r, n) {
3838
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3859
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3839
3860
  }
3840
3861
  return t;
3841
- }(He)
3862
+ }(Pe)
3842
3863
  ), T;
3843
3864
  (function(e) {
3844
3865
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3845
3866
  })(T || (T = {}));
3846
- function ai(e) {
3867
+ function ui(e) {
3847
3868
  return e.length < 2 ? e : e.reduce(function(t, r) {
3848
3869
  var n = t[t.length - 1];
3849
3870
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3850
3871
  }, []);
3851
3872
  }
3852
- function ui(e) {
3873
+ function li(e) {
3853
3874
  return typeof e == "function";
3854
3875
  }
3855
3876
  function ge(e, t, r, n, i, o, a) {
3856
- if (e.length === 1 && mt(e[0]))
3877
+ if (e.length === 1 && yt(e[0]))
3857
3878
  return [
3858
3879
  {
3859
3880
  type: T.literal,
@@ -3862,14 +3883,14 @@ function ge(e, t, r, n, i, o, a) {
3862
3883
  ];
3863
3884
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3864
3885
  var h = u[l];
3865
- if (mt(h)) {
3886
+ if (yt(h)) {
3866
3887
  s.push({
3867
3888
  type: T.literal,
3868
3889
  value: h.value
3869
3890
  });
3870
3891
  continue;
3871
3892
  }
3872
- if (On(h)) {
3893
+ if (In(h)) {
3873
3894
  typeof o == "number" && s.push({
3874
3895
  type: T.literal,
3875
3896
  value: r.getNumberFormat(t).format(o)
@@ -3878,89 +3899,89 @@ function ge(e, t, r, n, i, o, a) {
3878
3899
  }
3879
3900
  var f = h.value;
3880
3901
  if (!(i && f in i))
3881
- throw new si(f, a);
3902
+ throw new ai(f, a);
3882
3903
  var c = i[f];
3883
- if (An(h)) {
3904
+ if (On(h)) {
3884
3905
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3885
3906
  type: typeof c == "string" ? T.literal : T.object,
3886
3907
  value: c
3887
3908
  });
3888
3909
  continue;
3889
3910
  }
3890
- if (Yt(h)) {
3891
- var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3911
+ if (Kt(h)) {
3912
+ var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3892
3913
  s.push({
3893
3914
  type: T.literal,
3894
3915
  value: r.getDateTimeFormat(t, m).format(c)
3895
3916
  });
3896
3917
  continue;
3897
3918
  }
3898
- if (Kt(h)) {
3899
- var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3919
+ if (er(h)) {
3920
+ var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3900
3921
  s.push({
3901
3922
  type: T.literal,
3902
3923
  value: r.getDateTimeFormat(t, m).format(c)
3903
3924
  });
3904
3925
  continue;
3905
3926
  }
3906
- if (Jt(h)) {
3907
- var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3927
+ if (Yt(h)) {
3928
+ var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3908
3929
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3909
3930
  type: T.literal,
3910
3931
  value: r.getNumberFormat(t, m).format(c)
3911
3932
  });
3912
3933
  continue;
3913
3934
  }
3914
- if (rr(h)) {
3935
+ if (nr(h)) {
3915
3936
  var b = h.children, g = h.value, S = i[g];
3916
- if (!ui(S))
3917
- throw new oi(g, "function", a);
3918
- var P = ge(b, t, r, n, i, o), H = S(P.map(function(A) {
3919
- return A.value;
3937
+ if (!li(S))
3938
+ throw new si(g, "function", a);
3939
+ var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3940
+ return O.value;
3920
3941
  }));
3921
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(A) {
3942
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
3922
3943
  return {
3923
- type: typeof A == "string" ? T.literal : T.object,
3924
- value: A
3944
+ type: typeof O == "string" ? T.literal : T.object,
3945
+ value: O
3925
3946
  };
3926
3947
  }));
3927
3948
  }
3928
- if (er(h)) {
3949
+ if (tr(h)) {
3929
3950
  var w = h.options[c] || h.options.other;
3930
3951
  if (!w)
3931
- throw new xt(h.value, c, Object.keys(h.options), a);
3952
+ throw new wt(h.value, c, Object.keys(h.options), a);
3932
3953
  s.push.apply(s, ge(w.value, t, r, n, i));
3933
3954
  continue;
3934
3955
  }
3935
- if (tr(h)) {
3956
+ if (rr(h)) {
3936
3957
  var w = h.options["=".concat(c)];
3937
3958
  if (!w) {
3938
3959
  if (!Intl.PluralRules)
3939
- throw new He(`Intl.PluralRules is not available in this environment.
3960
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3940
3961
  Try polyfilling it using "@formatjs/intl-pluralrules"
3941
- `, te.MISSING_INTL_API, a);
3962
+ `, ee.MISSING_INTL_API, a);
3942
3963
  var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3943
3964
  w = h.options[C] || h.options.other;
3944
3965
  }
3945
3966
  if (!w)
3946
- throw new xt(h.value, c, Object.keys(h.options), a);
3967
+ throw new wt(h.value, c, Object.keys(h.options), a);
3947
3968
  s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3948
3969
  continue;
3949
3970
  }
3950
3971
  }
3951
- return ai(s);
3972
+ return ui(s);
3952
3973
  }
3953
- function li(e, t) {
3954
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3955
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3974
+ function hi(e, t) {
3975
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3976
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3956
3977
  }, {})) : e;
3957
3978
  }
3958
- function hi(e, t) {
3979
+ function ci(e, t) {
3959
3980
  return t ? Object.keys(e).reduce(function(r, n) {
3960
- return r[n] = li(e[n], t[n]), r;
3961
- }, _({}, e)) : e;
3981
+ return r[n] = hi(e[n], t[n]), r;
3982
+ }, R({}, e)) : e;
3962
3983
  }
3963
- function Ne(e) {
3984
+ function $e(e) {
3964
3985
  return {
3965
3986
  create: function() {
3966
3987
  return {
@@ -3974,39 +3995,39 @@ function Ne(e) {
3974
3995
  }
3975
3996
  };
3976
3997
  }
3977
- function ci(e) {
3998
+ function fi(e) {
3978
3999
  return e === void 0 && (e = {
3979
4000
  number: {},
3980
4001
  dateTime: {},
3981
4002
  pluralRules: {}
3982
4003
  }), {
3983
- getNumberFormat: Le(function() {
4004
+ getNumberFormat: Ne(function() {
3984
4005
  for (var t, r = [], n = 0; n < arguments.length; n++)
3985
4006
  r[n] = arguments[n];
3986
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4007
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3987
4008
  }, {
3988
- cache: Ne(e.number),
3989
- strategy: Ce.variadic
4009
+ cache: $e(e.number),
4010
+ strategy: Me.variadic
3990
4011
  }),
3991
- getDateTimeFormat: Le(function() {
4012
+ getDateTimeFormat: Ne(function() {
3992
4013
  for (var t, r = [], n = 0; n < arguments.length; n++)
3993
4014
  r[n] = arguments[n];
3994
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4015
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3995
4016
  }, {
3996
- cache: Ne(e.dateTime),
3997
- strategy: Ce.variadic
4017
+ cache: $e(e.dateTime),
4018
+ strategy: Me.variadic
3998
4019
  }),
3999
- getPluralRules: Le(function() {
4020
+ getPluralRules: Ne(function() {
4000
4021
  for (var t, r = [], n = 0; n < arguments.length; n++)
4001
4022
  r[n] = arguments[n];
4002
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4023
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
4003
4024
  }, {
4004
- cache: Ne(e.pluralRules),
4005
- strategy: Ce.variadic
4025
+ cache: $e(e.pluralRules),
4026
+ strategy: Me.variadic
4006
4027
  })
4007
4028
  };
4008
4029
  }
4009
- var fi = (
4030
+ var di = (
4010
4031
  /** @class */
4011
4032
  function() {
4012
4033
  function e(t, r, n, i) {
@@ -4038,13 +4059,13 @@ var fi = (
4038
4059
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4039
4060
  var a = i || {};
4040
4061
  a.formatters;
4041
- var s = Vr(a, ["formatters"]);
4042
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4062
+ var s = xn(a, ["formatters"]);
4063
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
4043
4064
  } else
4044
4065
  this.ast = t;
4045
4066
  if (!Array.isArray(this.ast))
4046
4067
  throw new TypeError("A message must be provided as a String or AST.");
4047
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
4068
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
4048
4069
  }
4049
4070
  return Object.defineProperty(e, "defaultLocale", {
4050
4071
  get: function() {
@@ -4057,7 +4078,7 @@ var fi = (
4057
4078
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4058
4079
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4059
4080
  }
4060
- }, e.__parse = ii, e.formats = {
4081
+ }, e.__parse = oi, e.formats = {
4061
4082
  number: {
4062
4083
  integer: {
4063
4084
  maximumFractionDigits: 0
@@ -4118,7 +4139,7 @@ var fi = (
4118
4139
  }, e;
4119
4140
  }()
4120
4141
  );
4121
- function di(e, t) {
4142
+ function pi(e, t) {
4122
4143
  if (t == null)
4123
4144
  return;
4124
4145
  if (t in e)
@@ -4139,92 +4160,92 @@ function di(e, t) {
4139
4160
  n = void 0;
4140
4161
  return n;
4141
4162
  }
4142
- const F = {}, pi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
4163
+ const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4143
4164
  if (t == null)
4144
4165
  return;
4145
4166
  if (t in F && e in F[t])
4146
4167
  return F[t][e];
4147
- const r = Be(t);
4168
+ const r = Ae(t);
4148
4169
  for (let n = 0; n < r.length; n++) {
4149
- const i = r[n], o = bi(i, e);
4170
+ const i = r[n], o = yi(i, e);
4150
4171
  if (o)
4151
- return pi(e, t, o);
4172
+ return mi(e, t, o);
4152
4173
  }
4153
4174
  };
4154
- let rt;
4155
- const ce = Te({});
4156
- function mi(e) {
4157
- return rt[e] || null;
4175
+ let it;
4176
+ const ce = He({});
4177
+ function bi(e) {
4178
+ return it[e] || null;
4158
4179
  }
4159
- function fr(e) {
4160
- return e in rt;
4180
+ function dr(e) {
4181
+ return e in it;
4161
4182
  }
4162
- function bi(e, t) {
4163
- if (!fr(e))
4183
+ function yi(e, t) {
4184
+ if (!dr(e))
4164
4185
  return null;
4165
- const r = mi(e);
4166
- return di(r, t);
4186
+ const r = bi(e);
4187
+ return pi(r, t);
4167
4188
  }
4168
- function yi(e) {
4189
+ function gi(e) {
4169
4190
  if (e == null)
4170
4191
  return;
4171
- const t = Be(e);
4192
+ const t = Ae(e);
4172
4193
  for (let r = 0; r < t.length; r++) {
4173
4194
  const n = t[r];
4174
- if (fr(n))
4195
+ if (dr(n))
4175
4196
  return n;
4176
4197
  }
4177
4198
  }
4178
- function dr(e, ...t) {
4179
- delete F[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4199
+ function pr(e, ...t) {
4200
+ delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4180
4201
  }
4181
- ne(
4202
+ re(
4182
4203
  [ce],
4183
4204
  ([e]) => Object.keys(e)
4184
4205
  );
4185
- ce.subscribe((e) => rt = e);
4186
- const ve = {};
4187
- function gi(e, t) {
4188
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4206
+ ce.subscribe((e) => it = e);
4207
+ const _e = {};
4208
+ function _i(e, t) {
4209
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4189
4210
  }
4190
- function pr(e) {
4191
- return ve[e];
4211
+ function mr(e) {
4212
+ return _e[e];
4192
4213
  }
4193
4214
  function vi(e) {
4194
- return Be(e).map((t) => {
4195
- const r = pr(t);
4215
+ return Ae(e).map((t) => {
4216
+ const r = mr(t);
4196
4217
  return [t, r ? [...r] : []];
4197
4218
  }).filter(([, t]) => t.length > 0);
4198
4219
  }
4199
- function Je(e) {
4200
- return e == null ? !1 : Be(e).some(
4220
+ function tt(e) {
4221
+ return e == null ? !1 : Ae(e).some(
4201
4222
  (t) => {
4202
4223
  var r;
4203
- return (r = pr(t)) == null ? void 0 : r.size;
4224
+ return (r = mr(t)) == null ? void 0 : r.size;
4204
4225
  }
4205
4226
  );
4206
4227
  }
4207
- function _i(e, t) {
4228
+ function Ei(e, t) {
4208
4229
  return Promise.all(
4209
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4210
- ).then((n) => dr(e, ...n));
4230
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4231
+ ).then((n) => pr(e, ...n));
4211
4232
  }
4212
- const se = {};
4213
- function mr(e) {
4214
- if (!Je(e))
4215
- return e in se ? se[e] : Promise.resolve();
4233
+ const oe = {};
4234
+ function br(e) {
4235
+ if (!tt(e))
4236
+ return e in oe ? oe[e] : Promise.resolve();
4216
4237
  const t = vi(e);
4217
- return se[e] = Promise.all(
4238
+ return oe[e] = Promise.all(
4218
4239
  t.map(
4219
- ([r, n]) => _i(r, n)
4240
+ ([r, n]) => Ei(r, n)
4220
4241
  )
4221
4242
  ).then(() => {
4222
- if (Je(e))
4223
- return mr(e);
4224
- delete se[e];
4225
- }), se[e];
4243
+ if (tt(e))
4244
+ return br(e);
4245
+ delete oe[e];
4246
+ }), oe[e];
4226
4247
  }
4227
- const Ei = {
4248
+ const xi = {
4228
4249
  number: {
4229
4250
  scientific: { notation: "scientific" },
4230
4251
  engineering: { notation: "engineering" },
@@ -4253,150 +4274,150 @@ const Ei = {
4253
4274
  timeZoneName: "short"
4254
4275
  }
4255
4276
  }
4256
- }, xi = {
4277
+ }, Si = {
4257
4278
  fallbackLocale: null,
4258
4279
  loadingDelay: 200,
4259
- formats: Ei,
4280
+ formats: xi,
4260
4281
  warnOnMissingMessages: !0,
4261
4282
  handleMissingMessage: void 0,
4262
4283
  ignoreTag: !0
4263
- }, Si = xi;
4264
- function re() {
4265
- return Si;
4284
+ }, wi = Si;
4285
+ function te() {
4286
+ return wi;
4266
4287
  }
4267
- const Re = Te(!1);
4268
- var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4288
+ const De = He(!1);
4289
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4269
4290
  for (var r in t || (t = {}))
4270
- Bi.call(t, r) && wt(e, r, t[r]);
4271
- if (St)
4272
- for (var r of St(t))
4273
- Pi.call(t, r) && wt(e, r, t[r]);
4291
+ Pi.call(t, r) && Ht(e, r, t[r]);
4292
+ if (Tt)
4293
+ for (var r of Tt(t))
4294
+ Ai.call(t, r) && Ht(e, r, t[r]);
4274
4295
  return e;
4275
- }, Oi = (e, t) => Ti(e, Hi(t));
4276
- let Ye;
4277
- const _e = Te(null);
4278
- function Tt(e) {
4296
+ }, Ii = (e, t) => Hi(e, Bi(t));
4297
+ let rt;
4298
+ const Ee = He(null);
4299
+ function Bt(e) {
4279
4300
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4280
4301
  }
4281
- function Be(e, t = re().fallbackLocale) {
4282
- const r = Tt(e);
4283
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4302
+ function Ae(e, t = te().fallbackLocale) {
4303
+ const r = Bt(e);
4304
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4284
4305
  }
4285
- function z() {
4286
- return Ye ?? void 0;
4306
+ function W() {
4307
+ return rt ?? void 0;
4287
4308
  }
4288
- _e.subscribe((e) => {
4289
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4309
+ Ee.subscribe((e) => {
4310
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4290
4311
  });
4291
- const Ii = (e) => {
4292
- if (e && yi(e) && Je(e)) {
4293
- const { loadingDelay: t } = re();
4312
+ const Li = (e) => {
4313
+ if (e && gi(e) && tt(e)) {
4314
+ const { loadingDelay: t } = te();
4294
4315
  let r;
4295
- return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4296
- () => Re.set(!0),
4316
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4317
+ () => De.set(!0),
4297
4318
  t
4298
- ) : Re.set(!0), mr(e).then(() => {
4299
- _e.set(e);
4319
+ ) : De.set(!0), br(e).then(() => {
4320
+ Ee.set(e);
4300
4321
  }).finally(() => {
4301
- clearTimeout(r), Re.set(!1);
4322
+ clearTimeout(r), De.set(!1);
4302
4323
  });
4303
4324
  }
4304
- return _e.set(e);
4305
- }, ie = Oi(Ai({}, _e), {
4306
- set: Ii
4307
- }), Pe = (e) => {
4325
+ return Ee.set(e);
4326
+ }, ne = Ii(Oi({}, Ee), {
4327
+ set: Li
4328
+ }), Oe = (e) => {
4308
4329
  const t = /* @__PURE__ */ Object.create(null);
4309
4330
  return (n) => {
4310
4331
  const i = JSON.stringify(n);
4311
4332
  return i in t ? t[i] : t[i] = e(n);
4312
4333
  };
4313
4334
  };
4314
- var Li = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4335
+ var Ci = Object.defineProperty, xe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
4315
4336
  for (var r in t || (t = {}))
4316
- br.call(t, r) && Ht(e, r, t[r]);
4317
- if (Ee)
4318
- for (var r of Ee(t))
4319
- yr.call(t, r) && Ht(e, r, t[r]);
4337
+ yr.call(t, r) && Pt(e, r, t[r]);
4338
+ if (xe)
4339
+ for (var r of xe(t))
4340
+ gr.call(t, r) && Pt(e, r, t[r]);
4320
4341
  return e;
4321
- }, oe = (e, t) => {
4342
+ }, ie = (e, t) => {
4322
4343
  var r = {};
4323
4344
  for (var n in e)
4324
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4325
- if (e != null && Ee)
4326
- for (var n of Ee(e))
4327
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4345
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4346
+ if (e != null && xe)
4347
+ for (var n of xe(e))
4348
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4328
4349
  return r;
4329
4350
  };
4330
- const he = (e, t) => {
4331
- const { formats: r } = re();
4351
+ const le = (e, t) => {
4352
+ const { formats: r } = te();
4332
4353
  if (e in r && t in r[e])
4333
4354
  return r[e][t];
4334
4355
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4335
- }, Ci = Pe(
4356
+ }, Ni = Oe(
4336
4357
  (e) => {
4337
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4358
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4338
4359
  if (r == null)
4339
4360
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4340
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4361
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4341
4362
  }
4342
- ), Mi = Pe(
4363
+ ), Mi = Oe(
4343
4364
  (e) => {
4344
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4365
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4345
4366
  if (r == null)
4346
4367
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4347
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4368
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4348
4369
  }
4349
- ), Ni = Pe(
4370
+ ), Ri = Oe(
4350
4371
  (e) => {
4351
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4372
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4352
4373
  if (r == null)
4353
4374
  throw new Error(
4354
4375
  '[svelte-i18n] A "locale" must be set to format time values'
4355
4376
  );
4356
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4377
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4357
4378
  }
4358
- ), Ri = (e = {}) => {
4379
+ ), $i = (e = {}) => {
4359
4380
  var t = e, {
4360
- locale: r = z()
4361
- } = t, n = oe(t, [
4381
+ locale: r = W()
4382
+ } = t, n = ie(t, [
4362
4383
  "locale"
4363
4384
  ]);
4364
- return Ci(nt({ locale: r }, n));
4365
- }, $i = (e = {}) => {
4385
+ return Ni(ot({ locale: r }, n));
4386
+ }, Di = (e = {}) => {
4366
4387
  var t = e, {
4367
- locale: r = z()
4368
- } = t, n = oe(t, [
4388
+ locale: r = W()
4389
+ } = t, n = ie(t, [
4369
4390
  "locale"
4370
4391
  ]);
4371
- return Mi(nt({ locale: r }, n));
4372
- }, Di = (e = {}) => {
4392
+ return Mi(ot({ locale: r }, n));
4393
+ }, Ui = (e = {}) => {
4373
4394
  var t = e, {
4374
- locale: r = z()
4375
- } = t, n = oe(t, [
4395
+ locale: r = W()
4396
+ } = t, n = ie(t, [
4376
4397
  "locale"
4377
4398
  ]);
4378
- return Ni(nt({ locale: r }, n));
4379
- }, Ui = Pe(
4399
+ return Ri(ot({ locale: r }, n));
4400
+ }, Gi = Oe(
4380
4401
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4381
- (e, t = z()) => new fi(e, t, re().formats, {
4382
- ignoreTag: re().ignoreTag
4402
+ (e, t = W()) => new di(e, t, te().formats, {
4403
+ ignoreTag: te().ignoreTag
4383
4404
  })
4384
- ), Gi = (e, t = {}) => {
4405
+ ), Fi = (e, t = {}) => {
4385
4406
  var r, n, i, o;
4386
4407
  let a = t;
4387
4408
  typeof e == "object" && (a = e, e = a.id);
4388
4409
  const {
4389
4410
  values: s,
4390
- locale: l = z(),
4411
+ locale: l = W(),
4391
4412
  default: u
4392
4413
  } = a;
4393
4414
  if (l == null)
4394
4415
  throw new Error(
4395
4416
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4396
4417
  );
4397
- let h = cr(e, l);
4418
+ let h = fr(e, l);
4398
4419
  if (!h)
4399
- 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;
4420
+ h = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4400
4421
  else if (typeof h != "string")
4401
4422
  return console.warn(
4402
4423
  `[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.`
@@ -4405,7 +4426,7 @@ const he = (e, t) => {
4405
4426
  return h;
4406
4427
  let f = h;
4407
4428
  try {
4408
- f = Ui(h, l).format(s);
4429
+ f = Gi(h, l).format(s);
4409
4430
  } catch (c) {
4410
4431
  c instanceof Error && console.warn(
4411
4432
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4413,16 +4434,16 @@ const he = (e, t) => {
4413
4434
  );
4414
4435
  }
4415
4436
  return f;
4416
- }, Fi = (e, t) => Di(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = z()) => cr(e, t), Xi = ne([ie, ce], () => Gi);
4417
- ne([ie], () => Fi);
4418
- ne([ie], () => ji);
4419
- ne([ie], () => ki);
4420
- ne([ie, ce], () => Vi);
4421
- window.emWidgets = { topic: on };
4422
- const gr = (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)), Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4423
- function Ho(e, t) {
4437
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => Di(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
4438
+ re([ne], () => ji);
4439
+ re([ne], () => ki);
4440
+ re([ne], () => Vi);
4441
+ re([ne, ce], () => Xi);
4442
+ window.emWidgets = { topic: nn };
4443
+ 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)), zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4444
+ function Bo(e, t) {
4424
4445
  const r = window.navigator.userAgent;
4425
- return gr(r) ? t = e.filter((n) => {
4446
+ return _r(r) ? t = e.filter((n) => {
4426
4447
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4427
4448
  return n;
4428
4449
  }) : t = e.filter((n) => {
@@ -4430,7 +4451,7 @@ function Ho(e, t) {
4430
4451
  return n;
4431
4452
  }), t;
4432
4453
  }
4433
- function Bo(e, t) {
4454
+ function Po(e, t) {
4434
4455
  return new Promise((r, n) => {
4435
4456
  const i = new Headers();
4436
4457
  i.append("X-SessionID", t);
@@ -4442,13 +4463,13 @@ function Bo(e, t) {
4442
4463
  });
4443
4464
  }
4444
4465
  String(Number.MAX_SAFE_INTEGER).length;
4445
- function zi(e, t) {
4466
+ function Zi(e, t) {
4446
4467
  if (e) {
4447
4468
  const r = document.createElement("style");
4448
4469
  r.innerHTML = t, e.appendChild(r);
4449
4470
  }
4450
4471
  }
4451
- function Zi(e, t) {
4472
+ function Qi(e, t) {
4452
4473
  if (!e || !t)
4453
4474
  return;
4454
4475
  const r = new URL(t);
@@ -4459,7 +4480,7 @@ function Zi(e, t) {
4459
4480
  console.error("There was an error while trying to load client styling from URL", n);
4460
4481
  });
4461
4482
  }
4462
- function Qi(e, t, r) {
4483
+ function qi(e, t, r) {
4463
4484
  if (window.emMessageBus) {
4464
4485
  const n = document.createElement("style");
4465
4486
  window.emMessageBus.subscribe(t, (i) => {
@@ -4467,13 +4488,13 @@ function Qi(e, t, r) {
4467
4488
  });
4468
4489
  }
4469
4490
  }
4470
- function Bt(e, t) {
4471
- dr(e, t);
4491
+ function At(e, t) {
4492
+ pr(e, t);
4472
4493
  }
4473
- function qi(e) {
4474
- ie.set(e);
4494
+ function Ji(e) {
4495
+ ne.set(e);
4475
4496
  }
4476
- const Pt = {
4497
+ const Ot = {
4477
4498
  en: {
4478
4499
  error: "500 Error - Internal Server Error"
4479
4500
  },
@@ -4505,7 +4526,7 @@ if (typeof window < "u") {
4505
4526
  }
4506
4527
  };
4507
4528
  };
4508
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-C6NZu63m.js").then(({ default: t }) => {
4529
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-oDArpqk3.js").then(({ default: t }) => {
4509
4530
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4510
4531
  });
4511
4532
  }
@@ -4521,32 +4542,32 @@ if (typeof window < "u") {
4521
4542
  }
4522
4543
  };
4523
4544
  };
4524
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-D_-hgIOG.js").then(({ default: t }) => {
4545
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-D1UMrOrr.js").then(({ default: t }) => {
4525
4546
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4526
4547
  });
4527
4548
  }
4528
- function Ji(e) {
4549
+ function Yi(e) {
4529
4550
  wr(e, "svelte-5u3c97", `.svelte-5u3c97{font-family:inherit}.CasinoCalendarItem.svelte-5u3c97{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-5u3c97{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-5u3c97{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-5u3c97{display:block;width:80px;height:80px;margin:0 auto
4530
4551
  }.LoadingSpinner.svelte-5u3c97:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:svelte-5u3c97-LoadingSpinner 1.2s linear infinite}@keyframes svelte-5u3c97-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4531
4552
  }
4532
- function At(e, t, r) {
4553
+ function It(e, t, r) {
4533
4554
  const n = e.slice();
4534
4555
  return n[26] = t[r], n[28] = r, n;
4535
4556
  }
4536
- function Yi(e) {
4537
- let t, r, n, i = st(
4557
+ function Ki(e) {
4558
+ let t, r, n, i = ut(
4538
4559
  /*calendarCollections*/
4539
4560
  e[6]
4540
4561
  ), o = [];
4541
4562
  for (let s = 0; s < i.length; s += 1)
4542
- o[s] = Ot(At(e, i, s));
4563
+ o[s] = Lt(It(e, i, s));
4543
4564
  let a = (
4544
4565
  /*calendarModalOpened*/
4545
- e[11] == !0 && It(e)
4566
+ e[11] == !0 && Ct(e)
4546
4567
  );
4547
4568
  return {
4548
4569
  c() {
4549
- t = R("div");
4570
+ t = $("div");
4550
4571
  for (let s = 0; s < o.length; s += 1)
4551
4572
  o[s].c();
4552
4573
  r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
@@ -4556,60 +4577,60 @@ function Yi(e) {
4556
4577
  k(s, t, l);
4557
4578
  for (let u = 0; u < o.length; u += 1)
4558
4579
  o[u] && o[u].m(t, null);
4559
- Se(t, r), a && a.m(t, null);
4580
+ we(t, r), a && a.m(t, null);
4560
4581
  },
4561
4582
  p(s, l) {
4562
4583
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4563
4584
  95) {
4564
- i = st(
4585
+ i = ut(
4565
4586
  /*calendarCollections*/
4566
4587
  s[6]
4567
4588
  );
4568
4589
  let u;
4569
4590
  for (u = 0; u < i.length; u += 1) {
4570
- const h = At(s, i, u);
4571
- o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
4591
+ const h = It(s, i, u);
4592
+ o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4572
4593
  }
4573
4594
  for (; u < o.length; u += 1)
4574
4595
  o[u].d(1);
4575
4596
  o.length = i.length;
4576
4597
  }
4577
4598
  /*calendarModalOpened*/
4578
- s[11] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4599
+ s[11] == !0 ? a ? a.p(s, l) : (a = Ct(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4579
4600
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4580
4601
  (s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4581
4602
  },
4582
4603
  d(s) {
4583
- s && D(t), Br(o, s), a && a.d();
4604
+ s && U(t), Br(o, s), a && a.d();
4584
4605
  }
4585
4606
  };
4586
4607
  }
4587
- function Ki(e) {
4608
+ function eo(e) {
4588
4609
  let t;
4589
4610
  return {
4590
4611
  c() {
4591
- t = R("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4612
+ t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4592
4613
  },
4593
4614
  m(r, n) {
4594
4615
  k(r, t, n);
4595
4616
  },
4596
- p: B,
4617
+ p: P,
4597
4618
  d(r) {
4598
- r && D(t);
4619
+ r && U(t);
4599
4620
  }
4600
4621
  };
4601
4622
  }
4602
- function eo(e) {
4623
+ function to(e) {
4603
4624
  let t, r = (
4604
4625
  /*$_*/
4605
4626
  e[12]("error") + ""
4606
4627
  ), n;
4607
4628
  return {
4608
4629
  c() {
4609
- t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-5u3c97");
4630
+ t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
4610
4631
  },
4611
4632
  m(i, o) {
4612
- k(i, t, o), Se(t, n);
4633
+ k(i, t, o), we(t, n);
4613
4634
  },
4614
4635
  p(i, o) {
4615
4636
  o & /*$_*/
@@ -4617,15 +4638,15 @@ function eo(e) {
4617
4638
  i[12]("error") + "") && Ir(n, r);
4618
4639
  },
4619
4640
  d(i) {
4620
- i && D(t);
4641
+ i && U(t);
4621
4642
  }
4622
4643
  };
4623
4644
  }
4624
- function Ot(e) {
4645
+ function Lt(e) {
4625
4646
  let t, r, n, i, o, a;
4626
4647
  return {
4627
4648
  c() {
4628
- t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4649
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4629
4650
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4630
4651
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4631
4652
  e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
@@ -4709,15 +4730,15 @@ function Ot(e) {
4709
4730
  );
4710
4731
  },
4711
4732
  d(s) {
4712
- s && D(t);
4733
+ s && U(t);
4713
4734
  }
4714
4735
  };
4715
4736
  }
4716
- function It(e) {
4737
+ function Ct(e) {
4717
4738
  let t, r, n, i, o, a, s, l;
4718
4739
  return {
4719
4740
  c() {
4720
- t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4741
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4721
4742
  e[6][
4722
4743
  /*selectedIndex*/
4723
4744
  e[7]
@@ -4769,7 +4790,7 @@ function It(e) {
4769
4790
  ), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4770
4791
  },
4771
4792
  m(u, h) {
4772
- k(u, t, h), Se(t, r);
4793
+ k(u, t, h), we(t, r);
4773
4794
  },
4774
4795
  p(u, h) {
4775
4796
  h & /*calendarCollections, selectedIndex*/
@@ -4835,33 +4856,33 @@ function It(e) {
4835
4856
  );
4836
4857
  },
4837
4858
  d(u) {
4838
- u && D(t);
4859
+ u && U(t);
4839
4860
  }
4840
4861
  };
4841
4862
  }
4842
- function to(e) {
4863
+ function ro(e) {
4843
4864
  let t;
4844
4865
  function r(o, a) {
4845
4866
  if (
4846
4867
  /*hasErrors*/
4847
4868
  o[9]
4848
4869
  )
4849
- return eo;
4870
+ return to;
4850
4871
  if (
4851
4872
  /*isLoading*/
4852
4873
  o[8]
4853
4874
  )
4854
- return Ki;
4875
+ return eo;
4855
4876
  if (
4856
4877
  /*calendarCollections*/
4857
4878
  o[6]?.length
4858
4879
  )
4859
- return Yi;
4880
+ return Ki;
4860
4881
  }
4861
4882
  let n = r(e), i = n && n(e);
4862
4883
  return {
4863
4884
  c() {
4864
- t = R("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4885
+ t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4865
4886
  },
4866
4887
  m(o, a) {
4867
4888
  k(o, t, a), i && i.m(t, null), e[16](t);
@@ -4869,51 +4890,51 @@ function to(e) {
4869
4890
  p(o, [a]) {
4870
4891
  n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4871
4892
  },
4872
- i: B,
4873
- o: B,
4893
+ i: P,
4894
+ o: P,
4874
4895
  d(o) {
4875
- o && D(t), i && i.d(), e[16](null);
4896
+ o && U(t), i && i.d(), e[16](null);
4876
4897
  }
4877
4898
  };
4878
4899
  }
4879
- function ro(e, t, r) {
4900
+ function no(e, t, r) {
4880
4901
  let n;
4881
- Sr(e, Xi, (p) => r(12, n = p));
4882
- let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, P = !1, H = window.navigator.userAgent, w = !1, C;
4883
- const A = () => {
4884
- qi(s);
4902
+ Sr(e, Wi, (p) => r(12, n = p));
4903
+ let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, m, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1;
4904
+ const C = () => {
4905
+ Ji(s);
4885
4906
  };
4886
- Object.keys(Pt).forEach((p) => {
4887
- Bt(p, Pt[p]);
4907
+ Object.keys(Ot).forEach((p) => {
4908
+ At(p, Ot[p]);
4888
4909
  });
4889
- const M = () => {
4910
+ const O = () => {
4890
4911
  let p = h;
4891
4912
  if (p)
4892
4913
  return fetch(p).then((L) => L.json()).then((L) => {
4893
4914
  Object.keys(L).forEach((G) => {
4894
- Bt(G, L[G]);
4915
+ At(G, L[G]);
4895
4916
  });
4896
4917
  }).catch((L) => {
4897
4918
  console.log(L);
4898
4919
  });
4899
- }, x = () => {
4920
+ }, N = () => {
4900
4921
  r(8, g = !0);
4901
4922
  let p = new URL(`${i}/${s}/daily-calendar`);
4902
4923
  p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4903
- let L = Wi(H);
4924
+ let L = zi(H);
4904
4925
  L && (L === "PC" ? p.searchParams.append("device", "dk") : L === "iPad" || L === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4905
4926
  r(6, m = G);
4906
4927
  }).catch((G) => {
4907
4928
  console.log(G), r(9, S = !0);
4908
4929
  }).finally(() => {
4909
- O(), r(8, g = !1);
4930
+ E(), r(8, g = !1);
4910
4931
  });
4911
- }, O = () => {
4932
+ }, E = () => {
4912
4933
  const p = c.getRootNode().host;
4913
4934
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4914
4935
  }, I = () => {
4915
- x();
4916
- }, V = (p) => {
4936
+ N();
4937
+ }, B = (p) => {
4917
4938
  p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4918
4939
  {
4919
4940
  type: "ShowModal",
@@ -4926,11 +4947,11 @@ function ro(e, t, r) {
4926
4947
  data: m[b]?.dailyEvents
4927
4948
  })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4928
4949
  };
4929
- Cr(() => (window.addEventListener("message", V, !1), gr(H) && r(10, P = !0), () => {
4930
- window.emMessageBus && C && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", V);
4950
+ Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
4951
+ window.removeEventListener("message", B);
4931
4952
  }));
4932
- function _r(p) {
4933
- $e[p ? "unshift" : "push"](() => {
4953
+ function z(p) {
4954
+ Ue[p ? "unshift" : "push"](() => {
4934
4955
  c = p, r(5, c);
4935
4956
  });
4936
4957
  }
@@ -4939,11 +4960,11 @@ function ro(e, t, r) {
4939
4960
  }, e.$$.update = () => {
4940
4961
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4941
4962
  57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4942
- 34 && l && c && zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4943
- 36 && u && c && Zi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4944
- 48 && c && Qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4945
- 1 && s && A(), e.$$.dirty & /*lang, translationurl*/
4946
- 9 && s && h && M();
4963
+ 34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4964
+ 36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4965
+ 48 && c && qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4966
+ 1 && s && C(), e.$$.dirty & /*lang, translationurl*/
4967
+ 9 && s && h && O();
4947
4968
  }, [
4948
4969
  s,
4949
4970
  l,
@@ -4955,13 +4976,13 @@ function ro(e, t, r) {
4955
4976
  b,
4956
4977
  g,
4957
4978
  S,
4958
- P,
4979
+ A,
4959
4980
  w,
4960
4981
  n,
4961
4982
  i,
4962
4983
  o,
4963
4984
  a,
4964
- _r
4985
+ z
4965
4986
  ];
4966
4987
  }
4967
4988
  class vr extends jr {
@@ -4969,9 +4990,9 @@ class vr extends jr {
4969
4990
  super(), Gr(
4970
4991
  this,
4971
4992
  t,
4993
+ no,
4972
4994
  ro,
4973
- to,
4974
- Ct,
4995
+ Mt,
4975
4996
  {
4976
4997
  cmsendpoint: 13,
4977
4998
  env: 14,
@@ -4982,122 +5003,122 @@ class vr extends jr {
4982
5003
  translationurl: 3,
4983
5004
  mbsource: 4
4984
5005
  },
4985
- Ji
5006
+ Yi
4986
5007
  );
4987
5008
  }
4988
5009
  get cmsendpoint() {
4989
5010
  return this.$$.ctx[13];
4990
5011
  }
4991
5012
  set cmsendpoint(t) {
4992
- this.$$set({ cmsendpoint: t }), N();
5013
+ this.$$set({ cmsendpoint: t }), M();
4993
5014
  }
4994
5015
  get env() {
4995
5016
  return this.$$.ctx[14];
4996
5017
  }
4997
5018
  set env(t) {
4998
- this.$$set({ env: t }), N();
5019
+ this.$$set({ env: t }), M();
4999
5020
  }
5000
5021
  get userroles() {
5001
5022
  return this.$$.ctx[15];
5002
5023
  }
5003
5024
  set userroles(t) {
5004
- this.$$set({ userroles: t }), N();
5025
+ this.$$set({ userroles: t }), M();
5005
5026
  }
5006
5027
  get lang() {
5007
5028
  return this.$$.ctx[0];
5008
5029
  }
5009
5030
  set lang(t) {
5010
- this.$$set({ lang: t }), N();
5031
+ this.$$set({ lang: t }), M();
5011
5032
  }
5012
5033
  get clientstyling() {
5013
5034
  return this.$$.ctx[1];
5014
5035
  }
5015
5036
  set clientstyling(t) {
5016
- this.$$set({ clientstyling: t }), N();
5037
+ this.$$set({ clientstyling: t }), M();
5017
5038
  }
5018
5039
  get clientstylingurl() {
5019
5040
  return this.$$.ctx[2];
5020
5041
  }
5021
5042
  set clientstylingurl(t) {
5022
- this.$$set({ clientstylingurl: t }), N();
5043
+ this.$$set({ clientstylingurl: t }), M();
5023
5044
  }
5024
5045
  get translationurl() {
5025
5046
  return this.$$.ctx[3];
5026
5047
  }
5027
5048
  set translationurl(t) {
5028
- this.$$set({ translationurl: t }), N();
5049
+ this.$$set({ translationurl: t }), M();
5029
5050
  }
5030
5051
  get mbsource() {
5031
5052
  return this.$$.ctx[4];
5032
5053
  }
5033
5054
  set mbsource(t) {
5034
- this.$$set({ mbsource: t }), N();
5055
+ this.$$set({ mbsource: t }), M();
5035
5056
  }
5036
5057
  }
5037
5058
  Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5038
- const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5059
+ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5039
5060
  __proto__: null,
5040
5061
  default: vr
5041
5062
  }, Symbol.toStringTag, { value: "Module" }));
5042
5063
  export {
5043
- ie as $,
5044
- ho as A,
5045
- so as B,
5046
- ao as C,
5047
- oo as D,
5048
- Ir as E,
5049
- Br as F,
5050
- B as G,
5051
- d as H,
5052
- no as I,
5053
- Xi as J,
5054
- Pr as K,
5055
- mo as L,
5056
- _o as M,
5057
- Wi as N,
5058
- W as O,
5059
- fo as P,
5064
+ ne as $,
5065
+ co as A,
5066
+ Ar as B,
5067
+ Ue as C,
5068
+ io as D,
5069
+ d as E,
5070
+ Pr as F,
5071
+ bo as G,
5072
+ Zi as H,
5073
+ Qi as I,
5074
+ qi as J,
5075
+ Fr as K,
5076
+ Wi as L,
5077
+ zi as M,
5078
+ Eo as N,
5079
+ X as O,
5080
+ po as P,
5060
5081
  ce as Q,
5061
- po as R,
5082
+ mo as R,
5062
5083
  jr as S,
5063
- bo as T,
5064
- lo as U,
5065
- yo as V,
5066
- go as W,
5067
- Ho as X,
5068
- To as Y,
5069
- So as Z,
5070
- Bo as _,
5071
- dr as a,
5072
- wo as a0,
5073
- uo as a1,
5074
- xe as a2,
5075
- co as a3,
5084
+ yo as T,
5085
+ ho as U,
5086
+ go as V,
5087
+ _o as W,
5088
+ Bo as X,
5089
+ Ho as Y,
5090
+ wo as Z,
5091
+ Po as _,
5092
+ pr as a,
5093
+ lo as a0,
5094
+ To as a1,
5095
+ Se as a2,
5096
+ fo as a3,
5076
5097
  vo as a4,
5077
- Po as a5,
5098
+ Ao as a5,
5078
5099
  wr as b,
5079
- Fr as c,
5080
- k as d,
5081
- R as e,
5082
- N as f,
5100
+ Ft as c,
5101
+ U as d,
5102
+ So as e,
5103
+ M as f,
5083
5104
  xo as g,
5084
- Ut as h,
5105
+ k as h,
5085
5106
  Gr as i,
5086
- D as j,
5107
+ $ as j,
5087
5108
  Sr as k,
5088
- Qi as l,
5089
- Eo as m,
5090
- gr as n,
5109
+ _r as l,
5110
+ Ir as m,
5111
+ P as n,
5091
5112
  Cr as o,
5092
- $e as p,
5093
- zi as q,
5094
- Zi as r,
5095
- Ct as s,
5113
+ we as p,
5114
+ nt as q,
5115
+ j as r,
5116
+ Mt as s,
5096
5117
  Rr as t,
5097
- io as u,
5098
- st as v,
5099
- Ar as w,
5100
- Ke as x,
5101
- j as y,
5102
- Se as z
5118
+ oo as u,
5119
+ ut as v,
5120
+ Br as w,
5121
+ ao as x,
5122
+ uo as y,
5123
+ so as z
5103
5124
  };