@everymatrix/general-player-forgot-password-form-nd 1.54.0 → 1.54.2

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