@everymatrix/player-account-timeout 1.86.30 → 1.87.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.
@@ -1,17 +1,17 @@
1
- var wr = Object.defineProperty, Tr = Object.defineProperties;
2
- var Hr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Ar = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var $r = Object.defineProperty, Rr = Object.defineProperties;
2
+ var Gr = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Ur = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ar.call(t, r) && He(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Br.call(t, r) && He(e, r, t[r]);
7
+ Ur.call(t, r) && Me(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Dr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Tr(e, Hr(t));
13
- var I = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, dt = (e, t) => Rr(e, Gr(t));
13
+ var I = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,9 +27,10 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function L() {
30
+ function N() {
31
31
  }
32
- function Cr(e, t) {
32
+ const Fr = (e) => e;
33
+ function jr(e, t) {
33
34
  for (const r in t)
34
35
  e[r] = t[r];
35
36
  return (
@@ -37,46 +38,46 @@ function Cr(e, t) {
37
38
  e
38
39
  );
39
40
  }
40
- function $t(e) {
41
+ function zt(e) {
41
42
  return e();
42
43
  }
43
- function lt() {
44
+ function gt() {
44
45
  return /* @__PURE__ */ Object.create(null);
45
46
  }
46
- function Z(e) {
47
- e.forEach($t);
47
+ function U(e) {
48
+ e.forEach(zt);
48
49
  }
49
- function et(e) {
50
+ function He(e) {
50
51
  return typeof e == "function";
51
52
  }
52
- function Gt(e, t) {
53
+ function Wt(e, t) {
53
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
55
  }
55
- function Pr(e) {
56
+ function kr(e) {
56
57
  return Object.keys(e).length === 0;
57
58
  }
58
- function Ut(e, ...t) {
59
+ function Zt(e, ...t) {
59
60
  if (e == null) {
60
61
  for (const n of t)
61
62
  n(void 0);
62
- return L;
63
+ return N;
63
64
  }
64
65
  const r = e.subscribe(...t);
65
66
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
67
  }
67
- function Or(e, t, r) {
68
- e.$$.on_destroy.push(Ut(t, r));
68
+ function Vr(e, t, r) {
69
+ e.$$.on_destroy.push(Zt(t, r));
69
70
  }
70
- function Ir(e, t, r, n) {
71
+ function Xr(e, t, r, n) {
71
72
  if (e) {
72
- const i = Dt(e, t, r, n);
73
+ const i = Qt(e, t, r, n);
73
74
  return e[0](i);
74
75
  }
75
76
  }
76
- function Dt(e, t, r, n) {
77
- return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
77
+ function Qt(e, t, r, n) {
78
+ return e[1] && n ? jr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
79
  }
79
- function Nr(e, t, r, n) {
80
+ function zr(e, t, r, n) {
80
81
  if (e[2] && n) {
81
82
  const i = e[2](n(r));
82
83
  if (t.dirty === void 0)
@@ -91,13 +92,13 @@ function Nr(e, t, r, n) {
91
92
  }
92
93
  return t.dirty;
93
94
  }
94
- function Mr(e, t, r, n, i, o) {
95
+ function Wr(e, t, r, n, i, o) {
95
96
  if (i) {
96
- const s = Dt(t, r, n, o);
97
+ const s = Qt(t, r, n, o);
97
98
  e.p(s, i);
98
99
  }
99
100
  }
100
- function Lr(e) {
101
+ function Zr(e) {
101
102
  if (e.ctx.length > 32) {
102
103
  const t = [], r = e.ctx.length / 32;
103
104
  for (let n = 0; n < r; n++)
@@ -106,17 +107,36 @@ function Lr(e) {
106
107
  }
107
108
  return -1;
108
109
  }
110
+ const Jt = typeof window != "undefined";
111
+ let Qr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
112
+ const z = /* @__PURE__ */ new Set();
113
+ function qt(e) {
114
+ z.forEach((t) => {
115
+ t.c(e) || (z.delete(t), t.f());
116
+ }), z.size !== 0 && at(qt);
117
+ }
118
+ function Jr(e) {
119
+ let t;
120
+ return z.size === 0 && at(qt), {
121
+ promise: new Promise((r) => {
122
+ z.add(t = { c: e, f: r });
123
+ }),
124
+ abort() {
125
+ z.delete(t);
126
+ }
127
+ };
128
+ }
109
129
  function C(e, t) {
110
130
  e.appendChild(t);
111
131
  }
112
- function Rr(e, t, r) {
113
- const n = $r(e);
132
+ function qr(e, t, r) {
133
+ const n = ut(e);
114
134
  if (!n.getElementById(t)) {
115
- const i = N("style");
116
- i.id = t, i.textContent = r, Gr(n, i);
135
+ const i = M("style");
136
+ i.id = t, i.textContent = r, Yt(n, i);
117
137
  }
118
138
  }
119
- function $r(e) {
139
+ function ut(e) {
120
140
  if (!e)
121
141
  return document;
122
142
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,59 +146,66 @@ function $r(e) {
126
146
  t
127
147
  ) : e.ownerDocument;
128
148
  }
129
- function Gr(e, t) {
149
+ function Yr(e) {
150
+ const t = M("style");
151
+ return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
152
+ }
153
+ function Yt(e, t) {
130
154
  return C(
131
155
  /** @type {Document} */
132
156
  e.head || e,
133
157
  t
134
158
  ), t.sheet;
135
159
  }
136
- function ie(e, t, r) {
160
+ function ae(e, t, r) {
137
161
  e.insertBefore(t, r || null);
138
162
  }
139
- function Q(e) {
163
+ function D(e) {
140
164
  e.parentNode && e.parentNode.removeChild(e);
141
165
  }
142
- function bo(e, t) {
166
+ function $o(e, t) {
143
167
  for (let r = 0; r < e.length; r += 1)
144
168
  e[r] && e[r].d(t);
145
169
  }
146
- function N(e) {
170
+ function M(e) {
147
171
  return document.createElement(e);
148
172
  }
149
- function ht(e) {
173
+ function yt(e) {
150
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
175
  }
152
- function ye(e) {
176
+ function ue(e) {
153
177
  return document.createTextNode(e);
154
178
  }
155
- function ue() {
156
- return ye(" ");
179
+ function fe() {
180
+ return ue(" ");
181
+ }
182
+ function Ro() {
183
+ return ue("");
157
184
  }
158
- function Le(e, t, r, n) {
185
+ function ke(e, t, r, n) {
159
186
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
160
187
  }
161
- function T(e, t, r) {
188
+ function A(e, t, r) {
162
189
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
163
190
  }
164
- function go(e, t, r) {
191
+ function Go(e, t, r) {
165
192
  const n = t.toLowerCase();
166
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
193
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
167
194
  }
168
- function Ur(e) {
195
+ function Kr(e) {
169
196
  return Array.from(e.childNodes);
170
197
  }
171
- function tt(e, t) {
198
+ function lt(e, t) {
172
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
200
  t);
174
201
  }
175
- function vo(e, t) {
202
+ function Uo(e, t) {
176
203
  e.value = t == null ? "" : t;
177
204
  }
178
- function yo(e, t, r, n) {
205
+ function Do(e, t, r, n) {
179
206
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
180
207
  }
181
- function _o(e, t, r) {
208
+ function Fo(e, t, r) {
182
209
  for (let n = 0; n < e.options.length; n += 1) {
183
210
  const i = e.options[n];
184
211
  if (i.__value === t) {
@@ -188,11 +215,14 @@ function _o(e, t, r) {
188
215
  }
189
216
  (!r || t !== void 0) && (e.selectedIndex = -1);
190
217
  }
191
- function xo(e) {
218
+ function jo(e) {
192
219
  const t = e.querySelector(":checked");
193
220
  return t && t.__value;
194
221
  }
195
- function Dr(e) {
222
+ function en(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
223
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
224
+ }
225
+ function tn(e) {
196
226
  const t = {};
197
227
  return e.childNodes.forEach(
198
228
  /** @param {Element} node */
@@ -201,111 +231,238 @@ function Dr(e) {
201
231
  }
202
232
  ), t;
203
233
  }
204
- let te;
205
- function ee(e) {
206
- te = e;
234
+ const _e = /* @__PURE__ */ new Map();
235
+ let xe = 0;
236
+ function rn(e) {
237
+ let t = 5381, r = e.length;
238
+ for (; r--; )
239
+ t = (t << 5) - t ^ e.charCodeAt(r);
240
+ return t >>> 0;
241
+ }
242
+ function nn(e, t) {
243
+ const r = { stylesheet: Yr(t), rules: {} };
244
+ return _e.set(e, r), r;
245
+ }
246
+ function vt(e, t, r, n, i, o, s, a = 0) {
247
+ const l = 16.666 / n;
248
+ let u = `{
249
+ `;
250
+ for (let x = 0; x <= 1; x += l) {
251
+ const E = t + (r - t) * o(x);
252
+ u += x * 100 + `%{${s(E, 1 - E)}}
253
+ `;
254
+ }
255
+ const h = u + `100% {${s(r, 1 - r)}}
256
+ }`, c = `__svelte_${rn(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || nn(f, e);
257
+ m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
258
+ const d = e.style.animation || "";
259
+ return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
260
+ }
261
+ function on(e, t) {
262
+ const r = (e.style.animation || "").split(", "), n = r.filter(
263
+ t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
264
+ // remove all Svelte animations
265
+ ), i = r.length - n.length;
266
+ i && (e.style.animation = n.join(", "), xe -= i, xe || sn());
267
+ }
268
+ function sn() {
269
+ at(() => {
270
+ xe || (_e.forEach((e) => {
271
+ const { ownerNode: t } = e.stylesheet;
272
+ t && D(t);
273
+ }), _e.clear());
274
+ });
275
+ }
276
+ let ie;
277
+ function ne(e) {
278
+ ie = e;
207
279
  }
208
- function Ft() {
209
- if (!te)
280
+ function Kt() {
281
+ if (!ie)
210
282
  throw new Error("Function called outside component initialization");
211
- return te;
283
+ return ie;
212
284
  }
213
- function Fr(e) {
214
- Ft().$$.on_mount.push(e);
285
+ function an(e) {
286
+ Kt().$$.on_mount.push(e);
215
287
  }
216
- function Eo(e) {
217
- Ft().$$.on_destroy.push(e);
288
+ function ko(e) {
289
+ Kt().$$.on_destroy.push(e);
218
290
  }
219
- const j = [], Re = [];
220
- let k = [];
221
- const ct = [], jr = /* @__PURE__ */ Promise.resolve();
222
- let $e = !1;
223
- function kr() {
224
- $e || ($e = !0, jr.then(O));
291
+ const X = [], Ve = [];
292
+ let W = [];
293
+ const _t = [], un = /* @__PURE__ */ Promise.resolve();
294
+ let Xe = !1;
295
+ function ln() {
296
+ Xe || (Xe = !0, un.then(O));
225
297
  }
226
- function Ge(e) {
227
- k.push(e);
298
+ function Ee(e) {
299
+ W.push(e);
228
300
  }
229
- const Ae = /* @__PURE__ */ new Set();
230
- let D = 0;
301
+ const Ne = /* @__PURE__ */ new Set();
302
+ let k = 0;
231
303
  function O() {
232
- if (D !== 0)
304
+ if (k !== 0)
233
305
  return;
234
- const e = te;
306
+ const e = ie;
235
307
  do {
236
308
  try {
237
- for (; D < j.length; ) {
238
- const t = j[D];
239
- D++, ee(t), Vr(t.$$);
309
+ for (; k < X.length; ) {
310
+ const t = X[k];
311
+ k++, ne(t), hn(t.$$);
240
312
  }
241
313
  } catch (t) {
242
- throw j.length = 0, D = 0, t;
314
+ throw X.length = 0, k = 0, t;
243
315
  }
244
- for (ee(null), j.length = 0, D = 0; Re.length; )
245
- Re.pop()();
246
- for (let t = 0; t < k.length; t += 1) {
247
- const r = k[t];
248
- Ae.has(r) || (Ae.add(r), r());
316
+ for (ne(null), X.length = 0, k = 0; Ve.length; )
317
+ Ve.pop()();
318
+ for (let t = 0; t < W.length; t += 1) {
319
+ const r = W[t];
320
+ Ne.has(r) || (Ne.add(r), r());
249
321
  }
250
- k.length = 0;
251
- } while (j.length);
252
- for (; ct.length; )
253
- ct.pop()();
254
- $e = !1, Ae.clear(), ee(e);
322
+ W.length = 0;
323
+ } while (X.length);
324
+ for (; _t.length; )
325
+ _t.pop()();
326
+ Xe = !1, Ne.clear(), ne(e);
255
327
  }
256
- function Vr(e) {
328
+ function hn(e) {
257
329
  if (e.fragment !== null) {
258
- e.update(), Z(e.before_update);
330
+ e.update(), U(e.before_update);
259
331
  const t = e.dirty;
260
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
332
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
261
333
  }
262
334
  }
263
- function Xr(e) {
335
+ function cn(e) {
264
336
  const t = [], r = [];
265
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
337
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
338
+ }
339
+ let te;
340
+ function fn() {
341
+ return te || (te = Promise.resolve(), te.then(() => {
342
+ te = null;
343
+ })), te;
344
+ }
345
+ function Le(e, t, r) {
346
+ e.dispatchEvent(en(`${t ? "intro" : "outro"}${r}`));
347
+ }
348
+ const de = /* @__PURE__ */ new Set();
349
+ let $;
350
+ function Vo() {
351
+ $ = {
352
+ r: 0,
353
+ c: [],
354
+ p: $
355
+ // parent group
356
+ };
357
+ }
358
+ function Xo() {
359
+ $.r || U($.c), $ = $.p;
266
360
  }
267
- const ce = /* @__PURE__ */ new Set();
268
- let zr;
269
- function jt(e, t) {
270
- e && e.i && (ce.delete(e), e.i(t));
361
+ function er(e, t) {
362
+ e && e.i && (de.delete(e), e.i(t));
271
363
  }
272
- function Wr(e, t, r, n) {
364
+ function mn(e, t, r, n) {
273
365
  if (e && e.o) {
274
- if (ce.has(e))
366
+ if (de.has(e))
275
367
  return;
276
- ce.add(e), zr.c.push(() => {
277
- ce.delete(e);
368
+ de.add(e), $.c.push(() => {
369
+ de.delete(e), n && (r && e.d(1), n());
278
370
  }), e.o(t);
371
+ } else
372
+ n && n();
373
+ }
374
+ const pn = { duration: 0 };
375
+ function zo(e, t, r, n) {
376
+ let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
377
+ function c() {
378
+ u && on(e, u);
379
+ }
380
+ function f(m, d) {
381
+ const x = (
382
+ /** @type {Program['d']} */
383
+ m.b - s
384
+ );
385
+ return d *= Math.abs(x), {
386
+ a: s,
387
+ b: m.b,
388
+ d: x,
389
+ duration: d,
390
+ start: m.start,
391
+ end: m.start + d,
392
+ group: m.group
393
+ };
279
394
  }
395
+ function p(m) {
396
+ const {
397
+ delay: d = 0,
398
+ duration: x = 300,
399
+ easing: E = Fr,
400
+ tick: H = N,
401
+ css: _
402
+ } = o || pn, S = {
403
+ start: Qr() + d,
404
+ b: m
405
+ };
406
+ m || (S.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
407
+ e.inert, e.inert = !0)), a || l ? l = S : (_ && (c(), u = vt(e, s, m, x, d, E, _)), m && H(0, 1), a = f(S, x), Ee(() => Le(e, m, "start")), Jr((b) => {
408
+ if (l && b > l.start && (a = f(l, x), l = null, Le(e, a.b, "start"), _ && (c(), u = vt(
409
+ e,
410
+ s,
411
+ a.b,
412
+ a.duration,
413
+ 0,
414
+ E,
415
+ o.css
416
+ ))), a) {
417
+ if (b >= a.end)
418
+ H(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
419
+ else if (b >= a.start) {
420
+ const B = b - a.start;
421
+ s = a.a + a.d * E(B / a.duration), H(s, 1 - s);
422
+ }
423
+ }
424
+ return !!(a || l);
425
+ }));
426
+ }
427
+ return {
428
+ run(m) {
429
+ He(o) ? fn().then(() => {
430
+ o = o({ direction: m ? "in" : "out" }), p(m);
431
+ }) : p(m);
432
+ },
433
+ end() {
434
+ c(), a = l = null;
435
+ }
436
+ };
280
437
  }
281
- function So(e) {
438
+ function Wo(e) {
282
439
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
283
440
  }
284
- function Zr(e, t, r) {
441
+ function dn(e, t, r) {
285
442
  const { fragment: n, after_update: i } = e.$$;
286
- n && n.m(t, r), Ge(() => {
287
- const o = e.$$.on_mount.map($t).filter(et);
288
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
289
- }), i.forEach(Ge);
443
+ n && n.m(t, r), Ee(() => {
444
+ const o = e.$$.on_mount.map(zt).filter(He);
445
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
446
+ }), i.forEach(Ee);
290
447
  }
291
- function Qr(e, t) {
448
+ function bn(e, t) {
292
449
  const r = e.$$;
293
- r.fragment !== null && (Xr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
450
+ r.fragment !== null && (cn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
294
451
  }
295
- function Jr(e, t) {
296
- e.$$.dirty[0] === -1 && (j.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
452
+ function gn(e, t) {
453
+ e.$$.dirty[0] === -1 && (X.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
454
  }
298
- function qr(e, t, r, n, i, o, s = null, a = [-1]) {
299
- const l = te;
300
- ee(e);
455
+ function yn(e, t, r, n, i, o, s = null, a = [-1]) {
456
+ const l = ie;
457
+ ne(e);
301
458
  const u = e.$$ = {
302
459
  fragment: null,
303
460
  ctx: [],
304
461
  // state
305
462
  props: o,
306
- update: L,
463
+ update: N,
307
464
  not_equal: i,
308
- bound: lt(),
465
+ bound: gt(),
309
466
  // lifecycle
310
467
  on_mount: [],
311
468
  on_destroy: [],
@@ -314,28 +471,28 @@ function qr(e, t, r, n, i, o, s = null, a = [-1]) {
314
471
  after_update: [],
315
472
  context: new Map(t.context || (l ? l.$$.context : [])),
316
473
  // everything else
317
- callbacks: lt(),
474
+ callbacks: gt(),
318
475
  dirty: a,
319
476
  skip_bound: !1,
320
477
  root: t.target || l.$$.root
321
478
  };
322
479
  s && s(u.root);
323
480
  let h = !1;
324
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
325
- const y = m.length ? m[0] : c;
326
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), h && Jr(e, f)), c;
327
- }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
481
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
482
+ const m = p.length ? p[0] : f;
483
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && gn(e, c)), f;
484
+ }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
328
485
  if (t.hydrate) {
329
- const f = Ur(t.target);
330
- u.fragment && u.fragment.l(f), f.forEach(Q);
486
+ const c = Kr(t.target);
487
+ u.fragment && u.fragment.l(c), c.forEach(D);
331
488
  } else
332
489
  u.fragment && u.fragment.c();
333
- t.intro && jt(e.$$.fragment), Zr(e, t.target, t.anchor), O();
490
+ t.intro && er(e.$$.fragment), dn(e, t.target, t.anchor), O();
334
491
  }
335
- ee(l);
492
+ ne(l);
336
493
  }
337
- let kt;
338
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
494
+ let tr;
495
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
339
496
  constructor(t, r, n) {
340
497
  super();
341
498
  /** The Svelte component constructor */
@@ -372,42 +529,42 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
372
529
  }
373
530
  }
374
531
  connectedCallback() {
375
- return ut(this, null, function* () {
532
+ return bt(this, null, function* () {
376
533
  if (this.$$cn = !0, !this.$$c) {
377
534
  let t = function(o) {
378
535
  return () => {
379
536
  let s;
380
537
  return {
381
538
  c: function() {
382
- s = N("slot"), o !== "default" && T(s, "name", o);
539
+ s = M("slot"), o !== "default" && A(s, "name", o);
383
540
  },
384
541
  /**
385
542
  * @param {HTMLElement} target
386
543
  * @param {HTMLElement} [anchor]
387
544
  */
388
545
  m: function(u, h) {
389
- ie(u, s, h);
546
+ ae(u, s, h);
390
547
  },
391
548
  d: function(u) {
392
- u && Q(s);
549
+ u && D(s);
393
550
  }
394
551
  };
395
552
  };
396
553
  };
397
554
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
398
555
  return;
399
- const r = {}, n = Dr(this);
556
+ const r = {}, n = tn(this);
400
557
  for (const o of this.$$s)
401
558
  o in n && (r[o] = [t(o)]);
402
559
  for (const o of this.attributes) {
403
560
  const s = this.$$g_p(o.name);
404
- s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
561
+ s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
405
562
  }
406
563
  for (const o in this.$$p_d)
407
564
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
408
565
  this.$$c = new this.$$ctor({
409
566
  target: this.shadowRoot || this,
410
- props: at(st({}, this.$$d), {
567
+ props: dt(pt({}, this.$$d), {
411
568
  $$slots: r,
412
569
  $$scope: {
413
570
  ctx: []
@@ -418,7 +575,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
418
575
  this.$$r = !0;
419
576
  for (const o in this.$$p_d)
420
577
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
421
- const s = fe(
578
+ const s = be(
422
579
  o,
423
580
  this.$$d[o],
424
581
  this.$$p_d,
@@ -442,7 +599,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
442
599
  // and setting attributes through setAttribute etc, this is helpful
443
600
  attributeChangedCallback(t, r, n) {
444
601
  var i;
445
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
602
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
446
603
  }
447
604
  disconnectedCallback() {
448
605
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -455,7 +612,7 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
455
612
  ) || t;
456
613
  }
457
614
  });
458
- function fe(e, t, r, n) {
615
+ function be(e, t, r, n) {
459
616
  var o;
460
617
  const i = (o = r[e]) == null ? void 0 : o.type;
461
618
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -485,8 +642,8 @@ function fe(e, t, r, n) {
485
642
  return t;
486
643
  }
487
644
  }
488
- function Yr(e, t, r, n, i, o) {
489
- let s = class extends kt {
645
+ function vn(e, t, r, n, i, o) {
646
+ let s = class extends tr {
490
647
  constructor() {
491
648
  super(e, r, i), this.$$p_d = t;
492
649
  }
@@ -503,7 +660,7 @@ function Yr(e, t, r, n, i, o) {
503
660
  },
504
661
  set(l) {
505
662
  var u;
506
- l = fe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
663
+ l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
507
664
  }
508
665
  });
509
666
  }), n.forEach((a) => {
@@ -516,7 +673,7 @@ function Yr(e, t, r, n, i, o) {
516
673
  }), e.element = /** @type {any} */
517
674
  s, s;
518
675
  }
519
- class Kr {
676
+ class _n {
520
677
  constructor() {
521
678
  /**
522
679
  * ### PRIVATE API
@@ -537,7 +694,7 @@ class Kr {
537
694
  }
538
695
  /** @returns {void} */
539
696
  $destroy() {
540
- Qr(this, 1), this.$destroy = L;
697
+ bn(this, 1), this.$destroy = N;
541
698
  }
542
699
  /**
543
700
  * @template {Extract<keyof Events, string>} K
@@ -546,8 +703,8 @@ class Kr {
546
703
  * @returns {() => void}
547
704
  */
548
705
  $on(t, r) {
549
- if (!et(r))
550
- return L;
706
+ if (!He(r))
707
+ return N;
551
708
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
552
709
  return n.push(r), () => {
553
710
  const i = n.indexOf(r);
@@ -559,13 +716,13 @@ class Kr {
559
716
  * @returns {void}
560
717
  */
561
718
  $set(t) {
562
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
719
+ this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
563
720
  }
564
721
  }
565
- const en = "4";
566
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
567
- var wo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
- function tn(e) {
722
+ const xn = "4";
723
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
724
+ var Zo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
725
+ function En(e) {
569
726
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
570
727
  }
571
728
  /*! *****************************************************************************
@@ -582,24 +739,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
582
739
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
583
740
  PERFORMANCE OF THIS SOFTWARE.
584
741
  ***************************************************************************** */
585
- var Ue = function(e, t) {
586
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
742
+ var ze = function(e, t) {
743
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
744
  r.__proto__ = n;
588
745
  } || function(r, n) {
589
746
  for (var i in n)
590
747
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
591
- }, Ue(e, t);
748
+ }, ze(e, t);
592
749
  };
593
- function oe(e, t) {
750
+ function le(e, t) {
594
751
  if (typeof t != "function" && t !== null)
595
752
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
596
- Ue(e, t);
753
+ ze(e, t);
597
754
  function r() {
598
755
  this.constructor = e;
599
756
  }
600
757
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
601
758
  }
602
- function De(e) {
759
+ function We(e) {
603
760
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
604
761
  if (r)
605
762
  return r.call(e);
@@ -611,7 +768,7 @@ function De(e) {
611
768
  };
612
769
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
613
770
  }
614
- function Fe(e, t) {
771
+ function Ze(e, t) {
615
772
  var r = typeof Symbol == "function" && e[Symbol.iterator];
616
773
  if (!r)
617
774
  return e;
@@ -631,7 +788,7 @@ function Fe(e, t) {
631
788
  }
632
789
  return o;
633
790
  }
634
- function je(e, t, r) {
791
+ function Qe(e, t, r) {
635
792
  if (arguments.length === 2)
636
793
  for (var n = 0, i = t.length, o; n < i; n++)
637
794
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -640,13 +797,13 @@ function je(e, t, r) {
640
797
  function R(e) {
641
798
  return typeof e == "function";
642
799
  }
643
- function Vt(e) {
800
+ function rr(e) {
644
801
  var t = function(n) {
645
802
  Error.call(n), n.stack = new Error().stack;
646
803
  }, r = e(t);
647
804
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
648
805
  }
649
- var Be = Vt(function(e) {
806
+ var $e = rr(function(e) {
650
807
  return function(r) {
651
808
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
652
809
  ` + r.map(function(n, i) {
@@ -655,13 +812,13 @@ var Be = Vt(function(e) {
655
812
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
656
813
  };
657
814
  });
658
- function ke(e, t) {
815
+ function Je(e, t) {
659
816
  if (e) {
660
817
  var r = e.indexOf(t);
661
818
  0 <= r && e.splice(r, 1);
662
819
  }
663
820
  }
664
- var _e = function() {
821
+ var Ae = function() {
665
822
  function e(t) {
666
823
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
667
824
  }
@@ -673,12 +830,12 @@ var _e = function() {
673
830
  if (s)
674
831
  if (this._parentage = null, Array.isArray(s))
675
832
  try {
676
- for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
833
+ for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
677
834
  var u = l.value;
678
835
  u.remove(this);
679
836
  }
680
- } catch (b) {
681
- t = { error: b };
837
+ } catch (d) {
838
+ t = { error: d };
682
839
  } finally {
683
840
  try {
684
841
  l && !l.done && (r = a.return) && r.call(a);
@@ -693,26 +850,26 @@ var _e = function() {
693
850
  if (R(h))
694
851
  try {
695
852
  h();
696
- } catch (b) {
697
- o = b instanceof Be ? b.errors : [b];
853
+ } catch (d) {
854
+ o = d instanceof $e ? d.errors : [d];
698
855
  }
699
- var f = this._finalizers;
700
- if (f) {
856
+ var c = this._finalizers;
857
+ if (c) {
701
858
  this._finalizers = null;
702
859
  try {
703
- for (var c = De(f), m = c.next(); !m.done; m = c.next()) {
704
- var y = m.value;
860
+ for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
861
+ var m = p.value;
705
862
  try {
706
- ft(y);
707
- } catch (b) {
708
- o = o != null ? o : [], b instanceof Be ? o = je(je([], Fe(o)), Fe(b.errors)) : o.push(b);
863
+ xt(m);
864
+ } catch (d) {
865
+ o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
709
866
  }
710
867
  }
711
- } catch (b) {
712
- n = { error: b };
868
+ } catch (d) {
869
+ n = { error: d };
713
870
  } finally {
714
871
  try {
715
- m && !m.done && (i = c.return) && i.call(c);
872
+ p && !p.done && (i = f.return) && i.call(f);
716
873
  } finally {
717
874
  if (n)
718
875
  throw n.error;
@@ -720,13 +877,13 @@ var _e = function() {
720
877
  }
721
878
  }
722
879
  if (o)
723
- throw new Be(o);
880
+ throw new $e(o);
724
881
  }
725
882
  }, e.prototype.add = function(t) {
726
883
  var r;
727
884
  if (t && t !== this)
728
885
  if (this.closed)
729
- ft(t);
886
+ xt(t);
730
887
  else {
731
888
  if (t instanceof e) {
732
889
  if (t.closed || t._hasParent(this))
@@ -743,52 +900,52 @@ var _e = function() {
743
900
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
744
901
  }, e.prototype._removeParent = function(t) {
745
902
  var r = this._parentage;
746
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
903
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
747
904
  }, e.prototype.remove = function(t) {
748
905
  var r = this._finalizers;
749
- r && ke(r, t), t instanceof e && t._removeParent(this);
906
+ r && Je(r, t), t instanceof e && t._removeParent(this);
750
907
  }, e.EMPTY = function() {
751
908
  var t = new e();
752
909
  return t.closed = !0, t;
753
910
  }(), e;
754
- }(), Xt = _e.EMPTY;
755
- function zt(e) {
756
- return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
911
+ }(), nr = Ae.EMPTY;
912
+ function ir(e) {
913
+ return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
757
914
  }
758
- function ft(e) {
915
+ function xt(e) {
759
916
  R(e) ? e() : e.unsubscribe();
760
917
  }
761
- var rn = {
918
+ var Sn = {
762
919
  Promise: void 0
763
- }, nn = {
920
+ }, wn = {
764
921
  setTimeout: function(e, t) {
765
922
  for (var r = [], n = 2; n < arguments.length; n++)
766
923
  r[n - 2] = arguments[n];
767
- return setTimeout.apply(void 0, je([e, t], Fe(r)));
924
+ return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
768
925
  },
769
926
  clearTimeout: function(e) {
770
927
  return clearTimeout(e);
771
928
  },
772
929
  delegate: void 0
773
930
  };
774
- function on(e) {
775
- nn.setTimeout(function() {
931
+ function Tn(e) {
932
+ wn.setTimeout(function() {
776
933
  throw e;
777
934
  });
778
935
  }
779
- function mt() {
936
+ function Et() {
780
937
  }
781
- function me(e) {
938
+ function ge(e) {
782
939
  e();
783
940
  }
784
- var Wt = function(e) {
785
- oe(t, e);
941
+ var or = function(e) {
942
+ le(t, e);
786
943
  function t(r) {
787
944
  var n = e.call(this) || this;
788
- return n.isStopped = !1, r ? (n.destination = r, zt(r) && r.add(n)) : n.destination = un, n;
945
+ return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = Bn, n;
789
946
  }
790
947
  return t.create = function(r, n, i) {
791
- return new Ve(r, n, i);
948
+ return new qe(r, n, i);
792
949
  }, t.prototype.next = function(r) {
793
950
  this.isStopped || this._next(r);
794
951
  }, t.prototype.error = function(r) {
@@ -812,7 +969,7 @@ var Wt = function(e) {
812
969
  this.unsubscribe();
813
970
  }
814
971
  }, t;
815
- }(_e), sn = function() {
972
+ }(Ae), Hn = function() {
816
973
  function e(t) {
817
974
  this.partialObserver = t;
818
975
  }
@@ -822,7 +979,7 @@ var Wt = function(e) {
822
979
  try {
823
980
  r.next(t);
824
981
  } catch (n) {
825
- le(n);
982
+ me(n);
826
983
  }
827
984
  }, e.prototype.error = function(t) {
828
985
  var r = this.partialObserver;
@@ -830,56 +987,56 @@ var Wt = function(e) {
830
987
  try {
831
988
  r.error(t);
832
989
  } catch (n) {
833
- le(n);
990
+ me(n);
834
991
  }
835
992
  else
836
- le(t);
993
+ me(t);
837
994
  }, e.prototype.complete = function() {
838
995
  var t = this.partialObserver;
839
996
  if (t.complete)
840
997
  try {
841
998
  t.complete();
842
999
  } catch (r) {
843
- le(r);
1000
+ me(r);
844
1001
  }
845
1002
  }, e;
846
- }(), Ve = function(e) {
847
- oe(t, e);
1003
+ }(), qe = function(e) {
1004
+ le(t, e);
848
1005
  function t(r, n, i) {
849
1006
  var o = e.call(this) || this, s;
850
1007
  return R(r) || !r ? s = {
851
1008
  next: r != null ? r : void 0,
852
1009
  error: n != null ? n : void 0,
853
1010
  complete: i != null ? i : void 0
854
- } : s = r, o.destination = new sn(s), o;
1011
+ } : s = r, o.destination = new Hn(s), o;
855
1012
  }
856
1013
  return t;
857
- }(Wt);
858
- function le(e) {
859
- on(e);
1014
+ }(or);
1015
+ function me(e) {
1016
+ Tn(e);
860
1017
  }
861
- function an(e) {
1018
+ function An(e) {
862
1019
  throw e;
863
1020
  }
864
- var un = {
1021
+ var Bn = {
865
1022
  closed: !0,
866
- next: mt,
867
- error: an,
868
- complete: mt
869
- }, ln = function() {
1023
+ next: Et,
1024
+ error: An,
1025
+ complete: Et
1026
+ }, Cn = function() {
870
1027
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
871
1028
  }();
872
- function hn(e) {
1029
+ function Pn(e) {
873
1030
  return e;
874
1031
  }
875
- function cn(e) {
876
- return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
1032
+ function On(e) {
1033
+ return e.length === 0 ? Pn : e.length === 1 ? e[0] : function(r) {
877
1034
  return e.reduce(function(n, i) {
878
1035
  return i(n);
879
1036
  }, r);
880
1037
  };
881
1038
  }
882
- var dt = function() {
1039
+ var St = function() {
883
1040
  function e(t) {
884
1041
  t && (this._subscribe = t);
885
1042
  }
@@ -887,8 +1044,8 @@ var dt = function() {
887
1044
  var r = new e();
888
1045
  return r.source = this, r.operator = t, r;
889
1046
  }, e.prototype.subscribe = function(t, r, n) {
890
- var i = this, o = mn(t) ? t : new Ve(t, r, n);
891
- return me(function() {
1047
+ var i = this, o = Mn(t) ? t : new qe(t, r, n);
1048
+ return ge(function() {
892
1049
  var s = i, a = s.operator, l = s.source;
893
1050
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
894
1051
  }), o;
@@ -900,8 +1057,8 @@ var dt = function() {
900
1057
  }
901
1058
  }, e.prototype.forEach = function(t, r) {
902
1059
  var n = this;
903
- return r = pt(r), new r(function(i, o) {
904
- var s = new Ve({
1060
+ return r = wt(r), new r(function(i, o) {
1061
+ var s = new qe({
905
1062
  next: function(a) {
906
1063
  try {
907
1064
  t(a);
@@ -917,15 +1074,15 @@ var dt = function() {
917
1074
  }, e.prototype._subscribe = function(t) {
918
1075
  var r;
919
1076
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
920
- }, e.prototype[ln] = function() {
1077
+ }, e.prototype[Cn] = function() {
921
1078
  return this;
922
1079
  }, e.prototype.pipe = function() {
923
1080
  for (var t = [], r = 0; r < arguments.length; r++)
924
1081
  t[r] = arguments[r];
925
- return cn(t)(this);
1082
+ return On(t)(this);
926
1083
  }, e.prototype.toPromise = function(t) {
927
1084
  var r = this;
928
- return t = pt(t), new t(function(n, i) {
1085
+ return t = wt(t), new t(function(n, i) {
929
1086
  var o;
930
1087
  r.subscribe(function(s) {
931
1088
  return o = s;
@@ -939,40 +1096,40 @@ var dt = function() {
939
1096
  return new e(t);
940
1097
  }, e;
941
1098
  }();
942
- function pt(e) {
1099
+ function wt(e) {
943
1100
  var t;
944
- return (t = e != null ? e : rn.Promise) !== null && t !== void 0 ? t : Promise;
1101
+ return (t = e != null ? e : Sn.Promise) !== null && t !== void 0 ? t : Promise;
945
1102
  }
946
- function fn(e) {
1103
+ function In(e) {
947
1104
  return e && R(e.next) && R(e.error) && R(e.complete);
948
1105
  }
949
- function mn(e) {
950
- return e && e instanceof Wt || fn(e) && zt(e);
1106
+ function Mn(e) {
1107
+ return e && e instanceof or || In(e) && ir(e);
951
1108
  }
952
- var dn = Vt(function(e) {
1109
+ var Nn = rr(function(e) {
953
1110
  return function() {
954
1111
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
955
1112
  };
956
- }), Zt = function(e) {
957
- oe(t, e);
1113
+ }), sr = function(e) {
1114
+ le(t, e);
958
1115
  function t() {
959
1116
  var r = e.call(this) || this;
960
1117
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
961
1118
  }
962
1119
  return t.prototype.lift = function(r) {
963
- var n = new bt(this, this);
1120
+ var n = new Tt(this, this);
964
1121
  return n.operator = r, n;
965
1122
  }, t.prototype._throwIfClosed = function() {
966
1123
  if (this.closed)
967
- throw new dn();
1124
+ throw new Nn();
968
1125
  }, t.prototype.next = function(r) {
969
1126
  var n = this;
970
- me(function() {
1127
+ ge(function() {
971
1128
  var i, o;
972
1129
  if (n._throwIfClosed(), !n.isStopped) {
973
1130
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
974
1131
  try {
975
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1132
+ for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
1133
  var l = a.value;
977
1134
  l.next(r);
978
1135
  }
@@ -990,7 +1147,7 @@ var dn = Vt(function(e) {
990
1147
  });
991
1148
  }, t.prototype.error = function(r) {
992
1149
  var n = this;
993
- me(function() {
1150
+ ge(function() {
994
1151
  if (n._throwIfClosed(), !n.isStopped) {
995
1152
  n.hasError = n.isStopped = !0, n.thrownError = r;
996
1153
  for (var i = n.observers; i.length; )
@@ -999,7 +1156,7 @@ var dn = Vt(function(e) {
999
1156
  });
1000
1157
  }, t.prototype.complete = function() {
1001
1158
  var r = this;
1002
- me(function() {
1159
+ ge(function() {
1003
1160
  if (r._throwIfClosed(), !r.isStopped) {
1004
1161
  r.isStopped = !0;
1005
1162
  for (var n = r.observers; n.length; )
@@ -1021,20 +1178,20 @@ var dn = Vt(function(e) {
1021
1178
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1022
1179
  }, t.prototype._innerSubscribe = function(r) {
1023
1180
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1024
- return o || s ? Xt : (this.currentObservers = null, a.push(r), new _e(function() {
1025
- n.currentObservers = null, ke(a, r);
1181
+ return o || s ? nr : (this.currentObservers = null, a.push(r), new Ae(function() {
1182
+ n.currentObservers = null, Je(a, r);
1026
1183
  }));
1027
1184
  }, t.prototype._checkFinalizedStatuses = function(r) {
1028
1185
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1029
1186
  i ? r.error(o) : s && r.complete();
1030
1187
  }, t.prototype.asObservable = function() {
1031
- var r = new dt();
1188
+ var r = new St();
1032
1189
  return r.source = this, r;
1033
1190
  }, t.create = function(r, n) {
1034
- return new bt(r, n);
1191
+ return new Tt(r, n);
1035
1192
  }, t;
1036
- }(dt), bt = function(e) {
1037
- oe(t, e);
1193
+ }(St), Tt = function(e) {
1194
+ le(t, e);
1038
1195
  function t(r, n) {
1039
1196
  var i = e.call(this) || this;
1040
1197
  return i.destination = r, i.source = n, i;
@@ -1050,17 +1207,17 @@ var dn = Vt(function(e) {
1050
1207
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1051
1208
  }, t.prototype._subscribe = function(r) {
1052
1209
  var n, i;
1053
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1210
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
1054
1211
  }, t;
1055
- }(Zt), Qt = {
1212
+ }(sr), ar = {
1056
1213
  now: function() {
1057
- return (Qt.delegate || Date).now();
1214
+ return (ar.delegate || Date).now();
1058
1215
  },
1059
1216
  delegate: void 0
1060
- }, pn = function(e) {
1061
- oe(t, e);
1217
+ }, Ln = function(e) {
1218
+ le(t, e);
1062
1219
  function t(r, n, i) {
1063
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Qt);
1220
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
1064
1221
  var o = e.call(this) || this;
1065
1222
  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;
1066
1223
  }
@@ -1080,175 +1237,175 @@ var dn = Vt(function(e) {
1080
1237
  u && o.splice(0, u + 1);
1081
1238
  }
1082
1239
  }, t;
1083
- }(Zt);
1084
- const gt = [], vt = {}, bn = (e, t = 0) => {
1085
- if (gt.indexOf(e) == -1) {
1086
- const r = new pn(t);
1087
- vt[e] = r, gt.push(e);
1240
+ }(sr);
1241
+ const Ht = [], At = {}, $n = (e, t = 0) => {
1242
+ if (Ht.indexOf(e) == -1) {
1243
+ const r = new Ln(t);
1244
+ At[e] = r, Ht.push(e);
1088
1245
  }
1089
- return vt[e];
1090
- }, F = [];
1091
- function gn(e, t) {
1246
+ return At[e];
1247
+ }, V = [];
1248
+ function Rn(e, t) {
1092
1249
  return {
1093
- subscribe: xe(e, t).subscribe
1250
+ subscribe: Be(e, t).subscribe
1094
1251
  };
1095
1252
  }
1096
- function xe(e, t = L) {
1253
+ function Be(e, t = N) {
1097
1254
  let r;
1098
1255
  const n = /* @__PURE__ */ new Set();
1099
1256
  function i(a) {
1100
- if (Gt(e, a) && (e = a, r)) {
1101
- const l = !F.length;
1257
+ if (Wt(e, a) && (e = a, r)) {
1258
+ const l = !V.length;
1102
1259
  for (const u of n)
1103
- u[1](), F.push(u, e);
1260
+ u[1](), V.push(u, e);
1104
1261
  if (l) {
1105
- for (let u = 0; u < F.length; u += 2)
1106
- F[u][0](F[u + 1]);
1107
- F.length = 0;
1262
+ for (let u = 0; u < V.length; u += 2)
1263
+ V[u][0](V[u + 1]);
1264
+ V.length = 0;
1108
1265
  }
1109
1266
  }
1110
1267
  }
1111
1268
  function o(a) {
1112
1269
  i(a(e));
1113
1270
  }
1114
- function s(a, l = L) {
1271
+ function s(a, l = N) {
1115
1272
  const u = [a, l];
1116
- return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
1273
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1117
1274
  n.delete(u), n.size === 0 && r && (r(), r = null);
1118
1275
  };
1119
1276
  }
1120
1277
  return { set: i, update: o, subscribe: s };
1121
1278
  }
1122
- function J(e, t, r) {
1279
+ function Y(e, t, r) {
1123
1280
  const n = !Array.isArray(e), i = n ? [e] : e;
1124
1281
  if (!i.every(Boolean))
1125
1282
  throw new Error("derived() expects stores as input, got a falsy value");
1126
1283
  const o = t.length < 2;
1127
- return gn(r, (s, a) => {
1284
+ return Rn(r, (s, a) => {
1128
1285
  let l = !1;
1129
1286
  const u = [];
1130
- let h = 0, f = L;
1131
- const c = () => {
1287
+ let h = 0, c = N;
1288
+ const f = () => {
1132
1289
  if (h)
1133
1290
  return;
1134
- f();
1135
- const y = t(n ? u[0] : u, s, a);
1136
- o ? s(y) : f = et(y) ? y : L;
1137
- }, m = i.map(
1138
- (y, b) => Ut(
1139
- y,
1140
- (H) => {
1141
- u[b] = H, h &= ~(1 << b), l && c();
1291
+ c();
1292
+ const m = t(n ? u[0] : u, s, a);
1293
+ o ? s(m) : c = He(m) ? m : N;
1294
+ }, p = i.map(
1295
+ (m, d) => Zt(
1296
+ m,
1297
+ (x) => {
1298
+ u[d] = x, h &= ~(1 << d), l && f();
1142
1299
  },
1143
1300
  () => {
1144
- h |= 1 << b;
1301
+ h |= 1 << d;
1145
1302
  }
1146
1303
  )
1147
1304
  );
1148
- return l = !0, c(), function() {
1149
- Z(m), f(), l = !1;
1305
+ return l = !0, f(), function() {
1306
+ U(p), c(), l = !1;
1150
1307
  };
1151
1308
  });
1152
1309
  }
1153
- var vn = function(t) {
1154
- return yn(t) && !_n(t);
1310
+ var Gn = function(t) {
1311
+ return Un(t) && !Dn(t);
1155
1312
  };
1156
- function yn(e) {
1313
+ function Un(e) {
1157
1314
  return !!e && typeof e == "object";
1158
1315
  }
1159
- function _n(e) {
1316
+ function Dn(e) {
1160
1317
  var t = Object.prototype.toString.call(e);
1161
- return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
1318
+ return t === "[object RegExp]" || t === "[object Date]" || kn(e);
1162
1319
  }
1163
- var xn = typeof Symbol == "function" && Symbol.for, En = xn ? Symbol.for("react.element") : 60103;
1164
- function Sn(e) {
1165
- return e.$$typeof === En;
1320
+ var Fn = typeof Symbol == "function" && Symbol.for, jn = Fn ? Symbol.for("react.element") : 60103;
1321
+ function kn(e) {
1322
+ return e.$$typeof === jn;
1166
1323
  }
1167
- function wn(e) {
1324
+ function Vn(e) {
1168
1325
  return Array.isArray(e) ? [] : {};
1169
1326
  }
1170
- function re(e, t) {
1171
- return t.clone !== !1 && t.isMergeableObject(e) ? V(wn(e), e, t) : e;
1327
+ function oe(e, t) {
1328
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(Vn(e), e, t) : e;
1172
1329
  }
1173
- function Tn(e, t, r) {
1330
+ function Xn(e, t, r) {
1174
1331
  return e.concat(t).map(function(n) {
1175
- return re(n, r);
1332
+ return oe(n, r);
1176
1333
  });
1177
1334
  }
1178
- function Hn(e, t) {
1335
+ function zn(e, t) {
1179
1336
  if (!t.customMerge)
1180
- return V;
1337
+ return Z;
1181
1338
  var r = t.customMerge(e);
1182
- return typeof r == "function" ? r : V;
1339
+ return typeof r == "function" ? r : Z;
1183
1340
  }
1184
- function An(e) {
1341
+ function Wn(e) {
1185
1342
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1186
1343
  return Object.propertyIsEnumerable.call(e, t);
1187
1344
  }) : [];
1188
1345
  }
1189
- function yt(e) {
1190
- return Object.keys(e).concat(An(e));
1346
+ function Bt(e) {
1347
+ return Object.keys(e).concat(Wn(e));
1191
1348
  }
1192
- function Jt(e, t) {
1349
+ function ur(e, t) {
1193
1350
  try {
1194
1351
  return t in e;
1195
1352
  } catch (r) {
1196
1353
  return !1;
1197
1354
  }
1198
1355
  }
1199
- function Bn(e, t) {
1200
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1356
+ function Zn(e, t) {
1357
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
1358
  }
1202
- function Cn(e, t, r) {
1359
+ function Qn(e, t, r) {
1203
1360
  var n = {};
1204
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1205
- n[i] = re(e[i], r);
1206
- }), yt(t).forEach(function(i) {
1207
- Bn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1361
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1362
+ n[i] = oe(e[i], r);
1363
+ }), Bt(t).forEach(function(i) {
1364
+ Zn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1208
1365
  }), n;
1209
1366
  }
1210
- function V(e, t, r) {
1211
- r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || vn, r.cloneUnlessOtherwiseSpecified = re;
1367
+ function Z(e, t, r) {
1368
+ r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = oe;
1212
1369
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1213
- return o ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : re(t, r);
1370
+ return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : oe(t, r);
1214
1371
  }
1215
- V.all = function(t, r) {
1372
+ Z.all = function(t, r) {
1216
1373
  if (!Array.isArray(t))
1217
1374
  throw new Error("first argument should be an array");
1218
1375
  return t.reduce(function(n, i) {
1219
- return V(n, i, r);
1376
+ return Z(n, i, r);
1220
1377
  }, {});
1221
1378
  };
1222
- var Pn = V, On = Pn;
1223
- const In = /* @__PURE__ */ tn(On);
1224
- var Xe = function(e, t) {
1225
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1379
+ var Jn = Z, qn = Jn;
1380
+ const Yn = /* @__PURE__ */ En(qn);
1381
+ var Ye = function(e, t) {
1382
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1226
1383
  r.__proto__ = n;
1227
1384
  } || function(r, n) {
1228
1385
  for (var i in n)
1229
1386
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1230
- }, Xe(e, t);
1387
+ }, Ye(e, t);
1231
1388
  };
1232
- function Ee(e, t) {
1389
+ function Ce(e, t) {
1233
1390
  if (typeof t != "function" && t !== null)
1234
1391
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1235
- Xe(e, t);
1392
+ Ye(e, t);
1236
1393
  function r() {
1237
1394
  this.constructor = e;
1238
1395
  }
1239
1396
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1240
1397
  }
1241
- var M = function() {
1242
- return M = Object.assign || function(t) {
1398
+ var L = function() {
1399
+ return L = Object.assign || function(t) {
1243
1400
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1244
1401
  r = arguments[n];
1245
1402
  for (var o in r)
1246
1403
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1247
1404
  }
1248
1405
  return t;
1249
- }, M.apply(this, arguments);
1406
+ }, L.apply(this, arguments);
1250
1407
  };
1251
- function Nn(e, t) {
1408
+ function Kn(e, t) {
1252
1409
  var r = {};
1253
1410
  for (var n in e)
1254
1411
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1257,43 +1414,43 @@ function Nn(e, t) {
1257
1414
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1258
1415
  return r;
1259
1416
  }
1260
- function Ce(e, t, r) {
1417
+ function Re(e, t, r) {
1261
1418
  if (r || arguments.length === 2)
1262
1419
  for (var n = 0, i = t.length, o; n < i; n++)
1263
1420
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1264
1421
  return e.concat(o || Array.prototype.slice.call(t));
1265
1422
  }
1266
- function Pe(e, t) {
1267
- var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Rn;
1423
+ function Ge(e, t) {
1424
+ var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
1268
1425
  return i(e, {
1269
1426
  cache: r,
1270
1427
  serializer: n
1271
1428
  });
1272
1429
  }
1273
- function Mn(e) {
1430
+ function ei(e) {
1274
1431
  return e == null || typeof e == "number" || typeof e == "boolean";
1275
1432
  }
1276
- function Ln(e, t, r, n) {
1277
- var i = Mn(n) ? n : r(n), o = t.get(i);
1433
+ function ti(e, t, r, n) {
1434
+ var i = ei(n) ? n : r(n), o = t.get(i);
1278
1435
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1279
1436
  }
1280
- function qt(e, t, r) {
1437
+ function lr(e, t, r) {
1281
1438
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1282
1439
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1283
1440
  }
1284
- function Yt(e, t, r, n, i) {
1441
+ function hr(e, t, r, n, i) {
1285
1442
  return r.bind(t, e, n, i);
1286
1443
  }
1287
- function Rn(e, t) {
1288
- var r = e.length === 1 ? Ln : qt;
1289
- return Yt(e, this, r, t.cache.create(), t.serializer);
1444
+ function ri(e, t) {
1445
+ var r = e.length === 1 ? ti : lr;
1446
+ return hr(e, this, r, t.cache.create(), t.serializer);
1290
1447
  }
1291
- function $n(e, t) {
1292
- return Yt(e, this, qt, t.cache.create(), t.serializer);
1448
+ function ni(e, t) {
1449
+ return hr(e, this, lr, t.cache.create(), t.serializer);
1293
1450
  }
1294
- var Gn = function() {
1451
+ var ii = function() {
1295
1452
  return JSON.stringify(arguments);
1296
- }, Un = (
1453
+ }, oi = (
1297
1454
  /** @class */
1298
1455
  function() {
1299
1456
  function e() {
@@ -1305,71 +1462,71 @@ var Gn = function() {
1305
1462
  this.cache[t] = r;
1306
1463
  }, e;
1307
1464
  }()
1308
- ), Dn = {
1465
+ ), si = {
1309
1466
  create: function() {
1310
- return new Un();
1467
+ return new oi();
1311
1468
  }
1312
- }, Oe = {
1313
- variadic: $n
1314
- }, be = function() {
1315
- return be = Object.assign || function(t) {
1469
+ }, Ue = {
1470
+ variadic: ni
1471
+ }, Se = function() {
1472
+ return Se = Object.assign || function(t) {
1316
1473
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1317
1474
  r = arguments[n];
1318
1475
  for (var o in r)
1319
1476
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1320
1477
  }
1321
1478
  return t;
1322
- }, be.apply(this, arguments);
1479
+ }, Se.apply(this, arguments);
1323
1480
  };
1324
- var p;
1481
+ var y;
1325
1482
  (function(e) {
1326
1483
  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";
1327
- })(p || (p = {}));
1328
- var x;
1484
+ })(y || (y = {}));
1485
+ var w;
1329
1486
  (function(e) {
1330
1487
  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";
1331
- })(x || (x = {}));
1332
- var X;
1488
+ })(w || (w = {}));
1489
+ var Q;
1333
1490
  (function(e) {
1334
1491
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1335
- })(X || (X = {}));
1336
- function _t(e) {
1337
- return e.type === x.literal;
1492
+ })(Q || (Q = {}));
1493
+ function Ct(e) {
1494
+ return e.type === w.literal;
1338
1495
  }
1339
- function Fn(e) {
1340
- return e.type === x.argument;
1496
+ function ai(e) {
1497
+ return e.type === w.argument;
1341
1498
  }
1342
- function Kt(e) {
1343
- return e.type === x.number;
1499
+ function cr(e) {
1500
+ return e.type === w.number;
1344
1501
  }
1345
- function er(e) {
1346
- return e.type === x.date;
1502
+ function fr(e) {
1503
+ return e.type === w.date;
1347
1504
  }
1348
- function tr(e) {
1349
- return e.type === x.time;
1505
+ function mr(e) {
1506
+ return e.type === w.time;
1350
1507
  }
1351
- function rr(e) {
1352
- return e.type === x.select;
1508
+ function pr(e) {
1509
+ return e.type === w.select;
1353
1510
  }
1354
- function nr(e) {
1355
- return e.type === x.plural;
1511
+ function dr(e) {
1512
+ return e.type === w.plural;
1356
1513
  }
1357
- function jn(e) {
1358
- return e.type === x.pound;
1514
+ function ui(e) {
1515
+ return e.type === w.pound;
1359
1516
  }
1360
- function ir(e) {
1361
- return e.type === x.tag;
1517
+ function br(e) {
1518
+ return e.type === w.tag;
1362
1519
  }
1363
- function or(e) {
1364
- return !!(e && typeof e == "object" && e.type === X.number);
1520
+ function gr(e) {
1521
+ return !!(e && typeof e == "object" && e.type === Q.number);
1365
1522
  }
1366
- function ze(e) {
1367
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1523
+ function Ke(e) {
1524
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1368
1525
  }
1369
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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;
1370
- function Vn(e) {
1526
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
1527
+ function hi(e) {
1371
1528
  var t = {};
1372
- return e.replace(kn, function(r) {
1529
+ return e.replace(li, function(r) {
1373
1530
  var n = r.length;
1374
1531
  switch (r[0]) {
1375
1532
  case "G":
@@ -1458,46 +1615,46 @@ function Vn(e) {
1458
1615
  return "";
1459
1616
  }), t;
1460
1617
  }
1461
- var w = function() {
1462
- return w = Object.assign || function(t) {
1618
+ var T = function() {
1619
+ return T = Object.assign || function(t) {
1463
1620
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1464
1621
  r = arguments[n];
1465
1622
  for (var o in r)
1466
1623
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1467
1624
  }
1468
1625
  return t;
1469
- }, w.apply(this, arguments);
1626
+ }, T.apply(this, arguments);
1470
1627
  };
1471
- var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1472
- function zn(e) {
1628
+ var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1629
+ function fi(e) {
1473
1630
  if (e.length === 0)
1474
1631
  throw new Error("Number skeleton cannot be empty");
1475
- for (var t = e.split(Xn).filter(function(c) {
1476
- return c.length > 0;
1632
+ for (var t = e.split(ci).filter(function(f) {
1633
+ return f.length > 0;
1477
1634
  }), r = [], n = 0, i = t; n < i.length; n++) {
1478
1635
  var o = i[n], s = o.split("/");
1479
1636
  if (s.length === 0)
1480
1637
  throw new Error("Invalid number skeleton");
1481
1638
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1482
- var f = h[u];
1483
- if (f.length === 0)
1639
+ var c = h[u];
1640
+ if (c.length === 0)
1484
1641
  throw new Error("Invalid number skeleton");
1485
1642
  }
1486
1643
  r.push({ stem: a, options: l });
1487
1644
  }
1488
1645
  return r;
1489
1646
  }
1490
- function Wn(e) {
1647
+ function mi(e) {
1491
1648
  return e.replace(/^(.*?)-/, "");
1492
1649
  }
1493
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
1494
- function Et(e) {
1650
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
1651
+ function Ot(e) {
1495
1652
  var t = {};
1496
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ar, function(r, n, i) {
1653
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
1497
1654
  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)), "";
1498
1655
  }), t;
1499
1656
  }
1500
- function lr(e) {
1657
+ function xr(e) {
1501
1658
  switch (e) {
1502
1659
  case "sign-auto":
1503
1660
  return {
@@ -1537,7 +1694,7 @@ function lr(e) {
1537
1694
  };
1538
1695
  }
1539
1696
  }
1540
- function Qn(e) {
1697
+ function di(e) {
1541
1698
  var t;
1542
1699
  if (e[0] === "E" && e[1] === "E" ? (t = {
1543
1700
  notation: "engineering"
@@ -1545,17 +1702,17 @@ function Qn(e) {
1545
1702
  notation: "scientific"
1546
1703
  }, e = e.slice(1)), t) {
1547
1704
  var r = e.slice(0, 2);
1548
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ur.test(e))
1705
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
1549
1706
  throw new Error("Malformed concise eng/scientific notation");
1550
1707
  t.minimumIntegerDigits = e.length;
1551
1708
  }
1552
1709
  return t;
1553
1710
  }
1554
- function St(e) {
1555
- var t = {}, r = lr(e);
1711
+ function It(e) {
1712
+ var t = {}, r = xr(e);
1556
1713
  return r || t;
1557
1714
  }
1558
- function Jn(e) {
1715
+ function bi(e) {
1559
1716
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1560
1717
  var i = n[r];
1561
1718
  switch (i.stem) {
@@ -1579,7 +1736,7 @@ function Jn(e) {
1579
1736
  continue;
1580
1737
  case "measure-unit":
1581
1738
  case "unit":
1582
- t.style = "unit", t.unit = Wn(i.options[0]);
1739
+ t.style = "unit", t.unit = mi(i.options[0]);
1583
1740
  continue;
1584
1741
  case "compact-short":
1585
1742
  case "K":
@@ -1590,13 +1747,13 @@ function Jn(e) {
1590
1747
  t.notation = "compact", t.compactDisplay = "long";
1591
1748
  continue;
1592
1749
  case "scientific":
1593
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1594
- return w(w({}, l), St(u));
1750
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1751
+ return T(T({}, l), It(u));
1595
1752
  }, {}));
1596
1753
  continue;
1597
1754
  case "engineering":
1598
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1599
- return w(w({}, l), St(u));
1755
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1756
+ return T(T({}, l), It(u));
1600
1757
  }, {}));
1601
1758
  continue;
1602
1759
  case "notation-simple":
@@ -1641,45 +1798,45 @@ function Jn(e) {
1641
1798
  case "integer-width":
1642
1799
  if (i.options.length > 1)
1643
1800
  throw new RangeError("integer-width stems only accept a single optional option");
1644
- i.options[0].replace(Zn, function(l, u, h, f, c, m) {
1801
+ i.options[0].replace(pi, function(l, u, h, c, f, p) {
1645
1802
  if (u)
1646
1803
  t.minimumIntegerDigits = h.length;
1647
1804
  else {
1648
- if (f && c)
1805
+ if (c && f)
1649
1806
  throw new Error("We currently do not support maximum integer digits");
1650
- if (m)
1807
+ if (p)
1651
1808
  throw new Error("We currently do not support exact integer digits");
1652
1809
  }
1653
1810
  return "";
1654
1811
  });
1655
1812
  continue;
1656
1813
  }
1657
- if (ur.test(i.stem)) {
1814
+ if (_r.test(i.stem)) {
1658
1815
  t.minimumIntegerDigits = i.stem.length;
1659
1816
  continue;
1660
1817
  }
1661
- if (xt.test(i.stem)) {
1818
+ if (Pt.test(i.stem)) {
1662
1819
  if (i.options.length > 1)
1663
1820
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1664
- i.stem.replace(xt, function(l, u, h, f, c, m) {
1665
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1821
+ i.stem.replace(Pt, function(l, u, h, c, f, p) {
1822
+ 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), "";
1666
1823
  });
1667
1824
  var o = i.options[0];
1668
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
1825
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Ot(o)));
1669
1826
  continue;
1670
1827
  }
1671
- if (ar.test(i.stem)) {
1672
- t = w(w({}, t), Et(i.stem));
1828
+ if (vr.test(i.stem)) {
1829
+ t = T(T({}, t), Ot(i.stem));
1673
1830
  continue;
1674
1831
  }
1675
- var s = lr(i.stem);
1676
- s && (t = w(w({}, t), s));
1677
- var a = Qn(i.stem);
1678
- a && (t = w(w({}, t), a));
1832
+ var s = xr(i.stem);
1833
+ s && (t = T(T({}, t), s));
1834
+ var a = di(i.stem);
1835
+ a && (t = T(T({}, t), a));
1679
1836
  }
1680
1837
  return t;
1681
1838
  }
1682
- var he = {
1839
+ var pe = {
1683
1840
  "001": [
1684
1841
  "H",
1685
1842
  "h"
@@ -3094,13 +3251,13 @@ var he = {
3094
3251
  "h"
3095
3252
  ]
3096
3253
  };
3097
- function qn(e, t) {
3254
+ function gi(e, t) {
3098
3255
  for (var r = "", n = 0; n < e.length; n++) {
3099
3256
  var i = e.charAt(n);
3100
3257
  if (i === "j") {
3101
3258
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3102
3259
  o++, n++;
3103
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Yn(t);
3260
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
3104
3261
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3105
3262
  r += l;
3106
3263
  for (; s-- > 0; )
@@ -3110,7 +3267,7 @@ function qn(e, t) {
3110
3267
  }
3111
3268
  return r;
3112
3269
  }
3113
- function Yn(e) {
3270
+ function yi(e) {
3114
3271
  var t = e.hourCycle;
3115
3272
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3116
3273
  e.hourCycles && // @ts-ignore
@@ -3129,23 +3286,23 @@ function Yn(e) {
3129
3286
  }
3130
3287
  var r = e.language, n;
3131
3288
  r !== "root" && (n = e.maximize().region);
3132
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3289
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3133
3290
  return i[0];
3134
3291
  }
3135
- var Ie, Kn = new RegExp("^".concat(sr.source, "*")), ei = new RegExp("".concat(sr.source, "*$"));
3136
- function g(e, t) {
3292
+ var De, vi = new RegExp("^".concat(yr.source, "*")), _i = new RegExp("".concat(yr.source, "*$"));
3293
+ function v(e, t) {
3137
3294
  return { start: e, end: t };
3138
3295
  }
3139
- var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, oi = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
3296
+ var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, Si = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Bi = Ai ? Number.isSafeInteger : function(e) {
3140
3297
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3141
- }, We = !0;
3298
+ }, et = !0;
3142
3299
  try {
3143
- var li = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3144
- We = ((Ie = li.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3300
+ var Ci = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3301
+ et = ((De = Ci.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3145
3302
  } catch (e) {
3146
- We = !1;
3303
+ et = !1;
3147
3304
  }
3148
- var wt = ti ? (
3305
+ var Mt = xi ? (
3149
3306
  // Native
3150
3307
  function(t, r, n) {
3151
3308
  return t.startsWith(r, n);
@@ -3155,7 +3312,7 @@ var wt = ti ? (
3155
3312
  function(t, r, n) {
3156
3313
  return t.slice(n, n + r.length) === r;
3157
3314
  }
3158
- ), Ze = ri ? String.fromCodePoint : (
3315
+ ), tt = Ei ? String.fromCodePoint : (
3159
3316
  // IE11
3160
3317
  function() {
3161
3318
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3167,9 +3324,9 @@ var wt = ti ? (
3167
3324
  }
3168
3325
  return n;
3169
3326
  }
3170
- ), Tt = (
3327
+ ), Nt = (
3171
3328
  // native
3172
- ni ? Object.fromEntries : (
3329
+ Si ? Object.fromEntries : (
3173
3330
  // Ponyfill
3174
3331
  function(t) {
3175
3332
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3179,7 +3336,7 @@ var wt = ti ? (
3179
3336
  return r;
3180
3337
  }
3181
3338
  )
3182
- ), hr = ii ? (
3339
+ ), Er = wi ? (
3183
3340
  // Native
3184
3341
  function(t, r) {
3185
3342
  return t.codePointAt(r);
@@ -3193,7 +3350,7 @@ var wt = ti ? (
3193
3350
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3194
3351
  }
3195
3352
  }
3196
- ), hi = oi ? (
3353
+ ), Pi = Ti ? (
3197
3354
  // Native
3198
3355
  function(t) {
3199
3356
  return t.trimStart();
@@ -3201,9 +3358,9 @@ var wt = ti ? (
3201
3358
  ) : (
3202
3359
  // Ponyfill
3203
3360
  function(t) {
3204
- return t.replace(Kn, "");
3361
+ return t.replace(vi, "");
3205
3362
  }
3206
- ), ci = si ? (
3363
+ ), Oi = Hi ? (
3207
3364
  // Native
3208
3365
  function(t) {
3209
3366
  return t.trimEnd();
@@ -3211,32 +3368,32 @@ var wt = ti ? (
3211
3368
  ) : (
3212
3369
  // Ponyfill
3213
3370
  function(t) {
3214
- return t.replace(ei, "");
3371
+ return t.replace(_i, "");
3215
3372
  }
3216
3373
  );
3217
- function cr(e, t) {
3374
+ function Sr(e, t) {
3218
3375
  return new RegExp(e, t);
3219
3376
  }
3220
- var Qe;
3221
- if (We) {
3222
- var Ht = cr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3223
- Qe = function(t, r) {
3377
+ var rt;
3378
+ if (et) {
3379
+ var Lt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3380
+ rt = function(t, r) {
3224
3381
  var n;
3225
- Ht.lastIndex = r;
3226
- var i = Ht.exec(t);
3382
+ Lt.lastIndex = r;
3383
+ var i = Lt.exec(t);
3227
3384
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3228
3385
  };
3229
3386
  } else
3230
- Qe = function(t, r) {
3387
+ rt = function(t, r) {
3231
3388
  for (var n = []; ; ) {
3232
- var i = hr(t, r);
3233
- if (i === void 0 || fr(i) || pi(i))
3389
+ var i = Er(t, r);
3390
+ if (i === void 0 || wr(i) || Li(i))
3234
3391
  break;
3235
3392
  n.push(i), r += i >= 65536 ? 2 : 1;
3236
3393
  }
3237
- return Ze.apply(void 0, n);
3394
+ return tt.apply(void 0, n);
3238
3395
  };
3239
- var fi = (
3396
+ var Ii = (
3240
3397
  /** @class */
3241
3398
  function() {
3242
3399
  function e(t, r) {
@@ -3260,14 +3417,14 @@ var fi = (
3260
3417
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3261
3418
  var a = this.clonePosition();
3262
3419
  this.bump(), i.push({
3263
- type: x.pound,
3264
- location: g(a, this.clonePosition())
3420
+ type: w.pound,
3421
+ location: v(a, this.clonePosition())
3265
3422
  });
3266
3423
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3267
3424
  if (n)
3268
3425
  break;
3269
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3270
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3426
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3427
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3271
3428
  var s = this.parseTag(t, r);
3272
3429
  if (s.err)
3273
3430
  return s;
@@ -3288,9 +3445,9 @@ var fi = (
3288
3445
  if (this.bumpSpace(), this.bumpIf("/>"))
3289
3446
  return {
3290
3447
  val: {
3291
- type: x.literal,
3448
+ type: w.literal,
3292
3449
  value: "<".concat(i, "/>"),
3293
- location: g(n, this.clonePosition())
3450
+ location: v(n, this.clonePosition())
3294
3451
  },
3295
3452
  err: null
3296
3453
  };
@@ -3300,25 +3457,25 @@ var fi = (
3300
3457
  return o;
3301
3458
  var s = o.val, a = this.clonePosition();
3302
3459
  if (this.bumpIf("</")) {
3303
- if (this.isEOF() || !Je(this.char()))
3304
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3460
+ if (this.isEOF() || !nt(this.char()))
3461
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3305
3462
  var l = this.clonePosition(), u = this.parseTagName();
3306
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3463
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
3464
  val: {
3308
- type: x.tag,
3465
+ type: w.tag,
3309
3466
  value: i,
3310
3467
  children: s,
3311
- location: g(n, this.clonePosition())
3468
+ location: v(n, this.clonePosition())
3312
3469
  },
3313
3470
  err: null
3314
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3471
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3315
3472
  } else
3316
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3473
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3317
3474
  } else
3318
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3475
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3319
3476
  }, e.prototype.parseTagName = function() {
3320
3477
  var t = this.offset();
3321
- for (this.bump(); !this.isEOF() && di(this.char()); )
3478
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
3322
3479
  this.bump();
3323
3480
  return this.message.slice(t, this.offset());
3324
3481
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3340,14 +3497,14 @@ var fi = (
3340
3497
  }
3341
3498
  break;
3342
3499
  }
3343
- var l = g(n, this.clonePosition());
3500
+ var l = v(n, this.clonePosition());
3344
3501
  return {
3345
- val: { type: x.literal, value: i, location: l },
3502
+ val: { type: w.literal, value: i, location: l },
3346
3503
  err: null
3347
3504
  };
3348
3505
  }, e.prototype.tryParseLeftAngleBracket = function() {
3349
3506
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3350
- !mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3507
+ !Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
3351
3508
  }, e.prototype.tryParseQuote = function(t) {
3352
3509
  if (this.isEOF() || this.char() !== 39)
3353
3510
  return null;
@@ -3381,49 +3538,49 @@ var fi = (
3381
3538
  r.push(n);
3382
3539
  this.bump();
3383
3540
  }
3384
- return Ze.apply(void 0, r);
3541
+ return tt.apply(void 0, r);
3385
3542
  }, e.prototype.tryParseUnquoted = function(t, r) {
3386
3543
  if (this.isEOF())
3387
3544
  return null;
3388
3545
  var n = this.char();
3389
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3546
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3390
3547
  }, e.prototype.parseArgument = function(t, r) {
3391
3548
  var n = this.clonePosition();
3392
3549
  if (this.bump(), this.bumpSpace(), this.isEOF())
3393
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3550
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3394
3551
  if (this.char() === 125)
3395
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3552
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3396
3553
  var i = this.parseIdentifierIfPossible().value;
3397
3554
  if (!i)
3398
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3555
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3399
3556
  if (this.bumpSpace(), this.isEOF())
3400
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3557
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3401
3558
  switch (this.char()) {
3402
3559
  case 125:
3403
3560
  return this.bump(), {
3404
3561
  val: {
3405
- type: x.argument,
3562
+ type: w.argument,
3406
3563
  // value does not include the opening and closing braces.
3407
3564
  value: i,
3408
- location: g(n, this.clonePosition())
3565
+ location: v(n, this.clonePosition())
3409
3566
  },
3410
3567
  err: null
3411
3568
  };
3412
3569
  case 44:
3413
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3570
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3414
3571
  default:
3415
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3572
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3416
3573
  }
3417
3574
  }, e.prototype.parseIdentifierIfPossible = function() {
3418
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3575
+ var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3419
3576
  this.bumpTo(i);
3420
- var o = this.clonePosition(), s = g(t, o);
3577
+ var o = this.clonePosition(), s = v(t, o);
3421
3578
  return { value: n, location: s };
3422
3579
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3423
3580
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3424
3581
  switch (a) {
3425
3582
  case "":
3426
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3583
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
3427
3584
  case "number":
3428
3585
  case "date":
3429
3586
  case "time": {
@@ -3431,49 +3588,49 @@ var fi = (
3431
3588
  var u = null;
3432
3589
  if (this.bumpIf(",")) {
3433
3590
  this.bumpSpace();
3434
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3435
- if (f.err)
3436
- return f;
3437
- var c = ci(f.val);
3438
- if (c.length === 0)
3439
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3440
- var m = g(h, this.clonePosition());
3441
- u = { style: c, styleLocation: m };
3591
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3592
+ if (c.err)
3593
+ return c;
3594
+ var f = Oi(c.val);
3595
+ if (f.length === 0)
3596
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3597
+ var p = v(h, this.clonePosition());
3598
+ u = { style: f, styleLocation: p };
3442
3599
  }
3443
- var y = this.tryParseArgumentClose(i);
3444
- if (y.err)
3445
- return y;
3446
- var b = g(i, this.clonePosition());
3447
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3448
- var H = hi(u.style.slice(2));
3600
+ var m = this.tryParseArgumentClose(i);
3601
+ if (m.err)
3602
+ return m;
3603
+ var d = v(i, this.clonePosition());
3604
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3605
+ var x = Pi(u.style.slice(2));
3449
3606
  if (a === "number") {
3450
- var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3451
- return f.err ? f : {
3452
- val: { type: x.number, value: n, location: b, style: f.val },
3607
+ var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3608
+ return c.err ? c : {
3609
+ val: { type: w.number, value: n, location: d, style: c.val },
3453
3610
  err: null
3454
3611
  };
3455
3612
  } else {
3456
- if (H.length === 0)
3457
- return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3458
- var S = H;
3459
- this.locale && (S = qn(H, this.locale));
3460
- var c = {
3461
- type: X.dateTime,
3462
- pattern: S,
3613
+ if (x.length === 0)
3614
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
3615
+ var E = x;
3616
+ this.locale && (E = gi(x, this.locale));
3617
+ var f = {
3618
+ type: Q.dateTime,
3619
+ pattern: E,
3463
3620
  location: u.styleLocation,
3464
- parsedOptions: this.shouldParseSkeletons ? Vn(S) : {}
3465
- }, A = a === "date" ? x.date : x.time;
3621
+ parsedOptions: this.shouldParseSkeletons ? hi(E) : {}
3622
+ }, H = a === "date" ? w.date : w.time;
3466
3623
  return {
3467
- val: { type: A, value: n, location: b, style: c },
3624
+ val: { type: H, value: n, location: d, style: f },
3468
3625
  err: null
3469
3626
  };
3470
3627
  }
3471
3628
  }
3472
3629
  return {
3473
3630
  val: {
3474
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3631
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3475
3632
  value: n,
3476
- location: b,
3633
+ location: d,
3477
3634
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3478
3635
  },
3479
3636
  err: null
@@ -3484,50 +3641,50 @@ var fi = (
3484
3641
  case "select": {
3485
3642
  var _ = this.clonePosition();
3486
3643
  if (this.bumpSpace(), !this.bumpIf(","))
3487
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, be({}, _)));
3644
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Se({}, _)));
3488
3645
  this.bumpSpace();
3489
- var E = this.parseIdentifierIfPossible(), v = 0;
3490
- if (a !== "select" && E.value === "offset") {
3646
+ var S = this.parseIdentifierIfPossible(), b = 0;
3647
+ if (a !== "select" && S.value === "offset") {
3491
3648
  if (!this.bumpIf(":"))
3492
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3649
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3493
3650
  this.bumpSpace();
3494
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3495
- if (f.err)
3496
- return f;
3497
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), v = f.val;
3651
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3652
+ if (c.err)
3653
+ return c;
3654
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), b = c.val;
3498
3655
  }
3499
- var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3656
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, S);
3500
3657
  if (B.err)
3501
3658
  return B;
3502
- var y = this.tryParseArgumentClose(i);
3503
- if (y.err)
3504
- return y;
3505
- var ae = g(i, this.clonePosition());
3659
+ var m = this.tryParseArgumentClose(i);
3660
+ if (m.err)
3661
+ return m;
3662
+ var ce = v(i, this.clonePosition());
3506
3663
  return a === "select" ? {
3507
3664
  val: {
3508
- type: x.select,
3665
+ type: w.select,
3509
3666
  value: n,
3510
- options: Tt(B.val),
3511
- location: ae
3667
+ options: Nt(B.val),
3668
+ location: ce
3512
3669
  },
3513
3670
  err: null
3514
3671
  } : {
3515
3672
  val: {
3516
- type: x.plural,
3673
+ type: w.plural,
3517
3674
  value: n,
3518
- options: Tt(B.val),
3519
- offset: v,
3675
+ options: Nt(B.val),
3676
+ offset: b,
3520
3677
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3521
- location: ae
3678
+ location: ce
3522
3679
  },
3523
3680
  err: null
3524
3681
  };
3525
3682
  }
3526
3683
  default:
3527
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3684
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
3528
3685
  }
3529
3686
  }, e.prototype.tryParseArgumentClose = function(t) {
3530
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3687
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3531
3688
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3532
3689
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3533
3690
  var n = this.char();
@@ -3536,7 +3693,7 @@ var fi = (
3536
3693
  this.bump();
3537
3694
  var i = this.clonePosition();
3538
3695
  if (!this.bumpUntil("'"))
3539
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3696
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3540
3697
  this.bump();
3541
3698
  break;
3542
3699
  }
@@ -3566,52 +3723,52 @@ var fi = (
3566
3723
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3567
3724
  var n = [];
3568
3725
  try {
3569
- n = zn(t);
3726
+ n = fi(t);
3570
3727
  } catch (i) {
3571
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3728
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3572
3729
  }
3573
3730
  return {
3574
3731
  val: {
3575
- type: X.number,
3732
+ type: Q.number,
3576
3733
  tokens: n,
3577
3734
  location: r,
3578
- parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
3735
+ parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
3579
3736
  },
3580
3737
  err: null
3581
3738
  };
3582
3739
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3583
3740
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3584
3741
  if (u.length === 0) {
3585
- var f = this.clonePosition();
3742
+ var c = this.clonePosition();
3586
3743
  if (r !== "select" && this.bumpIf("=")) {
3587
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3588
- if (c.err)
3589
- return c;
3590
- h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3744
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3745
+ if (f.err)
3746
+ return f;
3747
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3591
3748
  } else
3592
3749
  break;
3593
3750
  }
3594
3751
  if (l.has(u))
3595
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3752
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3596
3753
  u === "other" && (s = !0), this.bumpSpace();
3597
- var m = this.clonePosition();
3754
+ var p = this.clonePosition();
3598
3755
  if (!this.bumpIf("{"))
3599
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3600
- var y = this.parseMessage(t + 1, r, n);
3601
- if (y.err)
3602
- return y;
3603
- var b = this.tryParseArgumentClose(m);
3604
- if (b.err)
3605
- return b;
3756
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3757
+ var m = this.parseMessage(t + 1, r, n);
3758
+ if (m.err)
3759
+ return m;
3760
+ var d = this.tryParseArgumentClose(p);
3761
+ if (d.err)
3762
+ return d;
3606
3763
  a.push([
3607
3764
  u,
3608
3765
  {
3609
- value: y.val,
3610
- location: g(m, this.clonePosition())
3766
+ value: m.val,
3767
+ location: v(p, this.clonePosition())
3611
3768
  }
3612
3769
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3613
3770
  }
3614
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3771
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3615
3772
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3616
3773
  var n = 1, i = this.clonePosition();
3617
3774
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3622,8 +3779,8 @@ var fi = (
3622
3779
  else
3623
3780
  break;
3624
3781
  }
3625
- var l = g(i, this.clonePosition());
3626
- return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3782
+ var l = v(i, this.clonePosition());
3783
+ return o ? (s *= n, Bi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3627
3784
  }, e.prototype.offset = function() {
3628
3785
  return this.position.offset;
3629
3786
  }, e.prototype.isEOF = function() {
@@ -3638,7 +3795,7 @@ var fi = (
3638
3795
  var t = this.position.offset;
3639
3796
  if (t >= this.message.length)
3640
3797
  throw Error("out of bound");
3641
- var r = hr(this.message, t);
3798
+ var r = Er(this.message, t);
3642
3799
  if (r === void 0)
3643
3800
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3644
3801
  return r;
@@ -3657,7 +3814,7 @@ var fi = (
3657
3814
  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);
3658
3815
  }
3659
3816
  }, e.prototype.bumpIf = function(t) {
3660
- if (wt(this.message, t, this.offset())) {
3817
+ if (Mt(this.message, t, this.offset())) {
3661
3818
  for (var r = 0; r < t.length; r++)
3662
3819
  this.bump();
3663
3820
  return !0;
@@ -3679,7 +3836,7 @@ var fi = (
3679
3836
  break;
3680
3837
  }
3681
3838
  }, e.prototype.bumpSpace = function() {
3682
- for (; !this.isEOF() && fr(this.char()); )
3839
+ for (; !this.isEOF() && wr(this.char()); )
3683
3840
  this.bump();
3684
3841
  }, e.prototype.peek = function() {
3685
3842
  if (this.isEOF())
@@ -3689,47 +3846,47 @@ var fi = (
3689
3846
  }, e;
3690
3847
  }()
3691
3848
  );
3692
- function Je(e) {
3849
+ function nt(e) {
3693
3850
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3694
3851
  }
3695
- function mi(e) {
3696
- return Je(e) || e === 47;
3852
+ function Mi(e) {
3853
+ return nt(e) || e === 47;
3697
3854
  }
3698
- function di(e) {
3855
+ function Ni(e) {
3699
3856
  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;
3700
3857
  }
3701
- function fr(e) {
3858
+ function wr(e) {
3702
3859
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3703
3860
  }
3704
- function pi(e) {
3861
+ function Li(e) {
3705
3862
  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;
3706
3863
  }
3707
- function qe(e) {
3864
+ function it(e) {
3708
3865
  e.forEach(function(t) {
3709
- if (delete t.location, rr(t) || nr(t))
3866
+ if (delete t.location, pr(t) || dr(t))
3710
3867
  for (var r in t.options)
3711
- delete t.options[r].location, qe(t.options[r].value);
3868
+ delete t.options[r].location, it(t.options[r].value);
3712
3869
  else
3713
- Kt(t) && or(t.style) || (er(t) || tr(t)) && ze(t.style) ? delete t.style.location : ir(t) && qe(t.children);
3870
+ cr(t) && gr(t.style) || (fr(t) || mr(t)) && Ke(t.style) ? delete t.style.location : br(t) && it(t.children);
3714
3871
  });
3715
3872
  }
3716
- function bi(e, t) {
3717
- t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3718
- var r = new fi(e, t).parse();
3873
+ function $i(e, t) {
3874
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3875
+ var r = new Ii(e, t).parse();
3719
3876
  if (r.err) {
3720
- var n = SyntaxError(p[r.err.kind]);
3877
+ var n = SyntaxError(y[r.err.kind]);
3721
3878
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3722
3879
  }
3723
- return t != null && t.captureLocation || qe(r.val), r.val;
3880
+ return t != null && t.captureLocation || it(r.val), r.val;
3724
3881
  }
3725
- var z;
3882
+ var J;
3726
3883
  (function(e) {
3727
3884
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3728
- })(z || (z = {}));
3729
- var Se = (
3885
+ })(J || (J = {}));
3886
+ var Pe = (
3730
3887
  /** @class */
3731
3888
  function(e) {
3732
- Ee(t, e);
3889
+ Ce(t, e);
3733
3890
  function t(r, n, i) {
3734
3891
  var o = e.call(this, r) || this;
3735
3892
  return o.code = n, o.originalMessage = i, o;
@@ -3738,48 +3895,48 @@ var Se = (
3738
3895
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3739
3896
  }, t;
3740
3897
  }(Error)
3741
- ), At = (
3898
+ ), $t = (
3742
3899
  /** @class */
3743
3900
  function(e) {
3744
- Ee(t, e);
3901
+ Ce(t, e);
3745
3902
  function t(r, n, i, o) {
3746
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3903
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3747
3904
  }
3748
3905
  return t;
3749
- }(Se)
3750
- ), gi = (
3906
+ }(Pe)
3907
+ ), Ri = (
3751
3908
  /** @class */
3752
3909
  function(e) {
3753
- Ee(t, e);
3910
+ Ce(t, e);
3754
3911
  function t(r, n, i) {
3755
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3912
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3756
3913
  }
3757
3914
  return t;
3758
- }(Se)
3759
- ), vi = (
3915
+ }(Pe)
3916
+ ), Gi = (
3760
3917
  /** @class */
3761
3918
  function(e) {
3762
- Ee(t, e);
3919
+ Ce(t, e);
3763
3920
  function t(r, n) {
3764
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3921
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3765
3922
  }
3766
3923
  return t;
3767
- }(Se)
3924
+ }(Pe)
3768
3925
  ), P;
3769
3926
  (function(e) {
3770
3927
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3771
3928
  })(P || (P = {}));
3772
- function yi(e) {
3929
+ function Ui(e) {
3773
3930
  return e.length < 2 ? e : e.reduce(function(t, r) {
3774
3931
  var n = t[t.length - 1];
3775
3932
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3776
3933
  }, []);
3777
3934
  }
3778
- function _i(e) {
3935
+ function Di(e) {
3779
3936
  return typeof e == "function";
3780
3937
  }
3781
- function de(e, t, r, n, i, o, s) {
3782
- if (e.length === 1 && _t(e[0]))
3938
+ function ye(e, t, r, n, i, o, s) {
3939
+ if (e.length === 1 && Ct(e[0]))
3783
3940
  return [
3784
3941
  {
3785
3942
  type: P.literal,
@@ -3788,105 +3945,105 @@ function de(e, t, r, n, i, o, s) {
3788
3945
  ];
3789
3946
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3790
3947
  var h = u[l];
3791
- if (_t(h)) {
3948
+ if (Ct(h)) {
3792
3949
  a.push({
3793
3950
  type: P.literal,
3794
3951
  value: h.value
3795
3952
  });
3796
3953
  continue;
3797
3954
  }
3798
- if (jn(h)) {
3955
+ if (ui(h)) {
3799
3956
  typeof o == "number" && a.push({
3800
3957
  type: P.literal,
3801
3958
  value: r.getNumberFormat(t).format(o)
3802
3959
  });
3803
3960
  continue;
3804
3961
  }
3805
- var f = h.value;
3806
- if (!(i && f in i))
3807
- throw new vi(f, s);
3808
- var c = i[f];
3809
- if (Fn(h)) {
3810
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3811
- type: typeof c == "string" ? P.literal : P.object,
3812
- value: c
3962
+ var c = h.value;
3963
+ if (!(i && c in i))
3964
+ throw new Gi(c, s);
3965
+ var f = i[c];
3966
+ if (ai(h)) {
3967
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3968
+ type: typeof f == "string" ? P.literal : P.object,
3969
+ value: f
3813
3970
  });
3814
3971
  continue;
3815
3972
  }
3816
- if (er(h)) {
3817
- var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3973
+ if (fr(h)) {
3974
+ var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3818
3975
  a.push({
3819
3976
  type: P.literal,
3820
- value: r.getDateTimeFormat(t, m).format(c)
3977
+ value: r.getDateTimeFormat(t, p).format(f)
3821
3978
  });
3822
3979
  continue;
3823
3980
  }
3824
- if (tr(h)) {
3825
- var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3981
+ if (mr(h)) {
3982
+ var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3826
3983
  a.push({
3827
3984
  type: P.literal,
3828
- value: r.getDateTimeFormat(t, m).format(c)
3985
+ value: r.getDateTimeFormat(t, p).format(f)
3829
3986
  });
3830
3987
  continue;
3831
3988
  }
3832
- if (Kt(h)) {
3833
- var m = typeof h.style == "string" ? n.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
3834
- m && m.scale && (c = c * (m.scale || 1)), a.push({
3989
+ if (cr(h)) {
3990
+ var p = typeof h.style == "string" ? n.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3991
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3835
3992
  type: P.literal,
3836
- value: r.getNumberFormat(t, m).format(c)
3993
+ value: r.getNumberFormat(t, p).format(f)
3837
3994
  });
3838
3995
  continue;
3839
3996
  }
3840
- if (ir(h)) {
3841
- var y = h.children, b = h.value, H = i[b];
3842
- if (!_i(H))
3843
- throw new gi(b, "function", s);
3844
- var S = de(y, t, r, n, i, o), A = H(S.map(function(v) {
3845
- return v.value;
3997
+ if (br(h)) {
3998
+ var m = h.children, d = h.value, x = i[d];
3999
+ if (!Di(x))
4000
+ throw new Ri(d, "function", s);
4001
+ var E = ye(m, t, r, n, i, o), H = x(E.map(function(b) {
4002
+ return b.value;
3846
4003
  }));
3847
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(v) {
4004
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(b) {
3848
4005
  return {
3849
- type: typeof v == "string" ? P.literal : P.object,
3850
- value: v
4006
+ type: typeof b == "string" ? P.literal : P.object,
4007
+ value: b
3851
4008
  };
3852
4009
  }));
3853
4010
  }
3854
- if (rr(h)) {
3855
- var _ = h.options[c] || h.options.other;
4011
+ if (pr(h)) {
4012
+ var _ = h.options[f] || h.options.other;
3856
4013
  if (!_)
3857
- throw new At(h.value, c, Object.keys(h.options), s);
3858
- a.push.apply(a, de(_.value, t, r, n, i));
4014
+ throw new $t(h.value, f, Object.keys(h.options), s);
4015
+ a.push.apply(a, ye(_.value, t, r, n, i));
3859
4016
  continue;
3860
4017
  }
3861
- if (nr(h)) {
3862
- var _ = h.options["=".concat(c)];
4018
+ if (dr(h)) {
4019
+ var _ = h.options["=".concat(f)];
3863
4020
  if (!_) {
3864
4021
  if (!Intl.PluralRules)
3865
- throw new Se(`Intl.PluralRules is not available in this environment.
4022
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3866
4023
  Try polyfilling it using "@formatjs/intl-pluralrules"
3867
- `, z.MISSING_INTL_API, s);
3868
- var E = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3869
- _ = h.options[E] || h.options.other;
4024
+ `, J.MISSING_INTL_API, s);
4025
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4026
+ _ = h.options[S] || h.options.other;
3870
4027
  }
3871
4028
  if (!_)
3872
- throw new At(h.value, c, Object.keys(h.options), s);
3873
- a.push.apply(a, de(_.value, t, r, n, i, c - (h.offset || 0)));
4029
+ throw new $t(h.value, f, Object.keys(h.options), s);
4030
+ a.push.apply(a, ye(_.value, t, r, n, i, f - (h.offset || 0)));
3874
4031
  continue;
3875
4032
  }
3876
4033
  }
3877
- return yi(a);
4034
+ return Ui(a);
3878
4035
  }
3879
- function xi(e, t) {
3880
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3881
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
4036
+ function Fi(e, t) {
4037
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4038
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3882
4039
  }, {})) : e;
3883
4040
  }
3884
- function Ei(e, t) {
4041
+ function ji(e, t) {
3885
4042
  return t ? Object.keys(e).reduce(function(r, n) {
3886
- return r[n] = xi(e[n], t[n]), r;
3887
- }, M({}, e)) : e;
4043
+ return r[n] = Fi(e[n], t[n]), r;
4044
+ }, L({}, e)) : e;
3888
4045
  }
3889
- function Ne(e) {
4046
+ function Fe(e) {
3890
4047
  return {
3891
4048
  create: function() {
3892
4049
  return {
@@ -3900,39 +4057,39 @@ function Ne(e) {
3900
4057
  }
3901
4058
  };
3902
4059
  }
3903
- function Si(e) {
4060
+ function ki(e) {
3904
4061
  return e === void 0 && (e = {
3905
4062
  number: {},
3906
4063
  dateTime: {},
3907
4064
  pluralRules: {}
3908
4065
  }), {
3909
- getNumberFormat: Pe(function() {
4066
+ getNumberFormat: Ge(function() {
3910
4067
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
4068
  r[n] = arguments[n];
3912
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
4069
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3913
4070
  }, {
3914
- cache: Ne(e.number),
3915
- strategy: Oe.variadic
4071
+ cache: Fe(e.number),
4072
+ strategy: Ue.variadic
3916
4073
  }),
3917
- getDateTimeFormat: Pe(function() {
4074
+ getDateTimeFormat: Ge(function() {
3918
4075
  for (var t, r = [], n = 0; n < arguments.length; n++)
3919
4076
  r[n] = arguments[n];
3920
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
4077
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3921
4078
  }, {
3922
- cache: Ne(e.dateTime),
3923
- strategy: Oe.variadic
4079
+ cache: Fe(e.dateTime),
4080
+ strategy: Ue.variadic
3924
4081
  }),
3925
- getPluralRules: Pe(function() {
4082
+ getPluralRules: Ge(function() {
3926
4083
  for (var t, r = [], n = 0; n < arguments.length; n++)
3927
4084
  r[n] = arguments[n];
3928
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
4085
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3929
4086
  }, {
3930
- cache: Ne(e.pluralRules),
3931
- strategy: Oe.variadic
4087
+ cache: Fe(e.pluralRules),
4088
+ strategy: Ue.variadic
3932
4089
  })
3933
4090
  };
3934
4091
  }
3935
- var wi = (
4092
+ var Vi = (
3936
4093
  /** @class */
3937
4094
  function() {
3938
4095
  function e(t, r, n, i) {
@@ -3946,12 +4103,12 @@ var wi = (
3946
4103
  var u = o.formatToParts(l);
3947
4104
  if (u.length === 1)
3948
4105
  return u[0].value;
3949
- var h = u.reduce(function(f, c) {
3950
- return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4106
+ var h = u.reduce(function(c, f) {
4107
+ return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3951
4108
  }, []);
3952
4109
  return h.length <= 1 ? h[0] || "" : h;
3953
4110
  }, this.formatToParts = function(l) {
3954
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4111
+ return ye(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3955
4112
  }, this.resolvedOptions = function() {
3956
4113
  var l;
3957
4114
  return {
@@ -3964,13 +4121,13 @@ var wi = (
3964
4121
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3965
4122
  var s = i || {};
3966
4123
  s.formatters;
3967
- var a = Nn(s, ["formatters"]);
3968
- this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
4124
+ var a = Kn(s, ["formatters"]);
4125
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
3969
4126
  } else
3970
4127
  this.ast = t;
3971
4128
  if (!Array.isArray(this.ast))
3972
4129
  throw new TypeError("A message must be provided as a String or AST.");
3973
- this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
4130
+ this.formats = ji(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
3974
4131
  }
3975
4132
  return Object.defineProperty(e, "defaultLocale", {
3976
4133
  get: function() {
@@ -3983,7 +4140,7 @@ var wi = (
3983
4140
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3984
4141
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3985
4142
  }
3986
- }, e.__parse = bi, e.formats = {
4143
+ }, e.__parse = $i, e.formats = {
3987
4144
  number: {
3988
4145
  integer: {
3989
4146
  maximumFractionDigits: 0
@@ -4044,7 +4201,7 @@ var wi = (
4044
4201
  }, e;
4045
4202
  }()
4046
4203
  );
4047
- function Ti(e, t) {
4204
+ function Xi(e, t) {
4048
4205
  if (t == null)
4049
4206
  return;
4050
4207
  if (t in e)
@@ -4065,92 +4222,92 @@ function Ti(e, t) {
4065
4222
  n = void 0;
4066
4223
  return n;
4067
4224
  }
4068
- const $ = {}, Hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), mr = (e, t) => {
4225
+ const G = {}, zi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Tr = (e, t) => {
4069
4226
  if (t == null)
4070
4227
  return;
4071
- if (t in $ && e in $[t])
4072
- return $[t][e];
4073
- const r = we(t);
4228
+ if (t in G && e in G[t])
4229
+ return G[t][e];
4230
+ const r = Oe(t);
4074
4231
  for (let n = 0; n < r.length; n++) {
4075
- const i = r[n], o = Bi(i, e);
4232
+ const i = r[n], o = Zi(i, e);
4076
4233
  if (o)
4077
- return Hi(e, t, o);
4234
+ return zi(e, t, o);
4078
4235
  }
4079
4236
  };
4080
- let rt;
4081
- const se = xe({});
4082
- function Ai(e) {
4083
- return rt[e] || null;
4237
+ let ht;
4238
+ const he = Be({});
4239
+ function Wi(e) {
4240
+ return ht[e] || null;
4084
4241
  }
4085
- function dr(e) {
4086
- return e in rt;
4242
+ function Hr(e) {
4243
+ return e in ht;
4087
4244
  }
4088
- function Bi(e, t) {
4089
- if (!dr(e))
4245
+ function Zi(e, t) {
4246
+ if (!Hr(e))
4090
4247
  return null;
4091
- const r = Ai(e);
4092
- return Ti(r, t);
4248
+ const r = Wi(e);
4249
+ return Xi(r, t);
4093
4250
  }
4094
- function Ci(e) {
4251
+ function Qi(e) {
4095
4252
  if (e == null)
4096
4253
  return;
4097
- const t = we(e);
4254
+ const t = Oe(e);
4098
4255
  for (let r = 0; r < t.length; r++) {
4099
4256
  const n = t[r];
4100
- if (dr(n))
4257
+ if (Hr(n))
4101
4258
  return n;
4102
4259
  }
4103
4260
  }
4104
- function pr(e, ...t) {
4105
- delete $[e], se.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
4261
+ function Ar(e, ...t) {
4262
+ delete G[e], he.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
4106
4263
  }
4107
- J(
4108
- [se],
4264
+ Y(
4265
+ [he],
4109
4266
  ([e]) => Object.keys(e)
4110
4267
  );
4111
- se.subscribe((e) => rt = e);
4112
- const pe = {};
4113
- function Pi(e, t) {
4114
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4268
+ he.subscribe((e) => ht = e);
4269
+ const ve = {};
4270
+ function Ji(e, t) {
4271
+ ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4115
4272
  }
4116
- function br(e) {
4117
- return pe[e];
4273
+ function Br(e) {
4274
+ return ve[e];
4118
4275
  }
4119
- function Oi(e) {
4120
- return we(e).map((t) => {
4121
- const r = br(t);
4276
+ function qi(e) {
4277
+ return Oe(e).map((t) => {
4278
+ const r = Br(t);
4122
4279
  return [t, r ? [...r] : []];
4123
4280
  }).filter(([, t]) => t.length > 0);
4124
4281
  }
4125
- function Ye(e) {
4126
- return e == null ? !1 : we(e).some(
4282
+ function ot(e) {
4283
+ return e == null ? !1 : Oe(e).some(
4127
4284
  (t) => {
4128
4285
  var r;
4129
- return (r = br(t)) == null ? void 0 : r.size;
4286
+ return (r = Br(t)) == null ? void 0 : r.size;
4130
4287
  }
4131
4288
  );
4132
4289
  }
4133
- function Ii(e, t) {
4290
+ function Yi(e, t) {
4134
4291
  return Promise.all(
4135
- t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
4136
- ).then((n) => pr(e, ...n));
4137
- }
4138
- const K = {};
4139
- function gr(e) {
4140
- if (!Ye(e))
4141
- return e in K ? K[e] : Promise.resolve();
4142
- const t = Oi(e);
4143
- return K[e] = Promise.all(
4292
+ t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
4293
+ ).then((n) => Ar(e, ...n));
4294
+ }
4295
+ const re = {};
4296
+ function Cr(e) {
4297
+ if (!ot(e))
4298
+ return e in re ? re[e] : Promise.resolve();
4299
+ const t = qi(e);
4300
+ return re[e] = Promise.all(
4144
4301
  t.map(
4145
- ([r, n]) => Ii(r, n)
4302
+ ([r, n]) => Yi(r, n)
4146
4303
  )
4147
4304
  ).then(() => {
4148
- if (Ye(e))
4149
- return gr(e);
4150
- delete K[e];
4151
- }), K[e];
4305
+ if (ot(e))
4306
+ return Cr(e);
4307
+ delete re[e];
4308
+ }), re[e];
4152
4309
  }
4153
- const Ni = {
4310
+ const Ki = {
4154
4311
  number: {
4155
4312
  scientific: { notation: "scientific" },
4156
4313
  engineering: { notation: "engineering" },
@@ -4179,181 +4336,181 @@ const Ni = {
4179
4336
  timeZoneName: "short"
4180
4337
  }
4181
4338
  }
4182
- }, Mi = {
4339
+ }, eo = {
4183
4340
  fallbackLocale: null,
4184
4341
  loadingDelay: 200,
4185
- formats: Ni,
4342
+ formats: Ki,
4186
4343
  warnOnMissingMessages: !0,
4187
4344
  handleMissingMessage: void 0,
4188
4345
  ignoreTag: !0
4189
- }, Li = Mi;
4190
- function W() {
4191
- return Li;
4346
+ }, to = eo;
4347
+ function q() {
4348
+ return to;
4192
4349
  }
4193
- const Me = xe(!1);
4194
- var Ri = Object.defineProperty, $i = Object.defineProperties, Gi = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
4350
+ const je = Be(!1);
4351
+ var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
4195
4352
  for (var r in t || (t = {}))
4196
- Ui.call(t, r) && Ct(e, r, t[r]);
4197
- if (Bt)
4198
- for (var r of Bt(t))
4199
- Di.call(t, r) && Ct(e, r, t[r]);
4353
+ oo.call(t, r) && Gt(e, r, t[r]);
4354
+ if (Rt)
4355
+ for (var r of Rt(t))
4356
+ so.call(t, r) && Gt(e, r, t[r]);
4200
4357
  return e;
4201
- }, ji = (e, t) => $i(e, Gi(t));
4202
- let Ke;
4203
- const ge = xe(null);
4204
- function Pt(e) {
4358
+ }, uo = (e, t) => no(e, io(t));
4359
+ let st;
4360
+ const we = Be(null);
4361
+ function Ut(e) {
4205
4362
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4206
4363
  }
4207
- function we(e, t = W().fallbackLocale) {
4208
- const r = Pt(e);
4209
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4364
+ function Oe(e, t = q().fallbackLocale) {
4365
+ const r = Ut(e);
4366
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4210
4367
  }
4211
- function G() {
4212
- return Ke != null ? Ke : void 0;
4368
+ function F() {
4369
+ return st != null ? st : void 0;
4213
4370
  }
4214
- ge.subscribe((e) => {
4215
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4371
+ we.subscribe((e) => {
4372
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4216
4373
  });
4217
- const ki = (e) => {
4218
- if (e && Ci(e) && Ye(e)) {
4219
- const { loadingDelay: t } = W();
4374
+ const lo = (e) => {
4375
+ if (e && Qi(e) && ot(e)) {
4376
+ const { loadingDelay: t } = q();
4220
4377
  let r;
4221
- return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4222
- () => Me.set(!0),
4378
+ return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4379
+ () => je.set(!0),
4223
4380
  t
4224
- ) : Me.set(!0), gr(e).then(() => {
4225
- ge.set(e);
4381
+ ) : je.set(!0), Cr(e).then(() => {
4382
+ we.set(e);
4226
4383
  }).finally(() => {
4227
- clearTimeout(r), Me.set(!1);
4384
+ clearTimeout(r), je.set(!1);
4228
4385
  });
4229
4386
  }
4230
- return ge.set(e);
4231
- }, q = ji(Fi({}, ge), {
4232
- set: ki
4233
- }), Te = (e) => {
4387
+ return we.set(e);
4388
+ }, K = uo(ao({}, we), {
4389
+ set: lo
4390
+ }), Ie = (e) => {
4234
4391
  const t = /* @__PURE__ */ Object.create(null);
4235
4392
  return (n) => {
4236
4393
  const i = JSON.stringify(n);
4237
4394
  return i in t ? t[i] : t[i] = e(n);
4238
4395
  };
4239
4396
  };
4240
- var Vi = Object.defineProperty, ve = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4397
+ var ho = Object.defineProperty, Te = Object.getOwnPropertySymbols, Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4241
4398
  for (var r in t || (t = {}))
4242
- vr.call(t, r) && Ot(e, r, t[r]);
4243
- if (ve)
4244
- for (var r of ve(t))
4245
- yr.call(t, r) && Ot(e, r, t[r]);
4399
+ Pr.call(t, r) && Dt(e, r, t[r]);
4400
+ if (Te)
4401
+ for (var r of Te(t))
4402
+ Or.call(t, r) && Dt(e, r, t[r]);
4246
4403
  return e;
4247
- }, Y = (e, t) => {
4404
+ }, ee = (e, t) => {
4248
4405
  var r = {};
4249
4406
  for (var n in e)
4250
- vr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4251
- if (e != null && ve)
4252
- for (var n of ve(e))
4253
- t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
4407
+ Pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4408
+ if (e != null && Te)
4409
+ for (var n of Te(e))
4410
+ t.indexOf(n) < 0 && Or.call(e, n) && (r[n] = e[n]);
4254
4411
  return r;
4255
4412
  };
4256
- const ne = (e, t) => {
4257
- const { formats: r } = W();
4413
+ const se = (e, t) => {
4414
+ const { formats: r } = q();
4258
4415
  if (e in r && t in r[e])
4259
4416
  return r[e][t];
4260
4417
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4261
- }, Xi = Te(
4418
+ }, co = Ie(
4262
4419
  (e) => {
4263
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4420
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4264
4421
  if (r == null)
4265
4422
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4266
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4423
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4267
4424
  }
4268
- ), zi = Te(
4425
+ ), fo = Ie(
4269
4426
  (e) => {
4270
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4427
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4271
4428
  if (r == null)
4272
4429
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4273
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4430
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4274
4431
  }
4275
- ), Wi = Te(
4432
+ ), mo = Ie(
4276
4433
  (e) => {
4277
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4434
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4278
4435
  if (r == null)
4279
4436
  throw new Error(
4280
4437
  '[svelte-i18n] A "locale" must be set to format time values'
4281
4438
  );
4282
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4439
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4283
4440
  }
4284
- ), Zi = (e = {}) => {
4441
+ ), po = (e = {}) => {
4285
4442
  var t = e, {
4286
- locale: r = G()
4287
- } = t, n = Y(t, [
4443
+ locale: r = F()
4444
+ } = t, n = ee(t, [
4288
4445
  "locale"
4289
4446
  ]);
4290
- return Xi(nt({ locale: r }, n));
4291
- }, Qi = (e = {}) => {
4447
+ return co(ct({ locale: r }, n));
4448
+ }, bo = (e = {}) => {
4292
4449
  var t = e, {
4293
- locale: r = G()
4294
- } = t, n = Y(t, [
4450
+ locale: r = F()
4451
+ } = t, n = ee(t, [
4295
4452
  "locale"
4296
4453
  ]);
4297
- return zi(nt({ locale: r }, n));
4298
- }, Ji = (e = {}) => {
4454
+ return fo(ct({ locale: r }, n));
4455
+ }, go = (e = {}) => {
4299
4456
  var t = e, {
4300
- locale: r = G()
4301
- } = t, n = Y(t, [
4457
+ locale: r = F()
4458
+ } = t, n = ee(t, [
4302
4459
  "locale"
4303
4460
  ]);
4304
- return Wi(nt({ locale: r }, n));
4305
- }, qi = Te(
4461
+ return mo(ct({ locale: r }, n));
4462
+ }, yo = Ie(
4306
4463
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4307
- (e, t = G()) => new wi(e, t, W().formats, {
4308
- ignoreTag: W().ignoreTag
4464
+ (e, t = F()) => new Vi(e, t, q().formats, {
4465
+ ignoreTag: q().ignoreTag
4309
4466
  })
4310
- ), Yi = (e, t = {}) => {
4467
+ ), vo = (e, t = {}) => {
4311
4468
  var r, n, i, o;
4312
4469
  let s = t;
4313
4470
  typeof e == "object" && (s = e, e = s.id);
4314
4471
  const {
4315
4472
  values: a,
4316
- locale: l = G(),
4473
+ locale: l = F(),
4317
4474
  default: u
4318
4475
  } = s;
4319
4476
  if (l == null)
4320
4477
  throw new Error(
4321
4478
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4322
4479
  );
4323
- let h = mr(e, l);
4480
+ let h = Tr(e, l);
4324
4481
  if (!h)
4325
- h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4482
+ 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;
4326
4483
  else if (typeof h != "string")
4327
4484
  return console.warn(
4328
4485
  `[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.`
4329
4486
  ), h;
4330
4487
  if (!a)
4331
4488
  return h;
4332
- let f = h;
4489
+ let c = h;
4333
4490
  try {
4334
- f = qi(h, l).format(a);
4335
- } catch (c) {
4336
- c instanceof Error && console.warn(
4491
+ c = yo(h, l).format(a);
4492
+ } catch (f) {
4493
+ f instanceof Error && console.warn(
4337
4494
  `[svelte-i18n] Message "${e}" has syntax error:`,
4338
- c.message
4495
+ f.message
4339
4496
  );
4340
4497
  }
4341
- return f;
4342
- }, Ki = (e, t) => Ji(t).format(e), eo = (e, t) => Qi(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = G()) => mr(e, t), no = J([q, se], () => Yi);
4343
- J([q], () => Ki);
4344
- J([q], () => eo);
4345
- J([q], () => to);
4346
- J([q, se], () => ro);
4347
- window.emWidgets = { topic: bn };
4348
- const io = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4498
+ return c;
4499
+ }, _o = (e, t) => go(t).format(e), xo = (e, t) => bo(t).format(e), Eo = (e, t) => po(t).format(e), So = (e, t = F()) => Tr(e, t), wo = Y([K, he], () => vo);
4500
+ Y([K], () => _o);
4501
+ Y([K], () => xo);
4502
+ Y([K], () => Eo);
4503
+ Y([K, he], () => So);
4504
+ window.emWidgets = { topic: $n };
4505
+ const To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4349
4506
  String(Number.MAX_SAFE_INTEGER).length;
4350
- function oo(e, t) {
4507
+ function Ho(e, t) {
4351
4508
  if (e) {
4352
4509
  const r = document.createElement("style");
4353
4510
  r.innerHTML = t, e.appendChild(r);
4354
4511
  }
4355
4512
  }
4356
- function so(e, t) {
4513
+ function Ao(e, t) {
4357
4514
  if (!e || !t)
4358
4515
  return;
4359
4516
  const r = new URL(t);
@@ -4364,7 +4521,7 @@ function so(e, t) {
4364
4521
  console.error("There was an error while trying to load client styling from URL", n);
4365
4522
  });
4366
4523
  }
4367
- function ao(e, t, r) {
4524
+ function Bo(e, t, r) {
4368
4525
  if (window.emMessageBus) {
4369
4526
  const n = document.createElement("style");
4370
4527
  window.emMessageBus.subscribe(t, (i) => {
@@ -4372,13 +4529,13 @@ function ao(e, t, r) {
4372
4529
  });
4373
4530
  }
4374
4531
  }
4375
- function It(e, t) {
4376
- pr(e, t);
4532
+ function Ft(e, t) {
4533
+ Ar(e, t);
4377
4534
  }
4378
- function uo(e) {
4379
- q.set(e);
4535
+ function Co(e) {
4536
+ K.set(e);
4380
4537
  }
4381
- const Nt = {
4538
+ const jt = {
4382
4539
  en: {
4383
4540
  cancel: "Cancel",
4384
4541
  confirm: "Confirm"
@@ -4424,61 +4581,61 @@ const Nt = {
4424
4581
  confirm: "Confirm"
4425
4582
  }
4426
4583
  };
4427
- function lo(e) {
4428
- Rr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4584
+ function Po(e) {
4585
+ qr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4429
4586
  }
4430
- const ho = (e) => ({}), Mt = (e) => ({});
4431
- function co(e) {
4587
+ const Oo = (e) => ({}), kt = (e) => ({});
4588
+ function Io(e) {
4432
4589
  let t, r;
4433
4590
  return {
4434
4591
  c() {
4435
- t = ht("svg"), r = ht("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4592
+ t = yt("svg"), r = yt("path"), A(r, "stroke-linecap", "round"), A(r, "stroke-linejoin", "round"), A(r, "stroke-width", "2"), A(r, "d", "M6 18L18 6M6 6l12 12"), A(t, "class", "w-6 h-6"), A(t, "fill", "none"), A(t, "stroke", "currentColor"), A(t, "viewBox", "0 0 24 24"), A(t, "xmlns", "http://www.w3.org/2000/svg");
4436
4593
  },
4437
4594
  m(n, i) {
4438
- ie(n, t, i), C(t, r);
4595
+ ae(n, t, i), C(t, r);
4439
4596
  },
4440
- p: L,
4597
+ p: N,
4441
4598
  d(n) {
4442
- n && Q(t);
4599
+ n && D(t);
4443
4600
  }
4444
4601
  };
4445
4602
  }
4446
- function Lt(e) {
4603
+ function Vt(e) {
4447
4604
  let t, r, n;
4448
4605
  return {
4449
4606
  c() {
4450
- t = N("div"), r = N("h2"), n = ye(
4607
+ t = M("div"), r = M("h2"), n = ue(
4451
4608
  /*modaltitle*/
4452
4609
  e[1]
4453
- ), T(t, "class", "GeneralConfirmationTitle");
4610
+ ), A(t, "class", "GeneralConfirmationTitle");
4454
4611
  },
4455
4612
  m(i, o) {
4456
- ie(i, t, o), C(t, r), C(r, n);
4613
+ ae(i, t, o), C(t, r), C(r, n);
4457
4614
  },
4458
4615
  p(i, o) {
4459
4616
  o & /*modaltitle*/
4460
- 2 && tt(
4617
+ 2 && lt(
4461
4618
  n,
4462
4619
  /*modaltitle*/
4463
4620
  i[1]
4464
4621
  );
4465
4622
  },
4466
4623
  d(i) {
4467
- i && Q(t);
4624
+ i && D(t);
4468
4625
  }
4469
4626
  };
4470
4627
  }
4471
- function Rt(e) {
4628
+ function Xt(e) {
4472
4629
  let t, r = (
4473
4630
  /*$_*/
4474
4631
  e[4]("cancel") + ""
4475
4632
  ), n, i, o;
4476
4633
  return {
4477
4634
  c() {
4478
- t = N("button"), n = ye(r), T(t, "class", "GeneralCancelButton");
4635
+ t = M("button"), n = ue(r), A(t, "class", "GeneralCancelButton");
4479
4636
  },
4480
4637
  m(s, a) {
4481
- ie(s, t, a), C(t, n), i || (o = Le(
4638
+ ae(s, t, a), C(t, n), i || (o = ke(
4482
4639
  t,
4483
4640
  "click",
4484
4641
  /*click_handler*/
@@ -4488,177 +4645,177 @@ function Rt(e) {
4488
4645
  p(s, a) {
4489
4646
  a & /*$_*/
4490
4647
  16 && r !== (r = /*$_*/
4491
- s[4]("cancel") + "") && tt(n, r);
4648
+ s[4]("cancel") + "") && lt(n, r);
4492
4649
  },
4493
4650
  d(s) {
4494
- s && Q(t), i = !1, o();
4651
+ s && D(t), i = !1, o();
4495
4652
  }
4496
4653
  };
4497
4654
  }
4498
- function fo(e) {
4499
- let t, r, n, i, o, s, a, l, u, h, f = (
4655
+ function Mo(e) {
4656
+ let t, r, n, i, o, s, a, l, u, h, c = (
4500
4657
  /*$_*/
4501
4658
  e[4]("confirm") + ""
4502
- ), c, m, y, b;
4503
- const H = (
4659
+ ), f, p, m, d;
4660
+ const x = (
4504
4661
  /*#slots*/
4505
4662
  e[17].close
4506
- ), S = Ir(
4507
- H,
4663
+ ), E = Xr(
4664
+ x,
4508
4665
  e,
4509
4666
  /*$$scope*/
4510
4667
  e[16],
4511
- Mt
4512
- ), A = S || co();
4668
+ kt
4669
+ ), H = E || Io();
4513
4670
  let _ = (
4514
4671
  /*modaltitle*/
4515
- e[1] && Lt(e)
4516
- ), E = (
4672
+ e[1] && Vt(e)
4673
+ ), S = (
4517
4674
  /*hascancelbutton*/
4518
- e[2] && Rt(e)
4675
+ e[2] && Xt(e)
4519
4676
  );
4520
4677
  return {
4521
4678
  c() {
4522
- t = N("div"), r = N("div"), n = N("span"), A && A.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = ue(), l = N("div"), E && E.c(), u = ue(), h = N("button"), c = ye(f), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4523
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4524
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4679
+ t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = fe(), _ && _.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), S && S.c(), u = fe(), h = M("button"), f = ue(c), A(n, "class", "ModalCloseBtn"), A(n, "role", "button"), A(s, "class", "GeneralConfirmationContent"), A(h, "class", "GeneralConfirmButton"), A(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4680
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), A(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4681
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), A(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4525
4682
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4526
4683
  },
4527
- m(v, B) {
4528
- ie(v, t, B), C(t, r), C(r, n), A && A.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4529
- e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, c), e[20](t), m = !0, y || (b = [
4530
- Le(
4684
+ m(b, B) {
4685
+ ae(b, t, B), C(t, r), C(r, n), H && H.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4686
+ e[0], C(r, a), C(r, l), S && S.m(l, null), C(l, u), C(l, h), C(h, f), e[20](t), p = !0, m || (d = [
4687
+ ke(
4531
4688
  n,
4532
4689
  "click",
4533
4690
  /*close*/
4534
4691
  e[6]
4535
4692
  ),
4536
- Le(
4693
+ ke(
4537
4694
  h,
4538
4695
  "click",
4539
4696
  /*click_handler_1*/
4540
4697
  e[19]
4541
4698
  )
4542
- ], y = !0);
4699
+ ], m = !0);
4543
4700
  },
4544
- p(v, [B]) {
4545
- S && S.p && (!m || B & /*$$scope*/
4546
- 65536) && Mr(
4547
- S,
4548
- H,
4549
- v,
4701
+ p(b, [B]) {
4702
+ E && E.p && (!p || B & /*$$scope*/
4703
+ 65536) && Wr(
4704
+ E,
4705
+ x,
4706
+ b,
4550
4707
  /*$$scope*/
4551
- v[16],
4552
- m ? Nr(
4553
- H,
4708
+ b[16],
4709
+ p ? zr(
4710
+ x,
4554
4711
  /*$$scope*/
4555
- v[16],
4712
+ b[16],
4556
4713
  B,
4557
- ho
4558
- ) : Lr(
4714
+ Oo
4715
+ ) : Zr(
4559
4716
  /*$$scope*/
4560
- v[16]
4717
+ b[16]
4561
4718
  ),
4562
- Mt
4719
+ kt
4563
4720
  ), /*modaltitle*/
4564
- v[1] ? _ ? _.p(v, B) : (_ = Lt(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || B & /*modaltext*/
4721
+ b[1] ? _ ? _.p(b, B) : (_ = Vt(b), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || B & /*modaltext*/
4565
4722
  1) && (s.innerHTML = /*modaltext*/
4566
- v[0]), /*hascancelbutton*/
4567
- v[2] ? E ? E.p(v, B) : (E = Rt(v), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || B & /*$_*/
4568
- 16) && f !== (f = /*$_*/
4569
- v[4]("confirm") + "") && tt(c, f);
4723
+ b[0]), /*hascancelbutton*/
4724
+ b[2] ? S ? S.p(b, B) : (S = Xt(b), S.c(), S.m(l, u)) : S && (S.d(1), S = null), (!p || B & /*$_*/
4725
+ 16) && c !== (c = /*$_*/
4726
+ b[4]("confirm") + "") && lt(f, c);
4570
4727
  },
4571
- i(v) {
4572
- m || (jt(A, v), m = !0);
4728
+ i(b) {
4729
+ p || (er(H, b), p = !0);
4573
4730
  },
4574
- o(v) {
4575
- Wr(A, v), m = !1;
4731
+ o(b) {
4732
+ mn(H, b), p = !1;
4576
4733
  },
4577
- d(v) {
4578
- v && Q(t), A && A.d(v), _ && _.d(), E && E.d(), e[20](null), y = !1, Z(b);
4734
+ d(b) {
4735
+ b && D(t), H && H.d(b), _ && _.d(), S && S.d(), e[20](null), m = !1, U(d);
4579
4736
  }
4580
4737
  };
4581
4738
  }
4582
- function mo(e, t, r) {
4739
+ function No(e, t, r) {
4583
4740
  let n;
4584
- Or(e, no, (d) => r(4, n = d));
4585
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = "" } = t, { modalcancelevent: h = "" } = t, { modalconfirmdata: f = {} } = t, { lang: c = "en" } = t, { clientstyling: m = "" } = t, { clientstylingurl: y = "" } = t, { translationurl: b = "" } = t, { mbsource: H } = t, S, A = window.navigator.userAgent, _ = io(A) !== "PC";
4586
- const E = () => {
4741
+ Vr(e, wo, (g) => r(4, n = g));
4742
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = "" } = t, { modalcancelevent: h = "" } = t, { modalconfirmdata: c = {} } = t, { lang: f = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: x } = t, E, H = window.navigator.userAgent, _ = To(H) !== "PC";
4743
+ const S = () => {
4587
4744
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4588
- }, v = (d) => {
4589
- d === "confirm" && u && S.dispatchEvent(new CustomEvent(
4745
+ }, b = (g) => {
4746
+ g === "confirm" && u && E.dispatchEvent(new CustomEvent(
4590
4747
  u,
4591
4748
  {
4592
- detail: f,
4749
+ detail: c,
4593
4750
  // payload
4594
4751
  bubbles: !0,
4595
4752
  composed: !0
4596
4753
  }
4597
- )), d === "cancel" && h && S.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), E();
4754
+ )), g === "cancel" && h && E.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), S();
4598
4755
  }, B = () => {
4599
- fetch(b).then((U) => U.json()).then((U) => {
4600
- Object.keys(U).forEach((it) => {
4601
- It(it, U[it]);
4756
+ fetch(d).then((j) => j.json()).then((j) => {
4757
+ Object.keys(j).forEach((ft) => {
4758
+ Ft(ft, j[ft]);
4602
4759
  });
4603
- }).catch((U) => {
4604
- console.log(U);
4760
+ }).catch((j) => {
4761
+ console.log(j);
4605
4762
  });
4606
4763
  };
4607
- Object.keys(Nt).forEach((d) => {
4608
- It(d, Nt[d]);
4764
+ Object.keys(jt).forEach((g) => {
4765
+ Ft(g, jt[g]);
4609
4766
  });
4610
- const ae = () => {
4611
- uo(c);
4767
+ const ce = () => {
4768
+ Co(f);
4612
4769
  };
4613
- Fr(() => () => {
4770
+ an(() => () => {
4614
4771
  });
4615
- const xr = () => v("cancel"), Er = () => v("confirm");
4616
- function Sr(d) {
4617
- Re[d ? "unshift" : "push"](() => {
4618
- S = d, r(3, S);
4772
+ const Mr = () => b("cancel"), Nr = () => b("confirm");
4773
+ function Lr(g) {
4774
+ Ve[g ? "unshift" : "push"](() => {
4775
+ E = g, r(3, E);
4619
4776
  });
4620
4777
  }
4621
- return e.$$set = (d) => {
4622
- "modaltext" in d && r(0, s = d.modaltext), "modaltitle" in d && r(1, a = d.modaltitle), "hascancelbutton" in d && r(2, l = d.hascancelbutton), "modalconfirmevent" in d && r(8, u = d.modalconfirmevent), "modalcancelevent" in d && r(9, h = d.modalcancelevent), "modalconfirmdata" in d && r(10, f = d.modalconfirmdata), "lang" in d && r(11, c = d.lang), "clientstyling" in d && r(12, m = d.clientstyling), "clientstylingurl" in d && r(13, y = d.clientstylingurl), "translationurl" in d && r(14, b = d.translationurl), "mbsource" in d && r(15, H = d.mbsource), "$$scope" in d && r(16, o = d.$$scope);
4778
+ return e.$$set = (g) => {
4779
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "modalconfirmdata" in g && r(10, c = g.modalconfirmdata), "lang" in g && r(11, f = g.lang), "clientstyling" in g && r(12, p = g.clientstyling), "clientstylingurl" in g && r(13, m = g.clientstylingurl), "translationurl" in g && r(14, d = g.translationurl), "mbsource" in g && r(15, x = g.mbsource), "$$scope" in g && r(16, o = g.$$scope);
4623
4780
  }, e.$$.update = () => {
4624
4781
  e.$$.dirty & /*modaltext, lang*/
4625
- 2049 && s && c && ae(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4626
- 4104 && m && S && oo(S, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4627
- 8200 && y && S && so(S, y), e.$$.dirty & /*mbsource, customStylingContainer*/
4628
- 32776 && H && S && ao(S, `${H}.Style`), e.$$.dirty & /*translationurl*/
4629
- 16384 && b && B();
4782
+ 2049 && s && f && ce(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4783
+ 4104 && p && E && Ho(E, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4784
+ 8200 && m && E && Ao(E, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4785
+ 32776 && x && E && Bo(E, `${x}.Style`), e.$$.dirty & /*translationurl*/
4786
+ 16384 && d && B();
4630
4787
  }, [
4631
4788
  s,
4632
4789
  a,
4633
4790
  l,
4634
- S,
4791
+ E,
4635
4792
  n,
4636
4793
  _,
4637
- E,
4638
- v,
4794
+ S,
4795
+ b,
4639
4796
  u,
4640
4797
  h,
4641
- f,
4642
4798
  c,
4799
+ f,
4800
+ p,
4643
4801
  m,
4644
- y,
4645
- b,
4646
- H,
4802
+ d,
4803
+ x,
4647
4804
  o,
4648
4805
  i,
4649
- xr,
4650
- Er,
4651
- Sr
4806
+ Mr,
4807
+ Nr,
4808
+ Lr
4652
4809
  ];
4653
4810
  }
4654
- class _r extends Kr {
4811
+ class Ir extends _n {
4655
4812
  constructor(t) {
4656
- super(), qr(
4813
+ super(), yn(
4657
4814
  this,
4658
4815
  t,
4659
- mo,
4660
- fo,
4661
- Gt,
4816
+ No,
4817
+ Mo,
4818
+ Wt,
4662
4819
  {
4663
4820
  modaltext: 0,
4664
4821
  modaltitle: 1,
@@ -4672,7 +4829,7 @@ class _r extends Kr {
4672
4829
  translationurl: 14,
4673
4830
  mbsource: 15
4674
4831
  },
4675
- lo
4832
+ Po
4676
4833
  );
4677
4834
  }
4678
4835
  get modaltext() {
@@ -4742,50 +4899,62 @@ class _r extends Kr {
4742
4899
  this.$$set({ mbsource: t }), O();
4743
4900
  }
4744
4901
  }
4745
- Yr(_r, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4746
- const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4902
+ vn(Ir, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4903
+ const Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4747
4904
  __proto__: null,
4748
- default: _r
4905
+ default: Ir
4749
4906
  }, Symbol.toStringTag, { value: "Module" }));
4750
4907
  export {
4751
- q as $,
4752
- tt as A,
4753
- _o as B,
4754
- Le as C,
4755
- ye as D,
4756
- Ge as E,
4757
- ht as F,
4758
- vo as G,
4759
- no as H,
4760
- oo as I,
4761
- so as J,
4762
- ao as K,
4763
- To as P,
4764
- Kr as S,
4765
- se as a,
4766
- pr as b,
4767
- wo as c,
4768
- Yr as d,
4769
- Rr as e,
4908
+ K as $,
4909
+ vn as A,
4910
+ Zo as B,
4911
+ En as C,
4912
+ he as D,
4913
+ Ar as E,
4914
+ N as F,
4915
+ Vr as G,
4916
+ To as H,
4917
+ ko as I,
4918
+ jo as J,
4919
+ fe as K,
4920
+ Go as L,
4921
+ Do as M,
4922
+ Wo as N,
4923
+ $o as O,
4924
+ U as P,
4925
+ lt as Q,
4926
+ Fo as R,
4927
+ _n as S,
4928
+ ke as T,
4929
+ ue as U,
4930
+ yt as V,
4931
+ Uo as W,
4932
+ wo as X,
4933
+ Qo as Y,
4934
+ yn as a,
4935
+ qr as b,
4936
+ er as c,
4937
+ D as d,
4938
+ Xo as e,
4770
4939
  O as f,
4771
- tn as g,
4772
- Q as h,
4773
- qr as i,
4774
- ie as j,
4775
- N as k,
4776
- Or as l,
4777
- io as m,
4778
- L as n,
4779
- Eo as o,
4780
- xo as p,
4781
- Re as q,
4782
- C as r,
4783
- Gt as s,
4784
- ue as t,
4785
- go as u,
4786
- yo as v,
4787
- T as w,
4788
- So as x,
4789
- bo as y,
4790
- Z as z
4940
+ ae as g,
4941
+ Ro as h,
4942
+ Fr as i,
4943
+ Xr as j,
4944
+ zo as k,
4945
+ Ee as l,
4946
+ Zr as m,
4947
+ zr as n,
4948
+ an as o,
4949
+ C as p,
4950
+ M as q,
4951
+ A as r,
4952
+ Wt as s,
4953
+ mn as t,
4954
+ Wr as u,
4955
+ Ve as v,
4956
+ Vo as w,
4957
+ Ho as x,
4958
+ Ao as y,
4959
+ Bo as z
4791
4960
  };