@everymatrix/casino-page-nd 1.76.14 → 1.77.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/components/{CasinoCalendar-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
  2. package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
  3. package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
  4. package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
  8. package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
  10. package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
  11. package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
  13. package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
  14. package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
  15. package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
  16. package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
  17. package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
  18. package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
  19. package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
  20. package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
  21. package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
  22. package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
  23. package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
  24. package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
  26. package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
  27. package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
  28. package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
  30. package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
  31. package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
  32. package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
  33. package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
  34. package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
  35. package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
  36. package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
  37. package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
  38. package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
  39. package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
  40. package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
  41. package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
  42. package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
  43. package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
  44. package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
  45. package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
  46. package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
  47. package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
  48. package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
  49. package/components/CasinoWinners-DiN0im-f.cjs +1 -0
  50. package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
  51. package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
  52. package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
  54. package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/casino-calendar-6neds2oy.js +16 -0
  59. package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
  60. package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
  61. package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
  62. package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
  63. package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
  64. package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
  65. package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
  66. package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
  67. package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
  68. package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
  69. package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
  70. package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
  71. package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
  72. package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
  73. package/lazy/casino-filter-C-pmSjXr.js +16 -0
  74. package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
  75. package/lazy/casino-filter-Cj7_L9pL.js +16 -0
  76. package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
  77. package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
  78. package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
  79. package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
  80. package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
  81. package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
  82. package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
  83. package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
  84. package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
  85. package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
  86. package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
  87. package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
  88. package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
  89. package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
  90. package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
  91. package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
  92. package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
  93. package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
  94. package/lazy/casino-play-random-game--i81UNg_.js +566 -0
  95. package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
  96. package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
  97. package/lazy/casino-random-game-CrCiwriJ.js +16 -0
  98. package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
  99. package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
  100. package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
  101. package/lazy/casino-search-nd-C9BJPr43.js +16 -0
  102. package/lazy/casino-search-nd-CwQvpchn.js +16 -0
  103. package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
  104. package/lazy/casino-sort-CAbAJiMw.js +16 -0
  105. package/lazy/casino-sort-DvKa_qwq.js +16 -0
  106. package/lazy/casino-winners-B_gD0IFb.js +16 -0
  107. package/lazy/casino-winners-C7YkitCv.cjs +1 -0
  108. package/lazy/casino-winners-SrWXp94E.js +16 -0
  109. package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
  110. package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
  111. package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
  112. package/lazy/ui-image-BAx5XP4T.js +554 -0
  113. package/lazy/ui-image-q7RKTAnB.js +538 -0
  114. package/lazy/ui-image-xAOmP7KP.cjs +1 -0
  115. package/package.json +3 -2
  116. package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
  117. package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
  118. package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
  119. package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
  120. package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
  121. package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
  122. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
  123. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
  124. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
  125. package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
  126. package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
  127. package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
  128. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
  129. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
  130. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
  131. package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
  132. package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
  133. package/components/CasinoFilter-BVW1b78L.cjs +0 -1
  134. package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
  135. package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
  136. package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
  137. package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
  138. package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
  139. package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
  140. package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
  141. package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
  142. package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
  143. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  144. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  145. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  146. package/stencil/index-27b314b8-9-rvsddy.js +0 -566
  147. package/stencil/index-27b314b8-CCprWmCo.js +0 -582
  148. package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
@@ -1,4 +1,6 @@
1
- function B() {
1
+ import "../lazy/casino-calendar-daily-details-C53XYyqp.js";
2
+ import "../lazy/casino-calendar-daily-item-BVLvWZfF.js";
3
+ function P() {
2
4
  }
3
5
  function Er(e, t) {
4
6
  for (const r in t)
@@ -8,50 +10,50 @@ function Er(e, t) {
8
10
  e
9
11
  );
10
12
  }
11
- function Ct(e) {
13
+ function Nt(e) {
12
14
  return e();
13
15
  }
14
- function it() {
16
+ function st() {
15
17
  return /* @__PURE__ */ Object.create(null);
16
18
  }
17
- function W(e) {
18
- e.forEach(Ct);
19
+ function X(e) {
20
+ e.forEach(Nt);
19
21
  }
20
- function xe(e) {
22
+ function Se(e) {
21
23
  return typeof e == "function";
22
24
  }
23
- function Lt(e, t) {
25
+ function Mt(e, t) {
24
26
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
27
  }
26
28
  let fe;
27
- function no(e, t) {
29
+ function so(e, t) {
28
30
  return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
29
31
  }
30
32
  function xr(e) {
31
33
  return Object.keys(e).length === 0;
32
34
  }
33
- function Mt(e, ...t) {
35
+ function Rt(e, ...t) {
34
36
  if (e == null) {
35
37
  for (const n of t)
36
38
  n(void 0);
37
- return B;
39
+ return P;
38
40
  }
39
41
  const r = e.subscribe(...t);
40
42
  return r.unsubscribe ? () => r.unsubscribe() : r;
41
43
  }
42
44
  function Sr(e, t, r) {
43
- e.$$.on_destroy.push(Mt(t, r));
45
+ e.$$.on_destroy.push(Rt(t, r));
44
46
  }
45
- function io(e, t, r, n) {
47
+ function ao(e, t, r, n) {
46
48
  if (e) {
47
- const i = Nt(e, t, r, n);
49
+ const i = $t(e, t, r, n);
48
50
  return e[0](i);
49
51
  }
50
52
  }
51
- function Nt(e, t, r, n) {
53
+ function $t(e, t, r, n) {
52
54
  return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
55
  }
54
- function oo(e, t, r, n) {
56
+ function uo(e, t, r, n) {
55
57
  if (e[2] && n) {
56
58
  const i = e[2](n(r));
57
59
  if (t.dirty === void 0)
@@ -66,13 +68,13 @@ function oo(e, t, r, n) {
66
68
  }
67
69
  return t.dirty;
68
70
  }
69
- function so(e, t, r, n, i, o) {
71
+ function lo(e, t, r, n, i, o) {
70
72
  if (i) {
71
- const a = Nt(t, r, n, o);
73
+ const a = $t(t, r, n, o);
72
74
  e.p(a, i);
73
75
  }
74
76
  }
75
- function ao(e) {
77
+ function ho(e) {
76
78
  if (e.ctx.length > 32) {
77
79
  const t = [], r = e.ctx.length / 32;
78
80
  for (let n = 0; n < r; n++)
@@ -81,16 +83,16 @@ function ao(e) {
81
83
  }
82
84
  return -1;
83
85
  }
84
- function uo(e) {
85
- return e && xe(e.destroy) ? e.destroy : B;
86
+ function co(e) {
87
+ return e && Se(e.destroy) ? e.destroy : P;
86
88
  }
87
- function Se(e, t) {
89
+ function we(e, t) {
88
90
  e.appendChild(t);
89
91
  }
90
92
  function wr(e, t, r) {
91
93
  const n = Tr(e);
92
94
  if (!n.getElementById(t)) {
93
- const i = R("style");
95
+ const i = $("style");
94
96
  i.id = t, i.textContent = r, Hr(n, i);
95
97
  }
96
98
  }
@@ -105,7 +107,7 @@ function Tr(e) {
105
107
  ) : e.ownerDocument;
106
108
  }
107
109
  function Hr(e, t) {
108
- return Se(
110
+ return we(
109
111
  /** @type {Document} */
110
112
  e.head || e,
111
113
  t
@@ -121,25 +123,25 @@ function Br(e, t) {
121
123
  for (let r = 0; r < e.length; r += 1)
122
124
  e[r] && e[r].d(t);
123
125
  }
124
- function R(e) {
126
+ function $(e) {
125
127
  return document.createElement(e);
126
128
  }
127
129
  function Pr(e) {
128
130
  return document.createElementNS("http://www.w3.org/2000/svg", e);
129
131
  }
130
- function Ke(e) {
132
+ function nt(e) {
131
133
  return document.createTextNode(e);
132
134
  }
133
135
  function Ar() {
134
- return Ke(" ");
136
+ return nt(" ");
135
137
  }
136
- function lo() {
137
- return Ke("");
138
+ function fo() {
139
+ return nt("");
138
140
  }
139
- function ho(e, t, r, n) {
141
+ function po(e, t, r, n) {
140
142
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
141
143
  }
142
- function co(e) {
144
+ function mo(e) {
143
145
  return function(t) {
144
146
  return t.stopPropagation(), e.call(this, t);
145
147
  };
@@ -158,16 +160,16 @@ function Ir(e, t) {
158
160
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
159
161
  t);
160
162
  }
161
- function fo(e, t) {
163
+ function bo(e, t) {
162
164
  e.value = t ?? "";
163
165
  }
164
- function po(e, t, r, n) {
166
+ function yo(e, t, r, n) {
165
167
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
166
168
  }
167
- function mo(e, t, r) {
169
+ function go(e, t, r) {
168
170
  e.classList.toggle(t, !!r);
169
171
  }
170
- class bo {
172
+ class _o {
171
173
  /**
172
174
  * @private
173
175
  * @default false
@@ -201,7 +203,7 @@ class bo {
201
203
  this.e || (this.is_svg ? this.e = Pr(
202
204
  /** @type {keyof SVGElementTagNameMap} */
203
205
  r.nodeName
204
- ) : this.e = R(
206
+ ) : this.e = $(
205
207
  /** @type {keyof HTMLElementTagNameMap} */
206
208
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
207
209
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -237,7 +239,7 @@ class bo {
237
239
  this.n.forEach(D);
238
240
  }
239
241
  }
240
- function Cr(e) {
242
+ function Lr(e) {
241
243
  const t = {};
242
244
  return e.childNodes.forEach(
243
245
  /** @param {Element} node */
@@ -246,161 +248,161 @@ function Cr(e) {
246
248
  }
247
249
  ), t;
248
250
  }
249
- let ue;
250
- function ae(e) {
251
- ue = e;
251
+ let ae;
252
+ function se(e) {
253
+ ae = e;
252
254
  }
253
- function Rt() {
254
- if (!ue)
255
+ function Ut() {
256
+ if (!ae)
255
257
  throw new Error("Function called outside component initialization");
256
- return ue;
258
+ return ae;
257
259
  }
258
- function Lr(e) {
259
- Rt().$$.on_mount.push(e);
260
+ function Cr(e) {
261
+ Ut().$$.on_mount.push(e);
260
262
  }
261
- function yo(e) {
262
- Rt().$$.on_destroy.push(e);
263
+ function vo(e) {
264
+ Ut().$$.on_destroy.push(e);
263
265
  }
264
- const J = [], $e = [];
266
+ const J = [], De = [];
265
267
  let q = [];
266
- const ot = [], $t = /* @__PURE__ */ Promise.resolve();
267
- let De = !1;
268
- function Dt() {
269
- De || (De = !0, $t.then(N));
268
+ const at = [], Dt = /* @__PURE__ */ Promise.resolve();
269
+ let Ge = !1;
270
+ function Gt() {
271
+ Ge || (Ge = !0, Dt.then(M));
270
272
  }
271
- function go() {
272
- return Dt(), $t;
273
+ function Eo() {
274
+ return Gt(), Dt;
273
275
  }
274
- function Ue(e) {
276
+ function Fe(e) {
275
277
  q.push(e);
276
278
  }
277
- const Ae = /* @__PURE__ */ new Set();
279
+ const Ie = /* @__PURE__ */ new Set();
278
280
  let Z = 0;
279
- function N() {
281
+ function M() {
280
282
  if (Z !== 0)
281
283
  return;
282
- const e = ue;
284
+ const e = ae;
283
285
  do {
284
286
  try {
285
287
  for (; Z < J.length; ) {
286
288
  const t = J[Z];
287
- Z++, ae(t), Mr(t.$$);
289
+ Z++, se(t), Nr(t.$$);
288
290
  }
289
291
  } catch (t) {
290
292
  throw J.length = 0, Z = 0, t;
291
293
  }
292
- for (ae(null), J.length = 0, Z = 0; $e.length; )
293
- $e.pop()();
294
+ for (se(null), J.length = 0, Z = 0; De.length; )
295
+ De.pop()();
294
296
  for (let t = 0; t < q.length; t += 1) {
295
297
  const r = q[t];
296
- Ae.has(r) || (Ae.add(r), r());
298
+ Ie.has(r) || (Ie.add(r), r());
297
299
  }
298
300
  q.length = 0;
299
301
  } while (J.length);
300
- for (; ot.length; )
301
- ot.pop()();
302
- De = !1, Ae.clear(), ae(e);
302
+ for (; at.length; )
303
+ at.pop()();
304
+ Ge = !1, Ie.clear(), se(e);
303
305
  }
304
- function Mr(e) {
306
+ function Nr(e) {
305
307
  if (e.fragment !== null) {
306
- e.update(), W(e.before_update);
308
+ e.update(), X(e.before_update);
307
309
  const t = e.dirty;
308
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
310
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
309
311
  }
310
312
  }
311
- function Nr(e) {
313
+ function Mr(e) {
312
314
  const t = [], r = [];
313
315
  q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
314
316
  }
315
317
  const me = /* @__PURE__ */ new Set();
316
- let X;
317
- function vo() {
318
- X = {
318
+ let V;
319
+ function xo() {
320
+ V = {
319
321
  r: 0,
320
322
  c: [],
321
- p: X
323
+ p: V
322
324
  // parent group
323
325
  };
324
326
  }
325
- function _o() {
326
- X.r || W(X.c), X = X.p;
327
+ function So() {
328
+ V.r || X(V.c), V = V.p;
327
329
  }
328
- function Ut(e, t) {
330
+ function Ft(e, t) {
329
331
  e && e.i && (me.delete(e), e.i(t));
330
332
  }
331
333
  function Rr(e, t, r, n) {
332
334
  if (e && e.o) {
333
335
  if (me.has(e))
334
336
  return;
335
- me.add(e), X.c.push(() => {
337
+ me.add(e), V.c.push(() => {
336
338
  me.delete(e), n && (r && e.d(1), n());
337
339
  }), e.o(t);
338
340
  } else
339
341
  n && n();
340
342
  }
341
- function st(e) {
343
+ function ut(e) {
342
344
  return e?.length !== void 0 ? e : Array.from(e);
343
345
  }
344
- function Eo(e, t) {
346
+ function wo(e, t) {
345
347
  e.d(1), t.delete(e.key);
346
348
  }
347
- function xo(e, t) {
349
+ function To(e, t) {
348
350
  Rr(e, 1, 1, () => {
349
351
  t.delete(e.key);
350
352
  });
351
353
  }
352
- function So(e, t, r, n, i, o, a, s, l, u, h, f) {
354
+ function Ho(e, t, r, n, i, o, a, s, l, u, h, f) {
353
355
  let c = e.length, m = o.length, b = c;
354
356
  const g = {};
355
357
  for (; b--; )
356
358
  g[e[b].key] = b;
357
- const S = [], P = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
359
+ const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
358
360
  for (b = m; b--; ) {
359
- const x = f(i, o, b), O = r(x);
360
- let I = a.get(O);
361
- 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]));
361
+ const E = f(i, o, b), I = r(E);
362
+ let B = a.get(I);
363
+ 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]));
362
364
  }
363
- const L = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set();
364
- function M(x) {
365
- Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, m--;
365
+ const C = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
366
+ function N(E) {
367
+ Ft(E, 1), E.m(s, h), a.set(E.key, E), h = E.first, m--;
366
368
  }
367
369
  for (; c && m; ) {
368
- const x = S[m - 1], O = e[c - 1], I = x.key, V = O.key;
369
- x === O ? (h = x.first, c--, m--) : P.has(V) ? !a.has(I) || L.has(I) ? M(x) : A.has(V) ? c-- : H.get(I) > H.get(V) ? (A.add(I), M(x)) : (L.add(V), c--) : (l(O, a), c--);
370
+ const E = S[m - 1], I = e[c - 1], B = E.key, z = I.key;
371
+ 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--);
370
372
  }
371
373
  for (; c--; ) {
372
- const x = e[c];
373
- P.has(x.key) || l(x, a);
374
+ const E = e[c];
375
+ A.has(E.key) || l(E, a);
374
376
  }
375
377
  for (; m; )
376
- M(S[m - 1]);
377
- return W(w), S;
378
+ N(S[m - 1]);
379
+ return X(w), S;
378
380
  }
379
381
  function $r(e, t, r) {
380
382
  const { fragment: n, after_update: i } = e.$$;
381
- n && n.m(t, r), Ue(() => {
382
- const o = e.$$.on_mount.map(Ct).filter(xe);
383
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
384
- }), i.forEach(Ue);
383
+ n && n.m(t, r), Fe(() => {
384
+ const o = e.$$.on_mount.map(Nt).filter(Se);
385
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
386
+ }), i.forEach(Fe);
385
387
  }
386
- function Dr(e, t) {
388
+ function Ur(e, t) {
387
389
  const r = e.$$;
388
- 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 = []);
390
+ 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 = []);
389
391
  }
390
- function Ur(e, t) {
391
- e.$$.dirty[0] === -1 && (J.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
392
+ function Dr(e, t) {
393
+ e.$$.dirty[0] === -1 && (J.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
392
394
  }
393
395
  function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
394
- const l = ue;
395
- ae(e);
396
+ const l = ae;
397
+ se(e);
396
398
  const u = e.$$ = {
397
399
  fragment: null,
398
400
  ctx: [],
399
401
  // state
400
402
  props: o,
401
- update: B,
403
+ update: P,
402
404
  not_equal: i,
403
- bound: it(),
405
+ bound: st(),
404
406
  // lifecycle
405
407
  on_mount: [],
406
408
  on_destroy: [],
@@ -409,7 +411,7 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
409
411
  after_update: [],
410
412
  context: new Map(t.context || (l ? l.$$.context : [])),
411
413
  // everything else
412
- callbacks: it(),
414
+ callbacks: st(),
413
415
  dirty: s,
414
416
  skip_bound: !1,
415
417
  root: t.target || l.$$.root
@@ -418,19 +420,19 @@ function Gr(e, t, r, n, i, o, a = null, s = [-1]) {
418
420
  let h = !1;
419
421
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
420
422
  const b = m.length ? m[0] : c;
421
- 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;
422
- }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
423
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Dr(e, f)), c;
424
+ }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
423
425
  if (t.hydrate) {
424
426
  const f = Or(t.target);
425
427
  u.fragment && u.fragment.l(f), f.forEach(D);
426
428
  } else
427
429
  u.fragment && u.fragment.c();
428
- t.intro && Ut(e.$$.fragment), $r(e, t.target, t.anchor), N();
430
+ t.intro && Ft(e.$$.fragment), $r(e, t.target, t.anchor), M();
429
431
  }
430
- ae(l);
432
+ se(l);
431
433
  }
432
- let Gt;
433
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
434
+ let jt;
435
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
434
436
  /** The Svelte component constructor */
435
437
  $$ctor;
436
438
  /** Slots */
@@ -472,7 +474,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
472
474
  let o;
473
475
  return {
474
476
  c: function() {
475
- o = R("slot"), i !== "default" && j(o, "name", i);
477
+ o = $("slot"), i !== "default" && j(o, "name", i);
476
478
  },
477
479
  /**
478
480
  * @param {HTMLElement} target
@@ -489,7 +491,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
489
491
  };
490
492
  if (await Promise.resolve(), !this.$$cn || this.$$c)
491
493
  return;
492
- const t = {}, r = Cr(this);
494
+ const t = {}, r = Lr(this);
493
495
  for (const i of this.$$s)
494
496
  i in r && (t[i] = [e(i)]);
495
497
  for (const i of this.attributes) {
@@ -577,7 +579,7 @@ function be(e, t, r, n) {
577
579
  }
578
580
  }
579
581
  function Fr(e, t, r, n, i, o) {
580
- let a = class extends Gt {
582
+ let a = class extends jt {
581
583
  constructor() {
582
584
  super(e, r, i), this.$$p_d = t;
583
585
  }
@@ -624,7 +626,7 @@ class jr {
624
626
  $$set = void 0;
625
627
  /** @returns {void} */
626
628
  $destroy() {
627
- Dr(this, 1), this.$destroy = B;
629
+ Ur(this, 1), this.$destroy = P;
628
630
  }
629
631
  /**
630
632
  * @template {Extract<keyof Events, string>} K
@@ -633,8 +635,8 @@ class jr {
633
635
  * @returns {() => void}
634
636
  */
635
637
  $on(t, r) {
636
- if (!xe(r))
637
- return B;
638
+ if (!Se(r))
639
+ return P;
638
640
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
639
641
  return n.push(r), () => {
640
642
  const i = n.indexOf(r);
@@ -665,43 +667,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
665
667
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
666
668
  PERFORMANCE OF THIS SOFTWARE.
667
669
  ***************************************************************************** */
668
- var Ge = function(e, t) {
669
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
670
+ var je = function(e, t) {
671
+ return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
670
672
  r.__proto__ = n;
671
673
  } || function(r, n) {
672
674
  for (var i in n)
673
675
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
674
- }, Ge(e, t);
676
+ }, je(e, t);
675
677
  };
676
- function U(e, t) {
678
+ function he(e, t) {
677
679
  if (typeof t != "function" && t !== null)
678
680
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
679
- Ge(e, t);
681
+ je(e, t);
680
682
  function r() {
681
683
  this.constructor = e;
682
684
  }
683
685
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
684
686
  }
685
- var _ = function() {
686
- return _ = Object.assign || function(t) {
687
- for (var r, n = 1, i = arguments.length; n < i; n++) {
688
- r = arguments[n];
689
- for (var o in r)
690
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
691
- }
692
- return t;
693
- }, _.apply(this, arguments);
694
- };
695
- function Vr(e, t) {
696
- var r = {};
697
- for (var n in e)
698
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
699
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
700
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
701
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
702
- return r;
703
- }
704
- function Fe(e) {
687
+ function ke(e) {
705
688
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
706
689
  if (r)
707
690
  return r.call(e);
@@ -713,7 +696,7 @@ function Fe(e) {
713
696
  };
714
697
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
715
698
  }
716
- function je(e, t) {
699
+ function Ve(e, t) {
717
700
  var r = typeof Symbol == "function" && e[Symbol.iterator];
718
701
  if (!r)
719
702
  return e;
@@ -733,22 +716,22 @@ function je(e, t) {
733
716
  }
734
717
  return o;
735
718
  }
736
- function Y(e, t, r) {
737
- if (r || arguments.length === 2)
719
+ function Xe(e, t, r) {
720
+ if (arguments.length === 2)
738
721
  for (var n = 0, i = t.length, o; n < i; n++)
739
722
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
740
723
  return e.concat(o || t);
741
724
  }
742
- function $(e) {
725
+ function U(e) {
743
726
  return typeof e == "function";
744
727
  }
745
- function Ft(e) {
728
+ function kt(e) {
746
729
  var t = function(n) {
747
730
  Error.call(n), n.stack = new Error().stack;
748
731
  }, r = e(t);
749
732
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
750
733
  }
751
- var Oe = Ft(function(e) {
734
+ var Le = kt(function(e) {
752
735
  return function(r) {
753
736
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
754
737
  ` + r.map(function(n, i) {
@@ -757,13 +740,13 @@ var Oe = Ft(function(e) {
757
740
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
758
741
  };
759
742
  });
760
- function ke(e, t) {
743
+ function We(e, t) {
761
744
  if (e) {
762
745
  var r = e.indexOf(t);
763
746
  0 <= r && e.splice(r, 1);
764
747
  }
765
748
  }
766
- var we = function() {
749
+ var Te = function() {
767
750
  function e(t) {
768
751
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
769
752
  }
@@ -775,7 +758,7 @@ var we = function() {
775
758
  if (a)
776
759
  if (this._parentage = null, Array.isArray(a))
777
760
  try {
778
- for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
761
+ for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
779
762
  var u = l.value;
780
763
  u.remove(this);
781
764
  }
@@ -792,22 +775,22 @@ var we = function() {
792
775
  else
793
776
  a.remove(this);
794
777
  var h = this.initialTeardown;
795
- if ($(h))
778
+ if (U(h))
796
779
  try {
797
780
  h();
798
781
  } catch (g) {
799
- o = g instanceof Oe ? g.errors : [g];
782
+ o = g instanceof Le ? g.errors : [g];
800
783
  }
801
784
  var f = this._finalizers;
802
785
  if (f) {
803
786
  this._finalizers = null;
804
787
  try {
805
- for (var c = Fe(f), m = c.next(); !m.done; m = c.next()) {
788
+ for (var c = ke(f), m = c.next(); !m.done; m = c.next()) {
806
789
  var b = m.value;
807
790
  try {
808
- at(b);
791
+ lt(b);
809
792
  } catch (g) {
810
- o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
793
+ o = o ?? [], g instanceof Le ? o = Xe(Xe([], Ve(o)), Ve(g.errors)) : o.push(g);
811
794
  }
812
795
  }
813
796
  } catch (g) {
@@ -822,13 +805,13 @@ var we = function() {
822
805
  }
823
806
  }
824
807
  if (o)
825
- throw new Oe(o);
808
+ throw new Le(o);
826
809
  }
827
810
  }, e.prototype.add = function(t) {
828
811
  var r;
829
812
  if (t && t !== this)
830
813
  if (this.closed)
831
- at(t);
814
+ lt(t);
832
815
  else {
833
816
  if (t instanceof e) {
834
817
  if (t.closed || t._hasParent(this))
@@ -845,32 +828,28 @@ var we = function() {
845
828
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
846
829
  }, e.prototype._removeParent = function(t) {
847
830
  var r = this._parentage;
848
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
831
+ r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
849
832
  }, e.prototype.remove = function(t) {
850
833
  var r = this._finalizers;
851
- r && ke(r, t), t instanceof e && t._removeParent(this);
834
+ r && We(r, t), t instanceof e && t._removeParent(this);
852
835
  }, e.EMPTY = function() {
853
836
  var t = new e();
854
837
  return t.closed = !0, t;
855
838
  }(), e;
856
- }(), jt = we.EMPTY;
857
- function kt(e) {
858
- return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
839
+ }(), Vt = Te.EMPTY;
840
+ function Xt(e) {
841
+ return e instanceof Te || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
859
842
  }
860
- function at(e) {
861
- $(e) ? e() : e.unsubscribe();
843
+ function lt(e) {
844
+ U(e) ? e() : e.unsubscribe();
862
845
  }
863
- var Vt = {
864
- onUnhandledError: null,
865
- onStoppedNotification: null,
866
- Promise: void 0,
867
- useDeprecatedSynchronousErrorHandling: !1,
868
- useDeprecatedNextContext: !1
846
+ var Vr = {
847
+ Promise: void 0
869
848
  }, Xr = {
870
849
  setTimeout: function(e, t) {
871
850
  for (var r = [], n = 2; n < arguments.length; n++)
872
851
  r[n - 2] = arguments[n];
873
- return setTimeout.apply(void 0, Y([e, t], je(r)));
852
+ return setTimeout.apply(void 0, Xe([e, t], Ve(r)));
874
853
  },
875
854
  clearTimeout: function(e) {
876
855
  return clearTimeout(e);
@@ -882,19 +861,19 @@ function Wr(e) {
882
861
  throw e;
883
862
  });
884
863
  }
885
- function ut() {
864
+ function ht() {
886
865
  }
887
866
  function ye(e) {
888
867
  e();
889
868
  }
890
- var Xt = function(e) {
891
- U(t, e);
869
+ var Wt = function(e) {
870
+ he(t, e);
892
871
  function t(r) {
893
872
  var n = e.call(this) || this;
894
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Jr, n;
873
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = Qr, n;
895
874
  }
896
875
  return t.create = function(r, n, i) {
897
- return new Ve(r, n, i);
876
+ return new ze(r, n, i);
898
877
  }, t.prototype.next = function(r) {
899
878
  this.isStopped || this._next(r);
900
879
  }, t.prototype.error = function(r) {
@@ -918,11 +897,7 @@ var Xt = function(e) {
918
897
  this.unsubscribe();
919
898
  }
920
899
  }, t;
921
- }(we), zr = Function.prototype.bind;
922
- function Ie(e, t) {
923
- return zr.call(e, t);
924
- }
925
- var Zr = function() {
900
+ }(Te), zr = function() {
926
901
  function e(t) {
927
902
  this.partialObserver = t;
928
903
  }
@@ -953,55 +928,43 @@ var Zr = function() {
953
928
  de(r);
954
929
  }
955
930
  }, e;
956
- }(), Ve = function(e) {
957
- U(t, e);
931
+ }(), ze = function(e) {
932
+ he(t, e);
958
933
  function t(r, n, i) {
959
934
  var o = e.call(this) || this, a;
960
- if ($(r) || !r)
961
- a = {
962
- next: r ?? void 0,
963
- error: n ?? void 0,
964
- complete: i ?? void 0
965
- };
966
- else {
967
- var s;
968
- o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
969
- return o.unsubscribe();
970
- }, a = {
971
- next: r.next && Ie(r.next, s),
972
- error: r.error && Ie(r.error, s),
973
- complete: r.complete && Ie(r.complete, s)
974
- }) : a = r;
975
- }
976
- return o.destination = new Zr(a), o;
935
+ return U(r) || !r ? a = {
936
+ next: r ?? void 0,
937
+ error: n ?? void 0,
938
+ complete: i ?? void 0
939
+ } : a = r, o.destination = new zr(a), o;
977
940
  }
978
941
  return t;
979
- }(Xt);
942
+ }(Wt);
980
943
  function de(e) {
981
944
  Wr(e);
982
945
  }
983
- function Qr(e) {
946
+ function Zr(e) {
984
947
  throw e;
985
948
  }
986
- var Jr = {
949
+ var Qr = {
987
950
  closed: !0,
988
- next: ut,
989
- error: Qr,
990
- complete: ut
991
- }, qr = function() {
951
+ next: ht,
952
+ error: Zr,
953
+ complete: ht
954
+ }, Jr = function() {
992
955
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
993
956
  }();
994
- function Yr(e) {
957
+ function qr(e) {
995
958
  return e;
996
959
  }
997
- function Kr(e) {
998
- return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
960
+ function Yr(e) {
961
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
999
962
  return e.reduce(function(n, i) {
1000
963
  return i(n);
1001
964
  }, r);
1002
965
  };
1003
966
  }
1004
- var lt = function() {
967
+ var ct = function() {
1005
968
  function e(t) {
1006
969
  t && (this._subscribe = t);
1007
970
  }
@@ -1009,7 +972,7 @@ var lt = function() {
1009
972
  var r = new e();
1010
973
  return r.source = this, r.operator = t, r;
1011
974
  }, e.prototype.subscribe = function(t, r, n) {
1012
- var i = this, o = tn(t) ? t : new Ve(t, r, n);
975
+ var i = this, o = en(t) ? t : new ze(t, r, n);
1013
976
  return ye(function() {
1014
977
  var a = i, s = a.operator, l = a.source;
1015
978
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1022,8 +985,8 @@ var lt = function() {
1022
985
  }
1023
986
  }, e.prototype.forEach = function(t, r) {
1024
987
  var n = this;
1025
- return r = ht(r), new r(function(i, o) {
1026
- var a = new Ve({
988
+ return r = ft(r), new r(function(i, o) {
989
+ var a = new ze({
1027
990
  next: function(s) {
1028
991
  try {
1029
992
  t(s);
@@ -1039,15 +1002,15 @@ var lt = function() {
1039
1002
  }, e.prototype._subscribe = function(t) {
1040
1003
  var r;
1041
1004
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1042
- }, e.prototype[qr] = function() {
1005
+ }, e.prototype[Jr] = function() {
1043
1006
  return this;
1044
1007
  }, e.prototype.pipe = function() {
1045
1008
  for (var t = [], r = 0; r < arguments.length; r++)
1046
1009
  t[r] = arguments[r];
1047
- return Kr(t)(this);
1010
+ return Yr(t)(this);
1048
1011
  }, e.prototype.toPromise = function(t) {
1049
1012
  var r = this;
1050
- return t = ht(t), new t(function(n, i) {
1013
+ return t = ft(t), new t(function(n, i) {
1051
1014
  var o;
1052
1015
  r.subscribe(function(a) {
1053
1016
  return o = a;
@@ -1061,32 +1024,32 @@ var lt = function() {
1061
1024
  return new e(t);
1062
1025
  }, e;
1063
1026
  }();
1064
- function ht(e) {
1027
+ function ft(e) {
1065
1028
  var t;
1066
- return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
1029
+ return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
1067
1030
  }
1068
- function en(e) {
1069
- return e && $(e.next) && $(e.error) && $(e.complete);
1031
+ function Kr(e) {
1032
+ return e && U(e.next) && U(e.error) && U(e.complete);
1070
1033
  }
1071
- function tn(e) {
1072
- return e && e instanceof Xt || en(e) && kt(e);
1034
+ function en(e) {
1035
+ return e && e instanceof Wt || Kr(e) && Xt(e);
1073
1036
  }
1074
- var rn = Ft(function(e) {
1037
+ var tn = kt(function(e) {
1075
1038
  return function() {
1076
1039
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1077
1040
  };
1078
- }), Wt = function(e) {
1079
- U(t, e);
1041
+ }), zt = function(e) {
1042
+ he(t, e);
1080
1043
  function t() {
1081
1044
  var r = e.call(this) || this;
1082
1045
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1083
1046
  }
1084
1047
  return t.prototype.lift = function(r) {
1085
- var n = new ct(this, this);
1048
+ var n = new dt(this, this);
1086
1049
  return n.operator = r, n;
1087
1050
  }, t.prototype._throwIfClosed = function() {
1088
1051
  if (this.closed)
1089
- throw new rn();
1052
+ throw new tn();
1090
1053
  }, t.prototype.next = function(r) {
1091
1054
  var n = this;
1092
1055
  ye(function() {
@@ -1094,7 +1057,7 @@ var rn = Ft(function(e) {
1094
1057
  if (n._throwIfClosed(), !n.isStopped) {
1095
1058
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1096
1059
  try {
1097
- for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1060
+ for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1098
1061
  var l = s.value;
1099
1062
  l.next(r);
1100
1063
  }
@@ -1143,20 +1106,20 @@ var rn = Ft(function(e) {
1143
1106
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1144
1107
  }, t.prototype._innerSubscribe = function(r) {
1145
1108
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1146
- return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
1147
- n.currentObservers = null, ke(s, r);
1109
+ return o || a ? Vt : (this.currentObservers = null, s.push(r), new Te(function() {
1110
+ n.currentObservers = null, We(s, r);
1148
1111
  }));
1149
1112
  }, t.prototype._checkFinalizedStatuses = function(r) {
1150
1113
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1151
1114
  i ? r.error(o) : a && r.complete();
1152
1115
  }, t.prototype.asObservable = function() {
1153
- var r = new lt();
1116
+ var r = new ct();
1154
1117
  return r.source = this, r;
1155
1118
  }, t.create = function(r, n) {
1156
- return new ct(r, n);
1119
+ return new dt(r, n);
1157
1120
  }, t;
1158
- }(lt), ct = function(e) {
1159
- U(t, e);
1121
+ }(ct), dt = function(e) {
1122
+ he(t, e);
1160
1123
  function t(r, n) {
1161
1124
  var i = e.call(this) || this;
1162
1125
  return i.destination = r, i.source = n, i;
@@ -1172,17 +1135,17 @@ var rn = Ft(function(e) {
1172
1135
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1173
1136
  }, t.prototype._subscribe = function(r) {
1174
1137
  var n, i;
1175
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1138
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1176
1139
  }, t;
1177
- }(Wt), zt = {
1140
+ }(zt), Zt = {
1178
1141
  now: function() {
1179
- return (zt.delegate || Date).now();
1142
+ return (Zt.delegate || Date).now();
1180
1143
  },
1181
1144
  delegate: void 0
1182
- }, nn = function(e) {
1183
- U(t, e);
1145
+ }, rn = function(e) {
1146
+ he(t, e);
1184
1147
  function t(r, n, i) {
1185
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1148
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1186
1149
  var o = e.call(this) || this;
1187
1150
  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;
1188
1151
  }
@@ -1202,24 +1165,24 @@ var rn = Ft(function(e) {
1202
1165
  u && o.splice(0, u + 1);
1203
1166
  }
1204
1167
  }, t;
1205
- }(Wt);
1206
- const ft = [], dt = {}, on = (e, t = 0) => {
1207
- if (ft.indexOf(e) == -1) {
1208
- const r = new nn(t);
1209
- dt[e] = r, ft.push(e);
1168
+ }(zt);
1169
+ const pt = [], mt = {}, nn = (e, t = 0) => {
1170
+ if (pt.indexOf(e) == -1) {
1171
+ const r = new rn(t);
1172
+ mt[e] = r, pt.push(e);
1210
1173
  }
1211
- return dt[e];
1174
+ return mt[e];
1212
1175
  }, Q = [];
1213
- function sn(e, t) {
1176
+ function on(e, t) {
1214
1177
  return {
1215
- subscribe: Te(e, t).subscribe
1178
+ subscribe: He(e, t).subscribe
1216
1179
  };
1217
1180
  }
1218
- function Te(e, t = B) {
1181
+ function He(e, t = P) {
1219
1182
  let r;
1220
1183
  const n = /* @__PURE__ */ new Set();
1221
1184
  function i(s) {
1222
- if (Lt(e, s) && (e = s, r)) {
1185
+ if (Mt(e, s) && (e = s, r)) {
1223
1186
  const l = !Q.length;
1224
1187
  for (const u of n)
1225
1188
  u[1](), Q.push(u, e);
@@ -1233,31 +1196,31 @@ function Te(e, t = B) {
1233
1196
  function o(s) {
1234
1197
  i(s(e));
1235
1198
  }
1236
- function a(s, l = B) {
1199
+ function a(s, l = P) {
1237
1200
  const u = [s, l];
1238
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
1201
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), s(e), () => {
1239
1202
  n.delete(u), n.size === 0 && r && (r(), r = null);
1240
1203
  };
1241
1204
  }
1242
1205
  return { set: i, update: o, subscribe: a };
1243
1206
  }
1244
- function ne(e, t, r) {
1207
+ function re(e, t, r) {
1245
1208
  const n = !Array.isArray(e), i = n ? [e] : e;
1246
1209
  if (!i.every(Boolean))
1247
1210
  throw new Error("derived() expects stores as input, got a falsy value");
1248
1211
  const o = t.length < 2;
1249
- return sn(r, (a, s) => {
1212
+ return on(r, (a, s) => {
1250
1213
  let l = !1;
1251
1214
  const u = [];
1252
- let h = 0, f = B;
1215
+ let h = 0, f = P;
1253
1216
  const c = () => {
1254
1217
  if (h)
1255
1218
  return;
1256
1219
  f();
1257
1220
  const b = t(n ? u[0] : u, a, s);
1258
- o ? a(b) : f = xe(b) ? b : B;
1221
+ o ? a(b) : f = Se(b) ? b : P;
1259
1222
  }, m = i.map(
1260
- (b, g) => Mt(
1223
+ (b, g) => Rt(
1261
1224
  b,
1262
1225
  (S) => {
1263
1226
  u[g] = S, h &= ~(1 << g), l && c();
@@ -1268,86 +1231,128 @@ function ne(e, t, r) {
1268
1231
  )
1269
1232
  );
1270
1233
  return l = !0, c(), function() {
1271
- W(m), f(), l = !1;
1234
+ X(m), f(), l = !1;
1272
1235
  };
1273
1236
  });
1274
1237
  }
1275
- function an(e) {
1238
+ function sn(e) {
1276
1239
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1277
1240
  }
1278
- var un = function(t) {
1279
- return ln(t) && !hn(t);
1241
+ var an = function(t) {
1242
+ return un(t) && !ln(t);
1280
1243
  };
1281
- function ln(e) {
1244
+ function un(e) {
1282
1245
  return !!e && typeof e == "object";
1283
1246
  }
1284
- function hn(e) {
1247
+ function ln(e) {
1285
1248
  var t = Object.prototype.toString.call(e);
1286
- return t === "[object RegExp]" || t === "[object Date]" || dn(e);
1249
+ return t === "[object RegExp]" || t === "[object Date]" || fn(e);
1287
1250
  }
1288
- var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1289
- function dn(e) {
1290
- return e.$$typeof === fn;
1251
+ var hn = typeof Symbol == "function" && Symbol.for, cn = hn ? Symbol.for("react.element") : 60103;
1252
+ function fn(e) {
1253
+ return e.$$typeof === cn;
1291
1254
  }
1292
- function pn(e) {
1255
+ function dn(e) {
1293
1256
  return Array.isArray(e) ? [] : {};
1294
1257
  }
1295
- function le(e, t) {
1296
- return t.clone !== !1 && t.isMergeableObject(e) ? K(pn(e), e, t) : e;
1258
+ function ue(e, t) {
1259
+ return t.clone !== !1 && t.isMergeableObject(e) ? Y(dn(e), e, t) : e;
1297
1260
  }
1298
- function mn(e, t, r) {
1261
+ function pn(e, t, r) {
1299
1262
  return e.concat(t).map(function(n) {
1300
- return le(n, r);
1263
+ return ue(n, r);
1301
1264
  });
1302
1265
  }
1303
- function bn(e, t) {
1266
+ function mn(e, t) {
1304
1267
  if (!t.customMerge)
1305
- return K;
1268
+ return Y;
1306
1269
  var r = t.customMerge(e);
1307
- return typeof r == "function" ? r : K;
1270
+ return typeof r == "function" ? r : Y;
1308
1271
  }
1309
- function yn(e) {
1272
+ function bn(e) {
1310
1273
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1311
1274
  return Object.propertyIsEnumerable.call(e, t);
1312
1275
  }) : [];
1313
1276
  }
1314
- function pt(e) {
1315
- return Object.keys(e).concat(yn(e));
1277
+ function bt(e) {
1278
+ return Object.keys(e).concat(bn(e));
1316
1279
  }
1317
- function Zt(e, t) {
1280
+ function Qt(e, t) {
1318
1281
  try {
1319
1282
  return t in e;
1320
1283
  } catch {
1321
1284
  return !1;
1322
1285
  }
1323
1286
  }
1324
- function gn(e, t) {
1325
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1287
+ function yn(e, t) {
1288
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1326
1289
  }
1327
- function vn(e, t, r) {
1290
+ function gn(e, t, r) {
1328
1291
  var n = {};
1329
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1330
- n[i] = le(e[i], r);
1331
- }), pt(t).forEach(function(i) {
1332
- 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));
1292
+ return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1293
+ n[i] = ue(e[i], r);
1294
+ }), bt(t).forEach(function(i) {
1295
+ 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));
1333
1296
  }), n;
1334
1297
  }
1335
- function K(e, t, r) {
1336
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = le;
1298
+ function Y(e, t, r) {
1299
+ r = r || {}, r.arrayMerge = r.arrayMerge || pn, r.isMergeableObject = r.isMergeableObject || an, r.cloneUnlessOtherwiseSpecified = ue;
1337
1300
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1338
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : le(t, r);
1301
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ue(t, r);
1339
1302
  }
1340
- K.all = function(t, r) {
1303
+ Y.all = function(t, r) {
1341
1304
  if (!Array.isArray(t))
1342
1305
  throw new Error("first argument should be an array");
1343
1306
  return t.reduce(function(n, i) {
1344
- return K(n, i, r);
1307
+ return Y(n, i, r);
1345
1308
  }, {});
1346
1309
  };
1347
- var _n = K, En = _n;
1348
- const xn = /* @__PURE__ */ an(En);
1349
- function Ce(e, t) {
1350
- var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : wn;
1310
+ var _n = Y, vn = _n;
1311
+ const En = /* @__PURE__ */ sn(vn);
1312
+ var Ze = function(e, t) {
1313
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1314
+ r.__proto__ = n;
1315
+ } || function(r, n) {
1316
+ for (var i in n)
1317
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1318
+ }, Ze(e, t);
1319
+ };
1320
+ function Be(e, t) {
1321
+ if (typeof t != "function" && t !== null)
1322
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1323
+ Ze(e, t);
1324
+ function r() {
1325
+ this.constructor = e;
1326
+ }
1327
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1328
+ }
1329
+ var R = function() {
1330
+ return R = Object.assign || function(t) {
1331
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1332
+ r = arguments[n];
1333
+ for (var o in r)
1334
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1335
+ }
1336
+ return t;
1337
+ }, R.apply(this, arguments);
1338
+ };
1339
+ function xn(e, t) {
1340
+ var r = {};
1341
+ for (var n in e)
1342
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1343
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1344
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1345
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1346
+ return r;
1347
+ }
1348
+ function Ce(e, t, r) {
1349
+ if (r || arguments.length === 2)
1350
+ for (var n = 0, i = t.length, o; n < i; n++)
1351
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1352
+ return e.concat(o || Array.prototype.slice.call(t));
1353
+ }
1354
+ function Ne(e, t) {
1355
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1351
1356
  return i(e, {
1352
1357
  cache: r,
1353
1358
  serializer: n
@@ -1356,7 +1361,7 @@ function Ce(e, t) {
1356
1361
  function Sn(e) {
1357
1362
  return e == null || typeof e == "number" || typeof e == "boolean";
1358
1363
  }
1359
- function Qt(e, t, r, n) {
1364
+ function wn(e, t, r, n) {
1360
1365
  var i = Sn(n) ? n : r(n), o = t.get(i);
1361
1366
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1362
1367
  }
@@ -1364,87 +1369,95 @@ function Jt(e, t, r) {
1364
1369
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1365
1370
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1366
1371
  }
1367
- function et(e, t, r, n, i) {
1372
+ function qt(e, t, r, n, i) {
1368
1373
  return r.bind(t, e, n, i);
1369
1374
  }
1370
- function wn(e, t) {
1371
- var r = e.length === 1 ? Qt : Jt;
1372
- return et(e, this, r, t.cache.create(), t.serializer);
1373
- }
1374
1375
  function Tn(e, t) {
1375
- return et(e, this, Jt, t.cache.create(), t.serializer);
1376
+ var r = e.length === 1 ? wn : Jt;
1377
+ return qt(e, this, r, t.cache.create(), t.serializer);
1376
1378
  }
1377
1379
  function Hn(e, t) {
1378
- return et(e, this, Qt, t.cache.create(), t.serializer);
1380
+ return qt(e, this, Jt, t.cache.create(), t.serializer);
1379
1381
  }
1380
1382
  var Bn = function() {
1381
1383
  return JSON.stringify(arguments);
1382
- };
1383
- function tt() {
1384
- this.cache = /* @__PURE__ */ Object.create(null);
1385
- }
1386
- tt.prototype.get = function(e) {
1387
- return this.cache[e];
1388
- };
1389
- tt.prototype.set = function(e, t) {
1390
- this.cache[e] = t;
1391
- };
1392
- var Pn = {
1384
+ }, Pn = (
1385
+ /** @class */
1386
+ function() {
1387
+ function e() {
1388
+ this.cache = /* @__PURE__ */ Object.create(null);
1389
+ }
1390
+ return e.prototype.get = function(t) {
1391
+ return this.cache[t];
1392
+ }, e.prototype.set = function(t, r) {
1393
+ this.cache[t] = r;
1394
+ }, e;
1395
+ }()
1396
+ ), An = {
1393
1397
  create: function() {
1394
- return new tt();
1398
+ return new Pn();
1395
1399
  }
1396
- }, Le = {
1397
- variadic: Tn,
1398
- monadic: Hn
1399
- }, y;
1400
+ }, Me = {
1401
+ variadic: Hn
1402
+ }, ve = function() {
1403
+ return ve = Object.assign || function(t) {
1404
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1405
+ r = arguments[n];
1406
+ for (var o in r)
1407
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1408
+ }
1409
+ return t;
1410
+ }, ve.apply(this, arguments);
1411
+ };
1412
+ var y;
1400
1413
  (function(e) {
1401
1414
  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";
1402
1415
  })(y || (y = {}));
1403
- var E;
1416
+ var v;
1404
1417
  (function(e) {
1405
1418
  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";
1406
- })(E || (E = {}));
1407
- var ee;
1419
+ })(v || (v = {}));
1420
+ var K;
1408
1421
  (function(e) {
1409
1422
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1410
- })(ee || (ee = {}));
1411
- function mt(e) {
1412
- return e.type === E.literal;
1413
- }
1414
- function An(e) {
1415
- return e.type === E.argument;
1423
+ })(K || (K = {}));
1424
+ function yt(e) {
1425
+ return e.type === v.literal;
1416
1426
  }
1417
- function qt(e) {
1418
- return e.type === E.number;
1427
+ function On(e) {
1428
+ return e.type === v.argument;
1419
1429
  }
1420
1430
  function Yt(e) {
1421
- return e.type === E.date;
1431
+ return e.type === v.number;
1422
1432
  }
1423
1433
  function Kt(e) {
1424
- return e.type === E.time;
1434
+ return e.type === v.date;
1425
1435
  }
1426
1436
  function er(e) {
1427
- return e.type === E.select;
1437
+ return e.type === v.time;
1428
1438
  }
1429
1439
  function tr(e) {
1430
- return e.type === E.plural;
1431
- }
1432
- function On(e) {
1433
- return e.type === E.pound;
1440
+ return e.type === v.select;
1434
1441
  }
1435
1442
  function rr(e) {
1436
- return e.type === E.tag;
1443
+ return e.type === v.plural;
1444
+ }
1445
+ function In(e) {
1446
+ return e.type === v.pound;
1437
1447
  }
1438
1448
  function nr(e) {
1439
- return !!(e && typeof e == "object" && e.type === ee.number);
1449
+ return e.type === v.tag;
1440
1450
  }
1441
- function Xe(e) {
1442
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
1451
+ function ir(e) {
1452
+ return !!(e && typeof e == "object" && e.type === K.number);
1443
1453
  }
1444
- 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 Qe(e) {
1455
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
1456
+ }
1457
+ 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;
1445
1458
  function Cn(e) {
1446
1459
  var t = {};
1447
- return e.replace(In, function(r) {
1460
+ return e.replace(Ln, function(r) {
1448
1461
  var n = r.length;
1449
1462
  switch (r[0]) {
1450
1463
  case "G":
@@ -1533,11 +1546,21 @@ function Cn(e) {
1533
1546
  return "";
1534
1547
  }), t;
1535
1548
  }
1536
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1549
+ var x = function() {
1550
+ return x = Object.assign || function(t) {
1551
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1552
+ r = arguments[n];
1553
+ for (var o in r)
1554
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1555
+ }
1556
+ return t;
1557
+ }, x.apply(this, arguments);
1558
+ };
1559
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1537
1560
  function Mn(e) {
1538
1561
  if (e.length === 0)
1539
1562
  throw new Error("Number skeleton cannot be empty");
1540
- for (var t = e.split(Ln).filter(function(c) {
1563
+ for (var t = e.split(Nn).filter(function(c) {
1541
1564
  return c.length > 0;
1542
1565
  }), r = [], n = 0, i = t; n < i.length; n++) {
1543
1566
  var o = i[n], a = o.split("/");
@@ -1552,17 +1575,17 @@ function Mn(e) {
1552
1575
  }
1553
1576
  return r;
1554
1577
  }
1555
- function Nn(e) {
1578
+ function Rn(e) {
1556
1579
  return e.replace(/^(.*?)-/, "");
1557
1580
  }
1558
- var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1559
- function yt(e) {
1581
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1582
+ function _t(e) {
1560
1583
  var t = {};
1561
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1584
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1562
1585
  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)), "";
1563
1586
  }), t;
1564
1587
  }
1565
- function ar(e) {
1588
+ function ur(e) {
1566
1589
  switch (e) {
1567
1590
  case "sign-auto":
1568
1591
  return {
@@ -1602,7 +1625,7 @@ function ar(e) {
1602
1625
  };
1603
1626
  }
1604
1627
  }
1605
- function $n(e) {
1628
+ function Un(e) {
1606
1629
  var t;
1607
1630
  if (e[0] === "E" && e[1] === "E" ? (t = {
1608
1631
  notation: "engineering"
@@ -1610,14 +1633,14 @@ function $n(e) {
1610
1633
  notation: "scientific"
1611
1634
  }, e = e.slice(1)), t) {
1612
1635
  var r = e.slice(0, 2);
1613
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1636
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1614
1637
  throw new Error("Malformed concise eng/scientific notation");
1615
1638
  t.minimumIntegerDigits = e.length;
1616
1639
  }
1617
1640
  return t;
1618
1641
  }
1619
- function gt(e) {
1620
- var t = {}, r = ar(e);
1642
+ function vt(e) {
1643
+ var t = {}, r = ur(e);
1621
1644
  return r || t;
1622
1645
  }
1623
1646
  function Dn(e) {
@@ -1644,7 +1667,7 @@ function Dn(e) {
1644
1667
  continue;
1645
1668
  case "measure-unit":
1646
1669
  case "unit":
1647
- t.style = "unit", t.unit = Nn(i.options[0]);
1670
+ t.style = "unit", t.unit = Rn(i.options[0]);
1648
1671
  continue;
1649
1672
  case "compact-short":
1650
1673
  case "K":
@@ -1655,13 +1678,13 @@ function Dn(e) {
1655
1678
  t.notation = "compact", t.compactDisplay = "long";
1656
1679
  continue;
1657
1680
  case "scientific":
1658
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1659
- return _(_({}, l), gt(u));
1681
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1682
+ return x(x({}, l), vt(u));
1660
1683
  }, {}));
1661
1684
  continue;
1662
1685
  case "engineering":
1663
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1664
- return _(_({}, l), gt(u));
1686
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1687
+ return x(x({}, l), vt(u));
1665
1688
  }, {}));
1666
1689
  continue;
1667
1690
  case "notation-simple":
@@ -1706,7 +1729,7 @@ function Dn(e) {
1706
1729
  case "integer-width":
1707
1730
  if (i.options.length > 1)
1708
1731
  throw new RangeError("integer-width stems only accept a single optional option");
1709
- i.options[0].replace(Rn, function(l, u, h, f, c, m) {
1732
+ i.options[0].replace($n, function(l, u, h, f, c, m) {
1710
1733
  if (u)
1711
1734
  t.minimumIntegerDigits = h.length;
1712
1735
  else {
@@ -1719,28 +1742,28 @@ function Dn(e) {
1719
1742
  });
1720
1743
  continue;
1721
1744
  }
1722
- if (sr.test(i.stem)) {
1745
+ if (ar.test(i.stem)) {
1723
1746
  t.minimumIntegerDigits = i.stem.length;
1724
1747
  continue;
1725
1748
  }
1726
- if (bt.test(i.stem)) {
1749
+ if (gt.test(i.stem)) {
1727
1750
  if (i.options.length > 1)
1728
1751
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1729
- i.stem.replace(bt, function(l, u, h, f, c, m) {
1752
+ i.stem.replace(gt, function(l, u, h, f, c, m) {
1730
1753
  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), "";
1731
1754
  });
1732
1755
  var o = i.options[0];
1733
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
1756
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), _t(o)));
1734
1757
  continue;
1735
1758
  }
1736
- if (or.test(i.stem)) {
1737
- t = _(_({}, t), yt(i.stem));
1759
+ if (sr.test(i.stem)) {
1760
+ t = x(x({}, t), _t(i.stem));
1738
1761
  continue;
1739
1762
  }
1740
- var a = ar(i.stem);
1741
- a && (t = _(_({}, t), a));
1742
- var s = $n(i.stem);
1743
- s && (t = _(_({}, t), s));
1763
+ var a = ur(i.stem);
1764
+ a && (t = x(x({}, t), a));
1765
+ var s = Un(i.stem);
1766
+ s && (t = x(x({}, t), s));
1744
1767
  }
1745
1768
  return t;
1746
1769
  }
@@ -3159,13 +3182,13 @@ var pe = {
3159
3182
  "h"
3160
3183
  ]
3161
3184
  };
3162
- function Un(e, t) {
3185
+ function Gn(e, t) {
3163
3186
  for (var r = "", n = 0; n < e.length; n++) {
3164
3187
  var i = e.charAt(n);
3165
3188
  if (i === "j") {
3166
3189
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3167
3190
  o++, n++;
3168
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Gn(t);
3191
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Fn(t);
3169
3192
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3170
3193
  r += l;
3171
3194
  for (; a-- > 0; )
@@ -3175,7 +3198,7 @@ function Un(e, t) {
3175
3198
  }
3176
3199
  return r;
3177
3200
  }
3178
- function Gn(e) {
3201
+ function Fn(e) {
3179
3202
  var t = e.hourCycle;
3180
3203
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3181
3204
  e.hourCycles && // @ts-ignore
@@ -3197,20 +3220,20 @@ function Gn(e) {
3197
3220
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3198
3221
  return i[0];
3199
3222
  }
3200
- var Me, Fn = new RegExp("^".concat(ir.source, "*")), jn = new RegExp("".concat(ir.source, "*$"));
3201
- function v(e, t) {
3223
+ var Re, jn = new RegExp("^".concat(or.source, "*")), kn = new RegExp("".concat(or.source, "*$"));
3224
+ function _(e, t) {
3202
3225
  return { start: e, end: t };
3203
3226
  }
3204
- 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, Jn = Qn ? Number.isSafeInteger : function(e) {
3227
+ 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, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
3205
3228
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3206
- }, We = !0;
3229
+ }, Je = !0;
3207
3230
  try {
3208
- var qn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3209
- We = ((Me = qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
3231
+ var Yn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3232
+ Je = ((Re = Yn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3210
3233
  } catch {
3211
- We = !1;
3234
+ Je = !1;
3212
3235
  }
3213
- var vt = kn ? (
3236
+ var Et = Vn ? (
3214
3237
  // Native
3215
3238
  function(t, r, n) {
3216
3239
  return t.startsWith(r, n);
@@ -3220,7 +3243,7 @@ var vt = kn ? (
3220
3243
  function(t, r, n) {
3221
3244
  return t.slice(n, n + r.length) === r;
3222
3245
  }
3223
- ), ze = Vn ? String.fromCodePoint : (
3246
+ ), qe = Xn ? String.fromCodePoint : (
3224
3247
  // IE11
3225
3248
  function() {
3226
3249
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3232,9 +3255,9 @@ var vt = kn ? (
3232
3255
  }
3233
3256
  return n;
3234
3257
  }
3235
- ), _t = (
3258
+ ), xt = (
3236
3259
  // native
3237
- Xn ? Object.fromEntries : (
3260
+ Wn ? Object.fromEntries : (
3238
3261
  // Ponyfill
3239
3262
  function(t) {
3240
3263
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3244,7 +3267,7 @@ var vt = kn ? (
3244
3267
  return r;
3245
3268
  }
3246
3269
  )
3247
- ), ur = Wn ? (
3270
+ ), lr = zn ? (
3248
3271
  // Native
3249
3272
  function(t, r) {
3250
3273
  return t.codePointAt(r);
@@ -3258,7 +3281,7 @@ var vt = kn ? (
3258
3281
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3259
3282
  }
3260
3283
  }
3261
- ), Yn = zn ? (
3284
+ ), Kn = Zn ? (
3262
3285
  // Native
3263
3286
  function(t) {
3264
3287
  return t.trimStart();
@@ -3266,9 +3289,9 @@ var vt = kn ? (
3266
3289
  ) : (
3267
3290
  // Ponyfill
3268
3291
  function(t) {
3269
- return t.replace(Fn, "");
3292
+ return t.replace(jn, "");
3270
3293
  }
3271
- ), Kn = Zn ? (
3294
+ ), ei = Qn ? (
3272
3295
  // Native
3273
3296
  function(t) {
3274
3297
  return t.trimEnd();
@@ -3276,32 +3299,32 @@ var vt = kn ? (
3276
3299
  ) : (
3277
3300
  // Ponyfill
3278
3301
  function(t) {
3279
- return t.replace(jn, "");
3302
+ return t.replace(kn, "");
3280
3303
  }
3281
3304
  );
3282
- function lr(e, t) {
3305
+ function hr(e, t) {
3283
3306
  return new RegExp(e, t);
3284
3307
  }
3285
- var Ze;
3286
- if (We) {
3287
- var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3288
- Ze = function(t, r) {
3308
+ var Ye;
3309
+ if (Je) {
3310
+ var St = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3311
+ Ye = function(t, r) {
3289
3312
  var n;
3290
- Et.lastIndex = r;
3291
- var i = Et.exec(t);
3313
+ St.lastIndex = r;
3314
+ var i = St.exec(t);
3292
3315
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3293
3316
  };
3294
3317
  } else
3295
- Ze = function(t, r) {
3318
+ Ye = function(t, r) {
3296
3319
  for (var n = []; ; ) {
3297
- var i = ur(t, r);
3298
- if (i === void 0 || hr(i) || ni(i))
3320
+ var i = lr(t, r);
3321
+ if (i === void 0 || cr(i) || ii(i))
3299
3322
  break;
3300
3323
  n.push(i), r += i >= 65536 ? 2 : 1;
3301
3324
  }
3302
- return ze.apply(void 0, n);
3325
+ return qe.apply(void 0, n);
3303
3326
  };
3304
- var ei = (
3327
+ var ti = (
3305
3328
  /** @class */
3306
3329
  function() {
3307
3330
  function e(t, r) {
@@ -3325,14 +3348,14 @@ var ei = (
3325
3348
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3326
3349
  var s = this.clonePosition();
3327
3350
  this.bump(), i.push({
3328
- type: E.pound,
3329
- location: v(s, this.clonePosition())
3351
+ type: v.pound,
3352
+ location: _(s, this.clonePosition())
3330
3353
  });
3331
3354
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3332
3355
  if (n)
3333
3356
  break;
3334
- return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3335
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3357
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3358
+ } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3336
3359
  var a = this.parseTag(t, r);
3337
3360
  if (a.err)
3338
3361
  return a;
@@ -3353,9 +3376,9 @@ var ei = (
3353
3376
  if (this.bumpSpace(), this.bumpIf("/>"))
3354
3377
  return {
3355
3378
  val: {
3356
- type: E.literal,
3379
+ type: v.literal,
3357
3380
  value: "<".concat(i, "/>"),
3358
- location: v(n, this.clonePosition())
3381
+ location: _(n, this.clonePosition())
3359
3382
  },
3360
3383
  err: null
3361
3384
  };
@@ -3365,25 +3388,25 @@ var ei = (
3365
3388
  return o;
3366
3389
  var a = o.val, s = this.clonePosition();
3367
3390
  if (this.bumpIf("</")) {
3368
- if (this.isEOF() || !Qe(this.char()))
3369
- return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3391
+ if (this.isEOF() || !Ke(this.char()))
3392
+ return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3370
3393
  var l = this.clonePosition(), u = this.parseTagName();
3371
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3394
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3372
3395
  val: {
3373
- type: E.tag,
3396
+ type: v.tag,
3374
3397
  value: i,
3375
3398
  children: a,
3376
- location: v(n, this.clonePosition())
3399
+ location: _(n, this.clonePosition())
3377
3400
  },
3378
3401
  err: null
3379
- } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3402
+ } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3380
3403
  } else
3381
- return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3404
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3382
3405
  } else
3383
- return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3406
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3384
3407
  }, e.prototype.parseTagName = function() {
3385
3408
  var t = this.offset();
3386
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3409
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3387
3410
  this.bump();
3388
3411
  return this.message.slice(t, this.offset());
3389
3412
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3405,14 +3428,14 @@ var ei = (
3405
3428
  }
3406
3429
  break;
3407
3430
  }
3408
- var l = v(n, this.clonePosition());
3431
+ var l = _(n, this.clonePosition());
3409
3432
  return {
3410
- val: { type: E.literal, value: i, location: l },
3433
+ val: { type: v.literal, value: i, location: l },
3411
3434
  err: null
3412
3435
  };
3413
3436
  }, e.prototype.tryParseLeftAngleBracket = function() {
3414
3437
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3415
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3438
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3416
3439
  }, e.prototype.tryParseQuote = function(t) {
3417
3440
  if (this.isEOF() || this.char() !== 39)
3418
3441
  return null;
@@ -3446,49 +3469,49 @@ var ei = (
3446
3469
  r.push(n);
3447
3470
  this.bump();
3448
3471
  }
3449
- return ze.apply(void 0, r);
3472
+ return qe.apply(void 0, r);
3450
3473
  }, e.prototype.tryParseUnquoted = function(t, r) {
3451
3474
  if (this.isEOF())
3452
3475
  return null;
3453
3476
  var n = this.char();
3454
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3477
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
3455
3478
  }, e.prototype.parseArgument = function(t, r) {
3456
3479
  var n = this.clonePosition();
3457
3480
  if (this.bump(), this.bumpSpace(), this.isEOF())
3458
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3481
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3459
3482
  if (this.char() === 125)
3460
- return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3483
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3461
3484
  var i = this.parseIdentifierIfPossible().value;
3462
3485
  if (!i)
3463
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3486
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3464
3487
  if (this.bumpSpace(), this.isEOF())
3465
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3488
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3466
3489
  switch (this.char()) {
3467
3490
  case 125:
3468
3491
  return this.bump(), {
3469
3492
  val: {
3470
- type: E.argument,
3493
+ type: v.argument,
3471
3494
  // value does not include the opening and closing braces.
3472
3495
  value: i,
3473
- location: v(n, this.clonePosition())
3496
+ location: _(n, this.clonePosition())
3474
3497
  },
3475
3498
  err: null
3476
3499
  };
3477
3500
  case 44:
3478
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3501
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3479
3502
  default:
3480
- return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3503
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3481
3504
  }
3482
3505
  }, e.prototype.parseIdentifierIfPossible = function() {
3483
- var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3506
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3484
3507
  this.bumpTo(i);
3485
- var o = this.clonePosition(), a = v(t, o);
3508
+ var o = this.clonePosition(), a = _(t, o);
3486
3509
  return { value: n, location: a };
3487
3510
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3488
3511
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3489
3512
  switch (s) {
3490
3513
  case "":
3491
- return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3514
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3492
3515
  case "number":
3493
3516
  case "date":
3494
3517
  case "time": {
@@ -3499,35 +3522,35 @@ var ei = (
3499
3522
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3500
3523
  if (f.err)
3501
3524
  return f;
3502
- var c = Kn(f.val);
3525
+ var c = ei(f.val);
3503
3526
  if (c.length === 0)
3504
- return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3505
- var m = v(h, this.clonePosition());
3527
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3528
+ var m = _(h, this.clonePosition());
3506
3529
  u = { style: c, styleLocation: m };
3507
3530
  }
3508
3531
  var b = this.tryParseArgumentClose(i);
3509
3532
  if (b.err)
3510
3533
  return b;
3511
- var g = v(i, this.clonePosition());
3512
- if (u && vt(u?.style, "::", 0)) {
3513
- var S = Yn(u.style.slice(2));
3534
+ var g = _(i, this.clonePosition());
3535
+ if (u && Et(u?.style, "::", 0)) {
3536
+ var S = Kn(u.style.slice(2));
3514
3537
  if (s === "number") {
3515
3538
  var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
3516
3539
  return f.err ? f : {
3517
- val: { type: E.number, value: n, location: g, style: f.val },
3540
+ val: { type: v.number, value: n, location: g, style: f.val },
3518
3541
  err: null
3519
3542
  };
3520
3543
  } else {
3521
3544
  if (S.length === 0)
3522
3545
  return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3523
- var P = S;
3524
- this.locale && (P = Un(S, this.locale));
3546
+ var A = S;
3547
+ this.locale && (A = Gn(S, this.locale));
3525
3548
  var c = {
3526
- type: ee.dateTime,
3527
- pattern: P,
3549
+ type: K.dateTime,
3550
+ pattern: A,
3528
3551
  location: u.styleLocation,
3529
- parsedOptions: this.shouldParseSkeletons ? Cn(P) : {}
3530
- }, H = s === "date" ? E.date : E.time;
3552
+ parsedOptions: this.shouldParseSkeletons ? Cn(A) : {}
3553
+ }, H = s === "date" ? v.date : v.time;
3531
3554
  return {
3532
3555
  val: { type: H, value: n, location: g, style: c },
3533
3556
  err: null
@@ -3536,7 +3559,7 @@ var ei = (
3536
3559
  }
3537
3560
  return {
3538
3561
  val: {
3539
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3562
+ type: s === "number" ? v.number : s === "date" ? v.date : v.time,
3540
3563
  value: n,
3541
3564
  location: g,
3542
3565
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3549,50 +3572,50 @@ var ei = (
3549
3572
  case "select": {
3550
3573
  var w = this.clonePosition();
3551
3574
  if (this.bumpSpace(), !this.bumpIf(","))
3552
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
3575
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(w, ve({}, w)));
3553
3576
  this.bumpSpace();
3554
- var L = this.parseIdentifierIfPossible(), A = 0;
3555
- if (s !== "select" && L.value === "offset") {
3577
+ var C = this.parseIdentifierIfPossible(), O = 0;
3578
+ if (s !== "select" && C.value === "offset") {
3556
3579
  if (!this.bumpIf(":"))
3557
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3580
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3558
3581
  this.bumpSpace();
3559
3582
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3560
3583
  if (f.err)
3561
3584
  return f;
3562
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), A = f.val;
3585
+ this.bumpSpace(), C = this.parseIdentifierIfPossible(), O = f.val;
3563
3586
  }
3564
- var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
3565
- if (M.err)
3566
- return M;
3587
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, C);
3588
+ if (N.err)
3589
+ return N;
3567
3590
  var b = this.tryParseArgumentClose(i);
3568
3591
  if (b.err)
3569
3592
  return b;
3570
- var x = v(i, this.clonePosition());
3593
+ var E = _(i, this.clonePosition());
3571
3594
  return s === "select" ? {
3572
3595
  val: {
3573
- type: E.select,
3596
+ type: v.select,
3574
3597
  value: n,
3575
- options: _t(M.val),
3576
- location: x
3598
+ options: xt(N.val),
3599
+ location: E
3577
3600
  },
3578
3601
  err: null
3579
3602
  } : {
3580
3603
  val: {
3581
- type: E.plural,
3604
+ type: v.plural,
3582
3605
  value: n,
3583
- options: _t(M.val),
3584
- offset: A,
3606
+ options: xt(N.val),
3607
+ offset: O,
3585
3608
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3586
- location: x
3609
+ location: E
3587
3610
  },
3588
3611
  err: null
3589
3612
  };
3590
3613
  }
3591
3614
  default:
3592
- return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3615
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3593
3616
  }
3594
3617
  }, e.prototype.tryParseArgumentClose = function(t) {
3595
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3618
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3596
3619
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3597
3620
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3598
3621
  var n = this.char();
@@ -3601,7 +3624,7 @@ var ei = (
3601
3624
  this.bump();
3602
3625
  var i = this.clonePosition();
3603
3626
  if (!this.bumpUntil("'"))
3604
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3627
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3605
3628
  this.bump();
3606
3629
  break;
3607
3630
  }
@@ -3637,7 +3660,7 @@ var ei = (
3637
3660
  }
3638
3661
  return {
3639
3662
  val: {
3640
- type: ee.number,
3663
+ type: K.number,
3641
3664
  tokens: n,
3642
3665
  location: r,
3643
3666
  parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
@@ -3652,7 +3675,7 @@ var ei = (
3652
3675
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3653
3676
  if (c.err)
3654
3677
  return c;
3655
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3678
+ h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3656
3679
  } else
3657
3680
  break;
3658
3681
  }
@@ -3661,7 +3684,7 @@ var ei = (
3661
3684
  u === "other" && (a = !0), this.bumpSpace();
3662
3685
  var m = this.clonePosition();
3663
3686
  if (!this.bumpIf("{"))
3664
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3687
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3665
3688
  var b = this.parseMessage(t + 1, r, n);
3666
3689
  if (b.err)
3667
3690
  return b;
@@ -3672,11 +3695,11 @@ var ei = (
3672
3695
  u,
3673
3696
  {
3674
3697
  value: b.val,
3675
- location: v(m, this.clonePosition())
3698
+ location: _(m, this.clonePosition())
3676
3699
  }
3677
3700
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3678
3701
  }
3679
- 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 };
3702
+ 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 };
3680
3703
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3681
3704
  var n = 1, i = this.clonePosition();
3682
3705
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3687,8 +3710,8 @@ var ei = (
3687
3710
  else
3688
3711
  break;
3689
3712
  }
3690
- var l = v(i, this.clonePosition());
3691
- return o ? (a *= n, Jn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3713
+ var l = _(i, this.clonePosition());
3714
+ return o ? (a *= n, qn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3692
3715
  }, e.prototype.offset = function() {
3693
3716
  return this.position.offset;
3694
3717
  }, e.prototype.isEOF = function() {
@@ -3703,7 +3726,7 @@ var ei = (
3703
3726
  var t = this.position.offset;
3704
3727
  if (t >= this.message.length)
3705
3728
  throw Error("out of bound");
3706
- var r = ur(this.message, t);
3729
+ var r = lr(this.message, t);
3707
3730
  if (r === void 0)
3708
3731
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3709
3732
  return r;
@@ -3722,7 +3745,7 @@ var ei = (
3722
3745
  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);
3723
3746
  }
3724
3747
  }, e.prototype.bumpIf = function(t) {
3725
- if (vt(this.message, t, this.offset())) {
3748
+ if (Et(this.message, t, this.offset())) {
3726
3749
  for (var r = 0; r < t.length; r++)
3727
3750
  this.bump();
3728
3751
  return !0;
@@ -3744,7 +3767,7 @@ var ei = (
3744
3767
  break;
3745
3768
  }
3746
3769
  }, e.prototype.bumpSpace = function() {
3747
- for (; !this.isEOF() && hr(this.char()); )
3770
+ for (; !this.isEOF() && cr(this.char()); )
3748
3771
  this.bump();
3749
3772
  }, e.prototype.peek = function() {
3750
3773
  if (this.isEOF())
@@ -3754,47 +3777,47 @@ var ei = (
3754
3777
  }, e;
3755
3778
  }()
3756
3779
  );
3757
- function Qe(e) {
3780
+ function Ke(e) {
3758
3781
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3759
3782
  }
3760
- function ti(e) {
3761
- return Qe(e) || e === 47;
3762
- }
3763
3783
  function ri(e) {
3784
+ return Ke(e) || e === 47;
3785
+ }
3786
+ function ni(e) {
3764
3787
  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;
3765
3788
  }
3766
- function hr(e) {
3789
+ function cr(e) {
3767
3790
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3768
3791
  }
3769
- function ni(e) {
3792
+ function ii(e) {
3770
3793
  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;
3771
3794
  }
3772
- function Je(e) {
3795
+ function et(e) {
3773
3796
  e.forEach(function(t) {
3774
- if (delete t.location, er(t) || tr(t))
3797
+ if (delete t.location, tr(t) || rr(t))
3775
3798
  for (var r in t.options)
3776
- delete t.options[r].location, Je(t.options[r].value);
3799
+ delete t.options[r].location, et(t.options[r].value);
3777
3800
  else
3778
- qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && Je(t.children);
3801
+ Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Qe(t.style) ? delete t.style.location : nr(t) && et(t.children);
3779
3802
  });
3780
3803
  }
3781
- function ii(e, t) {
3782
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3783
- var r = new ei(e, t).parse();
3804
+ function oi(e, t) {
3805
+ t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3806
+ var r = new ti(e, t).parse();
3784
3807
  if (r.err) {
3785
3808
  var n = SyntaxError(y[r.err.kind]);
3786
3809
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3787
3810
  }
3788
- return t?.captureLocation || Je(r.val), r.val;
3811
+ return t?.captureLocation || et(r.val), r.val;
3789
3812
  }
3790
- var te;
3813
+ var ee;
3791
3814
  (function(e) {
3792
3815
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3793
- })(te || (te = {}));
3794
- var He = (
3816
+ })(ee || (ee = {}));
3817
+ var Pe = (
3795
3818
  /** @class */
3796
3819
  function(e) {
3797
- U(t, e);
3820
+ Be(t, e);
3798
3821
  function t(r, n, i) {
3799
3822
  var o = e.call(this, r) || this;
3800
3823
  return o.code = n, o.originalMessage = i, o;
@@ -3803,48 +3826,48 @@ var He = (
3803
3826
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3804
3827
  }, t;
3805
3828
  }(Error)
3806
- ), xt = (
3829
+ ), wt = (
3807
3830
  /** @class */
3808
3831
  function(e) {
3809
- U(t, e);
3832
+ Be(t, e);
3810
3833
  function t(r, n, i, o) {
3811
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3834
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3812
3835
  }
3813
3836
  return t;
3814
- }(He)
3815
- ), oi = (
3837
+ }(Pe)
3838
+ ), si = (
3816
3839
  /** @class */
3817
3840
  function(e) {
3818
- U(t, e);
3841
+ Be(t, e);
3819
3842
  function t(r, n, i) {
3820
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3843
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3821
3844
  }
3822
3845
  return t;
3823
- }(He)
3824
- ), si = (
3846
+ }(Pe)
3847
+ ), ai = (
3825
3848
  /** @class */
3826
3849
  function(e) {
3827
- U(t, e);
3850
+ Be(t, e);
3828
3851
  function t(r, n) {
3829
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3852
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3830
3853
  }
3831
3854
  return t;
3832
- }(He)
3855
+ }(Pe)
3833
3856
  ), T;
3834
3857
  (function(e) {
3835
3858
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3836
3859
  })(T || (T = {}));
3837
- function ai(e) {
3860
+ function ui(e) {
3838
3861
  return e.length < 2 ? e : e.reduce(function(t, r) {
3839
3862
  var n = t[t.length - 1];
3840
3863
  return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3841
3864
  }, []);
3842
3865
  }
3843
- function ui(e) {
3866
+ function li(e) {
3844
3867
  return typeof e == "function";
3845
3868
  }
3846
3869
  function ge(e, t, r, n, i, o, a) {
3847
- if (e.length === 1 && mt(e[0]))
3870
+ if (e.length === 1 && yt(e[0]))
3848
3871
  return [
3849
3872
  {
3850
3873
  type: T.literal,
@@ -3853,14 +3876,14 @@ function ge(e, t, r, n, i, o, a) {
3853
3876
  ];
3854
3877
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3855
3878
  var h = u[l];
3856
- if (mt(h)) {
3879
+ if (yt(h)) {
3857
3880
  s.push({
3858
3881
  type: T.literal,
3859
3882
  value: h.value
3860
3883
  });
3861
3884
  continue;
3862
3885
  }
3863
- if (On(h)) {
3886
+ if (In(h)) {
3864
3887
  typeof o == "number" && s.push({
3865
3888
  type: T.literal,
3866
3889
  value: r.getNumberFormat(t).format(o)
@@ -3869,89 +3892,89 @@ function ge(e, t, r, n, i, o, a) {
3869
3892
  }
3870
3893
  var f = h.value;
3871
3894
  if (!(i && f in i))
3872
- throw new si(f, a);
3895
+ throw new ai(f, a);
3873
3896
  var c = i[f];
3874
- if (An(h)) {
3897
+ if (On(h)) {
3875
3898
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3876
3899
  type: typeof c == "string" ? T.literal : T.object,
3877
3900
  value: c
3878
3901
  });
3879
3902
  continue;
3880
3903
  }
3881
- if (Yt(h)) {
3882
- var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3904
+ if (Kt(h)) {
3905
+ var m = typeof h.style == "string" ? n.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3883
3906
  s.push({
3884
3907
  type: T.literal,
3885
3908
  value: r.getDateTimeFormat(t, m).format(c)
3886
3909
  });
3887
3910
  continue;
3888
3911
  }
3889
- if (Kt(h)) {
3890
- var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3912
+ if (er(h)) {
3913
+ var m = typeof h.style == "string" ? n.time[h.style] : Qe(h.style) ? h.style.parsedOptions : n.time.medium;
3891
3914
  s.push({
3892
3915
  type: T.literal,
3893
3916
  value: r.getDateTimeFormat(t, m).format(c)
3894
3917
  });
3895
3918
  continue;
3896
3919
  }
3897
- if (qt(h)) {
3898
- var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3920
+ if (Yt(h)) {
3921
+ var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3899
3922
  m && m.scale && (c = c * (m.scale || 1)), s.push({
3900
3923
  type: T.literal,
3901
3924
  value: r.getNumberFormat(t, m).format(c)
3902
3925
  });
3903
3926
  continue;
3904
3927
  }
3905
- if (rr(h)) {
3928
+ if (nr(h)) {
3906
3929
  var b = h.children, g = h.value, S = i[g];
3907
- if (!ui(S))
3908
- throw new oi(g, "function", a);
3909
- var P = ge(b, t, r, n, i, o), H = S(P.map(function(A) {
3910
- return A.value;
3930
+ if (!li(S))
3931
+ throw new si(g, "function", a);
3932
+ var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
3933
+ return O.value;
3911
3934
  }));
3912
- Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(A) {
3935
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
3913
3936
  return {
3914
- type: typeof A == "string" ? T.literal : T.object,
3915
- value: A
3937
+ type: typeof O == "string" ? T.literal : T.object,
3938
+ value: O
3916
3939
  };
3917
3940
  }));
3918
3941
  }
3919
- if (er(h)) {
3942
+ if (tr(h)) {
3920
3943
  var w = h.options[c] || h.options.other;
3921
3944
  if (!w)
3922
- throw new xt(h.value, c, Object.keys(h.options), a);
3945
+ throw new wt(h.value, c, Object.keys(h.options), a);
3923
3946
  s.push.apply(s, ge(w.value, t, r, n, i));
3924
3947
  continue;
3925
3948
  }
3926
- if (tr(h)) {
3949
+ if (rr(h)) {
3927
3950
  var w = h.options["=".concat(c)];
3928
3951
  if (!w) {
3929
3952
  if (!Intl.PluralRules)
3930
- throw new He(`Intl.PluralRules is not available in this environment.
3953
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3931
3954
  Try polyfilling it using "@formatjs/intl-pluralrules"
3932
- `, te.MISSING_INTL_API, a);
3933
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3934
- w = h.options[L] || h.options.other;
3955
+ `, ee.MISSING_INTL_API, a);
3956
+ var C = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3957
+ w = h.options[C] || h.options.other;
3935
3958
  }
3936
3959
  if (!w)
3937
- throw new xt(h.value, c, Object.keys(h.options), a);
3960
+ throw new wt(h.value, c, Object.keys(h.options), a);
3938
3961
  s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
3939
3962
  continue;
3940
3963
  }
3941
3964
  }
3942
- return ai(s);
3965
+ return ui(s);
3943
3966
  }
3944
- function li(e, t) {
3945
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3946
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3967
+ function hi(e, t) {
3968
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3969
+ return r[n] = R(R({}, e[n]), t[n] || {}), r;
3947
3970
  }, {})) : e;
3948
3971
  }
3949
- function hi(e, t) {
3972
+ function ci(e, t) {
3950
3973
  return t ? Object.keys(e).reduce(function(r, n) {
3951
- return r[n] = li(e[n], t[n]), r;
3952
- }, _({}, e)) : e;
3974
+ return r[n] = hi(e[n], t[n]), r;
3975
+ }, R({}, e)) : e;
3953
3976
  }
3954
- function Ne(e) {
3977
+ function $e(e) {
3955
3978
  return {
3956
3979
  create: function() {
3957
3980
  return {
@@ -3965,39 +3988,39 @@ function Ne(e) {
3965
3988
  }
3966
3989
  };
3967
3990
  }
3968
- function ci(e) {
3991
+ function fi(e) {
3969
3992
  return e === void 0 && (e = {
3970
3993
  number: {},
3971
3994
  dateTime: {},
3972
3995
  pluralRules: {}
3973
3996
  }), {
3974
- getNumberFormat: Ce(function() {
3997
+ getNumberFormat: Ne(function() {
3975
3998
  for (var t, r = [], n = 0; n < arguments.length; n++)
3976
3999
  r[n] = arguments[n];
3977
- return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
4000
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3978
4001
  }, {
3979
- cache: Ne(e.number),
3980
- strategy: Le.variadic
4002
+ cache: $e(e.number),
4003
+ strategy: Me.variadic
3981
4004
  }),
3982
- getDateTimeFormat: Ce(function() {
4005
+ getDateTimeFormat: Ne(function() {
3983
4006
  for (var t, r = [], n = 0; n < arguments.length; n++)
3984
4007
  r[n] = arguments[n];
3985
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
4008
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3986
4009
  }, {
3987
- cache: Ne(e.dateTime),
3988
- strategy: Le.variadic
4010
+ cache: $e(e.dateTime),
4011
+ strategy: Me.variadic
3989
4012
  }),
3990
- getPluralRules: Ce(function() {
4013
+ getPluralRules: Ne(function() {
3991
4014
  for (var t, r = [], n = 0; n < arguments.length; n++)
3992
4015
  r[n] = arguments[n];
3993
- return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
4016
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3994
4017
  }, {
3995
- cache: Ne(e.pluralRules),
3996
- strategy: Le.variadic
4018
+ cache: $e(e.pluralRules),
4019
+ strategy: Me.variadic
3997
4020
  })
3998
4021
  };
3999
4022
  }
4000
- var fi = (
4023
+ var di = (
4001
4024
  /** @class */
4002
4025
  function() {
4003
4026
  function e(t, r, n, i) {
@@ -4029,13 +4052,13 @@ var fi = (
4029
4052
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4030
4053
  var a = i || {};
4031
4054
  a.formatters;
4032
- var s = Vr(a, ["formatters"]);
4033
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4055
+ var s = xn(a, ["formatters"]);
4056
+ this.ast = e.__parse(t, R(R({}, s), { locale: this.resolvedLocale }));
4034
4057
  } else
4035
4058
  this.ast = t;
4036
4059
  if (!Array.isArray(this.ast))
4037
4060
  throw new TypeError("A message must be provided as a String or AST.");
4038
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
4061
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
4039
4062
  }
4040
4063
  return Object.defineProperty(e, "defaultLocale", {
4041
4064
  get: function() {
@@ -4048,7 +4071,7 @@ var fi = (
4048
4071
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4049
4072
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4050
4073
  }
4051
- }, e.__parse = ii, e.formats = {
4074
+ }, e.__parse = oi, e.formats = {
4052
4075
  number: {
4053
4076
  integer: {
4054
4077
  maximumFractionDigits: 0
@@ -4109,7 +4132,7 @@ var fi = (
4109
4132
  }, e;
4110
4133
  }()
4111
4134
  );
4112
- function di(e, t) {
4135
+ function pi(e, t) {
4113
4136
  if (t == null)
4114
4137
  return;
4115
4138
  if (t in e)
@@ -4130,92 +4153,92 @@ function di(e, t) {
4130
4153
  n = void 0;
4131
4154
  return n;
4132
4155
  }
4133
- const F = {}, pi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
4156
+ const F = {}, mi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), fr = (e, t) => {
4134
4157
  if (t == null)
4135
4158
  return;
4136
4159
  if (t in F && e in F[t])
4137
4160
  return F[t][e];
4138
- const r = Be(t);
4161
+ const r = Ae(t);
4139
4162
  for (let n = 0; n < r.length; n++) {
4140
- const i = r[n], o = bi(i, e);
4163
+ const i = r[n], o = yi(i, e);
4141
4164
  if (o)
4142
- return pi(e, t, o);
4165
+ return mi(e, t, o);
4143
4166
  }
4144
4167
  };
4145
- let rt;
4146
- const ce = Te({});
4147
- function mi(e) {
4148
- return rt[e] || null;
4168
+ let it;
4169
+ const ce = He({});
4170
+ function bi(e) {
4171
+ return it[e] || null;
4149
4172
  }
4150
- function fr(e) {
4151
- return e in rt;
4173
+ function dr(e) {
4174
+ return e in it;
4152
4175
  }
4153
- function bi(e, t) {
4154
- if (!fr(e))
4176
+ function yi(e, t) {
4177
+ if (!dr(e))
4155
4178
  return null;
4156
- const r = mi(e);
4157
- return di(r, t);
4179
+ const r = bi(e);
4180
+ return pi(r, t);
4158
4181
  }
4159
- function yi(e) {
4182
+ function gi(e) {
4160
4183
  if (e == null)
4161
4184
  return;
4162
- const t = Be(e);
4185
+ const t = Ae(e);
4163
4186
  for (let r = 0; r < t.length; r++) {
4164
4187
  const n = t[r];
4165
- if (fr(n))
4188
+ if (dr(n))
4166
4189
  return n;
4167
4190
  }
4168
4191
  }
4169
- function dr(e, ...t) {
4170
- delete F[e], ce.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4192
+ function pr(e, ...t) {
4193
+ delete F[e], ce.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
4171
4194
  }
4172
- ne(
4195
+ re(
4173
4196
  [ce],
4174
4197
  ([e]) => Object.keys(e)
4175
4198
  );
4176
- ce.subscribe((e) => rt = e);
4177
- const ve = {};
4178
- function gi(e, t) {
4179
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4199
+ ce.subscribe((e) => it = e);
4200
+ const _e = {};
4201
+ function _i(e, t) {
4202
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
4180
4203
  }
4181
- function pr(e) {
4182
- return ve[e];
4204
+ function mr(e) {
4205
+ return _e[e];
4183
4206
  }
4184
4207
  function vi(e) {
4185
- return Be(e).map((t) => {
4186
- const r = pr(t);
4208
+ return Ae(e).map((t) => {
4209
+ const r = mr(t);
4187
4210
  return [t, r ? [...r] : []];
4188
4211
  }).filter(([, t]) => t.length > 0);
4189
4212
  }
4190
- function qe(e) {
4191
- return e == null ? !1 : Be(e).some(
4213
+ function tt(e) {
4214
+ return e == null ? !1 : Ae(e).some(
4192
4215
  (t) => {
4193
4216
  var r;
4194
- return (r = pr(t)) == null ? void 0 : r.size;
4217
+ return (r = mr(t)) == null ? void 0 : r.size;
4195
4218
  }
4196
4219
  );
4197
4220
  }
4198
- function _i(e, t) {
4221
+ function Ei(e, t) {
4199
4222
  return Promise.all(
4200
- t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4201
- ).then((n) => dr(e, ...n));
4223
+ t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4224
+ ).then((n) => pr(e, ...n));
4202
4225
  }
4203
- const se = {};
4204
- function mr(e) {
4205
- if (!qe(e))
4206
- return e in se ? se[e] : Promise.resolve();
4226
+ const oe = {};
4227
+ function br(e) {
4228
+ if (!tt(e))
4229
+ return e in oe ? oe[e] : Promise.resolve();
4207
4230
  const t = vi(e);
4208
- return se[e] = Promise.all(
4231
+ return oe[e] = Promise.all(
4209
4232
  t.map(
4210
- ([r, n]) => _i(r, n)
4233
+ ([r, n]) => Ei(r, n)
4211
4234
  )
4212
4235
  ).then(() => {
4213
- if (qe(e))
4214
- return mr(e);
4215
- delete se[e];
4216
- }), se[e];
4236
+ if (tt(e))
4237
+ return br(e);
4238
+ delete oe[e];
4239
+ }), oe[e];
4217
4240
  }
4218
- const Ei = {
4241
+ const xi = {
4219
4242
  number: {
4220
4243
  scientific: { notation: "scientific" },
4221
4244
  engineering: { notation: "engineering" },
@@ -4244,150 +4267,150 @@ const Ei = {
4244
4267
  timeZoneName: "short"
4245
4268
  }
4246
4269
  }
4247
- }, xi = {
4270
+ }, Si = {
4248
4271
  fallbackLocale: null,
4249
4272
  loadingDelay: 200,
4250
- formats: Ei,
4273
+ formats: xi,
4251
4274
  warnOnMissingMessages: !0,
4252
4275
  handleMissingMessage: void 0,
4253
4276
  ignoreTag: !0
4254
- }, Si = xi;
4255
- function re() {
4256
- return Si;
4277
+ }, wi = Si;
4278
+ function te() {
4279
+ return wi;
4257
4280
  }
4258
- const Re = Te(!1);
4259
- 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) => {
4281
+ const Ue = He(!1);
4282
+ 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) => {
4260
4283
  for (var r in t || (t = {}))
4261
- Bi.call(t, r) && wt(e, r, t[r]);
4262
- if (St)
4263
- for (var r of St(t))
4264
- Pi.call(t, r) && wt(e, r, t[r]);
4284
+ Pi.call(t, r) && Ht(e, r, t[r]);
4285
+ if (Tt)
4286
+ for (var r of Tt(t))
4287
+ Ai.call(t, r) && Ht(e, r, t[r]);
4265
4288
  return e;
4266
- }, Oi = (e, t) => Ti(e, Hi(t));
4267
- let Ye;
4268
- const _e = Te(null);
4269
- function Tt(e) {
4289
+ }, Ii = (e, t) => Hi(e, Bi(t));
4290
+ let rt;
4291
+ const Ee = He(null);
4292
+ function Bt(e) {
4270
4293
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4271
4294
  }
4272
- function Be(e, t = re().fallbackLocale) {
4273
- const r = Tt(e);
4274
- return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4295
+ function Ae(e, t = te().fallbackLocale) {
4296
+ const r = Bt(e);
4297
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4275
4298
  }
4276
- function z() {
4277
- return Ye ?? void 0;
4299
+ function W() {
4300
+ return rt ?? void 0;
4278
4301
  }
4279
- _e.subscribe((e) => {
4280
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4302
+ Ee.subscribe((e) => {
4303
+ rt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4281
4304
  });
4282
- const Ii = (e) => {
4283
- if (e && yi(e) && qe(e)) {
4284
- const { loadingDelay: t } = re();
4305
+ const Li = (e) => {
4306
+ if (e && gi(e) && tt(e)) {
4307
+ const { loadingDelay: t } = te();
4285
4308
  let r;
4286
- return typeof window < "u" && z() != null && t ? r = window.setTimeout(
4287
- () => Re.set(!0),
4309
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4310
+ () => Ue.set(!0),
4288
4311
  t
4289
- ) : Re.set(!0), mr(e).then(() => {
4290
- _e.set(e);
4312
+ ) : Ue.set(!0), br(e).then(() => {
4313
+ Ee.set(e);
4291
4314
  }).finally(() => {
4292
- clearTimeout(r), Re.set(!1);
4315
+ clearTimeout(r), Ue.set(!1);
4293
4316
  });
4294
4317
  }
4295
- return _e.set(e);
4296
- }, ie = Oi(Ai({}, _e), {
4297
- set: Ii
4298
- }), Pe = (e) => {
4318
+ return Ee.set(e);
4319
+ }, ne = Ii(Oi({}, Ee), {
4320
+ set: Li
4321
+ }), Oe = (e) => {
4299
4322
  const t = /* @__PURE__ */ Object.create(null);
4300
4323
  return (n) => {
4301
4324
  const i = JSON.stringify(n);
4302
4325
  return i in t ? t[i] : t[i] = e(n);
4303
4326
  };
4304
4327
  };
4305
- var Ci = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4328
+ 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) => {
4306
4329
  for (var r in t || (t = {}))
4307
- br.call(t, r) && Ht(e, r, t[r]);
4308
- if (Ee)
4309
- for (var r of Ee(t))
4310
- yr.call(t, r) && Ht(e, r, t[r]);
4330
+ yr.call(t, r) && Pt(e, r, t[r]);
4331
+ if (xe)
4332
+ for (var r of xe(t))
4333
+ gr.call(t, r) && Pt(e, r, t[r]);
4311
4334
  return e;
4312
- }, oe = (e, t) => {
4335
+ }, ie = (e, t) => {
4313
4336
  var r = {};
4314
4337
  for (var n in e)
4315
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4316
- if (e != null && Ee)
4317
- for (var n of Ee(e))
4318
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4338
+ yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4339
+ if (e != null && xe)
4340
+ for (var n of xe(e))
4341
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4319
4342
  return r;
4320
4343
  };
4321
- const he = (e, t) => {
4322
- const { formats: r } = re();
4344
+ const le = (e, t) => {
4345
+ const { formats: r } = te();
4323
4346
  if (e in r && t in r[e])
4324
4347
  return r[e][t];
4325
4348
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4326
- }, Li = Pe(
4349
+ }, Ni = Oe(
4327
4350
  (e) => {
4328
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
4351
+ var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
4329
4352
  if (r == null)
4330
4353
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4331
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
4354
+ return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4332
4355
  }
4333
- ), Mi = Pe(
4356
+ ), Mi = Oe(
4334
4357
  (e) => {
4335
- 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"]);
4336
4359
  if (r == null)
4337
4360
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4338
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
4361
+ return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4339
4362
  }
4340
- ), Ni = Pe(
4363
+ ), Ri = Oe(
4341
4364
  (e) => {
4342
- 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"]);
4343
4366
  if (r == null)
4344
4367
  throw new Error(
4345
4368
  '[svelte-i18n] A "locale" must be set to format time values'
4346
4369
  );
4347
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
4370
+ return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4348
4371
  }
4349
- ), Ri = (e = {}) => {
4372
+ ), $i = (e = {}) => {
4350
4373
  var t = e, {
4351
- locale: r = z()
4352
- } = t, n = oe(t, [
4374
+ locale: r = W()
4375
+ } = t, n = ie(t, [
4353
4376
  "locale"
4354
4377
  ]);
4355
- return Li(nt({ locale: r }, n));
4356
- }, $i = (e = {}) => {
4378
+ return Ni(ot({ locale: r }, n));
4379
+ }, Ui = (e = {}) => {
4357
4380
  var t = e, {
4358
- locale: r = z()
4359
- } = t, n = oe(t, [
4381
+ locale: r = W()
4382
+ } = t, n = ie(t, [
4360
4383
  "locale"
4361
4384
  ]);
4362
- return Mi(nt({ locale: r }, n));
4385
+ return Mi(ot({ locale: r }, n));
4363
4386
  }, Di = (e = {}) => {
4364
4387
  var t = e, {
4365
- locale: r = z()
4366
- } = t, n = oe(t, [
4388
+ locale: r = W()
4389
+ } = t, n = ie(t, [
4367
4390
  "locale"
4368
4391
  ]);
4369
- return Ni(nt({ locale: r }, n));
4370
- }, Ui = Pe(
4392
+ return Ri(ot({ locale: r }, n));
4393
+ }, Gi = Oe(
4371
4394
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4372
- (e, t = z()) => new fi(e, t, re().formats, {
4373
- ignoreTag: re().ignoreTag
4395
+ (e, t = W()) => new di(e, t, te().formats, {
4396
+ ignoreTag: te().ignoreTag
4374
4397
  })
4375
- ), Gi = (e, t = {}) => {
4398
+ ), Fi = (e, t = {}) => {
4376
4399
  var r, n, i, o;
4377
4400
  let a = t;
4378
4401
  typeof e == "object" && (a = e, e = a.id);
4379
4402
  const {
4380
4403
  values: s,
4381
- locale: l = z(),
4404
+ locale: l = W(),
4382
4405
  default: u
4383
4406
  } = a;
4384
4407
  if (l == null)
4385
4408
  throw new Error(
4386
4409
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4387
4410
  );
4388
- let h = cr(e, l);
4411
+ let h = fr(e, l);
4389
4412
  if (!h)
4390
- 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;
4413
+ 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;
4391
4414
  else if (typeof h != "string")
4392
4415
  return console.warn(
4393
4416
  `[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.`
@@ -4396,7 +4419,7 @@ const he = (e, t) => {
4396
4419
  return h;
4397
4420
  let f = h;
4398
4421
  try {
4399
- f = Ui(h, l).format(s);
4422
+ f = Gi(h, l).format(s);
4400
4423
  } catch (c) {
4401
4424
  c instanceof Error && console.warn(
4402
4425
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4404,16 +4427,16 @@ const he = (e, t) => {
4404
4427
  );
4405
4428
  }
4406
4429
  return f;
4407
- }, 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);
4408
- ne([ie], () => Fi);
4409
- ne([ie], () => ji);
4410
- ne([ie], () => ki);
4411
- ne([ie, ce], () => Vi);
4412
- window.emWidgets = { topic: on };
4413
- 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";
4414
- function wo(e, t) {
4430
+ }, ji = (e, t) => Di(t).format(e), ki = (e, t) => Ui(t).format(e), Vi = (e, t) => $i(t).format(e), Xi = (e, t = W()) => fr(e, t), Wi = re([ne, ce], () => Fi);
4431
+ re([ne], () => ji);
4432
+ re([ne], () => ki);
4433
+ re([ne], () => Vi);
4434
+ re([ne, ce], () => Xi);
4435
+ window.emWidgets = { topic: nn };
4436
+ 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";
4437
+ function Bo(e, t) {
4415
4438
  const r = window.navigator.userAgent;
4416
- return gr(r) ? t = e.filter((n) => {
4439
+ return _r(r) ? t = e.filter((n) => {
4417
4440
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4418
4441
  return n;
4419
4442
  }) : t = e.filter((n) => {
@@ -4421,13 +4444,13 @@ function wo(e, t) {
4421
4444
  return n;
4422
4445
  }), t;
4423
4446
  }
4424
- function zi(e, t) {
4447
+ function Zi(e, t) {
4425
4448
  if (e) {
4426
4449
  const r = document.createElement("style");
4427
4450
  r.innerHTML = t, e.appendChild(r);
4428
4451
  }
4429
4452
  }
4430
- function Zi(e, t) {
4453
+ function Qi(e, t) {
4431
4454
  const r = new URL(t);
4432
4455
  fetch(r.href).then((n) => n.text()).then((n) => {
4433
4456
  const i = document.createElement("style");
@@ -4436,7 +4459,7 @@ function Zi(e, t) {
4436
4459
  console.error("There was an error while trying to load client styling from URL", n);
4437
4460
  });
4438
4461
  }
4439
- function Qi(e, t, r) {
4462
+ function Ji(e, t, r) {
4440
4463
  if (window.emMessageBus) {
4441
4464
  const n = document.createElement("style");
4442
4465
  window.emMessageBus.subscribe(t, (i) => {
@@ -4444,13 +4467,13 @@ function Qi(e, t, r) {
4444
4467
  });
4445
4468
  }
4446
4469
  }
4447
- function Bt(e, t) {
4448
- dr(e, t);
4470
+ function At(e, t) {
4471
+ pr(e, t);
4449
4472
  }
4450
- function Ji(e) {
4451
- ie.set(e);
4473
+ function qi(e) {
4474
+ ne.set(e);
4452
4475
  }
4453
- const Pt = {
4476
+ const Ot = {
4454
4477
  en: {
4455
4478
  error: "500 Error - Internal Server Error"
4456
4479
  },
@@ -4470,60 +4493,28 @@ const Pt = {
4470
4493
  error: "500 Error - Internal Server Error"
4471
4494
  }
4472
4495
  };
4473
- if (typeof window < "u") {
4474
- let e = function(t) {
4475
- return function(...r) {
4476
- try {
4477
- return t.apply(this, r);
4478
- } catch (n) {
4479
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4480
- return !1;
4481
- throw n;
4482
- }
4483
- };
4484
- };
4485
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-B2rPnr-r.js").then(({ default: t }) => {
4486
- !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4487
- });
4488
- }
4489
- if (typeof window < "u") {
4490
- let e = function(t) {
4491
- return function(...r) {
4492
- try {
4493
- return t.apply(this, r);
4494
- } catch (n) {
4495
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
4496
- return !1;
4497
- throw n;
4498
- }
4499
- };
4500
- };
4501
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-BtpO8qS-.js").then(({ default: t }) => {
4502
- !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4503
- });
4504
- }
4505
- function qi(e) {
4496
+ function Yi(e) {
4506
4497
  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
4507
4498
  }.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)}}`);
4508
4499
  }
4509
- function At(e, t, r) {
4500
+ function It(e, t, r) {
4510
4501
  const n = e.slice();
4511
4502
  return n[26] = t[r], n[28] = r, n;
4512
4503
  }
4513
- function Yi(e) {
4514
- let t, r, n, i = st(
4504
+ function Ki(e) {
4505
+ let t, r, n, i = ut(
4515
4506
  /*calendarCollections*/
4516
4507
  e[6]
4517
4508
  ), o = [];
4518
4509
  for (let s = 0; s < i.length; s += 1)
4519
- o[s] = Ot(At(e, i, s));
4510
+ o[s] = Lt(It(e, i, s));
4520
4511
  let a = (
4521
4512
  /*calendarModalOpened*/
4522
- e[11] == !0 && It(e)
4513
+ e[11] == !0 && Ct(e)
4523
4514
  );
4524
4515
  return {
4525
4516
  c() {
4526
- t = R("div");
4517
+ t = $("div");
4527
4518
  for (let s = 0; s < o.length; s += 1)
4528
4519
  o[s].c();
4529
4520
  r = Ar(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
@@ -4533,26 +4524,26 @@ function Yi(e) {
4533
4524
  k(s, t, l);
4534
4525
  for (let u = 0; u < o.length; u += 1)
4535
4526
  o[u] && o[u].m(t, null);
4536
- Se(t, r), a && a.m(t, null);
4527
+ we(t, r), a && a.m(t, null);
4537
4528
  },
4538
4529
  p(s, l) {
4539
4530
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4540
4531
  95) {
4541
- i = st(
4532
+ i = ut(
4542
4533
  /*calendarCollections*/
4543
4534
  s[6]
4544
4535
  );
4545
4536
  let u;
4546
4537
  for (u = 0; u < i.length; u += 1) {
4547
- const h = At(s, i, u);
4548
- o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
4538
+ const h = It(s, i, u);
4539
+ o[u] ? o[u].p(h, l) : (o[u] = Lt(h), o[u].c(), o[u].m(t, r));
4549
4540
  }
4550
4541
  for (; u < o.length; u += 1)
4551
4542
  o[u].d(1);
4552
4543
  o.length = i.length;
4553
4544
  }
4554
4545
  /*calendarModalOpened*/
4555
- 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*/
4546
+ 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*/
4556
4547
  1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4557
4548
  (s[10] ? "Mobile" : "") + " svelte-5u3c97") && j(t, "class", n);
4558
4549
  },
@@ -4561,32 +4552,32 @@ function Yi(e) {
4561
4552
  }
4562
4553
  };
4563
4554
  }
4564
- function Ki(e) {
4555
+ function eo(e) {
4565
4556
  let t;
4566
4557
  return {
4567
4558
  c() {
4568
- t = R("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4559
+ t = $("div"), j(t, "class", "LoadingSpinner svelte-5u3c97");
4569
4560
  },
4570
4561
  m(r, n) {
4571
4562
  k(r, t, n);
4572
4563
  },
4573
- p: B,
4564
+ p: P,
4574
4565
  d(r) {
4575
4566
  r && D(t);
4576
4567
  }
4577
4568
  };
4578
4569
  }
4579
- function eo(e) {
4570
+ function to(e) {
4580
4571
  let t, r = (
4581
4572
  /*$_*/
4582
4573
  e[12]("error") + ""
4583
4574
  ), n;
4584
4575
  return {
4585
4576
  c() {
4586
- t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-5u3c97");
4577
+ t = $("p"), n = nt(r), j(t, "class", "SearchLoading svelte-5u3c97");
4587
4578
  },
4588
4579
  m(i, o) {
4589
- k(i, t, o), Se(t, n);
4580
+ k(i, t, o), we(t, n);
4590
4581
  },
4591
4582
  p(i, o) {
4592
4583
  o & /*$_*/
@@ -4598,11 +4589,11 @@ function eo(e) {
4598
4589
  }
4599
4590
  };
4600
4591
  }
4601
- function Ot(e) {
4592
+ function Lt(e) {
4602
4593
  let t, r, n, i, o, a;
4603
4594
  return {
4604
4595
  c() {
4605
- t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4596
+ t = $("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
4606
4597
  e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
4607
4598
  e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
4608
4599
  e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
@@ -4690,11 +4681,11 @@ function Ot(e) {
4690
4681
  }
4691
4682
  };
4692
4683
  }
4693
- function It(e) {
4684
+ function Ct(e) {
4694
4685
  let t, r, n, i, o, a, s, l;
4695
4686
  return {
4696
4687
  c() {
4697
- t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4688
+ t = $("div"), r = $("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
4698
4689
  e[6][
4699
4690
  /*selectedIndex*/
4700
4691
  e[7]
@@ -4746,7 +4737,7 @@ function It(e) {
4746
4737
  ), d(r, "class", "svelte-5u3c97"), j(t, "class", "CalendarDetailsWrapper svelte-5u3c97");
4747
4738
  },
4748
4739
  m(u, h) {
4749
- k(u, t, h), Se(t, r);
4740
+ k(u, t, h), we(t, r);
4750
4741
  },
4751
4742
  p(u, h) {
4752
4743
  h & /*calendarCollections, selectedIndex*/
@@ -4816,29 +4807,29 @@ function It(e) {
4816
4807
  }
4817
4808
  };
4818
4809
  }
4819
- function to(e) {
4810
+ function ro(e) {
4820
4811
  let t;
4821
4812
  function r(o, a) {
4822
4813
  if (
4823
4814
  /*hasErrors*/
4824
4815
  o[9]
4825
4816
  )
4826
- return eo;
4817
+ return to;
4827
4818
  if (
4828
4819
  /*isLoading*/
4829
4820
  o[8]
4830
4821
  )
4831
- return Ki;
4822
+ return eo;
4832
4823
  if (
4833
4824
  /*calendarCollections*/
4834
4825
  o[6]?.length
4835
4826
  )
4836
- return Yi;
4827
+ return Ki;
4837
4828
  }
4838
4829
  let n = r(e), i = n && n(e);
4839
4830
  return {
4840
4831
  c() {
4841
- t = R("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4832
+ t = $("div"), i && i.c(), j(t, "class", "svelte-5u3c97");
4842
4833
  },
4843
4834
  m(o, a) {
4844
4835
  k(o, t, a), i && i.m(t, null), e[16](t);
@@ -4846,51 +4837,51 @@ function to(e) {
4846
4837
  p(o, [a]) {
4847
4838
  n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4848
4839
  },
4849
- i: B,
4850
- o: B,
4840
+ i: P,
4841
+ o: P,
4851
4842
  d(o) {
4852
4843
  o && D(t), i && i.d(), e[16](null);
4853
4844
  }
4854
4845
  };
4855
4846
  }
4856
- function ro(e, t, r) {
4847
+ function no(e, t, r) {
4857
4848
  let n;
4858
- Sr(e, Xi, (p) => r(12, n = p));
4859
- 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, L;
4860
- const A = () => {
4861
- Ji(s);
4849
+ Sr(e, Wi, (p) => r(12, n = p));
4850
+ 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;
4851
+ const C = () => {
4852
+ qi(s);
4862
4853
  };
4863
- Object.keys(Pt).forEach((p) => {
4864
- Bt(p, Pt[p]);
4854
+ Object.keys(Ot).forEach((p) => {
4855
+ At(p, Ot[p]);
4865
4856
  });
4866
- const M = () => {
4857
+ const O = () => {
4867
4858
  let p = h;
4868
4859
  if (p)
4869
- return fetch(p).then((C) => C.json()).then((C) => {
4870
- Object.keys(C).forEach((G) => {
4871
- Bt(G, C[G]);
4860
+ return fetch(p).then((L) => L.json()).then((L) => {
4861
+ Object.keys(L).forEach((G) => {
4862
+ At(G, L[G]);
4872
4863
  });
4873
- }).catch((C) => {
4874
- console.log(C);
4864
+ }).catch((L) => {
4865
+ console.log(L);
4875
4866
  });
4876
- }, x = () => {
4867
+ }, N = () => {
4877
4868
  r(8, g = !0);
4878
4869
  let p = new URL(`${i}/${s}/daily-calendar`);
4879
4870
  p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
4880
- let C = Wi(H);
4881
- C && (C === "PC" ? p.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((G) => G.json()).then((G) => {
4871
+ let L = zi(H);
4872
+ 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) => {
4882
4873
  r(6, m = G);
4883
4874
  }).catch((G) => {
4884
4875
  console.log(G), r(9, S = !0);
4885
4876
  }).finally(() => {
4886
- O(), r(8, g = !1);
4877
+ E(), r(8, g = !1);
4887
4878
  });
4888
- }, O = () => {
4879
+ }, E = () => {
4889
4880
  const p = c.getRootNode().host;
4890
4881
  p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
4891
4882
  }, I = () => {
4892
- x();
4893
- }, V = (p) => {
4883
+ N();
4884
+ }, B = (p) => {
4894
4885
  p.data && p.data.type == "OpenCalendar" && (r(7, b = p.data.index), r(11, w = !0), window.postMessage(
4895
4886
  {
4896
4887
  type: "ShowModal",
@@ -4903,11 +4894,11 @@ function ro(e, t, r) {
4903
4894
  data: m[b]?.dailyEvents
4904
4895
  })), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
4905
4896
  };
4906
- Lr(() => (window.addEventListener("message", V, !1), gr(H) && r(10, P = !0), () => {
4907
- window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", V);
4897
+ Cr(() => (window.addEventListener("message", B, !1), _r(H) && r(10, A = !0), () => {
4898
+ window.removeEventListener("message", B);
4908
4899
  }));
4909
- function _r(p) {
4910
- $e[p ? "unshift" : "push"](() => {
4900
+ function z(p) {
4901
+ De[p ? "unshift" : "push"](() => {
4911
4902
  c = p, r(5, c);
4912
4903
  });
4913
4904
  }
@@ -4916,11 +4907,11 @@ function ro(e, t, r) {
4916
4907
  }, e.$$.update = () => {
4917
4908
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4918
4909
  57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4919
- 34 && l && c && zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4920
- 36 && u && c && Zi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4921
- 48 && c && Qi(c, `${f}.Style`), e.$$.dirty & /*lang*/
4922
- 1 && s && A(), e.$$.dirty & /*lang, translationurl*/
4923
- 9 && s && h && M();
4910
+ 34 && l && c && Zi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4911
+ 36 && u && c && Qi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
4912
+ 48 && c && Ji(c, `${f}.Style`), e.$$.dirty & /*lang*/
4913
+ 1 && s && C(), e.$$.dirty & /*lang, translationurl*/
4914
+ 9 && s && h && O();
4924
4915
  }, [
4925
4916
  s,
4926
4917
  l,
@@ -4932,13 +4923,13 @@ function ro(e, t, r) {
4932
4923
  b,
4933
4924
  g,
4934
4925
  S,
4935
- P,
4926
+ A,
4936
4927
  w,
4937
4928
  n,
4938
4929
  i,
4939
4930
  o,
4940
4931
  a,
4941
- _r
4932
+ z
4942
4933
  ];
4943
4934
  }
4944
4935
  class vr extends jr {
@@ -4946,9 +4937,9 @@ class vr extends jr {
4946
4937
  super(), Gr(
4947
4938
  this,
4948
4939
  t,
4940
+ no,
4949
4941
  ro,
4950
- to,
4951
- Lt,
4942
+ Mt,
4952
4943
  {
4953
4944
  cmsendpoint: 13,
4954
4945
  env: 14,
@@ -4959,119 +4950,119 @@ class vr extends jr {
4959
4950
  translationurl: 3,
4960
4951
  mbsource: 4
4961
4952
  },
4962
- qi
4953
+ Yi
4963
4954
  );
4964
4955
  }
4965
4956
  get cmsendpoint() {
4966
4957
  return this.$$.ctx[13];
4967
4958
  }
4968
4959
  set cmsendpoint(t) {
4969
- this.$$set({ cmsendpoint: t }), N();
4960
+ this.$$set({ cmsendpoint: t }), M();
4970
4961
  }
4971
4962
  get env() {
4972
4963
  return this.$$.ctx[14];
4973
4964
  }
4974
4965
  set env(t) {
4975
- this.$$set({ env: t }), N();
4966
+ this.$$set({ env: t }), M();
4976
4967
  }
4977
4968
  get userroles() {
4978
4969
  return this.$$.ctx[15];
4979
4970
  }
4980
4971
  set userroles(t) {
4981
- this.$$set({ userroles: t }), N();
4972
+ this.$$set({ userroles: t }), M();
4982
4973
  }
4983
4974
  get lang() {
4984
4975
  return this.$$.ctx[0];
4985
4976
  }
4986
4977
  set lang(t) {
4987
- this.$$set({ lang: t }), N();
4978
+ this.$$set({ lang: t }), M();
4988
4979
  }
4989
4980
  get clientstyling() {
4990
4981
  return this.$$.ctx[1];
4991
4982
  }
4992
4983
  set clientstyling(t) {
4993
- this.$$set({ clientstyling: t }), N();
4984
+ this.$$set({ clientstyling: t }), M();
4994
4985
  }
4995
4986
  get clientstylingurl() {
4996
4987
  return this.$$.ctx[2];
4997
4988
  }
4998
4989
  set clientstylingurl(t) {
4999
- this.$$set({ clientstylingurl: t }), N();
4990
+ this.$$set({ clientstylingurl: t }), M();
5000
4991
  }
5001
4992
  get translationurl() {
5002
4993
  return this.$$.ctx[3];
5003
4994
  }
5004
4995
  set translationurl(t) {
5005
- this.$$set({ translationurl: t }), N();
4996
+ this.$$set({ translationurl: t }), M();
5006
4997
  }
5007
4998
  get mbsource() {
5008
4999
  return this.$$.ctx[4];
5009
5000
  }
5010
5001
  set mbsource(t) {
5011
- this.$$set({ mbsource: t }), N();
5002
+ this.$$set({ mbsource: t }), M();
5012
5003
  }
5013
5004
  }
5014
5005
  Fr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5015
- const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5006
+ const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5016
5007
  __proto__: null,
5017
5008
  default: vr
5018
5009
  }, Symbol.toStringTag, { value: "Module" }));
5019
5010
  export {
5020
- ie as $,
5021
- Se as A,
5022
- ho as B,
5023
- so as C,
5024
- ao as D,
5025
- oo as E,
5026
- Ir as F,
5027
- Br as G,
5028
- B as H,
5029
- d as I,
5030
- no as J,
5031
- Pr as K,
5032
- po as L,
5033
- W as M,
5034
- co as N,
5011
+ ne as $,
5012
+ uo as A,
5013
+ po as B,
5014
+ Ar as C,
5015
+ De as D,
5016
+ so as E,
5017
+ d as F,
5018
+ Pr as G,
5019
+ yo as H,
5020
+ Zi as I,
5021
+ Qi as J,
5022
+ Ji as K,
5023
+ Fr as L,
5024
+ X as M,
5025
+ mo as N,
5035
5026
  ce as O,
5036
- Wi as P,
5037
- fo as Q,
5038
- mo as R,
5027
+ zi as P,
5028
+ bo as Q,
5029
+ go as R,
5039
5030
  jr as S,
5040
- lo as T,
5041
- bo as U,
5042
- go as V,
5043
- yo as W,
5044
- wo as X,
5045
- So as Y,
5046
- Eo as Z,
5047
- uo as _,
5048
- dr as a,
5049
- xe as a0,
5050
- xo as a1,
5051
- To as a2,
5031
+ fo as T,
5032
+ _o as U,
5033
+ Eo as V,
5034
+ vo as W,
5035
+ Bo as X,
5036
+ Ho as Y,
5037
+ wo as Z,
5038
+ co as _,
5039
+ pr as a,
5040
+ To as a0,
5041
+ Se as a1,
5042
+ Po as a2,
5052
5043
  wr as b,
5053
- Fr as c,
5054
- k as d,
5055
- R as e,
5056
- N as f,
5057
- vo as g,
5058
- _o as h,
5044
+ Ft as c,
5045
+ D as d,
5046
+ So as e,
5047
+ M as f,
5048
+ xo as g,
5049
+ k as h,
5059
5050
  Gr as i,
5060
- Ut as j,
5061
- D as k,
5062
- Sr as l,
5063
- Xi as m,
5064
- gr as n,
5065
- Lr as o,
5066
- zi as p,
5067
- Zi as q,
5068
- Qi as r,
5069
- Lt as s,
5051
+ $ as j,
5052
+ Sr as k,
5053
+ Wi as l,
5054
+ _r as m,
5055
+ P as n,
5056
+ Cr as o,
5057
+ Ir as p,
5058
+ we as q,
5059
+ nt as r,
5060
+ Mt as s,
5070
5061
  Rr as t,
5071
- $e as u,
5072
- io as v,
5073
- st as w,
5074
- Ar as x,
5075
- Ke as y,
5076
- j as z
5062
+ j as u,
5063
+ ao as v,
5064
+ ut as w,
5065
+ Br as x,
5066
+ lo as y,
5067
+ ho as z
5077
5068
  };