@everymatrix/player-account-gaming-limits-group-edit 1.57.0 → 1.58.0

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 (17) hide show
  1. package/components/{PlayerAccountGamingLimitsConfirmationModal-X40kKSuX.js → PlayerAccountGamingLimitsConfirmationModal-BSG34UHR.js} +1364 -1386
  2. package/components/PlayerAccountGamingLimitsConfirmationModal-CYdmj_ks.cjs +21 -0
  3. package/components/{PlayerAccountGamingLimitsConfirmationModal-C5_o9t-d.js → PlayerAccountGamingLimitsConfirmationModal-zp68mqpQ.js} +1379 -1401
  4. package/components/{PlayerAccountGamingLimitsGroupEdit-BR_ei0SZ.cjs → PlayerAccountGamingLimitsGroupEdit-Bxg96Ldb.cjs} +2 -2
  5. package/components/{PlayerAccountGamingLimitsGroupEdit-GqnEeOQW.js → PlayerAccountGamingLimitsGroupEdit-CadJV5mx.js} +47 -47
  6. package/components/{PlayerAccountGamingLimitsGroupEdit-BVO53jpX.js → PlayerAccountGamingLimitsGroupEdit-CjTz8HLq.js} +49 -49
  7. package/components/{PlayerAccountGamingLimitsPopup-B7Fac7xp.cjs → PlayerAccountGamingLimitsPopup-BL7N95K-.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsPopup-GkQwSNjW.js → PlayerAccountGamingLimitsPopup-BeQnueoT.js} +42 -42
  9. package/components/{PlayerAccountGamingLimitsPopup-BRGqPam3.js → PlayerAccountGamingLimitsPopup-tUFMEbAl.js} +39 -39
  10. package/components/{PlayerAccountModal-B5-hA-M1.cjs → PlayerAccountModal-DlxcE63S.cjs} +1 -1
  11. package/components/{PlayerAccountModal-BVfk0Rk9.js → PlayerAccountModal-Dwjcnv-Z.js} +26 -26
  12. package/components/{PlayerAccountModal-BeedyRgF.js → PlayerAccountModal-yeuhCWil.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-CUsgRfb_.cjs +0 -21
@@ -1,326 +1,326 @@
1
1
  function O() {
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 xr = (t) => t;
4
+ function Er(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 Ie(t) {
13
+ return t();
14
14
  }
15
- function lt() {
15
+ function se() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function U(e) {
19
- e.forEach($t);
18
+ function U(t) {
19
+ t.forEach(Ie);
20
20
  }
21
- function Ee(e) {
22
- return typeof e == "function";
21
+ function Et(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 Me(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 wr(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 Ne(t, ...e) {
31
+ if (t == null) {
32
+ for (const n of e)
33
33
  n(void 0);
34
34
  return O;
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 Sr(t, e, r) {
40
+ t.$$.on_destroy.push(Ne(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 Tr(t, e, r, n) {
43
+ if (t) {
44
+ const i = $e(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 $e(t, e, r, n) {
49
+ return t[1] && n ? Er(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 Hr(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 Cr(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 = $e(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 Br(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 Re = typeof window < "u";
82
+ let Ar = Re ? () => window.performance.now() : () => Date.now(), te = Re ? (t) => requestAnimationFrame(t) : O;
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 Ge(t) {
85
+ X.forEach((e) => {
86
+ e.c(t) || (X.delete(e), e.f());
87
+ }), X.size !== 0 && te(Ge);
88
+ }
89
+ function Pr(t) {
90
+ let e;
91
+ return X.size === 0 && te(Ge), {
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 Lr(t, e, r) {
104
+ const n = ee(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, Ue(n, i);
108
108
  }
109
109
  }
110
- function rt(e) {
111
- if (!e)
110
+ function ee(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 Or(t) {
121
+ const e = I("style");
122
+ return e.textContent = "/* empty */", Ue(ee(t), e), e.sheet;
123
123
  }
124
- function jt(e, t) {
124
+ function Ue(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 re(t, e, r) {
132
+ t.insertBefore(e, r || null);
133
133
  }
134
- function ue(e) {
135
- e.parentNode && e.parentNode.removeChild(e);
134
+ function ut(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 bo(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 ae(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 nt(t) {
148
+ return document.createTextNode(t);
149
149
  }
150
- function Be() {
151
- return ne(" ");
150
+ function Bt() {
151
+ return nt(" ");
152
152
  }
153
- function _o() {
154
- return ne("");
153
+ function go() {
154
+ return nt("");
155
155
  }
156
- function Ae(e, t, r, n) {
157
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
156
+ function At(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 yo(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 vo(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 _o(t) {
172
+ return t === "" ? null : +t;
173
173
  }
174
- function Rr(e) {
175
- return Array.from(e.childNodes);
174
+ function Ir(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 Pt(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 xo(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 Eo(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 wo(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 Mr(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 Nr(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 $r(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 Rr(t, e) {
219
+ const r = { stylesheet: Or(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 ue(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_${$r(h)}_${s}`, f = ee(t), { stylesheet: p, rules: m } = gt.get(f) || Rr(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 Gr(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 || Ur());
243
+ }
244
+ function Ur() {
245
+ te(() => {
246
+ yt || (gt.forEach((t) => {
247
+ const { ownerNode: e } = t.stylesheet;
248
+ e && ut(e);
249
+ }), gt.clear());
250
250
  });
251
251
  }
252
- let oe;
253
- function ie(e) {
254
- oe = e;
252
+ let ot;
253
+ function it(t) {
254
+ ot = t;
255
255
  }
256
- function Vr() {
257
- if (!oe)
256
+ function Dr() {
257
+ if (!ot)
258
258
  throw new Error("Function called outside component initialization");
259
- return oe;
259
+ return ot;
260
260
  }
261
- function Xr(e) {
262
- Vr().$$.on_mount.push(e);
261
+ function Fr(t) {
262
+ Dr().$$.on_mount.push(t);
263
263
  }
264
- const V = [], De = [];
264
+ const V = [], Ut = [];
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 le = [], jr = /* @__PURE__ */ Promise.resolve();
267
+ let Dt = !1;
268
+ function kr() {
269
+ Dt || (Dt = !0, jr.then(M));
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 Lt = /* @__PURE__ */ new Set();
275
275
  let j = 0;
276
276
  function M() {
277
277
  if (j !== 0)
278
278
  return;
279
- const e = oe;
279
+ const t = ot;
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++, it(e), Vr(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 (it(null), V.length = 0, j = 0; Ut.length; )
290
+ Ut.pop()();
291
+ for (let e = 0; e < z.length; e += 1) {
292
+ const r = z[e];
293
+ Lt.has(r) || (Lt.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 (; le.length; )
298
+ le.pop()();
299
+ Dt = !1, Lt.clear(), it(t);
300
+ }
301
+ function Vr(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 Xr(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 et;
313
+ function zr() {
314
+ return et || (et = Promise.resolve(), et.then(() => {
315
+ et = null;
316
+ })), et;
317
317
  }
318
- function Oe(e, t, r) {
319
- e.dispatchEvent(Gr(`${t ? "intro" : "outro"}${r}`));
318
+ function Ot(t, e, r) {
319
+ t.dispatchEvent(Mr(`${e ? "intro" : "outro"}${r}`));
320
320
  }
321
- const fe = /* @__PURE__ */ new Set();
321
+ const ft = /* @__PURE__ */ new Set();
322
322
  let N;
323
- function Co() {
323
+ function So() {
324
324
  N = {
325
325
  r: 0,
326
326
  c: [],
@@ -328,27 +328,27 @@ function Co() {
328
328
  // parent group
329
329
  };
330
330
  }
331
- function Bo() {
331
+ function To() {
332
332
  N.r || U(N.c), N = N.p;
333
333
  }
334
- function kt(e, t) {
335
- e && e.i && (fe.delete(e), e.i(t));
334
+ function De(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 Wr(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), N.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 Zr = { duration: 0 };
348
+ function Ho(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 && Gr(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,
372
+ easing: T = xr,
373
373
  tick: C = O,
374
374
  css: S
375
- } = o || Yr, B = {
376
- start: Ir() + d,
375
+ } = o || Zr, B = {
376
+ start: Ar() + 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 = N, N.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 = ue(t, a, m, v, d, T, S)), m && C(0, 1), s = f(B, v), vt(() => Ot(t, m, "start")), Pr((w) => {
381
+ if (l && w > l.start && (s = f(l, v), l = null, Ot(t, s.b, "start"), S && (c(), u = ue(
382
+ t,
383
383
  a,
384
384
  s.b,
385
385
  s.duration,
@@ -388,7 +388,7 @@ function Ao(e, t, r, n) {
388
388
  o.css
389
389
  ))), s) {
390
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;
391
+ C(a = s.b, 1 - a), Ot(t, s.b, "end"), l || (s.b ? c() : --s.group.r || U(s.group.c)), s = null;
392
392
  else if (w >= s.start) {
393
393
  const x = w - s.start;
394
394
  a = s.a + s.d * T(x / s.duration), C(a, 1 - a);
@@ -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
+ Et(o) ? zr().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 Co(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 Qr(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(Ie).filter(Et);
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 Jr(t, e) {
422
+ const r = t.$$;
423
+ r.fragment !== null && (Xr(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 qr(t, e) {
426
+ t.$$.dirty[0] === -1 && (V.push(t), kr(), 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 Yr(t, e, r, n, i, o, a = null, s = [-1]) {
429
+ const l = ot;
430
+ it(t);
431
+ const u = t.$$ = {
432
432
  fragment: null,
433
433
  ctx: [],
434
434
  // state
435
435
  props: o,
436
436
  update: O,
437
437
  not_equal: i,
438
- bound: lt(),
438
+ bound: se(),
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: se(),
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 && qr(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 = Ir(e.target);
460
+ u.fragment && u.fragment.l(c), c.forEach(ut);
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 && De(t.$$.fragment), Qr(t, e.target, e.anchor), M();
464
464
  }
465
- ie(l);
465
+ it(l);
466
466
  }
467
- let Vt;
468
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
467
+ let Fe;
468
+ typeof HTMLElement == "function" && (Fe = 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
+ re(l, o, u);
518
518
  },
519
519
  d: function(l) {
520
- l && ue(o);
520
+ l && ut(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 = Nr(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 Kr(t, e, r, n, i, o) {
615
+ let a = class extends Fe {
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 tn {
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
+ Jr(this, 1), this.$destroy = O;
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))
670
+ $on(e, r) {
671
+ if (!Et(r))
672
672
  return O;
673
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
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 && !wr(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 en = "4";
688
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
689
689
  /*! *****************************************************************************
690
690
  Copyright (c) Microsoft Corporation.
691
691
 
@@ -700,61 +700,61 @@ 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 Ft = function(t, e) {
704
+ return Ft = 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
+ }, Ft(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 R(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
+ Ft(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());
718
+ t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
719
719
  }
720
720
  var _ = function() {
721
- return _ = Object.assign || function(t) {
721
+ return _ = Object.assign || function(e) {
722
722
  for (var r, n = 1, i = arguments.length; n < i; n++) {
723
723
  r = arguments[n];
724
724
  for (var o in r)
725
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
725
+ Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
726
726
  }
727
- return t;
727
+ return e;
728
728
  }, _.apply(this, arguments);
729
729
  };
730
- function an(e, t) {
730
+ function rn(t, e) {
731
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]]);
732
+ for (var n in t)
733
+ Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
734
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
735
+ for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++)
736
+ e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
737
737
  return r;
738
738
  }
739
- function ke(e) {
740
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
739
+ function jt(t) {
740
+ var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
741
741
  if (r)
742
- return r.call(e);
743
- if (e && typeof e.length == "number")
742
+ return r.call(t);
743
+ if (t && typeof t.length == "number")
744
744
  return {
745
745
  next: function() {
746
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
746
+ return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
747
747
  }
748
748
  };
749
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
749
+ throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
750
750
  }
751
- function Ve(e, t) {
752
- var r = typeof Symbol == "function" && e[Symbol.iterator];
751
+ function kt(t, e) {
752
+ var r = typeof Symbol == "function" && t[Symbol.iterator];
753
753
  if (!r)
754
- return e;
755
- var n = r.call(e), i, o = [], a;
754
+ return t;
755
+ var n = r.call(t), i, o = [], a;
756
756
  try {
757
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
757
+ for (; (e === void 0 || e-- > 0) && !(i = n.next()).done; )
758
758
  o.push(i.value);
759
759
  } catch (s) {
760
760
  a = { error: s };
@@ -768,60 +768,60 @@ function Ve(e, t) {
768
768
  }
769
769
  return o;
770
770
  }
771
- function W(e, t, r) {
771
+ function W(t, e, r) {
772
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);
773
+ for (var n = 0, i = e.length, o; n < i; n++)
774
+ (o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
775
+ return t.concat(o || e);
776
776
  }
777
- function $(e) {
778
- return typeof e == "function";
777
+ function $(t) {
778
+ return typeof t == "function";
779
779
  }
780
- function Xt(e) {
781
- var t = function(n) {
780
+ function je(t) {
781
+ var e = function(n) {
782
782
  Error.call(n), n.stack = new Error().stack;
783
- }, r = e(t);
783
+ }, r = t(e);
784
784
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
785
785
  }
786
- var Ie = Xt(function(e) {
786
+ var It = je(function(t) {
787
787
  return function(r) {
788
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
788
+ t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
789
789
  ` + r.map(function(n, i) {
790
790
  return i + 1 + ") " + n.toString();
791
791
  }).join(`
792
792
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
793
793
  };
794
794
  });
795
- function Xe(e, t) {
796
- if (e) {
797
- var r = e.indexOf(t);
798
- 0 <= r && e.splice(r, 1);
795
+ function Vt(t, e) {
796
+ if (t) {
797
+ var r = t.indexOf(e);
798
+ 0 <= r && t.splice(r, 1);
799
799
  }
800
800
  }
801
- var we = function() {
802
- function e(t) {
803
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
801
+ var wt = function() {
802
+ function t(e) {
803
+ this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
804
804
  }
805
- return e.prototype.unsubscribe = function() {
806
- var t, r, n, i, o;
805
+ return t.prototype.unsubscribe = function() {
806
+ var e, r, n, i, o;
807
807
  if (!this.closed) {
808
808
  this.closed = !0;
809
809
  var a = this._parentage;
810
810
  if (a)
811
811
  if (this._parentage = null, Array.isArray(a))
812
812
  try {
813
- for (var s = ke(a), l = s.next(); !l.done; l = s.next()) {
813
+ for (var s = jt(a), l = s.next(); !l.done; l = s.next()) {
814
814
  var u = l.value;
815
815
  u.remove(this);
816
816
  }
817
817
  } catch (d) {
818
- t = { error: d };
818
+ e = { error: d };
819
819
  } finally {
820
820
  try {
821
821
  l && !l.done && (r = s.return) && r.call(s);
822
822
  } finally {
823
- if (t)
824
- throw t.error;
823
+ if (e)
824
+ throw e.error;
825
825
  }
826
826
  }
827
827
  else
@@ -831,18 +831,18 @@ var we = function() {
831
831
  try {
832
832
  h();
833
833
  } catch (d) {
834
- o = d instanceof Ie ? d.errors : [d];
834
+ o = d instanceof It ? d.errors : [d];
835
835
  }
836
836
  var c = this._finalizers;
837
837
  if (c) {
838
838
  this._finalizers = null;
839
839
  try {
840
- for (var f = ke(c), p = f.next(); !p.done; p = f.next()) {
840
+ for (var f = jt(c), p = f.next(); !p.done; p = f.next()) {
841
841
  var m = p.value;
842
842
  try {
843
- mt(m);
843
+ he(m);
844
844
  } catch (d) {
845
- o = o ?? [], d instanceof Ie ? o = W(W([], Ve(o)), Ve(d.errors)) : o.push(d);
845
+ o = o ?? [], d instanceof It ? o = W(W([], kt(o)), kt(d.errors)) : o.push(d);
846
846
  }
847
847
  }
848
848
  } catch (d) {
@@ -857,211 +857,191 @@ var we = function() {
857
857
  }
858
858
  }
859
859
  if (o)
860
- throw new Ie(o);
860
+ throw new It(o);
861
861
  }
862
- }, e.prototype.add = function(t) {
862
+ }, t.prototype.add = function(e) {
863
863
  var r;
864
- if (t && t !== this)
864
+ if (e && e !== this)
865
865
  if (this.closed)
866
- mt(t);
866
+ he(e);
867
867
  else {
868
- if (t instanceof e) {
869
- if (t.closed || t._hasParent(this))
868
+ if (e instanceof t) {
869
+ if (e.closed || e._hasParent(this))
870
870
  return;
871
- t._addParent(this);
871
+ e._addParent(this);
872
872
  }
873
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
873
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
874
874
  }
875
- }, e.prototype._hasParent = function(t) {
875
+ }, t.prototype._hasParent = function(e) {
876
876
  var r = this._parentage;
877
- return r === t || Array.isArray(r) && r.includes(t);
878
- }, e.prototype._addParent = function(t) {
877
+ return r === e || Array.isArray(r) && r.includes(e);
878
+ }, t.prototype._addParent = function(e) {
879
879
  var r = this._parentage;
880
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
881
- }, e.prototype._removeParent = function(t) {
880
+ this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
881
+ }, t.prototype._removeParent = function(e) {
882
882
  var r = this._parentage;
883
- r === t ? this._parentage = null : Array.isArray(r) && Xe(r, t);
884
- }, e.prototype.remove = function(t) {
883
+ r === e ? this._parentage = null : Array.isArray(r) && Vt(r, e);
884
+ }, t.prototype.remove = function(e) {
885
885
  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) {
886
+ r && Vt(r, e), e instanceof t && e._removeParent(this);
887
+ }, t.EMPTY = function() {
888
+ var e = new t();
889
+ return e.closed = !0, e;
890
+ }(), t;
891
+ }(), ke = wt.EMPTY;
892
+ function Ve(t) {
893
+ return t instanceof wt || t && "closed" in t && $(t.remove) && $(t.add) && $(t.unsubscribe);
894
+ }
895
+ function he(t) {
896
+ $(t) ? t() : t.unsubscribe();
897
+ }
898
+ var nn = {
899
+ Promise: void 0
900
+ }, on = {
901
+ setTimeout: function(t, e) {
906
902
  for (var r = [], n = 2; n < arguments.length; n++)
907
903
  r[n - 2] = arguments[n];
908
- return setTimeout.apply(void 0, W([e, t], Ve(r)));
904
+ return setTimeout.apply(void 0, W([t, e], kt(r)));
909
905
  },
910
- clearTimeout: function(e) {
911
- return clearTimeout(e);
906
+ clearTimeout: function(t) {
907
+ return clearTimeout(t);
912
908
  },
913
909
  delegate: void 0
914
910
  };
915
- function ln(e) {
916
- un.setTimeout(function() {
917
- throw e;
911
+ function sn(t) {
912
+ on.setTimeout(function() {
913
+ throw t;
918
914
  });
919
915
  }
920
- function pt() {
916
+ function ce() {
921
917
  }
922
- function pe(e) {
923
- e();
918
+ function pt(t) {
919
+ t();
924
920
  }
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;
921
+ var Xe = function(t) {
922
+ R(e, t);
923
+ function e(r) {
924
+ var n = t.call(this) || this;
925
+ return n.isStopped = !1, r ? (n.destination = r, Ve(r) && r.add(n)) : n.destination = ln, n;
930
926
  }
931
- return t.create = function(r, n, i) {
932
- return new ze(r, n, i);
933
- }, t.prototype.next = function(r) {
927
+ return e.create = function(r, n, i) {
928
+ return new Xt(r, n, i);
929
+ }, e.prototype.next = function(r) {
934
930
  this.isStopped || this._next(r);
935
- }, t.prototype.error = function(r) {
931
+ }, e.prototype.error = function(r) {
936
932
  this.isStopped || (this.isStopped = !0, this._error(r));
937
- }, t.prototype.complete = function() {
933
+ }, e.prototype.complete = function() {
938
934
  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) {
935
+ }, e.prototype.unsubscribe = function() {
936
+ this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
937
+ }, e.prototype._next = function(r) {
942
938
  this.destination.next(r);
943
- }, t.prototype._error = function(r) {
939
+ }, e.prototype._error = function(r) {
944
940
  try {
945
941
  this.destination.error(r);
946
942
  } finally {
947
943
  this.unsubscribe();
948
944
  }
949
- }, t.prototype._complete = function() {
945
+ }, e.prototype._complete = function() {
950
946
  try {
951
947
  this.destination.complete();
952
948
  } finally {
953
949
  this.unsubscribe();
954
950
  }
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;
951
+ }, e;
952
+ }(wt), an = function() {
953
+ function t(e) {
954
+ this.partialObserver = e;
963
955
  }
964
- return e.prototype.next = function(t) {
956
+ return t.prototype.next = function(e) {
965
957
  var r = this.partialObserver;
966
958
  if (r.next)
967
959
  try {
968
- r.next(t);
960
+ r.next(e);
969
961
  } catch (n) {
970
- he(n);
962
+ ht(n);
971
963
  }
972
- }, e.prototype.error = function(t) {
964
+ }, t.prototype.error = function(e) {
973
965
  var r = this.partialObserver;
974
966
  if (r.error)
975
967
  try {
976
- r.error(t);
968
+ r.error(e);
977
969
  } catch (n) {
978
- he(n);
970
+ ht(n);
979
971
  }
980
972
  else
981
- he(t);
982
- }, e.prototype.complete = function() {
983
- var t = this.partialObserver;
984
- if (t.complete)
973
+ ht(e);
974
+ }, t.prototype.complete = function() {
975
+ var e = this.partialObserver;
976
+ if (e.complete)
985
977
  try {
986
- t.complete();
978
+ e.complete();
987
979
  } catch (r) {
988
- he(r);
980
+ ht(r);
989
981
  }
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;
982
+ }, t;
983
+ }(), Xt = function(t) {
984
+ R(e, t);
985
+ function e(r, n, i) {
986
+ var o = t.call(this) || this, a;
987
+ return $(r) || !r ? a = {
988
+ next: r ?? void 0,
989
+ error: n ?? void 0,
990
+ complete: i ?? void 0
991
+ } : a = r, o.destination = new an(a), o;
1012
992
  }
1013
- return t;
1014
- }(Qt);
1015
- function he(e) {
1016
- ln(e);
993
+ return e;
994
+ }(Xe);
995
+ function ht(t) {
996
+ sn(t);
1017
997
  }
1018
- function fn(e) {
1019
- throw e;
998
+ function un(t) {
999
+ throw t;
1020
1000
  }
1021
- var mn = {
1001
+ var ln = {
1022
1002
  closed: !0,
1023
- next: pt,
1024
- error: fn,
1025
- complete: pt
1026
- }, pn = function() {
1003
+ next: ce,
1004
+ error: un,
1005
+ complete: ce
1006
+ }, hn = function() {
1027
1007
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1028
1008
  }();
1029
- function dn(e) {
1030
- return e;
1009
+ function cn(t) {
1010
+ return t;
1031
1011
  }
1032
- function bn(e) {
1033
- return e.length === 0 ? dn : e.length === 1 ? e[0] : function(r) {
1034
- return e.reduce(function(n, i) {
1012
+ function fn(t) {
1013
+ return t.length === 0 ? cn : t.length === 1 ? t[0] : function(r) {
1014
+ return t.reduce(function(n, i) {
1035
1015
  return i(n);
1036
1016
  }, r);
1037
1017
  };
1038
1018
  }
1039
- var dt = function() {
1040
- function e(t) {
1041
- t && (this._subscribe = t);
1019
+ var fe = function() {
1020
+ function t(e) {
1021
+ e && (this._subscribe = e);
1042
1022
  }
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() {
1023
+ return t.prototype.lift = function(e) {
1024
+ var r = new t();
1025
+ return r.source = this, r.operator = e, r;
1026
+ }, t.prototype.subscribe = function(e, r, n) {
1027
+ var i = this, o = pn(e) ? e : new Xt(e, r, n);
1028
+ return pt(function() {
1049
1029
  var a = i, s = a.operator, l = a.source;
1050
1030
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1051
1031
  }), o;
1052
- }, e.prototype._trySubscribe = function(t) {
1032
+ }, t.prototype._trySubscribe = function(e) {
1053
1033
  try {
1054
- return this._subscribe(t);
1034
+ return this._subscribe(e);
1055
1035
  } catch (r) {
1056
- t.error(r);
1036
+ e.error(r);
1057
1037
  }
1058
- }, e.prototype.forEach = function(t, r) {
1038
+ }, t.prototype.forEach = function(e, r) {
1059
1039
  var n = this;
1060
- return r = bt(r), new r(function(i, o) {
1061
- var a = new ze({
1040
+ return r = me(r), new r(function(i, o) {
1041
+ var a = new Xt({
1062
1042
  next: function(s) {
1063
1043
  try {
1064
- t(s);
1044
+ e(s);
1065
1045
  } catch (l) {
1066
1046
  o(l), a.unsubscribe();
1067
1047
  }
@@ -1071,18 +1051,18 @@ var dt = function() {
1071
1051
  });
1072
1052
  n.subscribe(a);
1073
1053
  });
1074
- }, e.prototype._subscribe = function(t) {
1054
+ }, t.prototype._subscribe = function(e) {
1075
1055
  var r;
1076
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1077
- }, e.prototype[pn] = function() {
1056
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
1057
+ }, t.prototype[hn] = function() {
1078
1058
  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) {
1059
+ }, t.prototype.pipe = function() {
1060
+ for (var e = [], r = 0; r < arguments.length; r++)
1061
+ e[r] = arguments[r];
1062
+ return fn(e)(this);
1063
+ }, t.prototype.toPromise = function(e) {
1084
1064
  var r = this;
1085
- return t = bt(t), new t(function(n, i) {
1065
+ return e = me(e), new e(function(n, i) {
1086
1066
  var o;
1087
1067
  r.subscribe(function(a) {
1088
1068
  return o = a;
@@ -1092,44 +1072,44 @@ var dt = function() {
1092
1072
  return n(o);
1093
1073
  });
1094
1074
  });
1095
- }, e.create = function(t) {
1096
- return new e(t);
1097
- }, e;
1075
+ }, t.create = function(e) {
1076
+ return new t(e);
1077
+ }, t;
1098
1078
  }();
1099
- function bt(e) {
1100
- var t;
1101
- return (t = e ?? Zt.Promise) !== null && t !== void 0 ? t : Promise;
1079
+ function me(t) {
1080
+ var e;
1081
+ return (e = t ?? nn.Promise) !== null && e !== void 0 ? e : Promise;
1102
1082
  }
1103
- function gn(e) {
1104
- return e && $(e.next) && $(e.error) && $(e.complete);
1083
+ function mn(t) {
1084
+ return t && $(t.next) && $(t.error) && $(t.complete);
1105
1085
  }
1106
- function yn(e) {
1107
- return e && e instanceof Qt || gn(e) && Wt(e);
1086
+ function pn(t) {
1087
+ return t && t instanceof Xe || mn(t) && Ve(t);
1108
1088
  }
1109
- var vn = Xt(function(e) {
1089
+ var dn = je(function(t) {
1110
1090
  return function() {
1111
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1091
+ t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1112
1092
  };
1113
- }), Jt = function(e) {
1114
- R(t, e);
1115
- function t() {
1116
- var r = e.call(this) || this;
1093
+ }), ze = function(t) {
1094
+ R(e, t);
1095
+ function e() {
1096
+ var r = t.call(this) || this;
1117
1097
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1118
1098
  }
1119
- return t.prototype.lift = function(r) {
1120
- var n = new gt(this, this);
1099
+ return e.prototype.lift = function(r) {
1100
+ var n = new pe(this, this);
1121
1101
  return n.operator = r, n;
1122
- }, t.prototype._throwIfClosed = function() {
1102
+ }, e.prototype._throwIfClosed = function() {
1123
1103
  if (this.closed)
1124
- throw new vn();
1125
- }, t.prototype.next = function(r) {
1104
+ throw new dn();
1105
+ }, e.prototype.next = function(r) {
1126
1106
  var n = this;
1127
- pe(function() {
1107
+ pt(function() {
1128
1108
  var i, o;
1129
1109
  if (n._throwIfClosed(), !n.isStopped) {
1130
1110
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1131
1111
  try {
1132
- for (var a = ke(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1112
+ for (var a = jt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1133
1113
  var l = s.value;
1134
1114
  l.next(r);
1135
1115
  }
@@ -1145,119 +1125,119 @@ var vn = Xt(function(e) {
1145
1125
  }
1146
1126
  }
1147
1127
  });
1148
- }, t.prototype.error = function(r) {
1128
+ }, e.prototype.error = function(r) {
1149
1129
  var n = this;
1150
- pe(function() {
1130
+ pt(function() {
1151
1131
  if (n._throwIfClosed(), !n.isStopped) {
1152
1132
  n.hasError = n.isStopped = !0, n.thrownError = r;
1153
1133
  for (var i = n.observers; i.length; )
1154
1134
  i.shift().error(r);
1155
1135
  }
1156
1136
  });
1157
- }, t.prototype.complete = function() {
1137
+ }, e.prototype.complete = function() {
1158
1138
  var r = this;
1159
- pe(function() {
1139
+ pt(function() {
1160
1140
  if (r._throwIfClosed(), !r.isStopped) {
1161
1141
  r.isStopped = !0;
1162
1142
  for (var n = r.observers; n.length; )
1163
1143
  n.shift().complete();
1164
1144
  }
1165
1145
  });
1166
- }, t.prototype.unsubscribe = function() {
1146
+ }, e.prototype.unsubscribe = function() {
1167
1147
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1168
- }, Object.defineProperty(t.prototype, "observed", {
1148
+ }, Object.defineProperty(e.prototype, "observed", {
1169
1149
  get: function() {
1170
1150
  var r;
1171
1151
  return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1172
1152
  },
1173
1153
  enumerable: !1,
1174
1154
  configurable: !0
1175
- }), t.prototype._trySubscribe = function(r) {
1176
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1177
- }, t.prototype._subscribe = function(r) {
1155
+ }), e.prototype._trySubscribe = function(r) {
1156
+ return this._throwIfClosed(), t.prototype._trySubscribe.call(this, r);
1157
+ }, e.prototype._subscribe = function(r) {
1178
1158
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1179
- }, t.prototype._innerSubscribe = function(r) {
1159
+ }, e.prototype._innerSubscribe = function(r) {
1180
1160
  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);
1161
+ return o || a ? ke : (this.currentObservers = null, s.push(r), new wt(function() {
1162
+ n.currentObservers = null, Vt(s, r);
1183
1163
  }));
1184
- }, t.prototype._checkFinalizedStatuses = function(r) {
1164
+ }, e.prototype._checkFinalizedStatuses = function(r) {
1185
1165
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1186
1166
  i ? r.error(o) : a && r.complete();
1187
- }, t.prototype.asObservable = function() {
1188
- var r = new dt();
1167
+ }, e.prototype.asObservable = function() {
1168
+ var r = new fe();
1189
1169
  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;
1170
+ }, e.create = function(r, n) {
1171
+ return new pe(r, n);
1172
+ }, e;
1173
+ }(fe), pe = function(t) {
1174
+ R(e, t);
1175
+ function e(r, n) {
1176
+ var i = t.call(this) || this;
1197
1177
  return i.destination = r, i.source = n, i;
1198
1178
  }
1199
- return t.prototype.next = function(r) {
1179
+ return e.prototype.next = function(r) {
1200
1180
  var n, i;
1201
1181
  (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) {
1182
+ }, e.prototype.error = function(r) {
1203
1183
  var n, i;
1204
1184
  (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() {
1185
+ }, e.prototype.complete = function() {
1206
1186
  var r, n;
1207
1187
  (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) {
1188
+ }, e.prototype._subscribe = function(r) {
1209
1189
  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 = {
1190
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ke;
1191
+ }, e;
1192
+ }(ze), We = {
1213
1193
  now: function() {
1214
- return (qt.delegate || Date).now();
1194
+ return (We.delegate || Date).now();
1215
1195
  },
1216
1196
  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;
1197
+ }, bn = function(t) {
1198
+ R(e, t);
1199
+ function e(r, n, i) {
1200
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = We);
1201
+ var o = t.call(this) || this;
1222
1202
  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
1203
  }
1224
- return t.prototype.next = function(r) {
1204
+ return e.prototype.next = function(r) {
1225
1205
  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) {
1206
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), t.prototype.next.call(this, r);
1207
+ }, e.prototype._subscribe = function(r) {
1228
1208
  this._throwIfClosed(), this._trimBuffer();
1229
1209
  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
1210
  r.next(s[l]);
1231
1211
  return this._checkFinalizedStatuses(r), n;
1232
- }, t.prototype._trimBuffer = function() {
1212
+ }, e.prototype._trimBuffer = function() {
1233
1213
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1234
1214
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1235
1215
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1236
1216
  u = h;
1237
1217
  u && o.splice(0, u + 1);
1238
1218
  }
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);
1219
+ }, e;
1220
+ }(ze);
1221
+ const de = [], be = {}, gn = (t, e = 0) => {
1222
+ if (de.indexOf(t) == -1) {
1223
+ const r = new bn(e);
1224
+ be[t] = r, de.push(t);
1245
1225
  }
1246
- return vt[e];
1226
+ return be[t];
1247
1227
  }, k = [];
1248
- function En(e, t) {
1228
+ function yn(t, e) {
1249
1229
  return {
1250
- subscribe: Se(e, t).subscribe
1230
+ subscribe: St(t, e).subscribe
1251
1231
  };
1252
1232
  }
1253
- function Se(e, t = O) {
1233
+ function St(t, e = O) {
1254
1234
  let r;
1255
1235
  const n = /* @__PURE__ */ new Set();
1256
1236
  function i(s) {
1257
- if (Rt(e, s) && (e = s, r)) {
1237
+ if (Me(t, s) && (t = s, r)) {
1258
1238
  const l = !k.length;
1259
1239
  for (const u of n)
1260
- u[1](), k.push(u, e);
1240
+ u[1](), k.push(u, t);
1261
1241
  if (l) {
1262
1242
  for (let u = 0; u < k.length; u += 2)
1263
1243
  k[u][0](k[u + 1]);
@@ -1266,22 +1246,22 @@ function Se(e, t = O) {
1266
1246
  }
1267
1247
  }
1268
1248
  function o(s) {
1269
- i(s(e));
1249
+ i(s(t));
1270
1250
  }
1271
1251
  function a(s, l = O) {
1272
1252
  const u = [s, l];
1273
- return n.add(u), n.size === 1 && (r = t(i, o) || O), s(e), () => {
1253
+ return n.add(u), n.size === 1 && (r = e(i, o) || O), s(t), () => {
1274
1254
  n.delete(u), n.size === 0 && r && (r(), r = null);
1275
1255
  };
1276
1256
  }
1277
1257
  return { set: i, update: o, subscribe: a };
1278
1258
  }
1279
- function Y(e, t, r) {
1280
- const n = !Array.isArray(e), i = n ? [e] : e;
1259
+ function Y(t, e, r) {
1260
+ const n = !Array.isArray(t), i = n ? [t] : t;
1281
1261
  if (!i.every(Boolean))
1282
1262
  throw new Error("derived() expects stores as input, got a falsy value");
1283
- const o = t.length < 2;
1284
- return En(r, (a, s) => {
1263
+ const o = e.length < 2;
1264
+ return yn(r, (a, s) => {
1285
1265
  let l = !1;
1286
1266
  const u = [];
1287
1267
  let h = 0, c = O;
@@ -1289,10 +1269,10 @@ function Y(e, t, r) {
1289
1269
  if (h)
1290
1270
  return;
1291
1271
  c();
1292
- const m = t(n ? u[0] : u, a, s);
1293
- o ? a(m) : c = Ee(m) ? m : O;
1272
+ const m = e(n ? u[0] : u, a, s);
1273
+ o ? a(m) : c = Et(m) ? m : O;
1294
1274
  }, p = i.map(
1295
- (m, d) => Gt(
1275
+ (m, d) => Ne(
1296
1276
  m,
1297
1277
  (v) => {
1298
1278
  u[d] = v, h &= ~(1 << d), l && f();
@@ -1307,186 +1287,184 @@ function Y(e, t, r) {
1307
1287
  };
1308
1288
  });
1309
1289
  }
1310
- function wn(e) {
1311
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1290
+ function vn(t) {
1291
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1312
1292
  }
1313
- var Sn = function(t) {
1314
- return Tn(t) && !Hn(t);
1293
+ var _n = function(e) {
1294
+ return xn(e) && !En(e);
1315
1295
  };
1316
- function Tn(e) {
1317
- return !!e && typeof e == "object";
1296
+ function xn(t) {
1297
+ return !!t && typeof t == "object";
1318
1298
  }
1319
- function Hn(e) {
1320
- var t = Object.prototype.toString.call(e);
1321
- return t === "[object RegExp]" || t === "[object Date]" || An(e);
1299
+ function En(t) {
1300
+ var e = Object.prototype.toString.call(t);
1301
+ return e === "[object RegExp]" || e === "[object Date]" || Tn(t);
1322
1302
  }
1323
- var Cn = typeof Symbol == "function" && Symbol.for, Bn = Cn ? Symbol.for("react.element") : 60103;
1324
- function An(e) {
1325
- return e.$$typeof === Bn;
1303
+ var wn = typeof Symbol == "function" && Symbol.for, Sn = wn ? Symbol.for("react.element") : 60103;
1304
+ function Tn(t) {
1305
+ return t.$$typeof === Sn;
1326
1306
  }
1327
- function Pn(e) {
1328
- return Array.isArray(e) ? [] : {};
1307
+ function Hn(t) {
1308
+ return Array.isArray(t) ? [] : {};
1329
1309
  }
1330
- function se(e, t) {
1331
- return t.clone !== !1 && t.isMergeableObject(e) ? Z(Pn(e), e, t) : e;
1310
+ function st(t, e) {
1311
+ return e.clone !== !1 && e.isMergeableObject(t) ? Z(Hn(t), t, e) : t;
1332
1312
  }
1333
- function Ln(e, t, r) {
1334
- return e.concat(t).map(function(n) {
1335
- return se(n, r);
1313
+ function Cn(t, e, r) {
1314
+ return t.concat(e).map(function(n) {
1315
+ return st(n, r);
1336
1316
  });
1337
1317
  }
1338
- function On(e, t) {
1339
- if (!t.customMerge)
1318
+ function Bn(t, e) {
1319
+ if (!e.customMerge)
1340
1320
  return Z;
1341
- var r = t.customMerge(e);
1321
+ var r = e.customMerge(t);
1342
1322
  return typeof r == "function" ? r : Z;
1343
1323
  }
1344
- function In(e) {
1345
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1346
- return Object.propertyIsEnumerable.call(e, t);
1324
+ function An(t) {
1325
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(e) {
1326
+ return Object.propertyIsEnumerable.call(t, e);
1347
1327
  }) : [];
1348
1328
  }
1349
- function _t(e) {
1350
- return Object.keys(e).concat(In(e));
1329
+ function ge(t) {
1330
+ return Object.keys(t).concat(An(t));
1351
1331
  }
1352
- function Yt(e, t) {
1332
+ function Ze(t, e) {
1353
1333
  try {
1354
- return t in e;
1334
+ return e in t;
1355
1335
  } catch {
1356
1336
  return !1;
1357
1337
  }
1358
1338
  }
1359
- function Mn(e, t) {
1360
- return Yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1339
+ function Pn(t, e) {
1340
+ return Ze(t, e) && !(Object.hasOwnProperty.call(t, e) && Object.propertyIsEnumerable.call(t, e));
1361
1341
  }
1362
- function Nn(e, t, r) {
1342
+ function Ln(t, e, r) {
1363
1343
  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));
1344
+ return r.isMergeableObject(t) && ge(t).forEach(function(i) {
1345
+ n[i] = st(t[i], r);
1346
+ }), ge(e).forEach(function(i) {
1347
+ Pn(t, i) || (Ze(t, i) && r.isMergeableObject(e[i]) ? n[i] = Bn(i, r)(t[i], e[i], r) : n[i] = st(e[i], r));
1368
1348
  }), n;
1369
1349
  }
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);
1350
+ function Z(t, e, r) {
1351
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cn, r.isMergeableObject = r.isMergeableObject || _n, r.cloneUnlessOtherwiseSpecified = st;
1352
+ var n = Array.isArray(e), i = Array.isArray(t), o = n === i;
1353
+ return o ? n ? r.arrayMerge(t, e, r) : Ln(t, e, r) : st(e, r);
1374
1354
  }
1375
- Z.all = function(t, r) {
1376
- if (!Array.isArray(t))
1355
+ Z.all = function(e, r) {
1356
+ if (!Array.isArray(e))
1377
1357
  throw new Error("first argument should be an array");
1378
- return t.reduce(function(n, i) {
1358
+ return e.reduce(function(n, i) {
1379
1359
  return Z(n, i, r);
1380
1360
  }, {});
1381
1361
  };
1382
- var $n = Z, Rn = $n;
1383
- 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, {
1362
+ var On = Z, In = On;
1363
+ const Mn = /* @__PURE__ */ vn(In);
1364
+ function Mt(t, e) {
1365
+ var r = e && e.cache ? e.cache : Fn, n = e && e.serializer ? e.serializer : Un, i = e && e.strategy ? e.strategy : Rn;
1366
+ return i(t, {
1387
1367
  cache: r,
1388
1368
  serializer: n
1389
1369
  });
1390
1370
  }
1391
- function Un(e) {
1392
- return e == null || typeof e == "number" || typeof e == "boolean";
1371
+ function Nn(t) {
1372
+ return t == null || typeof t == "number" || typeof t == "boolean";
1393
1373
  }
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;
1374
+ function $n(t, e, r, n) {
1375
+ var i = Nn(n) ? n : r(n), o = e.get(i);
1376
+ return typeof o > "u" && (o = t.call(this, n), e.set(i, o)), o;
1397
1377
  }
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;
1378
+ function Qe(t, e, r) {
1379
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = e.get(i);
1380
+ return typeof o > "u" && (o = t.apply(this, n), e.set(i, o)), o;
1401
1381
  }
1402
- function it(e, t, r, n, i) {
1403
- return r.bind(t, e, n, i);
1382
+ function Je(t, e, r, n, i) {
1383
+ return r.bind(e, t, n, i);
1404
1384
  }
1405
- function Dn(e, t) {
1406
- var r = e.length === 1 ? Kt : er;
1407
- return it(e, this, r, t.cache.create(), t.serializer);
1385
+ function Rn(t, e) {
1386
+ var r = t.length === 1 ? $n : Qe;
1387
+ return Je(t, this, r, e.cache.create(), e.serializer);
1408
1388
  }
1409
- function Fn(e, t) {
1410
- return it(e, this, er, t.cache.create(), t.serializer);
1389
+ function Gn(t, e) {
1390
+ return Je(t, this, Qe, e.cache.create(), e.serializer);
1411
1391
  }
1412
- function jn(e, t) {
1413
- return it(e, this, Kt, t.cache.create(), t.serializer);
1414
- }
1415
- var kn = function() {
1392
+ var Un = function() {
1416
1393
  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 = {
1394
+ }, Dn = (
1395
+ /** @class */
1396
+ function() {
1397
+ function t() {
1398
+ this.cache = /* @__PURE__ */ Object.create(null);
1399
+ }
1400
+ return t.prototype.get = function(e) {
1401
+ return this.cache[e];
1402
+ }, t.prototype.set = function(e, r) {
1403
+ this.cache[e] = r;
1404
+ }, t;
1405
+ }()
1406
+ ), Fn = {
1428
1407
  create: function() {
1429
- return new ot();
1408
+ return new Dn();
1430
1409
  }
1431
- }, $e = {
1432
- variadic: Fn,
1433
- monadic: jn
1410
+ }, Nt = {
1411
+ variadic: Gn
1434
1412
  }, 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";
1413
+ (function(t) {
1414
+ 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
1415
  })(b || (b = {}));
1438
1416
  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";
1417
+ (function(t) {
1418
+ 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";
1441
1419
  })(E || (E = {}));
1442
1420
  var Q;
1443
- (function(e) {
1444
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1421
+ (function(t) {
1422
+ t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
1445
1423
  })(Q || (Q = {}));
1446
- function xt(e) {
1447
- return e.type === E.literal;
1424
+ function ye(t) {
1425
+ return t.type === E.literal;
1448
1426
  }
1449
- function Xn(e) {
1450
- return e.type === E.argument;
1427
+ function jn(t) {
1428
+ return t.type === E.argument;
1451
1429
  }
1452
- function tr(e) {
1453
- return e.type === E.number;
1430
+ function qe(t) {
1431
+ return t.type === E.number;
1454
1432
  }
1455
- function rr(e) {
1456
- return e.type === E.date;
1433
+ function Ye(t) {
1434
+ return t.type === E.date;
1457
1435
  }
1458
- function nr(e) {
1459
- return e.type === E.time;
1436
+ function Ke(t) {
1437
+ return t.type === E.time;
1460
1438
  }
1461
- function ir(e) {
1462
- return e.type === E.select;
1439
+ function tr(t) {
1440
+ return t.type === E.select;
1463
1441
  }
1464
- function or(e) {
1465
- return e.type === E.plural;
1442
+ function er(t) {
1443
+ return t.type === E.plural;
1466
1444
  }
1467
- function zn(e) {
1468
- return e.type === E.pound;
1445
+ function kn(t) {
1446
+ return t.type === E.pound;
1469
1447
  }
1470
- function sr(e) {
1471
- return e.type === E.tag;
1448
+ function rr(t) {
1449
+ return t.type === E.tag;
1472
1450
  }
1473
- function ar(e) {
1474
- return !!(e && typeof e == "object" && e.type === Q.number);
1451
+ function nr(t) {
1452
+ return !!(t && typeof t == "object" && t.type === Q.number);
1475
1453
  }
1476
- function We(e) {
1477
- return !!(e && typeof e == "object" && e.type === Q.dateTime);
1454
+ function zt(t) {
1455
+ return !!(t && typeof t == "object" && t.type === Q.dateTime);
1478
1456
  }
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) {
1457
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
1458
+ function Xn(t) {
1459
+ var e = {};
1460
+ return t.replace(Vn, function(r) {
1483
1461
  var n = r.length;
1484
1462
  switch (r[0]) {
1485
1463
  case "G":
1486
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1464
+ e.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1487
1465
  break;
1488
1466
  case "y":
1489
- t.year = n === 2 ? "2-digit" : "numeric";
1467
+ e.year = n === 2 ? "2-digit" : "numeric";
1490
1468
  break;
1491
1469
  case "Y":
1492
1470
  case "u":
@@ -1498,64 +1476,64 @@ function Zn(e) {
1498
1476
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1499
1477
  case "M":
1500
1478
  case "L":
1501
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1479
+ e.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1502
1480
  break;
1503
1481
  case "w":
1504
1482
  case "W":
1505
1483
  throw new RangeError("`w/W` (week) patterns are not supported");
1506
1484
  case "d":
1507
- t.day = ["numeric", "2-digit"][n - 1];
1485
+ e.day = ["numeric", "2-digit"][n - 1];
1508
1486
  break;
1509
1487
  case "D":
1510
1488
  case "F":
1511
1489
  case "g":
1512
1490
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1513
1491
  case "E":
1514
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1492
+ e.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1515
1493
  break;
1516
1494
  case "e":
1517
1495
  if (n < 4)
1518
1496
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1519
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1497
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1520
1498
  break;
1521
1499
  case "c":
1522
1500
  if (n < 4)
1523
1501
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1524
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1502
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1525
1503
  break;
1526
1504
  case "a":
1527
- t.hour12 = !0;
1505
+ e.hour12 = !0;
1528
1506
  break;
1529
1507
  case "b":
1530
1508
  case "B":
1531
1509
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1532
1510
  case "h":
1533
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1511
+ e.hourCycle = "h12", e.hour = ["numeric", "2-digit"][n - 1];
1534
1512
  break;
1535
1513
  case "H":
1536
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1514
+ e.hourCycle = "h23", e.hour = ["numeric", "2-digit"][n - 1];
1537
1515
  break;
1538
1516
  case "K":
1539
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1517
+ e.hourCycle = "h11", e.hour = ["numeric", "2-digit"][n - 1];
1540
1518
  break;
1541
1519
  case "k":
1542
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1520
+ e.hourCycle = "h24", e.hour = ["numeric", "2-digit"][n - 1];
1543
1521
  break;
1544
1522
  case "j":
1545
1523
  case "J":
1546
1524
  case "C":
1547
1525
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1548
1526
  case "m":
1549
- t.minute = ["numeric", "2-digit"][n - 1];
1527
+ e.minute = ["numeric", "2-digit"][n - 1];
1550
1528
  break;
1551
1529
  case "s":
1552
- t.second = ["numeric", "2-digit"][n - 1];
1530
+ e.second = ["numeric", "2-digit"][n - 1];
1553
1531
  break;
1554
1532
  case "S":
1555
1533
  case "A":
1556
1534
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1557
1535
  case "z":
1558
- t.timeZoneName = n < 4 ? "short" : "long";
1536
+ e.timeZoneName = n < 4 ? "short" : "long";
1559
1537
  break;
1560
1538
  case "Z":
1561
1539
  case "O":
@@ -1566,15 +1544,15 @@ function Zn(e) {
1566
1544
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1567
1545
  }
1568
1546
  return "";
1569
- }), t;
1547
+ }), e;
1570
1548
  }
1571
- var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
- function Jn(e) {
1573
- if (e.length === 0)
1549
+ var zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1550
+ function Wn(t) {
1551
+ if (t.length === 0)
1574
1552
  throw new Error("Number skeleton cannot be empty");
1575
- for (var t = e.split(Qn).filter(function(f) {
1553
+ for (var e = t.split(zn).filter(function(f) {
1576
1554
  return f.length > 0;
1577
- }), r = [], n = 0, i = t; n < i.length; n++) {
1555
+ }), r = [], n = 0, i = e; n < i.length; n++) {
1578
1556
  var o = i[n], a = o.split("/");
1579
1557
  if (a.length === 0)
1580
1558
  throw new Error("Invalid number skeleton");
@@ -1587,18 +1565,18 @@ function Jn(e) {
1587
1565
  }
1588
1566
  return r;
1589
1567
  }
1590
- function qn(e) {
1591
- return e.replace(/^(.*?)-/, "");
1568
+ function Zn(t) {
1569
+ return t.replace(/^(.*?)-/, "");
1592
1570
  }
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;
1571
+ var ve = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1572
+ function _e(t) {
1573
+ var e = {};
1574
+ return t[t.length - 1] === "r" ? e.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), t.replace(or, function(r, n, i) {
1575
+ 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)), "";
1576
+ }), e;
1599
1577
  }
1600
- function cr(e) {
1601
- switch (e) {
1578
+ function ar(t) {
1579
+ switch (t) {
1602
1580
  case "sign-auto":
1603
1581
  return {
1604
1582
  signDisplay: "auto"
@@ -1637,113 +1615,113 @@ function cr(e) {
1637
1615
  };
1638
1616
  }
1639
1617
  }
1640
- function Kn(e) {
1641
- var t;
1642
- if (e[0] === "E" && e[1] === "E" ? (t = {
1618
+ function Jn(t) {
1619
+ var e;
1620
+ if (t[0] === "E" && t[1] === "E" ? (e = {
1643
1621
  notation: "engineering"
1644
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1622
+ }, t = t.slice(2)) : t[0] === "E" && (e = {
1645
1623
  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))
1624
+ }, t = t.slice(1)), e) {
1625
+ var r = t.slice(0, 2);
1626
+ if (r === "+!" ? (e.signDisplay = "always", t = t.slice(2)) : r === "+?" && (e.signDisplay = "exceptZero", t = t.slice(2)), !sr.test(t))
1649
1627
  throw new Error("Malformed concise eng/scientific notation");
1650
- t.minimumIntegerDigits = e.length;
1628
+ e.minimumIntegerDigits = t.length;
1651
1629
  }
1652
- return t;
1630
+ return e;
1653
1631
  }
1654
- function St(e) {
1655
- var t = {}, r = cr(e);
1656
- return r || t;
1632
+ function xe(t) {
1633
+ var e = {}, r = ar(t);
1634
+ return r || e;
1657
1635
  }
1658
- function ei(e) {
1659
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1636
+ function qn(t) {
1637
+ for (var e = {}, r = 0, n = t; r < n.length; r++) {
1660
1638
  var i = n[r];
1661
1639
  switch (i.stem) {
1662
1640
  case "percent":
1663
1641
  case "%":
1664
- t.style = "percent";
1642
+ e.style = "percent";
1665
1643
  continue;
1666
1644
  case "%x100":
1667
- t.style = "percent", t.scale = 100;
1645
+ e.style = "percent", e.scale = 100;
1668
1646
  continue;
1669
1647
  case "currency":
1670
- t.style = "currency", t.currency = i.options[0];
1648
+ e.style = "currency", e.currency = i.options[0];
1671
1649
  continue;
1672
1650
  case "group-off":
1673
1651
  case ",_":
1674
- t.useGrouping = !1;
1652
+ e.useGrouping = !1;
1675
1653
  continue;
1676
1654
  case "precision-integer":
1677
1655
  case ".":
1678
- t.maximumFractionDigits = 0;
1656
+ e.maximumFractionDigits = 0;
1679
1657
  continue;
1680
1658
  case "measure-unit":
1681
1659
  case "unit":
1682
- t.style = "unit", t.unit = qn(i.options[0]);
1660
+ e.style = "unit", e.unit = Zn(i.options[0]);
1683
1661
  continue;
1684
1662
  case "compact-short":
1685
1663
  case "K":
1686
- t.notation = "compact", t.compactDisplay = "short";
1664
+ e.notation = "compact", e.compactDisplay = "short";
1687
1665
  continue;
1688
1666
  case "compact-long":
1689
1667
  case "KK":
1690
- t.notation = "compact", t.compactDisplay = "long";
1668
+ e.notation = "compact", e.compactDisplay = "long";
1691
1669
  continue;
1692
1670
  case "scientific":
1693
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1694
- return _(_({}, l), St(u));
1671
+ e = _(_(_({}, e), { notation: "scientific" }), i.options.reduce(function(l, u) {
1672
+ return _(_({}, l), xe(u));
1695
1673
  }, {}));
1696
1674
  continue;
1697
1675
  case "engineering":
1698
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1699
- return _(_({}, l), St(u));
1676
+ e = _(_(_({}, e), { notation: "engineering" }), i.options.reduce(function(l, u) {
1677
+ return _(_({}, l), xe(u));
1700
1678
  }, {}));
1701
1679
  continue;
1702
1680
  case "notation-simple":
1703
- t.notation = "standard";
1681
+ e.notation = "standard";
1704
1682
  continue;
1705
1683
  case "unit-width-narrow":
1706
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1684
+ e.currencyDisplay = "narrowSymbol", e.unitDisplay = "narrow";
1707
1685
  continue;
1708
1686
  case "unit-width-short":
1709
- t.currencyDisplay = "code", t.unitDisplay = "short";
1687
+ e.currencyDisplay = "code", e.unitDisplay = "short";
1710
1688
  continue;
1711
1689
  case "unit-width-full-name":
1712
- t.currencyDisplay = "name", t.unitDisplay = "long";
1690
+ e.currencyDisplay = "name", e.unitDisplay = "long";
1713
1691
  continue;
1714
1692
  case "unit-width-iso-code":
1715
- t.currencyDisplay = "symbol";
1693
+ e.currencyDisplay = "symbol";
1716
1694
  continue;
1717
1695
  case "scale":
1718
- t.scale = parseFloat(i.options[0]);
1696
+ e.scale = parseFloat(i.options[0]);
1719
1697
  continue;
1720
1698
  case "rounding-mode-floor":
1721
- t.roundingMode = "floor";
1699
+ e.roundingMode = "floor";
1722
1700
  continue;
1723
1701
  case "rounding-mode-ceiling":
1724
- t.roundingMode = "ceil";
1702
+ e.roundingMode = "ceil";
1725
1703
  continue;
1726
1704
  case "rounding-mode-down":
1727
- t.roundingMode = "trunc";
1705
+ e.roundingMode = "trunc";
1728
1706
  continue;
1729
1707
  case "rounding-mode-up":
1730
- t.roundingMode = "expand";
1708
+ e.roundingMode = "expand";
1731
1709
  continue;
1732
1710
  case "rounding-mode-half-even":
1733
- t.roundingMode = "halfEven";
1711
+ e.roundingMode = "halfEven";
1734
1712
  continue;
1735
1713
  case "rounding-mode-half-down":
1736
- t.roundingMode = "halfTrunc";
1714
+ e.roundingMode = "halfTrunc";
1737
1715
  continue;
1738
1716
  case "rounding-mode-half-up":
1739
- t.roundingMode = "halfExpand";
1717
+ e.roundingMode = "halfExpand";
1740
1718
  continue;
1741
1719
  case "integer-width":
1742
1720
  if (i.options.length > 1)
1743
1721
  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) {
1722
+ i.options[0].replace(Qn, function(l, u, h, c, f, p) {
1745
1723
  if (u)
1746
- t.minimumIntegerDigits = h.length;
1724
+ e.minimumIntegerDigits = h.length;
1747
1725
  else {
1748
1726
  if (c && f)
1749
1727
  throw new Error("We currently do not support maximum integer digits");
@@ -1754,32 +1732,32 @@ function ei(e) {
1754
1732
  });
1755
1733
  continue;
1756
1734
  }
1757
- if (hr.test(i.stem)) {
1758
- t.minimumIntegerDigits = i.stem.length;
1735
+ if (sr.test(i.stem)) {
1736
+ e.minimumIntegerDigits = i.stem.length;
1759
1737
  continue;
1760
1738
  }
1761
- if (Et.test(i.stem)) {
1739
+ if (ve.test(i.stem)) {
1762
1740
  if (i.options.length > 1)
1763
1741
  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), "";
1742
+ i.stem.replace(ve, function(l, u, h, c, f, p) {
1743
+ 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
1744
  });
1767
1745
  var o = i.options[0];
1768
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), wt(o)));
1746
+ o === "w" ? e = _(_({}, e), { trailingZeroDisplay: "stripIfInteger" }) : o && (e = _(_({}, e), _e(o)));
1769
1747
  continue;
1770
1748
  }
1771
- if (lr.test(i.stem)) {
1772
- t = _(_({}, t), wt(i.stem));
1749
+ if (or.test(i.stem)) {
1750
+ e = _(_({}, e), _e(i.stem));
1773
1751
  continue;
1774
1752
  }
1775
- var a = cr(i.stem);
1776
- a && (t = _(_({}, t), a));
1777
- var s = Kn(i.stem);
1778
- s && (t = _(_({}, t), s));
1753
+ var a = ar(i.stem);
1754
+ a && (e = _(_({}, e), a));
1755
+ var s = Jn(i.stem);
1756
+ s && (e = _(_({}, e), s));
1779
1757
  }
1780
- return t;
1758
+ return e;
1781
1759
  }
1782
- var ce = {
1760
+ var ct = {
1783
1761
  "001": [
1784
1762
  "H",
1785
1763
  "h"
@@ -3194,13 +3172,13 @@ var ce = {
3194
3172
  "h"
3195
3173
  ]
3196
3174
  };
3197
- function ti(e, t) {
3198
- for (var r = "", n = 0; n < e.length; n++) {
3199
- var i = e.charAt(n);
3175
+ function Yn(t, e) {
3176
+ for (var r = "", n = 0; n < t.length; n++) {
3177
+ var i = t.charAt(n);
3200
3178
  if (i === "j") {
3201
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3179
+ for (var o = 0; n + 1 < t.length && t.charAt(n + 1) === i; )
3202
3180
  o++, n++;
3203
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
3181
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Kn(e);
3204
3182
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3205
3183
  r += l;
3206
3184
  for (; a-- > 0; )
@@ -3210,12 +3188,12 @@ function ti(e, t) {
3210
3188
  }
3211
3189
  return r;
3212
3190
  }
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) {
3191
+ function Kn(t) {
3192
+ var e = t.hourCycle;
3193
+ if (e === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3194
+ t.hourCycles && // @ts-ignore
3195
+ t.hourCycles.length && (e = t.hourCycles[0]), e)
3196
+ switch (e) {
3219
3197
  case "h24":
3220
3198
  return "k";
3221
3199
  case "h23":
@@ -3227,135 +3205,135 @@ function ri(e) {
3227
3205
  default:
3228
3206
  throw new Error("Invalid hourCycle");
3229
3207
  }
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"];
3208
+ var r = t.language, n;
3209
+ r !== "root" && (n = t.maximize().region);
3210
+ var i = ct[n || ""] || ct[r || ""] || ct["".concat(r, "-001")] || ct["001"];
3233
3211
  return i[0];
3234
3212
  }
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 };
3213
+ var $t, ti = new RegExp("^".concat(ir.source, "*")), ei = new RegExp("".concat(ir.source, "*$"));
3214
+ function y(t, e) {
3215
+ return { start: t, end: e };
3238
3216
  }
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;
3217
+ var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, li = ui ? Number.isSafeInteger : function(t) {
3218
+ return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
3219
+ }, Wt = !0;
3242
3220
  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";
3221
+ var hi = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3222
+ Wt = (($t = hi.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
3245
3223
  } catch {
3246
- Ze = !1;
3224
+ Wt = !1;
3247
3225
  }
3248
- var Tt = oi ? (
3226
+ var Ee = ri ? (
3249
3227
  // Native
3250
- function(t, r, n) {
3251
- return t.startsWith(r, n);
3228
+ function(e, r, n) {
3229
+ return e.startsWith(r, n);
3252
3230
  }
3253
3231
  ) : (
3254
3232
  // For IE11
3255
- function(t, r, n) {
3256
- return t.slice(n, n + r.length) === r;
3233
+ function(e, r, n) {
3234
+ return e.slice(n, n + r.length) === r;
3257
3235
  }
3258
- ), Qe = si ? String.fromCodePoint : (
3236
+ ), Zt = ni ? String.fromCodePoint : (
3259
3237
  // IE11
3260
3238
  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)
3239
+ for (var e = [], r = 0; r < arguments.length; r++)
3240
+ e[r] = arguments[r];
3241
+ for (var n = "", i = e.length, o = 0, a; i > o; ) {
3242
+ if (a = e[o++], a > 1114111)
3265
3243
  throw RangeError(a + " is not a valid code point");
3266
3244
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3267
3245
  }
3268
3246
  return n;
3269
3247
  }
3270
- ), Ht = (
3248
+ ), we = (
3271
3249
  // native
3272
- ai ? Object.fromEntries : (
3250
+ ii ? Object.fromEntries : (
3273
3251
  // Ponyfill
3274
- function(t) {
3275
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3252
+ function(e) {
3253
+ for (var r = {}, n = 0, i = e; n < i.length; n++) {
3276
3254
  var o = i[n], a = o[0], s = o[1];
3277
3255
  r[a] = s;
3278
3256
  }
3279
3257
  return r;
3280
3258
  }
3281
3259
  )
3282
- ), fr = ui ? (
3260
+ ), ur = oi ? (
3283
3261
  // Native
3284
- function(t, r) {
3285
- return t.codePointAt(r);
3262
+ function(e, r) {
3263
+ return e.codePointAt(r);
3286
3264
  }
3287
3265
  ) : (
3288
3266
  // IE 11
3289
- function(t, r) {
3290
- var n = t.length;
3267
+ function(e, r) {
3268
+ var n = e.length;
3291
3269
  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;
3270
+ var i = e.charCodeAt(r), o;
3271
+ return i < 55296 || i > 56319 || r + 1 === n || (o = e.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3294
3272
  }
3295
3273
  }
3296
- ), pi = li ? (
3274
+ ), ci = si ? (
3297
3275
  // Native
3298
- function(t) {
3299
- return t.trimStart();
3276
+ function(e) {
3277
+ return e.trimStart();
3300
3278
  }
3301
3279
  ) : (
3302
3280
  // Ponyfill
3303
- function(t) {
3304
- return t.replace(ni, "");
3281
+ function(e) {
3282
+ return e.replace(ti, "");
3305
3283
  }
3306
- ), di = hi ? (
3284
+ ), fi = ai ? (
3307
3285
  // Native
3308
- function(t) {
3309
- return t.trimEnd();
3286
+ function(e) {
3287
+ return e.trimEnd();
3310
3288
  }
3311
3289
  ) : (
3312
3290
  // Ponyfill
3313
- function(t) {
3314
- return t.replace(ii, "");
3291
+ function(e) {
3292
+ return e.replace(ei, "");
3315
3293
  }
3316
3294
  );
3317
- function mr(e, t) {
3318
- return new RegExp(e, t);
3295
+ function lr(t, e) {
3296
+ return new RegExp(t, e);
3319
3297
  }
3320
- var Je;
3321
- if (Ze) {
3322
- var Ct = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3323
- Je = function(t, r) {
3298
+ var Qt;
3299
+ if (Wt) {
3300
+ var Se = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3301
+ Qt = function(e, r) {
3324
3302
  var n;
3325
- Ct.lastIndex = r;
3326
- var i = Ct.exec(t);
3303
+ Se.lastIndex = r;
3304
+ var i = Se.exec(e);
3327
3305
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3328
3306
  };
3329
3307
  } else
3330
- Je = function(t, r) {
3308
+ Qt = function(e, r) {
3331
3309
  for (var n = []; ; ) {
3332
- var i = fr(t, r);
3333
- if (i === void 0 || pr(i) || vi(i))
3310
+ var i = ur(e, r);
3311
+ if (i === void 0 || hr(i) || bi(i))
3334
3312
  break;
3335
3313
  n.push(i), r += i >= 65536 ? 2 : 1;
3336
3314
  }
3337
- return Qe.apply(void 0, n);
3315
+ return Zt.apply(void 0, n);
3338
3316
  };
3339
- var bi = (
3317
+ var mi = (
3340
3318
  /** @class */
3341
3319
  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;
3320
+ function t(e, r) {
3321
+ 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
3322
  }
3345
- return e.prototype.parse = function() {
3323
+ return t.prototype.parse = function() {
3346
3324
  if (this.offset() !== 0)
3347
3325
  throw Error("parser can only be used once");
3348
3326
  return this.parseMessage(0, "", !1);
3349
- }, e.prototype.parseMessage = function(t, r, n) {
3327
+ }, t.prototype.parseMessage = function(e, r, n) {
3350
3328
  for (var i = []; !this.isEOF(); ) {
3351
3329
  var o = this.char();
3352
3330
  if (o === 123) {
3353
- var a = this.parseArgument(t, n);
3331
+ var a = this.parseArgument(e, n);
3354
3332
  if (a.err)
3355
3333
  return a;
3356
3334
  i.push(a.val);
3357
3335
  } else {
3358
- if (o === 125 && t > 0)
3336
+ if (o === 125 && e > 0)
3359
3337
  break;
3360
3338
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3361
3339
  var s = this.clonePosition();
@@ -3367,13 +3345,13 @@ var bi = (
3367
3345
  if (n)
3368
3346
  break;
3369
3347
  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);
3348
+ } else if (o === 60 && !this.ignoreTag && Jt(this.peek() || 0)) {
3349
+ var a = this.parseTag(e, r);
3372
3350
  if (a.err)
3373
3351
  return a;
3374
3352
  i.push(a.val);
3375
3353
  } else {
3376
- var a = this.parseLiteral(t, r);
3354
+ var a = this.parseLiteral(e, r);
3377
3355
  if (a.err)
3378
3356
  return a;
3379
3357
  i.push(a.val);
@@ -3381,7 +3359,7 @@ var bi = (
3381
3359
  }
3382
3360
  }
3383
3361
  return { val: i, err: null };
3384
- }, e.prototype.parseTag = function(t, r) {
3362
+ }, t.prototype.parseTag = function(e, r) {
3385
3363
  var n = this.clonePosition();
3386
3364
  this.bump();
3387
3365
  var i = this.parseTagName();
@@ -3395,12 +3373,12 @@ var bi = (
3395
3373
  err: null
3396
3374
  };
3397
3375
  if (this.bumpIf(">")) {
3398
- var o = this.parseMessage(t + 1, r, !0);
3376
+ var o = this.parseMessage(e + 1, r, !0);
3399
3377
  if (o.err)
3400
3378
  return o;
3401
3379
  var a = o.val, s = this.clonePosition();
3402
3380
  if (this.bumpIf("</")) {
3403
- if (this.isEOF() || !qe(this.char()))
3381
+ if (this.isEOF() || !Jt(this.char()))
3404
3382
  return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
3405
3383
  var l = this.clonePosition(), u = this.parseTagName();
3406
3384
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3416,19 +3394,19 @@ var bi = (
3416
3394
  return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
3417
3395
  } else
3418
3396
  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()); )
3397
+ }, t.prototype.parseTagName = function() {
3398
+ var e = this.offset();
3399
+ for (this.bump(); !this.isEOF() && di(this.char()); )
3422
3400
  this.bump();
3423
- return this.message.slice(t, this.offset());
3424
- }, e.prototype.parseLiteral = function(t, r) {
3401
+ return this.message.slice(e, this.offset());
3402
+ }, t.prototype.parseLiteral = function(e, r) {
3425
3403
  for (var n = this.clonePosition(), i = ""; ; ) {
3426
3404
  var o = this.tryParseQuote(r);
3427
3405
  if (o) {
3428
3406
  i += o;
3429
3407
  continue;
3430
3408
  }
3431
- var a = this.tryParseUnquoted(t, r);
3409
+ var a = this.tryParseUnquoted(e, r);
3432
3410
  if (a) {
3433
3411
  i += a;
3434
3412
  continue;
@@ -3445,10 +3423,10 @@ var bi = (
3445
3423
  val: { type: E.literal, value: i, location: l },
3446
3424
  err: null
3447
3425
  };
3448
- }, e.prototype.tryParseLeftAngleBracket = function() {
3426
+ }, t.prototype.tryParseLeftAngleBracket = function() {
3449
3427
  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) {
3428
+ !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3429
+ }, t.prototype.tryParseQuote = function(e) {
3452
3430
  if (this.isEOF() || this.char() !== 39)
3453
3431
  return null;
3454
3432
  switch (this.peek()) {
@@ -3460,7 +3438,7 @@ var bi = (
3460
3438
  case 125:
3461
3439
  break;
3462
3440
  case 35:
3463
- if (t === "plural" || t === "selectordinal")
3441
+ if (e === "plural" || e === "selectordinal")
3464
3442
  break;
3465
3443
  return null;
3466
3444
  default:
@@ -3481,13 +3459,13 @@ var bi = (
3481
3459
  r.push(n);
3482
3460
  this.bump();
3483
3461
  }
3484
- return Qe.apply(void 0, r);
3485
- }, e.prototype.tryParseUnquoted = function(t, r) {
3462
+ return Zt.apply(void 0, r);
3463
+ }, t.prototype.tryParseUnquoted = function(e, r) {
3486
3464
  if (this.isEOF())
3487
3465
  return null;
3488
3466
  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) {
3467
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), Zt(n));
3468
+ }, t.prototype.parseArgument = function(e, r) {
3491
3469
  var n = this.clonePosition();
3492
3470
  if (this.bump(), this.bumpSpace(), this.isEOF())
3493
3471
  return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
@@ -3510,16 +3488,16 @@ var bi = (
3510
3488
  err: null
3511
3489
  };
3512
3490
  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);
3491
+ 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
3492
  default:
3515
3493
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3516
3494
  }
3517
- }, e.prototype.parseIdentifierIfPossible = function() {
3518
- var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
3495
+ }, t.prototype.parseIdentifierIfPossible = function() {
3496
+ var e = this.clonePosition(), r = this.offset(), n = Qt(this.message, r), i = r + n.length;
3519
3497
  this.bumpTo(i);
3520
- var o = this.clonePosition(), a = y(t, o);
3498
+ var o = this.clonePosition(), a = y(e, o);
3521
3499
  return { value: n, location: a };
3522
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3500
+ }, t.prototype.parseArgumentOptions = function(e, r, n, i) {
3523
3501
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3524
3502
  switch (s) {
3525
3503
  case "":
@@ -3534,7 +3512,7 @@ var bi = (
3534
3512
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3535
3513
  if (c.err)
3536
3514
  return c;
3537
- var f = di(c.val);
3515
+ var f = fi(c.val);
3538
3516
  if (f.length === 0)
3539
3517
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3540
3518
  var p = y(h, this.clonePosition());
@@ -3544,8 +3522,8 @@ var bi = (
3544
3522
  if (m.err)
3545
3523
  return m;
3546
3524
  var d = y(i, this.clonePosition());
3547
- if (u && Tt(u?.style, "::", 0)) {
3548
- var v = pi(u.style.slice(2));
3525
+ if (u && Ee(u?.style, "::", 0)) {
3526
+ var v = ci(u.style.slice(2));
3549
3527
  if (s === "number") {
3550
3528
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3551
3529
  return c.err ? c : {
@@ -3556,12 +3534,12 @@ var bi = (
3556
3534
  if (v.length === 0)
3557
3535
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3558
3536
  var T = v;
3559
- this.locale && (T = ti(v, this.locale));
3537
+ this.locale && (T = Yn(v, this.locale));
3560
3538
  var f = {
3561
3539
  type: Q.dateTime,
3562
3540
  pattern: T,
3563
3541
  location: u.styleLocation,
3564
- parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
3542
+ parsedOptions: this.shouldParseSkeletons ? Xn(T) : {}
3565
3543
  }, C = s === "date" ? E.date : E.time;
3566
3544
  return {
3567
3545
  val: { type: C, value: n, location: d, style: f },
@@ -3596,7 +3574,7 @@ var bi = (
3596
3574
  return c;
3597
3575
  this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = c.val;
3598
3576
  }
3599
- var x = this.tryParsePluralOrSelectOptions(t, s, r, B);
3577
+ var x = this.tryParsePluralOrSelectOptions(e, s, r, B);
3600
3578
  if (x.err)
3601
3579
  return x;
3602
3580
  var m = this.tryParseArgumentClose(i);
@@ -3607,7 +3585,7 @@ var bi = (
3607
3585
  val: {
3608
3586
  type: E.select,
3609
3587
  value: n,
3610
- options: Ht(x.val),
3588
+ options: we(x.val),
3611
3589
  location: L
3612
3590
  },
3613
3591
  err: null
@@ -3615,7 +3593,7 @@ var bi = (
3615
3593
  val: {
3616
3594
  type: E.plural,
3617
3595
  value: n,
3618
- options: Ht(x.val),
3596
+ options: we(x.val),
3619
3597
  offset: w,
3620
3598
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3621
3599
  location: L
@@ -3626,10 +3604,10 @@ var bi = (
3626
3604
  default:
3627
3605
  return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
3628
3606
  }
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(); ) {
3607
+ }, t.prototype.tryParseArgumentClose = function(e) {
3608
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(e, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3609
+ }, t.prototype.parseSimpleArgStyleIfPossible = function() {
3610
+ for (var e = 0, r = this.clonePosition(); !this.isEOF(); ) {
3633
3611
  var n = this.char();
3634
3612
  switch (n) {
3635
3613
  case 39: {
@@ -3641,12 +3619,12 @@ var bi = (
3641
3619
  break;
3642
3620
  }
3643
3621
  case 123: {
3644
- t += 1, this.bump();
3622
+ e += 1, this.bump();
3645
3623
  break;
3646
3624
  }
3647
3625
  case 125: {
3648
- if (t > 0)
3649
- t -= 1;
3626
+ if (e > 0)
3627
+ e -= 1;
3650
3628
  else
3651
3629
  return {
3652
3630
  val: this.message.slice(r.offset, this.offset()),
@@ -3663,10 +3641,10 @@ var bi = (
3663
3641
  val: this.message.slice(r.offset, this.offset()),
3664
3642
  err: null
3665
3643
  };
3666
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3644
+ }, t.prototype.parseNumberSkeletonFromString = function(e, r) {
3667
3645
  var n = [];
3668
3646
  try {
3669
- n = Jn(t);
3647
+ n = Wn(e);
3670
3648
  } catch {
3671
3649
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3672
3650
  }
@@ -3675,11 +3653,11 @@ var bi = (
3675
3653
  type: Q.number,
3676
3654
  tokens: n,
3677
3655
  location: r,
3678
- parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
3656
+ parsedOptions: this.shouldParseSkeletons ? qn(n) : {}
3679
3657
  },
3680
3658
  err: null
3681
3659
  };
3682
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3660
+ }, t.prototype.tryParsePluralOrSelectOptions = function(e, r, n, i) {
3683
3661
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3684
3662
  if (u.length === 0) {
3685
3663
  var c = this.clonePosition();
@@ -3697,7 +3675,7 @@ var bi = (
3697
3675
  var p = this.clonePosition();
3698
3676
  if (!this.bumpIf("{"))
3699
3677
  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);
3678
+ var m = this.parseMessage(e + 1, r, n);
3701
3679
  if (m.err)
3702
3680
  return m;
3703
3681
  var d = this.tryParseArgumentClose(p);
@@ -3712,7 +3690,7 @@ var bi = (
3712
3690
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3713
3691
  }
3714
3692
  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) {
3693
+ }, t.prototype.tryParseDecimalInteger = function(e, r) {
3716
3694
  var n = 1, i = this.clonePosition();
3717
3695
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3718
3696
  for (var o = !1, a = 0; !this.isEOF(); ) {
@@ -3723,225 +3701,225 @@ var bi = (
3723
3701
  break;
3724
3702
  }
3725
3703
  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() {
3704
+ return o ? (a *= n, li(a) ? { val: a, err: null } : this.error(r, l)) : this.error(e, l);
3705
+ }, t.prototype.offset = function() {
3728
3706
  return this.position.offset;
3729
- }, e.prototype.isEOF = function() {
3707
+ }, t.prototype.isEOF = function() {
3730
3708
  return this.offset() === this.message.length;
3731
- }, e.prototype.clonePosition = function() {
3709
+ }, t.prototype.clonePosition = function() {
3732
3710
  return {
3733
3711
  offset: this.position.offset,
3734
3712
  line: this.position.line,
3735
3713
  column: this.position.column
3736
3714
  };
3737
- }, e.prototype.char = function() {
3738
- var t = this.position.offset;
3739
- if (t >= this.message.length)
3715
+ }, t.prototype.char = function() {
3716
+ var e = this.position.offset;
3717
+ if (e >= this.message.length)
3740
3718
  throw Error("out of bound");
3741
- var r = fr(this.message, t);
3719
+ var r = ur(this.message, e);
3742
3720
  if (r === void 0)
3743
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3721
+ throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3744
3722
  return r;
3745
- }, e.prototype.error = function(t, r) {
3723
+ }, t.prototype.error = function(e, r) {
3746
3724
  return {
3747
3725
  val: null,
3748
3726
  err: {
3749
- kind: t,
3727
+ kind: e,
3750
3728
  message: this.message,
3751
3729
  location: r
3752
3730
  }
3753
3731
  };
3754
- }, e.prototype.bump = function() {
3732
+ }, t.prototype.bump = function() {
3755
3733
  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);
3734
+ var e = this.char();
3735
+ 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
3736
  }
3759
- }, e.prototype.bumpIf = function(t) {
3760
- if (Tt(this.message, t, this.offset())) {
3761
- for (var r = 0; r < t.length; r++)
3737
+ }, t.prototype.bumpIf = function(e) {
3738
+ if (Ee(this.message, e, this.offset())) {
3739
+ for (var r = 0; r < e.length; r++)
3762
3740
  this.bump();
3763
3741
  return !0;
3764
3742
  }
3765
3743
  return !1;
3766
- }, e.prototype.bumpUntil = function(t) {
3767
- var r = this.offset(), n = this.message.indexOf(t, r);
3744
+ }, t.prototype.bumpUntil = function(e) {
3745
+ var r = this.offset(), n = this.message.indexOf(e, r);
3768
3746
  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); ; ) {
3747
+ }, t.prototype.bumpTo = function(e) {
3748
+ if (this.offset() > e)
3749
+ throw Error("targetOffset ".concat(e, " must be greater than or equal to the current offset ").concat(this.offset()));
3750
+ for (e = Math.min(e, this.message.length); ; ) {
3773
3751
  var r = this.offset();
3774
- if (r === t)
3752
+ if (r === e)
3775
3753
  break;
3776
- if (r > t)
3777
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3754
+ if (r > e)
3755
+ throw Error("targetOffset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3778
3756
  if (this.bump(), this.isEOF())
3779
3757
  break;
3780
3758
  }
3781
- }, e.prototype.bumpSpace = function() {
3782
- for (; !this.isEOF() && pr(this.char()); )
3759
+ }, t.prototype.bumpSpace = function() {
3760
+ for (; !this.isEOF() && hr(this.char()); )
3783
3761
  this.bump();
3784
- }, e.prototype.peek = function() {
3762
+ }, t.prototype.peek = function() {
3785
3763
  if (this.isEOF())
3786
3764
  return null;
3787
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3765
+ var e = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (e >= 65536 ? 2 : 1));
3788
3766
  return n ?? null;
3789
- }, e;
3767
+ }, t;
3790
3768
  }()
3791
3769
  );
3792
- function qe(e) {
3793
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3770
+ function Jt(t) {
3771
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90;
3794
3772
  }
3795
- function gi(e) {
3796
- return qe(e) || e === 47;
3773
+ function pi(t) {
3774
+ return Jt(t) || t === 47;
3797
3775
  }
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;
3776
+ function di(t) {
3777
+ 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
3778
  }
3801
- function pr(e) {
3802
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3779
+ function hr(t) {
3780
+ return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
3803
3781
  }
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;
3782
+ function bi(t) {
3783
+ 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
3784
  }
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);
3785
+ function qt(t) {
3786
+ t.forEach(function(e) {
3787
+ if (delete e.location, tr(e) || er(e))
3788
+ for (var r in e.options)
3789
+ delete e.options[r].location, qt(e.options[r].value);
3812
3790
  else
3813
- tr(t) && ar(t.style) || (rr(t) || nr(t)) && We(t.style) ? delete t.style.location : sr(t) && Ye(t.children);
3791
+ qe(e) && nr(e.style) || (Ye(e) || Ke(e)) && zt(e.style) ? delete e.style.location : rr(e) && qt(e.children);
3814
3792
  });
3815
3793
  }
3816
- function _i(e, t) {
3817
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3818
- var r = new bi(e, t).parse();
3794
+ function gi(t, e) {
3795
+ e === void 0 && (e = {}), e = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, e);
3796
+ var r = new mi(t, e).parse();
3819
3797
  if (r.err) {
3820
3798
  var n = SyntaxError(b[r.err.kind]);
3821
3799
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3822
3800
  }
3823
- return t?.captureLocation || Ye(r.val), r.val;
3801
+ return e?.captureLocation || qt(r.val), r.val;
3824
3802
  }
3825
3803
  var J;
3826
- (function(e) {
3827
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3804
+ (function(t) {
3805
+ t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
3828
3806
  })(J || (J = {}));
3829
- var Te = (
3807
+ var Tt = (
3830
3808
  /** @class */
3831
- function(e) {
3832
- R(t, e);
3833
- function t(r, n, i) {
3834
- var o = e.call(this, r) || this;
3809
+ function(t) {
3810
+ R(e, t);
3811
+ function e(r, n, i) {
3812
+ var o = t.call(this, r) || this;
3835
3813
  return o.code = n, o.originalMessage = i, o;
3836
3814
  }
3837
- return t.prototype.toString = function() {
3815
+ return e.prototype.toString = function() {
3838
3816
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3839
- }, t;
3817
+ }, e;
3840
3818
  }(Error)
3841
- ), Bt = (
3819
+ ), Te = (
3842
3820
  /** @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;
3821
+ function(t) {
3822
+ R(e, t);
3823
+ function e(r, n, i, o) {
3824
+ return t.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3847
3825
  }
3848
- return t;
3849
- }(Te)
3850
- ), xi = (
3826
+ return e;
3827
+ }(Tt)
3828
+ ), yi = (
3851
3829
  /** @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;
3830
+ function(t) {
3831
+ R(e, t);
3832
+ function e(r, n, i) {
3833
+ return t.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3856
3834
  }
3857
- return t;
3858
- }(Te)
3859
- ), Ei = (
3835
+ return e;
3836
+ }(Tt)
3837
+ ), vi = (
3860
3838
  /** @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;
3839
+ function(t) {
3840
+ R(e, t);
3841
+ function e(r, n) {
3842
+ return t.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3865
3843
  }
3866
- return t;
3867
- }(Te)
3844
+ return e;
3845
+ }(Tt)
3868
3846
  ), A;
3869
- (function(e) {
3870
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3847
+ (function(t) {
3848
+ t[t.literal = 0] = "literal", t[t.object = 1] = "object";
3871
3849
  })(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;
3850
+ function _i(t) {
3851
+ return t.length < 2 ? t : t.reduce(function(e, r) {
3852
+ var n = e[e.length - 1];
3853
+ return !n || n.type !== A.literal || r.type !== A.literal ? e.push(r) : n.value += r.value, e;
3876
3854
  }, []);
3877
3855
  }
3878
- function Si(e) {
3879
- return typeof e == "function";
3856
+ function xi(t) {
3857
+ return typeof t == "function";
3880
3858
  }
3881
- function de(e, t, r, n, i, o, a) {
3882
- if (e.length === 1 && xt(e[0]))
3859
+ function dt(t, e, r, n, i, o, a) {
3860
+ if (t.length === 1 && ye(t[0]))
3883
3861
  return [
3884
3862
  {
3885
3863
  type: A.literal,
3886
- value: e[0].value
3864
+ value: t[0].value
3887
3865
  }
3888
3866
  ];
3889
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3867
+ for (var s = [], l = 0, u = t; l < u.length; l++) {
3890
3868
  var h = u[l];
3891
- if (xt(h)) {
3869
+ if (ye(h)) {
3892
3870
  s.push({
3893
3871
  type: A.literal,
3894
3872
  value: h.value
3895
3873
  });
3896
3874
  continue;
3897
3875
  }
3898
- if (zn(h)) {
3876
+ if (kn(h)) {
3899
3877
  typeof o == "number" && s.push({
3900
3878
  type: A.literal,
3901
- value: r.getNumberFormat(t).format(o)
3879
+ value: r.getNumberFormat(e).format(o)
3902
3880
  });
3903
3881
  continue;
3904
3882
  }
3905
3883
  var c = h.value;
3906
3884
  if (!(i && c in i))
3907
- throw new Ei(c, a);
3885
+ throw new vi(c, a);
3908
3886
  var f = i[c];
3909
- if (Xn(h)) {
3887
+ if (jn(h)) {
3910
3888
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3911
3889
  type: typeof f == "string" ? A.literal : A.object,
3912
3890
  value: f
3913
3891
  });
3914
3892
  continue;
3915
3893
  }
3916
- if (rr(h)) {
3917
- var p = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3894
+ if (Ye(h)) {
3895
+ var p = typeof h.style == "string" ? n.date[h.style] : zt(h.style) ? h.style.parsedOptions : void 0;
3918
3896
  s.push({
3919
3897
  type: A.literal,
3920
- value: r.getDateTimeFormat(t, p).format(f)
3898
+ value: r.getDateTimeFormat(e, p).format(f)
3921
3899
  });
3922
3900
  continue;
3923
3901
  }
3924
- if (nr(h)) {
3925
- var p = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3902
+ if (Ke(h)) {
3903
+ var p = typeof h.style == "string" ? n.time[h.style] : zt(h.style) ? h.style.parsedOptions : n.time.medium;
3926
3904
  s.push({
3927
3905
  type: A.literal,
3928
- value: r.getDateTimeFormat(t, p).format(f)
3906
+ value: r.getDateTimeFormat(e, p).format(f)
3929
3907
  });
3930
3908
  continue;
3931
3909
  }
3932
- if (tr(h)) {
3933
- var p = typeof h.style == "string" ? n.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3910
+ if (qe(h)) {
3911
+ var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3934
3912
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3935
3913
  type: A.literal,
3936
- value: r.getNumberFormat(t, p).format(f)
3914
+ value: r.getNumberFormat(e, p).format(f)
3937
3915
  });
3938
3916
  continue;
3939
3917
  }
3940
- if (sr(h)) {
3918
+ if (rr(h)) {
3941
3919
  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) {
3920
+ if (!xi(v))
3921
+ throw new yi(d, "function", a);
3922
+ var T = dt(m, e, r, n, i, o), C = v(T.map(function(w) {
3945
3923
  return w.value;
3946
3924
  }));
3947
3925
  Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(w) {
@@ -3951,92 +3929,92 @@ function de(e, t, r, n, i, o, a) {
3951
3929
  };
3952
3930
  }));
3953
3931
  }
3954
- if (ir(h)) {
3932
+ if (tr(h)) {
3955
3933
  var S = h.options[f] || h.options.other;
3956
3934
  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));
3935
+ throw new Te(h.value, f, Object.keys(h.options), a);
3936
+ s.push.apply(s, dt(S.value, e, r, n, i));
3959
3937
  continue;
3960
3938
  }
3961
- if (or(h)) {
3939
+ if (er(h)) {
3962
3940
  var S = h.options["=".concat(f)];
3963
3941
  if (!S) {
3964
3942
  if (!Intl.PluralRules)
3965
- throw new Te(`Intl.PluralRules is not available in this environment.
3943
+ throw new Tt(`Intl.PluralRules is not available in this environment.
3966
3944
  Try polyfilling it using "@formatjs/intl-pluralrules"
3967
3945
  `, J.MISSING_INTL_API, a);
3968
- var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3946
+ var B = r.getPluralRules(e, { type: h.pluralType }).select(f - (h.offset || 0));
3969
3947
  S = h.options[B] || h.options.other;
3970
3948
  }
3971
3949
  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)));
3950
+ throw new Te(h.value, f, Object.keys(h.options), a);
3951
+ s.push.apply(s, dt(S.value, e, r, n, i, f - (h.offset || 0)));
3974
3952
  continue;
3975
3953
  }
3976
3954
  }
3977
- return wi(s);
3955
+ return _i(s);
3978
3956
  }
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;
3957
+ function Ei(t, e) {
3958
+ return e ? _(_(_({}, t || {}), e || {}), Object.keys(t).reduce(function(r, n) {
3959
+ return r[n] = _(_({}, t[n]), e[n] || {}), r;
3960
+ }, {})) : t;
3983
3961
  }
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;
3962
+ function wi(t, e) {
3963
+ return e ? Object.keys(t).reduce(function(r, n) {
3964
+ return r[n] = Ei(t[n], e[n]), r;
3965
+ }, _({}, t)) : t;
3988
3966
  }
3989
- function Ge(e) {
3967
+ function Rt(t) {
3990
3968
  return {
3991
3969
  create: function() {
3992
3970
  return {
3993
- get: function(t) {
3994
- return e[t];
3971
+ get: function(e) {
3972
+ return t[e];
3995
3973
  },
3996
- set: function(t, r) {
3997
- e[t] = r;
3974
+ set: function(e, r) {
3975
+ t[e] = r;
3998
3976
  }
3999
3977
  };
4000
3978
  }
4001
3979
  };
4002
3980
  }
4003
- function Ci(e) {
4004
- return e === void 0 && (e = {
3981
+ function Si(t) {
3982
+ return t === void 0 && (t = {
4005
3983
  number: {},
4006
3984
  dateTime: {},
4007
3985
  pluralRules: {}
4008
3986
  }), {
4009
- getNumberFormat: Ne(function() {
4010
- for (var t, r = [], n = 0; n < arguments.length; n++)
3987
+ getNumberFormat: Mt(function() {
3988
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4011
3989
  r[n] = arguments[n];
4012
- return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3990
+ return new ((e = Intl.NumberFormat).bind.apply(e, W([void 0], r, !1)))();
4013
3991
  }, {
4014
- cache: Ge(e.number),
4015
- strategy: $e.variadic
3992
+ cache: Rt(t.number),
3993
+ strategy: Nt.variadic
4016
3994
  }),
4017
- getDateTimeFormat: Ne(function() {
4018
- for (var t, r = [], n = 0; n < arguments.length; n++)
3995
+ getDateTimeFormat: Mt(function() {
3996
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4019
3997
  r[n] = arguments[n];
4020
- return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3998
+ return new ((e = Intl.DateTimeFormat).bind.apply(e, W([void 0], r, !1)))();
4021
3999
  }, {
4022
- cache: Ge(e.dateTime),
4023
- strategy: $e.variadic
4000
+ cache: Rt(t.dateTime),
4001
+ strategy: Nt.variadic
4024
4002
  }),
4025
- getPluralRules: Ne(function() {
4026
- for (var t, r = [], n = 0; n < arguments.length; n++)
4003
+ getPluralRules: Mt(function() {
4004
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4027
4005
  r[n] = arguments[n];
4028
- return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
4006
+ return new ((e = Intl.PluralRules).bind.apply(e, W([void 0], r, !1)))();
4029
4007
  }, {
4030
- cache: Ge(e.pluralRules),
4031
- strategy: $e.variadic
4008
+ cache: Rt(t.pluralRules),
4009
+ strategy: Nt.variadic
4032
4010
  })
4033
4011
  };
4034
4012
  }
4035
- var Bi = (
4013
+ var Ti = (
4036
4014
  /** @class */
4037
4015
  function() {
4038
- function e(t, r, n, i) {
4039
- r === void 0 && (r = e.defaultLocale);
4016
+ function t(e, r, n, i) {
4017
+ r === void 0 && (r = t.defaultLocale);
4040
4018
  var o = this;
4041
4019
  if (this.formatterCache = {
4042
4020
  number: {},
@@ -4051,7 +4029,7 @@ var Bi = (
4051
4029
  }, []);
4052
4030
  return h.length <= 1 ? h[0] || "" : h;
4053
4031
  }, this.formatToParts = function(l) {
4054
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4032
+ return dt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4055
4033
  }, this.resolvedOptions = function() {
4056
4034
  var l;
4057
4035
  return {
@@ -4059,31 +4037,31 @@ var Bi = (
4059
4037
  };
4060
4038
  }, this.getAst = function() {
4061
4039
  return o.ast;
4062
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4063
- if (this.message = t, !e.__parse)
4040
+ }, this.locales = r, this.resolvedLocale = t.resolveLocale(r), typeof e == "string") {
4041
+ if (this.message = e, !t.__parse)
4064
4042
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4065
4043
  var a = i || {};
4066
4044
  a.formatters;
4067
- var s = an(a, ["formatters"]);
4068
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4045
+ var s = rn(a, ["formatters"]);
4046
+ this.ast = t.__parse(e, _(_({}, s), { locale: this.resolvedLocale }));
4069
4047
  } else
4070
- this.ast = t;
4048
+ this.ast = e;
4071
4049
  if (!Array.isArray(this.ast))
4072
4050
  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);
4051
+ this.formats = wi(t.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
4074
4052
  }
4075
- return Object.defineProperty(e, "defaultLocale", {
4053
+ return Object.defineProperty(t, "defaultLocale", {
4076
4054
  get: function() {
4077
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
4055
+ return t.memoizedDefaultLocale || (t.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), t.memoizedDefaultLocale;
4078
4056
  },
4079
4057
  enumerable: !1,
4080
4058
  configurable: !0
4081
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4059
+ }), t.memoizedDefaultLocale = null, t.resolveLocale = function(e) {
4082
4060
  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]);
4061
+ var r = Intl.NumberFormat.supportedLocalesOf(e);
4062
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
4085
4063
  }
4086
- }, e.__parse = _i, e.formats = {
4064
+ }, t.__parse = gi, t.formats = {
4087
4065
  number: {
4088
4066
  integer: {
4089
4067
  maximumFractionDigits: 0
@@ -4141,16 +4119,16 @@ var Bi = (
4141
4119
  timeZoneName: "short"
4142
4120
  }
4143
4121
  }
4144
- }, e;
4122
+ }, t;
4145
4123
  }()
4146
4124
  );
4147
- function Ai(e, t) {
4148
- if (t == null)
4125
+ function Hi(t, e) {
4126
+ if (e == null)
4149
4127
  return;
4150
- if (t in e)
4151
- return e[t];
4152
- const r = t.split(".");
4153
- let n = e;
4128
+ if (e in t)
4129
+ return t[e];
4130
+ const r = e.split(".");
4131
+ let n = t;
4154
4132
  for (let i = 0; i < r.length; i++)
4155
4133
  if (typeof n == "object") {
4156
4134
  if (i > 0) {
@@ -4165,92 +4143,92 @@ function Ai(e, t) {
4165
4143
  n = void 0;
4166
4144
  return n;
4167
4145
  }
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)
4146
+ const G = {}, Ci = (t, e, r) => r && (e in G || (G[e] = {}), t in G[e] || (G[e][t] = r), r), cr = (t, e) => {
4147
+ if (e == null)
4170
4148
  return;
4171
- if (t in G && e in G[t])
4172
- return G[t][e];
4173
- const r = He(t);
4149
+ if (e in G && t in G[e])
4150
+ return G[e][t];
4151
+ const r = Ht(e);
4174
4152
  for (let n = 0; n < r.length; n++) {
4175
- const i = r[n], o = Oi(i, e);
4153
+ const i = r[n], o = Ai(i, t);
4176
4154
  if (o)
4177
- return Pi(e, t, o);
4155
+ return Ci(t, e, o);
4178
4156
  }
4179
4157
  };
4180
- let st;
4181
- const le = Se({});
4182
- function Li(e) {
4183
- return st[e] || null;
4158
+ let ne;
4159
+ const lt = St({});
4160
+ function Bi(t) {
4161
+ return ne[t] || null;
4184
4162
  }
4185
- function br(e) {
4186
- return e in st;
4163
+ function fr(t) {
4164
+ return t in ne;
4187
4165
  }
4188
- function Oi(e, t) {
4189
- if (!br(e))
4166
+ function Ai(t, e) {
4167
+ if (!fr(t))
4190
4168
  return null;
4191
- const r = Li(e);
4192
- return Ai(r, t);
4169
+ const r = Bi(t);
4170
+ return Hi(r, e);
4193
4171
  }
4194
- function Ii(e) {
4195
- if (e == null)
4172
+ function Pi(t) {
4173
+ if (t == null)
4196
4174
  return;
4197
- const t = He(e);
4198
- for (let r = 0; r < t.length; r++) {
4199
- const n = t[r];
4200
- if (br(n))
4175
+ const e = Ht(t);
4176
+ for (let r = 0; r < e.length; r++) {
4177
+ const n = e[r];
4178
+ if (fr(n))
4201
4179
  return n;
4202
4180
  }
4203
4181
  }
4204
- function gr(e, ...t) {
4205
- delete G[e], le.update((r) => (r[e] = Gn.all([r[e] || {}, ...t]), r));
4182
+ function mr(t, ...e) {
4183
+ delete G[t], lt.update((r) => (r[t] = Mn.all([r[t] || {}, ...e]), r));
4206
4184
  }
4207
4185
  Y(
4208
- [le],
4209
- ([e]) => Object.keys(e)
4186
+ [lt],
4187
+ ([t]) => Object.keys(t)
4210
4188
  );
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) => {
4189
+ lt.subscribe((t) => ne = t);
4190
+ const bt = {};
4191
+ function Li(t, e) {
4192
+ bt[t].delete(e), bt[t].size === 0 && delete bt[t];
4193
+ }
4194
+ function pr(t) {
4195
+ return bt[t];
4196
+ }
4197
+ function Oi(t) {
4198
+ return Ht(t).map((e) => {
4199
+ const r = pr(e);
4200
+ return [e, r ? [...r] : []];
4201
+ }).filter(([, e]) => e.length > 0);
4202
+ }
4203
+ function Yt(t) {
4204
+ return t == null ? !1 : Ht(t).some(
4205
+ (e) => {
4228
4206
  var r;
4229
- return (r = yr(t)) == null ? void 0 : r.size;
4207
+ return (r = pr(e)) == null ? void 0 : r.size;
4230
4208
  }
4231
4209
  );
4232
4210
  }
4233
- function $i(e, t) {
4211
+ function Ii(t, e) {
4234
4212
  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)
4213
+ e.map((n) => (Li(t, n), n().then((i) => i.default || i)))
4214
+ ).then((n) => mr(t, ...n));
4215
+ }
4216
+ const rt = {};
4217
+ function dr(t) {
4218
+ if (!Yt(t))
4219
+ return t in rt ? rt[t] : Promise.resolve();
4220
+ const e = Oi(t);
4221
+ return rt[t] = Promise.all(
4222
+ e.map(
4223
+ ([r, n]) => Ii(r, n)
4246
4224
  )
4247
4225
  ).then(() => {
4248
- if (Ke(e))
4249
- return vr(e);
4250
- delete re[e];
4251
- }), re[e];
4226
+ if (Yt(t))
4227
+ return dr(t);
4228
+ delete rt[t];
4229
+ }), rt[t];
4252
4230
  }
4253
- const Ri = {
4231
+ const Mi = {
4254
4232
  number: {
4255
4233
  scientific: { notation: "scientific" },
4256
4234
  engineering: { notation: "engineering" },
@@ -4279,138 +4257,138 @@ const Ri = {
4279
4257
  timeZoneName: "short"
4280
4258
  }
4281
4259
  }
4282
- }, Gi = {
4260
+ }, Ni = {
4283
4261
  fallbackLocale: null,
4284
4262
  loadingDelay: 200,
4285
- formats: Ri,
4263
+ formats: Mi,
4286
4264
  warnOnMissingMessages: !0,
4287
4265
  handleMissingMessage: void 0,
4288
4266
  ignoreTag: !0
4289
- }, Ui = Gi;
4267
+ }, $i = Ni;
4290
4268
  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();
4269
+ return $i;
4270
+ }
4271
+ const Gt = St(!1);
4272
+ var Ri = Object.defineProperty, Gi = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, He = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Ce = (t, e, r) => e in t ? Ri(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ji = (t, e) => {
4273
+ for (var r in e || (e = {}))
4274
+ Di.call(e, r) && Ce(t, r, e[r]);
4275
+ if (He)
4276
+ for (var r of He(e))
4277
+ Fi.call(e, r) && Ce(t, r, e[r]);
4278
+ return t;
4279
+ }, ki = (t, e) => Gi(t, Ui(e));
4280
+ let Kt;
4281
+ const _t = St(null);
4282
+ function Be(t) {
4283
+ return t.split("-").map((e, r, n) => n.slice(0, r + 1).join("-")).reverse();
4306
4284
  }
4307
- function He(e, t = q().fallbackLocale) {
4308
- const r = Lt(e);
4309
- return t ? [.../* @__PURE__ */ new Set([...r, ...Lt(t)])] : r;
4285
+ function Ht(t, e = q().fallbackLocale) {
4286
+ const r = Be(t);
4287
+ return e ? [.../* @__PURE__ */ new Set([...r, ...Be(e)])] : r;
4310
4288
  }
4311
4289
  function D() {
4312
- return et ?? void 0;
4290
+ return Kt ?? void 0;
4313
4291
  }
4314
- _e.subscribe((e) => {
4315
- et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4292
+ _t.subscribe((t) => {
4293
+ Kt = t ?? void 0, typeof window < "u" && t != null && document.documentElement.setAttribute("lang", t);
4316
4294
  });
4317
- const Wi = (e) => {
4318
- if (e && Ii(e) && Ke(e)) {
4319
- const { loadingDelay: t } = q();
4295
+ const Vi = (t) => {
4296
+ if (t && Pi(t) && Yt(t)) {
4297
+ const { loadingDelay: e } = q();
4320
4298
  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);
4299
+ return typeof window < "u" && D() != null && e ? r = window.setTimeout(
4300
+ () => Gt.set(!0),
4301
+ e
4302
+ ) : Gt.set(!0), dr(t).then(() => {
4303
+ _t.set(t);
4326
4304
  }).finally(() => {
4327
- clearTimeout(r), Ue.set(!1);
4305
+ clearTimeout(r), Gt.set(!1);
4328
4306
  });
4329
4307
  }
4330
- return _e.set(e);
4331
- }, K = zi(Xi({}, _e), {
4332
- set: Wi
4333
- }), Ce = (e) => {
4334
- const t = /* @__PURE__ */ Object.create(null);
4308
+ return _t.set(t);
4309
+ }, K = ki(ji({}, _t), {
4310
+ set: Vi
4311
+ }), Ct = (t) => {
4312
+ const e = /* @__PURE__ */ Object.create(null);
4335
4313
  return (n) => {
4336
4314
  const i = JSON.stringify(n);
4337
- return i in t ? t[i] : t[i] = e(n);
4315
+ return i in e ? e[i] : e[i] = t(n);
4338
4316
  };
4339
4317
  };
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) => {
4318
+ var Xi = Object.defineProperty, xt = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ae = (t, e, r) => e in t ? Xi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, ie = (t, e) => {
4319
+ for (var r in e || (e = {}))
4320
+ br.call(e, r) && Ae(t, r, e[r]);
4321
+ if (xt)
4322
+ for (var r of xt(e))
4323
+ gr.call(e, r) && Ae(t, r, e[r]);
4324
+ return t;
4325
+ }, tt = (t, e) => {
4348
4326
  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]);
4327
+ for (var n in t)
4328
+ br.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
4329
+ if (t != null && xt)
4330
+ for (var n of xt(t))
4331
+ e.indexOf(n) < 0 && gr.call(t, n) && (r[n] = t[n]);
4354
4332
  return r;
4355
4333
  };
4356
- const ae = (e, t) => {
4334
+ const at = (t, e) => {
4357
4335
  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"]);
4336
+ if (t in r && e in r[t])
4337
+ return r[t][e];
4338
+ throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`);
4339
+ }, zi = Ct(
4340
+ (t) => {
4341
+ var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
4364
4342
  if (r == null)
4365
4343
  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);
4344
+ return n && (i = at("number", n)), new Intl.NumberFormat(r, i);
4367
4345
  }
4368
- ), Ji = Ce(
4369
- (e) => {
4370
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4346
+ ), Wi = Ct(
4347
+ (t) => {
4348
+ var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
4371
4349
  if (r == null)
4372
4350
  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);
4351
+ return n ? i = at("date", n) : Object.keys(i).length === 0 && (i = at("date", "short")), new Intl.DateTimeFormat(r, i);
4374
4352
  }
4375
- ), qi = Ce(
4376
- (e) => {
4377
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4353
+ ), Zi = Ct(
4354
+ (t) => {
4355
+ var e = t, { locale: r, format: n } = e, i = tt(e, ["locale", "format"]);
4378
4356
  if (r == null)
4379
4357
  throw new Error(
4380
4358
  '[svelte-i18n] A "locale" must be set to format time values'
4381
4359
  );
4382
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4360
+ return n ? i = at("time", n) : Object.keys(i).length === 0 && (i = at("time", "short")), new Intl.DateTimeFormat(r, i);
4383
4361
  }
4384
- ), Yi = (e = {}) => {
4385
- var t = e, {
4362
+ ), Qi = (t = {}) => {
4363
+ var e = t, {
4386
4364
  locale: r = D()
4387
- } = t, n = ee(t, [
4365
+ } = e, n = tt(e, [
4388
4366
  "locale"
4389
4367
  ]);
4390
- return Qi(at({ locale: r }, n));
4391
- }, Ki = (e = {}) => {
4392
- var t = e, {
4368
+ return zi(ie({ locale: r }, n));
4369
+ }, Ji = (t = {}) => {
4370
+ var e = t, {
4393
4371
  locale: r = D()
4394
- } = t, n = ee(t, [
4372
+ } = e, n = tt(e, [
4395
4373
  "locale"
4396
4374
  ]);
4397
- return Ji(at({ locale: r }, n));
4398
- }, eo = (e = {}) => {
4399
- var t = e, {
4375
+ return Wi(ie({ locale: r }, n));
4376
+ }, qi = (t = {}) => {
4377
+ var e = t, {
4400
4378
  locale: r = D()
4401
- } = t, n = ee(t, [
4379
+ } = e, n = tt(e, [
4402
4380
  "locale"
4403
4381
  ]);
4404
- return qi(at({ locale: r }, n));
4405
- }, to = Ce(
4382
+ return Zi(ie({ locale: r }, n));
4383
+ }, Yi = Ct(
4406
4384
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4407
- (e, t = D()) => new Bi(e, t, q().formats, {
4385
+ (t, e = D()) => new Ti(t, e, q().formats, {
4408
4386
  ignoreTag: q().ignoreTag
4409
4387
  })
4410
- ), ro = (e, t = {}) => {
4388
+ ), Ki = (t, e = {}) => {
4411
4389
  var r, n, i, o;
4412
- let a = t;
4413
- typeof e == "object" && (a = e, e = a.id);
4390
+ let a = e;
4391
+ typeof t == "object" && (a = t, t = a.id);
4414
4392
  const {
4415
4393
  values: s,
4416
4394
  locale: l = D(),
@@ -4420,62 +4398,62 @@ const ae = (e, t) => {
4420
4398
  throw new Error(
4421
4399
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4422
4400
  );
4423
- let h = dr(e, l);
4401
+ let h = cr(t, l);
4424
4402
  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;
4403
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: t, defaultValue: u })) != null ? i : u) != null ? o : t;
4426
4404
  else if (typeof h != "string")
4427
4405
  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.`
4406
+ `[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
4407
  ), h;
4430
4408
  if (!s)
4431
4409
  return h;
4432
4410
  let c = h;
4433
4411
  try {
4434
- c = to(h, l).format(s);
4412
+ c = Yi(h, l).format(s);
4435
4413
  } catch (f) {
4436
4414
  f instanceof Error && console.warn(
4437
- `[svelte-i18n] Message "${e}" has syntax error:`,
4415
+ `[svelte-i18n] Message "${t}" has syntax error:`,
4438
4416
  f.message
4439
4417
  );
4440
4418
  }
4441
4419
  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);
4447
- 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) {
4420
+ }, to = (t, e) => qi(e).format(t), eo = (t, e) => Ji(e).format(t), ro = (t, e) => Qi(e).format(t), no = (t, e = D()) => cr(t, e), io = Y([K, lt], () => Ki);
4421
+ Y([K], () => to);
4422
+ Y([K], () => eo);
4423
+ Y([K], () => ro);
4424
+ Y([K, lt], () => no);
4425
+ window.emWidgets = { topic: gn };
4426
+ const oo = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4427
+ function so(t, e) {
4428
+ if (t) {
4451
4429
  const r = document.createElement("style");
4452
- r.innerHTML = t, e.appendChild(r);
4430
+ r.innerHTML = e, t.appendChild(r);
4453
4431
  }
4454
4432
  }
4455
- function ho(e, t) {
4456
- const r = new URL(t);
4433
+ function ao(t, e) {
4434
+ const r = new URL(e);
4457
4435
  fetch(r.href).then((n) => n.text()).then((n) => {
4458
4436
  const i = document.createElement("style");
4459
- i.innerHTML = n, e && e.appendChild(i);
4437
+ i.innerHTML = n, t && t.appendChild(i);
4460
4438
  }).catch((n) => {
4461
4439
  console.error("There was an error while trying to load client styling from URL", n);
4462
4440
  });
4463
4441
  }
4464
- function co(e, t, r) {
4442
+ function uo(t, e, r) {
4465
4443
  if (window.emMessageBus) {
4466
4444
  const n = document.createElement("style");
4467
- window.emMessageBus.subscribe(t, (i) => {
4468
- n.innerHTML = i, e && e.appendChild(n);
4445
+ window.emMessageBus.subscribe(e, (i) => {
4446
+ n.innerHTML = i, t && t.appendChild(n);
4469
4447
  });
4470
4448
  }
4471
4449
  }
4472
- function It(e, t) {
4473
- gr(e, t);
4450
+ function Pe(t, e) {
4451
+ mr(t, e);
4474
4452
  }
4475
- function fo(e) {
4476
- K.set(e);
4453
+ function lo(t) {
4454
+ K.set(t);
4477
4455
  }
4478
- const Mt = {
4456
+ const Le = {
4479
4457
  en: {
4480
4458
  cancel: "Cancel",
4481
4459
  confirm: "Confirm"
@@ -4521,133 +4499,133 @@ const Mt = {
4521
4499
  confirm: "Confirm"
4522
4500
  }
4523
4501
  };
4524
- function mo(e) {
4525
- Nr(e, "svelte-1pkvhrt", '*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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}');
4502
+ function ho(t) {
4503
+ Lr(t, "svelte-1pkvhrt", '*,*::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, 20px)}.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, 20px)}.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, 50px);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, 50px);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
4504
  }
4527
- const po = (e) => ({}), Nt = (e) => ({});
4528
- function bo(e) {
4529
- let t, r;
4505
+ const co = (t) => ({}), Oe = (t) => ({});
4506
+ function fo(t) {
4507
+ let e, r;
4530
4508
  return {
4531
4509
  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");
4510
+ e = ae("svg"), r = ae("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
4511
  },
4534
4512
  m(n, i) {
4535
- nt(n, t, i), P(t, r);
4513
+ re(n, e, i), P(e, r);
4536
4514
  },
4537
4515
  p: O,
4538
4516
  d(n) {
4539
- n && ue(t);
4517
+ n && ut(e);
4540
4518
  }
4541
4519
  };
4542
4520
  }
4543
- function go(e) {
4544
- let t, r, n, i, o, a, s, l, u, h = (
4521
+ function mo(t) {
4522
+ let e, r, n, i, o, a, s, l, u, h = (
4545
4523
  /*$_*/
4546
- e[2]("cancel") + ""
4524
+ t[2]("cancel") + ""
4547
4525
  ), c, f, p, m = (
4548
4526
  /*$_*/
4549
- e[2]("confirm") + ""
4527
+ t[2]("confirm") + ""
4550
4528
  ), d, v, T, C;
4551
4529
  const S = (
4552
4530
  /*#slots*/
4553
- e[14].close
4554
- ), B = Ar(
4531
+ t[14].close
4532
+ ), B = Tr(
4555
4533
  S,
4556
- e,
4534
+ t,
4557
4535
  /*$$scope*/
4558
- e[13],
4559
- Nt
4560
- ), w = B || bo();
4536
+ t[13],
4537
+ Oe
4538
+ ), w = B || fo();
4561
4539
  return {
4562
4540
  c() {
4563
- t = I("div"), r = I("div"), n = I("span"), w && w.c(), i = Be(), o = I("div"), a = ne(
4541
+ e = I("div"), r = I("div"), n = I("span"), w && w.c(), i = Bt(), o = I("div"), a = nt(
4564
4542
  /*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" : ""));
4543
+ t[0]
4544
+ ), s = Bt(), l = I("div"), u = I("button"), c = nt(h), f = Bt(), p = I("button"), d = nt(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*/
4545
+ (t[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4546
+ (t[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(e, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4547
+ (t[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4570
4548
  },
4571
4549
  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(
4550
+ re(x, e, L), P(e, 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), t[15](e), v = !0, T || (C = [
4551
+ At(
4574
4552
  n,
4575
4553
  "click",
4576
4554
  /*close*/
4577
- e[4]
4555
+ t[4]
4578
4556
  ),
4579
- Ae(
4557
+ At(
4580
4558
  u,
4581
4559
  "click",
4582
4560
  /*cancelChanges*/
4583
- e[6]
4561
+ t[6]
4584
4562
  ),
4585
- Ae(
4563
+ At(
4586
4564
  p,
4587
4565
  "click",
4588
4566
  /*confirmChanges*/
4589
- e[5]
4567
+ t[5]
4590
4568
  )
4591
4569
  ], T = !0);
4592
4570
  },
4593
4571
  p(x, [L]) {
4594
4572
  B && B.p && (!v || L & /*$$scope*/
4595
- 8192) && Lr(
4573
+ 8192) && Cr(
4596
4574
  B,
4597
4575
  S,
4598
4576
  x,
4599
4577
  /*$$scope*/
4600
4578
  x[13],
4601
- v ? Pr(
4579
+ v ? Hr(
4602
4580
  S,
4603
4581
  /*$$scope*/
4604
4582
  x[13],
4605
4583
  L,
4606
- po
4607
- ) : Or(
4584
+ co
4585
+ ) : Br(
4608
4586
  /*$$scope*/
4609
4587
  x[13]
4610
4588
  ),
4611
- Nt
4589
+ Oe
4612
4590
  ), (!v || L & /*modaltext*/
4613
- 1) && Pe(
4591
+ 1) && Pt(
4614
4592
  a,
4615
4593
  /*modaltext*/
4616
4594
  x[0]
4617
4595
  ), (!v || L & /*$_*/
4618
4596
  4) && h !== (h = /*$_*/
4619
- x[2]("cancel") + "") && Pe(c, h), (!v || L & /*$_*/
4597
+ x[2]("cancel") + "") && Pt(c, h), (!v || L & /*$_*/
4620
4598
  4) && m !== (m = /*$_*/
4621
- x[2]("confirm") + "") && Pe(d, m);
4599
+ x[2]("confirm") + "") && Pt(d, m);
4622
4600
  },
4623
4601
  i(x) {
4624
- v || (kt(w, x), v = !0);
4602
+ v || (De(w, x), v = !0);
4625
4603
  },
4626
4604
  o(x) {
4627
- qr(w, x), v = !1;
4605
+ Wr(w, x), v = !1;
4628
4606
  },
4629
4607
  d(x) {
4630
- x && ue(t), w && w.d(x), e[15](null), T = !1, U(C);
4608
+ x && ut(e), w && w.d(x), t[15](null), T = !1, U(C);
4631
4609
  }
4632
4610
  };
4633
4611
  }
4634
- function yo(e, t, r) {
4612
+ function po(t, e, r) {
4635
4613
  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;
4614
+ Sr(t, io, (g) => r(2, n = g));
4615
+ 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
4616
  const p = () => {
4639
4617
  fetch(f).then((F) => F.json()).then((F) => {
4640
- Object.keys(F).forEach((ut) => {
4641
- It(ut, F[ut]);
4618
+ Object.keys(F).forEach((oe) => {
4619
+ Pe(oe, F[oe]);
4642
4620
  });
4643
4621
  }).catch((F) => {
4644
4622
  console.log(F);
4645
4623
  });
4646
4624
  };
4647
- Object.keys(Mt).forEach((g) => {
4648
- It(g, Mt[g]);
4625
+ Object.keys(Le).forEach((g) => {
4626
+ Pe(g, Le[g]);
4649
4627
  });
4650
- let m, d = window.navigator.userAgent, v = uo(d) !== "PC", T = {}, C = "";
4628
+ let m, d = window.navigator.userAgent, v = oo(d) !== "PC", T = {}, C = "";
4651
4629
  const S = () => {
4652
4630
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4653
4631
  }, B = () => {
@@ -4668,25 +4646,25 @@ function yo(e, t, r) {
4668
4646
  T = g.data.removeData, C = x(g.data.removeName);
4669
4647
  break;
4670
4648
  }
4671
- }, wr = () => {
4672
- fo(l);
4649
+ }, vr = () => {
4650
+ lo(l);
4673
4651
  };
4674
- Xr(() => (window.addEventListener("message", L, !1), () => {
4652
+ Fr(() => (window.addEventListener("message", L, !1), () => {
4675
4653
  window.removeEventListener("message", L);
4676
4654
  }));
4677
- function Sr(g) {
4678
- De[g ? "unshift" : "push"](() => {
4655
+ function _r(g) {
4656
+ Ut[g ? "unshift" : "push"](() => {
4679
4657
  m = g, r(1, m);
4680
4658
  });
4681
4659
  }
4682
- return e.$$set = (g) => {
4660
+ return t.$$set = (g) => {
4683
4661
  "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*/
4662
+ }, t.$$.update = () => {
4663
+ t.$$.dirty & /*modaltext, modalsource, lang*/
4664
+ 385 && a && s && l && vr(), t.$$.dirty & /*clientstyling, customStylingContainer*/
4665
+ 514 && u && m && so(m, u), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
4666
+ 1026 && h && m && ao(m, h), t.$$.dirty & /*mbsource, customStylingContainer*/
4667
+ 2050 && c && m && uo(m, `${c}.Style`), t.$$.dirty & /*translationurl*/
4690
4668
  4096 && f && p();
4691
4669
  }, [
4692
4670
  a,
@@ -4704,17 +4682,17 @@ function yo(e, t, r) {
4704
4682
  f,
4705
4683
  o,
4706
4684
  i,
4707
- Sr
4685
+ _r
4708
4686
  ];
4709
4687
  }
4710
- class Er extends on {
4711
- constructor(t) {
4712
- super(), rn(
4688
+ class yr extends tn {
4689
+ constructor(e) {
4690
+ super(), Yr(
4713
4691
  this,
4714
- t,
4715
- yo,
4716
- go,
4717
- Rt,
4692
+ e,
4693
+ po,
4694
+ mo,
4695
+ Me,
4718
4696
  {
4719
4697
  modaltext: 0,
4720
4698
  modalsource: 7,
@@ -4724,106 +4702,106 @@ class Er extends on {
4724
4702
  mbsource: 11,
4725
4703
  translationurl: 12
4726
4704
  },
4727
- mo
4705
+ ho
4728
4706
  );
4729
4707
  }
4730
4708
  get modaltext() {
4731
4709
  return this.$$.ctx[0];
4732
4710
  }
4733
- set modaltext(t) {
4734
- this.$$set({ modaltext: t }), M();
4711
+ set modaltext(e) {
4712
+ this.$$set({ modaltext: e }), M();
4735
4713
  }
4736
4714
  get modalsource() {
4737
4715
  return this.$$.ctx[7];
4738
4716
  }
4739
- set modalsource(t) {
4740
- this.$$set({ modalsource: t }), M();
4717
+ set modalsource(e) {
4718
+ this.$$set({ modalsource: e }), M();
4741
4719
  }
4742
4720
  get lang() {
4743
4721
  return this.$$.ctx[8];
4744
4722
  }
4745
- set lang(t) {
4746
- this.$$set({ lang: t }), M();
4723
+ set lang(e) {
4724
+ this.$$set({ lang: e }), M();
4747
4725
  }
4748
4726
  get clientstyling() {
4749
4727
  return this.$$.ctx[9];
4750
4728
  }
4751
- set clientstyling(t) {
4752
- this.$$set({ clientstyling: t }), M();
4729
+ set clientstyling(e) {
4730
+ this.$$set({ clientstyling: e }), M();
4753
4731
  }
4754
4732
  get clientstylingurl() {
4755
4733
  return this.$$.ctx[10];
4756
4734
  }
4757
- set clientstylingurl(t) {
4758
- this.$$set({ clientstylingurl: t }), M();
4735
+ set clientstylingurl(e) {
4736
+ this.$$set({ clientstylingurl: e }), M();
4759
4737
  }
4760
4738
  get mbsource() {
4761
4739
  return this.$$.ctx[11];
4762
4740
  }
4763
- set mbsource(t) {
4764
- this.$$set({ mbsource: t }), M();
4741
+ set mbsource(e) {
4742
+ this.$$set({ mbsource: e }), M();
4765
4743
  }
4766
4744
  get translationurl() {
4767
4745
  return this.$$.ctx[12];
4768
4746
  }
4769
- set translationurl(t) {
4770
- this.$$set({ translationurl: t }), M();
4747
+ set translationurl(e) {
4748
+ this.$$set({ translationurl: e }), M();
4771
4749
  }
4772
4750
  }
4773
- nn(Er, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4774
- const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4751
+ Kr(yr, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
4752
+ const Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4775
4753
  __proto__: null,
4776
- default: Er
4754
+ default: yr
4777
4755
  }, Symbol.toStringTag, { value: "Module" }));
4778
4756
  export {
4779
4757
  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,
4758
+ _o as A,
4759
+ Ut as B,
4760
+ go as C,
4761
+ Eo as D,
4762
+ Et as E,
4763
+ xo as F,
4764
+ vt as G,
4765
+ io as H,
4766
+ so as I,
4767
+ ao as J,
4768
+ uo as K,
4769
+ xr as L,
4770
+ Wr as M,
4771
+ De as N,
4772
+ To as O,
4773
+ Tr as P,
4774
+ Ho as Q,
4775
+ Cr as R,
4776
+ tn as S,
4777
+ Br as T,
4778
+ Hr as U,
4779
+ So as V,
4780
+ Bo as W,
4781
+ mr as a,
4782
+ Lr as b,
4783
+ Kr as c,
4784
+ ut as d,
4785
+ Pt as e,
4808
4786
  M as f,
4809
- ht as g,
4787
+ vo as g,
4810
4788
  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,
4789
+ Yr as i,
4790
+ re as j,
4791
+ P as k,
4792
+ At as l,
4793
+ I as m,
4794
+ O as n,
4795
+ Bt as o,
4796
+ yo as p,
4797
+ ae as q,
4820
4798
  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
4799
+ Me as s,
4800
+ nt as t,
4801
+ Sr as u,
4802
+ oo as v,
4803
+ Fr as w,
4804
+ Co as x,
4805
+ bo as y,
4806
+ wo as z
4829
4807
  };