@everymatrix/casino-page-nd 1.48.0 → 1.48.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 (41) hide show
  1. package/components/{CasinoCalendar-pVpX-Ke1.js → CasinoCalendar-CxDSN6iE.js} +1158 -1128
  2. package/components/CasinoCalendar-DEwT2wxN.cjs +6 -0
  3. package/components/{CasinoCalendarDailyDetails-Ckfs_e45.cjs → CasinoCalendarDailyDetails-CfRqqaJ7.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BHhY9ypY.js → CasinoCalendarDailyDetails-D1_fuwa2.js} +1 -1
  5. package/components/{CasinoCalendarDailyItem-DL8JD9pX.js → CasinoCalendarDailyItem--qoA25VJ.js} +1 -1
  6. package/components/{CasinoCalendarDailyItem-DLo_a51b.cjs → CasinoCalendarDailyItem-DTvFCUSz.cjs} +1 -1
  7. package/components/{CasinoCollectionsProviders-Bm_Hg3sA.cjs → CasinoCollectionsProviders-BWuY4ubC.cjs} +1 -1
  8. package/components/{CasinoCollectionsProviders-N_DT_pTF.js → CasinoCollectionsProviders-CUGjAo0-.js} +1 -1
  9. package/components/{CasinoFavoritesSectionNd-DHh5urJy.cjs → CasinoFavoritesSectionNd-BjyqJ6Do.cjs} +1 -1
  10. package/components/{CasinoFavoritesSectionNd-zRpL40sm.js → CasinoFavoritesSectionNd-DjwpaGCJ.js} +2 -2
  11. package/components/{CasinoFilter-3wP0WzFr.js → CasinoFilter-BuoksLy4.js} +1 -1
  12. package/components/{CasinoFilter-BPApME58.cjs → CasinoFilter-Cbz3OsDY.cjs} +1 -1
  13. package/components/{CasinoGameThumbnailNd-BL1T_Ubq.js → CasinoGameThumbnailNd-BJSaX82j.js} +1 -1
  14. package/components/{CasinoGameThumbnailNd-CYlOZXU1.cjs → CasinoGameThumbnailNd-Ddtm0W_J.cjs} +1 -1
  15. package/components/CasinoGamesCategorySectionNd-CGKgFLzv.cjs +1 -0
  16. package/components/{CasinoGamesCategorySectionNd-UmwUcDF_.js → CasinoGamesCategorySectionNd-E0QyOq6u.js} +1080 -1080
  17. package/components/{CasinoJackpotBanner-BweF75XP.cjs → CasinoJackpotBanner-CPkvWYVf.cjs} +1 -1
  18. package/components/{CasinoJackpotBanner-CBdu85yt.js → CasinoJackpotBanner-Dnpx3OoA.js} +1 -1
  19. package/components/{CasinoLastPlayedSectionNd-D42K7URp.cjs → CasinoLastPlayedSectionNd-CIUguVSV.cjs} +1 -1
  20. package/components/{CasinoLastPlayedSectionNd-BVK8AjWk.js → CasinoLastPlayedSectionNd-DQr6_gS0.js} +2 -2
  21. package/components/{CasinoMostPlayedSectionNd-KBHwWU0c.cjs → CasinoMostPlayedSectionNd-DFYSWdvj.cjs} +1 -1
  22. package/components/{CasinoMostPlayedSectionNd-C8Bh6PX6.js → CasinoMostPlayedSectionNd-FRt99SHZ.js} +2 -2
  23. package/components/{CasinoMyGamesNd-DerlPrav.cjs → CasinoMyGamesNd-DXsyJN6q.cjs} +1 -1
  24. package/components/{CasinoMyGamesNd-BsF6E9mr.js → CasinoMyGamesNd-EkNdfhGt.js} +4 -4
  25. package/components/{CasinoPageNd-ClW6Iikv.js → CasinoPageNd-CV0N0ohi.js} +48 -48
  26. package/components/{CasinoPageNd-BDNAfiSf.cjs → CasinoPageNd-DWTarmcM.cjs} +1 -1
  27. package/components/{CasinoRandomGame-CuTTaEzm.js → CasinoRandomGame-CB4D9rh1.js} +1 -1
  28. package/components/{CasinoRandomGame-DXI0Y4jZ.cjs → CasinoRandomGame-ChM2hlET.cjs} +1 -1
  29. package/components/{CasinoSearchNd-C2_ntZnt.js → CasinoSearchNd-C4tRU3nq.js} +3 -3
  30. package/components/{CasinoSearchNd-fj4QgtFt.cjs → CasinoSearchNd-D7Uwl9gv.cjs} +1 -1
  31. package/components/{CasinoSort-BMASc29H.js → CasinoSort-AKrigoJE.js} +1 -1
  32. package/components/{CasinoSort-BvQ_4G3H.cjs → CasinoSort-C8xPMpEj.cjs} +1 -1
  33. package/components/{CasinoWinners-C3SkXv0Z.js → CasinoWinners-BKHyEtAJ.js} +2 -2
  34. package/components/{CasinoWinners-V4jbYRnK.cjs → CasinoWinners-C9VUisa9.cjs} +1 -1
  35. package/components/{GeneralAnimationLoading-CwBVP5uB.cjs → GeneralAnimationLoading-Bqep_PhQ.cjs} +1 -1
  36. package/components/{GeneralAnimationLoading-fooTxdgx.js → GeneralAnimationLoading-bPPVriHt.js} +1 -1
  37. package/es2015/casino-page-nd.cjs +1 -1
  38. package/es2015/casino-page-nd.js +1 -1
  39. package/package.json +1 -1
  40. package/components/CasinoCalendar-CCJYEXf4.cjs +0 -6
  41. package/components/CasinoGamesCategorySectionNd-D5sdz-QF.cjs +0 -1
