@everymatrix/general-player-forgot-password-form-nd 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var xo = Object.defineProperty, To = Object.defineProperties;
2
- var So = Object.getOwnPropertyDescriptors;
1
+ var _o = Object.defineProperty, xo = Object.defineProperties;
2
+ var To = Object.getOwnPropertyDescriptors;
3
3
  var Rt = Object.getOwnPropertySymbols;
4
- var Bo = Object.prototype.hasOwnProperty, Co = Object.prototype.propertyIsEnumerable;
5
- var it = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
4
+ var So = Object.prototype.hasOwnProperty, Bo = Object.prototype.propertyIsEnumerable;
5
+ var it = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Bo.call(t, r) && it(e, r, t[r]);
7
+ So.call(t, r) && it(e, r, t[r]);
8
8
  if (Rt)
9
9
  for (var r of Rt(t))
10
- Co.call(t, r) && it(e, r, t[r]);
10
+ Bo.call(t, r) && it(e, r, t[r]);
11
11
  return e;
12
- }, kt = (e, t) => To(e, So(t));
12
+ }, kt = (e, t) => xo(e, To(t));
13
13
  var fe = (e, t, r) => it(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var at = (e, t, r) => new Promise((o, s) => {
15
15
  var n = (u) => {
@@ -48,7 +48,7 @@ let Ve;
48
48
  function Ut(e, t) {
49
49
  return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
50
  }
51
- function Ho(e) {
51
+ function Co(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
54
  function Pr(e, ...t) {
@@ -60,24 +60,24 @@ function Pr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function No(e, t, r) {
63
+ function Ho(e, t, r) {
64
64
  e.$$.on_destroy.push(Pr(t, r));
65
65
  }
66
- const Ao = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
66
+ const No = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
67
  // @ts-ignore Node typings have this
68
68
  global
69
69
  );
70
70
  function h(e, t) {
71
71
  e.appendChild(t);
72
72
  }
73
- function Io(e, t, r) {
74
- const o = Lo(e);
73
+ function Ao(e, t, r) {
74
+ const o = Io(e);
75
75
  if (!o.getElementById(t)) {
76
76
  const s = y("style");
77
- s.id = t, s.textContent = r, Oo(o, s);
77
+ s.id = t, s.textContent = r, Lo(o, s);
78
78
  }
79
79
  }
80
- function Lo(e) {
80
+ function Io(e) {
81
81
  if (!e) return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
83
  return t && /** @type {ShadowRoot} */
@@ -86,7 +86,7 @@ function Lo(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function Oo(e, t) {
89
+ function Lo(e, t) {
90
90
  return h(
91
91
  /** @type {Document} */
92
92
  e.head || e,
@@ -120,7 +120,7 @@ function ae(e, t, r, o) {
120
120
  function i(e, t, r) {
121
121
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
122
122
  }
123
- function Fo(e) {
123
+ function Oo(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function V(e, t) {
@@ -130,7 +130,7 @@ function V(e, t) {
130
130
  function Se(e, t) {
131
131
  e.value = t == null ? "" : t;
132
132
  }
133
- function Ro(e) {
133
+ function Fo(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -143,19 +143,19 @@ let Ue;
143
143
  function Me(e) {
144
144
  Ue = e;
145
145
  }
146
- function Mo() {
146
+ function Ro() {
147
147
  if (!Ue) throw new Error("Function called outside component initialization");
148
148
  return Ue;
149
149
  }
150
- function ko(e) {
151
- Mo().$$.on_mount.push(e);
150
+ function Mo(e) {
151
+ Ro().$$.on_mount.push(e);
152
152
  }
153
153
  const Te = [], ke = [];
154
154
  let Be = [];
155
- const Gt = [], Do = /* @__PURE__ */ Promise.resolve();
155
+ const Gt = [], ko = /* @__PURE__ */ Promise.resolve();
156
156
  let gt = !1;
157
- function Uo() {
158
- gt || (gt = !0, Do.then(ue));
157
+ function Do() {
158
+ gt || (gt = !0, ko.then(ue));
159
159
  }
160
160
  function wt(e) {
161
161
  Be.push(e);
@@ -170,7 +170,7 @@ function ue() {
170
170
  try {
171
171
  for (; _e < Te.length; ) {
172
172
  const t = Te[_e];
173
- _e++, Me(t), Go(t.$$);
173
+ _e++, Me(t), Uo(t.$$);
174
174
  }
175
175
  } catch (t) {
176
176
  throw Te.length = 0, _e = 0, t;
@@ -186,36 +186,36 @@ function ue() {
186
186
  Gt.pop()();
187
187
  gt = !1, lt.clear(), Me(e);
188
188
  }
189
- function Go(e) {
189
+ function Uo(e) {
190
190
  if (e.fragment !== null) {
191
191
  e.update(), ve(e.before_update);
192
192
  const t = e.dirty;
193
193
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(wt);
194
194
  }
195
195
  }
196
- function jo(e) {
196
+ function Go(e) {
197
197
  const t = [], r = [];
198
198
  Be.forEach((o) => e.indexOf(o) === -1 ? t.push(o) : r.push(o)), r.forEach((o) => o()), Be = t;
199
199
  }
200
- const $o = /* @__PURE__ */ new Set();
201
- function Vo(e, t) {
202
- e && e.i && ($o.delete(e), e.i(t));
200
+ const jo = /* @__PURE__ */ new Set();
201
+ function $o(e, t) {
202
+ e && e.i && (jo.delete(e), e.i(t));
203
203
  }
204
- function zo(e, t, r) {
204
+ function Vo(e, t, r) {
205
205
  const { fragment: o, after_update: s } = e.$$;
206
206
  o && o.m(t, r), wt(() => {
207
207
  const n = e.$$.on_mount.map(vr).filter(De);
208
208
  e.$$.on_destroy ? e.$$.on_destroy.push(...n) : ve(n), e.$$.on_mount = [];
209
209
  }), s.forEach(wt);
210
210
  }
211
- function Xo(e, t) {
211
+ function zo(e, t) {
212
212
  const r = e.$$;
213
- r.fragment !== null && (jo(r.after_update), ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
213
+ r.fragment !== null && (Go(r.after_update), ve(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
214
214
  }
215
- function Zo(e, t) {
216
- e.$$.dirty[0] === -1 && (Te.push(e), Uo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
215
+ function Xo(e, t) {
216
+ e.$$.dirty[0] === -1 && (Te.push(e), Do(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
217
  }
218
- function Wo(e, t, r, o, s, n, a = null, l = [-1]) {
218
+ function Zo(e, t, r, o, s, n, a = null, l = [-1]) {
219
219
  const u = Ue;
220
220
  Me(e);
221
221
  const c = e.$$ = {
@@ -243,14 +243,14 @@ function Wo(e, t, r, o, s, n, a = null, l = [-1]) {
243
243
  let f = !1;
244
244
  if (c.ctx = r ? r(e, t.props || {}, (d, p, ...m) => {
245
245
  const v = m.length ? m[0] : p;
246
- return c.ctx && s(c.ctx[d], c.ctx[d] = v) && (!c.skip_bound && c.bound[d] && c.bound[d](v), f && Zo(e, d)), p;
246
+ return c.ctx && s(c.ctx[d], c.ctx[d] = v) && (!c.skip_bound && c.bound[d] && c.bound[d](v), f && Xo(e, d)), p;
247
247
  }) : [], c.update(), f = !0, ve(c.before_update), c.fragment = o ? o(c.ctx) : !1, t.target) {
248
248
  if (t.hydrate) {
249
- const d = Fo(t.target);
249
+ const d = Oo(t.target);
250
250
  c.fragment && c.fragment.l(d), d.forEach(F);
251
251
  } else
252
252
  c.fragment && c.fragment.c();
253
- t.intro && Vo(e.$$.fragment), zo(e, t.target, t.anchor), ue();
253
+ t.intro && $o(e.$$.fragment), Vo(e, t.target, t.anchor), ue();
254
254
  }
255
255
  Me(u);
256
256
  }
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (_r = class extends HTMLElement {
316
316
  };
317
317
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
318
318
  return;
319
- const r = {}, o = Ro(this);
319
+ const r = {}, o = Fo(this);
320
320
  for (const n of this.$$s)
321
321
  n in o && (r[n] = [t(n)]);
322
322
  for (const n of this.attributes) {
@@ -405,7 +405,7 @@ function Ze(e, t, r, o) {
405
405
  return t;
406
406
  }
407
407
  }
408
- function qo(e, t, r, o, s, n) {
408
+ function Wo(e, t, r, o, s, n) {
409
409
  let a = class extends _r {
410
410
  constructor() {
411
411
  super(e, r, s), this.$$p_d = t;
@@ -436,7 +436,7 @@ function qo(e, t, r, o, s, n) {
436
436
  }), e.element = /** @type {any} */
437
437
  a, a;
438
438
  }
439
- class Qo {
439
+ class qo {
440
440
  constructor() {
441
441
  /**
442
442
  * ### PRIVATE API
@@ -457,7 +457,7 @@ class Qo {
457
457
  }
458
458
  /** @returns {void} */
459
459
  $destroy() {
460
- Xo(this, 1), this.$destroy = he;
460
+ zo(this, 1), this.$destroy = he;
461
461
  }
462
462
  /**
463
463
  * @template {Extract<keyof Events, string>} K
@@ -479,11 +479,11 @@ class Qo {
479
479
  * @returns {void}
480
480
  */
481
481
  $set(t) {
482
- this.$$set && !Ho(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
482
+ this.$$set && !Co(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
483
  }
484
484
  }
485
- const Jo = "4";
486
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jo);
485
+ const Qo = "4";
486
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qo);
487
487
  var bt = function(e, t) {
488
488
  return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) {
489
489
  r.__proto__ = o;
@@ -674,20 +674,19 @@ var Br = {
674
674
  Promise: void 0,
675
675
  useDeprecatedSynchronousErrorHandling: !1,
676
676
  useDeprecatedNextContext: !1
677
- }, Cr = {
677
+ }, Jo = {
678
678
  setTimeout: function(e, t) {
679
679
  for (var r = [], o = 2; o < arguments.length; o++)
680
680
  r[o - 2] = arguments[o];
681
681
  return setTimeout.apply(void 0, Ce([e, t], yt(r)));
682
682
  },
683
683
  clearTimeout: function(e) {
684
- var t = Cr.delegate;
685
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
684
+ return clearTimeout(e);
686
685
  },
687
686
  delegate: void 0
688
687
  };
689
688
  function Ko(e) {
690
- Cr.setTimeout(function() {
689
+ Jo.setTimeout(function() {
691
690
  throw e;
692
691
  });
693
692
  }
@@ -696,7 +695,7 @@ function $t() {
696
695
  function We(e) {
697
696
  e();
698
697
  }
699
- var Hr = function(e) {
698
+ var Cr = function(e) {
700
699
  ge(t, e);
701
700
  function t(r) {
702
701
  var o = e.call(this) || this;
@@ -785,7 +784,7 @@ var ts = function() {
785
784
  return n.destination = new ts(a), n;
786
785
  }
787
786
  return t;
788
- }(Hr);
787
+ }(Cr);
789
788
  function ze(e) {
790
789
  Ko(e);
791
790
  }
@@ -878,13 +877,13 @@ function as(e) {
878
877
  return e && me(e.next) && me(e.error) && me(e.complete);
879
878
  }
880
879
  function ls(e) {
881
- return e && e instanceof Hr || as(e) && Sr(e);
880
+ return e && e instanceof Cr || as(e) && Sr(e);
882
881
  }
883
882
  var us = xr(function(e) {
884
883
  return function() {
885
884
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
886
885
  };
887
- }), Nr = function(e) {
886
+ }), Hr = function(e) {
888
887
  ge(t, e);
889
888
  function t() {
890
889
  var r = e.call(this) || this;
@@ -982,15 +981,15 @@ var us = xr(function(e) {
982
981
  var o, s;
983
982
  return (s = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(r)) !== null && s !== void 0 ? s : Tr;
984
983
  }, t;
985
- }(Nr), Ar = {
984
+ }(Hr), Nr = {
986
985
  now: function() {
987
- return (Ar.delegate || Date).now();
986
+ return (Nr.delegate || Date).now();
988
987
  },
989
988
  delegate: void 0
990
989
  }, cs = function(e) {
991
990
  ge(t, e);
992
991
  function t(r, o, s) {
993
- r === void 0 && (r = 1 / 0), o === void 0 && (o = 1 / 0), s === void 0 && (s = Ar);
992
+ r === void 0 && (r = 1 / 0), o === void 0 && (o = 1 / 0), s === void 0 && (s = Nr);
994
993
  var n = e.call(this) || this;
995
994
  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;
996
995
  }
@@ -1010,7 +1009,7 @@ var us = xr(function(e) {
1010
1009
  c && n.splice(0, c + 1);
1011
1010
  }
1012
1011
  }, t;
1013
- }(Nr);
1012
+ }(Hr);
1014
1013
  const Zt = [], Wt = {}, fs = (e, t = 0) => {
1015
1014
  if (Zt.indexOf(e) == -1) {
1016
1015
  const r = new cs(t);
@@ -1122,7 +1121,7 @@ function _s(e) {
1122
1121
  function qt(e) {
1123
1122
  return Object.keys(e).concat(_s(e));
1124
1123
  }
1125
- function Ir(e, t) {
1124
+ function Ar(e, t) {
1126
1125
  try {
1127
1126
  return t in e;
1128
1127
  } catch (r) {
@@ -1130,14 +1129,14 @@ function Ir(e, t) {
1130
1129
  }
1131
1130
  }
1132
1131
  function xs(e, t) {
1133
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1132
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1134
1133
  }
1135
1134
  function Ts(e, t, r) {
1136
1135
  var o = {};
1137
1136
  return r.isMergeableObject(e) && qt(e).forEach(function(s) {
1138
1137
  o[s] = Ge(e[s], r);
1139
1138
  }), qt(t).forEach(function(s) {
1140
- xs(e, s) || (Ir(e, s) && r.isMergeableObject(t[s]) ? o[s] = Es(s, r)(e[s], t[s], r) : o[s] = Ge(t[s], r));
1139
+ xs(e, s) || (Ar(e, s) && r.isMergeableObject(t[s]) ? o[s] = Es(s, r)(e[s], t[s], r) : o[s] = Ge(t[s], r));
1141
1140
  }), o;
1142
1141
  }
1143
1142
  function He(e, t, r) {
@@ -1154,7 +1153,57 @@ He.all = function(t, r) {
1154
1153
  };
1155
1154
  var Ss = He, Bs = Ss;
1156
1155
  const Cs = /* @__PURE__ */ ds(Bs);
1157
- var T;
1156
+ function ft(e, t) {
1157
+ var r = t && t.cache ? t.cache : Os, o = t && t.serializer ? t.serializer : Ls, s = t && t.strategy ? t.strategy : Ns;
1158
+ return s(e, {
1159
+ cache: r,
1160
+ serializer: o
1161
+ });
1162
+ }
1163
+ function Hs(e) {
1164
+ return e == null || typeof e == "number" || typeof e == "boolean";
1165
+ }
1166
+ function Ir(e, t, r, o) {
1167
+ var s = Hs(o) ? o : r(o), n = t.get(s);
1168
+ return typeof n == "undefined" && (n = e.call(this, o), t.set(s, n)), n;
1169
+ }
1170
+ function Lr(e, t, r) {
1171
+ var o = Array.prototype.slice.call(arguments, 3), s = r(o), n = t.get(s);
1172
+ return typeof n == "undefined" && (n = e.apply(this, o), t.set(s, n)), n;
1173
+ }
1174
+ function At(e, t, r, o, s) {
1175
+ return r.bind(t, e, o, s);
1176
+ }
1177
+ function Ns(e, t) {
1178
+ var r = e.length === 1 ? Ir : Lr;
1179
+ return At(e, this, r, t.cache.create(), t.serializer);
1180
+ }
1181
+ function As(e, t) {
1182
+ return At(e, this, Lr, t.cache.create(), t.serializer);
1183
+ }
1184
+ function Is(e, t) {
1185
+ return At(e, this, Ir, t.cache.create(), t.serializer);
1186
+ }
1187
+ var Ls = function() {
1188
+ return JSON.stringify(arguments);
1189
+ };
1190
+ function It() {
1191
+ this.cache = /* @__PURE__ */ Object.create(null);
1192
+ }
1193
+ It.prototype.get = function(e) {
1194
+ return this.cache[e];
1195
+ };
1196
+ It.prototype.set = function(e, t) {
1197
+ this.cache[e] = t;
1198
+ };
1199
+ var Os = {
1200
+ create: function() {
1201
+ return new It();
1202
+ }
1203
+ }, ht = {
1204
+ variadic: As,
1205
+ monadic: Is
1206
+ }, T;
1158
1207
  (function(e) {
1159
1208
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1160
1209
  })(T || (T = {}));
@@ -1169,40 +1218,40 @@ var Ne;
1169
1218
  function Qt(e) {
1170
1219
  return e.type === D.literal;
1171
1220
  }
1172
- function Hs(e) {
1221
+ function Fs(e) {
1173
1222
  return e.type === D.argument;
1174
1223
  }
1175
- function Lr(e) {
1224
+ function Or(e) {
1176
1225
  return e.type === D.number;
1177
1226
  }
1178
- function Or(e) {
1227
+ function Fr(e) {
1179
1228
  return e.type === D.date;
1180
1229
  }
1181
- function Fr(e) {
1230
+ function Rr(e) {
1182
1231
  return e.type === D.time;
1183
1232
  }
1184
- function Rr(e) {
1233
+ function Mr(e) {
1185
1234
  return e.type === D.select;
1186
1235
  }
1187
- function Mr(e) {
1236
+ function kr(e) {
1188
1237
  return e.type === D.plural;
1189
1238
  }
1190
- function Ns(e) {
1239
+ function Rs(e) {
1191
1240
  return e.type === D.pound;
1192
1241
  }
1193
- function kr(e) {
1242
+ function Dr(e) {
1194
1243
  return e.type === D.tag;
1195
1244
  }
1196
- function Dr(e) {
1245
+ function Ur(e) {
1197
1246
  return !!(e && typeof e == "object" && e.type === Ne.number);
1198
1247
  }
1199
1248
  function _t(e) {
1200
1249
  return !!(e && typeof e == "object" && e.type === Ne.dateTime);
1201
1250
  }
1202
- var Ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, As = /(?:[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;
1203
- function Is(e) {
1251
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ms = /(?:[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;
1252
+ function ks(e) {
1204
1253
  var t = {};
1205
- return e.replace(As, function(r) {
1254
+ return e.replace(Ms, function(r) {
1206
1255
  var o = r.length;
1207
1256
  switch (r[0]) {
1208
1257
  case "G":
@@ -1291,11 +1340,11 @@ function Is(e) {
1291
1340
  return "";
1292
1341
  }), t;
1293
1342
  }
1294
- var Ls = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1295
- function Os(e) {
1343
+ var Ds = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
+ function Us(e) {
1296
1345
  if (e.length === 0)
1297
1346
  throw new Error("Number skeleton cannot be empty");
1298
- for (var t = e.split(Ls).filter(function(p) {
1347
+ for (var t = e.split(Ds).filter(function(p) {
1299
1348
  return p.length > 0;
1300
1349
  }), r = [], o = 0, s = t; o < s.length; o++) {
1301
1350
  var n = s[o], a = n.split("/");
@@ -1310,17 +1359,17 @@ function Os(e) {
1310
1359
  }
1311
1360
  return r;
1312
1361
  }
1313
- function Fs(e) {
1362
+ function Gs(e) {
1314
1363
  return e.replace(/^(.*?)-/, "");
1315
1364
  }
1316
- var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Rs = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1317
- function Yt(e) {
1365
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, js = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1366
+ function Jt(e) {
1318
1367
  var t = {};
1319
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, o, s) {
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, o, s) {
1320
1369
  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)), "";
1321
1370
  }), t;
1322
1371
  }
1323
- function $r(e) {
1372
+ function Vr(e) {
1324
1373
  switch (e) {
1325
1374
  case "sign-auto":
1326
1375
  return {
@@ -1360,7 +1409,7 @@ function $r(e) {
1360
1409
  };
1361
1410
  }
1362
1411
  }
1363
- function Ms(e) {
1412
+ function $s(e) {
1364
1413
  var t;
1365
1414
  if (e[0] === "E" && e[1] === "E" ? (t = {
1366
1415
  notation: "engineering"
@@ -1368,17 +1417,17 @@ function Ms(e) {
1368
1417
  notation: "scientific"
1369
1418
  }, e = e.slice(1)), t) {
1370
1419
  var r = e.slice(0, 2);
1371
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$r.test(e))
1372
1421
  throw new Error("Malformed concise eng/scientific notation");
1373
1422
  t.minimumIntegerDigits = e.length;
1374
1423
  }
1375
1424
  return t;
1376
1425
  }
1377
1426
  function Kt(e) {
1378
- var t = {}, r = $r(e);
1427
+ var t = {}, r = Vr(e);
1379
1428
  return r || t;
1380
1429
  }
1381
- function ks(e) {
1430
+ function Vs(e) {
1382
1431
  for (var t = {}, r = 0, o = e; r < o.length; r++) {
1383
1432
  var s = o[r];
1384
1433
  switch (s.stem) {
@@ -1402,7 +1451,7 @@ function ks(e) {
1402
1451
  continue;
1403
1452
  case "measure-unit":
1404
1453
  case "unit":
1405
- t.style = "unit", t.unit = Fs(s.options[0]);
1454
+ t.style = "unit", t.unit = Gs(s.options[0]);
1406
1455
  continue;
1407
1456
  case "compact-short":
1408
1457
  case "K":
@@ -1464,7 +1513,7 @@ function ks(e) {
1464
1513
  case "integer-width":
1465
1514
  if (s.options.length > 1)
1466
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1467
- s.options[0].replace(Rs, function(u, c, f, d, p, m) {
1516
+ s.options[0].replace(js, function(u, c, f, d, p, m) {
1468
1517
  if (c)
1469
1518
  t.minimumIntegerDigits = f.length;
1470
1519
  else {
@@ -1477,27 +1526,27 @@ function ks(e) {
1477
1526
  });
1478
1527
  continue;
1479
1528
  }
1480
- if (jr.test(s.stem)) {
1529
+ if ($r.test(s.stem)) {
1481
1530
  t.minimumIntegerDigits = s.stem.length;
1482
1531
  continue;
1483
1532
  }
1484
- if (Jt.test(s.stem)) {
1533
+ if (Yt.test(s.stem)) {
1485
1534
  if (s.options.length > 1)
1486
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1487
- s.stem.replace(Jt, function(u, c, f, d, p, m) {
1536
+ s.stem.replace(Yt, function(u, c, f, d, p, m) {
1488
1537
  return f === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
1489
1538
  });
1490
1539
  var n = s.options[0];
1491
- n === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = N(N({}, t), Yt(n)));
1540
+ n === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = N(N({}, t), Jt(n)));
1492
1541
  continue;
1493
1542
  }
1494
- if (Gr.test(s.stem)) {
1495
- t = N(N({}, t), Yt(s.stem));
1543
+ if (jr.test(s.stem)) {
1544
+ t = N(N({}, t), Jt(s.stem));
1496
1545
  continue;
1497
1546
  }
1498
- var a = $r(s.stem);
1547
+ var a = Vr(s.stem);
1499
1548
  a && (t = N(N({}, t), a));
1500
- var l = Ms(s.stem);
1549
+ var l = $s(s.stem);
1501
1550
  l && (t = N(N({}, t), l));
1502
1551
  }
1503
1552
  return t;
@@ -1507,6 +1556,12 @@ var Xe = {
1507
1556
  "H",
1508
1557
  "h"
1509
1558
  ],
1559
+ 419: [
1560
+ "h",
1561
+ "H",
1562
+ "hB",
1563
+ "hb"
1564
+ ],
1510
1565
  AC: [
1511
1566
  "H",
1512
1567
  "h",
@@ -1555,8 +1610,8 @@ var Xe = {
1555
1610
  "hB"
1556
1611
  ],
1557
1612
  AR: [
1558
- "H",
1559
1613
  "h",
1614
+ "H",
1560
1615
  "hB",
1561
1616
  "hb"
1562
1617
  ],
@@ -1646,9 +1701,9 @@ var Xe = {
1646
1701
  "H"
1647
1702
  ],
1648
1703
  BO: [
1704
+ "h",
1649
1705
  "H",
1650
1706
  "hB",
1651
- "h",
1652
1707
  "hb"
1653
1708
  ],
1654
1709
  BQ: [
@@ -1725,8 +1780,8 @@ var Xe = {
1725
1780
  "hB"
1726
1781
  ],
1727
1782
  CL: [
1728
- "H",
1729
1783
  "h",
1784
+ "H",
1730
1785
  "hB",
1731
1786
  "hb"
1732
1787
  ],
@@ -1751,14 +1806,14 @@ var Xe = {
1751
1806
  "H"
1752
1807
  ],
1753
1808
  CR: [
1754
- "H",
1755
1809
  "h",
1810
+ "H",
1756
1811
  "hB",
1757
1812
  "hb"
1758
1813
  ],
1759
1814
  CU: [
1760
- "H",
1761
1815
  "h",
1816
+ "H",
1762
1817
  "hB",
1763
1818
  "hb"
1764
1819
  ],
@@ -1827,9 +1882,9 @@ var Xe = {
1827
1882
  "hb"
1828
1883
  ],
1829
1884
  EC: [
1885
+ "h",
1830
1886
  "H",
1831
1887
  "hB",
1832
- "h",
1833
1888
  "hb"
1834
1889
  ],
1835
1890
  EE: [
@@ -1965,8 +2020,8 @@ var Xe = {
1965
2020
  "hB"
1966
2021
  ],
1967
2022
  GT: [
1968
- "H",
1969
2023
  "h",
2024
+ "H",
1970
2025
  "hB",
1971
2026
  "hb"
1972
2027
  ],
@@ -1993,8 +2048,8 @@ var Xe = {
1993
2048
  "H"
1994
2049
  ],
1995
2050
  HN: [
1996
- "H",
1997
2051
  "h",
2052
+ "H",
1998
2053
  "hB",
1999
2054
  "hb"
2000
2055
  ],
@@ -2308,8 +2363,8 @@ var Xe = {
2308
2363
  "hB"
2309
2364
  ],
2310
2365
  MX: [
2311
- "H",
2312
2366
  "h",
2367
+ "H",
2313
2368
  "hB",
2314
2369
  "hb"
2315
2370
  ],
@@ -2349,8 +2404,8 @@ var Xe = {
2349
2404
  "hB"
2350
2405
  ],
2351
2406
  NI: [
2352
- "H",
2353
2407
  "h",
2408
+ "H",
2354
2409
  "hB",
2355
2410
  "hb"
2356
2411
  ],
@@ -2398,9 +2453,9 @@ var Xe = {
2398
2453
  "hb"
2399
2454
  ],
2400
2455
  PE: [
2456
+ "h",
2401
2457
  "H",
2402
2458
  "hB",
2403
- "h",
2404
2459
  "hb"
2405
2460
  ],
2406
2461
  PF: [
@@ -2458,8 +2513,8 @@ var Xe = {
2458
2513
  "H"
2459
2514
  ],
2460
2515
  PY: [
2461
- "H",
2462
2516
  "h",
2517
+ "H",
2463
2518
  "hB",
2464
2519
  "hb"
2465
2520
  ],
@@ -2572,8 +2627,8 @@ var Xe = {
2572
2627
  "hB"
2573
2628
  ],
2574
2629
  SV: [
2575
- "H",
2576
2630
  "h",
2631
+ "H",
2577
2632
  "hB",
2578
2633
  "hb"
2579
2634
  ],
@@ -2695,8 +2750,8 @@ var Xe = {
2695
2750
  "hB"
2696
2751
  ],
2697
2752
  UY: [
2698
- "H",
2699
2753
  "h",
2754
+ "H",
2700
2755
  "hB",
2701
2756
  "hb"
2702
2757
  ],
@@ -2804,37 +2859,37 @@ var Xe = {
2804
2859
  "H",
2805
2860
  "hB"
2806
2861
  ],
2807
- "es-BO": [
2808
- "H",
2862
+ "en-HK": [
2809
2863
  "h",
2810
- "hB",
2811
- "hb"
2864
+ "hb",
2865
+ "H",
2866
+ "hB"
2812
2867
  ],
2813
- "es-BR": [
2868
+ "en-IL": [
2814
2869
  "H",
2815
2870
  "h",
2816
- "hB",
2817
- "hb"
2871
+ "hb",
2872
+ "hB"
2818
2873
  ],
2819
- "es-EC": [
2820
- "H",
2874
+ "en-MY": [
2821
2875
  "h",
2822
- "hB",
2823
- "hb"
2876
+ "hb",
2877
+ "H",
2878
+ "hB"
2824
2879
  ],
2825
- "es-ES": [
2880
+ "es-BR": [
2826
2881
  "H",
2827
2882
  "h",
2828
2883
  "hB",
2829
2884
  "hb"
2830
2885
  ],
2831
- "es-GQ": [
2886
+ "es-ES": [
2832
2887
  "H",
2833
2888
  "h",
2834
2889
  "hB",
2835
2890
  "hb"
2836
2891
  ],
2837
- "es-PE": [
2892
+ "es-GQ": [
2838
2893
  "H",
2839
2894
  "h",
2840
2895
  "hB",
@@ -2911,13 +2966,13 @@ var Xe = {
2911
2966
  "h"
2912
2967
  ]
2913
2968
  };
2914
- function Ds(e, t) {
2969
+ function zs(e, t) {
2915
2970
  for (var r = "", o = 0; o < e.length; o++) {
2916
2971
  var s = e.charAt(o);
2917
2972
  if (s === "j") {
2918
2973
  for (var n = 0; o + 1 < e.length && e.charAt(o + 1) === s; )
2919
2974
  n++, o++;
2920
- var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), u = "a", c = Us(t);
2975
+ var a = 1 + (n & 1), l = n < 2 ? 1 : 3 + (n >> 1), u = "a", c = Xs(t);
2921
2976
  for ((c == "H" || c == "k") && (l = 0); l-- > 0; )
2922
2977
  r += u;
2923
2978
  for (; a-- > 0; )
@@ -2926,7 +2981,7 @@ function Ds(e, t) {
2926
2981
  }
2927
2982
  return r;
2928
2983
  }
2929
- function Us(e) {
2984
+ function Xs(e) {
2930
2985
  var t = e.hourCycle;
2931
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2932
2987
  e.hourCycles && // @ts-ignore
@@ -2948,20 +3003,20 @@ function Us(e) {
2948
3003
  var s = Xe[o || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
2949
3004
  return s[0];
2950
3005
  }
2951
- var ft, Gs = new RegExp("^".concat(Ur.source, "*")), js = new RegExp("".concat(Ur.source, "*$"));
3006
+ var dt, Zs = new RegExp("^".concat(Gr.source, "*")), Ws = new RegExp("".concat(Gr.source, "*$"));
2952
3007
  function B(e, t) {
2953
3008
  return { start: e, end: t };
2954
3009
  }
2955
- var $s = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vs = !!String.fromCodePoint, zs = !!Object.fromEntries, Xs = !!String.prototype.codePointAt, Zs = !!String.prototype.trimStart, Ws = !!String.prototype.trimEnd, qs = !!Number.isSafeInteger, Qs = qs ? Number.isSafeInteger : function(e) {
3010
+ var qs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qs = !!String.fromCodePoint, Ys = !!Object.fromEntries, Js = !!String.prototype.codePointAt, Ks = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
2956
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2957
3012
  }, xt = !0;
2958
3013
  try {
2959
- var Js = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2960
- xt = ((ft = Js.exec("a")) === null || ft === void 0 ? void 0 : ft[0]) === "a";
3014
+ var on = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ xt = ((dt = on.exec("a")) === null || dt === void 0 ? void 0 : dt[0]) === "a";
2961
3016
  } catch (e) {
2962
3017
  xt = !1;
2963
3018
  }
2964
- var er = $s ? (
3019
+ var er = qs ? (
2965
3020
  // Native
2966
3021
  function(t, r, o) {
2967
3022
  return t.startsWith(r, o);
@@ -2971,7 +3026,7 @@ var er = $s ? (
2971
3026
  function(t, r, o) {
2972
3027
  return t.slice(o, o + r.length) === r;
2973
3028
  }
2974
- ), Tt = Vs ? String.fromCodePoint : (
3029
+ ), Tt = Qs ? String.fromCodePoint : (
2975
3030
  // IE11
2976
3031
  function() {
2977
3032
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2985,7 +3040,7 @@ var er = $s ? (
2985
3040
  }
2986
3041
  ), tr = (
2987
3042
  // native
2988
- zs ? Object.fromEntries : (
3043
+ Ys ? Object.fromEntries : (
2989
3044
  // Ponyfill
2990
3045
  function(t) {
2991
3046
  for (var r = {}, o = 0, s = t; o < s.length; o++) {
@@ -2995,7 +3050,7 @@ var er = $s ? (
2995
3050
  return r;
2996
3051
  }
2997
3052
  )
2998
- ), Vr = Xs ? (
3053
+ ), zr = Js ? (
2999
3054
  // Native
3000
3055
  function(t, r) {
3001
3056
  return t.codePointAt(r);
@@ -3009,7 +3064,7 @@ var er = $s ? (
3009
3064
  return s < 55296 || s > 56319 || r + 1 === o || (n = t.charCodeAt(r + 1)) < 56320 || n > 57343 ? s : (s - 55296 << 10) + (n - 56320) + 65536;
3010
3065
  }
3011
3066
  }
3012
- ), Ys = Zs ? (
3067
+ ), sn = Ks ? (
3013
3068
  // Native
3014
3069
  function(t) {
3015
3070
  return t.trimStart();
@@ -3017,9 +3072,9 @@ var er = $s ? (
3017
3072
  ) : (
3018
3073
  // Ponyfill
3019
3074
  function(t) {
3020
- return t.replace(Gs, "");
3075
+ return t.replace(Zs, "");
3021
3076
  }
3022
- ), Ks = Ws ? (
3077
+ ), nn = en ? (
3023
3078
  // Native
3024
3079
  function(t) {
3025
3080
  return t.trimEnd();
@@ -3027,15 +3082,15 @@ var er = $s ? (
3027
3082
  ) : (
3028
3083
  // Ponyfill
3029
3084
  function(t) {
3030
- return t.replace(js, "");
3085
+ return t.replace(Ws, "");
3031
3086
  }
3032
3087
  );
3033
- function zr(e, t) {
3088
+ function Xr(e, t) {
3034
3089
  return new RegExp(e, t);
3035
3090
  }
3036
3091
  var St;
3037
3092
  if (xt) {
3038
- var rr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3093
+ var rr = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
3094
  St = function(t, r) {
3040
3095
  var o;
3041
3096
  rr.lastIndex = r;
@@ -3045,14 +3100,14 @@ if (xt) {
3045
3100
  } else
3046
3101
  St = function(t, r) {
3047
3102
  for (var o = []; ; ) {
3048
- var s = Vr(t, r);
3049
- if (s === void 0 || Xr(s) || on(s))
3103
+ var s = zr(t, r);
3104
+ if (s === void 0 || Zr(s) || cn(s))
3050
3105
  break;
3051
3106
  o.push(s), r += s >= 65536 ? 2 : 1;
3052
3107
  }
3053
3108
  return Tt.apply(void 0, o);
3054
3109
  };
3055
- var en = (
3110
+ var an = (
3056
3111
  /** @class */
3057
3112
  function() {
3058
3113
  function e(t, r) {
@@ -3134,7 +3189,7 @@ var en = (
3134
3189
  return this.error(T.INVALID_TAG, B(o, this.clonePosition()));
3135
3190
  }, e.prototype.parseTagName = function() {
3136
3191
  var t = this.offset();
3137
- for (this.bump(); !this.isEOF() && rn(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && un(this.char()); )
3138
3193
  this.bump();
3139
3194
  return this.message.slice(t, this.offset());
3140
3195
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3163,7 +3218,7 @@ var en = (
3163
3218
  };
3164
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3165
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3166
- !tn(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
3167
3222
  }, e.prototype.tryParseQuote = function(t) {
3168
3223
  if (this.isEOF() || this.char() !== 39)
3169
3224
  return null;
@@ -3250,7 +3305,7 @@ var en = (
3250
3305
  var f = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3251
3306
  if (d.err)
3252
3307
  return d;
3253
- var p = Ks(d.val);
3308
+ var p = nn(d.val);
3254
3309
  if (p.length === 0)
3255
3310
  return this.error(T.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
3256
3311
  var m = B(f, this.clonePosition());
@@ -3261,7 +3316,7 @@ var en = (
3261
3316
  return v;
3262
3317
  var g = B(s, this.clonePosition());
3263
3318
  if (c && er(c == null ? void 0 : c.style, "::", 0)) {
3264
- var x = Ys(c.style.slice(2));
3319
+ var x = sn(c.style.slice(2));
3265
3320
  if (l === "number") {
3266
3321
  var d = this.parseNumberSkeletonFromString(x, c.styleLocation);
3267
3322
  return d.err ? d : {
@@ -3272,12 +3327,12 @@ var en = (
3272
3327
  if (x.length === 0)
3273
3328
  return this.error(T.EXPECT_DATE_TIME_SKELETON, g);
3274
3329
  var E = x;
3275
- this.locale && (E = Ds(x, this.locale));
3330
+ this.locale && (E = zs(x, this.locale));
3276
3331
  var p = {
3277
3332
  type: Ne.dateTime,
3278
3333
  pattern: E,
3279
3334
  location: c.styleLocation,
3280
- parsedOptions: this.shouldParseSkeletons ? Is(E) : {}
3335
+ parsedOptions: this.shouldParseSkeletons ? ks(E) : {}
3281
3336
  }, P = l === "date" ? D.date : D.time;
3282
3337
  return {
3283
3338
  val: { type: P, value: o, location: g, style: p },
@@ -3382,7 +3437,7 @@ var en = (
3382
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3383
3438
  var o = [];
3384
3439
  try {
3385
- o = Os(t);
3440
+ o = Us(t);
3386
3441
  } catch (s) {
3387
3442
  return this.error(T.INVALID_NUMBER_SKELETON, r);
3388
3443
  }
@@ -3391,7 +3446,7 @@ var en = (
3391
3446
  type: Ne.number,
3392
3447
  tokens: o,
3393
3448
  location: r,
3394
- parsedOptions: this.shouldParseSkeletons ? ks(o) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? Vs(o) : {}
3395
3450
  },
3396
3451
  err: null
3397
3452
  };
@@ -3439,7 +3494,7 @@ var en = (
3439
3494
  break;
3440
3495
  }
3441
3496
  var u = B(s, this.clonePosition());
3442
- return n ? (a *= o, Qs(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3497
+ return n ? (a *= o, rn(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3443
3498
  }, e.prototype.offset = function() {
3444
3499
  return this.position.offset;
3445
3500
  }, e.prototype.isEOF = function() {
@@ -3454,7 +3509,7 @@ var en = (
3454
3509
  var t = this.position.offset;
3455
3510
  if (t >= this.message.length)
3456
3511
  throw Error("out of bound");
3457
- var r = Vr(this.message, t);
3512
+ var r = zr(this.message, t);
3458
3513
  if (r === void 0)
3459
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3460
3515
  return r;
@@ -3495,7 +3550,7 @@ var en = (
3495
3550
  break;
3496
3551
  }
3497
3552
  }, e.prototype.bumpSpace = function() {
3498
- for (; !this.isEOF() && Xr(this.char()); )
3553
+ for (; !this.isEOF() && Zr(this.char()); )
3499
3554
  this.bump();
3500
3555
  }, e.prototype.peek = function() {
3501
3556
  if (this.isEOF())
@@ -3508,86 +3563,36 @@ var en = (
3508
3563
  function Bt(e) {
3509
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3510
3565
  }
3511
- function tn(e) {
3566
+ function ln(e) {
3512
3567
  return Bt(e) || e === 47;
3513
3568
  }
3514
- function rn(e) {
3569
+ function un(e) {
3515
3570
  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;
3516
3571
  }
3517
- function Xr(e) {
3572
+ function Zr(e) {
3518
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3519
3574
  }
3520
- function on(e) {
3575
+ function cn(e) {
3521
3576
  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;
3522
3577
  }
3523
3578
  function Ct(e) {
3524
3579
  e.forEach(function(t) {
3525
- if (delete t.location, Rr(t) || Mr(t))
3580
+ if (delete t.location, Mr(t) || kr(t))
3526
3581
  for (var r in t.options)
3527
3582
  delete t.options[r].location, Ct(t.options[r].value);
3528
- else Lr(t) && Dr(t.style) || (Or(t) || Fr(t)) && _t(t.style) ? delete t.style.location : kr(t) && Ct(t.children);
3583
+ else Or(t) && Ur(t.style) || (Fr(t) || Rr(t)) && _t(t.style) ? delete t.style.location : Dr(t) && Ct(t.children);
3529
3584
  });
3530
3585
  }
3531
- function sn(e, t) {
3586
+ function fn(e, t) {
3532
3587
  t === void 0 && (t = {}), t = N({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3533
- var r = new en(e, t).parse();
3588
+ var r = new an(e, t).parse();
3534
3589
  if (r.err) {
3535
3590
  var o = SyntaxError(T[r.err.kind]);
3536
3591
  throw o.location = r.err.location, o.originalMessage = r.err.message, o;
3537
3592
  }
3538
3593
  return t != null && t.captureLocation || Ct(r.val), r.val;
3539
3594
  }
3540
- function ht(e, t) {
3541
- var r = t && t.cache ? t.cache : fn, o = t && t.serializer ? t.serializer : cn, s = t && t.strategy ? t.strategy : an;
3542
- return s(e, {
3543
- cache: r,
3544
- serializer: o
3545
- });
3546
- }
3547
- function nn(e) {
3548
- return e == null || typeof e == "number" || typeof e == "boolean";
3549
- }
3550
- function Zr(e, t, r, o) {
3551
- var s = nn(o) ? o : r(o), n = t.get(s);
3552
- return typeof n == "undefined" && (n = e.call(this, o), t.set(s, n)), n;
3553
- }
3554
- function Wr(e, t, r) {
3555
- var o = Array.prototype.slice.call(arguments, 3), s = r(o), n = t.get(s);
3556
- return typeof n == "undefined" && (n = e.apply(this, o), t.set(s, n)), n;
3557
- }
3558
- function At(e, t, r, o, s) {
3559
- return r.bind(t, e, o, s);
3560
- }
3561
- function an(e, t) {
3562
- var r = e.length === 1 ? Zr : Wr;
3563
- return At(e, this, r, t.cache.create(), t.serializer);
3564
- }
3565
- function ln(e, t) {
3566
- return At(e, this, Wr, t.cache.create(), t.serializer);
3567
- }
3568
- function un(e, t) {
3569
- return At(e, this, Zr, t.cache.create(), t.serializer);
3570
- }
3571
- var cn = function() {
3572
- return JSON.stringify(arguments);
3573
- };
3574
- function It() {
3575
- this.cache = /* @__PURE__ */ Object.create(null);
3576
- }
3577
- It.prototype.get = function(e) {
3578
- return this.cache[e];
3579
- };
3580
- It.prototype.set = function(e, t) {
3581
- this.cache[e] = t;
3582
- };
3583
- var fn = {
3584
- create: function() {
3585
- return new It();
3586
- }
3587
- }, dt = {
3588
- variadic: ln,
3589
- monadic: un
3590
- }, Ae;
3595
+ var Ae;
3591
3596
  (function(e) {
3592
3597
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3593
3598
  })(Ae || (Ae = {}));
@@ -3660,7 +3665,7 @@ function qe(e, t, r, o, s, n, a) {
3660
3665
  });
3661
3666
  continue;
3662
3667
  }
3663
- if (Ns(f)) {
3668
+ if (Rs(f)) {
3664
3669
  typeof n == "number" && l.push({
3665
3670
  type: oe.literal,
3666
3671
  value: r.getNumberFormat(t).format(n)
@@ -3671,14 +3676,14 @@ function qe(e, t, r, o, s, n, a) {
3671
3676
  if (!(s && d in s))
3672
3677
  throw new dn(d, a);
3673
3678
  var p = s[d];
3674
- if (Hs(f)) {
3679
+ if (Fs(f)) {
3675
3680
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
3676
3681
  type: typeof p == "string" ? oe.literal : oe.object,
3677
3682
  value: p
3678
3683
  });
3679
3684
  continue;
3680
3685
  }
3681
- if (Or(f)) {
3686
+ if (Fr(f)) {
3682
3687
  var m = typeof f.style == "string" ? o.date[f.style] : _t(f.style) ? f.style.parsedOptions : void 0;
3683
3688
  l.push({
3684
3689
  type: oe.literal,
@@ -3686,7 +3691,7 @@ function qe(e, t, r, o, s, n, a) {
3686
3691
  });
3687
3692
  continue;
3688
3693
  }
3689
- if (Fr(f)) {
3694
+ if (Rr(f)) {
3690
3695
  var m = typeof f.style == "string" ? o.time[f.style] : _t(f.style) ? f.style.parsedOptions : o.time.medium;
3691
3696
  l.push({
3692
3697
  type: oe.literal,
@@ -3694,15 +3699,15 @@ function qe(e, t, r, o, s, n, a) {
3694
3699
  });
3695
3700
  continue;
3696
3701
  }
3697
- if (Lr(f)) {
3698
- var m = typeof f.style == "string" ? o.number[f.style] : Dr(f.style) ? f.style.parsedOptions : void 0;
3702
+ if (Or(f)) {
3703
+ var m = typeof f.style == "string" ? o.number[f.style] : Ur(f.style) ? f.style.parsedOptions : void 0;
3699
3704
  m && m.scale && (p = p * (m.scale || 1)), l.push({
3700
3705
  type: oe.literal,
3701
3706
  value: r.getNumberFormat(t, m).format(p)
3702
3707
  });
3703
3708
  continue;
3704
3709
  }
3705
- if (kr(f)) {
3710
+ if (Dr(f)) {
3706
3711
  var v = f.children, g = f.value, x = s[g];
3707
3712
  if (!mn(x))
3708
3713
  throw new hn(g, "function", a);
@@ -3716,14 +3721,14 @@ function qe(e, t, r, o, s, n, a) {
3716
3721
  };
3717
3722
  }));
3718
3723
  }
3719
- if (Rr(f)) {
3724
+ if (Mr(f)) {
3720
3725
  var S = f.options[p] || f.options.other;
3721
3726
  if (!S)
3722
3727
  throw new or(f.value, p, Object.keys(f.options), a);
3723
3728
  l.push.apply(l, qe(S.value, t, r, o, s));
3724
3729
  continue;
3725
3730
  }
3726
- if (Mr(f)) {
3731
+ if (kr(f)) {
3727
3732
  var S = f.options["=".concat(p)];
3728
3733
  if (!S) {
3729
3734
  if (!Intl.PluralRules)
@@ -3771,29 +3776,29 @@ function bn(e) {
3771
3776
  dateTime: {},
3772
3777
  pluralRules: {}
3773
3778
  }), {
3774
- getNumberFormat: ht(function() {
3779
+ getNumberFormat: ft(function() {
3775
3780
  for (var t, r = [], o = 0; o < arguments.length; o++)
3776
3781
  r[o] = arguments[o];
3777
3782
  return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3778
3783
  }, {
3779
3784
  cache: pt(e.number),
3780
- strategy: dt.variadic
3785
+ strategy: ht.variadic
3781
3786
  }),
3782
- getDateTimeFormat: ht(function() {
3787
+ getDateTimeFormat: ft(function() {
3783
3788
  for (var t, r = [], o = 0; o < arguments.length; o++)
3784
3789
  r[o] = arguments[o];
3785
3790
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3786
3791
  }, {
3787
3792
  cache: pt(e.dateTime),
3788
- strategy: dt.variadic
3793
+ strategy: ht.variadic
3789
3794
  }),
3790
- getPluralRules: ht(function() {
3795
+ getPluralRules: ft(function() {
3791
3796
  for (var t, r = [], o = 0; o < arguments.length; o++)
3792
3797
  r[o] = arguments[o];
3793
3798
  return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3794
3799
  }, {
3795
3800
  cache: pt(e.pluralRules),
3796
- strategy: dt.variadic
3801
+ strategy: ht.variadic
3797
3802
  })
3798
3803
  };
3799
3804
  }
@@ -3801,8 +3806,9 @@ var vn = (
3801
3806
  /** @class */
3802
3807
  function() {
3803
3808
  function e(t, r, o, s) {
3809
+ r === void 0 && (r = e.defaultLocale);
3804
3810
  var n = this;
3805
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3811
+ if (this.formatterCache = {
3806
3812
  number: {},
3807
3813
  dateTime: {},
3808
3814
  pluralRules: {}
@@ -3847,7 +3853,7 @@ var vn = (
3847
3853
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3848
3854
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3849
3855
  }
3850
- }, e.__parse = sn, e.formats = {
3856
+ }, e.__parse = fn, e.formats = {
3851
3857
  number: {
3852
3858
  integer: {
3853
3859
  maximumFractionDigits: 0
@@ -3929,7 +3935,7 @@ function yn(e, t) {
3929
3935
  o = void 0;
3930
3936
  return o;
3931
3937
  }
3932
- const we = {}, Pn = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), qr = (e, t) => {
3938
+ const we = {}, Pn = (e, t, r) => r && (t in we || (we[t] = {}), e in we[t] || (we[t][e] = r), r), Wr = (e, t) => {
3933
3939
  if (t == null)
3934
3940
  return;
3935
3941
  if (t in we && e in we[t])
@@ -3946,11 +3952,11 @@ const Oe = et({});
3946
3952
  function En(e) {
3947
3953
  return Lt[e] || null;
3948
3954
  }
3949
- function Qr(e) {
3955
+ function qr(e) {
3950
3956
  return e in Lt;
3951
3957
  }
3952
3958
  function _n(e, t) {
3953
- if (!Qr(e))
3959
+ if (!qr(e))
3954
3960
  return null;
3955
3961
  const r = En(e);
3956
3962
  return yn(r, t);
@@ -3961,11 +3967,11 @@ function xn(e) {
3961
3967
  const t = rt(e);
3962
3968
  for (let r = 0; r < t.length; r++) {
3963
3969
  const o = t[r];
3964
- if (Qr(o))
3970
+ if (qr(o))
3965
3971
  return o;
3966
3972
  }
3967
3973
  }
3968
- function Jr(e, ...t) {
3974
+ function Qr(e, ...t) {
3969
3975
  delete we[e], Oe.update((r) => (r[e] = Cs.all([r[e] || {}, ...t]), r));
3970
3976
  }
3971
3977
  Le(
@@ -3997,10 +4003,10 @@ function Ht(e) {
3997
4003
  function Bn(e, t) {
3998
4004
  return Promise.all(
3999
4005
  t.map((o) => (Tn(e, o), o().then((s) => s.default || s)))
4000
- ).then((o) => Jr(e, ...o));
4006
+ ).then((o) => Qr(e, ...o));
4001
4007
  }
4002
4008
  const Re = {};
4003
- function Kr(e) {
4009
+ function Jr(e) {
4004
4010
  if (!Ht(e))
4005
4011
  return e in Re ? Re[e] : Promise.resolve();
4006
4012
  const t = Sn(e);
@@ -4010,7 +4016,7 @@ function Kr(e) {
4010
4016
  )
4011
4017
  ).then(() => {
4012
4018
  if (Ht(e))
4013
- return Kr(e);
4019
+ return Jr(e);
4014
4020
  delete Re[e];
4015
4021
  }), Re[e];
4016
4022
  }
@@ -4064,7 +4070,7 @@ var An = Object.defineProperty, In = Object.defineProperties, Ln = Object.getOwn
4064
4070
  return e;
4065
4071
  }, Mn = (e, t) => In(e, Ln(t));
4066
4072
  let Nt;
4067
- const Je = et(null);
4073
+ const Ye = et(null);
4068
4074
  function ir(e) {
4069
4075
  return e.split("-").map((t, r, o) => o.slice(0, r + 1).join("-")).reverse();
4070
4076
  }
@@ -4075,7 +4081,7 @@ function rt(e, t = Ie().fallbackLocale) {
4075
4081
  function ye() {
4076
4082
  return Nt != null ? Nt : void 0;
4077
4083
  }
4078
- Je.subscribe((e) => {
4084
+ Ye.subscribe((e) => {
4079
4085
  Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4080
4086
  });
4081
4087
  const kn = (e) => {
@@ -4085,14 +4091,14 @@ const kn = (e) => {
4085
4091
  return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
4086
4092
  () => mt.set(!0),
4087
4093
  t
4088
- ) : mt.set(!0), Kr(e).then(() => {
4089
- Je.set(e);
4094
+ ) : mt.set(!0), Jr(e).then(() => {
4095
+ Ye.set(e);
4090
4096
  }).finally(() => {
4091
4097
  clearTimeout(r), mt.set(!1);
4092
4098
  });
4093
4099
  }
4094
- return Je.set(e);
4095
- }, be = Mn(Rn({}, Je), {
4100
+ return Ye.set(e);
4101
+ }, be = Mn(Rn({}, Ye), {
4096
4102
  set: kn
4097
4103
  }), ot = (e) => {
4098
4104
  const t = /* @__PURE__ */ Object.create(null);
@@ -4101,20 +4107,20 @@ const kn = (e) => {
4101
4107
  return s in t ? t[s] : t[s] = e(o);
4102
4108
  };
4103
4109
  };
4104
- var Dn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
4110
+ var Dn = Object.defineProperty, Je = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
4105
4111
  for (var r in t || (t = {}))
4106
- eo.call(t, r) && ar(e, r, t[r]);
4107
- if (Ye)
4108
- for (var r of Ye(t))
4109
- to.call(t, r) && ar(e, r, t[r]);
4112
+ Kr.call(t, r) && ar(e, r, t[r]);
4113
+ if (Je)
4114
+ for (var r of Je(t))
4115
+ eo.call(t, r) && ar(e, r, t[r]);
4110
4116
  return e;
4111
4117
  }, Fe = (e, t) => {
4112
4118
  var r = {};
4113
4119
  for (var o in e)
4114
- eo.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
4115
- if (e != null && Ye)
4116
- for (var o of Ye(e))
4117
- t.indexOf(o) < 0 && to.call(e, o) && (r[o] = e[o]);
4120
+ Kr.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
4121
+ if (e != null && Je)
4122
+ for (var o of Je(e))
4123
+ t.indexOf(o) < 0 && eo.call(e, o) && (r[o] = e[o]);
4118
4124
  return r;
4119
4125
  };
4120
4126
  const je = (e, t) => {
@@ -4184,7 +4190,7 @@ const je = (e, t) => {
4184
4190
  throw new Error(
4185
4191
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4186
4192
  );
4187
- let f = qr(e, u);
4193
+ let f = Wr(e, u);
4188
4194
  if (!f)
4189
4195
  f = (n = (s = (o = (r = Ie()).handleMissingMessage) == null ? void 0 : o.call(r, { locale: u, id: e, defaultValue: c })) != null ? s : c) != null ? n : e;
4190
4196
  else if (typeof f != "string")
@@ -4203,11 +4209,11 @@ const je = (e, t) => {
4203
4209
  );
4204
4210
  }
4205
4211
  return d;
4206
- }, Wn = (e, t) => zn(t).format(e), qn = (e, t) => Vn(t).format(e), Qn = (e, t) => $n(t).format(e), Jn = (e, t = ye()) => qr(e, t), Yn = Le([be, Oe], () => Zn);
4212
+ }, Wn = (e, t) => zn(t).format(e), qn = (e, t) => Vn(t).format(e), Qn = (e, t) => $n(t).format(e), Yn = (e, t = ye()) => Wr(e, t), Jn = Le([be, Oe], () => Zn);
4207
4213
  Le([be], () => Wn);
4208
4214
  Le([be], () => qn);
4209
4215
  Le([be], () => Qn);
4210
- Le([be, Oe], () => Jn);
4216
+ Le([be, Oe], () => Yn);
4211
4217
  window.emWidgets = { topic: fs };
4212
4218
  const Kn = (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));
4213
4219
  function ei({ withLocale: e, translations: t }) {
@@ -4216,7 +4222,7 @@ function ei({ withLocale: e, translations: t }) {
4216
4222
  });
4217
4223
  }
4218
4224
  function lr(e, t) {
4219
- Jr(e, t);
4225
+ Qr(e, t);
4220
4226
  }
4221
4227
  function ti(e) {
4222
4228
  be.set(e);
@@ -4400,10 +4406,32 @@ const ur = {
4400
4406
  forgotChangePasswordDescription: "Sua senha foi alterada com sucesso.",
4401
4407
  forgotChangePasswordLogin: "Clique aqui para entrar",
4402
4408
  simplePasswordError: "A senha deve ter de 8 a 20 caracteres."
4409
+ },
4410
+ "en-us": {
4411
+ goToLogin: "Back to Sign In",
4412
+ forgotPasswordTitle: "Forgot Password",
4413
+ resetPasswordSubtitle: "Please reset your password.",
4414
+ hasToSetPassTitle: "Reset Password",
4415
+ forgotPasswordEmail: "Email",
4416
+ forgotPasswordEmailInputError: "Email should contain '@' and a 2-3 letter long domain.",
4417
+ forgotPasswordEmailError: "This email does not exist.",
4418
+ forgotPasswordReset: "Reset Password",
4419
+ forgotPasswordSuccess: "Success!",
4420
+ forgotPasswordSuccessDescription: "We sent an email with the instructions to reset your password.",
4421
+ forgotNewPasswordTitle: "New Password",
4422
+ forgotNewPasswordPassword: "Password",
4423
+ forgotNewPasswordPasswordError: "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",
4424
+ forgotNewPasswordConfirmPassword: "Confirm Password",
4425
+ forgotNewPasswordConfirmPasswordError: "Confirm password must match the new password and must follow the same rules.",
4426
+ forgotNewPasswordButton: "Change Password",
4427
+ forgotChangePasswordTitle: "Success!",
4428
+ forgotChangePasswordDescription: "Your password has been changed successfully.",
4429
+ forgotChangePasswordLogin: "Click here to Login",
4430
+ simplePasswordError: "Password must be 8-20 characters long."
4403
4431
  }
4404
- }, { document: cr } = Ao;
4432
+ }, { document: cr } = No;
4405
4433
  function ri(e) {
4406
- Io(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)}}');
4434
+ Ao(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)}}');
4407
4435
  }
4408
4436
  function fr(e) {
4409
4437
  let t, r;
@@ -4549,7 +4577,7 @@ function ii(e) {
4549
4577
  let Pe = $e(e), re = Pe(e), Q = (
4550
4578
  /*invalidConfirmPassword*/
4551
4579
  e[17] && pr(e)
4552
- ), J = (
4580
+ ), Y = (
4553
4581
  /*setPasswordError*/
4554
4582
  e[24] && mr(e)
4555
4583
  );
@@ -4558,7 +4586,7 @@ function ii(e) {
4558
4586
  t = y("div"), r = y("div"), o = y("h4"), s = C(
4559
4587
  /*titleText*/
4560
4588
  e[25]
4561
- ), n = R(), H && H.c(), a = R(), l = y("form"), u = y("div"), c = y("label"), d = C(f), p = C(":"), m = y("span"), m.textContent = "*", v = R(), g = y("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = y("div"), A = y("label"), O = C(M), se = C(":"), U = y("span"), U.textContent = "*", ce = R(), G = y("input"), X = R(), re.c(), Z = R(), Q && Q.c(), de = R(), J && J.c(), W = R(), q = y("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(c, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4589
+ ), n = R(), H && H.c(), a = R(), l = y("form"), u = y("div"), c = y("label"), d = C(f), p = C(":"), m = y("span"), m.textContent = "*", v = R(), g = y("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = y("div"), A = y("label"), O = C(M), se = C(":"), U = y("span"), U.textContent = "*", ce = R(), G = y("input"), X = R(), re.c(), Z = R(), Q && Q.c(), de = R(), Y && Y.c(), W = R(), q = y("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(c, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4562
4590
  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*/
4563
4591
  e[15], i(l, "class", "FormContent"), i(l, "part", "FormContent"), i(t, "class", "FormForgotPassword test"), i(t, "part", "FormForgotPassword test");
4564
4592
  },
@@ -4571,7 +4599,7 @@ function ii(e) {
4571
4599
  G,
4572
4600
  /*userConfirmPassword*/
4573
4601
  e[23]
4574
- ), e[50](G), h(_, X), re.m(_, null), h(_, Z), Q && Q.m(_, null), h(l, de), J && J.m(l, null), h(l, W), h(l, q), h(q, K), ne || (j = [
4602
+ ), e[50](G), h(_, X), re.m(_, null), h(_, Z), Q && Q.m(_, null), h(l, de), Y && Y.m(l, null), h(l, W), h(l, q), h(q, K), ne || (j = [
4575
4603
  ae(
4576
4604
  g,
4577
4605
  "input",
@@ -4660,14 +4688,14 @@ function ii(e) {
4660
4688
  e[23]
4661
4689
  ), Pe === (Pe = $e(e)) && re ? re.p(e, $) : (re.d(1), re = Pe(e), re && (re.c(), re.m(_, Z))), /*invalidConfirmPassword*/
4662
4690
  e[17] ? Q ? Q.p(e, $) : (Q = pr(e), Q.c(), Q.m(_, null)) : Q && (Q.d(1), Q = null), /*setPasswordError*/
4663
- e[24] ? J ? J.p(e, $) : (J = mr(e), J.c(), J.m(l, W)) : J && (J.d(1), J = null), $[0] & /*$_*/
4691
+ e[24] ? Y ? Y.p(e, $) : (Y = mr(e), Y.c(), Y.m(l, W)) : Y && (Y.d(1), Y = null), $[0] & /*$_*/
4664
4692
  134217728 && le !== (le = /*$_*/
4665
4693
  e[27]("forgotNewPasswordButton") + "") && V(K, le), $[0] & /*activateSubmit*/
4666
4694
  32768 && ee !== (ee = !/*activateSubmit*/
4667
4695
  e[15]) && (q.disabled = ee);
4668
4696
  },
4669
4697
  d(pe) {
4670
- pe && F(t), H && H.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), J && J.d(), ne = !1, ve(j);
4698
+ pe && F(t), H && H.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), Y && Y.d(), ne = !1, ve(j);
4671
4699
  }
4672
4700
  };
4673
4701
  }
@@ -5146,16 +5174,16 @@ function mi(e) {
5146
5174
  }
5147
5175
  function gi(e, t, r) {
5148
5176
  let o;
5149
- No(e, Yn, (w) => r(27, o = w));
5177
+ Ho(e, Jn, (w) => r(27, o = w));
5150
5178
  let { endpoint: s = "" } = t, { forgotpasswordkey: n = "" } = t, { captchakey: a = "" } = t, { lang: l = "en" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: p = "" } = t, { hastosetpass: m = "false" } = t, { passwordregex: v = "" } = t, g = !1, x = !0, E = !1, P = !1, S = "", _ = !1, A = !1, M = !1, O = !1, se = !1, U = window.navigator.userAgent, ce = "", G = !1, X = !1, Z = !1, de, W, q = !1, le = !1, K = "", ee = "", ne, j = !1, H, z;
5151
5179
  ei({ withLocale: "en", translations: {} });
5152
5180
  const I = () => {
5153
- fetch(d).then((Y) => Y.json()).then((Y) => {
5154
- Object.keys(Y).forEach((ie) => {
5155
- lr(ie, Y[ie]);
5181
+ fetch(d).then((J) => J.json()).then((J) => {
5182
+ Object.keys(J).forEach((ie) => {
5183
+ lr(ie, J[ie]);
5156
5184
  });
5157
- }).catch((Y) => {
5158
- console.log(Y);
5185
+ }).catch((J) => {
5186
+ console.log(J);
5159
5187
  });
5160
5188
  };
5161
5189
  Object.keys(ur).forEach((w) => {
@@ -5189,22 +5217,22 @@ function gi(e, t, r) {
5189
5217
  r(9, _ = !1), r(10, A = !0);
5190
5218
  break;
5191
5219
  }
5192
- }, J = () => {
5220
+ }, Y = () => {
5193
5221
  window.postMessage({ type: "ToLogin" }, window.location.href);
5194
- }, pe = () => new Promise((w, Y) => {
5222
+ }, pe = () => new Promise((w, J) => {
5195
5223
  grecaptcha.ready(() => {
5196
5224
  grecaptcha.execute(a, { action: "submit" }).then((ie) => {
5197
5225
  w(ie);
5198
5226
  });
5199
5227
  });
5200
5228
  }), $ = (w) => {
5201
- w.preventDefault(), r(4, g = !0), pe().then((Y) => {
5229
+ w.preventDefault(), r(4, g = !0), pe().then((J) => {
5202
5230
  let ie = new URL(`${s}/v1/player/resetpassword`), nt = {
5203
5231
  method: "POST",
5204
5232
  headers: {
5205
5233
  "Content-Type": "application/json",
5206
5234
  Accept: "application/json",
5207
- "g-recaptcha-response": Y
5235
+ "g-recaptcha-response": J
5208
5236
  }
5209
5237
  };
5210
5238
  ie.searchParams.append("email", S), fetch(ie, nt).then((Ee) => {
@@ -5215,7 +5243,7 @@ function gi(e, t, r) {
5215
5243
  });
5216
5244
  }, Ft = (w) => {
5217
5245
  w.preventDefault();
5218
- let Y = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
5246
+ let J = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
5219
5247
  method: "POST",
5220
5248
  headers: {
5221
5249
  "Content-Type": "application/json",
@@ -5226,28 +5254,28 @@ function gi(e, t, r) {
5226
5254
  plainTextPassword: K
5227
5255
  })
5228
5256
  };
5229
- fetch(Y, nt).then((Ee) => (Ee.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Ee.json())).then((Ee) => {
5257
+ fetch(J, nt).then((Ee) => (Ee.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Ee.json())).then((Ee) => {
5230
5258
  r(14, ce = Ee.error);
5231
5259
  });
5232
- }, ro = () => {
5260
+ }, to = () => {
5233
5261
  n && n.length > 0 && Q("ToReset");
5234
- }, oo = () => {
5262
+ }, ro = () => {
5235
5263
  !X && !Z && K && ee ? r(15, G = !0) : r(15, G = !1);
5236
- }, st = (w) => (u == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), so = (w, Y, ie) => {
5237
- ie.id === "new-password" ? (r(16, X = !st(Y)), ee && r(17, Z = K === ee ? !st(Y) : !0)) : r(17, Z = K === ee ? !st(Y) : !0), oo();
5238
- }, no = () => {
5264
+ }, st = (w) => (u == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), oo = (w, J, ie) => {
5265
+ ie.id === "new-password" ? (r(16, X = !st(J)), ee && r(17, Z = K === ee ? !st(J) : !0)) : r(17, Z = K === ee ? !st(J) : !0), ro();
5266
+ }, so = () => {
5239
5267
  ti(l);
5240
- }, io = () => {
5268
+ }, no = () => {
5241
5269
  r(25, H = o(m === "true" ? "hasToSetPassTitle" : "forgotPasswordTitle")), r(26, z = m === "true" ? o("resetPasswordSubtitle") : "");
5242
- }, ao = () => {
5270
+ }, io = () => {
5243
5271
  let w = document.createElement("style");
5244
5272
  w.innerHTML = c, ne.appendChild(w);
5245
- }, lo = () => {
5246
- let w = new URL(f), Y = document.createElement("style");
5273
+ }, ao = () => {
5274
+ let w = new URL(f), J = document.createElement("style");
5247
5275
  fetch(w.href).then((ie) => ie.text()).then((ie) => {
5248
- Y.innerHTML = ie, setTimeout(
5276
+ J.innerHTML = ie, setTimeout(
5249
5277
  () => {
5250
- ne.appendChild(Y);
5278
+ ne.appendChild(J);
5251
5279
  },
5252
5280
  1
5253
5281
  ), setTimeout(
@@ -5257,33 +5285,33 @@ function gi(e, t, r) {
5257
5285
  );
5258
5286
  });
5259
5287
  };
5260
- ko(() => at(this, null, function* () {
5288
+ Mo(() => at(this, null, function* () {
5261
5289
  Kn(U) && r(11, M = !0);
5262
5290
  }));
5263
- const uo = () => J();
5264
- function co() {
5291
+ const lo = () => Y();
5292
+ function uo() {
5265
5293
  S = this.value, r(8, S);
5266
5294
  }
5267
- const fo = (w) => $(w);
5268
- function ho() {
5295
+ const co = (w) => $(w);
5296
+ function fo() {
5269
5297
  K = this.value, r(22, K);
5270
5298
  }
5271
- function po(w) {
5299
+ function ho(w) {
5272
5300
  ke[w ? "unshift" : "push"](() => {
5273
5301
  de = w, r(18, de);
5274
5302
  });
5275
5303
  }
5276
- const mo = () => re("userNewPassword"), go = () => re("userNewPassword");
5277
- function wo() {
5304
+ const po = () => re("userNewPassword"), mo = () => re("userNewPassword");
5305
+ function go() {
5278
5306
  ee = this.value, r(23, ee);
5279
5307
  }
5280
- function bo(w) {
5308
+ function wo(w) {
5281
5309
  ke[w ? "unshift" : "push"](() => {
5282
5310
  W = w, r(19, W);
5283
5311
  });
5284
5312
  }
5285
- const vo = () => re("userConfirmPassword"), yo = () => re("userConfirmPassword"), Po = (w) => Ft(w), Eo = () => J();
5286
- function _o(w) {
5313
+ const bo = () => re("userConfirmPassword"), vo = () => re("userConfirmPassword"), yo = (w) => Ft(w), Po = () => Y();
5314
+ function Eo(w) {
5287
5315
  ke[w ? "unshift" : "push"](() => {
5288
5316
  ne = w, r(3, ne);
5289
5317
  });
@@ -5292,14 +5320,14 @@ function gi(e, t, r) {
5292
5320
  "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, c = w.clientstyling), "clientstylingurl" in w && r(38, f = 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, v = w.passwordregex);
5293
5321
  }, e.$$.update = () => {
5294
5322
  e.$$.dirty[1] & /*forgotpasswordkey*/
5295
- 16 && n && ro(), e.$$.dirty[1] & /*lang*/
5296
- 32 && l && no(), e.$$.dirty[0] & /*customStylingContainer*/
5323
+ 16 && n && to(), e.$$.dirty[1] & /*lang*/
5324
+ 32 && l && so(), e.$$.dirty[0] & /*customStylingContainer*/
5297
5325
  8 | e.$$.dirty[1] & /*clientstyling*/
5298
- 64 && c && ne && ao(), e.$$.dirty[0] & /*customStylingContainer*/
5326
+ 64 && c && ne && io(), e.$$.dirty[0] & /*customStylingContainer*/
5299
5327
  8 | e.$$.dirty[1] & /*clientstylingurl*/
5300
- 128 && f && ne && lo(), e.$$.dirty[1] & /*translationurl*/
5328
+ 128 && f && ne && ao(), e.$$.dirty[1] & /*translationurl*/
5301
5329
  256 && d && I(), e.$$.dirty[1] & /*hastosetpass, lang*/
5302
- 544 && m && l && io(), e.$$.dirty[1] & /*passwordregex*/
5330
+ 544 && m && l && no(), e.$$.dirty[1] & /*passwordregex*/
5303
5331
  1024 && v && (L.password = new RegExp(v));
5304
5332
  }, [
5305
5333
  a,
@@ -5332,10 +5360,10 @@ function gi(e, t, r) {
5332
5360
  o,
5333
5361
  Pe,
5334
5362
  re,
5335
- J,
5363
+ Y,
5336
5364
  $,
5337
5365
  Ft,
5338
- so,
5366
+ oo,
5339
5367
  s,
5340
5368
  n,
5341
5369
  l,
@@ -5344,6 +5372,7 @@ function gi(e, t, r) {
5344
5372
  d,
5345
5373
  m,
5346
5374
  v,
5375
+ lo,
5347
5376
  uo,
5348
5377
  co,
5349
5378
  fo,
@@ -5356,13 +5385,12 @@ function gi(e, t, r) {
5356
5385
  vo,
5357
5386
  yo,
5358
5387
  Po,
5359
- Eo,
5360
- _o
5388
+ Eo
5361
5389
  ];
5362
5390
  }
5363
- class wi extends Qo {
5391
+ class wi extends qo {
5364
5392
  constructor(t) {
5365
- super(), Wo(
5393
+ super(), Zo(
5366
5394
  this,
5367
5395
  t,
5368
5396
  gi,
@@ -5452,7 +5480,7 @@ class wi extends Qo {
5452
5480
  this.$$set({ passwordregex: t }), ue();
5453
5481
  }
5454
5482
  }
5455
- qo(wi, { endpoint: {}, forgotpasswordkey: {}, captchakey: {}, lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, hastosetpass: {}, passwordregex: {} }, [], [], !0);
5483
+ Wo(wi, { endpoint: {}, forgotpasswordkey: {}, captchakey: {}, lang: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {}, hastosetpass: {}, passwordregex: {} }, [], [], !0);
5456
5484
  export {
5457
5485
  wi as default
5458
5486
  };