@everymatrix/cashier-error 1.94.41 → 1.94.43

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
  import "../stencil/ui-image-Ch-GHki1.js";
2
2
  function P() {
3
3
  }
4
- function rr(e, t) {
4
+ function nr(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -15,7 +15,7 @@ function kt(e) {
15
15
  function Ye() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function se(e) {
18
+ function oe(e) {
19
19
  e.forEach(kt);
20
20
  }
21
21
  function qe(e) {
@@ -28,7 +28,7 @@ let ce;
28
28
  function Qe(e, t) {
29
29
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
30
30
  }
31
- function nr(e) {
31
+ function ir(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
34
  function St(e, ...t) {
@@ -40,7 +40,7 @@ function St(e, ...t) {
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function ir(e, t, r) {
43
+ function ar(e, t, r) {
44
44
  e.$$.on_destroy.push(St(t, r));
45
45
  }
46
46
  function he(e, t, r, n) {
@@ -50,7 +50,7 @@ function he(e, t, r, n) {
50
50
  }
51
51
  }
52
52
  function At(e, t, r, n) {
53
- return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ return e[1] && n ? nr(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function de(e, t, r, n) {
56
56
  if (e[2] && n) {
@@ -85,14 +85,14 @@ function me(e) {
85
85
  function I(e, t) {
86
86
  e.appendChild(t);
87
87
  }
88
- function ar(e, t, r) {
89
- const n = sr(e);
88
+ function sr(e, t, r) {
89
+ const n = or(e);
90
90
  if (!n.getElementById(t)) {
91
91
  const i = B("style");
92
- i.id = t, i.textContent = r, or(n, i);
92
+ i.id = t, i.textContent = r, lr(n, i);
93
93
  }
94
94
  }
95
- function sr(e) {
95
+ function or(e) {
96
96
  if (!e)
97
97
  return document;
98
98
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -102,7 +102,7 @@ function sr(e) {
102
102
  t
103
103
  ) : e.ownerDocument;
104
104
  }
105
- function or(e, t) {
105
+ function lr(e, t) {
106
106
  return I(
107
107
  /** @type {Document} */
108
108
  e.head || e,
@@ -118,16 +118,16 @@ function S(e) {
118
118
  function B(e) {
119
119
  return document.createElement(e);
120
120
  }
121
- function N(e) {
121
+ function D(e) {
122
122
  return document.createTextNode(e);
123
123
  }
124
- function j() {
125
- return N(" ");
124
+ function V() {
125
+ return D(" ");
126
126
  }
127
127
  function Je() {
128
- return N("");
128
+ return D("");
129
129
  }
130
- function lr(e, t, r, n) {
130
+ function ur(e, t, r, n) {
131
131
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
132
132
  }
133
133
  function O(e, t, r) {
@@ -137,14 +137,14 @@ function ge(e, t, r) {
137
137
  const n = t.toLowerCase();
138
138
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
139
139
  }
140
- function ur(e) {
140
+ function cr(e) {
141
141
  return Array.from(e.childNodes);
142
142
  }
143
- function W(e, t) {
143
+ function X(e, t) {
144
144
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
145
  t);
146
146
  }
147
- function cr(e) {
147
+ function hr(e) {
148
148
  const t = {};
149
149
  return e.childNodes.forEach(
150
150
  /** @param {Element} node */
@@ -153,97 +153,97 @@ function cr(e) {
153
153
  }
154
154
  ), t;
155
155
  }
156
- let ne;
157
- function re(e) {
158
- ne = e;
156
+ let ie;
157
+ function ne(e) {
158
+ ie = e;
159
159
  }
160
- function hr() {
161
- if (!ne)
160
+ function dr() {
161
+ if (!ie)
162
162
  throw new Error("Function called outside component initialization");
163
- return ne;
163
+ return ie;
164
164
  }
165
- function dr(e) {
166
- hr().$$.on_mount.push(e);
165
+ function fr(e) {
166
+ dr().$$.on_mount.push(e);
167
167
  }
168
- const z = [], Ne = [];
169
- let V = [];
170
- const et = [], fr = /* @__PURE__ */ Promise.resolve();
168
+ const G = [], Ne = [];
169
+ let W = [];
170
+ const et = [], mr = /* @__PURE__ */ Promise.resolve();
171
171
  let Re = !1;
172
- function mr() {
173
- Re || (Re = !0, fr.then(L));
172
+ function gr() {
173
+ Re || (Re = !0, mr.then(C));
174
174
  }
175
175
  function Ue(e) {
176
- V.push(e);
176
+ W.push(e);
177
177
  }
178
178
  const He = /* @__PURE__ */ new Set();
179
- let F = 0;
180
- function L() {
181
- if (F !== 0)
179
+ let z = 0;
180
+ function C() {
181
+ if (z !== 0)
182
182
  return;
183
- const e = ne;
183
+ const e = ie;
184
184
  do {
185
185
  try {
186
- for (; F < z.length; ) {
187
- const t = z[F];
188
- F++, re(t), gr(t.$$);
186
+ for (; z < G.length; ) {
187
+ const t = G[z];
188
+ z++, ne(t), pr(t.$$);
189
189
  }
190
190
  } catch (t) {
191
- throw z.length = 0, F = 0, t;
191
+ throw G.length = 0, z = 0, t;
192
192
  }
193
- for (re(null), z.length = 0, F = 0; Ne.length; )
193
+ for (ne(null), G.length = 0, z = 0; Ne.length; )
194
194
  Ne.pop()();
195
- for (let t = 0; t < V.length; t += 1) {
196
- const r = V[t];
195
+ for (let t = 0; t < W.length; t += 1) {
196
+ const r = W[t];
197
197
  He.has(r) || (He.add(r), r());
198
198
  }
199
- V.length = 0;
200
- } while (z.length);
199
+ W.length = 0;
200
+ } while (G.length);
201
201
  for (; et.length; )
202
202
  et.pop()();
203
- Re = !1, He.clear(), re(e);
203
+ Re = !1, He.clear(), ne(e);
204
204
  }
205
- function gr(e) {
205
+ function pr(e) {
206
206
  if (e.fragment !== null) {
207
- e.update(), se(e.before_update);
207
+ e.update(), oe(e.before_update);
208
208
  const t = e.dirty;
209
209
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
210
210
  }
211
211
  }
212
- function pr(e) {
212
+ function br(e) {
213
213
  const t = [], r = [];
214
- V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
214
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
215
215
  }
216
216
  const ve = /* @__PURE__ */ new Set();
217
- let br;
218
- function ee(e, t) {
217
+ let vr;
218
+ function te(e, t) {
219
219
  e && e.i && (ve.delete(e), e.i(t));
220
220
  }
221
221
  function pe(e, t, r, n) {
222
222
  if (e && e.o) {
223
223
  if (ve.has(e))
224
224
  return;
225
- ve.add(e), br.c.push(() => {
225
+ ve.add(e), vr.c.push(() => {
226
226
  ve.delete(e);
227
227
  }), e.o(t);
228
228
  }
229
229
  }
230
- function vr(e, t, r) {
230
+ function yr(e, t, r) {
231
231
  const { fragment: n, after_update: i } = e.$$;
232
232
  n && n.m(t, r), Ue(() => {
233
233
  const a = e.$$.on_mount.map(kt).filter(qe);
234
- e.$$.on_destroy ? e.$$.on_destroy.push(...a) : se(a), e.$$.on_mount = [];
234
+ e.$$.on_destroy ? e.$$.on_destroy.push(...a) : oe(a), e.$$.on_mount = [];
235
235
  }), i.forEach(Ue);
236
236
  }
237
- function yr(e, t) {
237
+ function Er(e, t) {
238
238
  const r = e.$$;
239
- r.fragment !== null && (pr(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
+ r.fragment !== null && (br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
240
240
  }
241
- function Er(e, t) {
242
- e.$$.dirty[0] === -1 && (z.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
241
+ function _r(e, t) {
242
+ e.$$.dirty[0] === -1 && (G.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
243
243
  }
244
- function _r(e, t, r, n, i, a, s = null, o = [-1]) {
245
- const u = ne;
246
- re(e);
244
+ function xr(e, t, r, n, i, a, s = null, o = [-1]) {
245
+ const u = ie;
246
+ ne(e);
247
247
  const l = e.$$ = {
248
248
  fragment: null,
249
249
  ctx: [],
@@ -267,18 +267,18 @@ function _r(e, t, r, n, i, a, s = null, o = [-1]) {
267
267
  };
268
268
  s && s(l.root);
269
269
  let c = !1;
270
- if (l.ctx = r ? r(e, t.props || {}, (h, d, ...g) => {
271
- const p = g.length ? g[0] : d;
272
- return l.ctx && i(l.ctx[h], l.ctx[h] = p) && (!l.skip_bound && l.bound[h] && l.bound[h](p), c && Er(e, h)), d;
273
- }) : [], l.update(), c = !0, se(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
270
+ if (l.ctx = r ? r(e, t.props || {}, (h, d, ...v) => {
271
+ const m = v.length ? v[0] : d;
272
+ return l.ctx && i(l.ctx[h], l.ctx[h] = m) && (!l.skip_bound && l.bound[h] && l.bound[h](m), c && _r(e, h)), d;
273
+ }) : [], l.update(), c = !0, oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
274
274
  if (t.hydrate) {
275
- const h = ur(t.target);
275
+ const h = cr(t.target);
276
276
  l.fragment && l.fragment.l(h), h.forEach(S);
277
277
  } else
278
278
  l.fragment && l.fragment.c();
279
- t.intro && ee(e.$$.fragment), vr(e, t.target, t.anchor), L();
279
+ t.intro && te(e.$$.fragment), yr(e, t.target, t.anchor), C();
280
280
  }
281
- re(u);
281
+ ne(u);
282
282
  }
283
283
  let It;
284
284
  typeof HTMLElement == "function" && (It = class extends HTMLElement {
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
340
340
  };
341
341
  if (await Promise.resolve(), !this.$$cn || this.$$c)
342
342
  return;
343
- const t = {}, r = cr(this);
343
+ const t = {}, r = hr(this);
344
344
  for (const i of this.$$s)
345
345
  i in r && (t[i] = [e(i)]);
346
346
  for (const i of this.attributes) {
@@ -427,7 +427,7 @@ function ye(e, t, r, n) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function xr(e, t, r, n, i, a) {
430
+ function Tr(e, t, r, n, i, a) {
431
431
  let s = class extends It {
432
432
  constructor() {
433
433
  super(e, r, i), this.$$p_d = t;
@@ -456,7 +456,7 @@ function xr(e, t, r, n, i, a) {
456
456
  }), e.element = /** @type {any} */
457
457
  s, s;
458
458
  }
459
- class Tr {
459
+ class kr {
460
460
  /**
461
461
  * ### PRIVATE API
462
462
  *
@@ -475,7 +475,7 @@ class Tr {
475
475
  $$set = void 0;
476
476
  /** @returns {void} */
477
477
  $destroy() {
478
- yr(this, 1), this.$destroy = P;
478
+ Er(this, 1), this.$destroy = P;
479
479
  }
480
480
  /**
481
481
  * @template {Extract<keyof Events, string>} K
@@ -497,19 +497,19 @@ class Tr {
497
497
  * @returns {void}
498
498
  */
499
499
  $set(t) {
500
- this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
500
+ this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
501
501
  }
502
502
  }
503
- const kr = "4";
504
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
505
- const G = "__WIDGET_GLOBAL_STYLE_CACHE__";
506
- function wr(e, t) {
503
+ const wr = "4";
504
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
505
+ const j = "__WIDGET_GLOBAL_STYLE_CACHE__";
506
+ function Sr(e, t) {
507
507
  if (e) {
508
508
  const r = document.createElement("style");
509
509
  r.innerHTML = t, e.appendChild(r);
510
510
  }
511
511
  }
512
- function Sr(e, t) {
512
+ function Ar(e, t) {
513
513
  if (!e || !t)
514
514
  return;
515
515
  const r = new URL(t);
@@ -520,32 +520,32 @@ function Sr(e, t) {
520
520
  console.error("There was an error while trying to load client styling from URL", n);
521
521
  });
522
522
  }
523
- function Ar(e, t, r, n = !1) {
523
+ function Ir(e, t, r, n = !1) {
524
524
  if (!window.emMessageBus)
525
525
  return;
526
526
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
527
- return r = Ir(e, t), r;
528
- window[G] || (window[G] = {}), r = Br(e, t);
527
+ return r = Br(e, t), r;
528
+ window[j] || (window[j] = {}), r = Hr(e, t);
529
529
  const a = r.unsubscribe.bind(r), s = () => {
530
- if (window[G][t]) {
531
- const o = window[G][t];
532
- o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[G][t];
530
+ if (window[j][t]) {
531
+ const o = window[j][t];
532
+ o.refCount > 1 ? o.refCount = o.refCount - 1 : delete window[j][t];
533
533
  }
534
534
  a();
535
535
  };
536
536
  return r.unsubscribe = s, r;
537
537
  }
538
- function Ir(e, t) {
538
+ function Br(e, t) {
539
539
  const r = document.createElement("style");
540
540
  return window.emMessageBus.subscribe(t, (n) => {
541
541
  e && (r.innerHTML = n, e.appendChild(r));
542
542
  });
543
543
  }
544
- function Br(e, t) {
544
+ function Hr(e, t) {
545
545
  return window.emMessageBus.subscribe(t, (r) => {
546
546
  if (!e)
547
547
  return;
548
- const n = e.getRootNode(), i = window[G];
548
+ const n = e.getRootNode(), i = window[j];
549
549
  let a = i[t] && i[t].sheet;
550
550
  a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
551
551
  sheet: a,
@@ -556,7 +556,7 @@ function Br(e, t) {
556
556
  });
557
557
  }
558
558
  const $ = [];
559
- function Hr(e, t) {
559
+ function Cr(e, t) {
560
560
  return {
561
561
  subscribe: Se(e, t).subscribe
562
562
  };
@@ -587,12 +587,12 @@ function Se(e, t = P) {
587
587
  }
588
588
  return { set: i, update: a, subscribe: s };
589
589
  }
590
- function Z(e, t, r) {
590
+ function Y(e, t, r) {
591
591
  const n = !Array.isArray(e), i = n ? [e] : e;
592
592
  if (!i.every(Boolean))
593
593
  throw new Error("derived() expects stores as input, got a falsy value");
594
594
  const a = t.length < 2;
595
- return Hr(r, (s, o) => {
595
+ return Cr(r, (s, o) => {
596
596
  let u = !1;
597
597
  const l = [];
598
598
  let c = 0, h = P;
@@ -600,11 +600,11 @@ function Z(e, t, r) {
600
600
  if (c)
601
601
  return;
602
602
  h();
603
- const p = t(n ? l[0] : l, s, o);
604
- a ? s(p) : h = qe(p) ? p : P;
605
- }, g = i.map(
606
- (p, x) => St(
607
- p,
603
+ const m = t(n ? l[0] : l, s, o);
604
+ a ? s(m) : h = qe(m) ? m : P;
605
+ }, v = i.map(
606
+ (m, x) => St(
607
+ m,
608
608
  (k) => {
609
609
  l[x] = k, c &= ~(1 << x), u && d();
610
610
  },
@@ -614,43 +614,43 @@ function Z(e, t, r) {
614
614
  )
615
615
  );
616
616
  return u = !0, d(), function() {
617
- se(g), h(), u = !1;
617
+ oe(v), h(), u = !1;
618
618
  };
619
619
  });
620
620
  }
621
- function Cr(e) {
621
+ function Lr(e) {
622
622
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
623
623
  }
624
- var Lr = function(t) {
625
- return Pr(t) && !Or(t);
624
+ var Pr = function(t) {
625
+ return Or(t) && !Mr(t);
626
626
  };
627
- function Pr(e) {
627
+ function Or(e) {
628
628
  return !!e && typeof e == "object";
629
629
  }
630
- function Or(e) {
630
+ function Mr(e) {
631
631
  var t = Object.prototype.toString.call(e);
632
- return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
633
- }
634
- var Mr = typeof Symbol == "function" && Symbol.for, Dr = Mr ? Symbol.for("react.element") : 60103;
635
- function Nr(e) {
636
- return e.$$typeof === Dr;
632
+ return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
637
633
  }
634
+ var Dr = typeof Symbol == "function" && Symbol.for, Nr = Dr ? Symbol.for("react.element") : 60103;
638
635
  function Rr(e) {
636
+ return e.$$typeof === Nr;
637
+ }
638
+ function Ur(e) {
639
639
  return Array.isArray(e) ? [] : {};
640
640
  }
641
- function ie(e, t) {
642
- return t.clone !== !1 && t.isMergeableObject(e) ? X(Rr(e), e, t) : e;
641
+ function ae(e, t) {
642
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Ur(e), e, t) : e;
643
643
  }
644
- function Ur(e, t, r) {
644
+ function Fr(e, t, r) {
645
645
  return e.concat(t).map(function(n) {
646
- return ie(n, r);
646
+ return ae(n, r);
647
647
  });
648
648
  }
649
- function Fr(e, t) {
649
+ function zr(e, t) {
650
650
  if (!t.customMerge)
651
- return X;
651
+ return q;
652
652
  var r = t.customMerge(e);
653
- return typeof r == "function" ? r : X;
653
+ return typeof r == "function" ? r : q;
654
654
  }
655
655
  function $r(e) {
656
656
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -667,31 +667,31 @@ function Bt(e, t) {
667
667
  return !1;
668
668
  }
669
669
  }
670
- function zr(e, t) {
670
+ function Gr(e, t) {
671
671
  return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
672
672
  }
673
- function Gr(e, t, r) {
673
+ function jr(e, t, r) {
674
674
  var n = {};
675
675
  return r.isMergeableObject(e) && tt(e).forEach(function(i) {
676
- n[i] = ie(e[i], r);
676
+ n[i] = ae(e[i], r);
677
677
  }), tt(t).forEach(function(i) {
678
- zr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
678
+ Gr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = zr(i, r)(e[i], t[i], r) : n[i] = ae(t[i], r));
679
679
  }), n;
680
680
  }
681
- function X(e, t, r) {
682
- r = r || {}, r.arrayMerge = r.arrayMerge || Ur, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ie;
681
+ function q(e, t, r) {
682
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = ae;
683
683
  var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
684
- return a ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : ie(t, r);
684
+ return a ? n ? r.arrayMerge(e, t, r) : jr(e, t, r) : ae(t, r);
685
685
  }
686
- X.all = function(t, r) {
686
+ q.all = function(t, r) {
687
687
  if (!Array.isArray(t))
688
688
  throw new Error("first argument should be an array");
689
689
  return t.reduce(function(n, i) {
690
- return X(n, i, r);
690
+ return q(n, i, r);
691
691
  }, {});
692
692
  };
693
- var jr = X, Vr = jr;
694
- const Wr = /* @__PURE__ */ Cr(Vr);
693
+ var Vr = q, Wr = Vr;
694
+ const Xr = /* @__PURE__ */ Lr(Wr);
695
695
  var Fe = function(e, t) {
696
696
  return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
697
697
  r.__proto__ = n;
@@ -709,17 +709,17 @@ function Ae(e, t) {
709
709
  }
710
710
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
711
711
  }
712
- var H = function() {
713
- return H = Object.assign || function(t) {
712
+ var L = function() {
713
+ return L = Object.assign || function(t) {
714
714
  for (var r, n = 1, i = arguments.length; n < i; n++) {
715
715
  r = arguments[n];
716
716
  for (var a in r)
717
717
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
718
718
  }
719
719
  return t;
720
- }, H.apply(this, arguments);
720
+ }, L.apply(this, arguments);
721
721
  };
722
- function Xr(e, t) {
722
+ function qr(e, t) {
723
723
  var r = {};
724
724
  for (var n in e)
725
725
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -735,17 +735,17 @@ function Ce(e, t, r) {
735
735
  return e.concat(a || Array.prototype.slice.call(t));
736
736
  }
737
737
  function Le(e, t) {
738
- var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Kr;
738
+ var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Zr;
739
739
  return i(e, {
740
740
  cache: r,
741
741
  serializer: n
742
742
  });
743
743
  }
744
- function qr(e) {
744
+ function Jr(e) {
745
745
  return e == null || typeof e == "number" || typeof e == "boolean";
746
746
  }
747
- function Jr(e, t, r, n) {
748
- var i = qr(n) ? n : r(n), a = t.get(i);
747
+ function Kr(e, t, r, n) {
748
+ var i = Jr(n) ? n : r(n), a = t.get(i);
749
749
  return typeof a > "u" && (a = e.call(this, n), t.set(i, a)), a;
750
750
  }
751
751
  function Ht(e, t, r) {
@@ -755,16 +755,16 @@ function Ht(e, t, r) {
755
755
  function Ct(e, t, r, n, i) {
756
756
  return r.bind(t, e, n, i);
757
757
  }
758
- function Kr(e, t) {
759
- var r = e.length === 1 ? Jr : Ht;
758
+ function Zr(e, t) {
759
+ var r = e.length === 1 ? Kr : Ht;
760
760
  return Ct(e, this, r, t.cache.create(), t.serializer);
761
761
  }
762
- function Zr(e, t) {
762
+ function Yr(e, t) {
763
763
  return Ct(e, this, Ht, t.cache.create(), t.serializer);
764
764
  }
765
- var Yr = function() {
765
+ var Qr = function() {
766
766
  return JSON.stringify(arguments);
767
- }, Qr = (
767
+ }, en = (
768
768
  /** @class */
769
769
  function() {
770
770
  function e() {
@@ -776,12 +776,12 @@ var Yr = function() {
776
776
  this.cache[t] = r;
777
777
  }, e;
778
778
  }()
779
- ), en = {
779
+ ), tn = {
780
780
  create: function() {
781
- return new Qr();
781
+ return new en();
782
782
  }
783
783
  }, Pe = {
784
- variadic: Zr
784
+ variadic: Yr
785
785
  }, xe = function() {
786
786
  return xe = Object.assign || function(t) {
787
787
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -792,22 +792,22 @@ var Yr = function() {
792
792
  return t;
793
793
  }, xe.apply(this, arguments);
794
794
  };
795
- var b;
795
+ var p;
796
796
  (function(e) {
797
797
  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";
798
- })(b || (b = {}));
798
+ })(p || (p = {}));
799
799
  var E;
800
800
  (function(e) {
801
801
  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";
802
802
  })(E || (E = {}));
803
- var q;
803
+ var J;
804
804
  (function(e) {
805
805
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
806
- })(q || (q = {}));
806
+ })(J || (J = {}));
807
807
  function rt(e) {
808
808
  return e.type === E.literal;
809
809
  }
810
- function tn(e) {
810
+ function rn(e) {
811
811
  return e.type === E.argument;
812
812
  }
813
813
  function Lt(e) {
@@ -825,22 +825,22 @@ function Mt(e) {
825
825
  function Dt(e) {
826
826
  return e.type === E.plural;
827
827
  }
828
- function rn(e) {
828
+ function nn(e) {
829
829
  return e.type === E.pound;
830
830
  }
831
831
  function Nt(e) {
832
832
  return e.type === E.tag;
833
833
  }
834
834
  function Rt(e) {
835
- return !!(e && typeof e == "object" && e.type === q.number);
835
+ return !!(e && typeof e == "object" && e.type === J.number);
836
836
  }
837
- function $e(e) {
838
- return !!(e && typeof e == "object" && e.type === q.dateTime);
837
+ function ze(e) {
838
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
839
839
  }
840
- var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
841
- function an(e) {
840
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
841
+ function sn(e) {
842
842
  var t = {};
843
- return e.replace(nn, function(r) {
843
+ return e.replace(an, function(r) {
844
844
  var n = r.length;
845
845
  switch (r[0]) {
846
846
  case "G":
@@ -939,11 +939,11 @@ var _ = function() {
939
939
  return t;
940
940
  }, _.apply(this, arguments);
941
941
  };
942
- var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
943
- function on(e) {
942
+ var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
943
+ function ln(e) {
944
944
  if (e.length === 0)
945
945
  throw new Error("Number skeleton cannot be empty");
946
- for (var t = e.split(sn).filter(function(d) {
946
+ for (var t = e.split(on).filter(function(d) {
947
947
  return d.length > 0;
948
948
  }), r = [], n = 0, i = t; n < i.length; n++) {
949
949
  var a = i[n], s = a.split("/");
@@ -958,17 +958,17 @@ function on(e) {
958
958
  }
959
959
  return r;
960
960
  }
961
- function ln(e) {
961
+ function un(e) {
962
962
  return e.replace(/^(.*?)-/, "");
963
963
  }
964
- var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
964
+ var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
965
965
  function it(e) {
966
966
  var t = {};
967
967
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
968
968
  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)), "";
969
969
  }), t;
970
970
  }
971
- function zt(e) {
971
+ function $t(e) {
972
972
  switch (e) {
973
973
  case "sign-auto":
974
974
  return {
@@ -1008,7 +1008,7 @@ function zt(e) {
1008
1008
  };
1009
1009
  }
1010
1010
  }
1011
- function cn(e) {
1011
+ function hn(e) {
1012
1012
  var t;
1013
1013
  if (e[0] === "E" && e[1] === "E" ? (t = {
1014
1014
  notation: "engineering"
@@ -1016,17 +1016,17 @@ function cn(e) {
1016
1016
  notation: "scientific"
1017
1017
  }, e = e.slice(1)), t) {
1018
1018
  var r = e.slice(0, 2);
1019
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
1019
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1020
1020
  throw new Error("Malformed concise eng/scientific notation");
1021
1021
  t.minimumIntegerDigits = e.length;
1022
1022
  }
1023
1023
  return t;
1024
1024
  }
1025
1025
  function at(e) {
1026
- var t = {}, r = zt(e);
1026
+ var t = {}, r = $t(e);
1027
1027
  return r || t;
1028
1028
  }
1029
- function hn(e) {
1029
+ function dn(e) {
1030
1030
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1031
1031
  var i = n[r];
1032
1032
  switch (i.stem) {
@@ -1050,7 +1050,7 @@ function hn(e) {
1050
1050
  continue;
1051
1051
  case "measure-unit":
1052
1052
  case "unit":
1053
- t.style = "unit", t.unit = ln(i.options[0]);
1053
+ t.style = "unit", t.unit = un(i.options[0]);
1054
1054
  continue;
1055
1055
  case "compact-short":
1056
1056
  case "K":
@@ -1112,28 +1112,28 @@ function hn(e) {
1112
1112
  case "integer-width":
1113
1113
  if (i.options.length > 1)
1114
1114
  throw new RangeError("integer-width stems only accept a single optional option");
1115
- i.options[0].replace(un, function(u, l, c, h, d, g) {
1115
+ i.options[0].replace(cn, function(u, l, c, h, d, v) {
1116
1116
  if (l)
1117
1117
  t.minimumIntegerDigits = c.length;
1118
1118
  else {
1119
1119
  if (h && d)
1120
1120
  throw new Error("We currently do not support maximum integer digits");
1121
- if (g)
1121
+ if (v)
1122
1122
  throw new Error("We currently do not support exact integer digits");
1123
1123
  }
1124
1124
  return "";
1125
1125
  });
1126
1126
  continue;
1127
1127
  }
1128
- if ($t.test(i.stem)) {
1128
+ if (zt.test(i.stem)) {
1129
1129
  t.minimumIntegerDigits = i.stem.length;
1130
1130
  continue;
1131
1131
  }
1132
1132
  if (nt.test(i.stem)) {
1133
1133
  if (i.options.length > 1)
1134
1134
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1135
- i.stem.replace(nt, function(u, l, c, h, d, g) {
1136
- return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1135
+ i.stem.replace(nt, function(u, l, c, h, d, v) {
1136
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : d && v ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + v.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1137
1137
  });
1138
1138
  var a = i.options[0];
1139
1139
  a === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = _(_({}, t), it(a)));
@@ -1143,9 +1143,9 @@ function hn(e) {
1143
1143
  t = _(_({}, t), it(i.stem));
1144
1144
  continue;
1145
1145
  }
1146
- var s = zt(i.stem);
1146
+ var s = $t(i.stem);
1147
1147
  s && (t = _(_({}, t), s));
1148
- var o = cn(i.stem);
1148
+ var o = hn(i.stem);
1149
1149
  o && (t = _(_({}, t), o));
1150
1150
  }
1151
1151
  return t;
@@ -2565,13 +2565,13 @@ var be = {
2565
2565
  "h"
2566
2566
  ]
2567
2567
  };
2568
- function dn(e, t) {
2568
+ function fn(e, t) {
2569
2569
  for (var r = "", n = 0; n < e.length; n++) {
2570
2570
  var i = e.charAt(n);
2571
2571
  if (i === "j") {
2572
2572
  for (var a = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2573
2573
  a++, n++;
2574
- var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = fn(t);
2574
+ var s = 1 + (a & 1), o = a < 2 ? 1 : 3 + (a >> 1), u = "a", l = mn(t);
2575
2575
  for ((l == "H" || l == "k") && (o = 0); o-- > 0; )
2576
2576
  r += u;
2577
2577
  for (; s-- > 0; )
@@ -2581,7 +2581,7 @@ function dn(e, t) {
2581
2581
  }
2582
2582
  return r;
2583
2583
  }
2584
- function fn(e) {
2584
+ function mn(e) {
2585
2585
  var t = e.hourCycle;
2586
2586
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2587
2587
  e.hourCycles && // @ts-ignore
@@ -2603,20 +2603,20 @@ function fn(e) {
2603
2603
  var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2604
2604
  return i[0];
2605
2605
  }
2606
- var Oe, mn = new RegExp("^".concat(Ut.source, "*")), gn = new RegExp("".concat(Ut.source, "*$"));
2607
- function v(e, t) {
2606
+ var Oe, gn = new RegExp("^".concat(Ut.source, "*")), pn = new RegExp("".concat(Ut.source, "*$"));
2607
+ function b(e, t) {
2608
2608
  return { start: e, end: t };
2609
2609
  }
2610
- var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, vn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, Tn = xn ? Number.isSafeInteger : function(e) {
2610
+ var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, yn = !!Object.fromEntries, En = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, xn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, kn = Tn ? Number.isSafeInteger : function(e) {
2611
2611
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2612
- }, ze = !0;
2612
+ }, $e = !0;
2613
2613
  try {
2614
- var kn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
- ze = ((Oe = kn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2614
+ var wn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2615
+ $e = ((Oe = wn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2616
2616
  } catch {
2617
- ze = !1;
2617
+ $e = !1;
2618
2618
  }
2619
- var st = pn ? (
2619
+ var st = bn ? (
2620
2620
  // Native
2621
2621
  function(t, r, n) {
2622
2622
  return t.startsWith(r, n);
@@ -2626,7 +2626,7 @@ var st = pn ? (
2626
2626
  function(t, r, n) {
2627
2627
  return t.slice(n, n + r.length) === r;
2628
2628
  }
2629
- ), Ge = bn ? String.fromCodePoint : (
2629
+ ), Ge = vn ? String.fromCodePoint : (
2630
2630
  // IE11
2631
2631
  function() {
2632
2632
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2640,7 +2640,7 @@ var st = pn ? (
2640
2640
  }
2641
2641
  ), ot = (
2642
2642
  // native
2643
- vn ? Object.fromEntries : (
2643
+ yn ? Object.fromEntries : (
2644
2644
  // Ponyfill
2645
2645
  function(t) {
2646
2646
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2650,7 +2650,7 @@ var st = pn ? (
2650
2650
  return r;
2651
2651
  }
2652
2652
  )
2653
- ), Gt = yn ? (
2653
+ ), Gt = En ? (
2654
2654
  // Native
2655
2655
  function(t, r) {
2656
2656
  return t.codePointAt(r);
@@ -2664,7 +2664,7 @@ var st = pn ? (
2664
2664
  return i < 55296 || i > 56319 || r + 1 === n || (a = t.charCodeAt(r + 1)) < 56320 || a > 57343 ? i : (i - 55296 << 10) + (a - 56320) + 65536;
2665
2665
  }
2666
2666
  }
2667
- ), wn = En ? (
2667
+ ), Sn = _n ? (
2668
2668
  // Native
2669
2669
  function(t) {
2670
2670
  return t.trimStart();
@@ -2672,9 +2672,9 @@ var st = pn ? (
2672
2672
  ) : (
2673
2673
  // Ponyfill
2674
2674
  function(t) {
2675
- return t.replace(mn, "");
2675
+ return t.replace(gn, "");
2676
2676
  }
2677
- ), Sn = _n ? (
2677
+ ), An = xn ? (
2678
2678
  // Native
2679
2679
  function(t) {
2680
2680
  return t.trimEnd();
@@ -2682,14 +2682,14 @@ var st = pn ? (
2682
2682
  ) : (
2683
2683
  // Ponyfill
2684
2684
  function(t) {
2685
- return t.replace(gn, "");
2685
+ return t.replace(pn, "");
2686
2686
  }
2687
2687
  );
2688
2688
  function jt(e, t) {
2689
2689
  return new RegExp(e, t);
2690
2690
  }
2691
2691
  var je;
2692
- if (ze) {
2692
+ if ($e) {
2693
2693
  var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2694
2694
  je = function(t, r) {
2695
2695
  var n;
@@ -2701,13 +2701,13 @@ if (ze) {
2701
2701
  je = function(t, r) {
2702
2702
  for (var n = []; ; ) {
2703
2703
  var i = Gt(t, r);
2704
- if (i === void 0 || Vt(i) || Hn(i))
2704
+ if (i === void 0 || Vt(i) || Cn(i))
2705
2705
  break;
2706
2706
  n.push(i), r += i >= 65536 ? 2 : 1;
2707
2707
  }
2708
2708
  return Ge.apply(void 0, n);
2709
2709
  };
2710
- var An = (
2710
+ var In = (
2711
2711
  /** @class */
2712
2712
  function() {
2713
2713
  function e(t, r) {
@@ -2732,12 +2732,12 @@ var An = (
2732
2732
  var o = this.clonePosition();
2733
2733
  this.bump(), i.push({
2734
2734
  type: E.pound,
2735
- location: v(o, this.clonePosition())
2735
+ location: b(o, this.clonePosition())
2736
2736
  });
2737
2737
  } else if (a === 60 && !this.ignoreTag && this.peek() === 47) {
2738
2738
  if (n)
2739
2739
  break;
2740
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2740
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2741
2741
  } else if (a === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2742
2742
  var s = this.parseTag(t, r);
2743
2743
  if (s.err)
@@ -2761,7 +2761,7 @@ var An = (
2761
2761
  val: {
2762
2762
  type: E.literal,
2763
2763
  value: "<".concat(i, "/>"),
2764
- location: v(n, this.clonePosition())
2764
+ location: b(n, this.clonePosition())
2765
2765
  },
2766
2766
  err: null
2767
2767
  };
@@ -2772,24 +2772,24 @@ var An = (
2772
2772
  var s = a.val, o = this.clonePosition();
2773
2773
  if (this.bumpIf("</")) {
2774
2774
  if (this.isEOF() || !Ve(this.char()))
2775
- return this.error(b.INVALID_TAG, v(o, this.clonePosition()));
2775
+ return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2776
2776
  var u = this.clonePosition(), l = this.parseTagName();
2777
- return i !== l ? this.error(b.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2777
+ return i !== l ? this.error(p.UNMATCHED_CLOSING_TAG, b(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2778
2778
  val: {
2779
2779
  type: E.tag,
2780
2780
  value: i,
2781
2781
  children: s,
2782
- location: v(n, this.clonePosition())
2782
+ location: b(n, this.clonePosition())
2783
2783
  },
2784
2784
  err: null
2785
- } : this.error(b.INVALID_TAG, v(o, this.clonePosition())));
2785
+ } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2786
2786
  } else
2787
- return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
2787
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2788
2788
  } else
2789
- return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
2789
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2790
2790
  }, e.prototype.parseTagName = function() {
2791
2791
  var t = this.offset();
2792
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2792
+ for (this.bump(); !this.isEOF() && Hn(this.char()); )
2793
2793
  this.bump();
2794
2794
  return this.message.slice(t, this.offset());
2795
2795
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2811,14 +2811,14 @@ var An = (
2811
2811
  }
2812
2812
  break;
2813
2813
  }
2814
- var u = v(n, this.clonePosition());
2814
+ var u = b(n, this.clonePosition());
2815
2815
  return {
2816
2816
  val: { type: E.literal, value: i, location: u },
2817
2817
  err: null
2818
2818
  };
2819
2819
  }, e.prototype.tryParseLeftAngleBracket = function() {
2820
2820
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2821
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2821
+ !Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2822
2822
  }, e.prototype.tryParseQuote = function(t) {
2823
2823
  if (this.isEOF() || this.char() !== 39)
2824
2824
  return null;
@@ -2861,14 +2861,14 @@ var An = (
2861
2861
  }, e.prototype.parseArgument = function(t, r) {
2862
2862
  var n = this.clonePosition();
2863
2863
  if (this.bump(), this.bumpSpace(), this.isEOF())
2864
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2864
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2865
2865
  if (this.char() === 125)
2866
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2866
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2867
2867
  var i = this.parseIdentifierIfPossible().value;
2868
2868
  if (!i)
2869
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2869
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2870
2870
  if (this.bumpSpace(), this.isEOF())
2871
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2871
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2872
2872
  switch (this.char()) {
2873
2873
  case 125:
2874
2874
  return this.bump(), {
@@ -2876,25 +2876,25 @@ var An = (
2876
2876
  type: E.argument,
2877
2877
  // value does not include the opening and closing braces.
2878
2878
  value: i,
2879
- location: v(n, this.clonePosition())
2879
+ location: b(n, this.clonePosition())
2880
2880
  },
2881
2881
  err: null
2882
2882
  };
2883
2883
  case 44:
2884
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2884
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2885
2885
  default:
2886
- return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2886
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2887
2887
  }
2888
2888
  }, e.prototype.parseIdentifierIfPossible = function() {
2889
2889
  var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2890
2890
  this.bumpTo(i);
2891
- var a = this.clonePosition(), s = v(t, a);
2891
+ var a = this.clonePosition(), s = b(t, a);
2892
2892
  return { value: n, location: s };
2893
2893
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2894
2894
  var a, s = this.clonePosition(), o = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2895
2895
  switch (o) {
2896
2896
  case "":
2897
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, u));
2897
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(s, u));
2898
2898
  case "number":
2899
2899
  case "date":
2900
2900
  case "time": {
@@ -2905,18 +2905,18 @@ var An = (
2905
2905
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2906
2906
  if (h.err)
2907
2907
  return h;
2908
- var d = Sn(h.val);
2908
+ var d = An(h.val);
2909
2909
  if (d.length === 0)
2910
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2911
- var g = v(c, this.clonePosition());
2912
- l = { style: d, styleLocation: g };
2910
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2911
+ var v = b(c, this.clonePosition());
2912
+ l = { style: d, styleLocation: v };
2913
2913
  }
2914
- var p = this.tryParseArgumentClose(i);
2915
- if (p.err)
2916
- return p;
2917
- var x = v(i, this.clonePosition());
2914
+ var m = this.tryParseArgumentClose(i);
2915
+ if (m.err)
2916
+ return m;
2917
+ var x = b(i, this.clonePosition());
2918
2918
  if (l && st(l?.style, "::", 0)) {
2919
- var k = wn(l.style.slice(2));
2919
+ var k = Sn(l.style.slice(2));
2920
2920
  if (o === "number") {
2921
2921
  var h = this.parseNumberSkeletonFromString(k, l.styleLocation);
2922
2922
  return h.err ? h : {
@@ -2925,14 +2925,14 @@ var An = (
2925
2925
  };
2926
2926
  } else {
2927
2927
  if (k.length === 0)
2928
- return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
2928
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, x);
2929
2929
  var T = k;
2930
- this.locale && (T = dn(k, this.locale));
2930
+ this.locale && (T = fn(k, this.locale));
2931
2931
  var d = {
2932
- type: q.dateTime,
2932
+ type: J.dateTime,
2933
2933
  pattern: T,
2934
2934
  location: l.styleLocation,
2935
- parsedOptions: this.shouldParseSkeletons ? an(T) : {}
2935
+ parsedOptions: this.shouldParseSkeletons ? sn(T) : {}
2936
2936
  }, f = o === "date" ? E.date : E.time;
2937
2937
  return {
2938
2938
  val: { type: f, value: n, location: x, style: d },
@@ -2955,50 +2955,50 @@ var An = (
2955
2955
  case "select": {
2956
2956
  var y = this.clonePosition();
2957
2957
  if (this.bumpSpace(), !this.bumpIf(","))
2958
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(y, xe({}, y)));
2958
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(y, xe({}, y)));
2959
2959
  this.bumpSpace();
2960
- var M = this.parseIdentifierIfPossible(), C = 0;
2961
- if (o !== "select" && M.value === "offset") {
2960
+ var R = this.parseIdentifierIfPossible(), H = 0;
2961
+ if (o !== "select" && R.value === "offset") {
2962
2962
  if (!this.bumpIf(":"))
2963
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2963
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2964
2964
  this.bumpSpace();
2965
- var h = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2965
+ var h = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2966
2966
  if (h.err)
2967
2967
  return h;
2968
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), C = h.val;
2968
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), H = h.val;
2969
2969
  }
2970
- var m = this.tryParsePluralOrSelectOptions(t, o, r, M);
2970
+ var F = this.tryParsePluralOrSelectOptions(t, o, r, R);
2971
+ if (F.err)
2972
+ return F;
2973
+ var m = this.tryParseArgumentClose(i);
2971
2974
  if (m.err)
2972
2975
  return m;
2973
- var p = this.tryParseArgumentClose(i);
2974
- if (p.err)
2975
- return p;
2976
- var ue = v(i, this.clonePosition());
2976
+ var g = b(i, this.clonePosition());
2977
2977
  return o === "select" ? {
2978
2978
  val: {
2979
2979
  type: E.select,
2980
2980
  value: n,
2981
- options: ot(m.val),
2982
- location: ue
2981
+ options: ot(F.val),
2982
+ location: g
2983
2983
  },
2984
2984
  err: null
2985
2985
  } : {
2986
2986
  val: {
2987
2987
  type: E.plural,
2988
2988
  value: n,
2989
- options: ot(m.val),
2990
- offset: C,
2989
+ options: ot(F.val),
2990
+ offset: H,
2991
2991
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2992
- location: ue
2992
+ location: g
2993
2993
  },
2994
2994
  err: null
2995
2995
  };
2996
2996
  }
2997
2997
  default:
2998
- return this.error(b.INVALID_ARGUMENT_TYPE, v(s, u));
2998
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(s, u));
2999
2999
  }
3000
3000
  }, e.prototype.tryParseArgumentClose = function(t) {
3001
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3001
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3002
3002
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3003
3003
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3004
3004
  var n = this.char();
@@ -3007,7 +3007,7 @@ var An = (
3007
3007
  this.bump();
3008
3008
  var i = this.clonePosition();
3009
3009
  if (!this.bumpUntil("'"))
3010
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3010
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3011
3011
  this.bump();
3012
3012
  break;
3013
3013
  }
@@ -3037,16 +3037,16 @@ var An = (
3037
3037
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3038
3038
  var n = [];
3039
3039
  try {
3040
- n = on(t);
3040
+ n = ln(t);
3041
3041
  } catch {
3042
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3042
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
3043
3043
  }
3044
3044
  return {
3045
3045
  val: {
3046
- type: q.number,
3046
+ type: J.number,
3047
3047
  tokens: n,
3048
3048
  location: r,
3049
- parsedOptions: this.shouldParseSkeletons ? hn(n) : {}
3049
+ parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3050
3050
  },
3051
3051
  err: null
3052
3052
  };
@@ -3055,34 +3055,34 @@ var An = (
3055
3055
  if (l.length === 0) {
3056
3056
  var h = this.clonePosition();
3057
3057
  if (r !== "select" && this.bumpIf("=")) {
3058
- var d = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3058
+ var d = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3059
3059
  if (d.err)
3060
3060
  return d;
3061
- c = v(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3061
+ c = b(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3062
3062
  } else
3063
3063
  break;
3064
3064
  }
3065
3065
  if (u.has(l))
3066
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3066
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3067
3067
  l === "other" && (s = !0), this.bumpSpace();
3068
- var g = this.clonePosition();
3068
+ var v = this.clonePosition();
3069
3069
  if (!this.bumpIf("{"))
3070
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3071
- var p = this.parseMessage(t + 1, r, n);
3072
- if (p.err)
3073
- return p;
3074
- var x = this.tryParseArgumentClose(g);
3070
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3071
+ var m = this.parseMessage(t + 1, r, n);
3072
+ if (m.err)
3073
+ return m;
3074
+ var x = this.tryParseArgumentClose(v);
3075
3075
  if (x.err)
3076
3076
  return x;
3077
3077
  o.push([
3078
3078
  l,
3079
3079
  {
3080
- value: p.val,
3081
- location: v(g, this.clonePosition())
3080
+ value: m.val,
3081
+ location: b(v, this.clonePosition())
3082
3082
  }
3083
3083
  ]), u.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, c = a.location;
3084
3084
  }
3085
- return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3085
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3086
3086
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3087
3087
  var n = 1, i = this.clonePosition();
3088
3088
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3093,8 +3093,8 @@ var An = (
3093
3093
  else
3094
3094
  break;
3095
3095
  }
3096
- var u = v(i, this.clonePosition());
3097
- return a ? (s *= n, Tn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3096
+ var u = b(i, this.clonePosition());
3097
+ return a ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3098
3098
  }, e.prototype.offset = function() {
3099
3099
  return this.position.offset;
3100
3100
  }, e.prototype.isEOF = function() {
@@ -3163,16 +3163,16 @@ var An = (
3163
3163
  function Ve(e) {
3164
3164
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3165
3165
  }
3166
- function In(e) {
3166
+ function Bn(e) {
3167
3167
  return Ve(e) || e === 47;
3168
3168
  }
3169
- function Bn(e) {
3169
+ function Hn(e) {
3170
3170
  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;
3171
3171
  }
3172
3172
  function Vt(e) {
3173
3173
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3174
3174
  }
3175
- function Hn(e) {
3175
+ function Cn(e) {
3176
3176
  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;
3177
3177
  }
3178
3178
  function We(e) {
@@ -3181,22 +3181,22 @@ function We(e) {
3181
3181
  for (var r in t.options)
3182
3182
  delete t.options[r].location, We(t.options[r].value);
3183
3183
  else
3184
- Lt(t) && Rt(t.style) || (Pt(t) || Ot(t)) && $e(t.style) ? delete t.style.location : Nt(t) && We(t.children);
3184
+ Lt(t) && Rt(t.style) || (Pt(t) || Ot(t)) && ze(t.style) ? delete t.style.location : Nt(t) && We(t.children);
3185
3185
  });
3186
3186
  }
3187
- function Cn(e, t) {
3187
+ function Ln(e, t) {
3188
3188
  t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3189
- var r = new An(e, t).parse();
3189
+ var r = new In(e, t).parse();
3190
3190
  if (r.err) {
3191
- var n = SyntaxError(b[r.err.kind]);
3191
+ var n = SyntaxError(p[r.err.kind]);
3192
3192
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3193
3193
  }
3194
3194
  return t?.captureLocation || We(r.val), r.val;
3195
3195
  }
3196
- var J;
3196
+ var K;
3197
3197
  (function(e) {
3198
3198
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3199
- })(J || (J = {}));
3199
+ })(K || (K = {}));
3200
3200
  var Ie = (
3201
3201
  /** @class */
3202
3202
  function(e) {
@@ -3214,25 +3214,25 @@ var Ie = (
3214
3214
  function(e) {
3215
3215
  Ae(t, e);
3216
3216
  function t(r, n, i, a) {
3217
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, a) || this;
3217
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, a) || this;
3218
3218
  }
3219
3219
  return t;
3220
3220
  }(Ie)
3221
- ), Ln = (
3221
+ ), Pn = (
3222
3222
  /** @class */
3223
3223
  function(e) {
3224
3224
  Ae(t, e);
3225
3225
  function t(r, n, i) {
3226
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3226
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
3227
3227
  }
3228
3228
  return t;
3229
3229
  }(Ie)
3230
- ), Pn = (
3230
+ ), On = (
3231
3231
  /** @class */
3232
3232
  function(e) {
3233
3233
  Ae(t, e);
3234
3234
  function t(r, n) {
3235
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3235
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
3236
3236
  }
3237
3237
  return t;
3238
3238
  }(Ie)
@@ -3240,13 +3240,13 @@ var Ie = (
3240
3240
  (function(e) {
3241
3241
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3242
3242
  })(w || (w = {}));
3243
- function On(e) {
3243
+ function Mn(e) {
3244
3244
  return e.length < 2 ? e : e.reduce(function(t, r) {
3245
3245
  var n = t[t.length - 1];
3246
3246
  return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3247
3247
  }, []);
3248
3248
  }
3249
- function Mn(e) {
3249
+ function Dn(e) {
3250
3250
  return typeof e == "function";
3251
3251
  }
3252
3252
  function Ee(e, t, r, n, i, a, s) {
@@ -3266,7 +3266,7 @@ function Ee(e, t, r, n, i, a, s) {
3266
3266
  });
3267
3267
  continue;
3268
3268
  }
3269
- if (rn(c)) {
3269
+ if (nn(c)) {
3270
3270
  typeof a == "number" && o.push({
3271
3271
  type: w.literal,
3272
3272
  value: r.getNumberFormat(t).format(a)
@@ -3275,9 +3275,9 @@ function Ee(e, t, r, n, i, a, s) {
3275
3275
  }
3276
3276
  var h = c.value;
3277
3277
  if (!(i && h in i))
3278
- throw new Pn(h, s);
3278
+ throw new On(h, s);
3279
3279
  var d = i[h];
3280
- if (tn(c)) {
3280
+ if (rn(c)) {
3281
3281
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), o.push({
3282
3282
  type: typeof d == "string" ? w.literal : w.object,
3283
3283
  value: d
@@ -3285,40 +3285,40 @@ function Ee(e, t, r, n, i, a, s) {
3285
3285
  continue;
3286
3286
  }
3287
3287
  if (Pt(c)) {
3288
- var g = typeof c.style == "string" ? n.date[c.style] : $e(c.style) ? c.style.parsedOptions : void 0;
3288
+ var v = typeof c.style == "string" ? n.date[c.style] : ze(c.style) ? c.style.parsedOptions : void 0;
3289
3289
  o.push({
3290
3290
  type: w.literal,
3291
- value: r.getDateTimeFormat(t, g).format(d)
3291
+ value: r.getDateTimeFormat(t, v).format(d)
3292
3292
  });
3293
3293
  continue;
3294
3294
  }
3295
3295
  if (Ot(c)) {
3296
- var g = typeof c.style == "string" ? n.time[c.style] : $e(c.style) ? c.style.parsedOptions : n.time.medium;
3296
+ var v = typeof c.style == "string" ? n.time[c.style] : ze(c.style) ? c.style.parsedOptions : n.time.medium;
3297
3297
  o.push({
3298
3298
  type: w.literal,
3299
- value: r.getDateTimeFormat(t, g).format(d)
3299
+ value: r.getDateTimeFormat(t, v).format(d)
3300
3300
  });
3301
3301
  continue;
3302
3302
  }
3303
3303
  if (Lt(c)) {
3304
- var g = typeof c.style == "string" ? n.number[c.style] : Rt(c.style) ? c.style.parsedOptions : void 0;
3305
- g && g.scale && (d = d * (g.scale || 1)), o.push({
3304
+ var v = typeof c.style == "string" ? n.number[c.style] : Rt(c.style) ? c.style.parsedOptions : void 0;
3305
+ v && v.scale && (d = d * (v.scale || 1)), o.push({
3306
3306
  type: w.literal,
3307
- value: r.getNumberFormat(t, g).format(d)
3307
+ value: r.getNumberFormat(t, v).format(d)
3308
3308
  });
3309
3309
  continue;
3310
3310
  }
3311
3311
  if (Nt(c)) {
3312
- var p = c.children, x = c.value, k = i[x];
3313
- if (!Mn(k))
3314
- throw new Ln(x, "function", s);
3315
- var T = Ee(p, t, r, n, i, a), f = k(T.map(function(C) {
3316
- return C.value;
3312
+ var m = c.children, x = c.value, k = i[x];
3313
+ if (!Dn(k))
3314
+ throw new Pn(x, "function", s);
3315
+ var T = Ee(m, t, r, n, i, a), f = k(T.map(function(H) {
3316
+ return H.value;
3317
3317
  }));
3318
- Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(C) {
3318
+ Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(H) {
3319
3319
  return {
3320
- type: typeof C == "string" ? w.literal : w.object,
3321
- value: C
3320
+ type: typeof H == "string" ? w.literal : w.object,
3321
+ value: H
3322
3322
  };
3323
3323
  }));
3324
3324
  }
@@ -3335,9 +3335,9 @@ function Ee(e, t, r, n, i, a, s) {
3335
3335
  if (!Intl.PluralRules)
3336
3336
  throw new Ie(`Intl.PluralRules is not available in this environment.
3337
3337
  Try polyfilling it using "@formatjs/intl-pluralrules"
3338
- `, J.MISSING_INTL_API, s);
3339
- var M = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3340
- y = c.options[M] || c.options.other;
3338
+ `, K.MISSING_INTL_API, s);
3339
+ var R = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3340
+ y = c.options[R] || c.options.other;
3341
3341
  }
3342
3342
  if (!y)
3343
3343
  throw new ut(c.value, d, Object.keys(c.options), s);
@@ -3345,17 +3345,17 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3345
3345
  continue;
3346
3346
  }
3347
3347
  }
3348
- return On(o);
3348
+ return Mn(o);
3349
3349
  }
3350
- function Dn(e, t) {
3351
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3352
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3350
+ function Nn(e, t) {
3351
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3352
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3353
3353
  }, {})) : e;
3354
3354
  }
3355
- function Nn(e, t) {
3355
+ function Rn(e, t) {
3356
3356
  return t ? Object.keys(e).reduce(function(r, n) {
3357
- return r[n] = Dn(e[n], t[n]), r;
3358
- }, H({}, e)) : e;
3357
+ return r[n] = Nn(e[n], t[n]), r;
3358
+ }, L({}, e)) : e;
3359
3359
  }
3360
3360
  function Me(e) {
3361
3361
  return {
@@ -3371,7 +3371,7 @@ function Me(e) {
3371
3371
  }
3372
3372
  };
3373
3373
  }
3374
- function Rn(e) {
3374
+ function Un(e) {
3375
3375
  return e === void 0 && (e = {
3376
3376
  number: {},
3377
3377
  dateTime: {},
@@ -3435,13 +3435,13 @@ var Wt = (
3435
3435
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3436
3436
  var s = i || {};
3437
3437
  s.formatters;
3438
- var o = Xr(s, ["formatters"]);
3439
- this.ast = e.__parse(t, H(H({}, o), { locale: this.resolvedLocale }));
3438
+ var o = qr(s, ["formatters"]);
3439
+ this.ast = e.__parse(t, L(L({}, o), { locale: this.resolvedLocale }));
3440
3440
  } else
3441
3441
  this.ast = t;
3442
3442
  if (!Array.isArray(this.ast))
3443
3443
  throw new TypeError("A message must be provided as a String or AST.");
3444
- this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3444
+ this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
3445
3445
  }
3446
3446
  return Object.defineProperty(e, "defaultLocale", {
3447
3447
  get: function() {
@@ -3454,7 +3454,7 @@ var Wt = (
3454
3454
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3455
3455
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3456
3456
  }
3457
- }, e.__parse = Cn, e.formats = {
3457
+ }, e.__parse = Ln, e.formats = {
3458
3458
  number: {
3459
3459
  integer: {
3460
3460
  maximumFractionDigits: 0
@@ -3515,7 +3515,7 @@ var Wt = (
3515
3515
  }, e;
3516
3516
  }()
3517
3517
  );
3518
- function Un(e, t) {
3518
+ function Fn(e, t) {
3519
3519
  if (t == null)
3520
3520
  return;
3521
3521
  if (t in e)
@@ -3536,36 +3536,36 @@ function Un(e, t) {
3536
3536
  n = void 0;
3537
3537
  return n;
3538
3538
  }
3539
- const D = {}, Fn = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Xt = (e, t) => {
3539
+ const M = {}, zn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Xt = (e, t) => {
3540
3540
  if (t == null)
3541
3541
  return;
3542
- if (t in D && e in D[t])
3543
- return D[t][e];
3544
- const r = le(t);
3542
+ if (t in M && e in M[t])
3543
+ return M[t][e];
3544
+ const r = ue(t);
3545
3545
  for (let n = 0; n < r.length; n++) {
3546
- const i = r[n], a = zn(i, e);
3546
+ const i = r[n], a = Gn(i, e);
3547
3547
  if (a)
3548
- return Fn(e, t, a);
3548
+ return zn(e, t, a);
3549
3549
  }
3550
3550
  };
3551
3551
  let Ke;
3552
- const oe = Se({});
3552
+ const le = Se({});
3553
3553
  function $n(e) {
3554
3554
  return Ke[e] || null;
3555
3555
  }
3556
3556
  function qt(e) {
3557
3557
  return e in Ke;
3558
3558
  }
3559
- function zn(e, t) {
3559
+ function Gn(e, t) {
3560
3560
  if (!qt(e))
3561
3561
  return null;
3562
3562
  const r = $n(e);
3563
- return Un(r, t);
3563
+ return Fn(r, t);
3564
3564
  }
3565
- function Gn(e) {
3565
+ function jn(e) {
3566
3566
  if (e == null)
3567
3567
  return;
3568
- const t = le(e);
3568
+ const t = ue(e);
3569
3569
  for (let r = 0; r < t.length; r++) {
3570
3570
  const n = t[r];
3571
3571
  if (qt(n))
@@ -3573,64 +3573,64 @@ function Gn(e) {
3573
3573
  }
3574
3574
  }
3575
3575
  function Jt(e, ...t) {
3576
- delete D[e], oe.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
3576
+ delete M[e], le.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3577
3577
  }
3578
- Z(
3579
- [oe],
3578
+ Y(
3579
+ [le],
3580
3580
  ([e]) => Object.keys(e)
3581
3581
  );
3582
- oe.subscribe((e) => Ke = e);
3582
+ le.subscribe((e) => Ke = e);
3583
3583
  const _e = {};
3584
- function jn(e, t) {
3584
+ function Vn(e, t) {
3585
3585
  _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3586
3586
  }
3587
3587
  function Kt(e) {
3588
3588
  return _e[e];
3589
3589
  }
3590
- function Vn(e) {
3591
- return le(e).map((t) => {
3590
+ function Wn(e) {
3591
+ return ue(e).map((t) => {
3592
3592
  const r = Kt(t);
3593
3593
  return [t, r ? [...r] : []];
3594
3594
  }).filter(([, t]) => t.length > 0);
3595
3595
  }
3596
3596
  function Te(e) {
3597
- return e == null ? !1 : le(e).some(
3597
+ return e == null ? !1 : ue(e).some(
3598
3598
  (t) => {
3599
3599
  var r;
3600
3600
  return (r = Kt(t)) == null ? void 0 : r.size;
3601
3601
  }
3602
3602
  );
3603
3603
  }
3604
- function Wn(e, t) {
3604
+ function Xn(e, t) {
3605
3605
  return Promise.all(
3606
- t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
3606
+ t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3607
3607
  ).then((n) => Jt(e, ...n));
3608
3608
  }
3609
- const Q = {};
3609
+ const ee = {};
3610
3610
  function Zt(e) {
3611
3611
  if (!Te(e))
3612
- return e in Q ? Q[e] : Promise.resolve();
3613
- const t = Vn(e);
3614
- return Q[e] = Promise.all(
3612
+ return e in ee ? ee[e] : Promise.resolve();
3613
+ const t = Wn(e);
3614
+ return ee[e] = Promise.all(
3615
3615
  t.map(
3616
- ([r, n]) => Wn(r, n)
3616
+ ([r, n]) => Xn(r, n)
3617
3617
  )
3618
3618
  ).then(() => {
3619
3619
  if (Te(e))
3620
3620
  return Zt(e);
3621
- delete Q[e];
3622
- }), Q[e];
3621
+ delete ee[e];
3622
+ }), ee[e];
3623
3623
  }
3624
- var ct = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3624
+ var ct = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3625
3625
  var r = {};
3626
3626
  for (var n in e)
3627
- Xn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3627
+ qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3628
3628
  if (e != null && ct)
3629
3629
  for (var n of ct(e))
3630
- t.indexOf(n) < 0 && qn.call(e, n) && (r[n] = e[n]);
3630
+ t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3631
3631
  return r;
3632
3632
  };
3633
- const Kn = {
3633
+ const Zn = {
3634
3634
  number: {
3635
3635
  scientific: { notation: "scientific" },
3636
3636
  engineering: { notation: "engineering" },
@@ -3660,28 +3660,28 @@ const Kn = {
3660
3660
  }
3661
3661
  }
3662
3662
  };
3663
- function Zn({ locale: e, id: t }) {
3663
+ function Yn({ locale: e, id: t }) {
3664
3664
  console.warn(
3665
- `[svelte-i18n] The message "${t}" was not found in "${le(
3665
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3666
3666
  e
3667
- ).join('", "')}".${Te(R()) ? `
3667
+ ).join('", "')}".${Te(N()) ? `
3668
3668
 
3669
3669
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3670
3670
  );
3671
3671
  }
3672
- const Yn = {
3672
+ const Qn = {
3673
3673
  fallbackLocale: null,
3674
3674
  loadingDelay: 200,
3675
- formats: Kn,
3675
+ formats: Zn,
3676
3676
  warnOnMissingMessages: !0,
3677
3677
  handleMissingMessage: void 0,
3678
3678
  ignoreTag: !0
3679
- }, te = Yn;
3680
- function K() {
3681
- return te;
3679
+ }, re = Qn;
3680
+ function Z() {
3681
+ return re;
3682
3682
  }
3683
- function Qn(e) {
3684
- const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3683
+ function ei(e) {
3684
+ const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3685
3685
  let i = e.fallbackLocale;
3686
3686
  if (e.initialLocale)
3687
3687
  try {
@@ -3691,39 +3691,39 @@ function Qn(e) {
3691
3691
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3692
3692
  );
3693
3693
  }
3694
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Zn : console.warn(
3694
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3695
3695
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3696
- )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), U.set(i);
3696
+ )), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), U.set(i);
3697
3697
  }
3698
3698
  const De = Se(!1);
3699
- var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
3699
+ var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3700
3700
  for (var r in t || (t = {}))
3701
- ni.call(t, r) && dt(e, r, t[r]);
3701
+ ii.call(t, r) && dt(e, r, t[r]);
3702
3702
  if (ht)
3703
3703
  for (var r of ht(t))
3704
- ii.call(t, r) && dt(e, r, t[r]);
3704
+ ai.call(t, r) && dt(e, r, t[r]);
3705
3705
  return e;
3706
- }, si = (e, t) => ti(e, ri(t));
3706
+ }, oi = (e, t) => ri(e, ni(t));
3707
3707
  let Xe;
3708
3708
  const ke = Se(null);
3709
3709
  function ft(e) {
3710
3710
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3711
3711
  }
3712
- function le(e, t = K().fallbackLocale) {
3712
+ function ue(e, t = Z().fallbackLocale) {
3713
3713
  const r = ft(e);
3714
3714
  return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3715
3715
  }
3716
- function R() {
3716
+ function N() {
3717
3717
  return Xe ?? void 0;
3718
3718
  }
3719
3719
  ke.subscribe((e) => {
3720
3720
  Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3721
3721
  });
3722
- const oi = (e) => {
3723
- if (e && Gn(e) && Te(e)) {
3724
- const { loadingDelay: t } = K();
3722
+ const li = (e) => {
3723
+ if (e && jn(e) && Te(e)) {
3724
+ const { loadingDelay: t } = Z();
3725
3725
  let r;
3726
- return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3726
+ return typeof window < "u" && N() != null && t ? r = window.setTimeout(
3727
3727
  () => De.set(!0),
3728
3728
  t
3729
3729
  ) : De.set(!0), Zt(e).then(() => {
@@ -3733,8 +3733,8 @@ const oi = (e) => {
3733
3733
  });
3734
3734
  }
3735
3735
  return ke.set(e);
3736
- }, U = si(ai({}, ke), {
3737
- set: oi
3736
+ }, U = oi(si({}, ke), {
3737
+ set: li
3738
3738
  }), Be = (e) => {
3739
3739
  const t = /* @__PURE__ */ Object.create(null);
3740
3740
  return (n) => {
@@ -3742,14 +3742,14 @@ const oi = (e) => {
3742
3742
  return i in t ? t[i] : t[i] = e(n);
3743
3743
  };
3744
3744
  };
3745
- var li = Object.defineProperty, we = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3745
+ var ui = Object.defineProperty, we = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3746
3746
  for (var r in t || (t = {}))
3747
3747
  Yt.call(t, r) && mt(e, r, t[r]);
3748
3748
  if (we)
3749
3749
  for (var r of we(t))
3750
3750
  Qt.call(t, r) && mt(e, r, t[r]);
3751
3751
  return e;
3752
- }, Y = (e, t) => {
3752
+ }, Q = (e, t) => {
3753
3753
  var r = {};
3754
3754
  for (var n in e)
3755
3755
  Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -3758,67 +3758,67 @@ var li = Object.defineProperty, we = Object.getOwnPropertySymbols, Yt = Object.p
3758
3758
  t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3759
3759
  return r;
3760
3760
  };
3761
- const ae = (e, t) => {
3762
- const { formats: r } = K();
3761
+ const se = (e, t) => {
3762
+ const { formats: r } = Z();
3763
3763
  if (e in r && t in r[e])
3764
3764
  return r[e][t];
3765
3765
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3766
- }, ui = Be(
3766
+ }, ci = Be(
3767
3767
  (e) => {
3768
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3768
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3769
3769
  if (r == null)
3770
3770
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3771
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3771
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3772
3772
  }
3773
- ), ci = Be(
3773
+ ), hi = Be(
3774
3774
  (e) => {
3775
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3775
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3776
3776
  if (r == null)
3777
3777
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3778
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3778
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3779
3779
  }
3780
- ), hi = Be(
3780
+ ), di = Be(
3781
3781
  (e) => {
3782
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
3782
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3783
3783
  if (r == null)
3784
3784
  throw new Error(
3785
3785
  '[svelte-i18n] A "locale" must be set to format time values'
3786
3786
  );
3787
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3787
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3788
3788
  }
3789
- ), di = (e = {}) => {
3790
- var t = e, {
3791
- locale: r = R()
3792
- } = t, n = Y(t, [
3793
- "locale"
3794
- ]);
3795
- return ui(Ze({ locale: r }, n));
3796
- }, fi = (e = {}) => {
3789
+ ), fi = (e = {}) => {
3797
3790
  var t = e, {
3798
- locale: r = R()
3799
- } = t, n = Y(t, [
3791
+ locale: r = N()
3792
+ } = t, n = Q(t, [
3800
3793
  "locale"
3801
3794
  ]);
3802
3795
  return ci(Ze({ locale: r }, n));
3803
3796
  }, mi = (e = {}) => {
3804
3797
  var t = e, {
3805
- locale: r = R()
3806
- } = t, n = Y(t, [
3798
+ locale: r = N()
3799
+ } = t, n = Q(t, [
3807
3800
  "locale"
3808
3801
  ]);
3809
3802
  return hi(Ze({ locale: r }, n));
3810
- }, gi = Be(
3803
+ }, gi = (e = {}) => {
3804
+ var t = e, {
3805
+ locale: r = N()
3806
+ } = t, n = Q(t, [
3807
+ "locale"
3808
+ ]);
3809
+ return di(Ze({ locale: r }, n));
3810
+ }, pi = Be(
3811
3811
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3812
- (e, t = R()) => new Wt(e, t, K().formats, {
3813
- ignoreTag: K().ignoreTag
3812
+ (e, t = N()) => new Wt(e, t, Z().formats, {
3813
+ ignoreTag: Z().ignoreTag
3814
3814
  })
3815
- ), pi = (e, t = {}) => {
3815
+ ), bi = (e, t = {}) => {
3816
3816
  var r, n, i, a;
3817
3817
  let s = t;
3818
3818
  typeof e == "object" && (s = e, e = s.id);
3819
3819
  const {
3820
3820
  values: o,
3821
- locale: u = R(),
3821
+ locale: u = N(),
3822
3822
  default: l
3823
3823
  } = s;
3824
3824
  if (u == null)
@@ -3827,7 +3827,7 @@ const ae = (e, t) => {
3827
3827
  );
3828
3828
  let c = Xt(e, u);
3829
3829
  if (!c)
3830
- c = (a = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3830
+ c = (a = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? a : e;
3831
3831
  else if (typeof c != "string")
3832
3832
  return console.warn(
3833
3833
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3836,7 +3836,7 @@ const ae = (e, t) => {
3836
3836
  return c;
3837
3837
  let h = c;
3838
3838
  try {
3839
- h = gi(c, u).format(o);
3839
+ h = pi(c, u).format(o);
3840
3840
  } catch (d) {
3841
3841
  d instanceof Error && console.warn(
3842
3842
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3844,16 +3844,16 @@ const ae = (e, t) => {
3844
3844
  );
3845
3845
  }
3846
3846
  return h;
3847
- }, bi = (e, t) => mi(t).format(e), vi = (e, t) => fi(t).format(e), yi = (e, t) => di(t).format(e), Ei = (e, t = R()) => Xt(e, t), _i = Z([U, oe], () => pi);
3848
- Z([U], () => bi);
3849
- Z([U], () => vi);
3850
- Z([U], () => yi);
3851
- Z([U, oe], () => Ei);
3847
+ }, vi = (e, t) => gi(t).format(e), yi = (e, t) => mi(t).format(e), Ei = (e, t) => fi(t).format(e), _i = (e, t = N()) => Xt(e, t), xi = Y([U, le], () => bi);
3848
+ Y([U], () => vi);
3849
+ Y([U], () => yi);
3850
+ Y([U], () => Ei);
3851
+ Y([U, le], () => _i);
3852
3852
  function gt(e, t) {
3853
3853
  Jt(e, t);
3854
3854
  }
3855
- function xi(e) {
3856
- Qn({
3855
+ function Ti(e) {
3856
+ ei({
3857
3857
  fallbackLocale: "en"
3858
3858
  }), U.set(e);
3859
3859
  }
@@ -4169,10 +4169,10 @@ const pt = {
4169
4169
  CardTokenIsBlocked: "Kaarttoken is geblokkeerd"
4170
4170
  }
4171
4171
  };
4172
- function Ti(e) {
4173
- ar(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
4172
+ function ki(e) {
4173
+ sr(e, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
4174
4174
  }
4175
- const ki = (e) => ({}), bt = (e) => ({}), wi = (e) => ({}), vt = (e) => ({}), Si = (e) => ({}), yt = (e) => ({}), Ai = (e) => ({}), Et = (e) => ({ class: "CashierErrorIcon" });
4175
+ const wi = (e) => ({}), bt = (e) => ({}), Si = (e) => ({}), vt = (e) => ({}), Ai = (e) => ({}), yt = (e) => ({}), Ii = (e) => ({}), Et = (e) => ({ class: "CashierErrorIcon" });
4176
4176
  function _t(e) {
4177
4177
  let t, r;
4178
4178
  return {
@@ -4193,7 +4193,7 @@ function _t(e) {
4193
4193
  }
4194
4194
  };
4195
4195
  }
4196
- function Ii(e) {
4196
+ function Bi(e) {
4197
4197
  let t, r = (
4198
4198
  /*assetsurl*/
4199
4199
  e[0] && _t(e)
@@ -4219,7 +4219,7 @@ function xt(e) {
4219
4219
  function r(a, s) {
4220
4220
  return (
4221
4221
  /*depositWageringAmount*/
4222
- a[3] < 0 ? Hi : Bi
4222
+ a[4] < 0 ? Ci : Hi
4223
4223
  );
4224
4224
  }
4225
4225
  let n = r(e), i = n(e);
@@ -4238,48 +4238,48 @@ function xt(e) {
4238
4238
  }
4239
4239
  };
4240
4240
  }
4241
- function Bi(e) {
4241
+ function Hi(e) {
4242
4242
  let t, r = (
4243
4243
  /*$_*/
4244
- e[5]("DepositWageringLimitText") + ""
4244
+ e[6]("DepositWageringLimitText") + ""
4245
4245
  ), n, i, a = (
4246
4246
  /*depositWageringAmount*/
4247
- e[3] > 0 && Tt(e)
4247
+ e[4] > 0 && Tt(e)
4248
4248
  );
4249
4249
  return {
4250
4250
  c() {
4251
- t = B("span"), n = N(r), i = j(), a && a.c(), O(t, "class", "CashierErrorText");
4251
+ t = B("span"), n = D(r), i = V(), a && a.c(), O(t, "class", "CashierErrorText");
4252
4252
  },
4253
4253
  m(s, o) {
4254
4254
  A(s, t, o), I(t, n), I(t, i), a && a.m(t, null);
4255
4255
  },
4256
4256
  p(s, o) {
4257
4257
  o & /*$_*/
4258
- 32 && r !== (r = /*$_*/
4259
- s[5]("DepositWageringLimitText") + "") && W(n, r), /*depositWageringAmount*/
4260
- s[3] > 0 ? a ? a.p(s, o) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4258
+ 64 && r !== (r = /*$_*/
4259
+ s[6]("DepositWageringLimitText") + "") && X(n, r), /*depositWageringAmount*/
4260
+ s[4] > 0 ? a ? a.p(s, o) : (a = Tt(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4261
4261
  },
4262
4262
  d(s) {
4263
4263
  s && S(t), a && a.d();
4264
4264
  }
4265
4265
  };
4266
4266
  }
4267
- function Hi(e) {
4267
+ function Ci(e) {
4268
4268
  let t, r, n = (
4269
4269
  /*$_*/
4270
- e[5]("DepositWageringFetching") + ""
4270
+ e[6]("DepositWageringFetching") + ""
4271
4271
  ), i;
4272
4272
  return {
4273
4273
  c() {
4274
- t = B("div"), r = B("span"), i = N(n), O(r, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
4274
+ t = B("div"), r = B("span"), i = D(n), O(r, "class", "CashierErrorText LoadingText"), O(t, "class", "WageringFetch");
4275
4275
  },
4276
4276
  m(a, s) {
4277
4277
  A(a, t, s), I(t, r), I(r, i);
4278
4278
  },
4279
4279
  p(a, s) {
4280
4280
  s & /*$_*/
4281
- 32 && n !== (n = /*$_*/
4282
- a[5]("DepositWageringFetching") + "") && W(i, n);
4281
+ 64 && n !== (n = /*$_*/
4282
+ a[6]("DepositWageringFetching") + "") && X(i, n);
4283
4283
  },
4284
4284
  d(a) {
4285
4285
  a && S(t);
@@ -4290,12 +4290,12 @@ function Tt(e) {
4290
4290
  let t, r, n;
4291
4291
  return {
4292
4292
  c() {
4293
- t = N(
4293
+ t = D(
4294
4294
  /*depositWageringAmount*/
4295
- e[3]
4296
- ), r = j(), n = N(
4297
- /*depositWageringCurrency*/
4298
4295
  e[4]
4296
+ ), r = V(), n = D(
4297
+ /*depositWageringCurrency*/
4298
+ e[5]
4299
4299
  );
4300
4300
  },
4301
4301
  m(i, a) {
@@ -4303,15 +4303,15 @@ function Tt(e) {
4303
4303
  },
4304
4304
  p(i, a) {
4305
4305
  a & /*depositWageringAmount*/
4306
- 8 && W(
4306
+ 16 && X(
4307
4307
  t,
4308
4308
  /*depositWageringAmount*/
4309
- i[3]
4309
+ i[4]
4310
4310
  ), a & /*depositWageringCurrency*/
4311
- 16 && W(
4311
+ 32 && X(
4312
4312
  n,
4313
4313
  /*depositWageringCurrency*/
4314
- i[4]
4314
+ i[5]
4315
4315
  );
4316
4316
  },
4317
4317
  d(i) {
@@ -4319,27 +4319,39 @@ function Tt(e) {
4319
4319
  }
4320
4320
  };
4321
4321
  }
4322
- function Ci(e) {
4322
+ function Li(e) {
4323
4323
  let t, r = (
4324
- /*$_*/
4325
- e[5](`${/*errorcode*/
4326
- e[1] || "errorGeneralText"}`) + ""
4324
+ /*errormessage*/
4325
+ (e[2].length > 0 ? (
4326
+ /*errormessage*/
4327
+ e[2]
4328
+ ) : (
4329
+ /*$_*/
4330
+ e[6](`${/*errorcode*/
4331
+ e[1] || "errorGeneralText"}`)
4332
+ )) + ""
4327
4333
  ), n, i, a, s = (
4328
4334
  /*errorcode*/
4329
4335
  e[1] == "DepositWageringLimit" && xt(e)
4330
4336
  );
4331
4337
  return {
4332
4338
  c() {
4333
- t = B("span"), n = N(r), i = j(), s && s.c(), a = Je(), O(t, "class", "CashierErrorText");
4339
+ t = B("span"), n = D(r), i = V(), s && s.c(), a = Je(), O(t, "class", "CashierErrorText");
4334
4340
  },
4335
4341
  m(o, u) {
4336
4342
  A(o, t, u), I(t, n), A(o, i, u), s && s.m(o, u), A(o, a, u);
4337
4343
  },
4338
4344
  p(o, u) {
4339
- u & /*$_, errorcode*/
4340
- 34 && r !== (r = /*$_*/
4341
- o[5](`${/*errorcode*/
4342
- o[1] || "errorGeneralText"}`) + "") && W(n, r), /*errorcode*/
4345
+ u & /*errormessage, $_, errorcode*/
4346
+ 70 && r !== (r = /*errormessage*/
4347
+ (o[2].length > 0 ? (
4348
+ /*errormessage*/
4349
+ o[2]
4350
+ ) : (
4351
+ /*$_*/
4352
+ o[6](`${/*errorcode*/
4353
+ o[1] || "errorGeneralText"}`)
4354
+ )) + "") && X(n, r), /*errorcode*/
4343
4355
  o[1] == "DepositWageringLimit" ? s ? s.p(o, u) : (s = xt(o), s.c(), s.m(a.parentNode, a)) : s && (s.d(1), s = null);
4344
4356
  },
4345
4357
  d(o) {
@@ -4347,300 +4359,308 @@ function Ci(e) {
4347
4359
  }
4348
4360
  };
4349
4361
  }
4350
- function Li(e) {
4362
+ function Pi(e) {
4351
4363
  let t, r, n = (
4352
4364
  /*$_*/
4353
- e[5]("errorGeneralButton") + ""
4365
+ e[6]("errorGeneralButton") + ""
4354
4366
  ), i, a, s;
4355
4367
  return {
4356
4368
  c() {
4357
- t = B("button"), r = B("span"), i = N(n), O(t, "class", "CashierErrorButton");
4369
+ t = B("button"), r = B("span"), i = D(n), O(t, "class", "CashierErrorButton");
4358
4370
  },
4359
4371
  m(o, u) {
4360
- A(o, t, u), I(t, r), I(r, i), a || (s = lr(
4372
+ A(o, t, u), I(t, r), I(r, i), a || (s = ur(
4361
4373
  t,
4362
4374
  "click",
4363
4375
  /*close*/
4364
- e[6]
4376
+ e[7]
4365
4377
  ), a = !0);
4366
4378
  },
4367
4379
  p(o, u) {
4368
4380
  u & /*$_*/
4369
- 32 && n !== (n = /*$_*/
4370
- o[5]("errorGeneralButton") + "") && W(i, n);
4381
+ 64 && n !== (n = /*$_*/
4382
+ o[6]("errorGeneralButton") + "") && X(i, n);
4371
4383
  },
4372
4384
  d(o) {
4373
4385
  o && S(t), a = !1, s();
4374
4386
  }
4375
4387
  };
4376
4388
  }
4377
- function Pi(e) {
4389
+ function Oi(e) {
4378
4390
  let t, r, n, i, a, s;
4379
4391
  const o = (
4380
4392
  /*#slots*/
4381
- e[13].icon
4393
+ e[14].icon
4382
4394
  ), u = he(
4383
4395
  o,
4384
4396
  e,
4385
4397
  /*$$scope*/
4386
- e[12],
4398
+ e[13],
4387
4399
  Et
4388
- ), l = u || Ii(e), c = (
4400
+ ), l = u || Bi(e), c = (
4389
4401
  /*#slots*/
4390
- e[13].title
4402
+ e[14].title
4391
4403
  ), h = he(
4392
4404
  c,
4393
4405
  e,
4394
4406
  /*$$scope*/
4395
- e[12],
4407
+ e[13],
4396
4408
  yt
4397
4409
  ), d = (
4398
4410
  /*#slots*/
4399
- e[13].text
4400
- ), g = he(
4411
+ e[14].text
4412
+ ), v = he(
4401
4413
  d,
4402
4414
  e,
4403
4415
  /*$$scope*/
4404
- e[12],
4416
+ e[13],
4405
4417
  vt
4406
- ), p = g || Ci(e), x = (
4418
+ ), m = v || Li(e), x = (
4407
4419
  /*#slots*/
4408
- e[13].button
4420
+ e[14].button
4409
4421
  ), k = he(
4410
4422
  x,
4411
4423
  e,
4412
4424
  /*$$scope*/
4413
- e[12],
4425
+ e[13],
4414
4426
  bt
4415
- ), T = k || Li(e);
4427
+ ), T = k || Pi(e);
4416
4428
  return {
4417
4429
  c() {
4418
- t = B("div"), r = B("div"), l && l.c(), n = j(), h && h.c(), i = j(), p && p.c(), a = j(), T && T.c(), O(r, "class", "CashierErrorContent"), O(t, "class", "CashierError");
4430
+ t = B("div"), r = B("div"), l && l.c(), n = V(), h && h.c(), i = V(), m && m.c(), a = V(), T && T.c(), O(r, "class", "CashierErrorContent"), O(t, "class", "CashierError");
4419
4431
  },
4420
4432
  m(f, y) {
4421
- A(f, t, y), I(t, r), l && l.m(r, null), I(r, n), h && h.m(r, null), I(r, i), p && p.m(r, null), I(r, a), T && T.m(r, null), e[14](t), s = !0;
4433
+ A(f, t, y), I(t, r), l && l.m(r, null), I(r, n), h && h.m(r, null), I(r, i), m && m.m(r, null), I(r, a), T && T.m(r, null), e[15](t), s = !0;
4422
4434
  },
4423
4435
  p(f, [y]) {
4424
4436
  u ? u.p && (!s || y & /*$$scope*/
4425
- 4096) && fe(
4437
+ 8192) && fe(
4426
4438
  u,
4427
4439
  o,
4428
4440
  f,
4429
4441
  /*$$scope*/
4430
- f[12],
4442
+ f[13],
4431
4443
  s ? de(
4432
4444
  o,
4433
4445
  /*$$scope*/
4434
- f[12],
4446
+ f[13],
4435
4447
  y,
4436
- Ai
4448
+ Ii
4437
4449
  ) : me(
4438
4450
  /*$$scope*/
4439
- f[12]
4451
+ f[13]
4440
4452
  ),
4441
4453
  Et
4442
4454
  ) : l && l.p && (!s || y & /*assetsurl*/
4443
4455
  1) && l.p(f, s ? y : -1), h && h.p && (!s || y & /*$$scope*/
4444
- 4096) && fe(
4456
+ 8192) && fe(
4445
4457
  h,
4446
4458
  c,
4447
4459
  f,
4448
4460
  /*$$scope*/
4449
- f[12],
4461
+ f[13],
4450
4462
  s ? de(
4451
4463
  c,
4452
4464
  /*$$scope*/
4453
- f[12],
4465
+ f[13],
4454
4466
  y,
4455
- Si
4467
+ Ai
4456
4468
  ) : me(
4457
4469
  /*$$scope*/
4458
- f[12]
4470
+ f[13]
4459
4471
  ),
4460
4472
  yt
4461
- ), g ? g.p && (!s || y & /*$$scope*/
4462
- 4096) && fe(
4463
- g,
4473
+ ), v ? v.p && (!s || y & /*$$scope*/
4474
+ 8192) && fe(
4475
+ v,
4464
4476
  d,
4465
4477
  f,
4466
4478
  /*$$scope*/
4467
- f[12],
4479
+ f[13],
4468
4480
  s ? de(
4469
4481
  d,
4470
4482
  /*$$scope*/
4471
- f[12],
4483
+ f[13],
4472
4484
  y,
4473
- wi
4485
+ Si
4474
4486
  ) : me(
4475
4487
  /*$$scope*/
4476
- f[12]
4488
+ f[13]
4477
4489
  ),
4478
4490
  vt
4479
- ) : p && p.p && (!s || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
4480
- 58) && p.p(f, s ? y : -1), k ? k.p && (!s || y & /*$$scope*/
4481
- 4096) && fe(
4491
+ ) : m && m.p && (!s || y & /*$_, depositWageringAmount, depositWageringCurrency, errorcode, errormessage*/
4492
+ 118) && m.p(f, s ? y : -1), k ? k.p && (!s || y & /*$$scope*/
4493
+ 8192) && fe(
4482
4494
  k,
4483
4495
  x,
4484
4496
  f,
4485
4497
  /*$$scope*/
4486
- f[12],
4498
+ f[13],
4487
4499
  s ? de(
4488
4500
  x,
4489
4501
  /*$$scope*/
4490
- f[12],
4502
+ f[13],
4491
4503
  y,
4492
- ki
4504
+ wi
4493
4505
  ) : me(
4494
4506
  /*$$scope*/
4495
- f[12]
4507
+ f[13]
4496
4508
  ),
4497
4509
  bt
4498
4510
  ) : T && T.p && (!s || y & /*$_*/
4499
- 32) && T.p(f, s ? y : -1);
4511
+ 64) && T.p(f, s ? y : -1);
4500
4512
  },
4501
4513
  i(f) {
4502
- s || (ee(l, f), ee(h, f), ee(p, f), ee(T, f), s = !0);
4514
+ s || (te(l, f), te(h, f), te(m, f), te(T, f), s = !0);
4503
4515
  },
4504
4516
  o(f) {
4505
- pe(l, f), pe(h, f), pe(p, f), pe(T, f), s = !1;
4517
+ pe(l, f), pe(h, f), pe(m, f), pe(T, f), s = !1;
4506
4518
  },
4507
4519
  d(f) {
4508
- f && S(t), l && l.d(f), h && h.d(f), p && p.d(f), T && T.d(f), e[14](null);
4520
+ f && S(t), l && l.d(f), h && h.d(f), m && m.d(f), T && T.d(f), e[15](null);
4509
4521
  }
4510
4522
  };
4511
4523
  }
4512
- function Oi(e, t, r) {
4524
+ function Mi(e, t, r) {
4513
4525
  let n;
4514
- ir(e, _i, (m) => r(5, n = m));
4515
- let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: h = "" } = t, { mbsource: d = "" } = t, g, p, x = -1, k;
4516
- const T = () => {
4517
- xi(o);
4518
- }, f = async () => {
4519
- if (h)
4526
+ ar(e, xi, (g) => r(6, n = g));
4527
+ let { $$slots: i = {}, $$scope: a } = t, { assetsurl: s = "" } = t, { lang: o = "en" } = t, { errorcode: u = "" } = t, { errormessage: l = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: d = "" } = t, { mbsource: v = "" } = t, m, x, k = -1, T;
4528
+ const f = () => {
4529
+ Ti(o);
4530
+ }, y = async () => {
4531
+ if (d)
4520
4532
  try {
4521
- const m = await fetch(h);
4522
- if (!m.ok)
4523
- throw new Error(`HTTP error! status: ${m.status}`);
4524
- const ue = await m.json();
4525
- Object.entries(ue).forEach(([er, tr]) => {
4526
- gt(er, tr);
4533
+ const g = await fetch(d);
4534
+ if (!g.ok)
4535
+ throw new Error(`HTTP error! status: ${g.status}`);
4536
+ const er = await g.json();
4537
+ Object.entries(er).forEach(([tr, rr]) => {
4538
+ gt(tr, rr);
4527
4539
  });
4528
- } catch (m) {
4529
- console.error(m);
4540
+ } catch (g) {
4541
+ console.error(g);
4530
4542
  }
4531
4543
  };
4532
- Object.keys(pt).forEach((m) => {
4533
- gt(m, pt[m]);
4544
+ Object.keys(pt).forEach((g) => {
4545
+ gt(g, pt[g]);
4534
4546
  });
4535
- const y = () => {
4547
+ const R = () => {
4536
4548
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4537
- }, M = (m) => {
4538
- if (m.data)
4539
- switch (m.data.type) {
4549
+ }, H = (g) => {
4550
+ if (g.data)
4551
+ switch (g.data.type) {
4540
4552
  case "DepositWageringAmount":
4541
- r(3, x = m.data.amount), r(4, k = m.data.currency);
4553
+ r(4, k = g.data.amount), r(5, T = g.data.currency);
4542
4554
  break;
4543
4555
  }
4544
4556
  };
4545
- dr(() => (window.addEventListener("message", M, !1), () => {
4546
- window.removeEventListener("message", M);
4557
+ fr(() => (window.addEventListener("message", H, !1), () => {
4558
+ window.removeEventListener("message", H);
4547
4559
  }));
4548
- function C(m) {
4549
- Ne[m ? "unshift" : "push"](() => {
4550
- g = m, r(2, g);
4560
+ function F(g) {
4561
+ Ne[g ? "unshift" : "push"](() => {
4562
+ m = g, r(3, m);
4551
4563
  });
4552
4564
  }
4553
- return e.$$set = (m) => {
4554
- "assetsurl" in m && r(0, s = m.assetsurl), "lang" in m && r(7, o = m.lang), "errorcode" in m && r(1, u = m.errorcode), "clientstyling" in m && r(8, l = m.clientstyling), "clientstylingurl" in m && r(9, c = m.clientstylingurl), "translationurl" in m && r(10, h = m.translationurl), "mbsource" in m && r(11, d = m.mbsource), "$$scope" in m && r(12, a = m.$$scope);
4565
+ return e.$$set = (g) => {
4566
+ "assetsurl" in g && r(0, s = g.assetsurl), "lang" in g && r(8, o = g.lang), "errorcode" in g && r(1, u = g.errorcode), "errormessage" in g && r(2, l = g.errormessage), "clientstyling" in g && r(9, c = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "translationurl" in g && r(11, d = g.translationurl), "mbsource" in g && r(12, v = g.mbsource), "$$scope" in g && r(13, a = g.$$scope);
4555
4567
  }, e.$$.update = () => {
4556
4568
  e.$$.dirty & /*lang*/
4557
- 128 && o && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4558
- 260 && l && g && wr(g, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4559
- 516 && c && g && Sr(g, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4560
- 2052 && d && g && Ar(g, `${d}.Style`, p), e.$$.dirty & /*translationurl*/
4561
- 1024 && h && f();
4569
+ 256 && o && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4570
+ 520 && c && m && Sr(m, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4571
+ 1032 && h && m && Ar(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
4572
+ 4104 && v && m && Ir(m, `${v}.Style`, x), e.$$.dirty & /*translationurl*/
4573
+ 2048 && d && y();
4562
4574
  }, [
4563
4575
  s,
4564
4576
  u,
4565
- g,
4566
- x,
4577
+ l,
4578
+ m,
4567
4579
  k,
4580
+ T,
4568
4581
  n,
4569
- y,
4582
+ R,
4570
4583
  o,
4571
- l,
4572
4584
  c,
4573
4585
  h,
4574
4586
  d,
4587
+ v,
4575
4588
  a,
4576
4589
  i,
4577
- C
4590
+ F
4578
4591
  ];
4579
4592
  }
4580
- class Mi extends Tr {
4593
+ class Di extends kr {
4581
4594
  constructor(t) {
4582
- super(), _r(
4595
+ super(), xr(
4583
4596
  this,
4584
4597
  t,
4598
+ Mi,
4585
4599
  Oi,
4586
- Pi,
4587
4600
  wt,
4588
4601
  {
4589
4602
  assetsurl: 0,
4590
- lang: 7,
4603
+ lang: 8,
4591
4604
  errorcode: 1,
4592
- clientstyling: 8,
4593
- clientstylingurl: 9,
4594
- translationurl: 10,
4595
- mbsource: 11
4605
+ errormessage: 2,
4606
+ clientstyling: 9,
4607
+ clientstylingurl: 10,
4608
+ translationurl: 11,
4609
+ mbsource: 12
4596
4610
  },
4597
- Ti
4611
+ ki
4598
4612
  );
4599
4613
  }
4600
4614
  get assetsurl() {
4601
4615
  return this.$$.ctx[0];
4602
4616
  }
4603
4617
  set assetsurl(t) {
4604
- this.$$set({ assetsurl: t }), L();
4618
+ this.$$set({ assetsurl: t }), C();
4605
4619
  }
4606
4620
  get lang() {
4607
- return this.$$.ctx[7];
4621
+ return this.$$.ctx[8];
4608
4622
  }
4609
4623
  set lang(t) {
4610
- this.$$set({ lang: t }), L();
4624
+ this.$$set({ lang: t }), C();
4611
4625
  }
4612
4626
  get errorcode() {
4613
4627
  return this.$$.ctx[1];
4614
4628
  }
4615
4629
  set errorcode(t) {
4616
- this.$$set({ errorcode: t }), L();
4630
+ this.$$set({ errorcode: t }), C();
4631
+ }
4632
+ get errormessage() {
4633
+ return this.$$.ctx[2];
4634
+ }
4635
+ set errormessage(t) {
4636
+ this.$$set({ errormessage: t }), C();
4617
4637
  }
4618
4638
  get clientstyling() {
4619
- return this.$$.ctx[8];
4639
+ return this.$$.ctx[9];
4620
4640
  }
4621
4641
  set clientstyling(t) {
4622
- this.$$set({ clientstyling: t }), L();
4642
+ this.$$set({ clientstyling: t }), C();
4623
4643
  }
4624
4644
  get clientstylingurl() {
4625
- return this.$$.ctx[9];
4645
+ return this.$$.ctx[10];
4626
4646
  }
4627
4647
  set clientstylingurl(t) {
4628
- this.$$set({ clientstylingurl: t }), L();
4648
+ this.$$set({ clientstylingurl: t }), C();
4629
4649
  }
4630
4650
  get translationurl() {
4631
- return this.$$.ctx[10];
4651
+ return this.$$.ctx[11];
4632
4652
  }
4633
4653
  set translationurl(t) {
4634
- this.$$set({ translationurl: t }), L();
4654
+ this.$$set({ translationurl: t }), C();
4635
4655
  }
4636
4656
  get mbsource() {
4637
- return this.$$.ctx[11];
4657
+ return this.$$.ctx[12];
4638
4658
  }
4639
4659
  set mbsource(t) {
4640
- this.$$set({ mbsource: t }), L();
4660
+ this.$$set({ mbsource: t }), C();
4641
4661
  }
4642
4662
  }
4643
- xr(Mi, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4663
+ Tr(Di, { assetsurl: {}, lang: {}, errorcode: {}, errormessage: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4644
4664
  export {
4645
- Mi as C
4665
+ Di as C
4646
4666
  };