@everymatrix/general-player-register-form-step3-nd 1.86.1 → 1.86.3

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.
@@ -6,18 +6,18 @@ function hn(e) {
6
6
  function Hr() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function mt(e) {
9
+ function dt(e) {
10
10
  e.forEach(hn);
11
11
  }
12
- function xr(e) {
12
+ function vr(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function fn(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let jt;
18
+ let Gt;
19
19
  function Br(e, t) {
20
- return e === t ? !0 : (jt || (jt = document.createElement("a")), jt.href = t, e === jt.href);
20
+ return e === t ? !0 : (Gt || (Gt = document.createElement("a")), Gt.href = t, e === Gt.href);
21
21
  }
22
22
  function Fn(e) {
23
23
  return Object.keys(e).length === 0;
@@ -61,32 +61,32 @@ function zn(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function L(e, t, r) {
64
+ function R(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function k(e) {
67
+ function I(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function nr(e, t) {
70
+ function tr(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function b(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function zt(e) {
77
+ function jt(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function O(e) {
80
+ function M(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function S() {
84
- return O(" ");
83
+ function T() {
84
+ return M(" ");
85
85
  }
86
- function Ar() {
87
- return O("");
86
+ function Cr() {
87
+ return M("");
88
88
  }
89
- function N(e, t, r, n) {
89
+ function k(e, t, r, n) {
90
90
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
91
  }
92
92
  function p(e, t, r) {
@@ -102,7 +102,7 @@ function F(e, t) {
102
102
  function le(e, t) {
103
103
  e.value = t ?? "";
104
104
  }
105
- function nt(e, t, r) {
105
+ function rt(e, t, r) {
106
106
  for (let n = 0; n < e.options.length; n += 1) {
107
107
  const i = e.options[n];
108
108
  if (i.__value === t) {
@@ -112,7 +112,7 @@ function nt(e, t, r) {
112
112
  }
113
113
  (!r || t !== void 0) && (e.selectedIndex = -1);
114
114
  }
115
- function ir(e) {
115
+ function rr(e) {
116
116
  const t = e.querySelector(":checked");
117
117
  return t && t.__value;
118
118
  }
@@ -126,7 +126,7 @@ function Xn(e) {
126
126
  ), t;
127
127
  }
128
128
  let Tt;
129
- function St(e) {
129
+ function wt(e) {
130
130
  Tt = e;
131
131
  }
132
132
  function Wn() {
@@ -137,78 +137,78 @@ function Wn() {
137
137
  function qn(e) {
138
138
  Wn().$$.on_mount.push(e);
139
139
  }
140
- const at = [], fr = [];
141
- let lt = [];
140
+ const ot = [], cr = [];
141
+ let at = [];
142
142
  const Pr = [], Zn = /* @__PURE__ */ Promise.resolve();
143
- let dr = !1;
143
+ let hr = !1;
144
144
  function $n() {
145
- dr || (dr = !0, Zn.then(Y));
145
+ hr || (hr = !0, Zn.then(Y));
146
146
  }
147
- function ut(e) {
148
- lt.push(e);
147
+ function lt(e) {
148
+ at.push(e);
149
149
  }
150
- const sr = /* @__PURE__ */ new Set();
151
- let it = 0;
150
+ const nr = /* @__PURE__ */ new Set();
151
+ let nt = 0;
152
152
  function Y() {
153
- if (it !== 0)
153
+ if (nt !== 0)
154
154
  return;
155
155
  const e = Tt;
156
156
  do {
157
157
  try {
158
- for (; it < at.length; ) {
159
- const t = at[it];
160
- it++, St(t), Qn(t.$$);
158
+ for (; nt < ot.length; ) {
159
+ const t = ot[nt];
160
+ nt++, wt(t), Qn(t.$$);
161
161
  }
162
162
  } catch (t) {
163
- throw at.length = 0, it = 0, t;
163
+ throw ot.length = 0, nt = 0, t;
164
164
  }
165
- for (St(null), at.length = 0, it = 0; fr.length; )
166
- fr.pop()();
167
- for (let t = 0; t < lt.length; t += 1) {
168
- const r = lt[t];
169
- sr.has(r) || (sr.add(r), r());
165
+ for (wt(null), ot.length = 0, nt = 0; cr.length; )
166
+ cr.pop()();
167
+ for (let t = 0; t < at.length; t += 1) {
168
+ const r = at[t];
169
+ nr.has(r) || (nr.add(r), r());
170
170
  }
171
- lt.length = 0;
172
- } while (at.length);
171
+ at.length = 0;
172
+ } while (ot.length);
173
173
  for (; Pr.length; )
174
174
  Pr.pop()();
175
- dr = !1, sr.clear(), St(e);
175
+ hr = !1, nr.clear(), wt(e);
176
176
  }
177
177
  function Qn(e) {
178
178
  if (e.fragment !== null) {
179
- e.update(), mt(e.before_update);
179
+ e.update(), dt(e.before_update);
180
180
  const t = e.dirty;
181
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
181
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
182
182
  }
183
183
  }
184
184
  function Jn(e) {
185
185
  const t = [], r = [];
186
- lt.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), lt = t;
186
+ at.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), at = t;
187
187
  }
188
188
  const Yn = /* @__PURE__ */ new Set();
189
189
  function Kn(e, t) {
190
190
  e && e.i && (Yn.delete(e), e.i(t));
191
191
  }
192
- function st(e) {
192
+ function it(e) {
193
193
  return e?.length !== void 0 ? e : Array.from(e);
194
194
  }
195
195
  function ei(e, t, r) {
196
196
  const { fragment: n, after_update: i } = e.$$;
197
- n && n.m(t, r), ut(() => {
198
- const s = e.$$.on_mount.map(hn).filter(xr);
199
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : mt(s), e.$$.on_mount = [];
200
- }), i.forEach(ut);
197
+ n && n.m(t, r), lt(() => {
198
+ const s = e.$$.on_mount.map(hn).filter(vr);
199
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : dt(s), e.$$.on_mount = [];
200
+ }), i.forEach(lt);
201
201
  }
202
202
  function ti(e, t) {
203
203
  const r = e.$$;
204
- r.fragment !== null && (Jn(r.after_update), mt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
204
+ r.fragment !== null && (Jn(r.after_update), dt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
205
  }
206
206
  function ri(e, t) {
207
- e.$$.dirty[0] === -1 && (at.push(e), $n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ e.$$.dirty[0] === -1 && (ot.push(e), $n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
208
  }
209
209
  function ni(e, t, r, n, i, s, o = null, l = [-1]) {
210
210
  const f = Tt;
211
- St(e);
211
+ wt(e);
212
212
  const u = e.$$ = {
213
213
  fragment: null,
214
214
  ctx: [],
@@ -235,15 +235,15 @@ function ni(e, t, r, n, i, s, o = null, l = [-1]) {
235
235
  if (u.ctx = r ? r(e, t.props || {}, (d, m, ...v) => {
236
236
  const _ = v.length ? v[0] : m;
237
237
  return u.ctx && i(u.ctx[d], u.ctx[d] = _) && (!u.skip_bound && u.bound[d] && u.bound[d](_), c && ri(e, d)), m;
238
- }) : [], u.update(), c = !0, mt(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
238
+ }) : [], u.update(), c = !0, dt(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
239
239
  if (t.hydrate) {
240
240
  const d = Vn(t.target);
241
- u.fragment && u.fragment.l(d), d.forEach(k);
241
+ u.fragment && u.fragment.l(d), d.forEach(I);
242
242
  } else
243
243
  u.fragment && u.fragment.c();
244
244
  t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), Y();
245
245
  }
246
- St(f);
246
+ wt(f);
247
247
  }
248
248
  let mn;
249
249
  typeof HTMLElement == "function" && (mn = class extends HTMLElement {
@@ -295,10 +295,10 @@ typeof HTMLElement == "function" && (mn = class extends HTMLElement {
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(f, u) {
298
- L(f, s, u);
298
+ R(f, s, u);
299
299
  },
300
300
  d: function(f) {
301
- f && k(s);
301
+ f && I(s);
302
302
  }
303
303
  };
304
304
  };
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (mn = class extends HTMLElement {
310
310
  i in r && (t[i] = [e(i)]);
311
311
  for (const i of this.attributes) {
312
312
  const s = this.$$g_p(i.name);
313
- s in this.$$d || (this.$$d[s] = Xt(s, i.value, this.$$p_d, "toProp"));
313
+ s in this.$$d || (this.$$d[s] = Vt(s, i.value, this.$$p_d, "toProp"));
314
314
  }
315
315
  for (const i in this.$$p_d)
316
316
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (mn = class extends HTMLElement {
328
328
  this.$$r = !0;
329
329
  for (const i in this.$$p_d)
330
330
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
331
- const s = Xt(
331
+ const s = Vt(
332
332
  i,
333
333
  this.$$d[i],
334
334
  this.$$p_d,
@@ -350,7 +350,7 @@ typeof HTMLElement == "function" && (mn = class extends HTMLElement {
350
350
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
351
351
  // and setting attributes through setAttribute etc, this is helpful
352
352
  attributeChangedCallback(e, t, r) {
353
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Xt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
353
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Vt(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
354
354
  }
355
355
  disconnectedCallback() {
356
356
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (mn = class extends HTMLElement {
363
363
  ) || e;
364
364
  }
365
365
  });
366
- function Xt(e, t, r, n) {
366
+ function Vt(e, t, r, n) {
367
367
  const i = r[e]?.type;
368
368
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
369
369
  return t;
@@ -409,7 +409,7 @@ function ii(e, t, r, n, i, s) {
409
409
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
410
410
  },
411
411
  set(f) {
412
- f = Xt(l, f, t), this.$$d[l] = f, this.$$c?.$set({ [l]: f });
412
+ f = Vt(l, f, t), this.$$d[l] = f, this.$$c?.$set({ [l]: f });
413
413
  }
414
414
  });
415
415
  }), n.forEach((l) => {
@@ -449,7 +449,7 @@ class si {
449
449
  * @returns {() => void}
450
450
  */
451
451
  $on(t, r) {
452
- if (!xr(r))
452
+ if (!vr(r))
453
453
  return _e;
454
454
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
455
  return n.push(r), () => {
@@ -467,24 +467,24 @@ class si {
467
467
  }
468
468
  const oi = "4";
469
469
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oi);
470
- const ot = [];
470
+ const st = [];
471
471
  function ai(e, t) {
472
472
  return {
473
- subscribe: Jt(e, t).subscribe
473
+ subscribe: $t(e, t).subscribe
474
474
  };
475
475
  }
476
- function Jt(e, t = _e) {
476
+ function $t(e, t = _e) {
477
477
  let r;
478
478
  const n = /* @__PURE__ */ new Set();
479
479
  function i(l) {
480
480
  if (fn(e, l) && (e = l, r)) {
481
- const f = !ot.length;
481
+ const f = !st.length;
482
482
  for (const u of n)
483
- u[1](), ot.push(u, e);
483
+ u[1](), st.push(u, e);
484
484
  if (f) {
485
- for (let u = 0; u < ot.length; u += 2)
486
- ot[u][0](ot[u + 1]);
487
- ot.length = 0;
485
+ for (let u = 0; u < st.length; u += 2)
486
+ st[u][0](st[u + 1]);
487
+ st.length = 0;
488
488
  }
489
489
  }
490
490
  }
@@ -499,7 +499,7 @@ function Jt(e, t = _e) {
499
499
  }
500
500
  return { set: i, update: s, subscribe: o };
501
501
  }
502
- function pt(e, t, r) {
502
+ function mt(e, t, r) {
503
503
  const n = !Array.isArray(e), i = n ? [e] : e;
504
504
  if (!i.every(Boolean))
505
505
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -513,12 +513,12 @@ function pt(e, t, r) {
513
513
  return;
514
514
  d();
515
515
  const _ = t(n ? u[0] : u, o, l);
516
- s ? o(_) : d = xr(_) ? _ : _e;
516
+ s ? o(_) : d = vr(_) ? _ : _e;
517
517
  }, v = i.map(
518
518
  (_, C) => dn(
519
519
  _,
520
- (P) => {
521
- u[C] = P, c &= ~(1 << C), f && m();
520
+ (O) => {
521
+ u[C] = O, c &= ~(1 << C), f && m();
522
522
  },
523
523
  () => {
524
524
  c |= 1 << C;
@@ -526,7 +526,7 @@ function pt(e, t, r) {
526
526
  )
527
527
  );
528
528
  return f = !0, m(), function() {
529
- mt(v), d(), f = !1;
529
+ dt(v), d(), f = !1;
530
530
  };
531
531
  });
532
532
  }
@@ -550,19 +550,19 @@ function mi(e) {
550
550
  function pi(e) {
551
551
  return Array.isArray(e) ? [] : {};
552
552
  }
553
- function Ht(e, t) {
554
- return t.clone !== !1 && t.isMergeableObject(e) ? ct(pi(e), e, t) : e;
553
+ function St(e, t) {
554
+ return t.clone !== !1 && t.isMergeableObject(e) ? ut(pi(e), e, t) : e;
555
555
  }
556
556
  function gi(e, t, r) {
557
557
  return e.concat(t).map(function(n) {
558
- return Ht(n, r);
558
+ return St(n, r);
559
559
  });
560
560
  }
561
561
  function bi(e, t) {
562
562
  if (!t.customMerge)
563
- return ct;
563
+ return ut;
564
564
  var r = t.customMerge(e);
565
- return typeof r == "function" ? r : ct;
565
+ return typeof r == "function" ? r : ut;
566
566
  }
567
567
  function yi(e) {
568
568
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -585,51 +585,65 @@ function _i(e, t) {
585
585
  function Ei(e, t, r) {
586
586
  var n = {};
587
587
  return r.isMergeableObject(e) && Or(e).forEach(function(i) {
588
- n[i] = Ht(e[i], r);
588
+ n[i] = St(e[i], r);
589
589
  }), Or(t).forEach(function(i) {
590
- _i(e, i) || (pn(e, i) && r.isMergeableObject(t[i]) ? n[i] = bi(i, r)(e[i], t[i], r) : n[i] = Ht(t[i], r));
590
+ _i(e, i) || (pn(e, i) && r.isMergeableObject(t[i]) ? n[i] = bi(i, r)(e[i], t[i], r) : n[i] = St(t[i], r));
591
591
  }), n;
592
592
  }
593
- function ct(e, t, r) {
594
- r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || ui, r.cloneUnlessOtherwiseSpecified = Ht;
593
+ function ut(e, t, r) {
594
+ r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || ui, r.cloneUnlessOtherwiseSpecified = St;
595
595
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
596
- return s ? n ? r.arrayMerge(e, t, r) : Ei(e, t, r) : Ht(t, r);
596
+ return s ? n ? r.arrayMerge(e, t, r) : Ei(e, t, r) : St(t, r);
597
597
  }
598
- ct.all = function(t, r) {
598
+ ut.all = function(t, r) {
599
599
  if (!Array.isArray(t))
600
600
  throw new Error("first argument should be an array");
601
601
  return t.reduce(function(n, i) {
602
- return ct(n, i, r);
602
+ return ut(n, i, r);
603
603
  }, {});
604
604
  };
605
- var vi = ct, Ci = vi;
605
+ var vi = ut, Ci = vi;
606
606
  const xi = /* @__PURE__ */ li(Ci);
607
- var mr = function(e, t) {
608
- return mr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
607
+ /*! *****************************************************************************
608
+ Copyright (c) Microsoft Corporation.
609
+
610
+ Permission to use, copy, modify, and/or distribute this software for any
611
+ purpose with or without fee is hereby granted.
612
+
613
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
614
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
615
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
616
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
617
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
618
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
619
+ PERFORMANCE OF THIS SOFTWARE.
620
+ ***************************************************************************** */
621
+ var fr = function(e, t) {
622
+ return fr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
609
623
  r.__proto__ = n;
610
624
  } || function(r, n) {
611
625
  for (var i in n)
612
626
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
613
- }, mr(e, t);
627
+ }, fr(e, t);
614
628
  };
615
- function Yt(e, t) {
629
+ function Qt(e, t) {
616
630
  if (typeof t != "function" && t !== null)
617
631
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
618
- mr(e, t);
632
+ fr(e, t);
619
633
  function r() {
620
634
  this.constructor = e;
621
635
  }
622
636
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
623
637
  }
624
- var Ce = function() {
625
- return Ce = Object.assign || function(t) {
638
+ var P = function() {
639
+ return P = Object.assign || function(t) {
626
640
  for (var r, n = 1, i = arguments.length; n < i; n++) {
627
641
  r = arguments[n];
628
642
  for (var s in r)
629
643
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
630
644
  }
631
645
  return t;
632
- }, Ce.apply(this, arguments);
646
+ }, P.apply(this, arguments);
633
647
  };
634
648
  function Ai(e, t) {
635
649
  var r = {};
@@ -640,14 +654,14 @@ function Ai(e, t) {
640
654
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
641
655
  return r;
642
656
  }
643
- function or(e, t, r) {
644
- if (r || arguments.length === 2)
657
+ function ir(e, t, r) {
658
+ if (arguments.length === 2)
645
659
  for (var n = 0, i = t.length, s; n < i; n++)
646
660
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
647
- return e.concat(s || Array.prototype.slice.call(t));
661
+ return e.concat(s || t);
648
662
  }
649
- function ar(e, t) {
650
- var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Ti;
663
+ function sr(e, t) {
664
+ var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Ti;
651
665
  return i(e, {
652
666
  cache: r,
653
667
  serializer: n
@@ -656,103 +670,95 @@ function ar(e, t) {
656
670
  function wi(e) {
657
671
  return e == null || typeof e == "number" || typeof e == "boolean";
658
672
  }
659
- function Si(e, t, r, n) {
673
+ function gn(e, t, r, n) {
660
674
  var i = wi(n) ? n : r(n), s = t.get(i);
661
675
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
662
676
  }
663
- function gn(e, t, r) {
677
+ function bn(e, t, r) {
664
678
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
665
679
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
666
680
  }
667
- function bn(e, t, r, n, i) {
681
+ function xr(e, t, r, n, i) {
668
682
  return r.bind(t, e, n, i);
669
683
  }
670
684
  function Ti(e, t) {
671
- var r = e.length === 1 ? Si : gn;
672
- return bn(e, this, r, t.cache.create(), t.serializer);
685
+ var r = e.length === 1 ? gn : bn;
686
+ return xr(e, this, r, t.cache.create(), t.serializer);
687
+ }
688
+ function Si(e, t) {
689
+ return xr(e, this, bn, t.cache.create(), t.serializer);
673
690
  }
674
691
  function Hi(e, t) {
675
- return bn(e, this, gn, t.cache.create(), t.serializer);
692
+ return xr(e, this, gn, t.cache.create(), t.serializer);
676
693
  }
677
694
  var Bi = function() {
678
695
  return JSON.stringify(arguments);
679
- }, Pi = (
680
- /** @class */
681
- function() {
682
- function e() {
683
- this.cache = /* @__PURE__ */ Object.create(null);
684
- }
685
- return e.prototype.get = function(t) {
686
- return this.cache[t];
687
- }, e.prototype.set = function(t, r) {
688
- this.cache[t] = r;
689
- }, e;
690
- }()
691
- ), Oi = {
696
+ };
697
+ function Ar() {
698
+ this.cache = /* @__PURE__ */ Object.create(null);
699
+ }
700
+ Ar.prototype.get = function(e) {
701
+ return this.cache[e];
702
+ };
703
+ Ar.prototype.set = function(e, t) {
704
+ this.cache[e] = t;
705
+ };
706
+ var Pi = {
692
707
  create: function() {
693
- return new Pi();
708
+ return new Ar();
694
709
  }
695
- }, lr = {
696
- variadic: Hi
697
- }, Zt = function() {
698
- return Zt = Object.assign || function(t) {
699
- for (var r, n = 1, i = arguments.length; n < i; n++) {
700
- r = arguments[n];
701
- for (var s in r)
702
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
703
- }
704
- return t;
705
- }, Zt.apply(this, arguments);
706
- };
707
- var w;
710
+ }, or = {
711
+ variadic: Si,
712
+ monadic: Hi
713
+ }, w;
708
714
  (function(e) {
709
715
  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";
710
716
  })(w || (w = {}));
711
- var I;
717
+ var L;
712
718
  (function(e) {
713
719
  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";
714
- })(I || (I = {}));
715
- var ht;
720
+ })(L || (L = {}));
721
+ var ct;
716
722
  (function(e) {
717
723
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
718
- })(ht || (ht = {}));
724
+ })(ct || (ct = {}));
719
725
  function Mr(e) {
720
- return e.type === I.literal;
726
+ return e.type === L.literal;
721
727
  }
722
- function Mi(e) {
723
- return e.type === I.argument;
728
+ function Oi(e) {
729
+ return e.type === L.argument;
724
730
  }
725
731
  function yn(e) {
726
- return e.type === I.number;
732
+ return e.type === L.number;
727
733
  }
728
734
  function _n(e) {
729
- return e.type === I.date;
735
+ return e.type === L.date;
730
736
  }
731
737
  function En(e) {
732
- return e.type === I.time;
738
+ return e.type === L.time;
733
739
  }
734
740
  function vn(e) {
735
- return e.type === I.select;
741
+ return e.type === L.select;
736
742
  }
737
743
  function Cn(e) {
738
- return e.type === I.plural;
744
+ return e.type === L.plural;
739
745
  }
740
- function Ni(e) {
741
- return e.type === I.pound;
746
+ function Mi(e) {
747
+ return e.type === L.pound;
742
748
  }
743
749
  function xn(e) {
744
- return e.type === I.tag;
750
+ return e.type === L.tag;
745
751
  }
746
752
  function An(e) {
747
- return !!(e && typeof e == "object" && e.type === ht.number);
753
+ return !!(e && typeof e == "object" && e.type === ct.number);
748
754
  }
749
- function pr(e) {
750
- return !!(e && typeof e == "object" && e.type === ht.dateTime);
755
+ function dr(e) {
756
+ return !!(e && typeof e == "object" && e.type === ct.dateTime);
751
757
  }
752
- var wn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
753
- function Ii(e) {
758
+ var wn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ni = /(?:[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;
759
+ function ki(e) {
754
760
  var t = {};
755
- return e.replace(ki, function(r) {
761
+ return e.replace(Ni, function(r) {
756
762
  var n = r.length;
757
763
  switch (r[0]) {
758
764
  case "G":
@@ -841,21 +847,11 @@ function Ii(e) {
841
847
  return "";
842
848
  }), t;
843
849
  }
844
- var R = function() {
845
- return R = Object.assign || function(t) {
846
- for (var r, n = 1, i = arguments.length; n < i; n++) {
847
- r = arguments[n];
848
- for (var s in r)
849
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
850
- }
851
- return t;
852
- }, R.apply(this, arguments);
853
- };
854
- var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
855
- function Ri(e) {
850
+ var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
851
+ function Li(e) {
856
852
  if (e.length === 0)
857
853
  throw new Error("Number skeleton cannot be empty");
858
- for (var t = e.split(Li).filter(function(m) {
854
+ for (var t = e.split(Ii).filter(function(m) {
859
855
  return m.length > 0;
860
856
  }), r = [], n = 0, i = t; n < i.length; n++) {
861
857
  var s = i[n], o = s.split("/");
@@ -870,13 +866,13 @@ function Ri(e) {
870
866
  }
871
867
  return r;
872
868
  }
873
- function Ui(e) {
869
+ function Ri(e) {
874
870
  return e.replace(/^(.*?)-/, "");
875
871
  }
876
- var Nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Sn = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, Tn = /^(0+)$/;
872
+ var Nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tn = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, Sn = /^(0+)$/;
877
873
  function kr(e) {
878
874
  var t = {};
879
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Sn, function(r, n, i) {
875
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tn, function(r, n, i) {
880
876
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
881
877
  }), t;
882
878
  }
@@ -920,7 +916,7 @@ function Hn(e) {
920
916
  };
921
917
  }
922
918
  }
923
- function Di(e) {
919
+ function Fi(e) {
924
920
  var t;
925
921
  if (e[0] === "E" && e[1] === "E" ? (t = {
926
922
  notation: "engineering"
@@ -928,7 +924,7 @@ function Di(e) {
928
924
  notation: "scientific"
929
925
  }, e = e.slice(1)), t) {
930
926
  var r = e.slice(0, 2);
931
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tn.test(e))
927
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Sn.test(e))
932
928
  throw new Error("Malformed concise eng/scientific notation");
933
929
  t.minimumIntegerDigits = e.length;
934
930
  }
@@ -938,7 +934,7 @@ function Ir(e) {
938
934
  var t = {}, r = Hn(e);
939
935
  return r || t;
940
936
  }
941
- function Gi(e) {
937
+ function Di(e) {
942
938
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
943
939
  var i = n[r];
944
940
  switch (i.stem) {
@@ -962,7 +958,7 @@ function Gi(e) {
962
958
  continue;
963
959
  case "measure-unit":
964
960
  case "unit":
965
- t.style = "unit", t.unit = Ui(i.options[0]);
961
+ t.style = "unit", t.unit = Ri(i.options[0]);
966
962
  continue;
967
963
  case "compact-short":
968
964
  case "K":
@@ -973,13 +969,13 @@ function Gi(e) {
973
969
  t.notation = "compact", t.compactDisplay = "long";
974
970
  continue;
975
971
  case "scientific":
976
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(f, u) {
977
- return R(R({}, f), Ir(u));
972
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(f, u) {
973
+ return P(P({}, f), Ir(u));
978
974
  }, {}));
979
975
  continue;
980
976
  case "engineering":
981
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(f, u) {
982
- return R(R({}, f), Ir(u));
977
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(f, u) {
978
+ return P(P({}, f), Ir(u));
983
979
  }, {}));
984
980
  continue;
985
981
  case "notation-simple":
@@ -1024,7 +1020,7 @@ function Gi(e) {
1024
1020
  case "integer-width":
1025
1021
  if (i.options.length > 1)
1026
1022
  throw new RangeError("integer-width stems only accept a single optional option");
1027
- i.options[0].replace(Fi, function(f, u, c, d, m, v) {
1023
+ i.options[0].replace(Ui, function(f, u, c, d, m, v) {
1028
1024
  if (u)
1029
1025
  t.minimumIntegerDigits = c.length;
1030
1026
  else {
@@ -1037,7 +1033,7 @@ function Gi(e) {
1037
1033
  });
1038
1034
  continue;
1039
1035
  }
1040
- if (Tn.test(i.stem)) {
1036
+ if (Sn.test(i.stem)) {
1041
1037
  t.minimumIntegerDigits = i.stem.length;
1042
1038
  continue;
1043
1039
  }
@@ -1048,21 +1044,21 @@ function Gi(e) {
1048
1044
  return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1049
1045
  });
1050
1046
  var s = i.options[0];
1051
- s === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = R(R({}, t), kr(s)));
1047
+ s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), kr(s)));
1052
1048
  continue;
1053
1049
  }
1054
- if (Sn.test(i.stem)) {
1055
- t = R(R({}, t), kr(i.stem));
1050
+ if (Tn.test(i.stem)) {
1051
+ t = P(P({}, t), kr(i.stem));
1056
1052
  continue;
1057
1053
  }
1058
1054
  var o = Hn(i.stem);
1059
- o && (t = R(R({}, t), o));
1060
- var l = Di(i.stem);
1061
- l && (t = R(R({}, t), l));
1055
+ o && (t = P(P({}, t), o));
1056
+ var l = Fi(i.stem);
1057
+ l && (t = P(P({}, t), l));
1062
1058
  }
1063
1059
  return t;
1064
1060
  }
1065
- var Vt = {
1061
+ var zt = {
1066
1062
  "001": [
1067
1063
  "H",
1068
1064
  "h"
@@ -2477,13 +2473,13 @@ var Vt = {
2477
2473
  "h"
2478
2474
  ]
2479
2475
  };
2480
- function ji(e, t) {
2476
+ function Gi(e, t) {
2481
2477
  for (var r = "", n = 0; n < e.length; n++) {
2482
2478
  var i = e.charAt(n);
2483
2479
  if (i === "j") {
2484
2480
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2485
2481
  s++, n++;
2486
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), f = "a", u = zi(t);
2482
+ var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), f = "a", u = ji(t);
2487
2483
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2488
2484
  r += f;
2489
2485
  for (; o-- > 0; )
@@ -2493,7 +2489,7 @@ function ji(e, t) {
2493
2489
  }
2494
2490
  return r;
2495
2491
  }
2496
- function zi(e) {
2492
+ function ji(e) {
2497
2493
  var t = e.hourCycle;
2498
2494
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2499
2495
  e.hourCycles && // @ts-ignore
@@ -2512,23 +2508,23 @@ function zi(e) {
2512
2508
  }
2513
2509
  var r = e.language, n;
2514
2510
  r !== "root" && (n = e.maximize().region);
2515
- var i = Vt[n || ""] || Vt[r || ""] || Vt["".concat(r, "-001")] || Vt["001"];
2511
+ var i = zt[n || ""] || zt[r || ""] || zt["".concat(r, "-001")] || zt["001"];
2516
2512
  return i[0];
2517
2513
  }
2518
- var ur, Vi = new RegExp("^".concat(wn.source, "*")), Xi = new RegExp("".concat(wn.source, "*$"));
2514
+ var ar, zi = new RegExp("^".concat(wn.source, "*")), Vi = new RegExp("".concat(wn.source, "*$"));
2519
2515
  function H(e, t) {
2520
2516
  return { start: e, end: t };
2521
2517
  }
2522
- var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Zi = !!Object.fromEntries, $i = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Yi = !!Number.isSafeInteger, Ki = Yi ? Number.isSafeInteger : function(e) {
2518
+ var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, qi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, $i = !!String.prototype.trimStart, Qi = !!String.prototype.trimEnd, Ji = !!Number.isSafeInteger, Yi = Ji ? Number.isSafeInteger : function(e) {
2523
2519
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2524
- }, gr = !0;
2520
+ }, mr = !0;
2525
2521
  try {
2526
- var es = Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2527
- gr = ((ur = es.exec("a")) === null || ur === void 0 ? void 0 : ur[0]) === "a";
2522
+ var Ki = Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2523
+ mr = ((ar = Ki.exec("a")) === null || ar === void 0 ? void 0 : ar[0]) === "a";
2528
2524
  } catch {
2529
- gr = !1;
2525
+ mr = !1;
2530
2526
  }
2531
- var Lr = Wi ? (
2527
+ var Lr = Xi ? (
2532
2528
  // Native
2533
2529
  function(t, r, n) {
2534
2530
  return t.startsWith(r, n);
@@ -2538,7 +2534,7 @@ var Lr = Wi ? (
2538
2534
  function(t, r, n) {
2539
2535
  return t.slice(n, n + r.length) === r;
2540
2536
  }
2541
- ), br = qi ? String.fromCodePoint : (
2537
+ ), pr = Wi ? String.fromCodePoint : (
2542
2538
  // IE11
2543
2539
  function() {
2544
2540
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2552,7 +2548,7 @@ var Lr = Wi ? (
2552
2548
  }
2553
2549
  ), Rr = (
2554
2550
  // native
2555
- Zi ? Object.fromEntries : (
2551
+ qi ? Object.fromEntries : (
2556
2552
  // Ponyfill
2557
2553
  function(t) {
2558
2554
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2562,7 +2558,7 @@ var Lr = Wi ? (
2562
2558
  return r;
2563
2559
  }
2564
2560
  )
2565
- ), Bn = $i ? (
2561
+ ), Bn = Zi ? (
2566
2562
  // Native
2567
2563
  function(t, r) {
2568
2564
  return t.codePointAt(r);
@@ -2576,7 +2572,7 @@ var Lr = Wi ? (
2576
2572
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2577
2573
  }
2578
2574
  }
2579
- ), ts = Qi ? (
2575
+ ), es = $i ? (
2580
2576
  // Native
2581
2577
  function(t) {
2582
2578
  return t.trimStart();
@@ -2584,9 +2580,9 @@ var Lr = Wi ? (
2584
2580
  ) : (
2585
2581
  // Ponyfill
2586
2582
  function(t) {
2587
- return t.replace(Vi, "");
2583
+ return t.replace(zi, "");
2588
2584
  }
2589
- ), rs = Ji ? (
2585
+ ), ts = Qi ? (
2590
2586
  // Native
2591
2587
  function(t) {
2592
2588
  return t.trimEnd();
@@ -2594,32 +2590,32 @@ var Lr = Wi ? (
2594
2590
  ) : (
2595
2591
  // Ponyfill
2596
2592
  function(t) {
2597
- return t.replace(Xi, "");
2593
+ return t.replace(Vi, "");
2598
2594
  }
2599
2595
  );
2600
2596
  function Pn(e, t) {
2601
2597
  return new RegExp(e, t);
2602
2598
  }
2603
- var yr;
2604
- if (gr) {
2599
+ var gr;
2600
+ if (mr) {
2605
2601
  var Ur = Pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2606
- yr = function(t, r) {
2602
+ gr = function(t, r) {
2607
2603
  var n;
2608
2604
  Ur.lastIndex = r;
2609
2605
  var i = Ur.exec(t);
2610
2606
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2611
2607
  };
2612
2608
  } else
2613
- yr = function(t, r) {
2609
+ gr = function(t, r) {
2614
2610
  for (var n = []; ; ) {
2615
2611
  var i = Bn(t, r);
2616
- if (i === void 0 || On(i) || os(i))
2612
+ if (i === void 0 || On(i) || ss(i))
2617
2613
  break;
2618
2614
  n.push(i), r += i >= 65536 ? 2 : 1;
2619
2615
  }
2620
- return br.apply(void 0, n);
2616
+ return pr.apply(void 0, n);
2621
2617
  };
2622
- var ns = (
2618
+ var rs = (
2623
2619
  /** @class */
2624
2620
  function() {
2625
2621
  function e(t, r) {
@@ -2643,14 +2639,14 @@ var ns = (
2643
2639
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2644
2640
  var l = this.clonePosition();
2645
2641
  this.bump(), i.push({
2646
- type: I.pound,
2642
+ type: L.pound,
2647
2643
  location: H(l, this.clonePosition())
2648
2644
  });
2649
2645
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2650
2646
  if (n)
2651
2647
  break;
2652
2648
  return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2653
- } else if (s === 60 && !this.ignoreTag && _r(this.peek() || 0)) {
2649
+ } else if (s === 60 && !this.ignoreTag && br(this.peek() || 0)) {
2654
2650
  var o = this.parseTag(t, r);
2655
2651
  if (o.err)
2656
2652
  return o;
@@ -2671,7 +2667,7 @@ var ns = (
2671
2667
  if (this.bumpSpace(), this.bumpIf("/>"))
2672
2668
  return {
2673
2669
  val: {
2674
- type: I.literal,
2670
+ type: L.literal,
2675
2671
  value: "<".concat(i, "/>"),
2676
2672
  location: H(n, this.clonePosition())
2677
2673
  },
@@ -2683,12 +2679,12 @@ var ns = (
2683
2679
  return s;
2684
2680
  var o = s.val, l = this.clonePosition();
2685
2681
  if (this.bumpIf("</")) {
2686
- if (this.isEOF() || !_r(this.char()))
2682
+ if (this.isEOF() || !br(this.char()))
2687
2683
  return this.error(w.INVALID_TAG, H(l, this.clonePosition()));
2688
2684
  var f = this.clonePosition(), u = this.parseTagName();
2689
2685
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, H(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2690
2686
  val: {
2691
- type: I.tag,
2687
+ type: L.tag,
2692
2688
  value: i,
2693
2689
  children: o,
2694
2690
  location: H(n, this.clonePosition())
@@ -2701,7 +2697,7 @@ var ns = (
2701
2697
  return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
2702
2698
  }, e.prototype.parseTagName = function() {
2703
2699
  var t = this.offset();
2704
- for (this.bump(); !this.isEOF() && ss(this.char()); )
2700
+ for (this.bump(); !this.isEOF() && is(this.char()); )
2705
2701
  this.bump();
2706
2702
  return this.message.slice(t, this.offset());
2707
2703
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2725,12 +2721,12 @@ var ns = (
2725
2721
  }
2726
2722
  var f = H(n, this.clonePosition());
2727
2723
  return {
2728
- val: { type: I.literal, value: i, location: f },
2724
+ val: { type: L.literal, value: i, location: f },
2729
2725
  err: null
2730
2726
  };
2731
2727
  }, e.prototype.tryParseLeftAngleBracket = function() {
2732
2728
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2733
- !is(this.peek() || 0)) ? (this.bump(), "<") : null;
2729
+ !ns(this.peek() || 0)) ? (this.bump(), "<") : null;
2734
2730
  }, e.prototype.tryParseQuote = function(t) {
2735
2731
  if (this.isEOF() || this.char() !== 39)
2736
2732
  return null;
@@ -2764,12 +2760,12 @@ var ns = (
2764
2760
  r.push(n);
2765
2761
  this.bump();
2766
2762
  }
2767
- return br.apply(void 0, r);
2763
+ return pr.apply(void 0, r);
2768
2764
  }, e.prototype.tryParseUnquoted = function(t, r) {
2769
2765
  if (this.isEOF())
2770
2766
  return null;
2771
2767
  var n = this.char();
2772
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), br(n));
2768
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pr(n));
2773
2769
  }, e.prototype.parseArgument = function(t, r) {
2774
2770
  var n = this.clonePosition();
2775
2771
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2785,7 +2781,7 @@ var ns = (
2785
2781
  case 125:
2786
2782
  return this.bump(), {
2787
2783
  val: {
2788
- type: I.argument,
2784
+ type: L.argument,
2789
2785
  // value does not include the opening and closing braces.
2790
2786
  value: i,
2791
2787
  location: H(n, this.clonePosition())
@@ -2798,7 +2794,7 @@ var ns = (
2798
2794
  return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2799
2795
  }
2800
2796
  }, e.prototype.parseIdentifierIfPossible = function() {
2801
- var t = this.clonePosition(), r = this.offset(), n = yr(this.message, r), i = r + n.length;
2797
+ var t = this.clonePosition(), r = this.offset(), n = gr(this.message, r), i = r + n.length;
2802
2798
  this.bumpTo(i);
2803
2799
  var s = this.clonePosition(), o = H(t, s);
2804
2800
  return { value: n, location: o };
@@ -2817,7 +2813,7 @@ var ns = (
2817
2813
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2818
2814
  if (d.err)
2819
2815
  return d;
2820
- var m = rs(d.val);
2816
+ var m = ts(d.val);
2821
2817
  if (m.length === 0)
2822
2818
  return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2823
2819
  var v = H(c, this.clonePosition());
@@ -2828,24 +2824,24 @@ var ns = (
2828
2824
  return _;
2829
2825
  var C = H(i, this.clonePosition());
2830
2826
  if (u && Lr(u?.style, "::", 0)) {
2831
- var P = ts(u.style.slice(2));
2827
+ var O = es(u.style.slice(2));
2832
2828
  if (l === "number") {
2833
- var d = this.parseNumberSkeletonFromString(P, u.styleLocation);
2829
+ var d = this.parseNumberSkeletonFromString(O, u.styleLocation);
2834
2830
  return d.err ? d : {
2835
- val: { type: I.number, value: n, location: C, style: d.val },
2831
+ val: { type: L.number, value: n, location: C, style: d.val },
2836
2832
  err: null
2837
2833
  };
2838
2834
  } else {
2839
- if (P.length === 0)
2835
+ if (O.length === 0)
2840
2836
  return this.error(w.EXPECT_DATE_TIME_SKELETON, C);
2841
- var T = P;
2842
- this.locale && (T = ji(P, this.locale));
2837
+ var S = O;
2838
+ this.locale && (S = Gi(O, this.locale));
2843
2839
  var m = {
2844
- type: ht.dateTime,
2845
- pattern: T,
2840
+ type: ct.dateTime,
2841
+ pattern: S,
2846
2842
  location: u.styleLocation,
2847
- parsedOptions: this.shouldParseSkeletons ? Ii(T) : {}
2848
- }, j = l === "date" ? I.date : I.time;
2843
+ parsedOptions: this.shouldParseSkeletons ? ki(S) : {}
2844
+ }, j = l === "date" ? L.date : L.time;
2849
2845
  return {
2850
2846
  val: { type: j, value: n, location: C, style: m },
2851
2847
  err: null
@@ -2854,7 +2850,7 @@ var ns = (
2854
2850
  }
2855
2851
  return {
2856
2852
  val: {
2857
- type: l === "number" ? I.number : l === "date" ? I.date : I.time,
2853
+ type: l === "number" ? L.number : l === "date" ? L.date : L.time,
2858
2854
  value: n,
2859
2855
  location: C,
2860
2856
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2865,9 +2861,9 @@ var ns = (
2865
2861
  case "plural":
2866
2862
  case "selectordinal":
2867
2863
  case "select": {
2868
- var M = this.clonePosition();
2864
+ var N = this.clonePosition();
2869
2865
  if (this.bumpSpace(), !this.bumpIf(","))
2870
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, Zt({}, M)));
2866
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(N, P({}, N)));
2871
2867
  this.bumpSpace();
2872
2868
  var z = this.parseIdentifierIfPossible(), V = 0;
2873
2869
  if (l !== "select" && z.value === "offset") {
@@ -2885,23 +2881,23 @@ var ns = (
2885
2881
  var _ = this.tryParseArgumentClose(i);
2886
2882
  if (_.err)
2887
2883
  return _;
2888
- var xe = H(i, this.clonePosition());
2884
+ var Ce = H(i, this.clonePosition());
2889
2885
  return l === "select" ? {
2890
2886
  val: {
2891
- type: I.select,
2887
+ type: L.select,
2892
2888
  value: n,
2893
2889
  options: Rr(fe.val),
2894
- location: xe
2890
+ location: Ce
2895
2891
  },
2896
2892
  err: null
2897
2893
  } : {
2898
2894
  val: {
2899
- type: I.plural,
2895
+ type: L.plural,
2900
2896
  value: n,
2901
2897
  options: Rr(fe.val),
2902
2898
  offset: V,
2903
2899
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2904
- location: xe
2900
+ location: Ce
2905
2901
  },
2906
2902
  err: null
2907
2903
  };
@@ -2949,16 +2945,16 @@ var ns = (
2949
2945
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2950
2946
  var n = [];
2951
2947
  try {
2952
- n = Ri(t);
2948
+ n = Li(t);
2953
2949
  } catch {
2954
2950
  return this.error(w.INVALID_NUMBER_SKELETON, r);
2955
2951
  }
2956
2952
  return {
2957
2953
  val: {
2958
- type: ht.number,
2954
+ type: ct.number,
2959
2955
  tokens: n,
2960
2956
  location: r,
2961
- parsedOptions: this.shouldParseSkeletons ? Gi(n) : {}
2957
+ parsedOptions: this.shouldParseSkeletons ? Di(n) : {}
2962
2958
  },
2963
2959
  err: null
2964
2960
  };
@@ -3006,7 +3002,7 @@ var ns = (
3006
3002
  break;
3007
3003
  }
3008
3004
  var f = H(i, this.clonePosition());
3009
- return s ? (o *= n, Ki(o) ? { val: o, err: null } : this.error(r, f)) : this.error(t, f);
3005
+ return s ? (o *= n, Yi(o) ? { val: o, err: null } : this.error(r, f)) : this.error(t, f);
3010
3006
  }, e.prototype.offset = function() {
3011
3007
  return this.position.offset;
3012
3008
  }, e.prototype.isEOF = function() {
@@ -3072,47 +3068,47 @@ var ns = (
3072
3068
  }, e;
3073
3069
  }()
3074
3070
  );
3075
- function _r(e) {
3071
+ function br(e) {
3076
3072
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3077
3073
  }
3078
- function is(e) {
3079
- return _r(e) || e === 47;
3074
+ function ns(e) {
3075
+ return br(e) || e === 47;
3080
3076
  }
3081
- function ss(e) {
3077
+ function is(e) {
3082
3078
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3083
3079
  }
3084
3080
  function On(e) {
3085
3081
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3086
3082
  }
3087
- function os(e) {
3083
+ function ss(e) {
3088
3084
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3089
3085
  }
3090
- function Er(e) {
3086
+ function yr(e) {
3091
3087
  e.forEach(function(t) {
3092
3088
  if (delete t.location, vn(t) || Cn(t))
3093
3089
  for (var r in t.options)
3094
- delete t.options[r].location, Er(t.options[r].value);
3090
+ delete t.options[r].location, yr(t.options[r].value);
3095
3091
  else
3096
- yn(t) && An(t.style) || (_n(t) || En(t)) && pr(t.style) ? delete t.style.location : xn(t) && Er(t.children);
3092
+ yn(t) && An(t.style) || (_n(t) || En(t)) && dr(t.style) ? delete t.style.location : xn(t) && yr(t.children);
3097
3093
  });
3098
3094
  }
3099
- function as(e, t) {
3100
- t === void 0 && (t = {}), t = Zt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
- var r = new ns(e, t).parse();
3095
+ function os(e, t) {
3096
+ t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3097
+ var r = new rs(e, t).parse();
3102
3098
  if (r.err) {
3103
3099
  var n = SyntaxError(w[r.err.kind]);
3104
3100
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3105
3101
  }
3106
- return t?.captureLocation || Er(r.val), r.val;
3102
+ return t?.captureLocation || yr(r.val), r.val;
3107
3103
  }
3108
- var ft;
3104
+ var ht;
3109
3105
  (function(e) {
3110
3106
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3111
- })(ft || (ft = {}));
3112
- var Kt = (
3107
+ })(ht || (ht = {}));
3108
+ var Jt = (
3113
3109
  /** @class */
3114
3110
  function(e) {
3115
- Yt(t, e);
3111
+ Qt(t, e);
3116
3112
  function t(r, n, i) {
3117
3113
  var s = e.call(this, r) || this;
3118
3114
  return s.code = n, s.originalMessage = i, s;
@@ -3124,44 +3120,44 @@ var Kt = (
3124
3120
  ), Fr = (
3125
3121
  /** @class */
3126
3122
  function(e) {
3127
- Yt(t, e);
3123
+ Qt(t, e);
3128
3124
  function t(r, n, i, s) {
3129
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ft.INVALID_VALUE, s) || this;
3125
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ht.INVALID_VALUE, s) || this;
3130
3126
  }
3131
3127
  return t;
3132
- }(Kt)
3133
- ), ls = (
3128
+ }(Jt)
3129
+ ), as = (
3134
3130
  /** @class */
3135
3131
  function(e) {
3136
- Yt(t, e);
3132
+ Qt(t, e);
3137
3133
  function t(r, n, i) {
3138
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ft.INVALID_VALUE, i) || this;
3134
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ht.INVALID_VALUE, i) || this;
3139
3135
  }
3140
3136
  return t;
3141
- }(Kt)
3142
- ), us = (
3137
+ }(Jt)
3138
+ ), ls = (
3143
3139
  /** @class */
3144
3140
  function(e) {
3145
- Yt(t, e);
3141
+ Qt(t, e);
3146
3142
  function t(r, n) {
3147
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ft.MISSING_VALUE, n) || this;
3143
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ht.MISSING_VALUE, n) || this;
3148
3144
  }
3149
3145
  return t;
3150
- }(Kt)
3146
+ }(Jt)
3151
3147
  ), K;
3152
3148
  (function(e) {
3153
3149
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
3150
  })(K || (K = {}));
3155
- function cs(e) {
3151
+ function us(e) {
3156
3152
  return e.length < 2 ? e : e.reduce(function(t, r) {
3157
3153
  var n = t[t.length - 1];
3158
3154
  return !n || n.type !== K.literal || r.type !== K.literal ? t.push(r) : n.value += r.value, t;
3159
3155
  }, []);
3160
3156
  }
3161
- function hs(e) {
3157
+ function cs(e) {
3162
3158
  return typeof e == "function";
3163
3159
  }
3164
- function Wt(e, t, r, n, i, s, o) {
3160
+ function Xt(e, t, r, n, i, s, o) {
3165
3161
  if (e.length === 1 && Mr(e[0]))
3166
3162
  return [
3167
3163
  {
@@ -3178,7 +3174,7 @@ function Wt(e, t, r, n, i, s, o) {
3178
3174
  });
3179
3175
  continue;
3180
3176
  }
3181
- if (Ni(c)) {
3177
+ if (Mi(c)) {
3182
3178
  typeof s == "number" && l.push({
3183
3179
  type: K.literal,
3184
3180
  value: r.getNumberFormat(t).format(s)
@@ -3187,9 +3183,9 @@ function Wt(e, t, r, n, i, s, o) {
3187
3183
  }
3188
3184
  var d = c.value;
3189
3185
  if (!(i && d in i))
3190
- throw new us(d, o);
3186
+ throw new ls(d, o);
3191
3187
  var m = i[d];
3192
- if (Mi(c)) {
3188
+ if (Oi(c)) {
3193
3189
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3194
3190
  type: typeof m == "string" ? K.literal : K.object,
3195
3191
  value: m
@@ -3197,7 +3193,7 @@ function Wt(e, t, r, n, i, s, o) {
3197
3193
  continue;
3198
3194
  }
3199
3195
  if (_n(c)) {
3200
- var v = typeof c.style == "string" ? n.date[c.style] : pr(c.style) ? c.style.parsedOptions : void 0;
3196
+ var v = typeof c.style == "string" ? n.date[c.style] : dr(c.style) ? c.style.parsedOptions : void 0;
3201
3197
  l.push({
3202
3198
  type: K.literal,
3203
3199
  value: r.getDateTimeFormat(t, v).format(m)
@@ -3205,7 +3201,7 @@ function Wt(e, t, r, n, i, s, o) {
3205
3201
  continue;
3206
3202
  }
3207
3203
  if (En(c)) {
3208
- var v = typeof c.style == "string" ? n.time[c.style] : pr(c.style) ? c.style.parsedOptions : n.time.medium;
3204
+ var v = typeof c.style == "string" ? n.time[c.style] : dr(c.style) ? c.style.parsedOptions : n.time.medium;
3209
3205
  l.push({
3210
3206
  type: K.literal,
3211
3207
  value: r.getDateTimeFormat(t, v).format(m)
@@ -3221,10 +3217,10 @@ function Wt(e, t, r, n, i, s, o) {
3221
3217
  continue;
3222
3218
  }
3223
3219
  if (xn(c)) {
3224
- var _ = c.children, C = c.value, P = i[C];
3225
- if (!hs(P))
3226
- throw new ls(C, "function", o);
3227
- var T = Wt(_, t, r, n, i, s), j = P(T.map(function(V) {
3220
+ var _ = c.children, C = c.value, O = i[C];
3221
+ if (!cs(O))
3222
+ throw new as(C, "function", o);
3223
+ var S = Xt(_, t, r, n, i, s), j = O(S.map(function(V) {
3228
3224
  return V.value;
3229
3225
  }));
3230
3226
  Array.isArray(j) || (j = [j]), l.push.apply(l, j.map(function(V) {
@@ -3235,41 +3231,41 @@ function Wt(e, t, r, n, i, s, o) {
3235
3231
  }));
3236
3232
  }
3237
3233
  if (vn(c)) {
3238
- var M = c.options[m] || c.options.other;
3239
- if (!M)
3234
+ var N = c.options[m] || c.options.other;
3235
+ if (!N)
3240
3236
  throw new Fr(c.value, m, Object.keys(c.options), o);
3241
- l.push.apply(l, Wt(M.value, t, r, n, i));
3237
+ l.push.apply(l, Xt(N.value, t, r, n, i));
3242
3238
  continue;
3243
3239
  }
3244
3240
  if (Cn(c)) {
3245
- var M = c.options["=".concat(m)];
3246
- if (!M) {
3241
+ var N = c.options["=".concat(m)];
3242
+ if (!N) {
3247
3243
  if (!Intl.PluralRules)
3248
- throw new Kt(`Intl.PluralRules is not available in this environment.
3244
+ throw new Jt(`Intl.PluralRules is not available in this environment.
3249
3245
  Try polyfilling it using "@formatjs/intl-pluralrules"
3250
- `, ft.MISSING_INTL_API, o);
3246
+ `, ht.MISSING_INTL_API, o);
3251
3247
  var z = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3252
- M = c.options[z] || c.options.other;
3248
+ N = c.options[z] || c.options.other;
3253
3249
  }
3254
- if (!M)
3250
+ if (!N)
3255
3251
  throw new Fr(c.value, m, Object.keys(c.options), o);
3256
- l.push.apply(l, Wt(M.value, t, r, n, i, m - (c.offset || 0)));
3252
+ l.push.apply(l, Xt(N.value, t, r, n, i, m - (c.offset || 0)));
3257
3253
  continue;
3258
3254
  }
3259
3255
  }
3260
- return cs(l);
3256
+ return us(l);
3261
3257
  }
3262
- function fs(e, t) {
3263
- return t ? Ce(Ce(Ce({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
- return r[n] = Ce(Ce({}, e[n]), t[n] || {}), r;
3258
+ function hs(e, t) {
3259
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3260
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3265
3261
  }, {})) : e;
3266
3262
  }
3267
- function ds(e, t) {
3263
+ function fs(e, t) {
3268
3264
  return t ? Object.keys(e).reduce(function(r, n) {
3269
- return r[n] = fs(e[n], t[n]), r;
3270
- }, Ce({}, e)) : e;
3265
+ return r[n] = hs(e[n], t[n]), r;
3266
+ }, P({}, e)) : e;
3271
3267
  }
3272
- function cr(e) {
3268
+ function lr(e) {
3273
3269
  return {
3274
3270
  create: function() {
3275
3271
  return {
@@ -3283,39 +3279,39 @@ function cr(e) {
3283
3279
  }
3284
3280
  };
3285
3281
  }
3286
- function ms(e) {
3282
+ function ds(e) {
3287
3283
  return e === void 0 && (e = {
3288
3284
  number: {},
3289
3285
  dateTime: {},
3290
3286
  pluralRules: {}
3291
3287
  }), {
3292
- getNumberFormat: ar(function() {
3288
+ getNumberFormat: sr(function() {
3293
3289
  for (var t, r = [], n = 0; n < arguments.length; n++)
3294
3290
  r[n] = arguments[n];
3295
- return new ((t = Intl.NumberFormat).bind.apply(t, or([void 0], r, !1)))();
3291
+ return new ((t = Intl.NumberFormat).bind.apply(t, ir([void 0], r, !1)))();
3296
3292
  }, {
3297
- cache: cr(e.number),
3298
- strategy: lr.variadic
3293
+ cache: lr(e.number),
3294
+ strategy: or.variadic
3299
3295
  }),
3300
- getDateTimeFormat: ar(function() {
3296
+ getDateTimeFormat: sr(function() {
3301
3297
  for (var t, r = [], n = 0; n < arguments.length; n++)
3302
3298
  r[n] = arguments[n];
3303
- return new ((t = Intl.DateTimeFormat).bind.apply(t, or([void 0], r, !1)))();
3299
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ir([void 0], r, !1)))();
3304
3300
  }, {
3305
- cache: cr(e.dateTime),
3306
- strategy: lr.variadic
3301
+ cache: lr(e.dateTime),
3302
+ strategy: or.variadic
3307
3303
  }),
3308
- getPluralRules: ar(function() {
3304
+ getPluralRules: sr(function() {
3309
3305
  for (var t, r = [], n = 0; n < arguments.length; n++)
3310
3306
  r[n] = arguments[n];
3311
- return new ((t = Intl.PluralRules).bind.apply(t, or([void 0], r, !1)))();
3307
+ return new ((t = Intl.PluralRules).bind.apply(t, ir([void 0], r, !1)))();
3312
3308
  }, {
3313
- cache: cr(e.pluralRules),
3314
- strategy: lr.variadic
3309
+ cache: lr(e.pluralRules),
3310
+ strategy: or.variadic
3315
3311
  })
3316
3312
  };
3317
3313
  }
3318
- var ps = (
3314
+ var ms = (
3319
3315
  /** @class */
3320
3316
  function() {
3321
3317
  function e(t, r, n, i) {
@@ -3334,7 +3330,7 @@ var ps = (
3334
3330
  }, []);
3335
3331
  return c.length <= 1 ? c[0] || "" : c;
3336
3332
  }, this.formatToParts = function(f) {
3337
- return Wt(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3333
+ return Xt(s.ast, s.locales, s.formatters, s.formats, f, void 0, s.message);
3338
3334
  }, this.resolvedOptions = function() {
3339
3335
  var f;
3340
3336
  return {
@@ -3348,12 +3344,12 @@ var ps = (
3348
3344
  var o = i || {};
3349
3345
  o.formatters;
3350
3346
  var l = Ai(o, ["formatters"]);
3351
- this.ast = e.__parse(t, Ce(Ce({}, l), { locale: this.resolvedLocale }));
3347
+ this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3352
3348
  } else
3353
3349
  this.ast = t;
3354
3350
  if (!Array.isArray(this.ast))
3355
3351
  throw new TypeError("A message must be provided as a String or AST.");
3356
- this.formats = ds(e.formats, n), this.formatters = i && i.formatters || ms(this.formatterCache);
3352
+ this.formats = fs(e.formats, n), this.formatters = i && i.formatters || ds(this.formatterCache);
3357
3353
  }
3358
3354
  return Object.defineProperty(e, "defaultLocale", {
3359
3355
  get: function() {
@@ -3366,7 +3362,7 @@ var ps = (
3366
3362
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3367
3363
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3368
3364
  }
3369
- }, e.__parse = as, e.formats = {
3365
+ }, e.__parse = os, e.formats = {
3370
3366
  number: {
3371
3367
  integer: {
3372
3368
  maximumFractionDigits: 0
@@ -3427,7 +3423,7 @@ var ps = (
3427
3423
  }, e;
3428
3424
  }()
3429
3425
  );
3430
- function gs(e, t) {
3426
+ function ps(e, t) {
3431
3427
  if (t == null)
3432
3428
  return;
3433
3429
  if (t in e)
@@ -3448,36 +3444,36 @@ function gs(e, t) {
3448
3444
  n = void 0;
3449
3445
  return n;
3450
3446
  }
3451
- const ke = {}, bs = (e, t, r) => r && (t in ke || (ke[t] = {}), e in ke[t] || (ke[t][e] = r), r), Mn = (e, t) => {
3447
+ const Ne = {}, gs = (e, t, r) => r && (t in Ne || (Ne[t] = {}), e in Ne[t] || (Ne[t][e] = r), r), Mn = (e, t) => {
3452
3448
  if (t == null)
3453
3449
  return;
3454
- if (t in ke && e in ke[t])
3455
- return ke[t][e];
3456
- const r = er(t);
3450
+ if (t in Ne && e in Ne[t])
3451
+ return Ne[t][e];
3452
+ const r = Yt(t);
3457
3453
  for (let n = 0; n < r.length; n++) {
3458
- const i = r[n], s = _s(i, e);
3454
+ const i = r[n], s = ys(i, e);
3459
3455
  if (s)
3460
- return bs(e, t, s);
3456
+ return gs(e, t, s);
3461
3457
  }
3462
3458
  };
3463
3459
  let wr;
3464
- const gt = Jt({});
3465
- function ys(e) {
3460
+ const pt = $t({});
3461
+ function bs(e) {
3466
3462
  return wr[e] || null;
3467
3463
  }
3468
3464
  function Nn(e) {
3469
3465
  return e in wr;
3470
3466
  }
3471
- function _s(e, t) {
3467
+ function ys(e, t) {
3472
3468
  if (!Nn(e))
3473
3469
  return null;
3474
- const r = ys(e);
3475
- return gs(r, t);
3470
+ const r = bs(e);
3471
+ return ps(r, t);
3476
3472
  }
3477
- function Es(e) {
3473
+ function _s(e) {
3478
3474
  if (e == null)
3479
3475
  return;
3480
- const t = er(e);
3476
+ const t = Yt(e);
3481
3477
  for (let r = 0; r < t.length; r++) {
3482
3478
  const n = t[r];
3483
3479
  if (Nn(n))
@@ -3485,55 +3481,55 @@ function Es(e) {
3485
3481
  }
3486
3482
  }
3487
3483
  function kn(e, ...t) {
3488
- delete ke[e], gt.update((r) => (r[e] = xi.all([r[e] || {}, ...t]), r));
3484
+ delete Ne[e], pt.update((r) => (r[e] = xi.all([r[e] || {}, ...t]), r));
3489
3485
  }
3490
- pt(
3491
- [gt],
3486
+ mt(
3487
+ [pt],
3492
3488
  ([e]) => Object.keys(e)
3493
3489
  );
3494
- gt.subscribe((e) => wr = e);
3495
- const qt = {};
3496
- function vs(e, t) {
3497
- qt[e].delete(t), qt[e].size === 0 && delete qt[e];
3490
+ pt.subscribe((e) => wr = e);
3491
+ const Wt = {};
3492
+ function Es(e, t) {
3493
+ Wt[e].delete(t), Wt[e].size === 0 && delete Wt[e];
3498
3494
  }
3499
3495
  function In(e) {
3500
- return qt[e];
3496
+ return Wt[e];
3501
3497
  }
3502
- function Cs(e) {
3503
- return er(e).map((t) => {
3498
+ function vs(e) {
3499
+ return Yt(e).map((t) => {
3504
3500
  const r = In(t);
3505
3501
  return [t, r ? [...r] : []];
3506
3502
  }).filter(([, t]) => t.length > 0);
3507
3503
  }
3508
- function vr(e) {
3509
- return e == null ? !1 : er(e).some(
3504
+ function _r(e) {
3505
+ return e == null ? !1 : Yt(e).some(
3510
3506
  (t) => {
3511
3507
  var r;
3512
3508
  return (r = In(t)) == null ? void 0 : r.size;
3513
3509
  }
3514
3510
  );
3515
3511
  }
3516
- function xs(e, t) {
3512
+ function Cs(e, t) {
3517
3513
  return Promise.all(
3518
- t.map((n) => (vs(e, n), n().then((i) => i.default || i)))
3514
+ t.map((n) => (Es(e, n), n().then((i) => i.default || i)))
3519
3515
  ).then((n) => kn(e, ...n));
3520
3516
  }
3521
- const wt = {};
3517
+ const At = {};
3522
3518
  function Ln(e) {
3523
- if (!vr(e))
3524
- return e in wt ? wt[e] : Promise.resolve();
3525
- const t = Cs(e);
3526
- return wt[e] = Promise.all(
3519
+ if (!_r(e))
3520
+ return e in At ? At[e] : Promise.resolve();
3521
+ const t = vs(e);
3522
+ return At[e] = Promise.all(
3527
3523
  t.map(
3528
- ([r, n]) => xs(r, n)
3524
+ ([r, n]) => Cs(r, n)
3529
3525
  )
3530
3526
  ).then(() => {
3531
- if (vr(e))
3527
+ if (_r(e))
3532
3528
  return Ln(e);
3533
- delete wt[e];
3534
- }), wt[e];
3529
+ delete At[e];
3530
+ }), At[e];
3535
3531
  }
3536
- const As = {
3532
+ const xs = {
3537
3533
  number: {
3538
3534
  scientific: { notation: "scientific" },
3539
3535
  engineering: { notation: "engineering" },
@@ -3562,141 +3558,141 @@ const As = {
3562
3558
  timeZoneName: "short"
3563
3559
  }
3564
3560
  }
3565
- }, ws = {
3561
+ }, As = {
3566
3562
  fallbackLocale: null,
3567
3563
  loadingDelay: 200,
3568
- formats: As,
3564
+ formats: xs,
3569
3565
  warnOnMissingMessages: !0,
3570
3566
  handleMissingMessage: void 0,
3571
3567
  ignoreTag: !0
3572
- }, Ss = ws;
3573
- function dt() {
3574
- return Ss;
3568
+ }, ws = As;
3569
+ function ft() {
3570
+ return ws;
3575
3571
  }
3576
- const hr = Jt(!1);
3577
- var Ts = Object.defineProperty, Hs = Object.defineProperties, Bs = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Ps = Object.prototype.hasOwnProperty, Os = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ms = (e, t) => {
3572
+ const ur = $t(!1);
3573
+ var Ts = Object.defineProperty, Ss = Object.defineProperties, Hs = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Bs = Object.prototype.hasOwnProperty, Ps = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Os = (e, t) => {
3578
3574
  for (var r in t || (t = {}))
3579
- Ps.call(t, r) && Gr(e, r, t[r]);
3575
+ Bs.call(t, r) && Gr(e, r, t[r]);
3580
3576
  if (Dr)
3581
3577
  for (var r of Dr(t))
3582
- Os.call(t, r) && Gr(e, r, t[r]);
3578
+ Ps.call(t, r) && Gr(e, r, t[r]);
3583
3579
  return e;
3584
- }, Ns = (e, t) => Hs(e, Bs(t));
3585
- let Cr;
3586
- const $t = Jt(null);
3580
+ }, Ms = (e, t) => Ss(e, Hs(t));
3581
+ let Er;
3582
+ const qt = $t(null);
3587
3583
  function jr(e) {
3588
3584
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3589
3585
  }
3590
- function er(e, t = dt().fallbackLocale) {
3586
+ function Yt(e, t = ft().fallbackLocale) {
3591
3587
  const r = jr(e);
3592
3588
  return t ? [.../* @__PURE__ */ new Set([...r, ...jr(t)])] : r;
3593
3589
  }
3594
- function je() {
3595
- return Cr ?? void 0;
3590
+ function Ge() {
3591
+ return Er ?? void 0;
3596
3592
  }
3597
- $t.subscribe((e) => {
3598
- Cr = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3593
+ qt.subscribe((e) => {
3594
+ Er = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3599
3595
  });
3600
- const ks = (e) => {
3601
- if (e && Es(e) && vr(e)) {
3602
- const { loadingDelay: t } = dt();
3596
+ const Ns = (e) => {
3597
+ if (e && _s(e) && _r(e)) {
3598
+ const { loadingDelay: t } = ft();
3603
3599
  let r;
3604
- return typeof window < "u" && je() != null && t ? r = window.setTimeout(
3605
- () => hr.set(!0),
3600
+ return typeof window < "u" && Ge() != null && t ? r = window.setTimeout(
3601
+ () => ur.set(!0),
3606
3602
  t
3607
- ) : hr.set(!0), Ln(e).then(() => {
3608
- $t.set(e);
3603
+ ) : ur.set(!0), Ln(e).then(() => {
3604
+ qt.set(e);
3609
3605
  }).finally(() => {
3610
- clearTimeout(r), hr.set(!1);
3606
+ clearTimeout(r), ur.set(!1);
3611
3607
  });
3612
3608
  }
3613
- return $t.set(e);
3614
- }, Ie = Ns(Ms({}, $t), {
3615
- set: ks
3616
- }), tr = (e) => {
3609
+ return qt.set(e);
3610
+ }, ke = Ms(Os({}, qt), {
3611
+ set: Ns
3612
+ }), Kt = (e) => {
3617
3613
  const t = /* @__PURE__ */ Object.create(null);
3618
3614
  return (n) => {
3619
3615
  const i = JSON.stringify(n);
3620
3616
  return i in t ? t[i] : t[i] = e(n);
3621
3617
  };
3622
3618
  };
3623
- var Is = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, zr = (e, t, r) => t in e ? Is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sr = (e, t) => {
3619
+ var ks = Object.defineProperty, Zt = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, zr = (e, t, r) => t in e ? ks(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tr = (e, t) => {
3624
3620
  for (var r in t || (t = {}))
3625
3621
  Rn.call(t, r) && zr(e, r, t[r]);
3626
- if (Qt)
3627
- for (var r of Qt(t))
3622
+ if (Zt)
3623
+ for (var r of Zt(t))
3628
3624
  Un.call(t, r) && zr(e, r, t[r]);
3629
3625
  return e;
3630
- }, bt = (e, t) => {
3626
+ }, gt = (e, t) => {
3631
3627
  var r = {};
3632
3628
  for (var n in e)
3633
3629
  Rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3634
- if (e != null && Qt)
3635
- for (var n of Qt(e))
3630
+ if (e != null && Zt)
3631
+ for (var n of Zt(e))
3636
3632
  t.indexOf(n) < 0 && Un.call(e, n) && (r[n] = e[n]);
3637
3633
  return r;
3638
3634
  };
3639
- const Bt = (e, t) => {
3640
- const { formats: r } = dt();
3635
+ const Ht = (e, t) => {
3636
+ const { formats: r } = ft();
3641
3637
  if (e in r && t in r[e])
3642
3638
  return r[e][t];
3643
3639
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3644
- }, Ls = tr(
3640
+ }, Is = Kt(
3645
3641
  (e) => {
3646
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3642
+ var t = e, { locale: r, format: n } = t, i = gt(t, ["locale", "format"]);
3647
3643
  if (r == null)
3648
3644
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3649
- return n && (i = Bt("number", n)), new Intl.NumberFormat(r, i);
3645
+ return n && (i = Ht("number", n)), new Intl.NumberFormat(r, i);
3650
3646
  }
3651
- ), Rs = tr(
3647
+ ), Ls = Kt(
3652
3648
  (e) => {
3653
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3649
+ var t = e, { locale: r, format: n } = t, i = gt(t, ["locale", "format"]);
3654
3650
  if (r == null)
3655
3651
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3656
- return n ? i = Bt("date", n) : Object.keys(i).length === 0 && (i = Bt("date", "short")), new Intl.DateTimeFormat(r, i);
3652
+ return n ? i = Ht("date", n) : Object.keys(i).length === 0 && (i = Ht("date", "short")), new Intl.DateTimeFormat(r, i);
3657
3653
  }
3658
- ), Us = tr(
3654
+ ), Rs = Kt(
3659
3655
  (e) => {
3660
- var t = e, { locale: r, format: n } = t, i = bt(t, ["locale", "format"]);
3656
+ var t = e, { locale: r, format: n } = t, i = gt(t, ["locale", "format"]);
3661
3657
  if (r == null)
3662
3658
  throw new Error(
3663
3659
  '[svelte-i18n] A "locale" must be set to format time values'
3664
3660
  );
3665
- return n ? i = Bt("time", n) : Object.keys(i).length === 0 && (i = Bt("time", "short")), new Intl.DateTimeFormat(r, i);
3661
+ return n ? i = Ht("time", n) : Object.keys(i).length === 0 && (i = Ht("time", "short")), new Intl.DateTimeFormat(r, i);
3666
3662
  }
3667
- ), Fs = (e = {}) => {
3663
+ ), Us = (e = {}) => {
3668
3664
  var t = e, {
3669
- locale: r = je()
3670
- } = t, n = bt(t, [
3665
+ locale: r = Ge()
3666
+ } = t, n = gt(t, [
3671
3667
  "locale"
3672
3668
  ]);
3673
- return Ls(Sr({ locale: r }, n));
3674
- }, Ds = (e = {}) => {
3669
+ return Is(Tr({ locale: r }, n));
3670
+ }, Fs = (e = {}) => {
3675
3671
  var t = e, {
3676
- locale: r = je()
3677
- } = t, n = bt(t, [
3672
+ locale: r = Ge()
3673
+ } = t, n = gt(t, [
3678
3674
  "locale"
3679
3675
  ]);
3680
- return Rs(Sr({ locale: r }, n));
3681
- }, Gs = (e = {}) => {
3676
+ return Ls(Tr({ locale: r }, n));
3677
+ }, Ds = (e = {}) => {
3682
3678
  var t = e, {
3683
- locale: r = je()
3684
- } = t, n = bt(t, [
3679
+ locale: r = Ge()
3680
+ } = t, n = gt(t, [
3685
3681
  "locale"
3686
3682
  ]);
3687
- return Us(Sr({ locale: r }, n));
3688
- }, js = tr(
3683
+ return Rs(Tr({ locale: r }, n));
3684
+ }, Gs = Kt(
3689
3685
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3690
- (e, t = je()) => new ps(e, t, dt().formats, {
3691
- ignoreTag: dt().ignoreTag
3686
+ (e, t = Ge()) => new ms(e, t, ft().formats, {
3687
+ ignoreTag: ft().ignoreTag
3692
3688
  })
3693
- ), zs = (e, t = {}) => {
3689
+ ), js = (e, t = {}) => {
3694
3690
  var r, n, i, s;
3695
3691
  let o = t;
3696
3692
  typeof e == "object" && (o = e, e = o.id);
3697
3693
  const {
3698
3694
  values: l,
3699
- locale: f = je(),
3695
+ locale: f = Ge(),
3700
3696
  default: u
3701
3697
  } = o;
3702
3698
  if (f == null)
@@ -3705,7 +3701,7 @@ const Bt = (e, t) => {
3705
3701
  );
3706
3702
  let c = Mn(e, f);
3707
3703
  if (!c)
3708
- c = (s = (i = (n = (r = dt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3704
+ c = (s = (i = (n = (r = ft()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3709
3705
  else if (typeof c != "string")
3710
3706
  return console.warn(
3711
3707
  `[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.`
@@ -3714,7 +3710,7 @@ const Bt = (e, t) => {
3714
3710
  return c;
3715
3711
  let d = c;
3716
3712
  try {
3717
- d = js(c, f).format(l);
3713
+ d = Gs(c, f).format(l);
3718
3714
  } catch (m) {
3719
3715
  m instanceof Error && console.warn(
3720
3716
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3722,21 +3718,21 @@ const Bt = (e, t) => {
3722
3718
  );
3723
3719
  }
3724
3720
  return d;
3725
- }, Vs = (e, t) => Gs(t).format(e), Xs = (e, t) => Ds(t).format(e), Ws = (e, t) => Fs(t).format(e), qs = (e, t = je()) => Mn(e, t), Zs = pt([Ie, gt], () => zs);
3726
- pt([Ie], () => Vs);
3727
- pt([Ie], () => Xs);
3728
- pt([Ie], () => Ws);
3729
- pt([Ie, gt], () => qs);
3730
- function $s({ withLocale: e, translations: t }) {
3731
- Ie.subscribe((r) => {
3732
- r == null && (gt.set(t), Ie.set(e));
3721
+ }, zs = (e, t) => Ds(t).format(e), Vs = (e, t) => Fs(t).format(e), Xs = (e, t) => Us(t).format(e), Ws = (e, t = Ge()) => Mn(e, t), qs = mt([ke, pt], () => js);
3722
+ mt([ke], () => zs);
3723
+ mt([ke], () => Vs);
3724
+ mt([ke], () => Xs);
3725
+ mt([ke, pt], () => Ws);
3726
+ function Zs({ withLocale: e, translations: t }) {
3727
+ ke.subscribe((r) => {
3728
+ r == null && (pt.set(t), ke.set(e));
3733
3729
  });
3734
3730
  }
3735
3731
  function Vr(e, t) {
3736
3732
  kn(e, t);
3737
3733
  }
3738
- function Qs(e) {
3739
- Ie.set(e);
3734
+ function $s(e) {
3735
+ ke.set(e);
3740
3736
  }
3741
3737
  const Xr = {
3742
3738
  en: {
@@ -3930,13 +3926,13 @@ const Xr = {
3930
3926
  registerOpenAccount: "Abrir cuenta"
3931
3927
  }
3932
3928
  };
3933
- function Js(e, t) {
3929
+ function Qs(e, t) {
3934
3930
  if (e) {
3935
3931
  const r = document.createElement("style");
3936
3932
  r.innerHTML = t, e.appendChild(r);
3937
3933
  }
3938
3934
  }
3939
- function Ys(e, t) {
3935
+ function Js(e, t) {
3940
3936
  if (!e || !t)
3941
3937
  return;
3942
3938
  const r = new URL(t);
@@ -3947,7 +3943,7 @@ function Ys(e, t) {
3947
3943
  console.error("There was an error while trying to load client styling from URL", n);
3948
3944
  });
3949
3945
  }
3950
- function Ks(e, t, r) {
3946
+ function Ys(e, t, r) {
3951
3947
  if (window.emMessageBus) {
3952
3948
  const n = document.createElement("style");
3953
3949
  window.emMessageBus.subscribe(t, (i) => {
@@ -3955,7 +3951,7 @@ function Ks(e, t, r) {
3955
3951
  });
3956
3952
  }
3957
3953
  }
3958
- function eo(e) {
3954
+ function Ks(e) {
3959
3955
  Gn(e, "svelte-1b2qzhz", `input,select{font-family:inherit}.BackButton{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:15px;border-radius:var(--emw--border-radius-small, 5px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressPostalCodeContainer{display:flex;gap:16px}.CountryContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.CountryContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-medium, 15px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.CountryContainer select:focus,.CountryContainer select :focus-within,.CountryContainer select :focus-visible,.CountryContainer select :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.AddressContainer,.PostalCodeContainer,.CityContainer,.CountryContainer,.NationalityContainer,.MobileContainer{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.AddressContainer label,.PostalCodeContainer label,.CityContainer label,.CountryContainer label,.NationalityContainer label,.MobileContainer label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.AddressContainer input,.AddressContainer select,.PostalCodeContainer input,.PostalCodeContainer select,.CityContainer input,.CityContainer select,.CountryContainer input,.CountryContainer select,.NationalityContainer input,.NationalityContainer select,.MobileContainer input,.MobileContainer select{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.AddressContainer input:focus,.AddressContainer select:focus,.PostalCodeContainer input:focus,.PostalCodeContainer select:focus,.CityContainer input:focus,.CityContainer select:focus,.CountryContainer input:focus,.CountryContainer select:focus,.NationalityContainer input:focus,.NationalityContainer select:focus,.MobileContainer input:focus,.MobileContainer select:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.AddressContainer.InvalidField input,.PostalCodeContainer.InvalidField input,.CityContainer.InvalidField input,.CountryContainer.InvalidField input,.NationalityContainer.InvalidField input,.MobileContainer.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.AddressContainer.Hidden,.PostalCodeContainer.Hidden,.CityContainer.Hidden,.CountryContainer.Hidden,.NationalityContainer.Hidden,.MobileContainer.Hidden{display:none}.AddressContainer{width:65%}.PostalCodeContainer{width:35%}.MobileWrapper{display:flex;gap:16px}.MobileWrapper .MobilePrefixSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.MobileWrapper .MobilePrefixSelected:focus,.MobileWrapper .MobilePrefixSelected :focus-within,.MobileWrapper .MobilePrefixSelected :focus-visible,.MobileWrapper .MobilePrefixSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.MobileWrapper .MobileInput{width:70%}.grecaptcha-badge{opacity:0}.FormRequired{color:var(--emw--color-secondary, #E1A749)}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.OffersMethodsWrapper{padding-left:32px}.Offers,.OffersMethod,.AgeConsent{display:block;position:relative;padding:5px 0 0 35px;margin-bottom:16px;font-size:var(--emw--font-size-medium, 16px);user-select:none;line-height:18px}.Offers label,.OffersMethod label,.AgeConsent label{font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.Offers input,.OffersMethod input,.AgeConsent input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.Offers .Checkmark,.OffersMethod .Checkmark,.AgeConsent .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.Offers input:checked~.Checkmark,.OffersMethod input:checked~.Checkmark,.AgeConsent input:checked~.Checkmark{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Offers .Checkmark:after,.OffersMethod .Checkmark:after,.AgeConsent .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;transform:rotate(45deg)}.Offers input:checked~.Checkmark:after,.OffersMethod input:checked~.Checkmark:after,.AgeConsent input:checked~.Checkmark:after{display:block}.NotificationContainer{margin-top:32px}.NotificationContainer p{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #E1A749));font-size:var(--emw--font-size-small, 14px)}.RegisterError{color:var(--emw--color-error, #ed0909);font-size:var(--emw--font-size-medium, 16px);line-height:18px}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}`);
3960
3956
  }
3961
3957
  function Wr(e, t, r) {
@@ -3978,7 +3974,7 @@ function $r(e) {
3978
3974
  e[4]) || p(t, "src", r), t.async = !0, t.defer = !0;
3979
3975
  },
3980
3976
  m(n, i) {
3981
- L(n, t, i);
3977
+ R(n, t, i);
3982
3978
  },
3983
3979
  p(n, i) {
3984
3980
  i[0] & /*captchakey*/
@@ -3986,7 +3982,7 @@ function $r(e) {
3986
3982
  n[4]) && p(t, "src", r);
3987
3983
  },
3988
3984
  d(n) {
3989
- n && k(t);
3985
+ n && I(t);
3990
3986
  }
3991
3987
  };
3992
3988
  }
@@ -3997,10 +3993,10 @@ function Qr(e) {
3997
3993
  ), n;
3998
3994
  return {
3999
3995
  c() {
4000
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
3996
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4001
3997
  },
4002
3998
  m(i, s) {
4003
- L(i, t, s), a(t, n);
3999
+ R(i, t, s), a(t, n);
4004
4000
  },
4005
4001
  p(i, s) {
4006
4002
  s[1] & /*$_*/
@@ -4008,7 +4004,7 @@ function Qr(e) {
4008
4004
  i[31]("registerAddressError") + "") && F(n, r);
4009
4005
  },
4010
4006
  d(i) {
4011
- i && k(t);
4007
+ i && I(t);
4012
4008
  }
4013
4009
  };
4014
4010
  }
@@ -4019,10 +4015,10 @@ function Jr(e) {
4019
4015
  ), n;
4020
4016
  return {
4021
4017
  c() {
4022
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4018
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4023
4019
  },
4024
4020
  m(i, s) {
4025
- L(i, t, s), a(t, n);
4021
+ R(i, t, s), a(t, n);
4026
4022
  },
4027
4023
  p(i, s) {
4028
4024
  s[1] & /*$_*/
@@ -4030,7 +4026,7 @@ function Jr(e) {
4030
4026
  i[31]("registerPostalCodeError") + "") && F(n, r);
4031
4027
  },
4032
4028
  d(i) {
4033
- i && k(t);
4029
+ i && I(t);
4034
4030
  }
4035
4031
  };
4036
4032
  }
@@ -4041,10 +4037,10 @@ function Yr(e) {
4041
4037
  ), n;
4042
4038
  return {
4043
4039
  c() {
4044
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4040
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4045
4041
  },
4046
4042
  m(i, s) {
4047
- L(i, t, s), a(t, n);
4043
+ R(i, t, s), a(t, n);
4048
4044
  },
4049
4045
  p(i, s) {
4050
4046
  s[1] & /*$_*/
@@ -4052,7 +4048,7 @@ function Yr(e) {
4052
4048
  i[31]("registerCityError") + "") && F(n, r);
4053
4049
  },
4054
4050
  d(i) {
4055
- i && k(t);
4051
+ i && I(t);
4056
4052
  }
4057
4053
  };
4058
4054
  }
@@ -4063,11 +4059,11 @@ function Kr(e) {
4063
4059
  ), n, i;
4064
4060
  return {
4065
4061
  c() {
4066
- t = b("option"), n = O(r), t.__value = i = /*country*/
4062
+ t = b("option"), n = M(r), t.__value = i = /*country*/
4067
4063
  e[93].Alpha2Code, le(t, t.__value);
4068
4064
  },
4069
4065
  m(s, o) {
4070
- L(s, t, o), a(t, n);
4066
+ R(s, t, o), a(t, n);
4071
4067
  },
4072
4068
  p(s, o) {
4073
4069
  o[0] & /*countries*/
@@ -4077,7 +4073,7 @@ function Kr(e) {
4077
4073
  s[93].Alpha2Code) && (t.__value = i, le(t, t.__value));
4078
4074
  },
4079
4075
  d(s) {
4080
- s && k(t);
4076
+ s && I(t);
4081
4077
  }
4082
4078
  };
4083
4079
  }
@@ -4088,11 +4084,11 @@ function en(e) {
4088
4084
  ), n, i;
4089
4085
  return {
4090
4086
  c() {
4091
- t = b("option"), n = O(r), t.__value = i = /*nationality*/
4087
+ t = b("option"), n = M(r), t.__value = i = /*nationality*/
4092
4088
  e[90].Alpha2Code, le(t, t.__value);
4093
4089
  },
4094
4090
  m(s, o) {
4095
- L(s, t, o), a(t, n);
4091
+ R(s, t, o), a(t, n);
4096
4092
  },
4097
4093
  p(s, o) {
4098
4094
  o[0] & /*nationalities*/
@@ -4102,7 +4098,7 @@ function en(e) {
4102
4098
  s[90].Alpha2Code) && (t.__value = i, le(t, t.__value));
4103
4099
  },
4104
4100
  d(s) {
4105
- s && k(t);
4101
+ s && I(t);
4106
4102
  }
4107
4103
  };
4108
4104
  }
@@ -4113,11 +4109,11 @@ function tn(e) {
4113
4109
  ), n, i;
4114
4110
  return {
4115
4111
  c() {
4116
- t = b("option"), n = O(r), t.__value = i = /*mobilePrefix*/
4112
+ t = b("option"), n = M(r), t.__value = i = /*mobilePrefix*/
4117
4113
  e[87].Prefix, le(t, t.__value);
4118
4114
  },
4119
4115
  m(s, o) {
4120
- L(s, t, o), a(t, n);
4116
+ R(s, t, o), a(t, n);
4121
4117
  },
4122
4118
  p(s, o) {
4123
4119
  o[0] & /*mobilePrefixes*/
@@ -4127,7 +4123,7 @@ function tn(e) {
4127
4123
  s[87].Prefix) && (t.__value = i, le(t, t.__value));
4128
4124
  },
4129
4125
  d(s) {
4130
- s && k(t);
4126
+ s && I(t);
4131
4127
  }
4132
4128
  };
4133
4129
  }
@@ -4138,10 +4134,10 @@ function rn(e) {
4138
4134
  ), n;
4139
4135
  return {
4140
4136
  c() {
4141
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4137
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4142
4138
  },
4143
4139
  m(i, s) {
4144
- L(i, t, s), a(t, n);
4140
+ R(i, t, s), a(t, n);
4145
4141
  },
4146
4142
  p(i, s) {
4147
4143
  s[1] & /*$_*/
@@ -4149,7 +4145,7 @@ function rn(e) {
4149
4145
  i[31]("registerMobileError") + "") && F(n, r);
4150
4146
  },
4151
4147
  d(i) {
4152
- i && k(t);
4148
+ i && I(t);
4153
4149
  }
4154
4150
  };
4155
4151
  }
@@ -4164,10 +4160,10 @@ function nn(e) {
4164
4160
  );
4165
4161
  return {
4166
4162
  c() {
4167
- n && n.c(), t = S(), i && i.c(), r = Ar();
4163
+ n && n.c(), t = T(), i && i.c(), r = Cr();
4168
4164
  },
4169
4165
  m(s, o) {
4170
- n && n.m(s, o), L(s, t, o), i && i.m(s, o), L(s, r, o);
4166
+ n && n.m(s, o), R(s, t, o), i && i.m(s, o), R(s, r, o);
4171
4167
  },
4172
4168
  p(s, o) {
4173
4169
  /*smsoffers*/
@@ -4176,7 +4172,7 @@ function nn(e) {
4176
4172
  s[1] === "true" ? i ? i.p(s, o) : (i = ln(s), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4177
4173
  },
4178
4174
  d(s) {
4179
- s && (k(t), k(r)), n && n.d(s), i && i.d(s);
4175
+ s && (I(t), I(r)), n && n.d(s), i && i.d(s);
4180
4176
  }
4181
4177
  };
4182
4178
  }
@@ -4193,28 +4189,28 @@ function sn(e) {
4193
4189
  );
4194
4190
  return {
4195
4191
  c() {
4196
- t = b("div"), r = b("label"), i = O(n), s = S(), o = b("input"), l = S(), f = b("span"), u = S(), c = b("div"), _ && _.c(), d = S(), C && C.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4192
+ t = b("div"), r = b("label"), i = M(n), s = T(), o = b("input"), l = T(), f = b("span"), u = T(), c = b("div"), _ && _.c(), d = T(), C && C.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4197
4193
  e[27], p(f, "class", "Checkmark"), p(r, "class", "Offers"), p(c, "class", "OffersMethodsWrapper"), p(t, "class", "OffersContainer");
4198
4194
  },
4199
- m(P, T) {
4200
- L(P, t, T), a(t, r), a(r, i), a(r, s), a(r, o), a(r, l), a(r, f), a(t, u), a(t, c), _ && _.m(c, null), a(c, d), C && C.m(c, null), m || (v = N(
4195
+ m(O, S) {
4196
+ R(O, t, S), a(t, r), a(r, i), a(r, s), a(r, o), a(r, l), a(r, f), a(t, u), a(t, c), _ && _.m(c, null), a(c, d), C && C.m(c, null), m || (v = k(
4201
4197
  o,
4202
4198
  "click",
4203
4199
  /*click_handler*/
4204
4200
  e[64]
4205
4201
  ), m = !0);
4206
4202
  },
4207
- p(P, T) {
4208
- T[1] & /*$_*/
4203
+ p(O, S) {
4204
+ S[1] & /*$_*/
4209
4205
  1 && n !== (n = /*$_*/
4210
- P[31]("registerUserConsents") + "") && F(i, n), T[0] & /*consentOffers*/
4206
+ O[31]("registerUserConsents") + "") && F(i, n), S[0] & /*consentOffers*/
4211
4207
  134217728 && (o.checked = /*consentOffers*/
4212
- P[27]), /*smsoffers*/
4213
- P[2] === "true" ? _ ? _.p(P, T) : (_ = on(P), _.c(), _.m(c, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4214
- P[3] === "true" ? C ? C.p(P, T) : (C = an(P), C.c(), C.m(c, null)) : C && (C.d(1), C = null);
4208
+ O[27]), /*smsoffers*/
4209
+ O[2] === "true" ? _ ? _.p(O, S) : (_ = on(O), _.c(), _.m(c, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4210
+ O[3] === "true" ? C ? C.p(O, S) : (C = an(O), C.c(), C.m(c, null)) : C && (C.d(1), C = null);
4215
4211
  },
4216
- d(P) {
4217
- P && k(t), _ && _.d(), C && C.d(), m = !1, v();
4212
+ d(O) {
4213
+ O && I(t), _ && _.d(), C && C.d(), m = !1, v();
4218
4214
  }
4219
4215
  };
4220
4216
  }
@@ -4225,11 +4221,11 @@ function on(e) {
4225
4221
  ), n, i, s, o, l, f, u, c;
4226
4222
  return {
4227
4223
  c() {
4228
- t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), f = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4224
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), f = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4229
4225
  e[29].userConsents.sms, p(f, "class", "Checkmark"), p(t, "class", "OffersMethod");
4230
4226
  },
4231
4227
  m(d, m) {
4232
- L(d, t, m), a(t, n), a(t, i), a(t, s), a(t, l), a(t, f), u || (c = N(
4228
+ R(d, t, m), a(t, n), a(t, i), a(t, s), a(t, l), a(t, f), u || (c = k(
4233
4229
  s,
4234
4230
  "click",
4235
4231
  /*click_handler_1*/
@@ -4244,7 +4240,7 @@ function on(e) {
4244
4240
  d[29].userConsents.sms) && (s.checked = o);
4245
4241
  },
4246
4242
  d(d) {
4247
- d && k(t), u = !1, c();
4243
+ d && I(t), u = !1, c();
4248
4244
  }
4249
4245
  };
4250
4246
  }
@@ -4255,11 +4251,11 @@ function an(e) {
4255
4251
  ), n, i, s, o, l, f, u, c;
4256
4252
  return {
4257
4253
  c() {
4258
- t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), f = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4254
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), f = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4259
4255
  e[29].userConsents.emailmarketing, p(f, "class", "Checkmark"), p(t, "class", "OffersMethod");
4260
4256
  },
4261
4257
  m(d, m) {
4262
- L(d, t, m), a(t, n), a(t, i), a(t, s), a(t, l), a(t, f), u || (c = N(
4258
+ R(d, t, m), a(t, n), a(t, i), a(t, s), a(t, l), a(t, f), u || (c = k(
4263
4259
  s,
4264
4260
  "click",
4265
4261
  /*click_handler_2*/
@@ -4274,7 +4270,7 @@ function an(e) {
4274
4270
  d[29].userConsents.emailmarketing) && (s.checked = o);
4275
4271
  },
4276
4272
  d(d) {
4277
- d && k(t), u = !1, c();
4273
+ d && I(t), u = !1, c();
4278
4274
  }
4279
4275
  };
4280
4276
  }
@@ -4283,12 +4279,12 @@ function ln(e) {
4283
4279
  e[30].termsandconditions && un(e);
4284
4280
  return {
4285
4281
  c() {
4286
- t = b("div"), r = b("label"), n = b("span"), i = S(), s = b("input"), l = S(), f = b("span"), u = S(), v && v.c(), c = Ar(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4282
+ t = b("div"), r = b("label"), n = b("span"), i = T(), s = b("input"), l = T(), f = b("span"), u = T(), v && v.c(), c = Cr(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4287
4283
  e[29].userConsents.termsandconditions, p(f, "class", "Checkmark"), p(r, "class", "AgeConsent"), p(t, "class", "AgeContainer");
4288
4284
  },
4289
4285
  m(_, C) {
4290
- L(_, t, C), a(t, r), a(r, n), n.innerHTML = /*textTC*/
4291
- e[32], a(r, i), a(r, s), a(r, l), a(r, f), L(_, u, C), v && v.m(_, C), L(_, c, C), d || (m = N(
4286
+ R(_, t, C), a(t, r), a(r, n), n.innerHTML = /*textTC*/
4287
+ e[32], a(r, i), a(r, s), a(r, l), a(r, f), R(_, u, C), v && v.m(_, C), R(_, c, C), d || (m = k(
4292
4288
  s,
4293
4289
  "click",
4294
4290
  /*click_handler_3*/
@@ -4302,7 +4298,7 @@ function ln(e) {
4302
4298
  _[30].termsandconditions ? v && (v.d(1), v = null) : v ? v.p(_, C) : (v = un(_), v.c(), v.m(c.parentNode, c));
4303
4299
  },
4304
4300
  d(_) {
4305
- _ && (k(t), k(u), k(c)), v && v.d(_), d = !1, m();
4301
+ _ && (I(t), I(u), I(c)), v && v.d(_), d = !1, m();
4306
4302
  }
4307
4303
  };
4308
4304
  }
@@ -4313,10 +4309,10 @@ function un(e) {
4313
4309
  ), i;
4314
4310
  return {
4315
4311
  c() {
4316
- t = b("div"), r = b("p"), i = O(n), p(t, "class", "NotificationContainer");
4312
+ t = b("div"), r = b("p"), i = M(n), p(t, "class", "NotificationContainer");
4317
4313
  },
4318
4314
  m(s, o) {
4319
- L(s, t, o), a(t, r), a(r, i);
4315
+ R(s, t, o), a(t, r), a(r, i);
4320
4316
  },
4321
4317
  p(s, o) {
4322
4318
  o[1] & /*$_*/
@@ -4324,7 +4320,7 @@ function un(e) {
4324
4320
  s[31]("registerTermsConditionsError") + "") && F(i, n);
4325
4321
  },
4326
4322
  d(s) {
4327
- s && k(t);
4323
+ s && I(t);
4328
4324
  }
4329
4325
  };
4330
4326
  }
@@ -4332,13 +4328,13 @@ function cn(e) {
4332
4328
  let t, r, n;
4333
4329
  return {
4334
4330
  c() {
4335
- t = b("div"), r = b("p"), n = O(
4331
+ t = b("div"), r = b("p"), n = M(
4336
4332
  /*error*/
4337
4333
  e[16]
4338
4334
  ), p(r, "class", "RegisterError");
4339
4335
  },
4340
4336
  m(i, s) {
4341
- L(i, t, s), a(t, r), a(r, n);
4337
+ R(i, t, s), a(t, r), a(r, n);
4342
4338
  },
4343
4339
  p(i, s) {
4344
4340
  s[0] & /*error*/
@@ -4349,36 +4345,36 @@ function cn(e) {
4349
4345
  );
4350
4346
  },
4351
4347
  d(i) {
4352
- i && k(t);
4348
+ i && I(t);
4353
4349
  }
4354
4350
  };
4355
4351
  }
4356
- function to(e) {
4352
+ function eo(e) {
4357
4353
  let t, r, n, i, s, o, l, f, u, c, d, m, v, _ = (
4358
4354
  /*$_*/
4359
4355
  e[31]("registerBackButton") + ""
4360
- ), C, P, T, j, M, z, V = (
4356
+ ), C, O, S, j, N, z, V = (
4361
4357
  /*$_*/
4362
4358
  e[31]("registerAddress") + ""
4363
- ), fe, xe, Be, yt, X, _t, Le, Ee, G, ee, Ae = (
4359
+ ), fe, Ce, He, bt, X, yt, Ie, Ee, G, ee, xe = (
4364
4360
  /*$_*/
4365
4361
  e[31]("registerPostalCode") + ""
4366
- ), de, Re, ue, pe, W, ce, q, ze, U, y, B = (
4362
+ ), de, Le, ue, pe, W, ce, q, je, U, y, B = (
4367
4363
  /*$_*/
4368
4364
  e[31]("registerCity") + ""
4369
- ), Et, Pt, Ve, Ot, he, we, Xe, vt, Se, Te, We = (
4365
+ ), _t, Bt, ze, Pt, he, Ae, Ve, Et, we, Te, Xe = (
4370
4366
  /*$_*/
4371
4367
  e[31]("registerCountry") + ""
4372
- ), qe, Mt, Ue, Fe, ge, De, Nt, ve, Pe, Ge = (
4368
+ ), We, Ot, Re, Ue, ge, Fe, Mt, ve, Be, De = (
4373
4369
  /*$_*/
4374
4370
  e[31]("registerNationality") + ""
4375
- ), Ct, kt, Ze, It, be, $e, Lt, me, Oe, Qe = (
4371
+ ), vt, Nt, qe, kt, be, Ze, It, me, Pe, $e = (
4376
4372
  /*$_*/
4377
4373
  e[31]("registerMobile") + ""
4378
- ), xt, Rt, Je, Ut, Me, ye, Ft, Z, Dt, Ye, Gt, At, He, Ke = (
4374
+ ), Ct, Lt, Qe, Rt, Oe, ye, Ut, Z, Ft, Je, Dt, xt, Se, Ye = (
4379
4375
  /*$_*/
4380
4376
  e[31]("registerOpenAccount") + ""
4381
- ), g, A, D, rr, Tr, te = (
4377
+ ), g, A, D, er, Sr, te = (
4382
4378
  /*captchakey*/
4383
4379
  e[4] && $r(e)
4384
4380
  ), re = (
@@ -4390,24 +4386,24 @@ function to(e) {
4390
4386
  ), ie = (
4391
4387
  /*invalidCity*/
4392
4388
  e[9] && Yr(e)
4393
- ), et = st(
4389
+ ), Ke = it(
4394
4390
  /*countries*/
4395
4391
  e[20]
4396
4392
  ), $ = [];
4397
- for (let h = 0; h < et.length; h += 1)
4398
- $[h] = Kr(Zr(e, et, h));
4399
- let tt = st(
4393
+ for (let h = 0; h < Ke.length; h += 1)
4394
+ $[h] = Kr(Zr(e, Ke, h));
4395
+ let et = it(
4400
4396
  /*nationalities*/
4401
4397
  e[22]
4402
4398
  ), Q = [];
4403
- for (let h = 0; h < tt.length; h += 1)
4404
- Q[h] = en(qr(e, tt, h));
4405
- let rt = st(
4399
+ for (let h = 0; h < et.length; h += 1)
4400
+ Q[h] = en(qr(e, et, h));
4401
+ let tt = it(
4406
4402
  /*mobilePrefixes*/
4407
4403
  e[25]
4408
4404
  ), J = [];
4409
- for (let h = 0; h < rt.length; h += 1)
4410
- J[h] = tn(Wr(e, rt, h));
4405
+ for (let h = 0; h < tt.length; h += 1)
4406
+ J[h] = tn(Wr(e, tt, h));
4411
4407
  let se = (
4412
4408
  /*invalidMobile*/
4413
4409
  e[8] && rn(e)
@@ -4420,218 +4416,218 @@ function to(e) {
4420
4416
  );
4421
4417
  return {
4422
4418
  c() {
4423
- te && te.c(), t = Ar(), r = S(), n = b("div"), i = S(), s = b("div"), o = b("div"), l = b("button"), f = zt("svg"), u = zt("defs"), c = zt("style"), d = O(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = zt("path"), v = S(), C = O(_), P = S(), T = b("form"), j = b("div"), M = b("div"), z = b("label"), fe = O(V), xe = O(":"), Be = b("span"), Be.textContent = "*", yt = S(), X = b("input"), _t = S(), re && re.c(), Ee = S(), G = b("div"), ee = b("label"), de = O(Ae), Re = O(":"), ue = b("span"), ue.textContent = "*", pe = S(), W = b("input"), ce = S(), ne && ne.c(), ze = S(), U = b("div"), y = b("label"), Et = O(B), Pt = O(":"), Ve = b("span"), Ve.textContent = "*", Ot = S(), he = b("input"), we = S(), ie && ie.c(), vt = S(), Se = b("div"), Te = b("label"), qe = O(We), Mt = O(":"), Ue = b("span"), Ue.textContent = "*", Fe = S(), ge = b("select");
4419
+ te && te.c(), t = Cr(), r = T(), n = b("div"), i = T(), s = b("div"), o = b("div"), l = b("button"), f = jt("svg"), u = jt("defs"), c = jt("style"), d = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = jt("path"), v = T(), C = M(_), O = T(), S = b("form"), j = b("div"), N = b("div"), z = b("label"), fe = M(V), Ce = M(":"), He = b("span"), He.textContent = "*", bt = T(), X = b("input"), yt = T(), re && re.c(), Ee = T(), G = b("div"), ee = b("label"), de = M(xe), Le = M(":"), ue = b("span"), ue.textContent = "*", pe = T(), W = b("input"), ce = T(), ne && ne.c(), je = T(), U = b("div"), y = b("label"), _t = M(B), Bt = M(":"), ze = b("span"), ze.textContent = "*", Pt = T(), he = b("input"), Ae = T(), ie && ie.c(), Et = T(), we = b("div"), Te = b("label"), We = M(Xe), Ot = M(":"), Re = b("span"), Re.textContent = "*", Ue = T(), ge = b("select");
4424
4420
  for (let h = 0; h < $.length; h += 1)
4425
4421
  $[h].c();
4426
- Nt = S(), ve = b("div"), Pe = b("label"), Ct = O(Ge), kt = O(":"), Ze = b("span"), Ze.textContent = "*", It = S(), be = b("select");
4422
+ Mt = T(), ve = b("div"), Be = b("label"), vt = M(De), Nt = M(":"), qe = b("span"), qe.textContent = "*", kt = T(), be = b("select");
4427
4423
  for (let h = 0; h < Q.length; h += 1)
4428
4424
  Q[h].c();
4429
- Lt = S(), me = b("div"), Oe = b("label"), xt = O(Qe), Rt = O(":"), Je = b("span"), Je.textContent = "*", Ut = S(), Me = b("div"), ye = b("select");
4425
+ It = T(), me = b("div"), Pe = b("label"), Ct = M($e), Lt = M(":"), Qe = b("span"), Qe.textContent = "*", Rt = T(), Oe = b("div"), ye = b("select");
4430
4426
  for (let h = 0; h < J.length; h += 1)
4431
4427
  J[h].c();
4432
- Ft = S(), Z = b("input"), Dt = S(), se && se.c(), Gt = S(), oe && oe.c(), At = S(), He = b("button"), g = O(Ke), D = S(), ae && ae.c(), p(n, "class", "g-recaptcha"), p(
4428
+ Ut = T(), Z = b("input"), Ft = T(), se && se.c(), Dt = T(), oe && oe.c(), xt = T(), Se = b("button"), g = M(Ye), D = T(), ae && ae.c(), p(n, "class", "g-recaptcha"), p(
4433
4429
  n,
4434
4430
  "data-sitekey",
4435
4431
  /*captchakey*/
4436
4432
  e[4]
4437
- ), p(m, "class", "a"), p(m, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), p(m, "transform", "translate(24 24) rotate(180)"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(Be, "class", "FormRequired"), p(z, "for", "Address"), p(X, "type", "text"), p(X, "id", "Address"), p(M, "class", Le = "AddressContainer " + /*invalidAddress*/
4433
+ ), p(m, "class", "a"), p(m, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), p(m, "transform", "translate(24 24) rotate(180)"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(He, "class", "FormRequired"), p(z, "for", "Address"), p(X, "type", "text"), p(X, "id", "Address"), p(N, "class", Ie = "AddressContainer " + /*invalidAddress*/
4438
4434
  (e[6] && !/*addressFocus*/
4439
4435
  e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4440
4436
  (e[14]?.indexOf("address") >= 0 ? "Hidden" : "")), p(ue, "class", "FormRequired"), p(ee, "for", "PostalCode"), p(W, "type", "text"), p(W, "id", "PostalCode"), p(G, "class", q = "PostalCodeContainer " + /*invalidPostalCode*/
4441
4437
  (e[7] && !/*postalCodeFocus*/
4442
4438
  e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4443
- (e[14]?.indexOf("postalCode") >= 0 ? "Hidden" : "")), p(j, "class", "AddressPostalCodeContainer"), p(Ve, "class", "FormRequired"), p(y, "for", "City"), p(he, "type", "text"), p(he, "id", "City"), p(U, "class", Xe = "CityContainer " + /*invalidCity*/
4439
+ (e[14]?.indexOf("postalCode") >= 0 ? "Hidden" : "")), p(j, "class", "AddressPostalCodeContainer"), p(ze, "class", "FormRequired"), p(y, "for", "City"), p(he, "type", "text"), p(he, "id", "City"), p(U, "class", Ve = "CityContainer " + /*invalidCity*/
4444
4440
  (e[9] && /*cityFocus*/
4445
4441
  e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4446
- (e[14]?.indexOf("city") >= 0 ? "Hidden" : "")), p(Ue, "class", "FormRequired"), p(Te, "for", "Country"), p(ge, "id", "Country"), /*countrySelected*/
4447
- e[21] === void 0 && ut(() => (
4442
+ (e[14]?.indexOf("city") >= 0 ? "Hidden" : "")), p(Re, "class", "FormRequired"), p(Te, "for", "Country"), p(ge, "id", "Country"), /*countrySelected*/
4443
+ e[21] === void 0 && lt(() => (
4448
4444
  /*select0_change_handler*/
4449
4445
  e[58].call(ge)
4450
- )), p(Se, "class", De = "CountryContainer " + /*disabledFieldsList*/
4451
- (e[14]?.indexOf("country") >= 0 ? "Hidden" : "")), p(Ze, "class", "FormRequired"), p(Pe, "for", "Nationality"), p(be, "id", "Nationality"), /*nationalitySelected*/
4452
- e[23] === void 0 && ut(() => (
4446
+ )), p(we, "class", Fe = "CountryContainer " + /*disabledFieldsList*/
4447
+ (e[14]?.indexOf("country") >= 0 ? "Hidden" : "")), p(qe, "class", "FormRequired"), p(Be, "for", "Nationality"), p(be, "id", "Nationality"), /*nationalitySelected*/
4448
+ e[23] === void 0 && lt(() => (
4453
4449
  /*select1_change_handler*/
4454
4450
  e[59].call(be)
4455
- )), p(ve, "class", $e = "NationalityContainer " + /*disabledFieldsList*/
4456
- (e[14]?.indexOf("nationality") >= 0 ? "Hidden" : "")), p(Je, "class", "FormRequired"), p(Oe, "for", "Mobile"), p(ye, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4457
- e[26] === void 0 && ut(() => (
4451
+ )), p(ve, "class", Ze = "NationalityContainer " + /*disabledFieldsList*/
4452
+ (e[14]?.indexOf("nationality") >= 0 ? "Hidden" : "")), p(Qe, "class", "FormRequired"), p(Pe, "for", "Mobile"), p(ye, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4453
+ e[26] === void 0 && lt(() => (
4458
4454
  /*select2_change_handler*/
4459
4455
  e[60].call(ye)
4460
- )), p(Z, "type", "text"), p(Z, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p(Z, "id", "Mobile"), p(Z, "class", "MobileInput"), p(Me, "class", "MobileWrapper"), p(me, "class", Ye = "MobileContainer " + /*invalidMobile*/
4456
+ )), p(Z, "type", "text"), p(Z, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p(Z, "id", "Mobile"), p(Z, "class", "MobileInput"), p(Oe, "class", "MobileWrapper"), p(me, "class", Je = "MobileContainer " + /*invalidMobile*/
4461
4457
  (e[8] && !/*mobileFocus*/
4462
4458
  e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4463
- (e[14]?.indexOf("mobile") >= 0 ? "Hidden" : "")), p(He, "class", "RegisterStepNext"), He.disabled = A = !/*isValid*/
4464
- e[28], p(T, "class", "RegisterFormContent");
4459
+ (e[14]?.indexOf("mobile") >= 0 ? "Hidden" : "")), p(Se, "class", "RegisterStepNext"), Se.disabled = A = !/*isValid*/
4460
+ e[28], p(S, "class", "RegisterFormContent");
4465
4461
  },
4466
4462
  m(h, x) {
4467
- te && te.m(document.head, null), a(document.head, t), L(h, r, x), L(h, n, x), L(h, i, x), L(h, s, x), a(s, o), a(o, l), a(l, f), a(f, u), a(u, c), a(c, d), a(f, m), a(l, v), a(l, C), a(s, P), a(s, T), a(T, j), a(j, M), a(M, z), a(z, fe), a(z, xe), a(z, Be), a(M, yt), a(M, X), le(
4463
+ te && te.m(document.head, null), a(document.head, t), R(h, r, x), R(h, n, x), R(h, i, x), R(h, s, x), a(s, o), a(o, l), a(l, f), a(f, u), a(u, c), a(c, d), a(f, m), a(l, v), a(l, C), a(s, O), a(s, S), a(S, j), a(j, N), a(N, z), a(z, fe), a(z, Ce), a(z, He), a(N, bt), a(N, X), le(
4468
4464
  X,
4469
4465
  /*address*/
4470
4466
  e[17]
4471
- ), a(M, _t), re && re.m(M, null), a(j, Ee), a(j, G), a(G, ee), a(ee, de), a(ee, Re), a(ee, ue), a(G, pe), a(G, W), le(
4467
+ ), a(N, yt), re && re.m(N, null), a(j, Ee), a(j, G), a(G, ee), a(ee, de), a(ee, Le), a(ee, ue), a(G, pe), a(G, W), le(
4472
4468
  W,
4473
4469
  /*postalCode*/
4474
4470
  e[18]
4475
- ), a(G, ce), ne && ne.m(G, null), a(T, ze), a(T, U), a(U, y), a(y, Et), a(y, Pt), a(y, Ve), a(U, Ot), a(U, he), le(
4471
+ ), a(G, ce), ne && ne.m(G, null), a(S, je), a(S, U), a(U, y), a(y, _t), a(y, Bt), a(y, ze), a(U, Pt), a(U, he), le(
4476
4472
  he,
4477
4473
  /*city*/
4478
4474
  e[19]
4479
- ), a(U, we), ie && ie.m(U, null), a(T, vt), a(T, Se), a(Se, Te), a(Te, qe), a(Te, Mt), a(Te, Ue), a(Se, Fe), a(Se, ge);
4475
+ ), a(U, Ae), ie && ie.m(U, null), a(S, Et), a(S, we), a(we, Te), a(Te, We), a(Te, Ot), a(Te, Re), a(we, Ue), a(we, ge);
4480
4476
  for (let E = 0; E < $.length; E += 1)
4481
4477
  $[E] && $[E].m(ge, null);
4482
- nt(
4478
+ rt(
4483
4479
  ge,
4484
4480
  /*countrySelected*/
4485
4481
  e[21],
4486
4482
  !0
4487
- ), a(T, Nt), a(T, ve), a(ve, Pe), a(Pe, Ct), a(Pe, kt), a(Pe, Ze), a(ve, It), a(ve, be);
4483
+ ), a(S, Mt), a(S, ve), a(ve, Be), a(Be, vt), a(Be, Nt), a(Be, qe), a(ve, kt), a(ve, be);
4488
4484
  for (let E = 0; E < Q.length; E += 1)
4489
4485
  Q[E] && Q[E].m(be, null);
4490
- nt(
4486
+ rt(
4491
4487
  be,
4492
4488
  /*nationalitySelected*/
4493
4489
  e[23],
4494
4490
  !0
4495
- ), a(T, Lt), a(T, me), a(me, Oe), a(Oe, xt), a(Oe, Rt), a(Oe, Je), a(me, Ut), a(me, Me), a(Me, ye);
4491
+ ), a(S, It), a(S, me), a(me, Pe), a(Pe, Ct), a(Pe, Lt), a(Pe, Qe), a(me, Rt), a(me, Oe), a(Oe, ye);
4496
4492
  for (let E = 0; E < J.length; E += 1)
4497
4493
  J[E] && J[E].m(ye, null);
4498
- nt(
4494
+ rt(
4499
4495
  ye,
4500
4496
  /*mobilePrefixSelected*/
4501
4497
  e[26],
4502
4498
  !0
4503
- ), a(Me, Ft), a(Me, Z), le(
4499
+ ), a(Oe, Ut), a(Oe, Z), le(
4504
4500
  Z,
4505
4501
  /*mobile*/
4506
4502
  e[24]
4507
- ), a(me, Dt), se && se.m(me, null), a(T, Gt), oe && oe.m(T, null), a(T, At), a(T, He), a(He, g), a(s, D), ae && ae.m(s, null), e[69](s), rr || (Tr = [
4508
- N(
4503
+ ), a(me, Ft), se && se.m(me, null), a(S, Dt), oe && oe.m(S, null), a(S, xt), a(S, Se), a(Se, g), a(s, D), ae && ae.m(s, null), e[69](s), er || (Sr = [
4504
+ k(
4509
4505
  l,
4510
4506
  "click",
4511
4507
  /*goBack*/
4512
4508
  e[40]
4513
4509
  ),
4514
- N(
4510
+ k(
4515
4511
  X,
4516
4512
  "input",
4517
4513
  /*input0_input_handler*/
4518
4514
  e[49]
4519
4515
  ),
4520
- N(
4516
+ k(
4521
4517
  X,
4522
4518
  "keyup",
4523
4519
  /*validateAddress*/
4524
4520
  e[33]
4525
4521
  ),
4526
- N(
4522
+ k(
4527
4523
  X,
4528
4524
  "focus",
4529
4525
  /*focus_handler*/
4530
4526
  e[50]
4531
4527
  ),
4532
- N(
4528
+ k(
4533
4529
  X,
4534
4530
  "blur",
4535
4531
  /*blur_handler*/
4536
4532
  e[51]
4537
4533
  ),
4538
- N(
4534
+ k(
4539
4535
  W,
4540
4536
  "input",
4541
4537
  /*input1_input_handler*/
4542
4538
  e[52]
4543
4539
  ),
4544
- N(
4540
+ k(
4545
4541
  W,
4546
4542
  "keyup",
4547
4543
  /*validatePostalCode*/
4548
4544
  e[34]
4549
4545
  ),
4550
- N(
4546
+ k(
4551
4547
  W,
4552
4548
  "focus",
4553
4549
  /*focus_handler_1*/
4554
4550
  e[53]
4555
4551
  ),
4556
- N(
4552
+ k(
4557
4553
  W,
4558
4554
  "blur",
4559
4555
  /*blur_handler_1*/
4560
4556
  e[54]
4561
4557
  ),
4562
- N(
4558
+ k(
4563
4559
  he,
4564
4560
  "input",
4565
4561
  /*input2_input_handler*/
4566
4562
  e[55]
4567
4563
  ),
4568
- N(
4564
+ k(
4569
4565
  he,
4570
4566
  "keyup",
4571
4567
  /*validateCity*/
4572
4568
  e[35]
4573
4569
  ),
4574
- N(
4570
+ k(
4575
4571
  he,
4576
4572
  "focus",
4577
4573
  /*focus_handler_2*/
4578
4574
  e[56]
4579
4575
  ),
4580
- N(
4576
+ k(
4581
4577
  he,
4582
4578
  "blur",
4583
4579
  /*blur_handler_2*/
4584
4580
  e[57]
4585
4581
  ),
4586
- N(
4582
+ k(
4587
4583
  ge,
4588
4584
  "change",
4589
4585
  /*select0_change_handler*/
4590
4586
  e[58]
4591
4587
  ),
4592
- N(
4588
+ k(
4593
4589
  be,
4594
4590
  "change",
4595
4591
  /*select1_change_handler*/
4596
4592
  e[59]
4597
4593
  ),
4598
- N(
4594
+ k(
4599
4595
  ye,
4600
4596
  "change",
4601
4597
  /*select2_change_handler*/
4602
4598
  e[60]
4603
4599
  ),
4604
- N(
4600
+ k(
4605
4601
  Z,
4606
4602
  "input",
4607
4603
  /*input3_input_handler*/
4608
4604
  e[61]
4609
4605
  ),
4610
- N(
4606
+ k(
4611
4607
  Z,
4612
4608
  "keyup",
4613
4609
  /*validateMobile*/
4614
4610
  e[36]
4615
4611
  ),
4616
- N(
4612
+ k(
4617
4613
  Z,
4618
4614
  "focus",
4619
4615
  /*focus_handler_3*/
4620
4616
  e[62]
4621
4617
  ),
4622
- N(
4618
+ k(
4623
4619
  Z,
4624
4620
  "blur",
4625
4621
  /*blur_handler_3*/
4626
4622
  e[63]
4627
4623
  ),
4628
- N(
4629
- He,
4624
+ k(
4625
+ Se,
4630
4626
  "click",
4631
4627
  /*click_handler_4*/
4632
4628
  e[68]
4633
4629
  )
4634
- ], rr = !0);
4630
+ ], er = !0);
4635
4631
  },
4636
4632
  p(h, x) {
4637
4633
  if (/*captchakey*/
@@ -4652,13 +4648,13 @@ function to(e) {
4652
4648
  /*address*/
4653
4649
  h[17]
4654
4650
  ), /*invalidAddress*/
4655
- h[6] ? re ? re.p(h, x) : (re = Qr(h), re.c(), re.m(M, null)) : re && (re.d(1), re = null), x[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4656
- 17472 && Le !== (Le = "AddressContainer " + /*invalidAddress*/
4651
+ h[6] ? re ? re.p(h, x) : (re = Qr(h), re.c(), re.m(N, null)) : re && (re.d(1), re = null), x[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4652
+ 17472 && Ie !== (Ie = "AddressContainer " + /*invalidAddress*/
4657
4653
  (h[6] && !/*addressFocus*/
4658
4654
  h[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4659
- (h[14]?.indexOf("address") >= 0 ? "Hidden" : "")) && p(M, "class", Le), x[1] & /*$_*/
4660
- 1 && Ae !== (Ae = /*$_*/
4661
- h[31]("registerPostalCode") + "") && F(de, Ae), x[0] & /*postalCode*/
4655
+ (h[14]?.indexOf("address") >= 0 ? "Hidden" : "")) && p(N, "class", Ie), x[1] & /*$_*/
4656
+ 1 && xe !== (xe = /*$_*/
4657
+ h[31]("registerPostalCode") + "") && F(de, xe), x[0] & /*postalCode*/
4662
4658
  262144 && W.value !== /*postalCode*/
4663
4659
  h[18] && le(
4664
4660
  W,
@@ -4671,7 +4667,7 @@ function to(e) {
4671
4667
  h[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4672
4668
  (h[14]?.indexOf("postalCode") >= 0 ? "Hidden" : "")) && p(G, "class", q), x[1] & /*$_*/
4673
4669
  1 && B !== (B = /*$_*/
4674
- h[31]("registerCity") + "") && F(Et, B), x[0] & /*city*/
4670
+ h[31]("registerCity") + "") && F(_t, B), x[0] & /*city*/
4675
4671
  524288 && he.value !== /*city*/
4676
4672
  h[19] && le(
4677
4673
  he,
@@ -4679,76 +4675,76 @@ function to(e) {
4679
4675
  h[19]
4680
4676
  ), /*invalidCity*/
4681
4677
  h[9] ? ie ? ie.p(h, x) : (ie = Yr(h), ie.c(), ie.m(U, null)) : ie && (ie.d(1), ie = null), x[0] & /*invalidCity, cityFocus, disabledFieldsList*/
4682
- 25088 && Xe !== (Xe = "CityContainer " + /*invalidCity*/
4678
+ 25088 && Ve !== (Ve = "CityContainer " + /*invalidCity*/
4683
4679
  (h[9] && /*cityFocus*/
4684
4680
  h[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4685
- (h[14]?.indexOf("city") >= 0 ? "Hidden" : "")) && p(U, "class", Xe), x[1] & /*$_*/
4686
- 1 && We !== (We = /*$_*/
4687
- h[31]("registerCountry") + "") && F(qe, We), x[0] & /*countries*/
4681
+ (h[14]?.indexOf("city") >= 0 ? "Hidden" : "")) && p(U, "class", Ve), x[1] & /*$_*/
4682
+ 1 && Xe !== (Xe = /*$_*/
4683
+ h[31]("registerCountry") + "") && F(We, Xe), x[0] & /*countries*/
4688
4684
  1048576) {
4689
- et = st(
4685
+ Ke = it(
4690
4686
  /*countries*/
4691
4687
  h[20]
4692
4688
  );
4693
4689
  let E;
4694
- for (E = 0; E < et.length; E += 1) {
4695
- const Ne = Zr(h, et, E);
4696
- $[E] ? $[E].p(Ne, x) : ($[E] = Kr(Ne), $[E].c(), $[E].m(ge, null));
4690
+ for (E = 0; E < Ke.length; E += 1) {
4691
+ const Me = Zr(h, Ke, E);
4692
+ $[E] ? $[E].p(Me, x) : ($[E] = Kr(Me), $[E].c(), $[E].m(ge, null));
4697
4693
  }
4698
4694
  for (; E < $.length; E += 1)
4699
4695
  $[E].d(1);
4700
- $.length = et.length;
4696
+ $.length = Ke.length;
4701
4697
  }
4702
4698
  if (x[0] & /*countrySelected, countries*/
4703
- 3145728 && nt(
4699
+ 3145728 && rt(
4704
4700
  ge,
4705
4701
  /*countrySelected*/
4706
4702
  h[21]
4707
4703
  ), x[0] & /*disabledFieldsList*/
4708
- 16384 && De !== (De = "CountryContainer " + /*disabledFieldsList*/
4709
- (h[14]?.indexOf("country") >= 0 ? "Hidden" : "")) && p(Se, "class", De), x[1] & /*$_*/
4710
- 1 && Ge !== (Ge = /*$_*/
4711
- h[31]("registerNationality") + "") && F(Ct, Ge), x[0] & /*nationalities*/
4704
+ 16384 && Fe !== (Fe = "CountryContainer " + /*disabledFieldsList*/
4705
+ (h[14]?.indexOf("country") >= 0 ? "Hidden" : "")) && p(we, "class", Fe), x[1] & /*$_*/
4706
+ 1 && De !== (De = /*$_*/
4707
+ h[31]("registerNationality") + "") && F(vt, De), x[0] & /*nationalities*/
4712
4708
  4194304) {
4713
- tt = st(
4709
+ et = it(
4714
4710
  /*nationalities*/
4715
4711
  h[22]
4716
4712
  );
4717
4713
  let E;
4718
- for (E = 0; E < tt.length; E += 1) {
4719
- const Ne = qr(h, tt, E);
4720
- Q[E] ? Q[E].p(Ne, x) : (Q[E] = en(Ne), Q[E].c(), Q[E].m(be, null));
4714
+ for (E = 0; E < et.length; E += 1) {
4715
+ const Me = qr(h, et, E);
4716
+ Q[E] ? Q[E].p(Me, x) : (Q[E] = en(Me), Q[E].c(), Q[E].m(be, null));
4721
4717
  }
4722
4718
  for (; E < Q.length; E += 1)
4723
4719
  Q[E].d(1);
4724
- Q.length = tt.length;
4720
+ Q.length = et.length;
4725
4721
  }
4726
4722
  if (x[0] & /*nationalitySelected, nationalities*/
4727
- 12582912 && nt(
4723
+ 12582912 && rt(
4728
4724
  be,
4729
4725
  /*nationalitySelected*/
4730
4726
  h[23]
4731
4727
  ), x[0] & /*disabledFieldsList*/
4732
- 16384 && $e !== ($e = "NationalityContainer " + /*disabledFieldsList*/
4733
- (h[14]?.indexOf("nationality") >= 0 ? "Hidden" : "")) && p(ve, "class", $e), x[1] & /*$_*/
4734
- 1 && Qe !== (Qe = /*$_*/
4735
- h[31]("registerMobile") + "") && F(xt, Qe), x[0] & /*mobilePrefixes*/
4728
+ 16384 && Ze !== (Ze = "NationalityContainer " + /*disabledFieldsList*/
4729
+ (h[14]?.indexOf("nationality") >= 0 ? "Hidden" : "")) && p(ve, "class", Ze), x[1] & /*$_*/
4730
+ 1 && $e !== ($e = /*$_*/
4731
+ h[31]("registerMobile") + "") && F(Ct, $e), x[0] & /*mobilePrefixes*/
4736
4732
  33554432) {
4737
- rt = st(
4733
+ tt = it(
4738
4734
  /*mobilePrefixes*/
4739
4735
  h[25]
4740
4736
  );
4741
4737
  let E;
4742
- for (E = 0; E < rt.length; E += 1) {
4743
- const Ne = Wr(h, rt, E);
4744
- J[E] ? J[E].p(Ne, x) : (J[E] = tn(Ne), J[E].c(), J[E].m(ye, null));
4738
+ for (E = 0; E < tt.length; E += 1) {
4739
+ const Me = Wr(h, tt, E);
4740
+ J[E] ? J[E].p(Me, x) : (J[E] = tn(Me), J[E].c(), J[E].m(ye, null));
4745
4741
  }
4746
4742
  for (; E < J.length; E += 1)
4747
4743
  J[E].d(1);
4748
- J.length = rt.length;
4744
+ J.length = tt.length;
4749
4745
  }
4750
4746
  x[0] & /*mobilePrefixSelected, mobilePrefixes*/
4751
- 100663296 && nt(
4747
+ 100663296 && rt(
4752
4748
  ye,
4753
4749
  /*mobilePrefixSelected*/
4754
4750
  h[26]
@@ -4760,28 +4756,28 @@ function to(e) {
4760
4756
  h[24]
4761
4757
  ), /*invalidMobile*/
4762
4758
  h[8] ? se ? se.p(h, x) : (se = rn(h), se.c(), se.m(me, null)) : se && (se.d(1), se = null), x[0] & /*invalidMobile, mobileFocus, disabledFieldsList*/
4763
- 20736 && Ye !== (Ye = "MobileContainer " + /*invalidMobile*/
4759
+ 20736 && Je !== (Je = "MobileContainer " + /*invalidMobile*/
4764
4760
  (h[8] && !/*mobileFocus*/
4765
4761
  h[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4766
- (h[14]?.indexOf("mobile") >= 0 ? "Hidden" : "")) && p(me, "class", Ye), /*userconsentsexist*/
4767
- h[0] === "true" ? oe ? oe.p(h, x) : (oe = nn(h), oe.c(), oe.m(T, At)) : oe && (oe.d(1), oe = null), x[1] & /*$_*/
4768
- 1 && Ke !== (Ke = /*$_*/
4769
- h[31]("registerOpenAccount") + "") && F(g, Ke), x[0] & /*isValid*/
4762
+ (h[14]?.indexOf("mobile") >= 0 ? "Hidden" : "")) && p(me, "class", Je), /*userconsentsexist*/
4763
+ h[0] === "true" ? oe ? oe.p(h, x) : (oe = nn(h), oe.c(), oe.m(S, xt)) : oe && (oe.d(1), oe = null), x[1] & /*$_*/
4764
+ 1 && Ye !== (Ye = /*$_*/
4765
+ h[31]("registerOpenAccount") + "") && F(g, Ye), x[0] & /*isValid*/
4770
4766
  268435456 && A !== (A = !/*isValid*/
4771
- h[28]) && (He.disabled = A), /*showError*/
4767
+ h[28]) && (Se.disabled = A), /*showError*/
4772
4768
  h[15] ? ae ? ae.p(h, x) : (ae = cn(h), ae.c(), ae.m(s, null)) : ae && (ae.d(1), ae = null);
4773
4769
  },
4774
4770
  i: _e,
4775
4771
  o: _e,
4776
4772
  d(h) {
4777
- h && (k(r), k(n), k(i), k(s)), te && te.d(h), k(t), re && re.d(), ne && ne.d(), ie && ie.d(), nr($, h), nr(Q, h), nr(J, h), se && se.d(), oe && oe.d(), ae && ae.d(), e[69](null), rr = !1, mt(Tr);
4773
+ h && (I(r), I(n), I(i), I(s)), te && te.d(h), I(t), re && re.d(), ne && ne.d(), ie && ie.d(), tr($, h), tr(Q, h), tr(J, h), se && se.d(), oe && oe.d(), ae && ae.d(), e[69](null), er = !1, dt(Sr);
4778
4774
  }
4779
4775
  };
4780
4776
  }
4781
- function ro(e, t, r) {
4777
+ function to(e, t, r) {
4782
4778
  let n;
4783
- Dn(e, Zs, (g) => r(31, n = g));
4784
- let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: f = "" } = t, { captchakey: u = "" } = t, { lang: c = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: v } = t, { clientstyling: _ = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: P = "" } = t, T, j, M, z, V = !1, fe = !1, xe = !1, Be = !1, yt, X, _t = !1, Le = "", Ee = "", G = "", ee = "", Ae = [], de = "", Re = [], ue = "", pe = "", W = [], ce = "", q = !1, ze = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4779
+ Dn(e, qs, (g) => r(31, n = g));
4780
+ let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: f = "" } = t, { captchakey: u = "" } = t, { lang: c = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: v } = t, { clientstyling: _ = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: O = "" } = t, S, j, N, z, V = !1, fe = !1, Ce = !1, He = !1, bt, X, yt = !1, Ie = "", Ee = "", G = "", ee = "", xe = [], de = "", Le = [], ue = "", pe = "", W = [], ce = "", q = !1, je = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4785
4781
  address1: !1,
4786
4782
  postalCode: !1,
4787
4783
  city: !1,
@@ -4790,9 +4786,9 @@ function ro(e, t, r) {
4790
4786
  mobile: !1,
4791
4787
  termsandconditions: s === "false"
4792
4788
  };
4793
- $s({ withLocale: "en", translations: {} });
4794
- const Et = () => {
4795
- fetch(P).then((A) => A.json()).then((A) => {
4789
+ Zs({ withLocale: "en", translations: {} });
4790
+ const _t = () => {
4791
+ fetch(O).then((A) => A.json()).then((A) => {
4796
4792
  Object.keys(A).forEach((D) => {
4797
4793
  Vr(D, A[D]);
4798
4794
  });
@@ -4803,14 +4799,14 @@ function ro(e, t, r) {
4803
4799
  Object.keys(Xr).forEach((g) => {
4804
4800
  Vr(g, Xr[g]);
4805
4801
  });
4806
- let Pt = n("registerTermsConditions");
4807
- const Ve = () => {
4802
+ let Bt = n("registerTermsConditions");
4803
+ const ze = () => {
4808
4804
  fetch(`${f}/v1/player/countries`).then((g) => g.json()).then((g) => {
4809
4805
  fetch(`${f}/v1/player/operatorSupportedCountries`).then((A) => A.status >= 300 ? new Error("Error while fetching the supported countries") : A.json()).then((A) => {
4810
- r(20, Ae = g.countries.filter((D) => A.countries.indexOf(D.Alpha2Code) >= 0)), de || (r(21, de = Ae[0].Alpha2Code), r(30, B.country = !0, B)), r(22, Re = g.countries), ue || (r(23, ue = Re.filter((D) => A.countries.indexOf(D.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4806
+ r(20, xe = g.countries.filter((D) => A.countries.indexOf(D.Alpha2Code) >= 0)), de || (r(21, de = xe[0].Alpha2Code), r(30, B.country = !0, B)), r(22, Le = g.countries), ue || (r(23, ue = Le.filter((D) => A.countries.indexOf(D.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4811
4807
  });
4812
4808
  });
4813
- }, Ot = () => {
4809
+ }, Pt = () => {
4814
4810
  fetch(`${f}/v1/player/phonecodes`).then((g) => g.json()).then((g) => {
4815
4811
  r(25, W = g.phoneCodes), ce || r(26, ce = W[0].Prefix);
4816
4812
  });
@@ -4818,13 +4814,13 @@ function ro(e, t, r) {
4818
4814
  if (!(d.indexOf(g) >= 0))
4819
4815
  switch (g) {
4820
4816
  case "address1":
4821
- r(17, Ee = A), vt();
4817
+ r(17, Ee = A), Et();
4822
4818
  break;
4823
4819
  case "postalCode":
4824
4820
  r(18, G = A), Te();
4825
4821
  break;
4826
4822
  case "city":
4827
- r(19, ee = A), qe();
4823
+ r(19, ee = A), We();
4828
4824
  break;
4829
4825
  case "country":
4830
4826
  r(21, de = A), r(30, B.country = !0, B);
@@ -4833,29 +4829,29 @@ function ro(e, t, r) {
4833
4829
  r(23, ue = A), r(30, B.nationality = !0, B);
4834
4830
  break;
4835
4831
  case "mobile":
4836
- r(26, ce = A.prefix), r(24, pe = A.number), Ue();
4832
+ r(26, ce = A.prefix), r(24, pe = A.number), Re();
4837
4833
  break;
4838
4834
  case "userConsents":
4839
- Object.keys(A).length !== 0 && (A.termsandconditions && A.sms && r(27, q = !0), r(30, B.termsandconditions = A.termsandconditions, B), r(29, y.userConsents.termsandconditions = A.termsandconditions, y), r(29, y.userConsents.sms = A.sms, y), r(29, y.userConsents.emailmarketing = A.emailmarketing, y)), we();
4835
+ Object.keys(A).length !== 0 && (A.termsandconditions && A.sms && r(27, q = !0), r(30, B.termsandconditions = A.termsandconditions, B), r(29, y.userConsents.termsandconditions = A.termsandconditions, y), r(29, y.userConsents.sms = A.sms, y), r(29, y.userConsents.emailmarketing = A.emailmarketing, y)), Ae();
4840
4836
  break;
4841
4837
  }
4842
- }, we = () => {
4843
- r(28, ze = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4844
- }, Xe = () => !!(Ee && Ee.length <= 100), vt = () => {
4845
- r(29, y.address1 = Ee, y), r(6, T = !Xe()), r(30, B.address1 = !T, B), we();
4846
- }, Se = () => !!(G && G.length <= 20), Te = () => {
4847
- r(29, y.postalCode = G, y), r(7, j = !Se()), r(30, B.postalCode = !j, B), we();
4848
- }, We = () => !!(ee && ee.length <= 50), qe = () => {
4849
- r(29, y.city = ee, y), r(9, z = !We()), r(30, B.city = !z, B), we();
4850
- }, Mt = () => !!(pe && pe.length >= 5 && pe.length <= 12), Ue = () => {
4851
- r(29, y.mobile.number = pe, y), r(8, M = !Mt()), r(30, B.mobile = !M, B), we();
4852
- }, Fe = (g) => {
4838
+ }, Ae = () => {
4839
+ r(28, je = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4840
+ }, Ve = () => !!(Ee && Ee.length <= 100), Et = () => {
4841
+ r(29, y.address1 = Ee, y), r(6, S = !Ve()), r(30, B.address1 = !S, B), Ae();
4842
+ }, we = () => !!(G && G.length <= 20), Te = () => {
4843
+ r(29, y.postalCode = G, y), r(7, j = !we()), r(30, B.postalCode = !j, B), Ae();
4844
+ }, Xe = () => !!(ee && ee.length <= 50), We = () => {
4845
+ r(29, y.city = ee, y), r(9, z = !Xe()), r(30, B.city = !z, B), Ae();
4846
+ }, Ot = () => !!(pe && pe.length >= 5 && pe.length <= 12), Re = () => {
4847
+ r(29, y.mobile.number = pe, y), r(8, N = !Ot()), r(30, B.mobile = !N, B), Ae();
4848
+ }, Ue = (g) => {
4853
4849
  g === "GeneralOffers" ? (r(27, q = !q), r(29, y.userConsents.sms = q, y), r(29, y.userConsents.emailmarketing = q, y)) : g === "SmsOffers" ? (r(29, y.userConsents.sms = !y.userConsents.sms, y), y.userConsents.sms && r(27, q = !0)) : g === "EmailOffers" && (r(29, y.userConsents.emailmarketing = !y.userConsents.emailmarketing, y), y.userConsents.emailmarketing && r(27, q = !0)), ge();
4854
4850
  }, ge = () => {
4855
4851
  !y.userConsents.sms && !y.userConsents.emailmarketing && r(27, q = !1);
4856
- }, De = () => {
4857
- r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), we();
4858
- }, Nt = () => new Promise((g, A) => {
4852
+ }, Fe = () => {
4853
+ r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), Ae();
4854
+ }, Mt = () => new Promise((g, A) => {
4859
4855
  grecaptcha.ready(() => {
4860
4856
  grecaptcha.execute(u, { action: "submit" }).then((D) => {
4861
4857
  g(D);
@@ -4864,7 +4860,7 @@ function ro(e, t, r) {
4864
4860
  }), ve = (g) => {
4865
4861
  g.preventDefault(), r(29, y.nationality = ue, y), r(29, y.country = de, y), r(29, y.mobile.prefix = ce, y);
4866
4862
  let A = {};
4867
- Nt().then((D) => {
4863
+ Mt().then((D) => {
4868
4864
  A = { ...y, token: D }, window.postMessage(
4869
4865
  {
4870
4866
  type: "RegisterStepThree",
@@ -4873,7 +4869,7 @@ function ro(e, t, r) {
4873
4869
  window.location.href
4874
4870
  );
4875
4871
  });
4876
- }, Pe = () => {
4872
+ }, Be = () => {
4877
4873
  r(29, y.nationality = ue, y), r(29, y.country = de, y), r(29, y.mobile.prefix = ce, y), window.postMessage(
4878
4874
  {
4879
4875
  type: "GoBackStepThree",
@@ -4881,76 +4877,76 @@ function ro(e, t, r) {
4881
4877
  },
4882
4878
  window.location.href
4883
4879
  );
4884
- }, Ge = (g) => {
4880
+ }, De = (g) => {
4885
4881
  if (g.data)
4886
4882
  switch (g.data.type) {
4887
4883
  case "StepThreeDataBackup":
4888
4884
  const A = g.data.userData;
4889
4885
  for (const D in A)
4890
4886
  he(D, A[D]);
4891
- r(28, ze = Object.keys(B).every((D) => d.includes(D) ? !0 : B[D] !== !1));
4887
+ r(28, je = Object.keys(B).every((D) => d.includes(D) ? !0 : B[D] !== !1));
4892
4888
  break;
4893
4889
  case "ShowRegistrationError":
4894
- r(15, _t = g.data.showError), r(16, Le = g.data.error);
4890
+ r(15, yt = g.data.showError), r(16, Ie = g.data.error);
4895
4891
  }
4896
- }, Ct = () => {
4897
- r(14, yt = d.split(","));
4898
- }, kt = () => {
4892
+ }, vt = () => {
4893
+ r(14, bt = d.split(","));
4894
+ }, Nt = () => {
4899
4895
  X = m.split(","), X.indexOf("consentsTerms") >= 0 && r(29, y.userConsents.termsandconditions = !0, y), X.indexOf("consentsOffers") >= 0 && (r(27, q = !0), r(29, y.userConsents.sms = !0, y), r(29, y.userConsents.emailmarketing = !0, y)), X.forEach((g) => {
4900
4896
  g.includes("phonePrefix") && (r(26, ce = g.split(":")[1].toString()), r(29, y.mobile.prefix = ce, y));
4901
4897
  });
4902
- }, Ze = () => {
4903
- Qs(c);
4898
+ }, qe = () => {
4899
+ $s(c);
4904
4900
  };
4905
- qn(() => (window.addEventListener("message", Ge, !1), () => {
4906
- window.removeEventListener("message", Ge);
4901
+ qn(() => (window.addEventListener("message", De, !1), () => {
4902
+ window.removeEventListener("message", De);
4907
4903
  }));
4908
- function It() {
4904
+ function kt() {
4909
4905
  Ee = this.value, r(17, Ee);
4910
4906
  }
4911
- const be = () => r(10, V = !0), $e = () => r(10, V = !1);
4912
- function Lt() {
4907
+ const be = () => r(10, V = !0), Ze = () => r(10, V = !1);
4908
+ function It() {
4913
4909
  G = this.value, r(18, G);
4914
4910
  }
4915
- const me = () => r(11, fe = !0), Oe = () => r(11, fe = !1);
4916
- function Qe() {
4911
+ const me = () => r(11, fe = !0), Pe = () => r(11, fe = !1);
4912
+ function $e() {
4917
4913
  ee = this.value, r(19, ee);
4918
4914
  }
4919
- const xt = () => r(13, Be = !0), Rt = () => r(13, Be = !1);
4920
- function Je() {
4921
- de = ir(this), r(21, de), r(20, Ae);
4915
+ const Ct = () => r(13, He = !0), Lt = () => r(13, He = !1);
4916
+ function Qe() {
4917
+ de = rr(this), r(21, de), r(20, xe);
4922
4918
  }
4923
- function Ut() {
4924
- ue = ir(this), r(23, ue), r(22, Re);
4919
+ function Rt() {
4920
+ ue = rr(this), r(23, ue), r(22, Le);
4925
4921
  }
4926
- function Me() {
4927
- ce = ir(this), r(26, ce), r(25, W);
4922
+ function Oe() {
4923
+ ce = rr(this), r(26, ce), r(25, W);
4928
4924
  }
4929
4925
  function ye() {
4930
4926
  pe = this.value, r(24, pe);
4931
4927
  }
4932
- const Ft = () => r(12, xe = !0), Z = () => r(12, xe = !1), Dt = () => Fe("GeneralOffers"), Ye = () => Fe("SmsOffers"), Gt = () => Fe("EmailOffers"), At = () => De(), He = (g) => ve(g);
4933
- function Ke(g) {
4934
- fr[g ? "unshift" : "push"](() => {
4928
+ const Ut = () => r(12, Ce = !0), Z = () => r(12, Ce = !1), Ft = () => Ue("GeneralOffers"), Je = () => Ue("SmsOffers"), Dt = () => Ue("EmailOffers"), xt = () => Fe(), Se = (g) => ve(g);
4929
+ function Ye(g) {
4930
+ cr[g ? "unshift" : "push"](() => {
4935
4931
  U = g, r(5, U);
4936
4932
  });
4937
4933
  }
4938
4934
  return e.$$set = (g) => {
4939
- "userconsentsexist" in g && r(0, i = g.userconsentsexist), "termsconditions" in g && r(1, s = g.termsconditions), "smsoffers" in g && r(2, o = g.smsoffers), "emailmarketing" in g && r(3, l = g.emailmarketing), "endpoint" in g && r(41, f = g.endpoint), "captchakey" in g && r(4, u = g.captchakey), "lang" in g && r(42, c = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, v = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, C = g.clientstylingurl), "translationurl" in g && r(48, P = g.translationurl);
4935
+ "userconsentsexist" in g && r(0, i = g.userconsentsexist), "termsconditions" in g && r(1, s = g.termsconditions), "smsoffers" in g && r(2, o = g.smsoffers), "emailmarketing" in g && r(3, l = g.emailmarketing), "endpoint" in g && r(41, f = g.endpoint), "captchakey" in g && r(4, u = g.captchakey), "lang" in g && r(42, c = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, v = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, C = g.clientstylingurl), "translationurl" in g && r(48, O = g.translationurl);
4940
4936
  }, e.$$.update = () => {
4941
4937
  e.$$.dirty[1] & /*endpoint*/
4942
- 1024 && f && Ve(), e.$$.dirty[1] & /*endpoint*/
4943
- 1024 && f && Ot(), e.$$.dirty[1] & /*lang*/
4944
- 2048 && c && Ze(), e.$$.dirty[1] & /*disabledfields*/
4945
- 4096 && d && Ct(), e.$$.dirty[1] & /*defaultoptions*/
4946
- 8192 && m && kt(), e.$$.dirty[0] & /*customStylingContainer*/
4938
+ 1024 && f && ze(), e.$$.dirty[1] & /*endpoint*/
4939
+ 1024 && f && Pt(), e.$$.dirty[1] & /*lang*/
4940
+ 2048 && c && qe(), e.$$.dirty[1] & /*disabledfields*/
4941
+ 4096 && d && vt(), e.$$.dirty[1] & /*defaultoptions*/
4942
+ 8192 && m && Nt(), e.$$.dirty[0] & /*customStylingContainer*/
4947
4943
  32 | e.$$.dirty[1] & /*clientstyling*/
4948
- 32768 && _ && U && Js(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4944
+ 32768 && _ && U && Qs(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4949
4945
  32 | e.$$.dirty[1] & /*clientstylingurl*/
4950
- 65536 && C && U && Ys(U, C), e.$$.dirty[0] & /*customStylingContainer*/
4946
+ 65536 && C && U && Js(U, C), e.$$.dirty[0] & /*customStylingContainer*/
4951
4947
  32 | e.$$.dirty[1] & /*mbsource*/
4952
- 16384 && v && U && Ks(U, `${v}.Style`), e.$$.dirty[1] & /*translationurl*/
4953
- 131072 && P && Et(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4948
+ 16384 && v && U && Ys(U, `${v}.Style`), e.$$.dirty[1] & /*translationurl*/
4949
+ 131072 && O && _t(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4954
4950
  3 && i && r(30, B.termsandconditions = s === "false", B);
4955
4951
  }, [
4956
4952
  i,
@@ -4959,41 +4955,41 @@ function ro(e, t, r) {
4959
4955
  l,
4960
4956
  u,
4961
4957
  U,
4962
- T,
4958
+ S,
4963
4959
  j,
4964
- M,
4960
+ N,
4965
4961
  z,
4966
4962
  V,
4967
4963
  fe,
4968
- xe,
4969
- Be,
4964
+ Ce,
4965
+ He,
4966
+ bt,
4970
4967
  yt,
4971
- _t,
4972
- Le,
4968
+ Ie,
4973
4969
  Ee,
4974
4970
  G,
4975
4971
  ee,
4976
- Ae,
4972
+ xe,
4977
4973
  de,
4978
- Re,
4974
+ Le,
4979
4975
  ue,
4980
4976
  pe,
4981
4977
  W,
4982
4978
  ce,
4983
4979
  q,
4984
- ze,
4980
+ je,
4985
4981
  y,
4986
4982
  B,
4987
4983
  n,
4988
- Pt,
4989
- vt,
4984
+ Bt,
4985
+ Et,
4990
4986
  Te,
4991
- qe,
4987
+ We,
4988
+ Re,
4992
4989
  Ue,
4993
4990
  Fe,
4994
- De,
4995
4991
  ve,
4996
- Pe,
4992
+ Be,
4997
4993
  f,
4998
4994
  c,
4999
4995
  d,
@@ -5001,37 +4997,37 @@ function ro(e, t, r) {
5001
4997
  v,
5002
4998
  _,
5003
4999
  C,
5004
- P,
5005
- It,
5000
+ O,
5001
+ kt,
5006
5002
  be,
5003
+ Ze,
5004
+ It,
5005
+ me,
5006
+ Pe,
5007
5007
  $e,
5008
+ Ct,
5008
5009
  Lt,
5009
- me,
5010
- Oe,
5011
5010
  Qe,
5012
- xt,
5013
5011
  Rt,
5014
- Je,
5015
- Ut,
5016
- Me,
5012
+ Oe,
5017
5013
  ye,
5018
- Ft,
5014
+ Ut,
5019
5015
  Z,
5016
+ Ft,
5017
+ Je,
5020
5018
  Dt,
5021
- Ye,
5022
- Gt,
5023
- At,
5024
- He,
5025
- Ke
5019
+ xt,
5020
+ Se,
5021
+ Ye
5026
5022
  ];
5027
5023
  }
5028
- class no extends si {
5024
+ class ro extends si {
5029
5025
  constructor(t) {
5030
5026
  super(), ni(
5031
5027
  this,
5032
5028
  t,
5033
- ro,
5034
5029
  to,
5030
+ eo,
5035
5031
  fn,
5036
5032
  {
5037
5033
  userconsentsexist: 0,
@@ -5048,7 +5044,7 @@ class no extends si {
5048
5044
  clientstylingurl: 47,
5049
5045
  translationurl: 48
5050
5046
  },
5051
- eo,
5047
+ Ks,
5052
5048
  [-1, -1, -1, -1]
5053
5049
  );
5054
5050
  }
@@ -5131,7 +5127,7 @@ class no extends si {
5131
5127
  this.$$set({ translationurl: t }), Y();
5132
5128
  }
5133
5129
  }
5134
- ii(no, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5130
+ ii(ro, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5135
5131
  export {
5136
- no as G
5132
+ ro as G
5137
5133
  };