@everymatrix/casino-404 1.61.1 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Gt = Object.defineProperty, Dt = Object.defineProperties;
2
- var Ut = Object.getOwnPropertyDescriptors;
3
- var je = Object.getOwnPropertySymbols;
4
- var kt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable;
5
- var de = (e, t, r) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
1
+ var Ut = Object.defineProperty, kt = Object.defineProperties;
2
+ var jt = Object.getOwnPropertyDescriptors;
3
+ var Xe = Object.getOwnPropertySymbols;
4
+ var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, r) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- kt.call(t, r) && de(e, r, t[r]);
8
- if (je)
9
- for (var r of je(t))
10
- jt.call(t, r) && de(e, r, t[r]);
7
+ Vt.call(t, r) && de(e, r, t[r]);
8
+ if (Xe)
9
+ for (var r of Xe(t))
10
+ Xt.call(t, r) && de(e, r, t[r]);
11
11
  return e;
12
- }, Xe = (e, t) => Dt(e, Ut(t));
12
+ }, Ze = (e, t) => kt(e, jt(t));
13
13
  var B = (e, t, r) => (de(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ze = (e, t, r) => new Promise((n, i) => {
14
+ var We = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -29,25 +29,25 @@ var ze = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function A() {
31
31
  }
32
- function lt(e) {
32
+ function ft(e) {
33
33
  return e();
34
34
  }
35
- function Ze() {
35
+ function Qe() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function re(e) {
39
- e.forEach(lt);
39
+ e.forEach(ft);
40
40
  }
41
41
  function Fe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ft(e, t) {
44
+ function mt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Vt(e) {
47
+ function zt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function ct(e, ...t) {
50
+ function pt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function ct(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Xt(e, t, r) {
60
- e.$$.on_destroy.push(ct(t, r));
59
+ function Zt(e, t, r) {
60
+ e.$$.on_destroy.push(pt(t, r));
61
61
  }
62
62
  function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function zt(e, t, r) {
66
- const n = Zt(e);
65
+ function Wt(e, t, r) {
66
+ const n = Qt(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = C("style");
69
- i.id = t, i.textContent = r, Wt(n, i);
69
+ i.id = t, i.textContent = r, qt(n, i);
70
70
  }
71
71
  }
72
- function Zt(e) {
72
+ function Qt(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,14 +79,14 @@ function Zt(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function Wt(e, t) {
82
+ function qt(e, t) {
83
83
  return _(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function mt(e, t, r) {
89
+ function gt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
92
  function Ge(e) {
@@ -95,7 +95,7 @@ function Ge(e) {
95
95
  function C(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function I(e) {
98
+ function M(e) {
99
99
  return document.createElementNS("http://www.w3.org/2000/svg", e);
100
100
  }
101
101
  function oe(e) {
@@ -104,20 +104,20 @@ function oe(e) {
104
104
  function be() {
105
105
  return oe(" ");
106
106
  }
107
- function Qt(e, t, r, n) {
107
+ function Jt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
110
  function x(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function qt(e) {
113
+ function Yt(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
116
  function xe(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function Jt(e) {
120
+ function Kt(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,20 +130,20 @@ let K;
130
130
  function Y(e) {
131
131
  K = e;
132
132
  }
133
- function Yt() {
133
+ function er() {
134
134
  if (!K)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return K;
137
137
  }
138
- function Kt(e) {
139
- Yt().$$.on_mount.push(e);
138
+ function tr(e) {
139
+ er().$$.on_mount.push(e);
140
140
  }
141
141
  const U = [], Ne = [];
142
142
  let k = [];
143
- const We = [], er = /* @__PURE__ */ Promise.resolve();
143
+ const qe = [], rr = /* @__PURE__ */ Promise.resolve();
144
144
  let Be = !1;
145
- function tr() {
146
- Be || (Be = !0, er.then($));
145
+ function nr() {
146
+ Be || (Be = !0, rr.then($));
147
147
  }
148
148
  function Se(e) {
149
149
  k.push(e);
@@ -158,7 +158,7 @@ function $() {
158
158
  try {
159
159
  for (; G < U.length; ) {
160
160
  const t = U[G];
161
- G++, Y(t), rr(t.$$);
161
+ G++, Y(t), ir(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw U.length = 0, G = 0, t;
@@ -171,40 +171,40 @@ function $() {
171
171
  }
172
172
  k.length = 0;
173
173
  } while (U.length);
174
- for (; We.length; )
175
- We.pop()();
174
+ for (; qe.length; )
175
+ qe.pop()();
176
176
  Be = !1, ye.clear(), Y(e);
177
177
  }
178
- function rr(e) {
178
+ function ir(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), re(e.before_update);
181
181
  const t = e.dirty;
182
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
183
183
  }
184
184
  }
185
- function nr(e) {
185
+ function or(e) {
186
186
  const t = [], r = [];
187
187
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
188
188
  }
189
- const ir = /* @__PURE__ */ new Set();
190
- function or(e, t) {
191
- e && e.i && (ir.delete(e), e.i(t));
189
+ const ar = /* @__PURE__ */ new Set();
190
+ function sr(e, t) {
191
+ e && e.i && (ar.delete(e), e.i(t));
192
192
  }
193
- function ar(e, t, r) {
193
+ function ur(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
195
  n && n.m(t, r), Se(() => {
196
- const o = e.$$.on_mount.map(lt).filter(Fe);
196
+ const o = e.$$.on_mount.map(ft).filter(Fe);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
198
198
  }), i.forEach(Se);
199
199
  }
200
- function sr(e, t) {
200
+ function hr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (nr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (or(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function ur(e, t) {
205
- e.$$.dirty[0] === -1 && (U.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function lr(e, t) {
205
+ e.$$.dirty[0] === -1 && (U.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function hr(e, t, r, n, i, o, s = null, u = [-1]) {
207
+ function cr(e, t, r, n, i, o, s = null, u = [-1]) {
208
208
  const h = K;
209
209
  Y(e);
210
210
  const a = e.$$ = {
@@ -214,7 +214,7 @@ function hr(e, t, r, n, i, o, s = null, u = [-1]) {
214
214
  props: o,
215
215
  update: A,
216
216
  not_equal: i,
217
- bound: Ze(),
217
+ bound: Qe(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function hr(e, t, r, n, i, o, s = null, u = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: Ze(),
226
+ callbacks: Qe(),
227
227
  dirty: u,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  s && s(a.root);
232
232
  let l = !1;
233
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
234
- const y = b.length ? b[0] : c;
235
- return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), l && ur(e, f)), c;
233
+ if (a.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
234
+ const y = b.length ? b[0] : f;
235
+ return a.ctx && i(a.ctx[c], a.ctx[c] = y) && (!a.skip_bound && a.bound[c] && a.bound[c](y), l && lr(e, c)), f;
236
236
  }) : [], a.update(), l = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const f = qt(t.target);
239
- a.fragment && a.fragment.l(f), f.forEach(Ge);
238
+ const c = Yt(t.target);
239
+ a.fragment && a.fragment.l(c), c.forEach(Ge);
240
240
  } else
241
241
  a.fragment && a.fragment.c();
242
- t.intro && or(e.$$.fragment), ar(e, t.target, t.anchor), $();
242
+ t.intro && sr(e.$$.fragment), ur(e, t.target, t.anchor), $();
243
243
  }
244
244
  Y(h);
245
245
  }
246
- let pt;
247
- typeof HTMLElement == "function" && (pt = class extends HTMLElement {
246
+ let dt;
247
+ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return ze(this, null, function* () {
284
+ return We(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
@@ -295,7 +295,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(a, l) {
298
- mt(a, s, l);
298
+ gt(a, s, l);
299
299
  },
300
300
  d: function(a) {
301
301
  a && Ge(s);
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = Jt(this);
308
+ const r = {}, n = Kt(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Xe(Ve({}, this.$$d), {
319
+ props: Ze(ze({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ae(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function lr(e, t, r, n, i, o) {
398
- let s = class extends pt {
397
+ function fr(e, t, r, n, i, o) {
398
+ let s = class extends dt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function lr(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class fr {
428
+ class mr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class fr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- sr(this, 1), this.$destroy = A;
449
+ hr(this, 1), this.$destroy = A;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -468,22 +468,22 @@ class fr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const cr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cr);
474
+ const pr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
476
476
  const D = [];
477
- function mr(e, t) {
477
+ function gr(e, t) {
478
478
  return {
479
- subscribe: fe(e, t).subscribe
479
+ subscribe: ce(e, t).subscribe
480
480
  };
481
481
  }
482
- function fe(e, t = A) {
482
+ function ce(e, t = A) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(u) {
486
- if (ft(e, u) && (e = u, r)) {
486
+ if (mt(e, u) && (e = u, r)) {
487
487
  const h = !D.length;
488
488
  for (const a of n)
489
489
  a[1](), D.push(a, e);
@@ -510,96 +510,96 @@ function Z(e, t, r) {
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const o = t.length < 2;
513
- return mr(r, (s, u) => {
513
+ return gr(r, (s, u) => {
514
514
  let h = !1;
515
515
  const a = [];
516
- let l = 0, f = A;
517
- const c = () => {
516
+ let l = 0, c = A;
517
+ const f = () => {
518
518
  if (l)
519
519
  return;
520
- f();
520
+ c();
521
521
  const y = t(n ? a[0] : a, s, u);
522
- o ? s(y) : f = Fe(y) ? y : A;
522
+ o ? s(y) : c = Fe(y) ? y : A;
523
523
  }, b = i.map(
524
- (y, m) => ct(
524
+ (y, m) => pt(
525
525
  y,
526
526
  (E) => {
527
- a[m] = E, l &= ~(1 << m), h && c();
527
+ a[m] = E, l &= ~(1 << m), h && f();
528
528
  },
529
529
  () => {
530
530
  l |= 1 << m;
531
531
  }
532
532
  )
533
533
  );
534
- return h = !0, c(), function() {
535
- re(b), f(), h = !1;
534
+ return h = !0, f(), function() {
535
+ re(b), c(), h = !1;
536
536
  };
537
537
  });
538
538
  }
539
- function pr(e) {
539
+ function dr(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var gr = function(t) {
543
- return dr(t) && !br(t);
542
+ var br = function(t) {
543
+ return xr(t) && !yr(t);
544
544
  };
545
- function dr(e) {
545
+ function xr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function br(e) {
548
+ function yr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || vr(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || _r(e);
551
551
  }
552
- var xr = typeof Symbol == "function" && Symbol.for, yr = xr ? Symbol.for("react.element") : 60103;
553
- function vr(e) {
554
- return e.$$typeof === yr;
552
+ var vr = typeof Symbol == "function" && Symbol.for, Er = vr ? Symbol.for("react.element") : 60103;
553
+ function _r(e) {
554
+ return e.$$typeof === Er;
555
555
  }
556
- function Er(e) {
556
+ function Hr(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function ee(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Er(e), e, t) : e;
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Hr(e), e, t) : e;
561
561
  }
562
- function _r(e, t, r) {
562
+ function Tr(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
564
  return ee(n, r);
565
565
  });
566
566
  }
567
- function Hr(e, t) {
567
+ function Pr(e, t) {
568
568
  if (!t.customMerge)
569
569
  return j;
570
570
  var r = t.customMerge(e);
571
571
  return typeof r == "function" ? r : j;
572
572
  }
573
- function Tr(e) {
573
+ function Nr(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function Qe(e) {
579
- return Object.keys(e).concat(Tr(e));
578
+ function Je(e) {
579
+ return Object.keys(e).concat(Nr(e));
580
580
  }
581
- function gt(e, t) {
581
+ function bt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function Pr(e, t) {
589
- return gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function Br(e, t) {
589
+ return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Nr(e, t, r) {
591
+ function Sr(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
593
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
594
594
  n[i] = ee(e[i], r);
595
- }), Qe(t).forEach(function(i) {
596
- Pr(e, i) || (gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
595
+ }), Je(t).forEach(function(i) {
596
+ Br(e, i) || (bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
597
597
  }), n;
598
598
  }
599
599
  function j(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = ee;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
602
- return o ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : ee(t, r);
602
+ return o ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
603
603
  }
604
604
  j.all = function(t, r) {
605
605
  if (!Array.isArray(t))
@@ -608,8 +608,8 @@ j.all = function(t, r) {
608
608
  return j(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Br = j, Sr = Br;
612
- const Ar = /* @__PURE__ */ pr(Sr);
611
+ var Ar = j, wr = Ar;
612
+ const Or = /* @__PURE__ */ dr(wr);
613
613
  /*! *****************************************************************************
614
614
  Copyright (c) Microsoft Corporation.
615
615
 
@@ -632,7 +632,7 @@ var Ae = function(e, t) {
632
632
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
633
633
  }, Ae(e, t);
634
634
  };
635
- function ce(e, t) {
635
+ function fe(e, t) {
636
636
  if (typeof t != "function" && t !== null)
637
637
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
638
638
  Ae(e, t);
@@ -651,7 +651,7 @@ var d = function() {
651
651
  return t;
652
652
  }, d.apply(this, arguments);
653
653
  };
654
- function wr(e, t) {
654
+ function Mr(e, t) {
655
655
  var r = {};
656
656
  for (var n in e)
657
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -667,53 +667,55 @@ function ve(e, t, r) {
667
667
  return e.concat(o || t);
668
668
  }
669
669
  function Ee(e, t) {
670
- var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Mr;
670
+ var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Lr;
671
671
  return i(e, {
672
672
  cache: r,
673
673
  serializer: n
674
674
  });
675
675
  }
676
- function Or(e) {
676
+ function Ir(e) {
677
677
  return e == null || typeof e == "number" || typeof e == "boolean";
678
678
  }
679
- function Ir(e, t, r, n) {
680
- var i = Or(n) ? n : r(n), o = t.get(i);
679
+ function xt(e, t, r, n) {
680
+ var i = Ir(n) ? n : r(n), o = t.get(i);
681
681
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
682
682
  }
683
- function dt(e, t, r) {
683
+ function yt(e, t, r) {
684
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
685
685
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
686
686
  }
687
- function bt(e, t, r, n, i) {
687
+ function De(e, t, r, n, i) {
688
688
  return r.bind(t, e, n, i);
689
689
  }
690
- function Mr(e, t) {
691
- var r = e.length === 1 ? Ir : dt;
692
- return bt(e, this, r, t.cache.create(), t.serializer);
693
- }
694
690
  function Lr(e, t) {
695
- return bt(e, this, dt, t.cache.create(), t.serializer);
691
+ var r = e.length === 1 ? xt : yt;
692
+ return De(e, this, r, t.cache.create(), t.serializer);
696
693
  }
697
- var Cr = function() {
694
+ function Cr(e, t) {
695
+ return De(e, this, yt, t.cache.create(), t.serializer);
696
+ }
697
+ function $r(e, t) {
698
+ return De(e, this, xt, t.cache.create(), t.serializer);
699
+ }
700
+ var Rr = function() {
698
701
  return JSON.stringify(arguments);
699
- }, $r = (
700
- /** @class */
701
- function() {
702
- function e() {
703
- this.cache = /* @__PURE__ */ Object.create(null);
704
- }
705
- return e.prototype.get = function(t) {
706
- return this.cache[t];
707
- }, e.prototype.set = function(t, r) {
708
- this.cache[t] = r;
709
- }, e;
710
- }()
711
- ), Rr = {
702
+ };
703
+ function Ue() {
704
+ this.cache = /* @__PURE__ */ Object.create(null);
705
+ }
706
+ Ue.prototype.get = function(e) {
707
+ return this.cache[e];
708
+ };
709
+ Ue.prototype.set = function(e, t) {
710
+ this.cache[e] = t;
711
+ };
712
+ var Fr = {
712
713
  create: function() {
713
- return new $r();
714
+ return new Ue();
714
715
  }
715
716
  }, _e = {
716
- variadic: Lr
717
+ variadic: Cr,
718
+ monadic: $r
717
719
  }, p;
718
720
  (function(e) {
719
721
  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";
@@ -726,43 +728,43 @@ var V;
726
728
  (function(e) {
727
729
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
728
730
  })(V || (V = {}));
729
- function qe(e) {
731
+ function Ye(e) {
730
732
  return e.type === v.literal;
731
733
  }
732
- function Fr(e) {
734
+ function Gr(e) {
733
735
  return e.type === v.argument;
734
736
  }
735
- function xt(e) {
737
+ function vt(e) {
736
738
  return e.type === v.number;
737
739
  }
738
- function yt(e) {
740
+ function Et(e) {
739
741
  return e.type === v.date;
740
742
  }
741
- function vt(e) {
743
+ function _t(e) {
742
744
  return e.type === v.time;
743
745
  }
744
- function Et(e) {
746
+ function Ht(e) {
745
747
  return e.type === v.select;
746
748
  }
747
- function _t(e) {
749
+ function Tt(e) {
748
750
  return e.type === v.plural;
749
751
  }
750
- function Gr(e) {
752
+ function Dr(e) {
751
753
  return e.type === v.pound;
752
754
  }
753
- function Ht(e) {
755
+ function Pt(e) {
754
756
  return e.type === v.tag;
755
757
  }
756
- function Tt(e) {
758
+ function Nt(e) {
757
759
  return !!(e && typeof e == "object" && e.type === V.number);
758
760
  }
759
761
  function we(e) {
760
762
  return !!(e && typeof e == "object" && e.type === V.dateTime);
761
763
  }
762
- var Pt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
763
- function Ur(e) {
764
+ var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ur = /(?:[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;
765
+ function kr(e) {
764
766
  var t = {};
765
- return e.replace(Dr, function(r) {
767
+ return e.replace(Ur, function(r) {
766
768
  var n = r.length;
767
769
  switch (r[0]) {
768
770
  case "G":
@@ -851,36 +853,36 @@ function Ur(e) {
851
853
  return "";
852
854
  }), t;
853
855
  }
854
- var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
- function jr(e) {
856
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
857
+ function Vr(e) {
856
858
  if (e.length === 0)
857
859
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(kr).filter(function(c) {
859
- return c.length > 0;
860
+ for (var t = e.split(jr).filter(function(f) {
861
+ return f.length > 0;
860
862
  }), r = [], n = 0, i = t; n < i.length; n++) {
861
863
  var o = i[n], s = o.split("/");
862
864
  if (s.length === 0)
863
865
  throw new Error("Invalid number skeleton");
864
866
  for (var u = s[0], h = s.slice(1), a = 0, l = h; a < l.length; a++) {
865
- var f = l[a];
866
- if (f.length === 0)
867
+ var c = l[a];
868
+ if (c.length === 0)
867
869
  throw new Error("Invalid number skeleton");
868
870
  }
869
871
  r.push({ stem: u, options: h });
870
872
  }
871
873
  return r;
872
874
  }
873
- function Vr(e) {
875
+ function Xr(e) {
874
876
  return e.replace(/^(.*?)-/, "");
875
877
  }
876
- var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Bt = /^(0+)$/;
877
- function Ye(e) {
878
+ var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, St = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
879
+ function et(e) {
878
880
  var t = {};
879
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
881
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(St, function(r, n, i) {
880
882
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
881
883
  }), t;
882
884
  }
883
- function St(e) {
885
+ function wt(e) {
884
886
  switch (e) {
885
887
  case "sign-auto":
886
888
  return {
@@ -920,7 +922,7 @@ function St(e) {
920
922
  };
921
923
  }
922
924
  }
923
- function zr(e) {
925
+ function Zr(e) {
924
926
  var t;
925
927
  if (e[0] === "E" && e[1] === "E" ? (t = {
926
928
  notation: "engineering"
@@ -928,17 +930,17 @@ function zr(e) {
928
930
  notation: "scientific"
929
931
  }, e = e.slice(1)), t) {
930
932
  var r = e.slice(0, 2);
931
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Bt.test(e))
933
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
932
934
  throw new Error("Malformed concise eng/scientific notation");
933
935
  t.minimumIntegerDigits = e.length;
934
936
  }
935
937
  return t;
936
938
  }
937
- function Ke(e) {
938
- var t = {}, r = St(e);
939
+ function tt(e) {
940
+ var t = {}, r = wt(e);
939
941
  return r || t;
940
942
  }
941
- function Zr(e) {
943
+ function Wr(e) {
942
944
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
943
945
  var i = n[r];
944
946
  switch (i.stem) {
@@ -962,7 +964,7 @@ function Zr(e) {
962
964
  continue;
963
965
  case "measure-unit":
964
966
  case "unit":
965
- t.style = "unit", t.unit = Vr(i.options[0]);
967
+ t.style = "unit", t.unit = Xr(i.options[0]);
966
968
  continue;
967
969
  case "compact-short":
968
970
  case "K":
@@ -974,12 +976,12 @@ function Zr(e) {
974
976
  continue;
975
977
  case "scientific":
976
978
  t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
977
- return d(d({}, h), Ke(a));
979
+ return d(d({}, h), tt(a));
978
980
  }, {}));
979
981
  continue;
980
982
  case "engineering":
981
983
  t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
982
- return d(d({}, h), Ke(a));
984
+ return d(d({}, h), tt(a));
983
985
  }, {}));
984
986
  continue;
985
987
  case "notation-simple":
@@ -1024,11 +1026,11 @@ function Zr(e) {
1024
1026
  case "integer-width":
1025
1027
  if (i.options.length > 1)
1026
1028
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(Xr, function(h, a, l, f, c, b) {
1029
+ i.options[0].replace(zr, function(h, a, l, c, f, b) {
1028
1030
  if (a)
1029
1031
  t.minimumIntegerDigits = l.length;
1030
1032
  else {
1031
- if (f && c)
1033
+ if (c && f)
1032
1034
  throw new Error("We currently do not support maximum integer digits");
1033
1035
  if (b)
1034
1036
  throw new Error("We currently do not support exact integer digits");
@@ -1037,27 +1039,27 @@ function Zr(e) {
1037
1039
  });
1038
1040
  continue;
1039
1041
  }
1040
- if (Bt.test(i.stem)) {
1042
+ if (At.test(i.stem)) {
1041
1043
  t.minimumIntegerDigits = i.stem.length;
1042
1044
  continue;
1043
1045
  }
1044
- if (Je.test(i.stem)) {
1046
+ if (Ke.test(i.stem)) {
1045
1047
  if (i.options.length > 1)
1046
1048
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1047
- i.stem.replace(Je, function(h, a, l, f, c, b) {
1048
- return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1049
+ i.stem.replace(Ke, function(h, a, l, c, f, b) {
1050
+ return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1049
1051
  });
1050
1052
  var o = i.options[0];
1051
- o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), Ye(o)));
1053
+ o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), et(o)));
1052
1054
  continue;
1053
1055
  }
1054
- if (Nt.test(i.stem)) {
1055
- t = d(d({}, t), Ye(i.stem));
1056
+ if (St.test(i.stem)) {
1057
+ t = d(d({}, t), et(i.stem));
1056
1058
  continue;
1057
1059
  }
1058
- var s = St(i.stem);
1060
+ var s = wt(i.stem);
1059
1061
  s && (t = d(d({}, t), s));
1060
- var u = zr(i.stem);
1062
+ var u = Zr(i.stem);
1061
1063
  u && (t = d(d({}, t), u));
1062
1064
  }
1063
1065
  return t;
@@ -2477,13 +2479,13 @@ var ie = {
2477
2479
  "h"
2478
2480
  ]
2479
2481
  };
2480
- function Wr(e, t) {
2482
+ function Qr(e, t) {
2481
2483
  for (var r = "", n = 0; n < e.length; n++) {
2482
2484
  var i = e.charAt(n);
2483
2485
  if (i === "j") {
2484
2486
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2485
2487
  o++, n++;
2486
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = Qr(t);
2488
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = qr(t);
2487
2489
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2488
2490
  r += h;
2489
2491
  for (; s-- > 0; )
@@ -2493,7 +2495,7 @@ function Wr(e, t) {
2493
2495
  }
2494
2496
  return r;
2495
2497
  }
2496
- function Qr(e) {
2498
+ function qr(e) {
2497
2499
  var t = e.hourCycle;
2498
2500
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2499
2501
  e.hourCycles && // @ts-ignore
@@ -2515,20 +2517,20 @@ function Qr(e) {
2515
2517
  var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2516
2518
  return i[0];
2517
2519
  }
2518
- var He, qr = new RegExp("^".concat(Pt.source, "*")), Jr = new RegExp("".concat(Pt.source, "*$"));
2520
+ var He, Jr = new RegExp("^".concat(Bt.source, "*")), Yr = new RegExp("".concat(Bt.source, "*$"));
2519
2521
  function g(e, t) {
2520
2522
  return { start: e, end: t };
2521
2523
  }
2522
- var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, an = on ? Number.isSafeInteger : function(e) {
2524
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, sn = an ? Number.isSafeInteger : function(e) {
2523
2525
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
2526
  }, Oe = !0;
2525
2527
  try {
2526
- var sn = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- Oe = ((He = sn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2528
+ var un = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2529
+ Oe = ((He = un.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2528
2530
  } catch (e) {
2529
2531
  Oe = !1;
2530
2532
  }
2531
- var et = Yr ? (
2533
+ var rt = Kr ? (
2532
2534
  // Native
2533
2535
  function(t, r, n) {
2534
2536
  return t.startsWith(r, n);
@@ -2538,7 +2540,7 @@ var et = Yr ? (
2538
2540
  function(t, r, n) {
2539
2541
  return t.slice(n, n + r.length) === r;
2540
2542
  }
2541
- ), Ie = Kr ? String.fromCodePoint : (
2543
+ ), Me = en ? String.fromCodePoint : (
2542
2544
  // IE11
2543
2545
  function() {
2544
2546
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2550,9 +2552,9 @@ var et = Yr ? (
2550
2552
  }
2551
2553
  return n;
2552
2554
  }
2553
- ), tt = (
2555
+ ), nt = (
2554
2556
  // native
2555
- en ? Object.fromEntries : (
2557
+ tn ? Object.fromEntries : (
2556
2558
  // Ponyfill
2557
2559
  function(t) {
2558
2560
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2562,7 +2564,7 @@ var et = Yr ? (
2562
2564
  return r;
2563
2565
  }
2564
2566
  )
2565
- ), At = tn ? (
2567
+ ), Ot = rn ? (
2566
2568
  // Native
2567
2569
  function(t, r) {
2568
2570
  return t.codePointAt(r);
@@ -2576,7 +2578,7 @@ var et = Yr ? (
2576
2578
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2577
2579
  }
2578
2580
  }
2579
- ), un = rn ? (
2581
+ ), hn = nn ? (
2580
2582
  // Native
2581
2583
  function(t) {
2582
2584
  return t.trimStart();
@@ -2584,9 +2586,9 @@ var et = Yr ? (
2584
2586
  ) : (
2585
2587
  // Ponyfill
2586
2588
  function(t) {
2587
- return t.replace(qr, "");
2589
+ return t.replace(Jr, "");
2588
2590
  }
2589
- ), hn = nn ? (
2591
+ ), ln = on ? (
2590
2592
  // Native
2591
2593
  function(t) {
2592
2594
  return t.trimEnd();
@@ -2594,32 +2596,32 @@ var et = Yr ? (
2594
2596
  ) : (
2595
2597
  // Ponyfill
2596
2598
  function(t) {
2597
- return t.replace(Jr, "");
2599
+ return t.replace(Yr, "");
2598
2600
  }
2599
2601
  );
2600
- function wt(e, t) {
2602
+ function Mt(e, t) {
2601
2603
  return new RegExp(e, t);
2602
2604
  }
2603
- var Me;
2605
+ var Ie;
2604
2606
  if (Oe) {
2605
- var rt = wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
- Me = function(t, r) {
2607
+ var it = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2608
+ Ie = function(t, r) {
2607
2609
  var n;
2608
- rt.lastIndex = r;
2609
- var i = rt.exec(t);
2610
+ it.lastIndex = r;
2611
+ var i = it.exec(t);
2610
2612
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2611
2613
  };
2612
2614
  } else
2613
- Me = function(t, r) {
2615
+ Ie = function(t, r) {
2614
2616
  for (var n = []; ; ) {
2615
- var i = At(t, r);
2616
- if (i === void 0 || Ot(i) || mn(i))
2617
+ var i = Ot(t, r);
2618
+ if (i === void 0 || It(i) || pn(i))
2617
2619
  break;
2618
2620
  n.push(i), r += i >= 65536 ? 2 : 1;
2619
2621
  }
2620
- return Ie.apply(void 0, n);
2622
+ return Me.apply(void 0, n);
2621
2623
  };
2622
- var ln = (
2624
+ var cn = (
2623
2625
  /** @class */
2624
2626
  function() {
2625
2627
  function e(t, r) {
@@ -2701,7 +2703,7 @@ var ln = (
2701
2703
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2702
2704
  }, e.prototype.parseTagName = function() {
2703
2705
  var t = this.offset();
2704
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2706
+ for (this.bump(); !this.isEOF() && mn(this.char()); )
2705
2707
  this.bump();
2706
2708
  return this.message.slice(t, this.offset());
2707
2709
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2764,12 +2766,12 @@ var ln = (
2764
2766
  r.push(n);
2765
2767
  this.bump();
2766
2768
  }
2767
- return Ie.apply(void 0, r);
2769
+ return Me.apply(void 0, r);
2768
2770
  }, e.prototype.tryParseUnquoted = function(t, r) {
2769
2771
  if (this.isEOF())
2770
2772
  return null;
2771
2773
  var n = this.char();
2772
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ie(n));
2774
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
2773
2775
  }, e.prototype.parseArgument = function(t, r) {
2774
2776
  var n = this.clonePosition();
2775
2777
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2798,7 +2800,7 @@ var ln = (
2798
2800
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2799
2801
  }
2800
2802
  }, e.prototype.parseIdentifierIfPossible = function() {
2801
- var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
2803
+ var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2802
2804
  this.bumpTo(i);
2803
2805
  var o = this.clonePosition(), s = g(t, o);
2804
2806
  return { value: n, location: s };
@@ -2814,40 +2816,40 @@ var ln = (
2814
2816
  var a = null;
2815
2817
  if (this.bumpIf(",")) {
2816
2818
  this.bumpSpace();
2817
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2818
- if (f.err)
2819
- return f;
2820
- var c = hn(f.val);
2821
- if (c.length === 0)
2819
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2820
+ if (c.err)
2821
+ return c;
2822
+ var f = ln(c.val);
2823
+ if (f.length === 0)
2822
2824
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2823
2825
  var b = g(l, this.clonePosition());
2824
- a = { style: c, styleLocation: b };
2826
+ a = { style: f, styleLocation: b };
2825
2827
  }
2826
2828
  var y = this.tryParseArgumentClose(i);
2827
2829
  if (y.err)
2828
2830
  return y;
2829
2831
  var m = g(i, this.clonePosition());
2830
- if (a && et(a == null ? void 0 : a.style, "::", 0)) {
2831
- var E = un(a.style.slice(2));
2832
+ if (a && rt(a == null ? void 0 : a.style, "::", 0)) {
2833
+ var E = hn(a.style.slice(2));
2832
2834
  if (u === "number") {
2833
- var f = this.parseNumberSkeletonFromString(E, a.styleLocation);
2834
- return f.err ? f : {
2835
- val: { type: v.number, value: n, location: m, style: f.val },
2835
+ var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
2836
+ return c.err ? c : {
2837
+ val: { type: v.number, value: n, location: m, style: c.val },
2836
2838
  err: null
2837
2839
  };
2838
2840
  } else {
2839
2841
  if (E.length === 0)
2840
2842
  return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2841
2843
  var T = E;
2842
- this.locale && (T = Wr(E, this.locale));
2843
- var c = {
2844
+ this.locale && (T = Qr(E, this.locale));
2845
+ var f = {
2844
2846
  type: V.dateTime,
2845
2847
  pattern: T,
2846
2848
  location: a.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? Ur(T) : {}
2849
+ parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
2848
2850
  }, w = u === "date" ? v.date : v.time;
2849
2851
  return {
2850
- val: { type: w, value: n, location: m, style: c },
2852
+ val: { type: w, value: n, location: m, style: f },
2851
2853
  err: null
2852
2854
  };
2853
2855
  }
@@ -2874,10 +2876,10 @@ var ln = (
2874
2876
  if (!this.bumpIf(":"))
2875
2877
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2876
2878
  this.bumpSpace();
2877
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2878
- if (f.err)
2879
- return f;
2880
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = f.val;
2879
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2880
+ if (c.err)
2881
+ return c;
2882
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
2881
2883
  }
2882
2884
  var O = this.tryParsePluralOrSelectOptions(t, u, r, S);
2883
2885
  if (O.err)
@@ -2890,7 +2892,7 @@ var ln = (
2890
2892
  val: {
2891
2893
  type: v.select,
2892
2894
  value: n,
2893
- options: tt(O.val),
2895
+ options: nt(O.val),
2894
2896
  location: F
2895
2897
  },
2896
2898
  err: null
@@ -2898,7 +2900,7 @@ var ln = (
2898
2900
  val: {
2899
2901
  type: v.plural,
2900
2902
  value: n,
2901
- options: tt(O.val),
2903
+ options: nt(O.val),
2902
2904
  offset: N,
2903
2905
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2904
2906
  location: F
@@ -2949,7 +2951,7 @@ var ln = (
2949
2951
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2950
2952
  var n = [];
2951
2953
  try {
2952
- n = jr(t);
2954
+ n = Vr(t);
2953
2955
  } catch (i) {
2954
2956
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2955
2957
  }
@@ -2958,19 +2960,19 @@ var ln = (
2958
2960
  type: V.number,
2959
2961
  tokens: n,
2960
2962
  location: r,
2961
- parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2963
+ parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2962
2964
  },
2963
2965
  err: null
2964
2966
  };
2965
2967
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2966
2968
  for (var o, s = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
2967
2969
  if (a.length === 0) {
2968
- var f = this.clonePosition();
2970
+ var c = this.clonePosition();
2969
2971
  if (r !== "select" && this.bumpIf("=")) {
2970
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2971
- if (c.err)
2972
- return c;
2973
- l = g(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2972
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2973
+ if (f.err)
2974
+ return f;
2975
+ l = g(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
2974
2976
  } else
2975
2977
  break;
2976
2978
  }
@@ -3006,7 +3008,7 @@ var ln = (
3006
3008
  break;
3007
3009
  }
3008
3010
  var h = g(i, this.clonePosition());
3009
- return o ? (s *= n, an(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3011
+ return o ? (s *= n, sn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3010
3012
  }, e.prototype.offset = function() {
3011
3013
  return this.position.offset;
3012
3014
  }, e.prototype.isEOF = function() {
@@ -3021,7 +3023,7 @@ var ln = (
3021
3023
  var t = this.position.offset;
3022
3024
  if (t >= this.message.length)
3023
3025
  throw Error("out of bound");
3024
- var r = At(this.message, t);
3026
+ var r = Ot(this.message, t);
3025
3027
  if (r === void 0)
3026
3028
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3029
  return r;
@@ -3040,7 +3042,7 @@ var ln = (
3040
3042
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3041
3043
  }
3042
3044
  }, e.prototype.bumpIf = function(t) {
3043
- if (et(this.message, t, this.offset())) {
3045
+ if (rt(this.message, t, this.offset())) {
3044
3046
  for (var r = 0; r < t.length; r++)
3045
3047
  this.bump();
3046
3048
  return !0;
@@ -3062,7 +3064,7 @@ var ln = (
3062
3064
  break;
3063
3065
  }
3064
3066
  }, e.prototype.bumpSpace = function() {
3065
- for (; !this.isEOF() && Ot(this.char()); )
3067
+ for (; !this.isEOF() && It(this.char()); )
3066
3068
  this.bump();
3067
3069
  }, e.prototype.peek = function() {
3068
3070
  if (this.isEOF())
@@ -3078,27 +3080,27 @@ function Le(e) {
3078
3080
  function fn(e) {
3079
3081
  return Le(e) || e === 47;
3080
3082
  }
3081
- function cn(e) {
3083
+ function mn(e) {
3082
3084
  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;
3083
3085
  }
3084
- function Ot(e) {
3086
+ function It(e) {
3085
3087
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3086
3088
  }
3087
- function mn(e) {
3089
+ function pn(e) {
3088
3090
  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;
3089
3091
  }
3090
3092
  function Ce(e) {
3091
3093
  e.forEach(function(t) {
3092
- if (delete t.location, Et(t) || _t(t))
3094
+ if (delete t.location, Ht(t) || Tt(t))
3093
3095
  for (var r in t.options)
3094
3096
  delete t.options[r].location, Ce(t.options[r].value);
3095
3097
  else
3096
- xt(t) && Tt(t.style) || (yt(t) || vt(t)) && we(t.style) ? delete t.style.location : Ht(t) && Ce(t.children);
3098
+ vt(t) && Nt(t.style) || (Et(t) || _t(t)) && we(t.style) ? delete t.style.location : Pt(t) && Ce(t.children);
3097
3099
  });
3098
3100
  }
3099
- function pn(e, t) {
3101
+ function gn(e, t) {
3100
3102
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
- var r = new ln(e, t).parse();
3103
+ var r = new cn(e, t).parse();
3102
3104
  if (r.err) {
3103
3105
  var n = SyntaxError(p[r.err.kind]);
3104
3106
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3112,7 +3114,7 @@ var X;
3112
3114
  var me = (
3113
3115
  /** @class */
3114
3116
  function(e) {
3115
- ce(t, e);
3117
+ fe(t, e);
3116
3118
  function t(r, n, i) {
3117
3119
  var o = e.call(this, r) || this;
3118
3120
  return o.code = n, o.originalMessage = i, o;
@@ -3121,28 +3123,28 @@ var me = (
3121
3123
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3122
3124
  }, t;
3123
3125
  }(Error)
3124
- ), nt = (
3126
+ ), ot = (
3125
3127
  /** @class */
3126
3128
  function(e) {
3127
- ce(t, e);
3129
+ fe(t, e);
3128
3130
  function t(r, n, i, o) {
3129
3131
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3130
3132
  }
3131
3133
  return t;
3132
3134
  }(me)
3133
- ), gn = (
3135
+ ), dn = (
3134
3136
  /** @class */
3135
3137
  function(e) {
3136
- ce(t, e);
3138
+ fe(t, e);
3137
3139
  function t(r, n, i) {
3138
3140
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3139
3141
  }
3140
3142
  return t;
3141
3143
  }(me)
3142
- ), dn = (
3144
+ ), bn = (
3143
3145
  /** @class */
3144
3146
  function(e) {
3145
- ce(t, e);
3147
+ fe(t, e);
3146
3148
  function t(r, n) {
3147
3149
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3148
3150
  }
@@ -3152,17 +3154,17 @@ var me = (
3152
3154
  (function(e) {
3153
3155
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
3156
  })(H || (H = {}));
3155
- function bn(e) {
3157
+ function xn(e) {
3156
3158
  return e.length < 2 ? e : e.reduce(function(t, r) {
3157
3159
  var n = t[t.length - 1];
3158
3160
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3159
3161
  }, []);
3160
3162
  }
3161
- function xn(e) {
3163
+ function yn(e) {
3162
3164
  return typeof e == "function";
3163
3165
  }
3164
3166
  function se(e, t, r, n, i, o, s) {
3165
- if (e.length === 1 && qe(e[0]))
3167
+ if (e.length === 1 && Ye(e[0]))
3166
3168
  return [
3167
3169
  {
3168
3170
  type: H.literal,
@@ -3171,59 +3173,59 @@ function se(e, t, r, n, i, o, s) {
3171
3173
  ];
3172
3174
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3173
3175
  var l = a[h];
3174
- if (qe(l)) {
3176
+ if (Ye(l)) {
3175
3177
  u.push({
3176
3178
  type: H.literal,
3177
3179
  value: l.value
3178
3180
  });
3179
3181
  continue;
3180
3182
  }
3181
- if (Gr(l)) {
3183
+ if (Dr(l)) {
3182
3184
  typeof o == "number" && u.push({
3183
3185
  type: H.literal,
3184
3186
  value: r.getNumberFormat(t).format(o)
3185
3187
  });
3186
3188
  continue;
3187
3189
  }
3188
- var f = l.value;
3189
- if (!(i && f in i))
3190
- throw new dn(f, s);
3191
- var c = i[f];
3192
- if (Fr(l)) {
3193
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3194
- type: typeof c == "string" ? H.literal : H.object,
3195
- value: c
3190
+ var c = l.value;
3191
+ if (!(i && c in i))
3192
+ throw new bn(c, s);
3193
+ var f = i[c];
3194
+ if (Gr(l)) {
3195
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3196
+ type: typeof f == "string" ? H.literal : H.object,
3197
+ value: f
3196
3198
  });
3197
3199
  continue;
3198
3200
  }
3199
- if (yt(l)) {
3201
+ if (Et(l)) {
3200
3202
  var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
3201
3203
  u.push({
3202
3204
  type: H.literal,
3203
- value: r.getDateTimeFormat(t, b).format(c)
3205
+ value: r.getDateTimeFormat(t, b).format(f)
3204
3206
  });
3205
3207
  continue;
3206
3208
  }
3207
- if (vt(l)) {
3209
+ if (_t(l)) {
3208
3210
  var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
3209
3211
  u.push({
3210
3212
  type: H.literal,
3211
- value: r.getDateTimeFormat(t, b).format(c)
3213
+ value: r.getDateTimeFormat(t, b).format(f)
3212
3214
  });
3213
3215
  continue;
3214
3216
  }
3215
- if (xt(l)) {
3216
- var b = typeof l.style == "string" ? n.number[l.style] : Tt(l.style) ? l.style.parsedOptions : void 0;
3217
- b && b.scale && (c = c * (b.scale || 1)), u.push({
3217
+ if (vt(l)) {
3218
+ var b = typeof l.style == "string" ? n.number[l.style] : Nt(l.style) ? l.style.parsedOptions : void 0;
3219
+ b && b.scale && (f = f * (b.scale || 1)), u.push({
3218
3220
  type: H.literal,
3219
- value: r.getNumberFormat(t, b).format(c)
3221
+ value: r.getNumberFormat(t, b).format(f)
3220
3222
  });
3221
3223
  continue;
3222
3224
  }
3223
- if (Ht(l)) {
3225
+ if (Pt(l)) {
3224
3226
  var y = l.children, m = l.value, E = i[m];
3225
- if (!xn(E))
3226
- throw new gn(m, "function", s);
3227
+ if (!yn(E))
3228
+ throw new dn(m, "function", s);
3227
3229
  var T = se(y, t, r, n, i, o), w = E(T.map(function(N) {
3228
3230
  return N.value;
3229
3231
  }));
@@ -3234,39 +3236,39 @@ function se(e, t, r, n, i, o, s) {
3234
3236
  };
3235
3237
  }));
3236
3238
  }
3237
- if (Et(l)) {
3238
- var P = l.options[c] || l.options.other;
3239
+ if (Ht(l)) {
3240
+ var P = l.options[f] || l.options.other;
3239
3241
  if (!P)
3240
- throw new nt(l.value, c, Object.keys(l.options), s);
3242
+ throw new ot(l.value, f, Object.keys(l.options), s);
3241
3243
  u.push.apply(u, se(P.value, t, r, n, i));
3242
3244
  continue;
3243
3245
  }
3244
- if (_t(l)) {
3245
- var P = l.options["=".concat(c)];
3246
+ if (Tt(l)) {
3247
+ var P = l.options["=".concat(f)];
3246
3248
  if (!P) {
3247
3249
  if (!Intl.PluralRules)
3248
3250
  throw new me(`Intl.PluralRules is not available in this environment.
3249
3251
  Try polyfilling it using "@formatjs/intl-pluralrules"
3250
3252
  `, X.MISSING_INTL_API, s);
3251
- var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3253
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3252
3254
  P = l.options[S] || l.options.other;
3253
3255
  }
3254
3256
  if (!P)
3255
- throw new nt(l.value, c, Object.keys(l.options), s);
3256
- u.push.apply(u, se(P.value, t, r, n, i, c - (l.offset || 0)));
3257
+ throw new ot(l.value, f, Object.keys(l.options), s);
3258
+ u.push.apply(u, se(P.value, t, r, n, i, f - (l.offset || 0)));
3257
3259
  continue;
3258
3260
  }
3259
3261
  }
3260
- return bn(u);
3262
+ return xn(u);
3261
3263
  }
3262
- function yn(e, t) {
3264
+ function vn(e, t) {
3263
3265
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
3266
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3265
3267
  }, {})) : e;
3266
3268
  }
3267
- function vn(e, t) {
3269
+ function En(e, t) {
3268
3270
  return t ? Object.keys(e).reduce(function(r, n) {
3269
- return r[n] = yn(e[n], t[n]), r;
3271
+ return r[n] = vn(e[n], t[n]), r;
3270
3272
  }, d({}, e)) : e;
3271
3273
  }
3272
3274
  function Te(e) {
@@ -3283,7 +3285,7 @@ function Te(e) {
3283
3285
  }
3284
3286
  };
3285
3287
  }
3286
- function En(e) {
3288
+ function _n(e) {
3287
3289
  return e === void 0 && (e = {
3288
3290
  number: {},
3289
3291
  dateTime: {},
@@ -3315,7 +3317,7 @@ function En(e) {
3315
3317
  })
3316
3318
  };
3317
3319
  }
3318
- var _n = (
3320
+ var Hn = (
3319
3321
  /** @class */
3320
3322
  function() {
3321
3323
  function e(t, r, n, i) {
@@ -3329,8 +3331,8 @@ var _n = (
3329
3331
  var a = o.formatToParts(h);
3330
3332
  if (a.length === 1)
3331
3333
  return a[0].value;
3332
- var l = a.reduce(function(f, c) {
3333
- return !f.length || c.type !== H.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3334
+ var l = a.reduce(function(c, f) {
3335
+ return !c.length || f.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3334
3336
  }, []);
3335
3337
  return l.length <= 1 ? l[0] || "" : l;
3336
3338
  }, this.formatToParts = function(h) {
@@ -3347,13 +3349,13 @@ var _n = (
3347
3349
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3348
3350
  var s = i || {};
3349
3351
  s.formatters;
3350
- var u = wr(s, ["formatters"]);
3352
+ var u = Mr(s, ["formatters"]);
3351
3353
  this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3352
3354
  } else
3353
3355
  this.ast = t;
3354
3356
  if (!Array.isArray(this.ast))
3355
3357
  throw new TypeError("A message must be provided as a String or AST.");
3356
- this.formats = vn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
3358
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3357
3359
  }
3358
3360
  return Object.defineProperty(e, "defaultLocale", {
3359
3361
  get: function() {
@@ -3366,7 +3368,7 @@ var _n = (
3366
3368
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3367
3369
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3368
3370
  }
3369
- }, e.__parse = pn, e.formats = {
3371
+ }, e.__parse = gn, e.formats = {
3370
3372
  number: {
3371
3373
  integer: {
3372
3374
  maximumFractionDigits: 0
@@ -3427,7 +3429,7 @@ var _n = (
3427
3429
  }, e;
3428
3430
  }()
3429
3431
  );
3430
- function Hn(e, t) {
3432
+ function Tn(e, t) {
3431
3433
  if (t == null)
3432
3434
  return;
3433
3435
  if (t in e)
@@ -3448,60 +3450,60 @@ function Hn(e, t) {
3448
3450
  n = void 0;
3449
3451
  return n;
3450
3452
  }
3451
- const M = {}, Tn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), It = (e, t) => {
3453
+ const I = {}, Pn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Lt = (e, t) => {
3452
3454
  if (t == null)
3453
3455
  return;
3454
- if (t in M && e in M[t])
3455
- return M[t][e];
3456
+ if (t in I && e in I[t])
3457
+ return I[t][e];
3456
3458
  const r = pe(t);
3457
3459
  for (let n = 0; n < r.length; n++) {
3458
- const i = r[n], o = Nn(i, e);
3460
+ const i = r[n], o = Bn(i, e);
3459
3461
  if (o)
3460
- return Tn(e, t, o);
3462
+ return Pn(e, t, o);
3461
3463
  }
3462
3464
  };
3463
- let De;
3464
- const ne = fe({});
3465
- function Pn(e) {
3466
- return De[e] || null;
3465
+ let ke;
3466
+ const ne = ce({});
3467
+ function Nn(e) {
3468
+ return ke[e] || null;
3467
3469
  }
3468
- function Mt(e) {
3469
- return e in De;
3470
+ function Ct(e) {
3471
+ return e in ke;
3470
3472
  }
3471
- function Nn(e, t) {
3472
- if (!Mt(e))
3473
+ function Bn(e, t) {
3474
+ if (!Ct(e))
3473
3475
  return null;
3474
- const r = Pn(e);
3475
- return Hn(r, t);
3476
+ const r = Nn(e);
3477
+ return Tn(r, t);
3476
3478
  }
3477
- function Bn(e) {
3479
+ function Sn(e) {
3478
3480
  if (e == null)
3479
3481
  return;
3480
3482
  const t = pe(e);
3481
3483
  for (let r = 0; r < t.length; r++) {
3482
3484
  const n = t[r];
3483
- if (Mt(n))
3485
+ if (Ct(n))
3484
3486
  return n;
3485
3487
  }
3486
3488
  }
3487
- function Lt(e, ...t) {
3488
- delete M[e], ne.update((r) => (r[e] = Ar.all([r[e] || {}, ...t]), r));
3489
+ function $t(e, ...t) {
3490
+ delete I[e], ne.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3489
3491
  }
3490
3492
  Z(
3491
3493
  [ne],
3492
3494
  ([e]) => Object.keys(e)
3493
3495
  );
3494
- ne.subscribe((e) => De = e);
3496
+ ne.subscribe((e) => ke = e);
3495
3497
  const ue = {};
3496
- function Sn(e, t) {
3498
+ function An(e, t) {
3497
3499
  ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3498
3500
  }
3499
- function Ct(e) {
3501
+ function Rt(e) {
3500
3502
  return ue[e];
3501
3503
  }
3502
- function An(e) {
3504
+ function wn(e) {
3503
3505
  return pe(e).map((t) => {
3504
- const r = Ct(t);
3506
+ const r = Rt(t);
3505
3507
  return [t, r ? [...r] : []];
3506
3508
  }).filter(([, t]) => t.length > 0);
3507
3509
  }
@@ -3509,31 +3511,31 @@ function $e(e) {
3509
3511
  return e == null ? !1 : pe(e).some(
3510
3512
  (t) => {
3511
3513
  var r;
3512
- return (r = Ct(t)) == null ? void 0 : r.size;
3514
+ return (r = Rt(t)) == null ? void 0 : r.size;
3513
3515
  }
3514
3516
  );
3515
3517
  }
3516
- function wn(e, t) {
3518
+ function On(e, t) {
3517
3519
  return Promise.all(
3518
- t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
3519
- ).then((n) => Lt(e, ...n));
3520
+ t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3521
+ ).then((n) => $t(e, ...n));
3520
3522
  }
3521
3523
  const J = {};
3522
- function $t(e) {
3524
+ function Ft(e) {
3523
3525
  if (!$e(e))
3524
3526
  return e in J ? J[e] : Promise.resolve();
3525
- const t = An(e);
3527
+ const t = wn(e);
3526
3528
  return J[e] = Promise.all(
3527
3529
  t.map(
3528
- ([r, n]) => wn(r, n)
3530
+ ([r, n]) => On(r, n)
3529
3531
  )
3530
3532
  ).then(() => {
3531
3533
  if ($e(e))
3532
- return $t(e);
3534
+ return Ft(e);
3533
3535
  delete J[e];
3534
3536
  }), J[e];
3535
3537
  }
3536
- const On = {
3538
+ const Mn = {
3537
3539
  number: {
3538
3540
  scientific: { notation: "scientific" },
3539
3541
  engineering: { notation: "engineering" },
@@ -3565,31 +3567,31 @@ const On = {
3565
3567
  }, In = {
3566
3568
  fallbackLocale: null,
3567
3569
  loadingDelay: 200,
3568
- formats: On,
3570
+ formats: Mn,
3569
3571
  warnOnMissingMessages: !0,
3570
3572
  handleMissingMessage: void 0,
3571
3573
  ignoreTag: !0
3572
- }, Mn = In;
3574
+ }, Ln = In;
3573
3575
  function z() {
3574
- return Mn;
3576
+ return Ln;
3575
3577
  }
3576
- const Pe = fe(!1);
3577
- var Ln = Object.defineProperty, Cn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, ot = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gn = (e, t) => {
3578
+ const Pe = ce(!1);
3579
+ var Cn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3578
3580
  for (var r in t || (t = {}))
3579
- Rn.call(t, r) && ot(e, r, t[r]);
3580
- if (it)
3581
- for (var r of it(t))
3582
- Fn.call(t, r) && ot(e, r, t[r]);
3581
+ Fn.call(t, r) && st(e, r, t[r]);
3582
+ if (at)
3583
+ for (var r of at(t))
3584
+ Gn.call(t, r) && st(e, r, t[r]);
3583
3585
  return e;
3584
- }, Dn = (e, t) => Cn(e, $n(t));
3586
+ }, Un = (e, t) => $n(e, Rn(t));
3585
3587
  let Re;
3586
- const he = fe(null);
3587
- function at(e) {
3588
+ const he = ce(null);
3589
+ function ut(e) {
3588
3590
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3589
3591
  }
3590
3592
  function pe(e, t = z().fallbackLocale) {
3591
- const r = at(e);
3592
- return t ? [.../* @__PURE__ */ new Set([...r, ...at(t)])] : r;
3593
+ const r = ut(e);
3594
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3593
3595
  }
3594
3596
  function R() {
3595
3597
  return Re != null ? Re : void 0;
@@ -3597,22 +3599,22 @@ function R() {
3597
3599
  he.subscribe((e) => {
3598
3600
  Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3599
3601
  });
3600
- const Un = (e) => {
3601
- if (e && Bn(e) && $e(e)) {
3602
+ const kn = (e) => {
3603
+ if (e && Sn(e) && $e(e)) {
3602
3604
  const { loadingDelay: t } = z();
3603
3605
  let r;
3604
3606
  return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3605
3607
  () => Pe.set(!0),
3606
3608
  t
3607
- ) : Pe.set(!0), $t(e).then(() => {
3609
+ ) : Pe.set(!0), Ft(e).then(() => {
3608
3610
  he.set(e);
3609
3611
  }).finally(() => {
3610
3612
  clearTimeout(r), Pe.set(!1);
3611
3613
  });
3612
3614
  }
3613
3615
  return he.set(e);
3614
- }, W = Dn(Gn({}, he), {
3615
- set: Un
3616
+ }, W = Un(Dn({}, he), {
3617
+ set: kn
3616
3618
  }), ge = (e) => {
3617
3619
  const t = /* @__PURE__ */ Object.create(null);
3618
3620
  return (n) => {
@@ -3620,20 +3622,20 @@ const Un = (e) => {
3620
3622
  return i in t ? t[i] : t[i] = e(n);
3621
3623
  };
3622
3624
  };
3623
- var kn = Object.defineProperty, le = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, Ft = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
3625
+ var jn = Object.defineProperty, le = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
3624
3626
  for (var r in t || (t = {}))
3625
- Rt.call(t, r) && st(e, r, t[r]);
3627
+ Gt.call(t, r) && ht(e, r, t[r]);
3626
3628
  if (le)
3627
3629
  for (var r of le(t))
3628
- Ft.call(t, r) && st(e, r, t[r]);
3630
+ Dt.call(t, r) && ht(e, r, t[r]);
3629
3631
  return e;
3630
3632
  }, Q = (e, t) => {
3631
3633
  var r = {};
3632
3634
  for (var n in e)
3633
- Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3635
+ Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3634
3636
  if (e != null && le)
3635
3637
  for (var n of le(e))
3636
- t.indexOf(n) < 0 && Ft.call(e, n) && (r[n] = e[n]);
3638
+ t.indexOf(n) < 0 && Dt.call(e, n) && (r[n] = e[n]);
3637
3639
  return r;
3638
3640
  };
3639
3641
  const te = (e, t) => {
@@ -3641,21 +3643,21 @@ const te = (e, t) => {
3641
3643
  if (e in r && t in r[e])
3642
3644
  return r[e][t];
3643
3645
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, jn = ge(
3646
+ }, Vn = ge(
3645
3647
  (e) => {
3646
3648
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3647
3649
  if (r == null)
3648
3650
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
3651
  return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3650
3652
  }
3651
- ), Vn = ge(
3653
+ ), Xn = ge(
3652
3654
  (e) => {
3653
3655
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3654
3656
  if (r == null)
3655
3657
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
3658
  return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3657
3659
  }
3658
- ), Xn = ge(
3660
+ ), zn = ge(
3659
3661
  (e) => {
3660
3662
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3661
3663
  if (r == null)
@@ -3664,33 +3666,33 @@ const te = (e, t) => {
3664
3666
  );
3665
3667
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3666
3668
  }
3667
- ), zn = (e = {}) => {
3669
+ ), Zn = (e = {}) => {
3668
3670
  var t = e, {
3669
3671
  locale: r = R()
3670
3672
  } = t, n = Q(t, [
3671
3673
  "locale"
3672
3674
  ]);
3673
- return jn(Ue({ locale: r }, n));
3674
- }, Zn = (e = {}) => {
3675
+ return Vn(je({ locale: r }, n));
3676
+ }, Wn = (e = {}) => {
3675
3677
  var t = e, {
3676
3678
  locale: r = R()
3677
3679
  } = t, n = Q(t, [
3678
3680
  "locale"
3679
3681
  ]);
3680
- return Vn(Ue({ locale: r }, n));
3681
- }, Wn = (e = {}) => {
3682
+ return Xn(je({ locale: r }, n));
3683
+ }, Qn = (e = {}) => {
3682
3684
  var t = e, {
3683
3685
  locale: r = R()
3684
3686
  } = t, n = Q(t, [
3685
3687
  "locale"
3686
3688
  ]);
3687
- return Xn(Ue({ locale: r }, n));
3688
- }, Qn = ge(
3689
+ return zn(je({ locale: r }, n));
3690
+ }, qn = ge(
3689
3691
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = R()) => new _n(e, t, z().formats, {
3692
+ (e, t = R()) => new Hn(e, t, z().formats, {
3691
3693
  ignoreTag: z().ignoreTag
3692
3694
  })
3693
- ), qn = (e, t = {}) => {
3695
+ ), Jn = (e, t = {}) => {
3694
3696
  var r, n, i, o;
3695
3697
  let s = t;
3696
3698
  typeof e == "object" && (s = e, e = s.id);
@@ -3703,7 +3705,7 @@ const te = (e, t) => {
3703
3705
  throw new Error(
3704
3706
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3705
3707
  );
3706
- let l = It(e, h);
3708
+ let l = Lt(e, h);
3707
3709
  if (!l)
3708
3710
  l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3709
3711
  else if (typeof l != "string")
@@ -3712,28 +3714,28 @@ const te = (e, t) => {
3712
3714
  ), l;
3713
3715
  if (!u)
3714
3716
  return l;
3715
- let f = l;
3717
+ let c = l;
3716
3718
  try {
3717
- f = Qn(l, h).format(u);
3718
- } catch (c) {
3719
- c instanceof Error && console.warn(
3719
+ c = qn(l, h).format(u);
3720
+ } catch (f) {
3721
+ f instanceof Error && console.warn(
3720
3722
  `[svelte-i18n] Message "${e}" has syntax error:`,
3721
- c.message
3723
+ f.message
3722
3724
  );
3723
3725
  }
3724
- return f;
3725
- }, Jn = (e, t) => Wn(t).format(e), Yn = (e, t) => Zn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = R()) => It(e, t), ti = Z([W, ne], () => qn);
3726
- Z([W], () => Jn);
3726
+ return c;
3727
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Wn(t).format(e), ei = (e, t) => Zn(t).format(e), ti = (e, t = R()) => Lt(e, t), ri = Z([W, ne], () => Jn);
3727
3728
  Z([W], () => Yn);
3728
3729
  Z([W], () => Kn);
3729
- Z([W, ne], () => ei);
3730
- function ut(e, t) {
3731
- Lt(e, t);
3730
+ Z([W], () => ei);
3731
+ Z([W, ne], () => ti);
3732
+ function lt(e, t) {
3733
+ $t(e, t);
3732
3734
  }
3733
- function ri(e) {
3735
+ function ni(e) {
3734
3736
  W.set(e);
3735
3737
  }
3736
- const ht = {
3738
+ const ct = {
3737
3739
  en: {
3738
3740
  pageNotFound: "Page not found",
3739
3741
  pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
@@ -3825,13 +3827,13 @@ const ht = {
3825
3827
  home: "Go to homepage"
3826
3828
  }
3827
3829
  };
3828
- function ni(e, t) {
3830
+ function ii(e, t) {
3829
3831
  if (e) {
3830
3832
  const r = document.createElement("style");
3831
3833
  r.innerHTML = t, e.appendChild(r);
3832
3834
  }
3833
3835
  }
3834
- function ii(e, t) {
3836
+ function oi(e, t) {
3835
3837
  const r = new URL(t);
3836
3838
  fetch(r.href).then((n) => n.text()).then((n) => {
3837
3839
  const i = document.createElement("style");
@@ -3840,7 +3842,7 @@ function ii(e, t) {
3840
3842
  console.error("There was an error while trying to load client styling from URL", n);
3841
3843
  });
3842
3844
  }
3843
- function oi(e, t, r) {
3845
+ function ai(e, t, r) {
3844
3846
  if (window.emMessageBus) {
3845
3847
  const n = document.createElement("style");
3846
3848
  window.emMessageBus.subscribe(t, (i) => {
@@ -3848,11 +3850,11 @@ function oi(e, t, r) {
3848
3850
  });
3849
3851
  }
3850
3852
  }
3851
- function ai(e) {
3852
- zt(e, "svelte-fokx9n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3853
- }
3854
3853
  function si(e) {
3855
- let t, r, n, i, o, s, u, h, a, l, f, c, b = (
3854
+ Wt(e, "svelte-fokx9n", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3855
+ }
3856
+ function ui(e) {
3857
+ let t, r, n, i, o, s, u, h, a, l, c, f, b = (
3856
3858
  /*$_*/
3857
3859
  e[1]("pageNotFound") + ""
3858
3860
  ), y, m, E, T = (
@@ -3861,13 +3863,13 @@ function si(e) {
3861
3863
  ), w, P, S, N = (
3862
3864
  /*$_*/
3863
3865
  e[1]("home") + ""
3864
- ), O, F, ke;
3866
+ ), O, F, Ve;
3865
3867
  return {
3866
3868
  c() {
3867
- t = C("div"), r = C("div"), n = I("svg"), i = I("g"), o = I("path"), s = I("path"), u = I("path"), h = I("path"), a = I("path"), l = I("path"), f = be(), c = C("p"), y = oe(b), m = be(), E = C("p"), w = oe(T), P = be(), S = C("button"), O = oe(N), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(s, "class", "a"), x(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(s, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(E, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3869
+ t = C("div"), r = C("div"), n = M("svg"), i = M("g"), o = M("path"), s = M("path"), u = M("path"), h = M("path"), a = M("path"), l = M("path"), c = be(), f = C("p"), y = oe(b), m = be(), E = C("p"), w = oe(T), P = be(), S = C("button"), O = oe(N), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(s, "class", "a"), x(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(s, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(f, "class", "PageTitle"), x(E, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3868
3870
  },
3869
3871
  m(L, q) {
3870
- mt(L, t, q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, f), _(r, c), _(c, y), _(r, m), _(r, E), _(E, w), _(r, P), _(r, S), _(S, O), e[9](t), F || (ke = Qt(
3872
+ gt(L, t, q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, c), _(r, f), _(f, y), _(r, m), _(r, E), _(E, w), _(r, P), _(r, S), _(S, O), e[9](t), F || (Ve = Jt(
3871
3873
  S,
3872
3874
  "click",
3873
3875
  /*click_handler*/
@@ -3886,34 +3888,34 @@ function si(e) {
3886
3888
  i: A,
3887
3889
  o: A,
3888
3890
  d(L) {
3889
- L && Ge(t), e[9](null), F = !1, ke();
3891
+ L && Ge(t), e[9](null), F = !1, Ve();
3890
3892
  }
3891
3893
  };
3892
3894
  }
3893
- function ui(e, t, r) {
3895
+ function hi(e, t, r) {
3894
3896
  let n;
3895
- Xt(e, ti, (m) => r(1, n = m));
3897
+ Zt(e, ri, (m) => r(1, n = m));
3896
3898
  let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, a;
3897
3899
  const l = () => {
3898
3900
  fetch(u).then((E) => E.json()).then((E) => {
3899
3901
  Object.keys(E).forEach((T) => {
3900
- ut(T, E[T]);
3902
+ lt(T, E[T]);
3901
3903
  });
3902
3904
  }).catch((E) => {
3903
3905
  console.log(E);
3904
3906
  });
3905
3907
  };
3906
- Object.keys(ht).forEach((m) => {
3907
- ut(m, ht[m]);
3908
+ Object.keys(ct).forEach((m) => {
3909
+ lt(m, ct[m]);
3908
3910
  });
3909
- const f = () => {
3911
+ const c = () => {
3910
3912
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
3911
- }, c = () => {
3912
- ri(i);
3913
+ }, f = () => {
3914
+ ni(i);
3913
3915
  };
3914
- Kt(() => () => {
3916
+ tr(() => () => {
3915
3917
  });
3916
- const b = () => f();
3918
+ const b = () => c();
3917
3919
  function y(m) {
3918
3920
  Ne[m ? "unshift" : "push"](() => {
3919
3921
  a = m, r(0, a);
@@ -3923,15 +3925,15 @@ function ui(e, t, r) {
3923
3925
  "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, o = m.clientstyling), "clientstylingurl" in m && r(5, s = m.clientstylingurl), "translationurl" in m && r(6, u = m.translationurl), "mbsource" in m && r(7, h = m.mbsource);
3924
3926
  }, e.$$.update = () => {
3925
3927
  e.$$.dirty & /*lang*/
3926
- 8 && i && c(), e.$$.dirty & /*translationurl*/
3928
+ 8 && i && f(), e.$$.dirty & /*translationurl*/
3927
3929
  64 && u && l(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3928
- 17 && o && a && ni(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3929
- 33 && s && a && ii(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
3930
- 129 && h && a && oi(a, `${h}.Style`);
3930
+ 17 && o && a && ii(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3931
+ 33 && s && a && oi(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
3932
+ 129 && h && a && ai(a, `${h}.Style`);
3931
3933
  }, [
3932
3934
  a,
3933
3935
  n,
3934
- f,
3936
+ c,
3935
3937
  i,
3936
3938
  o,
3937
3939
  s,
@@ -3941,14 +3943,14 @@ function ui(e, t, r) {
3941
3943
  y
3942
3944
  ];
3943
3945
  }
3944
- class hi extends fr {
3946
+ class li extends mr {
3945
3947
  constructor(t) {
3946
- super(), hr(
3948
+ super(), cr(
3947
3949
  this,
3948
3950
  t,
3951
+ hi,
3949
3952
  ui,
3950
- si,
3951
- ft,
3953
+ mt,
3952
3954
  {
3953
3955
  lang: 3,
3954
3956
  clientstyling: 4,
@@ -3956,7 +3958,7 @@ class hi extends fr {
3956
3958
  translationurl: 6,
3957
3959
  mbsource: 7
3958
3960
  },
3959
- ai
3961
+ si
3960
3962
  );
3961
3963
  }
3962
3964
  get lang() {
@@ -3990,7 +3992,7 @@ class hi extends fr {
3990
3992
  this.$$set({ mbsource: t }), $();
3991
3993
  }
3992
3994
  }
3993
- lr(hi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3995
+ fr(li, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3994
3996
  export {
3995
- hi as default
3997
+ li as default
3996
3998
  };