@everymatrix/player-account-gaming-limits-group-edit 1.76.1 → 1.76.4

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 (18) hide show
  1. package/components/{PlayerAccountGamingLimitsConfirmationModal-YHKBhTQY.js → PlayerAccountGamingLimitsConfirmationModal-CcypFBEg.js} +1488 -1467
  2. package/components/PlayerAccountGamingLimitsConfirmationModal-DPlt6mFk.cjs +21 -0
  3. package/components/{PlayerAccountGamingLimitsConfirmationModal-AL7PieRc.js → PlayerAccountGamingLimitsConfirmationModal-knclXBnO.js} +1503 -1482
  4. package/components/{PlayerAccountGamingLimitsGroupEdit-BWKMuoEc.js → PlayerAccountGamingLimitsGroupEdit-Bj64v19X.js} +49 -51
  5. package/components/{PlayerAccountGamingLimitsGroupEdit-UARqHqfV.js → PlayerAccountGamingLimitsGroupEdit-CWy0VE0e.js} +47 -49
  6. package/components/PlayerAccountGamingLimitsGroupEdit-MbTaZ7rO.cjs +1 -0
  7. package/components/{PlayerAccountGamingLimitsPopup-D1tvMy40.js → PlayerAccountGamingLimitsPopup-55-IEbr5.js} +42 -42
  8. package/components/{PlayerAccountGamingLimitsPopup-Bs4BiL4I.js → PlayerAccountGamingLimitsPopup-BMYkuQKt.js} +39 -39
  9. package/components/{PlayerAccountGamingLimitsPopup-B5Q5hoHt.cjs → PlayerAccountGamingLimitsPopup-BhlhhddY.cjs} +1 -1
  10. package/components/{PlayerAccountModal-C5ZTAAQs.js → PlayerAccountModal-CHdyT8ES.js} +26 -26
  11. package/components/{PlayerAccountModal-BoAEKlyU.cjs → PlayerAccountModal-DD4JQR4E.cjs} +1 -1
  12. package/components/{PlayerAccountModal-CNeDzB40.js → PlayerAccountModal-Fz0yTv_L.js} +26 -26
  13. package/es2015/player-account-gaming-limits-group-edit.cjs +1 -1
  14. package/es2015/player-account-gaming-limits-group-edit.js +1 -1
  15. package/esnext/player-account-gaming-limits-group-edit.js +1 -1
  16. package/package.json +1 -1
  17. package/components/PlayerAccountGamingLimitsConfirmationModal-B2vkjnwF.cjs +0 -21
  18. package/components/PlayerAccountGamingLimitsGroupEdit-C0NlGVyK.cjs +0 -1