@@ -1,106 +1,106 @@
1
- var _r = Object.defineProperty, Er = Object.defineProperties;
2
- var xr = Object.getOwnPropertyDescriptors;
3
- var rt = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
1
+ var xr = Object.defineProperty, Sr = Object.defineProperties;
2
+ var wr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && Be(e, r, t[r]);
8
- if (rt)
9
- for (var r of rt(t))
10
- wr.call(t, r) && Be(e, r, t[r]);
7
+ Tr.call(t, r) && Pe(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Hr.call(t, r) && Pe(e, r, t[r]);
11
11
  return e;
12
- }, it = (e, t) => Er(e, xr(t));
13
- var x = (e, t, r) => Be(e, typeof t != "symbol" ? t + "" : t, r);
14
- var ot = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => Sr(e, wr(t));
13
+ var T = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- s(r.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, s = (l) => {
22
22
  try {
23
- s(r.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
- function w() {
30
+ function P() {
31
31
  }
32
- function Tr(e, t) {
32
+ function Br(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function Lt(e) {
39
+ function Mt(e) {
40
40
  return e();
41
41
  }
42
- function st() {
42
+ function at() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
- function K(e) {
46
- e.forEach(Lt);
45
+ function k(e) {
46
+ e.forEach(Mt);
47
47
  }
48
- function _e(e) {
48
+ function Ee(e) {
49
49
  return typeof e == "function";
50
50
  }
51
51
  function Nt(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
- let le;
55
- function no(e, t) {
56
- return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
54
+ let he;
55
+ function io(e, t) {
56
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
57
57
  }
58
- function Hr(e) {
58
+ function Pr(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function Mt(e, ...t) {
61
+ function Rt(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
65
- return w;
65
+ return P;
66
66
  }
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function io(e, t, r) {
71
- e.$$.on_destroy.push(Mt(t, r));
70
+ function oo(e, t, r) {
71
+ e.$$.on_destroy.push(Rt(t, r));
72
72
  }
73
- function oo(e, t, r, n) {
73
+ function so(e, t, r, n) {
74
74
  if (e) {
75
- const i = Rt(e, t, r, n);
75
+ const i = $t(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
- function Rt(e, t, r, n) {
80
- return e[1] && n ? Tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function $t(e, t, r, n) {
80
+ return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
- function so(e, t, r, n) {
82
+ function ao(e, t, r, n) {
83
83
  if (e[2] && n) {
84
84
  const i = e[2](n(r));
85
85
  if (t.dirty === void 0)
86
86
  return i;
87
87
  if (typeof i == "object") {
88
- const o = [], a = Math.max(t.dirty.length, i.length);
89
- for (let s = 0; s < a; s += 1)
90
- o[s] = t.dirty[s] | i[s];
88
+ const o = [], s = Math.max(t.dirty.length, i.length);
89
+ for (let a = 0; a < s; a += 1)
90
+ o[a] = t.dirty[a] | i[a];
91
91
  return o;
92
92
  }
93
93
  return t.dirty | i;
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function ao(e, t, r, n, i, o) {
97
+ function uo(e, t, r, n, i, o) {
98
98
  if (i) {
99
- const a = Rt(t, r, n, o);
100
- e.p(a, i);
99
+ const s = $t(t, r, n, o);
100
+ e.p(s, i);
101
101
  }
102
102
  }
103
- function uo(e) {
103
+ function lo(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -109,20 +109,20 @@ function uo(e) {
109
109
  }
110
110
  return -1;
111
111
  }
112
- function lo(e) {
113
- return e && _e(e.destroy) ? e.destroy : w;
112
+ function ho(e) {
113
+ return e && Ee(e.destroy) ? e.destroy : P;
114
114
  }
115
- function Ee(e, t) {
115
+ function xe(e, t) {
116
116
  e.appendChild(t);
117
117
  }
118
- function Br(e, t, r) {
119
- const n = Pr(e);
118
+ function Ar(e, t, r) {
119
+ const n = Or(e);
120
120
  if (!n.getElementById(t)) {
121
- const i = B("style");
122
- i.id = t, i.textContent = r, Ar(n, i);
121
+ const i = I("style");
122
+ i.id = t, i.textContent = r, Cr(n, i);
123
123
  }
124
124
  }
125
- function Pr(e) {
125
+ function Or(e) {
126
126
  if (!e) return document;
127
127
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
128
128
  return t && /** @type {ShadowRoot} */
@@ -131,118 +131,118 @@ function Pr(e) {
131
131
  t
132
132
  ) : e.ownerDocument;
133
133
  }
134
- function Ar(e, t) {
135
- return Ee(
134
+ function Cr(e, t) {
135
+ return xe(
136
136
  /** @type {Document} */
137
137
  e.head || e,
138
138
  t
139
139
  ), t.sheet;
140
140
  }
141
- function D(e, t, r) {
141
+ function F(e, t, r) {
142
142
  e.insertBefore(t, r || null);
143
143
  }
144
- function A(e) {
144
+ function N(e) {
145
145
  e.parentNode && e.parentNode.removeChild(e);
146
146
  }
147
- function Or(e, t) {
147
+ function Ir(e, t) {
148
148
  for (let r = 0; r < e.length; r += 1)
149
149
  e[r] && e[r].d(t);
150
150
  }
151
- function B(e) {
151
+ function I(e) {
152
152
  return document.createElement(e);
153
153
  }
154
- function Cr(e) {
154
+ function Lr(e) {
155
155
  return document.createElementNS("http://www.w3.org/2000/svg", e);
156
156
  }
157
- function $t(e) {
157
+ function Dt(e) {
158
158
  return document.createTextNode(e);
159
159
  }
160
- function Ir() {
161
- return $t(" ");
160
+ function Mr() {
161
+ return Dt(" ");
162
162
  }
163
- function ho() {
164
- return $t("");
163
+ function co() {
164
+ return Dt("");
165
165
  }
166
- function at(e, t, r, n) {
166
+ function ut(e, t, r, n) {
167
167
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
168
168
  }
169
- function co(e) {
169
+ function fo(e) {
170
170
  return function(t) {
171
171
  return t.stopPropagation(), e.call(this, t);
172
172
  };
173
173
  }
174
- function L(e, t, r) {
174
+ function $(e, t, r) {
175
175
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
176
176
  }
177
- function m(e, t, r) {
177
+ function y(e, t, r) {
178
178
  const n = t.toLowerCase();
179
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : L(e, t, r);
179
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : $(e, t, r);
180
180
  }
181
- function Lr(e) {
181
+ function Nr(e) {
182
182
  return Array.from(e.childNodes);
183
183
  }
184
- function fo(e, t) {
184
+ function po(e, t) {
185
185
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
186
186
  t);
187
187
  }
188
- function po(e, t) {
188
+ function mo(e, t) {
189
189
  e.value = t == null ? "" : t;
190
190
  }
191
- function mo(e, t, r, n) {
191
+ function bo(e, t, r, n) {
192
192
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
193
193
  }
194
- let he;
195
- function Nr() {
196
- if (he === void 0) {
197
- he = !1;
194
+ let ce;
195
+ function Rr() {
196
+ if (ce === void 0) {
197
+ ce = !1;
198
198
  try {
199
199
  typeof window != "undefined" && window.parent && window.parent.document;
200
200
  } catch (e) {
201
- he = !0;
201
+ ce = !0;
202
202
  }
203
203
  }
204
- return he;
204
+ return ce;
205
205
  }
206
- function bo(e, t) {
206
+ function yo(e, t) {
207
207
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
208
- const n = B("iframe");
208
+ const n = I("iframe");
209
209
  n.setAttribute(
210
210
  "style",
211
211
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
212
212
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
213
- const i = Nr();
213
+ const i = Rr();
214
214
  let o;
215
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = at(
215
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ut(
216
216
  window,
217
217
  "message",
218
218
  /** @param {MessageEvent} event */
219
- (a) => {
220
- a.source === n.contentWindow && t();
219
+ (s) => {
220
+ s.source === n.contentWindow && t();
221
221
  }
222
222
  )) : (n.src = "about:blank", n.onload = () => {
223
- o = at(n.contentWindow, "resize", t), t();
224
- }), Ee(e, n), () => {
225
- (i || o && n.contentWindow) && o(), A(n);
223
+ o = ut(n.contentWindow, "resize", t), t();
224
+ }), xe(e, n), () => {
225
+ (i || o && n.contentWindow) && o(), N(n);
226
226
  };
227
227
  }
228
- function yo(e, t, r) {
228
+ function go(e, t, r) {
229
229
  e.classList.toggle(t, !!r);
230
230
  }
231
- class go {
231
+ class vo {
232
232
  constructor(t = !1) {
233
233
  /**
234
234
  * @private
235
235
  * @default false
236
236
  */
237
- x(this, "is_svg", !1);
237
+ T(this, "is_svg", !1);
238
238
  /** parent for creating node */
239
- x(this, "e");
239
+ T(this, "e");
240
240
  /** html tag nodes */
241
- x(this, "n");
241
+ T(this, "n");
242
242
  /** target */
243
- x(this, "t");
243
+ T(this, "t");
244
244
  /** anchor */
245
- x(this, "a");
245
+ T(this, "a");
246
246
  this.is_svg = t, this.e = this.n = null;
247
247
  }
248
248
  /**
@@ -259,10 +259,10 @@ class go {
259
259
  * @returns {void}
260
260
  */
261
261
  m(t, r, n = null) {
262
- this.e || (this.is_svg ? this.e = Cr(
262
+ this.e || (this.is_svg ? this.e = Lr(
263
263
  /** @type {keyof SVGElementTagNameMap} */
264
264
  r.nodeName
265
- ) : this.e = B(
265
+ ) : this.e = I(
266
266
  /** @type {keyof HTMLElementTagNameMap} */
267
267
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
268
268
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -283,7 +283,7 @@ class go {
283
283
  * @returns {void} */
284
284
  i(t) {
285
285
  for (let r = 0; r < this.n.length; r += 1)
286
- D(this.t, this.n[r], t);
286
+ F(this.t, this.n[r], t);
287
287
  }
288
288
  /**
289
289
  * @param {string} html
@@ -295,10 +295,10 @@ class go {
295
295
  /**
296
296
  * @returns {void} */
297
297
  d() {
298
- this.n.forEach(A);
298
+ this.n.forEach(N);
299
299
  }
300
300
  }
301
- function Mr(e) {
301
+ function $r(e) {
302
302
  const t = {};
303
303
  return e.childNodes.forEach(
304
304
  /** @param {Element} node */
@@ -311,105 +311,133 @@ let ie;
311
311
  function ne(e) {
312
312
  ie = e;
313
313
  }
314
- function Rr() {
314
+ function Dr() {
315
315
  if (!ie) throw new Error("Function called outside component initialization");
316
316
  return ie;
317
317
  }
318
- function $r(e) {
319
- Rr().$$.on_mount.push(e);
318
+ function Ur(e) {
319
+ Dr().$$.on_mount.push(e);
320
320
  }
321
- const z = [], Re = [];
322
- let W = [];
323
- const ut = [], Dt = /* @__PURE__ */ Promise.resolve();
324
- let $e = !1;
325
- function Ut() {
326
- $e || ($e = !0, Dt.then(R));
321
+ const W = [], $e = [];
322
+ let Z = [];
323
+ const lt = [], Ut = /* @__PURE__ */ Promise.resolve();
324
+ let De = !1;
325
+ function Gt() {
326
+ De || (De = !0, Ut.then(U));
327
327
  }
328
- function vo() {
329
- return Ut(), Dt;
328
+ function _o() {
329
+ return Gt(), Ut;
330
330
  }
331
- function De(e) {
332
- W.push(e);
331
+ function Ue(e) {
332
+ Z.push(e);
333
333
  }
334
- const Pe = /* @__PURE__ */ new Set();
335
- let V = 0;
336
- function R() {
337
- if (V !== 0)
334
+ const Ae = /* @__PURE__ */ new Set();
335
+ let X = 0;
336
+ function U() {
337
+ if (X !== 0)
338
338
  return;
339
339
  const e = ie;
340
340
  do {
341
341
  try {
342
- for (; V < z.length; ) {
343
- const t = z[V];
344
- V++, ne(t), Dr(t.$$);
342
+ for (; X < W.length; ) {
343
+ const t = W[X];
344
+ X++, ne(t), Gr(t.$$);
345
345
  }
346
346
  } catch (t) {
347
- throw z.length = 0, V = 0, t;
347
+ throw W.length = 0, X = 0, t;
348
348
  }
349
- for (ne(null), z.length = 0, V = 0; Re.length; ) Re.pop()();
350
- for (let t = 0; t < W.length; t += 1) {
351
- const r = W[t];
352
- Pe.has(r) || (Pe.add(r), r());
349
+ for (ne(null), W.length = 0, X = 0; $e.length; ) $e.pop()();
350
+ for (let t = 0; t < Z.length; t += 1) {
351
+ const r = Z[t];
352
+ Ae.has(r) || (Ae.add(r), r());
353
353
  }
354
- W.length = 0;
355
- } while (z.length);
356
- for (; ut.length; )
357
- ut.pop()();
358
- $e = !1, Pe.clear(), ne(e);
354
+ Z.length = 0;
355
+ } while (W.length);
356
+ for (; lt.length; )
357
+ lt.pop()();
358
+ De = !1, Ae.clear(), ne(e);
359
359
  }
360
- function Dr(e) {
360
+ function Gr(e) {
361
361
  if (e.fragment !== null) {
362
- e.update(), K(e.before_update);
362
+ e.update(), k(e.before_update);
363
363
  const t = e.dirty;
364
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
364
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
365
365
  }
366
366
  }
367
- function Ur(e) {
367
+ function Fr(e) {
368
368
  const t = [], r = [];
369
- W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
369
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
370
370
  }
371
- const de = /* @__PURE__ */ new Set();
372
- let F;
373
- function _o() {
374
- F = {
371
+ const pe = /* @__PURE__ */ new Set();
372
+ let j;
373
+ function Eo() {
374
+ j = {
375
375
  r: 0,
376
376
  c: [],
377
- p: F
377
+ p: j
378
378
  // parent group
379
379
  };
380
380
  }
381
- function Eo() {
382
- F.r || K(F.c), F = F.p;
381
+ function xo() {
382
+ j.r || k(j.c), j = j.p;
383
383
  }
384
- function Gr(e, t) {
385
- e && e.i && (de.delete(e), e.i(t));
384
+ function Ft(e, t) {
385
+ e && e.i && (pe.delete(e), e.i(t));
386
386
  }
387
- function xo(e, t, r, n) {
387
+ function So(e, t, r, n) {
388
388
  if (e && e.o) {
389
- if (de.has(e)) return;
390
- de.add(e), F.c.push(() => {
391
- de.delete(e), n && (r && e.d(1), n());
389
+ if (pe.has(e)) return;
390
+ pe.add(e), j.c.push(() => {
391
+ pe.delete(e), n && (r && e.d(1), n());
392
392
  }), e.o(t);
393
393
  } else n && n();
394
394
  }
395
- function lt(e) {
395
+ function ht(e) {
396
396
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
397
397
  }
398
- function Fr(e, t, r) {
398
+ function wo(e, t) {
399
+ e.d(1), t.delete(e.key);
400
+ }
401
+ function To(e, t, r, n, i, o, s, a, l, u, h, f) {
402
+ let c = e.length, p = o.length, m = c;
403
+ const v = {};
404
+ for (; m--; ) v[e[m].key] = m;
405
+ const w = [], C = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), H = [];
406
+ for (m = p; m--; ) {
407
+ const d = f(i, o, m), x = r(d);
408
+ let S = s.get(x);
409
+ S ? H.push(() => S.p(d, t)) : (S = u(x, d), S.c()), C.set(x, w[m] = S), x in v && A.set(x, Math.abs(m - v[x]));
410
+ }
411
+ const L = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
412
+ function M(d) {
413
+ Ft(d, 1), d.m(a, h), s.set(d.key, d), h = d.first, p--;
414
+ }
415
+ for (; c && p; ) {
416
+ const d = w[p - 1], x = e[c - 1], S = d.key, le = x.key;
417
+ d === x ? (h = d.first, c--, p--) : C.has(le) ? !s.has(S) || L.has(S) ? M(d) : O.has(le) ? c-- : A.get(S) > A.get(le) ? (O.add(S), M(d)) : (L.add(le), c--) : (l(x, s), c--);
418
+ }
419
+ for (; c--; ) {
420
+ const d = e[c];
421
+ C.has(d.key) || l(d, s);
422
+ }
423
+ for (; p; ) M(w[p - 1]);
424
+ return k(H), w;
425
+ }
426
+ function jr(e, t, r) {
399
427
  const { fragment: n, after_update: i } = e.$$;
400
- n && n.m(t, r), De(() => {
401
- const o = e.$$.on_mount.map(Lt).filter(_e);
402
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
403
- }), i.forEach(De);
428
+ n && n.m(t, r), Ue(() => {
429
+ const o = e.$$.on_mount.map(Mt).filter(Ee);
430
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
431
+ }), i.forEach(Ue);
404
432
  }
405
- function jr(e, t) {
433
+ function kr(e, t) {
406
434
  const r = e.$$;
407
- r.fragment !== null && (Ur(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
435
+ r.fragment !== null && (Fr(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
408
436
  }
409
- function kr(e, t) {
410
- e.$$.dirty[0] === -1 && (z.push(e), Ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
437
+ function Vr(e, t) {
438
+ e.$$.dirty[0] === -1 && (W.push(e), Gt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
411
439
  }
412
- function Vr(e, t, r, n, i, o, a = null, s = [-1]) {
440
+ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
413
441
  const l = ie;
414
442
  ne(e);
415
443
  const u = e.$$ = {
@@ -417,9 +445,9 @@ function Vr(e, t, r, n, i, o, a = null, s = [-1]) {
417
445
  ctx: [],
418
446
  // state
419
447
  props: o,
420
- update: w,
448
+ update: P,
421
449
  not_equal: i,
422
- bound: st(),
450
+ bound: at(),
423
451
  // lifecycle
424
452
  on_mount: [],
425
453
  on_destroy: [],
@@ -428,48 +456,48 @@ function Vr(e, t, r, n, i, o, a = null, s = [-1]) {
428
456
  after_update: [],
429
457
  context: new Map(t.context || (l ? l.$$.context : [])),
430
458
  // everything else
431
- callbacks: st(),
432
- dirty: s,
459
+ callbacks: at(),
460
+ dirty: a,
433
461
  skip_bound: !1,
434
462
  root: t.target || l.$$.root
435
463
  };
436
- a && a(u.root);
464
+ s && s(u.root);
437
465
  let h = !1;
438
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...y) => {
439
- const _ = y.length ? y[0] : f;
440
- return u.ctx && i(u.ctx[c], u.ctx[c] = _) && (!u.skip_bound && u.bound[c] && u.bound[c](_), h && kr(e, c)), f;
441
- }) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
466
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
467
+ const m = p.length ? p[0] : c;
468
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Vr(e, f)), c;
469
+ }) : [], u.update(), h = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
442
470
  if (t.hydrate) {
443
- const c = Lr(t.target);
444
- u.fragment && u.fragment.l(c), c.forEach(A);
471
+ const f = Nr(t.target);
472
+ u.fragment && u.fragment.l(f), f.forEach(N);
445
473
  } else
446
474
  u.fragment && u.fragment.c();
447
- t.intro && Gr(e.$$.fragment), Fr(e, t.target, t.anchor), R();
475
+ t.intro && Ft(e.$$.fragment), jr(e, t.target, t.anchor), U();
448
476
  }
449
477
  ne(l);
450
478
  }
451
- let Gt;
452
- typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
479
+ let jt;
480
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
453
481
  constructor(t, r, n) {
454
482
  super();
455
483
  /** The Svelte component constructor */
456
- x(this, "$$ctor");
484
+ T(this, "$$ctor");
457
485
  /** Slots */
458
- x(this, "$$s");
486
+ T(this, "$$s");
459
487
  /** The Svelte component instance */
460
- x(this, "$$c");
488
+ T(this, "$$c");
461
489
  /** Whether or not the custom element is connected */
462
- x(this, "$$cn", !1);
490
+ T(this, "$$cn", !1);
463
491
  /** Component props data */
464
- x(this, "$$d", {});
492
+ T(this, "$$d", {});
465
493
  /** `true` if currently in the process of reflecting component props back to attributes */
466
- x(this, "$$r", !1);
494
+ T(this, "$$r", !1);
467
495
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
468
- x(this, "$$p_d", {});
496
+ T(this, "$$p_d", {});
469
497
  /** @type {Record<string, Function[]>} Event listeners */
470
- x(this, "$$l", {});
498
+ T(this, "$$l", {});
471
499
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
472
- x(this, "$$l_u", /* @__PURE__ */ new Map());
500
+ T(this, "$$l_u", /* @__PURE__ */ new Map());
473
501
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
474
502
  }
475
503
  addEventListener(t, r, n) {
@@ -486,42 +514,42 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
486
514
  }
487
515
  }
488
516
  connectedCallback() {
489
- return ot(this, null, function* () {
517
+ return st(this, null, function* () {
490
518
  if (this.$$cn = !0, !this.$$c) {
491
519
  let t = function(o) {
492
520
  return () => {
493
- let a;
521
+ let s;
494
522
  return {
495
523
  c: function() {
496
- a = B("slot"), o !== "default" && L(a, "name", o);
524
+ s = I("slot"), o !== "default" && $(s, "name", o);
497
525
  },
498
526
  /**
499
527
  * @param {HTMLElement} target
500
528
  * @param {HTMLElement} [anchor]
501
529
  */
502
530
  m: function(u, h) {
503
- D(u, a, h);
531
+ F(u, s, h);
504
532
  },
505
533
  d: function(u) {
506
- u && A(a);
534
+ u && N(s);
507
535
  }
508
536
  };
509
537
  };
510
538
  };
511
539
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
512
540
  return;
513
- const r = {}, n = Mr(this);
541
+ const r = {}, n = $r(this);
514
542
  for (const o of this.$$s)
515
543
  o in n && (r[o] = [t(o)]);
516
544
  for (const o of this.attributes) {
517
- const a = this.$$g_p(o.name);
518
- a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
545
+ const s = this.$$g_p(o.name);
546
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
519
547
  }
520
548
  for (const o in this.$$p_d)
521
549
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
522
550
  this.$$c = new this.$$ctor({
523
551
  target: this.shadowRoot || this,
524
- props: it(nt({}, this.$$d), {
552
+ props: ot(it({}, this.$$d), {
525
553
  $$slots: r,
526
554
  $$scope: {
527
555
  ctx: []
@@ -532,21 +560,21 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
532
560
  this.$$r = !0;
533
561
  for (const o in this.$$p_d)
534
562
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
535
- const a = pe(
563
+ const s = me(
536
564
  o,
537
565
  this.$$d[o],
538
566
  this.$$p_d,
539
567
  "toAttribute"
540
568
  );
541
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
569
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
542
570
  }
543
571
  this.$$r = !1;
544
572
  };
545
573
  this.$$c.$$.after_update.push(i), i();
546
574
  for (const o in this.$$l)
547
- for (const a of this.$$l[o]) {
548
- const s = this.$$c.$on(o, a);
549
- this.$$l_u.set(a, s);
575
+ for (const s of this.$$l[o]) {
576
+ const a = this.$$c.$on(o, s);
577
+ this.$$l_u.set(s, a);
550
578
  }
551
579
  this.$$l = {};
552
580
  }
@@ -556,7 +584,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
556
584
  // and setting attributes through setAttribute etc, this is helpful
557
585
  attributeChangedCallback(t, r, n) {
558
586
  var i;
559
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
587
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
560
588
  }
561
589
  disconnectedCallback() {
562
590
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -569,7 +597,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
569
597
  ) || t;
570
598
  }
571
599
  });
572
- function pe(e, t, r, n) {
600
+ function me(e, t, r, n) {
573
601
  var o;
574
602
  const i = (o = r[e]) == null ? void 0 : o.type;
575
603
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -599,38 +627,38 @@ function pe(e, t, r, n) {
599
627
  return t;
600
628
  }
601
629
  }
602
- function Xr(e, t, r, n, i, o) {
603
- let a = class extends Gt {
630
+ function zr(e, t, r, n, i, o) {
631
+ let s = class extends jt {
604
632
  constructor() {
605
633
  super(e, r, i), this.$$p_d = t;
606
634
  }
607
635
  static get observedAttributes() {
608
636
  return Object.keys(t).map(
609
- (s) => (t[s].attribute || s).toLowerCase()
637
+ (a) => (t[a].attribute || a).toLowerCase()
610
638
  );
611
639
  }
612
640
  };
613
- return Object.keys(t).forEach((s) => {
614
- Object.defineProperty(a.prototype, s, {
641
+ return Object.keys(t).forEach((a) => {
642
+ Object.defineProperty(s.prototype, a, {
615
643
  get() {
616
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
644
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
617
645
  },
618
646
  set(l) {
619
647
  var u;
620
- l = pe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
648
+ l = me(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
621
649
  }
622
650
  });
623
- }), n.forEach((s) => {
624
- Object.defineProperty(a.prototype, s, {
651
+ }), n.forEach((a) => {
652
+ Object.defineProperty(s.prototype, a, {
625
653
  get() {
626
654
  var l;
627
- return (l = this.$$c) == null ? void 0 : l[s];
655
+ return (l = this.$$c) == null ? void 0 : l[a];
628
656
  }
629
657
  });
630
658
  }), e.element = /** @type {any} */
631
- a, a;
659
+ s, s;
632
660
  }
633
- class zr {
661
+ class Wr {
634
662
  constructor() {
635
663
  /**
636
664
  * ### PRIVATE API
@@ -639,7 +667,7 @@ class zr {
639
667
  *
640
668
  * @type {any}
641
669
  */
642
- x(this, "$$");
670
+ T(this, "$$");
643
671
  /**
644
672
  * ### PRIVATE API
645
673
  *
@@ -647,11 +675,11 @@ class zr {
647
675
  *
648
676
  * @type {any}
649
677
  */
650
- x(this, "$$set");
678
+ T(this, "$$set");
651
679
  }
652
680
  /** @returns {void} */
653
681
  $destroy() {
654
- jr(this, 1), this.$destroy = w;
682
+ kr(this, 1), this.$destroy = P;
655
683
  }
656
684
  /**
657
685
  * @template {Extract<keyof Events, string>} K
@@ -660,8 +688,8 @@ class zr {
660
688
  * @returns {() => void}
661
689
  */
662
690
  $on(t, r) {
663
- if (!_e(r))
664
- return w;
691
+ if (!Ee(r))
692
+ return P;
665
693
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
666
694
  return n.push(r), () => {
667
695
  const i = n.indexOf(r);
@@ -673,37 +701,37 @@ class zr {
673
701
  * @returns {void}
674
702
  */
675
703
  $set(t) {
676
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
704
+ this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
677
705
  }
678
706
  }
679
- const Wr = "4";
680
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wr);
681
- var Ue = function(e, t) {
682
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
707
+ const Zr = "4";
708
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
709
+ var Ge = function(e, t) {
710
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
683
711
  r.__proto__ = n;
684
712
  } || function(r, n) {
685
713
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
686
- }, Ue(e, t);
714
+ }, Ge(e, t);
687
715
  };
688
- function N(e, t) {
716
+ function D(e, t) {
689
717
  if (typeof t != "function" && t !== null)
690
718
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
691
- Ue(e, t);
719
+ Ge(e, t);
692
720
  function r() {
693
721
  this.constructor = e;
694
722
  }
695
723
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
696
724
  }
697
- var g = function() {
698
- return g = Object.assign || function(t) {
725
+ var _ = function() {
726
+ return _ = Object.assign || function(t) {
699
727
  for (var r, n = 1, i = arguments.length; n < i; n++) {
700
728
  r = arguments[n];
701
729
  for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
702
730
  }
703
731
  return t;
704
- }, g.apply(this, arguments);
732
+ }, _.apply(this, arguments);
705
733
  };
706
- function Zr(e, t) {
734
+ function Qr(e, t) {
707
735
  var r = {};
708
736
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
709
737
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -711,7 +739,7 @@ function Zr(e, t) {
711
739
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
712
740
  return r;
713
741
  }
714
- function Ge(e) {
742
+ function Fe(e) {
715
743
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
716
744
  if (r) return r.call(e);
717
745
  if (e && typeof e.length == "number") return {
@@ -721,38 +749,38 @@ function Ge(e) {
721
749
  };
722
750
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
723
751
  }
724
- function Fe(e, t) {
752
+ function je(e, t) {
725
753
  var r = typeof Symbol == "function" && e[Symbol.iterator];
726
754
  if (!r) return e;
727
- var n = r.call(e), i, o = [], a;
755
+ var n = r.call(e), i, o = [], s;
728
756
  try {
729
757
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
730
- } catch (s) {
731
- a = { error: s };
758
+ } catch (a) {
759
+ s = { error: a };
732
760
  } finally {
733
761
  try {
734
762
  i && !i.done && (r = n.return) && r.call(n);
735
763
  } finally {
736
- if (a) throw a.error;
764
+ if (s) throw s.error;
737
765
  }
738
766
  }
739
767
  return o;
740
768
  }
741
- function Z(e, t, r) {
769
+ function Q(e, t, r) {
742
770
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
743
771
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
744
772
  return e.concat(o || Array.prototype.slice.call(t));
745
773
  }
746
- function I(e) {
774
+ function R(e) {
747
775
  return typeof e == "function";
748
776
  }
749
- function Ft(e) {
777
+ function kt(e) {
750
778
  var t = function(n) {
751
779
  Error.call(n), n.stack = new Error().stack;
752
780
  }, r = e(t);
753
781
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
754
782
  }
755
- var Ae = Ft(function(e) {
783
+ var Oe = kt(function(e) {
756
784
  return function(r) {
757
785
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
758
786
  ` + r.map(function(n, i) {
@@ -761,13 +789,13 @@ var Ae = Ft(function(e) {
761
789
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
762
790
  };
763
791
  });
764
- function je(e, t) {
792
+ function ke(e, t) {
765
793
  if (e) {
766
794
  var r = e.indexOf(t);
767
795
  0 <= r && e.splice(r, 1);
768
796
  }
769
797
  }
770
- var xe = function() {
798
+ var Se = function() {
771
799
  function e(t) {
772
800
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
773
801
  }
@@ -775,11 +803,11 @@ var xe = function() {
775
803
  var t, r, n, i, o;
776
804
  if (!this.closed) {
777
805
  this.closed = !0;
778
- var a = this._parentage;
779
- if (a)
780
- if (this._parentage = null, Array.isArray(a))
806
+ var s = this._parentage;
807
+ if (s)
808
+ if (this._parentage = null, Array.isArray(s))
781
809
  try {
782
- for (var s = Ge(a), l = s.next(); !l.done; l = s.next()) {
810
+ for (var a = Fe(s), l = a.next(); !l.done; l = a.next()) {
783
811
  var u = l.value;
784
812
  u.remove(this);
785
813
  }
@@ -787,50 +815,50 @@ var xe = function() {
787
815
  t = { error: v };
788
816
  } finally {
789
817
  try {
790
- l && !l.done && (r = s.return) && r.call(s);
818
+ l && !l.done && (r = a.return) && r.call(a);
791
819
  } finally {
792
820
  if (t) throw t.error;
793
821
  }
794
822
  }
795
823
  else
796
- a.remove(this);
824
+ s.remove(this);
797
825
  var h = this.initialTeardown;
798
- if (I(h))
826
+ if (R(h))
799
827
  try {
800
828
  h();
801
829
  } catch (v) {
802
- o = v instanceof Ae ? v.errors : [v];
830
+ o = v instanceof Oe ? v.errors : [v];
803
831
  }
804
- var c = this._finalizers;
805
- if (c) {
832
+ var f = this._finalizers;
833
+ if (f) {
806
834
  this._finalizers = null;
807
835
  try {
808
- for (var f = Ge(c), y = f.next(); !y.done; y = f.next()) {
809
- var _ = y.value;
836
+ for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
837
+ var m = p.value;
810
838
  try {
811
- ht(_);
839
+ ct(m);
812
840
  } catch (v) {
813
- o = o != null ? o : [], v instanceof Ae ? o = Z(Z([], Fe(o)), Fe(v.errors)) : o.push(v);
841
+ o = o != null ? o : [], v instanceof Oe ? o = Q(Q([], je(o)), je(v.errors)) : o.push(v);
814
842
  }
815
843
  }
816
844
  } catch (v) {
817
845
  n = { error: v };
818
846
  } finally {
819
847
  try {
820
- y && !y.done && (i = f.return) && i.call(f);
848
+ p && !p.done && (i = c.return) && i.call(c);
821
849
  } finally {
822
850
  if (n) throw n.error;
823
851
  }
824
852
  }
825
853
  }
826
854
  if (o)
827
- throw new Ae(o);
855
+ throw new Oe(o);
828
856
  }
829
857
  }, e.prototype.add = function(t) {
830
858
  var r;
831
859
  if (t && t !== this)
832
860
  if (this.closed)
833
- ht(t);
861
+ ct(t);
834
862
  else {
835
863
  if (t instanceof e) {
836
864
  if (t.closed || t._hasParent(this))
@@ -847,57 +875,57 @@ var xe = function() {
847
875
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
848
876
  }, e.prototype._removeParent = function(t) {
849
877
  var r = this._parentage;
850
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
878
+ r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
851
879
  }, e.prototype.remove = function(t) {
852
880
  var r = this._finalizers;
853
- r && je(r, t), t instanceof e && t._removeParent(this);
881
+ r && ke(r, t), t instanceof e && t._removeParent(this);
854
882
  }, e.EMPTY = function() {
855
883
  var t = new e();
856
884
  return t.closed = !0, t;
857
885
  }(), e;
858
- }(), jt = xe.EMPTY;
859
- function kt(e) {
860
- return e instanceof xe || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
886
+ }(), Vt = Se.EMPTY;
887
+ function Xt(e) {
888
+ return e instanceof Se || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
861
889
  }
862
- function ht(e) {
863
- I(e) ? e() : e.unsubscribe();
890
+ function ct(e) {
891
+ R(e) ? e() : e.unsubscribe();
864
892
  }
865
- var Vt = {
893
+ var zt = {
866
894
  onUnhandledError: null,
867
895
  onStoppedNotification: null,
868
896
  Promise: void 0,
869
897
  useDeprecatedSynchronousErrorHandling: !1,
870
898
  useDeprecatedNextContext: !1
871
- }, Xt = {
899
+ }, Wt = {
872
900
  setTimeout: function(e, t) {
873
901
  for (var r = [], n = 2; n < arguments.length; n++)
874
902
  r[n - 2] = arguments[n];
875
- return setTimeout.apply(void 0, Z([e, t], Fe(r)));
903
+ return setTimeout.apply(void 0, Q([e, t], je(r)));
876
904
  },
877
905
  clearTimeout: function(e) {
878
- var t = Xt.delegate;
906
+ var t = Wt.delegate;
879
907
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
880
908
  },
881
909
  delegate: void 0
882
910
  };
883
- function Qr(e) {
884
- Xt.setTimeout(function() {
911
+ function Jr(e) {
912
+ Wt.setTimeout(function() {
885
913
  throw e;
886
914
  });
887
915
  }
888
- function ct() {
916
+ function ft() {
889
917
  }
890
- function me(e) {
918
+ function be(e) {
891
919
  e();
892
920
  }
893
- var zt = function(e) {
894
- N(t, e);
921
+ var Zt = function(e) {
922
+ D(t, e);
895
923
  function t(r) {
896
924
  var n = e.call(this) || this;
897
- return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Kr, n;
925
+ return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = en, n;
898
926
  }
899
927
  return t.create = function(r, n, i) {
900
- return new ke(r, n, i);
928
+ return new Ve(r, n, i);
901
929
  }, t.prototype.next = function(r) {
902
930
  this.isStopped || this._next(r);
903
931
  }, t.prototype.error = function(r) {
@@ -921,11 +949,11 @@ var zt = function(e) {
921
949
  this.unsubscribe();
922
950
  }
923
951
  }, t;
924
- }(xe), Jr = Function.prototype.bind;
925
- function Oe(e, t) {
926
- return Jr.call(e, t);
952
+ }(Se), qr = Function.prototype.bind;
953
+ function Ce(e, t) {
954
+ return qr.call(e, t);
927
955
  }
928
- var qr = function() {
956
+ var Yr = function() {
929
957
  function e(t) {
930
958
  this.partialObserver = t;
931
959
  }
@@ -935,7 +963,7 @@ var qr = function() {
935
963
  try {
936
964
  r.next(t);
937
965
  } catch (n) {
938
- ce(n);
966
+ fe(n);
939
967
  }
940
968
  }, e.prototype.error = function(t) {
941
969
  var r = this.partialObserver;
@@ -943,68 +971,68 @@ var qr = function() {
943
971
  try {
944
972
  r.error(t);
945
973
  } catch (n) {
946
- ce(n);
974
+ fe(n);
947
975
  }
948
976
  else
949
- ce(t);
977
+ fe(t);
950
978
  }, e.prototype.complete = function() {
951
979
  var t = this.partialObserver;
952
980
  if (t.complete)
953
981
  try {
954
982
  t.complete();
955
983
  } catch (r) {
956
- ce(r);
984
+ fe(r);
957
985
  }
958
986
  }, e;
959
- }(), ke = function(e) {
960
- N(t, e);
987
+ }(), Ve = function(e) {
988
+ D(t, e);
961
989
  function t(r, n, i) {
962
- var o = e.call(this) || this, a;
963
- if (I(r) || !r)
964
- a = {
990
+ var o = e.call(this) || this, s;
991
+ if (R(r) || !r)
992
+ s = {
965
993
  next: r != null ? r : void 0,
966
994
  error: n != null ? n : void 0,
967
995
  complete: i != null ? i : void 0
968
996
  };
969
997
  else {
970
- var s;
971
- o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
998
+ var a;
999
+ o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
972
1000
  return o.unsubscribe();
973
- }, a = {
974
- next: r.next && Oe(r.next, s),
975
- error: r.error && Oe(r.error, s),
976
- complete: r.complete && Oe(r.complete, s)
977
- }) : a = r;
1001
+ }, s = {
1002
+ next: r.next && Ce(r.next, a),
1003
+ error: r.error && Ce(r.error, a),
1004
+ complete: r.complete && Ce(r.complete, a)
1005
+ }) : s = r;
978
1006
  }
979
- return o.destination = new qr(a), o;
1007
+ return o.destination = new Yr(s), o;
980
1008
  }
981
1009
  return t;
982
- }(zt);
983
- function ce(e) {
984
- Qr(e);
1010
+ }(Zt);
1011
+ function fe(e) {
1012
+ Jr(e);
985
1013
  }
986
- function Yr(e) {
1014
+ function Kr(e) {
987
1015
  throw e;
988
1016
  }
989
- var Kr = {
1017
+ var en = {
990
1018
  closed: !0,
991
- next: ct,
992
- error: Yr,
993
- complete: ct
994
- }, en = function() {
1019
+ next: ft,
1020
+ error: Kr,
1021
+ complete: ft
1022
+ }, tn = function() {
995
1023
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
996
1024
  }();
997
- function tn(e) {
1025
+ function rn(e) {
998
1026
  return e;
999
1027
  }
1000
- function rn(e) {
1001
- return e.length === 0 ? tn : e.length === 1 ? e[0] : function(r) {
1028
+ function nn(e) {
1029
+ return e.length === 0 ? rn : e.length === 1 ? e[0] : function(r) {
1002
1030
  return e.reduce(function(n, i) {
1003
1031
  return i(n);
1004
1032
  }, r);
1005
1033
  };
1006
1034
  }
1007
- var ft = function() {
1035
+ var dt = function() {
1008
1036
  function e(t) {
1009
1037
  t && (this._subscribe = t);
1010
1038
  }
@@ -1012,10 +1040,10 @@ var ft = function() {
1012
1040
  var r = new e();
1013
1041
  return r.source = this, r.operator = t, r;
1014
1042
  }, e.prototype.subscribe = function(t, r, n) {
1015
- var i = this, o = on(t) ? t : new ke(t, r, n);
1016
- return me(function() {
1017
- var a = i, s = a.operator, l = a.source;
1018
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1043
+ var i = this, o = sn(t) ? t : new Ve(t, r, n);
1044
+ return be(function() {
1045
+ var s = i, a = s.operator, l = s.source;
1046
+ o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1019
1047
  }), o;
1020
1048
  }, e.prototype._trySubscribe = function(t) {
1021
1049
  try {
@@ -1025,37 +1053,37 @@ var ft = function() {
1025
1053
  }
1026
1054
  }, e.prototype.forEach = function(t, r) {
1027
1055
  var n = this;
1028
- return r = dt(r), new r(function(i, o) {
1029
- var a = new ke({
1030
- next: function(s) {
1056
+ return r = pt(r), new r(function(i, o) {
1057
+ var s = new Ve({
1058
+ next: function(a) {
1031
1059
  try {
1032
- t(s);
1060
+ t(a);
1033
1061
  } catch (l) {
1034
- o(l), a.unsubscribe();
1062
+ o(l), s.unsubscribe();
1035
1063
  }
1036
1064
  },
1037
1065
  error: o,
1038
1066
  complete: i
1039
1067
  });
1040
- n.subscribe(a);
1068
+ n.subscribe(s);
1041
1069
  });
1042
1070
  }, e.prototype._subscribe = function(t) {
1043
1071
  var r;
1044
1072
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1045
- }, e.prototype[en] = function() {
1073
+ }, e.prototype[tn] = function() {
1046
1074
  return this;
1047
1075
  }, e.prototype.pipe = function() {
1048
1076
  for (var t = [], r = 0; r < arguments.length; r++)
1049
1077
  t[r] = arguments[r];
1050
- return rn(t)(this);
1078
+ return nn(t)(this);
1051
1079
  }, e.prototype.toPromise = function(t) {
1052
1080
  var r = this;
1053
- return t = dt(t), new t(function(n, i) {
1081
+ return t = pt(t), new t(function(n, i) {
1054
1082
  var o;
1055
- r.subscribe(function(a) {
1056
- return o = a;
1057
- }, function(a) {
1058
- return i(a);
1083
+ r.subscribe(function(s) {
1084
+ return o = s;
1085
+ }, function(s) {
1086
+ return i(s);
1059
1087
  }, function() {
1060
1088
  return n(o);
1061
1089
  });
@@ -1064,48 +1092,48 @@ var ft = function() {
1064
1092
  return new e(t);
1065
1093
  }, e;
1066
1094
  }();
1067
- function dt(e) {
1095
+ function pt(e) {
1068
1096
  var t;
1069
- return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
1070
- }
1071
- function nn(e) {
1072
- return e && I(e.next) && I(e.error) && I(e.complete);
1097
+ return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
1073
1098
  }
1074
1099
  function on(e) {
1075
- return e && e instanceof zt || nn(e) && kt(e);
1100
+ return e && R(e.next) && R(e.error) && R(e.complete);
1101
+ }
1102
+ function sn(e) {
1103
+ return e && e instanceof Zt || on(e) && Xt(e);
1076
1104
  }
1077
- var sn = Ft(function(e) {
1105
+ var an = kt(function(e) {
1078
1106
  return function() {
1079
1107
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1080
1108
  };
1081
- }), Wt = function(e) {
1082
- N(t, e);
1109
+ }), Qt = function(e) {
1110
+ D(t, e);
1083
1111
  function t() {
1084
1112
  var r = e.call(this) || this;
1085
1113
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1086
1114
  }
1087
1115
  return t.prototype.lift = function(r) {
1088
- var n = new pt(this, this);
1116
+ var n = new mt(this, this);
1089
1117
  return n.operator = r, n;
1090
1118
  }, t.prototype._throwIfClosed = function() {
1091
1119
  if (this.closed)
1092
- throw new sn();
1120
+ throw new an();
1093
1121
  }, t.prototype.next = function(r) {
1094
1122
  var n = this;
1095
- me(function() {
1123
+ be(function() {
1096
1124
  var i, o;
1097
1125
  if (n._throwIfClosed(), !n.isStopped) {
1098
1126
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1099
1127
  try {
1100
- for (var a = Ge(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1101
- var l = s.value;
1128
+ for (var s = Fe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1129
+ var l = a.value;
1102
1130
  l.next(r);
1103
1131
  }
1104
1132
  } catch (u) {
1105
1133
  i = { error: u };
1106
1134
  } finally {
1107
1135
  try {
1108
- s && !s.done && (o = a.return) && o.call(a);
1136
+ a && !a.done && (o = s.return) && o.call(s);
1109
1137
  } finally {
1110
1138
  if (i) throw i.error;
1111
1139
  }
@@ -1114,7 +1142,7 @@ var sn = Ft(function(e) {
1114
1142
  });
1115
1143
  }, t.prototype.error = function(r) {
1116
1144
  var n = this;
1117
- me(function() {
1145
+ be(function() {
1118
1146
  if (n._throwIfClosed(), !n.isStopped) {
1119
1147
  n.hasError = n.isStopped = !0, n.thrownError = r;
1120
1148
  for (var i = n.observers; i.length; )
@@ -1123,7 +1151,7 @@ var sn = Ft(function(e) {
1123
1151
  });
1124
1152
  }, t.prototype.complete = function() {
1125
1153
  var r = this;
1126
- me(function() {
1154
+ be(function() {
1127
1155
  if (r._throwIfClosed(), !r.isStopped) {
1128
1156
  r.isStopped = !0;
1129
1157
  for (var n = r.observers; n.length; )
@@ -1144,21 +1172,21 @@ var sn = Ft(function(e) {
1144
1172
  }, t.prototype._subscribe = function(r) {
1145
1173
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1146
1174
  }, t.prototype._innerSubscribe = function(r) {
1147
- var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1148
- return o || a ? jt : (this.currentObservers = null, s.push(r), new xe(function() {
1149
- n.currentObservers = null, je(s, r);
1175
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1176
+ return o || s ? Vt : (this.currentObservers = null, a.push(r), new Se(function() {
1177
+ n.currentObservers = null, ke(a, r);
1150
1178
  }));
1151
1179
  }, t.prototype._checkFinalizedStatuses = function(r) {
1152
- var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1153
- i ? r.error(o) : a && r.complete();
1180
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1181
+ i ? r.error(o) : s && r.complete();
1154
1182
  }, t.prototype.asObservable = function() {
1155
- var r = new ft();
1183
+ var r = new dt();
1156
1184
  return r.source = this, r;
1157
1185
  }, t.create = function(r, n) {
1158
- return new pt(r, n);
1186
+ return new mt(r, n);
1159
1187
  }, t;
1160
- }(ft), pt = function(e) {
1161
- N(t, e);
1188
+ }(dt), mt = function(e) {
1189
+ D(t, e);
1162
1190
  function t(r, n) {
1163
1191
  var i = e.call(this) || this;
1164
1192
  return i.destination = r, i.source = n, i;
@@ -1174,229 +1202,229 @@ var sn = Ft(function(e) {
1174
1202
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1175
1203
  }, t.prototype._subscribe = function(r) {
1176
1204
  var n, i;
1177
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1205
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1178
1206
  }, t;
1179
- }(Wt), Zt = {
1207
+ }(Qt), Jt = {
1180
1208
  now: function() {
1181
- return (Zt.delegate || Date).now();
1209
+ return (Jt.delegate || Date).now();
1182
1210
  },
1183
1211
  delegate: void 0
1184
- }, an = function(e) {
1185
- N(t, e);
1212
+ }, un = function(e) {
1213
+ D(t, e);
1186
1214
  function t(r, n, i) {
1187
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1215
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1188
1216
  var o = e.call(this) || this;
1189
1217
  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;
1190
1218
  }
1191
1219
  return t.prototype.next = function(r) {
1192
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1193
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1220
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1221
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1194
1222
  }, t.prototype._subscribe = function(r) {
1195
1223
  this._throwIfClosed(), this._trimBuffer();
1196
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1197
- r.next(s[l]);
1224
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1225
+ r.next(a[l]);
1198
1226
  return this._checkFinalizedStatuses(r), n;
1199
1227
  }, t.prototype._trimBuffer = function() {
1200
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1201
- if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1228
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1229
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1202
1230
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1203
1231
  u = h;
1204
1232
  u && o.splice(0, u + 1);
1205
1233
  }
1206
1234
  }, t;
1207
- }(Wt);
1208
- const mt = [], bt = {}, un = (e, t = 0) => {
1209
- if (mt.indexOf(e) == -1) {
1210
- const r = new an(t);
1211
- bt[e] = r, mt.push(e);
1235
+ }(Qt);
1236
+ const bt = [], yt = {}, ln = (e, t = 0) => {
1237
+ if (bt.indexOf(e) == -1) {
1238
+ const r = new un(t);
1239
+ yt[e] = r, bt.push(e);
1212
1240
  }
1213
- return bt[e];
1214
- }, X = [];
1215
- function ln(e, t) {
1241
+ return yt[e];
1242
+ }, z = [];
1243
+ function hn(e, t) {
1216
1244
  return {
1217
- subscribe: Se(e, t).subscribe
1245
+ subscribe: we(e, t).subscribe
1218
1246
  };
1219
1247
  }
1220
- function Se(e, t = w) {
1248
+ function we(e, t = P) {
1221
1249
  let r;
1222
1250
  const n = /* @__PURE__ */ new Set();
1223
- function i(s) {
1224
- if (Nt(e, s) && (e = s, r)) {
1225
- const l = !X.length;
1251
+ function i(a) {
1252
+ if (Nt(e, a) && (e = a, r)) {
1253
+ const l = !z.length;
1226
1254
  for (const u of n)
1227
- u[1](), X.push(u, e);
1255
+ u[1](), z.push(u, e);
1228
1256
  if (l) {
1229
- for (let u = 0; u < X.length; u += 2)
1230
- X[u][0](X[u + 1]);
1231
- X.length = 0;
1257
+ for (let u = 0; u < z.length; u += 2)
1258
+ z[u][0](z[u + 1]);
1259
+ z.length = 0;
1232
1260
  }
1233
1261
  }
1234
1262
  }
1235
- function o(s) {
1236
- i(s(e));
1263
+ function o(a) {
1264
+ i(a(e));
1237
1265
  }
1238
- function a(s, l = w) {
1239
- const u = [s, l];
1240
- return n.add(u), n.size === 1 && (r = t(i, o) || w), s(e), () => {
1266
+ function s(a, l = P) {
1267
+ const u = [a, l];
1268
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1241
1269
  n.delete(u), n.size === 0 && r && (r(), r = null);
1242
1270
  };
1243
1271
  }
1244
- return { set: i, update: o, subscribe: a };
1272
+ return { set: i, update: o, subscribe: s };
1245
1273
  }
1246
1274
  function ee(e, t, r) {
1247
1275
  const n = !Array.isArray(e), i = n ? [e] : e;
1248
1276
  if (!i.every(Boolean))
1249
1277
  throw new Error("derived() expects stores as input, got a falsy value");
1250
1278
  const o = t.length < 2;
1251
- return ln(r, (a, s) => {
1279
+ return hn(r, (s, a) => {
1252
1280
  let l = !1;
1253
1281
  const u = [];
1254
- let h = 0, c = w;
1255
- const f = () => {
1282
+ let h = 0, f = P;
1283
+ const c = () => {
1256
1284
  if (h)
1257
1285
  return;
1258
- c();
1259
- const _ = t(n ? u[0] : u, a, s);
1260
- o ? a(_) : c = _e(_) ? _ : w;
1261
- }, y = i.map(
1262
- (_, v) => Mt(
1263
- _,
1264
- (T) => {
1265
- u[v] = T, h &= ~(1 << v), l && f();
1286
+ f();
1287
+ const m = t(n ? u[0] : u, s, a);
1288
+ o ? s(m) : f = Ee(m) ? m : P;
1289
+ }, p = i.map(
1290
+ (m, v) => Rt(
1291
+ m,
1292
+ (w) => {
1293
+ u[v] = w, h &= ~(1 << v), l && c();
1266
1294
  },
1267
1295
  () => {
1268
1296
  h |= 1 << v;
1269
1297
  }
1270
1298
  )
1271
1299
  );
1272
- return l = !0, f(), function() {
1273
- K(y), c(), l = !1;
1300
+ return l = !0, c(), function() {
1301
+ k(p), f(), l = !1;
1274
1302
  };
1275
1303
  });
1276
1304
  }
1277
- function hn(e) {
1305
+ function cn(e) {
1278
1306
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1279
1307
  }
1280
- var cn = function(t) {
1281
- return fn(t) && !dn(t);
1308
+ var fn = function(t) {
1309
+ return dn(t) && !pn(t);
1282
1310
  };
1283
- function fn(e) {
1311
+ function dn(e) {
1284
1312
  return !!e && typeof e == "object";
1285
1313
  }
1286
- function dn(e) {
1314
+ function pn(e) {
1287
1315
  var t = Object.prototype.toString.call(e);
1288
- return t === "[object RegExp]" || t === "[object Date]" || bn(e);
1289
- }
1290
- var pn = typeof Symbol == "function" && Symbol.for, mn = pn ? Symbol.for("react.element") : 60103;
1291
- function bn(e) {
1292
- return e.$$typeof === mn;
1316
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1293
1317
  }
1318
+ var mn = typeof Symbol == "function" && Symbol.for, bn = mn ? Symbol.for("react.element") : 60103;
1294
1319
  function yn(e) {
1320
+ return e.$$typeof === bn;
1321
+ }
1322
+ function gn(e) {
1295
1323
  return Array.isArray(e) ? [] : {};
1296
1324
  }
1297
1325
  function oe(e, t) {
1298
- return t.clone !== !1 && t.isMergeableObject(e) ? Q(yn(e), e, t) : e;
1326
+ return t.clone !== !1 && t.isMergeableObject(e) ? J(gn(e), e, t) : e;
1299
1327
  }
1300
- function gn(e, t, r) {
1328
+ function vn(e, t, r) {
1301
1329
  return e.concat(t).map(function(n) {
1302
1330
  return oe(n, r);
1303
1331
  });
1304
1332
  }
1305
- function vn(e, t) {
1333
+ function _n(e, t) {
1306
1334
  if (!t.customMerge)
1307
- return Q;
1335
+ return J;
1308
1336
  var r = t.customMerge(e);
1309
- return typeof r == "function" ? r : Q;
1337
+ return typeof r == "function" ? r : J;
1310
1338
  }
1311
- function _n(e) {
1339
+ function En(e) {
1312
1340
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1313
1341
  return Object.propertyIsEnumerable.call(e, t);
1314
1342
  }) : [];
1315
1343
  }
1316
- function yt(e) {
1317
- return Object.keys(e).concat(_n(e));
1344
+ function gt(e) {
1345
+ return Object.keys(e).concat(En(e));
1318
1346
  }
1319
- function Qt(e, t) {
1347
+ function qt(e, t) {
1320
1348
  try {
1321
1349
  return t in e;
1322
1350
  } catch (r) {
1323
1351
  return !1;
1324
1352
  }
1325
1353
  }
1326
- function En(e, t) {
1327
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1354
+ function xn(e, t) {
1355
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1328
1356
  }
1329
- function xn(e, t, r) {
1357
+ function Sn(e, t, r) {
1330
1358
  var n = {};
1331
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1359
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1332
1360
  n[i] = oe(e[i], r);
1333
- }), yt(t).forEach(function(i) {
1334
- En(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1361
+ }), gt(t).forEach(function(i) {
1362
+ xn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _n(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1335
1363
  }), n;
1336
1364
  }
1337
- function Q(e, t, r) {
1338
- r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || cn, r.cloneUnlessOtherwiseSpecified = oe;
1365
+ function J(e, t, r) {
1366
+ r = r || {}, r.arrayMerge = r.arrayMerge || vn, r.isMergeableObject = r.isMergeableObject || fn, r.cloneUnlessOtherwiseSpecified = oe;
1339
1367
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1340
- return o ? n ? r.arrayMerge(e, t, r) : xn(e, t, r) : oe(t, r);
1368
+ return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : oe(t, r);
1341
1369
  }
1342
- Q.all = function(t, r) {
1370
+ J.all = function(t, r) {
1343
1371
  if (!Array.isArray(t))
1344
1372
  throw new Error("first argument should be an array");
1345
1373
  return t.reduce(function(n, i) {
1346
- return Q(n, i, r);
1374
+ return J(n, i, r);
1347
1375
  }, {});
1348
1376
  };
1349
- var Sn = Q, wn = Sn;
1350
- const Tn = /* @__PURE__ */ hn(wn);
1351
- var p;
1377
+ var wn = J, Tn = wn;
1378
+ const Hn = /* @__PURE__ */ cn(Tn);
1379
+ var b;
1352
1380
  (function(e) {
1353
1381
  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";
1354
- })(p || (p = {}));
1382
+ })(b || (b = {}));
1355
1383
  var E;
1356
1384
  (function(e) {
1357
1385
  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";
1358
1386
  })(E || (E = {}));
1359
- var J;
1387
+ var q;
1360
1388
  (function(e) {
1361
1389
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1362
- })(J || (J = {}));
1363
- function gt(e) {
1390
+ })(q || (q = {}));
1391
+ function vt(e) {
1364
1392
  return e.type === E.literal;
1365
1393
  }
1366
- function Hn(e) {
1394
+ function Bn(e) {
1367
1395
  return e.type === E.argument;
1368
1396
  }
1369
- function Jt(e) {
1397
+ function Yt(e) {
1370
1398
  return e.type === E.number;
1371
1399
  }
1372
- function qt(e) {
1400
+ function Kt(e) {
1373
1401
  return e.type === E.date;
1374
1402
  }
1375
- function Yt(e) {
1403
+ function er(e) {
1376
1404
  return e.type === E.time;
1377
1405
  }
1378
- function Kt(e) {
1406
+ function tr(e) {
1379
1407
  return e.type === E.select;
1380
1408
  }
1381
- function er(e) {
1409
+ function rr(e) {
1382
1410
  return e.type === E.plural;
1383
1411
  }
1384
- function Bn(e) {
1412
+ function Pn(e) {
1385
1413
  return e.type === E.pound;
1386
1414
  }
1387
- function tr(e) {
1415
+ function nr(e) {
1388
1416
  return e.type === E.tag;
1389
1417
  }
1390
- function rr(e) {
1391
- return !!(e && typeof e == "object" && e.type === J.number);
1418
+ function ir(e) {
1419
+ return !!(e && typeof e == "object" && e.type === q.number);
1392
1420
  }
1393
- function Ve(e) {
1394
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1421
+ function Xe(e) {
1422
+ return !!(e && typeof e == "object" && e.type === q.dateTime);
1395
1423
  }
1396
- var nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1397
- function An(e) {
1424
+ var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1425
+ function On(e) {
1398
1426
  var t = {};
1399
- return e.replace(Pn, function(r) {
1427
+ return e.replace(An, function(r) {
1400
1428
  var n = r.length;
1401
1429
  switch (r[0]) {
1402
1430
  case "G":
@@ -1485,36 +1513,36 @@ function An(e) {
1485
1513
  return "";
1486
1514
  }), t;
1487
1515
  }
1488
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1489
- function Cn(e) {
1516
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1517
+ function In(e) {
1490
1518
  if (e.length === 0)
1491
1519
  throw new Error("Number skeleton cannot be empty");
1492
- for (var t = e.split(On).filter(function(f) {
1493
- return f.length > 0;
1520
+ for (var t = e.split(Cn).filter(function(c) {
1521
+ return c.length > 0;
1494
1522
  }), r = [], n = 0, i = t; n < i.length; n++) {
1495
- var o = i[n], a = o.split("/");
1496
- if (a.length === 0)
1523
+ var o = i[n], s = o.split("/");
1524
+ if (s.length === 0)
1497
1525
  throw new Error("Invalid number skeleton");
1498
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1499
- var c = h[u];
1500
- if (c.length === 0)
1526
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1527
+ var f = h[u];
1528
+ if (f.length === 0)
1501
1529
  throw new Error("Invalid number skeleton");
1502
1530
  }
1503
- r.push({ stem: s, options: l });
1531
+ r.push({ stem: a, options: l });
1504
1532
  }
1505
1533
  return r;
1506
1534
  }
1507
- function In(e) {
1535
+ function Ln(e) {
1508
1536
  return e.replace(/^(.*?)-/, "");
1509
1537
  }
1510
- var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1511
- function _t(e) {
1538
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1539
+ function Et(e) {
1512
1540
  var t = {};
1513
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, n, i) {
1541
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1514
1542
  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)), "";
1515
1543
  }), t;
1516
1544
  }
1517
- function sr(e) {
1545
+ function ur(e) {
1518
1546
  switch (e) {
1519
1547
  case "sign-auto":
1520
1548
  return {
@@ -1562,17 +1590,17 @@ function Nn(e) {
1562
1590
  notation: "scientific"
1563
1591
  }, e = e.slice(1)), t) {
1564
1592
  var r = e.slice(0, 2);
1565
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1593
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1566
1594
  throw new Error("Malformed concise eng/scientific notation");
1567
1595
  t.minimumIntegerDigits = e.length;
1568
1596
  }
1569
1597
  return t;
1570
1598
  }
1571
- function Et(e) {
1572
- var t = {}, r = sr(e);
1599
+ function xt(e) {
1600
+ var t = {}, r = ur(e);
1573
1601
  return r || t;
1574
1602
  }
1575
- function Mn(e) {
1603
+ function Rn(e) {
1576
1604
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1577
1605
  var i = n[r];
1578
1606
  switch (i.stem) {
@@ -1596,7 +1624,7 @@ function Mn(e) {
1596
1624
  continue;
1597
1625
  case "measure-unit":
1598
1626
  case "unit":
1599
- t.style = "unit", t.unit = In(i.options[0]);
1627
+ t.style = "unit", t.unit = Ln(i.options[0]);
1600
1628
  continue;
1601
1629
  case "compact-short":
1602
1630
  case "K":
@@ -1607,13 +1635,13 @@ function Mn(e) {
1607
1635
  t.notation = "compact", t.compactDisplay = "long";
1608
1636
  continue;
1609
1637
  case "scientific":
1610
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1611
- return g(g({}, l), Et(u));
1638
+ t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1639
+ return _(_({}, l), xt(u));
1612
1640
  }, {}));
1613
1641
  continue;
1614
1642
  case "engineering":
1615
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1616
- return g(g({}, l), Et(u));
1643
+ t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1644
+ return _(_({}, l), xt(u));
1617
1645
  }, {}));
1618
1646
  continue;
1619
1647
  case "notation-simple":
@@ -1658,45 +1686,45 @@ function Mn(e) {
1658
1686
  case "integer-width":
1659
1687
  if (i.options.length > 1)
1660
1688
  throw new RangeError("integer-width stems only accept a single optional option");
1661
- i.options[0].replace(Ln, function(l, u, h, c, f, y) {
1689
+ i.options[0].replace(Mn, function(l, u, h, f, c, p) {
1662
1690
  if (u)
1663
1691
  t.minimumIntegerDigits = h.length;
1664
1692
  else {
1665
- if (c && f)
1693
+ if (f && c)
1666
1694
  throw new Error("We currently do not support maximum integer digits");
1667
- if (y)
1695
+ if (p)
1668
1696
  throw new Error("We currently do not support exact integer digits");
1669
1697
  }
1670
1698
  return "";
1671
1699
  });
1672
1700
  continue;
1673
1701
  }
1674
- if (or.test(i.stem)) {
1702
+ if (ar.test(i.stem)) {
1675
1703
  t.minimumIntegerDigits = i.stem.length;
1676
1704
  continue;
1677
1705
  }
1678
- if (vt.test(i.stem)) {
1706
+ if (_t.test(i.stem)) {
1679
1707
  if (i.options.length > 1)
1680
1708
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1681
- i.stem.replace(vt, function(l, u, h, c, f, y) {
1682
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && y ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1709
+ i.stem.replace(_t, function(l, u, h, f, c, p) {
1710
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1683
1711
  });
1684
1712
  var o = i.options[0];
1685
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), _t(o)));
1713
+ o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Et(o)));
1686
1714
  continue;
1687
1715
  }
1688
- if (ir.test(i.stem)) {
1689
- t = g(g({}, t), _t(i.stem));
1716
+ if (sr.test(i.stem)) {
1717
+ t = _(_({}, t), Et(i.stem));
1690
1718
  continue;
1691
1719
  }
1692
- var a = sr(i.stem);
1693
- a && (t = g(g({}, t), a));
1694
- var s = Nn(i.stem);
1695
- s && (t = g(g({}, t), s));
1720
+ var s = ur(i.stem);
1721
+ s && (t = _(_({}, t), s));
1722
+ var a = Nn(i.stem);
1723
+ a && (t = _(_({}, t), a));
1696
1724
  }
1697
1725
  return t;
1698
1726
  }
1699
- var fe = {
1727
+ var de = {
1700
1728
  "001": [
1701
1729
  "H",
1702
1730
  "h"
@@ -3105,22 +3133,22 @@ var fe = {
3105
3133
  "h"
3106
3134
  ]
3107
3135
  };
3108
- function Rn(e, t) {
3136
+ function $n(e, t) {
3109
3137
  for (var r = "", n = 0; n < e.length; n++) {
3110
3138
  var i = e.charAt(n);
3111
3139
  if (i === "j") {
3112
3140
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3113
3141
  o++, n++;
3114
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
3115
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3142
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3143
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3116
3144
  r += l;
3117
- for (; a-- > 0; )
3145
+ for (; s-- > 0; )
3118
3146
  r = u + r;
3119
3147
  } else i === "J" ? r += "H" : r += i;
3120
3148
  }
3121
3149
  return r;
3122
3150
  }
3123
- function $n(e) {
3151
+ function Dn(e) {
3124
3152
  var t = e.hourCycle;
3125
3153
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3126
3154
  e.hourCycles && // @ts-ignore
@@ -3139,23 +3167,23 @@ function $n(e) {
3139
3167
  }
3140
3168
  var r = e.language, n;
3141
3169
  r !== "root" && (n = e.maximize().region);
3142
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3170
+ var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
3143
3171
  return i[0];
3144
3172
  }
3145
- var Ce, Dn = new RegExp("^".concat(nr.source, "*")), Un = new RegExp("".concat(nr.source, "*$"));
3146
- function b(e, t) {
3173
+ var Ie, Un = new RegExp("^".concat(or.source, "*")), Gn = new RegExp("".concat(or.source, "*$"));
3174
+ function g(e, t) {
3147
3175
  return { start: e, end: t };
3148
3176
  }
3149
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3177
+ var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
3150
3178
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3151
- }, Xe = !0;
3179
+ }, ze = !0;
3152
3180
  try {
3153
- var Zn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3154
- Xe = ((Ce = Zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3181
+ var Qn = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3182
+ ze = ((Ie = Qn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3155
3183
  } catch (e) {
3156
- Xe = !1;
3184
+ ze = !1;
3157
3185
  }
3158
- var xt = Gn ? (
3186
+ var St = Fn ? (
3159
3187
  // Native
3160
3188
  function(t, r, n) {
3161
3189
  return t.startsWith(r, n);
@@ -3165,31 +3193,31 @@ var xt = Gn ? (
3165
3193
  function(t, r, n) {
3166
3194
  return t.slice(n, n + r.length) === r;
3167
3195
  }
3168
- ), ze = Fn ? String.fromCodePoint : (
3196
+ ), We = jn ? String.fromCodePoint : (
3169
3197
  // IE11
3170
3198
  function() {
3171
3199
  for (var t = [], r = 0; r < arguments.length; r++)
3172
3200
  t[r] = arguments[r];
3173
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3174
- if (a = t[o++], a > 1114111)
3175
- throw RangeError(a + " is not a valid code point");
3176
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3201
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3202
+ if (s = t[o++], s > 1114111)
3203
+ throw RangeError(s + " is not a valid code point");
3204
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3177
3205
  }
3178
3206
  return n;
3179
3207
  }
3180
- ), St = (
3208
+ ), wt = (
3181
3209
  // native
3182
- jn ? Object.fromEntries : (
3210
+ kn ? Object.fromEntries : (
3183
3211
  // Ponyfill
3184
3212
  function(t) {
3185
3213
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3186
- var o = i[n], a = o[0], s = o[1];
3187
- r[a] = s;
3214
+ var o = i[n], s = o[0], a = o[1];
3215
+ r[s] = a;
3188
3216
  }
3189
3217
  return r;
3190
3218
  }
3191
3219
  )
3192
- ), ar = kn ? (
3220
+ ), lr = Vn ? (
3193
3221
  // Native
3194
3222
  function(t, r) {
3195
3223
  return t.codePointAt(r);
@@ -3203,7 +3231,7 @@ var xt = Gn ? (
3203
3231
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3204
3232
  }
3205
3233
  }
3206
- ), Qn = Vn ? (
3234
+ ), Jn = Xn ? (
3207
3235
  // Native
3208
3236
  function(t) {
3209
3237
  return t.trimStart();
@@ -3211,9 +3239,9 @@ var xt = Gn ? (
3211
3239
  ) : (
3212
3240
  // Ponyfill
3213
3241
  function(t) {
3214
- return t.replace(Dn, "");
3242
+ return t.replace(Un, "");
3215
3243
  }
3216
- ), Jn = Xn ? (
3244
+ ), qn = zn ? (
3217
3245
  // Native
3218
3246
  function(t) {
3219
3247
  return t.trimEnd();
@@ -3221,32 +3249,32 @@ var xt = Gn ? (
3221
3249
  ) : (
3222
3250
  // Ponyfill
3223
3251
  function(t) {
3224
- return t.replace(Un, "");
3252
+ return t.replace(Gn, "");
3225
3253
  }
3226
3254
  );
3227
- function ur(e, t) {
3255
+ function hr(e, t) {
3228
3256
  return new RegExp(e, t);
3229
3257
  }
3230
- var We;
3231
- if (Xe) {
3232
- var wt = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3233
- We = function(t, r) {
3258
+ var Ze;
3259
+ if (ze) {
3260
+ var Tt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3261
+ Ze = function(t, r) {
3234
3262
  var n;
3235
- wt.lastIndex = r;
3236
- var i = wt.exec(t);
3263
+ Tt.lastIndex = r;
3264
+ var i = Tt.exec(t);
3237
3265
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3238
3266
  };
3239
3267
  } else
3240
- We = function(t, r) {
3268
+ Ze = function(t, r) {
3241
3269
  for (var n = []; ; ) {
3242
- var i = ar(t, r);
3243
- if (i === void 0 || lr(i) || ei(i))
3270
+ var i = lr(t, r);
3271
+ if (i === void 0 || cr(i) || ti(i))
3244
3272
  break;
3245
3273
  n.push(i), r += i >= 65536 ? 2 : 1;
3246
3274
  }
3247
- return ze.apply(void 0, n);
3275
+ return We.apply(void 0, n);
3248
3276
  };
3249
- var qn = (
3277
+ var Yn = (
3250
3278
  /** @class */
3251
3279
  function() {
3252
3280
  function e(t, r) {
@@ -3260,33 +3288,33 @@ var qn = (
3260
3288
  for (var i = []; !this.isEOF(); ) {
3261
3289
  var o = this.char();
3262
3290
  if (o === 123) {
3263
- var a = this.parseArgument(t, n);
3264
- if (a.err)
3265
- return a;
3266
- i.push(a.val);
3291
+ var s = this.parseArgument(t, n);
3292
+ if (s.err)
3293
+ return s;
3294
+ i.push(s.val);
3267
3295
  } else {
3268
3296
  if (o === 125 && t > 0)
3269
3297
  break;
3270
3298
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3271
- var s = this.clonePosition();
3299
+ var a = this.clonePosition();
3272
3300
  this.bump(), i.push({
3273
3301
  type: E.pound,
3274
- location: b(s, this.clonePosition())
3302
+ location: g(a, this.clonePosition())
3275
3303
  });
3276
3304
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3277
3305
  if (n)
3278
3306
  break;
3279
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3280
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3281
- var a = this.parseTag(t, r);
3282
- if (a.err)
3283
- return a;
3284
- i.push(a.val);
3307
+ return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3308
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3309
+ var s = this.parseTag(t, r);
3310
+ if (s.err)
3311
+ return s;
3312
+ i.push(s.val);
3285
3313
  } else {
3286
- var a = this.parseLiteral(t, r);
3287
- if (a.err)
3288
- return a;
3289
- i.push(a.val);
3314
+ var s = this.parseLiteral(t, r);
3315
+ if (s.err)
3316
+ return s;
3317
+ i.push(s.val);
3290
3318
  }
3291
3319
  }
3292
3320
  }
@@ -3300,7 +3328,7 @@ var qn = (
3300
3328
  val: {
3301
3329
  type: E.literal,
3302
3330
  value: "<".concat(i, "/>"),
3303
- location: b(n, this.clonePosition())
3331
+ location: g(n, this.clonePosition())
3304
3332
  },
3305
3333
  err: null
3306
3334
  };
@@ -3308,27 +3336,27 @@ var qn = (
3308
3336
  var o = this.parseMessage(t + 1, r, !0);
3309
3337
  if (o.err)
3310
3338
  return o;
3311
- var a = o.val, s = this.clonePosition();
3339
+ var s = o.val, a = this.clonePosition();
3312
3340
  if (this.bumpIf("</")) {
3313
- if (this.isEOF() || !Ze(this.char()))
3314
- return this.error(p.INVALID_TAG, b(s, this.clonePosition()));
3341
+ if (this.isEOF() || !Qe(this.char()))
3342
+ return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3315
3343
  var l = this.clonePosition(), u = this.parseTagName();
3316
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3344
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3317
3345
  val: {
3318
3346
  type: E.tag,
3319
3347
  value: i,
3320
- children: a,
3321
- location: b(n, this.clonePosition())
3348
+ children: s,
3349
+ location: g(n, this.clonePosition())
3322
3350
  },
3323
3351
  err: null
3324
- } : this.error(p.INVALID_TAG, b(s, this.clonePosition())));
3352
+ } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3325
3353
  } else
3326
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
3354
+ return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
3327
3355
  } else
3328
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
3356
+ return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3329
3357
  }, e.prototype.parseTagName = function() {
3330
3358
  var t = this.offset();
3331
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3359
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
3332
3360
  this.bump();
3333
3361
  return this.message.slice(t, this.offset());
3334
3362
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3338,26 +3366,26 @@ var qn = (
3338
3366
  i += o;
3339
3367
  continue;
3340
3368
  }
3341
- var a = this.tryParseUnquoted(t, r);
3342
- if (a) {
3343
- i += a;
3344
- continue;
3345
- }
3346
- var s = this.tryParseLeftAngleBracket();
3369
+ var s = this.tryParseUnquoted(t, r);
3347
3370
  if (s) {
3348
3371
  i += s;
3349
3372
  continue;
3350
3373
  }
3374
+ var a = this.tryParseLeftAngleBracket();
3375
+ if (a) {
3376
+ i += a;
3377
+ continue;
3378
+ }
3351
3379
  break;
3352
3380
  }
3353
- var l = b(n, this.clonePosition());
3381
+ var l = g(n, this.clonePosition());
3354
3382
  return {
3355
3383
  val: { type: E.literal, value: i, location: l },
3356
3384
  err: null
3357
3385
  };
3358
3386
  }, e.prototype.tryParseLeftAngleBracket = function() {
3359
3387
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3360
- !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3388
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3361
3389
  }, e.prototype.tryParseQuote = function(t) {
3362
3390
  if (this.isEOF() || this.char() !== 39)
3363
3391
  return null;
@@ -3391,23 +3419,23 @@ var qn = (
3391
3419
  r.push(n);
3392
3420
  this.bump();
3393
3421
  }
3394
- return ze.apply(void 0, r);
3422
+ return We.apply(void 0, r);
3395
3423
  }, e.prototype.tryParseUnquoted = function(t, r) {
3396
3424
  if (this.isEOF())
3397
3425
  return null;
3398
3426
  var n = this.char();
3399
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3427
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3400
3428
  }, e.prototype.parseArgument = function(t, r) {
3401
3429
  var n = this.clonePosition();
3402
3430
  if (this.bump(), this.bumpSpace(), this.isEOF())
3403
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3431
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3404
3432
  if (this.char() === 125)
3405
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3433
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3406
3434
  var i = this.parseIdentifierIfPossible().value;
3407
3435
  if (!i)
3408
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3436
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3409
3437
  if (this.bumpSpace(), this.isEOF())
3410
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3438
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3411
3439
  switch (this.char()) {
3412
3440
  case 125:
3413
3441
  return this.bump(), {
@@ -3415,25 +3443,25 @@ var qn = (
3415
3443
  type: E.argument,
3416
3444
  // value does not include the opening and closing braces.
3417
3445
  value: i,
3418
- location: b(n, this.clonePosition())
3446
+ location: g(n, this.clonePosition())
3419
3447
  },
3420
3448
  err: null
3421
3449
  };
3422
3450
  case 44:
3423
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3451
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3424
3452
  default:
3425
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3453
+ return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3426
3454
  }
3427
3455
  }, e.prototype.parseIdentifierIfPossible = function() {
3428
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3456
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3429
3457
  this.bumpTo(i);
3430
- var o = this.clonePosition(), a = b(t, o);
3431
- return { value: n, location: a };
3458
+ var o = this.clonePosition(), s = g(t, o);
3459
+ return { value: n, location: s };
3432
3460
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3433
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3434
- switch (s) {
3461
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3462
+ switch (a) {
3435
3463
  case "":
3436
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, l));
3464
+ return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, l));
3437
3465
  case "number":
3438
3466
  case "date":
3439
3467
  case "time": {
@@ -3441,47 +3469,47 @@ var qn = (
3441
3469
  var u = null;
3442
3470
  if (this.bumpIf(",")) {
3443
3471
  this.bumpSpace();
3444
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3445
- if (c.err)
3446
- return c;
3447
- var f = Jn(c.val);
3448
- if (f.length === 0)
3449
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3450
- var y = b(h, this.clonePosition());
3451
- u = { style: f, styleLocation: y };
3472
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3473
+ if (f.err)
3474
+ return f;
3475
+ var c = qn(f.val);
3476
+ if (c.length === 0)
3477
+ return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3478
+ var p = g(h, this.clonePosition());
3479
+ u = { style: c, styleLocation: p };
3452
3480
  }
3453
- var _ = this.tryParseArgumentClose(i);
3454
- if (_.err)
3455
- return _;
3456
- var v = b(i, this.clonePosition());
3457
- if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3458
- var T = Qn(u.style.slice(2));
3459
- if (s === "number") {
3460
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
3461
- return c.err ? c : {
3462
- val: { type: E.number, value: n, location: v, style: c.val },
3481
+ var m = this.tryParseArgumentClose(i);
3482
+ if (m.err)
3483
+ return m;
3484
+ var v = g(i, this.clonePosition());
3485
+ if (u && St(u == null ? void 0 : u.style, "::", 0)) {
3486
+ var w = Jn(u.style.slice(2));
3487
+ if (a === "number") {
3488
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3489
+ return f.err ? f : {
3490
+ val: { type: E.number, value: n, location: v, style: f.val },
3463
3491
  err: null
3464
3492
  };
3465
3493
  } else {
3466
- if (T.length === 0)
3467
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3468
- var U = T;
3469
- this.locale && (U = Rn(T, this.locale));
3470
- var f = {
3471
- type: J.dateTime,
3472
- pattern: U,
3494
+ if (w.length === 0)
3495
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
3496
+ var C = w;
3497
+ this.locale && (C = $n(w, this.locale));
3498
+ var c = {
3499
+ type: q.dateTime,
3500
+ pattern: C,
3473
3501
  location: u.styleLocation,
3474
- parsedOptions: this.shouldParseSkeletons ? An(U) : {}
3475
- }, M = s === "date" ? E.date : E.time;
3502
+ parsedOptions: this.shouldParseSkeletons ? On(C) : {}
3503
+ }, A = a === "date" ? E.date : E.time;
3476
3504
  return {
3477
- val: { type: M, value: n, location: v, style: f },
3505
+ val: { type: A, value: n, location: v, style: c },
3478
3506
  err: null
3479
3507
  };
3480
3508
  }
3481
3509
  }
3482
3510
  return {
3483
3511
  val: {
3484
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3512
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3485
3513
  value: n,
3486
3514
  location: v,
3487
3515
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3494,30 +3522,30 @@ var qn = (
3494
3522
  case "select": {
3495
3523
  var H = this.clonePosition();
3496
3524
  if (this.bumpSpace(), !this.bumpIf(","))
3497
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, g({}, H)));
3525
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, _({}, H)));
3498
3526
  this.bumpSpace();
3499
- var G = this.parseIdentifierIfPossible(), O = 0;
3500
- if (s !== "select" && G.value === "offset") {
3527
+ var L = this.parseIdentifierIfPossible(), O = 0;
3528
+ if (a !== "select" && L.value === "offset") {
3501
3529
  if (!this.bumpIf(":"))
3502
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3530
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3503
3531
  this.bumpSpace();
3504
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3505
- if (c.err)
3506
- return c;
3507
- this.bumpSpace(), G = this.parseIdentifierIfPossible(), O = c.val;
3532
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3533
+ if (f.err)
3534
+ return f;
3535
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), O = f.val;
3508
3536
  }
3509
- var k = this.tryParsePluralOrSelectOptions(t, s, r, G);
3510
- if (k.err)
3511
- return k;
3512
- var _ = this.tryParseArgumentClose(i);
3513
- if (_.err)
3514
- return _;
3515
- var d = b(i, this.clonePosition());
3516
- return s === "select" ? {
3537
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3538
+ if (M.err)
3539
+ return M;
3540
+ var m = this.tryParseArgumentClose(i);
3541
+ if (m.err)
3542
+ return m;
3543
+ var d = g(i, this.clonePosition());
3544
+ return a === "select" ? {
3517
3545
  val: {
3518
3546
  type: E.select,
3519
3547
  value: n,
3520
- options: St(k.val),
3548
+ options: wt(M.val),
3521
3549
  location: d
3522
3550
  },
3523
3551
  err: null
@@ -3525,19 +3553,19 @@ var qn = (
3525
3553
  val: {
3526
3554
  type: E.plural,
3527
3555
  value: n,
3528
- options: St(k.val),
3556
+ options: wt(M.val),
3529
3557
  offset: O,
3530
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3558
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3531
3559
  location: d
3532
3560
  },
3533
3561
  err: null
3534
3562
  };
3535
3563
  }
3536
3564
  default:
3537
- return this.error(p.INVALID_ARGUMENT_TYPE, b(a, l));
3565
+ return this.error(b.INVALID_ARGUMENT_TYPE, g(s, l));
3538
3566
  }
3539
3567
  }, e.prototype.tryParseArgumentClose = function(t) {
3540
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3568
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3541
3569
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3542
3570
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3543
3571
  var n = this.char();
@@ -3546,7 +3574,7 @@ var qn = (
3546
3574
  this.bump();
3547
3575
  var i = this.clonePosition();
3548
3576
  if (!this.bumpUntil("'"))
3549
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3577
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3550
3578
  this.bump();
3551
3579
  break;
3552
3580
  }
@@ -3576,64 +3604,64 @@ var qn = (
3576
3604
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3577
3605
  var n = [];
3578
3606
  try {
3579
- n = Cn(t);
3607
+ n = In(t);
3580
3608
  } catch (i) {
3581
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3609
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3582
3610
  }
3583
3611
  return {
3584
3612
  val: {
3585
- type: J.number,
3613
+ type: q.number,
3586
3614
  tokens: n,
3587
3615
  location: r,
3588
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3616
+ parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3589
3617
  },
3590
3618
  err: null
3591
3619
  };
3592
3620
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3593
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3621
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3594
3622
  if (u.length === 0) {
3595
- var c = this.clonePosition();
3623
+ var f = this.clonePosition();
3596
3624
  if (r !== "select" && this.bumpIf("=")) {
3597
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3598
- if (f.err)
3599
- return f;
3600
- h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3625
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3626
+ if (c.err)
3627
+ return c;
3628
+ h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3601
3629
  } else
3602
3630
  break;
3603
3631
  }
3604
3632
  if (l.has(u))
3605
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3606
- u === "other" && (a = !0), this.bumpSpace();
3607
- var y = this.clonePosition();
3633
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3634
+ u === "other" && (s = !0), this.bumpSpace();
3635
+ var p = this.clonePosition();
3608
3636
  if (!this.bumpIf("{"))
3609
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3610
- var _ = this.parseMessage(t + 1, r, n);
3611
- if (_.err)
3612
- return _;
3613
- var v = this.tryParseArgumentClose(y);
3637
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3638
+ var m = this.parseMessage(t + 1, r, n);
3639
+ if (m.err)
3640
+ return m;
3641
+ var v = this.tryParseArgumentClose(p);
3614
3642
  if (v.err)
3615
3643
  return v;
3616
- s.push([
3644
+ a.push([
3617
3645
  u,
3618
3646
  {
3619
- value: _.val,
3620
- location: b(y, this.clonePosition())
3647
+ value: m.val,
3648
+ location: g(p, this.clonePosition())
3621
3649
  }
3622
3650
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3623
3651
  }
3624
- return s.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3652
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3625
3653
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3626
3654
  var n = 1, i = this.clonePosition();
3627
3655
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3628
- for (var o = !1, a = 0; !this.isEOF(); ) {
3629
- var s = this.char();
3630
- if (s >= 48 && s <= 57)
3631
- o = !0, a = a * 10 + (s - 48), this.bump();
3656
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3657
+ var a = this.char();
3658
+ if (a >= 48 && a <= 57)
3659
+ o = !0, s = s * 10 + (a - 48), this.bump();
3632
3660
  else
3633
3661
  break;
3634
3662
  }
3635
- var l = b(i, this.clonePosition());
3636
- return o ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3663
+ var l = g(i, this.clonePosition());
3664
+ return o ? (s *= n, Zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3637
3665
  }, e.prototype.offset = function() {
3638
3666
  return this.position.offset;
3639
3667
  }, e.prototype.isEOF = function() {
@@ -3648,7 +3676,7 @@ var qn = (
3648
3676
  var t = this.position.offset;
3649
3677
  if (t >= this.message.length)
3650
3678
  throw Error("out of bound");
3651
- var r = ar(this.message, t);
3679
+ var r = lr(this.message, t);
3652
3680
  if (r === void 0)
3653
3681
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3654
3682
  return r;
@@ -3667,7 +3695,7 @@ var qn = (
3667
3695
  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);
3668
3696
  }
3669
3697
  }, e.prototype.bumpIf = function(t) {
3670
- if (xt(this.message, t, this.offset())) {
3698
+ if (St(this.message, t, this.offset())) {
3671
3699
  for (var r = 0; r < t.length; r++)
3672
3700
  this.bump();
3673
3701
  return !0;
@@ -3689,7 +3717,7 @@ var qn = (
3689
3717
  break;
3690
3718
  }
3691
3719
  }, e.prototype.bumpSpace = function() {
3692
- for (; !this.isEOF() && lr(this.char()); )
3720
+ for (; !this.isEOF() && cr(this.char()); )
3693
3721
  this.bump();
3694
3722
  }, e.prototype.peek = function() {
3695
3723
  if (this.isEOF())
@@ -3699,96 +3727,96 @@ var qn = (
3699
3727
  }, e;
3700
3728
  }()
3701
3729
  );
3702
- function Ze(e) {
3730
+ function Qe(e) {
3703
3731
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3704
3732
  }
3705
- function Yn(e) {
3706
- return Ze(e) || e === 47;
3707
- }
3708
3733
  function Kn(e) {
3734
+ return Qe(e) || e === 47;
3735
+ }
3736
+ function ei(e) {
3709
3737
  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;
3710
3738
  }
3711
- function lr(e) {
3739
+ function cr(e) {
3712
3740
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3713
3741
  }
3714
- function ei(e) {
3742
+ function ti(e) {
3715
3743
  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;
3716
3744
  }
3717
- function Qe(e) {
3745
+ function Je(e) {
3718
3746
  e.forEach(function(t) {
3719
- if (delete t.location, Kt(t) || er(t))
3747
+ if (delete t.location, tr(t) || rr(t))
3720
3748
  for (var r in t.options)
3721
- delete t.options[r].location, Qe(t.options[r].value);
3722
- else Jt(t) && rr(t.style) || (qt(t) || Yt(t)) && Ve(t.style) ? delete t.style.location : tr(t) && Qe(t.children);
3749
+ delete t.options[r].location, Je(t.options[r].value);
3750
+ else Yt(t) && ir(t.style) || (Kt(t) || er(t)) && Xe(t.style) ? delete t.style.location : nr(t) && Je(t.children);
3723
3751
  });
3724
3752
  }
3725
- function ti(e, t) {
3726
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3727
- var r = new qn(e, t).parse();
3753
+ function ri(e, t) {
3754
+ t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3755
+ var r = new Yn(e, t).parse();
3728
3756
  if (r.err) {
3729
- var n = SyntaxError(p[r.err.kind]);
3757
+ var n = SyntaxError(b[r.err.kind]);
3730
3758
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3731
3759
  }
3732
- return t != null && t.captureLocation || Qe(r.val), r.val;
3760
+ return t != null && t.captureLocation || Je(r.val), r.val;
3733
3761
  }
3734
- function Ie(e, t) {
3735
- var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ni;
3762
+ function Le(e, t) {
3763
+ var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : ii;
3736
3764
  return i(e, {
3737
3765
  cache: r,
3738
3766
  serializer: n
3739
3767
  });
3740
3768
  }
3741
- function ri(e) {
3769
+ function ni(e) {
3742
3770
  return e == null || typeof e == "number" || typeof e == "boolean";
3743
3771
  }
3744
- function hr(e, t, r, n) {
3745
- var i = ri(n) ? n : r(n), o = t.get(i);
3772
+ function fr(e, t, r, n) {
3773
+ var i = ni(n) ? n : r(n), o = t.get(i);
3746
3774
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3747
3775
  }
3748
- function cr(e, t, r) {
3776
+ function dr(e, t, r) {
3749
3777
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3750
3778
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3751
3779
  }
3752
- function Ye(e, t, r, n, i) {
3780
+ function Ke(e, t, r, n, i) {
3753
3781
  return r.bind(t, e, n, i);
3754
3782
  }
3755
- function ni(e, t) {
3756
- var r = e.length === 1 ? hr : cr;
3757
- return Ye(e, this, r, t.cache.create(), t.serializer);
3758
- }
3759
3783
  function ii(e, t) {
3760
- return Ye(e, this, cr, t.cache.create(), t.serializer);
3784
+ var r = e.length === 1 ? fr : dr;
3785
+ return Ke(e, this, r, t.cache.create(), t.serializer);
3761
3786
  }
3762
3787
  function oi(e, t) {
3763
- return Ye(e, this, hr, t.cache.create(), t.serializer);
3788
+ return Ke(e, this, dr, t.cache.create(), t.serializer);
3789
+ }
3790
+ function si(e, t) {
3791
+ return Ke(e, this, fr, t.cache.create(), t.serializer);
3764
3792
  }
3765
- var si = function() {
3793
+ var ai = function() {
3766
3794
  return JSON.stringify(arguments);
3767
3795
  };
3768
- function Ke() {
3796
+ function et() {
3769
3797
  this.cache = /* @__PURE__ */ Object.create(null);
3770
3798
  }
3771
- Ke.prototype.get = function(e) {
3799
+ et.prototype.get = function(e) {
3772
3800
  return this.cache[e];
3773
3801
  };
3774
- Ke.prototype.set = function(e, t) {
3802
+ et.prototype.set = function(e, t) {
3775
3803
  this.cache[e] = t;
3776
3804
  };
3777
- var ai = {
3805
+ var ui = {
3778
3806
  create: function() {
3779
- return new Ke();
3807
+ return new et();
3780
3808
  }
3781
- }, Le = {
3782
- variadic: ii,
3783
- monadic: oi
3784
- }, q;
3809
+ }, Me = {
3810
+ variadic: oi,
3811
+ monadic: si
3812
+ }, Y;
3785
3813
  (function(e) {
3786
3814
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3787
- })(q || (q = {}));
3788
- var we = (
3815
+ })(Y || (Y = {}));
3816
+ var Te = (
3789
3817
  /** @class */
3790
3818
  function(e) {
3791
- N(t, e);
3819
+ D(t, e);
3792
3820
  function t(r, n, i) {
3793
3821
  var o = e.call(this, r) || this;
3794
3822
  return o.code = n, o.originalMessage = i, o;
@@ -3797,153 +3825,153 @@ var we = (
3797
3825
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3798
3826
  }, t;
3799
3827
  }(Error)
3800
- ), Tt = (
3828
+ ), Ht = (
3801
3829
  /** @class */
3802
3830
  function(e) {
3803
- N(t, e);
3831
+ D(t, e);
3804
3832
  function t(r, n, i, o) {
3805
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
3833
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3806
3834
  }
3807
3835
  return t;
3808
- }(we)
3809
- ), ui = (
3836
+ }(Te)
3837
+ ), li = (
3810
3838
  /** @class */
3811
3839
  function(e) {
3812
- N(t, e);
3840
+ D(t, e);
3813
3841
  function t(r, n, i) {
3814
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3842
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3815
3843
  }
3816
3844
  return t;
3817
- }(we)
3818
- ), li = (
3845
+ }(Te)
3846
+ ), hi = (
3819
3847
  /** @class */
3820
3848
  function(e) {
3821
- N(t, e);
3849
+ D(t, e);
3822
3850
  function t(r, n) {
3823
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3851
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3824
3852
  }
3825
3853
  return t;
3826
- }(we)
3827
- ), S;
3854
+ }(Te)
3855
+ ), B;
3828
3856
  (function(e) {
3829
3857
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3830
- })(S || (S = {}));
3831
- function hi(e) {
3858
+ })(B || (B = {}));
3859
+ function ci(e) {
3832
3860
  return e.length < 2 ? e : e.reduce(function(t, r) {
3833
3861
  var n = t[t.length - 1];
3834
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3862
+ return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3835
3863
  }, []);
3836
3864
  }
3837
- function ci(e) {
3865
+ function fi(e) {
3838
3866
  return typeof e == "function";
3839
3867
  }
3840
- function be(e, t, r, n, i, o, a) {
3841
- if (e.length === 1 && gt(e[0]))
3868
+ function ye(e, t, r, n, i, o, s) {
3869
+ if (e.length === 1 && vt(e[0]))
3842
3870
  return [
3843
3871
  {
3844
- type: S.literal,
3872
+ type: B.literal,
3845
3873
  value: e[0].value
3846
3874
  }
3847
3875
  ];
3848
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3876
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3849
3877
  var h = u[l];
3850
- if (gt(h)) {
3851
- s.push({
3852
- type: S.literal,
3878
+ if (vt(h)) {
3879
+ a.push({
3880
+ type: B.literal,
3853
3881
  value: h.value
3854
3882
  });
3855
3883
  continue;
3856
3884
  }
3857
- if (Bn(h)) {
3858
- typeof o == "number" && s.push({
3859
- type: S.literal,
3885
+ if (Pn(h)) {
3886
+ typeof o == "number" && a.push({
3887
+ type: B.literal,
3860
3888
  value: r.getNumberFormat(t).format(o)
3861
3889
  });
3862
3890
  continue;
3863
3891
  }
3864
- var c = h.value;
3865
- if (!(i && c in i))
3866
- throw new li(c, a);
3867
- var f = i[c];
3868
- if (Hn(h)) {
3869
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3870
- type: typeof f == "string" ? S.literal : S.object,
3871
- value: f
3892
+ var f = h.value;
3893
+ if (!(i && f in i))
3894
+ throw new hi(f, s);
3895
+ var c = i[f];
3896
+ if (Bn(h)) {
3897
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3898
+ type: typeof c == "string" ? B.literal : B.object,
3899
+ value: c
3872
3900
  });
3873
3901
  continue;
3874
3902
  }
3875
- if (qt(h)) {
3876
- var y = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3877
- s.push({
3878
- type: S.literal,
3879
- value: r.getDateTimeFormat(t, y).format(f)
3903
+ if (Kt(h)) {
3904
+ var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3905
+ a.push({
3906
+ type: B.literal,
3907
+ value: r.getDateTimeFormat(t, p).format(c)
3880
3908
  });
3881
3909
  continue;
3882
3910
  }
3883
- if (Yt(h)) {
3884
- var y = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3885
- s.push({
3886
- type: S.literal,
3887
- value: r.getDateTimeFormat(t, y).format(f)
3911
+ if (er(h)) {
3912
+ var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3913
+ a.push({
3914
+ type: B.literal,
3915
+ value: r.getDateTimeFormat(t, p).format(c)
3888
3916
  });
3889
3917
  continue;
3890
3918
  }
3891
- if (Jt(h)) {
3892
- var y = typeof h.style == "string" ? n.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3893
- y && y.scale && (f = f * (y.scale || 1)), s.push({
3894
- type: S.literal,
3895
- value: r.getNumberFormat(t, y).format(f)
3919
+ if (Yt(h)) {
3920
+ var p = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3921
+ p && p.scale && (c = c * (p.scale || 1)), a.push({
3922
+ type: B.literal,
3923
+ value: r.getNumberFormat(t, p).format(c)
3896
3924
  });
3897
3925
  continue;
3898
3926
  }
3899
- if (tr(h)) {
3900
- var _ = h.children, v = h.value, T = i[v];
3901
- if (!ci(T))
3902
- throw new ui(v, "function", a);
3903
- var U = be(_, t, r, n, i, o), M = T(U.map(function(O) {
3927
+ if (nr(h)) {
3928
+ var m = h.children, v = h.value, w = i[v];
3929
+ if (!fi(w))
3930
+ throw new li(v, "function", s);
3931
+ var C = ye(m, t, r, n, i, o), A = w(C.map(function(O) {
3904
3932
  return O.value;
3905
3933
  }));
3906
- Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(O) {
3934
+ Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(O) {
3907
3935
  return {
3908
- type: typeof O == "string" ? S.literal : S.object,
3936
+ type: typeof O == "string" ? B.literal : B.object,
3909
3937
  value: O
3910
3938
  };
3911
3939
  }));
3912
3940
  }
3913
- if (Kt(h)) {
3914
- var H = h.options[f] || h.options.other;
3941
+ if (tr(h)) {
3942
+ var H = h.options[c] || h.options.other;
3915
3943
  if (!H)
3916
- throw new Tt(h.value, f, Object.keys(h.options), a);
3917
- s.push.apply(s, be(H.value, t, r, n, i));
3944
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3945
+ a.push.apply(a, ye(H.value, t, r, n, i));
3918
3946
  continue;
3919
3947
  }
3920
- if (er(h)) {
3921
- var H = h.options["=".concat(f)];
3948
+ if (rr(h)) {
3949
+ var H = h.options["=".concat(c)];
3922
3950
  if (!H) {
3923
3951
  if (!Intl.PluralRules)
3924
- throw new we(`Intl.PluralRules is not available in this environment.
3952
+ throw new Te(`Intl.PluralRules is not available in this environment.
3925
3953
  Try polyfilling it using "@formatjs/intl-pluralrules"
3926
- `, q.MISSING_INTL_API, a);
3927
- var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3928
- H = h.options[G] || h.options.other;
3954
+ `, Y.MISSING_INTL_API, s);
3955
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3956
+ H = h.options[L] || h.options.other;
3929
3957
  }
3930
3958
  if (!H)
3931
- throw new Tt(h.value, f, Object.keys(h.options), a);
3932
- s.push.apply(s, be(H.value, t, r, n, i, f - (h.offset || 0)));
3959
+ throw new Ht(h.value, c, Object.keys(h.options), s);
3960
+ a.push.apply(a, ye(H.value, t, r, n, i, c - (h.offset || 0)));
3933
3961
  continue;
3934
3962
  }
3935
3963
  }
3936
- return hi(s);
3964
+ return ci(a);
3937
3965
  }
3938
- function fi(e, t) {
3939
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3940
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3966
+ function di(e, t) {
3967
+ return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3968
+ return r[n] = _(_({}, e[n]), t[n] || {}), r;
3941
3969
  }, {})) : e;
3942
3970
  }
3943
- function di(e, t) {
3971
+ function pi(e, t) {
3944
3972
  return t ? Object.keys(e).reduce(function(r, n) {
3945
- return r[n] = fi(e[n], t[n]), r;
3946
- }, g({}, e)) : e;
3973
+ return r[n] = di(e[n], t[n]), r;
3974
+ }, _({}, e)) : e;
3947
3975
  }
3948
3976
  function Ne(e) {
3949
3977
  return {
@@ -3959,39 +3987,39 @@ function Ne(e) {
3959
3987
  }
3960
3988
  };
3961
3989
  }
3962
- function pi(e) {
3990
+ function mi(e) {
3963
3991
  return e === void 0 && (e = {
3964
3992
  number: {},
3965
3993
  dateTime: {},
3966
3994
  pluralRules: {}
3967
3995
  }), {
3968
- getNumberFormat: Ie(function() {
3996
+ getNumberFormat: Le(function() {
3969
3997
  for (var t, r = [], n = 0; n < arguments.length; n++)
3970
3998
  r[n] = arguments[n];
3971
- return new ((t = Intl.NumberFormat).bind.apply(t, Z([void 0], r, !1)))();
3999
+ return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
3972
4000
  }, {
3973
4001
  cache: Ne(e.number),
3974
- strategy: Le.variadic
4002
+ strategy: Me.variadic
3975
4003
  }),
3976
- getDateTimeFormat: Ie(function() {
4004
+ getDateTimeFormat: Le(function() {
3977
4005
  for (var t, r = [], n = 0; n < arguments.length; n++)
3978
4006
  r[n] = arguments[n];
3979
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Z([void 0], r, !1)))();
4007
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
3980
4008
  }, {
3981
4009
  cache: Ne(e.dateTime),
3982
- strategy: Le.variadic
4010
+ strategy: Me.variadic
3983
4011
  }),
3984
- getPluralRules: Ie(function() {
4012
+ getPluralRules: Le(function() {
3985
4013
  for (var t, r = [], n = 0; n < arguments.length; n++)
3986
4014
  r[n] = arguments[n];
3987
- return new ((t = Intl.PluralRules).bind.apply(t, Z([void 0], r, !1)))();
4015
+ return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
3988
4016
  }, {
3989
4017
  cache: Ne(e.pluralRules),
3990
- strategy: Le.variadic
4018
+ strategy: Me.variadic
3991
4019
  })
3992
4020
  };
3993
4021
  }
3994
- var mi = (
4022
+ var bi = (
3995
4023
  /** @class */
3996
4024
  function() {
3997
4025
  function e(t, r, n, i) {
@@ -4004,12 +4032,12 @@ var mi = (
4004
4032
  var u = o.formatToParts(l);
4005
4033
  if (u.length === 1)
4006
4034
  return u[0].value;
4007
- var h = u.reduce(function(c, f) {
4008
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4035
+ var h = u.reduce(function(f, c) {
4036
+ return !f.length || c.type !== B.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4009
4037
  }, []);
4010
4038
  return h.length <= 1 ? h[0] || "" : h;
4011
4039
  }, this.formatToParts = function(l) {
4012
- return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4040
+ return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4013
4041
  }, this.resolvedOptions = function() {
4014
4042
  var l;
4015
4043
  return {
@@ -4020,15 +4048,15 @@ var mi = (
4020
4048
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4021
4049
  if (this.message = t, !e.__parse)
4022
4050
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4023
- var a = i || {};
4024
- a.formatters;
4025
- var s = Zr(a, ["formatters"]);
4026
- this.ast = e.__parse(t, g(g({}, s), { locale: this.resolvedLocale }));
4051
+ var s = i || {};
4052
+ s.formatters;
4053
+ var a = Qr(s, ["formatters"]);
4054
+ this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
4027
4055
  } else
4028
4056
  this.ast = t;
4029
4057
  if (!Array.isArray(this.ast))
4030
4058
  throw new TypeError("A message must be provided as a String or AST.");
4031
- this.formats = di(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
4059
+ this.formats = pi(e.formats, n), this.formatters = i && i.formatters || mi(this.formatterCache);
4032
4060
  }
4033
4061
  return Object.defineProperty(e, "defaultLocale", {
4034
4062
  get: function() {
@@ -4041,7 +4069,7 @@ var mi = (
4041
4069
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4042
4070
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4043
4071
  }
4044
- }, e.__parse = ti, e.formats = {
4072
+ }, e.__parse = ri, e.formats = {
4045
4073
  number: {
4046
4074
  integer: {
4047
4075
  maximumFractionDigits: 0
@@ -4102,7 +4130,7 @@ var mi = (
4102
4130
  }, e;
4103
4131
  }()
4104
4132
  );
4105
- function bi(e, t) {
4133
+ function yi(e, t) {
4106
4134
  if (t == null)
4107
4135
  return;
4108
4136
  if (t in e)
@@ -4123,92 +4151,92 @@ function bi(e, t) {
4123
4151
  n = void 0;
4124
4152
  return n;
4125
4153
  }
4126
- const $ = {}, yi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
4154
+ const G = {}, gi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), pr = (e, t) => {
4127
4155
  if (t == null)
4128
4156
  return;
4129
- if (t in $ && e in $[t])
4130
- return $[t][e];
4131
- const r = Te(t);
4157
+ if (t in G && e in G[t])
4158
+ return G[t][e];
4159
+ const r = He(t);
4132
4160
  for (let n = 0; n < r.length; n++) {
4133
- const i = r[n], o = vi(i, e);
4161
+ const i = r[n], o = _i(i, e);
4134
4162
  if (o)
4135
- return yi(e, t, o);
4163
+ return gi(e, t, o);
4136
4164
  }
4137
4165
  };
4138
- let et;
4139
- const ae = Se({});
4140
- function gi(e) {
4141
- return et[e] || null;
4166
+ let tt;
4167
+ const ae = we({});
4168
+ function vi(e) {
4169
+ return tt[e] || null;
4142
4170
  }
4143
- function dr(e) {
4144
- return e in et;
4171
+ function mr(e) {
4172
+ return e in tt;
4145
4173
  }
4146
- function vi(e, t) {
4147
- if (!dr(e))
4174
+ function _i(e, t) {
4175
+ if (!mr(e))
4148
4176
  return null;
4149
- const r = gi(e);
4150
- return bi(r, t);
4177
+ const r = vi(e);
4178
+ return yi(r, t);
4151
4179
  }
4152
- function _i(e) {
4180
+ function Ei(e) {
4153
4181
  if (e == null)
4154
4182
  return;
4155
- const t = Te(e);
4183
+ const t = He(e);
4156
4184
  for (let r = 0; r < t.length; r++) {
4157
4185
  const n = t[r];
4158
- if (dr(n))
4186
+ if (mr(n))
4159
4187
  return n;
4160
4188
  }
4161
4189
  }
4162
- function Ei(e, ...t) {
4163
- delete $[e], ae.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
4190
+ function xi(e, ...t) {
4191
+ delete G[e], ae.update((r) => (r[e] = Hn.all([r[e] || {}, ...t]), r));
4164
4192
  }
4165
4193
  ee(
4166
4194
  [ae],
4167
4195
  ([e]) => Object.keys(e)
4168
4196
  );
4169
- ae.subscribe((e) => et = e);
4170
- const ye = {};
4171
- function xi(e, t) {
4172
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4197
+ ae.subscribe((e) => tt = e);
4198
+ const ge = {};
4199
+ function Si(e, t) {
4200
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4173
4201
  }
4174
- function pr(e) {
4175
- return ye[e];
4202
+ function br(e) {
4203
+ return ge[e];
4176
4204
  }
4177
- function Si(e) {
4178
- return Te(e).map((t) => {
4179
- const r = pr(t);
4205
+ function wi(e) {
4206
+ return He(e).map((t) => {
4207
+ const r = br(t);
4180
4208
  return [t, r ? [...r] : []];
4181
4209
  }).filter(([, t]) => t.length > 0);
4182
4210
  }
4183
- function Je(e) {
4184
- return e == null ? !1 : Te(e).some(
4211
+ function qe(e) {
4212
+ return e == null ? !1 : He(e).some(
4185
4213
  (t) => {
4186
4214
  var r;
4187
- return (r = pr(t)) == null ? void 0 : r.size;
4215
+ return (r = br(t)) == null ? void 0 : r.size;
4188
4216
  }
4189
4217
  );
4190
4218
  }
4191
- function wi(e, t) {
4219
+ function Ti(e, t) {
4192
4220
  return Promise.all(
4193
- t.map((n) => (xi(e, n), n().then((i) => i.default || i)))
4194
- ).then((n) => Ei(e, ...n));
4221
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4222
+ ).then((n) => xi(e, ...n));
4195
4223
  }
4196
4224
  const re = {};
4197
- function mr(e) {
4198
- if (!Je(e))
4225
+ function yr(e) {
4226
+ if (!qe(e))
4199
4227
  return e in re ? re[e] : Promise.resolve();
4200
- const t = Si(e);
4228
+ const t = wi(e);
4201
4229
  return re[e] = Promise.all(
4202
4230
  t.map(
4203
- ([r, n]) => wi(r, n)
4231
+ ([r, n]) => Ti(r, n)
4204
4232
  )
4205
4233
  ).then(() => {
4206
- if (Je(e))
4207
- return mr(e);
4234
+ if (qe(e))
4235
+ return yr(e);
4208
4236
  delete re[e];
4209
4237
  }), re[e];
4210
4238
  }
4211
- const Ti = {
4239
+ const Hi = {
4212
4240
  number: {
4213
4241
  scientific: { notation: "scientific" },
4214
4242
  engineering: { notation: "engineering" },
@@ -4237,100 +4265,100 @@ const Ti = {
4237
4265
  timeZoneName: "short"
4238
4266
  }
4239
4267
  }
4240
- }, Hi = {
4268
+ }, Bi = {
4241
4269
  fallbackLocale: null,
4242
4270
  loadingDelay: 200,
4243
- formats: Ti,
4271
+ formats: Hi,
4244
4272
  warnOnMissingMessages: !0,
4245
4273
  handleMissingMessage: void 0,
4246
4274
  ignoreTag: !0
4247
- }, Bi = Hi;
4248
- function Y() {
4249
- return Bi;
4275
+ }, Pi = Bi;
4276
+ function K() {
4277
+ return Pi;
4250
4278
  }
4251
- const Me = Se(!1);
4252
- var Pi = Object.defineProperty, Ai = Object.defineProperties, Oi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
4279
+ const Re = we(!1);
4280
+ var Ai = Object.defineProperty, Oi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4253
4281
  for (var r in t || (t = {}))
4254
- Ci.call(t, r) && Bt(e, r, t[r]);
4255
- if (Ht)
4256
- for (var r of Ht(t))
4257
- Ii.call(t, r) && Bt(e, r, t[r]);
4282
+ Ii.call(t, r) && Pt(e, r, t[r]);
4283
+ if (Bt)
4284
+ for (var r of Bt(t))
4285
+ Li.call(t, r) && Pt(e, r, t[r]);
4258
4286
  return e;
4259
- }, Ni = (e, t) => Ai(e, Oi(t));
4260
- let qe;
4261
- const ge = Se(null);
4262
- function Pt(e) {
4287
+ }, Ni = (e, t) => Oi(e, Ci(t));
4288
+ let Ye;
4289
+ const ve = we(null);
4290
+ function At(e) {
4263
4291
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4264
4292
  }
4265
- function Te(e, t = Y().fallbackLocale) {
4266
- const r = Pt(e);
4267
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4293
+ function He(e, t = K().fallbackLocale) {
4294
+ const r = At(e);
4295
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4268
4296
  }
4269
- function j() {
4270
- return qe != null ? qe : void 0;
4297
+ function V() {
4298
+ return Ye != null ? Ye : void 0;
4271
4299
  }
4272
- ge.subscribe((e) => {
4273
- qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4300
+ ve.subscribe((e) => {
4301
+ Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4274
4302
  });
4275
- const Mi = (e) => {
4276
- if (e && _i(e) && Je(e)) {
4277
- const { loadingDelay: t } = Y();
4303
+ const Ri = (e) => {
4304
+ if (e && Ei(e) && qe(e)) {
4305
+ const { loadingDelay: t } = K();
4278
4306
  let r;
4279
- return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4280
- () => Me.set(!0),
4307
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
4308
+ () => Re.set(!0),
4281
4309
  t
4282
- ) : Me.set(!0), mr(e).then(() => {
4283
- ge.set(e);
4310
+ ) : Re.set(!0), yr(e).then(() => {
4311
+ ve.set(e);
4284
4312
  }).finally(() => {
4285
- clearTimeout(r), Me.set(!1);
4313
+ clearTimeout(r), Re.set(!1);
4286
4314
  });
4287
4315
  }
4288
- return ge.set(e);
4289
- }, ue = Ni(Li({}, ge), {
4290
- set: Mi
4291
- }), He = (e) => {
4316
+ return ve.set(e);
4317
+ }, ue = Ni(Mi({}, ve), {
4318
+ set: Ri
4319
+ }), Be = (e) => {
4292
4320
  const t = /* @__PURE__ */ Object.create(null);
4293
4321
  return (n) => {
4294
4322
  const i = JSON.stringify(n);
4295
4323
  return i in t ? t[i] : t[i] = e(n);
4296
4324
  };
4297
4325
  };
4298
- var Ri = Object.defineProperty, ve = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4326
+ var $i = Object.defineProperty, _e = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4299
4327
  for (var r in t || (t = {}))
4300
- br.call(t, r) && At(e, r, t[r]);
4301
- if (ve)
4302
- for (var r of ve(t))
4303
- yr.call(t, r) && At(e, r, t[r]);
4328
+ gr.call(t, r) && Ot(e, r, t[r]);
4329
+ if (_e)
4330
+ for (var r of _e(t))
4331
+ vr.call(t, r) && Ot(e, r, t[r]);
4304
4332
  return e;
4305
4333
  }, te = (e, t) => {
4306
4334
  var r = {};
4307
4335
  for (var n in e)
4308
- br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4309
- if (e != null && ve)
4310
- for (var n of ve(e))
4311
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4336
+ gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4337
+ if (e != null && _e)
4338
+ for (var n of _e(e))
4339
+ t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4312
4340
  return r;
4313
4341
  };
4314
4342
  const se = (e, t) => {
4315
- const { formats: r } = Y();
4343
+ const { formats: r } = K();
4316
4344
  if (e in r && t in r[e])
4317
4345
  return r[e][t];
4318
4346
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4319
- }, $i = He(
4347
+ }, Di = Be(
4320
4348
  (e) => {
4321
4349
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4322
4350
  if (r == null)
4323
4351
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4324
4352
  return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4325
4353
  }
4326
- ), Di = He(
4354
+ ), Ui = Be(
4327
4355
  (e) => {
4328
4356
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4329
4357
  if (r == null)
4330
4358
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4331
4359
  return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4332
4360
  }
4333
- ), Ui = He(
4361
+ ), Gi = Be(
4334
4362
  (e) => {
4335
4363
  var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
4336
4364
  if (r == null)
@@ -4339,74 +4367,74 @@ const se = (e, t) => {
4339
4367
  );
4340
4368
  return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4341
4369
  }
4342
- ), Gi = (e = {}) => {
4370
+ ), Fi = (e = {}) => {
4343
4371
  var t = e, {
4344
- locale: r = j()
4372
+ locale: r = V()
4345
4373
  } = t, n = te(t, [
4346
4374
  "locale"
4347
4375
  ]);
4348
- return $i(tt({ locale: r }, n));
4349
- }, Fi = (e = {}) => {
4376
+ return Di(rt({ locale: r }, n));
4377
+ }, ji = (e = {}) => {
4350
4378
  var t = e, {
4351
- locale: r = j()
4379
+ locale: r = V()
4352
4380
  } = t, n = te(t, [
4353
4381
  "locale"
4354
4382
  ]);
4355
- return Di(tt({ locale: r }, n));
4356
- }, ji = (e = {}) => {
4383
+ return Ui(rt({ locale: r }, n));
4384
+ }, ki = (e = {}) => {
4357
4385
  var t = e, {
4358
- locale: r = j()
4386
+ locale: r = V()
4359
4387
  } = t, n = te(t, [
4360
4388
  "locale"
4361
4389
  ]);
4362
- return Ui(tt({ locale: r }, n));
4363
- }, ki = He(
4390
+ return Gi(rt({ locale: r }, n));
4391
+ }, Vi = Be(
4364
4392
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4365
- (e, t = j()) => new mi(e, t, Y().formats, {
4366
- ignoreTag: Y().ignoreTag
4393
+ (e, t = V()) => new bi(e, t, K().formats, {
4394
+ ignoreTag: K().ignoreTag
4367
4395
  })
4368
- ), Vi = (e, t = {}) => {
4396
+ ), Xi = (e, t = {}) => {
4369
4397
  var r, n, i, o;
4370
- let a = t;
4371
- typeof e == "object" && (a = e, e = a.id);
4398
+ let s = t;
4399
+ typeof e == "object" && (s = e, e = s.id);
4372
4400
  const {
4373
- values: s,
4374
- locale: l = j(),
4401
+ values: a,
4402
+ locale: l = V(),
4375
4403
  default: u
4376
- } = a;
4404
+ } = s;
4377
4405
  if (l == null)
4378
4406
  throw new Error(
4379
4407
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4380
4408
  );
4381
- let h = fr(e, l);
4409
+ let h = pr(e, l);
4382
4410
  if (!h)
4383
- h = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4411
+ h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4384
4412
  else if (typeof h != "string")
4385
4413
  return console.warn(
4386
4414
  `[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.`
4387
4415
  ), h;
4388
- if (!s)
4416
+ if (!a)
4389
4417
  return h;
4390
- let c = h;
4418
+ let f = h;
4391
4419
  try {
4392
- c = ki(h, l).format(s);
4393
- } catch (f) {
4394
- f instanceof Error && console.warn(
4420
+ f = Vi(h, l).format(a);
4421
+ } catch (c) {
4422
+ c instanceof Error && console.warn(
4395
4423
  `[svelte-i18n] Message "${e}" has syntax error:`,
4396
- f.message
4424
+ c.message
4397
4425
  );
4398
4426
  }
4399
- return c;
4400
- }, Xi = (e, t) => ji(t).format(e), zi = (e, t) => Fi(t).format(e), Wi = (e, t) => Gi(t).format(e), Zi = (e, t = j()) => fr(e, t), So = ee([ue, ae], () => Vi);
4401
- ee([ue], () => Xi);
4427
+ return f;
4428
+ }, zi = (e, t) => ki(t).format(e), Wi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = V()) => pr(e, t), Ho = ee([ue, ae], () => Xi);
4402
4429
  ee([ue], () => zi);
4403
4430
  ee([ue], () => Wi);
4404
- ee([ue, ae], () => Zi);
4405
- window.emWidgets = { topic: un };
4406
- 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)), Qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4407
- function wo(e, t) {
4431
+ ee([ue], () => Zi);
4432
+ ee([ue, ae], () => Qi);
4433
+ window.emWidgets = { topic: ln };
4434
+ 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)), Ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4435
+ function Bo(e, t) {
4408
4436
  const r = window.navigator.userAgent;
4409
- return gr(r) ? t = e.filter((n) => {
4437
+ return _r(r) ? t = e.filter((n) => {
4410
4438
  if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
4411
4439
  return n;
4412
4440
  }) : t = e.filter((n) => {
@@ -4426,7 +4454,7 @@ if (typeof window != "undefined") {
4426
4454
  }
4427
4455
  };
4428
4456
  };
4429
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-BHhY9ypY.js").then(({ default: t }) => {
4457
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-D1_fuwa2.js").then(({ default: t }) => {
4430
4458
  !customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
4431
4459
  });
4432
4460
  }
@@ -4442,216 +4470,216 @@ if (typeof window != "undefined") {
4442
4470
  }
4443
4471
  };
4444
4472
  };
4445
- customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DL8JD9pX.js").then(({ default: t }) => {
4473
+ customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem--qoA25VJ.js").then(({ default: t }) => {
4446
4474
  !customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
4447
4475
  });
4448
4476
  }
4449
- function Ji(e) {
4450
- Br(e, "svelte-1u5xzds", `.CasinoCalendarItem.svelte-1u5xzds{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-1u5xzds{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-1u5xzds{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1u5xzds{display:block;width:80px;height:80px;margin:0 auto
4477
+ function qi(e) {
4478
+ Ar(e, "svelte-1u5xzds", `.CasinoCalendarItem.svelte-1u5xzds{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-1u5xzds{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-1u5xzds{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-1u5xzds{display:block;width:80px;height:80px;margin:0 auto
4451
4479
  }.LoadingSpinner.svelte-1u5xzds:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:svelte-1u5xzds-LoadingSpinner 1.2s linear infinite}@keyframes svelte-1u5xzds-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
4452
4480
  }
4453
- function Ot(e, t, r) {
4481
+ function Ct(e, t, r) {
4454
4482
  const n = e.slice();
4455
4483
  return n[21] = t[r], n[23] = r, n;
4456
4484
  }
4457
- function qi(e) {
4458
- let t, r, n, i = lt(
4485
+ function Yi(e) {
4486
+ let t, r, n, i = ht(
4459
4487
  /*calendarCollections*/
4460
4488
  e[4]
4461
4489
  ), o = [];
4462
- for (let s = 0; s < i.length; s += 1)
4463
- o[s] = Ct(Ot(e, i, s));
4464
- let a = (
4490
+ for (let a = 0; a < i.length; a += 1)
4491
+ o[a] = It(Ct(e, i, a));
4492
+ let s = (
4465
4493
  /*calendarModalOpened*/
4466
- e[9] == !0 && It(e)
4494
+ e[9] == !0 && Lt(e)
4467
4495
  );
4468
4496
  return {
4469
4497
  c() {
4470
- t = B("div");
4471
- for (let s = 0; s < o.length; s += 1)
4472
- o[s].c();
4473
- r = Ir(), a && a.c(), L(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4498
+ t = I("div");
4499
+ for (let a = 0; a < o.length; a += 1)
4500
+ o[a].c();
4501
+ r = Mr(), s && s.c(), $(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
4474
4502
  (e[8] ? "Mobile" : "") + " svelte-1u5xzds");
4475
4503
  },
4476
- m(s, l) {
4477
- D(s, t, l);
4504
+ m(a, l) {
4505
+ F(a, t, l);
4478
4506
  for (let u = 0; u < o.length; u += 1)
4479
4507
  o[u] && o[u].m(t, null);
4480
- Ee(t, r), a && a.m(t, null);
4508
+ xe(t, r), s && s.m(t, null);
4481
4509
  },
4482
- p(s, l) {
4510
+ p(a, l) {
4483
4511
  if (l & /*calendarCollections, lang, clientstyling, clientstylingurl*/
4484
4512
  23) {
4485
- i = lt(
4513
+ i = ht(
4486
4514
  /*calendarCollections*/
4487
- s[4]
4515
+ a[4]
4488
4516
  );
4489
4517
  let u;
4490
4518
  for (u = 0; u < i.length; u += 1) {
4491
- const h = Ot(s, i, u);
4492
- o[u] ? o[u].p(h, l) : (o[u] = Ct(h), o[u].c(), o[u].m(t, r));
4519
+ const h = Ct(a, i, u);
4520
+ o[u] ? o[u].p(h, l) : (o[u] = It(h), o[u].c(), o[u].m(t, r));
4493
4521
  }
4494
4522
  for (; u < o.length; u += 1)
4495
4523
  o[u].d(1);
4496
4524
  o.length = i.length;
4497
4525
  }
4498
4526
  /*calendarModalOpened*/
4499
- s[9] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
4527
+ a[9] == !0 ? s ? s.p(a, l) : (s = Lt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), l & /*mobileView*/
4500
4528
  256 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
4501
- (s[8] ? "Mobile" : "") + " svelte-1u5xzds") && L(t, "class", n);
4529
+ (a[8] ? "Mobile" : "") + " svelte-1u5xzds") && $(t, "class", n);
4502
4530
  },
4503
- d(s) {
4504
- s && A(t), Or(o, s), a && a.d();
4531
+ d(a) {
4532
+ a && N(t), Ir(o, a), s && s.d();
4505
4533
  }
4506
4534
  };
4507
4535
  }
4508
- function Yi(e) {
4536
+ function Ki(e) {
4509
4537
  let t;
4510
4538
  return {
4511
4539
  c() {
4512
- t = B("div"), L(t, "class", "LoadingSpinner svelte-1u5xzds"), L(t, "part", "LoadingSpinner");
4540
+ t = I("div"), $(t, "class", "LoadingSpinner svelte-1u5xzds"), $(t, "part", "LoadingSpinner");
4513
4541
  },
4514
4542
  m(r, n) {
4515
- D(r, t, n);
4543
+ F(r, t, n);
4516
4544
  },
4517
- p: w,
4545
+ p: P,
4518
4546
  d(r) {
4519
- r && A(t);
4547
+ r && N(t);
4520
4548
  }
4521
4549
  };
4522
4550
  }
4523
- function Ki(e) {
4551
+ function eo(e) {
4524
4552
  let t;
4525
4553
  return {
4526
4554
  c() {
4527
- t = B("p"), t.textContent = "500 Error - Internal Server Error", L(t, "class", "SearchLoading"), L(t, "part", "SearchLoading");
4555
+ t = I("p"), t.textContent = "500 Error - Internal Server Error", $(t, "class", "SearchLoading"), $(t, "part", "SearchLoading");
4528
4556
  },
4529
4557
  m(r, n) {
4530
- D(r, t, n);
4558
+ F(r, t, n);
4531
4559
  },
4532
- p: w,
4560
+ p: P,
4533
4561
  d(r) {
4534
- r && A(t);
4562
+ r && N(t);
4535
4563
  }
4536
4564
  };
4537
4565
  }
4538
- function Ct(e) {
4539
- let t, r, n, i, o, a;
4566
+ function It(e) {
4567
+ let t, r, n, i, o, s;
4540
4568
  return {
4541
4569
  c() {
4542
- t = B("casino-calendar-daily-item"), m(t, "dailybackground", r = /*dailyCalendarData*/
4543
- e[21].dailyBackground), m(t, "dailyicon", n = /*dailyCalendarData*/
4544
- e[21].dailyIcon), m(t, "dailyday", i = /*dailyCalendarData*/
4545
- e[21].dailyDay), m(t, "dailydescription", o = /*dailyCalendarData*/
4546
- e[21].dailyDescription), m(t, "dailybuttontitle", a = /*dailyCalendarData*/
4547
- e[21].dailyButtonTitle), m(
4570
+ t = I("casino-calendar-daily-item"), y(t, "dailybackground", r = /*dailyCalendarData*/
4571
+ e[21].dailyBackground), y(t, "dailyicon", n = /*dailyCalendarData*/
4572
+ e[21].dailyIcon), y(t, "dailyday", i = /*dailyCalendarData*/
4573
+ e[21].dailyDay), y(t, "dailydescription", o = /*dailyCalendarData*/
4574
+ e[21].dailyDescription), y(t, "dailybuttontitle", s = /*dailyCalendarData*/
4575
+ e[21].dailyButtonTitle), y(
4548
4576
  t,
4549
4577
  "index",
4550
4578
  /*index*/
4551
4579
  e[23]
4552
- ), m(
4580
+ ), y(
4553
4581
  t,
4554
4582
  "lang",
4555
4583
  /*lang*/
4556
4584
  e[0]
4557
- ), m(
4585
+ ), y(
4558
4586
  t,
4559
4587
  "clientstyling",
4560
4588
  /*clientstyling*/
4561
4589
  e[1]
4562
- ), m(
4590
+ ), y(
4563
4591
  t,
4564
4592
  "clientstylingurl",
4565
4593
  /*clientstylingurl*/
4566
4594
  e[2]
4567
4595
  );
4568
4596
  },
4569
- m(s, l) {
4570
- D(s, t, l);
4597
+ m(a, l) {
4598
+ F(a, t, l);
4571
4599
  },
4572
- p(s, l) {
4600
+ p(a, l) {
4573
4601
  l & /*calendarCollections*/
4574
4602
  16 && r !== (r = /*dailyCalendarData*/
4575
- s[21].dailyBackground) && m(t, "dailybackground", r), l & /*calendarCollections*/
4603
+ a[21].dailyBackground) && y(t, "dailybackground", r), l & /*calendarCollections*/
4576
4604
  16 && n !== (n = /*dailyCalendarData*/
4577
- s[21].dailyIcon) && m(t, "dailyicon", n), l & /*calendarCollections*/
4605
+ a[21].dailyIcon) && y(t, "dailyicon", n), l & /*calendarCollections*/
4578
4606
  16 && i !== (i = /*dailyCalendarData*/
4579
- s[21].dailyDay) && m(t, "dailyday", i), l & /*calendarCollections*/
4607
+ a[21].dailyDay) && y(t, "dailyday", i), l & /*calendarCollections*/
4580
4608
  16 && o !== (o = /*dailyCalendarData*/
4581
- s[21].dailyDescription) && m(t, "dailydescription", o), l & /*calendarCollections*/
4582
- 16 && a !== (a = /*dailyCalendarData*/
4583
- s[21].dailyButtonTitle) && m(t, "dailybuttontitle", a), l & /*lang*/
4584
- 1 && m(
4609
+ a[21].dailyDescription) && y(t, "dailydescription", o), l & /*calendarCollections*/
4610
+ 16 && s !== (s = /*dailyCalendarData*/
4611
+ a[21].dailyButtonTitle) && y(t, "dailybuttontitle", s), l & /*lang*/
4612
+ 1 && y(
4585
4613
  t,
4586
4614
  "lang",
4587
4615
  /*lang*/
4588
- s[0]
4616
+ a[0]
4589
4617
  ), l & /*clientstyling*/
4590
- 2 && m(
4618
+ 2 && y(
4591
4619
  t,
4592
4620
  "clientstyling",
4593
4621
  /*clientstyling*/
4594
- s[1]
4622
+ a[1]
4595
4623
  ), l & /*clientstylingurl*/
4596
- 4 && m(
4624
+ 4 && y(
4597
4625
  t,
4598
4626
  "clientstylingurl",
4599
4627
  /*clientstylingurl*/
4600
- s[2]
4628
+ a[2]
4601
4629
  );
4602
4630
  },
4603
- d(s) {
4604
- s && A(t);
4631
+ d(a) {
4632
+ a && N(t);
4605
4633
  }
4606
4634
  };
4607
4635
  }
4608
- function It(e) {
4609
- let t, r, n, i, o, a, s, l;
4636
+ function Lt(e) {
4637
+ let t, r, n, i, o, s, a, l;
4610
4638
  return {
4611
4639
  c() {
4612
- t = B("div"), r = B("casino-calendar-daily-details"), m(r, "dailybackground", n = /*calendarCollections*/
4640
+ t = I("div"), r = I("casino-calendar-daily-details"), y(r, "dailybackground", n = /*calendarCollections*/
4613
4641
  e[4][
4614
4642
  /*selectedIndex*/
4615
4643
  e[5]
4616
- ].dailyBackground), m(r, "dailybuttontitle", i = /*calendarCollections*/
4644
+ ].dailyBackground), y(r, "dailybuttontitle", i = /*calendarCollections*/
4617
4645
  e[4][
4618
4646
  /*selectedIndex*/
4619
4647
  e[5]
4620
- ].dailyButtonTitle), m(r, "dailyday", o = /*calendarCollections*/
4648
+ ].dailyButtonTitle), y(r, "dailyday", o = /*calendarCollections*/
4621
4649
  e[4][
4622
4650
  /*selectedIndex*/
4623
4651
  e[5]
4624
- ].dailyDay), m(r, "dailydescription", a = /*calendarCollections*/
4652
+ ].dailyDay), y(r, "dailydescription", s = /*calendarCollections*/
4625
4653
  e[4][
4626
4654
  /*selectedIndex*/
4627
4655
  e[5]
4628
- ].dailyDescription), m(r, "dailyicon", s = /*calendarCollections*/
4656
+ ].dailyDescription), y(r, "dailyicon", a = /*calendarCollections*/
4629
4657
  e[4][
4630
4658
  /*selectedIndex*/
4631
4659
  e[5]
4632
- ].dailyIcon), m(r, "dailytitle", l = /*calendarCollections*/
4660
+ ].dailyIcon), y(r, "dailytitle", l = /*calendarCollections*/
4633
4661
  e[4][
4634
4662
  /*selectedIndex*/
4635
4663
  e[5]
4636
- ].dailyTitle), m(
4664
+ ].dailyTitle), y(
4637
4665
  r,
4638
4666
  "lang",
4639
4667
  /*lang*/
4640
4668
  e[0]
4641
- ), m(
4669
+ ), y(
4642
4670
  r,
4643
4671
  "clientstyling",
4644
4672
  /*clientstyling*/
4645
4673
  e[1]
4646
- ), m(
4674
+ ), y(
4647
4675
  r,
4648
4676
  "clientstylingurl",
4649
4677
  /*clientstylingurl*/
4650
4678
  e[2]
4651
- ), L(t, "class", "CalendarDetailsWrapper svelte-1u5xzds");
4679
+ ), $(t, "class", "CalendarDetailsWrapper svelte-1u5xzds");
4652
4680
  },
4653
4681
  m(u, h) {
4654
- D(u, t, h), Ee(t, r);
4682
+ F(u, t, h), xe(t, r);
4655
4683
  },
4656
4684
  p(u, h) {
4657
4685
  h & /*calendarCollections, selectedIndex*/
@@ -4659,45 +4687,45 @@ function It(e) {
4659
4687
  u[4][
4660
4688
  /*selectedIndex*/
4661
4689
  u[5]
4662
- ].dailyBackground) && m(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4690
+ ].dailyBackground) && y(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
4663
4691
  48 && i !== (i = /*calendarCollections*/
4664
4692
  u[4][
4665
4693
  /*selectedIndex*/
4666
4694
  u[5]
4667
- ].dailyButtonTitle) && m(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4695
+ ].dailyButtonTitle) && y(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
4668
4696
  48 && o !== (o = /*calendarCollections*/
4669
4697
  u[4][
4670
4698
  /*selectedIndex*/
4671
4699
  u[5]
4672
- ].dailyDay) && m(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4673
- 48 && a !== (a = /*calendarCollections*/
4700
+ ].dailyDay) && y(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
4701
+ 48 && s !== (s = /*calendarCollections*/
4674
4702
  u[4][
4675
4703
  /*selectedIndex*/
4676
4704
  u[5]
4677
- ].dailyDescription) && m(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
4678
- 48 && s !== (s = /*calendarCollections*/
4705
+ ].dailyDescription) && y(r, "dailydescription", s), h & /*calendarCollections, selectedIndex*/
4706
+ 48 && a !== (a = /*calendarCollections*/
4679
4707
  u[4][
4680
4708
  /*selectedIndex*/
4681
4709
  u[5]
4682
- ].dailyIcon) && m(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
4710
+ ].dailyIcon) && y(r, "dailyicon", a), h & /*calendarCollections, selectedIndex*/
4683
4711
  48 && l !== (l = /*calendarCollections*/
4684
4712
  u[4][
4685
4713
  /*selectedIndex*/
4686
4714
  u[5]
4687
- ].dailyTitle) && m(r, "dailytitle", l), h & /*lang*/
4688
- 1 && m(
4715
+ ].dailyTitle) && y(r, "dailytitle", l), h & /*lang*/
4716
+ 1 && y(
4689
4717
  r,
4690
4718
  "lang",
4691
4719
  /*lang*/
4692
4720
  u[0]
4693
4721
  ), h & /*clientstyling*/
4694
- 2 && m(
4722
+ 2 && y(
4695
4723
  r,
4696
4724
  "clientstyling",
4697
4725
  /*clientstyling*/
4698
4726
  u[1]
4699
4727
  ), h & /*clientstylingurl*/
4700
- 4 && m(
4728
+ 4 && y(
4701
4729
  r,
4702
4730
  "clientstylingurl",
4703
4731
  /*clientstylingurl*/
@@ -4705,83 +4733,83 @@ function It(e) {
4705
4733
  );
4706
4734
  },
4707
4735
  d(u) {
4708
- u && A(t);
4736
+ u && N(t);
4709
4737
  }
4710
4738
  };
4711
4739
  }
4712
- function eo(e) {
4740
+ function to(e) {
4713
4741
  let t;
4714
- function r(o, a) {
4715
- var s;
4742
+ function r(o, s) {
4743
+ var a;
4716
4744
  if (
4717
4745
  /*hasErrors*/
4718
4746
  o[7]
4719
- ) return Ki;
4747
+ ) return eo;
4720
4748
  if (
4721
4749
  /*isLoading*/
4722
4750
  o[6]
4723
- ) return Yi;
4751
+ ) return Ki;
4724
4752
  if (
4725
4753
  /*calendarCollections*/
4726
- (s = o[4]) != null && s.length
4727
- ) return qi;
4754
+ (a = o[4]) != null && a.length
4755
+ ) return Yi;
4728
4756
  }
4729
4757
  let n = r(e), i = n && n(e);
4730
4758
  return {
4731
4759
  c() {
4732
- t = B("div"), i && i.c();
4760
+ t = I("div"), i && i.c();
4733
4761
  },
4734
- m(o, a) {
4735
- D(o, t, a), i && i.m(t, null), e[13](t);
4762
+ m(o, s) {
4763
+ F(o, t, s), i && i.m(t, null), e[13](t);
4736
4764
  },
4737
- p(o, [a]) {
4738
- n === (n = r(o)) && i ? i.p(o, a) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4765
+ p(o, [s]) {
4766
+ n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
4739
4767
  },
4740
- i: w,
4741
- o: w,
4768
+ i: P,
4769
+ o: P,
4742
4770
  d(o) {
4743
- o && A(t), i && i.d(), e[13](null);
4771
+ o && N(t), i && i.d(), e[13](null);
4744
4772
  }
4745
4773
  };
4746
4774
  }
4747
- function to(e, t, r) {
4748
- let { cmsendpoint: n = "" } = t, { env: i = "" } = t, { userroles: o = "" } = t, { lang: a = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: l = "" } = t, u, h, c = 0, f = !0, y = !1, _ = !1, v = window.navigator.userAgent, T = !1;
4749
- const U = () => {
4750
- r(6, f = !0);
4751
- let d = new URL(`${n}/${a}/daily-calendar`);
4775
+ function ro(e, t, r) {
4776
+ let { cmsendpoint: n = "" } = t, { env: i = "" } = t, { userroles: o = "" } = t, { lang: s = "en" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, u, h, f = 0, c = !0, p = !1, m = !1, v = window.navigator.userAgent, w = !1;
4777
+ const C = () => {
4778
+ r(6, c = !0);
4779
+ let d = new URL(`${n}/${s}/daily-calendar`);
4752
4780
  d.searchParams.append("userRoles", o), d.searchParams.append("env", i);
4753
- let P = Qi(v);
4754
- P && (P === "PC" ? d.searchParams.append("device", "dk") : P === "iPad" || P === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((C) => C.json()).then((C) => {
4755
- r(4, h = C);
4756
- }).catch((C) => {
4757
- console.log(C), r(7, y = !0);
4781
+ let x = Ji(v);
4782
+ x && (x === "PC" ? d.searchParams.append("device", "dk") : x === "iPad" || x === "iPhone" ? d.searchParams.append("device", "ios") : d.searchParams.append("device", "mtWeb")), fetch(d.href).then((S) => S.json()).then((S) => {
4783
+ r(4, h = S);
4784
+ }).catch((S) => {
4785
+ console.log(S), r(7, p = !0);
4758
4786
  }).finally(() => {
4759
- r(6, f = !1);
4787
+ r(6, c = !1);
4760
4788
  });
4761
- }, M = () => {
4762
- U();
4789
+ }, A = () => {
4790
+ C();
4763
4791
  }, H = (d) => {
4764
- var P;
4765
- d.data && d.data.type == "OpenCalendar" && (r(5, c = d.data.index), r(9, T = !0), window.postMessage(
4792
+ var x;
4793
+ d.data && d.data.type == "OpenCalendar" && (r(5, f = d.data.index), r(9, w = !0), window.postMessage(
4766
4794
  {
4767
4795
  type: "ShowModal",
4768
- selectedIndex: c,
4796
+ selectedIndex: f,
4769
4797
  identifier: "Calendar"
4770
4798
  },
4771
4799
  window.location.href
4772
4800
  ), window.postMessage({
4773
4801
  type: "DailyEventsData",
4774
- data: (P = h[c]) == null ? void 0 : P.dailyEvents
4775
- })), d.data && d.data.type == "ModalClosed" && r(9, T = !1);
4776
- }, G = () => {
4802
+ data: (x = h[f]) == null ? void 0 : x.dailyEvents
4803
+ })), d.data && d.data.type == "ModalClosed" && r(9, w = !1);
4804
+ }, L = () => {
4777
4805
  let d = document.createElement("style");
4778
- d.innerHTML = s, u.appendChild(d);
4806
+ d.innerHTML = a, u.appendChild(d);
4779
4807
  }, O = () => {
4780
- let d = new URL(l), P = document.createElement("style");
4781
- fetch(d.href).then((C) => C.text()).then((C) => {
4782
- P.innerHTML = C, setTimeout(
4808
+ let d = new URL(l), x = document.createElement("style");
4809
+ fetch(d.href).then((S) => S.text()).then((S) => {
4810
+ x.innerHTML = S, setTimeout(
4783
4811
  () => {
4784
- u.appendChild(P);
4812
+ u.appendChild(x);
4785
4813
  },
4786
4814
  1
4787
4815
  ), setTimeout(
@@ -4791,45 +4819,45 @@ function to(e, t, r) {
4791
4819
  );
4792
4820
  });
4793
4821
  };
4794
- $r(() => (window.addEventListener("message", H, !1), gr(v) && r(8, _ = !0), () => {
4822
+ Ur(() => (window.addEventListener("message", H, !1), _r(v) && r(8, m = !0), () => {
4795
4823
  window.removeEventListener("message", H);
4796
4824
  }));
4797
- function k(d) {
4798
- Re[d ? "unshift" : "push"](() => {
4825
+ function M(d) {
4826
+ $e[d ? "unshift" : "push"](() => {
4799
4827
  u = d, r(3, u);
4800
4828
  });
4801
4829
  }
4802
4830
  return e.$$set = (d) => {
4803
- "cmsendpoint" in d && r(10, n = d.cmsendpoint), "env" in d && r(11, i = d.env), "userroles" in d && r(12, o = d.userroles), "lang" in d && r(0, a = d.lang), "clientstyling" in d && r(1, s = d.clientstyling), "clientstylingurl" in d && r(2, l = d.clientstylingurl);
4831
+ "cmsendpoint" in d && r(10, n = d.cmsendpoint), "env" in d && r(11, i = d.env), "userroles" in d && r(12, o = d.userroles), "lang" in d && r(0, s = d.lang), "clientstyling" in d && r(1, a = d.clientstyling), "clientstylingurl" in d && r(2, l = d.clientstylingurl);
4804
4832
  }, e.$$.update = () => {
4805
4833
  e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
4806
- 7169 && n && a && i && o && M(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4807
- 10 && s && u && G(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4834
+ 7169 && n && s && i && o && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4835
+ 10 && a && u && L(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4808
4836
  12 && l && u && O();
4809
4837
  }, [
4810
- a,
4811
4838
  s,
4839
+ a,
4812
4840
  l,
4813
4841
  u,
4814
4842
  h,
4815
- c,
4816
4843
  f,
4817
- y,
4818
- _,
4819
- T,
4844
+ c,
4845
+ p,
4846
+ m,
4847
+ w,
4820
4848
  n,
4821
4849
  i,
4822
4850
  o,
4823
- k
4851
+ M
4824
4852
  ];
4825
4853
  }
4826
- class vr extends zr {
4854
+ class Er extends Wr {
4827
4855
  constructor(t) {
4828
- super(), Vr(
4856
+ super(), Xr(
4829
4857
  this,
4830
4858
  t,
4859
+ ro,
4831
4860
  to,
4832
- eo,
4833
4861
  Nt,
4834
4862
  {
4835
4863
  cmsendpoint: 10,
@@ -4839,102 +4867,104 @@ class vr extends zr {
4839
4867
  clientstyling: 1,
4840
4868
  clientstylingurl: 2
4841
4869
  },
4842
- Ji
4870
+ qi
4843
4871
  );
4844
4872
  }
4845
4873
  get cmsendpoint() {
4846
4874
  return this.$$.ctx[10];
4847
4875
  }
4848
4876
  set cmsendpoint(t) {
4849
- this.$$set({ cmsendpoint: t }), R();
4877
+ this.$$set({ cmsendpoint: t }), U();
4850
4878
  }
4851
4879
  get env() {
4852
4880
  return this.$$.ctx[11];
4853
4881
  }
4854
4882
  set env(t) {
4855
- this.$$set({ env: t }), R();
4883
+ this.$$set({ env: t }), U();
4856
4884
  }
4857
4885
  get userroles() {
4858
4886
  return this.$$.ctx[12];
4859
4887
  }
4860
4888
  set userroles(t) {
4861
- this.$$set({ userroles: t }), R();
4889
+ this.$$set({ userroles: t }), U();
4862
4890
  }
4863
4891
  get lang() {
4864
4892
  return this.$$.ctx[0];
4865
4893
  }
4866
4894
  set lang(t) {
4867
- this.$$set({ lang: t }), R();
4895
+ this.$$set({ lang: t }), U();
4868
4896
  }
4869
4897
  get clientstyling() {
4870
4898
  return this.$$.ctx[1];
4871
4899
  }
4872
4900
  set clientstyling(t) {
4873
- this.$$set({ clientstyling: t }), R();
4901
+ this.$$set({ clientstyling: t }), U();
4874
4902
  }
4875
4903
  get clientstylingurl() {
4876
4904
  return this.$$.ctx[2];
4877
4905
  }
4878
4906
  set clientstylingurl(t) {
4879
- this.$$set({ clientstylingurl: t }), R();
4907
+ this.$$set({ clientstylingurl: t }), U();
4880
4908
  }
4881
4909
  }
4882
- Xr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4883
- const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4910
+ zr(Er, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4911
+ const Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4884
4912
  __proto__: null,
4885
- default: vr
4913
+ default: Er
4886
4914
  }, Symbol.toStringTag, { value: "Module" }));
4887
4915
  export {
4888
4916
  ue as $,
4889
- fo as A,
4890
- Or as B,
4891
- w as C,
4892
- no as D,
4893
- Cr as E,
4894
- ho as F,
4895
- mo as G,
4896
- go as H,
4897
- Ei as I,
4898
- io as J,
4899
- De as K,
4900
- bo as L,
4901
- K as M,
4902
- So as N,
4903
- co as O,
4904
- m as P,
4905
- Qi as Q,
4906
- po as R,
4907
- zr as S,
4908
- yo as T,
4909
- vo as U,
4910
- wo as V,
4911
- lo as W,
4912
- _e as X,
4913
- To as Y,
4917
+ po as A,
4918
+ Ir as B,
4919
+ P as C,
4920
+ io as D,
4921
+ Lr as E,
4922
+ co as F,
4923
+ bo as G,
4924
+ vo as H,
4925
+ xi as I,
4926
+ oo as J,
4927
+ Ue as K,
4928
+ yo as L,
4929
+ k as M,
4930
+ Ho as N,
4931
+ fo as O,
4932
+ y as P,
4933
+ Ji as Q,
4934
+ mo as R,
4935
+ Wr as S,
4936
+ go as T,
4937
+ _o as U,
4938
+ Bo as V,
4939
+ To as W,
4940
+ wo as X,
4941
+ ho as Y,
4942
+ Ee as Z,
4943
+ Po as _,
4914
4944
  ae as a,
4915
- Br as b,
4916
- Xr as c,
4917
- D as d,
4918
- B as e,
4919
- R as f,
4920
- Eo as g,
4921
- Gr as h,
4922
- Vr as i,
4923
- A as j,
4924
- _o as k,
4925
- gr as l,
4926
- Re as m,
4927
- oo as n,
4928
- $r as o,
4929
- lt as p,
4930
- Ir as q,
4931
- $t as r,
4945
+ Ar as b,
4946
+ zr as c,
4947
+ F as d,
4948
+ I as e,
4949
+ U as f,
4950
+ xo as g,
4951
+ Ft as h,
4952
+ Xr as i,
4953
+ N as j,
4954
+ Eo as k,
4955
+ _r as l,
4956
+ $e as m,
4957
+ so as n,
4958
+ Ur as o,
4959
+ ht as p,
4960
+ Mr as q,
4961
+ Dt as r,
4932
4962
  Nt as s,
4933
- xo as t,
4934
- L as u,
4935
- Ee as v,
4936
- at as w,
4937
- ao as x,
4938
- uo as y,
4939
- so as z
4963
+ So as t,
4964
+ $ as u,
4965
+ xe as v,
4966
+ ut as w,
4967
+ uo as x,
4968
+ lo as y,
4969
+ ao as z
4940
4970
  };