@everymatrix/player-account-product-restriction 1.86.12 → 1.86.20

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,7 +1,7 @@
1
1
  function M() {
2
2
  }
3
- const Br = (e) => e;
4
- function Cr(e, t) {
3
+ const Cr = (e) => e;
4
+ function Pr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -24,7 +24,7 @@ function Te(e) {
24
24
  function Ft(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- function Pr(e) {
27
+ function Or(e) {
28
28
  return Object.keys(e).length === 0;
29
29
  }
30
30
  function jt(e, ...t) {
@@ -36,19 +36,19 @@ function jt(e, ...t) {
36
36
  const r = e.subscribe(...t);
37
37
  return r.unsubscribe ? () => r.unsubscribe() : r;
38
38
  }
39
- function Or(e, t, r) {
39
+ function Ir(e, t, r) {
40
40
  e.$$.on_destroy.push(jt(t, r));
41
41
  }
42
- function Ir(e, t, r, n) {
42
+ function Mr(e, t, r, n) {
43
43
  if (e) {
44
44
  const i = kt(e, t, r, n);
45
45
  return e[0](i);
46
46
  }
47
47
  }
48
48
  function kt(e, t, r, n) {
49
- return e[1] && n ? Cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
+ return e[1] && n ? Pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
50
  }
51
- function Mr(e, t, r, n) {
51
+ function Nr(e, t, r, n) {
52
52
  if (e[2] && n) {
53
53
  const i = e[2](n(r));
54
54
  if (t.dirty === void 0)
@@ -63,13 +63,13 @@ function Mr(e, t, r, n) {
63
63
  }
64
64
  return t.dirty;
65
65
  }
66
- function Nr(e, t, r, n, i, o) {
66
+ function Lr(e, t, r, n, i, o) {
67
67
  if (i) {
68
68
  const a = kt(t, r, n, o);
69
69
  e.p(a, i);
70
70
  }
71
71
  }
72
- function Lr(e) {
72
+ function Rr(e) {
73
73
  if (e.ctx.length > 32) {
74
74
  const t = [], r = e.ctx.length / 32;
75
75
  for (let n = 0; n < r; n++)
@@ -86,7 +86,7 @@ function Xt(e) {
86
86
  t.c(e) || (X.delete(t), t.f());
87
87
  }), X.size !== 0 && ot(Xt);
88
88
  }
89
- function Rr(e) {
89
+ function Gr(e) {
90
90
  let t;
91
91
  return X.size === 0 && ot(Xt), {
92
92
  promise: new Promise((r) => {
@@ -100,7 +100,7 @@ function Rr(e) {
100
100
  function C(e, t) {
101
101
  e.appendChild(t);
102
102
  }
103
- function Gr(e, t, r) {
103
+ function Ur(e, t, r) {
104
104
  const n = st(e);
105
105
  if (!n.getElementById(t)) {
106
106
  const i = I("style");
@@ -117,7 +117,7 @@ function st(e) {
117
117
  t
118
118
  ) : e.ownerDocument;
119
119
  }
120
- function Ur(e) {
120
+ function Dr(e) {
121
121
  const t = I("style");
122
122
  return t.textContent = "/* empty */", zt(st(e), t), t.sheet;
123
123
  }
@@ -134,7 +134,7 @@ function se(e, t, r) {
134
134
  function U(e) {
135
135
  e.parentNode && e.parentNode.removeChild(e);
136
136
  }
137
- function So(e, t) {
137
+ function wo(e, t) {
138
138
  for (let r = 0; r < e.length; r += 1)
139
139
  e[r] && e[r].d(t);
140
140
  }
@@ -150,33 +150,33 @@ function ae(e) {
150
150
  function ce() {
151
151
  return ae(" ");
152
152
  }
153
- function wo() {
153
+ function To() {
154
154
  return ae("");
155
155
  }
156
156
  function Fe(e, t, r, n) {
157
157
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
158
158
  }
159
- function H(e, t, r) {
159
+ function A(e, t, r) {
160
160
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
161
161
  }
162
- function To(e, t, r) {
162
+ function Ho(e, t, r) {
163
163
  const n = t.toLowerCase();
164
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
164
+ 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);
165
165
  }
166
- function Dr(e) {
166
+ function Fr(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
169
  function at(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function Ho(e, t, r) {
173
+ function Ao(e, t, r) {
174
174
  e.classList.toggle(t, !!r);
175
175
  }
176
- function Fr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
176
+ function jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
177
177
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
178
178
  }
179
- function jr(e) {
179
+ function kr(e) {
180
180
  const t = {};
181
181
  return e.childNodes.forEach(
182
182
  /** @param {Element} node */
@@ -187,39 +187,39 @@ function jr(e) {
187
187
  }
188
188
  const ve = /* @__PURE__ */ new Map();
189
189
  let _e = 0;
190
- function kr(e) {
190
+ function Vr(e) {
191
191
  let t = 5381, r = e.length;
192
192
  for (; r--; )
193
193
  t = (t << 5) - t ^ e.charCodeAt(r);
194
194
  return t >>> 0;
195
195
  }
196
- function Vr(e, t) {
197
- const r = { stylesheet: Ur(t), rules: {} };
196
+ function Xr(e, t) {
197
+ const r = { stylesheet: Dr(t), rules: {} };
198
198
  return ve.set(e, r), r;
199
199
  }
200
200
  function mt(e, t, r, n, i, o, a, s = 0) {
201
201
  const l = 16.666 / n;
202
202
  let u = `{
203
203
  `;
204
- for (let g = 0; g <= 1; g += l) {
205
- const A = t + (r - t) * o(g);
206
- u += g * 100 + `%{${a(A, 1 - A)}}
204
+ for (let x = 0; x <= 1; x += l) {
205
+ const E = t + (r - t) * o(x);
206
+ u += x * 100 + `%{${a(E, 1 - E)}}
207
207
  `;
208
208
  }
209
209
  const h = u + `100% {${a(r, 1 - r)}}
210
- }`, c = `__svelte_${kr(h)}_${s}`, f = st(e), { stylesheet: p, rules: m } = ve.get(f) || Vr(f, e);
210
+ }`, c = `__svelte_${Vr(h)}_${s}`, f = st(e), { stylesheet: p, rules: m } = ve.get(f) || Xr(f, e);
211
211
  m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
212
212
  const d = e.style.animation || "";
213
213
  return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
214
214
  }
215
- function Xr(e, t) {
215
+ function zr(e, t) {
216
216
  const r = (e.style.animation || "").split(", "), n = r.filter(
217
217
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
218
218
  // remove all Svelte animations
219
219
  ), i = r.length - n.length;
220
- i && (e.style.animation = n.join(", "), _e -= i, _e || zr());
220
+ i && (e.style.animation = n.join(", "), _e -= i, _e || Wr());
221
221
  }
222
- function zr() {
222
+ function Wr() {
223
223
  ot(() => {
224
224
  _e || (ve.forEach((e) => {
225
225
  const { ownerNode: t } = e.stylesheet;
@@ -231,20 +231,20 @@ let ne;
231
231
  function re(e) {
232
232
  ne = e;
233
233
  }
234
- function Wr() {
234
+ function Zr() {
235
235
  if (!ne)
236
236
  throw new Error("Function called outside component initialization");
237
237
  return ne;
238
238
  }
239
- function Zr(e) {
240
- Wr().$$.on_mount.push(e);
239
+ function Qr(e) {
240
+ Zr().$$.on_mount.push(e);
241
241
  }
242
242
  const V = [], je = [];
243
243
  let z = [];
244
- const pt = [], Qr = /* @__PURE__ */ Promise.resolve();
244
+ const pt = [], Jr = /* @__PURE__ */ Promise.resolve();
245
245
  let ke = !1;
246
- function Jr() {
247
- ke || (ke = !0, Qr.then(O));
246
+ function qr() {
247
+ ke || (ke = !0, Jr.then(O));
248
248
  }
249
249
  function xe(e) {
250
250
  z.push(e);
@@ -259,7 +259,7 @@ function O() {
259
259
  try {
260
260
  for (; j < V.length; ) {
261
261
  const t = V[j];
262
- j++, re(t), qr(t.$$);
262
+ j++, re(t), Yr(t.$$);
263
263
  }
264
264
  } catch (t) {
265
265
  throw V.length = 0, j = 0, t;
@@ -276,29 +276,29 @@ function O() {
276
276
  pt.pop()();
277
277
  ke = !1, Ie.clear(), re(e);
278
278
  }
279
- function qr(e) {
279
+ function Yr(e) {
280
280
  if (e.fragment !== null) {
281
281
  e.update(), G(e.before_update);
282
282
  const t = e.dirty;
283
283
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
284
284
  }
285
285
  }
286
- function Yr(e) {
286
+ function Kr(e) {
287
287
  const t = [], r = [];
288
288
  z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
289
289
  }
290
290
  let ee;
291
- function Kr() {
291
+ function en() {
292
292
  return ee || (ee = Promise.resolve(), ee.then(() => {
293
293
  ee = null;
294
294
  })), ee;
295
295
  }
296
296
  function Me(e, t, r) {
297
- e.dispatchEvent(Fr(`${t ? "intro" : "outro"}${r}`));
297
+ e.dispatchEvent(jr(`${t ? "intro" : "outro"}${r}`));
298
298
  }
299
299
  const pe = /* @__PURE__ */ new Set();
300
300
  let L;
301
- function Ao() {
301
+ function Bo() {
302
302
  L = {
303
303
  r: 0,
304
304
  c: [],
@@ -306,13 +306,13 @@ function Ao() {
306
306
  // parent group
307
307
  };
308
308
  }
309
- function Bo() {
309
+ function Co() {
310
310
  L.r || G(L.c), L = L.p;
311
311
  }
312
312
  function Wt(e, t) {
313
313
  e && e.i && (pe.delete(e), e.i(t));
314
314
  }
315
- function en(e, t, r, n) {
315
+ function tn(e, t, r, n) {
316
316
  if (e && e.o) {
317
317
  if (pe.has(e))
318
318
  return;
@@ -322,21 +322,21 @@ function en(e, t, r, n) {
322
322
  } else
323
323
  n && n();
324
324
  }
325
- const tn = { duration: 0 };
326
- function Co(e, t, r, n) {
325
+ const rn = { duration: 0 };
326
+ function Po(e, t, r, n) {
327
327
  let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
328
328
  function c() {
329
- u && Xr(e, u);
329
+ u && zr(e, u);
330
330
  }
331
331
  function f(m, d) {
332
- const g = (
332
+ const x = (
333
333
  /** @type {Program['d']} */
334
334
  m.b - a
335
335
  );
336
- return d *= Math.abs(g), {
336
+ return d *= Math.abs(x), {
337
337
  a,
338
338
  b: m.b,
339
- d: g,
339
+ d: x,
340
340
  duration: d,
341
341
  start: m.start,
342
342
  end: m.start + d,
@@ -346,30 +346,30 @@ function Co(e, t, r, n) {
346
346
  function p(m) {
347
347
  const {
348
348
  delay: d = 0,
349
- duration: g = 300,
350
- easing: A = Br,
351
- tick: T = M,
352
- css: x
353
- } = o || tn, E = {
349
+ duration: x = 300,
350
+ easing: E = Cr,
351
+ tick: H = M,
352
+ css: _
353
+ } = o || rn, S = {
354
354
  start: $r() + d,
355
355
  b: m
356
356
  };
357
- m || (E.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
358
- e.inert, e.inert = !0)), s || l ? l = E : (x && (c(), u = mt(e, a, m, g, d, A, x)), m && T(0, 1), s = f(E, g), xe(() => Me(e, m, "start")), Rr((b) => {
359
- if (l && b > l.start && (s = f(l, g), l = null, Me(e, s.b, "start"), x && (c(), u = mt(
357
+ m || (S.group = L, L.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
358
+ e.inert, e.inert = !0)), s || l ? l = S : (_ && (c(), u = mt(e, a, m, x, d, E, _)), m && H(0, 1), s = f(S, x), xe(() => Me(e, m, "start")), Gr((b) => {
359
+ if (l && b > l.start && (s = f(l, x), l = null, Me(e, s.b, "start"), _ && (c(), u = mt(
360
360
  e,
361
361
  a,
362
362
  s.b,
363
363
  s.duration,
364
364
  0,
365
- A,
365
+ E,
366
366
  o.css
367
367
  ))), s) {
368
368
  if (b >= s.end)
369
- T(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
369
+ H(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? c() : --s.group.r || G(s.group.c)), s = null;
370
370
  else if (b >= s.start) {
371
371
  const B = b - s.start;
372
- a = s.a + s.d * A(B / s.duration), T(a, 1 - a);
372
+ a = s.a + s.d * E(B / s.duration), H(a, 1 - a);
373
373
  }
374
374
  }
375
375
  return !!(s || l);
@@ -377,7 +377,7 @@ function Co(e, t, r, n) {
377
377
  }
378
378
  return {
379
379
  run(m) {
380
- Te(o) ? Kr().then(() => {
380
+ Te(o) ? en().then(() => {
381
381
  o = o({ direction: m ? "in" : "out" }), p(m);
382
382
  }) : p(m);
383
383
  },
@@ -386,24 +386,24 @@ function Co(e, t, r, n) {
386
386
  }
387
387
  };
388
388
  }
389
- function Po(e) {
389
+ function Oo(e) {
390
390
  return e?.length !== void 0 ? e : Array.from(e);
391
391
  }
392
- function rn(e, t, r) {
392
+ function nn(e, t, r) {
393
393
  const { fragment: n, after_update: i } = e.$$;
394
394
  n && n.m(t, r), xe(() => {
395
395
  const o = e.$$.on_mount.map(Dt).filter(Te);
396
396
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
397
397
  }), i.forEach(xe);
398
398
  }
399
- function nn(e, t) {
399
+ function on(e, t) {
400
400
  const r = e.$$;
401
- r.fragment !== null && (Yr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
401
+ r.fragment !== null && (Kr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
402
402
  }
403
- function on(e, t) {
404
- e.$$.dirty[0] === -1 && (V.push(e), Jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
403
+ function sn(e, t) {
404
+ e.$$.dirty[0] === -1 && (V.push(e), qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
405
405
  }
406
- function sn(e, t, r, n, i, o, a = null, s = [-1]) {
406
+ function an(e, t, r, n, i, o, a = null, s = [-1]) {
407
407
  const l = ne;
408
408
  re(e);
409
409
  const u = e.$$ = {
@@ -431,14 +431,14 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
431
431
  let h = !1;
432
432
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
433
433
  const m = p.length ? p[0] : f;
434
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && on(e, c)), f;
434
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && sn(e, c)), f;
435
435
  }) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
436
436
  if (t.hydrate) {
437
- const c = Dr(t.target);
437
+ const c = Fr(t.target);
438
438
  u.fragment && u.fragment.l(c), c.forEach(U);
439
439
  } else
440
440
  u.fragment && u.fragment.c();
441
- t.intro && Wt(e.$$.fragment), rn(e, t.target, t.anchor), O();
441
+ t.intro && Wt(e.$$.fragment), nn(e, t.target, t.anchor), O();
442
442
  }
443
443
  re(l);
444
444
  }
@@ -485,7 +485,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
485
485
  let o;
486
486
  return {
487
487
  c: function() {
488
- o = I("slot"), i !== "default" && H(o, "name", i);
488
+ o = I("slot"), i !== "default" && A(o, "name", i);
489
489
  },
490
490
  /**
491
491
  * @param {HTMLElement} target
@@ -502,7 +502,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
502
502
  };
503
503
  if (await Promise.resolve(), !this.$$cn || this.$$c)
504
504
  return;
505
- const t = {}, r = jr(this);
505
+ const t = {}, r = kr(this);
506
506
  for (const i of this.$$s)
507
507
  i in r && (t[i] = [e(i)]);
508
508
  for (const i of this.attributes) {
@@ -589,7 +589,7 @@ function de(e, t, r, n) {
589
589
  return t;
590
590
  }
591
591
  }
592
- function an(e, t, r, n, i, o) {
592
+ function un(e, t, r, n, i, o) {
593
593
  let a = class extends Zt {
594
594
  constructor() {
595
595
  super(e, r, i), this.$$p_d = t;
@@ -618,7 +618,7 @@ function an(e, t, r, n, i, o) {
618
618
  }), e.element = /** @type {any} */
619
619
  a, a;
620
620
  }
621
- class un {
621
+ class ln {
622
622
  /**
623
623
  * ### PRIVATE API
624
624
  *
@@ -637,7 +637,7 @@ class un {
637
637
  $$set = void 0;
638
638
  /** @returns {void} */
639
639
  $destroy() {
640
- nn(this, 1), this.$destroy = M;
640
+ on(this, 1), this.$destroy = M;
641
641
  }
642
642
  /**
643
643
  * @template {Extract<keyof Events, string>} K
@@ -659,11 +659,11 @@ class un {
659
659
  * @returns {void}
660
660
  */
661
661
  $set(t) {
662
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
662
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
663
663
  }
664
664
  }
665
- const ln = "4";
666
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
665
+ const hn = "4";
666
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hn);
667
667
  /*! *****************************************************************************
668
668
  Copyright (c) Microsoft Corporation.
669
669
 
@@ -733,7 +733,7 @@ function We(e, t, r) {
733
733
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
734
734
  return e.concat(o || t);
735
735
  }
736
- function $(e) {
736
+ function R(e) {
737
737
  return typeof e == "function";
738
738
  }
739
739
  function Qt(e) {
@@ -786,7 +786,7 @@ var He = function() {
786
786
  else
787
787
  a.remove(this);
788
788
  var h = this.initialTeardown;
789
- if ($(h))
789
+ if (R(h))
790
790
  try {
791
791
  h();
792
792
  } catch (d) {
@@ -849,14 +849,14 @@ var He = function() {
849
849
  }(), e;
850
850
  }(), Jt = He.EMPTY;
851
851
  function qt(e) {
852
- return e instanceof He || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
852
+ return e instanceof He || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
853
853
  }
854
854
  function dt(e) {
855
- $(e) ? e() : e.unsubscribe();
855
+ R(e) ? e() : e.unsubscribe();
856
856
  }
857
- var hn = {
857
+ var cn = {
858
858
  Promise: void 0
859
- }, cn = {
859
+ }, fn = {
860
860
  setTimeout: function(e, t) {
861
861
  for (var r = [], n = 2; n < arguments.length; n++)
862
862
  r[n - 2] = arguments[n];
@@ -867,8 +867,8 @@ var hn = {
867
867
  },
868
868
  delegate: void 0
869
869
  };
870
- function fn(e) {
871
- cn.setTimeout(function() {
870
+ function mn(e) {
871
+ fn.setTimeout(function() {
872
872
  throw e;
873
873
  });
874
874
  }
@@ -881,7 +881,7 @@ var Yt = function(e) {
881
881
  ue(t, e);
882
882
  function t(r) {
883
883
  var n = e.call(this) || this;
884
- return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
884
+ return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = bn, n;
885
885
  }
886
886
  return t.create = function(r, n, i) {
887
887
  return new Qe(r, n, i);
@@ -908,7 +908,7 @@ var Yt = function(e) {
908
908
  this.unsubscribe();
909
909
  }
910
910
  }, t;
911
- }(He), mn = function() {
911
+ }(He), pn = function() {
912
912
  function e(t) {
913
913
  this.partialObserver = t;
914
914
  }
@@ -943,33 +943,33 @@ var Yt = function(e) {
943
943
  ue(t, e);
944
944
  function t(r, n, i) {
945
945
  var o = e.call(this) || this, a;
946
- return $(r) || !r ? a = {
946
+ return R(r) || !r ? a = {
947
947
  next: r ?? void 0,
948
948
  error: n ?? void 0,
949
949
  complete: i ?? void 0
950
- } : a = r, o.destination = new mn(a), o;
950
+ } : a = r, o.destination = new pn(a), o;
951
951
  }
952
952
  return t;
953
953
  }(Yt);
954
954
  function fe(e) {
955
- fn(e);
955
+ mn(e);
956
956
  }
957
- function pn(e) {
957
+ function dn(e) {
958
958
  throw e;
959
959
  }
960
- var dn = {
960
+ var bn = {
961
961
  closed: !0,
962
962
  next: bt,
963
- error: pn,
963
+ error: dn,
964
964
  complete: bt
965
- }, bn = function() {
965
+ }, gn = function() {
966
966
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
967
967
  }();
968
- function gn(e) {
968
+ function yn(e) {
969
969
  return e;
970
970
  }
971
- function yn(e) {
972
- return e.length === 0 ? gn : e.length === 1 ? e[0] : function(r) {
971
+ function vn(e) {
972
+ return e.length === 0 ? yn : e.length === 1 ? e[0] : function(r) {
973
973
  return e.reduce(function(n, i) {
974
974
  return i(n);
975
975
  }, r);
@@ -983,7 +983,7 @@ var gt = function() {
983
983
  var r = new e();
984
984
  return r.source = this, r.operator = t, r;
985
985
  }, e.prototype.subscribe = function(t, r, n) {
986
- var i = this, o = _n(t) ? t : new Qe(t, r, n);
986
+ var i = this, o = xn(t) ? t : new Qe(t, r, n);
987
987
  return be(function() {
988
988
  var a = i, s = a.operator, l = a.source;
989
989
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1013,12 +1013,12 @@ var gt = function() {
1013
1013
  }, e.prototype._subscribe = function(t) {
1014
1014
  var r;
1015
1015
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1016
- }, e.prototype[bn] = function() {
1016
+ }, e.prototype[gn] = function() {
1017
1017
  return this;
1018
1018
  }, e.prototype.pipe = function() {
1019
1019
  for (var t = [], r = 0; r < arguments.length; r++)
1020
1020
  t[r] = arguments[r];
1021
- return yn(t)(this);
1021
+ return vn(t)(this);
1022
1022
  }, e.prototype.toPromise = function(t) {
1023
1023
  var r = this;
1024
1024
  return t = yt(t), new t(function(n, i) {
@@ -1037,15 +1037,15 @@ var gt = function() {
1037
1037
  }();
1038
1038
  function yt(e) {
1039
1039
  var t;
1040
- return (t = e ?? hn.Promise) !== null && t !== void 0 ? t : Promise;
1041
- }
1042
- function vn(e) {
1043
- return e && $(e.next) && $(e.error) && $(e.complete);
1040
+ return (t = e ?? cn.Promise) !== null && t !== void 0 ? t : Promise;
1044
1041
  }
1045
1042
  function _n(e) {
1046
- return e && e instanceof Yt || vn(e) && qt(e);
1043
+ return e && R(e.next) && R(e.error) && R(e.complete);
1044
+ }
1045
+ function xn(e) {
1046
+ return e && e instanceof Yt || _n(e) && qt(e);
1047
1047
  }
1048
- var xn = Qt(function(e) {
1048
+ var En = Qt(function(e) {
1049
1049
  return function() {
1050
1050
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1051
1051
  };
@@ -1060,7 +1060,7 @@ var xn = Qt(function(e) {
1060
1060
  return n.operator = r, n;
1061
1061
  }, t.prototype._throwIfClosed = function() {
1062
1062
  if (this.closed)
1063
- throw new xn();
1063
+ throw new En();
1064
1064
  }, t.prototype.next = function(r) {
1065
1065
  var n = this;
1066
1066
  be(function() {
@@ -1153,7 +1153,7 @@ var xn = Qt(function(e) {
1153
1153
  return (er.delegate || Date).now();
1154
1154
  },
1155
1155
  delegate: void 0
1156
- }, En = function(e) {
1156
+ }, Sn = function(e) {
1157
1157
  ue(t, e);
1158
1158
  function t(r, n, i) {
1159
1159
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
@@ -1177,14 +1177,14 @@ var xn = Qt(function(e) {
1177
1177
  }
1178
1178
  }, t;
1179
1179
  }(Kt);
1180
- const _t = [], xt = {}, Sn = (e, t = 0) => {
1180
+ const _t = [], xt = {}, wn = (e, t = 0) => {
1181
1181
  if (_t.indexOf(e) == -1) {
1182
- const r = new En(t);
1182
+ const r = new Sn(t);
1183
1183
  xt[e] = r, _t.push(e);
1184
1184
  }
1185
1185
  return xt[e];
1186
1186
  }, k = [];
1187
- function wn(e, t) {
1187
+ function Tn(e, t) {
1188
1188
  return {
1189
1189
  subscribe: Ae(e, t).subscribe
1190
1190
  };
@@ -1220,7 +1220,7 @@ function q(e, t, r) {
1220
1220
  if (!i.every(Boolean))
1221
1221
  throw new Error("derived() expects stores as input, got a falsy value");
1222
1222
  const o = t.length < 2;
1223
- return wn(r, (a, s) => {
1223
+ return Tn(r, (a, s) => {
1224
1224
  let l = !1;
1225
1225
  const u = [];
1226
1226
  let h = 0, c = M;
@@ -1233,8 +1233,8 @@ function q(e, t, r) {
1233
1233
  }, p = i.map(
1234
1234
  (m, d) => jt(
1235
1235
  m,
1236
- (g) => {
1237
- u[d] = g, h &= ~(1 << d), l && f();
1236
+ (x) => {
1237
+ u[d] = x, h &= ~(1 << d), l && f();
1238
1238
  },
1239
1239
  () => {
1240
1240
  h |= 1 << d;
@@ -1246,48 +1246,48 @@ function q(e, t, r) {
1246
1246
  };
1247
1247
  });
1248
1248
  }
1249
- var Oo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1250
- function Tn(e) {
1249
+ var Io = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1250
+ function Hn(e) {
1251
1251
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1252
1252
  }
1253
- var Hn = function(t) {
1254
- return An(t) && !Bn(t);
1253
+ var An = function(t) {
1254
+ return Bn(t) && !Cn(t);
1255
1255
  };
1256
- function An(e) {
1256
+ function Bn(e) {
1257
1257
  return !!e && typeof e == "object";
1258
1258
  }
1259
- function Bn(e) {
1259
+ function Cn(e) {
1260
1260
  var t = Object.prototype.toString.call(e);
1261
- return t === "[object RegExp]" || t === "[object Date]" || On(e);
1262
- }
1263
- var Cn = typeof Symbol == "function" && Symbol.for, Pn = Cn ? Symbol.for("react.element") : 60103;
1264
- function On(e) {
1265
- return e.$$typeof === Pn;
1261
+ return t === "[object RegExp]" || t === "[object Date]" || In(e);
1266
1262
  }
1263
+ var Pn = typeof Symbol == "function" && Symbol.for, On = Pn ? Symbol.for("react.element") : 60103;
1267
1264
  function In(e) {
1265
+ return e.$$typeof === On;
1266
+ }
1267
+ function Mn(e) {
1268
1268
  return Array.isArray(e) ? [] : {};
1269
1269
  }
1270
1270
  function ie(e, t) {
1271
- return t.clone !== !1 && t.isMergeableObject(e) ? W(In(e), e, t) : e;
1271
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(Mn(e), e, t) : e;
1272
1272
  }
1273
- function Mn(e, t, r) {
1273
+ function Nn(e, t, r) {
1274
1274
  return e.concat(t).map(function(n) {
1275
1275
  return ie(n, r);
1276
1276
  });
1277
1277
  }
1278
- function Nn(e, t) {
1278
+ function Ln(e, t) {
1279
1279
  if (!t.customMerge)
1280
1280
  return W;
1281
1281
  var r = t.customMerge(e);
1282
1282
  return typeof r == "function" ? r : W;
1283
1283
  }
1284
- function Ln(e) {
1284
+ function Rn(e) {
1285
1285
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1286
1286
  return Object.propertyIsEnumerable.call(e, t);
1287
1287
  }) : [];
1288
1288
  }
1289
1289
  function Et(e) {
1290
- return Object.keys(e).concat(Ln(e));
1290
+ return Object.keys(e).concat(Rn(e));
1291
1291
  }
1292
1292
  function tr(e, t) {
1293
1293
  try {
@@ -1299,18 +1299,18 @@ function tr(e, t) {
1299
1299
  function $n(e, t) {
1300
1300
  return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1301
1301
  }
1302
- function Rn(e, t, r) {
1302
+ function Gn(e, t, r) {
1303
1303
  var n = {};
1304
1304
  return r.isMergeableObject(e) && Et(e).forEach(function(i) {
1305
1305
  n[i] = ie(e[i], r);
1306
1306
  }), Et(t).forEach(function(i) {
1307
- $n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1307
+ $n(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1308
1308
  }), n;
1309
1309
  }
1310
1310
  function W(e, t, r) {
1311
- r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Hn, r.cloneUnlessOtherwiseSpecified = ie;
1311
+ r = r || {}, r.arrayMerge = r.arrayMerge || Nn, r.isMergeableObject = r.isMergeableObject || An, r.cloneUnlessOtherwiseSpecified = ie;
1312
1312
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1313
- return o ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : ie(t, r);
1313
+ return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : ie(t, r);
1314
1314
  }
1315
1315
  W.all = function(t, r) {
1316
1316
  if (!Array.isArray(t))
@@ -1319,8 +1319,8 @@ W.all = function(t, r) {
1319
1319
  return W(n, i, r);
1320
1320
  }, {});
1321
1321
  };
1322
- var Gn = W, Un = Gn;
1323
- const Dn = /* @__PURE__ */ Tn(Un);
1322
+ var Un = W, Dn = Un;
1323
+ const Fn = /* @__PURE__ */ Hn(Dn);
1324
1324
  var Je = function(e, t) {
1325
1325
  return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1326
1326
  r.__proto__ = n;
@@ -1348,7 +1348,7 @@ var N = function() {
1348
1348
  return t;
1349
1349
  }, N.apply(this, arguments);
1350
1350
  };
1351
- function Fn(e, t) {
1351
+ function jn(e, t) {
1352
1352
  var r = {};
1353
1353
  for (var n in e)
1354
1354
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1363,18 +1363,18 @@ function Le(e, t, r) {
1363
1363
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1364
1364
  return e.concat(o || Array.prototype.slice.call(t));
1365
1365
  }
1366
- function $e(e, t) {
1367
- var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
1366
+ function Re(e, t) {
1367
+ var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Wn, i = t && t.strategy ? t.strategy : Xn;
1368
1368
  return i(e, {
1369
1369
  cache: r,
1370
1370
  serializer: n
1371
1371
  });
1372
1372
  }
1373
- function jn(e) {
1373
+ function kn(e) {
1374
1374
  return e == null || typeof e == "number" || typeof e == "boolean";
1375
1375
  }
1376
- function kn(e, t, r, n) {
1377
- var i = jn(n) ? n : r(n), o = t.get(i);
1376
+ function Vn(e, t, r, n) {
1377
+ var i = kn(n) ? n : r(n), o = t.get(i);
1378
1378
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1379
1379
  }
1380
1380
  function rr(e, t, r) {
@@ -1384,16 +1384,16 @@ function rr(e, t, r) {
1384
1384
  function nr(e, t, r, n, i) {
1385
1385
  return r.bind(t, e, n, i);
1386
1386
  }
1387
- function Vn(e, t) {
1388
- var r = e.length === 1 ? kn : rr;
1387
+ function Xn(e, t) {
1388
+ var r = e.length === 1 ? Vn : rr;
1389
1389
  return nr(e, this, r, t.cache.create(), t.serializer);
1390
1390
  }
1391
- function Xn(e, t) {
1391
+ function zn(e, t) {
1392
1392
  return nr(e, this, rr, t.cache.create(), t.serializer);
1393
1393
  }
1394
- var zn = function() {
1394
+ var Wn = function() {
1395
1395
  return JSON.stringify(arguments);
1396
- }, Wn = (
1396
+ }, Zn = (
1397
1397
  /** @class */
1398
1398
  function() {
1399
1399
  function e() {
@@ -1405,12 +1405,12 @@ var zn = function() {
1405
1405
  this.cache[t] = r;
1406
1406
  }, e;
1407
1407
  }()
1408
- ), Zn = {
1408
+ ), Qn = {
1409
1409
  create: function() {
1410
- return new Wn();
1410
+ return new Zn();
1411
1411
  }
1412
- }, Re = {
1413
- variadic: Xn
1412
+ }, $e = {
1413
+ variadic: zn
1414
1414
  }, Ee = function() {
1415
1415
  return Ee = Object.assign || function(t) {
1416
1416
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -1425,40 +1425,40 @@ var y;
1425
1425
  (function(e) {
1426
1426
  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";
1427
1427
  })(y || (y = {}));
1428
- var S;
1428
+ var w;
1429
1429
  (function(e) {
1430
1430
  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";
1431
- })(S || (S = {}));
1431
+ })(w || (w = {}));
1432
1432
  var Z;
1433
1433
  (function(e) {
1434
1434
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1435
1435
  })(Z || (Z = {}));
1436
1436
  function St(e) {
1437
- return e.type === S.literal;
1437
+ return e.type === w.literal;
1438
1438
  }
1439
- function Qn(e) {
1440
- return e.type === S.argument;
1439
+ function Jn(e) {
1440
+ return e.type === w.argument;
1441
1441
  }
1442
1442
  function ir(e) {
1443
- return e.type === S.number;
1443
+ return e.type === w.number;
1444
1444
  }
1445
1445
  function or(e) {
1446
- return e.type === S.date;
1446
+ return e.type === w.date;
1447
1447
  }
1448
1448
  function sr(e) {
1449
- return e.type === S.time;
1449
+ return e.type === w.time;
1450
1450
  }
1451
1451
  function ar(e) {
1452
- return e.type === S.select;
1452
+ return e.type === w.select;
1453
1453
  }
1454
1454
  function ur(e) {
1455
- return e.type === S.plural;
1455
+ return e.type === w.plural;
1456
1456
  }
1457
- function Jn(e) {
1458
- return e.type === S.pound;
1457
+ function qn(e) {
1458
+ return e.type === w.pound;
1459
1459
  }
1460
1460
  function lr(e) {
1461
- return e.type === S.tag;
1461
+ return e.type === w.tag;
1462
1462
  }
1463
1463
  function hr(e) {
1464
1464
  return !!(e && typeof e == "object" && e.type === Z.number);
@@ -1466,10 +1466,10 @@ function hr(e) {
1466
1466
  function qe(e) {
1467
1467
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1468
1468
  }
1469
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1470
- function Yn(e) {
1469
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
1470
+ function Kn(e) {
1471
1471
  var t = {};
1472
- return e.replace(qn, function(r) {
1472
+ return e.replace(Yn, function(r) {
1473
1473
  var n = r.length;
1474
1474
  switch (r[0]) {
1475
1475
  case "G":
@@ -1558,21 +1558,21 @@ function Yn(e) {
1558
1558
  return "";
1559
1559
  }), t;
1560
1560
  }
1561
- var w = function() {
1562
- return w = Object.assign || function(t) {
1561
+ var T = function() {
1562
+ return T = Object.assign || function(t) {
1563
1563
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1564
1564
  r = arguments[n];
1565
1565
  for (var o in r)
1566
1566
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1567
1567
  }
1568
1568
  return t;
1569
- }, w.apply(this, arguments);
1569
+ }, T.apply(this, arguments);
1570
1570
  };
1571
- var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
- function ei(e) {
1571
+ var ei = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1572
+ function ti(e) {
1573
1573
  if (e.length === 0)
1574
1574
  throw new Error("Number skeleton cannot be empty");
1575
- for (var t = e.split(Kn).filter(function(f) {
1575
+ for (var t = e.split(ei).filter(function(f) {
1576
1576
  return f.length > 0;
1577
1577
  }), r = [], n = 0, i = t; n < i.length; n++) {
1578
1578
  var o = i[n], a = o.split("/");
@@ -1587,10 +1587,10 @@ function ei(e) {
1587
1587
  }
1588
1588
  return r;
1589
1589
  }
1590
- function ti(e) {
1590
+ function ri(e) {
1591
1591
  return e.replace(/^(.*?)-/, "");
1592
1592
  }
1593
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1593
+ var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ni = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1594
1594
  function Tt(e) {
1595
1595
  var t = {};
1596
1596
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
@@ -1637,7 +1637,7 @@ function pr(e) {
1637
1637
  };
1638
1638
  }
1639
1639
  }
1640
- function ni(e) {
1640
+ function ii(e) {
1641
1641
  var t;
1642
1642
  if (e[0] === "E" && e[1] === "E" ? (t = {
1643
1643
  notation: "engineering"
@@ -1655,7 +1655,7 @@ function Ht(e) {
1655
1655
  var t = {}, r = pr(e);
1656
1656
  return r || t;
1657
1657
  }
1658
- function ii(e) {
1658
+ function oi(e) {
1659
1659
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1660
1660
  var i = n[r];
1661
1661
  switch (i.stem) {
@@ -1679,7 +1679,7 @@ function ii(e) {
1679
1679
  continue;
1680
1680
  case "measure-unit":
1681
1681
  case "unit":
1682
- t.style = "unit", t.unit = ti(i.options[0]);
1682
+ t.style = "unit", t.unit = ri(i.options[0]);
1683
1683
  continue;
1684
1684
  case "compact-short":
1685
1685
  case "K":
@@ -1690,13 +1690,13 @@ function ii(e) {
1690
1690
  t.notation = "compact", t.compactDisplay = "long";
1691
1691
  continue;
1692
1692
  case "scientific":
1693
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1694
- return w(w({}, l), Ht(u));
1693
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1694
+ return T(T({}, l), Ht(u));
1695
1695
  }, {}));
1696
1696
  continue;
1697
1697
  case "engineering":
1698
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1699
- return w(w({}, l), Ht(u));
1698
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1699
+ return T(T({}, l), Ht(u));
1700
1700
  }, {}));
1701
1701
  continue;
1702
1702
  case "notation-simple":
@@ -1741,7 +1741,7 @@ function ii(e) {
1741
1741
  case "integer-width":
1742
1742
  if (i.options.length > 1)
1743
1743
  throw new RangeError("integer-width stems only accept a single optional option");
1744
- i.options[0].replace(ri, function(l, u, h, c, f, p) {
1744
+ i.options[0].replace(ni, function(l, u, h, c, f, p) {
1745
1745
  if (u)
1746
1746
  t.minimumIntegerDigits = h.length;
1747
1747
  else {
@@ -1765,17 +1765,17 @@ function ii(e) {
1765
1765
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1766
1766
  });
1767
1767
  var o = i.options[0];
1768
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Tt(o)));
1768
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Tt(o)));
1769
1769
  continue;
1770
1770
  }
1771
1771
  if (fr.test(i.stem)) {
1772
- t = w(w({}, t), Tt(i.stem));
1772
+ t = T(T({}, t), Tt(i.stem));
1773
1773
  continue;
1774
1774
  }
1775
1775
  var a = pr(i.stem);
1776
- a && (t = w(w({}, t), a));
1777
- var s = ni(i.stem);
1778
- s && (t = w(w({}, t), s));
1776
+ a && (t = T(T({}, t), a));
1777
+ var s = ii(i.stem);
1778
+ s && (t = T(T({}, t), s));
1779
1779
  }
1780
1780
  return t;
1781
1781
  }
@@ -3194,13 +3194,13 @@ var me = {
3194
3194
  "h"
3195
3195
  ]
3196
3196
  };
3197
- function oi(e, t) {
3197
+ function si(e, t) {
3198
3198
  for (var r = "", n = 0; n < e.length; n++) {
3199
3199
  var i = e.charAt(n);
3200
3200
  if (i === "j") {
3201
3201
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3202
3202
  o++, n++;
3203
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = si(t);
3203
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ai(t);
3204
3204
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3205
3205
  r += l;
3206
3206
  for (; a-- > 0; )
@@ -3210,7 +3210,7 @@ function oi(e, t) {
3210
3210
  }
3211
3211
  return r;
3212
3212
  }
3213
- function si(e) {
3213
+ function ai(e) {
3214
3214
  var t = e.hourCycle;
3215
3215
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3216
3216
  e.hourCycles && // @ts-ignore
@@ -3232,20 +3232,20 @@ function si(e) {
3232
3232
  var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3233
3233
  return i[0];
3234
3234
  }
3235
- var Ge, ai = new RegExp("^".concat(cr.source, "*")), ui = new RegExp("".concat(cr.source, "*$"));
3236
- function _(e, t) {
3235
+ var Ge, ui = new RegExp("^".concat(cr.source, "*")), li = new RegExp("".concat(cr.source, "*$"));
3236
+ function v(e, t) {
3237
3237
  return { start: e, end: t };
3238
3238
  }
3239
- var li = !!String.prototype.startsWith && "_a".startsWith("a", 1), hi = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, pi = !!String.prototype.trimEnd, di = !!Number.isSafeInteger, bi = di ? Number.isSafeInteger : function(e) {
3239
+ var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ci = !!String.fromCodePoint, fi = !!Object.fromEntries, mi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, gi = bi ? Number.isSafeInteger : function(e) {
3240
3240
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3241
3241
  }, Ye = !0;
3242
3242
  try {
3243
- var gi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3244
- Ye = ((Ge = gi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3243
+ var yi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3244
+ Ye = ((Ge = yi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3245
3245
  } catch {
3246
3246
  Ye = !1;
3247
3247
  }
3248
- var At = li ? (
3248
+ var At = hi ? (
3249
3249
  // Native
3250
3250
  function(t, r, n) {
3251
3251
  return t.startsWith(r, n);
@@ -3255,7 +3255,7 @@ var At = li ? (
3255
3255
  function(t, r, n) {
3256
3256
  return t.slice(n, n + r.length) === r;
3257
3257
  }
3258
- ), Ke = hi ? String.fromCodePoint : (
3258
+ ), Ke = ci ? String.fromCodePoint : (
3259
3259
  // IE11
3260
3260
  function() {
3261
3261
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3269,7 +3269,7 @@ var At = li ? (
3269
3269
  }
3270
3270
  ), Bt = (
3271
3271
  // native
3272
- ci ? Object.fromEntries : (
3272
+ fi ? Object.fromEntries : (
3273
3273
  // Ponyfill
3274
3274
  function(t) {
3275
3275
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3279,7 +3279,7 @@ var At = li ? (
3279
3279
  return r;
3280
3280
  }
3281
3281
  )
3282
- ), dr = fi ? (
3282
+ ), dr = mi ? (
3283
3283
  // Native
3284
3284
  function(t, r) {
3285
3285
  return t.codePointAt(r);
@@ -3293,7 +3293,7 @@ var At = li ? (
3293
3293
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3294
3294
  }
3295
3295
  }
3296
- ), yi = mi ? (
3296
+ ), vi = pi ? (
3297
3297
  // Native
3298
3298
  function(t) {
3299
3299
  return t.trimStart();
@@ -3301,9 +3301,9 @@ var At = li ? (
3301
3301
  ) : (
3302
3302
  // Ponyfill
3303
3303
  function(t) {
3304
- return t.replace(ai, "");
3304
+ return t.replace(ui, "");
3305
3305
  }
3306
- ), vi = pi ? (
3306
+ ), _i = di ? (
3307
3307
  // Native
3308
3308
  function(t) {
3309
3309
  return t.trimEnd();
@@ -3311,7 +3311,7 @@ var At = li ? (
3311
3311
  ) : (
3312
3312
  // Ponyfill
3313
3313
  function(t) {
3314
- return t.replace(ui, "");
3314
+ return t.replace(li, "");
3315
3315
  }
3316
3316
  );
3317
3317
  function br(e, t) {
@@ -3330,13 +3330,13 @@ if (Ye) {
3330
3330
  et = function(t, r) {
3331
3331
  for (var n = []; ; ) {
3332
3332
  var i = dr(t, r);
3333
- if (i === void 0 || gr(i) || Si(i))
3333
+ if (i === void 0 || gr(i) || wi(i))
3334
3334
  break;
3335
3335
  n.push(i), r += i >= 65536 ? 2 : 1;
3336
3336
  }
3337
3337
  return Ke.apply(void 0, n);
3338
3338
  };
3339
- var _i = (
3339
+ var xi = (
3340
3340
  /** @class */
3341
3341
  function() {
3342
3342
  function e(t, r) {
@@ -3360,13 +3360,13 @@ var _i = (
3360
3360
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3361
3361
  var s = this.clonePosition();
3362
3362
  this.bump(), i.push({
3363
- type: S.pound,
3364
- location: _(s, this.clonePosition())
3363
+ type: w.pound,
3364
+ location: v(s, this.clonePosition())
3365
3365
  });
3366
3366
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3367
3367
  if (n)
3368
3368
  break;
3369
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3369
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3370
3370
  } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
3371
3371
  var a = this.parseTag(t, r);
3372
3372
  if (a.err)
@@ -3388,9 +3388,9 @@ var _i = (
3388
3388
  if (this.bumpSpace(), this.bumpIf("/>"))
3389
3389
  return {
3390
3390
  val: {
3391
- type: S.literal,
3391
+ type: w.literal,
3392
3392
  value: "<".concat(i, "/>"),
3393
- location: _(n, this.clonePosition())
3393
+ location: v(n, this.clonePosition())
3394
3394
  },
3395
3395
  err: null
3396
3396
  };
@@ -3401,24 +3401,24 @@ var _i = (
3401
3401
  var a = o.val, s = this.clonePosition();
3402
3402
  if (this.bumpIf("</")) {
3403
3403
  if (this.isEOF() || !tt(this.char()))
3404
- return this.error(y.INVALID_TAG, _(s, this.clonePosition()));
3404
+ return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
3405
3405
  var l = this.clonePosition(), u = this.parseTagName();
3406
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3406
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3407
3407
  val: {
3408
- type: S.tag,
3408
+ type: w.tag,
3409
3409
  value: i,
3410
3410
  children: a,
3411
- location: _(n, this.clonePosition())
3411
+ location: v(n, this.clonePosition())
3412
3412
  },
3413
3413
  err: null
3414
- } : this.error(y.INVALID_TAG, _(s, this.clonePosition())));
3414
+ } : this.error(y.INVALID_TAG, v(s, this.clonePosition())));
3415
3415
  } else
3416
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3416
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3417
3417
  } else
3418
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3418
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3419
3419
  }, e.prototype.parseTagName = function() {
3420
3420
  var t = this.offset();
3421
- for (this.bump(); !this.isEOF() && Ei(this.char()); )
3421
+ for (this.bump(); !this.isEOF() && Si(this.char()); )
3422
3422
  this.bump();
3423
3423
  return this.message.slice(t, this.offset());
3424
3424
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3440,14 +3440,14 @@ var _i = (
3440
3440
  }
3441
3441
  break;
3442
3442
  }
3443
- var l = _(n, this.clonePosition());
3443
+ var l = v(n, this.clonePosition());
3444
3444
  return {
3445
- val: { type: S.literal, value: i, location: l },
3445
+ val: { type: w.literal, value: i, location: l },
3446
3446
  err: null
3447
3447
  };
3448
3448
  }, e.prototype.tryParseLeftAngleBracket = function() {
3449
3449
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3450
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3450
+ !Ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3451
3451
  }, e.prototype.tryParseQuote = function(t) {
3452
3452
  if (this.isEOF() || this.char() !== 39)
3453
3453
  return null;
@@ -3490,40 +3490,40 @@ var _i = (
3490
3490
  }, e.prototype.parseArgument = function(t, r) {
3491
3491
  var n = this.clonePosition();
3492
3492
  if (this.bump(), this.bumpSpace(), this.isEOF())
3493
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3493
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3494
3494
  if (this.char() === 125)
3495
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3495
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3496
3496
  var i = this.parseIdentifierIfPossible().value;
3497
3497
  if (!i)
3498
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3498
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3499
3499
  if (this.bumpSpace(), this.isEOF())
3500
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3500
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3501
3501
  switch (this.char()) {
3502
3502
  case 125:
3503
3503
  return this.bump(), {
3504
3504
  val: {
3505
- type: S.argument,
3505
+ type: w.argument,
3506
3506
  // value does not include the opening and closing braces.
3507
3507
  value: i,
3508
- location: _(n, this.clonePosition())
3508
+ location: v(n, this.clonePosition())
3509
3509
  },
3510
3510
  err: null
3511
3511
  };
3512
3512
  case 44:
3513
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3513
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3514
3514
  default:
3515
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3515
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3516
3516
  }
3517
3517
  }, e.prototype.parseIdentifierIfPossible = function() {
3518
3518
  var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
3519
3519
  this.bumpTo(i);
3520
- var o = this.clonePosition(), a = _(t, o);
3520
+ var o = this.clonePosition(), a = v(t, o);
3521
3521
  return { value: n, location: a };
3522
3522
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3523
3523
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3524
3524
  switch (s) {
3525
3525
  case "":
3526
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
3526
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
3527
3527
  case "number":
3528
3528
  case "date":
3529
3529
  case "time": {
@@ -3534,44 +3534,44 @@ var _i = (
3534
3534
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3535
3535
  if (c.err)
3536
3536
  return c;
3537
- var f = vi(c.val);
3537
+ var f = _i(c.val);
3538
3538
  if (f.length === 0)
3539
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3540
- var p = _(h, this.clonePosition());
3539
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3540
+ var p = v(h, this.clonePosition());
3541
3541
  u = { style: f, styleLocation: p };
3542
3542
  }
3543
3543
  var m = this.tryParseArgumentClose(i);
3544
3544
  if (m.err)
3545
3545
  return m;
3546
- var d = _(i, this.clonePosition());
3546
+ var d = v(i, this.clonePosition());
3547
3547
  if (u && At(u?.style, "::", 0)) {
3548
- var g = yi(u.style.slice(2));
3548
+ var x = vi(u.style.slice(2));
3549
3549
  if (s === "number") {
3550
- var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3550
+ var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
3551
3551
  return c.err ? c : {
3552
- val: { type: S.number, value: n, location: d, style: c.val },
3552
+ val: { type: w.number, value: n, location: d, style: c.val },
3553
3553
  err: null
3554
3554
  };
3555
3555
  } else {
3556
- if (g.length === 0)
3556
+ if (x.length === 0)
3557
3557
  return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
3558
- var A = g;
3559
- this.locale && (A = oi(g, this.locale));
3558
+ var E = x;
3559
+ this.locale && (E = si(x, this.locale));
3560
3560
  var f = {
3561
3561
  type: Z.dateTime,
3562
- pattern: A,
3562
+ pattern: E,
3563
3563
  location: u.styleLocation,
3564
- parsedOptions: this.shouldParseSkeletons ? Yn(A) : {}
3565
- }, T = s === "date" ? S.date : S.time;
3564
+ parsedOptions: this.shouldParseSkeletons ? Kn(E) : {}
3565
+ }, H = s === "date" ? w.date : w.time;
3566
3566
  return {
3567
- val: { type: T, value: n, location: d, style: f },
3567
+ val: { type: H, value: n, location: d, style: f },
3568
3568
  err: null
3569
3569
  };
3570
3570
  }
3571
3571
  }
3572
3572
  return {
3573
3573
  val: {
3574
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3574
+ type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3575
3575
  value: n,
3576
3576
  location: d,
3577
3577
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3582,30 +3582,30 @@ var _i = (
3582
3582
  case "plural":
3583
3583
  case "selectordinal":
3584
3584
  case "select": {
3585
- var x = this.clonePosition();
3585
+ var _ = this.clonePosition();
3586
3586
  if (this.bumpSpace(), !this.bumpIf(","))
3587
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, Ee({}, x)));
3587
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Ee({}, _)));
3588
3588
  this.bumpSpace();
3589
- var E = this.parseIdentifierIfPossible(), b = 0;
3590
- if (s !== "select" && E.value === "offset") {
3589
+ var S = this.parseIdentifierIfPossible(), b = 0;
3590
+ if (s !== "select" && S.value === "offset") {
3591
3591
  if (!this.bumpIf(":"))
3592
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3592
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3593
3593
  this.bumpSpace();
3594
3594
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3595
3595
  if (c.err)
3596
3596
  return c;
3597
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
3597
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), b = c.val;
3598
3598
  }
3599
- var B = this.tryParsePluralOrSelectOptions(t, s, r, E);
3599
+ var B = this.tryParsePluralOrSelectOptions(t, s, r, S);
3600
3600
  if (B.err)
3601
3601
  return B;
3602
3602
  var m = this.tryParseArgumentClose(i);
3603
3603
  if (m.err)
3604
3604
  return m;
3605
- var he = _(i, this.clonePosition());
3605
+ var he = v(i, this.clonePosition());
3606
3606
  return s === "select" ? {
3607
3607
  val: {
3608
- type: S.select,
3608
+ type: w.select,
3609
3609
  value: n,
3610
3610
  options: Bt(B.val),
3611
3611
  location: he
@@ -3613,7 +3613,7 @@ var _i = (
3613
3613
  err: null
3614
3614
  } : {
3615
3615
  val: {
3616
- type: S.plural,
3616
+ type: w.plural,
3617
3617
  value: n,
3618
3618
  options: Bt(B.val),
3619
3619
  offset: b,
@@ -3624,10 +3624,10 @@ var _i = (
3624
3624
  };
3625
3625
  }
3626
3626
  default:
3627
- return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
3627
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
3628
3628
  }
3629
3629
  }, e.prototype.tryParseArgumentClose = function(t) {
3630
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3630
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3631
3631
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3632
3632
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3633
3633
  var n = this.char();
@@ -3636,7 +3636,7 @@ var _i = (
3636
3636
  this.bump();
3637
3637
  var i = this.clonePosition();
3638
3638
  if (!this.bumpUntil("'"))
3639
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3639
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3640
3640
  this.bump();
3641
3641
  break;
3642
3642
  }
@@ -3666,7 +3666,7 @@ var _i = (
3666
3666
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3667
3667
  var n = [];
3668
3668
  try {
3669
- n = ei(t);
3669
+ n = ti(t);
3670
3670
  } catch {
3671
3671
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3672
3672
  }
@@ -3675,7 +3675,7 @@ var _i = (
3675
3675
  type: Z.number,
3676
3676
  tokens: n,
3677
3677
  location: r,
3678
- parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
3678
+ parsedOptions: this.shouldParseSkeletons ? oi(n) : {}
3679
3679
  },
3680
3680
  err: null
3681
3681
  };
@@ -3687,7 +3687,7 @@ var _i = (
3687
3687
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3688
3688
  if (f.err)
3689
3689
  return f;
3690
- h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3690
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3691
3691
  } else
3692
3692
  break;
3693
3693
  }
@@ -3696,7 +3696,7 @@ var _i = (
3696
3696
  u === "other" && (a = !0), this.bumpSpace();
3697
3697
  var p = this.clonePosition();
3698
3698
  if (!this.bumpIf("{"))
3699
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3699
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3700
3700
  var m = this.parseMessage(t + 1, r, n);
3701
3701
  if (m.err)
3702
3702
  return m;
@@ -3707,11 +3707,11 @@ var _i = (
3707
3707
  u,
3708
3708
  {
3709
3709
  value: m.val,
3710
- location: _(p, this.clonePosition())
3710
+ location: v(p, this.clonePosition())
3711
3711
  }
3712
3712
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3713
3713
  }
3714
- return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3714
+ return s.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3715
3715
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3716
3716
  var n = 1, i = this.clonePosition();
3717
3717
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3722,8 +3722,8 @@ var _i = (
3722
3722
  else
3723
3723
  break;
3724
3724
  }
3725
- var l = _(i, this.clonePosition());
3726
- return o ? (a *= n, bi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3725
+ var l = v(i, this.clonePosition());
3726
+ return o ? (a *= n, gi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3727
3727
  }, e.prototype.offset = function() {
3728
3728
  return this.position.offset;
3729
3729
  }, e.prototype.isEOF = function() {
@@ -3792,16 +3792,16 @@ var _i = (
3792
3792
  function tt(e) {
3793
3793
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3794
3794
  }
3795
- function xi(e) {
3795
+ function Ei(e) {
3796
3796
  return tt(e) || e === 47;
3797
3797
  }
3798
- function Ei(e) {
3798
+ function Si(e) {
3799
3799
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3800
3800
  }
3801
3801
  function gr(e) {
3802
3802
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3803
3803
  }
3804
- function Si(e) {
3804
+ function wi(e) {
3805
3805
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3806
3806
  }
3807
3807
  function rt(e) {
@@ -3813,9 +3813,9 @@ function rt(e) {
3813
3813
  ir(t) && hr(t.style) || (or(t) || sr(t)) && qe(t.style) ? delete t.style.location : lr(t) && rt(t.children);
3814
3814
  });
3815
3815
  }
3816
- function wi(e, t) {
3816
+ function Ti(e, t) {
3817
3817
  t === void 0 && (t = {}), t = Ee({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3818
- var r = new _i(e, t).parse();
3818
+ var r = new xi(e, t).parse();
3819
3819
  if (r.err) {
3820
3820
  var n = SyntaxError(y[r.err.kind]);
3821
3821
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3847,7 +3847,7 @@ var Ce = (
3847
3847
  }
3848
3848
  return t;
3849
3849
  }(Ce)
3850
- ), Ti = (
3850
+ ), Hi = (
3851
3851
  /** @class */
3852
3852
  function(e) {
3853
3853
  Be(t, e);
@@ -3856,7 +3856,7 @@ var Ce = (
3856
3856
  }
3857
3857
  return t;
3858
3858
  }(Ce)
3859
- ), Hi = (
3859
+ ), Ai = (
3860
3860
  /** @class */
3861
3861
  function(e) {
3862
3862
  Be(t, e);
@@ -3869,13 +3869,13 @@ var Ce = (
3869
3869
  (function(e) {
3870
3870
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3871
3871
  })(P || (P = {}));
3872
- function Ai(e) {
3872
+ function Bi(e) {
3873
3873
  return e.length < 2 ? e : e.reduce(function(t, r) {
3874
3874
  var n = t[t.length - 1];
3875
3875
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3876
3876
  }, []);
3877
3877
  }
3878
- function Bi(e) {
3878
+ function Ci(e) {
3879
3879
  return typeof e == "function";
3880
3880
  }
3881
3881
  function ge(e, t, r, n, i, o, a) {
@@ -3895,7 +3895,7 @@ function ge(e, t, r, n, i, o, a) {
3895
3895
  });
3896
3896
  continue;
3897
3897
  }
3898
- if (Jn(h)) {
3898
+ if (qn(h)) {
3899
3899
  typeof o == "number" && s.push({
3900
3900
  type: P.literal,
3901
3901
  value: r.getNumberFormat(t).format(o)
@@ -3904,9 +3904,9 @@ function ge(e, t, r, n, i, o, a) {
3904
3904
  }
3905
3905
  var c = h.value;
3906
3906
  if (!(i && c in i))
3907
- throw new Hi(c, a);
3907
+ throw new Ai(c, a);
3908
3908
  var f = i[c];
3909
- if (Qn(h)) {
3909
+ if (Jn(h)) {
3910
3910
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3911
3911
  type: typeof f == "string" ? P.literal : P.object,
3912
3912
  value: f
@@ -3938,13 +3938,13 @@ function ge(e, t, r, n, i, o, a) {
3938
3938
  continue;
3939
3939
  }
3940
3940
  if (lr(h)) {
3941
- var m = h.children, d = h.value, g = i[d];
3942
- if (!Bi(g))
3943
- throw new Ti(d, "function", a);
3944
- var A = ge(m, t, r, n, i, o), T = g(A.map(function(b) {
3941
+ var m = h.children, d = h.value, x = i[d];
3942
+ if (!Ci(x))
3943
+ throw new Hi(d, "function", a);
3944
+ var E = ge(m, t, r, n, i, o), H = x(E.map(function(b) {
3945
3945
  return b.value;
3946
3946
  }));
3947
- Array.isArray(T) || (T = [T]), s.push.apply(s, T.map(function(b) {
3947
+ Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(b) {
3948
3948
  return {
3949
3949
  type: typeof b == "string" ? P.literal : P.object,
3950
3950
  value: b
@@ -3952,38 +3952,38 @@ function ge(e, t, r, n, i, o, a) {
3952
3952
  }));
3953
3953
  }
3954
3954
  if (ar(h)) {
3955
- var x = h.options[f] || h.options.other;
3956
- if (!x)
3955
+ var _ = h.options[f] || h.options.other;
3956
+ if (!_)
3957
3957
  throw new Pt(h.value, f, Object.keys(h.options), a);
3958
- s.push.apply(s, ge(x.value, t, r, n, i));
3958
+ s.push.apply(s, ge(_.value, t, r, n, i));
3959
3959
  continue;
3960
3960
  }
3961
3961
  if (ur(h)) {
3962
- var x = h.options["=".concat(f)];
3963
- if (!x) {
3962
+ var _ = h.options["=".concat(f)];
3963
+ if (!_) {
3964
3964
  if (!Intl.PluralRules)
3965
3965
  throw new Ce(`Intl.PluralRules is not available in this environment.
3966
3966
  Try polyfilling it using "@formatjs/intl-pluralrules"
3967
3967
  `, Q.MISSING_INTL_API, a);
3968
- var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3969
- x = h.options[E] || h.options.other;
3968
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3969
+ _ = h.options[S] || h.options.other;
3970
3970
  }
3971
- if (!x)
3971
+ if (!_)
3972
3972
  throw new Pt(h.value, f, Object.keys(h.options), a);
3973
- s.push.apply(s, ge(x.value, t, r, n, i, f - (h.offset || 0)));
3973
+ s.push.apply(s, ge(_.value, t, r, n, i, f - (h.offset || 0)));
3974
3974
  continue;
3975
3975
  }
3976
3976
  }
3977
- return Ai(s);
3977
+ return Bi(s);
3978
3978
  }
3979
- function Ci(e, t) {
3979
+ function Pi(e, t) {
3980
3980
  return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3981
3981
  return r[n] = N(N({}, e[n]), t[n] || {}), r;
3982
3982
  }, {})) : e;
3983
3983
  }
3984
- function Pi(e, t) {
3984
+ function Oi(e, t) {
3985
3985
  return t ? Object.keys(e).reduce(function(r, n) {
3986
- return r[n] = Ci(e[n], t[n]), r;
3986
+ return r[n] = Pi(e[n], t[n]), r;
3987
3987
  }, N({}, e)) : e;
3988
3988
  }
3989
3989
  function Ue(e) {
@@ -4000,39 +4000,39 @@ function Ue(e) {
4000
4000
  }
4001
4001
  };
4002
4002
  }
4003
- function Oi(e) {
4003
+ function Ii(e) {
4004
4004
  return e === void 0 && (e = {
4005
4005
  number: {},
4006
4006
  dateTime: {},
4007
4007
  pluralRules: {}
4008
4008
  }), {
4009
- getNumberFormat: $e(function() {
4009
+ getNumberFormat: Re(function() {
4010
4010
  for (var t, r = [], n = 0; n < arguments.length; n++)
4011
4011
  r[n] = arguments[n];
4012
4012
  return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
4013
4013
  }, {
4014
4014
  cache: Ue(e.number),
4015
- strategy: Re.variadic
4015
+ strategy: $e.variadic
4016
4016
  }),
4017
- getDateTimeFormat: $e(function() {
4017
+ getDateTimeFormat: Re(function() {
4018
4018
  for (var t, r = [], n = 0; n < arguments.length; n++)
4019
4019
  r[n] = arguments[n];
4020
4020
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
4021
4021
  }, {
4022
4022
  cache: Ue(e.dateTime),
4023
- strategy: Re.variadic
4023
+ strategy: $e.variadic
4024
4024
  }),
4025
- getPluralRules: $e(function() {
4025
+ getPluralRules: Re(function() {
4026
4026
  for (var t, r = [], n = 0; n < arguments.length; n++)
4027
4027
  r[n] = arguments[n];
4028
4028
  return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
4029
4029
  }, {
4030
4030
  cache: Ue(e.pluralRules),
4031
- strategy: Re.variadic
4031
+ strategy: $e.variadic
4032
4032
  })
4033
4033
  };
4034
4034
  }
4035
- var Ii = (
4035
+ var Mi = (
4036
4036
  /** @class */
4037
4037
  function() {
4038
4038
  function e(t, r, n, i) {
@@ -4064,13 +4064,13 @@ var Ii = (
4064
4064
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4065
4065
  var a = i || {};
4066
4066
  a.formatters;
4067
- var s = Fn(a, ["formatters"]);
4067
+ var s = jn(a, ["formatters"]);
4068
4068
  this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
4069
4069
  } else
4070
4070
  this.ast = t;
4071
4071
  if (!Array.isArray(this.ast))
4072
4072
  throw new TypeError("A message must be provided as a String or AST.");
4073
- this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
4073
+ this.formats = Oi(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
4074
4074
  }
4075
4075
  return Object.defineProperty(e, "defaultLocale", {
4076
4076
  get: function() {
@@ -4083,7 +4083,7 @@ var Ii = (
4083
4083
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4084
4084
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4085
4085
  }
4086
- }, e.__parse = wi, e.formats = {
4086
+ }, e.__parse = Ti, e.formats = {
4087
4087
  number: {
4088
4088
  integer: {
4089
4089
  maximumFractionDigits: 0
@@ -4144,7 +4144,7 @@ var Ii = (
4144
4144
  }, e;
4145
4145
  }()
4146
4146
  );
4147
- function Mi(e, t) {
4147
+ function Ni(e, t) {
4148
4148
  if (t == null)
4149
4149
  return;
4150
4150
  if (t in e)
@@ -4165,21 +4165,21 @@ function Mi(e, t) {
4165
4165
  n = void 0;
4166
4166
  return n;
4167
4167
  }
4168
- const R = {}, Ni = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), yr = (e, t) => {
4168
+ const $ = {}, Li = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), yr = (e, t) => {
4169
4169
  if (t == null)
4170
4170
  return;
4171
- if (t in R && e in R[t])
4172
- return R[t][e];
4171
+ if (t in $ && e in $[t])
4172
+ return $[t][e];
4173
4173
  const r = Pe(t);
4174
4174
  for (let n = 0; n < r.length; n++) {
4175
4175
  const i = r[n], o = $i(i, e);
4176
4176
  if (o)
4177
- return Ni(e, t, o);
4177
+ return Li(e, t, o);
4178
4178
  }
4179
4179
  };
4180
4180
  let ut;
4181
4181
  const le = Ae({});
4182
- function Li(e) {
4182
+ function Ri(e) {
4183
4183
  return ut[e] || null;
4184
4184
  }
4185
4185
  function vr(e) {
@@ -4188,10 +4188,10 @@ function vr(e) {
4188
4188
  function $i(e, t) {
4189
4189
  if (!vr(e))
4190
4190
  return null;
4191
- const r = Li(e);
4192
- return Mi(r, t);
4191
+ const r = Ri(e);
4192
+ return Ni(r, t);
4193
4193
  }
4194
- function Ri(e) {
4194
+ function Gi(e) {
4195
4195
  if (e == null)
4196
4196
  return;
4197
4197
  const t = Pe(e);
@@ -4202,7 +4202,7 @@ function Ri(e) {
4202
4202
  }
4203
4203
  }
4204
4204
  function _r(e, ...t) {
4205
- delete R[e], le.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
4205
+ delete $[e], le.update((r) => (r[e] = Fn.all([r[e] || {}, ...t]), r));
4206
4206
  }
4207
4207
  q(
4208
4208
  [le],
@@ -4210,13 +4210,13 @@ q(
4210
4210
  );
4211
4211
  le.subscribe((e) => ut = e);
4212
4212
  const ye = {};
4213
- function Gi(e, t) {
4213
+ function Ui(e, t) {
4214
4214
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4215
4215
  }
4216
4216
  function xr(e) {
4217
4217
  return ye[e];
4218
4218
  }
4219
- function Ui(e) {
4219
+ function Di(e) {
4220
4220
  return Pe(e).map((t) => {
4221
4221
  const r = xr(t);
4222
4222
  return [t, r ? [...r] : []];
@@ -4230,19 +4230,19 @@ function nt(e) {
4230
4230
  }
4231
4231
  );
4232
4232
  }
4233
- function Di(e, t) {
4233
+ function Fi(e, t) {
4234
4234
  return Promise.all(
4235
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
4235
+ t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
4236
4236
  ).then((n) => _r(e, ...n));
4237
4237
  }
4238
4238
  const te = {};
4239
4239
  function Er(e) {
4240
4240
  if (!nt(e))
4241
4241
  return e in te ? te[e] : Promise.resolve();
4242
- const t = Ui(e);
4242
+ const t = Di(e);
4243
4243
  return te[e] = Promise.all(
4244
4244
  t.map(
4245
- ([r, n]) => Di(r, n)
4245
+ ([r, n]) => Fi(r, n)
4246
4246
  )
4247
4247
  ).then(() => {
4248
4248
  if (nt(e))
@@ -4250,7 +4250,7 @@ function Er(e) {
4250
4250
  delete te[e];
4251
4251
  }), te[e];
4252
4252
  }
4253
- const Fi = {
4253
+ const ji = {
4254
4254
  number: {
4255
4255
  scientific: { notation: "scientific" },
4256
4256
  engineering: { notation: "engineering" },
@@ -4279,26 +4279,26 @@ const Fi = {
4279
4279
  timeZoneName: "short"
4280
4280
  }
4281
4281
  }
4282
- }, ji = {
4282
+ }, ki = {
4283
4283
  fallbackLocale: null,
4284
4284
  loadingDelay: 200,
4285
- formats: Fi,
4285
+ formats: ji,
4286
4286
  warnOnMissingMessages: !0,
4287
4287
  handleMissingMessage: void 0,
4288
4288
  ignoreTag: !0
4289
- }, ki = ji;
4289
+ }, Vi = ki;
4290
4290
  function J() {
4291
- return ki;
4291
+ return Vi;
4292
4292
  }
4293
4293
  const De = Ae(!1);
4294
- var Vi = Object.defineProperty, Xi = Object.defineProperties, zi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Wi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qi = (e, t) => {
4294
+ var Xi = Object.defineProperty, zi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Ot = Object.getOwnPropertySymbols, Zi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
4295
4295
  for (var r in t || (t = {}))
4296
- Wi.call(t, r) && It(e, r, t[r]);
4296
+ Zi.call(t, r) && It(e, r, t[r]);
4297
4297
  if (Ot)
4298
4298
  for (var r of Ot(t))
4299
- Zi.call(t, r) && It(e, r, t[r]);
4299
+ Qi.call(t, r) && It(e, r, t[r]);
4300
4300
  return e;
4301
- }, Ji = (e, t) => Xi(e, zi(t));
4301
+ }, qi = (e, t) => zi(e, Wi(t));
4302
4302
  let it;
4303
4303
  const Se = Ae(null);
4304
4304
  function Mt(e) {
@@ -4314,8 +4314,8 @@ function D() {
4314
4314
  Se.subscribe((e) => {
4315
4315
  it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4316
4316
  });
4317
- const qi = (e) => {
4318
- if (e && Ri(e) && nt(e)) {
4317
+ const Yi = (e) => {
4318
+ if (e && Gi(e) && nt(e)) {
4319
4319
  const { loadingDelay: t } = J();
4320
4320
  let r;
4321
4321
  return typeof window < "u" && D() != null && t ? r = window.setTimeout(
@@ -4328,8 +4328,8 @@ const qi = (e) => {
4328
4328
  });
4329
4329
  }
4330
4330
  return Se.set(e);
4331
- }, Y = Ji(Qi({}, Se), {
4332
- set: qi
4331
+ }, Y = qi(Ji({}, Se), {
4332
+ set: Yi
4333
4333
  }), Oe = (e) => {
4334
4334
  const t = /* @__PURE__ */ Object.create(null);
4335
4335
  return (n) => {
@@ -4337,7 +4337,7 @@ const qi = (e) => {
4337
4337
  return i in t ? t[i] : t[i] = e(n);
4338
4338
  };
4339
4339
  };
4340
- var Yi = Object.defineProperty, we = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4340
+ var Ki = Object.defineProperty, we = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4341
4341
  for (var r in t || (t = {}))
4342
4342
  Sr.call(t, r) && Nt(e, r, t[r]);
4343
4343
  if (we)
@@ -4358,21 +4358,21 @@ const oe = (e, t) => {
4358
4358
  if (e in r && t in r[e])
4359
4359
  return r[e][t];
4360
4360
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4361
- }, Ki = Oe(
4361
+ }, eo = Oe(
4362
4362
  (e) => {
4363
4363
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4364
4364
  if (r == null)
4365
4365
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4366
4366
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4367
4367
  }
4368
- ), eo = Oe(
4368
+ ), to = Oe(
4369
4369
  (e) => {
4370
4370
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4371
4371
  if (r == null)
4372
4372
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4373
4373
  return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4374
4374
  }
4375
- ), to = Oe(
4375
+ ), ro = Oe(
4376
4376
  (e) => {
4377
4377
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4378
4378
  if (r == null)
@@ -4381,33 +4381,33 @@ const oe = (e, t) => {
4381
4381
  );
4382
4382
  return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4383
4383
  }
4384
- ), ro = (e = {}) => {
4384
+ ), no = (e = {}) => {
4385
4385
  var t = e, {
4386
4386
  locale: r = D()
4387
4387
  } = t, n = K(t, [
4388
4388
  "locale"
4389
4389
  ]);
4390
- return Ki(lt({ locale: r }, n));
4391
- }, no = (e = {}) => {
4390
+ return eo(lt({ locale: r }, n));
4391
+ }, io = (e = {}) => {
4392
4392
  var t = e, {
4393
4393
  locale: r = D()
4394
4394
  } = t, n = K(t, [
4395
4395
  "locale"
4396
4396
  ]);
4397
- return eo(lt({ locale: r }, n));
4398
- }, io = (e = {}) => {
4397
+ return to(lt({ locale: r }, n));
4398
+ }, oo = (e = {}) => {
4399
4399
  var t = e, {
4400
4400
  locale: r = D()
4401
4401
  } = t, n = K(t, [
4402
4402
  "locale"
4403
4403
  ]);
4404
- return to(lt({ locale: r }, n));
4405
- }, oo = Oe(
4404
+ return ro(lt({ locale: r }, n));
4405
+ }, so = Oe(
4406
4406
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4407
- (e, t = D()) => new Ii(e, t, J().formats, {
4407
+ (e, t = D()) => new Mi(e, t, J().formats, {
4408
4408
  ignoreTag: J().ignoreTag
4409
4409
  })
4410
- ), so = (e, t = {}) => {
4410
+ ), ao = (e, t = {}) => {
4411
4411
  var r, n, i, o;
4412
4412
  let a = t;
4413
4413
  typeof e == "object" && (a = e, e = a.id);
@@ -4431,7 +4431,7 @@ const oe = (e, t) => {
4431
4431
  return h;
4432
4432
  let c = h;
4433
4433
  try {
4434
- c = oo(h, l).format(s);
4434
+ c = so(h, l).format(s);
4435
4435
  } catch (f) {
4436
4436
  f instanceof Error && console.warn(
4437
4437
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4439,21 +4439,21 @@ const oe = (e, t) => {
4439
4439
  );
4440
4440
  }
4441
4441
  return c;
4442
- }, ao = (e, t) => io(t).format(e), uo = (e, t) => no(t).format(e), lo = (e, t) => ro(t).format(e), ho = (e, t = D()) => yr(e, t), co = q([Y, le], () => so);
4443
- q([Y], () => ao);
4442
+ }, uo = (e, t) => oo(t).format(e), lo = (e, t) => io(t).format(e), ho = (e, t) => no(t).format(e), co = (e, t = D()) => yr(e, t), fo = q([Y, le], () => ao);
4444
4443
  q([Y], () => uo);
4445
4444
  q([Y], () => lo);
4446
- q([Y, le], () => ho);
4447
- window.emWidgets = { topic: Sn };
4448
- const fo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4445
+ q([Y], () => ho);
4446
+ q([Y, le], () => co);
4447
+ window.emWidgets = { topic: wn };
4448
+ const mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4449
4449
  String(Number.MAX_SAFE_INTEGER).length;
4450
- function mo(e, t) {
4450
+ function po(e, t) {
4451
4451
  if (e) {
4452
4452
  const r = document.createElement("style");
4453
4453
  r.innerHTML = t, e.appendChild(r);
4454
4454
  }
4455
4455
  }
4456
- function po(e, t) {
4456
+ function bo(e, t) {
4457
4457
  if (!e || !t)
4458
4458
  return;
4459
4459
  const r = new URL(t);
@@ -4464,7 +4464,7 @@ function po(e, t) {
4464
4464
  console.error("There was an error while trying to load client styling from URL", n);
4465
4465
  });
4466
4466
  }
4467
- function bo(e, t, r) {
4467
+ function go(e, t, r) {
4468
4468
  if (window.emMessageBus) {
4469
4469
  const n = document.createElement("style");
4470
4470
  window.emMessageBus.subscribe(t, (i) => {
@@ -4475,10 +4475,10 @@ function bo(e, t, r) {
4475
4475
  function Lt(e, t) {
4476
4476
  _r(e, t);
4477
4477
  }
4478
- function go(e) {
4478
+ function yo(e) {
4479
4479
  Y.set(e);
4480
4480
  }
4481
- const $t = {
4481
+ const Rt = {
4482
4482
  en: {
4483
4483
  cancel: "Cancel",
4484
4484
  confirm: "Confirm"
@@ -4524,15 +4524,15 @@ const $t = {
4524
4524
  confirm: "Confirm"
4525
4525
  }
4526
4526
  };
4527
- function yo(e) {
4528
- Gr(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}');
4527
+ function vo(e) {
4528
+ Ur(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}');
4529
4529
  }
4530
- const vo = (e) => ({}), Rt = (e) => ({});
4531
- function _o(e) {
4530
+ const _o = (e) => ({}), $t = (e) => ({});
4531
+ function xo(e) {
4532
4532
  let t, r;
4533
4533
  return {
4534
4534
  c() {
4535
- t = ft("svg"), r = ft("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4535
+ t = ft("svg"), r = ft("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");
4536
4536
  },
4537
4537
  m(n, i) {
4538
4538
  se(n, t, i), C(t, r);
@@ -4550,7 +4550,7 @@ function Gt(e) {
4550
4550
  t = I("div"), r = I("h2"), n = ae(
4551
4551
  /*modaltitle*/
4552
4552
  e[1]
4553
- ), H(t, "class", "GeneralConfirmationTitle");
4553
+ ), A(t, "class", "GeneralConfirmationTitle");
4554
4554
  },
4555
4555
  m(i, o) {
4556
4556
  se(i, t, o), C(t, r), C(r, n);
@@ -4575,14 +4575,14 @@ function Ut(e) {
4575
4575
  ), n, i, o;
4576
4576
  return {
4577
4577
  c() {
4578
- t = I("button"), n = ae(r), H(t, "class", "GeneralCancelButton");
4578
+ t = I("button"), n = ae(r), A(t, "class", "GeneralCancelButton");
4579
4579
  },
4580
4580
  m(a, s) {
4581
4581
  se(a, t, s), C(t, n), i || (o = Fe(
4582
4582
  t,
4583
4583
  "click",
4584
4584
  /*click_handler*/
4585
- e[17]
4585
+ e[18]
4586
4586
  ), i = !0);
4587
4587
  },
4588
4588
  p(a, s) {
@@ -4595,38 +4595,38 @@ function Ut(e) {
4595
4595
  }
4596
4596
  };
4597
4597
  }
4598
- function xo(e) {
4598
+ function Eo(e) {
4599
4599
  let t, r, n, i, o, a, s, l, u, h, c = (
4600
4600
  /*$_*/
4601
4601
  e[4]("confirm") + ""
4602
4602
  ), f, p, m, d;
4603
- const g = (
4603
+ const x = (
4604
4604
  /*#slots*/
4605
- e[16].close
4606
- ), A = Ir(
4607
- g,
4605
+ e[17].close
4606
+ ), E = Mr(
4607
+ x,
4608
4608
  e,
4609
4609
  /*$$scope*/
4610
- e[15],
4611
- Rt
4612
- ), T = A || _o();
4613
- let x = (
4610
+ e[16],
4611
+ $t
4612
+ ), H = E || xo();
4613
+ let _ = (
4614
4614
  /*modaltitle*/
4615
4615
  e[1] && Gt(e)
4616
- ), E = (
4616
+ ), S = (
4617
4617
  /*hascancelbutton*/
4618
4618
  e[2] && Ut(e)
4619
4619
  );
4620
4620
  return {
4621
4621
  c() {
4622
- t = I("div"), r = I("div"), n = I("span"), T && T.c(), i = ce(), x && x.c(), o = ce(), a = I("div"), s = ce(), l = I("div"), E && E.c(), u = ce(), h = I("button"), f = ae(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(a, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4623
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4624
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4622
+ t = I("div"), r = I("div"), n = I("span"), H && H.c(), i = ce(), _ && _.c(), o = ce(), a = I("div"), s = ce(), l = I("div"), S && S.c(), u = ce(), h = I("button"), f = ae(c), A(n, "class", "ModalCloseBtn"), A(n, "role", "button"), A(a, "class", "GeneralConfirmationContent"), A(h, "class", "GeneralConfirmButton"), A(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4623
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), A(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4624
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), A(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4625
4625
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4626
4626
  },
4627
4627
  m(b, B) {
4628
- se(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, a), a.innerHTML = /*modaltext*/
4629
- e[0], C(r, s), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
4628
+ se(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, a), a.innerHTML = /*modaltext*/
4629
+ e[0], C(r, s), C(r, l), S && S.m(l, null), C(l, u), C(l, h), C(h, f), e[20](t), p = !0, m || (d = [
4630
4630
  Fe(
4631
4631
  n,
4632
4632
  "click",
@@ -4637,58 +4637,66 @@ function xo(e) {
4637
4637
  h,
4638
4638
  "click",
4639
4639
  /*click_handler_1*/
4640
- e[18]
4640
+ e[19]
4641
4641
  )
4642
4642
  ], m = !0);
4643
4643
  },
4644
4644
  p(b, [B]) {
4645
- A && A.p && (!p || B & /*$$scope*/
4646
- 32768) && Nr(
4647
- A,
4648
- g,
4645
+ E && E.p && (!p || B & /*$$scope*/
4646
+ 65536) && Lr(
4647
+ E,
4648
+ x,
4649
4649
  b,
4650
4650
  /*$$scope*/
4651
- b[15],
4652
- p ? Mr(
4653
- g,
4651
+ b[16],
4652
+ p ? Nr(
4653
+ x,
4654
4654
  /*$$scope*/
4655
- b[15],
4655
+ b[16],
4656
4656
  B,
4657
- vo
4658
- ) : Lr(
4657
+ _o
4658
+ ) : Rr(
4659
4659
  /*$$scope*/
4660
- b[15]
4660
+ b[16]
4661
4661
  ),
4662
- Rt
4662
+ $t
4663
4663
  ), /*modaltitle*/
4664
- b[1] ? x ? x.p(b, B) : (x = Gt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
4664
+ b[1] ? _ ? _.p(b, B) : (_ = Gt(b), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || B & /*modaltext*/
4665
4665
  1) && (a.innerHTML = /*modaltext*/
4666
4666
  b[0]), /*hascancelbutton*/
4667
- b[2] ? E ? E.p(b, B) : (E = Ut(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
4667
+ b[2] ? S ? S.p(b, B) : (S = Ut(b), S.c(), S.m(l, u)) : S && (S.d(1), S = null), (!p || B & /*$_*/
4668
4668
  16) && c !== (c = /*$_*/
4669
4669
  b[4]("confirm") + "") && at(f, c);
4670
4670
  },
4671
4671
  i(b) {
4672
- p || (Wt(T, b), p = !0);
4672
+ p || (Wt(H, b), p = !0);
4673
4673
  },
4674
4674
  o(b) {
4675
- en(T, b), p = !1;
4675
+ tn(H, b), p = !1;
4676
4676
  },
4677
4677
  d(b) {
4678
- b && U(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, G(d);
4678
+ b && U(t), H && H.d(b), _ && _.d(), S && S.d(), e[20](null), m = !1, G(d);
4679
4679
  }
4680
4680
  };
4681
4681
  }
4682
- function Eo(e, t, r) {
4682
+ function So(e, t, r) {
4683
4683
  let n;
4684
- Or(e, co, (v) => r(4, n = v));
4685
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = fo(A) !== "PC";
4686
- const x = () => {
4684
+ Ir(e, fo, (g) => r(4, n = g));
4685
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modaltitle: s = "" } = 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, _ = mo(H) !== "PC";
4686
+ const S = () => {
4687
4687
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4688
- }, E = (v) => {
4689
- v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4690
- }, b = () => {
4691
- fetch(m).then((F) => F.json()).then((F) => {
4688
+ }, b = (g) => {
4689
+ g === "confirm" && u && E.dispatchEvent(new CustomEvent(
4690
+ u,
4691
+ {
4692
+ detail: c,
4693
+ // payload
4694
+ bubbles: !0,
4695
+ composed: !0
4696
+ }
4697
+ )), g === "cancel" && h && E.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), S();
4698
+ }, B = () => {
4699
+ fetch(d).then((F) => F.json()).then((F) => {
4692
4700
  Object.keys(F).forEach((ht) => {
4693
4701
  Lt(ht, F[ht]);
4694
4702
  });
@@ -4696,38 +4704,38 @@ function Eo(e, t, r) {
4696
4704
  console.log(F);
4697
4705
  });
4698
4706
  };
4699
- Object.keys($t).forEach((v) => {
4700
- Lt(v, $t[v]);
4707
+ Object.keys(Rt).forEach((g) => {
4708
+ Lt(g, Rt[g]);
4701
4709
  });
4702
- const B = () => {
4703
- go(c);
4710
+ const he = () => {
4711
+ yo(f);
4704
4712
  };
4705
- Zr(() => () => {
4713
+ Qr(() => () => {
4706
4714
  });
4707
- const he = () => E("cancel"), Hr = () => E("confirm");
4708
- function Ar(v) {
4709
- je[v ? "unshift" : "push"](() => {
4710
- g = v, r(3, g);
4715
+ const Hr = () => b("cancel"), Ar = () => b("confirm");
4716
+ function Br(g) {
4717
+ je[g ? "unshift" : "push"](() => {
4718
+ E = g, r(3, E);
4711
4719
  });
4712
4720
  }
4713
- return e.$$set = (v) => {
4714
- "modaltext" in v && r(0, a = v.modaltext), "modaltitle" in v && r(1, s = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4721
+ return e.$$set = (g) => {
4722
+ "modaltext" in g && r(0, a = g.modaltext), "modaltitle" in g && r(1, s = 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);
4715
4723
  }, e.$$.update = () => {
4716
4724
  e.$$.dirty & /*modaltext, lang*/
4717
- 1025 && a && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4718
- 2056 && f && g && mo(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4719
- 4104 && p && g && po(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4720
- 16392 && d && g && bo(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
4721
- 8192 && m && b();
4725
+ 2049 && a && f && he(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4726
+ 4104 && p && E && po(E, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4727
+ 8200 && m && E && bo(E, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4728
+ 32776 && x && E && go(E, `${x}.Style`), e.$$.dirty & /*translationurl*/
4729
+ 16384 && d && B();
4722
4730
  }, [
4723
4731
  a,
4724
4732
  s,
4725
4733
  l,
4726
- g,
4727
- n,
4728
- T,
4729
- x,
4730
4734
  E,
4735
+ n,
4736
+ _,
4737
+ S,
4738
+ b,
4731
4739
  u,
4732
4740
  h,
4733
4741
  c,
@@ -4735,20 +4743,21 @@ function Eo(e, t, r) {
4735
4743
  p,
4736
4744
  m,
4737
4745
  d,
4746
+ x,
4738
4747
  o,
4739
4748
  i,
4740
- he,
4741
4749
  Hr,
4742
- Ar
4750
+ Ar,
4751
+ Br
4743
4752
  ];
4744
4753
  }
4745
- class Tr extends un {
4754
+ class Tr extends ln {
4746
4755
  constructor(t) {
4747
- super(), sn(
4756
+ super(), an(
4748
4757
  this,
4749
4758
  t,
4759
+ So,
4750
4760
  Eo,
4751
- xo,
4752
4761
  Ft,
4753
4762
  {
4754
4763
  modaltext: 0,
@@ -4756,13 +4765,14 @@ class Tr extends un {
4756
4765
  hascancelbutton: 2,
4757
4766
  modalconfirmevent: 8,
4758
4767
  modalcancelevent: 9,
4759
- lang: 10,
4760
- clientstyling: 11,
4761
- clientstylingurl: 12,
4762
- translationurl: 13,
4763
- mbsource: 14
4768
+ modalconfirmdata: 10,
4769
+ lang: 11,
4770
+ clientstyling: 12,
4771
+ clientstylingurl: 13,
4772
+ translationurl: 14,
4773
+ mbsource: 15
4764
4774
  },
4765
- yo
4775
+ vo
4766
4776
  );
4767
4777
  }
4768
4778
  get modaltext() {
@@ -4795,88 +4805,94 @@ class Tr extends un {
4795
4805
  set modalcancelevent(t) {
4796
4806
  this.$$set({ modalcancelevent: t }), O();
4797
4807
  }
4798
- get lang() {
4808
+ get modalconfirmdata() {
4799
4809
  return this.$$.ctx[10];
4800
4810
  }
4811
+ set modalconfirmdata(t) {
4812
+ this.$$set({ modalconfirmdata: t }), O();
4813
+ }
4814
+ get lang() {
4815
+ return this.$$.ctx[11];
4816
+ }
4801
4817
  set lang(t) {
4802
4818
  this.$$set({ lang: t }), O();
4803
4819
  }
4804
4820
  get clientstyling() {
4805
- return this.$$.ctx[11];
4821
+ return this.$$.ctx[12];
4806
4822
  }
4807
4823
  set clientstyling(t) {
4808
4824
  this.$$set({ clientstyling: t }), O();
4809
4825
  }
4810
4826
  get clientstylingurl() {
4811
- return this.$$.ctx[12];
4827
+ return this.$$.ctx[13];
4812
4828
  }
4813
4829
  set clientstylingurl(t) {
4814
4830
  this.$$set({ clientstylingurl: t }), O();
4815
4831
  }
4816
4832
  get translationurl() {
4817
- return this.$$.ctx[13];
4833
+ return this.$$.ctx[14];
4818
4834
  }
4819
4835
  set translationurl(t) {
4820
4836
  this.$$set({ translationurl: t }), O();
4821
4837
  }
4822
4838
  get mbsource() {
4823
- return this.$$.ctx[14];
4839
+ return this.$$.ctx[15];
4824
4840
  }
4825
4841
  set mbsource(t) {
4826
4842
  this.$$set({ mbsource: t }), O();
4827
4843
  }
4828
4844
  }
4829
- an(Tr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4830
- const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4845
+ un(Tr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4846
+ const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4831
4847
  __proto__: null,
4832
4848
  default: Tr
4833
4849
  }, Symbol.toStringTag, { value: "Module" }));
4834
4850
  export {
4835
4851
  Y as $,
4836
- bo as A,
4837
- Oo as B,
4838
- Tn as C,
4852
+ go as A,
4853
+ Io as B,
4854
+ Hn as C,
4839
4855
  _r as D,
4840
4856
  M as E,
4841
- Or as F,
4842
- fo as G,
4843
- Po as H,
4844
- So as I,
4857
+ Ir as F,
4858
+ mo as G,
4859
+ Oo as H,
4860
+ wo as I,
4845
4861
  ce as J,
4846
- To as K,
4862
+ Ho as K,
4847
4863
  G as L,
4848
4864
  at as M,
4849
- Ho as N,
4865
+ Ao as N,
4850
4866
  Fe as O,
4851
4867
  ae as P,
4852
4868
  ft as Q,
4853
- co as R,
4854
- un as S,
4855
- Io as T,
4856
- sn as a,
4857
- Gr as b,
4858
- an as c,
4869
+ fo as R,
4870
+ ln as S,
4871
+ Mo as T,
4872
+ an as a,
4873
+ Ur as b,
4874
+ un as c,
4859
4875
  U as d,
4860
4876
  Wt as e,
4861
4877
  O as f,
4862
- Ao as g,
4863
- Bo as h,
4864
- Br as i,
4878
+ Bo as g,
4879
+ Co as h,
4880
+ Cr as i,
4865
4881
  se as j,
4866
- wo as k,
4867
- Ir as l,
4868
- Co as m,
4882
+ To as k,
4883
+ Mr as l,
4884
+ Po as m,
4869
4885
  xe as n,
4870
- Zr as o,
4871
- Lr as p,
4872
- Mr as q,
4886
+ Qr as o,
4887
+ Rr as p,
4888
+ Nr as q,
4873
4889
  C as r,
4874
4890
  Ft as s,
4875
- en as t,
4876
- Nr as u,
4891
+ tn as t,
4892
+ Lr as u,
4877
4893
  I as v,
4878
- H as w,
4894
+ A as w,
4879
4895
  je as x,
4880
- mo as y,
4881
- po as z
4896
+ po as y,
4897
+ bo as z
4882
4898
  };