@@ -1,354 +1,354 @@
1
- function O() {
1
+ function L() {
2
2
  }
3
- const Tr = (e) => e;
4
- function Hr(e, t) {
5
- for (const r in t)
6
- e[r] = t[r];
3
+ const Hr = (t) => t;
4
+ function Cr(t, e) {
5
+ for (const r in e)
6
+ t[r] = e[r];
7
7
  return (
8
8
  /** @type {T & S} */
9
- e
9
+ t
10
10
  );
11
11
  }
12
- function $t(e) {
13
- return e();
12
+ function Ge(t) {
13
+ return t();
14
14
  }
15
- function lt() {
15
+ function ce() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function U(e) {
19
- e.forEach($t);
18
+ function U(t) {
19
+ t.forEach(Ge);
20
20
  }
21
- function Ee(e) {
22
- return typeof e == "function";
21
+ function wt(t) {
22
+ return typeof t == "function";
23
23
  }
24
- function Rt(e, t) {
25
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
+ function Ue(t, e) {
25
+ return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
26
26
  }
27
- function Cr(e) {
28
- return Object.keys(e).length === 0;
27
+ function Br(t) {
28
+ return Object.keys(t).length === 0;
29
29
  }
30
- function Gt(e, ...t) {
31
- if (e == null) {
32
- for (const n of t)
30
+ function De(t, ...e) {
31
+ if (t == null) {
32
+ for (const n of e)
33
33
  n(void 0);
34
- return O;
34
+ return L;
35
35
  }
36
- const r = e.subscribe(...t);
36
+ const r = t.subscribe(...e);
37
37
  return r.unsubscribe ? () => r.unsubscribe() : r;
38
38
  }
39
- function Br(e, t, r) {
40
- e.$$.on_destroy.push(Gt(t, r));
39
+ function Ar(t, e, r) {
40
+ t.$$.on_destroy.push(De(e, r));
41
41
  }
42
- function Ar(e, t, r, n) {
43
- if (e) {
44
- const i = Ut(e, t, r, n);
45
- return e[0](i);
42
+ function Pr(t, e, r, n) {
43
+ if (t) {
44
+ const i = Fe(t, e, r, n);
45
+ return t[0](i);
46
46
  }
47
47
  }
48
- function Ut(e, t, r, n) {
49
- return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
48
+ function Fe(t, e, r, n) {
49
+ return t[1] && n ? Cr(r.ctx.slice(), t[1](n(e))) : r.ctx;
50
50
  }
51
- function Pr(e, t, r, n) {
52
- if (e[2] && n) {
53
- const i = e[2](n(r));
54
- if (t.dirty === void 0)
51
+ function Or(t, e, r, n) {
52
+ if (t[2] && n) {
53
+ const i = t[2](n(r));
54
+ if (e.dirty === void 0)
55
55
  return i;
56
56
  if (typeof i == "object") {
57
- const o = [], a = Math.max(t.dirty.length, i.length);
57
+ const o = [], a = Math.max(e.dirty.length, i.length);
58
58
  for (let s = 0; s < a; s += 1)
59
- o[s] = t.dirty[s] | i[s];
59
+ o[s] = e.dirty[s] | i[s];
60
60
  return o;
61
61
  }
62
- return t.dirty | i;
62
+ return e.dirty | i;
63
63
  }
64
- return t.dirty;
64
+ return e.dirty;
65
65
  }
66
- function Lr(e, t, r, n, i, o) {
66
+ function Lr(t, e, r, n, i, o) {
67
67
  if (i) {
68
- const a = Ut(t, r, n, o);
69
- e.p(a, i);
68
+ const a = Fe(e, r, n, o);
69
+ t.p(a, i);
70
70
  }
71
71
  }
72
- function Or(e) {
73
- if (e.ctx.length > 32) {
74
- const t = [], r = e.ctx.length / 32;
72
+ function Ir(t) {
73
+ if (t.ctx.length > 32) {
74
+ const e = [], r = t.ctx.length / 32;
75
75
  for (let n = 0; n < r; n++)
76
- t[n] = -1;
77
- return t;
76
+ e[n] = -1;
77
+ return e;
78
78
  }
79
79
  return -1;
80
80
  }
81
- const Dt = typeof window < "u";
82
- let Ir = Dt ? () => window.performance.now() : () => Date.now(), tt = Dt ? (e) => requestAnimationFrame(e) : O;
81
+ const je = typeof window < "u";
82
+ let Mr = je ? () => window.performance.now() : () => Date.now(), oe = je ? (t) => requestAnimationFrame(t) : L;
83
83
  const X = /* @__PURE__ */ new Set();
84
- function Ft(e) {
85
- X.forEach((t) => {
86
- t.c(e) || (X.delete(t), t.f());
87
- }), X.size !== 0 && tt(Ft);
88
- }
89
- function Mr(e) {
90
- let t;
91
- return X.size === 0 && tt(Ft), {
84
+ function ke(t) {
85
+ X.forEach((e) => {
86
+ e.c(t) || (X.delete(e), e.f());
87
+ }), X.size !== 0 && oe(ke);
88
+ }
89
+ function Nr(t) {
90
+ let e;
91
+ return X.size === 0 && oe(ke), {
92
92
  promise: new Promise((r) => {
93
- X.add(t = { c: e, f: r });
93
+ X.add(e = { c: t, f: r });
94
94
  }),
95
95
  abort() {
96
- X.delete(t);
96
+ X.delete(e);
97
97
  }
98
98
  };
99
99
  }
100
- function P(e, t) {
101
- e.appendChild(t);
100
+ function P(t, e) {
101
+ t.appendChild(e);
102
102
  }
103
- function Nr(e, t, r) {
104
- const n = rt(e);
105
- if (!n.getElementById(t)) {
103
+ function $r(t, e, r) {
104
+ const n = se(t);
105
+ if (!n.getElementById(e)) {
106
106
  const i = I("style");
107
- i.id = t, i.textContent = r, jt(n, i);
107
+ i.id = e, i.textContent = r, Ve(n, i);
108
108
  }
109
109
  }
110
- function rt(e) {
111
- if (!e)
110
+ function se(t) {
111
+ if (!t)
112
112
  return document;
113
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
114
- return t && /** @type {ShadowRoot} */
115
- t.host ? (
113
+ const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
114
+ return e && /** @type {ShadowRoot} */
115
+ e.host ? (
116
116
  /** @type {ShadowRoot} */
117
- t
118
- ) : e.ownerDocument;
117
+ e
118
+ ) : t.ownerDocument;
119
119
  }
120
- function $r(e) {
121
- const t = I("style");
122
- return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
120
+ function Rr(t) {
121
+ const e = I("style");
122
+ return e.textContent = "/* empty */", Ve(se(t), e), e.sheet;
123
123
  }
124
- function jt(e, t) {
124
+ function Ve(t, e) {
125
125
  return P(
126
126
  /** @type {Document} */
127
- e.head || e,
128
- t
129
- ), t.sheet;
127
+ t.head || t,
128
+ e
129
+ ), e.sheet;
130
130
  }
131
- function nt(e, t, r) {
132
- e.insertBefore(t, r || null);
131
+ function ae(t, e, r) {
132
+ t.insertBefore(e, r || null);
133
133
  }
134
- function ue(e) {
135
- e.parentNode && e.parentNode.removeChild(e);
134
+ function at(t) {
135
+ t.parentNode && t.parentNode.removeChild(t);
136
136
  }
137
- function vo(e, t) {
138
- for (let r = 0; r < e.length; r += 1)
139
- e[r] && e[r].d(t);
137
+ function xo(t, e) {
138
+ for (let r = 0; r < t.length; r += 1)
139
+ t[r] && t[r].d(e);
140
140
  }
141
- function I(e) {
142
- return document.createElement(e);
141
+ function I(t) {
142
+ return document.createElement(t);
143
143
  }
144
- function ht(e) {
145
- return document.createElementNS("http://www.w3.org/2000/svg", e);
144
+ function fe(t) {
145
+ return document.createElementNS("http://www.w3.org/2000/svg", t);
146
146
  }
147
- function ne(e) {
148
- return document.createTextNode(e);
147
+ function rt(t) {
148
+ return document.createTextNode(t);
149
149
  }
150
- function Be() {
151
- return ne(" ");
150
+ function Pt() {
151
+ return rt(" ");
152
152
  }
153
- function _o() {
154
- return ne("");
153
+ function Eo() {
154
+ return rt("");
155
155
  }
156
- function Ae(e, t, r, n) {
157
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
156
+ function Ot(t, e, r, n) {
157
+ return t.addEventListener(e, r, n), () => t.removeEventListener(e, r, n);
158
158
  }
159
- function xo(e) {
160
- return function(t) {
161
- return t.preventDefault(), e.call(this, t);
159
+ function wo(t) {
160
+ return function(e) {
161
+ return e.preventDefault(), t.call(this, e);
162
162
  };
163
163
  }
164
- function H(e, t, r) {
165
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
164
+ function H(t, e, r) {
165
+ r == null ? t.removeAttribute(e) : t.getAttribute(e) !== r && t.setAttribute(e, r);
166
166
  }
167
- function Eo(e, t, r) {
168
- const n = t.toLowerCase();
169
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
167
+ function So(t, e, r) {
168
+ const n = e.toLowerCase();
169
+ n in t ? t[n] = typeof t[n] == "boolean" && r === "" ? !0 : r : e in t ? t[e] = typeof t[e] == "boolean" && r === "" ? !0 : r : H(t, e, r);
170
170
  }
171
- function wo(e) {
172
- return e === "" ? null : +e;
171
+ function To(t) {
172
+ return t === "" ? null : +t;
173
173
  }
174
- function Rr(e) {
175
- return Array.from(e.childNodes);
174
+ function Gr(t) {
175
+ return Array.from(t.childNodes);
176
176
  }
177
- function Pe(e, t) {
178
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
179
- t);
177
+ function Lt(t, e) {
178
+ e = "" + e, t.data !== e && (t.data = /** @type {string} */
179
+ e);
180
180
  }
181
- function So(e, t) {
182
- e.value = t ?? "";
181
+ function Ho(t, e) {
182
+ t.value = e ?? "";
183
183
  }
184
- function To(e, t, r) {
185
- for (let n = 0; n < e.options.length; n += 1) {
186
- const i = e.options[n];
187
- if (i.__value === t) {
184
+ function Co(t, e, r) {
185
+ for (let n = 0; n < t.options.length; n += 1) {
186
+ const i = t.options[n];
187
+ if (i.__value === e) {
188
188
  i.selected = !0;
189
189
  return;
190
190
  }
191
191
  }
192
- (!r || t !== void 0) && (e.selectedIndex = -1);
192
+ (!r || e !== void 0) && (t.selectedIndex = -1);
193
193
  }
194
- function Ho(e) {
195
- const t = e.querySelector(":checked");
196
- return t && t.__value;
194
+ function Bo(t) {
195
+ const e = t.querySelector(":checked");
196
+ return e && e.__value;
197
197
  }
198
- function Gr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
199
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
198
+ function Ur(t, e, { bubbles: r = !1, cancelable: n = !1 } = {}) {
199
+ return new CustomEvent(t, { detail: e, bubbles: r, cancelable: n });
200
200
  }
201
- function Ur(e) {
202
- const t = {};
203
- return e.childNodes.forEach(
201
+ function Dr(t) {
202
+ const e = {};
203
+ return t.childNodes.forEach(
204
204
  /** @param {Element} node */
205
205
  (r) => {
206
- t[r.slot || "default"] = !0;
206
+ e[r.slot || "default"] = !0;
207
207
  }
208
- ), t;
208
+ ), e;
209
209
  }
210
- const ge = /* @__PURE__ */ new Map();
211
- let ye = 0;
212
- function Dr(e) {
213
- let t = 5381, r = e.length;
210
+ const gt = /* @__PURE__ */ new Map();
211
+ let yt = 0;
212
+ function Fr(t) {
213
+ let e = 5381, r = t.length;
214
214
  for (; r--; )
215
- t = (t << 5) - t ^ e.charCodeAt(r);
216
- return t >>> 0;
215
+ e = (e << 5) - e ^ t.charCodeAt(r);
216
+ return e >>> 0;
217
217
  }
218
- function Fr(e, t) {
219
- const r = { stylesheet: $r(t), rules: {} };
220
- return ge.set(e, r), r;
218
+ function jr(t, e) {
219
+ const r = { stylesheet: Rr(e), rules: {} };
220
+ return gt.set(t, r), r;
221
221
  }
222
- function ct(e, t, r, n, i, o, a, s = 0) {
222
+ function me(t, e, r, n, i, o, a, s = 0) {
223
223
  const l = 16.666 / n;
224
224
  let u = `{
225
225
  `;
226
226
  for (let v = 0; v <= 1; v += l) {
227
- const T = t + (r - t) * o(v);
227
+ const T = e + (r - e) * o(v);
228
228
  u += v * 100 + `%{${a(T, 1 - T)}}
229
229
  `;
230
230
  }
231
231
  const h = u + `100% {${a(r, 1 - r)}}
232
- }`, c = `__svelte_${Dr(h)}_${s}`, f = rt(e), { stylesheet: p, rules: m } = ge.get(f) || Fr(f, e);
232
+ }`, c = `__svelte_${Fr(h)}_${s}`, f = se(t), { stylesheet: p, rules: m } = gt.get(f) || jr(f, t);
233
233
  m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
234
- const d = e.style.animation || "";
235
- return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ye += 1, c;
234
+ const d = t.style.animation || "";
235
+ return t.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, yt += 1, c;
236
236
  }
237
- function jr(e, t) {
238
- const r = (e.style.animation || "").split(", "), n = r.filter(
239
- t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
237
+ function kr(t, e) {
238
+ const r = (t.style.animation || "").split(", "), n = r.filter(
239
+ e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
240
240
  // remove all Svelte animations
241
241
  ), i = r.length - n.length;
242
- i && (e.style.animation = n.join(", "), ye -= i, ye || kr());
243
- }
244
- function kr() {
245
- tt(() => {
246
- ye || (ge.forEach((e) => {
247
- const { ownerNode: t } = e.stylesheet;
248
- t && ue(t);
249
- }), ge.clear());
242
+ i && (t.style.animation = n.join(", "), yt -= i, yt || Vr());
243
+ }
244
+ function Vr() {
245
+ oe(() => {
246
+ yt || (gt.forEach((t) => {
247
+ const { ownerNode: e } = t.stylesheet;
248
+ e && at(e);
249
+ }), gt.clear());
250
250
  });
251
251
  }
252
- let oe;
253
- function ie(e) {
254
- oe = e;
252
+ let it;
253
+ function nt(t) {
254
+ it = t;
255
255
  }
256
- function Vr() {
257
- if (!oe)
256
+ function Xr() {
257
+ if (!it)
258
258
  throw new Error("Function called outside component initialization");
259
- return oe;
259
+ return it;
260
260
  }
261
- function Xr(e) {
262
- Vr().$$.on_mount.push(e);
261
+ function zr(t) {
262
+ Xr().$$.on_mount.push(t);
263
263
  }
264
- const V = [], De = [];
264
+ const V = [], jt = [];
265
265
  let z = [];
266
- const ft = [], zr = /* @__PURE__ */ Promise.resolve();
267
- let Fe = !1;
268
- function Wr() {
269
- Fe || (Fe = !0, zr.then(M));
266
+ const pe = [], Wr = /* @__PURE__ */ Promise.resolve();
267
+ let kt = !1;
268
+ function Zr() {
269
+ kt || (kt = !0, Wr.then(N));
270
270
  }
271
- function ve(e) {
272
- z.push(e);
271
+ function vt(t) {
272
+ z.push(t);
273
273
  }
274
- const Le = /* @__PURE__ */ new Set();
274
+ const It = /* @__PURE__ */ new Set();
275
275
  let j = 0;
276
- function M() {
276
+ function N() {
277
277
  if (j !== 0)
278
278
  return;
279
- const e = oe;
279
+ const t = it;
280
280
  do {
281
281
  try {
282
282
  for (; j < V.length; ) {
283
- const t = V[j];
284
- j++, ie(t), Zr(t.$$);
283
+ const e = V[j];
284
+ j++, nt(e), Qr(e.$$);
285
285
  }
286
- } catch (t) {
287
- throw V.length = 0, j = 0, t;
286
+ } catch (e) {
287
+ throw V.length = 0, j = 0, e;
288
288
  }
289
- for (ie(null), V.length = 0, j = 0; De.length; )
290
- De.pop()();
291
- for (let t = 0; t < z.length; t += 1) {
292
- const r = z[t];
293
- Le.has(r) || (Le.add(r), r());
289
+ for (nt(null), V.length = 0, j = 0; jt.length; )
290
+ jt.pop()();
291
+ for (let e = 0; e < z.length; e += 1) {
292
+ const r = z[e];
293
+ It.has(r) || (It.add(r), r());
294
294
  }
295
295
  z.length = 0;
296
296
  } while (V.length);
297
- for (; ft.length; )
298
- ft.pop()();
299
- Fe = !1, Le.clear(), ie(e);
300
- }
301
- function Zr(e) {
302
- if (e.fragment !== null) {
303
- e.update(), U(e.before_update);
304
- const t = e.dirty;
305
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
297
+ for (; pe.length; )
298
+ pe.pop()();
299
+ kt = !1, It.clear(), nt(t);
300
+ }
301
+ function Qr(t) {
302
+ if (t.fragment !== null) {
303
+ t.update(), U(t.before_update);
304
+ const e = t.dirty;
305
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(vt);
306
306
  }
307
307
  }
308
- function Qr(e) {
309
- const t = [], r = [];
310
- z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
308
+ function Jr(t) {
309
+ const e = [], r = [];
310
+ z.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : r.push(n)), r.forEach((n) => n()), z = e;
311
311
  }
312
- let te;
313
- function Jr() {
314
- return te || (te = Promise.resolve(), te.then(() => {
315
- te = null;
316
- })), te;
312
+ let tt;
313
+ function qr() {
314
+ return tt || (tt = Promise.resolve(), tt.then(() => {
315
+ tt = null;
316
+ })), tt;
317
317
  }
318
- function Oe(e, t, r) {
319
- e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
318
+ function Mt(t, e, r) {
319
+ t.dispatchEvent(Ur(`${e ? "intro" : "outro"}${r}`));
320
320
  }
321
- const fe = /* @__PURE__ */ new Set();
322
- let N;
323
- function Co() {
324
- N = {
321
+ const ft = /* @__PURE__ */ new Set();
322
+ let $;
323
+ function Ao() {
324
+ $ = {
325
325
  r: 0,
326
326
  c: [],
327
- p: N
327
+ p: $
328
328
  // parent group
329
329
  };
330
330
  }
331
- function Bo() {
332
- N.r || U(N.c), N = N.p;
331
+ function Po() {
332
+ $.r || U($.c), $ = $.p;
333
333
  }
334
- function kt(e, t) {
335
- e && e.i && (fe.delete(e), e.i(t));
334
+ function Xe(t, e) {
335
+ t && t.i && (ft.delete(t), t.i(e));
336
336
  }
337
- function qr(e, t, r, n) {
338
- if (e && e.o) {
339
- if (fe.has(e))
337
+ function Yr(t, e, r, n) {
338
+ if (t && t.o) {
339
+ if (ft.has(t))
340
340
  return;
341
- fe.add(e), N.c.push(() => {
342
- fe.delete(e), n && (r && e.d(1), n());
343
- }), e.o(t);
341
+ ft.add(t), $.c.push(() => {
342
+ ft.delete(t), n && (r && t.d(1), n());
343
+ }), t.o(e);
344
344
  } else
345
345
  n && n();
346
346
  }
347
- const Yr = { duration: 0 };
348
- function Ao(e, t, r, n) {
349
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
347
+ const Kr = { duration: 0 };
348
+ function Oo(t, e, r, n) {
349
+ let o = e(t, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
350
350
  function c() {
351
- u && jr(e, u);
351
+ u && kr(t, u);
352
352
  }
353
353
  function f(m, d) {
354
354
  const v = (
@@ -369,17 +369,17 @@ function Ao(e, t, r, n) {
369
369
  const {
370
370
  delay: d = 0,
371
371
  duration: v = 300,
372
- easing: T = Tr,
373
- tick: C = O,
372
+ easing: T = Hr,
373
+ tick: C = L,
374
374
  css: S
375
- } = o || Yr, B = {
376
- start: Ir() + d,
375
+ } = o || Kr, B = {
376
+ start: Mr() + d,
377
377
  b: m
378
378
  };
379
- m || (B.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
380
- e.inert, e.inert = !0)), s || l ? l = B : (S && (c(), u = ct(e, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), ve(() => Oe(e, m, "start")), Mr((w) => {
381
- if (l && w > l.start && (s = f(l, v), l = null, Oe(e, s.b, "start"), S && (c(), u = ct(
382
- e,
379
+ m || (B.group = $, $.r += 1), "inert" in t && (m ? h !== void 0 && (t.inert = h) : (h = /** @type {HTMLElement} */
380
+ t.inert, t.inert = !0)), s || l ? l = B : (S && (c(), u = me(t, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), vt(() => Mt(t, m, "start")), Nr((E) => {
381
+ if (l && E > l.start && (s = f(l, v), l = null, Mt(t, s.b, "start"), S && (c(), u = me(
382
+ t,
383
383
  a,
384
384
  s.b,
385
385
  s.duration,
@@ -387,11 +387,11 @@ function Ao(e, t, r, n) {
387
387
  T,
388
388
  o.css
389
389
  ))), s) {
390
- if (w >= s.end)
391
- C(a = s.b, 1 - a), Oe(e, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
392
- else if (w >= s.start) {
393
- const x = w - s.start;
394
- a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
390
+ if (E >= s.end)
391
+ C(a = s.b, 1 - a), Mt(t, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
392
+ else if (E >= s.start) {
393
+ const _ = E - s.start;
394
+ a = s.a + s.d * T(_ / s.duration), C(a, 1 - a);
395
395
  }
396
396
  }
397
397
  return !!(s || l);
@@ -399,7 +399,7 @@ function Ao(e, t, r, n) {
399
399
  }
400
400
  return {
401
401
  run(m) {
402
- Ee(o) ? Jr().then(() => {
402
+ wt(o) ? qr().then(() => {
403
403
  o = o({ direction: m ? "in" : "out" }), p(m);
404
404
  }) : p(m);
405
405
  },
@@ -408,64 +408,64 @@ function Ao(e, t, r, n) {
408
408
  }
409
409
  };
410
410
  }
411
- function Po(e) {
412
- return e?.length !== void 0 ? e : Array.from(e);
411
+ function Lo(t) {
412
+ return t?.length !== void 0 ? t : Array.from(t);
413
413
  }
414
- function Kr(e, t, r) {
415
- const { fragment: n, after_update: i } = e.$$;
416
- n && n.m(t, r), ve(() => {
417
- const o = e.$$.on_mount.map($t).filter(Ee);
418
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
419
- }), i.forEach(ve);
414
+ function tn(t, e, r) {
415
+ const { fragment: n, after_update: i } = t.$$;
416
+ n && n.m(e, r), vt(() => {
417
+ const o = t.$$.on_mount.map(Ge).filter(wt);
418
+ t.$$.on_destroy ? t.$$.on_destroy.push(...o) : U(o), t.$$.on_mount = [];
419
+ }), i.forEach(vt);
420
420
  }
421
- function en(e, t) {
422
- const r = e.$$;
423
- r.fragment !== null && (Qr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
421
+ function en(t, e) {
422
+ const r = t.$$;
423
+ r.fragment !== null && (Jr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
424
424
  }
425
- function tn(e, t) {
426
- e.$$.dirty[0] === -1 && (V.push(e), Wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
425
+ function rn(t, e) {
426
+ t.$$.dirty[0] === -1 && (V.push(t), Zr(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
427
427
  }
428
- function rn(e, t, r, n, i, o, a = null, s = [-1]) {
429
- const l = oe;
430
- ie(e);
431
- const u = e.$$ = {
428
+ function nn(t, e, r, n, i, o, a = null, s = [-1]) {
429
+ const l = it;
430
+ nt(t);
431
+ const u = t.$$ = {
432
432
  fragment: null,
433
433
  ctx: [],
434
434
  // state
435
435
  props: o,
436
- update: O,
436
+ update: L,
437
437
  not_equal: i,
438
- bound: lt(),
438
+ bound: ce(),
439
439
  // lifecycle
440
440
  on_mount: [],
441
441
  on_destroy: [],
442
442
  on_disconnect: [],
443
443
  before_update: [],
444
444
  after_update: [],
445
- context: new Map(t.context || (l ? l.$$.context : [])),
445
+ context: new Map(e.context || (l ? l.$$.context : [])),
446
446
  // everything else
447
- callbacks: lt(),
447
+ callbacks: ce(),
448
448
  dirty: s,
449
449
  skip_bound: !1,
450
- root: t.target || l.$$.root
450
+ root: e.target || l.$$.root
451
451
  };
452
452
  a && a(u.root);
453
453
  let h = !1;
454
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
454
+ if (u.ctx = r ? r(t, e.props || {}, (c, f, ...p) => {
455
455
  const m = p.length ? p[0] : f;
456
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && tn(e, c)), f;
457
- }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
458
- if (t.hydrate) {
459
- const c = Rr(t.target);
460
- u.fragment && u.fragment.l(c), c.forEach(ue);
456
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && rn(t, c)), f;
457
+ }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, e.target) {
458
+ if (e.hydrate) {
459
+ const c = Gr(e.target);
460
+ u.fragment && u.fragment.l(c), c.forEach(at);
461
461
  } else
462
462
  u.fragment && u.fragment.c();
463
- t.intro && kt(e.$$.fragment), Kr(e, t.target, t.anchor), M();
463
+ e.intro && Xe(t.$$.fragment), tn(t, e.target, e.anchor), N();
464
464
  }
465
- ie(l);
465
+ nt(l);
466
466
  }
467
- let Vt;
468
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
467
+ let ze;
468
+ typeof HTMLElement == "function" && (ze = class extends HTMLElement {
469
469
  /** The Svelte component constructor */
470
470
  $$ctor;
471
471
  /** Slots */
@@ -484,25 +484,25 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
484
484
  $$l = {};
485
485
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
486
486
  $$l_u = /* @__PURE__ */ new Map();
487
- constructor(e, t, r) {
488
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
487
+ constructor(t, e, r) {
488
+ super(), this.$$ctor = t, this.$$s = e, r && this.attachShadow({ mode: "open" });
489
489
  }
490
- addEventListener(e, t, r) {
491
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
492
- const n = this.$$c.$on(e, t);
493
- this.$$l_u.set(t, n);
490
+ addEventListener(t, e, r) {
491
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
492
+ const n = this.$$c.$on(t, e);
493
+ this.$$l_u.set(e, n);
494
494
  }
495
- super.addEventListener(e, t, r);
495
+ super.addEventListener(t, e, r);
496
496
  }
497
- removeEventListener(e, t, r) {
498
- if (super.removeEventListener(e, t, r), this.$$c) {
499
- const n = this.$$l_u.get(t);
500
- n && (n(), this.$$l_u.delete(t));
497
+ removeEventListener(t, e, r) {
498
+ if (super.removeEventListener(t, e, r), this.$$c) {
499
+ const n = this.$$l_u.get(e);
500
+ n && (n(), this.$$l_u.delete(e));
501
501
  }
502
502
  }
503
503
  async connectedCallback() {
504
504
  if (this.$$cn = !0, !this.$$c) {
505
- let e = function(i) {
505
+ let t = function(i) {
506
506
  return () => {
507
507
  let o;
508
508
  return {
@@ -514,22 +514,22 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
514
514
  * @param {HTMLElement} [anchor]
515
515
  */
516
516
  m: function(l, u) {
517
- nt(l, o, u);
517
+ ae(l, o, u);
518
518
  },
519
519
  d: function(l) {
520
- l && ue(o);
520
+ l && at(o);
521
521
  }
522
522
  };
523
523
  };
524
524
  };
525
525
  if (await Promise.resolve(), !this.$$cn || this.$$c)
526
526
  return;
527
- const t = {}, r = Ur(this);
527
+ const e = {}, r = Dr(this);
528
528
  for (const i of this.$$s)
529
- i in r && (t[i] = [e(i)]);
529
+ i in r && (e[i] = [t(i)]);
530
530
  for (const i of this.attributes) {
531
531
  const o = this.$$g_p(i.name);
532
- o in this.$$d || (this.$$d[o] = me(o, i.value, this.$$p_d, "toProp"));
532
+ o in this.$$d || (this.$$d[o] = mt(o, i.value, this.$$p_d, "toProp"));
533
533
  }
534
534
  for (const i in this.$$p_d)
535
535
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -537,7 +537,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
537
537
  target: this.shadowRoot || this,
538
538
  props: {
539
539
  ...this.$$d,
540
- $$slots: t,
540
+ $$slots: e,
541
541
  $$scope: {
542
542
  ctx: []
543
543
  }
@@ -547,7 +547,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
547
547
  this.$$r = !0;
548
548
  for (const i in this.$$p_d)
549
549
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
550
- const o = me(
550
+ const o = mt(
551
551
  i,
552
552
  this.$$d[i],
553
553
  this.$$p_d,
@@ -568,67 +568,67 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
568
568
  }
569
569
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
570
570
  // and setting attributes through setAttribute etc, this is helpful
571
- attributeChangedCallback(e, t, r) {
572
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
571
+ attributeChangedCallback(t, e, r) {
572
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = mt(t, r, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
573
573
  }
574
574
  disconnectedCallback() {
575
575
  this.$$cn = !1, Promise.resolve().then(() => {
576
576
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
577
577
  });
578
578
  }
579
- $$g_p(e) {
579
+ $$g_p(t) {
580
580
  return Object.keys(this.$$p_d).find(
581
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
582
- ) || e;
581
+ (e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
582
+ ) || t;
583
583
  }
584
584
  });
585
- function me(e, t, r, n) {
586
- const i = r[e]?.type;
587
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
588
- return t;
585
+ function mt(t, e, r, n) {
586
+ const i = r[t]?.type;
587
+ if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !n || !r[t])
588
+ return e;
589
589
  if (n === "toAttribute")
590
590
  switch (i) {
591
591
  case "Object":
592
592
  case "Array":
593
- return t == null ? null : JSON.stringify(t);
593
+ return e == null ? null : JSON.stringify(e);
594
594
  case "Boolean":
595
- return t ? "" : null;
595
+ return e ? "" : null;
596
596
  case "Number":
597
- return t ?? null;
597
+ return e ?? null;
598
598
  default:
599
- return t;
599
+ return e;
600
600
  }
601
601
  else
602
602
  switch (i) {
603
603
  case "Object":
604
604
  case "Array":
605
- return t && JSON.parse(t);
605
+ return e && JSON.parse(e);
606
606
  case "Boolean":
607
- return t;
607
+ return e;
608
608
  case "Number":
609
- return t != null ? +t : t;
609
+ return e != null ? +e : e;
610
610
  default:
611
- return t;
611
+ return e;
612
612
  }
613
613
  }
614
- function nn(e, t, r, n, i, o) {
615
- let a = class extends Vt {
614
+ function on(t, e, r, n, i, o) {
615
+ let a = class extends ze {
616
616
  constructor() {
617
- super(e, r, i), this.$$p_d = t;
617
+ super(t, r, i), this.$$p_d = e;
618
618
  }
619
619
  static get observedAttributes() {
620
- return Object.keys(t).map(
621
- (s) => (t[s].attribute || s).toLowerCase()
620
+ return Object.keys(e).map(
621
+ (s) => (e[s].attribute || s).toLowerCase()
622
622
  );
623
623
  }
624
624
  };
625
- return Object.keys(t).forEach((s) => {
625
+ return Object.keys(e).forEach((s) => {
626
626
  Object.defineProperty(a.prototype, s, {
627
627
  get() {
628
628
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
629
629
  },
630
630
  set(l) {
631
- l = me(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
631
+ l = mt(s, l, e), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
632
632
  }
633
633
  });
634
634
  }), n.forEach((s) => {
@@ -637,10 +637,10 @@ function nn(e, t, r, n, i, o) {
637
637
  return this.$$c?.[s];
638
638
  }
639
639
  });
640
- }), e.element = /** @type {any} */
640
+ }), t.element = /** @type {any} */
641
641
  a, a;
642
642
  }
643
- class on {
643
+ class sn {
644
644
  /**
645
645
  * ### PRIVATE API
646
646
  *
@@ -659,7 +659,7 @@ class on {
659
659
  $$set = void 0;
660
660
  /** @returns {void} */
661
661
  $destroy() {
662
- en(this, 1), this.$destroy = O;
662
+ en(this, 1), this.$destroy = L;
663
663
  }
664
664
  /**
665
665
  * @template {Extract<keyof Events, string>} K
@@ -667,10 +667,10 @@ class on {
667
667
  * @param {((e: Events[K]) => void) | null | undefined} callback
668
668
  * @returns {() => void}
669
669
  */
670
- $on(t, r) {
671
- if (!Ee(r))
672
- return O;
673
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
670
+ $on(e, r) {
671
+ if (!wt(r))
672
+ return L;
673
+ const n = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
674
674
  return n.push(r), () => {
675
675
  const i = n.indexOf(r);
676
676
  i !== -1 && n.splice(i, 1);
@@ -680,12 +680,12 @@ class on {
680
680
  * @param {Partial<Props>} props
681
681
  * @returns {void}
682
682
  */
683
- $set(t) {
684
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
683
+ $set(e) {
684
+ this.$$set && !Br(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
685
685
  }
686
686
  }
687
- const sn = "4";
688
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(sn);
687
+ const an = "4";
688
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
689
689
  /*! *****************************************************************************
690
690
  Copyright (c) Microsoft Corporation.
691
691
 
@@ -700,61 +700,42 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
700
700
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
701
701
  PERFORMANCE OF THIS SOFTWARE.
702
702
  ***************************************************************************** */
703
- var je = function(e, t) {
704
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
703
+ var Vt = function(t, e) {
704
+ return Vt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
705
705
  r.__proto__ = n;
706
706
  } || function(r, n) {
707
707
  for (var i in n)
708
708
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
709
- }, je(e, t);
709
+ }, Vt(t, e);
710
710
  };
711
- function R(e, t) {
712
- if (typeof t != "function" && t !== null)
713
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
714
- je(e, t);
711
+ function ut(t, e) {
712
+ if (typeof e != "function" && e !== null)
713
+ throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
714
+ Vt(t, e);
715
715
  function r() {
716
- this.constructor = e;
716
+ this.constructor = t;
717
717
  }
718
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
719
- }
720
- var _ = function() {
721
- return _ = Object.assign || function(t) {
722
- for (var r, n = 1, i = arguments.length; n < i; n++) {
723
- r = arguments[n];
724
- for (var o in r)
725
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
726
- }
727
- return t;
728
- }, _.apply(this, arguments);
729
- };
730
- function an(e, t) {
731
- var r = {};
732
- for (var n in e)
733
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
734
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
735
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
736
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
737
- return r;
718
+ t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
738
719
  }
739
- function ke(e) {
740
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
720
+ function Xt(t) {
721
+ var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
741
722
  if (r)
742
- return r.call(e);
743
- if (e && typeof e.length == "number")
723
+ return r.call(t);
724
+ if (t && typeof t.length == "number")
744
725
  return {
745
726
  next: function() {
746
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
727
+ return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
747
728
  }
748
729
  };
749
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
730
+ throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
750
731
  }
751
- function Ve(e, t) {
752
- var r = typeof Symbol == "function" && e[Symbol.iterator];
732
+ function zt(t, e) {
733
+ var r = typeof Symbol == "function" && t[Symbol.iterator];
753
734
  if (!r)
754
- return e;
755
- var n = r.call(e), i, o = [], a;
735
+ return t;
736
+ var n = r.call(t), i, o = [], a;
756
737
  try {
757
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
738
+ for (; (e === void 0 || e-- > 0) && !(i = n.next()).done; )
758
739
  o.push(i.value);
759
740
  } catch (s) {
760
741
  a = { error: s };
@@ -768,81 +749,81 @@ function Ve(e, t) {
768
749
  }
769
750
  return o;
770
751
  }
771
- function W(e, t, r) {
772
- if (r || arguments.length === 2)
773
- for (var n = 0, i = t.length, o; n < i; n++)
774
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
775
- return e.concat(o || t);
752
+ function Wt(t, e, r) {
753
+ if (arguments.length === 2)
754
+ for (var n = 0, i = e.length, o; n < i; n++)
755
+ (o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
756
+ return t.concat(o || e);
776
757
  }
777
- function $(e) {
778
- return typeof e == "function";
758
+ function R(t) {
759
+ return typeof t == "function";
779
760
  }
780
- function Xt(e) {
781
- var t = function(n) {
761
+ function We(t) {
762
+ var e = function(n) {
782
763
  Error.call(n), n.stack = new Error().stack;
783
- }, r = e(t);
764
+ }, r = t(e);
784
765
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
785
766
  }
786
- var Ie = Xt(function(e) {
767
+ var Nt = We(function(t) {
787
768
  return function(r) {
788
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
769
+ t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
789
770
  ` + r.map(function(n, i) {
790
771
  return i + 1 + ") " + n.toString();
791
772
  }).join(`
792
773
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
793
774
  };
794
775
  });
795
- function Xe(e, t) {
796
- if (e) {
797
- var r = e.indexOf(t);
798
- 0 <= r && e.splice(r, 1);
776
+ function Zt(t, e) {
777
+ if (t) {
778
+ var r = t.indexOf(e);
779
+ 0 <= r && t.splice(r, 1);
799
780
  }
800
781
  }
801
- var we = function() {
802
- function e(t) {
803
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
782
+ var St = function() {
783
+ function t(e) {
784
+ this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
804
785
  }
805
- return e.prototype.unsubscribe = function() {
806
- var t, r, n, i, o;
786
+ return t.prototype.unsubscribe = function() {
787
+ var e, r, n, i, o;
807
788
  if (!this.closed) {
808
789
  this.closed = !0;
809
790
  var a = this._parentage;
810
791
  if (a)
811
792
  if (this._parentage = null, Array.isArray(a))
812
793
  try {
813
- for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
794
+ for (var s = Xt(a), l = s.next(); !l.done; l = s.next()) {
814
795
  var u = l.value;
815
796
  u.remove(this);
816
797
  }
817
798
  } catch (d) {
818
- t = { error: d };
799
+ e = { error: d };
819
800
  } finally {
820
801
  try {
821
802
  l && !l.done && (r = s.return) && r.call(s);
822
803
  } finally {
823
- if (t)
824
- throw t.error;
804
+ if (e)
805
+ throw e.error;
825
806
  }
826
807
  }
827
808
  else
828
809
  a.remove(this);
829
810
  var h = this.initialTeardown;
830
- if ($(h))
811
+ if (R(h))
831
812
  try {
832
813
  h();
833
814
  } catch (d) {
834
- o = d instanceof Ie ? d.errors : [d];
815
+ o = d instanceof Nt ? d.errors : [d];
835
816
  }
836
817
  var c = this._finalizers;
837
818
  if (c) {
838
819
  this._finalizers = null;
839
820
  try {
840
- for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
821
+ for (var f = Xt(c), p = f.next(); !p.done; p = f.next()) {
841
822
  var m = p.value;
842
823
  try {
843
- mt(m);
824
+ de(m);
844
825
  } catch (d) {
845
- o = o ?? [], d instanceof Ie ? o = W(W([], Ve(o)), Ve(d.errors)) : o.push(d);
826
+ o = o ?? [], d instanceof Nt ? o = Wt(Wt([], zt(o)), zt(d.errors)) : o.push(d);
846
827
  }
847
828
  }
848
829
  } catch (d) {
@@ -857,211 +838,191 @@ var we = function() {
857
838
  }
858
839
  }
859
840
  if (o)
860
- throw new Ie(o);
841
+ throw new Nt(o);
861
842
  }
862
- }, e.prototype.add = function(t) {
843
+ }, t.prototype.add = function(e) {
863
844
  var r;
864
- if (t && t !== this)
845
+ if (e && e !== this)
865
846
  if (this.closed)
866
- mt(t);
847
+ de(e);
867
848
  else {
868
- if (t instanceof e) {
869
- if (t.closed || t._hasParent(this))
849
+ if (e instanceof t) {
850
+ if (e.closed || e._hasParent(this))
870
851
  return;
871
- t._addParent(this);
852
+ e._addParent(this);
872
853
  }
873
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
854
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
874
855
  }
875
- }, e.prototype._hasParent = function(t) {
856
+ }, t.prototype._hasParent = function(e) {
876
857
  var r = this._parentage;
877
- return r === t || Array.isArray(r) && r.includes(t);
878
- }, e.prototype._addParent = function(t) {
858
+ return r === e || Array.isArray(r) && r.includes(e);
859
+ }, t.prototype._addParent = function(e) {
879
860
  var r = this._parentage;
880
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
881
- }, e.prototype._removeParent = function(t) {
861
+ this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
862
+ }, t.prototype._removeParent = function(e) {
882
863
  var r = this._parentage;
883
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
884
- }, e.prototype.remove = function(t) {
864
+ r === e ? this._parentage = null : Array.isArray(r) && Zt(r, e);
865
+ }, t.prototype.remove = function(e) {
885
866
  var r = this._finalizers;
886
- r && Xe(r, t), t instanceof e && t._removeParent(this);
887
- }, e.EMPTY = function() {
888
- var t = new e();
889
- return t.closed = !0, t;
890
- }(), e;
891
- }(), zt = we.EMPTY;
892
- function Wt(e) {
893
- return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
894
- }
895
- function mt(e) {
896
- $(e) ? e() : e.unsubscribe();
897
- }
898
- var Zt = {
899
- onUnhandledError: null,
900
- onStoppedNotification: null,
901
- Promise: void 0,
902
- useDeprecatedSynchronousErrorHandling: !1,
903
- useDeprecatedNextContext: !1
904
- }, un = {
905
- setTimeout: function(e, t) {
867
+ r && Zt(r, e), e instanceof t && e._removeParent(this);
868
+ }, t.EMPTY = function() {
869
+ var e = new t();
870
+ return e.closed = !0, e;
871
+ }(), t;
872
+ }(), Ze = St.EMPTY;
873
+ function Qe(t) {
874
+ return t instanceof St || t && "closed" in t && R(t.remove) && R(t.add) && R(t.unsubscribe);
875
+ }
876
+ function de(t) {
877
+ R(t) ? t() : t.unsubscribe();
878
+ }
879
+ var un = {
880
+ Promise: void 0
881
+ }, ln = {
882
+ setTimeout: function(t, e) {
906
883
  for (var r = [], n = 2; n < arguments.length; n++)
907
884
  r[n - 2] = arguments[n];
908
- return setTimeout.apply(void 0, W([e, t], Ve(r)));
885
+ return setTimeout.apply(void 0, Wt([t, e], zt(r)));
909
886
  },
910
- clearTimeout: function(e) {
911
- return clearTimeout(e);
887
+ clearTimeout: function(t) {
888
+ return clearTimeout(t);
912
889
  },
913
890
  delegate: void 0
914
891
  };
915
- function ln(e) {
916
- un.setTimeout(function() {
917
- throw e;
892
+ function hn(t) {
893
+ ln.setTimeout(function() {
894
+ throw t;
918
895
  });
919
896
  }
920
- function pt() {
897
+ function be() {
921
898
  }
922
- function pe(e) {
923
- e();
899
+ function pt(t) {
900
+ t();
924
901
  }
925
- var Qt = function(e) {
926
- R(t, e);
927
- function t(r) {
928
- var n = e.call(this) || this;
929
- return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = mn, n;
902
+ var Je = function(t) {
903
+ ut(e, t);
904
+ function e(r) {
905
+ var n = t.call(this) || this;
906
+ return n.isStopped = !1, r ? (n.destination = r, Qe(r) && r.add(n)) : n.destination = mn, n;
930
907
  }
931
- return t.create = function(r, n, i) {
932
- return new ze(r, n, i);
933
- }, t.prototype.next = function(r) {
908
+ return e.create = function(r, n, i) {
909
+ return new Qt(r, n, i);
910
+ }, e.prototype.next = function(r) {
934
911
  this.isStopped || this._next(r);
935
- }, t.prototype.error = function(r) {
912
+ }, e.prototype.error = function(r) {
936
913
  this.isStopped || (this.isStopped = !0, this._error(r));
937
- }, t.prototype.complete = function() {
914
+ }, e.prototype.complete = function() {
938
915
  this.isStopped || (this.isStopped = !0, this._complete());
939
- }, t.prototype.unsubscribe = function() {
940
- this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
941
- }, t.prototype._next = function(r) {
916
+ }, e.prototype.unsubscribe = function() {
917
+ this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
918
+ }, e.prototype._next = function(r) {
942
919
  this.destination.next(r);
943
- }, t.prototype._error = function(r) {
920
+ }, e.prototype._error = function(r) {
944
921
  try {
945
922
  this.destination.error(r);
946
923
  } finally {
947
924
  this.unsubscribe();
948
925
  }
949
- }, t.prototype._complete = function() {
926
+ }, e.prototype._complete = function() {
950
927
  try {
951
928
  this.destination.complete();
952
929
  } finally {
953
930
  this.unsubscribe();
954
931
  }
955
- }, t;
956
- }(we), hn = Function.prototype.bind;
957
- function Me(e, t) {
958
- return hn.call(e, t);
959
- }
960
- var cn = function() {
961
- function e(t) {
962
- this.partialObserver = t;
932
+ }, e;
933
+ }(St), cn = function() {
934
+ function t(e) {
935
+ this.partialObserver = e;
963
936
  }
964
- return e.prototype.next = function(t) {
937
+ return t.prototype.next = function(e) {
965
938
  var r = this.partialObserver;
966
939
  if (r.next)
967
940
  try {
968
- r.next(t);
941
+ r.next(e);
969
942
  } catch (n) {
970
- he(n);
943
+ ht(n);
971
944
  }
972
- }, e.prototype.error = function(t) {
945
+ }, t.prototype.error = function(e) {
973
946
  var r = this.partialObserver;
974
947
  if (r.error)
975
948
  try {
976
- r.error(t);
949
+ r.error(e);
977
950
  } catch (n) {
978
- he(n);
951
+ ht(n);
979
952
  }
980
953
  else
981
- he(t);
982
- }, e.prototype.complete = function() {
983
- var t = this.partialObserver;
984
- if (t.complete)
954
+ ht(e);
955
+ }, t.prototype.complete = function() {
956
+ var e = this.partialObserver;
957
+ if (e.complete)
985
958
  try {
986
- t.complete();
959
+ e.complete();
987
960
  } catch (r) {
988
- he(r);
961
+ ht(r);
989
962
  }
990
- }, e;
991
- }(), ze = function(e) {
992
- R(t, e);
993
- function t(r, n, i) {
994
- var o = e.call(this) || this, a;
995
- if ($(r) || !r)
996
- a = {
997
- next: r ?? void 0,
998
- error: n ?? void 0,
999
- complete: i ?? void 0
1000
- };
1001
- else {
1002
- var s;
1003
- o && Zt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1004
- return o.unsubscribe();
1005
- }, a = {
1006
- next: r.next && Me(r.next, s),
1007
- error: r.error && Me(r.error, s),
1008
- complete: r.complete && Me(r.complete, s)
1009
- }) : a = r;
1010
- }
1011
- return o.destination = new cn(a), o;
963
+ }, t;
964
+ }(), Qt = function(t) {
965
+ ut(e, t);
966
+ function e(r, n, i) {
967
+ var o = t.call(this) || this, a;
968
+ return R(r) || !r ? a = {
969
+ next: r ?? void 0,
970
+ error: n ?? void 0,
971
+ complete: i ?? void 0
972
+ } : a = r, o.destination = new cn(a), o;
1012
973
  }
1013
- return t;
1014
- }(Qt);
1015
- function he(e) {
1016
- ln(e);
974
+ return e;
975
+ }(Je);
976
+ function ht(t) {
977
+ hn(t);
1017
978
  }
1018
- function fn(e) {
1019
- throw e;
979
+ function fn(t) {
980
+ throw t;
1020
981
  }
1021
982
  var mn = {
1022
983
  closed: !0,
1023
- next: pt,
984
+ next: be,
1024
985
  error: fn,
1025
- complete: pt
986
+ complete: be
1026
987
  }, pn = function() {
1027
988
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1028
989
  }();
1029
- function dn(e) {
1030
- return e;
990
+ function dn(t) {
991
+ return t;
1031
992
  }
1032
- function bn(e) {
1033
- return e.length === 0 ? dn : e.length === 1 ? e[0] : function(r) {
1034
- return e.reduce(function(n, i) {
993
+ function bn(t) {
994
+ return t.length === 0 ? dn : t.length === 1 ? t[0] : function(r) {
995
+ return t.reduce(function(n, i) {
1035
996
  return i(n);
1036
997
  }, r);
1037
998
  };
1038
999
  }
1039
- var dt = function() {
1040
- function e(t) {
1041
- t && (this._subscribe = t);
1000
+ var ge = function() {
1001
+ function t(e) {
1002
+ e && (this._subscribe = e);
1042
1003
  }
1043
- return e.prototype.lift = function(t) {
1044
- var r = new e();
1045
- return r.source = this, r.operator = t, r;
1046
- }, e.prototype.subscribe = function(t, r, n) {
1047
- var i = this, o = yn(t) ? t : new ze(t, r, n);
1048
- return pe(function() {
1004
+ return t.prototype.lift = function(e) {
1005
+ var r = new t();
1006
+ return r.source = this, r.operator = e, r;
1007
+ }, t.prototype.subscribe = function(e, r, n) {
1008
+ var i = this, o = yn(e) ? e : new Qt(e, r, n);
1009
+ return pt(function() {
1049
1010
  var a = i, s = a.operator, l = a.source;
1050
1011
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1051
1012
  }), o;
1052
- }, e.prototype._trySubscribe = function(t) {
1013
+ }, t.prototype._trySubscribe = function(e) {
1053
1014
  try {
1054
- return this._subscribe(t);
1015
+ return this._subscribe(e);
1055
1016
  } catch (r) {
1056
- t.error(r);
1017
+ e.error(r);
1057
1018
  }
1058
- }, e.prototype.forEach = function(t, r) {
1019
+ }, t.prototype.forEach = function(e, r) {
1059
1020
  var n = this;
1060
- return r = bt(r), new r(function(i, o) {
1061
- var a = new ze({
1021
+ return r = ye(r), new r(function(i, o) {
1022
+ var a = new Qt({
1062
1023
  next: function(s) {
1063
1024
  try {
1064
- t(s);
1025
+ e(s);
1065
1026
  } catch (l) {
1066
1027
  o(l), a.unsubscribe();
1067
1028
  }
@@ -1071,18 +1032,18 @@ var dt = function() {
1071
1032
  });
1072
1033
  n.subscribe(a);
1073
1034
  });
1074
- }, e.prototype._subscribe = function(t) {
1035
+ }, t.prototype._subscribe = function(e) {
1075
1036
  var r;
1076
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1077
- }, e.prototype[pn] = function() {
1037
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
1038
+ }, t.prototype[pn] = function() {
1078
1039
  return this;
1079
- }, e.prototype.pipe = function() {
1080
- for (var t = [], r = 0; r < arguments.length; r++)
1081
- t[r] = arguments[r];
1082
- return bn(t)(this);
1083
- }, e.prototype.toPromise = function(t) {
1040
+ }, t.prototype.pipe = function() {
1041
+ for (var e = [], r = 0; r < arguments.length; r++)
1042
+ e[r] = arguments[r];
1043
+ return bn(e)(this);
1044
+ }, t.prototype.toPromise = function(e) {
1084
1045
  var r = this;
1085
- return t = bt(t), new t(function(n, i) {
1046
+ return e = ye(e), new e(function(n, i) {
1086
1047
  var o;
1087
1048
  r.subscribe(function(a) {
1088
1049
  return o = a;
@@ -1092,44 +1053,44 @@ var dt = function() {
1092
1053
  return n(o);
1093
1054
  });
1094
1055
  });
1095
- }, e.create = function(t) {
1096
- return new e(t);
1097
- }, e;
1056
+ }, t.create = function(e) {
1057
+ return new t(e);
1058
+ }, t;
1098
1059
  }();
1099
- function bt(e) {
1100
- var t;
1101
- return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
1060
+ function ye(t) {
1061
+ var e;
1062
+ return (e = t ?? un.Promise) !== null && e !== void 0 ? e : Promise;
1102
1063
  }
1103
- function gn(e) {
1104
- return e && $(e.next) && $(e.error) && $(e.complete);
1064
+ function gn(t) {
1065
+ return t && R(t.next) && R(t.error) && R(t.complete);
1105
1066
  }
1106
- function yn(e) {
1107
- return e && e instanceof Qt || gn(e) && Wt(e);
1067
+ function yn(t) {
1068
+ return t && t instanceof Je || gn(t) && Qe(t);
1108
1069
  }
1109
- var vn = Xt(function(e) {
1070
+ var vn = We(function(t) {
1110
1071
  return function() {
1111
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1072
+ t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1112
1073
  };
1113
- }), Jt = function(e) {
1114
- R(t, e);
1115
- function t() {
1116
- var r = e.call(this) || this;
1074
+ }), qe = function(t) {
1075
+ ut(e, t);
1076
+ function e() {
1077
+ var r = t.call(this) || this;
1117
1078
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1118
1079
  }
1119
- return t.prototype.lift = function(r) {
1120
- var n = new gt(this, this);
1080
+ return e.prototype.lift = function(r) {
1081
+ var n = new ve(this, this);
1121
1082
  return n.operator = r, n;
1122
- }, t.prototype._throwIfClosed = function() {
1083
+ }, e.prototype._throwIfClosed = function() {
1123
1084
  if (this.closed)
1124
1085
  throw new vn();
1125
- }, t.prototype.next = function(r) {
1086
+ }, e.prototype.next = function(r) {
1126
1087
  var n = this;
1127
- pe(function() {
1088
+ pt(function() {
1128
1089
  var i, o;
1129
1090
  if (n._throwIfClosed(), !n.isStopped) {
1130
1091
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1131
1092
  try {
1132
- for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1093
+ for (var a = Xt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1133
1094
  var l = s.value;
1134
1095
  l.next(r);
1135
1096
  }
@@ -1145,119 +1106,119 @@ var vn = Xt(function(e) {
1145
1106
  }
1146
1107
  }
1147
1108
  });
1148
- }, t.prototype.error = function(r) {
1109
+ }, e.prototype.error = function(r) {
1149
1110
  var n = this;
1150
- pe(function() {
1111
+ pt(function() {
1151
1112
  if (n._throwIfClosed(), !n.isStopped) {
1152
1113
  n.hasError = n.isStopped = !0, n.thrownError = r;
1153
1114
  for (var i = n.observers; i.length; )
1154
1115
  i.shift().error(r);
1155
1116
  }
1156
1117
  });
1157
- }, t.prototype.complete = function() {
1118
+ }, e.prototype.complete = function() {
1158
1119
  var r = this;
1159
- pe(function() {
1120
+ pt(function() {
1160
1121
  if (r._throwIfClosed(), !r.isStopped) {
1161
1122
  r.isStopped = !0;
1162
1123
  for (var n = r.observers; n.length; )
1163
1124
  n.shift().complete();
1164
1125
  }
1165
1126
  });
1166
- }, t.prototype.unsubscribe = function() {
1127
+ }, e.prototype.unsubscribe = function() {
1167
1128
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1168
- }, Object.defineProperty(t.prototype, "observed", {
1129
+ }, Object.defineProperty(e.prototype, "observed", {
1169
1130
  get: function() {
1170
1131
  var r;
1171
1132
  return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1172
1133
  },
1173
1134
  enumerable: !1,
1174
1135
  configurable: !0
1175
- }), t.prototype._trySubscribe = function(r) {
1176
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1177
- }, t.prototype._subscribe = function(r) {
1136
+ }), e.prototype._trySubscribe = function(r) {
1137
+ return this._throwIfClosed(), t.prototype._trySubscribe.call(this, r);
1138
+ }, e.prototype._subscribe = function(r) {
1178
1139
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1179
- }, t.prototype._innerSubscribe = function(r) {
1140
+ }, e.prototype._innerSubscribe = function(r) {
1180
1141
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1181
- return o || a ? zt : (this.currentObservers = null, s.push(r), new we(function() {
1182
- n.currentObservers = null, Xe(s, r);
1142
+ return o || a ? Ze : (this.currentObservers = null, s.push(r), new St(function() {
1143
+ n.currentObservers = null, Zt(s, r);
1183
1144
  }));
1184
- }, t.prototype._checkFinalizedStatuses = function(r) {
1145
+ }, e.prototype._checkFinalizedStatuses = function(r) {
1185
1146
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1186
1147
  i ? r.error(o) : a && r.complete();
1187
- }, t.prototype.asObservable = function() {
1188
- var r = new dt();
1148
+ }, e.prototype.asObservable = function() {
1149
+ var r = new ge();
1189
1150
  return r.source = this, r;
1190
- }, t.create = function(r, n) {
1191
- return new gt(r, n);
1192
- }, t;
1193
- }(dt), gt = function(e) {
1194
- R(t, e);
1195
- function t(r, n) {
1196
- var i = e.call(this) || this;
1151
+ }, e.create = function(r, n) {
1152
+ return new ve(r, n);
1153
+ }, e;
1154
+ }(ge), ve = function(t) {
1155
+ ut(e, t);
1156
+ function e(r, n) {
1157
+ var i = t.call(this) || this;
1197
1158
  return i.destination = r, i.source = n, i;
1198
1159
  }
1199
- return t.prototype.next = function(r) {
1160
+ return e.prototype.next = function(r) {
1200
1161
  var n, i;
1201
1162
  (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1202
- }, t.prototype.error = function(r) {
1163
+ }, e.prototype.error = function(r) {
1203
1164
  var n, i;
1204
1165
  (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1205
- }, t.prototype.complete = function() {
1166
+ }, e.prototype.complete = function() {
1206
1167
  var r, n;
1207
1168
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1208
- }, t.prototype._subscribe = function(r) {
1169
+ }, e.prototype._subscribe = function(r) {
1209
1170
  var n, i;
1210
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
1211
- }, t;
1212
- }(Jt), qt = {
1171
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ze;
1172
+ }, e;
1173
+ }(qe), Ye = {
1213
1174
  now: function() {
1214
- return (qt.delegate || Date).now();
1175
+ return (Ye.delegate || Date).now();
1215
1176
  },
1216
1177
  delegate: void 0
1217
- }, _n = function(e) {
1218
- R(t, e);
1219
- function t(r, n, i) {
1220
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = qt);
1221
- var o = e.call(this) || this;
1178
+ }, _n = function(t) {
1179
+ ut(e, t);
1180
+ function e(r, n, i) {
1181
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ye);
1182
+ var o = t.call(this) || this;
1222
1183
  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;
1223
1184
  }
1224
- return t.prototype.next = function(r) {
1185
+ return e.prototype.next = function(r) {
1225
1186
  var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1226
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1227
- }, t.prototype._subscribe = function(r) {
1187
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), t.prototype.next.call(this, r);
1188
+ }, e.prototype._subscribe = function(r) {
1228
1189
  this._throwIfClosed(), this._trimBuffer();
1229
1190
  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)
1230
1191
  r.next(s[l]);
1231
1192
  return this._checkFinalizedStatuses(r), n;
1232
- }, t.prototype._trimBuffer = function() {
1193
+ }, e.prototype._trimBuffer = function() {
1233
1194
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1234
1195
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1235
1196
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1236
1197
  u = h;
1237
1198
  u && o.splice(0, u + 1);
1238
1199
  }
1239
- }, t;
1240
- }(Jt);
1241
- const yt = [], vt = {}, xn = (e, t = 0) => {
1242
- if (yt.indexOf(e) == -1) {
1243
- const r = new _n(t);
1244
- vt[e] = r, yt.push(e);
1200
+ }, e;
1201
+ }(qe);
1202
+ const _e = [], xe = {}, xn = (t, e = 0) => {
1203
+ if (_e.indexOf(t) == -1) {
1204
+ const r = new _n(e);
1205
+ xe[t] = r, _e.push(t);
1245
1206
  }
1246
- return vt[e];
1207
+ return xe[t];
1247
1208
  }, k = [];
1248
- function En(e, t) {
1209
+ function En(t, e) {
1249
1210
  return {
1250
- subscribe: Se(e, t).subscribe
1211
+ subscribe: Tt(t, e).subscribe
1251
1212
  };
1252
1213
  }
1253
- function Se(e, t = O) {
1214
+ function Tt(t, e = L) {
1254
1215
  let r;
1255
1216
  const n = /* @__PURE__ */ new Set();
1256
1217
  function i(s) {
1257
- if (Rt(e, s) && (e = s, r)) {
1218
+ if (Ue(t, s) && (t = s, r)) {
1258
1219
  const l = !k.length;
1259
1220
  for (const u of n)
1260
- u[1](), k.push(u, e);
1221
+ u[1](), k.push(u, t);
1261
1222
  if (l) {
1262
1223
  for (let u = 0; u < k.length; u += 2)
1263
1224
  k[u][0](k[u + 1]);
@@ -1266,33 +1227,33 @@ function Se(e, t = O) {
1266
1227
  }
1267
1228
  }
1268
1229
  function o(s) {
1269
- i(s(e));
1230
+ i(s(t));
1270
1231
  }
1271
- function a(s, l = O) {
1232
+ function a(s, l = L) {
1272
1233
  const u = [s, l];
1273
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1234
+ return n.add(u), n.size === 1 && (r = e(i, o) || L), s(t), () => {
1274
1235
  n.delete(u), n.size === 0 && r && (r(), r = null);
1275
1236
  };
1276
1237
  }
1277
1238
  return { set: i, update: o, subscribe: a };
1278
1239
  }
1279
- function Y(e, t, r) {
1280
- const n = !Array.isArray(e), i = n ? [e] : e;
1240
+ function q(t, e, r) {
1241
+ const n = !Array.isArray(t), i = n ? [t] : t;
1281
1242
  if (!i.every(Boolean))
1282
1243
  throw new Error("derived() expects stores as input, got a falsy value");
1283
- const o = t.length < 2;
1244
+ const o = e.length < 2;
1284
1245
  return En(r, (a, s) => {
1285
1246
  let l = !1;
1286
1247
  const u = [];
1287
- let h = 0, c = O;
1248
+ let h = 0, c = L;
1288
1249
  const f = () => {
1289
1250
  if (h)
1290
1251
  return;
1291
1252
  c();
1292
- const m = t(n ? u[0] : u, a, s);
1293
- o ? a(m) : c = Ee(m) ? m : O;
1253
+ const m = e(n ? u[0] : u, a, s);
1254
+ o ? a(m) : c = wt(m) ? m : L;
1294
1255
  }, p = i.map(
1295
- (m, d) => Gt(
1256
+ (m, d) => De(
1296
1257
  m,
1297
1258
  (v) => {
1298
1259
  u[d] = v, h &= ~(1 << d), l && f();
@@ -1307,186 +1268,236 @@ function Y(e, t, r) {
1307
1268
  };
1308
1269
  });
1309
1270
  }
1310
- function wn(e) {
1311
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1271
+ function wn(t) {
1272
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1312
1273
  }
1313
- var Sn = function(t) {
1314
- return Tn(t) && !Hn(t);
1274
+ var Sn = function(e) {
1275
+ return Tn(e) && !Hn(e);
1315
1276
  };
1316
- function Tn(e) {
1317
- return !!e && typeof e == "object";
1277
+ function Tn(t) {
1278
+ return !!t && typeof t == "object";
1318
1279
  }
1319
- function Hn(e) {
1320
- var t = Object.prototype.toString.call(e);
1321
- return t === "[object RegExp]" || t === "[object Date]" || An(e);
1280
+ function Hn(t) {
1281
+ var e = Object.prototype.toString.call(t);
1282
+ return e === "[object RegExp]" || e === "[object Date]" || An(t);
1322
1283
  }
1323
1284
  var Cn = typeof Symbol == "function" && Symbol.for, Bn = Cn ? Symbol.for("react.element") : 60103;
1324
- function An(e) {
1325
- return e.$$typeof === Bn;
1285
+ function An(t) {
1286
+ return t.$$typeof === Bn;
1326
1287
  }
1327
- function Pn(e) {
1328
- return Array.isArray(e) ? [] : {};
1288
+ function Pn(t) {
1289
+ return Array.isArray(t) ? [] : {};
1329
1290
  }
1330
- function se(e, t) {
1331
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Pn(e), e, t) : e;
1291
+ function ot(t, e) {
1292
+ return e.clone !== !1 && e.isMergeableObject(t) ? W(Pn(t), t, e) : t;
1332
1293
  }
1333
- function Ln(e, t, r) {
1334
- return e.concat(t).map(function(n) {
1335
- return se(n, r);
1294
+ function On(t, e, r) {
1295
+ return t.concat(e).map(function(n) {
1296
+ return ot(n, r);
1336
1297
  });
1337
1298
  }
1338
- function On(e, t) {
1339
- if (!t.customMerge)
1340
- return Z;
1341
- var r = t.customMerge(e);
1342
- return typeof r == "function" ? r : Z;
1299
+ function Ln(t, e) {
1300
+ if (!e.customMerge)
1301
+ return W;
1302
+ var r = e.customMerge(t);
1303
+ return typeof r == "function" ? r : W;
1343
1304
  }
1344
- function In(e) {
1345
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1346
- return Object.propertyIsEnumerable.call(e, t);
1305
+ function In(t) {
1306
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(e) {
1307
+ return Object.propertyIsEnumerable.call(t, e);
1347
1308
  }) : [];
1348
1309
  }
1349
- function _t(e) {
1350
- return Object.keys(e).concat(In(e));
1310
+ function Ee(t) {
1311
+ return Object.keys(t).concat(In(t));
1351
1312
  }
1352
- function Yt(e, t) {
1313
+ function Ke(t, e) {
1353
1314
  try {
1354
- return t in e;
1315
+ return e in t;
1355
1316
  } catch {
1356
1317
  return !1;
1357
1318
  }
1358
1319
  }
1359
- function Mn(e, t) {
1360
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1320
+ function Mn(t, e) {
1321
+ return Ke(t, e) && !(Object.hasOwnProperty.call(t, e) && Object.propertyIsEnumerable.call(t, e));
1361
1322
  }
1362
- function Nn(e, t, r) {
1323
+ function Nn(t, e, r) {
1363
1324
  var n = {};
1364
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1365
- n[i] = se(e[i], r);
1366
- }), _t(t).forEach(function(i) {
1367
- Mn(e, i) || (Yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1325
+ return r.isMergeableObject(t) && Ee(t).forEach(function(i) {
1326
+ n[i] = ot(t[i], r);
1327
+ }), Ee(e).forEach(function(i) {
1328
+ Mn(t, i) || (Ke(t, i) && r.isMergeableObject(e[i]) ? n[i] = Ln(i, r)(t[i], e[i], r) : n[i] = ot(e[i], r));
1368
1329
  }), n;
1369
1330
  }
1370
- function Z(e, t, r) {
1371
- r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = se;
1372
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1373
- return o ? n ? r.arrayMerge(e, t, r) : Nn(e, t, r) : se(t, r);
1331
+ function W(t, e, r) {
1332
+ r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ot;
1333
+ var n = Array.isArray(e), i = Array.isArray(t), o = n === i;
1334
+ return o ? n ? r.arrayMerge(t, e, r) : Nn(t, e, r) : ot(e, r);
1374
1335
  }
1375
- Z.all = function(t, r) {
1376
- if (!Array.isArray(t))
1336
+ W.all = function(e, r) {
1337
+ if (!Array.isArray(e))
1377
1338
  throw new Error("first argument should be an array");
1378
- return t.reduce(function(n, i) {
1379
- return Z(n, i, r);
1339
+ return e.reduce(function(n, i) {
1340
+ return W(n, i, r);
1380
1341
  }, {});
1381
1342
  };
1382
- var $n = Z, Rn = $n;
1343
+ var $n = W, Rn = $n;
1383
1344
  const Gn = /* @__PURE__ */ wn(Rn);
1384
- function Ne(e, t) {
1385
- var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
1386
- return i(e, {
1345
+ var Jt = function(t, e) {
1346
+ return Jt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1347
+ r.__proto__ = n;
1348
+ } || function(r, n) {
1349
+ for (var i in n)
1350
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1351
+ }, Jt(t, e);
1352
+ };
1353
+ function Ht(t, e) {
1354
+ if (typeof e != "function" && e !== null)
1355
+ throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
1356
+ Jt(t, e);
1357
+ function r() {
1358
+ this.constructor = t;
1359
+ }
1360
+ t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
1361
+ }
1362
+ var M = function() {
1363
+ return M = Object.assign || function(e) {
1364
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1365
+ r = arguments[n];
1366
+ for (var o in r)
1367
+ Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
1368
+ }
1369
+ return e;
1370
+ }, M.apply(this, arguments);
1371
+ };
1372
+ function Un(t, e) {
1373
+ var r = {};
1374
+ for (var n in t)
1375
+ Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
1376
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
1377
+ for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++)
1378
+ e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
1379
+ return r;
1380
+ }
1381
+ function $t(t, e, r) {
1382
+ if (r || arguments.length === 2)
1383
+ for (var n = 0, i = e.length, o; n < i; n++)
1384
+ (o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
1385
+ return t.concat(o || Array.prototype.slice.call(e));
1386
+ }
1387
+ function Rt(t, e) {
1388
+ var r = e && e.cache ? e.cache : zn, n = e && e.serializer ? e.serializer : Vn, i = e && e.strategy ? e.strategy : jn;
1389
+ return i(t, {
1387
1390
  cache: r,
1388
1391
  serializer: n
1389
1392
  });
1390
1393
  }
1391
- function Un(e) {
1392
- return e == null || typeof e == "number" || typeof e == "boolean";
1393
- }
1394
- function Kt(e, t, r, n) {
1395
- var i = Un(n) ? n : r(n), o = t.get(i);
1396
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1394
+ function Dn(t) {
1395
+ return t == null || typeof t == "number" || typeof t == "boolean";
1397
1396
  }
1398
- function er(e, t, r) {
1399
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1400
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1397
+ function Fn(t, e, r, n) {
1398
+ var i = Dn(n) ? n : r(n), o = e.get(i);
1399
+ return typeof o > "u" && (o = t.call(this, n), e.set(i, o)), o;
1401
1400
  }
1402
- function it(e, t, r, n, i) {
1403
- return r.bind(t, e, n, i);
1401
+ function tr(t, e, r) {
1402
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = e.get(i);
1403
+ return typeof o > "u" && (o = t.apply(this, n), e.set(i, o)), o;
1404
1404
  }
1405
- function Dn(e, t) {
1406
- var r = e.length === 1 ? Kt : er;
1407
- return it(e, this, r, t.cache.create(), t.serializer);
1405
+ function er(t, e, r, n, i) {
1406
+ return r.bind(e, t, n, i);
1408
1407
  }
1409
- function Fn(e, t) {
1410
- return it(e, this, er, t.cache.create(), t.serializer);
1408
+ function jn(t, e) {
1409
+ var r = t.length === 1 ? Fn : tr;
1410
+ return er(t, this, r, e.cache.create(), e.serializer);
1411
1411
  }
1412
- function jn(e, t) {
1413
- return it(e, this, Kt, t.cache.create(), t.serializer);
1412
+ function kn(t, e) {
1413
+ return er(t, this, tr, e.cache.create(), e.serializer);
1414
1414
  }
1415
- var kn = function() {
1415
+ var Vn = function() {
1416
1416
  return JSON.stringify(arguments);
1417
- };
1418
- function ot() {
1419
- this.cache = /* @__PURE__ */ Object.create(null);
1420
- }
1421
- ot.prototype.get = function(e) {
1422
- return this.cache[e];
1423
- };
1424
- ot.prototype.set = function(e, t) {
1425
- this.cache[e] = t;
1426
- };
1427
- var Vn = {
1417
+ }, Xn = (
1418
+ /** @class */
1419
+ function() {
1420
+ function t() {
1421
+ this.cache = /* @__PURE__ */ Object.create(null);
1422
+ }
1423
+ return t.prototype.get = function(e) {
1424
+ return this.cache[e];
1425
+ }, t.prototype.set = function(e, r) {
1426
+ this.cache[e] = r;
1427
+ }, t;
1428
+ }()
1429
+ ), zn = {
1428
1430
  create: function() {
1429
- return new ot();
1431
+ return new Xn();
1430
1432
  }
1431
- }, $e = {
1432
- variadic: Fn,
1433
- monadic: jn
1434
- }, b;
1435
- (function(e) {
1436
- 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";
1433
+ }, Gt = {
1434
+ variadic: kn
1435
+ }, _t = function() {
1436
+ return _t = Object.assign || function(e) {
1437
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1438
+ r = arguments[n];
1439
+ for (var o in r)
1440
+ Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
1441
+ }
1442
+ return e;
1443
+ }, _t.apply(this, arguments);
1444
+ };
1445
+ var b;
1446
+ (function(t) {
1447
+ t[t.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", t[t.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", t[t.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", t[t.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", t[t.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", t[t.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", t[t.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", t[t.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", t[t.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", t[t.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", t[t.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", t[t.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", t[t.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", t[t.INVALID_TAG = 23] = "INVALID_TAG", t[t.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", t[t.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", t[t.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1437
1448
  })(b || (b = {}));
1438
- var E;
1439
- (function(e) {
1440
- 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";
1441
- })(E || (E = {}));
1442
- var Q;
1443
- (function(e) {
1444
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1445
- })(Q || (Q = {}));
1446
- function xt(e) {
1447
- return e.type === E.literal;
1449
+ var x;
1450
+ (function(t) {
1451
+ t[t.literal = 0] = "literal", t[t.argument = 1] = "argument", t[t.number = 2] = "number", t[t.date = 3] = "date", t[t.time = 4] = "time", t[t.select = 5] = "select", t[t.plural = 6] = "plural", t[t.pound = 7] = "pound", t[t.tag = 8] = "tag";
1452
+ })(x || (x = {}));
1453
+ var Z;
1454
+ (function(t) {
1455
+ t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
1456
+ })(Z || (Z = {}));
1457
+ function we(t) {
1458
+ return t.type === x.literal;
1448
1459
  }
1449
- function Xn(e) {
1450
- return e.type === E.argument;
1460
+ function Wn(t) {
1461
+ return t.type === x.argument;
1451
1462
  }
1452
- function tr(e) {
1453
- return e.type === E.number;
1463
+ function rr(t) {
1464
+ return t.type === x.number;
1454
1465
  }
1455
- function rr(e) {
1456
- return e.type === E.date;
1466
+ function nr(t) {
1467
+ return t.type === x.date;
1457
1468
  }
1458
- function nr(e) {
1459
- return e.type === E.time;
1469
+ function ir(t) {
1470
+ return t.type === x.time;
1460
1471
  }
1461
- function ir(e) {
1462
- return e.type === E.select;
1472
+ function or(t) {
1473
+ return t.type === x.select;
1463
1474
  }
1464
- function or(e) {
1465
- return e.type === E.plural;
1475
+ function sr(t) {
1476
+ return t.type === x.plural;
1466
1477
  }
1467
- function zn(e) {
1468
- return e.type === E.pound;
1478
+ function Zn(t) {
1479
+ return t.type === x.pound;
1469
1480
  }
1470
- function sr(e) {
1471
- return e.type === E.tag;
1481
+ function ar(t) {
1482
+ return t.type === x.tag;
1472
1483
  }
1473
- function ar(e) {
1474
- return !!(e && typeof e == "object" && e.type === Q.number);
1484
+ function ur(t) {
1485
+ return !!(t && typeof t == "object" && t.type === Z.number);
1475
1486
  }
1476
- function We(e) {
1477
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1487
+ function qt(t) {
1488
+ return !!(t && typeof t == "object" && t.type === Z.dateTime);
1478
1489
  }
1479
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[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;
1480
- function Zn(e) {
1481
- var t = {};
1482
- return e.replace(Wn, function(r) {
1490
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qn = /(?:[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;
1491
+ function Jn(t) {
1492
+ var e = {};
1493
+ return t.replace(Qn, function(r) {
1483
1494
  var n = r.length;
1484
1495
  switch (r[0]) {
1485
1496
  case "G":
1486
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1497
+ e.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1487
1498
  break;
1488
1499
  case "y":
1489
- t.year = n === 2 ? "2-digit" : "numeric";
1500
+ e.year = n === 2 ? "2-digit" : "numeric";
1490
1501
  break;
1491
1502
  case "Y":
1492
1503
  case "u":
@@ -1498,64 +1509,64 @@ function Zn(e) {
1498
1509
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1499
1510
  case "M":
1500
1511
  case "L":
1501
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1512
+ e.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1502
1513
  break;
1503
1514
  case "w":
1504
1515
  case "W":
1505
1516
  throw new RangeError("`w/W` (week) patterns are not supported");
1506
1517
  case "d":
1507
- t.day = ["numeric", "2-digit"][n - 1];
1518
+ e.day = ["numeric", "2-digit"][n - 1];
1508
1519
  break;
1509
1520
  case "D":
1510
1521
  case "F":
1511
1522
  case "g":
1512
1523
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1513
1524
  case "E":
1514
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1525
+ e.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1515
1526
  break;
1516
1527
  case "e":
1517
1528
  if (n < 4)
1518
1529
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1519
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1530
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1520
1531
  break;
1521
1532
  case "c":
1522
1533
  if (n < 4)
1523
1534
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1524
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1535
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1525
1536
  break;
1526
1537
  case "a":
1527
- t.hour12 = !0;
1538
+ e.hour12 = !0;
1528
1539
  break;
1529
1540
  case "b":
1530
1541
  case "B":
1531
1542
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1532
1543
  case "h":
1533
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1544
+ e.hourCycle = "h12", e.hour = ["numeric", "2-digit"][n - 1];
1534
1545
  break;
1535
1546
  case "H":
1536
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1547
+ e.hourCycle = "h23", e.hour = ["numeric", "2-digit"][n - 1];
1537
1548
  break;
1538
1549
  case "K":
1539
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1550
+ e.hourCycle = "h11", e.hour = ["numeric", "2-digit"][n - 1];
1540
1551
  break;
1541
1552
  case "k":
1542
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1553
+ e.hourCycle = "h24", e.hour = ["numeric", "2-digit"][n - 1];
1543
1554
  break;
1544
1555
  case "j":
1545
1556
  case "J":
1546
1557
  case "C":
1547
1558
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1548
1559
  case "m":
1549
- t.minute = ["numeric", "2-digit"][n - 1];
1560
+ e.minute = ["numeric", "2-digit"][n - 1];
1550
1561
  break;
1551
1562
  case "s":
1552
- t.second = ["numeric", "2-digit"][n - 1];
1563
+ e.second = ["numeric", "2-digit"][n - 1];
1553
1564
  break;
1554
1565
  case "S":
1555
1566
  case "A":
1556
1567
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1557
1568
  case "z":
1558
- t.timeZoneName = n < 4 ? "short" : "long";
1569
+ e.timeZoneName = n < 4 ? "short" : "long";
1559
1570
  break;
1560
1571
  case "Z":
1561
1572
  case "O":
@@ -1566,15 +1577,25 @@ function Zn(e) {
1566
1577
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1567
1578
  }
1568
1579
  return "";
1569
- }), t;
1580
+ }), e;
1570
1581
  }
1571
- var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
- function Jn(e) {
1573
- if (e.length === 0)
1582
+ var w = function() {
1583
+ return w = Object.assign || function(e) {
1584
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1585
+ r = arguments[n];
1586
+ for (var o in r)
1587
+ Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
1588
+ }
1589
+ return e;
1590
+ }, w.apply(this, arguments);
1591
+ };
1592
+ var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1593
+ function Yn(t) {
1594
+ if (t.length === 0)
1574
1595
  throw new Error("Number skeleton cannot be empty");
1575
- for (var t = e.split(Qn).filter(function(f) {
1596
+ for (var e = t.split(qn).filter(function(f) {
1576
1597
  return f.length > 0;
1577
- }), r = [], n = 0, i = t; n < i.length; n++) {
1598
+ }), r = [], n = 0, i = e; n < i.length; n++) {
1578
1599
  var o = i[n], a = o.split("/");
1579
1600
  if (a.length === 0)
1580
1601
  throw new Error("Invalid number skeleton");
@@ -1587,18 +1608,18 @@ function Jn(e) {
1587
1608
  }
1588
1609
  return r;
1589
1610
  }
1590
- function qn(e) {
1591
- return e.replace(/^(.*?)-/, "");
1611
+ function Kn(t) {
1612
+ return t.replace(/^(.*?)-/, "");
1592
1613
  }
1593
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1594
- function wt(e) {
1595
- var t = {};
1596
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, n, i) {
1597
- 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)), "";
1598
- }), t;
1614
+ var Se = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, ti = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
1615
+ function Te(t) {
1616
+ var e = {};
1617
+ return t[t.length - 1] === "r" ? e.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), t.replace(hr, function(r, n, i) {
1618
+ return typeof i != "string" ? (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length) : i === "+" ? e.minimumSignificantDigits = n.length : n[0] === "#" ? e.maximumSignificantDigits = n.length : (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1619
+ }), e;
1599
1620
  }
1600
- function cr(e) {
1601
- switch (e) {
1621
+ function fr(t) {
1622
+ switch (t) {
1602
1623
  case "sign-auto":
1603
1624
  return {
1604
1625
  signDisplay: "auto"
@@ -1637,113 +1658,113 @@ function cr(e) {
1637
1658
  };
1638
1659
  }
1639
1660
  }
1640
- function Kn(e) {
1641
- var t;
1642
- if (e[0] === "E" && e[1] === "E" ? (t = {
1661
+ function ei(t) {
1662
+ var e;
1663
+ if (t[0] === "E" && t[1] === "E" ? (e = {
1643
1664
  notation: "engineering"
1644
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1665
+ }, t = t.slice(2)) : t[0] === "E" && (e = {
1645
1666
  notation: "scientific"
1646
- }, e = e.slice(1)), t) {
1647
- var r = e.slice(0, 2);
1648
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1667
+ }, t = t.slice(1)), e) {
1668
+ var r = t.slice(0, 2);
1669
+ if (r === "+!" ? (e.signDisplay = "always", t = t.slice(2)) : r === "+?" && (e.signDisplay = "exceptZero", t = t.slice(2)), !cr.test(t))
1649
1670
  throw new Error("Malformed concise eng/scientific notation");
1650
- t.minimumIntegerDigits = e.length;
1671
+ e.minimumIntegerDigits = t.length;
1651
1672
  }
1652
- return t;
1673
+ return e;
1653
1674
  }
1654
- function St(e) {
1655
- var t = {}, r = cr(e);
1656
- return r || t;
1675
+ function He(t) {
1676
+ var e = {}, r = fr(t);
1677
+ return r || e;
1657
1678
  }
1658
- function ei(e) {
1659
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1679
+ function ri(t) {
1680
+ for (var e = {}, r = 0, n = t; r < n.length; r++) {
1660
1681
  var i = n[r];
1661
1682
  switch (i.stem) {
1662
1683
  case "percent":
1663
1684
  case "%":
1664
- t.style = "percent";
1685
+ e.style = "percent";
1665
1686
  continue;
1666
1687
  case "%x100":
1667
- t.style = "percent", t.scale = 100;
1688
+ e.style = "percent", e.scale = 100;
1668
1689
  continue;
1669
1690
  case "currency":
1670
- t.style = "currency", t.currency = i.options[0];
1691
+ e.style = "currency", e.currency = i.options[0];
1671
1692
  continue;
1672
1693
  case "group-off":
1673
1694
  case ",_":
1674
- t.useGrouping = !1;
1695
+ e.useGrouping = !1;
1675
1696
  continue;
1676
1697
  case "precision-integer":
1677
1698
  case ".":
1678
- t.maximumFractionDigits = 0;
1699
+ e.maximumFractionDigits = 0;
1679
1700
  continue;
1680
1701
  case "measure-unit":
1681
1702
  case "unit":
1682
- t.style = "unit", t.unit = qn(i.options[0]);
1703
+ e.style = "unit", e.unit = Kn(i.options[0]);
1683
1704
  continue;
1684
1705
  case "compact-short":
1685
1706
  case "K":
1686
- t.notation = "compact", t.compactDisplay = "short";
1707
+ e.notation = "compact", e.compactDisplay = "short";
1687
1708
  continue;
1688
1709
  case "compact-long":
1689
1710
  case "KK":
1690
- t.notation = "compact", t.compactDisplay = "long";
1711
+ e.notation = "compact", e.compactDisplay = "long";
1691
1712
  continue;
1692
1713
  case "scientific":
1693
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1694
- return _(_({}, l), St(u));
1714
+ e = w(w(w({}, e), { notation: "scientific" }), i.options.reduce(function(l, u) {
1715
+ return w(w({}, l), He(u));
1695
1716
  }, {}));
1696
1717
  continue;
1697
1718
  case "engineering":
1698
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1699
- return _(_({}, l), St(u));
1719
+ e = w(w(w({}, e), { notation: "engineering" }), i.options.reduce(function(l, u) {
1720
+ return w(w({}, l), He(u));
1700
1721
  }, {}));
1701
1722
  continue;
1702
1723
  case "notation-simple":
1703
- t.notation = "standard";
1724
+ e.notation = "standard";
1704
1725
  continue;
1705
1726
  case "unit-width-narrow":
1706
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1727
+ e.currencyDisplay = "narrowSymbol", e.unitDisplay = "narrow";
1707
1728
  continue;
1708
1729
  case "unit-width-short":
1709
- t.currencyDisplay = "code", t.unitDisplay = "short";
1730
+ e.currencyDisplay = "code", e.unitDisplay = "short";
1710
1731
  continue;
1711
1732
  case "unit-width-full-name":
1712
- t.currencyDisplay = "name", t.unitDisplay = "long";
1733
+ e.currencyDisplay = "name", e.unitDisplay = "long";
1713
1734
  continue;
1714
1735
  case "unit-width-iso-code":
1715
- t.currencyDisplay = "symbol";
1736
+ e.currencyDisplay = "symbol";
1716
1737
  continue;
1717
1738
  case "scale":
1718
- t.scale = parseFloat(i.options[0]);
1739
+ e.scale = parseFloat(i.options[0]);
1719
1740
  continue;
1720
1741
  case "rounding-mode-floor":
1721
- t.roundingMode = "floor";
1742
+ e.roundingMode = "floor";
1722
1743
  continue;
1723
1744
  case "rounding-mode-ceiling":
1724
- t.roundingMode = "ceil";
1745
+ e.roundingMode = "ceil";
1725
1746
  continue;
1726
1747
  case "rounding-mode-down":
1727
- t.roundingMode = "trunc";
1748
+ e.roundingMode = "trunc";
1728
1749
  continue;
1729
1750
  case "rounding-mode-up":
1730
- t.roundingMode = "expand";
1751
+ e.roundingMode = "expand";
1731
1752
  continue;
1732
1753
  case "rounding-mode-half-even":
1733
- t.roundingMode = "halfEven";
1754
+ e.roundingMode = "halfEven";
1734
1755
  continue;
1735
1756
  case "rounding-mode-half-down":
1736
- t.roundingMode = "halfTrunc";
1757
+ e.roundingMode = "halfTrunc";
1737
1758
  continue;
1738
1759
  case "rounding-mode-half-up":
1739
- t.roundingMode = "halfExpand";
1760
+ e.roundingMode = "halfExpand";
1740
1761
  continue;
1741
1762
  case "integer-width":
1742
1763
  if (i.options.length > 1)
1743
1764
  throw new RangeError("integer-width stems only accept a single optional option");
1744
- i.options[0].replace(Yn, function(l, u, h, c, f, p) {
1765
+ i.options[0].replace(ti, function(l, u, h, c, f, p) {
1745
1766
  if (u)
1746
- t.minimumIntegerDigits = h.length;
1767
+ e.minimumIntegerDigits = h.length;
1747
1768
  else {
1748
1769
  if (c && f)
1749
1770
  throw new Error("We currently do not support maximum integer digits");
@@ -1754,32 +1775,32 @@ function ei(e) {
1754
1775
  });
1755
1776
  continue;
1756
1777
  }
1757
- if (hr.test(i.stem)) {
1758
- t.minimumIntegerDigits = i.stem.length;
1778
+ if (cr.test(i.stem)) {
1779
+ e.minimumIntegerDigits = i.stem.length;
1759
1780
  continue;
1760
1781
  }
1761
- if (Et.test(i.stem)) {
1782
+ if (Se.test(i.stem)) {
1762
1783
  if (i.options.length > 1)
1763
1784
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1764
- i.stem.replace(Et, function(l, u, h, c, f, p) {
1765
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1785
+ i.stem.replace(Se, function(l, u, h, c, f, p) {
1786
+ return h === "*" ? e.minimumFractionDigits = u.length : c && c[0] === "#" ? e.maximumFractionDigits = c.length : f && p ? (e.minimumFractionDigits = f.length, e.maximumFractionDigits = f.length + p.length) : (e.minimumFractionDigits = u.length, e.maximumFractionDigits = u.length), "";
1766
1787
  });
1767
1788
  var o = i.options[0];
1768
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
1789
+ o === "w" ? e = w(w({}, e), { trailingZeroDisplay: "stripIfInteger" }) : o && (e = w(w({}, e), Te(o)));
1769
1790
  continue;
1770
1791
  }
1771
- if (lr.test(i.stem)) {
1772
- t = _(_({}, t), wt(i.stem));
1792
+ if (hr.test(i.stem)) {
1793
+ e = w(w({}, e), Te(i.stem));
1773
1794
  continue;
1774
1795
  }
1775
- var a = cr(i.stem);
1776
- a && (t = _(_({}, t), a));
1777
- var s = Kn(i.stem);
1778
- s && (t = _(_({}, t), s));
1796
+ var a = fr(i.stem);
1797
+ a && (e = w(w({}, e), a));
1798
+ var s = ei(i.stem);
1799
+ s && (e = w(w({}, e), s));
1779
1800
  }
1780
- return t;
1801
+ return e;
1781
1802
  }
1782
- var ce = {
1803
+ var ct = {
1783
1804
  "001": [
1784
1805
  "H",
1785
1806
  "h"
@@ -3194,13 +3215,13 @@ var ce = {
3194
3215
  "h"
3195
3216
  ]
3196
3217
  };
3197
- function ti(e, t) {
3198
- for (var r = "", n = 0; n < e.length; n++) {
3199
- var i = e.charAt(n);
3218
+ function ni(t, e) {
3219
+ for (var r = "", n = 0; n < t.length; n++) {
3220
+ var i = t.charAt(n);
3200
3221
  if (i === "j") {
3201
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3222
+ for (var o = 0; n + 1 < t.length && t.charAt(n + 1) === i; )
3202
3223
  o++, n++;
3203
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
3224
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ii(e);
3204
3225
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3205
3226
  r += l;
3206
3227
  for (; a-- > 0; )
@@ -3210,12 +3231,12 @@ function ti(e, t) {
3210
3231
  }
3211
3232
  return r;
3212
3233
  }
3213
- function ri(e) {
3214
- var t = e.hourCycle;
3215
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3216
- e.hourCycles && // @ts-ignore
3217
- e.hourCycles.length && (t = e.hourCycles[0]), t)
3218
- switch (t) {
3234
+ function ii(t) {
3235
+ var e = t.hourCycle;
3236
+ if (e === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3237
+ t.hourCycles && // @ts-ignore
3238
+ t.hourCycles.length && (e = t.hourCycles[0]), e)
3239
+ switch (e) {
3219
3240
  case "h24":
3220
3241
  return "k";
3221
3242
  case "h23":
@@ -3227,153 +3248,153 @@ function ri(e) {
3227
3248
  default:
3228
3249
  throw new Error("Invalid hourCycle");
3229
3250
  }
3230
- var r = e.language, n;
3231
- r !== "root" && (n = e.maximize().region);
3232
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3251
+ var r = t.language, n;
3252
+ r !== "root" && (n = t.maximize().region);
3253
+ var i = ct[n || ""] || ct[r || ""] || ct["".concat(r, "-001")] || ct["001"];
3233
3254
  return i[0];
3234
3255
  }
3235
- var Re, ni = new RegExp("^".concat(ur.source, "*")), ii = new RegExp("".concat(ur.source, "*$"));
3236
- function y(e, t) {
3237
- return { start: e, end: t };
3256
+ var Ut, oi = new RegExp("^".concat(lr.source, "*")), si = new RegExp("".concat(lr.source, "*$"));
3257
+ function y(t, e) {
3258
+ return { start: t, end: e };
3238
3259
  }
3239
- var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
3240
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3241
- }, Ze = !0;
3260
+ var ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), ui = !!String.fromCodePoint, li = !!Object.fromEntries, hi = !!String.prototype.codePointAt, ci = !!String.prototype.trimStart, fi = !!String.prototype.trimEnd, mi = !!Number.isSafeInteger, pi = mi ? Number.isSafeInteger : function(t) {
3261
+ return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
3262
+ }, Yt = !0;
3242
3263
  try {
3243
- var mi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3244
- Ze = ((Re = mi.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
3264
+ var di = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3265
+ Yt = ((Ut = di.exec("a")) === null || Ut === void 0 ? void 0 : Ut[0]) === "a";
3245
3266
  } catch {
3246
- Ze = !1;
3267
+ Yt = !1;
3247
3268
  }
3248
- var Tt = oi ? (
3269
+ var Ce = ai ? (
3249
3270
  // Native
3250
- function(t, r, n) {
3251
- return t.startsWith(r, n);
3271
+ function(e, r, n) {
3272
+ return e.startsWith(r, n);
3252
3273
  }
3253
3274
  ) : (
3254
3275
  // For IE11
3255
- function(t, r, n) {
3256
- return t.slice(n, n + r.length) === r;
3276
+ function(e, r, n) {
3277
+ return e.slice(n, n + r.length) === r;
3257
3278
  }
3258
- ), Qe = si ? String.fromCodePoint : (
3279
+ ), Kt = ui ? String.fromCodePoint : (
3259
3280
  // IE11
3260
3281
  function() {
3261
- for (var t = [], r = 0; r < arguments.length; r++)
3262
- t[r] = arguments[r];
3263
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3264
- if (a = t[o++], a > 1114111)
3282
+ for (var e = [], r = 0; r < arguments.length; r++)
3283
+ e[r] = arguments[r];
3284
+ for (var n = "", i = e.length, o = 0, a; i > o; ) {
3285
+ if (a = e[o++], a > 1114111)
3265
3286
  throw RangeError(a + " is not a valid code point");
3266
3287
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3267
3288
  }
3268
3289
  return n;
3269
3290
  }
3270
- ), Ht = (
3291
+ ), Be = (
3271
3292
  // native
3272
- ai ? Object.fromEntries : (
3293
+ li ? Object.fromEntries : (
3273
3294
  // Ponyfill
3274
- function(t) {
3275
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3295
+ function(e) {
3296
+ for (var r = {}, n = 0, i = e; n < i.length; n++) {
3276
3297
  var o = i[n], a = o[0], s = o[1];
3277
3298
  r[a] = s;
3278
3299
  }
3279
3300
  return r;
3280
3301
  }
3281
3302
  )
3282
- ), fr = ui ? (
3303
+ ), mr = hi ? (
3283
3304
  // Native
3284
- function(t, r) {
3285
- return t.codePointAt(r);
3305
+ function(e, r) {
3306
+ return e.codePointAt(r);
3286
3307
  }
3287
3308
  ) : (
3288
3309
  // IE 11
3289
- function(t, r) {
3290
- var n = t.length;
3310
+ function(e, r) {
3311
+ var n = e.length;
3291
3312
  if (!(r < 0 || r >= n)) {
3292
- var i = t.charCodeAt(r), o;
3293
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3313
+ var i = e.charCodeAt(r), o;
3314
+ return i < 55296 || i > 56319 || r + 1 === n || (o = e.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3294
3315
  }
3295
3316
  }
3296
- ), pi = li ? (
3317
+ ), bi = ci ? (
3297
3318
  // Native
3298
- function(t) {
3299
- return t.trimStart();
3319
+ function(e) {
3320
+ return e.trimStart();
3300
3321
  }
3301
3322
  ) : (
3302
3323
  // Ponyfill
3303
- function(t) {
3304
- return t.replace(ni, "");
3324
+ function(e) {
3325
+ return e.replace(oi, "");
3305
3326
  }
3306
- ), di = hi ? (
3327
+ ), gi = fi ? (
3307
3328
  // Native
3308
- function(t) {
3309
- return t.trimEnd();
3329
+ function(e) {
3330
+ return e.trimEnd();
3310
3331
  }
3311
3332
  ) : (
3312
3333
  // Ponyfill
3313
- function(t) {
3314
- return t.replace(ii, "");
3334
+ function(e) {
3335
+ return e.replace(si, "");
3315
3336
  }
3316
3337
  );
3317
- function mr(e, t) {
3318
- return new RegExp(e, t);
3338
+ function pr(t, e) {
3339
+ return new RegExp(t, e);
3319
3340
  }
3320
- var Je;
3321
- if (Ze) {
3322
- var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3323
- Je = function(t, r) {
3341
+ var te;
3342
+ if (Yt) {
3343
+ var Ae = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3344
+ te = function(e, r) {
3324
3345
  var n;
3325
- Ct.lastIndex = r;
3326
- var i = Ct.exec(t);
3346
+ Ae.lastIndex = r;
3347
+ var i = Ae.exec(e);
3327
3348
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3328
3349
  };
3329
3350
  } else
3330
- Je = function(t, r) {
3351
+ te = function(e, r) {
3331
3352
  for (var n = []; ; ) {
3332
- var i = fr(t, r);
3333
- if (i === void 0 || pr(i) || vi(i))
3353
+ var i = mr(e, r);
3354
+ if (i === void 0 || dr(i) || xi(i))
3334
3355
  break;
3335
3356
  n.push(i), r += i >= 65536 ? 2 : 1;
3336
3357
  }
3337
- return Qe.apply(void 0, n);
3358
+ return Kt.apply(void 0, n);
3338
3359
  };
3339
- var bi = (
3360
+ var yi = (
3340
3361
  /** @class */
3341
3362
  function() {
3342
- function e(t, r) {
3343
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3363
+ function t(e, r) {
3364
+ r === void 0 && (r = {}), this.message = e, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3344
3365
  }
3345
- return e.prototype.parse = function() {
3366
+ return t.prototype.parse = function() {
3346
3367
  if (this.offset() !== 0)
3347
3368
  throw Error("parser can only be used once");
3348
3369
  return this.parseMessage(0, "", !1);
3349
- }, e.prototype.parseMessage = function(t, r, n) {
3370
+ }, t.prototype.parseMessage = function(e, r, n) {
3350
3371
  for (var i = []; !this.isEOF(); ) {
3351
3372
  var o = this.char();
3352
3373
  if (o === 123) {
3353
- var a = this.parseArgument(t, n);
3374
+ var a = this.parseArgument(e, n);
3354
3375
  if (a.err)
3355
3376
  return a;
3356
3377
  i.push(a.val);
3357
3378
  } else {
3358
- if (o === 125 && t > 0)
3379
+ if (o === 125 && e > 0)
3359
3380
  break;
3360
3381
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3361
3382
  var s = this.clonePosition();
3362
3383
  this.bump(), i.push({
3363
- type: E.pound,
3384
+ type: x.pound,
3364
3385
  location: y(s, this.clonePosition())
3365
3386
  });
3366
3387
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3367
3388
  if (n)
3368
3389
  break;
3369
3390
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3370
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3371
- var a = this.parseTag(t, r);
3391
+ } else if (o === 60 && !this.ignoreTag && ee(this.peek() || 0)) {
3392
+ var a = this.parseTag(e, r);
3372
3393
  if (a.err)
3373
3394
  return a;
3374
3395
  i.push(a.val);
3375
3396
  } else {
3376
- var a = this.parseLiteral(t, r);
3397
+ var a = this.parseLiteral(e, r);
3377
3398
  if (a.err)
3378
3399
  return a;
3379
3400
  i.push(a.val);
@@ -3381,31 +3402,31 @@ var bi = (
3381
3402
  }
3382
3403
  }
3383
3404
  return { val: i, err: null };
3384
- }, e.prototype.parseTag = function(t, r) {
3405
+ }, t.prototype.parseTag = function(e, r) {
3385
3406
  var n = this.clonePosition();
3386
3407
  this.bump();
3387
3408
  var i = this.parseTagName();
3388
3409
  if (this.bumpSpace(), this.bumpIf("/>"))
3389
3410
  return {
3390
3411
  val: {
3391
- type: E.literal,
3412
+ type: x.literal,
3392
3413
  value: "<".concat(i, "/>"),
3393
3414
  location: y(n, this.clonePosition())
3394
3415
  },
3395
3416
  err: null
3396
3417
  };
3397
3418
  if (this.bumpIf(">")) {
3398
- var o = this.parseMessage(t + 1, r, !0);
3419
+ var o = this.parseMessage(e + 1, r, !0);
3399
3420
  if (o.err)
3400
3421
  return o;
3401
3422
  var a = o.val, s = this.clonePosition();
3402
3423
  if (this.bumpIf("</")) {
3403
- if (this.isEOF() || !qe(this.char()))
3424
+ if (this.isEOF() || !ee(this.char()))
3404
3425
  return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
3405
3426
  var l = this.clonePosition(), u = this.parseTagName();
3406
3427
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3407
3428
  val: {
3408
- type: E.tag,
3429
+ type: x.tag,
3409
3430
  value: i,
3410
3431
  children: a,
3411
3432
  location: y(n, this.clonePosition())
@@ -3416,19 +3437,19 @@ var bi = (
3416
3437
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3417
3438
  } else
3418
3439
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3419
- }, e.prototype.parseTagName = function() {
3420
- var t = this.offset();
3421
- for (this.bump(); !this.isEOF() && yi(this.char()); )
3440
+ }, t.prototype.parseTagName = function() {
3441
+ var e = this.offset();
3442
+ for (this.bump(); !this.isEOF() && _i(this.char()); )
3422
3443
  this.bump();
3423
- return this.message.slice(t, this.offset());
3424
- }, e.prototype.parseLiteral = function(t, r) {
3444
+ return this.message.slice(e, this.offset());
3445
+ }, t.prototype.parseLiteral = function(e, r) {
3425
3446
  for (var n = this.clonePosition(), i = ""; ; ) {
3426
3447
  var o = this.tryParseQuote(r);
3427
3448
  if (o) {
3428
3449
  i += o;
3429
3450
  continue;
3430
3451
  }
3431
- var a = this.tryParseUnquoted(t, r);
3452
+ var a = this.tryParseUnquoted(e, r);
3432
3453
  if (a) {
3433
3454
  i += a;
3434
3455
  continue;
@@ -3442,13 +3463,13 @@ var bi = (
3442
3463
  }
3443
3464
  var l = y(n, this.clonePosition());
3444
3465
  return {
3445
- val: { type: E.literal, value: i, location: l },
3466
+ val: { type: x.literal, value: i, location: l },
3446
3467
  err: null
3447
3468
  };
3448
- }, e.prototype.tryParseLeftAngleBracket = function() {
3469
+ }, t.prototype.tryParseLeftAngleBracket = function() {
3449
3470
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3450
- !gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3451
- }, e.prototype.tryParseQuote = function(t) {
3471
+ !vi(this.peek() || 0)) ? (this.bump(), "<") : null;
3472
+ }, t.prototype.tryParseQuote = function(e) {
3452
3473
  if (this.isEOF() || this.char() !== 39)
3453
3474
  return null;
3454
3475
  switch (this.peek()) {
@@ -3460,7 +3481,7 @@ var bi = (
3460
3481
  case 125:
3461
3482
  break;
3462
3483
  case 35:
3463
- if (t === "plural" || t === "selectordinal")
3484
+ if (e === "plural" || e === "selectordinal")
3464
3485
  break;
3465
3486
  return null;
3466
3487
  default:
@@ -3481,13 +3502,13 @@ var bi = (
3481
3502
  r.push(n);
3482
3503
  this.bump();
3483
3504
  }
3484
- return Qe.apply(void 0, r);
3485
- }, e.prototype.tryParseUnquoted = function(t, r) {
3505
+ return Kt.apply(void 0, r);
3506
+ }, t.prototype.tryParseUnquoted = function(e, r) {
3486
3507
  if (this.isEOF())
3487
3508
  return null;
3488
3509
  var n = this.char();
3489
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3490
- }, e.prototype.parseArgument = function(t, r) {
3510
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), Kt(n));
3511
+ }, t.prototype.parseArgument = function(e, r) {
3491
3512
  var n = this.clonePosition();
3492
3513
  if (this.bump(), this.bumpSpace(), this.isEOF())
3493
3514
  return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
@@ -3502,7 +3523,7 @@ var bi = (
3502
3523
  case 125:
3503
3524
  return this.bump(), {
3504
3525
  val: {
3505
- type: E.argument,
3526
+ type: x.argument,
3506
3527
  // value does not include the opening and closing braces.
3507
3528
  value: i,
3508
3529
  location: y(n, this.clonePosition())
@@ -3510,16 +3531,16 @@ var bi = (
3510
3531
  err: null
3511
3532
  };
3512
3533
  case 44:
3513
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3534
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(e, r, i, n);
3514
3535
  default:
3515
3536
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3516
3537
  }
3517
- }, e.prototype.parseIdentifierIfPossible = function() {
3518
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3538
+ }, t.prototype.parseIdentifierIfPossible = function() {
3539
+ var e = this.clonePosition(), r = this.offset(), n = te(this.message, r), i = r + n.length;
3519
3540
  this.bumpTo(i);
3520
- var o = this.clonePosition(), a = y(t, o);
3541
+ var o = this.clonePosition(), a = y(e, o);
3521
3542
  return { value: n, location: a };
3522
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3543
+ }, t.prototype.parseArgumentOptions = function(e, r, n, i) {
3523
3544
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3524
3545
  switch (s) {
3525
3546
  case "":
@@ -3534,7 +3555,7 @@ var bi = (
3534
3555
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3535
3556
  if (c.err)
3536
3557
  return c;
3537
- var f = di(c.val);
3558
+ var f = gi(c.val);
3538
3559
  if (f.length === 0)
3539
3560
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3540
3561
  var p = y(h, this.clonePosition());
@@ -3544,25 +3565,25 @@ var bi = (
3544
3565
  if (m.err)
3545
3566
  return m;
3546
3567
  var d = y(i, this.clonePosition());
3547
- if (u && Tt(u?.style, "::", 0)) {
3548
- var v = pi(u.style.slice(2));
3568
+ if (u && Ce(u?.style, "::", 0)) {
3569
+ var v = bi(u.style.slice(2));
3549
3570
  if (s === "number") {
3550
3571
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3551
3572
  return c.err ? c : {
3552
- val: { type: E.number, value: n, location: d, style: c.val },
3573
+ val: { type: x.number, value: n, location: d, style: c.val },
3553
3574
  err: null
3554
3575
  };
3555
3576
  } else {
3556
3577
  if (v.length === 0)
3557
3578
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3558
3579
  var T = v;
3559
- this.locale && (T = ti(v, this.locale));
3580
+ this.locale && (T = ni(v, this.locale));
3560
3581
  var f = {
3561
- type: Q.dateTime,
3582
+ type: Z.dateTime,
3562
3583
  pattern: T,
3563
3584
  location: u.styleLocation,
3564
- parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
3565
- }, C = s === "date" ? E.date : E.time;
3585
+ parsedOptions: this.shouldParseSkeletons ? Jn(T) : {}
3586
+ }, C = s === "date" ? x.date : x.time;
3566
3587
  return {
3567
3588
  val: { type: C, value: n, location: d, style: f },
3568
3589
  err: null
@@ -3571,7 +3592,7 @@ var bi = (
3571
3592
  }
3572
3593
  return {
3573
3594
  val: {
3574
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
3595
+ type: s === "number" ? x.number : s === "date" ? x.date : x.time,
3575
3596
  value: n,
3576
3597
  location: d,
3577
3598
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3584,9 +3605,9 @@ var bi = (
3584
3605
  case "select": {
3585
3606
  var S = this.clonePosition();
3586
3607
  if (this.bumpSpace(), !this.bumpIf(","))
3587
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _({}, S)));
3608
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, _t({}, S)));
3588
3609
  this.bumpSpace();
3589
- var B = this.parseIdentifierIfPossible(), w = 0;
3610
+ var B = this.parseIdentifierIfPossible(), E = 0;
3590
3611
  if (s !== "select" && B.value === "offset") {
3591
3612
  if (!this.bumpIf(":"))
3592
3613
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
@@ -3594,31 +3615,31 @@ var bi = (
3594
3615
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3595
3616
  if (c.err)
3596
3617
  return c;
3597
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
3618
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), E = c.val;
3598
3619
  }
3599
- var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
3600
- if (x.err)
3601
- return x;
3620
+ var _ = this.tryParsePluralOrSelectOptions(e, s, r, B);
3621
+ if (_.err)
3622
+ return _;
3602
3623
  var m = this.tryParseArgumentClose(i);
3603
3624
  if (m.err)
3604
3625
  return m;
3605
- var L = y(i, this.clonePosition());
3626
+ var O = y(i, this.clonePosition());
3606
3627
  return s === "select" ? {
3607
3628
  val: {
3608
- type: E.select,
3629
+ type: x.select,
3609
3630
  value: n,
3610
- options: Ht(x.val),
3611
- location: L
3631
+ options: Be(_.val),
3632
+ location: O
3612
3633
  },
3613
3634
  err: null
3614
3635
  } : {
3615
3636
  val: {
3616
- type: E.plural,
3637
+ type: x.plural,
3617
3638
  value: n,
3618
- options: Ht(x.val),
3619
- offset: w,
3639
+ options: Be(_.val),
3640
+ offset: E,
3620
3641
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3621
- location: L
3642
+ location: O
3622
3643
  },
3623
3644
  err: null
3624
3645
  };
@@ -3626,10 +3647,10 @@ var bi = (
3626
3647
  default:
3627
3648
  return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3628
3649
  }
3629
- }, e.prototype.tryParseArgumentClose = function(t) {
3630
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3631
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3632
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3650
+ }, t.prototype.tryParseArgumentClose = function(e) {
3651
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(e, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3652
+ }, t.prototype.parseSimpleArgStyleIfPossible = function() {
3653
+ for (var e = 0, r = this.clonePosition(); !this.isEOF(); ) {
3633
3654
  var n = this.char();
3634
3655
  switch (n) {
3635
3656
  case 39: {
@@ -3641,12 +3662,12 @@ var bi = (
3641
3662
  break;
3642
3663
  }
3643
3664
  case 123: {
3644
- t += 1, this.bump();
3665
+ e += 1, this.bump();
3645
3666
  break;
3646
3667
  }
3647
3668
  case 125: {
3648
- if (t > 0)
3649
- t -= 1;
3669
+ if (e > 0)
3670
+ e -= 1;
3650
3671
  else
3651
3672
  return {
3652
3673
  val: this.message.slice(r.offset, this.offset()),
@@ -3663,23 +3684,23 @@ var bi = (
3663
3684
  val: this.message.slice(r.offset, this.offset()),
3664
3685
  err: null
3665
3686
  };
3666
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3687
+ }, t.prototype.parseNumberSkeletonFromString = function(e, r) {
3667
3688
  var n = [];
3668
3689
  try {
3669
- n = Jn(t);
3690
+ n = Yn(e);
3670
3691
  } catch {
3671
3692
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3672
3693
  }
3673
3694
  return {
3674
3695
  val: {
3675
- type: Q.number,
3696
+ type: Z.number,
3676
3697
  tokens: n,
3677
3698
  location: r,
3678
- parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3699
+ parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
3679
3700
  },
3680
3701
  err: null
3681
3702
  };
3682
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3703
+ }, t.prototype.tryParsePluralOrSelectOptions = function(e, r, n, i) {
3683
3704
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3684
3705
  if (u.length === 0) {
3685
3706
  var c = this.clonePosition();
@@ -3697,7 +3718,7 @@ var bi = (
3697
3718
  var p = this.clonePosition();
3698
3719
  if (!this.bumpIf("{"))
3699
3720
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3700
- var m = this.parseMessage(t + 1, r, n);
3721
+ var m = this.parseMessage(e + 1, r, n);
3701
3722
  if (m.err)
3702
3723
  return m;
3703
3724
  var d = this.tryParseArgumentClose(p);
@@ -3712,7 +3733,7 @@ var bi = (
3712
3733
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3713
3734
  }
3714
3735
  return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3715
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3736
+ }, t.prototype.tryParseDecimalInteger = function(e, r) {
3716
3737
  var n = 1, i = this.clonePosition();
3717
3738
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3718
3739
  for (var o = !1, a = 0; !this.isEOF(); ) {
@@ -3723,320 +3744,320 @@ var bi = (
3723
3744
  break;
3724
3745
  }
3725
3746
  var l = y(i, this.clonePosition());
3726
- return o ? (a *= n, fi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3727
- }, e.prototype.offset = function() {
3747
+ return o ? (a *= n, pi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(e, l);
3748
+ }, t.prototype.offset = function() {
3728
3749
  return this.position.offset;
3729
- }, e.prototype.isEOF = function() {
3750
+ }, t.prototype.isEOF = function() {
3730
3751
  return this.offset() === this.message.length;
3731
- }, e.prototype.clonePosition = function() {
3752
+ }, t.prototype.clonePosition = function() {
3732
3753
  return {
3733
3754
  offset: this.position.offset,
3734
3755
  line: this.position.line,
3735
3756
  column: this.position.column
3736
3757
  };
3737
- }, e.prototype.char = function() {
3738
- var t = this.position.offset;
3739
- if (t >= this.message.length)
3758
+ }, t.prototype.char = function() {
3759
+ var e = this.position.offset;
3760
+ if (e >= this.message.length)
3740
3761
  throw Error("out of bound");
3741
- var r = fr(this.message, t);
3762
+ var r = mr(this.message, e);
3742
3763
  if (r === void 0)
3743
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3764
+ throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3744
3765
  return r;
3745
- }, e.prototype.error = function(t, r) {
3766
+ }, t.prototype.error = function(e, r) {
3746
3767
  return {
3747
3768
  val: null,
3748
3769
  err: {
3749
- kind: t,
3770
+ kind: e,
3750
3771
  message: this.message,
3751
3772
  location: r
3752
3773
  }
3753
3774
  };
3754
- }, e.prototype.bump = function() {
3775
+ }, t.prototype.bump = function() {
3755
3776
  if (!this.isEOF()) {
3756
- var t = this.char();
3757
- 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);
3777
+ var e = this.char();
3778
+ e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
3758
3779
  }
3759
- }, e.prototype.bumpIf = function(t) {
3760
- if (Tt(this.message, t, this.offset())) {
3761
- for (var r = 0; r < t.length; r++)
3780
+ }, t.prototype.bumpIf = function(e) {
3781
+ if (Ce(this.message, e, this.offset())) {
3782
+ for (var r = 0; r < e.length; r++)
3762
3783
  this.bump();
3763
3784
  return !0;
3764
3785
  }
3765
3786
  return !1;
3766
- }, e.prototype.bumpUntil = function(t) {
3767
- var r = this.offset(), n = this.message.indexOf(t, r);
3787
+ }, t.prototype.bumpUntil = function(e) {
3788
+ var r = this.offset(), n = this.message.indexOf(e, r);
3768
3789
  return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3769
- }, e.prototype.bumpTo = function(t) {
3770
- if (this.offset() > t)
3771
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3772
- for (t = Math.min(t, this.message.length); ; ) {
3790
+ }, t.prototype.bumpTo = function(e) {
3791
+ if (this.offset() > e)
3792
+ throw Error("targetOffset ".concat(e, " must be greater than or equal to the current offset ").concat(this.offset()));
3793
+ for (e = Math.min(e, this.message.length); ; ) {
3773
3794
  var r = this.offset();
3774
- if (r === t)
3795
+ if (r === e)
3775
3796
  break;
3776
- if (r > t)
3777
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3797
+ if (r > e)
3798
+ throw Error("targetOffset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3778
3799
  if (this.bump(), this.isEOF())
3779
3800
  break;
3780
3801
  }
3781
- }, e.prototype.bumpSpace = function() {
3782
- for (; !this.isEOF() && pr(this.char()); )
3802
+ }, t.prototype.bumpSpace = function() {
3803
+ for (; !this.isEOF() && dr(this.char()); )
3783
3804
  this.bump();
3784
- }, e.prototype.peek = function() {
3805
+ }, t.prototype.peek = function() {
3785
3806
  if (this.isEOF())
3786
3807
  return null;
3787
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3808
+ var e = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (e >= 65536 ? 2 : 1));
3788
3809
  return n ?? null;
3789
- }, e;
3810
+ }, t;
3790
3811
  }()
3791
3812
  );
3792
- function qe(e) {
3793
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3813
+ function ee(t) {
3814
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90;
3794
3815
  }
3795
- function gi(e) {
3796
- return qe(e) || e === 47;
3816
+ function vi(t) {
3817
+ return ee(t) || t === 47;
3797
3818
  }
3798
- function yi(e) {
3799
- 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;
3819
+ function _i(t) {
3820
+ return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
3800
3821
  }
3801
- function pr(e) {
3802
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3822
+ function dr(t) {
3823
+ return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
3803
3824
  }
3804
- function vi(e) {
3805
- 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;
3825
+ function xi(t) {
3826
+ return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
3806
3827
  }
3807
- function Ye(e) {
3808
- e.forEach(function(t) {
3809
- if (delete t.location, ir(t) || or(t))
3810
- for (var r in t.options)
3811
- delete t.options[r].location, Ye(t.options[r].value);
3828
+ function re(t) {
3829
+ t.forEach(function(e) {
3830
+ if (delete e.location, or(e) || sr(e))
3831
+ for (var r in e.options)
3832
+ delete e.options[r].location, re(e.options[r].value);
3812
3833
  else
3813
- tr(t) && ar(t.style) || (rr(t) || nr(t)) && We(t.style) ? delete t.style.location : sr(t) && Ye(t.children);
3834
+ rr(e) && ur(e.style) || (nr(e) || ir(e)) && qt(e.style) ? delete e.style.location : ar(e) && re(e.children);
3814
3835
  });
3815
3836
  }
3816
- function _i(e, t) {
3817
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3818
- var r = new bi(e, t).parse();
3837
+ function Ei(t, e) {
3838
+ e === void 0 && (e = {}), e = _t({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, e);
3839
+ var r = new yi(t, e).parse();
3819
3840
  if (r.err) {
3820
3841
  var n = SyntaxError(b[r.err.kind]);
3821
3842
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3822
3843
  }
3823
- return t?.captureLocation || Ye(r.val), r.val;
3844
+ return e?.captureLocation || re(r.val), r.val;
3824
3845
  }
3825
- var J;
3826
- (function(e) {
3827
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3828
- })(J || (J = {}));
3829
- var Te = (
3846
+ var Q;
3847
+ (function(t) {
3848
+ t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
3849
+ })(Q || (Q = {}));
3850
+ var Ct = (
3830
3851
  /** @class */
3831
- function(e) {
3832
- R(t, e);
3833
- function t(r, n, i) {
3834
- var o = e.call(this, r) || this;
3852
+ function(t) {
3853
+ Ht(e, t);
3854
+ function e(r, n, i) {
3855
+ var o = t.call(this, r) || this;
3835
3856
  return o.code = n, o.originalMessage = i, o;
3836
3857
  }
3837
- return t.prototype.toString = function() {
3858
+ return e.prototype.toString = function() {
3838
3859
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3839
- }, t;
3860
+ }, e;
3840
3861
  }(Error)
3841
- ), Bt = (
3862
+ ), Pe = (
3842
3863
  /** @class */
3843
- function(e) {
3844
- R(t, e);
3845
- function t(r, n, i, o) {
3846
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3864
+ function(t) {
3865
+ Ht(e, t);
3866
+ function e(r, n, i, o) {
3867
+ return t.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
3847
3868
  }
3848
- return t;
3849
- }(Te)
3850
- ), xi = (
3869
+ return e;
3870
+ }(Ct)
3871
+ ), wi = (
3851
3872
  /** @class */
3852
- function(e) {
3853
- R(t, e);
3854
- function t(r, n, i) {
3855
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3873
+ function(t) {
3874
+ Ht(e, t);
3875
+ function e(r, n, i) {
3876
+ return t.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3856
3877
  }
3857
- return t;
3858
- }(Te)
3859
- ), Ei = (
3878
+ return e;
3879
+ }(Ct)
3880
+ ), Si = (
3860
3881
  /** @class */
3861
- function(e) {
3862
- R(t, e);
3863
- function t(r, n) {
3864
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3882
+ function(t) {
3883
+ Ht(e, t);
3884
+ function e(r, n) {
3885
+ return t.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3865
3886
  }
3866
- return t;
3867
- }(Te)
3887
+ return e;
3888
+ }(Ct)
3868
3889
  ), A;
3869
- (function(e) {
3870
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3890
+ (function(t) {
3891
+ t[t.literal = 0] = "literal", t[t.object = 1] = "object";
3871
3892
  })(A || (A = {}));
3872
- function wi(e) {
3873
- return e.length < 2 ? e : e.reduce(function(t, r) {
3874
- var n = t[t.length - 1];
3875
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3893
+ function Ti(t) {
3894
+ return t.length < 2 ? t : t.reduce(function(e, r) {
3895
+ var n = e[e.length - 1];
3896
+ return !n || n.type !== A.literal || r.type !== A.literal ? e.push(r) : n.value += r.value, e;
3876
3897
  }, []);
3877
3898
  }
3878
- function Si(e) {
3879
- return typeof e == "function";
3899
+ function Hi(t) {
3900
+ return typeof t == "function";
3880
3901
  }
3881
- function de(e, t, r, n, i, o, a) {
3882
- if (e.length === 1 && xt(e[0]))
3902
+ function dt(t, e, r, n, i, o, a) {
3903
+ if (t.length === 1 && we(t[0]))
3883
3904
  return [
3884
3905
  {
3885
3906
  type: A.literal,
3886
- value: e[0].value
3907
+ value: t[0].value
3887
3908
  }
3888
3909
  ];
3889
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3910
+ for (var s = [], l = 0, u = t; l < u.length; l++) {
3890
3911
  var h = u[l];
3891
- if (xt(h)) {
3912
+ if (we(h)) {
3892
3913
  s.push({
3893
3914
  type: A.literal,
3894
3915
  value: h.value
3895
3916
  });
3896
3917
  continue;
3897
3918
  }
3898
- if (zn(h)) {
3919
+ if (Zn(h)) {
3899
3920
  typeof o == "number" && s.push({
3900
3921
  type: A.literal,
3901
- value: r.getNumberFormat(t).format(o)
3922
+ value: r.getNumberFormat(e).format(o)
3902
3923
  });
3903
3924
  continue;
3904
3925
  }
3905
3926
  var c = h.value;
3906
3927
  if (!(i && c in i))
3907
- throw new Ei(c, a);
3928
+ throw new Si(c, a);
3908
3929
  var f = i[c];
3909
- if (Xn(h)) {
3930
+ if (Wn(h)) {
3910
3931
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3911
3932
  type: typeof f == "string" ? A.literal : A.object,
3912
3933
  value: f
3913
3934
  });
3914
3935
  continue;
3915
3936
  }
3916
- if (rr(h)) {
3917
- var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3937
+ if (nr(h)) {
3938
+ var p = typeof h.style == "string" ? n.date[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3918
3939
  s.push({
3919
3940
  type: A.literal,
3920
- value: r.getDateTimeFormat(t, p).format(f)
3941
+ value: r.getDateTimeFormat(e, p).format(f)
3921
3942
  });
3922
3943
  continue;
3923
3944
  }
3924
- if (nr(h)) {
3925
- var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3945
+ if (ir(h)) {
3946
+ var p = typeof h.style == "string" ? n.time[h.style] : qt(h.style) ? h.style.parsedOptions : n.time.medium;
3926
3947
  s.push({
3927
3948
  type: A.literal,
3928
- value: r.getDateTimeFormat(t, p).format(f)
3949
+ value: r.getDateTimeFormat(e, p).format(f)
3929
3950
  });
3930
3951
  continue;
3931
3952
  }
3932
- if (tr(h)) {
3933
- var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3953
+ if (rr(h)) {
3954
+ var p = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3934
3955
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3935
3956
  type: A.literal,
3936
- value: r.getNumberFormat(t, p).format(f)
3957
+ value: r.getNumberFormat(e, p).format(f)
3937
3958
  });
3938
3959
  continue;
3939
3960
  }
3940
- if (sr(h)) {
3961
+ if (ar(h)) {
3941
3962
  var m = h.children, d = h.value, v = i[d];
3942
- if (!Si(v))
3943
- throw new xi(d, "function", a);
3944
- var T = de(m, t, r, n, i, o), C = v(T.map(function(w) {
3945
- return w.value;
3963
+ if (!Hi(v))
3964
+ throw new wi(d, "function", a);
3965
+ var T = dt(m, e, r, n, i, o), C = v(T.map(function(E) {
3966
+ return E.value;
3946
3967
  }));
3947
- Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
3968
+ Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(E) {
3948
3969
  return {
3949
- type: typeof w == "string" ? A.literal : A.object,
3950
- value: w
3970
+ type: typeof E == "string" ? A.literal : A.object,
3971
+ value: E
3951
3972
  };
3952
3973
  }));
3953
3974
  }
3954
- if (ir(h)) {
3975
+ if (or(h)) {
3955
3976
  var S = h.options[f] || h.options.other;
3956
3977
  if (!S)
3957
- throw new Bt(h.value, f, Object.keys(h.options), a);
3958
- s.push.apply(s, de(S.value, t, r, n, i));
3978
+ throw new Pe(h.value, f, Object.keys(h.options), a);
3979
+ s.push.apply(s, dt(S.value, e, r, n, i));
3959
3980
  continue;
3960
3981
  }
3961
- if (or(h)) {
3982
+ if (sr(h)) {
3962
3983
  var S = h.options["=".concat(f)];
3963
3984
  if (!S) {
3964
3985
  if (!Intl.PluralRules)
3965
- throw new Te(`Intl.PluralRules is not available in this environment.
3986
+ throw new Ct(`Intl.PluralRules is not available in this environment.
3966
3987
  Try polyfilling it using "@formatjs/intl-pluralrules"
3967
- `, J.MISSING_INTL_API, a);
3968
- var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3988
+ `, Q.MISSING_INTL_API, a);
3989
+ var B = r.getPluralRules(e, { type: h.pluralType }).select(f - (h.offset || 0));
3969
3990
  S = h.options[B] || h.options.other;
3970
3991
  }
3971
3992
  if (!S)
3972
- throw new Bt(h.value, f, Object.keys(h.options), a);
3973
- s.push.apply(s, de(S.value, t, r, n, i, f - (h.offset || 0)));
3993
+ throw new Pe(h.value, f, Object.keys(h.options), a);
3994
+ s.push.apply(s, dt(S.value, e, r, n, i, f - (h.offset || 0)));
3974
3995
  continue;
3975
3996
  }
3976
3997
  }
3977
- return wi(s);
3998
+ return Ti(s);
3978
3999
  }
3979
- function Ti(e, t) {
3980
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3981
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3982
- }, {})) : e;
4000
+ function Ci(t, e) {
4001
+ return e ? M(M(M({}, t || {}), e || {}), Object.keys(t).reduce(function(r, n) {
4002
+ return r[n] = M(M({}, t[n]), e[n] || {}), r;
4003
+ }, {})) : t;
3983
4004
  }
3984
- function Hi(e, t) {
3985
- return t ? Object.keys(e).reduce(function(r, n) {
3986
- return r[n] = Ti(e[n], t[n]), r;
3987
- }, _({}, e)) : e;
4005
+ function Bi(t, e) {
4006
+ return e ? Object.keys(t).reduce(function(r, n) {
4007
+ return r[n] = Ci(t[n], e[n]), r;
4008
+ }, M({}, t)) : t;
3988
4009
  }
3989
- function Ge(e) {
4010
+ function Dt(t) {
3990
4011
  return {
3991
4012
  create: function() {
3992
4013
  return {
3993
- get: function(t) {
3994
- return e[t];
4014
+ get: function(e) {
4015
+ return t[e];
3995
4016
  },
3996
- set: function(t, r) {
3997
- e[t] = r;
4017
+ set: function(e, r) {
4018
+ t[e] = r;
3998
4019
  }
3999
4020
  };
4000
4021
  }
4001
4022
  };
4002
4023
  }
4003
- function Ci(e) {
4004
- return e === void 0 && (e = {
4024
+ function Ai(t) {
4025
+ return t === void 0 && (t = {
4005
4026
  number: {},
4006
4027
  dateTime: {},
4007
4028
  pluralRules: {}
4008
4029
  }), {
4009
- getNumberFormat: Ne(function() {
4010
- for (var t, r = [], n = 0; n < arguments.length; n++)
4030
+ getNumberFormat: Rt(function() {
4031
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4011
4032
  r[n] = arguments[n];
4012
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
4033
+ return new ((e = Intl.NumberFormat).bind.apply(e, $t([void 0], r, !1)))();
4013
4034
  }, {
4014
- cache: Ge(e.number),
4015
- strategy: $e.variadic
4035
+ cache: Dt(t.number),
4036
+ strategy: Gt.variadic
4016
4037
  }),
4017
- getDateTimeFormat: Ne(function() {
4018
- for (var t, r = [], n = 0; n < arguments.length; n++)
4038
+ getDateTimeFormat: Rt(function() {
4039
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4019
4040
  r[n] = arguments[n];
4020
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
4041
+ return new ((e = Intl.DateTimeFormat).bind.apply(e, $t([void 0], r, !1)))();
4021
4042
  }, {
4022
- cache: Ge(e.dateTime),
4023
- strategy: $e.variadic
4043
+ cache: Dt(t.dateTime),
4044
+ strategy: Gt.variadic
4024
4045
  }),
4025
- getPluralRules: Ne(function() {
4026
- for (var t, r = [], n = 0; n < arguments.length; n++)
4046
+ getPluralRules: Rt(function() {
4047
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4027
4048
  r[n] = arguments[n];
4028
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
4049
+ return new ((e = Intl.PluralRules).bind.apply(e, $t([void 0], r, !1)))();
4029
4050
  }, {
4030
- cache: Ge(e.pluralRules),
4031
- strategy: $e.variadic
4051
+ cache: Dt(t.pluralRules),
4052
+ strategy: Gt.variadic
4032
4053
  })
4033
4054
  };
4034
4055
  }
4035
- var Bi = (
4056
+ var Pi = (
4036
4057
  /** @class */
4037
4058
  function() {
4038
- function e(t, r, n, i) {
4039
- r === void 0 && (r = e.defaultLocale);
4059
+ function t(e, r, n, i) {
4060
+ r === void 0 && (r = t.defaultLocale);
4040
4061
  var o = this;
4041
4062
  if (this.formatterCache = {
4042
4063
  number: {},
@@ -4051,7 +4072,7 @@ var Bi = (
4051
4072
  }, []);
4052
4073
  return h.length <= 1 ? h[0] || "" : h;
4053
4074
  }, this.formatToParts = function(l) {
4054
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4075
+ return dt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4055
4076
  }, this.resolvedOptions = function() {
4056
4077
  var l;
4057
4078
  return {
@@ -4059,31 +4080,31 @@ var Bi = (
4059
4080
  };
4060
4081
  }, this.getAst = function() {
4061
4082
  return o.ast;
4062
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4063
- if (this.message = t, !e.__parse)
4083
+ }, this.locales = r, this.resolvedLocale = t.resolveLocale(r), typeof e == "string") {
4084
+ if (this.message = e, !t.__parse)
4064
4085
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4065
4086
  var a = i || {};
4066
4087
  a.formatters;
4067
- var s = an(a, ["formatters"]);
4068
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4088
+ var s = Un(a, ["formatters"]);
4089
+ this.ast = t.__parse(e, M(M({}, s), { locale: this.resolvedLocale }));
4069
4090
  } else
4070
- this.ast = t;
4091
+ this.ast = e;
4071
4092
  if (!Array.isArray(this.ast))
4072
4093
  throw new TypeError("A message must be provided as a String or AST.");
4073
- this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
4094
+ this.formats = Bi(t.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
4074
4095
  }
4075
- return Object.defineProperty(e, "defaultLocale", {
4096
+ return Object.defineProperty(t, "defaultLocale", {
4076
4097
  get: function() {
4077
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
4098
+ return t.memoizedDefaultLocale || (t.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), t.memoizedDefaultLocale;
4078
4099
  },
4079
4100
  enumerable: !1,
4080
4101
  configurable: !0
4081
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4102
+ }), t.memoizedDefaultLocale = null, t.resolveLocale = function(e) {
4082
4103
  if (!(typeof Intl.Locale > "u")) {
4083
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4084
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4104
+ var r = Intl.NumberFormat.supportedLocalesOf(e);
4105
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
4085
4106
  }
4086
- }, e.__parse = _i, e.formats = {
4107
+ }, t.__parse = Ei, t.formats = {
4087
4108
  number: {
4088
4109
  integer: {
4089
4110
  maximumFractionDigits: 0
@@ -4141,16 +4162,16 @@ var Bi = (
4141
4162
  timeZoneName: "short"
4142
4163
  }
4143
4164
  }
4144
- }, e;
4165
+ }, t;
4145
4166
  }()
4146
4167
  );
4147
- function Ai(e, t) {
4148
- if (t == null)
4168
+ function Oi(t, e) {
4169
+ if (e == null)
4149
4170
  return;
4150
- if (t in e)
4151
- return e[t];
4152
- const r = t.split(".");
4153
- let n = e;
4171
+ if (e in t)
4172
+ return t[e];
4173
+ const r = e.split(".");
4174
+ let n = t;
4154
4175
  for (let i = 0; i < r.length; i++)
4155
4176
  if (typeof n == "object") {
4156
4177
  if (i > 0) {
@@ -4165,92 +4186,92 @@ function Ai(e, t) {
4165
4186
  n = void 0;
4166
4187
  return n;
4167
4188
  }
4168
- const G = {}, Pi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), dr = (e, t) => {
4169
- if (t == null)
4189
+ const G = {}, Li = (t, e, r) => r && (e in G || (G[e] = {}), t in G[e] || (G[e][t] = r), r), br = (t, e) => {
4190
+ if (e == null)
4170
4191
  return;
4171
- if (t in G && e in G[t])
4172
- return G[t][e];
4173
- const r = He(t);
4192
+ if (e in G && t in G[e])
4193
+ return G[e][t];
4194
+ const r = Bt(e);
4174
4195
  for (let n = 0; n < r.length; n++) {
4175
- const i = r[n], o = Oi(i, e);
4196
+ const i = r[n], o = Mi(i, t);
4176
4197
  if (o)
4177
- return Pi(e, t, o);
4198
+ return Li(t, e, o);
4178
4199
  }
4179
4200
  };
4180
- let st;
4181
- const le = Se({});
4182
- function Li(e) {
4183
- return st[e] || null;
4201
+ let ue;
4202
+ const lt = Tt({});
4203
+ function Ii(t) {
4204
+ return ue[t] || null;
4184
4205
  }
4185
- function br(e) {
4186
- return e in st;
4206
+ function gr(t) {
4207
+ return t in ue;
4187
4208
  }
4188
- function Oi(e, t) {
4189
- if (!br(e))
4209
+ function Mi(t, e) {
4210
+ if (!gr(t))
4190
4211
  return null;
4191
- const r = Li(e);
4192
- return Ai(r, t);
4212
+ const r = Ii(t);
4213
+ return Oi(r, e);
4193
4214
  }
4194
- function Ii(e) {
4195
- if (e == null)
4215
+ function Ni(t) {
4216
+ if (t == null)
4196
4217
  return;
4197
- const t = He(e);
4198
- for (let r = 0; r < t.length; r++) {
4199
- const n = t[r];
4200
- if (br(n))
4218
+ const e = Bt(t);
4219
+ for (let r = 0; r < e.length; r++) {
4220
+ const n = e[r];
4221
+ if (gr(n))
4201
4222
  return n;
4202
4223
  }
4203
4224
  }
4204
- function gr(e, ...t) {
4205
- delete G[e], le.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
4225
+ function yr(t, ...e) {
4226
+ delete G[t], lt.update((r) => (r[t] = Gn.all([r[t] || {}, ...e]), r));
4206
4227
  }
4207
- Y(
4208
- [le],
4209
- ([e]) => Object.keys(e)
4228
+ q(
4229
+ [lt],
4230
+ ([t]) => Object.keys(t)
4210
4231
  );
4211
- le.subscribe((e) => st = e);
4212
- const be = {};
4213
- function Mi(e, t) {
4214
- be[e].delete(t), be[e].size === 0 && delete be[e];
4215
- }
4216
- function yr(e) {
4217
- return be[e];
4218
- }
4219
- function Ni(e) {
4220
- return He(e).map((t) => {
4221
- const r = yr(t);
4222
- return [t, r ? [...r] : []];
4223
- }).filter(([, t]) => t.length > 0);
4224
- }
4225
- function Ke(e) {
4226
- return e == null ? !1 : He(e).some(
4227
- (t) => {
4232
+ lt.subscribe((t) => ue = t);
4233
+ const bt = {};
4234
+ function $i(t, e) {
4235
+ bt[t].delete(e), bt[t].size === 0 && delete bt[t];
4236
+ }
4237
+ function vr(t) {
4238
+ return bt[t];
4239
+ }
4240
+ function Ri(t) {
4241
+ return Bt(t).map((e) => {
4242
+ const r = vr(e);
4243
+ return [e, r ? [...r] : []];
4244
+ }).filter(([, e]) => e.length > 0);
4245
+ }
4246
+ function ne(t) {
4247
+ return t == null ? !1 : Bt(t).some(
4248
+ (e) => {
4228
4249
  var r;
4229
- return (r = yr(t)) == null ? void 0 : r.size;
4250
+ return (r = vr(e)) == null ? void 0 : r.size;
4230
4251
  }
4231
4252
  );
4232
4253
  }
4233
- function $i(e, t) {
4254
+ function Gi(t, e) {
4234
4255
  return Promise.all(
4235
- t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
4236
- ).then((n) => gr(e, ...n));
4237
- }
4238
- const re = {};
4239
- function vr(e) {
4240
- if (!Ke(e))
4241
- return e in re ? re[e] : Promise.resolve();
4242
- const t = Ni(e);
4243
- return re[e] = Promise.all(
4244
- t.map(
4245
- ([r, n]) => $i(r, n)
4256
+ e.map((n) => ($i(t, n), n().then((i) => i.default || i)))
4257
+ ).then((n) => yr(t, ...n));
4258
+ }
4259
+ const et = {};
4260
+ function _r(t) {
4261
+ if (!ne(t))
4262
+ return t in et ? et[t] : Promise.resolve();
4263
+ const e = Ri(t);
4264
+ return et[t] = Promise.all(
4265
+ e.map(
4266
+ ([r, n]) => Gi(r, n)
4246
4267
  )
4247
4268
  ).then(() => {
4248
- if (Ke(e))
4249
- return vr(e);
4250
- delete re[e];
4251
- }), re[e];
4269
+ if (ne(t))
4270
+ return _r(t);
4271
+ delete et[t];
4272
+ }), et[t];
4252
4273
  }
4253
- const Ri = {
4274
+ const Ui = {
4254
4275
  number: {
4255
4276
  scientific: { notation: "scientific" },
4256
4277
  engineering: { notation: "engineering" },
@@ -4279,138 +4300,138 @@ const Ri = {
4279
4300
  timeZoneName: "short"
4280
4301
  }
4281
4302
  }
4282
- }, Gi = {
4303
+ }, Di = {
4283
4304
  fallbackLocale: null,
4284
4305
  loadingDelay: 200,
4285
- formats: Ri,
4306
+ formats: Ui,
4286
4307
  warnOnMissingMessages: !0,
4287
4308
  handleMissingMessage: void 0,
4288
4309
  ignoreTag: !0
4289
- }, Ui = Gi;
4290
- function q() {
4291
- return Ui;
4292
- }
4293
- const Ue = Se(!1);
4294
- var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
4295
- for (var r in t || (t = {}))
4296
- ki.call(t, r) && Pt(e, r, t[r]);
4297
- if (At)
4298
- for (var r of At(t))
4299
- Vi.call(t, r) && Pt(e, r, t[r]);
4300
- return e;
4301
- }, zi = (e, t) => Fi(e, ji(t));
4302
- let et;
4303
- const _e = Se(null);
4304
- function Lt(e) {
4305
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4310
+ }, Fi = Di;
4311
+ function J() {
4312
+ return Fi;
4313
+ }
4314
+ const Ft = Tt(!1);
4315
+ var ji = Object.defineProperty, ki = Object.defineProperties, Vi = Object.getOwnPropertyDescriptors, Oe = Object.getOwnPropertySymbols, Xi = Object.prototype.hasOwnProperty, zi = Object.prototype.propertyIsEnumerable, Le = (t, e, r) => e in t ? ji(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Wi = (t, e) => {
4316
+ for (var r in e || (e = {}))
4317
+ Xi.call(e, r) && Le(t, r, e[r]);
4318
+ if (Oe)
4319
+ for (var r of Oe(e))
4320
+ zi.call(e, r) && Le(t, r, e[r]);
4321
+ return t;
4322
+ }, Zi = (t, e) => ki(t, Vi(e));
4323
+ let ie;
4324
+ const xt = Tt(null);
4325
+ function Ie(t) {
4326
+ return t.split("-").map((e, r, n) => n.slice(0, r + 1).join("-")).reverse();
4306
4327
  }
4307
- function He(e, t = q().fallbackLocale) {
4308
- const r = Lt(e);
4309
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4328
+ function Bt(t, e = J().fallbackLocale) {
4329
+ const r = Ie(t);
4330
+ return e ? [.../* @__PURE__ */ new Set([...r, ...Ie(e)])] : r;
4310
4331
  }
4311
4332
  function D() {
4312
- return et ?? void 0;
4333
+ return ie ?? void 0;
4313
4334
  }
4314
- _e.subscribe((e) => {
4315
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4335
+ xt.subscribe((t) => {
4336
+ ie = t ?? void 0, typeof window < "u" && t != null && document.documentElement.setAttribute("lang", t);
4316
4337
  });
4317
- const Wi = (e) => {
4318
- if (e && Ii(e) && Ke(e)) {
4319
- const { loadingDelay: t } = q();
4338
+ const Qi = (t) => {
4339
+ if (t && Ni(t) && ne(t)) {
4340
+ const { loadingDelay: e } = J();
4320
4341
  let r;
4321
- return typeof window < "u" && D() != null && t ? r = window.setTimeout(
4322
- () => Ue.set(!0),
4323
- t
4324
- ) : Ue.set(!0), vr(e).then(() => {
4325
- _e.set(e);
4342
+ return typeof window < "u" && D() != null && e ? r = window.setTimeout(
4343
+ () => Ft.set(!0),
4344
+ e
4345
+ ) : Ft.set(!0), _r(t).then(() => {
4346
+ xt.set(t);
4326
4347
  }).finally(() => {
4327
- clearTimeout(r), Ue.set(!1);
4348
+ clearTimeout(r), Ft.set(!1);
4328
4349
  });
4329
4350
  }
4330
- return _e.set(e);
4331
- }, K = zi(Xi({}, _e), {
4332
- set: Wi
4333
- }), Ce = (e) => {
4334
- const t = /* @__PURE__ */ Object.create(null);
4351
+ return xt.set(t);
4352
+ }, Y = Zi(Wi({}, xt), {
4353
+ set: Qi
4354
+ }), At = (t) => {
4355
+ const e = /* @__PURE__ */ Object.create(null);
4335
4356
  return (n) => {
4336
4357
  const i = JSON.stringify(n);
4337
- return i in t ? t[i] : t[i] = e(n);
4358
+ return i in e ? e[i] : e[i] = t(n);
4338
4359
  };
4339
4360
  };
4340
- var Zi = Object.defineProperty, xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4341
- for (var r in t || (t = {}))
4342
- _r.call(t, r) && Ot(e, r, t[r]);
4343
- if (xe)
4344
- for (var r of xe(t))
4345
- xr.call(t, r) && Ot(e, r, t[r]);
4346
- return e;
4347
- }, ee = (e, t) => {
4361
+ var Ji = Object.defineProperty, Et = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Me = (t, e, r) => e in t ? Ji(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, le = (t, e) => {
4362
+ for (var r in e || (e = {}))
4363
+ xr.call(e, r) && Me(t, r, e[r]);
4364
+ if (Et)
4365
+ for (var r of Et(e))
4366
+ Er.call(e, r) && Me(t, r, e[r]);
4367
+ return t;
4368
+ }, K = (t, e) => {
4348
4369
  var r = {};
4349
- for (var n in e)
4350
- _r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4351
- if (e != null && xe)
4352
- for (var n of xe(e))
4353
- t.indexOf(n) < 0 && xr.call(e, n) && (r[n] = e[n]);
4370
+ for (var n in t)
4371
+ xr.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
4372
+ if (t != null && Et)
4373
+ for (var n of Et(t))
4374
+ e.indexOf(n) < 0 && Er.call(t, n) && (r[n] = t[n]);
4354
4375
  return r;
4355
4376
  };
4356
- const ae = (e, t) => {
4357
- const { formats: r } = q();
4358
- if (e in r && t in r[e])
4359
- return r[e][t];
4360
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4361
- }, Qi = Ce(
4362
- (e) => {
4363
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4377
+ const st = (t, e) => {
4378
+ const { formats: r } = J();
4379
+ if (t in r && e in r[t])
4380
+ return r[t][e];
4381
+ throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`);
4382
+ }, qi = At(
4383
+ (t) => {
4384
+ var e = t, { locale: r, format: n } = e, i = K(e, ["locale", "format"]);
4364
4385
  if (r == null)
4365
4386
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4366
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4387
+ return n && (i = st("number", n)), new Intl.NumberFormat(r, i);
4367
4388
  }
4368
- ), Ji = Ce(
4369
- (e) => {
4370
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4389
+ ), Yi = At(
4390
+ (t) => {
4391
+ var e = t, { locale: r, format: n } = e, i = K(e, ["locale", "format"]);
4371
4392
  if (r == null)
4372
4393
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4373
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4394
+ return n ? i = st("date", n) : Object.keys(i).length === 0 && (i = st("date", "short")), new Intl.DateTimeFormat(r, i);
4374
4395
  }
4375
- ), qi = Ce(
4376
- (e) => {
4377
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4396
+ ), Ki = At(
4397
+ (t) => {
4398
+ var e = t, { locale: r, format: n } = e, i = K(e, ["locale", "format"]);
4378
4399
  if (r == null)
4379
4400
  throw new Error(
4380
4401
  '[svelte-i18n] A "locale" must be set to format time values'
4381
4402
  );
4382
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4403
+ return n ? i = st("time", n) : Object.keys(i).length === 0 && (i = st("time", "short")), new Intl.DateTimeFormat(r, i);
4383
4404
  }
4384
- ), Yi = (e = {}) => {
4385
- var t = e, {
4405
+ ), to = (t = {}) => {
4406
+ var e = t, {
4386
4407
  locale: r = D()
4387
- } = t, n = ee(t, [
4408
+ } = e, n = K(e, [
4388
4409
  "locale"
4389
4410
  ]);
4390
- return Qi(at({ locale: r }, n));
4391
- }, Ki = (e = {}) => {
4392
- var t = e, {
4411
+ return qi(le({ locale: r }, n));
4412
+ }, eo = (t = {}) => {
4413
+ var e = t, {
4393
4414
  locale: r = D()
4394
- } = t, n = ee(t, [
4415
+ } = e, n = K(e, [
4395
4416
  "locale"
4396
4417
  ]);
4397
- return Ji(at({ locale: r }, n));
4398
- }, eo = (e = {}) => {
4399
- var t = e, {
4418
+ return Yi(le({ locale: r }, n));
4419
+ }, ro = (t = {}) => {
4420
+ var e = t, {
4400
4421
  locale: r = D()
4401
- } = t, n = ee(t, [
4422
+ } = e, n = K(e, [
4402
4423
  "locale"
4403
4424
  ]);
4404
- return qi(at({ locale: r }, n));
4405
- }, to = Ce(
4425
+ return Ki(le({ locale: r }, n));
4426
+ }, no = At(
4406
4427
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4407
- (e, t = D()) => new Bi(e, t, q().formats, {
4408
- ignoreTag: q().ignoreTag
4428
+ (t, e = D()) => new Pi(t, e, J().formats, {
4429
+ ignoreTag: J().ignoreTag
4409
4430
  })
4410
- ), ro = (e, t = {}) => {
4431
+ ), io = (t, e = {}) => {
4411
4432
  var r, n, i, o;
4412
- let a = t;
4413
- typeof e == "object" && (a = e, e = a.id);
4433
+ let a = e;
4434
+ typeof t == "object" && (a = t, t = a.id);
4414
4435
  const {
4415
4436
  values: s,
4416
4437
  locale: l = D(),
@@ -4420,62 +4441,62 @@ const ae = (e, t) => {
4420
4441
  throw new Error(
4421
4442
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4422
4443
  );
4423
- let h = dr(e, l);
4444
+ let h = br(t, l);
4424
4445
  if (!h)
4425
- h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4446
+ h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: t, defaultValue: u })) != null ? i : u) != null ? o : t;
4426
4447
  else if (typeof h != "string")
4427
4448
  return console.warn(
4428
- `[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.`
4449
+ `[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4429
4450
  ), h;
4430
4451
  if (!s)
4431
4452
  return h;
4432
4453
  let c = h;
4433
4454
  try {
4434
- c = to(h, l).format(s);
4455
+ c = no(h, l).format(s);
4435
4456
  } catch (f) {
4436
4457
  f instanceof Error && console.warn(
4437
- `[svelte-i18n] Message "${e}" has syntax error:`,
4458
+ `[svelte-i18n] Message "${t}" has syntax error:`,
4438
4459
  f.message
4439
4460
  );
4440
4461
  }
4441
4462
  return c;
4442
- }, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = D()) => dr(e, t), ao = Y([K, le], () => ro);
4443
- Y([K], () => no);
4444
- Y([K], () => io);
4445
- Y([K], () => oo);
4446
- Y([K, le], () => so);
4463
+ }, oo = (t, e) => ro(e).format(t), so = (t, e) => eo(e).format(t), ao = (t, e) => to(e).format(t), uo = (t, e = D()) => br(t, e), lo = q([Y, lt], () => io);
4464
+ q([Y], () => oo);
4465
+ q([Y], () => so);
4466
+ q([Y], () => ao);
4467
+ q([Y, lt], () => uo);
4447
4468
  window.emWidgets = { topic: xn };
4448
- const uo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4449
- function lo(e, t) {
4450
- if (e) {
4469
+ const ho = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4470
+ function co(t, e) {
4471
+ if (t) {
4451
4472
  const r = document.createElement("style");
4452
- r.innerHTML = t, e.appendChild(r);
4473
+ r.innerHTML = e, t.appendChild(r);
4453
4474
  }
4454
4475
  }
4455
- function ho(e, t) {
4456
- const r = new URL(t);
4476
+ function fo(t, e) {
4477
+ const r = new URL(e);
4457
4478
  fetch(r.href).then((n) => n.text()).then((n) => {
4458
4479
  const i = document.createElement("style");
4459
- i.innerHTML = n, e && e.appendChild(i);
4480
+ i.innerHTML = n, t && t.appendChild(i);
4460
4481
  }).catch((n) => {
4461
4482
  console.error("There was an error while trying to load client styling from URL", n);
4462
4483
  });
4463
4484
  }
4464
- function co(e, t, r) {
4485
+ function mo(t, e, r) {
4465
4486
  if (window.emMessageBus) {
4466
4487
  const n = document.createElement("style");
4467
- window.emMessageBus.subscribe(t, (i) => {
4468
- n.innerHTML = i, e && e.appendChild(n);
4488
+ window.emMessageBus.subscribe(e, (i) => {
4489
+ n.innerHTML = i, t && t.appendChild(n);
4469
4490
  });
4470
4491
  }
4471
4492
  }
4472
- function It(e, t) {
4473
- gr(e, t);
4493
+ function Ne(t, e) {
4494
+ yr(t, e);
4474
4495
  }
4475
- function fo(e) {
4476
- K.set(e);
4496
+ function po(t) {
4497
+ Y.set(t);
4477
4498
  }
4478
- const Mt = {
4499
+ const $e = {
4479
4500
  en: {
4480
4501
  cancel: "Cancel",
4481
4502
  confirm: "Confirm"
@@ -4521,133 +4542,133 @@ const Mt = {
4521
4542
  confirm: "Confirm"
4522
4543
  }
4523
4544
  };
4524
- function mo(e) {
4525
- Nr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4545
+ function bo(t) {
4546
+ $r(t, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4526
4547
  }
4527
- const po = (e) => ({}), Nt = (e) => ({});
4528
- function bo(e) {
4529
- let t, r;
4548
+ const go = (t) => ({}), Re = (t) => ({});
4549
+ function yo(t) {
4550
+ let e, r;
4530
4551
  return {
4531
4552
  c() {
4532
- t = ht("svg"), r = ht("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4553
+ e = fe("svg"), r = fe("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(e, "class", "w-6 h-6"), H(e, "fill", "none"), H(e, "stroke", "currentColor"), H(e, "viewBox", "0 0 24 24"), H(e, "xmlns", "http://www.w3.org/2000/svg");
4533
4554
  },
4534
4555
  m(n, i) {
4535
- nt(n, t, i), P(t, r);
4556
+ ae(n, e, i), P(e, r);
4536
4557
  },
4537
- p: O,
4558
+ p: L,
4538
4559
  d(n) {
4539
- n && ue(t);
4560
+ n && at(e);
4540
4561
  }
4541
4562
  };
4542
4563
  }
4543
- function go(e) {
4544
- let t, r, n, i, o, a, s, l, u, h = (
4564
+ function vo(t) {
4565
+ let e, r, n, i, o, a, s, l, u, h = (
4545
4566
  /*$_*/
4546
- e[2]("cancel") + ""
4567
+ t[2]("cancel") + ""
4547
4568
  ), c, f, p, m = (
4548
4569
  /*$_*/
4549
- e[2]("confirm") + ""
4570
+ t[2]("confirm") + ""
4550
4571
  ), d, v, T, C;
4551
4572
  const S = (
4552
4573
  /*#slots*/
4553
- e[14].close
4554
- ), B = Ar(
4574
+ t[14].close
4575
+ ), B = Pr(
4555
4576
  S,
4556
- e,
4577
+ t,
4557
4578
  /*$$scope*/
4558
- e[13],
4559
- Nt
4560
- ), w = B || bo();
4579
+ t[13],
4580
+ Re
4581
+ ), E = B || yo();
4561
4582
  return {
4562
4583
  c() {
4563
- t = I("div"), r = I("div"), n = I("span"), w && w.c(), i = Be(), o = I("div"), a = ne(
4584
+ e = I("div"), r = I("div"), n = I("span"), E && E.c(), i = Pt(), o = I("div"), a = rt(
4564
4585
  /*modaltext*/
4565
- e[0]
4566
- ), s = Be(), l = I("div"), u = I("button"), c = ne(h), f = Be(), p = I("button"), d = ne(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4567
- (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4568
- (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4569
- (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4586
+ t[0]
4587
+ ), s = Pt(), l = I("div"), u = I("button"), c = rt(h), f = Pt(), p = I("button"), d = rt(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4588
+ (t[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4589
+ (t[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(e, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4590
+ (t[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4570
4591
  },
4571
- m(x, L) {
4572
- nt(x, t, L), P(t, r), P(r, n), w && w.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[15](t), v = !0, T || (C = [
4573
- Ae(
4592
+ m(_, O) {
4593
+ ae(_, e, O), P(e, r), P(r, n), E && E.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), t[15](e), v = !0, T || (C = [
4594
+ Ot(
4574
4595
  n,
4575
4596
  "click",
4576
4597
  /*close*/
4577
- e[4]
4598
+ t[4]
4578
4599
  ),
4579
- Ae(
4600
+ Ot(
4580
4601
  u,
4581
4602
  "click",
4582
4603
  /*cancelChanges*/
4583
- e[6]
4604
+ t[6]
4584
4605
  ),
4585
- Ae(
4606
+ Ot(
4586
4607
  p,
4587
4608
  "click",
4588
4609
  /*confirmChanges*/
4589
- e[5]
4610
+ t[5]
4590
4611
  )
4591
4612
  ], T = !0);
4592
4613
  },
4593
- p(x, [L]) {
4594
- B && B.p && (!v || L & /*$$scope*/
4614
+ p(_, [O]) {
4615
+ B && B.p && (!v || O & /*$$scope*/
4595
4616
  8192) && Lr(
4596
4617
  B,
4597
4618
  S,
4598
- x,
4619
+ _,
4599
4620
  /*$$scope*/
4600
- x[13],
4601
- v ? Pr(
4621
+ _[13],
4622
+ v ? Or(
4602
4623
  S,
4603
4624
  /*$$scope*/
4604
- x[13],
4605
- L,
4606
- po
4607
- ) : Or(
4625
+ _[13],
4626
+ O,
4627
+ go
4628
+ ) : Ir(
4608
4629
  /*$$scope*/
4609
- x[13]
4630
+ _[13]
4610
4631
  ),
4611
- Nt
4612
- ), (!v || L & /*modaltext*/
4613
- 1) && Pe(
4632
+ Re
4633
+ ), (!v || O & /*modaltext*/
4634
+ 1) && Lt(
4614
4635
  a,
4615
4636
  /*modaltext*/
4616
- x[0]
4617
- ), (!v || L & /*$_*/
4637
+ _[0]
4638
+ ), (!v || O & /*$_*/
4618
4639
  4) && h !== (h = /*$_*/
4619
- x[2]("cancel") + "") && Pe(c, h), (!v || L & /*$_*/
4640
+ _[2]("cancel") + "") && Lt(c, h), (!v || O & /*$_*/
4620
4641
  4) && m !== (m = /*$_*/
4621
- x[2]("confirm") + "") && Pe(d, m);
4642
+ _[2]("confirm") + "") && Lt(d, m);
4622
4643
  },
4623
- i(x) {
4624
- v || (kt(w, x), v = !0);
4644
+ i(_) {
4645
+ v || (Xe(E, _), v = !0);
4625
4646
  },
4626
- o(x) {
4627
- qr(w, x), v = !1;
4647
+ o(_) {
4648
+ Yr(E, _), v = !1;
4628
4649
  },
4629
- d(x) {
4630
- x && ue(t), w && w.d(x), e[15](null), T = !1, U(C);
4650
+ d(_) {
4651
+ _ && at(e), E && E.d(_), t[15](null), T = !1, U(C);
4631
4652
  }
4632
4653
  };
4633
4654
  }
4634
- function yo(e, t, r) {
4655
+ function _o(t, e, r) {
4635
4656
  let n;
4636
- Br(e, ao, (g) => r(2, n = g));
4637
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
4657
+ Ar(t, lo, (g) => r(2, n = g));
4658
+ let { $$slots: i = {}, $$scope: o } = e, { modaltext: a = "Are you sure that you want to perform this action?" } = e, { modalsource: s = "" } = e, { lang: l = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: c } = e, { translationurl: f = "" } = e;
4638
4659
  const p = () => {
4639
4660
  fetch(f).then((F) => F.json()).then((F) => {
4640
- Object.keys(F).forEach((ut) => {
4641
- It(ut, F[ut]);
4661
+ Object.keys(F).forEach((he) => {
4662
+ Ne(he, F[he]);
4642
4663
  });
4643
4664
  }).catch((F) => {
4644
4665
  console.log(F);
4645
4666
  });
4646
4667
  };
4647
- Object.keys(Mt).forEach((g) => {
4648
- It(g, Mt[g]);
4668
+ Object.keys($e).forEach((g) => {
4669
+ Ne(g, $e[g]);
4649
4670
  });
4650
- let m, d = window.navigator.userAgent, v = uo(d) !== "PC", T = {}, C = "";
4671
+ let m, d = window.navigator.userAgent, v = ho(d) !== "PC", T = {}, C = "";
4651
4672
  const S = () => {
4652
4673
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4653
4674
  }, B = () => {
@@ -4659,34 +4680,34 @@ function yo(e, t, r) {
4659
4680
  },
4660
4681
  window.location.href
4661
4682
  ), window.postMessage({ type: "ModalClosed" }, window.location.href);
4662
- }, w = () => {
4683
+ }, E = () => {
4663
4684
  s === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : s === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
4664
- }, x = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", L = (g) => {
4685
+ }, _ = (g) => g === "Time Limit" ? "cumulativeSessionLimits" : g === "Deposit Limit" ? "depositLimits" : g === "Wagering Limit" ? "wageringLimit" : "lossLimit", O = (g) => {
4665
4686
  if (g.data)
4666
4687
  switch (g.data.type) {
4667
4688
  case "DeleteLimitsItem":
4668
- T = g.data.removeData, C = x(g.data.removeName);
4689
+ T = g.data.removeData, C = _(g.data.removeName);
4669
4690
  break;
4670
4691
  }
4671
- }, wr = () => {
4672
- fo(l);
4692
+ }, Sr = () => {
4693
+ po(l);
4673
4694
  };
4674
- Xr(() => (window.addEventListener("message", L, !1), () => {
4675
- window.removeEventListener("message", L);
4695
+ zr(() => (window.addEventListener("message", O, !1), () => {
4696
+ window.removeEventListener("message", O);
4676
4697
  }));
4677
- function Sr(g) {
4678
- De[g ? "unshift" : "push"](() => {
4698
+ function Tr(g) {
4699
+ jt[g ? "unshift" : "push"](() => {
4679
4700
  m = g, r(1, m);
4680
4701
  });
4681
4702
  }
4682
- return e.$$set = (g) => {
4703
+ return t.$$set = (g) => {
4683
4704
  "modaltext" in g && r(0, a = g.modaltext), "modalsource" in g && r(7, s = g.modalsource), "lang" in g && r(8, l = g.lang), "clientstyling" in g && r(9, u = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "mbsource" in g && r(11, c = g.mbsource), "translationurl" in g && r(12, f = g.translationurl), "$$scope" in g && r(13, o = g.$$scope);
4684
- }, e.$$.update = () => {
4685
- e.$$.dirty & /*modaltext, modalsource, lang*/
4686
- 385 && a && s && l && wr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4687
- 514 && u && m && lo(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4688
- 1026 && h && m && ho(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4689
- 2050 && c && m && co(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
4705
+ }, t.$$.update = () => {
4706
+ t.$$.dirty & /*modaltext, modalsource, lang*/
4707
+ 385 && a && s && l && Sr(), t.$$.dirty & /*clientstyling, customStylingContainer*/
4708
+ 514 && u && m && co(m, u), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
4709
+ 1026 && h && m && fo(m, h), t.$$.dirty & /*mbsource, customStylingContainer*/
4710
+ 2050 && c && m && mo(m, `${c}.Style`), t.$$.dirty & /*translationurl*/
4690
4711
  4096 && f && p();
4691
4712
  }, [
4692
4713
  a,
@@ -4695,7 +4716,7 @@ function yo(e, t, r) {
4695
4716
  v,
4696
4717
  S,
4697
4718
  B,
4698
- w,
4719
+ E,
4699
4720
  s,
4700
4721
  l,
4701
4722
  u,
@@ -4704,17 +4725,17 @@ function yo(e, t, r) {
4704
4725
  f,
4705
4726
  o,
4706
4727
  i,
4707
- Sr
4728
+ Tr
4708
4729
  ];
4709
4730
  }
4710
- class Er extends on {
4711
- constructor(t) {
4712
- super(), rn(
4731
+ class wr extends sn {
4732
+ constructor(e) {
4733
+ super(), nn(
4713
4734
  this,
4714
- t,
4715
- yo,
4716
- go,
4717
- Rt,
4735
+ e,
4736
+ _o,
4737
+ vo,
4738
+ Ue,
4718
4739
  {
4719
4740
  modaltext: 0,
4720
4741
  modalsource: 7,
@@ -4724,106 +4745,106 @@ class Er extends on {
4724
4745
  mbsource: 11,
4725
4746
  translationurl: 12
4726
4747
  },
4727
- mo
4748
+ bo
4728
4749
  );
4729
4750
  }
4730
4751
  get modaltext() {
4731
4752
  return this.$$.ctx[0];
4732
4753
  }
4733
- set modaltext(t) {
4734
- this.$$set({ modaltext: t }), M();
4754
+ set modaltext(e) {
4755
+ this.$$set({ modaltext: e }), N();
4735
4756
  }
4736
4757
  get modalsource() {
4737
4758
  return this.$$.ctx[7];
4738
4759
  }
4739
- set modalsource(t) {
4740
- this.$$set({ modalsource: t }), M();
4760
+ set modalsource(e) {
4761
+ this.$$set({ modalsource: e }), N();
4741
4762
  }
4742
4763
  get lang() {
4743
4764
  return this.$$.ctx[8];
4744
4765
  }
4745
- set lang(t) {
4746
- this.$$set({ lang: t }), M();
4766
+ set lang(e) {
4767
+ this.$$set({ lang: e }), N();
4747
4768
  }
4748
4769
  get clientstyling() {
4749
4770
  return this.$$.ctx[9];
4750
4771
  }
4751
- set clientstyling(t) {
4752
- this.$$set({ clientstyling: t }), M();
4772
+ set clientstyling(e) {
4773
+ this.$$set({ clientstyling: e }), N();
4753
4774
  }
4754
4775
  get clientstylingurl() {
4755
4776
  return this.$$.ctx[10];
4756
4777
  }
4757
- set clientstylingurl(t) {
4758
- this.$$set({ clientstylingurl: t }), M();
4778
+ set clientstylingurl(e) {
4779
+ this.$$set({ clientstylingurl: e }), N();
4759
4780
  }
4760
4781
  get mbsource() {
4761
4782
  return this.$$.ctx[11];
4762
4783
  }
4763
- set mbsource(t) {
4764
- this.$$set({ mbsource: t }), M();
4784
+ set mbsource(e) {
4785
+ this.$$set({ mbsource: e }), N();
4765
4786
  }
4766
4787
  get translationurl() {
4767
4788
  return this.$$.ctx[12];
4768
4789
  }
4769
- set translationurl(t) {
4770
- this.$$set({ translationurl: t }), M();
4790
+ set translationurl(e) {
4791
+ this.$$set({ translationurl: e }), N();
4771
4792
  }
4772
4793
  }
4773
- nn(Er, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4774
- const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4794
+ on(wr, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4795
+ const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4775
4796
  __proto__: null,
4776
- default: Er
4797
+ default: wr
4777
4798
  }, Symbol.toStringTag, { value: "Module" }));
4778
4799
  export {
4779
- K as $,
4780
- vo as A,
4781
- _o as B,
4782
- Ho as C,
4783
- wo as D,
4784
- De as E,
4785
- lo as F,
4786
- So as G,
4787
- ve as H,
4788
- To as I,
4789
- Ee as J,
4790
- ao as K,
4791
- Tr as L,
4792
- kt as M,
4793
- qr as N,
4794
- Bo as O,
4795
- Ar as P,
4796
- Lr as Q,
4797
- Or as R,
4798
- on as S,
4799
- Pr as T,
4800
- Ao as U,
4801
- Co as V,
4802
- Lo as W,
4803
- gr as a,
4804
- Nr as b,
4805
- nn as c,
4806
- Be as d,
4807
- I as e,
4808
- M as f,
4809
- ht as g,
4800
+ Y as $,
4801
+ To as A,
4802
+ jt as B,
4803
+ Eo as C,
4804
+ Co as D,
4805
+ wt as E,
4806
+ Ho as F,
4807
+ vt as G,
4808
+ lo as H,
4809
+ co as I,
4810
+ fo as J,
4811
+ mo as K,
4812
+ Hr as L,
4813
+ Yr as M,
4814
+ Xe as N,
4815
+ Po as O,
4816
+ Pr as P,
4817
+ Oo as Q,
4818
+ Lr as R,
4819
+ sn as S,
4820
+ Ir as T,
4821
+ Or as U,
4822
+ Ao as V,
4823
+ Io as W,
4824
+ yr as a,
4825
+ $r as b,
4826
+ on as c,
4827
+ at as d,
4828
+ Lt as e,
4829
+ N as f,
4830
+ So as g,
4810
4831
  H as h,
4811
- rn as i,
4812
- Eo as j,
4813
- nt as k,
4814
- P as l,
4815
- Ae as m,
4816
- Pe as n,
4817
- O as o,
4818
- xo as p,
4819
- ue as q,
4832
+ nn as i,
4833
+ ae as j,
4834
+ P as k,
4835
+ Ot as l,
4836
+ I as m,
4837
+ L as n,
4838
+ Pt as o,
4839
+ wo as p,
4840
+ fe as q,
4820
4841
  U as r,
4821
- Rt as s,
4822
- ne as t,
4823
- Br as u,
4824
- uo as v,
4825
- Xr as w,
4826
- ho as x,
4827
- co as y,
4828
- Po as z
4842
+ Ue as s,
4843
+ rt as t,
4844
+ Ar as u,
4845
+ ho as v,
4846
+ zr as w,
4847
+ Lo as x,
4848
+ xo as y,
4849
+ Bo as z
4829
4850
  };