@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.
@@ -2,15 +2,15 @@ var Jn = Object.defineProperty, Yn = Object.defineProperties;
2
2
  var Kn = Object.getOwnPropertyDescriptors;
3
3
  var Ur = Object.getOwnPropertySymbols;
4
4
  var ei = Object.prototype.hasOwnProperty, ti = Object.prototype.propertyIsEnumerable;
5
- var ur = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, cr = (e, t) => {
5
+ var ar = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ei.call(t, r) && ur(e, r, t[r]);
7
+ ei.call(t, r) && ar(e, r, t[r]);
8
8
  if (Ur)
9
9
  for (var r of Ur(t))
10
- ti.call(t, r) && ur(e, r, t[r]);
10
+ ti.call(t, r) && ar(e, r, t[r]);
11
11
  return e;
12
- }, hr = (e, t) => Yn(e, Kn(t));
13
- var be = (e, t, r) => (ur(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, ur = (e, t) => Yn(e, Kn(t));
13
+ var be = (e, t, r) => (ar(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Fr = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -35,18 +35,18 @@ function xn(e) {
35
35
  function Dr() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function bt(e) {
38
+ function gt(e) {
39
39
  e.forEach(xn);
40
40
  }
41
- function Mr(e) {
41
+ function Pr(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function An(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Zt;
47
+ let qt;
48
48
  function Gr(e, t) {
49
- return e === t ? !0 : (Zt || (Zt = document.createElement("a")), Zt.href = t, e === Zt.href);
49
+ return e === t ? !0 : (qt || (qt = document.createElement("a")), qt.href = t, e === qt.href);
50
50
  }
51
51
  function ri(e) {
52
52
  return Object.keys(e).length === 0;
@@ -90,32 +90,32 @@ function oi(e, t) {
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function L(e, t, r) {
93
+ function R(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function k(e) {
96
+ function I(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function fr(e, t) {
99
+ function cr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function b(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function $t(e) {
106
+ function Zt(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function O(e) {
109
+ function M(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function S() {
113
- return O(" ");
112
+ function T() {
113
+ return M(" ");
114
114
  }
115
- function Nr() {
116
- return O("");
115
+ function Or() {
116
+ return M("");
117
117
  }
118
- function N(e, t, r, n) {
118
+ function k(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
121
  function p(e, t, r) {
@@ -131,7 +131,7 @@ function D(e, t) {
131
131
  function ce(e, t) {
132
132
  e.value = t == null ? "" : t;
133
133
  }
134
- function ot(e, t, r) {
134
+ function st(e, t, r) {
135
135
  for (let n = 0; n < e.options.length; n += 1) {
136
136
  const i = e.options[n];
137
137
  if (i.__value === t) {
@@ -141,7 +141,7 @@ function ot(e, t, r) {
141
141
  }
142
142
  (!r || t !== void 0) && (e.selectedIndex = -1);
143
143
  }
144
- function dr(e) {
144
+ function hr(e) {
145
145
  const t = e.querySelector(":checked");
146
146
  return t && t.__value;
147
147
  }
@@ -154,90 +154,90 @@ function li(e) {
154
154
  }
155
155
  ), t;
156
156
  }
157
- let Nt;
158
- function Mt(e) {
159
- Nt = e;
157
+ let Mt;
158
+ function Ot(e) {
159
+ Mt = e;
160
160
  }
161
161
  function ui() {
162
- if (!Nt)
162
+ if (!Mt)
163
163
  throw new Error("Function called outside component initialization");
164
- return Nt;
164
+ return Mt;
165
165
  }
166
166
  function ci(e) {
167
167
  ui().$$.on_mount.push(e);
168
168
  }
169
- const ct = [], vr = [];
170
- let ht = [];
169
+ const ut = [], _r = [];
170
+ let ct = [];
171
171
  const jr = [], hi = /* @__PURE__ */ Promise.resolve();
172
- let Cr = !1;
172
+ let Er = !1;
173
173
  function fi() {
174
- Cr || (Cr = !0, hi.then(K));
174
+ Er || (Er = !0, hi.then(K));
175
175
  }
176
- function ft(e) {
177
- ht.push(e);
176
+ function ht(e) {
177
+ ct.push(e);
178
178
  }
179
- const mr = /* @__PURE__ */ new Set();
180
- let at = 0;
179
+ const fr = /* @__PURE__ */ new Set();
180
+ let ot = 0;
181
181
  function K() {
182
- if (at !== 0)
182
+ if (ot !== 0)
183
183
  return;
184
- const e = Nt;
184
+ const e = Mt;
185
185
  do {
186
186
  try {
187
- for (; at < ct.length; ) {
188
- const t = ct[at];
189
- at++, Mt(t), di(t.$$);
187
+ for (; ot < ut.length; ) {
188
+ const t = ut[ot];
189
+ ot++, Ot(t), di(t.$$);
190
190
  }
191
191
  } catch (t) {
192
- throw ct.length = 0, at = 0, t;
192
+ throw ut.length = 0, ot = 0, t;
193
193
  }
194
- for (Mt(null), ct.length = 0, at = 0; vr.length; )
195
- vr.pop()();
196
- for (let t = 0; t < ht.length; t += 1) {
197
- const r = ht[t];
198
- mr.has(r) || (mr.add(r), r());
194
+ for (Ot(null), ut.length = 0, ot = 0; _r.length; )
195
+ _r.pop()();
196
+ for (let t = 0; t < ct.length; t += 1) {
197
+ const r = ct[t];
198
+ fr.has(r) || (fr.add(r), r());
199
199
  }
200
- ht.length = 0;
201
- } while (ct.length);
200
+ ct.length = 0;
201
+ } while (ut.length);
202
202
  for (; jr.length; )
203
203
  jr.pop()();
204
- Cr = !1, mr.clear(), Mt(e);
204
+ Er = !1, fr.clear(), Ot(e);
205
205
  }
206
206
  function di(e) {
207
207
  if (e.fragment !== null) {
208
- e.update(), bt(e.before_update);
208
+ e.update(), gt(e.before_update);
209
209
  const t = e.dirty;
210
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
210
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ht);
211
211
  }
212
212
  }
213
213
  function mi(e) {
214
214
  const t = [], r = [];
215
- ht.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ht = t;
215
+ ct.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ct = t;
216
216
  }
217
217
  const pi = /* @__PURE__ */ new Set();
218
218
  function gi(e, t) {
219
219
  e && e.i && (pi.delete(e), e.i(t));
220
220
  }
221
- function lt(e) {
221
+ function at(e) {
222
222
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
223
223
  }
224
224
  function bi(e, t, r) {
225
225
  const { fragment: n, after_update: i } = e.$$;
226
- n && n.m(t, r), ft(() => {
227
- const s = e.$$.on_mount.map(xn).filter(Mr);
228
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : bt(s), e.$$.on_mount = [];
229
- }), i.forEach(ft);
226
+ n && n.m(t, r), ht(() => {
227
+ const s = e.$$.on_mount.map(xn).filter(Pr);
228
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : gt(s), e.$$.on_mount = [];
229
+ }), i.forEach(ht);
230
230
  }
231
231
  function yi(e, t) {
232
232
  const r = e.$$;
233
- r.fragment !== null && (mi(r.after_update), bt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
233
+ r.fragment !== null && (mi(r.after_update), gt(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
234
  }
235
235
  function _i(e, t) {
236
- e.$$.dirty[0] === -1 && (ct.push(e), fi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
236
+ e.$$.dirty[0] === -1 && (ut.push(e), fi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
237
  }
238
238
  function Ei(e, t, r, n, i, s, o = null, l = [-1]) {
239
- const c = Nt;
240
- Mt(e);
239
+ const c = Mt;
240
+ Ot(e);
241
241
  const a = e.$$ = {
242
242
  fragment: null,
243
243
  ctx: [],
@@ -264,18 +264,18 @@ function Ei(e, t, r, n, i, s, o = null, l = [-1]) {
264
264
  if (a.ctx = r ? r(e, t.props || {}, (d, m, ...E) => {
265
265
  const _ = E.length ? E[0] : m;
266
266
  return a.ctx && i(a.ctx[d], a.ctx[d] = _) && (!a.skip_bound && a.bound[d] && a.bound[d](_), h && _i(e, d)), m;
267
- }) : [], a.update(), h = !0, bt(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
267
+ }) : [], a.update(), h = !0, gt(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
268
268
  if (t.hydrate) {
269
269
  const d = ai(t.target);
270
- a.fragment && a.fragment.l(d), d.forEach(k);
270
+ a.fragment && a.fragment.l(d), d.forEach(I);
271
271
  } else
272
272
  a.fragment && a.fragment.c();
273
273
  t.intro && gi(e.$$.fragment), bi(e, t.target, t.anchor), K();
274
274
  }
275
- Mt(c);
275
+ Ot(c);
276
276
  }
277
- let Sn;
278
- typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
277
+ let Tn;
278
+ typeof HTMLElement == "function" && (Tn = class extends HTMLElement {
279
279
  constructor(t, r, n) {
280
280
  super();
281
281
  /** The Svelte component constructor */
@@ -326,10 +326,10 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
326
326
  * @param {HTMLElement} [anchor]
327
327
  */
328
328
  m: function(a, h) {
329
- L(a, o, h);
329
+ R(a, o, h);
330
330
  },
331
331
  d: function(a) {
332
- a && k(o);
332
+ a && I(o);
333
333
  }
334
334
  };
335
335
  };
@@ -341,13 +341,13 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
341
341
  s in n && (r[s] = [t(s)]);
342
342
  for (const s of this.attributes) {
343
343
  const o = this.$$g_p(s.name);
344
- o in this.$$d || (this.$$d[o] = Jt(o, s.value, this.$$p_d, "toProp"));
344
+ o in this.$$d || (this.$$d[o] = Qt(o, s.value, this.$$p_d, "toProp"));
345
345
  }
346
346
  for (const s in this.$$p_d)
347
347
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
348
348
  this.$$c = new this.$$ctor({
349
349
  target: this.shadowRoot || this,
350
- props: hr(cr({}, this.$$d), {
350
+ props: ur(lr({}, this.$$d), {
351
351
  $$slots: r,
352
352
  $$scope: {
353
353
  ctx: []
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
358
358
  this.$$r = !0;
359
359
  for (const s in this.$$p_d)
360
360
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
361
- const o = Jt(
361
+ const o = Qt(
362
362
  s,
363
363
  this.$$d[s],
364
364
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
382
382
  // and setting attributes through setAttribute etc, this is helpful
383
383
  attributeChangedCallback(t, r, n) {
384
384
  var i;
385
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Jt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
385
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Qt(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Sn = class extends HTMLElement {
395
395
  ) || t;
396
396
  }
397
397
  });
398
- function Jt(e, t, r, n) {
398
+ function Qt(e, t, r, n) {
399
399
  var s;
400
400
  const i = (s = r[e]) == null ? void 0 : s.type;
401
401
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -426,7 +426,7 @@ function Jt(e, t, r, n) {
426
426
  }
427
427
  }
428
428
  function vi(e, t, r, n, i, s) {
429
- let o = class extends Sn {
429
+ let o = class extends Tn {
430
430
  constructor() {
431
431
  super(e, r, i), this.$$p_d = t;
432
432
  }
@@ -443,7 +443,7 @@ function vi(e, t, r, n, i, s) {
443
443
  },
444
444
  set(c) {
445
445
  var a;
446
- c = Jt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
446
+ c = Qt(l, c, t), this.$$d[l] = c, (a = this.$$c) == null || a.$set({ [l]: c });
447
447
  }
448
448
  });
449
449
  }), n.forEach((l) => {
@@ -486,7 +486,7 @@ class Ci {
486
486
  * @returns {() => void}
487
487
  */
488
488
  $on(t, r) {
489
- if (!Mr(r))
489
+ if (!Pr(r))
490
490
  return Ce;
491
491
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
492
492
  return n.push(r), () => {
@@ -504,24 +504,24 @@ class Ci {
504
504
  }
505
505
  const xi = "4";
506
506
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xi);
507
- const ut = [];
507
+ const lt = [];
508
508
  function Ai(e, t) {
509
509
  return {
510
- subscribe: nr(e, t).subscribe
510
+ subscribe: tr(e, t).subscribe
511
511
  };
512
512
  }
513
- function nr(e, t = Ce) {
513
+ function tr(e, t = Ce) {
514
514
  let r;
515
515
  const n = /* @__PURE__ */ new Set();
516
516
  function i(l) {
517
517
  if (An(e, l) && (e = l, r)) {
518
- const c = !ut.length;
518
+ const c = !lt.length;
519
519
  for (const a of n)
520
- a[1](), ut.push(a, e);
520
+ a[1](), lt.push(a, e);
521
521
  if (c) {
522
- for (let a = 0; a < ut.length; a += 2)
523
- ut[a][0](ut[a + 1]);
524
- ut.length = 0;
522
+ for (let a = 0; a < lt.length; a += 2)
523
+ lt[a][0](lt[a + 1]);
524
+ lt.length = 0;
525
525
  }
526
526
  }
527
527
  }
@@ -536,7 +536,7 @@ function nr(e, t = Ce) {
536
536
  }
537
537
  return { set: i, update: s, subscribe: o };
538
538
  }
539
- function yt(e, t, r) {
539
+ function bt(e, t, r) {
540
540
  const n = !Array.isArray(e), i = n ? [e] : e;
541
541
  if (!i.every(Boolean))
542
542
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -550,12 +550,12 @@ function yt(e, t, r) {
550
550
  return;
551
551
  d();
552
552
  const _ = t(n ? a[0] : a, o, l);
553
- s ? o(_) : d = Mr(_) ? _ : Ce;
553
+ s ? o(_) : d = Pr(_) ? _ : Ce;
554
554
  }, E = i.map(
555
555
  (_, v) => wn(
556
556
  _,
557
- (P) => {
558
- a[v] = P, h &= ~(1 << v), c && m();
557
+ (O) => {
558
+ a[v] = O, h &= ~(1 << v), c && m();
559
559
  },
560
560
  () => {
561
561
  h |= 1 << v;
@@ -563,17 +563,17 @@ function yt(e, t, r) {
563
563
  )
564
564
  );
565
565
  return c = !0, m(), function() {
566
- bt(E), d(), c = !1;
566
+ gt(E), d(), c = !1;
567
567
  };
568
568
  });
569
569
  }
570
570
  function wi(e) {
571
571
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
572
572
  }
573
- var Si = function(t) {
574
- return Ti(t) && !Hi(t);
573
+ var Ti = function(t) {
574
+ return Si(t) && !Hi(t);
575
575
  };
576
- function Ti(e) {
576
+ function Si(e) {
577
577
  return !!e && typeof e == "object";
578
578
  }
579
579
  function Hi(e) {
@@ -587,19 +587,19 @@ function Oi(e) {
587
587
  function Mi(e) {
588
588
  return Array.isArray(e) ? [] : {};
589
589
  }
590
- function kt(e, t) {
591
- return t.clone !== !1 && t.isMergeableObject(e) ? dt(Mi(e), e, t) : e;
590
+ function Nt(e, t) {
591
+ return t.clone !== !1 && t.isMergeableObject(e) ? ft(Mi(e), e, t) : e;
592
592
  }
593
593
  function Ni(e, t, r) {
594
594
  return e.concat(t).map(function(n) {
595
- return kt(n, r);
595
+ return Nt(n, r);
596
596
  });
597
597
  }
598
598
  function ki(e, t) {
599
599
  if (!t.customMerge)
600
- return dt;
600
+ return ft;
601
601
  var r = t.customMerge(e);
602
- return typeof r == "function" ? r : dt;
602
+ return typeof r == "function" ? r : ft;
603
603
  }
604
604
  function Ii(e) {
605
605
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -609,7 +609,7 @@ function Ii(e) {
609
609
  function zr(e) {
610
610
  return Object.keys(e).concat(Ii(e));
611
611
  }
612
- function Tn(e, t) {
612
+ function Sn(e, t) {
613
613
  try {
614
614
  return t in e;
615
615
  } catch (r) {
@@ -617,56 +617,70 @@ function Tn(e, t) {
617
617
  }
618
618
  }
619
619
  function Li(e, t) {
620
- return Tn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
620
+ return Sn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
621
621
  }
622
622
  function Ri(e, t, r) {
623
623
  var n = {};
624
624
  return r.isMergeableObject(e) && zr(e).forEach(function(i) {
625
- n[i] = kt(e[i], r);
625
+ n[i] = Nt(e[i], r);
626
626
  }), zr(t).forEach(function(i) {
627
- Li(e, i) || (Tn(e, i) && r.isMergeableObject(t[i]) ? n[i] = ki(i, r)(e[i], t[i], r) : n[i] = kt(t[i], r));
627
+ Li(e, i) || (Sn(e, i) && r.isMergeableObject(t[i]) ? n[i] = ki(i, r)(e[i], t[i], r) : n[i] = Nt(t[i], r));
628
628
  }), n;
629
629
  }
630
- function dt(e, t, r) {
631
- r = r || {}, r.arrayMerge = r.arrayMerge || Ni, r.isMergeableObject = r.isMergeableObject || Si, r.cloneUnlessOtherwiseSpecified = kt;
630
+ function ft(e, t, r) {
631
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ni, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = Nt;
632
632
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
633
- return s ? n ? r.arrayMerge(e, t, r) : Ri(e, t, r) : kt(t, r);
633
+ return s ? n ? r.arrayMerge(e, t, r) : Ri(e, t, r) : Nt(t, r);
634
634
  }
635
- dt.all = function(t, r) {
635
+ ft.all = function(t, r) {
636
636
  if (!Array.isArray(t))
637
637
  throw new Error("first argument should be an array");
638
638
  return t.reduce(function(n, i) {
639
- return dt(n, i, r);
639
+ return ft(n, i, r);
640
640
  }, {});
641
641
  };
642
- var Ui = dt, Fi = Ui;
642
+ var Ui = ft, Fi = Ui;
643
643
  const Di = /* @__PURE__ */ wi(Fi);
644
- var xr = function(e, t) {
645
- return xr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
644
+ /*! *****************************************************************************
645
+ Copyright (c) Microsoft Corporation.
646
+
647
+ Permission to use, copy, modify, and/or distribute this software for any
648
+ purpose with or without fee is hereby granted.
649
+
650
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
651
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
652
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
653
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
654
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
655
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
656
+ PERFORMANCE OF THIS SOFTWARE.
657
+ ***************************************************************************** */
658
+ var vr = function(e, t) {
659
+ return vr = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
646
660
  r.__proto__ = n;
647
661
  } || function(r, n) {
648
662
  for (var i in n)
649
663
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
650
- }, xr(e, t);
664
+ }, vr(e, t);
651
665
  };
652
- function ir(e, t) {
666
+ function rr(e, t) {
653
667
  if (typeof t != "function" && t !== null)
654
668
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
655
- xr(e, t);
669
+ vr(e, t);
656
670
  function r() {
657
671
  this.constructor = e;
658
672
  }
659
673
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
660
674
  }
661
- var we = function() {
662
- return we = Object.assign || function(t) {
675
+ var P = function() {
676
+ return P = Object.assign || function(t) {
663
677
  for (var r, n = 1, i = arguments.length; n < i; n++) {
664
678
  r = arguments[n];
665
679
  for (var s in r)
666
680
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
667
681
  }
668
682
  return t;
669
- }, we.apply(this, arguments);
683
+ }, P.apply(this, arguments);
670
684
  };
671
685
  function Gi(e, t) {
672
686
  var r = {};
@@ -677,14 +691,14 @@ function Gi(e, t) {
677
691
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
678
692
  return r;
679
693
  }
680
- function pr(e, t, r) {
681
- if (r || arguments.length === 2)
694
+ function dr(e, t, r) {
695
+ if (arguments.length === 2)
682
696
  for (var n = 0, i = t.length, s; n < i; n++)
683
697
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
684
- return e.concat(s || Array.prototype.slice.call(t));
698
+ return e.concat(s || t);
685
699
  }
686
- function gr(e, t) {
687
- var r = t && t.cache ? t.cache : Zi, n = t && t.serializer ? t.serializer : Wi, i = t && t.strategy ? t.strategy : Vi;
700
+ function mr(e, t) {
701
+ var r = t && t.cache ? t.cache : qi, n = t && t.serializer ? t.serializer : Wi, i = t && t.strategy ? t.strategy : zi;
688
702
  return i(e, {
689
703
  cache: r,
690
704
  serializer: n
@@ -693,103 +707,95 @@ function gr(e, t) {
693
707
  function ji(e) {
694
708
  return e == null || typeof e == "number" || typeof e == "boolean";
695
709
  }
696
- function zi(e, t, r, n) {
710
+ function Hn(e, t, r, n) {
697
711
  var i = ji(n) ? n : r(n), s = t.get(i);
698
712
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
699
713
  }
700
- function Hn(e, t, r) {
714
+ function Bn(e, t, r) {
701
715
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
702
716
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
703
717
  }
704
- function Bn(e, t, r, n, i) {
718
+ function Mr(e, t, r, n, i) {
705
719
  return r.bind(t, e, n, i);
706
720
  }
721
+ function zi(e, t) {
722
+ var r = e.length === 1 ? Hn : Bn;
723
+ return Mr(e, this, r, t.cache.create(), t.serializer);
724
+ }
707
725
  function Vi(e, t) {
708
- var r = e.length === 1 ? zi : Hn;
709
- return Bn(e, this, r, t.cache.create(), t.serializer);
726
+ return Mr(e, this, Bn, t.cache.create(), t.serializer);
710
727
  }
711
728
  function Xi(e, t) {
712
- return Bn(e, this, Hn, t.cache.create(), t.serializer);
729
+ return Mr(e, this, Hn, t.cache.create(), t.serializer);
713
730
  }
714
731
  var Wi = function() {
715
732
  return JSON.stringify(arguments);
716
- }, qi = (
717
- /** @class */
718
- function() {
719
- function e() {
720
- this.cache = /* @__PURE__ */ Object.create(null);
721
- }
722
- return e.prototype.get = function(t) {
723
- return this.cache[t];
724
- }, e.prototype.set = function(t, r) {
725
- this.cache[t] = r;
726
- }, e;
727
- }()
728
- ), Zi = {
733
+ };
734
+ function Nr() {
735
+ this.cache = /* @__PURE__ */ Object.create(null);
736
+ }
737
+ Nr.prototype.get = function(e) {
738
+ return this.cache[e];
739
+ };
740
+ Nr.prototype.set = function(e, t) {
741
+ this.cache[e] = t;
742
+ };
743
+ var qi = {
729
744
  create: function() {
730
- return new qi();
745
+ return new Nr();
731
746
  }
732
- }, br = {
733
- variadic: Xi
734
- }, er = function() {
735
- return er = Object.assign || function(t) {
736
- for (var r, n = 1, i = arguments.length; n < i; n++) {
737
- r = arguments[n];
738
- for (var s in r)
739
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
740
- }
741
- return t;
742
- }, er.apply(this, arguments);
743
- };
744
- var w;
747
+ }, pr = {
748
+ variadic: Vi,
749
+ monadic: Xi
750
+ }, w;
745
751
  (function(e) {
746
752
  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";
747
753
  })(w || (w = {}));
748
- var I;
754
+ var L;
749
755
  (function(e) {
750
756
  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";
751
- })(I || (I = {}));
752
- var mt;
757
+ })(L || (L = {}));
758
+ var dt;
753
759
  (function(e) {
754
760
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
755
- })(mt || (mt = {}));
761
+ })(dt || (dt = {}));
756
762
  function Vr(e) {
757
- return e.type === I.literal;
763
+ return e.type === L.literal;
758
764
  }
759
- function $i(e) {
760
- return e.type === I.argument;
765
+ function Zi(e) {
766
+ return e.type === L.argument;
761
767
  }
762
768
  function Pn(e) {
763
- return e.type === I.number;
769
+ return e.type === L.number;
764
770
  }
765
771
  function On(e) {
766
- return e.type === I.date;
772
+ return e.type === L.date;
767
773
  }
768
774
  function Mn(e) {
769
- return e.type === I.time;
775
+ return e.type === L.time;
770
776
  }
771
777
  function Nn(e) {
772
- return e.type === I.select;
778
+ return e.type === L.select;
773
779
  }
774
780
  function kn(e) {
775
- return e.type === I.plural;
781
+ return e.type === L.plural;
776
782
  }
777
- function Qi(e) {
778
- return e.type === I.pound;
783
+ function $i(e) {
784
+ return e.type === L.pound;
779
785
  }
780
786
  function In(e) {
781
- return e.type === I.tag;
787
+ return e.type === L.tag;
782
788
  }
783
789
  function Ln(e) {
784
- return !!(e && typeof e == "object" && e.type === mt.number);
790
+ return !!(e && typeof e == "object" && e.type === dt.number);
785
791
  }
786
- function Ar(e) {
787
- return !!(e && typeof e == "object" && e.type === mt.dateTime);
792
+ function Cr(e) {
793
+ return !!(e && typeof e == "object" && e.type === dt.dateTime);
788
794
  }
789
- var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ji = /(?:[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;
790
- function Yi(e) {
795
+ var Rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qi = /(?:[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;
796
+ function Ji(e) {
791
797
  var t = {};
792
- return e.replace(Ji, function(r) {
798
+ return e.replace(Qi, function(r) {
793
799
  var n = r.length;
794
800
  switch (r[0]) {
795
801
  case "G":
@@ -878,21 +884,11 @@ function Yi(e) {
878
884
  return "";
879
885
  }), t;
880
886
  }
881
- var R = function() {
882
- return R = Object.assign || function(t) {
883
- for (var r, n = 1, i = arguments.length; n < i; n++) {
884
- r = arguments[n];
885
- for (var s in r)
886
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
887
- }
888
- return t;
889
- }, R.apply(this, arguments);
890
- };
891
- var Ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
- function es(e) {
887
+ var Yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
888
+ function Ki(e) {
893
889
  if (e.length === 0)
894
890
  throw new Error("Number skeleton cannot be empty");
895
- for (var t = e.split(Ki).filter(function(m) {
891
+ for (var t = e.split(Yi).filter(function(m) {
896
892
  return m.length > 0;
897
893
  }), r = [], n = 0, i = t; n < i.length; n++) {
898
894
  var s = i[n], o = s.split("/");
@@ -907,10 +903,10 @@ function es(e) {
907
903
  }
908
904
  return r;
909
905
  }
910
- function ts(e) {
906
+ function es(e) {
911
907
  return e.replace(/^(.*?)-/, "");
912
908
  }
913
- var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Un = /^(@+)?(\+|#+)?[rs]?$/g, rs = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
909
+ var Xr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Un = /^(@+)?(\+|#+)?[rs]?$/g, ts = /(\*)(0+)|(#+)(0+)|(0+)/g, Fn = /^(0+)$/;
914
910
  function Wr(e) {
915
911
  var t = {};
916
912
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Un, function(r, n, i) {
@@ -957,7 +953,7 @@ function Dn(e) {
957
953
  };
958
954
  }
959
955
  }
960
- function ns(e) {
956
+ function rs(e) {
961
957
  var t;
962
958
  if (e[0] === "E" && e[1] === "E" ? (t = {
963
959
  notation: "engineering"
@@ -975,7 +971,7 @@ function qr(e) {
975
971
  var t = {}, r = Dn(e);
976
972
  return r || t;
977
973
  }
978
- function is(e) {
974
+ function ns(e) {
979
975
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
980
976
  var i = n[r];
981
977
  switch (i.stem) {
@@ -999,7 +995,7 @@ function is(e) {
999
995
  continue;
1000
996
  case "measure-unit":
1001
997
  case "unit":
1002
- t.style = "unit", t.unit = ts(i.options[0]);
998
+ t.style = "unit", t.unit = es(i.options[0]);
1003
999
  continue;
1004
1000
  case "compact-short":
1005
1001
  case "K":
@@ -1010,13 +1006,13 @@ function is(e) {
1010
1006
  t.notation = "compact", t.compactDisplay = "long";
1011
1007
  continue;
1012
1008
  case "scientific":
1013
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
1014
- return R(R({}, c), qr(a));
1009
+ t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
1010
+ return P(P({}, c), qr(a));
1015
1011
  }, {}));
1016
1012
  continue;
1017
1013
  case "engineering":
1018
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
1019
- return R(R({}, c), qr(a));
1014
+ t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
1015
+ return P(P({}, c), qr(a));
1020
1016
  }, {}));
1021
1017
  continue;
1022
1018
  case "notation-simple":
@@ -1061,7 +1057,7 @@ function is(e) {
1061
1057
  case "integer-width":
1062
1058
  if (i.options.length > 1)
1063
1059
  throw new RangeError("integer-width stems only accept a single optional option");
1064
- i.options[0].replace(rs, function(c, a, h, d, m, E) {
1060
+ i.options[0].replace(ts, function(c, a, h, d, m, E) {
1065
1061
  if (a)
1066
1062
  t.minimumIntegerDigits = h.length;
1067
1063
  else {
@@ -1085,21 +1081,21 @@ function is(e) {
1085
1081
  return h === "*" ? t.minimumFractionDigits = a.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1086
1082
  });
1087
1083
  var s = i.options[0];
1088
- s === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = R(R({}, t), Wr(s)));
1084
+ s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Wr(s)));
1089
1085
  continue;
1090
1086
  }
1091
1087
  if (Un.test(i.stem)) {
1092
- t = R(R({}, t), Wr(i.stem));
1088
+ t = P(P({}, t), Wr(i.stem));
1093
1089
  continue;
1094
1090
  }
1095
1091
  var o = Dn(i.stem);
1096
- o && (t = R(R({}, t), o));
1097
- var l = ns(i.stem);
1098
- l && (t = R(R({}, t), l));
1092
+ o && (t = P(P({}, t), o));
1093
+ var l = rs(i.stem);
1094
+ l && (t = P(P({}, t), l));
1099
1095
  }
1100
1096
  return t;
1101
1097
  }
1102
- var Qt = {
1098
+ var $t = {
1103
1099
  "001": [
1104
1100
  "H",
1105
1101
  "h"
@@ -2514,13 +2510,13 @@ var Qt = {
2514
2510
  "h"
2515
2511
  ]
2516
2512
  };
2517
- function ss(e, t) {
2513
+ function is(e, t) {
2518
2514
  for (var r = "", n = 0; n < e.length; n++) {
2519
2515
  var i = e.charAt(n);
2520
2516
  if (i === "j") {
2521
2517
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2522
2518
  s++, n++;
2523
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = os(t);
2519
+ var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = ss(t);
2524
2520
  for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
2525
2521
  r += c;
2526
2522
  for (; o-- > 0; )
@@ -2530,7 +2526,7 @@ function ss(e, t) {
2530
2526
  }
2531
2527
  return r;
2532
2528
  }
2533
- function os(e) {
2529
+ function ss(e) {
2534
2530
  var t = e.hourCycle;
2535
2531
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2536
2532
  e.hourCycles && // @ts-ignore
@@ -2549,23 +2545,23 @@ function os(e) {
2549
2545
  }
2550
2546
  var r = e.language, n;
2551
2547
  r !== "root" && (n = e.maximize().region);
2552
- var i = Qt[n || ""] || Qt[r || ""] || Qt["".concat(r, "-001")] || Qt["001"];
2548
+ var i = $t[n || ""] || $t[r || ""] || $t["".concat(r, "-001")] || $t["001"];
2553
2549
  return i[0];
2554
2550
  }
2555
- var yr, as = new RegExp("^".concat(Rn.source, "*")), ls = new RegExp("".concat(Rn.source, "*$"));
2551
+ var gr, os = new RegExp("^".concat(Rn.source, "*")), as = new RegExp("".concat(Rn.source, "*$"));
2556
2552
  function H(e, t) {
2557
2553
  return { start: e, end: t };
2558
2554
  }
2559
- var us = !!String.prototype.startsWith && "_a".startsWith("a", 1), cs = !!String.fromCodePoint, hs = !!Object.fromEntries, fs = !!String.prototype.codePointAt, ds = !!String.prototype.trimStart, ms = !!String.prototype.trimEnd, ps = !!Number.isSafeInteger, gs = ps ? Number.isSafeInteger : function(e) {
2555
+ var ls = !!String.prototype.startsWith && "_a".startsWith("a", 1), us = !!String.fromCodePoint, cs = !!Object.fromEntries, hs = !!String.prototype.codePointAt, fs = !!String.prototype.trimStart, ds = !!String.prototype.trimEnd, ms = !!Number.isSafeInteger, ps = ms ? Number.isSafeInteger : function(e) {
2560
2556
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2561
- }, wr = !0;
2557
+ }, xr = !0;
2562
2558
  try {
2563
- var bs = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2564
- wr = ((yr = bs.exec("a")) === null || yr === void 0 ? void 0 : yr[0]) === "a";
2559
+ var gs = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2560
+ xr = ((gr = gs.exec("a")) === null || gr === void 0 ? void 0 : gr[0]) === "a";
2565
2561
  } catch (e) {
2566
- wr = !1;
2562
+ xr = !1;
2567
2563
  }
2568
- var Zr = us ? (
2564
+ var Zr = ls ? (
2569
2565
  // Native
2570
2566
  function(t, r, n) {
2571
2567
  return t.startsWith(r, n);
@@ -2575,7 +2571,7 @@ var Zr = us ? (
2575
2571
  function(t, r, n) {
2576
2572
  return t.slice(n, n + r.length) === r;
2577
2573
  }
2578
- ), Sr = cs ? String.fromCodePoint : (
2574
+ ), Ar = us ? String.fromCodePoint : (
2579
2575
  // IE11
2580
2576
  function() {
2581
2577
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2589,7 +2585,7 @@ var Zr = us ? (
2589
2585
  }
2590
2586
  ), $r = (
2591
2587
  // native
2592
- hs ? Object.fromEntries : (
2588
+ cs ? Object.fromEntries : (
2593
2589
  // Ponyfill
2594
2590
  function(t) {
2595
2591
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2599,7 +2595,7 @@ var Zr = us ? (
2599
2595
  return r;
2600
2596
  }
2601
2597
  )
2602
- ), Gn = fs ? (
2598
+ ), Gn = hs ? (
2603
2599
  // Native
2604
2600
  function(t, r) {
2605
2601
  return t.codePointAt(r);
@@ -2613,7 +2609,7 @@ var Zr = us ? (
2613
2609
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2614
2610
  }
2615
2611
  }
2616
- ), ys = ds ? (
2612
+ ), bs = fs ? (
2617
2613
  // Native
2618
2614
  function(t) {
2619
2615
  return t.trimStart();
@@ -2621,9 +2617,9 @@ var Zr = us ? (
2621
2617
  ) : (
2622
2618
  // Ponyfill
2623
2619
  function(t) {
2624
- return t.replace(as, "");
2620
+ return t.replace(os, "");
2625
2621
  }
2626
- ), _s = ms ? (
2622
+ ), ys = ds ? (
2627
2623
  // Native
2628
2624
  function(t) {
2629
2625
  return t.trimEnd();
@@ -2631,32 +2627,32 @@ var Zr = us ? (
2631
2627
  ) : (
2632
2628
  // Ponyfill
2633
2629
  function(t) {
2634
- return t.replace(ls, "");
2630
+ return t.replace(as, "");
2635
2631
  }
2636
2632
  );
2637
2633
  function jn(e, t) {
2638
2634
  return new RegExp(e, t);
2639
2635
  }
2640
- var Tr;
2641
- if (wr) {
2636
+ var wr;
2637
+ if (xr) {
2642
2638
  var Qr = jn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2643
- Tr = function(t, r) {
2639
+ wr = function(t, r) {
2644
2640
  var n;
2645
2641
  Qr.lastIndex = r;
2646
2642
  var i = Qr.exec(t);
2647
2643
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2648
2644
  };
2649
2645
  } else
2650
- Tr = function(t, r) {
2646
+ wr = function(t, r) {
2651
2647
  for (var n = []; ; ) {
2652
2648
  var i = Gn(t, r);
2653
- if (i === void 0 || zn(i) || xs(i))
2649
+ if (i === void 0 || zn(i) || Cs(i))
2654
2650
  break;
2655
2651
  n.push(i), r += i >= 65536 ? 2 : 1;
2656
2652
  }
2657
- return Sr.apply(void 0, n);
2653
+ return Ar.apply(void 0, n);
2658
2654
  };
2659
- var Es = (
2655
+ var _s = (
2660
2656
  /** @class */
2661
2657
  function() {
2662
2658
  function e(t, r) {
@@ -2680,14 +2676,14 @@ var Es = (
2680
2676
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2681
2677
  var l = this.clonePosition();
2682
2678
  this.bump(), i.push({
2683
- type: I.pound,
2679
+ type: L.pound,
2684
2680
  location: H(l, this.clonePosition())
2685
2681
  });
2686
2682
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2687
2683
  if (n)
2688
2684
  break;
2689
2685
  return this.error(w.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2690
- } else if (s === 60 && !this.ignoreTag && Hr(this.peek() || 0)) {
2686
+ } else if (s === 60 && !this.ignoreTag && Tr(this.peek() || 0)) {
2691
2687
  var o = this.parseTag(t, r);
2692
2688
  if (o.err)
2693
2689
  return o;
@@ -2708,7 +2704,7 @@ var Es = (
2708
2704
  if (this.bumpSpace(), this.bumpIf("/>"))
2709
2705
  return {
2710
2706
  val: {
2711
- type: I.literal,
2707
+ type: L.literal,
2712
2708
  value: "<".concat(i, "/>"),
2713
2709
  location: H(n, this.clonePosition())
2714
2710
  },
@@ -2720,12 +2716,12 @@ var Es = (
2720
2716
  return s;
2721
2717
  var o = s.val, l = this.clonePosition();
2722
2718
  if (this.bumpIf("</")) {
2723
- if (this.isEOF() || !Hr(this.char()))
2719
+ if (this.isEOF() || !Tr(this.char()))
2724
2720
  return this.error(w.INVALID_TAG, H(l, this.clonePosition()));
2725
2721
  var c = this.clonePosition(), a = this.parseTagName();
2726
2722
  return i !== a ? this.error(w.UNMATCHED_CLOSING_TAG, H(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2727
2723
  val: {
2728
- type: I.tag,
2724
+ type: L.tag,
2729
2725
  value: i,
2730
2726
  children: o,
2731
2727
  location: H(n, this.clonePosition())
@@ -2738,7 +2734,7 @@ var Es = (
2738
2734
  return this.error(w.INVALID_TAG, H(n, this.clonePosition()));
2739
2735
  }, e.prototype.parseTagName = function() {
2740
2736
  var t = this.offset();
2741
- for (this.bump(); !this.isEOF() && Cs(this.char()); )
2737
+ for (this.bump(); !this.isEOF() && vs(this.char()); )
2742
2738
  this.bump();
2743
2739
  return this.message.slice(t, this.offset());
2744
2740
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2762,12 +2758,12 @@ var Es = (
2762
2758
  }
2763
2759
  var c = H(n, this.clonePosition());
2764
2760
  return {
2765
- val: { type: I.literal, value: i, location: c },
2761
+ val: { type: L.literal, value: i, location: c },
2766
2762
  err: null
2767
2763
  };
2768
2764
  }, e.prototype.tryParseLeftAngleBracket = function() {
2769
2765
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2770
- !vs(this.peek() || 0)) ? (this.bump(), "<") : null;
2766
+ !Es(this.peek() || 0)) ? (this.bump(), "<") : null;
2771
2767
  }, e.prototype.tryParseQuote = function(t) {
2772
2768
  if (this.isEOF() || this.char() !== 39)
2773
2769
  return null;
@@ -2801,12 +2797,12 @@ var Es = (
2801
2797
  r.push(n);
2802
2798
  this.bump();
2803
2799
  }
2804
- return Sr.apply(void 0, r);
2800
+ return Ar.apply(void 0, r);
2805
2801
  }, e.prototype.tryParseUnquoted = function(t, r) {
2806
2802
  if (this.isEOF())
2807
2803
  return null;
2808
2804
  var n = this.char();
2809
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Sr(n));
2805
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ar(n));
2810
2806
  }, e.prototype.parseArgument = function(t, r) {
2811
2807
  var n = this.clonePosition();
2812
2808
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2822,7 +2818,7 @@ var Es = (
2822
2818
  case 125:
2823
2819
  return this.bump(), {
2824
2820
  val: {
2825
- type: I.argument,
2821
+ type: L.argument,
2826
2822
  // value does not include the opening and closing braces.
2827
2823
  value: i,
2828
2824
  location: H(n, this.clonePosition())
@@ -2835,7 +2831,7 @@ var Es = (
2835
2831
  return this.error(w.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2836
2832
  }
2837
2833
  }, e.prototype.parseIdentifierIfPossible = function() {
2838
- var t = this.clonePosition(), r = this.offset(), n = Tr(this.message, r), i = r + n.length;
2834
+ var t = this.clonePosition(), r = this.offset(), n = wr(this.message, r), i = r + n.length;
2839
2835
  this.bumpTo(i);
2840
2836
  var s = this.clonePosition(), o = H(t, s);
2841
2837
  return { value: n, location: o };
@@ -2854,7 +2850,7 @@ var Es = (
2854
2850
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2855
2851
  if (d.err)
2856
2852
  return d;
2857
- var m = _s(d.val);
2853
+ var m = ys(d.val);
2858
2854
  if (m.length === 0)
2859
2855
  return this.error(w.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2860
2856
  var E = H(h, this.clonePosition());
@@ -2865,24 +2861,24 @@ var Es = (
2865
2861
  return _;
2866
2862
  var v = H(i, this.clonePosition());
2867
2863
  if (a && Zr(a == null ? void 0 : a.style, "::", 0)) {
2868
- var P = ys(a.style.slice(2));
2864
+ var O = bs(a.style.slice(2));
2869
2865
  if (l === "number") {
2870
- var d = this.parseNumberSkeletonFromString(P, a.styleLocation);
2866
+ var d = this.parseNumberSkeletonFromString(O, a.styleLocation);
2871
2867
  return d.err ? d : {
2872
- val: { type: I.number, value: n, location: v, style: d.val },
2868
+ val: { type: L.number, value: n, location: v, style: d.val },
2873
2869
  err: null
2874
2870
  };
2875
2871
  } else {
2876
- if (P.length === 0)
2872
+ if (O.length === 0)
2877
2873
  return this.error(w.EXPECT_DATE_TIME_SKELETON, v);
2878
- var T = P;
2879
- this.locale && (T = ss(P, this.locale));
2874
+ var S = O;
2875
+ this.locale && (S = is(O, this.locale));
2880
2876
  var m = {
2881
- type: mt.dateTime,
2882
- pattern: T,
2877
+ type: dt.dateTime,
2878
+ pattern: S,
2883
2879
  location: a.styleLocation,
2884
- parsedOptions: this.shouldParseSkeletons ? Yi(T) : {}
2885
- }, z = l === "date" ? I.date : I.time;
2880
+ parsedOptions: this.shouldParseSkeletons ? Ji(S) : {}
2881
+ }, z = l === "date" ? L.date : L.time;
2886
2882
  return {
2887
2883
  val: { type: z, value: n, location: v, style: m },
2888
2884
  err: null
@@ -2891,7 +2887,7 @@ var Es = (
2891
2887
  }
2892
2888
  return {
2893
2889
  val: {
2894
- type: l === "number" ? I.number : l === "date" ? I.date : I.time,
2890
+ type: l === "number" ? L.number : l === "date" ? L.date : L.time,
2895
2891
  value: n,
2896
2892
  location: v,
2897
2893
  style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
@@ -2902,9 +2898,9 @@ var Es = (
2902
2898
  case "plural":
2903
2899
  case "selectordinal":
2904
2900
  case "select": {
2905
- var M = this.clonePosition();
2901
+ var N = this.clonePosition();
2906
2902
  if (this.bumpSpace(), !this.bumpIf(","))
2907
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, er({}, M)));
2903
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, H(N, P({}, N)));
2908
2904
  this.bumpSpace();
2909
2905
  var V = this.parseIdentifierIfPossible(), X = 0;
2910
2906
  if (l !== "select" && V.value === "offset") {
@@ -2922,23 +2918,23 @@ var Es = (
2922
2918
  var _ = this.tryParseArgumentClose(i);
2923
2919
  if (_.err)
2924
2920
  return _;
2925
- var Se = H(i, this.clonePosition());
2921
+ var we = H(i, this.clonePosition());
2926
2922
  return l === "select" ? {
2927
2923
  val: {
2928
- type: I.select,
2924
+ type: L.select,
2929
2925
  value: n,
2930
2926
  options: $r(me.val),
2931
- location: Se
2927
+ location: we
2932
2928
  },
2933
2929
  err: null
2934
2930
  } : {
2935
2931
  val: {
2936
- type: I.plural,
2932
+ type: L.plural,
2937
2933
  value: n,
2938
2934
  options: $r(me.val),
2939
2935
  offset: X,
2940
2936
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2941
- location: Se
2937
+ location: we
2942
2938
  },
2943
2939
  err: null
2944
2940
  };
@@ -2986,16 +2982,16 @@ var Es = (
2986
2982
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2987
2983
  var n = [];
2988
2984
  try {
2989
- n = es(t);
2985
+ n = Ki(t);
2990
2986
  } catch (i) {
2991
2987
  return this.error(w.INVALID_NUMBER_SKELETON, r);
2992
2988
  }
2993
2989
  return {
2994
2990
  val: {
2995
- type: mt.number,
2991
+ type: dt.number,
2996
2992
  tokens: n,
2997
2993
  location: r,
2998
- parsedOptions: this.shouldParseSkeletons ? is(n) : {}
2994
+ parsedOptions: this.shouldParseSkeletons ? ns(n) : {}
2999
2995
  },
3000
2996
  err: null
3001
2997
  };
@@ -3043,7 +3039,7 @@ var Es = (
3043
3039
  break;
3044
3040
  }
3045
3041
  var c = H(i, this.clonePosition());
3046
- return s ? (o *= n, gs(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3042
+ return s ? (o *= n, ps(o) ? { val: o, err: null } : this.error(r, c)) : this.error(t, c);
3047
3043
  }, e.prototype.offset = function() {
3048
3044
  return this.position.offset;
3049
3045
  }, e.prototype.isEOF = function() {
@@ -3109,47 +3105,47 @@ var Es = (
3109
3105
  }, e;
3110
3106
  }()
3111
3107
  );
3112
- function Hr(e) {
3108
+ function Tr(e) {
3113
3109
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3114
3110
  }
3115
- function vs(e) {
3116
- return Hr(e) || e === 47;
3111
+ function Es(e) {
3112
+ return Tr(e) || e === 47;
3117
3113
  }
3118
- function Cs(e) {
3114
+ function vs(e) {
3119
3115
  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;
3120
3116
  }
3121
3117
  function zn(e) {
3122
3118
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3123
3119
  }
3124
- function xs(e) {
3120
+ function Cs(e) {
3125
3121
  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;
3126
3122
  }
3127
- function Br(e) {
3123
+ function Sr(e) {
3128
3124
  e.forEach(function(t) {
3129
3125
  if (delete t.location, Nn(t) || kn(t))
3130
3126
  for (var r in t.options)
3131
- delete t.options[r].location, Br(t.options[r].value);
3127
+ delete t.options[r].location, Sr(t.options[r].value);
3132
3128
  else
3133
- Pn(t) && Ln(t.style) || (On(t) || Mn(t)) && Ar(t.style) ? delete t.style.location : In(t) && Br(t.children);
3129
+ Pn(t) && Ln(t.style) || (On(t) || Mn(t)) && Cr(t.style) ? delete t.style.location : In(t) && Sr(t.children);
3134
3130
  });
3135
3131
  }
3136
- function As(e, t) {
3137
- t === void 0 && (t = {}), t = er({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3138
- var r = new Es(e, t).parse();
3132
+ function xs(e, t) {
3133
+ t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3134
+ var r = new _s(e, t).parse();
3139
3135
  if (r.err) {
3140
3136
  var n = SyntaxError(w[r.err.kind]);
3141
3137
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3142
3138
  }
3143
- return t != null && t.captureLocation || Br(r.val), r.val;
3139
+ return t != null && t.captureLocation || Sr(r.val), r.val;
3144
3140
  }
3145
- var pt;
3141
+ var mt;
3146
3142
  (function(e) {
3147
3143
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3148
- })(pt || (pt = {}));
3149
- var sr = (
3144
+ })(mt || (mt = {}));
3145
+ var nr = (
3150
3146
  /** @class */
3151
3147
  function(e) {
3152
- ir(t, e);
3148
+ rr(t, e);
3153
3149
  function t(r, n, i) {
3154
3150
  var s = e.call(this, r) || this;
3155
3151
  return s.code = n, s.originalMessage = i, s;
@@ -3161,30 +3157,30 @@ var sr = (
3161
3157
  ), Jr = (
3162
3158
  /** @class */
3163
3159
  function(e) {
3164
- ir(t, e);
3160
+ rr(t, e);
3165
3161
  function t(r, n, i, s) {
3166
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pt.INVALID_VALUE, s) || this;
3162
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), mt.INVALID_VALUE, s) || this;
3167
3163
  }
3168
3164
  return t;
3169
- }(sr)
3170
- ), ws = (
3165
+ }(nr)
3166
+ ), As = (
3171
3167
  /** @class */
3172
3168
  function(e) {
3173
- ir(t, e);
3169
+ rr(t, e);
3174
3170
  function t(r, n, i) {
3175
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pt.INVALID_VALUE, i) || this;
3171
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), mt.INVALID_VALUE, i) || this;
3176
3172
  }
3177
3173
  return t;
3178
- }(sr)
3179
- ), Ss = (
3174
+ }(nr)
3175
+ ), ws = (
3180
3176
  /** @class */
3181
3177
  function(e) {
3182
- ir(t, e);
3178
+ rr(t, e);
3183
3179
  function t(r, n) {
3184
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pt.MISSING_VALUE, n) || this;
3180
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), mt.MISSING_VALUE, n) || this;
3185
3181
  }
3186
3182
  return t;
3187
- }(sr)
3183
+ }(nr)
3188
3184
  ), ee;
3189
3185
  (function(e) {
3190
3186
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
@@ -3195,10 +3191,10 @@ function Ts(e) {
3195
3191
  return !n || n.type !== ee.literal || r.type !== ee.literal ? t.push(r) : n.value += r.value, t;
3196
3192
  }, []);
3197
3193
  }
3198
- function Hs(e) {
3194
+ function Ss(e) {
3199
3195
  return typeof e == "function";
3200
3196
  }
3201
- function Yt(e, t, r, n, i, s, o) {
3197
+ function Jt(e, t, r, n, i, s, o) {
3202
3198
  if (e.length === 1 && Vr(e[0]))
3203
3199
  return [
3204
3200
  {
@@ -3215,7 +3211,7 @@ function Yt(e, t, r, n, i, s, o) {
3215
3211
  });
3216
3212
  continue;
3217
3213
  }
3218
- if (Qi(h)) {
3214
+ if ($i(h)) {
3219
3215
  typeof s == "number" && l.push({
3220
3216
  type: ee.literal,
3221
3217
  value: r.getNumberFormat(t).format(s)
@@ -3224,9 +3220,9 @@ function Yt(e, t, r, n, i, s, o) {
3224
3220
  }
3225
3221
  var d = h.value;
3226
3222
  if (!(i && d in i))
3227
- throw new Ss(d, o);
3223
+ throw new ws(d, o);
3228
3224
  var m = i[d];
3229
- if ($i(h)) {
3225
+ if (Zi(h)) {
3230
3226
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3231
3227
  type: typeof m == "string" ? ee.literal : ee.object,
3232
3228
  value: m
@@ -3234,7 +3230,7 @@ function Yt(e, t, r, n, i, s, o) {
3234
3230
  continue;
3235
3231
  }
3236
3232
  if (On(h)) {
3237
- var E = typeof h.style == "string" ? n.date[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3233
+ var E = typeof h.style == "string" ? n.date[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3238
3234
  l.push({
3239
3235
  type: ee.literal,
3240
3236
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3242,7 +3238,7 @@ function Yt(e, t, r, n, i, s, o) {
3242
3238
  continue;
3243
3239
  }
3244
3240
  if (Mn(h)) {
3245
- var E = typeof h.style == "string" ? n.time[h.style] : Ar(h.style) ? h.style.parsedOptions : n.time.medium;
3241
+ var E = typeof h.style == "string" ? n.time[h.style] : Cr(h.style) ? h.style.parsedOptions : n.time.medium;
3246
3242
  l.push({
3247
3243
  type: ee.literal,
3248
3244
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3258,10 +3254,10 @@ function Yt(e, t, r, n, i, s, o) {
3258
3254
  continue;
3259
3255
  }
3260
3256
  if (In(h)) {
3261
- var _ = h.children, v = h.value, P = i[v];
3262
- if (!Hs(P))
3263
- throw new ws(v, "function", o);
3264
- var T = Yt(_, t, r, n, i, s), z = P(T.map(function(X) {
3257
+ var _ = h.children, v = h.value, O = i[v];
3258
+ if (!Ss(O))
3259
+ throw new As(v, "function", o);
3260
+ var S = Jt(_, t, r, n, i, s), z = O(S.map(function(X) {
3265
3261
  return X.value;
3266
3262
  }));
3267
3263
  Array.isArray(z) || (z = [z]), l.push.apply(l, z.map(function(X) {
@@ -3272,41 +3268,41 @@ function Yt(e, t, r, n, i, s, o) {
3272
3268
  }));
3273
3269
  }
3274
3270
  if (Nn(h)) {
3275
- var M = h.options[m] || h.options.other;
3276
- if (!M)
3271
+ var N = h.options[m] || h.options.other;
3272
+ if (!N)
3277
3273
  throw new Jr(h.value, m, Object.keys(h.options), o);
3278
- l.push.apply(l, Yt(M.value, t, r, n, i));
3274
+ l.push.apply(l, Jt(N.value, t, r, n, i));
3279
3275
  continue;
3280
3276
  }
3281
3277
  if (kn(h)) {
3282
- var M = h.options["=".concat(m)];
3283
- if (!M) {
3278
+ var N = h.options["=".concat(m)];
3279
+ if (!N) {
3284
3280
  if (!Intl.PluralRules)
3285
- throw new sr(`Intl.PluralRules is not available in this environment.
3281
+ throw new nr(`Intl.PluralRules is not available in this environment.
3286
3282
  Try polyfilling it using "@formatjs/intl-pluralrules"
3287
- `, pt.MISSING_INTL_API, o);
3283
+ `, mt.MISSING_INTL_API, o);
3288
3284
  var V = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3289
- M = h.options[V] || h.options.other;
3285
+ N = h.options[V] || h.options.other;
3290
3286
  }
3291
- if (!M)
3287
+ if (!N)
3292
3288
  throw new Jr(h.value, m, Object.keys(h.options), o);
3293
- l.push.apply(l, Yt(M.value, t, r, n, i, m - (h.offset || 0)));
3289
+ l.push.apply(l, Jt(N.value, t, r, n, i, m - (h.offset || 0)));
3294
3290
  continue;
3295
3291
  }
3296
3292
  }
3297
3293
  return Ts(l);
3298
3294
  }
3299
- function Bs(e, t) {
3300
- return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3301
- return r[n] = we(we({}, e[n]), t[n] || {}), r;
3295
+ function Hs(e, t) {
3296
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3297
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3302
3298
  }, {})) : e;
3303
3299
  }
3304
- function Ps(e, t) {
3300
+ function Bs(e, t) {
3305
3301
  return t ? Object.keys(e).reduce(function(r, n) {
3306
- return r[n] = Bs(e[n], t[n]), r;
3307
- }, we({}, e)) : e;
3302
+ return r[n] = Hs(e[n], t[n]), r;
3303
+ }, P({}, e)) : e;
3308
3304
  }
3309
- function _r(e) {
3305
+ function br(e) {
3310
3306
  return {
3311
3307
  create: function() {
3312
3308
  return {
@@ -3320,39 +3316,39 @@ function _r(e) {
3320
3316
  }
3321
3317
  };
3322
3318
  }
3323
- function Os(e) {
3319
+ function Ps(e) {
3324
3320
  return e === void 0 && (e = {
3325
3321
  number: {},
3326
3322
  dateTime: {},
3327
3323
  pluralRules: {}
3328
3324
  }), {
3329
- getNumberFormat: gr(function() {
3325
+ getNumberFormat: mr(function() {
3330
3326
  for (var t, r = [], n = 0; n < arguments.length; n++)
3331
3327
  r[n] = arguments[n];
3332
- return new ((t = Intl.NumberFormat).bind.apply(t, pr([void 0], r, !1)))();
3328
+ return new ((t = Intl.NumberFormat).bind.apply(t, dr([void 0], r, !1)))();
3333
3329
  }, {
3334
- cache: _r(e.number),
3335
- strategy: br.variadic
3330
+ cache: br(e.number),
3331
+ strategy: pr.variadic
3336
3332
  }),
3337
- getDateTimeFormat: gr(function() {
3333
+ getDateTimeFormat: mr(function() {
3338
3334
  for (var t, r = [], n = 0; n < arguments.length; n++)
3339
3335
  r[n] = arguments[n];
3340
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pr([void 0], r, !1)))();
3336
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, dr([void 0], r, !1)))();
3341
3337
  }, {
3342
- cache: _r(e.dateTime),
3343
- strategy: br.variadic
3338
+ cache: br(e.dateTime),
3339
+ strategy: pr.variadic
3344
3340
  }),
3345
- getPluralRules: gr(function() {
3341
+ getPluralRules: mr(function() {
3346
3342
  for (var t, r = [], n = 0; n < arguments.length; n++)
3347
3343
  r[n] = arguments[n];
3348
- return new ((t = Intl.PluralRules).bind.apply(t, pr([void 0], r, !1)))();
3344
+ return new ((t = Intl.PluralRules).bind.apply(t, dr([void 0], r, !1)))();
3349
3345
  }, {
3350
- cache: _r(e.pluralRules),
3351
- strategy: br.variadic
3346
+ cache: br(e.pluralRules),
3347
+ strategy: pr.variadic
3352
3348
  })
3353
3349
  };
3354
3350
  }
3355
- var Ms = (
3351
+ var Os = (
3356
3352
  /** @class */
3357
3353
  function() {
3358
3354
  function e(t, r, n, i) {
@@ -3371,7 +3367,7 @@ var Ms = (
3371
3367
  }, []);
3372
3368
  return h.length <= 1 ? h[0] || "" : h;
3373
3369
  }, this.formatToParts = function(c) {
3374
- return Yt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3370
+ return Jt(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3375
3371
  }, this.resolvedOptions = function() {
3376
3372
  var c;
3377
3373
  return {
@@ -3385,12 +3381,12 @@ var Ms = (
3385
3381
  var o = i || {};
3386
3382
  o.formatters;
3387
3383
  var l = Gi(o, ["formatters"]);
3388
- this.ast = e.__parse(t, we(we({}, l), { locale: this.resolvedLocale }));
3384
+ this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3389
3385
  } else
3390
3386
  this.ast = t;
3391
3387
  if (!Array.isArray(this.ast))
3392
3388
  throw new TypeError("A message must be provided as a String or AST.");
3393
- this.formats = Ps(e.formats, n), this.formatters = i && i.formatters || Os(this.formatterCache);
3389
+ this.formats = Bs(e.formats, n), this.formatters = i && i.formatters || Ps(this.formatterCache);
3394
3390
  }
3395
3391
  return Object.defineProperty(e, "defaultLocale", {
3396
3392
  get: function() {
@@ -3403,7 +3399,7 @@ var Ms = (
3403
3399
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3404
3400
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3405
3401
  }
3406
- }, e.__parse = As, e.formats = {
3402
+ }, e.__parse = xs, e.formats = {
3407
3403
  number: {
3408
3404
  integer: {
3409
3405
  maximumFractionDigits: 0
@@ -3464,7 +3460,7 @@ var Ms = (
3464
3460
  }, e;
3465
3461
  }()
3466
3462
  );
3467
- function Ns(e, t) {
3463
+ function Ms(e, t) {
3468
3464
  if (t == null)
3469
3465
  return;
3470
3466
  if (t in e)
@@ -3485,36 +3481,36 @@ function Ns(e, t) {
3485
3481
  n = void 0;
3486
3482
  return n;
3487
3483
  }
3488
- const Re = {}, ks = (e, t, r) => r && (t in Re || (Re[t] = {}), e in Re[t] || (Re[t][e] = r), r), Vn = (e, t) => {
3484
+ const Le = {}, Ns = (e, t, r) => r && (t in Le || (Le[t] = {}), e in Le[t] || (Le[t][e] = r), r), Vn = (e, t) => {
3489
3485
  if (t == null)
3490
3486
  return;
3491
- if (t in Re && e in Re[t])
3492
- return Re[t][e];
3493
- const r = or(t);
3487
+ if (t in Le && e in Le[t])
3488
+ return Le[t][e];
3489
+ const r = ir(t);
3494
3490
  for (let n = 0; n < r.length; n++) {
3495
- const i = r[n], s = Ls(i, e);
3491
+ const i = r[n], s = Is(i, e);
3496
3492
  if (s)
3497
- return ks(e, t, s);
3493
+ return Ns(e, t, s);
3498
3494
  }
3499
3495
  };
3500
3496
  let kr;
3501
- const _t = nr({});
3502
- function Is(e) {
3497
+ const yt = tr({});
3498
+ function ks(e) {
3503
3499
  return kr[e] || null;
3504
3500
  }
3505
3501
  function Xn(e) {
3506
3502
  return e in kr;
3507
3503
  }
3508
- function Ls(e, t) {
3504
+ function Is(e, t) {
3509
3505
  if (!Xn(e))
3510
3506
  return null;
3511
- const r = Is(e);
3512
- return Ns(r, t);
3507
+ const r = ks(e);
3508
+ return Ms(r, t);
3513
3509
  }
3514
- function Rs(e) {
3510
+ function Ls(e) {
3515
3511
  if (e == null)
3516
3512
  return;
3517
- const t = or(e);
3513
+ const t = ir(e);
3518
3514
  for (let r = 0; r < t.length; r++) {
3519
3515
  const n = t[r];
3520
3516
  if (Xn(n))
@@ -3522,55 +3518,55 @@ function Rs(e) {
3522
3518
  }
3523
3519
  }
3524
3520
  function Wn(e, ...t) {
3525
- delete Re[e], _t.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
3521
+ delete Le[e], yt.update((r) => (r[e] = Di.all([r[e] || {}, ...t]), r));
3526
3522
  }
3527
- yt(
3528
- [_t],
3523
+ bt(
3524
+ [yt],
3529
3525
  ([e]) => Object.keys(e)
3530
3526
  );
3531
- _t.subscribe((e) => kr = e);
3532
- const Kt = {};
3533
- function Us(e, t) {
3534
- Kt[e].delete(t), Kt[e].size === 0 && delete Kt[e];
3527
+ yt.subscribe((e) => kr = e);
3528
+ const Yt = {};
3529
+ function Rs(e, t) {
3530
+ Yt[e].delete(t), Yt[e].size === 0 && delete Yt[e];
3535
3531
  }
3536
3532
  function qn(e) {
3537
- return Kt[e];
3533
+ return Yt[e];
3538
3534
  }
3539
- function Fs(e) {
3540
- return or(e).map((t) => {
3535
+ function Us(e) {
3536
+ return ir(e).map((t) => {
3541
3537
  const r = qn(t);
3542
3538
  return [t, r ? [...r] : []];
3543
3539
  }).filter(([, t]) => t.length > 0);
3544
3540
  }
3545
- function Pr(e) {
3546
- return e == null ? !1 : or(e).some(
3541
+ function Hr(e) {
3542
+ return e == null ? !1 : ir(e).some(
3547
3543
  (t) => {
3548
3544
  var r;
3549
3545
  return (r = qn(t)) == null ? void 0 : r.size;
3550
3546
  }
3551
3547
  );
3552
3548
  }
3553
- function Ds(e, t) {
3549
+ function Fs(e, t) {
3554
3550
  return Promise.all(
3555
- t.map((n) => (Us(e, n), n().then((i) => i.default || i)))
3551
+ t.map((n) => (Rs(e, n), n().then((i) => i.default || i)))
3556
3552
  ).then((n) => Wn(e, ...n));
3557
3553
  }
3558
- const Ot = {};
3554
+ const Pt = {};
3559
3555
  function Zn(e) {
3560
- if (!Pr(e))
3561
- return e in Ot ? Ot[e] : Promise.resolve();
3562
- const t = Fs(e);
3563
- return Ot[e] = Promise.all(
3556
+ if (!Hr(e))
3557
+ return e in Pt ? Pt[e] : Promise.resolve();
3558
+ const t = Us(e);
3559
+ return Pt[e] = Promise.all(
3564
3560
  t.map(
3565
- ([r, n]) => Ds(r, n)
3561
+ ([r, n]) => Fs(r, n)
3566
3562
  )
3567
3563
  ).then(() => {
3568
- if (Pr(e))
3564
+ if (Hr(e))
3569
3565
  return Zn(e);
3570
- delete Ot[e];
3571
- }), Ot[e];
3566
+ delete Pt[e];
3567
+ }), Pt[e];
3572
3568
  }
3573
- const Gs = {
3569
+ const Ds = {
3574
3570
  number: {
3575
3571
  scientific: { notation: "scientific" },
3576
3572
  engineering: { notation: "engineering" },
@@ -3599,141 +3595,141 @@ const Gs = {
3599
3595
  timeZoneName: "short"
3600
3596
  }
3601
3597
  }
3602
- }, js = {
3598
+ }, Gs = {
3603
3599
  fallbackLocale: null,
3604
3600
  loadingDelay: 200,
3605
- formats: Gs,
3601
+ formats: Ds,
3606
3602
  warnOnMissingMessages: !0,
3607
3603
  handleMissingMessage: void 0,
3608
3604
  ignoreTag: !0
3609
- }, zs = js;
3610
- function gt() {
3611
- return zs;
3605
+ }, js = Gs;
3606
+ function pt() {
3607
+ return js;
3612
3608
  }
3613
- const Er = nr(!1);
3614
- var Vs = Object.defineProperty, Xs = Object.defineProperties, Ws = Object.getOwnPropertyDescriptors, Yr = Object.getOwnPropertySymbols, qs = Object.prototype.hasOwnProperty, Zs = Object.prototype.propertyIsEnumerable, Kr = (e, t, r) => t in e ? Vs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $s = (e, t) => {
3609
+ const yr = tr(!1);
3610
+ var zs = Object.defineProperty, Vs = Object.defineProperties, Xs = Object.getOwnPropertyDescriptors, Yr = Object.getOwnPropertySymbols, Ws = Object.prototype.hasOwnProperty, qs = Object.prototype.propertyIsEnumerable, Kr = (e, t, r) => t in e ? zs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zs = (e, t) => {
3615
3611
  for (var r in t || (t = {}))
3616
- qs.call(t, r) && Kr(e, r, t[r]);
3612
+ Ws.call(t, r) && Kr(e, r, t[r]);
3617
3613
  if (Yr)
3618
3614
  for (var r of Yr(t))
3619
- Zs.call(t, r) && Kr(e, r, t[r]);
3615
+ qs.call(t, r) && Kr(e, r, t[r]);
3620
3616
  return e;
3621
- }, Qs = (e, t) => Xs(e, Ws(t));
3622
- let Or;
3623
- const tr = nr(null);
3617
+ }, $s = (e, t) => Vs(e, Xs(t));
3618
+ let Br;
3619
+ const Kt = tr(null);
3624
3620
  function en(e) {
3625
3621
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3626
3622
  }
3627
- function or(e, t = gt().fallbackLocale) {
3623
+ function ir(e, t = pt().fallbackLocale) {
3628
3624
  const r = en(e);
3629
3625
  return t ? [.../* @__PURE__ */ new Set([...r, ...en(t)])] : r;
3630
3626
  }
3631
- function Xe() {
3632
- return Or != null ? Or : void 0;
3627
+ function Ve() {
3628
+ return Br != null ? Br : void 0;
3633
3629
  }
3634
- tr.subscribe((e) => {
3635
- Or = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3630
+ Kt.subscribe((e) => {
3631
+ Br = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3636
3632
  });
3637
- const Js = (e) => {
3638
- if (e && Rs(e) && Pr(e)) {
3639
- const { loadingDelay: t } = gt();
3633
+ const Qs = (e) => {
3634
+ if (e && Ls(e) && Hr(e)) {
3635
+ const { loadingDelay: t } = pt();
3640
3636
  let r;
3641
- return typeof window != "undefined" && Xe() != null && t ? r = window.setTimeout(
3642
- () => Er.set(!0),
3637
+ return typeof window != "undefined" && Ve() != null && t ? r = window.setTimeout(
3638
+ () => yr.set(!0),
3643
3639
  t
3644
- ) : Er.set(!0), Zn(e).then(() => {
3645
- tr.set(e);
3640
+ ) : yr.set(!0), Zn(e).then(() => {
3641
+ Kt.set(e);
3646
3642
  }).finally(() => {
3647
- clearTimeout(r), Er.set(!1);
3643
+ clearTimeout(r), yr.set(!1);
3648
3644
  });
3649
3645
  }
3650
- return tr.set(e);
3651
- }, Ue = Qs($s({}, tr), {
3652
- set: Js
3653
- }), ar = (e) => {
3646
+ return Kt.set(e);
3647
+ }, Re = $s(Zs({}, Kt), {
3648
+ set: Qs
3649
+ }), sr = (e) => {
3654
3650
  const t = /* @__PURE__ */ Object.create(null);
3655
3651
  return (n) => {
3656
3652
  const i = JSON.stringify(n);
3657
3653
  return i in t ? t[i] : t[i] = e(n);
3658
3654
  };
3659
3655
  };
3660
- var Ys = Object.defineProperty, rr = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, tn = (e, t, r) => t in e ? Ys(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ir = (e, t) => {
3656
+ var Js = Object.defineProperty, er = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, tn = (e, t, r) => t in e ? Js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ir = (e, t) => {
3661
3657
  for (var r in t || (t = {}))
3662
3658
  $n.call(t, r) && tn(e, r, t[r]);
3663
- if (rr)
3664
- for (var r of rr(t))
3659
+ if (er)
3660
+ for (var r of er(t))
3665
3661
  Qn.call(t, r) && tn(e, r, t[r]);
3666
3662
  return e;
3667
- }, Et = (e, t) => {
3663
+ }, _t = (e, t) => {
3668
3664
  var r = {};
3669
3665
  for (var n in e)
3670
3666
  $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3671
- if (e != null && rr)
3672
- for (var n of rr(e))
3667
+ if (e != null && er)
3668
+ for (var n of er(e))
3673
3669
  t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3674
3670
  return r;
3675
3671
  };
3676
- const It = (e, t) => {
3677
- const { formats: r } = gt();
3672
+ const kt = (e, t) => {
3673
+ const { formats: r } = pt();
3678
3674
  if (e in r && t in r[e])
3679
3675
  return r[e][t];
3680
3676
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3681
- }, Ks = ar(
3677
+ }, Ys = sr(
3682
3678
  (e) => {
3683
- var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3679
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3684
3680
  if (r == null)
3685
3681
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3686
- return n && (i = It("number", n)), new Intl.NumberFormat(r, i);
3682
+ return n && (i = kt("number", n)), new Intl.NumberFormat(r, i);
3687
3683
  }
3688
- ), eo = ar(
3684
+ ), Ks = sr(
3689
3685
  (e) => {
3690
- var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3686
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3691
3687
  if (r == null)
3692
3688
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3693
- return n ? i = It("date", n) : Object.keys(i).length === 0 && (i = It("date", "short")), new Intl.DateTimeFormat(r, i);
3689
+ return n ? i = kt("date", n) : Object.keys(i).length === 0 && (i = kt("date", "short")), new Intl.DateTimeFormat(r, i);
3694
3690
  }
3695
- ), to = ar(
3691
+ ), eo = sr(
3696
3692
  (e) => {
3697
- var t = e, { locale: r, format: n } = t, i = Et(t, ["locale", "format"]);
3693
+ var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
3698
3694
  if (r == null)
3699
3695
  throw new Error(
3700
3696
  '[svelte-i18n] A "locale" must be set to format time values'
3701
3697
  );
3702
- return n ? i = It("time", n) : Object.keys(i).length === 0 && (i = It("time", "short")), new Intl.DateTimeFormat(r, i);
3698
+ return n ? i = kt("time", n) : Object.keys(i).length === 0 && (i = kt("time", "short")), new Intl.DateTimeFormat(r, i);
3703
3699
  }
3704
- ), ro = (e = {}) => {
3700
+ ), to = (e = {}) => {
3705
3701
  var t = e, {
3706
- locale: r = Xe()
3707
- } = t, n = Et(t, [
3702
+ locale: r = Ve()
3703
+ } = t, n = _t(t, [
3708
3704
  "locale"
3709
3705
  ]);
3710
- return Ks(Ir({ locale: r }, n));
3711
- }, no = (e = {}) => {
3706
+ return Ys(Ir({ locale: r }, n));
3707
+ }, ro = (e = {}) => {
3712
3708
  var t = e, {
3713
- locale: r = Xe()
3714
- } = t, n = Et(t, [
3709
+ locale: r = Ve()
3710
+ } = t, n = _t(t, [
3715
3711
  "locale"
3716
3712
  ]);
3717
- return eo(Ir({ locale: r }, n));
3718
- }, io = (e = {}) => {
3713
+ return Ks(Ir({ locale: r }, n));
3714
+ }, no = (e = {}) => {
3719
3715
  var t = e, {
3720
- locale: r = Xe()
3721
- } = t, n = Et(t, [
3716
+ locale: r = Ve()
3717
+ } = t, n = _t(t, [
3722
3718
  "locale"
3723
3719
  ]);
3724
- return to(Ir({ locale: r }, n));
3725
- }, so = ar(
3720
+ return eo(Ir({ locale: r }, n));
3721
+ }, io = sr(
3726
3722
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3727
- (e, t = Xe()) => new Ms(e, t, gt().formats, {
3728
- ignoreTag: gt().ignoreTag
3723
+ (e, t = Ve()) => new Os(e, t, pt().formats, {
3724
+ ignoreTag: pt().ignoreTag
3729
3725
  })
3730
- ), oo = (e, t = {}) => {
3726
+ ), so = (e, t = {}) => {
3731
3727
  var r, n, i, s;
3732
3728
  let o = t;
3733
3729
  typeof e == "object" && (o = e, e = o.id);
3734
3730
  const {
3735
3731
  values: l,
3736
- locale: c = Xe(),
3732
+ locale: c = Ve(),
3737
3733
  default: a
3738
3734
  } = o;
3739
3735
  if (c == null)
@@ -3742,7 +3738,7 @@ const It = (e, t) => {
3742
3738
  );
3743
3739
  let h = Vn(e, c);
3744
3740
  if (!h)
3745
- h = (s = (i = (n = (r = gt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3741
+ h = (s = (i = (n = (r = pt()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3746
3742
  else if (typeof h != "string")
3747
3743
  return console.warn(
3748
3744
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3751,7 +3747,7 @@ const It = (e, t) => {
3751
3747
  return h;
3752
3748
  let d = h;
3753
3749
  try {
3754
- d = so(h, c).format(l);
3750
+ d = io(h, c).format(l);
3755
3751
  } catch (m) {
3756
3752
  m instanceof Error && console.warn(
3757
3753
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3759,21 +3755,21 @@ const It = (e, t) => {
3759
3755
  );
3760
3756
  }
3761
3757
  return d;
3762
- }, ao = (e, t) => io(t).format(e), lo = (e, t) => no(t).format(e), uo = (e, t) => ro(t).format(e), co = (e, t = Xe()) => Vn(e, t), ho = yt([Ue, _t], () => oo);
3763
- yt([Ue], () => ao);
3764
- yt([Ue], () => lo);
3765
- yt([Ue], () => uo);
3766
- yt([Ue, _t], () => co);
3767
- function fo({ withLocale: e, translations: t }) {
3768
- Ue.subscribe((r) => {
3769
- r == null && (_t.set(t), Ue.set(e));
3758
+ }, oo = (e, t) => no(t).format(e), ao = (e, t) => ro(t).format(e), lo = (e, t) => to(t).format(e), uo = (e, t = Ve()) => Vn(e, t), co = bt([Re, yt], () => so);
3759
+ bt([Re], () => oo);
3760
+ bt([Re], () => ao);
3761
+ bt([Re], () => lo);
3762
+ bt([Re, yt], () => uo);
3763
+ function ho({ withLocale: e, translations: t }) {
3764
+ Re.subscribe((r) => {
3765
+ r == null && (yt.set(t), Re.set(e));
3770
3766
  });
3771
3767
  }
3772
3768
  function rn(e, t) {
3773
3769
  Wn(e, t);
3774
3770
  }
3775
- function mo(e) {
3776
- Ue.set(e);
3771
+ function fo(e) {
3772
+ Re.set(e);
3777
3773
  }
3778
3774
  const nn = {
3779
3775
  en: {
@@ -3967,13 +3963,13 @@ const nn = {
3967
3963
  registerOpenAccount: "Abrir cuenta"
3968
3964
  }
3969
3965
  };
3970
- function po(e, t) {
3966
+ function mo(e, t) {
3971
3967
  if (e) {
3972
3968
  const r = document.createElement("style");
3973
3969
  r.innerHTML = t, e.appendChild(r);
3974
3970
  }
3975
3971
  }
3976
- function go(e, t) {
3972
+ function po(e, t) {
3977
3973
  if (!e || !t)
3978
3974
  return;
3979
3975
  const r = new URL(t);
@@ -3984,7 +3980,7 @@ function go(e, t) {
3984
3980
  console.error("There was an error while trying to load client styling from URL", n);
3985
3981
  });
3986
3982
  }
3987
- function bo(e, t, r) {
3983
+ function go(e, t, r) {
3988
3984
  if (window.emMessageBus) {
3989
3985
  const n = document.createElement("style");
3990
3986
  window.emMessageBus.subscribe(t, (i) => {
@@ -3992,7 +3988,7 @@ function bo(e, t, r) {
3992
3988
  });
3993
3989
  }
3994
3990
  }
3995
- function yo(e) {
3991
+ function bo(e) {
3996
3992
  ii(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}`);
3997
3993
  }
3998
3994
  function sn(e, t, r) {
@@ -4015,7 +4011,7 @@ function ln(e) {
4015
4011
  e[4]) || p(t, "src", r), t.async = !0, t.defer = !0;
4016
4012
  },
4017
4013
  m(n, i) {
4018
- L(n, t, i);
4014
+ R(n, t, i);
4019
4015
  },
4020
4016
  p(n, i) {
4021
4017
  i[0] & /*captchakey*/
@@ -4023,7 +4019,7 @@ function ln(e) {
4023
4019
  n[4]) && p(t, "src", r);
4024
4020
  },
4025
4021
  d(n) {
4026
- n && k(t);
4022
+ n && I(t);
4027
4023
  }
4028
4024
  };
4029
4025
  }
@@ -4034,10 +4030,10 @@ function un(e) {
4034
4030
  ), n;
4035
4031
  return {
4036
4032
  c() {
4037
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4033
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4038
4034
  },
4039
4035
  m(i, s) {
4040
- L(i, t, s), u(t, n);
4036
+ R(i, t, s), u(t, n);
4041
4037
  },
4042
4038
  p(i, s) {
4043
4039
  s[1] & /*$_*/
@@ -4045,7 +4041,7 @@ function un(e) {
4045
4041
  i[31]("registerAddressError") + "") && D(n, r);
4046
4042
  },
4047
4043
  d(i) {
4048
- i && k(t);
4044
+ i && I(t);
4049
4045
  }
4050
4046
  };
4051
4047
  }
@@ -4056,10 +4052,10 @@ function cn(e) {
4056
4052
  ), n;
4057
4053
  return {
4058
4054
  c() {
4059
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4055
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4060
4056
  },
4061
4057
  m(i, s) {
4062
- L(i, t, s), u(t, n);
4058
+ R(i, t, s), u(t, n);
4063
4059
  },
4064
4060
  p(i, s) {
4065
4061
  s[1] & /*$_*/
@@ -4067,7 +4063,7 @@ function cn(e) {
4067
4063
  i[31]("registerPostalCodeError") + "") && D(n, r);
4068
4064
  },
4069
4065
  d(i) {
4070
- i && k(t);
4066
+ i && I(t);
4071
4067
  }
4072
4068
  };
4073
4069
  }
@@ -4078,10 +4074,10 @@ function hn(e) {
4078
4074
  ), n;
4079
4075
  return {
4080
4076
  c() {
4081
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4077
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4082
4078
  },
4083
4079
  m(i, s) {
4084
- L(i, t, s), u(t, n);
4080
+ R(i, t, s), u(t, n);
4085
4081
  },
4086
4082
  p(i, s) {
4087
4083
  s[1] & /*$_*/
@@ -4089,7 +4085,7 @@ function hn(e) {
4089
4085
  i[31]("registerCityError") + "") && D(n, r);
4090
4086
  },
4091
4087
  d(i) {
4092
- i && k(t);
4088
+ i && I(t);
4093
4089
  }
4094
4090
  };
4095
4091
  }
@@ -4100,11 +4096,11 @@ function fn(e) {
4100
4096
  ), n, i;
4101
4097
  return {
4102
4098
  c() {
4103
- t = b("option"), n = O(r), t.__value = i = /*country*/
4099
+ t = b("option"), n = M(r), t.__value = i = /*country*/
4104
4100
  e[93].Alpha2Code, ce(t, t.__value);
4105
4101
  },
4106
4102
  m(s, o) {
4107
- L(s, t, o), u(t, n);
4103
+ R(s, t, o), u(t, n);
4108
4104
  },
4109
4105
  p(s, o) {
4110
4106
  o[0] & /*countries*/
@@ -4114,7 +4110,7 @@ function fn(e) {
4114
4110
  s[93].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4115
4111
  },
4116
4112
  d(s) {
4117
- s && k(t);
4113
+ s && I(t);
4118
4114
  }
4119
4115
  };
4120
4116
  }
@@ -4125,11 +4121,11 @@ function dn(e) {
4125
4121
  ), n, i;
4126
4122
  return {
4127
4123
  c() {
4128
- t = b("option"), n = O(r), t.__value = i = /*nationality*/
4124
+ t = b("option"), n = M(r), t.__value = i = /*nationality*/
4129
4125
  e[90].Alpha2Code, ce(t, t.__value);
4130
4126
  },
4131
4127
  m(s, o) {
4132
- L(s, t, o), u(t, n);
4128
+ R(s, t, o), u(t, n);
4133
4129
  },
4134
4130
  p(s, o) {
4135
4131
  o[0] & /*nationalities*/
@@ -4139,7 +4135,7 @@ function dn(e) {
4139
4135
  s[90].Alpha2Code) && (t.__value = i, ce(t, t.__value));
4140
4136
  },
4141
4137
  d(s) {
4142
- s && k(t);
4138
+ s && I(t);
4143
4139
  }
4144
4140
  };
4145
4141
  }
@@ -4150,11 +4146,11 @@ function mn(e) {
4150
4146
  ), n, i;
4151
4147
  return {
4152
4148
  c() {
4153
- t = b("option"), n = O(r), t.__value = i = /*mobilePrefix*/
4149
+ t = b("option"), n = M(r), t.__value = i = /*mobilePrefix*/
4154
4150
  e[87].Prefix, ce(t, t.__value);
4155
4151
  },
4156
4152
  m(s, o) {
4157
- L(s, t, o), u(t, n);
4153
+ R(s, t, o), u(t, n);
4158
4154
  },
4159
4155
  p(s, o) {
4160
4156
  o[0] & /*mobilePrefixes*/
@@ -4164,7 +4160,7 @@ function mn(e) {
4164
4160
  s[87].Prefix) && (t.__value = i, ce(t, t.__value));
4165
4161
  },
4166
4162
  d(s) {
4167
- s && k(t);
4163
+ s && I(t);
4168
4164
  }
4169
4165
  };
4170
4166
  }
@@ -4175,10 +4171,10 @@ function pn(e) {
4175
4171
  ), n;
4176
4172
  return {
4177
4173
  c() {
4178
- t = b("p"), n = O(r), p(t, "class", "InvalidInput");
4174
+ t = b("p"), n = M(r), p(t, "class", "InvalidInput");
4179
4175
  },
4180
4176
  m(i, s) {
4181
- L(i, t, s), u(t, n);
4177
+ R(i, t, s), u(t, n);
4182
4178
  },
4183
4179
  p(i, s) {
4184
4180
  s[1] & /*$_*/
@@ -4186,7 +4182,7 @@ function pn(e) {
4186
4182
  i[31]("registerMobileError") + "") && D(n, r);
4187
4183
  },
4188
4184
  d(i) {
4189
- i && k(t);
4185
+ i && I(t);
4190
4186
  }
4191
4187
  };
4192
4188
  }
@@ -4201,10 +4197,10 @@ function gn(e) {
4201
4197
  );
4202
4198
  return {
4203
4199
  c() {
4204
- n && n.c(), t = S(), i && i.c(), r = Nr();
4200
+ n && n.c(), t = T(), i && i.c(), r = Or();
4205
4201
  },
4206
4202
  m(s, o) {
4207
- n && n.m(s, o), L(s, t, o), i && i.m(s, o), L(s, r, o);
4203
+ n && n.m(s, o), R(s, t, o), i && i.m(s, o), R(s, r, o);
4208
4204
  },
4209
4205
  p(s, o) {
4210
4206
  /*smsoffers*/
@@ -4213,7 +4209,7 @@ function gn(e) {
4213
4209
  s[1] === "true" ? i ? i.p(s, o) : (i = En(s), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
4214
4210
  },
4215
4211
  d(s) {
4216
- s && (k(t), k(r)), n && n.d(s), i && i.d(s);
4212
+ s && (I(t), I(r)), n && n.d(s), i && i.d(s);
4217
4213
  }
4218
4214
  };
4219
4215
  }
@@ -4230,28 +4226,28 @@ function bn(e) {
4230
4226
  );
4231
4227
  return {
4232
4228
  c() {
4233
- t = b("div"), r = b("label"), i = O(n), s = S(), o = b("input"), l = S(), c = b("span"), a = S(), h = b("div"), _ && _.c(), d = S(), v && v.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4229
+ t = b("div"), r = b("label"), i = M(n), s = T(), o = b("input"), l = T(), c = b("span"), a = T(), h = b("div"), _ && _.c(), d = T(), v && v.c(), p(o, "type", "Checkbox"), o.checked = /*consentOffers*/
4234
4230
  e[27], p(c, "class", "Checkmark"), p(r, "class", "Offers"), p(h, "class", "OffersMethodsWrapper"), p(t, "class", "OffersContainer");
4235
4231
  },
4236
- m(P, T) {
4237
- L(P, t, T), u(t, r), u(r, i), u(r, s), u(r, o), u(r, l), u(r, c), u(t, a), u(t, h), _ && _.m(h, null), u(h, d), v && v.m(h, null), m || (E = N(
4232
+ m(O, S) {
4233
+ R(O, t, S), u(t, r), u(r, i), u(r, s), u(r, o), u(r, l), u(r, c), u(t, a), u(t, h), _ && _.m(h, null), u(h, d), v && v.m(h, null), m || (E = k(
4238
4234
  o,
4239
4235
  "click",
4240
4236
  /*click_handler*/
4241
4237
  e[64]
4242
4238
  ), m = !0);
4243
4239
  },
4244
- p(P, T) {
4245
- T[1] & /*$_*/
4240
+ p(O, S) {
4241
+ S[1] & /*$_*/
4246
4242
  1 && n !== (n = /*$_*/
4247
- P[31]("registerUserConsents") + "") && D(i, n), T[0] & /*consentOffers*/
4243
+ O[31]("registerUserConsents") + "") && D(i, n), S[0] & /*consentOffers*/
4248
4244
  134217728 && (o.checked = /*consentOffers*/
4249
- P[27]), /*smsoffers*/
4250
- P[2] === "true" ? _ ? _.p(P, T) : (_ = yn(P), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4251
- P[3] === "true" ? v ? v.p(P, T) : (v = _n(P), v.c(), v.m(h, null)) : v && (v.d(1), v = null);
4245
+ O[27]), /*smsoffers*/
4246
+ O[2] === "true" ? _ ? _.p(O, S) : (_ = yn(O), _.c(), _.m(h, d)) : _ && (_.d(1), _ = null), /*emailmarketing*/
4247
+ O[3] === "true" ? v ? v.p(O, S) : (v = _n(O), v.c(), v.m(h, null)) : v && (v.d(1), v = null);
4252
4248
  },
4253
- d(P) {
4254
- P && k(t), _ && _.d(), v && v.d(), m = !1, E();
4249
+ d(O) {
4250
+ O && I(t), _ && _.d(), v && v.d(), m = !1, E();
4255
4251
  }
4256
4252
  };
4257
4253
  }
@@ -4262,11 +4258,11 @@ function yn(e) {
4262
4258
  ), n, i, s, o, l, c, a, h;
4263
4259
  return {
4264
4260
  c() {
4265
- t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4261
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4266
4262
  e[29].userConsents.sms, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4267
4263
  },
4268
4264
  m(d, m) {
4269
- L(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = N(
4265
+ R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4270
4266
  s,
4271
4267
  "click",
4272
4268
  /*click_handler_1*/
@@ -4281,7 +4277,7 @@ function yn(e) {
4281
4277
  d[29].userConsents.sms) && (s.checked = o);
4282
4278
  },
4283
4279
  d(d) {
4284
- d && k(t), a = !1, h();
4280
+ d && I(t), a = !1, h();
4285
4281
  }
4286
4282
  };
4287
4283
  }
@@ -4292,11 +4288,11 @@ function _n(e) {
4292
4288
  ), n, i, s, o, l, c, a, h;
4293
4289
  return {
4294
4290
  c() {
4295
- t = b("label"), n = O(r), i = S(), s = b("input"), l = S(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4291
+ t = b("label"), n = M(r), i = T(), s = b("input"), l = T(), c = b("span"), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4296
4292
  e[29].userConsents.emailmarketing, p(c, "class", "Checkmark"), p(t, "class", "OffersMethod");
4297
4293
  },
4298
4294
  m(d, m) {
4299
- L(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = N(
4295
+ R(d, t, m), u(t, n), u(t, i), u(t, s), u(t, l), u(t, c), a || (h = k(
4300
4296
  s,
4301
4297
  "click",
4302
4298
  /*click_handler_2*/
@@ -4311,7 +4307,7 @@ function _n(e) {
4311
4307
  d[29].userConsents.emailmarketing) && (s.checked = o);
4312
4308
  },
4313
4309
  d(d) {
4314
- d && k(t), a = !1, h();
4310
+ d && I(t), a = !1, h();
4315
4311
  }
4316
4312
  };
4317
4313
  }
@@ -4320,12 +4316,12 @@ function En(e) {
4320
4316
  e[30].termsandconditions && vn(e);
4321
4317
  return {
4322
4318
  c() {
4323
- t = b("div"), r = b("label"), n = b("span"), i = S(), s = b("input"), l = S(), c = b("span"), a = S(), E && E.c(), h = Nr(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4319
+ t = b("div"), r = b("label"), n = b("span"), i = T(), s = b("input"), l = T(), c = b("span"), a = T(), E && E.c(), h = Or(), p(s, "type", "Checkbox"), s.checked = o = /*allData*/
4324
4320
  e[29].userConsents.termsandconditions, p(c, "class", "Checkmark"), p(r, "class", "AgeConsent"), p(t, "class", "AgeContainer");
4325
4321
  },
4326
4322
  m(_, v) {
4327
- L(_, t, v), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4328
- e[32], u(r, i), u(r, s), u(r, l), u(r, c), L(_, a, v), E && E.m(_, v), L(_, h, v), d || (m = N(
4323
+ R(_, t, v), u(t, r), u(r, n), n.innerHTML = /*textTC*/
4324
+ e[32], u(r, i), u(r, s), u(r, l), u(r, c), R(_, a, v), E && E.m(_, v), R(_, h, v), d || (m = k(
4329
4325
  s,
4330
4326
  "click",
4331
4327
  /*click_handler_3*/
@@ -4339,7 +4335,7 @@ function En(e) {
4339
4335
  _[30].termsandconditions ? E && (E.d(1), E = null) : E ? E.p(_, v) : (E = vn(_), E.c(), E.m(h.parentNode, h));
4340
4336
  },
4341
4337
  d(_) {
4342
- _ && (k(t), k(a), k(h)), E && E.d(_), d = !1, m();
4338
+ _ && (I(t), I(a), I(h)), E && E.d(_), d = !1, m();
4343
4339
  }
4344
4340
  };
4345
4341
  }
@@ -4350,10 +4346,10 @@ function vn(e) {
4350
4346
  ), i;
4351
4347
  return {
4352
4348
  c() {
4353
- t = b("div"), r = b("p"), i = O(n), p(t, "class", "NotificationContainer");
4349
+ t = b("div"), r = b("p"), i = M(n), p(t, "class", "NotificationContainer");
4354
4350
  },
4355
4351
  m(s, o) {
4356
- L(s, t, o), u(t, r), u(r, i);
4352
+ R(s, t, o), u(t, r), u(r, i);
4357
4353
  },
4358
4354
  p(s, o) {
4359
4355
  o[1] & /*$_*/
@@ -4361,7 +4357,7 @@ function vn(e) {
4361
4357
  s[31]("registerTermsConditionsError") + "") && D(i, n);
4362
4358
  },
4363
4359
  d(s) {
4364
- s && k(t);
4360
+ s && I(t);
4365
4361
  }
4366
4362
  };
4367
4363
  }
@@ -4369,13 +4365,13 @@ function Cn(e) {
4369
4365
  let t, r, n;
4370
4366
  return {
4371
4367
  c() {
4372
- t = b("div"), r = b("p"), n = O(
4368
+ t = b("div"), r = b("p"), n = M(
4373
4369
  /*error*/
4374
4370
  e[16]
4375
4371
  ), p(r, "class", "RegisterError");
4376
4372
  },
4377
4373
  m(i, s) {
4378
- L(i, t, s), u(t, r), u(r, n);
4374
+ R(i, t, s), u(t, r), u(r, n);
4379
4375
  },
4380
4376
  p(i, s) {
4381
4377
  s[0] & /*error*/
@@ -4386,36 +4382,36 @@ function Cn(e) {
4386
4382
  );
4387
4383
  },
4388
4384
  d(i) {
4389
- i && k(t);
4385
+ i && I(t);
4390
4386
  }
4391
4387
  };
4392
4388
  }
4393
- function _o(e) {
4389
+ function yo(e) {
4394
4390
  let t, r, n, i, s, o, l, c, a, h, d, m, E, _ = (
4395
4391
  /*$_*/
4396
4392
  e[31]("registerBackButton") + ""
4397
- ), v, P, T, z, M, V, X = (
4393
+ ), v, O, S, z, N, V, X = (
4398
4394
  /*$_*/
4399
4395
  e[31]("registerAddress") + ""
4400
- ), me, Se, Me, vt, W, Ct, Fe, xe, j, te, Te = (
4396
+ ), me, we, Oe, Et, W, vt, Ue, xe, j, te, Te = (
4401
4397
  /*$_*/
4402
4398
  e[31]("registerPostalCode") + ""
4403
- ), pe, De, he, ye, q, fe, Z, We, U, y, B = (
4399
+ ), pe, Fe, he, ye, q, fe, Z, Xe, U, y, B = (
4404
4400
  /*$_*/
4405
4401
  e[31]("registerCity") + ""
4406
- ), xt, Lt, qe, Rt, de, He, Ze, At, Be, Pe, $e = (
4402
+ ), Ct, It, We, Lt, de, Se, qe, xt, He, Be, Ze = (
4407
4403
  /*$_*/
4408
4404
  e[31]("registerCountry") + ""
4409
- ), Qe, Ut, Ge, je, _e, ze, Ft, Ae, Ne, Ve = (
4405
+ ), $e, Rt, De, Ge, _e, je, Ut, Ae, Me, ze = (
4410
4406
  /*$_*/
4411
4407
  e[31]("registerNationality") + ""
4412
- ), wt, Dt, Je, Gt, Ee, Ye, jt, ge, ke, Ke = (
4408
+ ), At, Ft, Qe, Dt, Ee, Je, Gt, ge, Ne, Ye = (
4413
4409
  /*$_*/
4414
4410
  e[31]("registerMobile") + ""
4415
- ), St, zt, et, Vt, Ie, ve, Xt, $, Wt, tt, qt, Tt, Oe, rt = (
4411
+ ), wt, jt, Ke, zt, ke, ve, Vt, $, Xt, et, Wt, Tt, Pe, tt = (
4416
4412
  /*$_*/
4417
4413
  e[31]("registerOpenAccount") + ""
4418
- ), g, x, G, lr, Lr, re = (
4414
+ ), g, x, G, or, Lr, re = (
4419
4415
  /*captchakey*/
4420
4416
  e[4] && ln(e)
4421
4417
  ), ne = (
@@ -4427,24 +4423,24 @@ function _o(e) {
4427
4423
  ), se = (
4428
4424
  /*invalidCity*/
4429
4425
  e[9] && hn(e)
4430
- ), nt = lt(
4426
+ ), rt = at(
4431
4427
  /*countries*/
4432
4428
  e[20]
4433
4429
  ), Q = [];
4434
- for (let f = 0; f < nt.length; f += 1)
4435
- Q[f] = fn(an(e, nt, f));
4436
- let it = lt(
4430
+ for (let f = 0; f < rt.length; f += 1)
4431
+ Q[f] = fn(an(e, rt, f));
4432
+ let nt = at(
4437
4433
  /*nationalities*/
4438
4434
  e[22]
4439
4435
  ), J = [];
4440
- for (let f = 0; f < it.length; f += 1)
4441
- J[f] = dn(on(e, it, f));
4442
- let st = lt(
4436
+ for (let f = 0; f < nt.length; f += 1)
4437
+ J[f] = dn(on(e, nt, f));
4438
+ let it = at(
4443
4439
  /*mobilePrefixes*/
4444
4440
  e[25]
4445
4441
  ), Y = [];
4446
- for (let f = 0; f < st.length; f += 1)
4447
- Y[f] = mn(sn(e, st, f));
4442
+ for (let f = 0; f < it.length; f += 1)
4443
+ Y[f] = mn(sn(e, it, f));
4448
4444
  let oe = (
4449
4445
  /*invalidMobile*/
4450
4446
  e[8] && pn(e)
@@ -4457,222 +4453,222 @@ function _o(e) {
4457
4453
  );
4458
4454
  return {
4459
4455
  c() {
4460
- var f, C, F, Ht, Bt, Pt;
4461
- re && re.c(), t = Nr(), r = S(), n = b("div"), i = S(), s = b("div"), o = b("div"), l = b("button"), c = $t("svg"), a = $t("defs"), h = $t("style"), d = O(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = $t("path"), E = S(), v = O(_), P = S(), T = b("form"), z = b("div"), M = b("div"), V = b("label"), me = O(X), Se = O(":"), Me = b("span"), Me.textContent = "*", vt = S(), W = b("input"), Ct = S(), ne && ne.c(), xe = S(), j = b("div"), te = b("label"), pe = O(Te), De = O(":"), he = b("span"), he.textContent = "*", ye = S(), q = b("input"), fe = S(), ie && ie.c(), We = S(), U = b("div"), y = b("label"), xt = O(B), Lt = O(":"), qe = b("span"), qe.textContent = "*", Rt = S(), de = b("input"), He = S(), se && se.c(), At = S(), Be = b("div"), Pe = b("label"), Qe = O($e), Ut = O(":"), Ge = b("span"), Ge.textContent = "*", je = S(), _e = b("select");
4456
+ var f, C, F, St, Ht, Bt;
4457
+ re && re.c(), t = Or(), r = T(), n = b("div"), i = T(), s = b("div"), o = b("div"), l = b("button"), c = Zt("svg"), a = Zt("defs"), h = Zt("style"), d = M(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), m = Zt("path"), E = T(), v = M(_), O = T(), S = b("form"), z = b("div"), N = b("div"), V = b("label"), me = M(X), we = M(":"), Oe = b("span"), Oe.textContent = "*", Et = T(), W = b("input"), vt = T(), ne && ne.c(), xe = T(), j = b("div"), te = b("label"), pe = M(Te), Fe = M(":"), he = b("span"), he.textContent = "*", ye = T(), q = b("input"), fe = T(), ie && ie.c(), Xe = T(), U = b("div"), y = b("label"), Ct = M(B), It = M(":"), We = b("span"), We.textContent = "*", Lt = T(), de = b("input"), Se = T(), se && se.c(), xt = T(), He = b("div"), Be = b("label"), $e = M(Ze), Rt = M(":"), De = b("span"), De.textContent = "*", Ge = T(), _e = b("select");
4462
4458
  for (let ue = 0; ue < Q.length; ue += 1)
4463
4459
  Q[ue].c();
4464
- Ft = S(), Ae = b("div"), Ne = b("label"), wt = O(Ve), Dt = O(":"), Je = b("span"), Je.textContent = "*", Gt = S(), Ee = b("select");
4460
+ Ut = T(), Ae = b("div"), Me = b("label"), At = M(ze), Ft = M(":"), Qe = b("span"), Qe.textContent = "*", Dt = T(), Ee = b("select");
4465
4461
  for (let ue = 0; ue < J.length; ue += 1)
4466
4462
  J[ue].c();
4467
- jt = S(), ge = b("div"), ke = b("label"), St = O(Ke), zt = O(":"), et = b("span"), et.textContent = "*", Vt = S(), Ie = b("div"), ve = b("select");
4463
+ Gt = T(), ge = b("div"), Ne = b("label"), wt = M(Ye), jt = M(":"), Ke = b("span"), Ke.textContent = "*", zt = T(), ke = b("div"), ve = b("select");
4468
4464
  for (let ue = 0; ue < Y.length; ue += 1)
4469
4465
  Y[ue].c();
4470
- Xt = S(), $ = b("input"), Wt = S(), oe && oe.c(), qt = S(), ae && ae.c(), Tt = S(), Oe = b("button"), g = O(rt), G = S(), le && le.c(), p(n, "class", "g-recaptcha"), p(
4466
+ Vt = T(), $ = b("input"), Xt = T(), oe && oe.c(), Wt = T(), ae && ae.c(), Tt = T(), Pe = b("button"), g = M(tt), G = T(), le && le.c(), p(n, "class", "g-recaptcha"), p(
4471
4467
  n,
4472
4468
  "data-sitekey",
4473
4469
  /*captchakey*/
4474
4470
  e[4]
4475
- ), 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(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(Me, "class", "FormRequired"), p(V, "for", "Address"), p(W, "type", "text"), p(W, "id", "Address"), p(M, "class", Fe = "AddressContainer " + /*invalidAddress*/
4471
+ ), 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(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "viewBox", "0 0 24 24"), p(l, "class", "BackButton"), p(o, "class", "RegisterFormHeader"), p(Oe, "class", "FormRequired"), p(V, "for", "Address"), p(W, "type", "text"), p(W, "id", "Address"), p(N, "class", Ue = "AddressContainer " + /*invalidAddress*/
4476
4472
  (e[6] && !/*addressFocus*/
4477
4473
  e[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4478
4474
  (((f = e[14]) == null ? void 0 : f.indexOf("address")) >= 0 ? "Hidden" : "")), p(he, "class", "FormRequired"), p(te, "for", "PostalCode"), p(q, "type", "text"), p(q, "id", "PostalCode"), p(j, "class", Z = "PostalCodeContainer " + /*invalidPostalCode*/
4479
4475
  (e[7] && !/*postalCodeFocus*/
4480
4476
  e[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4481
- (((C = e[14]) == null ? void 0 : C.indexOf("postalCode")) >= 0 ? "Hidden" : "")), p(z, "class", "AddressPostalCodeContainer"), p(qe, "class", "FormRequired"), p(y, "for", "City"), p(de, "type", "text"), p(de, "id", "City"), p(U, "class", Ze = "CityContainer " + /*invalidCity*/
4477
+ (((C = e[14]) == null ? void 0 : C.indexOf("postalCode")) >= 0 ? "Hidden" : "")), p(z, "class", "AddressPostalCodeContainer"), p(We, "class", "FormRequired"), p(y, "for", "City"), p(de, "type", "text"), p(de, "id", "City"), p(U, "class", qe = "CityContainer " + /*invalidCity*/
4482
4478
  (e[9] && /*cityFocus*/
4483
4479
  e[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4484
- (((F = e[14]) == null ? void 0 : F.indexOf("city")) >= 0 ? "Hidden" : "")), p(Ge, "class", "FormRequired"), p(Pe, "for", "Country"), p(_e, "id", "Country"), /*countrySelected*/
4485
- e[21] === void 0 && ft(() => (
4480
+ (((F = e[14]) == null ? void 0 : F.indexOf("city")) >= 0 ? "Hidden" : "")), p(De, "class", "FormRequired"), p(Be, "for", "Country"), p(_e, "id", "Country"), /*countrySelected*/
4481
+ e[21] === void 0 && ht(() => (
4486
4482
  /*select0_change_handler*/
4487
4483
  e[58].call(_e)
4488
- )), p(Be, "class", ze = "CountryContainer " + /*disabledFieldsList*/
4489
- (((Ht = e[14]) == null ? void 0 : Ht.indexOf("country")) >= 0 ? "Hidden" : "")), p(Je, "class", "FormRequired"), p(Ne, "for", "Nationality"), p(Ee, "id", "Nationality"), /*nationalitySelected*/
4490
- e[23] === void 0 && ft(() => (
4484
+ )), p(He, "class", je = "CountryContainer " + /*disabledFieldsList*/
4485
+ (((St = e[14]) == null ? void 0 : St.indexOf("country")) >= 0 ? "Hidden" : "")), p(Qe, "class", "FormRequired"), p(Me, "for", "Nationality"), p(Ee, "id", "Nationality"), /*nationalitySelected*/
4486
+ e[23] === void 0 && ht(() => (
4491
4487
  /*select1_change_handler*/
4492
4488
  e[59].call(Ee)
4493
- )), p(Ae, "class", Ye = "NationalityContainer " + /*disabledFieldsList*/
4494
- (((Bt = e[14]) == null ? void 0 : Bt.indexOf("nationality")) >= 0 ? "Hidden" : "")), p(et, "class", "FormRequired"), p(ke, "for", "Mobile"), p(ve, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4495
- e[26] === void 0 && ft(() => (
4489
+ )), p(Ae, "class", Je = "NationalityContainer " + /*disabledFieldsList*/
4490
+ (((Ht = e[14]) == null ? void 0 : Ht.indexOf("nationality")) >= 0 ? "Hidden" : "")), p(Ke, "class", "FormRequired"), p(Ne, "for", "Mobile"), p(ve, "class", "MobilePrefixSelected"), /*mobilePrefixSelected*/
4491
+ e[26] === void 0 && ht(() => (
4496
4492
  /*select2_change_handler*/
4497
4493
  e[60].call(ve)
4498
- )), p($, "type", "text"), p($, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p($, "id", "Mobile"), p($, "class", "MobileInput"), p(Ie, "class", "MobileWrapper"), p(ge, "class", tt = "MobileContainer " + /*invalidMobile*/
4494
+ )), p($, "type", "text"), p($, "oninput", "this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"), p($, "id", "Mobile"), p($, "class", "MobileInput"), p(ke, "class", "MobileWrapper"), p(ge, "class", et = "MobileContainer " + /*invalidMobile*/
4499
4495
  (e[8] && !/*mobileFocus*/
4500
4496
  e[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4501
- (((Pt = e[14]) == null ? void 0 : Pt.indexOf("mobile")) >= 0 ? "Hidden" : "")), p(Oe, "class", "RegisterStepNext"), Oe.disabled = x = !/*isValid*/
4502
- e[28], p(T, "class", "RegisterFormContent");
4497
+ (((Bt = e[14]) == null ? void 0 : Bt.indexOf("mobile")) >= 0 ? "Hidden" : "")), p(Pe, "class", "RegisterStepNext"), Pe.disabled = x = !/*isValid*/
4498
+ e[28], p(S, "class", "RegisterFormContent");
4503
4499
  },
4504
4500
  m(f, C) {
4505
- re && re.m(document.head, null), u(document.head, t), L(f, r, C), L(f, n, C), L(f, i, C), L(f, s, C), u(s, o), u(o, l), u(l, c), u(c, a), u(a, h), u(h, d), u(c, m), u(l, E), u(l, v), u(s, P), u(s, T), u(T, z), u(z, M), u(M, V), u(V, me), u(V, Se), u(V, Me), u(M, vt), u(M, W), ce(
4501
+ re && re.m(document.head, null), u(document.head, t), R(f, r, C), R(f, n, C), R(f, i, C), R(f, s, C), u(s, o), u(o, l), u(l, c), u(c, a), u(a, h), u(h, d), u(c, m), u(l, E), u(l, v), u(s, O), u(s, S), u(S, z), u(z, N), u(N, V), u(V, me), u(V, we), u(V, Oe), u(N, Et), u(N, W), ce(
4506
4502
  W,
4507
4503
  /*address*/
4508
4504
  e[17]
4509
- ), u(M, Ct), ne && ne.m(M, null), u(z, xe), u(z, j), u(j, te), u(te, pe), u(te, De), u(te, he), u(j, ye), u(j, q), ce(
4505
+ ), u(N, vt), ne && ne.m(N, null), u(z, xe), u(z, j), u(j, te), u(te, pe), u(te, Fe), u(te, he), u(j, ye), u(j, q), ce(
4510
4506
  q,
4511
4507
  /*postalCode*/
4512
4508
  e[18]
4513
- ), u(j, fe), ie && ie.m(j, null), u(T, We), u(T, U), u(U, y), u(y, xt), u(y, Lt), u(y, qe), u(U, Rt), u(U, de), ce(
4509
+ ), u(j, fe), ie && ie.m(j, null), u(S, Xe), u(S, U), u(U, y), u(y, Ct), u(y, It), u(y, We), u(U, Lt), u(U, de), ce(
4514
4510
  de,
4515
4511
  /*city*/
4516
4512
  e[19]
4517
- ), u(U, He), se && se.m(U, null), u(T, At), u(T, Be), u(Be, Pe), u(Pe, Qe), u(Pe, Ut), u(Pe, Ge), u(Be, je), u(Be, _e);
4513
+ ), u(U, Se), se && se.m(U, null), u(S, xt), u(S, He), u(He, Be), u(Be, $e), u(Be, Rt), u(Be, De), u(He, Ge), u(He, _e);
4518
4514
  for (let F = 0; F < Q.length; F += 1)
4519
4515
  Q[F] && Q[F].m(_e, null);
4520
- ot(
4516
+ st(
4521
4517
  _e,
4522
4518
  /*countrySelected*/
4523
4519
  e[21],
4524
4520
  !0
4525
- ), u(T, Ft), u(T, Ae), u(Ae, Ne), u(Ne, wt), u(Ne, Dt), u(Ne, Je), u(Ae, Gt), u(Ae, Ee);
4521
+ ), u(S, Ut), u(S, Ae), u(Ae, Me), u(Me, At), u(Me, Ft), u(Me, Qe), u(Ae, Dt), u(Ae, Ee);
4526
4522
  for (let F = 0; F < J.length; F += 1)
4527
4523
  J[F] && J[F].m(Ee, null);
4528
- ot(
4524
+ st(
4529
4525
  Ee,
4530
4526
  /*nationalitySelected*/
4531
4527
  e[23],
4532
4528
  !0
4533
- ), u(T, jt), u(T, ge), u(ge, ke), u(ke, St), u(ke, zt), u(ke, et), u(ge, Vt), u(ge, Ie), u(Ie, ve);
4529
+ ), u(S, Gt), u(S, ge), u(ge, Ne), u(Ne, wt), u(Ne, jt), u(Ne, Ke), u(ge, zt), u(ge, ke), u(ke, ve);
4534
4530
  for (let F = 0; F < Y.length; F += 1)
4535
4531
  Y[F] && Y[F].m(ve, null);
4536
- ot(
4532
+ st(
4537
4533
  ve,
4538
4534
  /*mobilePrefixSelected*/
4539
4535
  e[26],
4540
4536
  !0
4541
- ), u(Ie, Xt), u(Ie, $), ce(
4537
+ ), u(ke, Vt), u(ke, $), ce(
4542
4538
  $,
4543
4539
  /*mobile*/
4544
4540
  e[24]
4545
- ), u(ge, Wt), oe && oe.m(ge, null), u(T, qt), ae && ae.m(T, null), u(T, Tt), u(T, Oe), u(Oe, g), u(s, G), le && le.m(s, null), e[69](s), lr || (Lr = [
4546
- N(
4541
+ ), u(ge, Xt), oe && oe.m(ge, null), u(S, Wt), ae && ae.m(S, null), u(S, Tt), u(S, Pe), u(Pe, g), u(s, G), le && le.m(s, null), e[69](s), or || (Lr = [
4542
+ k(
4547
4543
  l,
4548
4544
  "click",
4549
4545
  /*goBack*/
4550
4546
  e[40]
4551
4547
  ),
4552
- N(
4548
+ k(
4553
4549
  W,
4554
4550
  "input",
4555
4551
  /*input0_input_handler*/
4556
4552
  e[49]
4557
4553
  ),
4558
- N(
4554
+ k(
4559
4555
  W,
4560
4556
  "keyup",
4561
4557
  /*validateAddress*/
4562
4558
  e[33]
4563
4559
  ),
4564
- N(
4560
+ k(
4565
4561
  W,
4566
4562
  "focus",
4567
4563
  /*focus_handler*/
4568
4564
  e[50]
4569
4565
  ),
4570
- N(
4566
+ k(
4571
4567
  W,
4572
4568
  "blur",
4573
4569
  /*blur_handler*/
4574
4570
  e[51]
4575
4571
  ),
4576
- N(
4572
+ k(
4577
4573
  q,
4578
4574
  "input",
4579
4575
  /*input1_input_handler*/
4580
4576
  e[52]
4581
4577
  ),
4582
- N(
4578
+ k(
4583
4579
  q,
4584
4580
  "keyup",
4585
4581
  /*validatePostalCode*/
4586
4582
  e[34]
4587
4583
  ),
4588
- N(
4584
+ k(
4589
4585
  q,
4590
4586
  "focus",
4591
4587
  /*focus_handler_1*/
4592
4588
  e[53]
4593
4589
  ),
4594
- N(
4590
+ k(
4595
4591
  q,
4596
4592
  "blur",
4597
4593
  /*blur_handler_1*/
4598
4594
  e[54]
4599
4595
  ),
4600
- N(
4596
+ k(
4601
4597
  de,
4602
4598
  "input",
4603
4599
  /*input2_input_handler*/
4604
4600
  e[55]
4605
4601
  ),
4606
- N(
4602
+ k(
4607
4603
  de,
4608
4604
  "keyup",
4609
4605
  /*validateCity*/
4610
4606
  e[35]
4611
4607
  ),
4612
- N(
4608
+ k(
4613
4609
  de,
4614
4610
  "focus",
4615
4611
  /*focus_handler_2*/
4616
4612
  e[56]
4617
4613
  ),
4618
- N(
4614
+ k(
4619
4615
  de,
4620
4616
  "blur",
4621
4617
  /*blur_handler_2*/
4622
4618
  e[57]
4623
4619
  ),
4624
- N(
4620
+ k(
4625
4621
  _e,
4626
4622
  "change",
4627
4623
  /*select0_change_handler*/
4628
4624
  e[58]
4629
4625
  ),
4630
- N(
4626
+ k(
4631
4627
  Ee,
4632
4628
  "change",
4633
4629
  /*select1_change_handler*/
4634
4630
  e[59]
4635
4631
  ),
4636
- N(
4632
+ k(
4637
4633
  ve,
4638
4634
  "change",
4639
4635
  /*select2_change_handler*/
4640
4636
  e[60]
4641
4637
  ),
4642
- N(
4638
+ k(
4643
4639
  $,
4644
4640
  "input",
4645
4641
  /*input3_input_handler*/
4646
4642
  e[61]
4647
4643
  ),
4648
- N(
4644
+ k(
4649
4645
  $,
4650
4646
  "keyup",
4651
4647
  /*validateMobile*/
4652
4648
  e[36]
4653
4649
  ),
4654
- N(
4650
+ k(
4655
4651
  $,
4656
4652
  "focus",
4657
4653
  /*focus_handler_3*/
4658
4654
  e[62]
4659
4655
  ),
4660
- N(
4656
+ k(
4661
4657
  $,
4662
4658
  "blur",
4663
4659
  /*blur_handler_3*/
4664
4660
  e[63]
4665
4661
  ),
4666
- N(
4667
- Oe,
4662
+ k(
4663
+ Pe,
4668
4664
  "click",
4669
4665
  /*click_handler_4*/
4670
4666
  e[68]
4671
4667
  )
4672
- ], lr = !0);
4668
+ ], or = !0);
4673
4669
  },
4674
4670
  p(f, C) {
4675
- var F, Ht, Bt, Pt, ue, Rr;
4671
+ var F, St, Ht, Bt, ue, Rr;
4676
4672
  if (/*captchakey*/
4677
4673
  f[4] ? re ? re.p(f, C) : (re = ln(f), re.c(), re.m(t.parentNode, t)) : re && (re.d(1), re = null), C[0] & /*captchakey*/
4678
4674
  16 && p(
@@ -4691,11 +4687,11 @@ function _o(e) {
4691
4687
  /*address*/
4692
4688
  f[17]
4693
4689
  ), /*invalidAddress*/
4694
- f[6] ? ne ? ne.p(f, C) : (ne = un(f), ne.c(), ne.m(M, null)) : ne && (ne.d(1), ne = null), C[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4695
- 17472 && Fe !== (Fe = "AddressContainer " + /*invalidAddress*/
4690
+ f[6] ? ne ? ne.p(f, C) : (ne = un(f), ne.c(), ne.m(N, null)) : ne && (ne.d(1), ne = null), C[0] & /*invalidAddress, addressFocus, disabledFieldsList*/
4691
+ 17472 && Ue !== (Ue = "AddressContainer " + /*invalidAddress*/
4696
4692
  (f[6] && !/*addressFocus*/
4697
4693
  f[10] ? "InvalidField" : "") + /*disabledFieldsList*/
4698
- (((F = f[14]) == null ? void 0 : F.indexOf("address")) >= 0 ? "Hidden" : "")) && p(M, "class", Fe), C[1] & /*$_*/
4694
+ (((F = f[14]) == null ? void 0 : F.indexOf("address")) >= 0 ? "Hidden" : "")) && p(N, "class", Ue), C[1] & /*$_*/
4699
4695
  1 && Te !== (Te = /*$_*/
4700
4696
  f[31]("registerPostalCode") + "") && D(pe, Te), C[0] & /*postalCode*/
4701
4697
  262144 && q.value !== /*postalCode*/
@@ -4708,9 +4704,9 @@ function _o(e) {
4708
4704
  18560 && Z !== (Z = "PostalCodeContainer " + /*invalidPostalCode*/
4709
4705
  (f[7] && !/*postalCodeFocus*/
4710
4706
  f[11] ? "InvalidField" : "") + /*disabledFieldsList*/
4711
- (((Ht = f[14]) == null ? void 0 : Ht.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && p(j, "class", Z), C[1] & /*$_*/
4707
+ (((St = f[14]) == null ? void 0 : St.indexOf("postalCode")) >= 0 ? "Hidden" : "")) && p(j, "class", Z), C[1] & /*$_*/
4712
4708
  1 && B !== (B = /*$_*/
4713
- f[31]("registerCity") + "") && D(xt, B), C[0] & /*city*/
4709
+ f[31]("registerCity") + "") && D(Ct, B), C[0] & /*city*/
4714
4710
  524288 && de.value !== /*city*/
4715
4711
  f[19] && ce(
4716
4712
  de,
@@ -4718,76 +4714,76 @@ function _o(e) {
4718
4714
  f[19]
4719
4715
  ), /*invalidCity*/
4720
4716
  f[9] ? se ? se.p(f, C) : (se = hn(f), se.c(), se.m(U, null)) : se && (se.d(1), se = null), C[0] & /*invalidCity, cityFocus, disabledFieldsList*/
4721
- 25088 && Ze !== (Ze = "CityContainer " + /*invalidCity*/
4717
+ 25088 && qe !== (qe = "CityContainer " + /*invalidCity*/
4722
4718
  (f[9] && /*cityFocus*/
4723
4719
  f[13] ? "InvalidField" : "") + /*disabledFieldsList*/
4724
- (((Bt = f[14]) == null ? void 0 : Bt.indexOf("city")) >= 0 ? "Hidden" : "")) && p(U, "class", Ze), C[1] & /*$_*/
4725
- 1 && $e !== ($e = /*$_*/
4726
- f[31]("registerCountry") + "") && D(Qe, $e), C[0] & /*countries*/
4720
+ (((Ht = f[14]) == null ? void 0 : Ht.indexOf("city")) >= 0 ? "Hidden" : "")) && p(U, "class", qe), C[1] & /*$_*/
4721
+ 1 && Ze !== (Ze = /*$_*/
4722
+ f[31]("registerCountry") + "") && D($e, Ze), C[0] & /*countries*/
4727
4723
  1048576) {
4728
- nt = lt(
4724
+ rt = at(
4729
4725
  /*countries*/
4730
4726
  f[20]
4731
4727
  );
4732
4728
  let A;
4733
- for (A = 0; A < nt.length; A += 1) {
4734
- const Le = an(f, nt, A);
4735
- Q[A] ? Q[A].p(Le, C) : (Q[A] = fn(Le), Q[A].c(), Q[A].m(_e, null));
4729
+ for (A = 0; A < rt.length; A += 1) {
4730
+ const Ie = an(f, rt, A);
4731
+ Q[A] ? Q[A].p(Ie, C) : (Q[A] = fn(Ie), Q[A].c(), Q[A].m(_e, null));
4736
4732
  }
4737
4733
  for (; A < Q.length; A += 1)
4738
4734
  Q[A].d(1);
4739
- Q.length = nt.length;
4735
+ Q.length = rt.length;
4740
4736
  }
4741
4737
  if (C[0] & /*countrySelected, countries*/
4742
- 3145728 && ot(
4738
+ 3145728 && st(
4743
4739
  _e,
4744
4740
  /*countrySelected*/
4745
4741
  f[21]
4746
4742
  ), C[0] & /*disabledFieldsList*/
4747
- 16384 && ze !== (ze = "CountryContainer " + /*disabledFieldsList*/
4748
- (((Pt = f[14]) == null ? void 0 : Pt.indexOf("country")) >= 0 ? "Hidden" : "")) && p(Be, "class", ze), C[1] & /*$_*/
4749
- 1 && Ve !== (Ve = /*$_*/
4750
- f[31]("registerNationality") + "") && D(wt, Ve), C[0] & /*nationalities*/
4743
+ 16384 && je !== (je = "CountryContainer " + /*disabledFieldsList*/
4744
+ (((Bt = f[14]) == null ? void 0 : Bt.indexOf("country")) >= 0 ? "Hidden" : "")) && p(He, "class", je), C[1] & /*$_*/
4745
+ 1 && ze !== (ze = /*$_*/
4746
+ f[31]("registerNationality") + "") && D(At, ze), C[0] & /*nationalities*/
4751
4747
  4194304) {
4752
- it = lt(
4748
+ nt = at(
4753
4749
  /*nationalities*/
4754
4750
  f[22]
4755
4751
  );
4756
4752
  let A;
4757
- for (A = 0; A < it.length; A += 1) {
4758
- const Le = on(f, it, A);
4759
- J[A] ? J[A].p(Le, C) : (J[A] = dn(Le), J[A].c(), J[A].m(Ee, null));
4753
+ for (A = 0; A < nt.length; A += 1) {
4754
+ const Ie = on(f, nt, A);
4755
+ J[A] ? J[A].p(Ie, C) : (J[A] = dn(Ie), J[A].c(), J[A].m(Ee, null));
4760
4756
  }
4761
4757
  for (; A < J.length; A += 1)
4762
4758
  J[A].d(1);
4763
- J.length = it.length;
4759
+ J.length = nt.length;
4764
4760
  }
4765
4761
  if (C[0] & /*nationalitySelected, nationalities*/
4766
- 12582912 && ot(
4762
+ 12582912 && st(
4767
4763
  Ee,
4768
4764
  /*nationalitySelected*/
4769
4765
  f[23]
4770
4766
  ), C[0] & /*disabledFieldsList*/
4771
- 16384 && Ye !== (Ye = "NationalityContainer " + /*disabledFieldsList*/
4772
- (((ue = f[14]) == null ? void 0 : ue.indexOf("nationality")) >= 0 ? "Hidden" : "")) && p(Ae, "class", Ye), C[1] & /*$_*/
4773
- 1 && Ke !== (Ke = /*$_*/
4774
- f[31]("registerMobile") + "") && D(St, Ke), C[0] & /*mobilePrefixes*/
4767
+ 16384 && Je !== (Je = "NationalityContainer " + /*disabledFieldsList*/
4768
+ (((ue = f[14]) == null ? void 0 : ue.indexOf("nationality")) >= 0 ? "Hidden" : "")) && p(Ae, "class", Je), C[1] & /*$_*/
4769
+ 1 && Ye !== (Ye = /*$_*/
4770
+ f[31]("registerMobile") + "") && D(wt, Ye), C[0] & /*mobilePrefixes*/
4775
4771
  33554432) {
4776
- st = lt(
4772
+ it = at(
4777
4773
  /*mobilePrefixes*/
4778
4774
  f[25]
4779
4775
  );
4780
4776
  let A;
4781
- for (A = 0; A < st.length; A += 1) {
4782
- const Le = sn(f, st, A);
4783
- Y[A] ? Y[A].p(Le, C) : (Y[A] = mn(Le), Y[A].c(), Y[A].m(ve, null));
4777
+ for (A = 0; A < it.length; A += 1) {
4778
+ const Ie = sn(f, it, A);
4779
+ Y[A] ? Y[A].p(Ie, C) : (Y[A] = mn(Ie), Y[A].c(), Y[A].m(ve, null));
4784
4780
  }
4785
4781
  for (; A < Y.length; A += 1)
4786
4782
  Y[A].d(1);
4787
- Y.length = st.length;
4783
+ Y.length = it.length;
4788
4784
  }
4789
4785
  C[0] & /*mobilePrefixSelected, mobilePrefixes*/
4790
- 100663296 && ot(
4786
+ 100663296 && st(
4791
4787
  ve,
4792
4788
  /*mobilePrefixSelected*/
4793
4789
  f[26]
@@ -4799,28 +4795,28 @@ function _o(e) {
4799
4795
  f[24]
4800
4796
  ), /*invalidMobile*/
4801
4797
  f[8] ? oe ? oe.p(f, C) : (oe = pn(f), oe.c(), oe.m(ge, null)) : oe && (oe.d(1), oe = null), C[0] & /*invalidMobile, mobileFocus, disabledFieldsList*/
4802
- 20736 && tt !== (tt = "MobileContainer " + /*invalidMobile*/
4798
+ 20736 && et !== (et = "MobileContainer " + /*invalidMobile*/
4803
4799
  (f[8] && !/*mobileFocus*/
4804
4800
  f[12] ? "InvalidField" : "") + /*disabledFieldsList*/
4805
- (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && p(ge, "class", tt), /*userconsentsexist*/
4806
- f[0] === "true" ? ae ? ae.p(f, C) : (ae = gn(f), ae.c(), ae.m(T, Tt)) : ae && (ae.d(1), ae = null), C[1] & /*$_*/
4807
- 1 && rt !== (rt = /*$_*/
4808
- f[31]("registerOpenAccount") + "") && D(g, rt), C[0] & /*isValid*/
4801
+ (((Rr = f[14]) == null ? void 0 : Rr.indexOf("mobile")) >= 0 ? "Hidden" : "")) && p(ge, "class", et), /*userconsentsexist*/
4802
+ f[0] === "true" ? ae ? ae.p(f, C) : (ae = gn(f), ae.c(), ae.m(S, Tt)) : ae && (ae.d(1), ae = null), C[1] & /*$_*/
4803
+ 1 && tt !== (tt = /*$_*/
4804
+ f[31]("registerOpenAccount") + "") && D(g, tt), C[0] & /*isValid*/
4809
4805
  268435456 && x !== (x = !/*isValid*/
4810
- f[28]) && (Oe.disabled = x), /*showError*/
4806
+ f[28]) && (Pe.disabled = x), /*showError*/
4811
4807
  f[15] ? le ? le.p(f, C) : (le = Cn(f), le.c(), le.m(s, null)) : le && (le.d(1), le = null);
4812
4808
  },
4813
4809
  i: Ce,
4814
4810
  o: Ce,
4815
4811
  d(f) {
4816
- f && (k(r), k(n), k(i), k(s)), re && re.d(f), k(t), ne && ne.d(), ie && ie.d(), se && se.d(), fr(Q, f), fr(J, f), fr(Y, f), oe && oe.d(), ae && ae.d(), le && le.d(), e[69](null), lr = !1, bt(Lr);
4812
+ f && (I(r), I(n), I(i), I(s)), re && re.d(f), I(t), ne && ne.d(), ie && ie.d(), se && se.d(), cr(Q, f), cr(J, f), cr(Y, f), oe && oe.d(), ae && ae.d(), le && le.d(), e[69](null), or = !1, gt(Lr);
4817
4813
  }
4818
4814
  };
4819
4815
  }
4820
- function Eo(e, t, r) {
4816
+ function _o(e, t, r) {
4821
4817
  let n;
4822
- ni(e, ho, (g) => r(31, n = g));
4823
- let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: c = "" } = t, { captchakey: a = "" } = t, { lang: h = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: E } = t, { clientstyling: _ = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: P = "" } = t, T, z, M, V, X = !1, me = !1, Se = !1, Me = !1, vt, W, Ct = !1, Fe = "", xe = "", j = "", te = "", Te = [], pe = "", De = [], he = "", ye = "", q = [], fe = "", Z = !1, We = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4818
+ ni(e, co, (g) => r(31, n = g));
4819
+ let { userconsentsexist: i = "false" } = t, { termsconditions: s = "false" } = t, { smsoffers: o = "false" } = t, { emailmarketing: l = "false" } = t, { endpoint: c = "" } = t, { captchakey: a = "" } = t, { lang: h = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: m = "" } = t, { mbsource: E } = t, { clientstyling: _ = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: O = "" } = t, S, z, N, V, X = !1, me = !1, we = !1, Oe = !1, Et, W, vt = !1, Ue = "", xe = "", j = "", te = "", Te = [], pe = "", Fe = [], he = "", ye = "", q = [], fe = "", Z = !1, Xe = !1, U, y = { mobile: {}, userConsents: {} }, B = {
4824
4820
  address1: !1,
4825
4821
  postalCode: !1,
4826
4822
  city: !1,
@@ -4829,9 +4825,9 @@ function Eo(e, t, r) {
4829
4825
  mobile: !1,
4830
4826
  termsandconditions: s === "false"
4831
4827
  };
4832
- fo({ withLocale: "en", translations: {} });
4833
- const xt = () => {
4834
- fetch(P).then((x) => x.json()).then((x) => {
4828
+ ho({ withLocale: "en", translations: {} });
4829
+ const Ct = () => {
4830
+ fetch(O).then((x) => x.json()).then((x) => {
4835
4831
  Object.keys(x).forEach((G) => {
4836
4832
  rn(G, x[G]);
4837
4833
  });
@@ -4842,14 +4838,14 @@ function Eo(e, t, r) {
4842
4838
  Object.keys(nn).forEach((g) => {
4843
4839
  rn(g, nn[g]);
4844
4840
  });
4845
- let Lt = n("registerTermsConditions");
4846
- const qe = () => {
4841
+ let It = n("registerTermsConditions");
4842
+ const We = () => {
4847
4843
  fetch(`${c}/v1/player/countries`).then((g) => g.json()).then((g) => {
4848
4844
  fetch(`${c}/v1/player/operatorSupportedCountries`).then((x) => x.status >= 300 ? new Error("Error while fetching the supported countries") : x.json()).then((x) => {
4849
- r(20, Te = g.countries.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)), pe || (r(21, pe = Te[0].Alpha2Code), r(30, B.country = !0, B)), r(22, De = g.countries), he || (r(23, he = De.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4845
+ r(20, Te = g.countries.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)), pe || (r(21, pe = Te[0].Alpha2Code), r(30, B.country = !0, B)), r(22, Fe = g.countries), he || (r(23, he = Fe.filter((G) => x.countries.indexOf(G.Alpha2Code) >= 0)[0].Alpha2Code), r(30, B.nationality = !0, B));
4850
4846
  });
4851
4847
  });
4852
- }, Rt = () => {
4848
+ }, Lt = () => {
4853
4849
  fetch(`${c}/v1/player/phonecodes`).then((g) => g.json()).then((g) => {
4854
4850
  r(25, q = g.phoneCodes), fe || r(26, fe = q[0].Prefix);
4855
4851
  });
@@ -4857,13 +4853,13 @@ function Eo(e, t, r) {
4857
4853
  if (!(d.indexOf(g) >= 0))
4858
4854
  switch (g) {
4859
4855
  case "address1":
4860
- r(17, xe = x), At();
4856
+ r(17, xe = x), xt();
4861
4857
  break;
4862
4858
  case "postalCode":
4863
- r(18, j = x), Pe();
4859
+ r(18, j = x), Be();
4864
4860
  break;
4865
4861
  case "city":
4866
- r(19, te = x), Qe();
4862
+ r(19, te = x), $e();
4867
4863
  break;
4868
4864
  case "country":
4869
4865
  r(21, pe = x), r(30, B.country = !0, B);
@@ -4872,29 +4868,29 @@ function Eo(e, t, r) {
4872
4868
  r(23, he = x), r(30, B.nationality = !0, B);
4873
4869
  break;
4874
4870
  case "mobile":
4875
- r(26, fe = x.prefix), r(24, ye = x.number), Ge();
4871
+ r(26, fe = x.prefix), r(24, ye = x.number), De();
4876
4872
  break;
4877
4873
  case "userConsents":
4878
- Object.keys(x).length !== 0 && (x.termsandconditions && x.sms && r(27, Z = !0), r(30, B.termsandconditions = x.termsandconditions, B), r(29, y.userConsents.termsandconditions = x.termsandconditions, y), r(29, y.userConsents.sms = x.sms, y), r(29, y.userConsents.emailmarketing = x.emailmarketing, y)), He();
4874
+ Object.keys(x).length !== 0 && (x.termsandconditions && x.sms && r(27, Z = !0), r(30, B.termsandconditions = x.termsandconditions, B), r(29, y.userConsents.termsandconditions = x.termsandconditions, y), r(29, y.userConsents.sms = x.sms, y), r(29, y.userConsents.emailmarketing = x.emailmarketing, y)), Se();
4879
4875
  break;
4880
4876
  }
4881
- }, He = () => {
4882
- r(28, We = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4883
- }, Ze = () => !!(xe && xe.length <= 100), At = () => {
4884
- r(29, y.address1 = xe, y), r(6, T = !Ze()), r(30, B.address1 = !T, B), He();
4885
- }, Be = () => !!(j && j.length <= 20), Pe = () => {
4886
- r(29, y.postalCode = j, y), r(7, z = !Be()), r(30, B.postalCode = !z, B), He();
4887
- }, $e = () => !!(te && te.length <= 50), Qe = () => {
4888
- r(29, y.city = te, y), r(9, V = !$e()), r(30, B.city = !V, B), He();
4889
- }, Ut = () => !!(ye && ye.length >= 5 && ye.length <= 12), Ge = () => {
4890
- r(29, y.mobile.number = ye, y), r(8, M = !Ut()), r(30, B.mobile = !M, B), He();
4891
- }, je = (g) => {
4877
+ }, Se = () => {
4878
+ r(28, Xe = Object.keys(B).every((g) => d.includes(g) ? !0 : B[g] !== !1));
4879
+ }, qe = () => !!(xe && xe.length <= 100), xt = () => {
4880
+ r(29, y.address1 = xe, y), r(6, S = !qe()), r(30, B.address1 = !S, B), Se();
4881
+ }, He = () => !!(j && j.length <= 20), Be = () => {
4882
+ r(29, y.postalCode = j, y), r(7, z = !He()), r(30, B.postalCode = !z, B), Se();
4883
+ }, Ze = () => !!(te && te.length <= 50), $e = () => {
4884
+ r(29, y.city = te, y), r(9, V = !Ze()), r(30, B.city = !V, B), Se();
4885
+ }, Rt = () => !!(ye && ye.length >= 5 && ye.length <= 12), De = () => {
4886
+ r(29, y.mobile.number = ye, y), r(8, N = !Rt()), r(30, B.mobile = !N, B), Se();
4887
+ }, Ge = (g) => {
4892
4888
  g === "GeneralOffers" ? (r(27, Z = !Z), r(29, y.userConsents.sms = Z, y), r(29, y.userConsents.emailmarketing = Z, y)) : g === "SmsOffers" ? (r(29, y.userConsents.sms = !y.userConsents.sms, y), y.userConsents.sms && r(27, Z = !0)) : g === "EmailOffers" && (r(29, y.userConsents.emailmarketing = !y.userConsents.emailmarketing, y), y.userConsents.emailmarketing && r(27, Z = !0)), _e();
4893
4889
  }, _e = () => {
4894
4890
  !y.userConsents.sms && !y.userConsents.emailmarketing && r(27, Z = !1);
4895
- }, ze = () => {
4896
- r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), He();
4897
- }, Ft = () => new Promise((g, x) => {
4891
+ }, je = () => {
4892
+ r(29, y.userConsents.termsandconditions = !y.userConsents.termsandconditions, y), r(30, B.termsandconditions = !B.termsandconditions, B), Se();
4893
+ }, Ut = () => new Promise((g, x) => {
4898
4894
  grecaptcha.ready(() => {
4899
4895
  grecaptcha.execute(a, { action: "submit" }).then((G) => {
4900
4896
  g(G);
@@ -4903,8 +4899,8 @@ function Eo(e, t, r) {
4903
4899
  }), Ae = (g) => {
4904
4900
  g.preventDefault(), r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y);
4905
4901
  let x = {};
4906
- Ft().then((G) => {
4907
- x = hr(cr({}, y), { token: G }), window.postMessage(
4902
+ Ut().then((G) => {
4903
+ x = ur(lr({}, y), { token: G }), window.postMessage(
4908
4904
  {
4909
4905
  type: "RegisterStepThree",
4910
4906
  registerStepThreeData: x
@@ -4912,7 +4908,7 @@ function Eo(e, t, r) {
4912
4908
  window.location.href
4913
4909
  );
4914
4910
  });
4915
- }, Ne = () => {
4911
+ }, Me = () => {
4916
4912
  r(29, y.nationality = he, y), r(29, y.country = pe, y), r(29, y.mobile.prefix = fe, y), window.postMessage(
4917
4913
  {
4918
4914
  type: "GoBackStepThree",
@@ -4920,76 +4916,76 @@ function Eo(e, t, r) {
4920
4916
  },
4921
4917
  window.location.href
4922
4918
  );
4923
- }, Ve = (g) => {
4919
+ }, ze = (g) => {
4924
4920
  if (g.data)
4925
4921
  switch (g.data.type) {
4926
4922
  case "StepThreeDataBackup":
4927
4923
  const x = g.data.userData;
4928
4924
  for (const G in x)
4929
4925
  de(G, x[G]);
4930
- r(28, We = Object.keys(B).every((G) => d.includes(G) ? !0 : B[G] !== !1));
4926
+ r(28, Xe = Object.keys(B).every((G) => d.includes(G) ? !0 : B[G] !== !1));
4931
4927
  break;
4932
4928
  case "ShowRegistrationError":
4933
- r(15, Ct = g.data.showError), r(16, Fe = g.data.error);
4929
+ r(15, vt = g.data.showError), r(16, Ue = g.data.error);
4934
4930
  }
4935
- }, wt = () => {
4936
- r(14, vt = d.split(","));
4937
- }, Dt = () => {
4931
+ }, At = () => {
4932
+ r(14, Et = d.split(","));
4933
+ }, Ft = () => {
4938
4934
  W = m.split(","), W.indexOf("consentsTerms") >= 0 && r(29, y.userConsents.termsandconditions = !0, y), W.indexOf("consentsOffers") >= 0 && (r(27, Z = !0), r(29, y.userConsents.sms = !0, y), r(29, y.userConsents.emailmarketing = !0, y)), W.forEach((g) => {
4939
4935
  g.includes("phonePrefix") && (r(26, fe = g.split(":")[1].toString()), r(29, y.mobile.prefix = fe, y));
4940
4936
  });
4941
- }, Je = () => {
4942
- mo(h);
4937
+ }, Qe = () => {
4938
+ fo(h);
4943
4939
  };
4944
- ci(() => (window.addEventListener("message", Ve, !1), () => {
4945
- window.removeEventListener("message", Ve);
4940
+ ci(() => (window.addEventListener("message", ze, !1), () => {
4941
+ window.removeEventListener("message", ze);
4946
4942
  }));
4947
- function Gt() {
4943
+ function Dt() {
4948
4944
  xe = this.value, r(17, xe);
4949
4945
  }
4950
- const Ee = () => r(10, X = !0), Ye = () => r(10, X = !1);
4951
- function jt() {
4946
+ const Ee = () => r(10, X = !0), Je = () => r(10, X = !1);
4947
+ function Gt() {
4952
4948
  j = this.value, r(18, j);
4953
4949
  }
4954
- const ge = () => r(11, me = !0), ke = () => r(11, me = !1);
4955
- function Ke() {
4950
+ const ge = () => r(11, me = !0), Ne = () => r(11, me = !1);
4951
+ function Ye() {
4956
4952
  te = this.value, r(19, te);
4957
4953
  }
4958
- const St = () => r(13, Me = !0), zt = () => r(13, Me = !1);
4959
- function et() {
4960
- pe = dr(this), r(21, pe), r(20, Te);
4954
+ const wt = () => r(13, Oe = !0), jt = () => r(13, Oe = !1);
4955
+ function Ke() {
4956
+ pe = hr(this), r(21, pe), r(20, Te);
4961
4957
  }
4962
- function Vt() {
4963
- he = dr(this), r(23, he), r(22, De);
4958
+ function zt() {
4959
+ he = hr(this), r(23, he), r(22, Fe);
4964
4960
  }
4965
- function Ie() {
4966
- fe = dr(this), r(26, fe), r(25, q);
4961
+ function ke() {
4962
+ fe = hr(this), r(26, fe), r(25, q);
4967
4963
  }
4968
4964
  function ve() {
4969
4965
  ye = this.value, r(24, ye);
4970
4966
  }
4971
- const Xt = () => r(12, Se = !0), $ = () => r(12, Se = !1), Wt = () => je("GeneralOffers"), tt = () => je("SmsOffers"), qt = () => je("EmailOffers"), Tt = () => ze(), Oe = (g) => Ae(g);
4972
- function rt(g) {
4973
- vr[g ? "unshift" : "push"](() => {
4967
+ const Vt = () => r(12, we = !0), $ = () => r(12, we = !1), Xt = () => Ge("GeneralOffers"), et = () => Ge("SmsOffers"), Wt = () => Ge("EmailOffers"), Tt = () => je(), Pe = (g) => Ae(g);
4968
+ function tt(g) {
4969
+ _r[g ? "unshift" : "push"](() => {
4974
4970
  U = g, r(5, U);
4975
4971
  });
4976
4972
  }
4977
4973
  return e.$$set = (g) => {
4978
- "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, c = g.endpoint), "captchakey" in g && r(4, a = g.captchakey), "lang" in g && r(42, h = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, E = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, v = g.clientstylingurl), "translationurl" in g && r(48, P = g.translationurl);
4974
+ "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, c = g.endpoint), "captchakey" in g && r(4, a = g.captchakey), "lang" in g && r(42, h = g.lang), "disabledfields" in g && r(43, d = g.disabledfields), "defaultoptions" in g && r(44, m = g.defaultoptions), "mbsource" in g && r(45, E = g.mbsource), "clientstyling" in g && r(46, _ = g.clientstyling), "clientstylingurl" in g && r(47, v = g.clientstylingurl), "translationurl" in g && r(48, O = g.translationurl);
4979
4975
  }, e.$$.update = () => {
4980
4976
  e.$$.dirty[1] & /*endpoint*/
4981
- 1024 && c && qe(), e.$$.dirty[1] & /*endpoint*/
4982
- 1024 && c && Rt(), e.$$.dirty[1] & /*lang*/
4983
- 2048 && h && Je(), e.$$.dirty[1] & /*disabledfields*/
4984
- 4096 && d && wt(), e.$$.dirty[1] & /*defaultoptions*/
4985
- 8192 && m && Dt(), e.$$.dirty[0] & /*customStylingContainer*/
4977
+ 1024 && c && We(), e.$$.dirty[1] & /*endpoint*/
4978
+ 1024 && c && Lt(), e.$$.dirty[1] & /*lang*/
4979
+ 2048 && h && Qe(), e.$$.dirty[1] & /*disabledfields*/
4980
+ 4096 && d && At(), e.$$.dirty[1] & /*defaultoptions*/
4981
+ 8192 && m && Ft(), e.$$.dirty[0] & /*customStylingContainer*/
4986
4982
  32 | e.$$.dirty[1] & /*clientstyling*/
4987
- 32768 && _ && U && po(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4983
+ 32768 && _ && U && mo(U, _), e.$$.dirty[0] & /*customStylingContainer*/
4988
4984
  32 | e.$$.dirty[1] & /*clientstylingurl*/
4989
- 65536 && v && U && go(U, v), e.$$.dirty[0] & /*customStylingContainer*/
4985
+ 65536 && v && U && po(U, v), e.$$.dirty[0] & /*customStylingContainer*/
4990
4986
  32 | e.$$.dirty[1] & /*mbsource*/
4991
- 16384 && E && U && bo(U, `${E}.Style`), e.$$.dirty[1] & /*translationurl*/
4992
- 131072 && P && xt(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4987
+ 16384 && E && U && go(U, `${E}.Style`), e.$$.dirty[1] & /*translationurl*/
4988
+ 131072 && O && Ct(), e.$$.dirty[0] & /*userconsentsexist, termsconditions*/
4993
4989
  3 && i && r(30, B.termsandconditions = s === "false", B);
4994
4990
  }, [
4995
4991
  i,
@@ -4998,41 +4994,41 @@ function Eo(e, t, r) {
4998
4994
  l,
4999
4995
  a,
5000
4996
  U,
5001
- T,
4997
+ S,
5002
4998
  z,
5003
- M,
4999
+ N,
5004
5000
  V,
5005
5001
  X,
5006
5002
  me,
5007
- Se,
5008
- Me,
5003
+ we,
5004
+ Oe,
5005
+ Et,
5009
5006
  vt,
5010
- Ct,
5011
- Fe,
5007
+ Ue,
5012
5008
  xe,
5013
5009
  j,
5014
5010
  te,
5015
5011
  Te,
5016
5012
  pe,
5017
- De,
5013
+ Fe,
5018
5014
  he,
5019
5015
  ye,
5020
5016
  q,
5021
5017
  fe,
5022
5018
  Z,
5023
- We,
5019
+ Xe,
5024
5020
  y,
5025
5021
  B,
5026
5022
  n,
5027
- Lt,
5028
- At,
5029
- Pe,
5030
- Qe,
5023
+ It,
5024
+ xt,
5025
+ Be,
5026
+ $e,
5027
+ De,
5031
5028
  Ge,
5032
5029
  je,
5033
- ze,
5034
5030
  Ae,
5035
- Ne,
5031
+ Me,
5036
5032
  c,
5037
5033
  h,
5038
5034
  d,
@@ -5040,37 +5036,37 @@ function Eo(e, t, r) {
5040
5036
  E,
5041
5037
  _,
5042
5038
  v,
5043
- P,
5044
- Gt,
5039
+ O,
5040
+ Dt,
5045
5041
  Ee,
5042
+ Je,
5043
+ Gt,
5044
+ ge,
5045
+ Ne,
5046
5046
  Ye,
5047
+ wt,
5047
5048
  jt,
5048
- ge,
5049
- ke,
5050
5049
  Ke,
5051
- St,
5052
5050
  zt,
5053
- et,
5054
- Vt,
5055
- Ie,
5051
+ ke,
5056
5052
  ve,
5057
- Xt,
5053
+ Vt,
5058
5054
  $,
5055
+ Xt,
5056
+ et,
5059
5057
  Wt,
5060
- tt,
5061
- qt,
5062
5058
  Tt,
5063
- Oe,
5064
- rt
5059
+ Pe,
5060
+ tt
5065
5061
  ];
5066
5062
  }
5067
- class vo extends Ci {
5063
+ class Eo extends Ci {
5068
5064
  constructor(t) {
5069
5065
  super(), Ei(
5070
5066
  this,
5071
5067
  t,
5072
- Eo,
5073
5068
  _o,
5069
+ yo,
5074
5070
  An,
5075
5071
  {
5076
5072
  userconsentsexist: 0,
@@ -5087,7 +5083,7 @@ class vo extends Ci {
5087
5083
  clientstylingurl: 47,
5088
5084
  translationurl: 48
5089
5085
  },
5090
- yo,
5086
+ bo,
5091
5087
  [-1, -1, -1, -1]
5092
5088
  );
5093
5089
  }
@@ -5170,7 +5166,7 @@ class vo extends Ci {
5170
5166
  this.$$set({ translationurl: t }), K();
5171
5167
  }
5172
5168
  }
5173
- vi(vo, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5169
+ vi(Eo, { userconsentsexist: {}, termsconditions: {}, smsoffers: {}, emailmarketing: {}, endpoint: {}, captchakey: {}, lang: {}, disabledfields: {}, defaultoptions: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
5174
5170
  export {
5175
- vo as default
5171
+ Eo as default
5176
5172
  };