@everymatrix/general-player-register-form-nd 1.46.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Cn = Object.defineProperty, Rn = Object.defineProperties;
2
- var In = Object.getOwnPropertyDescriptors;
3
- var er = Object.getOwnPropertySymbols;
4
- var Ln = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => {
1
+ var hn = Object.defineProperty, fn = Object.defineProperties;
2
+ var cn = Object.getOwnPropertyDescriptors;
3
+ var Rt = Object.getOwnPropertySymbols;
4
+ var mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ln.call(t, r) && We(e, r, t[r]);
8
- if (er)
9
- for (var r of er(t))
10
- Nn.call(t, r) && We(e, r, t[r]);
7
+ mn.call(t, r) && $e(e, r, t[r]);
8
+ if (Rt)
9
+ for (var r of Rt(t))
10
+ pn.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, rr = (e, t) => Rn(e, In(t));
13
- var k = (e, t, r) => We(e, typeof t != "symbol" ? t + "" : t, r);
14
- var He = (e, t, r) => new Promise((n, i) => {
12
+ }, Nt = (e, t) => fn(e, cn(t));
13
+ var F = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var we = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,57 +27,57 @@ var He = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function X() {
30
+ function k() {
31
31
  }
32
- function Ir(e) {
32
+ function cr(e) {
33
33
  return e();
34
34
  }
35
- function nr() {
35
+ function Mt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ve(e) {
39
- e.forEach(Ir);
38
+ function ge(e) {
39
+ e.forEach(cr);
40
40
  }
41
- function bt(e) {
41
+ function mt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Lr(e, t) {
44
+ function mr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Be;
48
- function vo(e, t) {
49
- return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
47
+ let xe;
48
+ function Ys(e, t) {
49
+ return e === t ? !0 : (xe || (xe = document.createElement("a")), xe.href = t, e === xe.href);
50
50
  }
51
- function Mn(e) {
51
+ function dn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Nr(e, ...t) {
54
+ function pr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return X;
58
+ return k;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Dn(e, t, r) {
64
- e.$$.on_destroy.push(Nr(t, r));
63
+ function gn(e, t, r) {
64
+ e.$$.on_destroy.push(pr(t, r));
65
65
  }
66
- const _o = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
66
+ const Ks = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
67
  // @ts-ignore Node typings have this
68
68
  global
69
69
  );
70
- function S(e, t) {
70
+ function E(e, t) {
71
71
  e.appendChild(t);
72
72
  }
73
- function Fn(e, t, r) {
74
- const n = Un(e);
73
+ function bn(e, t, r) {
74
+ const n = yn(e);
75
75
  if (!n.getElementById(t)) {
76
- const i = A("style");
77
- i.id = t, i.textContent = r, Gn(n, i);
76
+ const i = B("style");
77
+ i.id = t, i.textContent = r, vn(n, i);
78
78
  }
79
79
  }
80
- function Un(e) {
80
+ function yn(e) {
81
81
  if (!e) return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
83
  return t && /** @type {ShadowRoot} */
@@ -86,59 +86,59 @@ function Un(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function Gn(e, t) {
90
- return S(
89
+ function vn(e, t) {
90
+ return E(
91
91
  /** @type {Document} */
92
92
  e.head || e,
93
93
  t
94
94
  ), t.sheet;
95
95
  }
96
- function j(e, t, r) {
96
+ function U(e, t, r) {
97
97
  e.insertBefore(t, r || null);
98
98
  }
99
- function U(e) {
99
+ function M(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function Eo(e, t) {
102
+ function eo(e, t) {
103
103
  for (let r = 0; r < e.length; r += 1)
104
104
  e[r] && e[r].d(t);
105
105
  }
106
- function A(e) {
106
+ function B(e) {
107
107
  return document.createElement(e);
108
108
  }
109
- function Pe(e) {
109
+ function Se(e) {
110
110
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
111
  }
112
- function z(e) {
112
+ function $(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
- function V() {
116
- return z(" ");
115
+ function G() {
116
+ return $(" ");
117
117
  }
118
- function kn() {
119
- return z("");
118
+ function _n() {
119
+ return $("");
120
120
  }
121
- function jn(e, t, r, n) {
121
+ function En(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
- function B(e, t, r) {
124
+ function T(e, t, r) {
125
125
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
126
  }
127
127
  function m(e, t, r) {
128
128
  const n = t.toLowerCase();
129
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
129
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
130
130
  }
131
- function $n(e) {
131
+ function wn(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function re(e, t) {
134
+ function K(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function wo(e, t) {
138
+ function to(e, t) {
139
139
  e.value = t == null ? "" : t;
140
140
  }
141
- function So(e, t, r) {
141
+ function ro(e, t, r) {
142
142
  for (let n = 0; n < e.options.length; n += 1) {
143
143
  const i = e.options[n];
144
144
  if (i.__value === t) {
@@ -148,11 +148,11 @@ function So(e, t, r) {
148
148
  }
149
149
  (!r || t !== void 0) && (e.selectedIndex = -1);
150
150
  }
151
- function xo(e) {
151
+ function no(e) {
152
152
  const t = e.querySelector(":checked");
153
153
  return t && t.__value;
154
154
  }
155
- function Vn(e) {
155
+ function xn(e) {
156
156
  const t = {};
157
157
  return e.childNodes.forEach(
158
158
  /** @param {Element} node */
@@ -161,96 +161,96 @@ function Vn(e) {
161
161
  }
162
162
  ), t;
163
163
  }
164
- let ge;
165
- function pe(e) {
166
- ge = e;
164
+ let me;
165
+ function ce(e) {
166
+ me = e;
167
167
  }
168
- function Xn() {
169
- if (!ge) throw new Error("Function called outside component initialization");
170
- return ge;
168
+ function Sn() {
169
+ if (!me) throw new Error("Function called outside component initialization");
170
+ return me;
171
171
  }
172
- function zn(e) {
173
- Xn().$$.on_mount.push(e);
174
- }
175
- const te = [], Ne = [];
176
- let ne = [];
177
- const ir = [], Wn = /* @__PURE__ */ Promise.resolve();
178
- let rt = !1;
179
- function Zn() {
180
- rt || (rt = !0, Wn.then(O));
181
- }
182
- function nt(e) {
183
- ne.push(e);
184
- }
185
- const Ze = /* @__PURE__ */ new Set();
186
- let K = 0;
187
- function O() {
188
- if (K !== 0)
172
+ function Tn(e) {
173
+ Sn().$$.on_mount.push(e);
174
+ }
175
+ const Y = [], Ce = [];
176
+ let ee = [];
177
+ const Dt = [], Hn = /* @__PURE__ */ Promise.resolve();
178
+ let Ye = !1;
179
+ function Bn() {
180
+ Ye || (Ye = !0, Hn.then(A));
181
+ }
182
+ function Ke(e) {
183
+ ee.push(e);
184
+ }
185
+ const Ve = /* @__PURE__ */ new Set();
186
+ let q = 0;
187
+ function A() {
188
+ if (q !== 0)
189
189
  return;
190
- const e = ge;
190
+ const e = me;
191
191
  do {
192
192
  try {
193
- for (; K < te.length; ) {
194
- const t = te[K];
195
- K++, pe(t), Qn(t.$$);
193
+ for (; q < Y.length; ) {
194
+ const t = Y[q];
195
+ q++, ce(t), An(t.$$);
196
196
  }
197
197
  } catch (t) {
198
- throw te.length = 0, K = 0, t;
198
+ throw Y.length = 0, q = 0, t;
199
199
  }
200
- for (pe(null), te.length = 0, K = 0; Ne.length; ) Ne.pop()();
201
- for (let t = 0; t < ne.length; t += 1) {
202
- const r = ne[t];
203
- Ze.has(r) || (Ze.add(r), r());
200
+ for (ce(null), Y.length = 0, q = 0; Ce.length; ) Ce.pop()();
201
+ for (let t = 0; t < ee.length; t += 1) {
202
+ const r = ee[t];
203
+ Ve.has(r) || (Ve.add(r), r());
204
204
  }
205
- ne.length = 0;
206
- } while (te.length);
207
- for (; ir.length; )
208
- ir.pop()();
209
- rt = !1, Ze.clear(), pe(e);
205
+ ee.length = 0;
206
+ } while (Y.length);
207
+ for (; Dt.length; )
208
+ Dt.pop()();
209
+ Ye = !1, Ve.clear(), ce(e);
210
210
  }
211
- function Qn(e) {
211
+ function An(e) {
212
212
  if (e.fragment !== null) {
213
- e.update(), ve(e.before_update);
213
+ e.update(), ge(e.before_update);
214
214
  const t = e.dirty;
215
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
215
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
216
216
  }
217
217
  }
218
- function qn(e) {
218
+ function Pn(e) {
219
219
  const t = [], r = [];
220
- ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
220
+ ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
221
221
  }
222
- const Jn = /* @__PURE__ */ new Set();
223
- function Yn(e, t) {
224
- e && e.i && (Jn.delete(e), e.i(t));
222
+ const On = /* @__PURE__ */ new Set();
223
+ function Cn(e, t) {
224
+ e && e.i && (On.delete(e), e.i(t));
225
225
  }
226
- function To(e) {
226
+ function io(e) {
227
227
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
228
228
  }
229
- function Kn(e, t, r) {
229
+ function In(e, t, r) {
230
230
  const { fragment: n, after_update: i } = e.$$;
231
- n && n.m(t, r), nt(() => {
232
- const s = e.$$.on_mount.map(Ir).filter(bt);
233
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ve(s), e.$$.on_mount = [];
234
- }), i.forEach(nt);
231
+ n && n.m(t, r), Ke(() => {
232
+ const s = e.$$.on_mount.map(cr).filter(mt);
233
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ge(s), e.$$.on_mount = [];
234
+ }), i.forEach(Ke);
235
235
  }
236
- function ei(e, t) {
236
+ function Rn(e, t) {
237
237
  const r = e.$$;
238
- r.fragment !== null && (qn(r.after_update), ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
238
+ r.fragment !== null && (Pn(r.after_update), ge(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
239
239
  }
240
- function ti(e, t) {
241
- e.$$.dirty[0] === -1 && (te.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
240
+ function Ln(e, t) {
241
+ e.$$.dirty[0] === -1 && (Y.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
242
  }
243
- function ri(e, t, r, n, i, s, o = null, a = [-1]) {
244
- const l = ge;
245
- pe(e);
243
+ function Nn(e, t, r, n, i, s, o = null, a = [-1]) {
244
+ const l = me;
245
+ ce(e);
246
246
  const u = e.$$ = {
247
247
  fragment: null,
248
248
  ctx: [],
249
249
  // state
250
250
  props: s,
251
- update: X,
251
+ update: k,
252
252
  not_equal: i,
253
- bound: nr(),
253
+ bound: Mt(),
254
254
  // lifecycle
255
255
  on_mount: [],
256
256
  on_destroy: [],
@@ -259,48 +259,48 @@ function ri(e, t, r, n, i, s, o = null, a = [-1]) {
259
259
  after_update: [],
260
260
  context: new Map(t.context || (l ? l.$$.context : [])),
261
261
  // everything else
262
- callbacks: nr(),
262
+ callbacks: Mt(),
263
263
  dirty: a,
264
264
  skip_bound: !1,
265
265
  root: t.target || l.$$.root
266
266
  };
267
267
  o && o(u.root);
268
268
  let h = !1;
269
- if (u.ctx = r ? r(e, t.props || {}, (c, d, ...v) => {
270
- const b = v.length ? v[0] : d;
271
- return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && ti(e, c)), d;
272
- }) : [], u.update(), h = !0, ve(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
269
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...y) => {
270
+ const g = y.length ? y[0] : p;
271
+ return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Ln(e, c)), p;
272
+ }) : [], u.update(), h = !0, ge(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
273
273
  if (t.hydrate) {
274
- const c = $n(t.target);
275
- u.fragment && u.fragment.l(c), c.forEach(U);
274
+ const c = wn(t.target);
275
+ u.fragment && u.fragment.l(c), c.forEach(M);
276
276
  } else
277
277
  u.fragment && u.fragment.c();
278
- t.intro && Yn(e.$$.fragment), Kn(e, t.target, t.anchor), O();
278
+ t.intro && Cn(e.$$.fragment), In(e, t.target, t.anchor), A();
279
279
  }
280
- pe(l);
280
+ ce(l);
281
281
  }
282
- let Mr;
283
- typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
282
+ let dr;
283
+ typeof HTMLElement == "function" && (dr = class extends HTMLElement {
284
284
  constructor(t, r, n) {
285
285
  super();
286
286
  /** The Svelte component constructor */
287
- k(this, "$$ctor");
287
+ F(this, "$$ctor");
288
288
  /** Slots */
289
- k(this, "$$s");
289
+ F(this, "$$s");
290
290
  /** The Svelte component instance */
291
- k(this, "$$c");
291
+ F(this, "$$c");
292
292
  /** Whether or not the custom element is connected */
293
- k(this, "$$cn", !1);
293
+ F(this, "$$cn", !1);
294
294
  /** Component props data */
295
- k(this, "$$d", {});
295
+ F(this, "$$d", {});
296
296
  /** `true` if currently in the process of reflecting component props back to attributes */
297
- k(this, "$$r", !1);
297
+ F(this, "$$r", !1);
298
298
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
299
- k(this, "$$p_d", {});
299
+ F(this, "$$p_d", {});
300
300
  /** @type {Record<string, Function[]>} Event listeners */
301
- k(this, "$$l", {});
301
+ F(this, "$$l", {});
302
302
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
303
- k(this, "$$l_u", /* @__PURE__ */ new Map());
303
+ F(this, "$$l_u", /* @__PURE__ */ new Map());
304
304
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
305
305
  }
306
306
  addEventListener(t, r, n) {
@@ -317,42 +317,42 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
317
317
  }
318
318
  }
319
319
  connectedCallback() {
320
- return He(this, null, function* () {
320
+ return we(this, null, function* () {
321
321
  if (this.$$cn = !0, !this.$$c) {
322
322
  let t = function(s) {
323
323
  return () => {
324
324
  let o;
325
325
  return {
326
326
  c: function() {
327
- o = A("slot"), s !== "default" && B(o, "name", s);
327
+ o = B("slot"), s !== "default" && T(o, "name", s);
328
328
  },
329
329
  /**
330
330
  * @param {HTMLElement} target
331
331
  * @param {HTMLElement} [anchor]
332
332
  */
333
333
  m: function(u, h) {
334
- j(u, o, h);
334
+ U(u, o, h);
335
335
  },
336
336
  d: function(u) {
337
- u && U(o);
337
+ u && M(o);
338
338
  }
339
339
  };
340
340
  };
341
341
  };
342
342
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
343
343
  return;
344
- const r = {}, n = Vn(this);
344
+ const r = {}, n = xn(this);
345
345
  for (const s of this.$$s)
346
346
  s in n && (r[s] = [t(s)]);
347
347
  for (const s of this.attributes) {
348
348
  const o = this.$$g_p(s.name);
349
- o in this.$$d || (this.$$d[o] = Ce(o, s.value, this.$$p_d, "toProp"));
349
+ o in this.$$d || (this.$$d[o] = Be(o, s.value, this.$$p_d, "toProp"));
350
350
  }
351
351
  for (const s in this.$$p_d)
352
352
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
353
353
  this.$$c = new this.$$ctor({
354
354
  target: this.shadowRoot || this,
355
- props: rr(tr({}, this.$$d), {
355
+ props: Nt(Lt({}, this.$$d), {
356
356
  $$slots: r,
357
357
  $$scope: {
358
358
  ctx: []
@@ -363,7 +363,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
363
363
  this.$$r = !0;
364
364
  for (const s in this.$$p_d)
365
365
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
366
- const o = Ce(
366
+ const o = Be(
367
367
  s,
368
368
  this.$$d[s],
369
369
  this.$$p_d,
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
387
387
  // and setting attributes through setAttribute etc, this is helpful
388
388
  attributeChangedCallback(t, r, n) {
389
389
  var i;
390
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
390
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
391
391
  }
392
392
  disconnectedCallback() {
393
393
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -400,7 +400,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
400
400
  ) || t;
401
401
  }
402
402
  });
403
- function Ce(e, t, r, n) {
403
+ function Be(e, t, r, n) {
404
404
  var s;
405
405
  const i = (s = r[e]) == null ? void 0 : s.type;
406
406
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -430,8 +430,8 @@ function Ce(e, t, r, n) {
430
430
  return t;
431
431
  }
432
432
  }
433
- function ni(e, t, r, n, i, s) {
434
- let o = class extends Mr {
433
+ function Mn(e, t, r, n, i, s) {
434
+ let o = class extends dr {
435
435
  constructor() {
436
436
  super(e, r, i), this.$$p_d = t;
437
437
  }
@@ -448,7 +448,7 @@ function ni(e, t, r, n, i, s) {
448
448
  },
449
449
  set(l) {
450
450
  var u;
451
- l = Ce(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
451
+ l = Be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
452
452
  }
453
453
  });
454
454
  }), n.forEach((a) => {
@@ -461,7 +461,7 @@ function ni(e, t, r, n, i, s) {
461
461
  }), e.element = /** @type {any} */
462
462
  o, o;
463
463
  }
464
- class ii {
464
+ class Dn {
465
465
  constructor() {
466
466
  /**
467
467
  * ### PRIVATE API
@@ -470,7 +470,7 @@ class ii {
470
470
  *
471
471
  * @type {any}
472
472
  */
473
- k(this, "$$");
473
+ F(this, "$$");
474
474
  /**
475
475
  * ### PRIVATE API
476
476
  *
@@ -478,11 +478,11 @@ class ii {
478
478
  *
479
479
  * @type {any}
480
480
  */
481
- k(this, "$$set");
481
+ F(this, "$$set");
482
482
  }
483
483
  /** @returns {void} */
484
484
  $destroy() {
485
- ei(this, 1), this.$destroy = X;
485
+ Rn(this, 1), this.$destroy = k;
486
486
  }
487
487
  /**
488
488
  * @template {Extract<keyof Events, string>} K
@@ -491,8 +491,8 @@ class ii {
491
491
  * @returns {() => void}
492
492
  */
493
493
  $on(t, r) {
494
- if (!bt(r))
495
- return X;
494
+ if (!mt(r))
495
+ return k;
496
496
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
497
497
  return n.push(r), () => {
498
498
  const i = n.indexOf(r);
@@ -504,37 +504,37 @@ class ii {
504
504
  * @returns {void}
505
505
  */
506
506
  $set(t) {
507
- this.$$set && !Mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
507
+ this.$$set && !dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
508
508
  }
509
509
  }
510
- const si = "4";
511
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
512
- var it = function(e, t) {
513
- return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ const Fn = "4";
511
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fn);
512
+ var et = function(e, t) {
513
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
514
514
  r.__proto__ = n;
515
515
  } || function(r, n) {
516
516
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
517
- }, it(e, t);
517
+ }, et(e, t);
518
518
  };
519
- function Z(e, t) {
519
+ function X(e, t) {
520
520
  if (typeof t != "function" && t !== null)
521
521
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
522
- it(e, t);
522
+ et(e, t);
523
523
  function r() {
524
524
  this.constructor = e;
525
525
  }
526
526
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
527
527
  }
528
- var x = function() {
529
- return x = Object.assign || function(t) {
528
+ var w = function() {
529
+ return w = Object.assign || function(t) {
530
530
  for (var r, n = 1, i = arguments.length; n < i; n++) {
531
531
  r = arguments[n];
532
532
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
533
533
  }
534
534
  return t;
535
- }, x.apply(this, arguments);
535
+ }, w.apply(this, arguments);
536
536
  };
537
- function oi(e, t) {
537
+ function Un(e, t) {
538
538
  var r = {};
539
539
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
540
540
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -542,7 +542,7 @@ function oi(e, t) {
542
542
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
543
543
  return r;
544
544
  }
545
- function st(e) {
545
+ function tt(e) {
546
546
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
547
547
  if (r) return r.call(e);
548
548
  if (e && typeof e.length == "number") return {
@@ -552,7 +552,7 @@ function st(e) {
552
552
  };
553
553
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
554
  }
555
- function ot(e, t) {
555
+ function rt(e, t) {
556
556
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
557
  if (!r) return e;
558
558
  var n = r.call(e), i, s = [], o;
@@ -569,21 +569,21 @@ function ot(e, t) {
569
569
  }
570
570
  return s;
571
571
  }
572
- function ie(e, t, r) {
572
+ function te(e, t, r) {
573
573
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
574
574
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
575
575
  return e.concat(s || Array.prototype.slice.call(t));
576
576
  }
577
- function W(e) {
577
+ function V(e) {
578
578
  return typeof e == "function";
579
579
  }
580
- function Dr(e) {
580
+ function gr(e) {
581
581
  var t = function(n) {
582
582
  Error.call(n), n.stack = new Error().stack;
583
583
  }, r = e(t);
584
584
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
585
585
  }
586
- var Qe = Dr(function(e) {
586
+ var Xe = gr(function(e) {
587
587
  return function(r) {
588
588
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
589
589
  ` + r.map(function(n, i) {
@@ -592,13 +592,13 @@ var Qe = Dr(function(e) {
592
592
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
593
593
  };
594
594
  });
595
- function at(e, t) {
595
+ function nt(e, t) {
596
596
  if (e) {
597
597
  var r = e.indexOf(t);
598
598
  0 <= r && e.splice(r, 1);
599
599
  }
600
600
  }
601
- var Fe = function() {
601
+ var Le = function() {
602
602
  function e(t) {
603
603
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
604
604
  }
@@ -610,12 +610,12 @@ var Fe = function() {
610
610
  if (o)
611
611
  if (this._parentage = null, Array.isArray(o))
612
612
  try {
613
- for (var a = st(o), l = a.next(); !l.done; l = a.next()) {
613
+ for (var a = tt(o), l = a.next(); !l.done; l = a.next()) {
614
614
  var u = l.value;
615
615
  u.remove(this);
616
616
  }
617
- } catch (g) {
618
- t = { error: g };
617
+ } catch (d) {
618
+ t = { error: d };
619
619
  } finally {
620
620
  try {
621
621
  l && !l.done && (r = a.return) && r.call(a);
@@ -626,42 +626,42 @@ var Fe = function() {
626
626
  else
627
627
  o.remove(this);
628
628
  var h = this.initialTeardown;
629
- if (W(h))
629
+ if (V(h))
630
630
  try {
631
631
  h();
632
- } catch (g) {
633
- s = g instanceof Qe ? g.errors : [g];
632
+ } catch (d) {
633
+ s = d instanceof Xe ? d.errors : [d];
634
634
  }
635
635
  var c = this._finalizers;
636
636
  if (c) {
637
637
  this._finalizers = null;
638
638
  try {
639
- for (var d = st(c), v = d.next(); !v.done; v = d.next()) {
640
- var b = v.value;
639
+ for (var p = tt(c), y = p.next(); !y.done; y = p.next()) {
640
+ var g = y.value;
641
641
  try {
642
- sr(b);
643
- } catch (g) {
644
- s = s != null ? s : [], g instanceof Qe ? s = ie(ie([], ot(s)), ot(g.errors)) : s.push(g);
642
+ Ft(g);
643
+ } catch (d) {
644
+ s = s != null ? s : [], d instanceof Xe ? s = te(te([], rt(s)), rt(d.errors)) : s.push(d);
645
645
  }
646
646
  }
647
- } catch (g) {
648
- n = { error: g };
647
+ } catch (d) {
648
+ n = { error: d };
649
649
  } finally {
650
650
  try {
651
- v && !v.done && (i = d.return) && i.call(d);
651
+ y && !y.done && (i = p.return) && i.call(p);
652
652
  } finally {
653
653
  if (n) throw n.error;
654
654
  }
655
655
  }
656
656
  }
657
657
  if (s)
658
- throw new Qe(s);
658
+ throw new Xe(s);
659
659
  }
660
660
  }, e.prototype.add = function(t) {
661
661
  var r;
662
662
  if (t && t !== this)
663
663
  if (this.closed)
664
- sr(t);
664
+ Ft(t);
665
665
  else {
666
666
  if (t instanceof e) {
667
667
  if (t.closed || t._hasParent(this))
@@ -678,57 +678,57 @@ var Fe = function() {
678
678
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
679
679
  }, e.prototype._removeParent = function(t) {
680
680
  var r = this._parentage;
681
- r === t ? this._parentage = null : Array.isArray(r) && at(r, t);
681
+ r === t ? this._parentage = null : Array.isArray(r) && nt(r, t);
682
682
  }, e.prototype.remove = function(t) {
683
683
  var r = this._finalizers;
684
- r && at(r, t), t instanceof e && t._removeParent(this);
684
+ r && nt(r, t), t instanceof e && t._removeParent(this);
685
685
  }, e.EMPTY = function() {
686
686
  var t = new e();
687
687
  return t.closed = !0, t;
688
688
  }(), e;
689
- }(), Fr = Fe.EMPTY;
690
- function Ur(e) {
691
- return e instanceof Fe || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
689
+ }(), br = Le.EMPTY;
690
+ function yr(e) {
691
+ return e instanceof Le || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
692
692
  }
693
- function sr(e) {
694
- W(e) ? e() : e.unsubscribe();
693
+ function Ft(e) {
694
+ V(e) ? e() : e.unsubscribe();
695
695
  }
696
- var Gr = {
696
+ var vr = {
697
697
  onUnhandledError: null,
698
698
  onStoppedNotification: null,
699
699
  Promise: void 0,
700
700
  useDeprecatedSynchronousErrorHandling: !1,
701
701
  useDeprecatedNextContext: !1
702
- }, kr = {
702
+ }, _r = {
703
703
  setTimeout: function(e, t) {
704
704
  for (var r = [], n = 2; n < arguments.length; n++)
705
705
  r[n - 2] = arguments[n];
706
- return setTimeout.apply(void 0, ie([e, t], ot(r)));
706
+ return setTimeout.apply(void 0, te([e, t], rt(r)));
707
707
  },
708
708
  clearTimeout: function(e) {
709
- var t = kr.delegate;
709
+ var t = _r.delegate;
710
710
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
711
711
  },
712
712
  delegate: void 0
713
713
  };
714
- function ai(e) {
715
- kr.setTimeout(function() {
714
+ function Gn(e) {
715
+ _r.setTimeout(function() {
716
716
  throw e;
717
717
  });
718
718
  }
719
- function or() {
719
+ function Ut() {
720
720
  }
721
- function Re(e) {
721
+ function Ae(e) {
722
722
  e();
723
723
  }
724
- var jr = function(e) {
725
- Z(t, e);
724
+ var Er = function(e) {
725
+ X(t, e);
726
726
  function t(r) {
727
727
  var n = e.call(this) || this;
728
- return n.isStopped = !1, r ? (n.destination = r, Ur(r) && r.add(n)) : n.destination = fi, n;
728
+ return n.isStopped = !1, r ? (n.destination = r, yr(r) && r.add(n)) : n.destination = Vn, n;
729
729
  }
730
730
  return t.create = function(r, n, i) {
731
- return new ut(r, n, i);
731
+ return new it(r, n, i);
732
732
  }, t.prototype.next = function(r) {
733
733
  this.isStopped || this._next(r);
734
734
  }, t.prototype.error = function(r) {
@@ -752,11 +752,11 @@ var jr = function(e) {
752
752
  this.unsubscribe();
753
753
  }
754
754
  }, t;
755
- }(Fe), ui = Function.prototype.bind;
756
- function qe(e, t) {
757
- return ui.call(e, t);
755
+ }(Le), kn = Function.prototype.bind;
756
+ function ze(e, t) {
757
+ return kn.call(e, t);
758
758
  }
759
- var li = function() {
759
+ var jn = function() {
760
760
  function e(t) {
761
761
  this.partialObserver = t;
762
762
  }
@@ -766,7 +766,7 @@ var li = function() {
766
766
  try {
767
767
  r.next(t);
768
768
  } catch (n) {
769
- Ae(n);
769
+ Te(n);
770
770
  }
771
771
  }, e.prototype.error = function(t) {
772
772
  var r = this.partialObserver;
@@ -774,24 +774,24 @@ var li = function() {
774
774
  try {
775
775
  r.error(t);
776
776
  } catch (n) {
777
- Ae(n);
777
+ Te(n);
778
778
  }
779
779
  else
780
- Ae(t);
780
+ Te(t);
781
781
  }, e.prototype.complete = function() {
782
782
  var t = this.partialObserver;
783
783
  if (t.complete)
784
784
  try {
785
785
  t.complete();
786
786
  } catch (r) {
787
- Ae(r);
787
+ Te(r);
788
788
  }
789
789
  }, e;
790
- }(), ut = function(e) {
791
- Z(t, e);
790
+ }(), it = function(e) {
791
+ X(t, e);
792
792
  function t(r, n, i) {
793
793
  var s = e.call(this) || this, o;
794
- if (W(r) || !r)
794
+ if (V(r) || !r)
795
795
  o = {
796
796
  next: r != null ? r : void 0,
797
797
  error: n != null ? n : void 0,
@@ -799,43 +799,43 @@ var li = function() {
799
799
  };
800
800
  else {
801
801
  var a;
802
- s && Gr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
802
+ s && vr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
803
803
  return s.unsubscribe();
804
804
  }, o = {
805
- next: r.next && qe(r.next, a),
806
- error: r.error && qe(r.error, a),
807
- complete: r.complete && qe(r.complete, a)
805
+ next: r.next && ze(r.next, a),
806
+ error: r.error && ze(r.error, a),
807
+ complete: r.complete && ze(r.complete, a)
808
808
  }) : o = r;
809
809
  }
810
- return s.destination = new li(o), s;
810
+ return s.destination = new jn(o), s;
811
811
  }
812
812
  return t;
813
- }(jr);
814
- function Ae(e) {
815
- ai(e);
813
+ }(Er);
814
+ function Te(e) {
815
+ Gn(e);
816
816
  }
817
- function hi(e) {
817
+ function $n(e) {
818
818
  throw e;
819
819
  }
820
- var fi = {
820
+ var Vn = {
821
821
  closed: !0,
822
- next: or,
823
- error: hi,
824
- complete: or
825
- }, ci = function() {
822
+ next: Ut,
823
+ error: $n,
824
+ complete: Ut
825
+ }, Xn = function() {
826
826
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
827
827
  }();
828
- function mi(e) {
828
+ function zn(e) {
829
829
  return e;
830
830
  }
831
- function di(e) {
832
- return e.length === 0 ? mi : e.length === 1 ? e[0] : function(r) {
831
+ function Wn(e) {
832
+ return e.length === 0 ? zn : e.length === 1 ? e[0] : function(r) {
833
833
  return e.reduce(function(n, i) {
834
834
  return i(n);
835
835
  }, r);
836
836
  };
837
837
  }
838
- var ar = function() {
838
+ var Gt = function() {
839
839
  function e(t) {
840
840
  t && (this._subscribe = t);
841
841
  }
@@ -843,8 +843,8 @@ var ar = function() {
843
843
  var r = new e();
844
844
  return r.source = this, r.operator = t, r;
845
845
  }, e.prototype.subscribe = function(t, r, n) {
846
- var i = this, s = gi(t) ? t : new ut(t, r, n);
847
- return Re(function() {
846
+ var i = this, s = Jn(t) ? t : new it(t, r, n);
847
+ return Ae(function() {
848
848
  var o = i, a = o.operator, l = o.source;
849
849
  s.add(a ? a.call(s, l) : l ? i._subscribe(s) : i._trySubscribe(s));
850
850
  }), s;
@@ -856,8 +856,8 @@ var ar = function() {
856
856
  }
857
857
  }, e.prototype.forEach = function(t, r) {
858
858
  var n = this;
859
- return r = ur(r), new r(function(i, s) {
860
- var o = new ut({
859
+ return r = kt(r), new r(function(i, s) {
860
+ var o = new it({
861
861
  next: function(a) {
862
862
  try {
863
863
  t(a);
@@ -873,15 +873,15 @@ var ar = function() {
873
873
  }, e.prototype._subscribe = function(t) {
874
874
  var r;
875
875
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
876
- }, e.prototype[ci] = function() {
876
+ }, e.prototype[Xn] = function() {
877
877
  return this;
878
878
  }, e.prototype.pipe = function() {
879
879
  for (var t = [], r = 0; r < arguments.length; r++)
880
880
  t[r] = arguments[r];
881
- return di(t)(this);
881
+ return Wn(t)(this);
882
882
  }, e.prototype.toPromise = function(t) {
883
883
  var r = this;
884
- return t = ur(t), new t(function(n, i) {
884
+ return t = kt(t), new t(function(n, i) {
885
885
  var s;
886
886
  r.subscribe(function(o) {
887
887
  return s = o;
@@ -895,40 +895,40 @@ var ar = function() {
895
895
  return new e(t);
896
896
  }, e;
897
897
  }();
898
- function ur(e) {
898
+ function kt(e) {
899
899
  var t;
900
- return (t = e != null ? e : Gr.Promise) !== null && t !== void 0 ? t : Promise;
900
+ return (t = e != null ? e : vr.Promise) !== null && t !== void 0 ? t : Promise;
901
901
  }
902
- function pi(e) {
903
- return e && W(e.next) && W(e.error) && W(e.complete);
902
+ function Zn(e) {
903
+ return e && V(e.next) && V(e.error) && V(e.complete);
904
904
  }
905
- function gi(e) {
906
- return e && e instanceof jr || pi(e) && Ur(e);
905
+ function Jn(e) {
906
+ return e && e instanceof Er || Zn(e) && yr(e);
907
907
  }
908
- var bi = Dr(function(e) {
908
+ var qn = gr(function(e) {
909
909
  return function() {
910
910
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
911
911
  };
912
- }), $r = function(e) {
913
- Z(t, e);
912
+ }), wr = function(e) {
913
+ X(t, e);
914
914
  function t() {
915
915
  var r = e.call(this) || this;
916
916
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
917
917
  }
918
918
  return t.prototype.lift = function(r) {
919
- var n = new lr(this, this);
919
+ var n = new jt(this, this);
920
920
  return n.operator = r, n;
921
921
  }, t.prototype._throwIfClosed = function() {
922
922
  if (this.closed)
923
- throw new bi();
923
+ throw new qn();
924
924
  }, t.prototype.next = function(r) {
925
925
  var n = this;
926
- Re(function() {
926
+ Ae(function() {
927
927
  var i, s;
928
928
  if (n._throwIfClosed(), !n.isStopped) {
929
929
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
930
930
  try {
931
- for (var o = st(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
931
+ for (var o = tt(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
932
932
  var l = a.value;
933
933
  l.next(r);
934
934
  }
@@ -945,7 +945,7 @@ var bi = Dr(function(e) {
945
945
  });
946
946
  }, t.prototype.error = function(r) {
947
947
  var n = this;
948
- Re(function() {
948
+ Ae(function() {
949
949
  if (n._throwIfClosed(), !n.isStopped) {
950
950
  n.hasError = n.isStopped = !0, n.thrownError = r;
951
951
  for (var i = n.observers; i.length; )
@@ -954,7 +954,7 @@ var bi = Dr(function(e) {
954
954
  });
955
955
  }, t.prototype.complete = function() {
956
956
  var r = this;
957
- Re(function() {
957
+ Ae(function() {
958
958
  if (r._throwIfClosed(), !r.isStopped) {
959
959
  r.isStopped = !0;
960
960
  for (var n = r.observers; n.length; )
@@ -976,20 +976,20 @@ var bi = Dr(function(e) {
976
976
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
977
977
  }, t.prototype._innerSubscribe = function(r) {
978
978
  var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
979
- return s || o ? Fr : (this.currentObservers = null, a.push(r), new Fe(function() {
980
- n.currentObservers = null, at(a, r);
979
+ return s || o ? br : (this.currentObservers = null, a.push(r), new Le(function() {
980
+ n.currentObservers = null, nt(a, r);
981
981
  }));
982
982
  }, t.prototype._checkFinalizedStatuses = function(r) {
983
983
  var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
984
984
  i ? r.error(s) : o && r.complete();
985
985
  }, t.prototype.asObservable = function() {
986
- var r = new ar();
986
+ var r = new Gt();
987
987
  return r.source = this, r;
988
988
  }, t.create = function(r, n) {
989
- return new lr(r, n);
989
+ return new jt(r, n);
990
990
  }, t;
991
- }(ar), lr = function(e) {
992
- Z(t, e);
991
+ }(Gt), jt = function(e) {
992
+ X(t, e);
993
993
  function t(r, n) {
994
994
  var i = e.call(this) || this;
995
995
  return i.destination = r, i.source = n, i;
@@ -1005,17 +1005,17 @@ var bi = Dr(function(e) {
1005
1005
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1006
1006
  }, t.prototype._subscribe = function(r) {
1007
1007
  var n, i;
1008
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Fr;
1008
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : br;
1009
1009
  }, t;
1010
- }($r), Vr = {
1010
+ }(wr), xr = {
1011
1011
  now: function() {
1012
- return (Vr.delegate || Date).now();
1012
+ return (xr.delegate || Date).now();
1013
1013
  },
1014
1014
  delegate: void 0
1015
- }, yi = function(e) {
1016
- Z(t, e);
1015
+ }, Qn = function(e) {
1016
+ X(t, e);
1017
1017
  function t(r, n, i) {
1018
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Vr);
1018
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = xr);
1019
1019
  var s = e.call(this) || this;
1020
1020
  return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1021
1021
  }
@@ -1035,199 +1035,199 @@ var bi = Dr(function(e) {
1035
1035
  u && s.splice(0, u + 1);
1036
1036
  }
1037
1037
  }, t;
1038
- }($r);
1039
- const hr = [], fr = {}, vi = (e, t = 0) => {
1040
- if (hr.indexOf(e) == -1) {
1041
- const r = new yi(t);
1042
- fr[e] = r, hr.push(e);
1038
+ }(wr);
1039
+ const $t = [], Vt = {}, Yn = (e, t = 0) => {
1040
+ if ($t.indexOf(e) == -1) {
1041
+ const r = new Qn(t);
1042
+ Vt[e] = r, $t.push(e);
1043
1043
  }
1044
- return fr[e];
1045
- }, ee = [];
1046
- function _i(e, t) {
1044
+ return Vt[e];
1045
+ }, Q = [];
1046
+ function Kn(e, t) {
1047
1047
  return {
1048
- subscribe: Ue(e, t).subscribe
1048
+ subscribe: Ne(e, t).subscribe
1049
1049
  };
1050
1050
  }
1051
- function Ue(e, t = X) {
1051
+ function Ne(e, t = k) {
1052
1052
  let r;
1053
1053
  const n = /* @__PURE__ */ new Set();
1054
1054
  function i(a) {
1055
- if (Lr(e, a) && (e = a, r)) {
1056
- const l = !ee.length;
1055
+ if (mr(e, a) && (e = a, r)) {
1056
+ const l = !Q.length;
1057
1057
  for (const u of n)
1058
- u[1](), ee.push(u, e);
1058
+ u[1](), Q.push(u, e);
1059
1059
  if (l) {
1060
- for (let u = 0; u < ee.length; u += 2)
1061
- ee[u][0](ee[u + 1]);
1062
- ee.length = 0;
1060
+ for (let u = 0; u < Q.length; u += 2)
1061
+ Q[u][0](Q[u + 1]);
1062
+ Q.length = 0;
1063
1063
  }
1064
1064
  }
1065
1065
  }
1066
1066
  function s(a) {
1067
1067
  i(a(e));
1068
1068
  }
1069
- function o(a, l = X) {
1069
+ function o(a, l = k) {
1070
1070
  const u = [a, l];
1071
- return n.add(u), n.size === 1 && (r = t(i, s) || X), a(e), () => {
1071
+ return n.add(u), n.size === 1 && (r = t(i, s) || k), a(e), () => {
1072
1072
  n.delete(u), n.size === 0 && r && (r(), r = null);
1073
1073
  };
1074
1074
  }
1075
1075
  return { set: i, update: s, subscribe: o };
1076
1076
  }
1077
- function le(e, t, r) {
1077
+ function oe(e, t, r) {
1078
1078
  const n = !Array.isArray(e), i = n ? [e] : e;
1079
1079
  if (!i.every(Boolean))
1080
1080
  throw new Error("derived() expects stores as input, got a falsy value");
1081
1081
  const s = t.length < 2;
1082
- return _i(r, (o, a) => {
1082
+ return Kn(r, (o, a) => {
1083
1083
  let l = !1;
1084
1084
  const u = [];
1085
- let h = 0, c = X;
1086
- const d = () => {
1085
+ let h = 0, c = k;
1086
+ const p = () => {
1087
1087
  if (h)
1088
1088
  return;
1089
1089
  c();
1090
- const b = t(n ? u[0] : u, o, a);
1091
- s ? o(b) : c = bt(b) ? b : X;
1092
- }, v = i.map(
1093
- (b, g) => Nr(
1094
- b,
1095
- (y) => {
1096
- u[g] = y, h &= ~(1 << g), l && d();
1090
+ const g = t(n ? u[0] : u, o, a);
1091
+ s ? o(g) : c = mt(g) ? g : k;
1092
+ }, y = i.map(
1093
+ (g, d) => pr(
1094
+ g,
1095
+ (b) => {
1096
+ u[d] = b, h &= ~(1 << d), l && p();
1097
1097
  },
1098
1098
  () => {
1099
- h |= 1 << g;
1099
+ h |= 1 << d;
1100
1100
  }
1101
1101
  )
1102
1102
  );
1103
- return l = !0, d(), function() {
1104
- ve(v), c(), l = !1;
1103
+ return l = !0, p(), function() {
1104
+ ge(y), c(), l = !1;
1105
1105
  };
1106
1106
  });
1107
1107
  }
1108
- function Ei(e) {
1108
+ function ei(e) {
1109
1109
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1110
1110
  }
1111
- var wi = function(t) {
1112
- return Si(t) && !xi(t);
1111
+ var ti = function(t) {
1112
+ return ri(t) && !ni(t);
1113
1113
  };
1114
- function Si(e) {
1114
+ function ri(e) {
1115
1115
  return !!e && typeof e == "object";
1116
1116
  }
1117
- function xi(e) {
1117
+ function ni(e) {
1118
1118
  var t = Object.prototype.toString.call(e);
1119
- return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
1119
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
1120
1120
  }
1121
- var Ti = typeof Symbol == "function" && Symbol.for, Hi = Ti ? Symbol.for("react.element") : 60103;
1122
- function Bi(e) {
1123
- return e.$$typeof === Hi;
1121
+ var ii = typeof Symbol == "function" && Symbol.for, si = ii ? Symbol.for("react.element") : 60103;
1122
+ function oi(e) {
1123
+ return e.$$typeof === si;
1124
1124
  }
1125
- function Pi(e) {
1125
+ function ai(e) {
1126
1126
  return Array.isArray(e) ? [] : {};
1127
1127
  }
1128
- function be(e, t) {
1129
- return t.clone !== !1 && t.isMergeableObject(e) ? se(Pi(e), e, t) : e;
1128
+ function pe(e, t) {
1129
+ return t.clone !== !1 && t.isMergeableObject(e) ? re(ai(e), e, t) : e;
1130
1130
  }
1131
- function Ai(e, t, r) {
1131
+ function ui(e, t, r) {
1132
1132
  return e.concat(t).map(function(n) {
1133
- return be(n, r);
1133
+ return pe(n, r);
1134
1134
  });
1135
1135
  }
1136
- function Oi(e, t) {
1136
+ function li(e, t) {
1137
1137
  if (!t.customMerge)
1138
- return se;
1138
+ return re;
1139
1139
  var r = t.customMerge(e);
1140
- return typeof r == "function" ? r : se;
1140
+ return typeof r == "function" ? r : re;
1141
1141
  }
1142
- function Ci(e) {
1142
+ function hi(e) {
1143
1143
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1144
1144
  return Object.propertyIsEnumerable.call(e, t);
1145
1145
  }) : [];
1146
1146
  }
1147
- function cr(e) {
1148
- return Object.keys(e).concat(Ci(e));
1147
+ function Xt(e) {
1148
+ return Object.keys(e).concat(hi(e));
1149
1149
  }
1150
- function Xr(e, t) {
1150
+ function Sr(e, t) {
1151
1151
  try {
1152
1152
  return t in e;
1153
1153
  } catch (r) {
1154
1154
  return !1;
1155
1155
  }
1156
1156
  }
1157
- function Ri(e, t) {
1158
- return Xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1157
+ function fi(e, t) {
1158
+ return Sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1159
1159
  }
1160
- function Ii(e, t, r) {
1160
+ function ci(e, t, r) {
1161
1161
  var n = {};
1162
- return r.isMergeableObject(e) && cr(e).forEach(function(i) {
1163
- n[i] = be(e[i], r);
1164
- }), cr(t).forEach(function(i) {
1165
- Ri(e, i) || (Xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Oi(i, r)(e[i], t[i], r) : n[i] = be(t[i], r));
1162
+ return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1163
+ n[i] = pe(e[i], r);
1164
+ }), Xt(t).forEach(function(i) {
1165
+ fi(e, i) || (Sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = li(i, r)(e[i], t[i], r) : n[i] = pe(t[i], r));
1166
1166
  }), n;
1167
1167
  }
1168
- function se(e, t, r) {
1169
- r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || wi, r.cloneUnlessOtherwiseSpecified = be;
1168
+ function re(e, t, r) {
1169
+ r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = pe;
1170
1170
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1171
- return s ? n ? r.arrayMerge(e, t, r) : Ii(e, t, r) : be(t, r);
1171
+ return s ? n ? r.arrayMerge(e, t, r) : ci(e, t, r) : pe(t, r);
1172
1172
  }
1173
- se.all = function(t, r) {
1173
+ re.all = function(t, r) {
1174
1174
  if (!Array.isArray(t))
1175
1175
  throw new Error("first argument should be an array");
1176
1176
  return t.reduce(function(n, i) {
1177
- return se(n, i, r);
1177
+ return re(n, i, r);
1178
1178
  }, {});
1179
1179
  };
1180
- var Li = se, Ni = Li;
1181
- const Mi = /* @__PURE__ */ Ei(Ni);
1182
- var E;
1180
+ var mi = re, pi = mi;
1181
+ const di = /* @__PURE__ */ ei(pi);
1182
+ var v;
1183
1183
  (function(e) {
1184
1184
  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";
1185
- })(E || (E = {}));
1186
- var P;
1185
+ })(v || (v = {}));
1186
+ var H;
1187
1187
  (function(e) {
1188
1188
  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";
1189
- })(P || (P = {}));
1190
- var oe;
1189
+ })(H || (H = {}));
1190
+ var ne;
1191
1191
  (function(e) {
1192
1192
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1193
- })(oe || (oe = {}));
1194
- function mr(e) {
1195
- return e.type === P.literal;
1193
+ })(ne || (ne = {}));
1194
+ function zt(e) {
1195
+ return e.type === H.literal;
1196
1196
  }
1197
- function Di(e) {
1198
- return e.type === P.argument;
1197
+ function gi(e) {
1198
+ return e.type === H.argument;
1199
1199
  }
1200
- function zr(e) {
1201
- return e.type === P.number;
1200
+ function Tr(e) {
1201
+ return e.type === H.number;
1202
1202
  }
1203
- function Wr(e) {
1204
- return e.type === P.date;
1203
+ function Hr(e) {
1204
+ return e.type === H.date;
1205
1205
  }
1206
- function Zr(e) {
1207
- return e.type === P.time;
1206
+ function Br(e) {
1207
+ return e.type === H.time;
1208
1208
  }
1209
- function Qr(e) {
1210
- return e.type === P.select;
1209
+ function Ar(e) {
1210
+ return e.type === H.select;
1211
1211
  }
1212
- function qr(e) {
1213
- return e.type === P.plural;
1212
+ function Pr(e) {
1213
+ return e.type === H.plural;
1214
1214
  }
1215
- function Fi(e) {
1216
- return e.type === P.pound;
1215
+ function bi(e) {
1216
+ return e.type === H.pound;
1217
1217
  }
1218
- function Jr(e) {
1219
- return e.type === P.tag;
1218
+ function Or(e) {
1219
+ return e.type === H.tag;
1220
1220
  }
1221
- function Yr(e) {
1222
- return !!(e && typeof e == "object" && e.type === oe.number);
1221
+ function Cr(e) {
1222
+ return !!(e && typeof e == "object" && e.type === ne.number);
1223
1223
  }
1224
- function lt(e) {
1225
- return !!(e && typeof e == "object" && e.type === oe.dateTime);
1224
+ function st(e) {
1225
+ return !!(e && typeof e == "object" && e.type === ne.dateTime);
1226
1226
  }
1227
- var Kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ui = /(?:[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;
1228
- function Gi(e) {
1227
+ var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
1228
+ function vi(e) {
1229
1229
  var t = {};
1230
- return e.replace(Ui, function(r) {
1230
+ return e.replace(yi, function(r) {
1231
1231
  var n = r.length;
1232
1232
  switch (r[0]) {
1233
1233
  case "G":
@@ -1316,12 +1316,12 @@ function Gi(e) {
1316
1316
  return "";
1317
1317
  }), t;
1318
1318
  }
1319
- var ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
- function ji(e) {
1319
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1320
+ function Ei(e) {
1321
1321
  if (e.length === 0)
1322
1322
  throw new Error("Number skeleton cannot be empty");
1323
- for (var t = e.split(ki).filter(function(d) {
1324
- return d.length > 0;
1323
+ for (var t = e.split(_i).filter(function(p) {
1324
+ return p.length > 0;
1325
1325
  }), r = [], n = 0, i = t; n < i.length; n++) {
1326
1326
  var s = i[n], o = s.split("/");
1327
1327
  if (o.length === 0)
@@ -1335,17 +1335,17 @@ function ji(e) {
1335
1335
  }
1336
1336
  return r;
1337
1337
  }
1338
- function $i(e) {
1338
+ function wi(e) {
1339
1339
  return e.replace(/^(.*?)-/, "");
1340
1340
  }
1341
- var dr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, en = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, tn = /^(0+)$/;
1342
- function pr(e) {
1341
+ var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
1342
+ function Zt(e) {
1343
1343
  var t = {};
1344
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(en, function(r, n, i) {
1344
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rr, function(r, n, i) {
1345
1345
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1346
1346
  }), t;
1347
1347
  }
1348
- function rn(e) {
1348
+ function Nr(e) {
1349
1349
  switch (e) {
1350
1350
  case "sign-auto":
1351
1351
  return {
@@ -1385,7 +1385,7 @@ function rn(e) {
1385
1385
  };
1386
1386
  }
1387
1387
  }
1388
- function Xi(e) {
1388
+ function Si(e) {
1389
1389
  var t;
1390
1390
  if (e[0] === "E" && e[1] === "E" ? (t = {
1391
1391
  notation: "engineering"
@@ -1393,17 +1393,17 @@ function Xi(e) {
1393
1393
  notation: "scientific"
1394
1394
  }, e = e.slice(1)), t) {
1395
1395
  var r = e.slice(0, 2);
1396
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tn.test(e))
1396
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
1397
1397
  throw new Error("Malformed concise eng/scientific notation");
1398
1398
  t.minimumIntegerDigits = e.length;
1399
1399
  }
1400
1400
  return t;
1401
1401
  }
1402
- function gr(e) {
1403
- var t = {}, r = rn(e);
1402
+ function Jt(e) {
1403
+ var t = {}, r = Nr(e);
1404
1404
  return r || t;
1405
1405
  }
1406
- function zi(e) {
1406
+ function Ti(e) {
1407
1407
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1408
1408
  var i = n[r];
1409
1409
  switch (i.stem) {
@@ -1427,7 +1427,7 @@ function zi(e) {
1427
1427
  continue;
1428
1428
  case "measure-unit":
1429
1429
  case "unit":
1430
- t.style = "unit", t.unit = $i(i.options[0]);
1430
+ t.style = "unit", t.unit = wi(i.options[0]);
1431
1431
  continue;
1432
1432
  case "compact-short":
1433
1433
  case "K":
@@ -1438,13 +1438,13 @@ function zi(e) {
1438
1438
  t.notation = "compact", t.compactDisplay = "long";
1439
1439
  continue;
1440
1440
  case "scientific":
1441
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1442
- return x(x({}, l), gr(u));
1441
+ t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1442
+ return w(w({}, l), Jt(u));
1443
1443
  }, {}));
1444
1444
  continue;
1445
1445
  case "engineering":
1446
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1447
- return x(x({}, l), gr(u));
1446
+ t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1447
+ return w(w({}, l), Jt(u));
1448
1448
  }, {}));
1449
1449
  continue;
1450
1450
  case "notation-simple":
@@ -1489,45 +1489,45 @@ function zi(e) {
1489
1489
  case "integer-width":
1490
1490
  if (i.options.length > 1)
1491
1491
  throw new RangeError("integer-width stems only accept a single optional option");
1492
- i.options[0].replace(Vi, function(l, u, h, c, d, v) {
1492
+ i.options[0].replace(xi, function(l, u, h, c, p, y) {
1493
1493
  if (u)
1494
1494
  t.minimumIntegerDigits = h.length;
1495
1495
  else {
1496
- if (c && d)
1496
+ if (c && p)
1497
1497
  throw new Error("We currently do not support maximum integer digits");
1498
- if (v)
1498
+ if (y)
1499
1499
  throw new Error("We currently do not support exact integer digits");
1500
1500
  }
1501
1501
  return "";
1502
1502
  });
1503
1503
  continue;
1504
1504
  }
1505
- if (tn.test(i.stem)) {
1505
+ if (Lr.test(i.stem)) {
1506
1506
  t.minimumIntegerDigits = i.stem.length;
1507
1507
  continue;
1508
1508
  }
1509
- if (dr.test(i.stem)) {
1509
+ if (Wt.test(i.stem)) {
1510
1510
  if (i.options.length > 1)
1511
1511
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1512
- i.stem.replace(dr, function(l, u, h, c, d, v) {
1513
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && v ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1512
+ i.stem.replace(Wt, function(l, u, h, c, p, y) {
1513
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1514
1514
  });
1515
1515
  var s = i.options[0];
1516
- s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), pr(s)));
1516
+ s === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = w(w({}, t), Zt(s)));
1517
1517
  continue;
1518
1518
  }
1519
- if (en.test(i.stem)) {
1520
- t = x(x({}, t), pr(i.stem));
1519
+ if (Rr.test(i.stem)) {
1520
+ t = w(w({}, t), Zt(i.stem));
1521
1521
  continue;
1522
1522
  }
1523
- var o = rn(i.stem);
1524
- o && (t = x(x({}, t), o));
1525
- var a = Xi(i.stem);
1526
- a && (t = x(x({}, t), a));
1523
+ var o = Nr(i.stem);
1524
+ o && (t = w(w({}, t), o));
1525
+ var a = Si(i.stem);
1526
+ a && (t = w(w({}, t), a));
1527
1527
  }
1528
1528
  return t;
1529
1529
  }
1530
- var Oe = {
1530
+ var He = {
1531
1531
  "001": [
1532
1532
  "H",
1533
1533
  "h"
@@ -2936,13 +2936,13 @@ var Oe = {
2936
2936
  "h"
2937
2937
  ]
2938
2938
  };
2939
- function Wi(e, t) {
2939
+ function Hi(e, t) {
2940
2940
  for (var r = "", n = 0; n < e.length; n++) {
2941
2941
  var i = e.charAt(n);
2942
2942
  if (i === "j") {
2943
2943
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2944
2944
  s++, n++;
2945
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Zi(t);
2945
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Bi(t);
2946
2946
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2947
2947
  r += l;
2948
2948
  for (; o-- > 0; )
@@ -2951,7 +2951,7 @@ function Wi(e, t) {
2951
2951
  }
2952
2952
  return r;
2953
2953
  }
2954
- function Zi(e) {
2954
+ function Bi(e) {
2955
2955
  var t = e.hourCycle;
2956
2956
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2957
2957
  e.hourCycles && // @ts-ignore
@@ -2970,23 +2970,23 @@ function Zi(e) {
2970
2970
  }
2971
2971
  var r = e.language, n;
2972
2972
  r !== "root" && (n = e.maximize().region);
2973
- var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
2973
+ var i = He[n || ""] || He[r || ""] || He["".concat(r, "-001")] || He["001"];
2974
2974
  return i[0];
2975
2975
  }
2976
- var Je, Qi = new RegExp("^".concat(Kr.source, "*")), qi = new RegExp("".concat(Kr.source, "*$"));
2977
- function w(e, t) {
2976
+ var We, Ai = new RegExp("^".concat(Ir.source, "*")), Pi = new RegExp("".concat(Ir.source, "*$"));
2977
+ function _(e, t) {
2978
2978
  return { start: e, end: t };
2979
2979
  }
2980
- var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yi = !!String.fromCodePoint, Ki = !!Object.fromEntries, es = !!String.prototype.codePointAt, ts = !!String.prototype.trimStart, rs = !!String.prototype.trimEnd, ns = !!Number.isSafeInteger, is = ns ? Number.isSafeInteger : function(e) {
2980
+ var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Ii = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, Li = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Di = Mi ? Number.isSafeInteger : function(e) {
2981
2981
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2982
- }, ht = !0;
2982
+ }, ot = !0;
2983
2983
  try {
2984
- var ss = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2985
- ht = ((Je = ss.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2984
+ var Fi = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2985
+ ot = ((We = Fi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2986
2986
  } catch (e) {
2987
- ht = !1;
2987
+ ot = !1;
2988
2988
  }
2989
- var br = Ji ? (
2989
+ var qt = Oi ? (
2990
2990
  // Native
2991
2991
  function(t, r, n) {
2992
2992
  return t.startsWith(r, n);
@@ -2996,7 +2996,7 @@ var br = Ji ? (
2996
2996
  function(t, r, n) {
2997
2997
  return t.slice(n, n + r.length) === r;
2998
2998
  }
2999
- ), ft = Yi ? String.fromCodePoint : (
2999
+ ), at = Ci ? String.fromCodePoint : (
3000
3000
  // IE11
3001
3001
  function() {
3002
3002
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3008,9 +3008,9 @@ var br = Ji ? (
3008
3008
  }
3009
3009
  return n;
3010
3010
  }
3011
- ), yr = (
3011
+ ), Qt = (
3012
3012
  // native
3013
- Ki ? Object.fromEntries : (
3013
+ Ii ? Object.fromEntries : (
3014
3014
  // Ponyfill
3015
3015
  function(t) {
3016
3016
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3020,7 +3020,7 @@ var br = Ji ? (
3020
3020
  return r;
3021
3021
  }
3022
3022
  )
3023
- ), nn = es ? (
3023
+ ), Mr = Ri ? (
3024
3024
  // Native
3025
3025
  function(t, r) {
3026
3026
  return t.codePointAt(r);
@@ -3034,7 +3034,7 @@ var br = Ji ? (
3034
3034
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3035
3035
  }
3036
3036
  }
3037
- ), os = ts ? (
3037
+ ), Ui = Li ? (
3038
3038
  // Native
3039
3039
  function(t) {
3040
3040
  return t.trimStart();
@@ -3042,9 +3042,9 @@ var br = Ji ? (
3042
3042
  ) : (
3043
3043
  // Ponyfill
3044
3044
  function(t) {
3045
- return t.replace(Qi, "");
3045
+ return t.replace(Ai, "");
3046
3046
  }
3047
- ), as = rs ? (
3047
+ ), Gi = Ni ? (
3048
3048
  // Native
3049
3049
  function(t) {
3050
3050
  return t.trimEnd();
@@ -3052,32 +3052,32 @@ var br = Ji ? (
3052
3052
  ) : (
3053
3053
  // Ponyfill
3054
3054
  function(t) {
3055
- return t.replace(qi, "");
3055
+ return t.replace(Pi, "");
3056
3056
  }
3057
3057
  );
3058
- function sn(e, t) {
3058
+ function Dr(e, t) {
3059
3059
  return new RegExp(e, t);
3060
3060
  }
3061
- var ct;
3062
- if (ht) {
3063
- var vr = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3064
- ct = function(t, r) {
3061
+ var ut;
3062
+ if (ot) {
3063
+ var Yt = Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3064
+ ut = function(t, r) {
3065
3065
  var n;
3066
- vr.lastIndex = r;
3067
- var i = vr.exec(t);
3066
+ Yt.lastIndex = r;
3067
+ var i = Yt.exec(t);
3068
3068
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3069
3069
  };
3070
3070
  } else
3071
- ct = function(t, r) {
3071
+ ut = function(t, r) {
3072
3072
  for (var n = []; ; ) {
3073
- var i = nn(t, r);
3074
- if (i === void 0 || on(i) || fs(i))
3073
+ var i = Mr(t, r);
3074
+ if (i === void 0 || Fr(i) || Vi(i))
3075
3075
  break;
3076
3076
  n.push(i), r += i >= 65536 ? 2 : 1;
3077
3077
  }
3078
- return ft.apply(void 0, n);
3078
+ return at.apply(void 0, n);
3079
3079
  };
3080
- var us = (
3080
+ var ki = (
3081
3081
  /** @class */
3082
3082
  function() {
3083
3083
  function e(t, r) {
@@ -3101,14 +3101,14 @@ var us = (
3101
3101
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
3102
3102
  var a = this.clonePosition();
3103
3103
  this.bump(), i.push({
3104
- type: P.pound,
3105
- location: w(a, this.clonePosition())
3104
+ type: H.pound,
3105
+ location: _(a, this.clonePosition())
3106
3106
  });
3107
3107
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3108
3108
  if (n)
3109
3109
  break;
3110
- return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3111
- } else if (s === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3110
+ return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3111
+ } else if (s === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
3112
3112
  var o = this.parseTag(t, r);
3113
3113
  if (o.err)
3114
3114
  return o;
@@ -3129,9 +3129,9 @@ var us = (
3129
3129
  if (this.bumpSpace(), this.bumpIf("/>"))
3130
3130
  return {
3131
3131
  val: {
3132
- type: P.literal,
3132
+ type: H.literal,
3133
3133
  value: "<".concat(i, "/>"),
3134
- location: w(n, this.clonePosition())
3134
+ location: _(n, this.clonePosition())
3135
3135
  },
3136
3136
  err: null
3137
3137
  };
@@ -3141,25 +3141,25 @@ var us = (
3141
3141
  return s;
3142
3142
  var o = s.val, a = this.clonePosition();
3143
3143
  if (this.bumpIf("</")) {
3144
- if (this.isEOF() || !mt(this.char()))
3145
- return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3144
+ if (this.isEOF() || !lt(this.char()))
3145
+ return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
3146
3146
  var l = this.clonePosition(), u = this.parseTagName();
3147
- return i !== u ? this.error(E.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3147
+ return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3148
3148
  val: {
3149
- type: P.tag,
3149
+ type: H.tag,
3150
3150
  value: i,
3151
3151
  children: o,
3152
- location: w(n, this.clonePosition())
3152
+ location: _(n, this.clonePosition())
3153
3153
  },
3154
3154
  err: null
3155
- } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3155
+ } : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
3156
3156
  } else
3157
- return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3157
+ return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
3158
3158
  } else
3159
- return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3159
+ return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3160
3160
  }, e.prototype.parseTagName = function() {
3161
3161
  var t = this.offset();
3162
- for (this.bump(); !this.isEOF() && hs(this.char()); )
3162
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3163
3163
  this.bump();
3164
3164
  return this.message.slice(t, this.offset());
3165
3165
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3181,14 +3181,14 @@ var us = (
3181
3181
  }
3182
3182
  break;
3183
3183
  }
3184
- var l = w(n, this.clonePosition());
3184
+ var l = _(n, this.clonePosition());
3185
3185
  return {
3186
- val: { type: P.literal, value: i, location: l },
3186
+ val: { type: H.literal, value: i, location: l },
3187
3187
  err: null
3188
3188
  };
3189
3189
  }, e.prototype.tryParseLeftAngleBracket = function() {
3190
3190
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3191
- !ls(this.peek() || 0)) ? (this.bump(), "<") : null;
3191
+ !ji(this.peek() || 0)) ? (this.bump(), "<") : null;
3192
3192
  }, e.prototype.tryParseQuote = function(t) {
3193
3193
  if (this.isEOF() || this.char() !== 39)
3194
3194
  return null;
@@ -3222,49 +3222,49 @@ var us = (
3222
3222
  r.push(n);
3223
3223
  this.bump();
3224
3224
  }
3225
- return ft.apply(void 0, r);
3225
+ return at.apply(void 0, r);
3226
3226
  }, e.prototype.tryParseUnquoted = function(t, r) {
3227
3227
  if (this.isEOF())
3228
3228
  return null;
3229
3229
  var n = this.char();
3230
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ft(n));
3230
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
3231
3231
  }, e.prototype.parseArgument = function(t, r) {
3232
3232
  var n = this.clonePosition();
3233
3233
  if (this.bump(), this.bumpSpace(), this.isEOF())
3234
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3234
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3235
3235
  if (this.char() === 125)
3236
- return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3236
+ return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3237
3237
  var i = this.parseIdentifierIfPossible().value;
3238
3238
  if (!i)
3239
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3239
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3240
3240
  if (this.bumpSpace(), this.isEOF())
3241
- return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3241
+ return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3242
3242
  switch (this.char()) {
3243
3243
  case 125:
3244
3244
  return this.bump(), {
3245
3245
  val: {
3246
- type: P.argument,
3246
+ type: H.argument,
3247
3247
  // value does not include the opening and closing braces.
3248
3248
  value: i,
3249
- location: w(n, this.clonePosition())
3249
+ location: _(n, this.clonePosition())
3250
3250
  },
3251
3251
  err: null
3252
3252
  };
3253
3253
  case 44:
3254
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3254
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3255
3255
  default:
3256
- return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3256
+ return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3257
3257
  }
3258
3258
  }, e.prototype.parseIdentifierIfPossible = function() {
3259
- var t = this.clonePosition(), r = this.offset(), n = ct(this.message, r), i = r + n.length;
3259
+ var t = this.clonePosition(), r = this.offset(), n = ut(this.message, r), i = r + n.length;
3260
3260
  this.bumpTo(i);
3261
- var s = this.clonePosition(), o = w(t, s);
3261
+ var s = this.clonePosition(), o = _(t, s);
3262
3262
  return { value: n, location: o };
3263
3263
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3264
3264
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3265
3265
  switch (a) {
3266
3266
  case "":
3267
- return this.error(E.EXPECT_ARGUMENT_TYPE, w(o, l));
3267
+ return this.error(v.EXPECT_ARGUMENT_TYPE, _(o, l));
3268
3268
  case "number":
3269
3269
  case "date":
3270
3270
  case "time": {
@@ -3275,46 +3275,46 @@ var us = (
3275
3275
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3276
3276
  if (c.err)
3277
3277
  return c;
3278
- var d = as(c.val);
3279
- if (d.length === 0)
3280
- return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3281
- var v = w(h, this.clonePosition());
3282
- u = { style: d, styleLocation: v };
3278
+ var p = Gi(c.val);
3279
+ if (p.length === 0)
3280
+ return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3281
+ var y = _(h, this.clonePosition());
3282
+ u = { style: p, styleLocation: y };
3283
3283
  }
3284
- var b = this.tryParseArgumentClose(i);
3285
- if (b.err)
3286
- return b;
3287
- var g = w(i, this.clonePosition());
3288
- if (u && br(u == null ? void 0 : u.style, "::", 0)) {
3289
- var y = os(u.style.slice(2));
3284
+ var g = this.tryParseArgumentClose(i);
3285
+ if (g.err)
3286
+ return g;
3287
+ var d = _(i, this.clonePosition());
3288
+ if (u && qt(u == null ? void 0 : u.style, "::", 0)) {
3289
+ var b = Ui(u.style.slice(2));
3290
3290
  if (a === "number") {
3291
- var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
3291
+ var c = this.parseNumberSkeletonFromString(b, u.styleLocation);
3292
3292
  return c.err ? c : {
3293
- val: { type: P.number, value: n, location: g, style: c.val },
3293
+ val: { type: H.number, value: n, location: d, style: c.val },
3294
3294
  err: null
3295
3295
  };
3296
3296
  } else {
3297
- if (y.length === 0)
3298
- return this.error(E.EXPECT_DATE_TIME_SKELETON, g);
3299
- var H = y;
3300
- this.locale && (H = Wi(y, this.locale));
3301
- var d = {
3302
- type: oe.dateTime,
3303
- pattern: H,
3297
+ if (b.length === 0)
3298
+ return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3299
+ var x = b;
3300
+ this.locale && (x = Hi(b, this.locale));
3301
+ var p = {
3302
+ type: ne.dateTime,
3303
+ pattern: x,
3304
3304
  location: u.styleLocation,
3305
- parsedOptions: this.shouldParseSkeletons ? Gi(H) : {}
3306
- }, L = a === "date" ? P.date : P.time;
3305
+ parsedOptions: this.shouldParseSkeletons ? vi(x) : {}
3306
+ }, I = a === "date" ? H.date : H.time;
3307
3307
  return {
3308
- val: { type: L, value: n, location: g, style: d },
3308
+ val: { type: I, value: n, location: d, style: p },
3309
3309
  err: null
3310
3310
  };
3311
3311
  }
3312
3312
  }
3313
3313
  return {
3314
3314
  val: {
3315
- type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3315
+ type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3316
3316
  value: n,
3317
- location: g,
3317
+ location: d,
3318
3318
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3319
3319
  },
3320
3320
  err: null
@@ -3323,52 +3323,52 @@ var us = (
3323
3323
  case "plural":
3324
3324
  case "selectordinal":
3325
3325
  case "select": {
3326
- var R = this.clonePosition();
3326
+ var O = this.clonePosition();
3327
3327
  if (this.bumpSpace(), !this.bumpIf(","))
3328
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(R, x({}, R)));
3328
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(O, w({}, O)));
3329
3329
  this.bumpSpace();
3330
- var D = this.parseIdentifierIfPossible(), F = 0;
3330
+ var D = this.parseIdentifierIfPossible(), N = 0;
3331
3331
  if (a !== "select" && D.value === "offset") {
3332
3332
  if (!this.bumpIf(":"))
3333
- return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3333
+ return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3334
3334
  this.bumpSpace();
3335
- var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3335
+ var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3336
3336
  if (c.err)
3337
3337
  return c;
3338
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), F = c.val;
3338
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3339
3339
  }
3340
- var N = this.tryParsePluralOrSelectOptions(t, a, r, D);
3341
- if (N.err)
3342
- return N;
3343
- var b = this.tryParseArgumentClose(i);
3344
- if (b.err)
3345
- return b;
3346
- var G = w(i, this.clonePosition());
3340
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, D);
3341
+ if (R.err)
3342
+ return R;
3343
+ var g = this.tryParseArgumentClose(i);
3344
+ if (g.err)
3345
+ return g;
3346
+ var C = _(i, this.clonePosition());
3347
3347
  return a === "select" ? {
3348
3348
  val: {
3349
- type: P.select,
3349
+ type: H.select,
3350
3350
  value: n,
3351
- options: yr(N.val),
3352
- location: G
3351
+ options: Qt(R.val),
3352
+ location: C
3353
3353
  },
3354
3354
  err: null
3355
3355
  } : {
3356
3356
  val: {
3357
- type: P.plural,
3357
+ type: H.plural,
3358
3358
  value: n,
3359
- options: yr(N.val),
3360
- offset: F,
3359
+ options: Qt(R.val),
3360
+ offset: N,
3361
3361
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3362
- location: G
3362
+ location: C
3363
3363
  },
3364
3364
  err: null
3365
3365
  };
3366
3366
  }
3367
3367
  default:
3368
- return this.error(E.INVALID_ARGUMENT_TYPE, w(o, l));
3368
+ return this.error(v.INVALID_ARGUMENT_TYPE, _(o, l));
3369
3369
  }
3370
3370
  }, e.prototype.tryParseArgumentClose = function(t) {
3371
- return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3371
+ return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3372
3372
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3373
3373
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3374
3374
  var n = this.char();
@@ -3377,7 +3377,7 @@ var us = (
3377
3377
  this.bump();
3378
3378
  var i = this.clonePosition();
3379
3379
  if (!this.bumpUntil("'"))
3380
- return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3380
+ return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3381
3381
  this.bump();
3382
3382
  break;
3383
3383
  }
@@ -3407,16 +3407,16 @@ var us = (
3407
3407
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3408
3408
  var n = [];
3409
3409
  try {
3410
- n = ji(t);
3410
+ n = Ei(t);
3411
3411
  } catch (i) {
3412
- return this.error(E.INVALID_NUMBER_SKELETON, r);
3412
+ return this.error(v.INVALID_NUMBER_SKELETON, r);
3413
3413
  }
3414
3414
  return {
3415
3415
  val: {
3416
- type: oe.number,
3416
+ type: ne.number,
3417
3417
  tokens: n,
3418
3418
  location: r,
3419
- parsedOptions: this.shouldParseSkeletons ? zi(n) : {}
3419
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3420
3420
  },
3421
3421
  err: null
3422
3422
  };
@@ -3425,34 +3425,34 @@ var us = (
3425
3425
  if (u.length === 0) {
3426
3426
  var c = this.clonePosition();
3427
3427
  if (r !== "select" && this.bumpIf("=")) {
3428
- var d = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3429
- if (d.err)
3430
- return d;
3431
- h = w(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3428
+ var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3429
+ if (p.err)
3430
+ return p;
3431
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3432
3432
  } else
3433
3433
  break;
3434
3434
  }
3435
3435
  if (l.has(u))
3436
- return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3436
+ return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3437
3437
  u === "other" && (o = !0), this.bumpSpace();
3438
- var v = this.clonePosition();
3438
+ var y = this.clonePosition();
3439
3439
  if (!this.bumpIf("{"))
3440
- return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3441
- var b = this.parseMessage(t + 1, r, n);
3442
- if (b.err)
3443
- return b;
3444
- var g = this.tryParseArgumentClose(v);
3440
+ return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3441
+ var g = this.parseMessage(t + 1, r, n);
3445
3442
  if (g.err)
3446
3443
  return g;
3444
+ var d = this.tryParseArgumentClose(y);
3445
+ if (d.err)
3446
+ return d;
3447
3447
  a.push([
3448
3448
  u,
3449
3449
  {
3450
- value: b.val,
3451
- location: w(v, this.clonePosition())
3450
+ value: g.val,
3451
+ location: _(y, this.clonePosition())
3452
3452
  }
3453
3453
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3454
3454
  }
3455
- return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3455
+ return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3456
3456
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3457
3457
  var n = 1, i = this.clonePosition();
3458
3458
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3463,8 +3463,8 @@ var us = (
3463
3463
  else
3464
3464
  break;
3465
3465
  }
3466
- var l = w(i, this.clonePosition());
3467
- return s ? (o *= n, is(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3466
+ var l = _(i, this.clonePosition());
3467
+ return s ? (o *= n, Di(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3468
3468
  }, e.prototype.offset = function() {
3469
3469
  return this.position.offset;
3470
3470
  }, e.prototype.isEOF = function() {
@@ -3479,7 +3479,7 @@ var us = (
3479
3479
  var t = this.position.offset;
3480
3480
  if (t >= this.message.length)
3481
3481
  throw Error("out of bound");
3482
- var r = nn(this.message, t);
3482
+ var r = Mr(this.message, t);
3483
3483
  if (r === void 0)
3484
3484
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3485
3485
  return r;
@@ -3498,7 +3498,7 @@ var us = (
3498
3498
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3499
3499
  }
3500
3500
  }, e.prototype.bumpIf = function(t) {
3501
- if (br(this.message, t, this.offset())) {
3501
+ if (qt(this.message, t, this.offset())) {
3502
3502
  for (var r = 0; r < t.length; r++)
3503
3503
  this.bump();
3504
3504
  return !0;
@@ -3520,7 +3520,7 @@ var us = (
3520
3520
  break;
3521
3521
  }
3522
3522
  }, e.prototype.bumpSpace = function() {
3523
- for (; !this.isEOF() && on(this.char()); )
3523
+ for (; !this.isEOF() && Fr(this.char()); )
3524
3524
  this.bump();
3525
3525
  }, e.prototype.peek = function() {
3526
3526
  if (this.isEOF())
@@ -3530,96 +3530,96 @@ var us = (
3530
3530
  }, e;
3531
3531
  }()
3532
3532
  );
3533
- function mt(e) {
3533
+ function lt(e) {
3534
3534
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3535
3535
  }
3536
- function ls(e) {
3537
- return mt(e) || e === 47;
3536
+ function ji(e) {
3537
+ return lt(e) || e === 47;
3538
3538
  }
3539
- function hs(e) {
3539
+ function $i(e) {
3540
3540
  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;
3541
3541
  }
3542
- function on(e) {
3542
+ function Fr(e) {
3543
3543
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3544
3544
  }
3545
- function fs(e) {
3545
+ function Vi(e) {
3546
3546
  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;
3547
3547
  }
3548
- function dt(e) {
3548
+ function ht(e) {
3549
3549
  e.forEach(function(t) {
3550
- if (delete t.location, Qr(t) || qr(t))
3550
+ if (delete t.location, Ar(t) || Pr(t))
3551
3551
  for (var r in t.options)
3552
- delete t.options[r].location, dt(t.options[r].value);
3553
- else zr(t) && Yr(t.style) || (Wr(t) || Zr(t)) && lt(t.style) ? delete t.style.location : Jr(t) && dt(t.children);
3552
+ delete t.options[r].location, ht(t.options[r].value);
3553
+ else Tr(t) && Cr(t.style) || (Hr(t) || Br(t)) && st(t.style) ? delete t.style.location : Or(t) && ht(t.children);
3554
3554
  });
3555
3555
  }
3556
- function cs(e, t) {
3557
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3558
- var r = new us(e, t).parse();
3556
+ function Xi(e, t) {
3557
+ t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3558
+ var r = new ki(e, t).parse();
3559
3559
  if (r.err) {
3560
- var n = SyntaxError(E[r.err.kind]);
3560
+ var n = SyntaxError(v[r.err.kind]);
3561
3561
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3562
3562
  }
3563
- return t != null && t.captureLocation || dt(r.val), r.val;
3563
+ return t != null && t.captureLocation || ht(r.val), r.val;
3564
3564
  }
3565
- function Ye(e, t) {
3566
- var r = t && t.cache ? t.cache : ys, n = t && t.serializer ? t.serializer : bs, i = t && t.strategy ? t.strategy : ds;
3565
+ function Ze(e, t) {
3566
+ var r = t && t.cache ? t.cache : Qi, n = t && t.serializer ? t.serializer : qi, i = t && t.strategy ? t.strategy : Wi;
3567
3567
  return i(e, {
3568
3568
  cache: r,
3569
3569
  serializer: n
3570
3570
  });
3571
3571
  }
3572
- function ms(e) {
3572
+ function zi(e) {
3573
3573
  return e == null || typeof e == "number" || typeof e == "boolean";
3574
3574
  }
3575
- function an(e, t, r, n) {
3576
- var i = ms(n) ? n : r(n), s = t.get(i);
3575
+ function Ur(e, t, r, n) {
3576
+ var i = zi(n) ? n : r(n), s = t.get(i);
3577
3577
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3578
3578
  }
3579
- function un(e, t, r) {
3579
+ function Gr(e, t, r) {
3580
3580
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
3581
3581
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
3582
3582
  }
3583
- function yt(e, t, r, n, i) {
3583
+ function pt(e, t, r, n, i) {
3584
3584
  return r.bind(t, e, n, i);
3585
3585
  }
3586
- function ds(e, t) {
3587
- var r = e.length === 1 ? an : un;
3588
- return yt(e, this, r, t.cache.create(), t.serializer);
3586
+ function Wi(e, t) {
3587
+ var r = e.length === 1 ? Ur : Gr;
3588
+ return pt(e, this, r, t.cache.create(), t.serializer);
3589
3589
  }
3590
- function ps(e, t) {
3591
- return yt(e, this, un, t.cache.create(), t.serializer);
3590
+ function Zi(e, t) {
3591
+ return pt(e, this, Gr, t.cache.create(), t.serializer);
3592
3592
  }
3593
- function gs(e, t) {
3594
- return yt(e, this, an, t.cache.create(), t.serializer);
3593
+ function Ji(e, t) {
3594
+ return pt(e, this, Ur, t.cache.create(), t.serializer);
3595
3595
  }
3596
- var bs = function() {
3596
+ var qi = function() {
3597
3597
  return JSON.stringify(arguments);
3598
3598
  };
3599
- function vt() {
3599
+ function dt() {
3600
3600
  this.cache = /* @__PURE__ */ Object.create(null);
3601
3601
  }
3602
- vt.prototype.get = function(e) {
3602
+ dt.prototype.get = function(e) {
3603
3603
  return this.cache[e];
3604
3604
  };
3605
- vt.prototype.set = function(e, t) {
3605
+ dt.prototype.set = function(e, t) {
3606
3606
  this.cache[e] = t;
3607
3607
  };
3608
- var ys = {
3608
+ var Qi = {
3609
3609
  create: function() {
3610
- return new vt();
3610
+ return new dt();
3611
3611
  }
3612
- }, Ke = {
3613
- variadic: ps,
3614
- monadic: gs
3615
- }, ae;
3612
+ }, Je = {
3613
+ variadic: Zi,
3614
+ monadic: Ji
3615
+ }, ie;
3616
3616
  (function(e) {
3617
3617
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3618
- })(ae || (ae = {}));
3619
- var Ge = (
3618
+ })(ie || (ie = {}));
3619
+ var Me = (
3620
3620
  /** @class */
3621
3621
  function(e) {
3622
- Z(t, e);
3622
+ X(t, e);
3623
3623
  function t(r, n, i) {
3624
3624
  var s = e.call(this, r) || this;
3625
3625
  return s.code = n, s.originalMessage = i, s;
@@ -3628,155 +3628,155 @@ var Ge = (
3628
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3629
3629
  }, t;
3630
3630
  }(Error)
3631
- ), _r = (
3631
+ ), Kt = (
3632
3632
  /** @class */
3633
3633
  function(e) {
3634
- Z(t, e);
3634
+ X(t, e);
3635
3635
  function t(r, n, i, s) {
3636
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, s) || this;
3636
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3637
3637
  }
3638
3638
  return t;
3639
- }(Ge)
3640
- ), vs = (
3639
+ }(Me)
3640
+ ), Yi = (
3641
3641
  /** @class */
3642
3642
  function(e) {
3643
- Z(t, e);
3643
+ X(t, e);
3644
3644
  function t(r, n, i) {
3645
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3645
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3646
3646
  }
3647
3647
  return t;
3648
- }(Ge)
3649
- ), _s = (
3648
+ }(Me)
3649
+ ), Ki = (
3650
3650
  /** @class */
3651
3651
  function(e) {
3652
- Z(t, e);
3652
+ X(t, e);
3653
3653
  function t(r, n) {
3654
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3654
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3655
3655
  }
3656
3656
  return t;
3657
- }(Ge)
3658
- ), M;
3657
+ }(Me)
3658
+ ), L;
3659
3659
  (function(e) {
3660
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3661
- })(M || (M = {}));
3662
- function Es(e) {
3661
+ })(L || (L = {}));
3662
+ function es(e) {
3663
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3664
3664
  var n = t[t.length - 1];
3665
- return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3665
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3666
3666
  }, []);
3667
3667
  }
3668
- function ws(e) {
3668
+ function ts(e) {
3669
3669
  return typeof e == "function";
3670
3670
  }
3671
- function Ie(e, t, r, n, i, s, o) {
3672
- if (e.length === 1 && mr(e[0]))
3671
+ function Pe(e, t, r, n, i, s, o) {
3672
+ if (e.length === 1 && zt(e[0]))
3673
3673
  return [
3674
3674
  {
3675
- type: M.literal,
3675
+ type: L.literal,
3676
3676
  value: e[0].value
3677
3677
  }
3678
3678
  ];
3679
3679
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3680
3680
  var h = u[l];
3681
- if (mr(h)) {
3681
+ if (zt(h)) {
3682
3682
  a.push({
3683
- type: M.literal,
3683
+ type: L.literal,
3684
3684
  value: h.value
3685
3685
  });
3686
3686
  continue;
3687
3687
  }
3688
- if (Fi(h)) {
3688
+ if (bi(h)) {
3689
3689
  typeof s == "number" && a.push({
3690
- type: M.literal,
3690
+ type: L.literal,
3691
3691
  value: r.getNumberFormat(t).format(s)
3692
3692
  });
3693
3693
  continue;
3694
3694
  }
3695
3695
  var c = h.value;
3696
3696
  if (!(i && c in i))
3697
- throw new _s(c, o);
3698
- var d = i[c];
3699
- if (Di(h)) {
3700
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3701
- type: typeof d == "string" ? M.literal : M.object,
3702
- value: d
3697
+ throw new Ki(c, o);
3698
+ var p = i[c];
3699
+ if (gi(h)) {
3700
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3701
+ type: typeof p == "string" ? L.literal : L.object,
3702
+ value: p
3703
3703
  });
3704
3704
  continue;
3705
3705
  }
3706
- if (Wr(h)) {
3707
- var v = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3706
+ if (Hr(h)) {
3707
+ var y = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3708
3708
  a.push({
3709
- type: M.literal,
3710
- value: r.getDateTimeFormat(t, v).format(d)
3709
+ type: L.literal,
3710
+ value: r.getDateTimeFormat(t, y).format(p)
3711
3711
  });
3712
3712
  continue;
3713
3713
  }
3714
- if (Zr(h)) {
3715
- var v = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3714
+ if (Br(h)) {
3715
+ var y = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3716
3716
  a.push({
3717
- type: M.literal,
3718
- value: r.getDateTimeFormat(t, v).format(d)
3717
+ type: L.literal,
3718
+ value: r.getDateTimeFormat(t, y).format(p)
3719
3719
  });
3720
3720
  continue;
3721
3721
  }
3722
- if (zr(h)) {
3723
- var v = typeof h.style == "string" ? n.number[h.style] : Yr(h.style) ? h.style.parsedOptions : void 0;
3724
- v && v.scale && (d = d * (v.scale || 1)), a.push({
3725
- type: M.literal,
3726
- value: r.getNumberFormat(t, v).format(d)
3722
+ if (Tr(h)) {
3723
+ var y = typeof h.style == "string" ? n.number[h.style] : Cr(h.style) ? h.style.parsedOptions : void 0;
3724
+ y && y.scale && (p = p * (y.scale || 1)), a.push({
3725
+ type: L.literal,
3726
+ value: r.getNumberFormat(t, y).format(p)
3727
3727
  });
3728
3728
  continue;
3729
3729
  }
3730
- if (Jr(h)) {
3731
- var b = h.children, g = h.value, y = i[g];
3732
- if (!ws(y))
3733
- throw new vs(g, "function", o);
3734
- var H = Ie(b, t, r, n, i, s), L = y(H.map(function(F) {
3735
- return F.value;
3730
+ if (Or(h)) {
3731
+ var g = h.children, d = h.value, b = i[d];
3732
+ if (!ts(b))
3733
+ throw new Yi(d, "function", o);
3734
+ var x = Pe(g, t, r, n, i, s), I = b(x.map(function(N) {
3735
+ return N.value;
3736
3736
  }));
3737
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(F) {
3737
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
3738
3738
  return {
3739
- type: typeof F == "string" ? M.literal : M.object,
3740
- value: F
3739
+ type: typeof N == "string" ? L.literal : L.object,
3740
+ value: N
3741
3741
  };
3742
3742
  }));
3743
3743
  }
3744
- if (Qr(h)) {
3745
- var R = h.options[d] || h.options.other;
3746
- if (!R)
3747
- throw new _r(h.value, d, Object.keys(h.options), o);
3748
- a.push.apply(a, Ie(R.value, t, r, n, i));
3744
+ if (Ar(h)) {
3745
+ var O = h.options[p] || h.options.other;
3746
+ if (!O)
3747
+ throw new Kt(h.value, p, Object.keys(h.options), o);
3748
+ a.push.apply(a, Pe(O.value, t, r, n, i));
3749
3749
  continue;
3750
3750
  }
3751
- if (qr(h)) {
3752
- var R = h.options["=".concat(d)];
3753
- if (!R) {
3751
+ if (Pr(h)) {
3752
+ var O = h.options["=".concat(p)];
3753
+ if (!O) {
3754
3754
  if (!Intl.PluralRules)
3755
- throw new Ge(`Intl.PluralRules is not available in this environment.
3755
+ throw new Me(`Intl.PluralRules is not available in this environment.
3756
3756
  Try polyfilling it using "@formatjs/intl-pluralrules"
3757
- `, ae.MISSING_INTL_API, o);
3758
- var D = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3759
- R = h.options[D] || h.options.other;
3757
+ `, ie.MISSING_INTL_API, o);
3758
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3759
+ O = h.options[D] || h.options.other;
3760
3760
  }
3761
- if (!R)
3762
- throw new _r(h.value, d, Object.keys(h.options), o);
3763
- a.push.apply(a, Ie(R.value, t, r, n, i, d - (h.offset || 0)));
3761
+ if (!O)
3762
+ throw new Kt(h.value, p, Object.keys(h.options), o);
3763
+ a.push.apply(a, Pe(O.value, t, r, n, i, p - (h.offset || 0)));
3764
3764
  continue;
3765
3765
  }
3766
3766
  }
3767
- return Es(a);
3767
+ return es(a);
3768
3768
  }
3769
- function Ss(e, t) {
3770
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = x(x({}, e[n]), t[n] || {}), r;
3769
+ function rs(e, t) {
3770
+ return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
+ return r[n] = w(w({}, e[n]), t[n] || {}), r;
3772
3772
  }, {})) : e;
3773
3773
  }
3774
- function xs(e, t) {
3774
+ function ns(e, t) {
3775
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = Ss(e[n], t[n]), r;
3777
- }, x({}, e)) : e;
3776
+ return r[n] = rs(e[n], t[n]), r;
3777
+ }, w({}, e)) : e;
3778
3778
  }
3779
- function et(e) {
3779
+ function qe(e) {
3780
3780
  return {
3781
3781
  create: function() {
3782
3782
  return {
@@ -3790,39 +3790,39 @@ function et(e) {
3790
3790
  }
3791
3791
  };
3792
3792
  }
3793
- function Ts(e) {
3793
+ function is(e) {
3794
3794
  return e === void 0 && (e = {
3795
3795
  number: {},
3796
3796
  dateTime: {},
3797
3797
  pluralRules: {}
3798
3798
  }), {
3799
- getNumberFormat: Ye(function() {
3799
+ getNumberFormat: Ze(function() {
3800
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3801
  r[n] = arguments[n];
3802
- return new ((t = Intl.NumberFormat).bind.apply(t, ie([void 0], r, !1)))();
3802
+ return new ((t = Intl.NumberFormat).bind.apply(t, te([void 0], r, !1)))();
3803
3803
  }, {
3804
- cache: et(e.number),
3805
- strategy: Ke.variadic
3804
+ cache: qe(e.number),
3805
+ strategy: Je.variadic
3806
3806
  }),
3807
- getDateTimeFormat: Ye(function() {
3807
+ getDateTimeFormat: Ze(function() {
3808
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3809
  r[n] = arguments[n];
3810
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ie([void 0], r, !1)))();
3810
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, te([void 0], r, !1)))();
3811
3811
  }, {
3812
- cache: et(e.dateTime),
3813
- strategy: Ke.variadic
3812
+ cache: qe(e.dateTime),
3813
+ strategy: Je.variadic
3814
3814
  }),
3815
- getPluralRules: Ye(function() {
3815
+ getPluralRules: Ze(function() {
3816
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3817
  r[n] = arguments[n];
3818
- return new ((t = Intl.PluralRules).bind.apply(t, ie([void 0], r, !1)))();
3818
+ return new ((t = Intl.PluralRules).bind.apply(t, te([void 0], r, !1)))();
3819
3819
  }, {
3820
- cache: et(e.pluralRules),
3821
- strategy: Ke.variadic
3820
+ cache: qe(e.pluralRules),
3821
+ strategy: Je.variadic
3822
3822
  })
3823
3823
  };
3824
3824
  }
3825
- var Hs = (
3825
+ var ss = (
3826
3826
  /** @class */
3827
3827
  function() {
3828
3828
  function e(t, r, n, i) {
@@ -3835,12 +3835,12 @@ var Hs = (
3835
3835
  var u = s.formatToParts(l);
3836
3836
  if (u.length === 1)
3837
3837
  return u[0].value;
3838
- var h = u.reduce(function(c, d) {
3839
- return !c.length || d.type !== M.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3838
+ var h = u.reduce(function(c, p) {
3839
+ return !c.length || p.type !== L.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3840
3840
  }, []);
3841
3841
  return h.length <= 1 ? h[0] || "" : h;
3842
3842
  }, this.formatToParts = function(l) {
3843
- return Ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3843
+ return Pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3844
3844
  }, this.resolvedOptions = function() {
3845
3845
  var l;
3846
3846
  return {
@@ -3853,13 +3853,13 @@ var Hs = (
3853
3853
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3854
3854
  var o = i || {};
3855
3855
  o.formatters;
3856
- var a = oi(o, ["formatters"]);
3857
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3856
+ var a = Un(o, ["formatters"]);
3857
+ this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3858
3858
  } else
3859
3859
  this.ast = t;
3860
3860
  if (!Array.isArray(this.ast))
3861
3861
  throw new TypeError("A message must be provided as a String or AST.");
3862
- this.formats = xs(e.formats, n), this.formatters = i && i.formatters || Ts(this.formatterCache);
3862
+ this.formats = ns(e.formats, n), this.formatters = i && i.formatters || is(this.formatterCache);
3863
3863
  }
3864
3864
  return Object.defineProperty(e, "defaultLocale", {
3865
3865
  get: function() {
@@ -3872,7 +3872,7 @@ var Hs = (
3872
3872
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3873
3873
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3874
3874
  }
3875
- }, e.__parse = cs, e.formats = {
3875
+ }, e.__parse = Xi, e.formats = {
3876
3876
  number: {
3877
3877
  integer: {
3878
3878
  maximumFractionDigits: 0
@@ -3933,7 +3933,7 @@ var Hs = (
3933
3933
  }, e;
3934
3934
  }()
3935
3935
  );
3936
- function Bs(e, t) {
3936
+ function os(e, t) {
3937
3937
  if (t == null)
3938
3938
  return;
3939
3939
  if (t in e)
@@ -3954,92 +3954,92 @@ function Bs(e, t) {
3954
3954
  n = void 0;
3955
3955
  return n;
3956
3956
  }
3957
- const Q = {}, Ps = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), ln = (e, t) => {
3957
+ const W = {}, as = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), kr = (e, t) => {
3958
3958
  if (t == null)
3959
3959
  return;
3960
- if (t in Q && e in Q[t])
3961
- return Q[t][e];
3962
- const r = ke(t);
3960
+ if (t in W && e in W[t])
3961
+ return W[t][e];
3962
+ const r = De(t);
3963
3963
  for (let n = 0; n < r.length; n++) {
3964
- const i = r[n], s = Os(i, e);
3964
+ const i = r[n], s = ls(i, e);
3965
3965
  if (s)
3966
- return Ps(e, t, s);
3966
+ return as(e, t, s);
3967
3967
  }
3968
3968
  };
3969
- let _t;
3970
- const he = Ue({});
3971
- function As(e) {
3972
- return _t[e] || null;
3969
+ let gt;
3970
+ const ae = Ne({});
3971
+ function us(e) {
3972
+ return gt[e] || null;
3973
3973
  }
3974
- function hn(e) {
3975
- return e in _t;
3974
+ function jr(e) {
3975
+ return e in gt;
3976
3976
  }
3977
- function Os(e, t) {
3978
- if (!hn(e))
3977
+ function ls(e, t) {
3978
+ if (!jr(e))
3979
3979
  return null;
3980
- const r = As(e);
3981
- return Bs(r, t);
3980
+ const r = us(e);
3981
+ return os(r, t);
3982
3982
  }
3983
- function Cs(e) {
3983
+ function hs(e) {
3984
3984
  if (e == null)
3985
3985
  return;
3986
- const t = ke(e);
3986
+ const t = De(e);
3987
3987
  for (let r = 0; r < t.length; r++) {
3988
3988
  const n = t[r];
3989
- if (hn(n))
3989
+ if (jr(n))
3990
3990
  return n;
3991
3991
  }
3992
3992
  }
3993
- function fn(e, ...t) {
3994
- delete Q[e], he.update((r) => (r[e] = Mi.all([r[e] || {}, ...t]), r));
3993
+ function $r(e, ...t) {
3994
+ delete W[e], ae.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3995
3995
  }
3996
- le(
3997
- [he],
3996
+ oe(
3997
+ [ae],
3998
3998
  ([e]) => Object.keys(e)
3999
3999
  );
4000
- he.subscribe((e) => _t = e);
4001
- const Le = {};
4002
- function Rs(e, t) {
4003
- Le[e].delete(t), Le[e].size === 0 && delete Le[e];
4000
+ ae.subscribe((e) => gt = e);
4001
+ const Oe = {};
4002
+ function fs(e, t) {
4003
+ Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
4004
4004
  }
4005
- function cn(e) {
4006
- return Le[e];
4005
+ function Vr(e) {
4006
+ return Oe[e];
4007
4007
  }
4008
- function Is(e) {
4009
- return ke(e).map((t) => {
4010
- const r = cn(t);
4008
+ function cs(e) {
4009
+ return De(e).map((t) => {
4010
+ const r = Vr(t);
4011
4011
  return [t, r ? [...r] : []];
4012
4012
  }).filter(([, t]) => t.length > 0);
4013
4013
  }
4014
- function pt(e) {
4015
- return e == null ? !1 : ke(e).some(
4014
+ function ft(e) {
4015
+ return e == null ? !1 : De(e).some(
4016
4016
  (t) => {
4017
4017
  var r;
4018
- return (r = cn(t)) == null ? void 0 : r.size;
4018
+ return (r = Vr(t)) == null ? void 0 : r.size;
4019
4019
  }
4020
4020
  );
4021
4021
  }
4022
- function Ls(e, t) {
4022
+ function ms(e, t) {
4023
4023
  return Promise.all(
4024
- t.map((n) => (Rs(e, n), n().then((i) => i.default || i)))
4025
- ).then((n) => fn(e, ...n));
4026
- }
4027
- const de = {};
4028
- function mn(e) {
4029
- if (!pt(e))
4030
- return e in de ? de[e] : Promise.resolve();
4031
- const t = Is(e);
4032
- return de[e] = Promise.all(
4024
+ t.map((n) => (fs(e, n), n().then((i) => i.default || i)))
4025
+ ).then((n) => $r(e, ...n));
4026
+ }
4027
+ const fe = {};
4028
+ function Xr(e) {
4029
+ if (!ft(e))
4030
+ return e in fe ? fe[e] : Promise.resolve();
4031
+ const t = cs(e);
4032
+ return fe[e] = Promise.all(
4033
4033
  t.map(
4034
- ([r, n]) => Ls(r, n)
4034
+ ([r, n]) => ms(r, n)
4035
4035
  )
4036
4036
  ).then(() => {
4037
- if (pt(e))
4038
- return mn(e);
4039
- delete de[e];
4040
- }), de[e];
4037
+ if (ft(e))
4038
+ return Xr(e);
4039
+ delete fe[e];
4040
+ }), fe[e];
4041
4041
  }
4042
- const Ns = {
4042
+ const ps = {
4043
4043
  number: {
4044
4044
  scientific: { notation: "scientific" },
4045
4045
  engineering: { notation: "engineering" },
@@ -4068,150 +4068,150 @@ const Ns = {
4068
4068
  timeZoneName: "short"
4069
4069
  }
4070
4070
  }
4071
- }, Ms = {
4071
+ }, ds = {
4072
4072
  fallbackLocale: null,
4073
4073
  loadingDelay: 200,
4074
- formats: Ns,
4074
+ formats: ps,
4075
4075
  warnOnMissingMessages: !0,
4076
4076
  handleMissingMessage: void 0,
4077
4077
  ignoreTag: !0
4078
- }, Ds = Ms;
4079
- function ue() {
4080
- return Ds;
4078
+ }, gs = ds;
4079
+ function se() {
4080
+ return gs;
4081
4081
  }
4082
- const tt = Ue(!1);
4083
- var Fs = Object.defineProperty, Us = Object.defineProperties, Gs = Object.getOwnPropertyDescriptors, Er = Object.getOwnPropertySymbols, ks = Object.prototype.hasOwnProperty, js = Object.prototype.propertyIsEnumerable, wr = (e, t, r) => t in e ? Fs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $s = (e, t) => {
4082
+ const Qe = Ne(!1);
4083
+ var bs = Object.defineProperty, ys = Object.defineProperties, vs = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, _s = Object.prototype.hasOwnProperty, Es = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ws = (e, t) => {
4084
4084
  for (var r in t || (t = {}))
4085
- ks.call(t, r) && wr(e, r, t[r]);
4086
- if (Er)
4087
- for (var r of Er(t))
4088
- js.call(t, r) && wr(e, r, t[r]);
4085
+ _s.call(t, r) && tr(e, r, t[r]);
4086
+ if (er)
4087
+ for (var r of er(t))
4088
+ Es.call(t, r) && tr(e, r, t[r]);
4089
4089
  return e;
4090
- }, Vs = (e, t) => Us(e, Gs(t));
4091
- let gt;
4092
- const Me = Ue(null);
4093
- function Sr(e) {
4090
+ }, xs = (e, t) => ys(e, vs(t));
4091
+ let ct;
4092
+ const Ie = Ne(null);
4093
+ function rr(e) {
4094
4094
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4095
4095
  }
4096
- function ke(e, t = ue().fallbackLocale) {
4097
- const r = Sr(e);
4098
- return t ? [.../* @__PURE__ */ new Set([...r, ...Sr(t)])] : r;
4096
+ function De(e, t = se().fallbackLocale) {
4097
+ const r = rr(e);
4098
+ return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
4099
4099
  }
4100
- function Y() {
4101
- return gt != null ? gt : void 0;
4100
+ function J() {
4101
+ return ct != null ? ct : void 0;
4102
4102
  }
4103
- Me.subscribe((e) => {
4104
- gt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4103
+ Ie.subscribe((e) => {
4104
+ ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4105
4105
  });
4106
- const Xs = (e) => {
4107
- if (e && Cs(e) && pt(e)) {
4108
- const { loadingDelay: t } = ue();
4106
+ const Ss = (e) => {
4107
+ if (e && hs(e) && ft(e)) {
4108
+ const { loadingDelay: t } = se();
4109
4109
  let r;
4110
- return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
4111
- () => tt.set(!0),
4110
+ return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4111
+ () => Qe.set(!0),
4112
4112
  t
4113
- ) : tt.set(!0), mn(e).then(() => {
4114
- Me.set(e);
4113
+ ) : Qe.set(!0), Xr(e).then(() => {
4114
+ Ie.set(e);
4115
4115
  }).finally(() => {
4116
- clearTimeout(r), tt.set(!1);
4116
+ clearTimeout(r), Qe.set(!1);
4117
4117
  });
4118
4118
  }
4119
- return Me.set(e);
4120
- }, q = Vs($s({}, Me), {
4121
- set: Xs
4122
- }), je = (e) => {
4119
+ return Ie.set(e);
4120
+ }, Z = xs(ws({}, Ie), {
4121
+ set: Ss
4122
+ }), Fe = (e) => {
4123
4123
  const t = /* @__PURE__ */ Object.create(null);
4124
4124
  return (n) => {
4125
4125
  const i = JSON.stringify(n);
4126
4126
  return i in t ? t[i] : t[i] = e(n);
4127
4127
  };
4128
4128
  };
4129
- var zs = Object.defineProperty, De = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, xr = (e, t, r) => t in e ? zs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
4129
+ var Ts = Object.defineProperty, Re = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
4130
4130
  for (var r in t || (t = {}))
4131
- dn.call(t, r) && xr(e, r, t[r]);
4132
- if (De)
4133
- for (var r of De(t))
4134
- pn.call(t, r) && xr(e, r, t[r]);
4131
+ zr.call(t, r) && nr(e, r, t[r]);
4132
+ if (Re)
4133
+ for (var r of Re(t))
4134
+ Wr.call(t, r) && nr(e, r, t[r]);
4135
4135
  return e;
4136
- }, fe = (e, t) => {
4136
+ }, ue = (e, t) => {
4137
4137
  var r = {};
4138
4138
  for (var n in e)
4139
- dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
- if (e != null && De)
4141
- for (var n of De(e))
4142
- t.indexOf(n) < 0 && pn.call(e, n) && (r[n] = e[n]);
4139
+ zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4140
+ if (e != null && Re)
4141
+ for (var n of Re(e))
4142
+ t.indexOf(n) < 0 && Wr.call(e, n) && (r[n] = e[n]);
4143
4143
  return r;
4144
4144
  };
4145
- const ye = (e, t) => {
4146
- const { formats: r } = ue();
4145
+ const de = (e, t) => {
4146
+ const { formats: r } = se();
4147
4147
  if (e in r && t in r[e])
4148
4148
  return r[e][t];
4149
4149
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4150
- }, Ws = je(
4150
+ }, Hs = Fe(
4151
4151
  (e) => {
4152
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4152
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4153
4153
  if (r == null)
4154
4154
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4155
- return n && (i = ye("number", n)), new Intl.NumberFormat(r, i);
4155
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4156
4156
  }
4157
- ), Zs = je(
4157
+ ), Bs = Fe(
4158
4158
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4159
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4160
4160
  if (r == null)
4161
4161
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4162
- return n ? i = ye("date", n) : Object.keys(i).length === 0 && (i = ye("date", "short")), new Intl.DateTimeFormat(r, i);
4162
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4163
4163
  }
4164
- ), Qs = je(
4164
+ ), As = Fe(
4165
4165
  (e) => {
4166
- var t = e, { locale: r, format: n } = t, i = fe(t, ["locale", "format"]);
4166
+ var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
4167
4167
  if (r == null)
4168
4168
  throw new Error(
4169
4169
  '[svelte-i18n] A "locale" must be set to format time values'
4170
4170
  );
4171
- return n ? i = ye("time", n) : Object.keys(i).length === 0 && (i = ye("time", "short")), new Intl.DateTimeFormat(r, i);
4171
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4172
4172
  }
4173
- ), qs = (e = {}) => {
4173
+ ), Ps = (e = {}) => {
4174
4174
  var t = e, {
4175
- locale: r = Y()
4176
- } = t, n = fe(t, [
4175
+ locale: r = J()
4176
+ } = t, n = ue(t, [
4177
4177
  "locale"
4178
4178
  ]);
4179
- return Ws(Et({ locale: r }, n));
4180
- }, Js = (e = {}) => {
4179
+ return Hs(bt({ locale: r }, n));
4180
+ }, Os = (e = {}) => {
4181
4181
  var t = e, {
4182
- locale: r = Y()
4183
- } = t, n = fe(t, [
4182
+ locale: r = J()
4183
+ } = t, n = ue(t, [
4184
4184
  "locale"
4185
4185
  ]);
4186
- return Zs(Et({ locale: r }, n));
4187
- }, Ys = (e = {}) => {
4186
+ return Bs(bt({ locale: r }, n));
4187
+ }, Cs = (e = {}) => {
4188
4188
  var t = e, {
4189
- locale: r = Y()
4190
- } = t, n = fe(t, [
4189
+ locale: r = J()
4190
+ } = t, n = ue(t, [
4191
4191
  "locale"
4192
4192
  ]);
4193
- return Qs(Et({ locale: r }, n));
4194
- }, Ks = je(
4193
+ return As(bt({ locale: r }, n));
4194
+ }, Is = Fe(
4195
4195
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4196
- (e, t = Y()) => new Hs(e, t, ue().formats, {
4197
- ignoreTag: ue().ignoreTag
4196
+ (e, t = J()) => new ss(e, t, se().formats, {
4197
+ ignoreTag: se().ignoreTag
4198
4198
  })
4199
- ), eo = (e, t = {}) => {
4199
+ ), Rs = (e, t = {}) => {
4200
4200
  var r, n, i, s;
4201
4201
  let o = t;
4202
4202
  typeof e == "object" && (o = e, e = o.id);
4203
4203
  const {
4204
4204
  values: a,
4205
- locale: l = Y(),
4205
+ locale: l = J(),
4206
4206
  default: u
4207
4207
  } = o;
4208
4208
  if (l == null)
4209
4209
  throw new Error(
4210
4210
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4211
4211
  );
4212
- let h = ln(e, l);
4212
+ let h = kr(e, l);
4213
4213
  if (!h)
4214
- h = (s = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4214
+ h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4215
4215
  else if (typeof h != "string")
4216
4216
  return console.warn(
4217
4217
  `[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.`
@@ -4220,33 +4220,33 @@ const ye = (e, t) => {
4220
4220
  return h;
4221
4221
  let c = h;
4222
4222
  try {
4223
- c = Ks(h, l).format(a);
4224
- } catch (d) {
4225
- d instanceof Error && console.warn(
4223
+ c = Is(h, l).format(a);
4224
+ } catch (p) {
4225
+ p instanceof Error && console.warn(
4226
4226
  `[svelte-i18n] Message "${e}" has syntax error:`,
4227
- d.message
4227
+ p.message
4228
4228
  );
4229
4229
  }
4230
4230
  return c;
4231
- }, to = (e, t) => Ys(t).format(e), ro = (e, t) => Js(t).format(e), no = (e, t) => qs(t).format(e), io = (e, t = Y()) => ln(e, t), so = le([q, he], () => eo);
4232
- le([q], () => to);
4233
- le([q], () => ro);
4234
- le([q], () => no);
4235
- le([q, he], () => io);
4236
- window.emWidgets = { topic: vi };
4237
- const Tr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4238
- function oo({ withLocale: e, translations: t }) {
4239
- q.subscribe((r) => {
4240
- r == null && (he.set(t), q.set(e));
4231
+ }, Ls = (e, t) => Cs(t).format(e), Ns = (e, t) => Os(t).format(e), Ms = (e, t) => Ps(t).format(e), Ds = (e, t = J()) => kr(e, t), Fs = oe([Z, ae], () => Rs);
4232
+ oe([Z], () => Ls);
4233
+ oe([Z], () => Ns);
4234
+ oe([Z], () => Ms);
4235
+ oe([Z, ae], () => Ds);
4236
+ window.emWidgets = { topic: Yn };
4237
+ const ir = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4238
+ function Us({ withLocale: e, translations: t }) {
4239
+ Z.subscribe((r) => {
4240
+ r == null && (ae.set(t), Z.set(e));
4241
4241
  });
4242
4242
  }
4243
- function Hr(e, t) {
4244
- fn(e, t);
4243
+ function sr(e, t) {
4244
+ $r(e, t);
4245
4245
  }
4246
- function ao(e) {
4247
- q.set(e);
4246
+ function Gs(e) {
4247
+ Z.set(e);
4248
4248
  }
4249
- const Br = {
4249
+ const or = {
4250
4250
  en: {
4251
4251
  goToLoginButton: "Go To Login",
4252
4252
  error: "We encountered an issue. Please go to Login to receive your SMS code."
@@ -4300,8 +4300,8 @@ if (typeof window != "undefined") {
4300
4300
  }
4301
4301
  };
4302
4302
  };
4303
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1Nd-oJqLrhol.js").then(({ default: t }) => {
4304
- !customElements.get("general-player-register-form-step1-nd") && customElements.define("general-player-register-form-step1-nd", t.element);
4303
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep1-L3BD_D0v.js").then(({ default: t }) => {
4304
+ !customElements.get("general-player-register-form-step1") && customElements.define("general-player-register-form-step1", t.element);
4305
4305
  });
4306
4306
  }
4307
4307
  if (typeof window != "undefined") {
@@ -4316,8 +4316,8 @@ if (typeof window != "undefined") {
4316
4316
  }
4317
4317
  };
4318
4318
  };
4319
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2Nd-DYrkiDz_.js").then(({ default: t }) => {
4320
- !customElements.get("general-player-register-form-step2-nd") && customElements.define("general-player-register-form-step2-nd", t.element);
4319
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep2-DGvrorth.js").then(({ default: t }) => {
4320
+ !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
4321
4321
  });
4322
4322
  }
4323
4323
  if (typeof window != "undefined") {
@@ -4332,8 +4332,8 @@ if (typeof window != "undefined") {
4332
4332
  }
4333
4333
  };
4334
4334
  };
4335
- customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3Nd-Bp21gcUd.js").then(({ default: t }) => {
4336
- !customElements.get("general-player-register-form-step3-nd") && customElements.define("general-player-register-form-step3-nd", t.element);
4335
+ customElements.define = e(customElements.define), import("./GeneralPlayerRegisterFormStep3-V9IQ4Eyt.js").then(({ default: t }) => {
4336
+ !customElements.get("general-player-register-form-step3") && customElements.define("general-player-register-form-step3", t.element);
4337
4337
  });
4338
4338
  }
4339
4339
  if (typeof window != "undefined") {
@@ -4348,114 +4348,114 @@ if (typeof window != "undefined") {
4348
4348
  }
4349
4349
  };
4350
4350
  };
4351
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CGhEGON-.js").then(({ default: t }) => {
4351
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-Ck5cTqVN.js").then(({ default: t }) => {
4352
4352
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4353
4353
  });
4354
4354
  }
4355
- function uo(e) {
4356
- Fn(e, "svelte-1gmd2uc", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{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, 50px);color:var(--emfe-w-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}");
4355
+ function ks(e) {
4356
+ bn(e, "svelte-1gmd2uc", ".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.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, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{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, 50px);color:var(--emfe-w-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}");
4357
4357
  }
4358
- function lo(e) {
4358
+ function js(e) {
4359
4359
  let t, r, n, i, s, o, a, l = (
4360
4360
  /*showRegisterStepOne*/
4361
- (e[18] || /*showRegisterStepTwo*/
4362
- e[19] || /*showRegisterStepThree*/
4363
- e[20]) && Pr(e)
4361
+ (e[17] || /*showRegisterStepTwo*/
4362
+ e[18] || /*showRegisterStepThree*/
4363
+ e[19]) && ar(e)
4364
4364
  ), u = (
4365
4365
  /*showRegisterStepOne*/
4366
- e[18] && Ar(e)
4366
+ e[17] && ur(e)
4367
4367
  ), h = (
4368
4368
  /*showRegisterStepTwo*/
4369
- e[19] && Or(e)
4369
+ e[18] && lr(e)
4370
4370
  ), c = (
4371
4371
  /*showRegisterStepThree*/
4372
- e[20] && Cr(e)
4372
+ e[19] && hr(e)
4373
4373
  );
4374
- function d(y, H) {
4374
+ function p(b, x) {
4375
4375
  if (
4376
4376
  /*smsverification*/
4377
- y[8] && /*showSmsVerification*/
4378
- y[21]
4379
- ) return fo;
4377
+ b[7] && /*showSmsVerification*/
4378
+ b[20]
4379
+ ) return Vs;
4380
4380
  if (
4381
4381
  /*smsSendApiFailed*/
4382
- y[31]
4383
- ) return ho;
4382
+ b[30]
4383
+ ) return $s;
4384
4384
  }
4385
- let v = d(e), b = v && v(e), g = (
4385
+ let y = p(e), g = y && y(e), d = (
4386
4386
  /*showConfirmation*/
4387
- e[22] && Rr(e)
4387
+ e[21] && fr(e)
4388
4388
  );
4389
4389
  return {
4390
4390
  c() {
4391
- t = A("div"), r = A("div"), l && l.c(), n = V(), u && u.c(), i = V(), h && h.c(), s = V(), c && c.c(), o = V(), b && b.c(), a = V(), g && g.c(), B(r, "class", "RegisterFormContainer " + /*isMobile*/
4392
- (e[35] ? "RegisterFormContainerMobile" : "")), B(t, "class", "RegisterFormWrapper");
4391
+ t = B("div"), r = B("div"), l && l.c(), n = G(), u && u.c(), i = G(), h && h.c(), s = G(), c && c.c(), o = G(), g && g.c(), a = G(), d && d.c(), T(r, "class", "RegisterFormContainer " + /*isMobile*/
4392
+ (e[34] ? "RegisterFormContainerMobile" : "")), T(t, "class", "RegisterFormWrapper");
4393
4393
  },
4394
- m(y, H) {
4395
- j(y, t, H), S(t, r), l && l.m(r, null), S(r, n), u && u.m(r, null), S(r, i), h && h.m(r, null), S(r, s), c && c.m(r, null), S(r, o), b && b.m(r, null), S(r, a), g && g.m(r, null);
4394
+ m(b, x) {
4395
+ U(b, t, x), E(t, r), l && l.m(r, null), E(r, n), u && u.m(r, null), E(r, i), h && h.m(r, null), E(r, s), c && c.m(r, null), E(r, o), g && g.m(r, null), E(r, a), d && d.m(r, null);
4396
4396
  },
4397
- p(y, H) {
4397
+ p(b, x) {
4398
4398
  /*showRegisterStepOne*/
4399
- y[18] || /*showRegisterStepTwo*/
4400
- y[19] || /*showRegisterStepThree*/
4401
- y[20] ? l ? l.p(y, H) : (l = Pr(y), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
4402
- y[18] ? u ? u.p(y, H) : (u = Ar(y), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
4403
- y[19] ? h ? h.p(y, H) : (h = Or(y), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
4404
- y[20] ? c ? c.p(y, H) : (c = Cr(y), c.c(), c.m(r, o)) : c && (c.d(1), c = null), v === (v = d(y)) && b ? b.p(y, H) : (b && b.d(1), b = v && v(y), b && (b.c(), b.m(r, a))), /*showConfirmation*/
4405
- y[22] ? g ? g.p(y, H) : (g = Rr(y), g.c(), g.m(r, null)) : g && (g.d(1), g = null);
4399
+ b[17] || /*showRegisterStepTwo*/
4400
+ b[18] || /*showRegisterStepThree*/
4401
+ b[19] ? l ? l.p(b, x) : (l = ar(b), l.c(), l.m(r, n)) : l && (l.d(1), l = null), /*showRegisterStepOne*/
4402
+ b[17] ? u ? u.p(b, x) : (u = ur(b), u.c(), u.m(r, i)) : u && (u.d(1), u = null), /*showRegisterStepTwo*/
4403
+ b[18] ? h ? h.p(b, x) : (h = lr(b), h.c(), h.m(r, s)) : h && (h.d(1), h = null), /*showRegisterStepThree*/
4404
+ b[19] ? c ? c.p(b, x) : (c = hr(b), c.c(), c.m(r, o)) : c && (c.d(1), c = null), y === (y = p(b)) && g ? g.p(b, x) : (g && g.d(1), g = y && y(b), g && (g.c(), g.m(r, a))), /*showConfirmation*/
4405
+ b[21] ? d ? d.p(b, x) : (d = fr(b), d.c(), d.m(r, null)) : d && (d.d(1), d = null);
4406
4406
  },
4407
- d(y) {
4408
- y && U(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), b && b.d(), g && g.d();
4407
+ d(b) {
4408
+ b && M(t), l && l.d(), u && u.d(), h && h.d(), c && c.d(), g && g.d(), d && d.d();
4409
4409
  }
4410
4410
  };
4411
4411
  }
4412
- function Pr(e) {
4412
+ function ar(e) {
4413
4413
  let t, r, n, i, s, o, a, l, u;
4414
4414
  return {
4415
4415
  c() {
4416
- t = A("div"), r = A("div"), i = V(), s = A("div"), a = V(), l = A("div"), B(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4416
+ t = B("div"), r = B("div"), i = G(), s = B("div"), a = G(), l = B("div"), T(r, "class", n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4417
+ (e[17] || !/*showRegisterStepOne*/
4418
+ e[17] && /*showRegisterStepTwo*/
4419
+ e[18] || !/*showRegisterStepOne*/
4420
+ e[17] && !/*showRegisterStepTwo*/
4421
+ e[18] && /*showRegisterStepThree*/
4422
+ e[19] ? "RegisterStepDashColor" : "")), T(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4417
4423
  (e[18] || !/*showRegisterStepOne*/
4418
- e[18] && /*showRegisterStepTwo*/
4419
- e[19] || !/*showRegisterStepOne*/
4420
- e[18] && !/*showRegisterStepTwo*/
4421
- e[19] && /*showRegisterStepThree*/
4422
- e[20] ? "RegisterStepDashColor" : "")), B(s, "class", o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4423
- (e[19] || !/*showRegisterStepOne*/
4424
- e[18] && !/*showRegisterStepTwo*/
4425
- e[19] && /*showRegisterStepThree*/
4426
- e[20] ? "RegisterStepDashColor" : "")), B(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4427
- (e[20] ? "RegisterStepDashColor" : "")), B(t, "class", "RegisterSteps");
4424
+ e[17] && !/*showRegisterStepTwo*/
4425
+ e[18] && /*showRegisterStepThree*/
4426
+ e[19] ? "RegisterStepDashColor" : "")), T(l, "class", u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4427
+ (e[19] ? "RegisterStepDashColor" : "")), T(t, "class", "RegisterSteps");
4428
4428
  },
4429
4429
  m(h, c) {
4430
- j(h, t, c), S(t, r), S(t, i), S(t, s), S(t, a), S(t, l), e[41](t);
4430
+ U(h, t, c), E(t, r), E(t, i), E(t, s), E(t, a), E(t, l), e[40](t);
4431
4431
  },
4432
4432
  p(h, c) {
4433
4433
  c[0] & /*showRegisterStepOne, showRegisterStepTwo, showRegisterStepThree*/
4434
- 1835008 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4434
+ 917504 && n !== (n = "RegisterFirstStepDash " + /*showRegisterStepOne*/
4435
+ (h[17] || !/*showRegisterStepOne*/
4436
+ h[17] && /*showRegisterStepTwo*/
4437
+ h[18] || !/*showRegisterStepOne*/
4438
+ h[17] && !/*showRegisterStepTwo*/
4439
+ h[18] && /*showRegisterStepThree*/
4440
+ h[19] ? "RegisterStepDashColor" : "")) && T(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4441
+ 917504 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4435
4442
  (h[18] || !/*showRegisterStepOne*/
4436
- h[18] && /*showRegisterStepTwo*/
4437
- h[19] || !/*showRegisterStepOne*/
4438
- h[18] && !/*showRegisterStepTwo*/
4439
- h[19] && /*showRegisterStepThree*/
4440
- h[20] ? "RegisterStepDashColor" : "")) && B(r, "class", n), c[0] & /*showRegisterStepTwo, showRegisterStepOne, showRegisterStepThree*/
4441
- 1835008 && o !== (o = "RegisterSecondStepDash " + /*showRegisterStepTwo*/
4442
- (h[19] || !/*showRegisterStepOne*/
4443
- h[18] && !/*showRegisterStepTwo*/
4444
- h[19] && /*showRegisterStepThree*/
4445
- h[20] ? "RegisterStepDashColor" : "")) && B(s, "class", o), c[0] & /*showRegisterStepThree*/
4446
- 1048576 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4447
- (h[20] ? "RegisterStepDashColor" : "")) && B(l, "class", u);
4443
+ h[17] && !/*showRegisterStepTwo*/
4444
+ h[18] && /*showRegisterStepThree*/
4445
+ h[19] ? "RegisterStepDashColor" : "")) && T(s, "class", o), c[0] & /*showRegisterStepThree*/
4446
+ 524288 && u !== (u = "RegisterThirdStepDash " + /*showRegisterStepThree*/
4447
+ (h[19] ? "RegisterStepDashColor" : "")) && T(l, "class", u);
4448
4448
  },
4449
4449
  d(h) {
4450
- h && U(t), e[41](null);
4450
+ h && M(t), e[40](null);
4451
4451
  }
4452
4452
  };
4453
4453
  }
4454
- function Ar(e) {
4454
+ function ur(e) {
4455
4455
  let t, r;
4456
4456
  return {
4457
4457
  c() {
4458
- t = A("div"), r = A("general-player-register-form-step1-nd"), m(
4458
+ t = B("div"), r = B("general-player-register-form-step1"), m(
4459
4459
  r,
4460
4460
  "lang",
4461
4461
  /*lang*/
@@ -4470,45 +4470,40 @@ function Ar(e) {
4470
4470
  "defaultoptions",
4471
4471
  /*defaultoptions*/
4472
4472
  e[6]
4473
- ), m(
4474
- r,
4475
- "dummydata",
4476
- /*dummydata*/
4477
- e[7]
4478
4473
  ), m(
4479
4474
  r,
4480
4475
  "custominputtextswitch",
4481
4476
  /*custominputtextswitch*/
4482
- e[14]
4477
+ e[13]
4483
4478
  ), m(
4484
4479
  r,
4485
4480
  "simplepasswordvalidation",
4486
4481
  /*simplepasswordvalidation*/
4487
- e[9]
4482
+ e[8]
4488
4483
  ), m(
4489
4484
  r,
4490
4485
  "clientstyling",
4491
4486
  /*clientstyling*/
4492
- e[10]
4487
+ e[9]
4493
4488
  ), m(
4494
4489
  r,
4495
4490
  "clientstylingurl",
4496
4491
  /*clientstylingurl*/
4497
- e[11]
4492
+ e[10]
4498
4493
  ), m(
4499
4494
  r,
4500
4495
  "savecredentials",
4501
4496
  /*savecredentials*/
4502
- e[13]
4497
+ e[12]
4503
4498
  ), m(
4504
4499
  r,
4505
4500
  "translationurl",
4506
4501
  /*translationurl*/
4507
- e[12]
4508
- ), B(t, "class", "RegisterFormStep1");
4502
+ e[11]
4503
+ ), T(t, "class", "RegisterFormStep1");
4509
4504
  },
4510
4505
  m(n, i) {
4511
- j(n, t, i), S(t, r);
4506
+ U(n, t, i), E(t, r);
4512
4507
  },
4513
4508
  p(n, i) {
4514
4509
  i[0] & /*lang*/
@@ -4529,60 +4524,54 @@ function Ar(e) {
4529
4524
  "defaultoptions",
4530
4525
  /*defaultoptions*/
4531
4526
  n[6]
4532
- ), i[0] & /*dummydata*/
4533
- 128 && m(
4534
- r,
4535
- "dummydata",
4536
- /*dummydata*/
4537
- n[7]
4538
4527
  ), i[0] & /*custominputtextswitch*/
4539
- 16384 && m(
4528
+ 8192 && m(
4540
4529
  r,
4541
4530
  "custominputtextswitch",
4542
4531
  /*custominputtextswitch*/
4543
- n[14]
4532
+ n[13]
4544
4533
  ), i[0] & /*simplepasswordvalidation*/
4545
- 512 && m(
4534
+ 256 && m(
4546
4535
  r,
4547
4536
  "simplepasswordvalidation",
4548
4537
  /*simplepasswordvalidation*/
4549
- n[9]
4538
+ n[8]
4550
4539
  ), i[0] & /*clientstyling*/
4551
- 1024 && m(
4540
+ 512 && m(
4552
4541
  r,
4553
4542
  "clientstyling",
4554
4543
  /*clientstyling*/
4555
- n[10]
4544
+ n[9]
4556
4545
  ), i[0] & /*clientstylingurl*/
4557
- 2048 && m(
4546
+ 1024 && m(
4558
4547
  r,
4559
4548
  "clientstylingurl",
4560
4549
  /*clientstylingurl*/
4561
- n[11]
4550
+ n[10]
4562
4551
  ), i[0] & /*savecredentials*/
4563
- 8192 && m(
4552
+ 4096 && m(
4564
4553
  r,
4565
4554
  "savecredentials",
4566
4555
  /*savecredentials*/
4567
- n[13]
4556
+ n[12]
4568
4557
  ), i[0] & /*translationurl*/
4569
- 4096 && m(
4558
+ 2048 && m(
4570
4559
  r,
4571
4560
  "translationurl",
4572
4561
  /*translationurl*/
4573
- n[12]
4562
+ n[11]
4574
4563
  );
4575
4564
  },
4576
4565
  d(n) {
4577
- n && U(t);
4566
+ n && M(t);
4578
4567
  }
4579
4568
  };
4580
4569
  }
4581
- function Or(e) {
4570
+ function lr(e) {
4582
4571
  let t, r;
4583
4572
  return {
4584
4573
  c() {
4585
- t = A("div"), r = A("general-player-register-form-step2-nd"), m(
4574
+ t = B("div"), r = B("general-player-register-form-step2"), m(
4586
4575
  r,
4587
4576
  "endpoint",
4588
4577
  /*endpoint*/
@@ -4607,35 +4596,30 @@ function Or(e) {
4607
4596
  "defaultoptions",
4608
4597
  /*defaultoptions*/
4609
4598
  e[6]
4610
- ), m(
4611
- r,
4612
- "dummydata",
4613
- /*dummydata*/
4614
- e[7]
4615
4599
  ), m(
4616
4600
  r,
4617
4601
  "personalidlength",
4618
4602
  /*personalidlength*/
4619
- e[15]
4603
+ e[14]
4620
4604
  ), m(
4621
4605
  r,
4622
4606
  "clientstyling",
4623
4607
  /*clientstyling*/
4624
- e[10]
4608
+ e[9]
4625
4609
  ), m(
4626
4610
  r,
4627
4611
  "clientstylingurl",
4628
4612
  /*clientstylingurl*/
4629
- e[11]
4613
+ e[10]
4630
4614
  ), m(
4631
4615
  r,
4632
4616
  "translationurl",
4633
4617
  /*translationurl*/
4634
- e[12]
4635
- ), B(t, "class", "RegisterFormStep2");
4618
+ e[11]
4619
+ ), T(t, "class", "RegisterFormStep2");
4636
4620
  },
4637
4621
  m(n, i) {
4638
- j(n, t, i), S(t, r);
4622
+ U(n, t, i), E(t, r);
4639
4623
  },
4640
4624
  p(n, i) {
4641
4625
  i[0] & /*endpoint*/
@@ -4668,67 +4652,61 @@ function Or(e) {
4668
4652
  "defaultoptions",
4669
4653
  /*defaultoptions*/
4670
4654
  n[6]
4671
- ), i[0] & /*dummydata*/
4672
- 128 && m(
4673
- r,
4674
- "dummydata",
4675
- /*dummydata*/
4676
- n[7]
4677
4655
  ), i[0] & /*personalidlength*/
4678
- 32768 && m(
4656
+ 16384 && m(
4679
4657
  r,
4680
4658
  "personalidlength",
4681
4659
  /*personalidlength*/
4682
- n[15]
4660
+ n[14]
4683
4661
  ), i[0] & /*clientstyling*/
4684
- 1024 && m(
4662
+ 512 && m(
4685
4663
  r,
4686
4664
  "clientstyling",
4687
4665
  /*clientstyling*/
4688
- n[10]
4666
+ n[9]
4689
4667
  ), i[0] & /*clientstylingurl*/
4690
- 2048 && m(
4668
+ 1024 && m(
4691
4669
  r,
4692
4670
  "clientstylingurl",
4693
4671
  /*clientstylingurl*/
4694
- n[11]
4672
+ n[10]
4695
4673
  ), i[0] & /*translationurl*/
4696
- 4096 && m(
4674
+ 2048 && m(
4697
4675
  r,
4698
4676
  "translationurl",
4699
4677
  /*translationurl*/
4700
- n[12]
4678
+ n[11]
4701
4679
  );
4702
4680
  },
4703
4681
  d(n) {
4704
- n && U(t);
4682
+ n && M(t);
4705
4683
  }
4706
4684
  };
4707
4685
  }
4708
- function Cr(e) {
4686
+ function hr(e) {
4709
4687
  let t, r;
4710
4688
  return {
4711
4689
  c() {
4712
- t = A("div"), r = A("general-player-register-form-step3-nd"), m(
4690
+ t = B("div"), r = B("general-player-register-form-step3"), m(
4713
4691
  r,
4714
4692
  "userconsentsexist",
4715
4693
  /*userconsentsexist*/
4716
- e[26]
4694
+ e[25]
4717
4695
  ), m(
4718
4696
  r,
4719
4697
  "termsconditions",
4720
4698
  /*termsconditions*/
4721
- e[27]
4699
+ e[26]
4722
4700
  ), m(
4723
4701
  r,
4724
4702
  "smsoffers",
4725
4703
  /*smsoffers*/
4726
- e[28]
4704
+ e[27]
4727
4705
  ), m(
4728
4706
  r,
4729
4707
  "emailmarketing",
4730
4708
  /*emailmarketing*/
4731
- e[29]
4709
+ e[28]
4732
4710
  ), m(
4733
4711
  r,
4734
4712
  "endpoint",
@@ -4754,56 +4732,51 @@ function Cr(e) {
4754
4732
  "disabledfields",
4755
4733
  /*disabledfields*/
4756
4734
  e[5]
4757
- ), m(
4758
- r,
4759
- "dummydata",
4760
- /*dummydata*/
4761
- e[7]
4762
4735
  ), m(
4763
4736
  r,
4764
4737
  "clientstyling",
4765
4738
  /*clientstyling*/
4766
- e[10]
4739
+ e[9]
4767
4740
  ), m(
4768
4741
  r,
4769
4742
  "clientstylingurl",
4770
4743
  /*clientstylingurl*/
4771
- e[11]
4744
+ e[10]
4772
4745
  ), m(
4773
4746
  r,
4774
4747
  "translationurl",
4775
4748
  /*translationurl*/
4776
- e[12]
4777
- ), B(t, "class", "RegisterFormStep3");
4749
+ e[11]
4750
+ ), T(t, "class", "RegisterFormStep3");
4778
4751
  },
4779
4752
  m(n, i) {
4780
- j(n, t, i), S(t, r);
4753
+ U(n, t, i), E(t, r);
4781
4754
  },
4782
4755
  p(n, i) {
4783
4756
  i[0] & /*userconsentsexist*/
4784
- 67108864 && m(
4757
+ 33554432 && m(
4785
4758
  r,
4786
4759
  "userconsentsexist",
4787
4760
  /*userconsentsexist*/
4788
- n[26]
4761
+ n[25]
4789
4762
  ), i[0] & /*termsconditions*/
4790
- 134217728 && m(
4763
+ 67108864 && m(
4791
4764
  r,
4792
4765
  "termsconditions",
4793
4766
  /*termsconditions*/
4794
- n[27]
4767
+ n[26]
4795
4768
  ), i[0] & /*smsoffers*/
4796
- 268435456 && m(
4769
+ 134217728 && m(
4797
4770
  r,
4798
4771
  "smsoffers",
4799
4772
  /*smsoffers*/
4800
- n[28]
4773
+ n[27]
4801
4774
  ), i[0] & /*emailmarketing*/
4802
- 536870912 && m(
4775
+ 268435456 && m(
4803
4776
  r,
4804
4777
  "emailmarketing",
4805
4778
  /*emailmarketing*/
4806
- n[29]
4779
+ n[28]
4807
4780
  ), i[0] & /*endpoint*/
4808
4781
  1 && m(
4809
4782
  r,
@@ -4834,110 +4807,104 @@ function Cr(e) {
4834
4807
  "disabledfields",
4835
4808
  /*disabledfields*/
4836
4809
  n[5]
4837
- ), i[0] & /*dummydata*/
4838
- 128 && m(
4839
- r,
4840
- "dummydata",
4841
- /*dummydata*/
4842
- n[7]
4843
4810
  ), i[0] & /*clientstyling*/
4844
- 1024 && m(
4811
+ 512 && m(
4845
4812
  r,
4846
4813
  "clientstyling",
4847
4814
  /*clientstyling*/
4848
- n[10]
4815
+ n[9]
4849
4816
  ), i[0] & /*clientstylingurl*/
4850
- 2048 && m(
4817
+ 1024 && m(
4851
4818
  r,
4852
4819
  "clientstylingurl",
4853
4820
  /*clientstylingurl*/
4854
- n[11]
4821
+ n[10]
4855
4822
  ), i[0] & /*translationurl*/
4856
- 4096 && m(
4823
+ 2048 && m(
4857
4824
  r,
4858
4825
  "translationurl",
4859
4826
  /*translationurl*/
4860
- n[12]
4827
+ n[11]
4861
4828
  );
4862
4829
  },
4863
4830
  d(n) {
4864
- n && U(t);
4831
+ n && M(t);
4865
4832
  }
4866
4833
  };
4867
4834
  }
4868
- function ho(e) {
4835
+ function $s(e) {
4869
4836
  let t, r = (
4870
4837
  /*$_*/
4871
- e[34]("error") + ""
4838
+ e[33]("error") + ""
4872
4839
  ), n;
4873
4840
  return {
4874
4841
  c() {
4875
- t = A("p"), n = z(r), B(t, "class", "SMSErrorText");
4842
+ t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4876
4843
  },
4877
4844
  m(i, s) {
4878
- j(i, t, s), S(t, n);
4845
+ U(i, t, s), E(t, n);
4879
4846
  },
4880
4847
  p(i, s) {
4881
4848
  s[1] & /*$_*/
4882
- 8 && r !== (r = /*$_*/
4883
- i[34]("error") + "") && re(n, r);
4849
+ 4 && r !== (r = /*$_*/
4850
+ i[33]("error") + "") && K(n, r);
4884
4851
  },
4885
4852
  d(i) {
4886
- i && U(t);
4853
+ i && M(t);
4887
4854
  }
4888
4855
  };
4889
4856
  }
4890
- function fo(e) {
4857
+ function Vs(e) {
4891
4858
  let t;
4892
4859
  function r(s, o) {
4893
4860
  return (
4894
4861
  /*smsSendApiFailed*/
4895
- s[31] ? co : mo
4862
+ s[30] ? Xs : zs
4896
4863
  );
4897
4864
  }
4898
4865
  let n = r(e), i = n(e);
4899
4866
  return {
4900
4867
  c() {
4901
- i.c(), t = kn();
4868
+ i.c(), t = _n();
4902
4869
  },
4903
4870
  m(s, o) {
4904
- i.m(s, o), j(s, t, o);
4871
+ i.m(s, o), U(s, t, o);
4905
4872
  },
4906
4873
  p(s, o) {
4907
4874
  n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t.parentNode, t)));
4908
4875
  },
4909
4876
  d(s) {
4910
- s && U(t), i.d(s);
4877
+ s && M(t), i.d(s);
4911
4878
  }
4912
4879
  };
4913
4880
  }
4914
- function co(e) {
4881
+ function Xs(e) {
4915
4882
  let t, r = (
4916
4883
  /*$_*/
4917
- e[34]("error") + ""
4884
+ e[33]("error") + ""
4918
4885
  ), n;
4919
4886
  return {
4920
4887
  c() {
4921
- t = A("p"), n = z(r), B(t, "class", "SMSErrorText");
4888
+ t = B("p"), n = $(r), T(t, "class", "SMSErrorText");
4922
4889
  },
4923
4890
  m(i, s) {
4924
- j(i, t, s), S(t, n);
4891
+ U(i, t, s), E(t, n);
4925
4892
  },
4926
4893
  p(i, s) {
4927
4894
  s[1] & /*$_*/
4928
- 8 && r !== (r = /*$_*/
4929
- i[34]("error") + "") && re(n, r);
4895
+ 4 && r !== (r = /*$_*/
4896
+ i[33]("error") + "") && K(n, r);
4930
4897
  },
4931
4898
  d(i) {
4932
- i && U(t);
4899
+ i && M(t);
4933
4900
  }
4934
4901
  };
4935
4902
  }
4936
- function mo(e) {
4903
+ function zs(e) {
4937
4904
  let t;
4938
4905
  return {
4939
4906
  c() {
4940
- t = A("general-player-sms-verification-form"), m(
4907
+ t = B("general-player-sms-verification-form"), m(
4941
4908
  t,
4942
4909
  "endpoint",
4943
4910
  /*endpoint*/
@@ -4951,31 +4918,31 @@ function mo(e) {
4951
4918
  t,
4952
4919
  "number",
4953
4920
  /*number*/
4954
- e[32]
4921
+ e[31]
4955
4922
  ), m(
4956
4923
  t,
4957
4924
  "playerid",
4958
4925
  /*playerid*/
4959
- e[17]
4926
+ e[16]
4960
4927
  ), m(
4961
4928
  t,
4962
4929
  "tokenid",
4963
4930
  /*smstokenid*/
4964
- e[30]
4931
+ e[29]
4965
4932
  ), m(
4966
4933
  t,
4967
4934
  "clientstyling",
4968
4935
  /*clientstyling*/
4969
- e[10]
4936
+ e[9]
4970
4937
  ), m(
4971
4938
  t,
4972
4939
  "clientstylingurl",
4973
4940
  /*clientstylingurl*/
4974
- e[11]
4941
+ e[10]
4975
4942
  );
4976
4943
  },
4977
4944
  m(r, n) {
4978
- j(r, t, n);
4945
+ U(r, t, n);
4979
4946
  },
4980
4947
  p(r, n) {
4981
4948
  n[0] & /*endpoint*/
@@ -4991,197 +4958,190 @@ function mo(e) {
4991
4958
  /*session*/
4992
4959
  r[1]
4993
4960
  ), n[1] & /*number*/
4994
- 2 && m(
4961
+ 1 && m(
4995
4962
  t,
4996
4963
  "number",
4997
4964
  /*number*/
4998
- r[32]
4965
+ r[31]
4999
4966
  ), n[0] & /*playerid*/
5000
- 131072 && m(
4967
+ 65536 && m(
5001
4968
  t,
5002
4969
  "playerid",
5003
4970
  /*playerid*/
5004
- r[17]
4971
+ r[16]
5005
4972
  ), n[0] & /*smstokenid*/
5006
- 1073741824 && m(
4973
+ 536870912 && m(
5007
4974
  t,
5008
4975
  "tokenid",
5009
4976
  /*smstokenid*/
5010
- r[30]
4977
+ r[29]
5011
4978
  ), n[0] & /*clientstyling*/
5012
- 1024 && m(
4979
+ 512 && m(
5013
4980
  t,
5014
4981
  "clientstyling",
5015
4982
  /*clientstyling*/
5016
- r[10]
4983
+ r[9]
5017
4984
  ), n[0] & /*clientstylingurl*/
5018
- 2048 && m(
4985
+ 1024 && m(
5019
4986
  t,
5020
4987
  "clientstylingurl",
5021
4988
  /*clientstylingurl*/
5022
- r[11]
4989
+ r[10]
5023
4990
  );
5024
4991
  },
5025
4992
  d(r) {
5026
- r && U(t);
4993
+ r && M(t);
5027
4994
  }
5028
4995
  };
5029
4996
  }
5030
- function Rr(e) {
5031
- let t, r, n, i, s, o, a, l, u, h, c, d, v, b, g, y, H, L = (
4997
+ function fr(e) {
4998
+ let t, r, n, i, s, o, a, l, u, h, c, p, y, g, d, b, x, I = (
5032
4999
  /*$_*/
5033
- e[34]("goToLoginButton") + ""
5034
- ), R, D, F;
5000
+ e[33]("goToLoginButton") + ""
5001
+ ), O, D, N;
5035
5002
  return {
5036
5003
  c() {
5037
- t = A("div"), r = Pe("svg"), n = Pe("defs"), i = Pe("style"), s = z(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"), o = Pe("path"), a = V(), l = A("h2"), u = z(
5004
+ t = B("div"), r = Se("svg"), n = Se("defs"), i = Se("style"), s = $(".a{fill:#var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}"), o = Se("path"), a = G(), l = B("h2"), u = $(
5038
5005
  /*accountCreationTitle*/
5039
- e[23]
5040
- ), h = V(), c = A("p"), d = z(
5006
+ e[22]
5007
+ ), h = G(), c = B("p"), p = $(
5041
5008
  /*accountCreationSubTitle*/
5042
- e[24]
5043
- ), v = V(), b = A("p"), g = z(
5009
+ e[23]
5010
+ ), y = G(), g = B("p"), d = $(
5044
5011
  /*accountCreationMessage*/
5045
- e[25]
5046
- ), y = V(), H = A("button"), R = z(L), B(o, "class", "a"), B(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), B(r, "xmlns", "http://www.w3.org/2000/svg"), B(r, "viewBox", "0 0 73.95 51"), B(l, "class", "RegisterConfirmationTitle"), B(c, "class", "RegisterConfirmationSubtitle"), B(b, "class", "RegisterConfirmationNote"), B(H, "class", "RegisterConfirmationGoToLogin"), B(t, "class", "RegisterConfirmation");
5012
+ e[24]
5013
+ ), b = G(), x = B("button"), O = $(I), T(o, "class", "a"), T(o, "d", "M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"), T(r, "xmlns", "http://www.w3.org/2000/svg"), T(r, "viewBox", "0 0 73.95 51"), T(l, "class", "RegisterConfirmationTitle"), T(c, "class", "RegisterConfirmationSubtitle"), T(g, "class", "RegisterConfirmationNote"), T(x, "class", "RegisterConfirmationGoToLogin"), T(t, "class", "RegisterConfirmation");
5047
5014
  },
5048
- m(N, G) {
5049
- j(N, t, G), S(t, r), S(r, n), S(n, i), S(i, s), S(r, o), S(t, a), S(t, l), S(l, u), S(t, h), S(t, c), S(c, d), S(t, v), S(t, b), S(b, g), S(t, y), S(t, H), S(H, R), D || (F = jn(
5050
- H,
5015
+ m(R, C) {
5016
+ U(R, t, C), E(t, r), E(r, n), E(n, i), E(i, s), E(r, o), E(t, a), E(t, l), E(l, u), E(t, h), E(t, c), E(c, p), E(t, y), E(t, g), E(g, d), E(t, b), E(t, x), E(x, O), D || (N = En(
5017
+ x,
5051
5018
  "click",
5052
5019
  /*switchToLogin*/
5053
- e[36]
5020
+ e[35]
5054
5021
  ), D = !0);
5055
5022
  },
5056
- p(N, G) {
5057
- G[0] & /*accountCreationTitle*/
5058
- 8388608 && re(
5023
+ p(R, C) {
5024
+ C[0] & /*accountCreationTitle*/
5025
+ 4194304 && K(
5059
5026
  u,
5060
5027
  /*accountCreationTitle*/
5061
- N[23]
5062
- ), G[0] & /*accountCreationSubTitle*/
5063
- 16777216 && re(
5064
- d,
5028
+ R[22]
5029
+ ), C[0] & /*accountCreationSubTitle*/
5030
+ 8388608 && K(
5031
+ p,
5065
5032
  /*accountCreationSubTitle*/
5066
- N[24]
5067
- ), G[0] & /*accountCreationMessage*/
5068
- 33554432 && re(
5069
- g,
5033
+ R[23]
5034
+ ), C[0] & /*accountCreationMessage*/
5035
+ 16777216 && K(
5036
+ d,
5070
5037
  /*accountCreationMessage*/
5071
- N[25]
5072
- ), G[1] & /*$_*/
5073
- 8 && L !== (L = /*$_*/
5074
- N[34]("goToLoginButton") + "") && re(R, L);
5038
+ R[24]
5039
+ ), C[1] & /*$_*/
5040
+ 4 && I !== (I = /*$_*/
5041
+ R[33]("goToLoginButton") + "") && K(O, I);
5075
5042
  },
5076
- d(N) {
5077
- N && U(t), D = !1, F();
5043
+ d(R) {
5044
+ R && M(t), D = !1, N();
5078
5045
  }
5079
5046
  };
5080
5047
  }
5081
- function po(e) {
5048
+ function Ws(e) {
5082
5049
  let t;
5083
5050
  function r(s, o) {
5084
- return lo;
5051
+ return js;
5085
5052
  }
5086
5053
  let i = r()(e);
5087
5054
  return {
5088
5055
  c() {
5089
- t = A("div"), i.c();
5056
+ t = B("div"), i.c();
5090
5057
  },
5091
5058
  m(s, o) {
5092
- j(s, t, o), i.m(t, null), e[42](t);
5059
+ U(s, t, o), i.m(t, null), e[41](t);
5093
5060
  },
5094
5061
  p(s, o) {
5095
5062
  i.p(s, o);
5096
5063
  },
5097
- i: X,
5098
- o: X,
5064
+ i: k,
5065
+ o: k,
5099
5066
  d(s) {
5100
- s && U(t), i.d(), e[42](null);
5067
+ s && M(t), i.d(), e[41](null);
5101
5068
  }
5102
5069
  };
5103
5070
  }
5104
- let go = "Please use this code {0} to activate your account";
5105
- function bo(e, t, r) {
5071
+ let Zs = "Please use this code {0} to activate your account";
5072
+ function Js(e, t, r) {
5106
5073
  let n;
5107
- Dn(e, so, (f) => r(34, n = f));
5108
- let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: d = "" } = t, { defaultoptions: v = "" } = t, { dummydata: b = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: y = "false" } = t, { userroles: H = "" } = t, { clientstyling: L = "" } = t, { clientstylingurl: R = "" } = t, { translationurl: D = "" } = t, { savecredentials: F = "" } = t, { custominputtextswitch: N = "false" } = t, { personalidlength: G = "13" } = t, J, C = [], wt = [], St = "", $e = !0, ce = !1, _e = !1, Ve = !1, Xe = !1, Ee, xt = !1, Tt = "", Ht = "", Bt = "", Pt = window.navigator.userAgent, bn = Tr(Pt) !== "PC", _ = {}, At = !1, Ot = !1, we = "false", Ct = "false", Rt = "false", It = "false", Lt = "", Nt, Se = !1, Mt, xe;
5109
- oo({ withLocale: "en", translations: {} });
5110
- const yn = () => {
5111
- fetch(D).then((p) => p.json()).then((p) => {
5112
- Object.keys(p).forEach((T) => {
5113
- Hr(T, p[T]);
5074
+ gn(e, Fs, (f) => r(33, n = f));
5075
+ let { endpoint: i = "" } = t, { cmsendpoint: s = "" } = t, { env: o = "" } = t, { session: a = "" } = t, { trackedanalyticsdata: l = "" } = t, { captchakey: u = "" } = t, { lang: h = "en" } = t, { licenseyears: c = "" } = t, { disabledfields: p = "" } = t, { defaultoptions: y = "" } = t, { smsverification: g = "false" } = t, { simplepasswordvalidation: d = "false" } = t, { userroles: b = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: I = "" } = t, { translationurl: O = "" } = t, { savecredentials: D = "" } = t, { custominputtextswitch: N = "false" } = t, { personalidlength: R = "13" } = t, C, yt = "", Ue = !0, le = !1, be = !1, Ge = !1, ke = !1, ye, vt = !1, _t = "", Et = "", wt = "", xt = window.navigator.userAgent, Jr = ir(xt) !== "PC", j = {}, St = !1, Tt = !1, je = "false", Ht = "false", Bt = "false", At = "false", Pt = "", Ot, ve = !1, Ct, _e;
5076
+ Us({ withLocale: "en", translations: {} });
5077
+ const qr = () => {
5078
+ fetch(O).then((S) => S.json()).then((S) => {
5079
+ Object.keys(S).forEach((P) => {
5080
+ sr(P, S[P]);
5114
5081
  });
5115
- }).catch((p) => {
5116
- console.log(p);
5082
+ }).catch((S) => {
5083
+ console.log(S);
5117
5084
  });
5118
5085
  };
5119
- Object.keys(Br).forEach((f) => {
5120
- Hr(f, Br[f]);
5086
+ Object.keys(or).forEach((f) => {
5087
+ sr(f, or[f]);
5121
5088
  });
5122
- const vn = () => {
5089
+ const Qr = () => {
5123
5090
  fetch(`${i}/v1/player/consentRequirements`).then((f) => f.json()).then((f) => {
5124
- f.items.length > 0 ? (r(26, we = "true"), f.items.forEach((p) => {
5125
- switch (p.tagCode) {
5091
+ f.items.length > 0 ? (r(25, je = "true"), f.items.forEach((S) => {
5092
+ switch (S.tagCode) {
5126
5093
  case "termsandconditions":
5127
- r(27, Ct = "true");
5094
+ r(26, Ht = "true");
5128
5095
  break;
5129
5096
  case "sms":
5130
- r(28, Rt = "true");
5097
+ r(27, Bt = "true");
5131
5098
  break;
5132
5099
  case "emailmarketing":
5133
- r(29, It = "true");
5100
+ r(28, At = "true");
5134
5101
  break;
5135
5102
  }
5136
- })) : r(26, we = "false");
5103
+ })) : r(25, je = "false");
5137
5104
  });
5138
- }, _n = () => {
5139
- let f = new URL(`${s}/${h}/login-register-content?env=${o}`), p = Tr(Pt);
5140
- p && (p === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((T) => T.json()).then((T) => {
5141
- Ee = T.registerData, r(23, Tt = Ee.title), r(24, Ht = Ee.subtitle), r(25, Bt = Ee.content);
5142
- }).catch((T) => {
5143
- console.error(T);
5105
+ }, Yr = () => {
5106
+ let f = new URL(`${s}/${h}/login-register-content?env=${o}`), S = ir(xt);
5107
+ S && (S === "PC" ? f.searchParams.append("device", "dk") : f.searchParams.append("device", "mtWeb")), fetch(f.href).then((P) => P.json()).then((P) => {
5108
+ ye = P.registerData, r(22, _t = ye.title), r(23, Et = ye.subtitle), r(24, wt = ye.content);
5109
+ }).catch((P) => {
5110
+ console.error(P);
5144
5111
  });
5145
- }, Te = () => {
5146
- xe.scrollIntoView();
5147
- }, I = (f) => {
5148
- let p;
5149
- return wt.forEach((T) => {
5150
- T.includes(f) && (p = T.split(":")[1].toString());
5151
- }), p;
5152
- }, me = (f, p) => {
5153
- var T, $, ze, Ft, Ut, Gt, kt, jt, $t, Vt, Xt, zt, Wt, Zt, Qt, qt, Jt, Yt, Kt;
5154
- wt = v.split(","), f === "RegisterStepOne" && (_.email = C.indexOf("email") >= 0 ? (T = I("email")) != null ? T : "dummy@dummy.com" : p.userEmail, _.username = C.indexOf("username") >= 0 ? ($ = I("username")) != null ? $ : "dummyUsername" : p.userValue, _.password = C.indexOf("password") >= 0 ? (ze = I("password")) != null ? ze : "dummyPassword01!" : p.userPassword, _.securityQuestion = C.indexOf("securityQuestion") >= 0 ? (Ft = I("securityQuestion")) != null ? Ft : "dummy question" : p.securityQuestion, _.securityAnswer = C.indexOf("securityAnswer") >= 0 ? (Ut = I("securityAnswer")) != null ? Ut : "dummy answer" : p.securityAnswer, _.promoCode = C.indexOf("promoCode") >= 0 ? (Gt = I("promoCode")) != null ? Gt : "" : p.promoCode), f === "RegisterStepTwo" && (_.title = p.userTitleSelected, _.firstname = C.indexOf("firstName") >= 0 ? (kt = I("firstName")) != null ? kt : "dummy first name" : p.userFirstName, _.lastname = C.indexOf("lastName") >= 0 ? (jt = I("lastName")) != null ? jt : "dummy last name" : p.userLastName, C.indexOf("birthDate") >= 0 ? _.birth = { day: 1, month: 1, year: 2e3 } : (_.birth = {}, _.birth.day = p.birthDaySelected, _.birth.month = p.birthMonthSelected, _.birth.year = p.birthYearSelected), _.birthPlace = C.indexOf("birthPlace") >= 0 ? ($t = I("birthPlace")) != null ? $t : "ngenge" : p.birthPlace, _.currency = (Vt = I("currency")) != null ? Vt : p.currencySelected, (C == null ? void 0 : C.indexOf("personalId")) >= 0 || (_.personalId = (zt = (Xt = p.personalId) != null ? Xt : I("personalId")) != null ? zt : "dummy personal id")), f === "RegisterStepThree" && (_.address1 = C.indexOf("address") >= 0 ? (Wt = I("address")) != null ? Wt : "dummy address" : p.address, _.postalCode = C.indexOf("postalCode") >= 0 ? (Zt = I("postalCode")) != null ? Zt : "000000" : p.postalCode, _.city = C.indexOf("city") >= 0 ? (Qt = I("city")) != null ? Qt : "dummy city" : p.city, _.country = C.indexOf("country") >= 0 ? (qt = I("country")) != null ? qt : "dummy country" : p.countrySelected, _.nationality = C.indexOf("nationality") >= 0 ? (Jt = I("nationality")) != null ? Jt : "dummy nationality" : p.nationalitySelected, C.indexOf("mobile") >= 0 ? _.mobile = {
5155
- prefix: (Yt = I("phonePrefix")) != null ? Yt : "0040",
5156
- number: "1234123412"
5157
- } : (_.mobile = {}, _.mobile.prefix = (Kt = I("phonePrefix")) != null ? Kt : p.mobilePrefixSelected, _.mobile.number = p.mobile, r(32, Mt = `${p.mobilePrefixSelected}${p.mobile}`)), _.userConsents = {}, _.affiliateMarker = _.promoCode ? _.promoCode : l != null ? l : "", we == "true" && (_.userConsents.sms = p.consentOffersSms, _.userConsents.emailmarketing = p.consentOffersEmail, _.userConsents.termsandconditions = p.consentTerms), _.token = p.token);
5158
- }, Dt = (f) => {
5112
+ }, Ee = () => {
5113
+ _e.scrollIntoView();
5114
+ }, he = (f) => {
5115
+ for (const S in f)
5116
+ j[S] = f[S], S === "mobile" && r(31, Ct = `${f[S].prefix}${f[S].number}`);
5117
+ j.affiliateMarker = j.promoCode ? j.promoCode : l != null ? l : "";
5118
+ }, It = (f) => {
5159
5119
  if (f.data)
5160
5120
  switch (f.data.type) {
5161
5121
  case "RegisterStepOne":
5162
- me("RegisterStepOne", f.data.registerStepOneData), Te(), r(18, $e = !1), r(19, ce = !0), At == !1 ? At = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: _ }, window.location.href);
5122
+ he(f.data.registerStepOneData), Ee(), r(17, Ue = !1), r(18, le = !0), St == !1 ? St = !0 : window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5163
5123
  break;
5164
5124
  case "RegisterStepTwo":
5165
- me("RegisterStepTwo", f.data.registerStepTwoData), Te(), r(19, ce = !1), r(20, _e = !0), Ot == !1 ? Ot = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: _ }, window.location.href);
5125
+ he(f.data.registerStepTwoData), Ee(), r(18, le = !1), r(19, be = !0), Tt == !1 ? Tt = !0 : window.postMessage({ type: "StepThreeDataBackup", userData: j }, window.location.href);
5166
5126
  break;
5167
5127
  case "RegisterStepThree":
5168
- me("RegisterStepThree", f.data.registerStepThreeData), wn(_);
5128
+ he(f.data.registerStepThreeData), en(j);
5169
5129
  break;
5170
5130
  case "SmsHasBeenValidated":
5171
- r(22, Xe = !0), r(21, Ve = !1);
5131
+ r(21, ke = !0), r(20, Ge = !1);
5172
5132
  break;
5173
5133
  case "GoBackStepTwo":
5174
- me("RegisterStepTwo", f.data.registerStepTwoData), Te(), r(18, $e = !0), r(19, ce = !1), window.postMessage({ type: "StepOneDataBackup", userData: _ }, window.location.href);
5134
+ he(f.data.registerStepTwoData), Ee(), r(17, Ue = !0), r(18, le = !1), window.postMessage({ type: "StepOneDataBackup", userData: j }, window.location.href);
5175
5135
  break;
5176
5136
  case "GoBackStepThree":
5177
- me("RegisterStepThree", f.data.registerStepThreeData), Te(), r(19, ce = !0), r(20, _e = !1), window.postMessage({ type: "StepTwoDataBackup", userData: _ }, window.location.href);
5137
+ he(f.data.registerStepThreeData), Ee(), r(18, le = !0), r(19, be = !1), window.postMessage({ type: "StepTwoDataBackup", userData: j }, window.location.href);
5178
5138
  break;
5179
5139
  }
5180
- }, En = () => {
5140
+ }, Kr = () => {
5181
5141
  typeof gtag == "function" && gtag("event", "Register", { context: "GeneralPlayerRegisterForm" });
5182
- }, wn = (f) => He(this, null, function* () {
5142
+ }, en = (f) => we(this, null, function* () {
5183
5143
  f.language = h;
5184
- let p = {
5144
+ let S = {
5185
5145
  method: "PUT",
5186
5146
  headers: {
5187
5147
  "g-recaptcha-response": f.token,
@@ -5189,54 +5149,54 @@ function bo(e, t, r) {
5189
5149
  Accept: "application/json"
5190
5150
  },
5191
5151
  body: JSON.stringify(f)
5192
- }, T = yield fetch(`${i}/v1/player/register`, p), $ = yield T.json();
5193
- T.ok ? (r(20, _e = !1), g === "false" ? r(22, Xe = !0) : (r(17, St = $.id), Sn(f, $.id)), f.username, f.password, En()) : (Lt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length), xt = !0, window.postMessage(
5152
+ }, P = yield fetch(`${i}/v1/player/register`, S), z = yield P.json();
5153
+ P.ok ? (r(19, be = !1), g === "false" ? r(21, ke = !0) : (r(16, yt = z.id), tn(f, z.id)), f.username, f.password, Kr()) : (Pt = z.error.substring(z.error.indexOf("errorMessage") + 13, z.error.length), vt = !0, window.postMessage(
5194
5154
  {
5195
5155
  type: "ShowRegistrationError",
5196
- showError: xt,
5197
- error: Lt
5156
+ showError: vt,
5157
+ error: Pt
5198
5158
  },
5199
5159
  window.location.href
5200
5160
  ));
5201
- }), Sn = (f, p) => He(this, null, function* () {
5161
+ }), tn = (f, S) => we(this, null, function* () {
5202
5162
  localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3)));
5203
5163
  try {
5204
- const T = yield fetch(`${i}/v1/player/sms/token`, {
5164
+ const P = yield fetch(`${i}/v1/player/sms/token`, {
5205
5165
  method: "POST",
5206
5166
  headers: {
5207
5167
  "Content-Type": "application/json",
5208
5168
  accept: "application/json"
5209
5169
  },
5210
5170
  body: JSON.stringify({
5211
- userId: p,
5212
- messageTemplate: go,
5171
+ userId: S,
5172
+ messageTemplate: Zs,
5213
5173
  destination: `${f.mobile.prefix}${f.mobile.number}`
5214
5174
  })
5215
- }), $ = yield T.json();
5216
- if (T.ok) {
5217
- r(30, Nt = $.id);
5218
- let ze = $.maxValidationAttempts;
5219
- r(21, Ve = !0), r(31, Se = !1);
5175
+ }), z = yield P.json();
5176
+ if (P.ok) {
5177
+ r(29, Ot = z.id);
5178
+ let qs = z.maxValidationAttempts;
5179
+ r(20, Ge = !0), r(30, ve = !1);
5220
5180
  } else
5221
- throw r(31, Se = !0), new Error("Failed to fetch");
5222
- } catch (T) {
5223
- r(31, Se = !0), console.error(T);
5181
+ throw r(30, ve = !0), new Error("Failed to fetch");
5182
+ } catch (P) {
5183
+ r(30, ve = !0), console.error(P);
5224
5184
  }
5225
- }), xn = () => {
5226
- C = d.split(",");
5227
- }, Tn = () => {
5185
+ }), rn = () => {
5186
+ p.split(",");
5187
+ }, nn = () => {
5228
5188
  window.postMessage({ type: "ToLogin" }, window.location.href);
5229
- }, Hn = () => {
5230
- ao(h);
5231
- }, Bn = () => {
5189
+ }, sn = () => {
5190
+ Gs(h);
5191
+ }, on = () => {
5232
5192
  let f = document.createElement("style");
5233
- f.innerHTML = L, J.appendChild(f);
5234
- }, Pn = () => {
5235
- let f = new URL(R), p = document.createElement("style");
5236
- fetch(f.href).then((T) => T.text()).then((T) => {
5237
- p.innerHTML = T, setTimeout(
5193
+ f.innerHTML = x, C.appendChild(f);
5194
+ }, an = () => {
5195
+ let f = new URL(I), S = document.createElement("style");
5196
+ fetch(f.href).then((P) => P.text()).then((P) => {
5197
+ S.innerHTML = P, setTimeout(
5238
5198
  () => {
5239
- J.appendChild(p);
5199
+ C.appendChild(S);
5240
5200
  },
5241
5201
  1
5242
5202
  ), setTimeout(
@@ -5246,109 +5206,107 @@ function bo(e, t, r) {
5246
5206
  );
5247
5207
  });
5248
5208
  };
5249
- zn(() => (window.addEventListener("message", Dt, !1), () => {
5250
- window.removeEventListener("message", Dt);
5209
+ Tn(() => (window.addEventListener("message", It, !1), () => {
5210
+ window.removeEventListener("message", It);
5251
5211
  }));
5252
- function An(f) {
5253
- Ne[f ? "unshift" : "push"](() => {
5254
- xe = f, r(33, xe);
5212
+ function un(f) {
5213
+ Ce[f ? "unshift" : "push"](() => {
5214
+ _e = f, r(32, _e);
5255
5215
  });
5256
5216
  }
5257
- function On(f) {
5258
- Ne[f ? "unshift" : "push"](() => {
5259
- J = f, r(16, J);
5217
+ function ln(f) {
5218
+ Ce[f ? "unshift" : "push"](() => {
5219
+ C = f, r(15, C);
5260
5220
  });
5261
5221
  }
5262
5222
  return e.$$set = (f) => {
5263
- "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(37, s = f.cmsendpoint), "env" in f && r(38, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(39, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, d = f.disabledfields), "defaultoptions" in f && r(6, v = f.defaultoptions), "dummydata" in f && r(7, b = f.dummydata), "smsverification" in f && r(8, g = f.smsverification), "simplepasswordvalidation" in f && r(9, y = f.simplepasswordvalidation), "userroles" in f && r(40, H = f.userroles), "clientstyling" in f && r(10, L = f.clientstyling), "clientstylingurl" in f && r(11, R = f.clientstylingurl), "translationurl" in f && r(12, D = f.translationurl), "savecredentials" in f && r(13, F = f.savecredentials), "custominputtextswitch" in f && r(14, N = f.custominputtextswitch), "personalidlength" in f && r(15, G = f.personalidlength);
5223
+ "endpoint" in f && r(0, i = f.endpoint), "cmsendpoint" in f && r(36, s = f.cmsendpoint), "env" in f && r(37, o = f.env), "session" in f && r(1, a = f.session), "trackedanalyticsdata" in f && r(38, l = f.trackedanalyticsdata), "captchakey" in f && r(2, u = f.captchakey), "lang" in f && r(3, h = f.lang), "licenseyears" in f && r(4, c = f.licenseyears), "disabledfields" in f && r(5, p = f.disabledfields), "defaultoptions" in f && r(6, y = f.defaultoptions), "smsverification" in f && r(7, g = f.smsverification), "simplepasswordvalidation" in f && r(8, d = f.simplepasswordvalidation), "userroles" in f && r(39, b = f.userroles), "clientstyling" in f && r(9, x = f.clientstyling), "clientstylingurl" in f && r(10, I = f.clientstylingurl), "translationurl" in f && r(11, O = f.translationurl), "savecredentials" in f && r(12, D = f.savecredentials), "custominputtextswitch" in f && r(13, N = f.custominputtextswitch), "personalidlength" in f && r(14, R = f.personalidlength);
5264
5224
  }, e.$$.update = () => {
5265
5225
  e.$$.dirty[0] & /*endpoint*/
5266
- 1 && i && vn(), e.$$.dirty[0] & /*lang*/
5226
+ 1 && i && Qr(), e.$$.dirty[0] & /*lang*/
5267
5227
  8 | e.$$.dirty[1] & /*cmsendpoint, env, userroles*/
5268
- 704 && s && h && o && H && _n(), e.$$.dirty[0] & /*playerid, session*/
5269
- 131074, e.$$.dirty[0] & /*lang*/
5270
- 8 && h && Hn(), e.$$.dirty[0] & /*disabledfields*/
5271
- 32 && d && xn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5272
- 66560 && L && J && Bn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5273
- 67584 && R && J && Pn(), e.$$.dirty[0] & /*translationurl*/
5274
- 4096 && D && yn();
5228
+ 352 && s && h && o && b && Yr(), e.$$.dirty[0] & /*playerid, session*/
5229
+ 65538, e.$$.dirty[0] & /*lang*/
5230
+ 8 && h && sn(), e.$$.dirty[0] & /*disabledfields*/
5231
+ 32 && p && rn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5232
+ 33280 && x && C && on(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5233
+ 33792 && I && C && an(), e.$$.dirty[0] & /*translationurl*/
5234
+ 2048 && O && qr();
5275
5235
  }, [
5276
5236
  i,
5277
5237
  a,
5278
5238
  u,
5279
5239
  h,
5280
5240
  c,
5281
- d,
5282
- v,
5283
- b,
5284
- g,
5241
+ p,
5285
5242
  y,
5286
- L,
5287
- R,
5243
+ g,
5244
+ d,
5245
+ x,
5246
+ I,
5247
+ O,
5288
5248
  D,
5289
- F,
5290
5249
  N,
5291
- G,
5292
- J,
5293
- St,
5294
- $e,
5295
- ce,
5296
- _e,
5297
- Ve,
5298
- Xe,
5299
- Tt,
5250
+ R,
5251
+ C,
5252
+ yt,
5253
+ Ue,
5254
+ le,
5255
+ be,
5256
+ Ge,
5257
+ ke,
5258
+ _t,
5259
+ Et,
5260
+ wt,
5261
+ je,
5300
5262
  Ht,
5301
5263
  Bt,
5302
- we,
5264
+ At,
5265
+ Ot,
5266
+ ve,
5303
5267
  Ct,
5304
- Rt,
5305
- It,
5306
- Nt,
5307
- Se,
5308
- Mt,
5309
- xe,
5268
+ _e,
5310
5269
  n,
5311
- bn,
5312
- Tn,
5270
+ Jr,
5271
+ nn,
5313
5272
  s,
5314
5273
  o,
5315
5274
  l,
5316
- H,
5317
- An,
5318
- On
5275
+ b,
5276
+ un,
5277
+ ln
5319
5278
  ];
5320
5279
  }
5321
- class gn extends ii {
5280
+ class Zr extends Dn {
5322
5281
  constructor(t) {
5323
- super(), ri(
5282
+ super(), Nn(
5324
5283
  this,
5325
5284
  t,
5326
- bo,
5327
- po,
5328
- Lr,
5285
+ Js,
5286
+ Ws,
5287
+ mr,
5329
5288
  {
5330
5289
  endpoint: 0,
5331
- cmsendpoint: 37,
5332
- env: 38,
5290
+ cmsendpoint: 36,
5291
+ env: 37,
5333
5292
  session: 1,
5334
- trackedanalyticsdata: 39,
5293
+ trackedanalyticsdata: 38,
5335
5294
  captchakey: 2,
5336
5295
  lang: 3,
5337
5296
  licenseyears: 4,
5338
5297
  disabledfields: 5,
5339
5298
  defaultoptions: 6,
5340
- dummydata: 7,
5341
- smsverification: 8,
5342
- simplepasswordvalidation: 9,
5343
- userroles: 40,
5344
- clientstyling: 10,
5345
- clientstylingurl: 11,
5346
- translationurl: 12,
5347
- savecredentials: 13,
5348
- custominputtextswitch: 14,
5349
- personalidlength: 15
5299
+ smsverification: 7,
5300
+ simplepasswordvalidation: 8,
5301
+ userroles: 39,
5302
+ clientstyling: 9,
5303
+ clientstylingurl: 10,
5304
+ translationurl: 11,
5305
+ savecredentials: 12,
5306
+ custominputtextswitch: 13,
5307
+ personalidlength: 14
5350
5308
  },
5351
- uo,
5309
+ ks,
5352
5310
  [-1, -1, -1]
5353
5311
  );
5354
5312
  }
@@ -5356,162 +5314,156 @@ class gn extends ii {
5356
5314
  return this.$$.ctx[0];
5357
5315
  }
5358
5316
  set endpoint(t) {
5359
- this.$$set({ endpoint: t }), O();
5317
+ this.$$set({ endpoint: t }), A();
5360
5318
  }
5361
5319
  get cmsendpoint() {
5362
- return this.$$.ctx[37];
5320
+ return this.$$.ctx[36];
5363
5321
  }
5364
5322
  set cmsendpoint(t) {
5365
- this.$$set({ cmsendpoint: t }), O();
5323
+ this.$$set({ cmsendpoint: t }), A();
5366
5324
  }
5367
5325
  get env() {
5368
- return this.$$.ctx[38];
5326
+ return this.$$.ctx[37];
5369
5327
  }
5370
5328
  set env(t) {
5371
- this.$$set({ env: t }), O();
5329
+ this.$$set({ env: t }), A();
5372
5330
  }
5373
5331
  get session() {
5374
5332
  return this.$$.ctx[1];
5375
5333
  }
5376
5334
  set session(t) {
5377
- this.$$set({ session: t }), O();
5335
+ this.$$set({ session: t }), A();
5378
5336
  }
5379
5337
  get trackedanalyticsdata() {
5380
- return this.$$.ctx[39];
5338
+ return this.$$.ctx[38];
5381
5339
  }
5382
5340
  set trackedanalyticsdata(t) {
5383
- this.$$set({ trackedanalyticsdata: t }), O();
5341
+ this.$$set({ trackedanalyticsdata: t }), A();
5384
5342
  }
5385
5343
  get captchakey() {
5386
5344
  return this.$$.ctx[2];
5387
5345
  }
5388
5346
  set captchakey(t) {
5389
- this.$$set({ captchakey: t }), O();
5347
+ this.$$set({ captchakey: t }), A();
5390
5348
  }
5391
5349
  get lang() {
5392
5350
  return this.$$.ctx[3];
5393
5351
  }
5394
5352
  set lang(t) {
5395
- this.$$set({ lang: t }), O();
5353
+ this.$$set({ lang: t }), A();
5396
5354
  }
5397
5355
  get licenseyears() {
5398
5356
  return this.$$.ctx[4];
5399
5357
  }
5400
5358
  set licenseyears(t) {
5401
- this.$$set({ licenseyears: t }), O();
5359
+ this.$$set({ licenseyears: t }), A();
5402
5360
  }
5403
5361
  get disabledfields() {
5404
5362
  return this.$$.ctx[5];
5405
5363
  }
5406
5364
  set disabledfields(t) {
5407
- this.$$set({ disabledfields: t }), O();
5365
+ this.$$set({ disabledfields: t }), A();
5408
5366
  }
5409
5367
  get defaultoptions() {
5410
5368
  return this.$$.ctx[6];
5411
5369
  }
5412
5370
  set defaultoptions(t) {
5413
- this.$$set({ defaultoptions: t }), O();
5414
- }
5415
- get dummydata() {
5416
- return this.$$.ctx[7];
5417
- }
5418
- set dummydata(t) {
5419
- this.$$set({ dummydata: t }), O();
5371
+ this.$$set({ defaultoptions: t }), A();
5420
5372
  }
5421
5373
  get smsverification() {
5422
- return this.$$.ctx[8];
5374
+ return this.$$.ctx[7];
5423
5375
  }
5424
5376
  set smsverification(t) {
5425
- this.$$set({ smsverification: t }), O();
5377
+ this.$$set({ smsverification: t }), A();
5426
5378
  }
5427
5379
  get simplepasswordvalidation() {
5428
- return this.$$.ctx[9];
5380
+ return this.$$.ctx[8];
5429
5381
  }
5430
5382
  set simplepasswordvalidation(t) {
5431
- this.$$set({ simplepasswordvalidation: t }), O();
5383
+ this.$$set({ simplepasswordvalidation: t }), A();
5432
5384
  }
5433
5385
  get userroles() {
5434
- return this.$$.ctx[40];
5386
+ return this.$$.ctx[39];
5435
5387
  }
5436
5388
  set userroles(t) {
5437
- this.$$set({ userroles: t }), O();
5389
+ this.$$set({ userroles: t }), A();
5438
5390
  }
5439
5391
  get clientstyling() {
5440
- return this.$$.ctx[10];
5392
+ return this.$$.ctx[9];
5441
5393
  }
5442
5394
  set clientstyling(t) {
5443
- this.$$set({ clientstyling: t }), O();
5395
+ this.$$set({ clientstyling: t }), A();
5444
5396
  }
5445
5397
  get clientstylingurl() {
5446
- return this.$$.ctx[11];
5398
+ return this.$$.ctx[10];
5447
5399
  }
5448
5400
  set clientstylingurl(t) {
5449
- this.$$set({ clientstylingurl: t }), O();
5401
+ this.$$set({ clientstylingurl: t }), A();
5450
5402
  }
5451
5403
  get translationurl() {
5452
- return this.$$.ctx[12];
5404
+ return this.$$.ctx[11];
5453
5405
  }
5454
5406
  set translationurl(t) {
5455
- this.$$set({ translationurl: t }), O();
5407
+ this.$$set({ translationurl: t }), A();
5456
5408
  }
5457
5409
  get savecredentials() {
5458
- return this.$$.ctx[13];
5410
+ return this.$$.ctx[12];
5459
5411
  }
5460
5412
  set savecredentials(t) {
5461
- this.$$set({ savecredentials: t }), O();
5413
+ this.$$set({ savecredentials: t }), A();
5462
5414
  }
5463
5415
  get custominputtextswitch() {
5464
- return this.$$.ctx[14];
5416
+ return this.$$.ctx[13];
5465
5417
  }
5466
5418
  set custominputtextswitch(t) {
5467
- this.$$set({ custominputtextswitch: t }), O();
5419
+ this.$$set({ custominputtextswitch: t }), A();
5468
5420
  }
5469
5421
  get personalidlength() {
5470
- return this.$$.ctx[15];
5422
+ return this.$$.ctx[14];
5471
5423
  }
5472
5424
  set personalidlength(t) {
5473
- this.$$set({ personalidlength: t }), O();
5425
+ this.$$set({ personalidlength: t }), A();
5474
5426
  }
5475
5427
  }
5476
- ni(gn, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, dummydata: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5477
- const Ho = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5428
+ Mn(Zr, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, trackedanalyticsdata: {}, captchakey: {}, lang: {}, licenseyears: {}, disabledfields: {}, defaultoptions: {}, smsverification: {}, simplepasswordvalidation: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, custominputtextswitch: {}, personalidlength: {} }, [], [], !0);
5429
+ const so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5478
5430
  __proto__: null,
5479
- default: gn
5431
+ default: Zr
5480
5432
  }, Symbol.toStringTag, { value: "Module" }));
5481
5433
  export {
5482
- q as $,
5483
- Eo as A,
5484
- kn as B,
5485
- xo as C,
5486
- he as D,
5487
- _o as E,
5488
- vo as F,
5489
- Ho as G,
5490
- ii as S,
5491
- fn as a,
5492
- Fn as b,
5493
- ni as c,
5494
- V as d,
5495
- A as e,
5496
- O as f,
5497
- B as g,
5498
- j as h,
5499
- ri as i,
5500
- S as j,
5501
- wo as k,
5502
- jn as l,
5503
- re as m,
5504
- X as n,
5505
- U as o,
5506
- Dn as p,
5507
- zn as q,
5508
- ve as r,
5509
- Lr as s,
5510
- z as t,
5511
- Ne as u,
5512
- Pe as v,
5513
- so as w,
5514
- nt as x,
5515
- So as y,
5516
- To as z
5434
+ Z as $,
5435
+ eo as A,
5436
+ _n as B,
5437
+ no as C,
5438
+ ae as D,
5439
+ Ks as E,
5440
+ Ys as F,
5441
+ so as G,
5442
+ Dn as S,
5443
+ $r as a,
5444
+ bn as b,
5445
+ Mn as c,
5446
+ G as d,
5447
+ B as e,
5448
+ A as f,
5449
+ T as g,
5450
+ U as h,
5451
+ Nn as i,
5452
+ E as j,
5453
+ to as k,
5454
+ En as l,
5455
+ K as m,
5456
+ k as n,
5457
+ M as o,
5458
+ gn as p,
5459
+ Tn as q,
5460
+ ge as r,
5461
+ mr as s,
5462
+ $ as t,
5463
+ Ce as u,
5464
+ Se as v,
5465
+ Fs as w,
5466
+ Ke as x,
5467
+ ro as y,
5468
+ io as z
5517
5469
  };