@everymatrix/general-player-forgot-password-form-nd 1.53.11 → 1.54.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,54 +1,83 @@
1
- function ce() {
1
+ var vo = Object.defineProperty, Po = Object.defineProperties;
2
+ var Eo = Object.getOwnPropertyDescriptors;
3
+ var Ot = Object.getOwnPropertySymbols;
4
+ var _o = Object.prototype.hasOwnProperty, xo = Object.prototype.propertyIsEnumerable;
5
+ var it = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ _o.call(t, r) && it(e, r, t[r]);
8
+ if (Ot)
9
+ for (var r of Ot(t))
10
+ xo.call(t, r) && it(e, r, t[r]);
11
+ return e;
12
+ }, Rt = (e, t) => Po(e, Eo(t));
13
+ var ce = (e, t, r) => it(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var at = (e, t, r) => new Promise((o, s) => {
15
+ var n = (u) => {
16
+ try {
17
+ l(r.next(u));
18
+ } catch (f) {
19
+ s(f);
20
+ }
21
+ }, a = (u) => {
22
+ try {
23
+ l(r.throw(u));
24
+ } catch (f) {
25
+ s(f);
26
+ }
27
+ }, l = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(n, a);
28
+ l((r = r.apply(e, t)).next());
29
+ });
30
+ function he() {
2
31
  }
3
- function cr(e) {
32
+ function wr(e) {
4
33
  return e();
5
34
  }
6
- function At() {
35
+ function Mt() {
7
36
  return /* @__PURE__ */ Object.create(null);
8
37
  }
9
- function be(e) {
10
- e.forEach(cr);
38
+ function ye(e) {
39
+ e.forEach(wr);
11
40
  }
12
- function ke(e) {
41
+ function De(e) {
13
42
  return typeof e == "function";
14
43
  }
15
- function hr(e, t) {
44
+ function br(e, t) {
16
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
46
  }
18
- let $e;
19
- function It(e, t) {
20
- return e === t ? !0 : ($e || ($e = document.createElement("a")), $e.href = t, e === $e.href);
47
+ let Ve;
48
+ function kt(e, t) {
49
+ return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
21
50
  }
22
- function po(e) {
51
+ function To(e) {
23
52
  return Object.keys(e).length === 0;
24
53
  }
25
- function dr(e, ...t) {
54
+ function yr(e, ...t) {
26
55
  if (e == null) {
27
56
  for (const o of t)
28
57
  o(void 0);
29
- return ce;
58
+ return he;
30
59
  }
31
60
  const r = e.subscribe(...t);
32
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
62
  }
34
- function mo(e, t, r) {
35
- e.$$.on_destroy.push(dr(t, r));
63
+ function So(e, t, r) {
64
+ e.$$.on_destroy.push(yr(t, r));
36
65
  }
37
- const go = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
66
+ const Bo = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
38
67
  // @ts-ignore Node typings have this
39
68
  global
40
69
  );
41
70
  function h(e, t) {
42
71
  e.appendChild(t);
43
72
  }
44
- function wo(e, t, r) {
45
- const o = bo(e);
73
+ function Co(e, t, r) {
74
+ const o = No(e);
46
75
  if (!o.getElementById(t)) {
47
76
  const s = v("style");
48
- s.id = t, s.textContent = r, yo(o, s);
77
+ s.id = t, s.textContent = r, Ho(o, s);
49
78
  }
50
79
  }
51
- function bo(e) {
80
+ function No(e) {
52
81
  if (!e) return document;
53
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
54
83
  return t && /** @type {ShadowRoot} */
@@ -57,7 +86,7 @@ function bo(e) {
57
86
  t
58
87
  ) : e.ownerDocument;
59
88
  }
60
- function yo(e, t) {
89
+ function Ho(e, t) {
61
90
  return h(
62
91
  /** @type {Document} */
63
92
  e.head || e,
@@ -82,7 +111,7 @@ function C(e) {
82
111
  function R() {
83
112
  return C(" ");
84
113
  }
85
- function pr() {
114
+ function vr() {
86
115
  return C("");
87
116
  }
88
117
  function ae(e, t, r, o) {
@@ -91,17 +120,17 @@ function ae(e, t, r, o) {
91
120
  function i(e, t, r) {
92
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
93
122
  }
94
- function vo(e) {
123
+ function Ao(e) {
95
124
  return Array.from(e.childNodes);
96
125
  }
97
126
  function V(e, t) {
98
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
128
  t);
100
129
  }
101
- function Te(e, t) {
102
- e.value = t ?? "";
130
+ function Se(e, t) {
131
+ e.value = t == null ? "" : t;
103
132
  }
104
- function Po(e) {
133
+ function Io(e) {
105
134
  const t = {};
106
135
  return e.childNodes.forEach(
107
136
  /** @param {Element} node */
@@ -110,241 +139,245 @@ function Po(e) {
110
139
  }
111
140
  ), t;
112
141
  }
113
- let De;
114
- function Re(e) {
115
- De = e;
142
+ let Ue;
143
+ function Me(e) {
144
+ Ue = e;
116
145
  }
117
- function Eo() {
118
- if (!De) throw new Error("Function called outside component initialization");
119
- return De;
146
+ function Lo() {
147
+ if (!Ue) throw new Error("Function called outside component initialization");
148
+ return Ue;
120
149
  }
121
- function _o(e) {
122
- Eo().$$.on_mount.push(e);
150
+ function Oo(e) {
151
+ Lo().$$.on_mount.push(e);
123
152
  }
124
- const xe = [], Me = [];
125
- let Se = [];
126
- const Lt = [], xo = /* @__PURE__ */ Promise.resolve();
127
- let ht = !1;
128
- function To() {
129
- ht || (ht = !0, xo.then(ue));
153
+ const Te = [], ke = [];
154
+ let Be = [];
155
+ const Dt = [], Fo = /* @__PURE__ */ Promise.resolve();
156
+ let mt = !1;
157
+ function Ro() {
158
+ mt || (mt = !0, Fo.then(ue));
130
159
  }
131
- function dt(e) {
132
- Se.push(e);
160
+ function gt(e) {
161
+ Be.push(e);
133
162
  }
134
- const nt = /* @__PURE__ */ new Set();
135
- let Ee = 0;
163
+ const lt = /* @__PURE__ */ new Set();
164
+ let _e = 0;
136
165
  function ue() {
137
- if (Ee !== 0)
166
+ if (_e !== 0)
138
167
  return;
139
- const e = De;
168
+ const e = Ue;
140
169
  do {
141
170
  try {
142
- for (; Ee < xe.length; ) {
143
- const t = xe[Ee];
144
- Ee++, Re(t), So(t.$$);
171
+ for (; _e < Te.length; ) {
172
+ const t = Te[_e];
173
+ _e++, Me(t), Mo(t.$$);
145
174
  }
146
175
  } catch (t) {
147
- throw xe.length = 0, Ee = 0, t;
176
+ throw Te.length = 0, _e = 0, t;
148
177
  }
149
- for (Re(null), xe.length = 0, Ee = 0; Me.length; ) Me.pop()();
150
- for (let t = 0; t < Se.length; t += 1) {
151
- const r = Se[t];
152
- nt.has(r) || (nt.add(r), r());
178
+ for (Me(null), Te.length = 0, _e = 0; ke.length; ) ke.pop()();
179
+ for (let t = 0; t < Be.length; t += 1) {
180
+ const r = Be[t];
181
+ lt.has(r) || (lt.add(r), r());
153
182
  }
154
- Se.length = 0;
155
- } while (xe.length);
156
- for (; Lt.length; )
157
- Lt.pop()();
158
- ht = !1, nt.clear(), Re(e);
183
+ Be.length = 0;
184
+ } while (Te.length);
185
+ for (; Dt.length; )
186
+ Dt.pop()();
187
+ mt = !1, lt.clear(), Me(e);
159
188
  }
160
- function So(e) {
189
+ function Mo(e) {
161
190
  if (e.fragment !== null) {
162
- e.update(), be(e.before_update);
191
+ e.update(), ye(e.before_update);
163
192
  const t = e.dirty;
164
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(dt);
193
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(gt);
165
194
  }
166
195
  }
167
- function Bo(e) {
196
+ function ko(e) {
168
197
  const t = [], r = [];
169
- Se.forEach((o) => e.indexOf(o) === -1 ? t.push(o) : r.push(o)), r.forEach((o) => o()), Se = t;
198
+ Be.forEach((o) => e.indexOf(o) === -1 ? t.push(o) : r.push(o)), r.forEach((o) => o()), Be = t;
170
199
  }
171
- const Co = /* @__PURE__ */ new Set();
172
- function No(e, t) {
173
- e && e.i && (Co.delete(e), e.i(t));
200
+ const Do = /* @__PURE__ */ new Set();
201
+ function Uo(e, t) {
202
+ e && e.i && (Do.delete(e), e.i(t));
174
203
  }
175
- function Ho(e, t, r) {
204
+ function Go(e, t, r) {
176
205
  const { fragment: o, after_update: s } = e.$$;
177
- o && o.m(t, r), dt(() => {
178
- const n = e.$$.on_mount.map(cr).filter(ke);
179
- e.$$.on_destroy ? e.$$.on_destroy.push(...n) : be(n), e.$$.on_mount = [];
180
- }), s.forEach(dt);
206
+ o && o.m(t, r), gt(() => {
207
+ const n = e.$$.on_mount.map(wr).filter(De);
208
+ e.$$.on_destroy ? e.$$.on_destroy.push(...n) : ye(n), e.$$.on_mount = [];
209
+ }), s.forEach(gt);
181
210
  }
182
- function Ao(e, t) {
211
+ function jo(e, t) {
183
212
  const r = e.$$;
184
- r.fragment !== null && (Bo(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
+ r.fragment !== null && (ko(r.after_update), ye(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
185
214
  }
186
- function Io(e, t) {
187
- e.$$.dirty[0] === -1 && (xe.push(e), To(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ function $o(e, t) {
216
+ e.$$.dirty[0] === -1 && (Te.push(e), Ro(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
217
  }
189
- function Lo(e, t, r, o, s, n, a = null, l = [-1]) {
190
- const f = De;
191
- Re(e);
192
- const u = e.$$ = {
218
+ function Vo(e, t, r, o, s, n, a = null, l = [-1]) {
219
+ const u = Ue;
220
+ Me(e);
221
+ const f = e.$$ = {
193
222
  fragment: null,
194
223
  ctx: [],
195
224
  // state
196
225
  props: n,
197
- update: ce,
226
+ update: he,
198
227
  not_equal: s,
199
- bound: At(),
228
+ bound: Mt(),
200
229
  // lifecycle
201
230
  on_mount: [],
202
231
  on_destroy: [],
203
232
  on_disconnect: [],
204
233
  before_update: [],
205
234
  after_update: [],
206
- context: new Map(t.context || (f ? f.$$.context : [])),
235
+ context: new Map(t.context || (u ? u.$$.context : [])),
207
236
  // everything else
208
- callbacks: At(),
237
+ callbacks: Mt(),
209
238
  dirty: l,
210
239
  skip_bound: !1,
211
- root: t.target || f.$$.root
240
+ root: t.target || u.$$.root
212
241
  };
213
- a && a(u.root);
242
+ a && a(f.root);
214
243
  let c = !1;
215
- if (u.ctx = r(e, t.props || {}, (d, p, ...m) => {
244
+ if (f.ctx = r(e, t.props || {}, (d, p, ...m) => {
216
245
  const y = m.length ? m[0] : p;
217
- return u.ctx && s(u.ctx[d], u.ctx[d] = y) && (!u.skip_bound && u.bound[d] && u.bound[d](y), c && Io(e, d)), p;
218
- }), u.update(), c = !0, be(u.before_update), u.fragment = o(u.ctx), t.target) {
246
+ return f.ctx && s(f.ctx[d], f.ctx[d] = y) && (!f.skip_bound && f.bound[d] && f.bound[d](y), c && $o(e, d)), p;
247
+ }), f.update(), c = !0, ye(f.before_update), f.fragment = o(f.ctx), t.target) {
219
248
  if (t.hydrate) {
220
- const d = vo(t.target);
221
- u.fragment && u.fragment.l(d), d.forEach(F);
249
+ const d = Ao(t.target);
250
+ f.fragment && f.fragment.l(d), d.forEach(F);
222
251
  } else
223
- u.fragment && u.fragment.c();
224
- t.intro && No(e.$$.fragment), Ho(e, t.target, t.anchor), ue();
252
+ f.fragment && f.fragment.c();
253
+ t.intro && Uo(e.$$.fragment), Go(e, t.target, t.anchor), ue();
225
254
  }
226
- Re(f);
227
- }
228
- let mr;
229
- typeof HTMLElement == "function" && (mr = class extends HTMLElement {
230
- /** The Svelte component constructor */
231
- $$ctor;
232
- /** Slots */
233
- $$s;
234
- /** The Svelte component instance */
235
- $$c;
236
- /** Whether or not the custom element is connected */
237
- $$cn = !1;
238
- /** Component props data */
239
- $$d = {};
240
- /** `true` if currently in the process of reflecting component props back to attributes */
241
- $$r = !1;
242
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
243
- $$p_d = {};
244
- /** @type {Record<string, Function[]>} Event listeners */
245
- $$l = {};
246
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
247
- $$l_u = /* @__PURE__ */ new Map();
248
- constructor(e, t, r) {
249
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
255
+ Me(u);
256
+ }
257
+ let Pr;
258
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
259
+ constructor(t, r, o) {
260
+ super();
261
+ /** The Svelte component constructor */
262
+ ce(this, "$$ctor");
263
+ /** Slots */
264
+ ce(this, "$$s");
265
+ /** The Svelte component instance */
266
+ ce(this, "$$c");
267
+ /** Whether or not the custom element is connected */
268
+ ce(this, "$$cn", !1);
269
+ /** Component props data */
270
+ ce(this, "$$d", {});
271
+ /** `true` if currently in the process of reflecting component props back to attributes */
272
+ ce(this, "$$r", !1);
273
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
274
+ ce(this, "$$p_d", {});
275
+ /** @type {Record<string, Function[]>} Event listeners */
276
+ ce(this, "$$l", {});
277
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
278
+ ce(this, "$$l_u", /* @__PURE__ */ new Map());
279
+ this.$$ctor = t, this.$$s = r, o && this.attachShadow({ mode: "open" });
250
280
  }
251
- addEventListener(e, t, r) {
252
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
253
- const o = this.$$c.$on(e, t);
254
- this.$$l_u.set(t, o);
281
+ addEventListener(t, r, o) {
282
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
283
+ const s = this.$$c.$on(t, r);
284
+ this.$$l_u.set(r, s);
255
285
  }
256
- super.addEventListener(e, t, r);
286
+ super.addEventListener(t, r, o);
257
287
  }
258
- removeEventListener(e, t, r) {
259
- if (super.removeEventListener(e, t, r), this.$$c) {
260
- const o = this.$$l_u.get(t);
261
- o && (o(), this.$$l_u.delete(t));
288
+ removeEventListener(t, r, o) {
289
+ if (super.removeEventListener(t, r, o), this.$$c) {
290
+ const s = this.$$l_u.get(r);
291
+ s && (s(), this.$$l_u.delete(r));
262
292
  }
263
293
  }
264
- async connectedCallback() {
265
- if (this.$$cn = !0, !this.$$c) {
266
- let e = function(s) {
267
- return () => {
268
- let n;
269
- return {
270
- c: function() {
271
- n = v("slot"), s !== "default" && i(n, "name", s);
272
- },
273
- /**
274
- * @param {HTMLElement} target
275
- * @param {HTMLElement} [anchor]
276
- */
277
- m: function(f, u) {
278
- k(f, n, u);
279
- },
280
- d: function(f) {
281
- f && F(n);
282
- }
294
+ connectedCallback() {
295
+ return at(this, null, function* () {
296
+ if (this.$$cn = !0, !this.$$c) {
297
+ let t = function(n) {
298
+ return () => {
299
+ let a;
300
+ return {
301
+ c: function() {
302
+ a = v("slot"), n !== "default" && i(a, "name", n);
303
+ },
304
+ /**
305
+ * @param {HTMLElement} target
306
+ * @param {HTMLElement} [anchor]
307
+ */
308
+ m: function(f, c) {
309
+ k(f, a, c);
310
+ },
311
+ d: function(f) {
312
+ f && F(a);
313
+ }
314
+ };
283
315
  };
284
316
  };
285
- };
286
- if (await Promise.resolve(), !this.$$cn || this.$$c)
287
- return;
288
- const t = {}, r = Po(this);
289
- for (const s of this.$$s)
290
- s in r && (t[s] = [e(s)]);
291
- for (const s of this.attributes) {
292
- const n = this.$$g_p(s.name);
293
- n in this.$$d || (this.$$d[n] = Xe(n, s.value, this.$$p_d, "toProp"));
294
- }
295
- for (const s in this.$$p_d)
296
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
297
- this.$$c = new this.$$ctor({
298
- target: this.shadowRoot || this,
299
- props: {
300
- ...this.$$d,
301
- $$slots: t,
302
- $$scope: {
303
- ctx: []
304
- }
317
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
318
+ return;
319
+ const r = {}, o = Io(this);
320
+ for (const n of this.$$s)
321
+ n in o && (r[n] = [t(n)]);
322
+ for (const n of this.attributes) {
323
+ const a = this.$$g_p(n.name);
324
+ a in this.$$d || (this.$$d[a] = We(a, n.value, this.$$p_d, "toProp"));
305
325
  }
306
- });
307
- const o = () => {
308
- this.$$r = !0;
309
- for (const s in this.$$p_d)
310
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
311
- const n = Xe(
312
- s,
313
- this.$$d[s],
314
- this.$$p_d,
315
- "toAttribute"
316
- );
317
- n == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, n);
326
+ for (const n in this.$$p_d)
327
+ !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
328
+ this.$$c = new this.$$ctor({
329
+ target: this.shadowRoot || this,
330
+ props: Rt(Ft({}, this.$$d), {
331
+ $$slots: r,
332
+ $$scope: {
333
+ ctx: []
334
+ }
335
+ })
336
+ });
337
+ const s = () => {
338
+ this.$$r = !0;
339
+ for (const n in this.$$p_d)
340
+ if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
341
+ const a = We(
342
+ n,
343
+ this.$$d[n],
344
+ this.$$p_d,
345
+ "toAttribute"
346
+ );
347
+ a == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, a);
348
+ }
349
+ this.$$r = !1;
350
+ };
351
+ this.$$c.$$.after_update.push(s), s();
352
+ for (const n in this.$$l)
353
+ for (const a of this.$$l[n]) {
354
+ const l = this.$$c.$on(n, a);
355
+ this.$$l_u.set(a, l);
318
356
  }
319
- this.$$r = !1;
320
- };
321
- this.$$c.$$.after_update.push(o), o();
322
- for (const s in this.$$l)
323
- for (const n of this.$$l[s]) {
324
- const a = this.$$c.$on(s, n);
325
- this.$$l_u.set(n, a);
326
- }
327
- this.$$l = {};
328
- }
357
+ this.$$l = {};
358
+ }
359
+ });
329
360
  }
330
361
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
331
362
  // and setting attributes through setAttribute etc, this is helpful
332
- attributeChangedCallback(e, t, r) {
333
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Xe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
363
+ attributeChangedCallback(t, r, o) {
364
+ var s;
365
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = We(t, o, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [t]: this.$$d[t] }));
334
366
  }
335
367
  disconnectedCallback() {
336
368
  this.$$cn = !1, Promise.resolve().then(() => {
337
369
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
338
370
  });
339
371
  }
340
- $$g_p(e) {
372
+ $$g_p(t) {
341
373
  return Object.keys(this.$$p_d).find(
342
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
343
- ) || e;
374
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
375
+ ) || t;
344
376
  }
345
377
  });
346
- function Xe(e, t, r, o) {
347
- const s = r[e]?.type;
378
+ function We(e, t, r, o) {
379
+ var n;
380
+ const s = (n = r[e]) == null ? void 0 : n.type;
348
381
  if (t = s === "Boolean" && typeof t != "boolean" ? t != null : t, !o || !r[e])
349
382
  return t;
350
383
  if (o === "toAttribute")
@@ -355,7 +388,7 @@ function Xe(e, t, r, o) {
355
388
  case "Boolean":
356
389
  return t ? "" : null;
357
390
  case "Number":
358
- return t ?? null;
391
+ return t == null ? null : t;
359
392
  default:
360
393
  return t;
361
394
  }
@@ -372,8 +405,8 @@ function Xe(e, t, r, o) {
372
405
  return t;
373
406
  }
374
407
  }
375
- function Oo(e, t, r, o, s, n) {
376
- let a = class extends mr {
408
+ function zo(e, t, r, o, s, n) {
409
+ let a = class extends Pr {
377
410
  constructor() {
378
411
  super(e, r, s), this.$$p_d = t;
379
412
  }
@@ -388,39 +421,43 @@ function Oo(e, t, r, o, s, n) {
388
421
  get() {
389
422
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
390
423
  },
391
- set(f) {
392
- f = Xe(l, f, t), this.$$d[l] = f, this.$$c?.$set({ [l]: f });
424
+ set(u) {
425
+ var f;
426
+ u = We(l, u, t), this.$$d[l] = u, (f = this.$$c) == null || f.$set({ [l]: u });
393
427
  }
394
428
  });
395
429
  }), o.forEach((l) => {
396
430
  Object.defineProperty(a.prototype, l, {
397
431
  get() {
398
- return this.$$c?.[l];
432
+ var u;
433
+ return (u = this.$$c) == null ? void 0 : u[l];
399
434
  }
400
435
  });
401
436
  }), e.element = /** @type {any} */
402
437
  a, a;
403
438
  }
404
- class Fo {
405
- /**
406
- * ### PRIVATE API
407
- *
408
- * Do not use, may change at any time
409
- *
410
- * @type {any}
411
- */
412
- $$ = void 0;
413
- /**
414
- * ### PRIVATE API
415
- *
416
- * Do not use, may change at any time
417
- *
418
- * @type {any}
419
- */
420
- $$set = void 0;
439
+ class Xo {
440
+ constructor() {
441
+ /**
442
+ * ### PRIVATE API
443
+ *
444
+ * Do not use, may change at any time
445
+ *
446
+ * @type {any}
447
+ */
448
+ ce(this, "$$");
449
+ /**
450
+ * ### PRIVATE API
451
+ *
452
+ * Do not use, may change at any time
453
+ *
454
+ * @type {any}
455
+ */
456
+ ce(this, "$$set");
457
+ }
421
458
  /** @returns {void} */
422
459
  $destroy() {
423
- Ao(this, 1), this.$destroy = ce;
460
+ jo(this, 1), this.$destroy = he;
424
461
  }
425
462
  /**
426
463
  * @template {Extract<keyof Events, string>} K
@@ -429,8 +466,8 @@ class Fo {
429
466
  * @returns {() => void}
430
467
  */
431
468
  $on(t, r) {
432
- if (!ke(r))
433
- return ce;
469
+ if (!De(r))
470
+ return he;
434
471
  const o = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
435
472
  return o.push(r), () => {
436
473
  const s = o.indexOf(r);
@@ -442,22 +479,22 @@ class Fo {
442
479
  * @returns {void}
443
480
  */
444
481
  $set(t) {
445
- this.$$set && !po(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
+ this.$$set && !To(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
446
483
  }
447
484
  }
448
- const Ro = "4";
449
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ro);
450
- var pt = function(e, t) {
451
- return pt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) {
485
+ const Wo = "4";
486
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wo);
487
+ var wt = function(e, t) {
488
+ return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) {
452
489
  r.__proto__ = o;
453
490
  } || function(r, o) {
454
491
  for (var s in o) Object.prototype.hasOwnProperty.call(o, s) && (r[s] = o[s]);
455
- }, pt(e, t);
492
+ }, wt(e, t);
456
493
  };
457
- function me(e, t) {
494
+ function ge(e, t) {
458
495
  if (typeof t != "function" && t !== null)
459
496
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
460
- pt(e, t);
497
+ wt(e, t);
461
498
  function r() {
462
499
  this.constructor = e;
463
500
  }
@@ -472,7 +509,7 @@ var H = function() {
472
509
  return t;
473
510
  }, H.apply(this, arguments);
474
511
  };
475
- function Mo(e, t) {
512
+ function Zo(e, t) {
476
513
  var r = {};
477
514
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
478
515
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -480,7 +517,7 @@ function Mo(e, t) {
480
517
  t.indexOf(o[s]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[s]) && (r[o[s]] = e[o[s]]);
481
518
  return r;
482
519
  }
483
- function mt(e) {
520
+ function bt(e) {
484
521
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], o = 0;
485
522
  if (r) return r.call(e);
486
523
  if (e && typeof e.length == "number") return {
@@ -490,7 +527,7 @@ function mt(e) {
490
527
  };
491
528
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
492
529
  }
493
- function gt(e, t) {
530
+ function yt(e, t) {
494
531
  var r = typeof Symbol == "function" && e[Symbol.iterator];
495
532
  if (!r) return e;
496
533
  var o = r.call(e), s, n = [], a;
@@ -507,21 +544,21 @@ function gt(e, t) {
507
544
  }
508
545
  return n;
509
546
  }
510
- function Be(e, t, r) {
547
+ function Ce(e, t, r) {
511
548
  if (r || arguments.length === 2) for (var o = 0, s = t.length, n; o < s; o++)
512
549
  (n || !(o in t)) && (n || (n = Array.prototype.slice.call(t, 0, o)), n[o] = t[o]);
513
550
  return e.concat(n || Array.prototype.slice.call(t));
514
551
  }
515
- function pe(e) {
552
+ function me(e) {
516
553
  return typeof e == "function";
517
554
  }
518
- function gr(e) {
555
+ function Er(e) {
519
556
  var t = function(o) {
520
557
  Error.call(o), o.stack = new Error().stack;
521
558
  }, r = e(t);
522
559
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
523
560
  }
524
- var it = gr(function(e) {
561
+ var ut = Er(function(e) {
525
562
  return function(r) {
526
563
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
527
564
  ` + r.map(function(o, s) {
@@ -530,13 +567,13 @@ var it = gr(function(e) {
530
567
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
531
568
  };
532
569
  });
533
- function wt(e, t) {
570
+ function vt(e, t) {
534
571
  if (e) {
535
572
  var r = e.indexOf(t);
536
573
  0 <= r && e.splice(r, 1);
537
574
  }
538
575
  }
539
- var Je = function() {
576
+ var Ke = function() {
540
577
  function e(t) {
541
578
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
542
579
  }
@@ -548,15 +585,15 @@ var Je = function() {
548
585
  if (a)
549
586
  if (this._parentage = null, Array.isArray(a))
550
587
  try {
551
- for (var l = mt(a), f = l.next(); !f.done; f = l.next()) {
552
- var u = f.value;
553
- u.remove(this);
588
+ for (var l = bt(a), u = l.next(); !u.done; u = l.next()) {
589
+ var f = u.value;
590
+ f.remove(this);
554
591
  }
555
592
  } catch (g) {
556
593
  t = { error: g };
557
594
  } finally {
558
595
  try {
559
- f && !f.done && (r = l.return) && r.call(l);
596
+ u && !u.done && (r = l.return) && r.call(l);
560
597
  } finally {
561
598
  if (t) throw t.error;
562
599
  }
@@ -564,22 +601,22 @@ var Je = function() {
564
601
  else
565
602
  a.remove(this);
566
603
  var c = this.initialTeardown;
567
- if (pe(c))
604
+ if (me(c))
568
605
  try {
569
606
  c();
570
607
  } catch (g) {
571
- n = g instanceof it ? g.errors : [g];
608
+ n = g instanceof ut ? g.errors : [g];
572
609
  }
573
610
  var d = this._finalizers;
574
611
  if (d) {
575
612
  this._finalizers = null;
576
613
  try {
577
- for (var p = mt(d), m = p.next(); !m.done; m = p.next()) {
614
+ for (var p = bt(d), m = p.next(); !m.done; m = p.next()) {
578
615
  var y = m.value;
579
616
  try {
580
- Ot(y);
617
+ Ut(y);
581
618
  } catch (g) {
582
- n = n ?? [], g instanceof it ? n = Be(Be([], gt(n)), gt(g.errors)) : n.push(g);
619
+ n = n != null ? n : [], g instanceof ut ? n = Ce(Ce([], yt(n)), yt(g.errors)) : n.push(g);
583
620
  }
584
621
  }
585
622
  } catch (g) {
@@ -593,13 +630,13 @@ var Je = function() {
593
630
  }
594
631
  }
595
632
  if (n)
596
- throw new it(n);
633
+ throw new ut(n);
597
634
  }
598
635
  }, e.prototype.add = function(t) {
599
636
  var r;
600
637
  if (t && t !== this)
601
638
  if (this.closed)
602
- Ot(t);
639
+ Ut(t);
603
640
  else {
604
641
  if (t instanceof e) {
605
642
  if (t.closed || t._hasParent(this))
@@ -616,56 +653,56 @@ var Je = function() {
616
653
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
617
654
  }, e.prototype._removeParent = function(t) {
618
655
  var r = this._parentage;
619
- r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
656
+ r === t ? this._parentage = null : Array.isArray(r) && vt(r, t);
620
657
  }, e.prototype.remove = function(t) {
621
658
  var r = this._finalizers;
622
- r && wt(r, t), t instanceof e && t._removeParent(this);
659
+ r && vt(r, t), t instanceof e && t._removeParent(this);
623
660
  }, e.EMPTY = function() {
624
661
  var t = new e();
625
662
  return t.closed = !0, t;
626
663
  }(), e;
627
- }(), wr = Je.EMPTY;
628
- function br(e) {
629
- return e instanceof Je || e && "closed" in e && pe(e.remove) && pe(e.add) && pe(e.unsubscribe);
664
+ }(), _r = Ke.EMPTY;
665
+ function xr(e) {
666
+ return e instanceof Ke || e && "closed" in e && me(e.remove) && me(e.add) && me(e.unsubscribe);
630
667
  }
631
- function Ot(e) {
632
- pe(e) ? e() : e.unsubscribe();
668
+ function Ut(e) {
669
+ me(e) ? e() : e.unsubscribe();
633
670
  }
634
- var ko = {
671
+ var qo = {
635
672
  onUnhandledError: null,
636
673
  onStoppedNotification: null,
637
674
  Promise: void 0,
638
675
  useDeprecatedSynchronousErrorHandling: !1,
639
676
  useDeprecatedNextContext: !1
640
- }, Do = {
677
+ }, Qo = {
641
678
  setTimeout: function(e, t) {
642
679
  for (var r = [], o = 2; o < arguments.length; o++)
643
680
  r[o - 2] = arguments[o];
644
- return setTimeout.apply(void 0, Be([e, t], gt(r)));
681
+ return setTimeout.apply(void 0, Ce([e, t], yt(r)));
645
682
  },
646
683
  clearTimeout: function(e) {
647
684
  return clearTimeout(e);
648
685
  },
649
686
  delegate: void 0
650
687
  };
651
- function Uo(e) {
652
- Do.setTimeout(function() {
688
+ function Yo(e) {
689
+ Qo.setTimeout(function() {
653
690
  throw e;
654
691
  });
655
692
  }
656
- function Ft() {
693
+ function Gt() {
657
694
  }
658
- function We(e) {
695
+ function Ze(e) {
659
696
  e();
660
697
  }
661
- var yr = function(e) {
662
- me(t, e);
698
+ var Tr = function(e) {
699
+ ge(t, e);
663
700
  function t(r) {
664
701
  var o = e.call(this) || this;
665
- return o.isStopped = !1, r ? (o.destination = r, br(r) && r.add(o)) : o.destination = $o, o;
702
+ return o.isStopped = !1, r ? (o.destination = r, xr(r) && r.add(o)) : o.destination = es, o;
666
703
  }
667
704
  return t.create = function(r, o, s) {
668
- return new bt(r, o, s);
705
+ return new Pt(r, o, s);
669
706
  }, t.prototype.next = function(r) {
670
707
  this.isStopped || this._next(r);
671
708
  }, t.prototype.error = function(r) {
@@ -689,7 +726,7 @@ var yr = function(e) {
689
726
  this.unsubscribe();
690
727
  }
691
728
  }, t;
692
- }(Je), Go = function() {
729
+ }(Ke), Jo = function() {
693
730
  function e(t) {
694
731
  this.partialObserver = t;
695
732
  }
@@ -699,7 +736,7 @@ var yr = function(e) {
699
736
  try {
700
737
  r.next(t);
701
738
  } catch (o) {
702
- Ve(o);
739
+ ze(o);
703
740
  }
704
741
  }, e.prototype.error = function(t) {
705
742
  var r = this.partialObserver;
@@ -707,56 +744,56 @@ var yr = function(e) {
707
744
  try {
708
745
  r.error(t);
709
746
  } catch (o) {
710
- Ve(o);
747
+ ze(o);
711
748
  }
712
749
  else
713
- Ve(t);
750
+ ze(t);
714
751
  }, e.prototype.complete = function() {
715
752
  var t = this.partialObserver;
716
753
  if (t.complete)
717
754
  try {
718
755
  t.complete();
719
756
  } catch (r) {
720
- Ve(r);
757
+ ze(r);
721
758
  }
722
759
  }, e;
723
- }(), bt = function(e) {
724
- me(t, e);
760
+ }(), Pt = function(e) {
761
+ ge(t, e);
725
762
  function t(r, o, s) {
726
763
  var n = e.call(this) || this, a;
727
- return pe(r) || !r ? a = {
728
- next: r ?? void 0,
729
- error: o ?? void 0,
730
- complete: s ?? void 0
731
- } : a = r, n.destination = new Go(a), n;
764
+ return me(r) || !r ? a = {
765
+ next: r != null ? r : void 0,
766
+ error: o != null ? o : void 0,
767
+ complete: s != null ? s : void 0
768
+ } : a = r, n.destination = new Jo(a), n;
732
769
  }
733
770
  return t;
734
- }(yr);
735
- function Ve(e) {
736
- Uo(e);
771
+ }(Tr);
772
+ function ze(e) {
773
+ Yo(e);
737
774
  }
738
- function jo(e) {
775
+ function Ko(e) {
739
776
  throw e;
740
777
  }
741
- var $o = {
778
+ var es = {
742
779
  closed: !0,
743
- next: Ft,
744
- error: jo,
745
- complete: Ft
746
- }, Vo = function() {
780
+ next: Gt,
781
+ error: Ko,
782
+ complete: Gt
783
+ }, ts = function() {
747
784
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
748
785
  }();
749
- function zo(e) {
786
+ function rs(e) {
750
787
  return e;
751
788
  }
752
- function Xo(e) {
753
- return e.length === 0 ? zo : e.length === 1 ? e[0] : function(r) {
789
+ function os(e) {
790
+ return e.length === 0 ? rs : e.length === 1 ? e[0] : function(r) {
754
791
  return e.reduce(function(o, s) {
755
792
  return s(o);
756
793
  }, r);
757
794
  };
758
795
  }
759
- var Rt = function() {
796
+ var jt = function() {
760
797
  function e(t) {
761
798
  t && (this._subscribe = t);
762
799
  }
@@ -764,10 +801,10 @@ var Rt = function() {
764
801
  var r = new e();
765
802
  return r.source = this, r.operator = t, r;
766
803
  }, e.prototype.subscribe = function(t, r, o) {
767
- var s = this, n = Zo(t) ? t : new bt(t, r, o);
768
- return We(function() {
769
- var a = s, l = a.operator, f = a.source;
770
- n.add(l ? l.call(n, f) : f ? s._subscribe(n) : s._trySubscribe(n));
804
+ var s = this, n = ns(t) ? t : new Pt(t, r, o);
805
+ return Ze(function() {
806
+ var a = s, l = a.operator, u = a.source;
807
+ n.add(l ? l.call(n, u) : u ? s._subscribe(n) : s._trySubscribe(n));
771
808
  }), n;
772
809
  }, e.prototype._trySubscribe = function(t) {
773
810
  try {
@@ -777,13 +814,13 @@ var Rt = function() {
777
814
  }
778
815
  }, e.prototype.forEach = function(t, r) {
779
816
  var o = this;
780
- return r = Mt(r), new r(function(s, n) {
781
- var a = new bt({
817
+ return r = $t(r), new r(function(s, n) {
818
+ var a = new Pt({
782
819
  next: function(l) {
783
820
  try {
784
821
  t(l);
785
- } catch (f) {
786
- n(f), a.unsubscribe();
822
+ } catch (u) {
823
+ n(u), a.unsubscribe();
787
824
  }
788
825
  },
789
826
  error: n,
@@ -794,15 +831,15 @@ var Rt = function() {
794
831
  }, e.prototype._subscribe = function(t) {
795
832
  var r;
796
833
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
797
- }, e.prototype[Vo] = function() {
834
+ }, e.prototype[ts] = function() {
798
835
  return this;
799
836
  }, e.prototype.pipe = function() {
800
837
  for (var t = [], r = 0; r < arguments.length; r++)
801
838
  t[r] = arguments[r];
802
- return Xo(t)(this);
839
+ return os(t)(this);
803
840
  }, e.prototype.toPromise = function(t) {
804
841
  var r = this;
805
- return t = Mt(t), new t(function(o, s) {
842
+ return t = $t(t), new t(function(o, s) {
806
843
  var n;
807
844
  r.subscribe(function(a) {
808
845
  return n = a;
@@ -816,45 +853,45 @@ var Rt = function() {
816
853
  return new e(t);
817
854
  }, e;
818
855
  }();
819
- function Mt(e) {
856
+ function $t(e) {
820
857
  var t;
821
- return (t = e ?? ko.Promise) !== null && t !== void 0 ? t : Promise;
858
+ return (t = e != null ? e : qo.Promise) !== null && t !== void 0 ? t : Promise;
822
859
  }
823
- function Wo(e) {
824
- return e && pe(e.next) && pe(e.error) && pe(e.complete);
860
+ function ss(e) {
861
+ return e && me(e.next) && me(e.error) && me(e.complete);
825
862
  }
826
- function Zo(e) {
827
- return e && e instanceof yr || Wo(e) && br(e);
863
+ function ns(e) {
864
+ return e && e instanceof Tr || ss(e) && xr(e);
828
865
  }
829
- var qo = gr(function(e) {
866
+ var is = Er(function(e) {
830
867
  return function() {
831
868
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
832
869
  };
833
- }), vr = function(e) {
834
- me(t, e);
870
+ }), Sr = function(e) {
871
+ ge(t, e);
835
872
  function t() {
836
873
  var r = e.call(this) || this;
837
874
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
838
875
  }
839
876
  return t.prototype.lift = function(r) {
840
- var o = new kt(this, this);
877
+ var o = new Vt(this, this);
841
878
  return o.operator = r, o;
842
879
  }, t.prototype._throwIfClosed = function() {
843
880
  if (this.closed)
844
- throw new qo();
881
+ throw new is();
845
882
  }, t.prototype.next = function(r) {
846
883
  var o = this;
847
- We(function() {
884
+ Ze(function() {
848
885
  var s, n;
849
886
  if (o._throwIfClosed(), !o.isStopped) {
850
887
  o.currentObservers || (o.currentObservers = Array.from(o.observers));
851
888
  try {
852
- for (var a = mt(o.currentObservers), l = a.next(); !l.done; l = a.next()) {
853
- var f = l.value;
854
- f.next(r);
889
+ for (var a = bt(o.currentObservers), l = a.next(); !l.done; l = a.next()) {
890
+ var u = l.value;
891
+ u.next(r);
855
892
  }
856
- } catch (u) {
857
- s = { error: u };
893
+ } catch (f) {
894
+ s = { error: f };
858
895
  } finally {
859
896
  try {
860
897
  l && !l.done && (n = a.return) && n.call(a);
@@ -866,7 +903,7 @@ var qo = gr(function(e) {
866
903
  });
867
904
  }, t.prototype.error = function(r) {
868
905
  var o = this;
869
- We(function() {
906
+ Ze(function() {
870
907
  if (o._throwIfClosed(), !o.isStopped) {
871
908
  o.hasError = o.isStopped = !0, o.thrownError = r;
872
909
  for (var s = o.observers; s.length; )
@@ -875,7 +912,7 @@ var qo = gr(function(e) {
875
912
  });
876
913
  }, t.prototype.complete = function() {
877
914
  var r = this;
878
- We(function() {
915
+ Ze(function() {
879
916
  if (r._throwIfClosed(), !r.isStopped) {
880
917
  r.isStopped = !0;
881
918
  for (var o = r.observers; o.length; )
@@ -897,20 +934,20 @@ var qo = gr(function(e) {
897
934
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
898
935
  }, t.prototype._innerSubscribe = function(r) {
899
936
  var o = this, s = this, n = s.hasError, a = s.isStopped, l = s.observers;
900
- return n || a ? wr : (this.currentObservers = null, l.push(r), new Je(function() {
901
- o.currentObservers = null, wt(l, r);
937
+ return n || a ? _r : (this.currentObservers = null, l.push(r), new Ke(function() {
938
+ o.currentObservers = null, vt(l, r);
902
939
  }));
903
940
  }, t.prototype._checkFinalizedStatuses = function(r) {
904
941
  var o = this, s = o.hasError, n = o.thrownError, a = o.isStopped;
905
942
  s ? r.error(n) : a && r.complete();
906
943
  }, t.prototype.asObservable = function() {
907
- var r = new Rt();
944
+ var r = new jt();
908
945
  return r.source = this, r;
909
946
  }, t.create = function(r, o) {
910
- return new kt(r, o);
947
+ return new Vt(r, o);
911
948
  }, t;
912
- }(Rt), kt = function(e) {
913
- me(t, e);
949
+ }(jt), Vt = function(e) {
950
+ ge(t, e);
914
951
  function t(r, o) {
915
952
  var s = e.call(this) || this;
916
953
  return s.destination = r, s.source = o, s;
@@ -926,214 +963,214 @@ var qo = gr(function(e) {
926
963
  (o = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || o === void 0 || o.call(r);
927
964
  }, t.prototype._subscribe = function(r) {
928
965
  var o, s;
929
- return (s = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(r)) !== null && s !== void 0 ? s : wr;
966
+ return (s = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(r)) !== null && s !== void 0 ? s : _r;
930
967
  }, t;
931
- }(vr), Pr = {
968
+ }(Sr), Br = {
932
969
  now: function() {
933
- return (Pr.delegate || Date).now();
970
+ return (Br.delegate || Date).now();
934
971
  },
935
972
  delegate: void 0
936
- }, Qo = function(e) {
937
- me(t, e);
973
+ }, as = function(e) {
974
+ ge(t, e);
938
975
  function t(r, o, s) {
939
- r === void 0 && (r = 1 / 0), o === void 0 && (o = 1 / 0), s === void 0 && (s = Pr);
976
+ r === void 0 && (r = 1 / 0), o === void 0 && (o = 1 / 0), s === void 0 && (s = Br);
940
977
  var n = e.call(this) || this;
941
978
  return n._bufferSize = r, n._windowTime = o, n._timestampProvider = s, n._buffer = [], n._infiniteTimeWindow = !0, n._infiniteTimeWindow = o === 1 / 0, n._bufferSize = Math.max(1, r), n._windowTime = Math.max(1, o), n;
942
979
  }
943
980
  return t.prototype.next = function(r) {
944
- var o = this, s = o.isStopped, n = o._buffer, a = o._infiniteTimeWindow, l = o._timestampProvider, f = o._windowTime;
945
- s || (n.push(r), !a && n.push(l.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
981
+ var o = this, s = o.isStopped, n = o._buffer, a = o._infiniteTimeWindow, l = o._timestampProvider, u = o._windowTime;
982
+ s || (n.push(r), !a && n.push(l.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
946
983
  }, t.prototype._subscribe = function(r) {
947
984
  this._throwIfClosed(), this._trimBuffer();
948
- for (var o = this._innerSubscribe(r), s = this, n = s._infiniteTimeWindow, a = s._buffer, l = a.slice(), f = 0; f < l.length && !r.closed; f += n ? 1 : 2)
949
- r.next(l[f]);
985
+ for (var o = this._innerSubscribe(r), s = this, n = s._infiniteTimeWindow, a = s._buffer, l = a.slice(), u = 0; u < l.length && !r.closed; u += n ? 1 : 2)
986
+ r.next(l[u]);
950
987
  return this._checkFinalizedStatuses(r), o;
951
988
  }, t.prototype._trimBuffer = function() {
952
989
  var r = this, o = r._bufferSize, s = r._timestampProvider, n = r._buffer, a = r._infiniteTimeWindow, l = (a ? 1 : 2) * o;
953
990
  if (o < 1 / 0 && l < n.length && n.splice(0, n.length - l), !a) {
954
- for (var f = s.now(), u = 0, c = 1; c < n.length && n[c] <= f; c += 2)
955
- u = c;
956
- u && n.splice(0, u + 1);
991
+ for (var u = s.now(), f = 0, c = 1; c < n.length && n[c] <= u; c += 2)
992
+ f = c;
993
+ f && n.splice(0, f + 1);
957
994
  }
958
995
  }, t;
959
- }(vr);
960
- const Dt = [], Ut = {}, Yo = (e, t = 0) => {
961
- if (Dt.indexOf(e) == -1) {
962
- const r = new Qo(t);
963
- Ut[e] = r, Dt.push(e);
996
+ }(Sr);
997
+ const zt = [], Xt = {}, ls = (e, t = 0) => {
998
+ if (zt.indexOf(e) == -1) {
999
+ const r = new as(t);
1000
+ Xt[e] = r, zt.push(e);
964
1001
  }
965
- return Ut[e];
966
- }, _e = [];
967
- function Jo(e, t) {
1002
+ return Xt[e];
1003
+ }, xe = [];
1004
+ function us(e, t) {
968
1005
  return {
969
- subscribe: Ke(e, t).subscribe
1006
+ subscribe: et(e, t).subscribe
970
1007
  };
971
1008
  }
972
- function Ke(e, t = ce) {
1009
+ function et(e, t = he) {
973
1010
  let r;
974
1011
  const o = /* @__PURE__ */ new Set();
975
1012
  function s(l) {
976
- if (hr(e, l) && (e = l, r)) {
977
- const f = !_e.length;
978
- for (const u of o)
979
- u[1](), _e.push(u, e);
980
- if (f) {
981
- for (let u = 0; u < _e.length; u += 2)
982
- _e[u][0](_e[u + 1]);
983
- _e.length = 0;
1013
+ if (br(e, l) && (e = l, r)) {
1014
+ const u = !xe.length;
1015
+ for (const f of o)
1016
+ f[1](), xe.push(f, e);
1017
+ if (u) {
1018
+ for (let f = 0; f < xe.length; f += 2)
1019
+ xe[f][0](xe[f + 1]);
1020
+ xe.length = 0;
984
1021
  }
985
1022
  }
986
1023
  }
987
1024
  function n(l) {
988
1025
  s(l(e));
989
1026
  }
990
- function a(l, f = ce) {
991
- const u = [l, f];
992
- return o.add(u), o.size === 1 && (r = t(s, n) || ce), l(e), () => {
993
- o.delete(u), o.size === 0 && r && (r(), r = null);
1027
+ function a(l, u = he) {
1028
+ const f = [l, u];
1029
+ return o.add(f), o.size === 1 && (r = t(s, n) || he), l(e), () => {
1030
+ o.delete(f), o.size === 0 && r && (r(), r = null);
994
1031
  };
995
1032
  }
996
1033
  return { set: s, update: n, subscribe: a };
997
1034
  }
998
- function Ie(e, t, r) {
1035
+ function Le(e, t, r) {
999
1036
  const o = !Array.isArray(e), s = o ? [e] : e;
1000
1037
  if (!s.every(Boolean))
1001
1038
  throw new Error("derived() expects stores as input, got a falsy value");
1002
1039
  const n = t.length < 2;
1003
- return Jo(r, (a, l) => {
1004
- let f = !1;
1005
- const u = [];
1006
- let c = 0, d = ce;
1040
+ return us(r, (a, l) => {
1041
+ let u = !1;
1042
+ const f = [];
1043
+ let c = 0, d = he;
1007
1044
  const p = () => {
1008
1045
  if (c)
1009
1046
  return;
1010
1047
  d();
1011
- const y = t(o ? u[0] : u, a, l);
1012
- n ? a(y) : d = ke(y) ? y : ce;
1048
+ const y = t(o ? f[0] : f, a, l);
1049
+ n ? a(y) : d = De(y) ? y : he;
1013
1050
  }, m = s.map(
1014
- (y, g) => dr(
1051
+ (y, g) => yr(
1015
1052
  y,
1016
1053
  (x) => {
1017
- u[g] = x, c &= ~(1 << g), f && p();
1054
+ f[g] = x, c &= ~(1 << g), u && p();
1018
1055
  },
1019
1056
  () => {
1020
1057
  c |= 1 << g;
1021
1058
  }
1022
1059
  )
1023
1060
  );
1024
- return f = !0, p(), function() {
1025
- be(m), d(), f = !1;
1061
+ return u = !0, p(), function() {
1062
+ ye(m), d(), u = !1;
1026
1063
  };
1027
1064
  });
1028
1065
  }
1029
- function Ko(e) {
1066
+ function fs(e) {
1030
1067
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1031
1068
  }
1032
- var es = function(t) {
1033
- return ts(t) && !rs(t);
1069
+ var cs = function(t) {
1070
+ return hs(t) && !ds(t);
1034
1071
  };
1035
- function ts(e) {
1072
+ function hs(e) {
1036
1073
  return !!e && typeof e == "object";
1037
1074
  }
1038
- function rs(e) {
1075
+ function ds(e) {
1039
1076
  var t = Object.prototype.toString.call(e);
1040
- return t === "[object RegExp]" || t === "[object Date]" || ns(e);
1077
+ return t === "[object RegExp]" || t === "[object Date]" || gs(e);
1041
1078
  }
1042
- var os = typeof Symbol == "function" && Symbol.for, ss = os ? Symbol.for("react.element") : 60103;
1043
- function ns(e) {
1044
- return e.$$typeof === ss;
1079
+ var ps = typeof Symbol == "function" && Symbol.for, ms = ps ? Symbol.for("react.element") : 60103;
1080
+ function gs(e) {
1081
+ return e.$$typeof === ms;
1045
1082
  }
1046
- function is(e) {
1083
+ function ws(e) {
1047
1084
  return Array.isArray(e) ? [] : {};
1048
1085
  }
1049
- function Ue(e, t) {
1050
- return t.clone !== !1 && t.isMergeableObject(e) ? Ce(is(e), e, t) : e;
1086
+ function Ge(e, t) {
1087
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ne(ws(e), e, t) : e;
1051
1088
  }
1052
- function as(e, t, r) {
1089
+ function bs(e, t, r) {
1053
1090
  return e.concat(t).map(function(o) {
1054
- return Ue(o, r);
1091
+ return Ge(o, r);
1055
1092
  });
1056
1093
  }
1057
- function ls(e, t) {
1094
+ function ys(e, t) {
1058
1095
  if (!t.customMerge)
1059
- return Ce;
1096
+ return Ne;
1060
1097
  var r = t.customMerge(e);
1061
- return typeof r == "function" ? r : Ce;
1098
+ return typeof r == "function" ? r : Ne;
1062
1099
  }
1063
- function us(e) {
1100
+ function vs(e) {
1064
1101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1065
1102
  return Object.propertyIsEnumerable.call(e, t);
1066
1103
  }) : [];
1067
1104
  }
1068
- function Gt(e) {
1069
- return Object.keys(e).concat(us(e));
1105
+ function Wt(e) {
1106
+ return Object.keys(e).concat(vs(e));
1070
1107
  }
1071
- function Er(e, t) {
1108
+ function Cr(e, t) {
1072
1109
  try {
1073
1110
  return t in e;
1074
- } catch {
1111
+ } catch (r) {
1075
1112
  return !1;
1076
1113
  }
1077
1114
  }
1078
- function fs(e, t) {
1079
- return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1115
+ function Ps(e, t) {
1116
+ return Cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
1117
  }
1081
- function cs(e, t, r) {
1118
+ function Es(e, t, r) {
1082
1119
  var o = {};
1083
- return r.isMergeableObject(e) && Gt(e).forEach(function(s) {
1084
- o[s] = Ue(e[s], r);
1085
- }), Gt(t).forEach(function(s) {
1086
- fs(e, s) || (Er(e, s) && r.isMergeableObject(t[s]) ? o[s] = ls(s, r)(e[s], t[s], r) : o[s] = Ue(t[s], r));
1120
+ return r.isMergeableObject(e) && Wt(e).forEach(function(s) {
1121
+ o[s] = Ge(e[s], r);
1122
+ }), Wt(t).forEach(function(s) {
1123
+ Ps(e, s) || (Cr(e, s) && r.isMergeableObject(t[s]) ? o[s] = ys(s, r)(e[s], t[s], r) : o[s] = Ge(t[s], r));
1087
1124
  }), o;
1088
1125
  }
1089
- function Ce(e, t, r) {
1090
- r = r || {}, r.arrayMerge = r.arrayMerge || as, r.isMergeableObject = r.isMergeableObject || es, r.cloneUnlessOtherwiseSpecified = Ue;
1126
+ function Ne(e, t, r) {
1127
+ r = r || {}, r.arrayMerge = r.arrayMerge || bs, r.isMergeableObject = r.isMergeableObject || cs, r.cloneUnlessOtherwiseSpecified = Ge;
1091
1128
  var o = Array.isArray(t), s = Array.isArray(e), n = o === s;
1092
- return n ? o ? r.arrayMerge(e, t, r) : cs(e, t, r) : Ue(t, r);
1129
+ return n ? o ? r.arrayMerge(e, t, r) : Es(e, t, r) : Ge(t, r);
1093
1130
  }
1094
- Ce.all = function(t, r) {
1131
+ Ne.all = function(t, r) {
1095
1132
  if (!Array.isArray(t))
1096
1133
  throw new Error("first argument should be an array");
1097
1134
  return t.reduce(function(o, s) {
1098
- return Ce(o, s, r);
1135
+ return Ne(o, s, r);
1099
1136
  }, {});
1100
1137
  };
1101
- var hs = Ce, ds = hs;
1102
- const ps = /* @__PURE__ */ Ko(ds);
1103
- function at(e, t) {
1104
- var r = t && t.cache ? t.cache : Ps, o = t && t.serializer ? t.serializer : ys, s = t && t.strategy ? t.strategy : gs;
1138
+ var _s = Ne, xs = _s;
1139
+ const Ts = /* @__PURE__ */ fs(xs);
1140
+ function ft(e, t) {
1141
+ var r = t && t.cache ? t.cache : Is, o = t && t.serializer ? t.serializer : Hs, s = t && t.strategy ? t.strategy : Bs;
1105
1142
  return s(e, {
1106
1143
  cache: r,
1107
1144
  serializer: o
1108
1145
  });
1109
1146
  }
1110
- function ms(e) {
1147
+ function Ss(e) {
1111
1148
  return e == null || typeof e == "number" || typeof e == "boolean";
1112
1149
  }
1113
- function _r(e, t, r, o) {
1114
- var s = ms(o) ? o : r(o), n = t.get(s);
1115
- return typeof n > "u" && (n = e.call(this, o), t.set(s, n)), n;
1150
+ function Nr(e, t, r, o) {
1151
+ var s = Ss(o) ? o : r(o), n = t.get(s);
1152
+ return typeof n == "undefined" && (n = e.call(this, o), t.set(s, n)), n;
1116
1153
  }
1117
- function xr(e, t, r) {
1154
+ function Hr(e, t, r) {
1118
1155
  var o = Array.prototype.slice.call(arguments, 3), s = r(o), n = t.get(s);
1119
- return typeof n > "u" && (n = e.apply(this, o), t.set(s, n)), n;
1156
+ return typeof n == "undefined" && (n = e.apply(this, o), t.set(s, n)), n;
1120
1157
  }
1121
- function Bt(e, t, r, o, s) {
1158
+ function Ht(e, t, r, o, s) {
1122
1159
  return r.bind(t, e, o, s);
1123
1160
  }
1124
- function gs(e, t) {
1125
- var r = e.length === 1 ? _r : xr;
1126
- return Bt(e, this, r, t.cache.create(), t.serializer);
1161
+ function Bs(e, t) {
1162
+ var r = e.length === 1 ? Nr : Hr;
1163
+ return Ht(e, this, r, t.cache.create(), t.serializer);
1127
1164
  }
1128
- function ws(e, t) {
1129
- return Bt(e, this, xr, t.cache.create(), t.serializer);
1165
+ function Cs(e, t) {
1166
+ return Ht(e, this, Hr, t.cache.create(), t.serializer);
1130
1167
  }
1131
- function bs(e, t) {
1132
- return Bt(e, this, _r, t.cache.create(), t.serializer);
1168
+ function Ns(e, t) {
1169
+ return Ht(e, this, Nr, t.cache.create(), t.serializer);
1133
1170
  }
1134
- var ys = function() {
1171
+ var Hs = function() {
1135
1172
  return JSON.stringify(arguments);
1136
- }, vs = (
1173
+ }, As = (
1137
1174
  /** @class */
1138
1175
  function() {
1139
1176
  function e() {
@@ -1145,13 +1182,13 @@ var ys = function() {
1145
1182
  this.cache[t] = r;
1146
1183
  }, e;
1147
1184
  }()
1148
- ), Ps = {
1185
+ ), Is = {
1149
1186
  create: function() {
1150
- return new vs();
1187
+ return new As();
1151
1188
  }
1152
- }, lt = {
1153
- variadic: ws,
1154
- monadic: bs
1189
+ }, ct = {
1190
+ variadic: Cs,
1191
+ monadic: Ns
1155
1192
  }, T;
1156
1193
  (function(e) {
1157
1194
  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";
@@ -1160,47 +1197,47 @@ var D;
1160
1197
  (function(e) {
1161
1198
  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";
1162
1199
  })(D || (D = {}));
1163
- var Ne;
1200
+ var He;
1164
1201
  (function(e) {
1165
1202
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1166
- })(Ne || (Ne = {}));
1167
- function jt(e) {
1203
+ })(He || (He = {}));
1204
+ function Zt(e) {
1168
1205
  return e.type === D.literal;
1169
1206
  }
1170
- function Es(e) {
1207
+ function Ls(e) {
1171
1208
  return e.type === D.argument;
1172
1209
  }
1173
- function Tr(e) {
1210
+ function Ar(e) {
1174
1211
  return e.type === D.number;
1175
1212
  }
1176
- function Sr(e) {
1213
+ function Ir(e) {
1177
1214
  return e.type === D.date;
1178
1215
  }
1179
- function Br(e) {
1216
+ function Lr(e) {
1180
1217
  return e.type === D.time;
1181
1218
  }
1182
- function Cr(e) {
1219
+ function Or(e) {
1183
1220
  return e.type === D.select;
1184
1221
  }
1185
- function Nr(e) {
1222
+ function Fr(e) {
1186
1223
  return e.type === D.plural;
1187
1224
  }
1188
- function _s(e) {
1225
+ function Os(e) {
1189
1226
  return e.type === D.pound;
1190
1227
  }
1191
- function Hr(e) {
1228
+ function Rr(e) {
1192
1229
  return e.type === D.tag;
1193
1230
  }
1194
- function Ar(e) {
1195
- return !!(e && typeof e == "object" && e.type === Ne.number);
1231
+ function Mr(e) {
1232
+ return !!(e && typeof e == "object" && e.type === He.number);
1196
1233
  }
1197
- function yt(e) {
1198
- return !!(e && typeof e == "object" && e.type === Ne.dateTime);
1234
+ function Et(e) {
1235
+ return !!(e && typeof e == "object" && e.type === He.dateTime);
1199
1236
  }
1200
- var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xs = /(?:[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;
1201
- function Ts(e) {
1237
+ var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fs = /(?:[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;
1238
+ function Rs(e) {
1202
1239
  var t = {};
1203
- return e.replace(xs, function(r) {
1240
+ return e.replace(Fs, function(r) {
1204
1241
  var o = r.length;
1205
1242
  switch (r[0]) {
1206
1243
  case "G":
@@ -1289,36 +1326,36 @@ function Ts(e) {
1289
1326
  return "";
1290
1327
  }), t;
1291
1328
  }
1292
- var Ss = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1293
- function Bs(e) {
1329
+ var Ms = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1330
+ function ks(e) {
1294
1331
  if (e.length === 0)
1295
1332
  throw new Error("Number skeleton cannot be empty");
1296
- for (var t = e.split(Ss).filter(function(p) {
1333
+ for (var t = e.split(Ms).filter(function(p) {
1297
1334
  return p.length > 0;
1298
1335
  }), r = [], o = 0, s = t; o < s.length; o++) {
1299
1336
  var n = s[o], a = n.split("/");
1300
1337
  if (a.length === 0)
1301
1338
  throw new Error("Invalid number skeleton");
1302
- for (var l = a[0], f = a.slice(1), u = 0, c = f; u < c.length; u++) {
1303
- var d = c[u];
1339
+ for (var l = a[0], u = a.slice(1), f = 0, c = u; f < c.length; f++) {
1340
+ var d = c[f];
1304
1341
  if (d.length === 0)
1305
1342
  throw new Error("Invalid number skeleton");
1306
1343
  }
1307
- r.push({ stem: l, options: f });
1344
+ r.push({ stem: l, options: u });
1308
1345
  }
1309
1346
  return r;
1310
1347
  }
1311
- function Cs(e) {
1348
+ function Ds(e) {
1312
1349
  return e.replace(/^(.*?)-/, "");
1313
1350
  }
1314
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Lr = /^(@+)?(\+|#+)?[rs]?$/g, Ns = /(\*)(0+)|(#+)(0+)|(0+)/g, Or = /^(0+)$/;
1315
- function Vt(e) {
1351
+ var qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, Us = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1352
+ function Qt(e) {
1316
1353
  var t = {};
1317
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Lr, function(r, o, s) {
1354
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, function(r, o, s) {
1318
1355
  return typeof s != "string" ? (t.minimumSignificantDigits = o.length, t.maximumSignificantDigits = o.length) : s === "+" ? t.minimumSignificantDigits = o.length : o[0] === "#" ? t.maximumSignificantDigits = o.length : (t.minimumSignificantDigits = o.length, t.maximumSignificantDigits = o.length + (typeof s == "string" ? s.length : 0)), "";
1319
1356
  }), t;
1320
1357
  }
1321
- function Fr(e) {
1358
+ function Gr(e) {
1322
1359
  switch (e) {
1323
1360
  case "sign-auto":
1324
1361
  return {
@@ -1358,7 +1395,7 @@ function Fr(e) {
1358
1395
  };
1359
1396
  }
1360
1397
  }
1361
- function Hs(e) {
1398
+ function Gs(e) {
1362
1399
  var t;
1363
1400
  if (e[0] === "E" && e[1] === "E" ? (t = {
1364
1401
  notation: "engineering"
@@ -1366,17 +1403,17 @@ function Hs(e) {
1366
1403
  notation: "scientific"
1367
1404
  }, e = e.slice(1)), t) {
1368
1405
  var r = e.slice(0, 2);
1369
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Or.test(e))
1406
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.test(e))
1370
1407
  throw new Error("Malformed concise eng/scientific notation");
1371
1408
  t.minimumIntegerDigits = e.length;
1372
1409
  }
1373
1410
  return t;
1374
1411
  }
1375
- function zt(e) {
1376
- var t = {}, r = Fr(e);
1412
+ function Yt(e) {
1413
+ var t = {}, r = Gr(e);
1377
1414
  return r || t;
1378
1415
  }
1379
- function As(e) {
1416
+ function js(e) {
1380
1417
  for (var t = {}, r = 0, o = e; r < o.length; r++) {
1381
1418
  var s = o[r];
1382
1419
  switch (s.stem) {
@@ -1400,7 +1437,7 @@ function As(e) {
1400
1437
  continue;
1401
1438
  case "measure-unit":
1402
1439
  case "unit":
1403
- t.style = "unit", t.unit = Cs(s.options[0]);
1440
+ t.style = "unit", t.unit = Ds(s.options[0]);
1404
1441
  continue;
1405
1442
  case "compact-short":
1406
1443
  case "K":
@@ -1411,13 +1448,13 @@ function As(e) {
1411
1448
  t.notation = "compact", t.compactDisplay = "long";
1412
1449
  continue;
1413
1450
  case "scientific":
1414
- t = H(H(H({}, t), { notation: "scientific" }), s.options.reduce(function(f, u) {
1415
- return H(H({}, f), zt(u));
1451
+ t = H(H(H({}, t), { notation: "scientific" }), s.options.reduce(function(u, f) {
1452
+ return H(H({}, u), Yt(f));
1416
1453
  }, {}));
1417
1454
  continue;
1418
1455
  case "engineering":
1419
- t = H(H(H({}, t), { notation: "engineering" }), s.options.reduce(function(f, u) {
1420
- return H(H({}, f), zt(u));
1456
+ t = H(H(H({}, t), { notation: "engineering" }), s.options.reduce(function(u, f) {
1457
+ return H(H({}, u), Yt(f));
1421
1458
  }, {}));
1422
1459
  continue;
1423
1460
  case "notation-simple":
@@ -1462,8 +1499,8 @@ function As(e) {
1462
1499
  case "integer-width":
1463
1500
  if (s.options.length > 1)
1464
1501
  throw new RangeError("integer-width stems only accept a single optional option");
1465
- s.options[0].replace(Ns, function(f, u, c, d, p, m) {
1466
- if (u)
1502
+ s.options[0].replace(Us, function(u, f, c, d, p, m) {
1503
+ if (f)
1467
1504
  t.minimumIntegerDigits = c.length;
1468
1505
  else {
1469
1506
  if (d && p)
@@ -1475,32 +1512,32 @@ function As(e) {
1475
1512
  });
1476
1513
  continue;
1477
1514
  }
1478
- if (Or.test(s.stem)) {
1515
+ if (Ur.test(s.stem)) {
1479
1516
  t.minimumIntegerDigits = s.stem.length;
1480
1517
  continue;
1481
1518
  }
1482
- if ($t.test(s.stem)) {
1519
+ if (qt.test(s.stem)) {
1483
1520
  if (s.options.length > 1)
1484
1521
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1485
- s.stem.replace($t, function(f, u, c, d, p, m) {
1486
- return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1522
+ s.stem.replace(qt, function(u, f, c, d, p, m) {
1523
+ return c === "*" ? t.minimumFractionDigits = f.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length), "";
1487
1524
  });
1488
1525
  var n = s.options[0];
1489
- n === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = H(H({}, t), Vt(n)));
1526
+ n === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = H(H({}, t), Qt(n)));
1490
1527
  continue;
1491
1528
  }
1492
- if (Lr.test(s.stem)) {
1493
- t = H(H({}, t), Vt(s.stem));
1529
+ if (Dr.test(s.stem)) {
1530
+ t = H(H({}, t), Qt(s.stem));
1494
1531
  continue;
1495
1532
  }
1496
- var a = Fr(s.stem);
1533
+ var a = Gr(s.stem);
1497
1534
  a && (t = H(H({}, t), a));
1498
- var l = Hs(s.stem);
1535
+ var l = Gs(s.stem);
1499
1536
  l && (t = H(H({}, t), l));
1500
1537
  }
1501
1538
  return t;
1502
1539
  }
1503
- var ze = {
1540
+ var Xe = {
1504
1541
  "001": [
1505
1542
  "H",
1506
1543
  "h"
@@ -2915,22 +2952,22 @@ var ze = {
2915
2952
  "h"
2916
2953
  ]
2917
2954
  };
2918
- function Is(e, t) {
2955
+ function $s(e, t) {
2919
2956
  for (var r = "", o = 0; o < e.length; o++) {
2920
2957
  var s = e.charAt(o);
2921
2958
  if (s === "j") {
2922
2959
  for (var n = 0; o + 1 < e.length && e.charAt(o + 1) === s; )
2923
2960
  n++, o++;
2924
- var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), f = "a", u = Ls(t);
2925
- for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2926
- r += f;
2961
+ var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), u = "a", f = Vs(t);
2962
+ for ((f == "H" || f == "k") && (l = 0); l-- > 0; )
2963
+ r += u;
2927
2964
  for (; a-- > 0; )
2928
- r = u + r;
2965
+ r = f + r;
2929
2966
  } else s === "J" ? r += "H" : r += s;
2930
2967
  }
2931
2968
  return r;
2932
2969
  }
2933
- function Ls(e) {
2970
+ function Vs(e) {
2934
2971
  var t = e.hourCycle;
2935
2972
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2936
2973
  e.hourCycles && // @ts-ignore
@@ -2949,23 +2986,23 @@ function Ls(e) {
2949
2986
  }
2950
2987
  var r = e.language, o;
2951
2988
  r !== "root" && (o = e.maximize().region);
2952
- var s = ze[o || ""] || ze[r || ""] || ze["".concat(r, "-001")] || ze["001"];
2989
+ var s = Xe[o || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
2953
2990
  return s[0];
2954
2991
  }
2955
- var ut, Os = new RegExp("^".concat(Ir.source, "*")), Fs = new RegExp("".concat(Ir.source, "*$"));
2992
+ var ht, zs = new RegExp("^".concat(kr.source, "*")), Xs = new RegExp("".concat(kr.source, "*$"));
2956
2993
  function B(e, t) {
2957
2994
  return { start: e, end: t };
2958
2995
  }
2959
- var Rs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ms = !!String.fromCodePoint, ks = !!Object.fromEntries, Ds = !!String.prototype.codePointAt, Us = !!String.prototype.trimStart, Gs = !!String.prototype.trimEnd, js = !!Number.isSafeInteger, $s = js ? Number.isSafeInteger : function(e) {
2996
+ var Ws = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zs = !!String.fromCodePoint, qs = !!Object.fromEntries, Qs = !!String.prototype.codePointAt, Ys = !!String.prototype.trimStart, Js = !!String.prototype.trimEnd, Ks = !!Number.isSafeInteger, en = Ks ? Number.isSafeInteger : function(e) {
2960
2997
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2961
- }, vt = !0;
2998
+ }, _t = !0;
2962
2999
  try {
2963
- var Vs = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2964
- vt = ((ut = Vs.exec("a")) === null || ut === void 0 ? void 0 : ut[0]) === "a";
2965
- } catch {
2966
- vt = !1;
3000
+ var tn = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3001
+ _t = ((ht = tn.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
3002
+ } catch (e) {
3003
+ _t = !1;
2967
3004
  }
2968
- var Xt = Rs ? (
3005
+ var Jt = Ws ? (
2969
3006
  // Native
2970
3007
  function(t, r, o) {
2971
3008
  return t.startsWith(r, o);
@@ -2975,7 +3012,7 @@ var Xt = Rs ? (
2975
3012
  function(t, r, o) {
2976
3013
  return t.slice(o, o + r.length) === r;
2977
3014
  }
2978
- ), Pt = Ms ? String.fromCodePoint : (
3015
+ ), xt = Zs ? String.fromCodePoint : (
2979
3016
  // IE11
2980
3017
  function() {
2981
3018
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2987,9 +3024,9 @@ var Xt = Rs ? (
2987
3024
  }
2988
3025
  return o;
2989
3026
  }
2990
- ), Wt = (
3027
+ ), Kt = (
2991
3028
  // native
2992
- ks ? Object.fromEntries : (
3029
+ qs ? Object.fromEntries : (
2993
3030
  // Ponyfill
2994
3031
  function(t) {
2995
3032
  for (var r = {}, o = 0, s = t; o < s.length; o++) {
@@ -2999,7 +3036,7 @@ var Xt = Rs ? (
2999
3036
  return r;
3000
3037
  }
3001
3038
  )
3002
- ), Rr = Ds ? (
3039
+ ), jr = Qs ? (
3003
3040
  // Native
3004
3041
  function(t, r) {
3005
3042
  return t.codePointAt(r);
@@ -3013,7 +3050,7 @@ var Xt = Rs ? (
3013
3050
  return s < 55296 || s > 56319 || r + 1 === o || (n = t.charCodeAt(r + 1)) < 56320 || n > 57343 ? s : (s - 55296 << 10) + (n - 56320) + 65536;
3014
3051
  }
3015
3052
  }
3016
- ), zs = Us ? (
3053
+ ), rn = Ys ? (
3017
3054
  // Native
3018
3055
  function(t) {
3019
3056
  return t.trimStart();
@@ -3021,9 +3058,9 @@ var Xt = Rs ? (
3021
3058
  ) : (
3022
3059
  // Ponyfill
3023
3060
  function(t) {
3024
- return t.replace(Os, "");
3061
+ return t.replace(zs, "");
3025
3062
  }
3026
- ), Xs = Gs ? (
3063
+ ), on = Js ? (
3027
3064
  // Native
3028
3065
  function(t) {
3029
3066
  return t.trimEnd();
@@ -3031,32 +3068,32 @@ var Xt = Rs ? (
3031
3068
  ) : (
3032
3069
  // Ponyfill
3033
3070
  function(t) {
3034
- return t.replace(Fs, "");
3071
+ return t.replace(Xs, "");
3035
3072
  }
3036
3073
  );
3037
- function Mr(e, t) {
3074
+ function $r(e, t) {
3038
3075
  return new RegExp(e, t);
3039
3076
  }
3040
- var Et;
3041
- if (vt) {
3042
- var Zt = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3043
- Et = function(t, r) {
3077
+ var Tt;
3078
+ if (_t) {
3079
+ var er = $r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3080
+ Tt = function(t, r) {
3044
3081
  var o;
3045
- Zt.lastIndex = r;
3046
- var s = Zt.exec(t);
3082
+ er.lastIndex = r;
3083
+ var s = er.exec(t);
3047
3084
  return (o = s[1]) !== null && o !== void 0 ? o : "";
3048
3085
  };
3049
3086
  } else
3050
- Et = function(t, r) {
3087
+ Tt = function(t, r) {
3051
3088
  for (var o = []; ; ) {
3052
- var s = Rr(t, r);
3053
- if (s === void 0 || kr(s) || Qs(s))
3089
+ var s = jr(t, r);
3090
+ if (s === void 0 || Vr(s) || ln(s))
3054
3091
  break;
3055
3092
  o.push(s), r += s >= 65536 ? 2 : 1;
3056
3093
  }
3057
- return Pt.apply(void 0, o);
3094
+ return xt.apply(void 0, o);
3058
3095
  };
3059
- var Ws = (
3096
+ var sn = (
3060
3097
  /** @class */
3061
3098
  function() {
3062
3099
  function e(t, r) {
@@ -3087,7 +3124,7 @@ var Ws = (
3087
3124
  if (o)
3088
3125
  break;
3089
3126
  return this.error(T.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
3090
- } else if (n === 60 && !this.ignoreTag && _t(this.peek() || 0)) {
3127
+ } else if (n === 60 && !this.ignoreTag && St(this.peek() || 0)) {
3091
3128
  var a = this.parseTag(t, r);
3092
3129
  if (a.err)
3093
3130
  return a;
@@ -3120,10 +3157,10 @@ var Ws = (
3120
3157
  return n;
3121
3158
  var a = n.val, l = this.clonePosition();
3122
3159
  if (this.bumpIf("</")) {
3123
- if (this.isEOF() || !_t(this.char()))
3160
+ if (this.isEOF() || !St(this.char()))
3124
3161
  return this.error(T.INVALID_TAG, B(l, this.clonePosition()));
3125
- var f = this.clonePosition(), u = this.parseTagName();
3126
- return s !== u ? this.error(T.UNMATCHED_CLOSING_TAG, B(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3162
+ var u = this.clonePosition(), f = this.parseTagName();
3163
+ return s !== f ? this.error(T.UNMATCHED_CLOSING_TAG, B(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3127
3164
  val: {
3128
3165
  type: D.tag,
3129
3166
  value: s,
@@ -3138,7 +3175,7 @@ var Ws = (
3138
3175
  return this.error(T.INVALID_TAG, B(o, this.clonePosition()));
3139
3176
  }, e.prototype.parseTagName = function() {
3140
3177
  var t = this.offset();
3141
- for (this.bump(); !this.isEOF() && qs(this.char()); )
3178
+ for (this.bump(); !this.isEOF() && an(this.char()); )
3142
3179
  this.bump();
3143
3180
  return this.message.slice(t, this.offset());
3144
3181
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3160,14 +3197,14 @@ var Ws = (
3160
3197
  }
3161
3198
  break;
3162
3199
  }
3163
- var f = B(o, this.clonePosition());
3200
+ var u = B(o, this.clonePosition());
3164
3201
  return {
3165
- val: { type: D.literal, value: s, location: f },
3202
+ val: { type: D.literal, value: s, location: u },
3166
3203
  err: null
3167
3204
  };
3168
3205
  }, e.prototype.tryParseLeftAngleBracket = function() {
3169
3206
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3170
- !Zs(this.peek() || 0)) ? (this.bump(), "<") : null;
3207
+ !nn(this.peek() || 0)) ? (this.bump(), "<") : null;
3171
3208
  }, e.prototype.tryParseQuote = function(t) {
3172
3209
  if (this.isEOF() || this.char() !== 39)
3173
3210
  return null;
@@ -3201,12 +3238,12 @@ var Ws = (
3201
3238
  r.push(o);
3202
3239
  this.bump();
3203
3240
  }
3204
- return Pt.apply(void 0, r);
3241
+ return xt.apply(void 0, r);
3205
3242
  }, e.prototype.tryParseUnquoted = function(t, r) {
3206
3243
  if (this.isEOF())
3207
3244
  return null;
3208
3245
  var o = this.char();
3209
- return o === 60 || o === 123 || o === 35 && (r === "plural" || r === "selectordinal") || o === 125 && t > 0 ? null : (this.bump(), Pt(o));
3246
+ return o === 60 || o === 123 || o === 35 && (r === "plural" || r === "selectordinal") || o === 125 && t > 0 ? null : (this.bump(), xt(o));
3210
3247
  }, e.prototype.parseArgument = function(t, r) {
3211
3248
  var o = this.clonePosition();
3212
3249
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3235,39 +3272,39 @@ var Ws = (
3235
3272
  return this.error(T.MALFORMED_ARGUMENT, B(o, this.clonePosition()));
3236
3273
  }
3237
3274
  }, e.prototype.parseIdentifierIfPossible = function() {
3238
- var t = this.clonePosition(), r = this.offset(), o = Et(this.message, r), s = r + o.length;
3275
+ var t = this.clonePosition(), r = this.offset(), o = Tt(this.message, r), s = r + o.length;
3239
3276
  this.bumpTo(s);
3240
3277
  var n = this.clonePosition(), a = B(t, n);
3241
3278
  return { value: o, location: a };
3242
3279
  }, e.prototype.parseArgumentOptions = function(t, r, o, s) {
3243
- var n, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, f = this.clonePosition();
3280
+ var n, a = this.clonePosition(), l = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3244
3281
  switch (l) {
3245
3282
  case "":
3246
- return this.error(T.EXPECT_ARGUMENT_TYPE, B(a, f));
3283
+ return this.error(T.EXPECT_ARGUMENT_TYPE, B(a, u));
3247
3284
  case "number":
3248
3285
  case "date":
3249
3286
  case "time": {
3250
3287
  this.bumpSpace();
3251
- var u = null;
3288
+ var f = null;
3252
3289
  if (this.bumpIf(",")) {
3253
3290
  this.bumpSpace();
3254
3291
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3255
3292
  if (d.err)
3256
3293
  return d;
3257
- var p = Xs(d.val);
3294
+ var p = on(d.val);
3258
3295
  if (p.length === 0)
3259
3296
  return this.error(T.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
3260
3297
  var m = B(c, this.clonePosition());
3261
- u = { style: p, styleLocation: m };
3298
+ f = { style: p, styleLocation: m };
3262
3299
  }
3263
3300
  var y = this.tryParseArgumentClose(s);
3264
3301
  if (y.err)
3265
3302
  return y;
3266
3303
  var g = B(s, this.clonePosition());
3267
- if (u && Xt(u?.style, "::", 0)) {
3268
- var x = zs(u.style.slice(2));
3304
+ if (f && Jt(f == null ? void 0 : f.style, "::", 0)) {
3305
+ var x = rn(f.style.slice(2));
3269
3306
  if (l === "number") {
3270
- var d = this.parseNumberSkeletonFromString(x, u.styleLocation);
3307
+ var d = this.parseNumberSkeletonFromString(x, f.styleLocation);
3271
3308
  return d.err ? d : {
3272
3309
  val: { type: D.number, value: o, location: g, style: d.val },
3273
3310
  err: null
@@ -3276,12 +3313,12 @@ var Ws = (
3276
3313
  if (x.length === 0)
3277
3314
  return this.error(T.EXPECT_DATE_TIME_SKELETON, g);
3278
3315
  var E = x;
3279
- this.locale && (E = Is(x, this.locale));
3316
+ this.locale && (E = $s(x, this.locale));
3280
3317
  var p = {
3281
- type: Ne.dateTime,
3318
+ type: He.dateTime,
3282
3319
  pattern: E,
3283
- location: u.styleLocation,
3284
- parsedOptions: this.shouldParseSkeletons ? Ts(E) : {}
3320
+ location: f.styleLocation,
3321
+ parsedOptions: this.shouldParseSkeletons ? Rs(E) : {}
3285
3322
  }, P = l === "date" ? D.date : D.time;
3286
3323
  return {
3287
3324
  val: { type: P, value: o, location: g, style: p },
@@ -3294,7 +3331,7 @@ var Ws = (
3294
3331
  type: l === "number" ? D.number : l === "date" ? D.date : D.time,
3295
3332
  value: o,
3296
3333
  location: g,
3297
- style: (n = u?.style) !== null && n !== void 0 ? n : null
3334
+ style: (n = f == null ? void 0 : f.style) !== null && n !== void 0 ? n : null
3298
3335
  },
3299
3336
  err: null
3300
3337
  };
@@ -3327,7 +3364,7 @@ var Ws = (
3327
3364
  val: {
3328
3365
  type: D.select,
3329
3366
  value: o,
3330
- options: Wt(M.val),
3367
+ options: Kt(M.val),
3331
3368
  location: O
3332
3369
  },
3333
3370
  err: null
@@ -3335,7 +3372,7 @@ var Ws = (
3335
3372
  val: {
3336
3373
  type: D.plural,
3337
3374
  value: o,
3338
- options: Wt(M.val),
3375
+ options: Kt(M.val),
3339
3376
  offset: A,
3340
3377
  pluralType: l === "plural" ? "cardinal" : "ordinal",
3341
3378
  location: O
@@ -3344,7 +3381,7 @@ var Ws = (
3344
3381
  };
3345
3382
  }
3346
3383
  default:
3347
- return this.error(T.INVALID_ARGUMENT_TYPE, B(a, f));
3384
+ return this.error(T.INVALID_ARGUMENT_TYPE, B(a, u));
3348
3385
  }
3349
3386
  }, e.prototype.tryParseArgumentClose = function(t) {
3350
3387
  return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, B(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3386,34 +3423,34 @@ var Ws = (
3386
3423
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3387
3424
  var o = [];
3388
3425
  try {
3389
- o = Bs(t);
3390
- } catch {
3426
+ o = ks(t);
3427
+ } catch (s) {
3391
3428
  return this.error(T.INVALID_NUMBER_SKELETON, r);
3392
3429
  }
3393
3430
  return {
3394
3431
  val: {
3395
- type: Ne.number,
3432
+ type: He.number,
3396
3433
  tokens: o,
3397
3434
  location: r,
3398
- parsedOptions: this.shouldParseSkeletons ? As(o) : {}
3435
+ parsedOptions: this.shouldParseSkeletons ? js(o) : {}
3399
3436
  },
3400
3437
  err: null
3401
3438
  };
3402
3439
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, o, s) {
3403
- for (var n, a = !1, l = [], f = /* @__PURE__ */ new Set(), u = s.value, c = s.location; ; ) {
3404
- if (u.length === 0) {
3440
+ for (var n, a = !1, l = [], u = /* @__PURE__ */ new Set(), f = s.value, c = s.location; ; ) {
3441
+ if (f.length === 0) {
3405
3442
  var d = this.clonePosition();
3406
3443
  if (r !== "select" && this.bumpIf("=")) {
3407
3444
  var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
3408
3445
  if (p.err)
3409
3446
  return p;
3410
- c = B(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3447
+ c = B(d, this.clonePosition()), f = this.message.slice(d.offset, this.offset());
3411
3448
  } else
3412
3449
  break;
3413
3450
  }
3414
- if (f.has(u))
3451
+ if (u.has(f))
3415
3452
  return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3416
- u === "other" && (a = !0), this.bumpSpace();
3453
+ f === "other" && (a = !0), this.bumpSpace();
3417
3454
  var m = this.clonePosition();
3418
3455
  if (!this.bumpIf("{"))
3419
3456
  return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, B(this.clonePosition(), this.clonePosition()));
@@ -3424,12 +3461,12 @@ var Ws = (
3424
3461
  if (g.err)
3425
3462
  return g;
3426
3463
  l.push([
3427
- u,
3464
+ f,
3428
3465
  {
3429
3466
  value: y.val,
3430
3467
  location: B(m, this.clonePosition())
3431
3468
  }
3432
- ]), f.add(u), this.bumpSpace(), n = this.parseIdentifierIfPossible(), u = n.value, c = n.location;
3469
+ ]), u.add(f), this.bumpSpace(), n = this.parseIdentifierIfPossible(), f = n.value, c = n.location;
3433
3470
  }
3434
3471
  return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(T.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3435
3472
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3442,8 +3479,8 @@ var Ws = (
3442
3479
  else
3443
3480
  break;
3444
3481
  }
3445
- var f = B(s, this.clonePosition());
3446
- return n ? (a *= o, $s(a) ? { val: a, err: null } : this.error(r, f)) : this.error(t, f);
3482
+ var u = B(s, this.clonePosition());
3483
+ return n ? (a *= o, en(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3447
3484
  }, e.prototype.offset = function() {
3448
3485
  return this.position.offset;
3449
3486
  }, e.prototype.isEOF = function() {
@@ -3458,7 +3495,7 @@ var Ws = (
3458
3495
  var t = this.position.offset;
3459
3496
  if (t >= this.message.length)
3460
3497
  throw Error("out of bound");
3461
- var r = Rr(this.message, t);
3498
+ var r = jr(this.message, t);
3462
3499
  if (r === void 0)
3463
3500
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3464
3501
  return r;
@@ -3477,7 +3514,7 @@ var Ws = (
3477
3514
  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);
3478
3515
  }
3479
3516
  }, e.prototype.bumpIf = function(t) {
3480
- if (Xt(this.message, t, this.offset())) {
3517
+ if (Jt(this.message, t, this.offset())) {
3481
3518
  for (var r = 0; r < t.length; r++)
3482
3519
  this.bump();
3483
3520
  return !0;
@@ -3499,56 +3536,56 @@ var Ws = (
3499
3536
  break;
3500
3537
  }
3501
3538
  }, e.prototype.bumpSpace = function() {
3502
- for (; !this.isEOF() && kr(this.char()); )
3539
+ for (; !this.isEOF() && Vr(this.char()); )
3503
3540
  this.bump();
3504
3541
  }, e.prototype.peek = function() {
3505
3542
  if (this.isEOF())
3506
3543
  return null;
3507
3544
  var t = this.char(), r = this.offset(), o = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3508
- return o ?? null;
3545
+ return o != null ? o : null;
3509
3546
  }, e;
3510
3547
  }()
3511
3548
  );
3512
- function _t(e) {
3549
+ function St(e) {
3513
3550
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3514
3551
  }
3515
- function Zs(e) {
3516
- return _t(e) || e === 47;
3552
+ function nn(e) {
3553
+ return St(e) || e === 47;
3517
3554
  }
3518
- function qs(e) {
3555
+ function an(e) {
3519
3556
  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;
3520
3557
  }
3521
- function kr(e) {
3558
+ function Vr(e) {
3522
3559
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3523
3560
  }
3524
- function Qs(e) {
3561
+ function ln(e) {
3525
3562
  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;
3526
3563
  }
3527
- function xt(e) {
3564
+ function Bt(e) {
3528
3565
  e.forEach(function(t) {
3529
- if (delete t.location, Cr(t) || Nr(t))
3566
+ if (delete t.location, Or(t) || Fr(t))
3530
3567
  for (var r in t.options)
3531
- delete t.options[r].location, xt(t.options[r].value);
3532
- else Tr(t) && Ar(t.style) || (Sr(t) || Br(t)) && yt(t.style) ? delete t.style.location : Hr(t) && xt(t.children);
3568
+ delete t.options[r].location, Bt(t.options[r].value);
3569
+ else Ar(t) && Mr(t.style) || (Ir(t) || Lr(t)) && Et(t.style) ? delete t.style.location : Rr(t) && Bt(t.children);
3533
3570
  });
3534
3571
  }
3535
- function Ys(e, t) {
3572
+ function un(e, t) {
3536
3573
  t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3537
- var r = new Ws(e, t).parse();
3574
+ var r = new sn(e, t).parse();
3538
3575
  if (r.err) {
3539
3576
  var o = SyntaxError(T[r.err.kind]);
3540
3577
  throw o.location = r.err.location, o.originalMessage = r.err.message, o;
3541
3578
  }
3542
- return t?.captureLocation || xt(r.val), r.val;
3579
+ return t != null && t.captureLocation || Bt(r.val), r.val;
3543
3580
  }
3544
- var He;
3581
+ var Ae;
3545
3582
  (function(e) {
3546
3583
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3547
- })(He || (He = {}));
3548
- var et = (
3584
+ })(Ae || (Ae = {}));
3585
+ var tt = (
3549
3586
  /** @class */
3550
3587
  function(e) {
3551
- me(t, e);
3588
+ ge(t, e);
3552
3589
  function t(r, o, s) {
3553
3590
  var n = e.call(this, r) || this;
3554
3591
  return n.code = o, n.originalMessage = s, n;
@@ -3557,64 +3594,64 @@ var et = (
3557
3594
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3558
3595
  }, t;
3559
3596
  }(Error)
3560
- ), qt = (
3597
+ ), tr = (
3561
3598
  /** @class */
3562
3599
  function(e) {
3563
- me(t, e);
3600
+ ge(t, e);
3564
3601
  function t(r, o, s, n) {
3565
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(o, '". Options are "').concat(Object.keys(s).join('", "'), '"'), He.INVALID_VALUE, n) || this;
3602
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(o, '". Options are "').concat(Object.keys(s).join('", "'), '"'), Ae.INVALID_VALUE, n) || this;
3566
3603
  }
3567
3604
  return t;
3568
- }(et)
3569
- ), Js = (
3605
+ }(tt)
3606
+ ), fn = (
3570
3607
  /** @class */
3571
3608
  function(e) {
3572
- me(t, e);
3609
+ ge(t, e);
3573
3610
  function t(r, o, s) {
3574
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(o), He.INVALID_VALUE, s) || this;
3611
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(o), Ae.INVALID_VALUE, s) || this;
3575
3612
  }
3576
3613
  return t;
3577
- }(et)
3578
- ), Ks = (
3614
+ }(tt)
3615
+ ), cn = (
3579
3616
  /** @class */
3580
3617
  function(e) {
3581
- me(t, e);
3618
+ ge(t, e);
3582
3619
  function t(r, o) {
3583
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(o, '"'), He.MISSING_VALUE, o) || this;
3620
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(o, '"'), Ae.MISSING_VALUE, o) || this;
3584
3621
  }
3585
3622
  return t;
3586
- }(et)
3623
+ }(tt)
3587
3624
  ), oe;
3588
3625
  (function(e) {
3589
3626
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3590
3627
  })(oe || (oe = {}));
3591
- function en(e) {
3628
+ function hn(e) {
3592
3629
  return e.length < 2 ? e : e.reduce(function(t, r) {
3593
3630
  var o = t[t.length - 1];
3594
3631
  return !o || o.type !== oe.literal || r.type !== oe.literal ? t.push(r) : o.value += r.value, t;
3595
3632
  }, []);
3596
3633
  }
3597
- function tn(e) {
3634
+ function dn(e) {
3598
3635
  return typeof e == "function";
3599
3636
  }
3600
- function Ze(e, t, r, o, s, n, a) {
3601
- if (e.length === 1 && jt(e[0]))
3637
+ function qe(e, t, r, o, s, n, a) {
3638
+ if (e.length === 1 && Zt(e[0]))
3602
3639
  return [
3603
3640
  {
3604
3641
  type: oe.literal,
3605
3642
  value: e[0].value
3606
3643
  }
3607
3644
  ];
3608
- for (var l = [], f = 0, u = e; f < u.length; f++) {
3609
- var c = u[f];
3610
- if (jt(c)) {
3645
+ for (var l = [], u = 0, f = e; u < f.length; u++) {
3646
+ var c = f[u];
3647
+ if (Zt(c)) {
3611
3648
  l.push({
3612
3649
  type: oe.literal,
3613
3650
  value: c.value
3614
3651
  });
3615
3652
  continue;
3616
3653
  }
3617
- if (_s(c)) {
3654
+ if (Os(c)) {
3618
3655
  typeof n == "number" && l.push({
3619
3656
  type: oe.literal,
3620
3657
  value: r.getNumberFormat(t).format(n)
@@ -3623,44 +3660,44 @@ function Ze(e, t, r, o, s, n, a) {
3623
3660
  }
3624
3661
  var d = c.value;
3625
3662
  if (!(s && d in s))
3626
- throw new Ks(d, a);
3663
+ throw new cn(d, a);
3627
3664
  var p = s[d];
3628
- if (Es(c)) {
3665
+ if (Ls(c)) {
3629
3666
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
3630
3667
  type: typeof p == "string" ? oe.literal : oe.object,
3631
3668
  value: p
3632
3669
  });
3633
3670
  continue;
3634
3671
  }
3635
- if (Sr(c)) {
3636
- var m = typeof c.style == "string" ? o.date[c.style] : yt(c.style) ? c.style.parsedOptions : void 0;
3672
+ if (Ir(c)) {
3673
+ var m = typeof c.style == "string" ? o.date[c.style] : Et(c.style) ? c.style.parsedOptions : void 0;
3637
3674
  l.push({
3638
3675
  type: oe.literal,
3639
3676
  value: r.getDateTimeFormat(t, m).format(p)
3640
3677
  });
3641
3678
  continue;
3642
3679
  }
3643
- if (Br(c)) {
3644
- var m = typeof c.style == "string" ? o.time[c.style] : yt(c.style) ? c.style.parsedOptions : o.time.medium;
3680
+ if (Lr(c)) {
3681
+ var m = typeof c.style == "string" ? o.time[c.style] : Et(c.style) ? c.style.parsedOptions : o.time.medium;
3645
3682
  l.push({
3646
3683
  type: oe.literal,
3647
3684
  value: r.getDateTimeFormat(t, m).format(p)
3648
3685
  });
3649
3686
  continue;
3650
3687
  }
3651
- if (Tr(c)) {
3652
- var m = typeof c.style == "string" ? o.number[c.style] : Ar(c.style) ? c.style.parsedOptions : void 0;
3688
+ if (Ar(c)) {
3689
+ var m = typeof c.style == "string" ? o.number[c.style] : Mr(c.style) ? c.style.parsedOptions : void 0;
3653
3690
  m && m.scale && (p = p * (m.scale || 1)), l.push({
3654
3691
  type: oe.literal,
3655
3692
  value: r.getNumberFormat(t, m).format(p)
3656
3693
  });
3657
3694
  continue;
3658
3695
  }
3659
- if (Hr(c)) {
3696
+ if (Rr(c)) {
3660
3697
  var y = c.children, g = c.value, x = s[g];
3661
- if (!tn(x))
3662
- throw new Js(g, "function", a);
3663
- var E = Ze(y, t, r, o, s, n), P = x(E.map(function(A) {
3698
+ if (!dn(x))
3699
+ throw new fn(g, "function", a);
3700
+ var E = qe(y, t, r, o, s, n), P = x(E.map(function(A) {
3664
3701
  return A.value;
3665
3702
  }));
3666
3703
  Array.isArray(P) || (P = [P]), l.push.apply(l, P.map(function(A) {
@@ -3670,42 +3707,42 @@ function Ze(e, t, r, o, s, n, a) {
3670
3707
  };
3671
3708
  }));
3672
3709
  }
3673
- if (Cr(c)) {
3710
+ if (Or(c)) {
3674
3711
  var S = c.options[p] || c.options.other;
3675
3712
  if (!S)
3676
- throw new qt(c.value, p, Object.keys(c.options), a);
3677
- l.push.apply(l, Ze(S.value, t, r, o, s));
3713
+ throw new tr(c.value, p, Object.keys(c.options), a);
3714
+ l.push.apply(l, qe(S.value, t, r, o, s));
3678
3715
  continue;
3679
3716
  }
3680
- if (Nr(c)) {
3717
+ if (Fr(c)) {
3681
3718
  var S = c.options["=".concat(p)];
3682
3719
  if (!S) {
3683
3720
  if (!Intl.PluralRules)
3684
- throw new et(`Intl.PluralRules is not available in this environment.
3721
+ throw new tt(`Intl.PluralRules is not available in this environment.
3685
3722
  Try polyfilling it using "@formatjs/intl-pluralrules"
3686
- `, He.MISSING_INTL_API, a);
3723
+ `, Ae.MISSING_INTL_API, a);
3687
3724
  var _ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3688
3725
  S = c.options[_] || c.options.other;
3689
3726
  }
3690
3727
  if (!S)
3691
- throw new qt(c.value, p, Object.keys(c.options), a);
3692
- l.push.apply(l, Ze(S.value, t, r, o, s, p - (c.offset || 0)));
3728
+ throw new tr(c.value, p, Object.keys(c.options), a);
3729
+ l.push.apply(l, qe(S.value, t, r, o, s, p - (c.offset || 0)));
3693
3730
  continue;
3694
3731
  }
3695
3732
  }
3696
- return en(l);
3733
+ return hn(l);
3697
3734
  }
3698
- function rn(e, t) {
3735
+ function pn(e, t) {
3699
3736
  return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, o) {
3700
3737
  return r[o] = H(H({}, e[o]), t[o] || {}), r;
3701
3738
  }, {})) : e;
3702
3739
  }
3703
- function on(e, t) {
3740
+ function mn(e, t) {
3704
3741
  return t ? Object.keys(e).reduce(function(r, o) {
3705
- return r[o] = rn(e[o], t[o]), r;
3742
+ return r[o] = pn(e[o], t[o]), r;
3706
3743
  }, H({}, e)) : e;
3707
3744
  }
3708
- function ft(e) {
3745
+ function dt(e) {
3709
3746
  return {
3710
3747
  create: function() {
3711
3748
  return {
@@ -3719,39 +3756,39 @@ function ft(e) {
3719
3756
  }
3720
3757
  };
3721
3758
  }
3722
- function sn(e) {
3759
+ function gn(e) {
3723
3760
  return e === void 0 && (e = {
3724
3761
  number: {},
3725
3762
  dateTime: {},
3726
3763
  pluralRules: {}
3727
3764
  }), {
3728
- getNumberFormat: at(function() {
3765
+ getNumberFormat: ft(function() {
3729
3766
  for (var t, r = [], o = 0; o < arguments.length; o++)
3730
3767
  r[o] = arguments[o];
3731
- return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3768
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3732
3769
  }, {
3733
- cache: ft(e.number),
3734
- strategy: lt.variadic
3770
+ cache: dt(e.number),
3771
+ strategy: ct.variadic
3735
3772
  }),
3736
- getDateTimeFormat: at(function() {
3773
+ getDateTimeFormat: ft(function() {
3737
3774
  for (var t, r = [], o = 0; o < arguments.length; o++)
3738
3775
  r[o] = arguments[o];
3739
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3776
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3740
3777
  }, {
3741
- cache: ft(e.dateTime),
3742
- strategy: lt.variadic
3778
+ cache: dt(e.dateTime),
3779
+ strategy: ct.variadic
3743
3780
  }),
3744
- getPluralRules: at(function() {
3781
+ getPluralRules: ft(function() {
3745
3782
  for (var t, r = [], o = 0; o < arguments.length; o++)
3746
3783
  r[o] = arguments[o];
3747
- return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3784
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3748
3785
  }, {
3749
- cache: ft(e.pluralRules),
3750
- strategy: lt.variadic
3786
+ cache: dt(e.pluralRules),
3787
+ strategy: ct.variadic
3751
3788
  })
3752
3789
  };
3753
3790
  }
3754
- var nn = (
3791
+ var wn = (
3755
3792
  /** @class */
3756
3793
  function() {
3757
3794
  function e(t, r, o, s) {
@@ -3761,20 +3798,20 @@ var nn = (
3761
3798
  number: {},
3762
3799
  dateTime: {},
3763
3800
  pluralRules: {}
3764
- }, this.format = function(f) {
3765
- var u = n.formatToParts(f);
3766
- if (u.length === 1)
3767
- return u[0].value;
3768
- var c = u.reduce(function(d, p) {
3801
+ }, this.format = function(u) {
3802
+ var f = n.formatToParts(u);
3803
+ if (f.length === 1)
3804
+ return f[0].value;
3805
+ var c = f.reduce(function(d, p) {
3769
3806
  return !d.length || p.type !== oe.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3770
3807
  }, []);
3771
3808
  return c.length <= 1 ? c[0] || "" : c;
3772
- }, this.formatToParts = function(f) {
3773
- return Ze(n.ast, n.locales, n.formatters, n.formats, f, void 0, n.message);
3809
+ }, this.formatToParts = function(u) {
3810
+ return qe(n.ast, n.locales, n.formatters, n.formats, u, void 0, n.message);
3774
3811
  }, this.resolvedOptions = function() {
3775
- var f;
3812
+ var u;
3776
3813
  return {
3777
- locale: ((f = n.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(n.locales)[0]
3814
+ locale: ((u = n.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(n.locales)[0]
3778
3815
  };
3779
3816
  }, this.getAst = function() {
3780
3817
  return n.ast;
@@ -3783,13 +3820,13 @@ var nn = (
3783
3820
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3784
3821
  var a = s || {};
3785
3822
  a.formatters;
3786
- var l = Mo(a, ["formatters"]);
3823
+ var l = Zo(a, ["formatters"]);
3787
3824
  this.ast = e.__parse(t, H(H({}, l), { locale: this.resolvedLocale }));
3788
3825
  } else
3789
3826
  this.ast = t;
3790
3827
  if (!Array.isArray(this.ast))
3791
3828
  throw new TypeError("A message must be provided as a String or AST.");
3792
- this.formats = on(e.formats, o), this.formatters = s && s.formatters || sn(this.formatterCache);
3829
+ this.formats = mn(e.formats, o), this.formatters = s && s.formatters || gn(this.formatterCache);
3793
3830
  }
3794
3831
  return Object.defineProperty(e, "defaultLocale", {
3795
3832
  get: function() {
@@ -3798,11 +3835,11 @@ var nn = (
3798
3835
  enumerable: !1,
3799
3836
  configurable: !0
3800
3837
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3801
- if (!(typeof Intl.Locale > "u")) {
3838
+ if (typeof Intl.Locale != "undefined") {
3802
3839
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3803
3840
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3804
3841
  }
3805
- }, e.__parse = Ys, e.formats = {
3842
+ }, e.__parse = un, e.formats = {
3806
3843
  number: {
3807
3844
  integer: {
3808
3845
  maximumFractionDigits: 0
@@ -3863,7 +3900,7 @@ var nn = (
3863
3900
  }, e;
3864
3901
  }()
3865
3902
  );
3866
- function an(e, t) {
3903
+ function bn(e, t) {
3867
3904
  if (t == null)
3868
3905
  return;
3869
3906
  if (t in e)
@@ -3884,92 +3921,92 @@ function an(e, t) {
3884
3921
  o = void 0;
3885
3922
  return o;
3886
3923
  }
3887
- const ge = {}, ln = (e, t, r) => r && (t in ge || (ge[t] = {}), e in ge[t] || (ge[t][e] = r), r), Dr = (e, t) => {
3924
+ const we = {}, yn = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), zr = (e, t) => {
3888
3925
  if (t == null)
3889
3926
  return;
3890
- if (t in ge && e in ge[t])
3891
- return ge[t][e];
3892
- const r = tt(t);
3927
+ if (t in we && e in we[t])
3928
+ return we[t][e];
3929
+ const r = rt(t);
3893
3930
  for (let o = 0; o < r.length; o++) {
3894
- const s = r[o], n = fn(s, e);
3931
+ const s = r[o], n = Pn(s, e);
3895
3932
  if (n)
3896
- return ln(e, t, n);
3933
+ return yn(e, t, n);
3897
3934
  }
3898
3935
  };
3899
- let Ct;
3900
- const Le = Ke({});
3901
- function un(e) {
3902
- return Ct[e] || null;
3936
+ let At;
3937
+ const Oe = et({});
3938
+ function vn(e) {
3939
+ return At[e] || null;
3903
3940
  }
3904
- function Ur(e) {
3905
- return e in Ct;
3941
+ function Xr(e) {
3942
+ return e in At;
3906
3943
  }
3907
- function fn(e, t) {
3908
- if (!Ur(e))
3944
+ function Pn(e, t) {
3945
+ if (!Xr(e))
3909
3946
  return null;
3910
- const r = un(e);
3911
- return an(r, t);
3947
+ const r = vn(e);
3948
+ return bn(r, t);
3912
3949
  }
3913
- function cn(e) {
3950
+ function En(e) {
3914
3951
  if (e == null)
3915
3952
  return;
3916
- const t = tt(e);
3953
+ const t = rt(e);
3917
3954
  for (let r = 0; r < t.length; r++) {
3918
3955
  const o = t[r];
3919
- if (Ur(o))
3956
+ if (Xr(o))
3920
3957
  return o;
3921
3958
  }
3922
3959
  }
3923
- function Gr(e, ...t) {
3924
- delete ge[e], Le.update((r) => (r[e] = ps.all([r[e] || {}, ...t]), r));
3960
+ function Wr(e, ...t) {
3961
+ delete we[e], Oe.update((r) => (r[e] = Ts.all([r[e] || {}, ...t]), r));
3925
3962
  }
3926
- Ie(
3927
- [Le],
3963
+ Le(
3964
+ [Oe],
3928
3965
  ([e]) => Object.keys(e)
3929
3966
  );
3930
- Le.subscribe((e) => Ct = e);
3931
- const qe = {};
3932
- function hn(e, t) {
3933
- qe[e].delete(t), qe[e].size === 0 && delete qe[e];
3967
+ Oe.subscribe((e) => At = e);
3968
+ const Qe = {};
3969
+ function _n(e, t) {
3970
+ Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3934
3971
  }
3935
- function jr(e) {
3936
- return qe[e];
3972
+ function Zr(e) {
3973
+ return Qe[e];
3937
3974
  }
3938
- function dn(e) {
3939
- return tt(e).map((t) => {
3940
- const r = jr(t);
3975
+ function xn(e) {
3976
+ return rt(e).map((t) => {
3977
+ const r = Zr(t);
3941
3978
  return [t, r ? [...r] : []];
3942
3979
  }).filter(([, t]) => t.length > 0);
3943
3980
  }
3944
- function Tt(e) {
3945
- return e == null ? !1 : tt(e).some(
3981
+ function Ct(e) {
3982
+ return e == null ? !1 : rt(e).some(
3946
3983
  (t) => {
3947
3984
  var r;
3948
- return (r = jr(t)) == null ? void 0 : r.size;
3985
+ return (r = Zr(t)) == null ? void 0 : r.size;
3949
3986
  }
3950
3987
  );
3951
3988
  }
3952
- function pn(e, t) {
3989
+ function Tn(e, t) {
3953
3990
  return Promise.all(
3954
- t.map((o) => (hn(e, o), o().then((s) => s.default || s)))
3955
- ).then((o) => Gr(e, ...o));
3956
- }
3957
- const Fe = {};
3958
- function $r(e) {
3959
- if (!Tt(e))
3960
- return e in Fe ? Fe[e] : Promise.resolve();
3961
- const t = dn(e);
3962
- return Fe[e] = Promise.all(
3991
+ t.map((o) => (_n(e, o), o().then((s) => s.default || s)))
3992
+ ).then((o) => Wr(e, ...o));
3993
+ }
3994
+ const Re = {};
3995
+ function qr(e) {
3996
+ if (!Ct(e))
3997
+ return e in Re ? Re[e] : Promise.resolve();
3998
+ const t = xn(e);
3999
+ return Re[e] = Promise.all(
3963
4000
  t.map(
3964
- ([r, o]) => pn(r, o)
4001
+ ([r, o]) => Tn(r, o)
3965
4002
  )
3966
4003
  ).then(() => {
3967
- if (Tt(e))
3968
- return $r(e);
3969
- delete Fe[e];
3970
- }), Fe[e];
4004
+ if (Ct(e))
4005
+ return qr(e);
4006
+ delete Re[e];
4007
+ }), Re[e];
3971
4008
  }
3972
- const mn = {
4009
+ const Sn = {
3973
4010
  number: {
3974
4011
  scientific: { notation: "scientific" },
3975
4012
  engineering: { notation: "engineering" },
@@ -3998,150 +4035,150 @@ const mn = {
3998
4035
  timeZoneName: "short"
3999
4036
  }
4000
4037
  }
4001
- }, gn = {
4038
+ }, Bn = {
4002
4039
  fallbackLocale: null,
4003
4040
  loadingDelay: 200,
4004
- formats: mn,
4041
+ formats: Sn,
4005
4042
  warnOnMissingMessages: !0,
4006
4043
  handleMissingMessage: void 0,
4007
4044
  ignoreTag: !0
4008
- }, wn = gn;
4009
- function Ae() {
4010
- return wn;
4045
+ }, Cn = Bn;
4046
+ function Ie() {
4047
+ return Cn;
4011
4048
  }
4012
- const ct = Ke(!1);
4013
- var bn = Object.defineProperty, yn = Object.defineProperties, vn = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable, Yt = (e, t, r) => t in e ? bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _n = (e, t) => {
4049
+ const pt = et(!1);
4050
+ var Nn = Object.defineProperty, Hn = Object.defineProperties, An = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, On = (e, t) => {
4014
4051
  for (var r in t)
4015
- Pn.call(t, r) && Yt(e, r, t[r]);
4016
- if (Qt)
4017
- for (var r of Qt(t))
4018
- En.call(t, r) && Yt(e, r, t[r]);
4052
+ In.call(t, r) && or(e, r, t[r]);
4053
+ if (rr)
4054
+ for (var r of rr(t))
4055
+ Ln.call(t, r) && or(e, r, t[r]);
4019
4056
  return e;
4020
- }, xn = (e, t) => yn(e, vn(t));
4021
- let St;
4022
- const Qe = Ke(null);
4023
- function Jt(e) {
4057
+ }, Fn = (e, t) => Hn(e, An(t));
4058
+ let Nt;
4059
+ const Ye = et(null);
4060
+ function sr(e) {
4024
4061
  return e.split("-").map((t, r, o) => o.slice(0, r + 1).join("-")).reverse();
4025
4062
  }
4026
- function tt(e, t = Ae().fallbackLocale) {
4027
- const r = Jt(e);
4028
- return t ? [.../* @__PURE__ */ new Set([...r, ...Jt(t)])] : r;
4063
+ function rt(e, t = Ie().fallbackLocale) {
4064
+ const r = sr(e);
4065
+ return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
4029
4066
  }
4030
- function ye() {
4031
- return St ?? void 0;
4067
+ function ve() {
4068
+ return Nt != null ? Nt : void 0;
4032
4069
  }
4033
- Qe.subscribe((e) => {
4034
- St = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4070
+ Ye.subscribe((e) => {
4071
+ Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4035
4072
  });
4036
- const Tn = (e) => {
4037
- if (e && cn(e) && Tt(e)) {
4038
- const { loadingDelay: t } = Ae();
4073
+ const Rn = (e) => {
4074
+ if (e && En(e) && Ct(e)) {
4075
+ const { loadingDelay: t } = Ie();
4039
4076
  let r;
4040
- return typeof window < "u" && ye() != null && t ? r = window.setTimeout(
4041
- () => ct.set(!0),
4077
+ return typeof window != "undefined" && ve() != null && t ? r = window.setTimeout(
4078
+ () => pt.set(!0),
4042
4079
  t
4043
- ) : ct.set(!0), $r(e).then(() => {
4044
- Qe.set(e);
4080
+ ) : pt.set(!0), qr(e).then(() => {
4081
+ Ye.set(e);
4045
4082
  }).finally(() => {
4046
- clearTimeout(r), ct.set(!1);
4083
+ clearTimeout(r), pt.set(!1);
4047
4084
  });
4048
4085
  }
4049
- return Qe.set(e);
4050
- }, we = xn(_n({}, Qe), {
4051
- set: Tn
4052
- }), rt = (e) => {
4086
+ return Ye.set(e);
4087
+ }, be = Fn(On({}, Ye), {
4088
+ set: Rn
4089
+ }), ot = (e) => {
4053
4090
  const t = /* @__PURE__ */ Object.create(null);
4054
4091
  return (o) => {
4055
4092
  const s = JSON.stringify(o);
4056
4093
  return s in t ? t[s] : t[s] = e(o);
4057
4094
  };
4058
4095
  };
4059
- var Sn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Vr = Object.prototype.hasOwnProperty, zr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nt = (e, t) => {
4096
+ var Mn = Object.defineProperty, Je = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, It = (e, t) => {
4060
4097
  for (var r in t || (t = {}))
4061
- Vr.call(t, r) && Kt(e, r, t[r]);
4062
- if (Ye)
4063
- for (var r of Ye(t))
4064
- zr.call(t, r) && Kt(e, r, t[r]);
4098
+ Qr.call(t, r) && nr(e, r, t[r]);
4099
+ if (Je)
4100
+ for (var r of Je(t))
4101
+ Yr.call(t, r) && nr(e, r, t[r]);
4065
4102
  return e;
4066
- }, Oe = (e, t) => {
4103
+ }, Fe = (e, t) => {
4067
4104
  var r = {};
4068
4105
  for (var o in e)
4069
- Vr.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
4070
- if (e != null && Ye)
4071
- for (var o of Ye(e))
4072
- t.indexOf(o) < 0 && zr.call(e, o) && (r[o] = e[o]);
4106
+ Qr.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
4107
+ if (e != null && Je)
4108
+ for (var o of Je(e))
4109
+ t.indexOf(o) < 0 && Yr.call(e, o) && (r[o] = e[o]);
4073
4110
  return r;
4074
4111
  };
4075
- const Ge = (e, t) => {
4076
- const { formats: r } = Ae();
4112
+ const je = (e, t) => {
4113
+ const { formats: r } = Ie();
4077
4114
  if (e in r && t in r[e])
4078
4115
  return r[e][t];
4079
4116
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4080
- }, Bn = rt(
4117
+ }, kn = ot(
4081
4118
  (e) => {
4082
- var t = e, { locale: r, format: o } = t, s = Oe(t, ["locale", "format"]);
4119
+ var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
4083
4120
  if (r == null)
4084
4121
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4085
- return o && (s = Ge("number", o)), new Intl.NumberFormat(r, s);
4122
+ return o && (s = je("number", o)), new Intl.NumberFormat(r, s);
4086
4123
  }
4087
- ), Cn = rt(
4124
+ ), Dn = ot(
4088
4125
  (e) => {
4089
- var t = e, { locale: r, format: o } = t, s = Oe(t, ["locale", "format"]);
4126
+ var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
4090
4127
  if (r == null)
4091
4128
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4092
- return o ? s = Ge("date", o) : Object.keys(s).length === 0 && (s = Ge("date", "short")), new Intl.DateTimeFormat(r, s);
4129
+ return o ? s = je("date", o) : Object.keys(s).length === 0 && (s = je("date", "short")), new Intl.DateTimeFormat(r, s);
4093
4130
  }
4094
- ), Nn = rt(
4131
+ ), Un = ot(
4095
4132
  (e) => {
4096
- var t = e, { locale: r, format: o } = t, s = Oe(t, ["locale", "format"]);
4133
+ var t = e, { locale: r, format: o } = t, s = Fe(t, ["locale", "format"]);
4097
4134
  if (r == null)
4098
4135
  throw new Error(
4099
4136
  '[svelte-i18n] A "locale" must be set to format time values'
4100
4137
  );
4101
- return o ? s = Ge("time", o) : Object.keys(s).length === 0 && (s = Ge("time", "short")), new Intl.DateTimeFormat(r, s);
4138
+ return o ? s = je("time", o) : Object.keys(s).length === 0 && (s = je("time", "short")), new Intl.DateTimeFormat(r, s);
4102
4139
  }
4103
- ), Hn = (e = {}) => {
4140
+ ), Gn = (e = {}) => {
4104
4141
  var t = e, {
4105
- locale: r = ye()
4106
- } = t, o = Oe(t, [
4142
+ locale: r = ve()
4143
+ } = t, o = Fe(t, [
4107
4144
  "locale"
4108
4145
  ]);
4109
- return Bn(Nt({ locale: r }, o));
4110
- }, An = (e = {}) => {
4146
+ return kn(It({ locale: r }, o));
4147
+ }, jn = (e = {}) => {
4111
4148
  var t = e, {
4112
- locale: r = ye()
4113
- } = t, o = Oe(t, [
4149
+ locale: r = ve()
4150
+ } = t, o = Fe(t, [
4114
4151
  "locale"
4115
4152
  ]);
4116
- return Cn(Nt({ locale: r }, o));
4117
- }, In = (e = {}) => {
4153
+ return Dn(It({ locale: r }, o));
4154
+ }, $n = (e = {}) => {
4118
4155
  var t = e, {
4119
- locale: r = ye()
4120
- } = t, o = Oe(t, [
4156
+ locale: r = ve()
4157
+ } = t, o = Fe(t, [
4121
4158
  "locale"
4122
4159
  ]);
4123
- return Nn(Nt({ locale: r }, o));
4124
- }, Ln = rt(
4160
+ return Un(It({ locale: r }, o));
4161
+ }, Vn = ot(
4125
4162
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4126
- (e, t = ye()) => new nn(e, t, Ae().formats, {
4127
- ignoreTag: Ae().ignoreTag
4163
+ (e, t = ve()) => new wn(e, t, Ie().formats, {
4164
+ ignoreTag: Ie().ignoreTag
4128
4165
  })
4129
- ), On = (e, t = {}) => {
4166
+ ), zn = (e, t = {}) => {
4130
4167
  var r, o, s, n;
4131
4168
  let a = t;
4132
4169
  typeof e == "object" && (a = e, e = a.id);
4133
4170
  const {
4134
4171
  values: l,
4135
- locale: f = ye(),
4136
- default: u
4172
+ locale: u = ve(),
4173
+ default: f
4137
4174
  } = a;
4138
- if (f == null)
4175
+ if (u == null)
4139
4176
  throw new Error(
4140
4177
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4141
4178
  );
4142
- let c = Dr(e, f);
4179
+ let c = zr(e, u);
4143
4180
  if (!c)
4144
- c = (n = (s = (o = (r = Ae()).handleMissingMessage) == null ? void 0 : o.call(r, { locale: f, id: e, defaultValue: u })) != null ? s : u) != null ? n : e;
4181
+ c = (n = (s = (o = (r = Ie()).handleMissingMessage) == null ? void 0 : o.call(r, { locale: u, id: e, defaultValue: f })) != null ? s : f) != null ? n : e;
4145
4182
  else if (typeof c != "string")
4146
4183
  return console.warn(
4147
4184
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4150,7 +4187,7 @@ const Ge = (e, t) => {
4150
4187
  return c;
4151
4188
  let d = c;
4152
4189
  try {
4153
- d = Ln(c, f).format(l);
4190
+ d = Vn(c, u).format(l);
4154
4191
  } catch (p) {
4155
4192
  p instanceof Error && console.warn(
4156
4193
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4158,25 +4195,25 @@ const Ge = (e, t) => {
4158
4195
  );
4159
4196
  }
4160
4197
  return d;
4161
- }, Fn = (e, t) => In(t).format(e), Rn = (e, t) => An(t).format(e), Mn = (e, t) => Hn(t).format(e), kn = (e, t = ye()) => Dr(e, t), Dn = Ie([we, Le], () => On);
4162
- Ie([we], () => Fn);
4163
- Ie([we], () => Rn);
4164
- Ie([we], () => Mn);
4165
- Ie([we, Le], () => kn);
4166
- window.emWidgets = { topic: Yo };
4167
- const Un = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4168
- function Gn({ withLocale: e, translations: t }) {
4169
- we.subscribe((r) => {
4170
- r == null && (Le.set(t), we.set(e));
4198
+ }, Xn = (e, t) => $n(t).format(e), Wn = (e, t) => jn(t).format(e), Zn = (e, t) => Gn(t).format(e), qn = (e, t = ve()) => zr(e, t), Qn = Le([be, Oe], () => zn);
4199
+ Le([be], () => Xn);
4200
+ Le([be], () => Wn);
4201
+ Le([be], () => Zn);
4202
+ Le([be, Oe], () => qn);
4203
+ window.emWidgets = { topic: ls };
4204
+ const Yn = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4205
+ function Jn({ withLocale: e, translations: t }) {
4206
+ be.subscribe((r) => {
4207
+ r == null && (Oe.set(t), be.set(e));
4171
4208
  });
4172
4209
  }
4173
- function er(e, t) {
4174
- Gr(e, t);
4210
+ function ir(e, t) {
4211
+ Wr(e, t);
4175
4212
  }
4176
- function jn(e) {
4177
- we.set(e);
4213
+ function Kn(e) {
4214
+ be.set(e);
4178
4215
  }
4179
- const tr = {
4216
+ const ar = {
4180
4217
  en: {
4181
4218
  goToLogin: "Back to Sign In",
4182
4219
  forgotPasswordTitle: "Forgot Password",
@@ -4378,15 +4415,15 @@ const tr = {
4378
4415
  forgotChangePasswordLogin: "Click here to Login",
4379
4416
  simplePasswordError: "Password must be 8-20 characters long."
4380
4417
  }
4381
- }, { document: rr } = go;
4382
- function $n(e) {
4383
- wo(e, "svelte-15o9f7t", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input,select{font-family:inherit}.GeneralPlayerForgotPasswordForm{height:auto}.GeneralPlayerForgotPasswordForm .ModalLoaderWrapper{display:flex;height:100%;align-items:center}.GeneralPlayerForgotPasswordForm .ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.GeneralPlayerForgotPasswordForm .ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}.backButtonForgotPassword{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail input:focus,.NewPassword input:focus,.ConfirmPassword input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField input,.NewPassword.InvalidField input,.ConfirmPassword.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton{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(--emw--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}.resetPasswordButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.ResetPasswordByEmail .InvalidInput{bottom:-3px}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4418
+ }, { document: lr } = Bo;
4419
+ function ei(e) {
4420
+ Co(e, "svelte-15o9f7t", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input,select{font-family:inherit}.GeneralPlayerForgotPasswordForm{height:auto}.GeneralPlayerForgotPasswordForm .ModalLoaderWrapper{display:flex;height:100%;align-items:center}.GeneralPlayerForgotPasswordForm .ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.GeneralPlayerForgotPasswordForm .ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}.backButtonForgotPassword{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail input:focus,.NewPassword input:focus,.ConfirmPassword input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField input,.NewPassword.InvalidField input,.ConfirmPassword.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton{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(--emw--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}.resetPasswordButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.ResetPasswordByEmail .InvalidInput{bottom:-3px}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4384
4421
  }
4385
- function or(e) {
4422
+ function ur(e) {
4386
4423
  let t, r;
4387
4424
  return {
4388
4425
  c() {
4389
- t = v("script"), It(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4426
+ t = v("script"), kt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4390
4427
  e[0]) || i(t, "src", r), t.async = !0, t.defer = !0;
4391
4428
  },
4392
4429
  m(o, s) {
@@ -4394,7 +4431,7 @@ function or(e) {
4394
4431
  },
4395
4432
  p(o, s) {
4396
4433
  s[0] & /*captchakey*/
4397
- 1 && !It(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4434
+ 1 && !kt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4398
4435
  o[0]) && i(t, "src", r);
4399
4436
  },
4400
4437
  d(o) {
@@ -4402,25 +4439,25 @@ function or(e) {
4402
4439
  }
4403
4440
  };
4404
4441
  }
4405
- function Vn(e) {
4442
+ function ti(e) {
4406
4443
  let t, r;
4407
4444
  function o(a, l) {
4408
4445
  if (
4409
4446
  /*forgotPasswordScreen*/
4410
4447
  a[5]
4411
- ) return qn;
4448
+ ) return ii;
4412
4449
  if (
4413
4450
  /*forgotPasswordEmailSuccess*/
4414
4451
  a[7]
4415
- ) return Zn;
4452
+ ) return ni;
4416
4453
  if (
4417
4454
  /*newPasswordScreen*/
4418
4455
  a[9]
4419
- ) return Wn;
4456
+ ) return si;
4420
4457
  if (
4421
4458
  /*passwordChangeSuccess*/
4422
4459
  a[10]
4423
- ) return Xn;
4460
+ ) return oi;
4424
4461
  }
4425
4462
  let s = o(e), n = s && s(e);
4426
4463
  return {
@@ -4441,7 +4478,7 @@ function Vn(e) {
4441
4478
  }
4442
4479
  };
4443
4480
  }
4444
- function zn(e) {
4481
+ function ri(e) {
4445
4482
  let t;
4446
4483
  return {
4447
4484
  c() {
@@ -4450,14 +4487,14 @@ function zn(e) {
4450
4487
  m(r, o) {
4451
4488
  k(r, t, o);
4452
4489
  },
4453
- p: ce,
4490
+ p: he,
4454
4491
  d(r) {
4455
4492
  r && F(t);
4456
4493
  }
4457
4494
  };
4458
4495
  }
4459
- function Xn(e) {
4460
- let t, r, o, s, n, a, l, f, u, c, d, p, m, y, g, x = (
4496
+ function oi(e) {
4497
+ let t, r, o, s, n, a, l, u, f, c, d, p, m, y, g, x = (
4461
4498
  /*$_*/
4462
4499
  e[27]("forgotChangePasswordTitle") + ""
4463
4500
  ), E, P, S, _ = (
@@ -4469,10 +4506,10 @@ function Xn(e) {
4469
4506
  ), U, fe, G;
4470
4507
  return {
4471
4508
  c() {
4472
- t = v("div"), r = v("div"), o = v("div"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"), f = b("g"), u = b("g"), c = b("path"), d = b("g"), p = b("circle"), m = b("circle"), y = R(), g = v("h4"), E = C(x), P = R(), S = v("p"), A = C(_), M = R(), O = v("button"), U = C(se), i(c, "class", "a"), i(c, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(c, "transform", "translate(264.272 482.563)"), i(u, "transform", "translate(-7360.574 8503.438)"), i(p, "class", "c"), i(p, "cx", "30"), i(p, "cy", "30"), i(p, "r", "30"), i(m, "class", "d"), i(m, "cx", "30"), i(m, "cy", "30"), i(m, "r", "29"), i(d, "class", "b"), i(d, "transform", "translate(-7106 8970)"), i(f, "transform", "translate(7106 -8970)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "width", "60"), i(s, "height", "60"), i(s, "viewBox", "0 0 60 60"), i(o, "class", "NewPasswordSuccess"), i(o, "part", "NewPasswordSuccess"), i(O, "class", "resetPasswordButton"), i(O, "part", "resetPasswordButton"), i(r, "class", "FormContent"), i(r, "part", "FormContent"), i(t, "class", "FormForgotPassword"), i(t, "part", "FormForgotPassword");
4509
+ t = v("div"), r = v("div"), o = v("div"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"), u = b("g"), f = b("g"), c = b("path"), d = b("g"), p = b("circle"), m = b("circle"), y = R(), g = v("h4"), E = C(x), P = R(), S = v("p"), A = C(_), M = R(), O = v("button"), U = C(se), i(c, "class", "a"), i(c, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(c, "transform", "translate(264.272 482.563)"), i(f, "transform", "translate(-7360.574 8503.438)"), i(p, "class", "c"), i(p, "cx", "30"), i(p, "cy", "30"), i(p, "r", "30"), i(m, "class", "d"), i(m, "cx", "30"), i(m, "cy", "30"), i(m, "r", "29"), i(d, "class", "b"), i(d, "transform", "translate(-7106 8970)"), i(u, "transform", "translate(7106 -8970)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "width", "60"), i(s, "height", "60"), i(s, "viewBox", "0 0 60 60"), i(o, "class", "NewPasswordSuccess"), i(o, "part", "NewPasswordSuccess"), i(O, "class", "resetPasswordButton"), i(O, "part", "resetPasswordButton"), i(r, "class", "FormContent"), i(r, "part", "FormContent"), i(t, "class", "FormForgotPassword"), i(t, "part", "FormForgotPassword");
4473
4510
  },
4474
4511
  m(X, W) {
4475
- k(X, t, W), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, f), h(f, u), h(u, c), h(f, d), h(d, p), h(d, m), h(o, y), h(o, g), h(g, E), h(o, P), h(o, S), h(S, A), h(r, M), h(r, O), h(O, U), fe || (G = ae(
4512
+ k(X, t, W), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, u), h(u, f), h(f, c), h(u, d), h(d, p), h(d, m), h(o, y), h(o, g), h(g, E), h(o, P), h(o, S), h(S, A), h(r, M), h(r, O), h(O, U), fe || (G = ae(
4476
4513
  O,
4477
4514
  "click",
4478
4515
  /*click_handler_7*/
@@ -4493,62 +4530,62 @@ function Xn(e) {
4493
4530
  }
4494
4531
  };
4495
4532
  }
4496
- function Wn(e) {
4497
- let t, r, o, s, n, a, l, f, u, c = (
4533
+ function si(e) {
4534
+ let t, r, o, s, n, a, l, u, f, c = (
4498
4535
  /*$_*/
4499
4536
  e[27]("forgotNewPasswordPassword") + ""
4500
4537
  ), d, p, m, y, g, x, E, P, S, _, A, M = (
4501
4538
  /*$_*/
4502
4539
  e[27]("forgotNewPasswordConfirmPassword") + ""
4503
- ), O, se, U, fe, G, X, W, he, Z, q, le = (
4540
+ ), O, se, U, fe, G, X, W, de, Z, q, le = (
4504
4541
  /*$_*/
4505
4542
  e[27]("forgotNewPasswordButton") + ""
4506
4543
  ), K, ee, ne, j, N = (
4507
4544
  /*subtitleText*/
4508
- e[26] && sr(e)
4545
+ e[26] && fr(e)
4509
4546
  );
4510
- function z(de, $) {
4547
+ function z(pe, $) {
4511
4548
  return (
4512
4549
  /*isNewPasswordVisible*/
4513
- de[20] ? Yn : Qn
4550
+ pe[20] ? li : ai
4514
4551
  );
4515
4552
  }
4516
4553
  let I = z(e), L = I(e), te = (
4517
4554
  /*invalidNewPassword*/
4518
- e[16] && nr(e)
4555
+ e[16] && cr(e)
4519
4556
  );
4520
- function je(de, $) {
4557
+ function $e(pe, $) {
4521
4558
  return (
4522
4559
  /*isConfirmPasswordVisible*/
4523
- de[21] ? ti : ei
4560
+ pe[21] ? hi : ci
4524
4561
  );
4525
4562
  }
4526
- let ve = je(e), re = ve(e), Q = (
4563
+ let Pe = $e(e), re = Pe(e), Q = (
4527
4564
  /*invalidConfirmPassword*/
4528
- e[17] && ir(e)
4565
+ e[17] && hr(e)
4529
4566
  ), Y = (
4530
4567
  /*setPasswordError*/
4531
- e[24] && ar(e)
4568
+ e[24] && dr(e)
4532
4569
  );
4533
4570
  return {
4534
4571
  c() {
4535
4572
  t = v("div"), r = v("div"), o = v("h4"), s = C(
4536
4573
  /*titleText*/
4537
4574
  e[25]
4538
- ), n = R(), N && N.c(), a = R(), l = v("form"), f = v("div"), u = v("label"), d = C(c), p = C(":"), m = v("span"), m.textContent = "*", y = R(), g = v("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = v("div"), A = v("label"), O = C(M), se = C(":"), U = v("span"), U.textContent = "*", fe = R(), G = v("input"), X = R(), re.c(), W = R(), Q && Q.c(), he = R(), Y && Y.c(), Z = R(), q = v("button"), K = C(le), i(o, "class", "FormHeaderTitle"), i(o, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(r, "part", "FormHeader"), i(m, "class", "FormRequired"), i(m, "part", "FormRequired"), i(u, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4539
- e[2] ? "new-password" : "off"), i(f, "class", "NewPassword"), i(f, "part", "NewPassword"), i(U, "class", "FormRequired"), i(U, "part", "FormRequired"), i(A, "for", "RetypePassword"), i(G, "type", "password"), i(G, "id", "RetypePassword"), i(_, "class", "ConfirmPassword"), i(_, "part", "ConfirmPassword"), i(q, "class", "resetPasswordButton"), i(q, "part", "resetPasswordButton"), q.disabled = ee = !/*activateSubmit*/
4575
+ ), n = R(), N && N.c(), a = R(), l = v("form"), u = v("div"), f = v("label"), d = C(c), p = C(":"), m = v("span"), m.textContent = "*", y = R(), g = v("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = v("div"), A = v("label"), O = C(M), se = C(":"), U = v("span"), U.textContent = "*", fe = R(), G = v("input"), X = R(), re.c(), W = R(), Q && Q.c(), de = R(), Y && Y.c(), Z = R(), q = v("button"), K = C(le), i(o, "class", "FormHeaderTitle"), i(o, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(r, "part", "FormHeader"), i(m, "class", "FormRequired"), i(m, "part", "FormRequired"), i(f, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4576
+ e[2] ? "new-password" : "off"), i(u, "class", "NewPassword"), i(u, "part", "NewPassword"), i(U, "class", "FormRequired"), i(U, "part", "FormRequired"), i(A, "for", "RetypePassword"), i(G, "type", "password"), i(G, "id", "RetypePassword"), i(_, "class", "ConfirmPassword"), i(_, "part", "ConfirmPassword"), i(q, "class", "resetPasswordButton"), i(q, "part", "resetPasswordButton"), q.disabled = ee = !/*activateSubmit*/
4540
4577
  e[15], i(l, "class", "FormContent"), i(l, "part", "FormContent"), i(t, "class", "FormForgotPassword test"), i(t, "part", "FormForgotPassword test");
4541
4578
  },
4542
- m(de, $) {
4543
- k(de, t, $), h(t, r), h(r, o), h(o, s), h(r, n), N && N.m(r, null), h(t, a), h(t, l), h(l, f), h(f, u), h(u, d), h(u, p), h(u, m), h(f, y), h(f, g), Te(
4579
+ m(pe, $) {
4580
+ k(pe, t, $), h(t, r), h(r, o), h(o, s), h(r, n), N && N.m(r, null), h(t, a), h(t, l), h(l, u), h(u, f), h(f, d), h(f, p), h(f, m), h(u, y), h(u, g), Se(
4544
4581
  g,
4545
4582
  /*userNewPassword*/
4546
4583
  e[22]
4547
- ), e[46](g), h(f, E), L.m(f, null), h(f, P), te && te.m(f, null), h(l, S), h(l, _), h(_, A), h(A, O), h(A, se), h(A, U), h(_, fe), h(_, G), Te(
4584
+ ), e[46](g), h(u, E), L.m(u, null), h(u, P), te && te.m(u, null), h(l, S), h(l, _), h(_, A), h(A, O), h(A, se), h(A, U), h(_, fe), h(_, G), Se(
4548
4585
  G,
4549
4586
  /*userConfirmPassword*/
4550
4587
  e[23]
4551
- ), e[50](G), h(_, X), re.m(_, null), h(_, W), Q && Q.m(_, null), h(l, he), Y && Y.m(l, null), h(l, Z), h(l, q), h(q, K), ne || (j = [
4588
+ ), e[50](G), h(_, X), re.m(_, null), h(_, W), Q && Q.m(_, null), h(l, de), Y && Y.m(l, null), h(l, Z), h(l, q), h(q, K), ne || (j = [
4552
4589
  ae(
4553
4590
  g,
4554
4591
  "input",
@@ -4556,7 +4593,7 @@ function Wn(e) {
4556
4593
  e[45]
4557
4594
  ),
4558
4595
  ae(g, "keyup", function() {
4559
- ke(
4596
+ De(
4560
4597
  /*validatePassword*/
4561
4598
  e[33](
4562
4599
  /*invalidNewPassword*/
@@ -4582,7 +4619,7 @@ function Wn(e) {
4582
4619
  e[49]
4583
4620
  ),
4584
4621
  ae(G, "keyup", function() {
4585
- ke(
4622
+ De(
4586
4623
  /*validatePassword*/
4587
4624
  e[33](
4588
4625
  /*invalidConfirmPassword*/
@@ -4609,47 +4646,47 @@ function Wn(e) {
4609
4646
  )
4610
4647
  ], ne = !0);
4611
4648
  },
4612
- p(de, $) {
4613
- e = de, $[0] & /*titleText*/
4649
+ p(pe, $) {
4650
+ e = pe, $[0] & /*titleText*/
4614
4651
  33554432 && V(
4615
4652
  s,
4616
4653
  /*titleText*/
4617
4654
  e[25]
4618
4655
  ), /*subtitleText*/
4619
- e[26] ? N ? N.p(e, $) : (N = sr(e), N.c(), N.m(r, null)) : N && (N.d(1), N = null), $[0] & /*$_*/
4656
+ e[26] ? N ? N.p(e, $) : (N = fr(e), N.c(), N.m(r, null)) : N && (N.d(1), N = null), $[0] & /*$_*/
4620
4657
  134217728 && c !== (c = /*$_*/
4621
4658
  e[27]("forgotNewPasswordPassword") + "") && V(d, c), $[0] & /*savecredentials*/
4622
4659
  4 && x !== (x = /*savecredentials*/
4623
4660
  e[2] ? "new-password" : "off") && i(g, "autocomplete", x), $[0] & /*userNewPassword*/
4624
4661
  4194304 && g.value !== /*userNewPassword*/
4625
- e[22] && Te(
4662
+ e[22] && Se(
4626
4663
  g,
4627
4664
  /*userNewPassword*/
4628
4665
  e[22]
4629
- ), I === (I = z(e)) && L ? L.p(e, $) : (L.d(1), L = I(e), L && (L.c(), L.m(f, P))), /*invalidNewPassword*/
4630
- e[16] ? te ? te.p(e, $) : (te = nr(e), te.c(), te.m(f, null)) : te && (te.d(1), te = null), $[0] & /*$_*/
4666
+ ), I === (I = z(e)) && L ? L.p(e, $) : (L.d(1), L = I(e), L && (L.c(), L.m(u, P))), /*invalidNewPassword*/
4667
+ e[16] ? te ? te.p(e, $) : (te = cr(e), te.c(), te.m(u, null)) : te && (te.d(1), te = null), $[0] & /*$_*/
4631
4668
  134217728 && M !== (M = /*$_*/
4632
4669
  e[27]("forgotNewPasswordConfirmPassword") + "") && V(O, M), $[0] & /*userConfirmPassword*/
4633
4670
  8388608 && G.value !== /*userConfirmPassword*/
4634
- e[23] && Te(
4671
+ e[23] && Se(
4635
4672
  G,
4636
4673
  /*userConfirmPassword*/
4637
4674
  e[23]
4638
- ), ve === (ve = je(e)) && re ? re.p(e, $) : (re.d(1), re = ve(e), re && (re.c(), re.m(_, W))), /*invalidConfirmPassword*/
4639
- e[17] ? Q ? Q.p(e, $) : (Q = ir(e), Q.c(), Q.m(_, null)) : Q && (Q.d(1), Q = null), /*setPasswordError*/
4640
- e[24] ? Y ? Y.p(e, $) : (Y = ar(e), Y.c(), Y.m(l, Z)) : Y && (Y.d(1), Y = null), $[0] & /*$_*/
4675
+ ), Pe === (Pe = $e(e)) && re ? re.p(e, $) : (re.d(1), re = Pe(e), re && (re.c(), re.m(_, W))), /*invalidConfirmPassword*/
4676
+ e[17] ? Q ? Q.p(e, $) : (Q = hr(e), Q.c(), Q.m(_, null)) : Q && (Q.d(1), Q = null), /*setPasswordError*/
4677
+ e[24] ? Y ? Y.p(e, $) : (Y = dr(e), Y.c(), Y.m(l, Z)) : Y && (Y.d(1), Y = null), $[0] & /*$_*/
4641
4678
  134217728 && le !== (le = /*$_*/
4642
4679
  e[27]("forgotNewPasswordButton") + "") && V(K, le), $[0] & /*activateSubmit*/
4643
4680
  32768 && ee !== (ee = !/*activateSubmit*/
4644
4681
  e[15]) && (q.disabled = ee);
4645
4682
  },
4646
- d(de) {
4647
- de && F(t), N && N.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), Y && Y.d(), ne = !1, be(j);
4683
+ d(pe) {
4684
+ pe && F(t), N && N.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), Y && Y.d(), ne = !1, ye(j);
4648
4685
  }
4649
4686
  };
4650
4687
  }
4651
- function Zn(e) {
4652
- let t, r, o, s, n, a, l, f, u, c, d, p, m, y, g, x = (
4688
+ function ni(e) {
4689
+ let t, r, o, s, n, a, l, u, f, c, d, p, m, y, g, x = (
4653
4690
  /*$_*/
4654
4691
  e[27]("forgotPasswordSuccess") + ""
4655
4692
  ), E, P, S, _ = (
@@ -4658,10 +4695,10 @@ function Zn(e) {
4658
4695
  ), A;
4659
4696
  return {
4660
4697
  c() {
4661
- t = v("div"), r = v("div"), o = v("div"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"), f = b("g"), u = b("g"), c = b("path"), d = b("g"), p = b("circle"), m = b("circle"), y = R(), g = v("h4"), E = C(x), P = R(), S = v("p"), A = C(_), i(c, "class", "a"), i(c, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(c, "transform", "translate(264.272 482.563)"), i(u, "transform", "translate(-7360.574 8503.438)"), i(p, "class", "c"), i(p, "cx", "30"), i(p, "cy", "30"), i(p, "r", "30"), i(m, "class", "d"), i(m, "cx", "30"), i(m, "cy", "30"), i(m, "r", "29"), i(d, "class", "b"), i(d, "transform", "translate(-7106 8970)"), i(f, "transform", "translate(7106 -8970)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "width", "60"), i(s, "height", "60"), i(s, "viewBox", "0 0 60 60"), i(o, "class", "NewPasswordSuccess"), i(o, "part", "NewPasswordSuccess"), i(r, "class", "FormContent"), i(r, "part", "FormContent"), i(t, "class", "FormForgotPassword"), i(t, "part", "FormForgotPassword");
4698
+ t = v("div"), r = v("div"), o = v("div"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"), u = b("g"), f = b("g"), c = b("path"), d = b("g"), p = b("circle"), m = b("circle"), y = R(), g = v("h4"), E = C(x), P = R(), S = v("p"), A = C(_), i(c, "class", "a"), i(c, "d", "M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"), i(c, "transform", "translate(264.272 482.563)"), i(f, "transform", "translate(-7360.574 8503.438)"), i(p, "class", "c"), i(p, "cx", "30"), i(p, "cy", "30"), i(p, "r", "30"), i(m, "class", "d"), i(m, "cx", "30"), i(m, "cy", "30"), i(m, "r", "29"), i(d, "class", "b"), i(d, "transform", "translate(-7106 8970)"), i(u, "transform", "translate(7106 -8970)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "width", "60"), i(s, "height", "60"), i(s, "viewBox", "0 0 60 60"), i(o, "class", "NewPasswordSuccess"), i(o, "part", "NewPasswordSuccess"), i(r, "class", "FormContent"), i(r, "part", "FormContent"), i(t, "class", "FormForgotPassword"), i(t, "part", "FormForgotPassword");
4662
4699
  },
4663
4700
  m(M, O) {
4664
- k(M, t, O), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, f), h(f, u), h(u, c), h(f, d), h(d, p), h(d, m), h(o, y), h(o, g), h(g, E), h(o, P), h(o, S), h(S, A);
4701
+ k(M, t, O), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, u), h(u, f), h(f, c), h(u, d), h(d, p), h(d, m), h(o, y), h(o, g), h(g, E), h(o, P), h(o, S), h(S, A);
4665
4702
  },
4666
4703
  p(M, O) {
4667
4704
  O[0] & /*$_*/
@@ -4675,42 +4712,42 @@ function Zn(e) {
4675
4712
  }
4676
4713
  };
4677
4714
  }
4678
- function qn(e) {
4679
- let t, r, o, s, n, a, l, f, u, c = (
4715
+ function ii(e) {
4716
+ let t, r, o, s, n, a, l, u, f, c = (
4680
4717
  /*$_*/
4681
4718
  e[27]("goToLogin") + ""
4682
4719
  ), d, p, m, y, g, x, E, P, S, _ = (
4683
4720
  /*$_*/
4684
4721
  e[27]("forgotPasswordEmail") + ""
4685
- ), A, M, O, se, U, fe, G, X, W, he, Z, q = (
4722
+ ), A, M, O, se, U, fe, G, X, W, de, Z, q = (
4686
4723
  /*$_*/
4687
4724
  e[27]("forgotPasswordReset") + ""
4688
4725
  ), le, K, ee, ne, j = (
4689
4726
  /*subtitleText*/
4690
- e[26] && lr(e)
4727
+ e[26] && pr(e)
4691
4728
  ), N = (
4692
4729
  /*invalidEmail*/
4693
- e[12] && ur(e)
4730
+ e[12] && mr(e)
4694
4731
  ), z = (
4695
4732
  /*forgotPasswordError*/
4696
- e[6] && fr(e)
4733
+ e[6] && gr(e)
4697
4734
  );
4698
4735
  return {
4699
4736
  c() {
4700
- t = v("div"), r = v("div"), o = v("button"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), f = b("path"), u = R(), d = C(c), p = R(), m = v("h4"), y = C(
4737
+ t = v("div"), r = v("div"), o = v("button"), s = b("svg"), n = b("defs"), a = b("style"), l = C(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"), u = b("path"), f = R(), d = C(c), p = R(), m = v("h4"), y = C(
4701
4738
  /*titleText*/
4702
4739
  e[25]
4703
- ), g = R(), j && j.c(), x = R(), E = v("form"), P = v("div"), S = v("label"), A = C(_), M = C(":"), O = v("span"), O.textContent = "*", se = R(), U = v("input"), fe = R(), N && N.c(), G = R(), z && z.c(), he = R(), Z = v("button"), le = C(q), i(f, "class", "a"), i(f, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), i(f, "transform", "translate(24 24) rotate(180)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "viewBox", "0 0 24 24"), i(o, "class", "backButtonForgotPassword"), i(m, "class", "FormHeaderTitle"), i(m, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(O, "class", "FormRequired"), i(O, "part", "FormRequired"), i(S, "for", "ResetPasswordByEmail"), i(U, "type", "text"), i(U, "id", "ResetPasswordByEmail"), i(P, "class", X = "ResetPasswordByEmail " + /*invalidEmail*/
4740
+ ), g = R(), j && j.c(), x = R(), E = v("form"), P = v("div"), S = v("label"), A = C(_), M = C(":"), O = v("span"), O.textContent = "*", se = R(), U = v("input"), fe = R(), N && N.c(), G = R(), z && z.c(), de = R(), Z = v("button"), le = C(q), i(u, "class", "a"), i(u, "d", "M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"), i(u, "transform", "translate(24 24) rotate(180)"), i(s, "xmlns", "http://www.w3.org/2000/svg"), i(s, "viewBox", "0 0 24 24"), i(o, "class", "backButtonForgotPassword"), i(m, "class", "FormHeaderTitle"), i(m, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(O, "class", "FormRequired"), i(O, "part", "FormRequired"), i(S, "for", "ResetPasswordByEmail"), i(U, "type", "text"), i(U, "id", "ResetPasswordByEmail"), i(P, "class", X = "ResetPasswordByEmail " + /*invalidEmail*/
4704
4741
  (e[12] ? "InvalidField" : "")), i(P, "part", W = "ResetPasswordByEmail " + /*invalidEmail*/
4705
4742
  (e[12] ? "InvalidField" : "")), i(Z, "class", "resetPasswordButton"), i(Z, "part", "resetPasswordButton"), Z.disabled = K = !/*emailIsValid*/
4706
4743
  e[13], i(E, "class", "FormContent"), i(E, "part", "FormContent"), i(t, "class", "FormForgotPassword");
4707
4744
  },
4708
4745
  m(I, L) {
4709
- k(I, t, L), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, f), h(o, u), h(o, d), h(r, p), h(r, m), h(m, y), h(r, g), j && j.m(r, null), h(t, x), h(t, E), h(E, P), h(P, S), h(S, A), h(S, M), h(S, O), h(P, se), h(P, U), Te(
4746
+ k(I, t, L), h(t, r), h(r, o), h(o, s), h(s, n), h(n, a), h(a, l), h(s, u), h(o, f), h(o, d), h(r, p), h(r, m), h(m, y), h(r, g), j && j.m(r, null), h(t, x), h(t, E), h(E, P), h(P, S), h(S, A), h(S, M), h(S, O), h(P, se), h(P, U), Se(
4710
4747
  U,
4711
4748
  /*resetPasswordEmail*/
4712
4749
  e[8]
4713
- ), h(P, fe), N && N.m(P, null), h(P, G), z && z.m(P, null), h(E, he), h(E, Z), h(Z, le), ee || (ne = [
4750
+ ), h(P, fe), N && N.m(P, null), h(P, G), z && z.m(P, null), h(E, de), h(E, Z), h(Z, le), ee || (ne = [
4714
4751
  ae(
4715
4752
  o,
4716
4753
  "click",
@@ -4746,17 +4783,17 @@ function qn(e) {
4746
4783
  /*titleText*/
4747
4784
  I[25]
4748
4785
  ), /*subtitleText*/
4749
- I[26] ? j ? j.p(I, L) : (j = lr(I), j.c(), j.m(r, null)) : j && (j.d(1), j = null), L[0] & /*$_*/
4786
+ I[26] ? j ? j.p(I, L) : (j = pr(I), j.c(), j.m(r, null)) : j && (j.d(1), j = null), L[0] & /*$_*/
4750
4787
  134217728 && _ !== (_ = /*$_*/
4751
4788
  I[27]("forgotPasswordEmail") + "") && V(A, _), L[0] & /*resetPasswordEmail*/
4752
4789
  256 && U.value !== /*resetPasswordEmail*/
4753
- I[8] && Te(
4790
+ I[8] && Se(
4754
4791
  U,
4755
4792
  /*resetPasswordEmail*/
4756
4793
  I[8]
4757
4794
  ), /*invalidEmail*/
4758
- I[12] ? N ? N.p(I, L) : (N = ur(I), N.c(), N.m(P, G)) : N && (N.d(1), N = null), /*forgotPasswordError*/
4759
- I[6] ? z ? z.p(I, L) : (z = fr(I), z.c(), z.m(P, null)) : z && (z.d(1), z = null), L[0] & /*invalidEmail*/
4795
+ I[12] ? N ? N.p(I, L) : (N = mr(I), N.c(), N.m(P, G)) : N && (N.d(1), N = null), /*forgotPasswordError*/
4796
+ I[6] ? z ? z.p(I, L) : (z = gr(I), z.c(), z.m(P, null)) : z && (z.d(1), z = null), L[0] & /*invalidEmail*/
4760
4797
  4096 && X !== (X = "ResetPasswordByEmail " + /*invalidEmail*/
4761
4798
  (I[12] ? "InvalidField" : "")) && i(P, "class", X), L[0] & /*invalidEmail*/
4762
4799
  4096 && W !== (W = "ResetPasswordByEmail " + /*invalidEmail*/
@@ -4767,11 +4804,11 @@ function qn(e) {
4767
4804
  I[13]) && (Z.disabled = K);
4768
4805
  },
4769
4806
  d(I) {
4770
- I && F(t), j && j.d(), N && N.d(), z && z.d(), ee = !1, be(ne);
4807
+ I && F(t), j && j.d(), N && N.d(), z && z.d(), ee = !1, ye(ne);
4771
4808
  }
4772
4809
  };
4773
4810
  }
4774
- function sr(e) {
4811
+ function fr(e) {
4775
4812
  let t, r;
4776
4813
  return {
4777
4814
  c() {
@@ -4796,40 +4833,40 @@ function sr(e) {
4796
4833
  }
4797
4834
  };
4798
4835
  }
4799
- function Qn(e) {
4800
- let t, r, o, s, n, a, l, f, u, c;
4836
+ function ai(e) {
4837
+ let t, r, o, s, n, a, l, u, f, c;
4801
4838
  return {
4802
4839
  c() {
4803
- t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("path"), l = b("circle"), i(a, "class", "a"), i(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), i(a, "transform", "translate(0)"), i(l, "class", "a"), i(l, "cx", "2.779"), i(l, "cy", "2.779"), i(l, "r", "2.779"), i(l, "transform", "translate(20.827 30.303)"), i(n, "transform", "translate(-14.185 -27.832)"), i(t, "class", f = "TogglePasswordVisibility " + /*invalidNewPassword*/
4840
+ t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("path"), l = b("circle"), i(a, "class", "a"), i(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), i(a, "transform", "translate(0)"), i(l, "class", "a"), i(l, "cx", "2.779"), i(l, "cy", "2.779"), i(l, "r", "2.779"), i(l, "transform", "translate(20.827 30.303)"), i(n, "transform", "translate(-14.185 -27.832)"), i(t, "class", u = "TogglePasswordVisibility " + /*invalidNewPassword*/
4804
4841
  (e[16] ? "InvalidToggle" : "")), i(t, "xmlns", "http://www.w3.org/2000/svg"), i(t, "width", "18.843"), i(t, "height", "10.5"), i(t, "viewBox", "0 0 18.843 10.5");
4805
4842
  },
4806
4843
  m(d, p) {
4807
- k(d, t, p), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), u || (c = ae(
4844
+ k(d, t, p), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), f || (c = ae(
4808
4845
  t,
4809
4846
  "click",
4810
4847
  /*click_handler_3*/
4811
4848
  e[48]
4812
- ), u = !0);
4849
+ ), f = !0);
4813
4850
  },
4814
4851
  p(d, p) {
4815
4852
  p[0] & /*invalidNewPassword*/
4816
- 65536 && f !== (f = "TogglePasswordVisibility " + /*invalidNewPassword*/
4817
- (d[16] ? "InvalidToggle" : "")) && i(t, "class", f);
4853
+ 65536 && u !== (u = "TogglePasswordVisibility " + /*invalidNewPassword*/
4854
+ (d[16] ? "InvalidToggle" : "")) && i(t, "class", u);
4818
4855
  },
4819
4856
  d(d) {
4820
- d && F(t), u = !1, c();
4857
+ d && F(t), f = !1, c();
4821
4858
  }
4822
4859
  };
4823
4860
  }
4824
- function Yn(e) {
4825
- let t, r, o, s, n, a, l, f, u, c, d, p, m, y, g, x;
4861
+ function li(e) {
4862
+ let t, r, o, s, n, a, l, u, f, c, d, p, m, y, g, x;
4826
4863
  return {
4827
4864
  c() {
4828
- t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("circle"), l = b("g"), f = b("path"), u = b("path"), c = b("g"), d = b("path"), p = b("path"), m = b("rect"), i(a, "class", "a"), i(a, "cx", "0.05"), i(a, "cy", "0.05"), i(a, "r", "0.05"), i(a, "transform", "translate(121.017 31.148)"), i(f, "class", "a"), i(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(f, "transform", "translate(-142.164 -39.123)"), i(u, "class", "a"), i(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(u, "transform", "translate(-136.413 -42.068)"), i(l, "transform", "translate(117.499 27.37)"), i(d, "class", "a"), i(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), i(d, "transform", "translate(-110.856 -33.157)"), i(p, "class", "a"), i(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), i(p, "transform", "translate(-130.743 -29.617)"), i(c, "transform", "translate(110.856 24.899)"), i(m, "class", "a"), i(m, "width", "0.972"), i(m, "height", "15.861"), i(m, "rx", "0.486"), i(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), i(n, "transform", "translate(-110.856 -23.242)"), i(t, "class", y = "TogglePasswordVisibility " + /*invalidNewPassword*/
4865
+ t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("circle"), l = b("g"), u = b("path"), f = b("path"), c = b("g"), d = b("path"), p = b("path"), m = b("rect"), i(a, "class", "a"), i(a, "cx", "0.05"), i(a, "cy", "0.05"), i(a, "r", "0.05"), i(a, "transform", "translate(121.017 31.148)"), i(u, "class", "a"), i(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(u, "transform", "translate(-142.164 -39.123)"), i(f, "class", "a"), i(f, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(f, "transform", "translate(-136.413 -42.068)"), i(l, "transform", "translate(117.499 27.37)"), i(d, "class", "a"), i(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), i(d, "transform", "translate(-110.856 -33.157)"), i(p, "class", "a"), i(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), i(p, "transform", "translate(-130.743 -29.617)"), i(c, "transform", "translate(110.856 24.899)"), i(m, "class", "a"), i(m, "width", "0.972"), i(m, "height", "15.861"), i(m, "rx", "0.486"), i(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), i(n, "transform", "translate(-110.856 -23.242)"), i(t, "class", y = "TogglePasswordVisibility " + /*invalidNewPassword*/
4829
4866
  (e[16] ? "InvalidToggle" : "")), i(t, "xmlns", "http://www.w3.org/2000/svg"), i(t, "width", "18.844"), i(t, "height", "12.887"), i(t, "viewBox", "0 0 18.844 12.887");
4830
4867
  },
4831
4868
  m(E, P) {
4832
- k(E, t, P), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), h(l, f), h(l, u), h(n, c), h(c, d), h(c, p), h(n, m), g || (x = ae(
4869
+ k(E, t, P), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), h(l, u), h(l, f), h(n, c), h(c, d), h(c, p), h(n, m), g || (x = ae(
4833
4870
  t,
4834
4871
  "click",
4835
4872
  /*click_handler_2*/
@@ -4846,18 +4883,18 @@ function Yn(e) {
4846
4883
  }
4847
4884
  };
4848
4885
  }
4849
- function nr(e) {
4886
+ function cr(e) {
4850
4887
  let t;
4851
4888
  function r(n, a) {
4852
4889
  return (
4853
4890
  /*simplepasswordvalidation*/
4854
- n[1] == "true" ? Kn : Jn
4891
+ n[1] == "true" ? fi : ui
4855
4892
  );
4856
4893
  }
4857
4894
  let o = r(e), s = o(e);
4858
4895
  return {
4859
4896
  c() {
4860
- s.c(), t = pr();
4897
+ s.c(), t = vr();
4861
4898
  },
4862
4899
  m(n, a) {
4863
4900
  s.m(n, a), k(n, t, a);
@@ -4870,7 +4907,7 @@ function nr(e) {
4870
4907
  }
4871
4908
  };
4872
4909
  }
4873
- function Jn(e) {
4910
+ function ui(e) {
4874
4911
  let t, r = (
4875
4912
  /*$_*/
4876
4913
  e[27]("forgotNewPasswordPasswordError") + ""
@@ -4892,7 +4929,7 @@ function Jn(e) {
4892
4929
  }
4893
4930
  };
4894
4931
  }
4895
- function Kn(e) {
4932
+ function fi(e) {
4896
4933
  let t, r = (
4897
4934
  /*$_*/
4898
4935
  e[27]("simplePasswordError") + ""
@@ -4914,40 +4951,40 @@ function Kn(e) {
4914
4951
  }
4915
4952
  };
4916
4953
  }
4917
- function ei(e) {
4918
- let t, r, o, s, n, a, l, f, u, c;
4954
+ function ci(e) {
4955
+ let t, r, o, s, n, a, l, u, f, c;
4919
4956
  return {
4920
4957
  c() {
4921
- t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("path"), l = b("circle"), i(a, "class", "a"), i(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), i(a, "transform", "translate(0)"), i(l, "class", "a"), i(l, "cx", "2.779"), i(l, "cy", "2.779"), i(l, "r", "2.779"), i(l, "transform", "translate(20.827 30.303)"), i(n, "transform", "translate(-14.185 -27.832)"), i(t, "class", f = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4958
+ t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("path"), l = b("circle"), i(a, "class", "a"), i(a, "d", "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"), i(a, "transform", "translate(0)"), i(l, "class", "a"), i(l, "cx", "2.779"), i(l, "cy", "2.779"), i(l, "r", "2.779"), i(l, "transform", "translate(20.827 30.303)"), i(n, "transform", "translate(-14.185 -27.832)"), i(t, "class", u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4922
4959
  (e[17] ? "InvalidToggle" : "")), i(t, "xmlns", "http://www.w3.org/2000/svg"), i(t, "width", "18.843"), i(t, "height", "10.5"), i(t, "viewBox", "0 0 18.843 10.5");
4923
4960
  },
4924
4961
  m(d, p) {
4925
- k(d, t, p), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), u || (c = ae(
4962
+ k(d, t, p), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), f || (c = ae(
4926
4963
  t,
4927
4964
  "click",
4928
4965
  /*click_handler_5*/
4929
4966
  e[52]
4930
- ), u = !0);
4967
+ ), f = !0);
4931
4968
  },
4932
4969
  p(d, p) {
4933
4970
  p[0] & /*invalidConfirmPassword*/
4934
- 131072 && f !== (f = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4935
- (d[17] ? "InvalidToggle" : "")) && i(t, "class", f);
4971
+ 131072 && u !== (u = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4972
+ (d[17] ? "InvalidToggle" : "")) && i(t, "class", u);
4936
4973
  },
4937
4974
  d(d) {
4938
- d && F(t), u = !1, c();
4975
+ d && F(t), f = !1, c();
4939
4976
  }
4940
4977
  };
4941
4978
  }
4942
- function ti(e) {
4943
- let t, r, o, s, n, a, l, f, u, c, d, p, m, y, g, x;
4979
+ function hi(e) {
4980
+ let t, r, o, s, n, a, l, u, f, c, d, p, m, y, g, x;
4944
4981
  return {
4945
4982
  c() {
4946
- t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("circle"), l = b("g"), f = b("path"), u = b("path"), c = b("g"), d = b("path"), p = b("path"), m = b("rect"), i(a, "class", "a"), i(a, "cx", "0.05"), i(a, "cy", "0.05"), i(a, "r", "0.05"), i(a, "transform", "translate(121.017 31.148)"), i(f, "class", "a"), i(f, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(f, "transform", "translate(-142.164 -39.123)"), i(u, "class", "a"), i(u, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(u, "transform", "translate(-136.413 -42.068)"), i(l, "transform", "translate(117.499 27.37)"), i(d, "class", "a"), i(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), i(d, "transform", "translate(-110.856 -33.157)"), i(p, "class", "a"), i(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), i(p, "transform", "translate(-130.743 -29.617)"), i(c, "transform", "translate(110.856 24.899)"), i(m, "class", "a"), i(m, "width", "0.972"), i(m, "height", "15.861"), i(m, "rx", "0.486"), i(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), i(n, "transform", "translate(-110.856 -23.242)"), i(t, "class", y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4983
+ t = b("svg"), r = b("defs"), o = b("style"), s = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), n = b("g"), a = b("circle"), l = b("g"), u = b("path"), f = b("path"), c = b("g"), d = b("path"), p = b("path"), m = b("rect"), i(a, "class", "a"), i(a, "cx", "0.05"), i(a, "cy", "0.05"), i(a, "r", "0.05"), i(a, "transform", "translate(121.017 31.148)"), i(u, "class", "a"), i(u, "d", "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"), i(u, "transform", "translate(-142.164 -39.123)"), i(f, "class", "a"), i(f, "d", "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"), i(f, "transform", "translate(-136.413 -42.068)"), i(l, "transform", "translate(117.499 27.37)"), i(d, "class", "a"), i(d, "d", "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"), i(d, "transform", "translate(-110.856 -33.157)"), i(p, "class", "a"), i(p, "d", "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"), i(p, "transform", "translate(-130.743 -29.617)"), i(c, "transform", "translate(110.856 24.899)"), i(m, "class", "a"), i(m, "width", "0.972"), i(m, "height", "15.861"), i(m, "rx", "0.486"), i(m, "transform", "translate(114.827 23.858) rotate(-39.315)"), i(n, "transform", "translate(-110.856 -23.242)"), i(t, "class", y = "TogglePasswordVisibility " + /*invalidConfirmPassword*/
4947
4984
  (e[17] ? "InvalidToggle" : "")), i(t, "xmlns", "http://www.w3.org/2000/svg"), i(t, "width", "18.844"), i(t, "height", "12.887"), i(t, "viewBox", "0 0 18.844 12.887");
4948
4985
  },
4949
4986
  m(E, P) {
4950
- k(E, t, P), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), h(l, f), h(l, u), h(n, c), h(c, d), h(c, p), h(n, m), g || (x = ae(
4987
+ k(E, t, P), h(t, r), h(r, o), h(o, s), h(t, n), h(n, a), h(n, l), h(l, u), h(l, f), h(n, c), h(c, d), h(c, p), h(n, m), g || (x = ae(
4951
4988
  t,
4952
4989
  "click",
4953
4990
  /*click_handler_4*/
@@ -4964,7 +5001,7 @@ function ti(e) {
4964
5001
  }
4965
5002
  };
4966
5003
  }
4967
- function ir(e) {
5004
+ function hr(e) {
4968
5005
  let t, r = (
4969
5006
  /*$_*/
4970
5007
  e[27]("forgotNewPasswordConfirmPasswordError") + ""
@@ -4986,7 +5023,7 @@ function ir(e) {
4986
5023
  }
4987
5024
  };
4988
5025
  }
4989
- function ar(e) {
5026
+ function dr(e) {
4990
5027
  let t, r;
4991
5028
  return {
4992
5029
  c() {
@@ -5011,7 +5048,7 @@ function ar(e) {
5011
5048
  }
5012
5049
  };
5013
5050
  }
5014
- function lr(e) {
5051
+ function pr(e) {
5015
5052
  let t, r;
5016
5053
  return {
5017
5054
  c() {
@@ -5036,7 +5073,7 @@ function lr(e) {
5036
5073
  }
5037
5074
  };
5038
5075
  }
5039
- function ur(e) {
5076
+ function mr(e) {
5040
5077
  let t, r = (
5041
5078
  /*$_*/
5042
5079
  e[27]("forgotPasswordEmailInputError") + ""
@@ -5058,7 +5095,7 @@ function ur(e) {
5058
5095
  }
5059
5096
  };
5060
5097
  }
5061
- function fr(e) {
5098
+ function gr(e) {
5062
5099
  let t, r = (
5063
5100
  /*$_*/
5064
5101
  e[27]("forgotPasswordEmailError") + ""
@@ -5080,21 +5117,21 @@ function fr(e) {
5080
5117
  }
5081
5118
  };
5082
5119
  }
5083
- function ri(e) {
5120
+ function di(e) {
5084
5121
  let t, r, o, s, n, a = (
5085
5122
  /*captchakey*/
5086
- e[0] && or(e)
5123
+ e[0] && ur(e)
5087
5124
  );
5088
5125
  function l(c, d) {
5089
5126
  return (
5090
5127
  /*isLoading*/
5091
- c[4] ? zn : Vn
5128
+ c[4] ? ri : ti
5092
5129
  );
5093
5130
  }
5094
- let f = l(e), u = f(e);
5131
+ let u = l(e), f = u(e);
5095
5132
  return {
5096
5133
  c() {
5097
- a && a.c(), t = pr(), r = R(), o = v("div"), s = R(), n = v("div"), u.c(), i(o, "class", "g-recaptcha"), i(
5134
+ a && a.c(), t = vr(), r = R(), o = v("div"), s = R(), n = v("div"), f.c(), i(o, "class", "g-recaptcha"), i(
5098
5135
  o,
5099
5136
  "data-sitekey",
5100
5137
  /*captchakey*/
@@ -5102,53 +5139,53 @@ function ri(e) {
5102
5139
  ), i(n, "class", "GeneralPlayerForgotPasswordForm");
5103
5140
  },
5104
5141
  m(c, d) {
5105
- a && a.m(rr.head, null), h(rr.head, t), k(c, r, d), k(c, o, d), k(c, s, d), k(c, n, d), u.m(n, null), e[55](n);
5142
+ a && a.m(lr.head, null), h(lr.head, t), k(c, r, d), k(c, o, d), k(c, s, d), k(c, n, d), f.m(n, null), e[55](n);
5106
5143
  },
5107
5144
  p(c, d) {
5108
5145
  /*captchakey*/
5109
- c[0] ? a ? a.p(c, d) : (a = or(c), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null), d[0] & /*captchakey*/
5146
+ c[0] ? a ? a.p(c, d) : (a = ur(c), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null), d[0] & /*captchakey*/
5110
5147
  1 && i(
5111
5148
  o,
5112
5149
  "data-sitekey",
5113
5150
  /*captchakey*/
5114
5151
  c[0]
5115
- ), f === (f = l(c)) && u ? u.p(c, d) : (u.d(1), u = f(c), u && (u.c(), u.m(n, null)));
5152
+ ), u === (u = l(c)) && f ? f.p(c, d) : (f.d(1), f = u(c), f && (f.c(), f.m(n, null)));
5116
5153
  },
5117
- i: ce,
5118
- o: ce,
5154
+ i: he,
5155
+ o: he,
5119
5156
  d(c) {
5120
- c && (F(r), F(o), F(s), F(n)), a && a.d(c), F(t), u.d(), e[55](null);
5157
+ c && (F(r), F(o), F(s), F(n)), a && a.d(c), F(t), f.d(), e[55](null);
5121
5158
  }
5122
5159
  };
5123
5160
  }
5124
- function oi(e, t, r) {
5161
+ function pi(e, t, r) {
5125
5162
  let o;
5126
- mo(e, Dn, (w) => r(27, o = w));
5127
- let { endpoint: s = "" } = t, { forgotpasswordkey: n = "" } = t, { captchakey: a = "" } = t, { lang: l = "en" } = t, { simplepasswordvalidation: f = "false" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, { savecredentials: p = "" } = t, { hastosetpass: m = "false" } = t, { passwordregex: y = "" } = t, g = !1, x = !0, E = !1, P = !1, S = "", _ = !1, A = !1, M = !1, O = !1, se = !1, U = window.navigator.userAgent, fe = "", G = !1, X = !1, W = !1, he, Z, q = !1, le = !1, K = "", ee = "", ne, j = !1, N, z;
5128
- Gn({ withLocale: "en", translations: {} });
5163
+ So(e, Qn, (w) => r(27, o = w));
5164
+ let { endpoint: s = "" } = t, { forgotpasswordkey: n = "" } = t, { captchakey: a = "" } = t, { lang: l = "en" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: f = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, { savecredentials: p = "" } = t, { hastosetpass: m = "false" } = t, { passwordregex: y = "" } = t, g = !1, x = !0, E = !1, P = !1, S = "", _ = !1, A = !1, M = !1, O = !1, se = !1, U = window.navigator.userAgent, fe = "", G = !1, X = !1, W = !1, de, Z, q = !1, le = !1, K = "", ee = "", ne, j = !1, N, z;
5165
+ Jn({ withLocale: "en", translations: {} });
5129
5166
  const I = () => {
5130
5167
  fetch(d).then((J) => J.json()).then((J) => {
5131
5168
  Object.keys(J).forEach((ie) => {
5132
- er(ie, J[ie]);
5169
+ ir(ie, J[ie]);
5133
5170
  });
5134
5171
  }).catch((J) => {
5135
5172
  console.log(J);
5136
5173
  });
5137
5174
  };
5138
- Object.keys(tr).forEach((w) => {
5139
- er(w, tr[w]);
5175
+ Object.keys(ar).forEach((w) => {
5176
+ ir(w, ar[w]);
5140
5177
  });
5141
5178
  const L = {
5142
5179
  email: /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,
5143
5180
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
5144
5181
  }, te = () => {
5145
5182
  O ? r(13, se = !1) : r(13, se = !0);
5146
- }, je = (w) => !!(L.email.test(w) && w.length <= 100), ve = () => {
5147
- r(12, O = !je(S)), te();
5183
+ }, $e = (w) => !!(L.email.test(w) && w.length <= 100), Pe = () => {
5184
+ r(12, O = !$e(S)), te();
5148
5185
  }, re = (w) => {
5149
5186
  switch (w) {
5150
5187
  case "userNewPassword":
5151
- r(20, q = !q), r(18, he.type = q ? "text" : "password", he);
5188
+ r(20, q = !q), r(18, de.type = q ? "text" : "password", de);
5152
5189
  break;
5153
5190
  case "userConfirmPassword":
5154
5191
  r(21, le = !le), r(19, Z.type = le ? "text" : "password", Z);
@@ -5168,15 +5205,15 @@ function oi(e, t, r) {
5168
5205
  }
5169
5206
  }, Y = () => {
5170
5207
  window.postMessage({ type: "ToLogin" }, window.location.href);
5171
- }, de = () => new Promise((w, J) => {
5208
+ }, pe = () => new Promise((w, J) => {
5172
5209
  grecaptcha.ready(() => {
5173
5210
  grecaptcha.execute(a, { action: "submit" }).then((ie) => {
5174
5211
  w(ie);
5175
5212
  });
5176
5213
  });
5177
5214
  }), $ = (w) => {
5178
- w.preventDefault(), r(4, g = !0), de().then((J) => {
5179
- let ie = new URL(`${s}/v1/player/resetpassword`), st = {
5215
+ w.preventDefault(), r(4, g = !0), pe().then((J) => {
5216
+ let ie = new URL(`${s}/v1/player/resetpassword`), nt = {
5180
5217
  method: "POST",
5181
5218
  headers: {
5182
5219
  "Content-Type": "application/json",
@@ -5184,15 +5221,15 @@ function oi(e, t, r) {
5184
5221
  "g-recaptcha-response": J
5185
5222
  }
5186
5223
  };
5187
- ie.searchParams.append("email", S), fetch(ie, st).then((Pe) => {
5188
- Pe.status == 200 ? Q("ToEmailSuccess") : r(6, E = !0);
5224
+ ie.searchParams.append("email", S), fetch(ie, nt).then((Ee) => {
5225
+ Ee.status == 200 ? Q("ToEmailSuccess") : r(6, E = !0);
5189
5226
  }).finally(() => {
5190
5227
  r(4, g = !1);
5191
5228
  });
5192
5229
  });
5193
- }, Ht = (w) => {
5230
+ }, Lt = (w) => {
5194
5231
  w.preventDefault();
5195
- let J = new URL(`${s}/v1/player/ResetPasswordByHashKey`), st = {
5232
+ let J = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
5196
5233
  method: "POST",
5197
5234
  headers: {
5198
5235
  "Content-Type": "application/json",
@@ -5203,23 +5240,23 @@ function oi(e, t, r) {
5203
5240
  plainTextPassword: K
5204
5241
  })
5205
5242
  };
5206
- fetch(J, st).then((Pe) => (Pe.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Pe.json())).then((Pe) => {
5207
- r(14, fe = Pe.error);
5243
+ fetch(J, nt).then((Ee) => (Ee.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Ee.json())).then((Ee) => {
5244
+ r(14, fe = Ee.error);
5208
5245
  });
5209
- }, Xr = () => {
5246
+ }, Jr = () => {
5210
5247
  n && n.length > 0 && Q("ToReset");
5211
- }, Wr = () => {
5248
+ }, Kr = () => {
5212
5249
  !X && !W && K && ee ? r(15, G = !0) : r(15, G = !1);
5213
- }, ot = (w) => (f == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), Zr = (w, J, ie) => {
5214
- ie.id === "new-password" ? (r(16, X = !ot(J)), ee && r(17, W = K === ee ? !ot(J) : !0)) : r(17, W = K === ee ? !ot(J) : !0), Wr();
5215
- }, qr = () => {
5216
- jn(l);
5217
- }, Qr = () => {
5250
+ }, st = (w) => (u == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), eo = (w, J, ie) => {
5251
+ ie.id === "new-password" ? (r(16, X = !st(J)), ee && r(17, W = K === ee ? !st(J) : !0)) : r(17, W = K === ee ? !st(J) : !0), Kr();
5252
+ }, to = () => {
5253
+ Kn(l);
5254
+ }, ro = () => {
5218
5255
  r(25, N = o(m === "true" ? "hasToSetPassTitle" : "forgotPasswordTitle")), r(26, z = m === "true" ? o("resetPasswordSubtitle") : "");
5219
- }, Yr = () => {
5256
+ }, oo = () => {
5220
5257
  let w = document.createElement("style");
5221
- w.innerHTML = u, ne.appendChild(w);
5222
- }, Jr = () => {
5258
+ w.innerHTML = f, ne.appendChild(w);
5259
+ }, so = () => {
5223
5260
  let w = new URL(c), J = document.createElement("style");
5224
5261
  fetch(w.href).then((ie) => ie.text()).then((ie) => {
5225
5262
  J.innerHTML = ie, setTimeout(
@@ -5234,53 +5271,53 @@ function oi(e, t, r) {
5234
5271
  );
5235
5272
  });
5236
5273
  };
5237
- _o(async () => {
5238
- Un(U) && r(11, M = !0);
5239
- });
5240
- const Kr = () => Y();
5241
- function eo() {
5274
+ Oo(() => at(this, null, function* () {
5275
+ Yn(U) && r(11, M = !0);
5276
+ }));
5277
+ const no = () => Y();
5278
+ function io() {
5242
5279
  S = this.value, r(8, S);
5243
5280
  }
5244
- const to = (w) => $(w);
5245
- function ro() {
5281
+ const ao = (w) => $(w);
5282
+ function lo() {
5246
5283
  K = this.value, r(22, K);
5247
5284
  }
5248
- function oo(w) {
5249
- Me[w ? "unshift" : "push"](() => {
5250
- he = w, r(18, he);
5285
+ function uo(w) {
5286
+ ke[w ? "unshift" : "push"](() => {
5287
+ de = w, r(18, de);
5251
5288
  });
5252
5289
  }
5253
- const so = () => re("userNewPassword"), no = () => re("userNewPassword");
5254
- function io() {
5290
+ const fo = () => re("userNewPassword"), co = () => re("userNewPassword");
5291
+ function ho() {
5255
5292
  ee = this.value, r(23, ee);
5256
5293
  }
5257
- function ao(w) {
5258
- Me[w ? "unshift" : "push"](() => {
5294
+ function po(w) {
5295
+ ke[w ? "unshift" : "push"](() => {
5259
5296
  Z = w, r(19, Z);
5260
5297
  });
5261
5298
  }
5262
- const lo = () => re("userConfirmPassword"), uo = () => re("userConfirmPassword"), fo = (w) => Ht(w), co = () => Y();
5263
- function ho(w) {
5264
- Me[w ? "unshift" : "push"](() => {
5299
+ const mo = () => re("userConfirmPassword"), go = () => re("userConfirmPassword"), wo = (w) => Lt(w), bo = () => Y();
5300
+ function yo(w) {
5301
+ ke[w ? "unshift" : "push"](() => {
5265
5302
  ne = w, r(3, ne);
5266
5303
  });
5267
5304
  }
5268
5305
  return e.$$set = (w) => {
5269
- "endpoint" in w && r(34, s = w.endpoint), "forgotpasswordkey" in w && r(35, n = w.forgotpasswordkey), "captchakey" in w && r(0, a = w.captchakey), "lang" in w && r(36, l = w.lang), "simplepasswordvalidation" in w && r(1, f = w.simplepasswordvalidation), "clientstyling" in w && r(37, u = w.clientstyling), "clientstylingurl" in w && r(38, c = w.clientstylingurl), "translationurl" in w && r(39, d = w.translationurl), "savecredentials" in w && r(2, p = w.savecredentials), "hastosetpass" in w && r(40, m = w.hastosetpass), "passwordregex" in w && r(41, y = w.passwordregex);
5306
+ "endpoint" in w && r(34, s = w.endpoint), "forgotpasswordkey" in w && r(35, n = w.forgotpasswordkey), "captchakey" in w && r(0, a = w.captchakey), "lang" in w && r(36, l = w.lang), "simplepasswordvalidation" in w && r(1, u = w.simplepasswordvalidation), "clientstyling" in w && r(37, f = w.clientstyling), "clientstylingurl" in w && r(38, c = w.clientstylingurl), "translationurl" in w && r(39, d = w.translationurl), "savecredentials" in w && r(2, p = w.savecredentials), "hastosetpass" in w && r(40, m = w.hastosetpass), "passwordregex" in w && r(41, y = w.passwordregex);
5270
5307
  }, e.$$.update = () => {
5271
5308
  e.$$.dirty[1] & /*forgotpasswordkey*/
5272
- 16 && n && Xr(), e.$$.dirty[1] & /*lang*/
5273
- 32 && l && qr(), e.$$.dirty[0] & /*customStylingContainer*/
5309
+ 16 && n && Jr(), e.$$.dirty[1] & /*lang*/
5310
+ 32 && l && to(), e.$$.dirty[0] & /*customStylingContainer*/
5274
5311
  8 | e.$$.dirty[1] & /*clientstyling*/
5275
- 64 && u && ne && Yr(), e.$$.dirty[0] & /*customStylingContainer*/
5312
+ 64 && f && ne && oo(), e.$$.dirty[0] & /*customStylingContainer*/
5276
5313
  8 | e.$$.dirty[1] & /*clientstylingurl*/
5277
- 128 && c && ne && Jr(), e.$$.dirty[1] & /*translationurl*/
5314
+ 128 && c && ne && so(), e.$$.dirty[1] & /*translationurl*/
5278
5315
  256 && d && I(), e.$$.dirty[1] & /*hastosetpass, lang*/
5279
- 544 && m && l && Qr(), e.$$.dirty[1] & /*passwordregex*/
5316
+ 544 && m && l && ro(), e.$$.dirty[1] & /*passwordregex*/
5280
5317
  1024 && y && (L.password = new RegExp(y));
5281
5318
  }, [
5282
5319
  a,
5283
- f,
5320
+ u,
5284
5321
  p,
5285
5322
  ne,
5286
5323
  g,
@@ -5297,7 +5334,7 @@ function oi(e, t, r) {
5297
5334
  G,
5298
5335
  X,
5299
5336
  W,
5300
- he,
5337
+ de,
5301
5338
  Z,
5302
5339
  q,
5303
5340
  le,
@@ -5307,26 +5344,20 @@ function oi(e, t, r) {
5307
5344
  N,
5308
5345
  z,
5309
5346
  o,
5310
- ve,
5347
+ Pe,
5311
5348
  re,
5312
5349
  Y,
5313
5350
  $,
5314
- Ht,
5315
- Zr,
5351
+ Lt,
5352
+ eo,
5316
5353
  s,
5317
5354
  n,
5318
5355
  l,
5319
- u,
5356
+ f,
5320
5357
  c,
5321
5358
  d,
5322
5359
  m,
5323
5360
  y,
5324
- Kr,
5325
- eo,
5326
- to,
5327
- ro,
5328
- oo,
5329
- so,
5330
5361
  no,
5331
5362
  io,
5332
5363
  ao,
@@ -5334,17 +5365,23 @@ function oi(e, t, r) {
5334
5365
  uo,
5335
5366
  fo,
5336
5367
  co,
5337
- ho
5368
+ ho,
5369
+ po,
5370
+ mo,
5371
+ go,
5372
+ wo,
5373
+ bo,
5374
+ yo
5338
5375
  ];
5339
5376
  }
5340
- class si extends Fo {
5377
+ class mi extends Xo {
5341
5378
  constructor(t) {
5342
- super(), Lo(
5379
+ super(), Vo(
5343
5380
  this,
5344
5381
  t,
5345
- oi,
5346
- ri,
5347
- hr,
5382
+ pi,
5383
+ di,
5384
+ br,
5348
5385
  {
5349
5386
  endpoint: 34,
5350
5387
  forgotpasswordkey: 35,
@@ -5358,7 +5395,7 @@ class si extends Fo {
5358
5395
  hastosetpass: 40,
5359
5396
  passwordregex: 41
5360
5397
  },
5361
- $n,
5398
+ ei,
5362
5399
  [-1, -1, -1]
5363
5400
  );
5364
5401
  }
@@ -5429,7 +5466,7 @@ class si extends Fo {
5429
5466
  this.$$set({ passwordregex: t }), ue();
5430
5467
  }
5431
5468
  }
5432
- Oo(si, { endpoint: {}, forgotpasswordkey: {}, captchakey: {}, lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, hastosetpass: {}, passwordregex: {} }, [], [], !0);
5469
+ zo(mi, { endpoint: {}, forgotpasswordkey: {}, captchakey: {}, lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, hastosetpass: {}, passwordregex: {} }, [], [], !0);
5433
5470
  export {
5434
- si as G
5471
+ mi as default
5435
5472
  };