@everymatrix/cashier-verifications 1.76.3 → 1.76.5

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,184 +1,170 @@
1
- import { n as ve, s as Rr, r as Ur, a as Zt, i as kr, S as Fr, b as Vr, f as ne, c as Gr, d as jr, e as W, g as $, t as we, h as oe, j as se, k as yt, o as $r, l as zr, m as Wr, p as Xr, q as xt, u as _e, v as _t, w as Z, x as J, y as qr, z as pt, A as Yr, B as Zr, C as Jr } from "./CashierModal-PoatyaKT.js";
2
- const xe = [];
3
- function Qr(e, t) {
1
+ import { n as ge, s as Qt, a as Ur, r as Fr, i as Vr, S as Gr, b as jr, f as re, c as $r, d as zr, e as ce, t as xe, g as de, h as Q, j as ne, k as Et, o as Wr, l as Xr, m as Re, p as wt, q as qr, u as Ae, v as Yr, w as ie, x as bt, y as Zr, z as Jr, A as Qr, B as Kr, C as ei } from "./CashierModal-D8ju6JdY.js";
2
+ const ye = [];
3
+ function ti(e, t) {
4
4
  return {
5
- subscribe: De(e, t).subscribe
5
+ subscribe: Ce(e, t).subscribe
6
6
  };
7
7
  }
8
- function De(e, t = ve) {
8
+ function Ce(e, t = ge) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
12
- if (Zt(e, a) && (e = a, r)) {
13
- const l = !xe.length;
14
- for (const h of i)
15
- h[1](), xe.push(h, e);
16
- if (l) {
17
- for (let h = 0; h < xe.length; h += 2)
18
- xe[h][0](xe[h + 1]);
19
- xe.length = 0;
12
+ if (Qt(e, a) && (e = a, r)) {
13
+ const u = !ye.length;
14
+ for (const l of i)
15
+ l[1](), ye.push(l, e);
16
+ if (u) {
17
+ for (let l = 0; l < ye.length; l += 2)
18
+ ye[l][0](ye[l + 1]);
19
+ ye.length = 0;
20
20
  }
21
21
  }
22
22
  }
23
23
  function o(a) {
24
24
  n(a(e));
25
25
  }
26
- function s(a, l = ve) {
27
- const h = [a, l];
28
- return i.add(h), i.size === 1 && (r = t(n, o) || ve), a(e), () => {
29
- i.delete(h), i.size === 0 && r && (r(), r = null);
26
+ function s(a, u = ge) {
27
+ const l = [a, u];
28
+ return i.add(l), i.size === 1 && (r = t(n, o) || ge), a(e), () => {
29
+ i.delete(l), i.size === 0 && r && (r(), r = null);
30
30
  };
31
31
  }
32
32
  return { set: n, update: o, subscribe: s };
33
33
  }
34
- function Oe(e, t, r) {
34
+ function Te(e, t, r) {
35
35
  const i = !Array.isArray(e), n = i ? [e] : e;
36
36
  if (!n.every(Boolean))
37
37
  throw new Error("derived() expects stores as input, got a falsy value");
38
38
  const o = t.length < 2;
39
- return Qr(r, (s, a) => {
40
- let l = !1;
41
- const h = [];
42
- let f = 0, m = ve;
43
- const d = () => {
39
+ return ti(r, (s, a) => {
40
+ let u = !1;
41
+ const l = [];
42
+ let f = 0, g = ge;
43
+ const p = () => {
44
44
  if (f)
45
45
  return;
46
- m();
47
- const E = t(i ? h[0] : h, s, a);
48
- o ? s(E) : m = kr(E) ? E : ve;
49
- }, y = n.map(
50
- (E, c) => Rr(
51
- E,
52
- (b) => {
53
- h[c] = b, f &= ~(1 << c), l && d();
46
+ g();
47
+ const S = t(i ? l[0] : l, s, a);
48
+ o ? s(S) : g = Vr(S) ? S : ge;
49
+ }, x = n.map(
50
+ (S, d) => Ur(
51
+ S,
52
+ (M) => {
53
+ l[d] = M, f &= ~(1 << d), u && p();
54
54
  },
55
55
  () => {
56
- f |= 1 << c;
56
+ f |= 1 << d;
57
57
  }
58
58
  )
59
59
  );
60
- return l = !0, d(), function() {
61
- Ur(y), m(), l = !1;
60
+ return u = !0, p(), function() {
61
+ Fr(x), g(), u = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var Jt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
- function mt(e) {
65
+ var Kt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
66
+ function yt(e) {
67
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
68
68
  }
69
- var Kr = function(t) {
70
- return ei(t) && !ti(t);
69
+ var ri = function(t) {
70
+ return ii(t) && !ni(t);
71
71
  };
72
- function ei(e) {
72
+ function ii(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function ti(e) {
75
+ function ni(e) {
76
76
  var t = Object.prototype.toString.call(e);
77
- return t === "[object RegExp]" || t === "[object Date]" || ni(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || ai(e);
78
78
  }
79
- var ri = typeof Symbol == "function" && Symbol.for, ii = ri ? Symbol.for("react.element") : 60103;
80
- function ni(e) {
81
- return e.$$typeof === ii;
79
+ var oi = typeof Symbol == "function" && Symbol.for, si = oi ? Symbol.for("react.element") : 60103;
80
+ function ai(e) {
81
+ return e.$$typeof === si;
82
82
  }
83
- function oi(e) {
83
+ function ui(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
- function Ce(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(oi(e), e, t) : e;
86
+ function Be(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? _e(ui(e), e, t) : e;
88
88
  }
89
- function si(e, t, r) {
89
+ function li(e, t, r) {
90
90
  return e.concat(t).map(function(i) {
91
- return Ce(i, r);
91
+ return Be(i, r);
92
92
  });
93
93
  }
94
- function ai(e, t) {
94
+ function hi(e, t) {
95
95
  if (!t.customMerge)
96
- return Se;
96
+ return _e;
97
97
  var r = t.customMerge(e);
98
- return typeof r == "function" ? r : Se;
98
+ return typeof r == "function" ? r : _e;
99
99
  }
100
- function ui(e) {
100
+ function fi(e) {
101
101
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
102
102
  return Object.propertyIsEnumerable.call(e, t);
103
103
  }) : [];
104
104
  }
105
- function Et(e) {
106
- return Object.keys(e).concat(ui(e));
105
+ function St(e) {
106
+ return Object.keys(e).concat(fi(e));
107
107
  }
108
- function Qt(e, t) {
108
+ function er(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch (r) {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function li(e, t) {
116
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function ci(e, t) {
116
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function fi(e, t, r) {
118
+ function di(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && Et(e).forEach(function(n) {
121
- i[n] = Ce(e[n], r);
122
- }), Et(t).forEach(function(n) {
123
- li(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = ai(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
120
+ return r.isMergeableObject(e) && St(e).forEach(function(n) {
121
+ i[n] = Be(e[n], r);
122
+ }), St(t).forEach(function(n) {
123
+ ci(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
124
124
  }), i;
125
125
  }
126
- function Se(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || si, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = Ce;
126
+ function _e(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = Be;
128
128
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
- return o ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Ce(t, r);
129
+ return o ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Be(t, r);
130
130
  }
131
- Se.all = function(t, r) {
131
+ _e.all = function(t, r) {
132
132
  if (!Array.isArray(t))
133
133
  throw new Error("first argument should be an array");
134
134
  return t.reduce(function(i, n) {
135
- return Se(i, n, r);
135
+ return _e(i, n, r);
136
136
  }, {});
137
137
  };
138
- var hi = Se, ci = hi;
139
- const di = /* @__PURE__ */ mt(ci);
140
- /*! *****************************************************************************
141
- Copyright (c) Microsoft Corporation.
142
-
143
- Permission to use, copy, modify, and/or distribute this software for any
144
- purpose with or without fee is hereby granted.
145
-
146
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
147
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
148
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
149
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
150
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
151
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
152
- PERFORMANCE OF THIS SOFTWARE.
153
- ***************************************************************************** */
154
- var rt = function(e, t) {
155
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
138
+ var pi = _e, mi = pi;
139
+ const vi = /* @__PURE__ */ yt(mi);
140
+ var nt = function(e, t) {
141
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
156
142
  r.__proto__ = i;
157
143
  } || function(r, i) {
158
144
  for (var n in i)
159
145
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
160
- }, rt(e, t);
146
+ }, nt(e, t);
161
147
  };
162
- function ue(e, t) {
148
+ function Xe(e, t) {
163
149
  if (typeof t != "function" && t !== null)
164
150
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
165
- rt(e, t);
151
+ nt(e, t);
166
152
  function r() {
167
153
  this.constructor = e;
168
154
  }
169
155
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
170
156
  }
171
- var C = function() {
172
- return C = Object.assign || function(t) {
157
+ var J = function() {
158
+ return J = Object.assign || function(t) {
173
159
  for (var r, i = 1, n = arguments.length; i < n; i++) {
174
160
  r = arguments[i];
175
161
  for (var o in r)
176
162
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
177
163
  }
178
164
  return t;
179
- }, C.apply(this, arguments);
165
+ }, J.apply(this, arguments);
180
166
  };
181
- function pi(e, t) {
167
+ function gi(e, t) {
182
168
  var r = {};
183
169
  for (var i in e)
184
170
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -187,78 +173,43 @@ function pi(e, t) {
187
173
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
188
174
  return r;
189
175
  }
190
- function it(e) {
191
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
192
- if (r)
193
- return r.call(e);
194
- if (e && typeof e.length == "number")
195
- return {
196
- next: function() {
197
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
198
- }
199
- };
200
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
201
- }
202
- function nt(e, t) {
203
- var r = typeof Symbol == "function" && e[Symbol.iterator];
204
- if (!r)
205
- return e;
206
- var i = r.call(e), n, o = [], s;
207
- try {
208
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
209
- o.push(n.value);
210
- } catch (a) {
211
- s = { error: a };
212
- } finally {
213
- try {
214
- n && !n.done && (r = i.return) && r.call(i);
215
- } finally {
216
- if (s)
217
- throw s.error;
218
- }
219
- }
220
- return o;
221
- }
222
- function Ee(e, t, r) {
176
+ function Je(e, t, r) {
223
177
  if (r || arguments.length === 2)
224
178
  for (var i = 0, n = t.length, o; i < n; i++)
225
179
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
226
- return e.concat(o || t);
180
+ return e.concat(o || Array.prototype.slice.call(t));
227
181
  }
228
- function Ze(e, t) {
229
- var r = t && t.cache ? t.cache : _i, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : gi;
182
+ function Qe(e, t) {
183
+ var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : xi;
230
184
  return n(e, {
231
185
  cache: r,
232
186
  serializer: i
233
187
  });
234
188
  }
235
- function mi(e) {
189
+ function bi(e) {
236
190
  return e == null || typeof e == "number" || typeof e == "boolean";
237
191
  }
238
- function Kt(e, t, r, i) {
239
- var n = mi(i) ? i : r(i), o = t.get(n);
192
+ function yi(e, t, r, i) {
193
+ var n = bi(i) ? i : r(i), o = t.get(n);
240
194
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
241
195
  }
242
- function er(e, t, r) {
196
+ function tr(e, t, r) {
243
197
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
244
198
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
245
199
  }
246
- function gt(e, t, r, i, n) {
200
+ function rr(e, t, r, i, n) {
247
201
  return r.bind(t, e, i, n);
248
202
  }
249
- function gi(e, t) {
250
- var r = e.length === 1 ? Kt : er;
251
- return gt(e, this, r, t.cache.create(), t.serializer);
252
- }
253
- function vi(e, t) {
254
- return gt(e, this, er, t.cache.create(), t.serializer);
203
+ function xi(e, t) {
204
+ var r = e.length === 1 ? yi : tr;
205
+ return rr(e, this, r, t.cache.create(), t.serializer);
255
206
  }
256
- function bi(e, t) {
257
- return gt(e, this, Kt, t.cache.create(), t.serializer);
207
+ function _i(e, t) {
208
+ return rr(e, this, tr, t.cache.create(), t.serializer);
258
209
  }
259
- var yi = function() {
210
+ var Ei = function() {
260
211
  return JSON.stringify(arguments);
261
- }, xi = (
212
+ }, wi = (
262
213
  /** @class */
263
214
  function() {
264
215
  function e() {
@@ -270,62 +221,71 @@ var yi = function() {
270
221
  this.cache[t] = r;
271
222
  }, e;
272
223
  }()
273
- ), _i = {
224
+ ), Si = {
274
225
  create: function() {
275
- return new xi();
226
+ return new wi();
276
227
  }
277
- }, Je = {
278
- variadic: vi,
279
- monadic: bi
280
- }, H;
228
+ }, Ke = {
229
+ variadic: _i
230
+ }, je = function() {
231
+ return je = Object.assign || function(t) {
232
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
233
+ r = arguments[i];
234
+ for (var o in r)
235
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
236
+ }
237
+ return t;
238
+ }, je.apply(this, arguments);
239
+ };
240
+ var T;
281
241
  (function(e) {
282
242
  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";
283
- })(H || (H = {}));
284
- var L;
243
+ })(T || (T = {}));
244
+ var I;
285
245
  (function(e) {
286
246
  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";
287
- })(L || (L = {}));
288
- var Te;
247
+ })(I || (I = {}));
248
+ var Ee;
289
249
  (function(e) {
290
250
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
291
- })(Te || (Te = {}));
292
- function wt(e) {
293
- return e.type === L.literal;
294
- }
295
- function Ei(e) {
296
- return e.type === L.argument;
297
- }
298
- function tr(e) {
299
- return e.type === L.number;
251
+ })(Ee || (Ee = {}));
252
+ function Tt(e) {
253
+ return e.type === I.literal;
300
254
  }
301
- function rr(e) {
302
- return e.type === L.date;
255
+ function Ti(e) {
256
+ return e.type === I.argument;
303
257
  }
304
258
  function ir(e) {
305
- return e.type === L.time;
259
+ return e.type === I.number;
306
260
  }
307
261
  function nr(e) {
308
- return e.type === L.select;
262
+ return e.type === I.date;
309
263
  }
310
264
  function or(e) {
311
- return e.type === L.plural;
312
- }
313
- function wi(e) {
314
- return e.type === L.pound;
265
+ return e.type === I.time;
315
266
  }
316
267
  function sr(e) {
317
- return e.type === L.tag;
268
+ return e.type === I.select;
318
269
  }
319
270
  function ar(e) {
320
- return !!(e && typeof e == "object" && e.type === Te.number);
271
+ return e.type === I.plural;
272
+ }
273
+ function Pi(e) {
274
+ return e.type === I.pound;
275
+ }
276
+ function ur(e) {
277
+ return e.type === I.tag;
278
+ }
279
+ function lr(e) {
280
+ return !!(e && typeof e == "object" && e.type === Ee.number);
321
281
  }
322
282
  function ot(e) {
323
- return !!(e && typeof e == "object" && e.type === Te.dateTime);
283
+ return !!(e && typeof e == "object" && e.type === Ee.dateTime);
324
284
  }
325
- var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
326
- function Ti(e) {
285
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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;
286
+ function Hi(e) {
327
287
  var t = {};
328
- return e.replace(Si, function(r) {
288
+ return e.replace(Oi, function(r) {
329
289
  var i = r.length;
330
290
  switch (r[0]) {
331
291
  case "G":
@@ -414,36 +374,46 @@ function Ti(e) {
414
374
  return "";
415
375
  }), t;
416
376
  }
417
- var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
418
- function Hi(e) {
377
+ var L = function() {
378
+ return L = Object.assign || function(t) {
379
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
380
+ r = arguments[i];
381
+ for (var o in r)
382
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
383
+ }
384
+ return t;
385
+ }, L.apply(this, arguments);
386
+ };
387
+ var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
+ function Bi(e) {
419
389
  if (e.length === 0)
420
390
  throw new Error("Number skeleton cannot be empty");
421
- for (var t = e.split(Pi).filter(function(d) {
422
- return d.length > 0;
391
+ for (var t = e.split(Ai).filter(function(p) {
392
+ return p.length > 0;
423
393
  }), r = [], i = 0, n = t; i < n.length; i++) {
424
394
  var o = n[i], s = o.split("/");
425
395
  if (s.length === 0)
426
396
  throw new Error("Invalid number skeleton");
427
- for (var a = s[0], l = s.slice(1), h = 0, f = l; h < f.length; h++) {
428
- var m = f[h];
429
- if (m.length === 0)
397
+ for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
398
+ var g = f[l];
399
+ if (g.length === 0)
430
400
  throw new Error("Invalid number skeleton");
431
401
  }
432
- r.push({ stem: a, options: l });
402
+ r.push({ stem: a, options: u });
433
403
  }
434
404
  return r;
435
405
  }
436
- function Oi(e) {
406
+ function Mi(e) {
437
407
  return e.replace(/^(.*?)-/, "");
438
408
  }
439
- var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
440
- function Tt(e) {
409
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
410
+ function Ot(e) {
441
411
  var t = {};
442
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
412
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
443
413
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
444
414
  }), t;
445
415
  }
446
- function hr(e) {
416
+ function dr(e) {
447
417
  switch (e) {
448
418
  case "sign-auto":
449
419
  return {
@@ -483,7 +453,7 @@ function hr(e) {
483
453
  };
484
454
  }
485
455
  }
486
- function Bi(e) {
456
+ function Ii(e) {
487
457
  var t;
488
458
  if (e[0] === "E" && e[1] === "E" ? (t = {
489
459
  notation: "engineering"
@@ -491,17 +461,17 @@ function Bi(e) {
491
461
  notation: "scientific"
492
462
  }, e = e.slice(1)), t) {
493
463
  var r = e.slice(0, 2);
494
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
464
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
495
465
  throw new Error("Malformed concise eng/scientific notation");
496
466
  t.minimumIntegerDigits = e.length;
497
467
  }
498
468
  return t;
499
469
  }
500
- function Pt(e) {
501
- var t = {}, r = hr(e);
470
+ function Ht(e) {
471
+ var t = {}, r = dr(e);
502
472
  return r || t;
503
473
  }
504
- function Mi(e) {
474
+ function Di(e) {
505
475
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
506
476
  var n = i[r];
507
477
  switch (n.stem) {
@@ -525,7 +495,7 @@ function Mi(e) {
525
495
  continue;
526
496
  case "measure-unit":
527
497
  case "unit":
528
- t.style = "unit", t.unit = Oi(n.options[0]);
498
+ t.style = "unit", t.unit = Mi(n.options[0]);
529
499
  continue;
530
500
  case "compact-short":
531
501
  case "K":
@@ -536,13 +506,13 @@ function Mi(e) {
536
506
  t.notation = "compact", t.compactDisplay = "long";
537
507
  continue;
538
508
  case "scientific":
539
- t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(l, h) {
540
- return C(C({}, l), Pt(h));
509
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
510
+ return L(L({}, u), Ht(l));
541
511
  }, {}));
542
512
  continue;
543
513
  case "engineering":
544
- t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(l, h) {
545
- return C(C({}, l), Pt(h));
514
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
515
+ return L(L({}, u), Ht(l));
546
516
  }, {}));
547
517
  continue;
548
518
  case "notation-simple":
@@ -587,45 +557,45 @@ function Mi(e) {
587
557
  case "integer-width":
588
558
  if (n.options.length > 1)
589
559
  throw new RangeError("integer-width stems only accept a single optional option");
590
- n.options[0].replace(Ai, function(l, h, f, m, d, y) {
591
- if (h)
560
+ n.options[0].replace(Ci, function(u, l, f, g, p, x) {
561
+ if (l)
592
562
  t.minimumIntegerDigits = f.length;
593
563
  else {
594
- if (m && d)
564
+ if (g && p)
595
565
  throw new Error("We currently do not support maximum integer digits");
596
- if (y)
566
+ if (x)
597
567
  throw new Error("We currently do not support exact integer digits");
598
568
  }
599
569
  return "";
600
570
  });
601
571
  continue;
602
572
  }
603
- if (fr.test(n.stem)) {
573
+ if (cr.test(n.stem)) {
604
574
  t.minimumIntegerDigits = n.stem.length;
605
575
  continue;
606
576
  }
607
- if (St.test(n.stem)) {
577
+ if (Pt.test(n.stem)) {
608
578
  if (n.options.length > 1)
609
579
  throw new RangeError("Fraction-precision stems only accept a single optional option");
610
- n.stem.replace(St, function(l, h, f, m, d, y) {
611
- return f === "*" ? t.minimumFractionDigits = h.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
580
+ n.stem.replace(Pt, function(u, l, f, g, p, x) {
581
+ return f === "*" ? t.minimumFractionDigits = l.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
612
582
  });
613
583
  var o = n.options[0];
614
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Tt(o)));
584
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ot(o)));
615
585
  continue;
616
586
  }
617
- if (lr.test(n.stem)) {
618
- t = C(C({}, t), Tt(n.stem));
587
+ if (fr.test(n.stem)) {
588
+ t = L(L({}, t), Ot(n.stem));
619
589
  continue;
620
590
  }
621
- var s = hr(n.stem);
622
- s && (t = C(C({}, t), s));
623
- var a = Bi(n.stem);
624
- a && (t = C(C({}, t), a));
591
+ var s = dr(n.stem);
592
+ s && (t = L(L({}, t), s));
593
+ var a = Ii(n.stem);
594
+ a && (t = L(L({}, t), a));
625
595
  }
626
596
  return t;
627
597
  }
628
- var Ue = {
598
+ var ke = {
629
599
  "001": [
630
600
  "H",
631
601
  "h"
@@ -2040,23 +2010,23 @@ var Ue = {
2040
2010
  "h"
2041
2011
  ]
2042
2012
  };
2043
- function Ci(e, t) {
2013
+ function Li(e, t) {
2044
2014
  for (var r = "", i = 0; i < e.length; i++) {
2045
2015
  var n = e.charAt(i);
2046
2016
  if (n === "j") {
2047
2017
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2048
2018
  o++, i++;
2049
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", h = Ii(t);
2050
- for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2051
- r += l;
2019
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ni(t);
2020
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2021
+ r += u;
2052
2022
  for (; s-- > 0; )
2053
- r = h + r;
2023
+ r = l + r;
2054
2024
  } else
2055
2025
  n === "J" ? r += "H" : r += n;
2056
2026
  }
2057
2027
  return r;
2058
2028
  }
2059
- function Ii(e) {
2029
+ function Ni(e) {
2060
2030
  var t = e.hourCycle;
2061
2031
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2062
2032
  e.hourCycles && // @ts-ignore
@@ -2075,23 +2045,23 @@ function Ii(e) {
2075
2045
  }
2076
2046
  var r = e.language, i;
2077
2047
  r !== "root" && (i = e.maximize().region);
2078
- var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2048
+ var n = ke[i || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2079
2049
  return n[0];
2080
2050
  }
2081
- var Qe, Di = new RegExp("^".concat(ur.source, "*")), Li = new RegExp("".concat(ur.source, "*$"));
2082
- function M(e, t) {
2051
+ var et, Ri = new RegExp("^".concat(hr.source, "*")), ki = new RegExp("".concat(hr.source, "*$"));
2052
+ function O(e, t) {
2083
2053
  return { start: e, end: t };
2084
2054
  }
2085
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, Ui = !!Object.fromEntries, ki = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, ji = Gi ? Number.isSafeInteger : function(e) {
2055
+ var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Wi = zi ? Number.isSafeInteger : function(e) {
2086
2056
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2087
2057
  }, st = !0;
2088
2058
  try {
2089
- var $i = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2090
- st = ((Qe = $i.exec("a")) === null || Qe === void 0 ? void 0 : Qe[0]) === "a";
2059
+ var Xi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
+ st = ((et = Xi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
2091
2061
  } catch (e) {
2092
2062
  st = !1;
2093
2063
  }
2094
- var Ht = Ni ? (
2064
+ var At = Ui ? (
2095
2065
  // Native
2096
2066
  function(t, r, i) {
2097
2067
  return t.startsWith(r, i);
@@ -2101,7 +2071,7 @@ var Ht = Ni ? (
2101
2071
  function(t, r, i) {
2102
2072
  return t.slice(i, i + r.length) === r;
2103
2073
  }
2104
- ), at = Ri ? String.fromCodePoint : (
2074
+ ), at = Fi ? String.fromCodePoint : (
2105
2075
  // IE11
2106
2076
  function() {
2107
2077
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2113,9 +2083,9 @@ var Ht = Ni ? (
2113
2083
  }
2114
2084
  return i;
2115
2085
  }
2116
- ), Ot = (
2086
+ ), Bt = (
2117
2087
  // native
2118
- Ui ? Object.fromEntries : (
2088
+ Vi ? Object.fromEntries : (
2119
2089
  // Ponyfill
2120
2090
  function(t) {
2121
2091
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2125,7 +2095,7 @@ var Ht = Ni ? (
2125
2095
  return r;
2126
2096
  }
2127
2097
  )
2128
- ), cr = ki ? (
2098
+ ), pr = Gi ? (
2129
2099
  // Native
2130
2100
  function(t, r) {
2131
2101
  return t.codePointAt(r);
@@ -2139,7 +2109,7 @@ var Ht = Ni ? (
2139
2109
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2140
2110
  }
2141
2111
  }
2142
- ), zi = Fi ? (
2112
+ ), qi = ji ? (
2143
2113
  // Native
2144
2114
  function(t) {
2145
2115
  return t.trimStart();
@@ -2147,9 +2117,9 @@ var Ht = Ni ? (
2147
2117
  ) : (
2148
2118
  // Ponyfill
2149
2119
  function(t) {
2150
- return t.replace(Di, "");
2120
+ return t.replace(Ri, "");
2151
2121
  }
2152
- ), Wi = Vi ? (
2122
+ ), Yi = $i ? (
2153
2123
  // Native
2154
2124
  function(t) {
2155
2125
  return t.trimEnd();
@@ -2157,32 +2127,32 @@ var Ht = Ni ? (
2157
2127
  ) : (
2158
2128
  // Ponyfill
2159
2129
  function(t) {
2160
- return t.replace(Li, "");
2130
+ return t.replace(ki, "");
2161
2131
  }
2162
2132
  );
2163
- function dr(e, t) {
2133
+ function mr(e, t) {
2164
2134
  return new RegExp(e, t);
2165
2135
  }
2166
2136
  var ut;
2167
2137
  if (st) {
2168
- var At = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2138
+ var Mt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2169
2139
  ut = function(t, r) {
2170
2140
  var i;
2171
- At.lastIndex = r;
2172
- var n = At.exec(t);
2141
+ Mt.lastIndex = r;
2142
+ var n = Mt.exec(t);
2173
2143
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2174
2144
  };
2175
2145
  } else
2176
2146
  ut = function(t, r) {
2177
2147
  for (var i = []; ; ) {
2178
- var n = cr(t, r);
2179
- if (n === void 0 || pr(n) || Zi(n))
2148
+ var n = pr(t, r);
2149
+ if (n === void 0 || vr(n) || Ki(n))
2180
2150
  break;
2181
2151
  i.push(n), r += n >= 65536 ? 2 : 1;
2182
2152
  }
2183
2153
  return at.apply(void 0, i);
2184
2154
  };
2185
- var Xi = (
2155
+ var Zi = (
2186
2156
  /** @class */
2187
2157
  function() {
2188
2158
  function e(t, r) {
@@ -2206,13 +2176,13 @@ var Xi = (
2206
2176
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2207
2177
  var a = this.clonePosition();
2208
2178
  this.bump(), n.push({
2209
- type: L.pound,
2210
- location: M(a, this.clonePosition())
2179
+ type: I.pound,
2180
+ location: O(a, this.clonePosition())
2211
2181
  });
2212
2182
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2213
2183
  if (i)
2214
2184
  break;
2215
- return this.error(H.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2185
+ return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2216
2186
  } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2217
2187
  var s = this.parseTag(t, r);
2218
2188
  if (s.err)
@@ -2234,9 +2204,9 @@ var Xi = (
2234
2204
  if (this.bumpSpace(), this.bumpIf("/>"))
2235
2205
  return {
2236
2206
  val: {
2237
- type: L.literal,
2207
+ type: I.literal,
2238
2208
  value: "<".concat(n, "/>"),
2239
- location: M(i, this.clonePosition())
2209
+ location: O(i, this.clonePosition())
2240
2210
  },
2241
2211
  err: null
2242
2212
  };
@@ -2247,24 +2217,24 @@ var Xi = (
2247
2217
  var s = o.val, a = this.clonePosition();
2248
2218
  if (this.bumpIf("</")) {
2249
2219
  if (this.isEOF() || !lt(this.char()))
2250
- return this.error(H.INVALID_TAG, M(a, this.clonePosition()));
2251
- var l = this.clonePosition(), h = this.parseTagName();
2252
- return n !== h ? this.error(H.UNMATCHED_CLOSING_TAG, M(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2220
+ return this.error(T.INVALID_TAG, O(a, this.clonePosition()));
2221
+ var u = this.clonePosition(), l = this.parseTagName();
2222
+ return n !== l ? this.error(T.UNMATCHED_CLOSING_TAG, O(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2253
2223
  val: {
2254
- type: L.tag,
2224
+ type: I.tag,
2255
2225
  value: n,
2256
2226
  children: s,
2257
- location: M(i, this.clonePosition())
2227
+ location: O(i, this.clonePosition())
2258
2228
  },
2259
2229
  err: null
2260
- } : this.error(H.INVALID_TAG, M(a, this.clonePosition())));
2230
+ } : this.error(T.INVALID_TAG, O(a, this.clonePosition())));
2261
2231
  } else
2262
- return this.error(H.UNCLOSED_TAG, M(i, this.clonePosition()));
2232
+ return this.error(T.UNCLOSED_TAG, O(i, this.clonePosition()));
2263
2233
  } else
2264
- return this.error(H.INVALID_TAG, M(i, this.clonePosition()));
2234
+ return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2265
2235
  }, e.prototype.parseTagName = function() {
2266
2236
  var t = this.offset();
2267
- for (this.bump(); !this.isEOF() && Yi(this.char()); )
2237
+ for (this.bump(); !this.isEOF() && Qi(this.char()); )
2268
2238
  this.bump();
2269
2239
  return this.message.slice(t, this.offset());
2270
2240
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2286,14 +2256,14 @@ var Xi = (
2286
2256
  }
2287
2257
  break;
2288
2258
  }
2289
- var l = M(i, this.clonePosition());
2259
+ var u = O(i, this.clonePosition());
2290
2260
  return {
2291
- val: { type: L.literal, value: n, location: l },
2261
+ val: { type: I.literal, value: n, location: u },
2292
2262
  err: null
2293
2263
  };
2294
2264
  }, e.prototype.tryParseLeftAngleBracket = function() {
2295
2265
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2296
- !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2266
+ !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2297
2267
  }, e.prototype.tryParseQuote = function(t) {
2298
2268
  if (this.isEOF() || this.char() !== 39)
2299
2269
  return null;
@@ -2336,91 +2306,91 @@ var Xi = (
2336
2306
  }, e.prototype.parseArgument = function(t, r) {
2337
2307
  var i = this.clonePosition();
2338
2308
  if (this.bump(), this.bumpSpace(), this.isEOF())
2339
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2309
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2340
2310
  if (this.char() === 125)
2341
- return this.bump(), this.error(H.EMPTY_ARGUMENT, M(i, this.clonePosition()));
2311
+ return this.bump(), this.error(T.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2342
2312
  var n = this.parseIdentifierIfPossible().value;
2343
2313
  if (!n)
2344
- return this.error(H.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2314
+ return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2345
2315
  if (this.bumpSpace(), this.isEOF())
2346
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2316
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2347
2317
  switch (this.char()) {
2348
2318
  case 125:
2349
2319
  return this.bump(), {
2350
2320
  val: {
2351
- type: L.argument,
2321
+ type: I.argument,
2352
2322
  // value does not include the opening and closing braces.
2353
2323
  value: n,
2354
- location: M(i, this.clonePosition())
2324
+ location: O(i, this.clonePosition())
2355
2325
  },
2356
2326
  err: null
2357
2327
  };
2358
2328
  case 44:
2359
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2329
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2360
2330
  default:
2361
- return this.error(H.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2331
+ return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2362
2332
  }
2363
2333
  }, e.prototype.parseIdentifierIfPossible = function() {
2364
2334
  var t = this.clonePosition(), r = this.offset(), i = ut(this.message, r), n = r + i.length;
2365
2335
  this.bumpTo(n);
2366
- var o = this.clonePosition(), s = M(t, o);
2336
+ var o = this.clonePosition(), s = O(t, o);
2367
2337
  return { value: i, location: s };
2368
2338
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2369
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2339
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2370
2340
  switch (a) {
2371
2341
  case "":
2372
- return this.error(H.EXPECT_ARGUMENT_TYPE, M(s, l));
2342
+ return this.error(T.EXPECT_ARGUMENT_TYPE, O(s, u));
2373
2343
  case "number":
2374
2344
  case "date":
2375
2345
  case "time": {
2376
2346
  this.bumpSpace();
2377
- var h = null;
2347
+ var l = null;
2378
2348
  if (this.bumpIf(",")) {
2379
2349
  this.bumpSpace();
2380
- var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2381
- if (m.err)
2382
- return m;
2383
- var d = Wi(m.val);
2384
- if (d.length === 0)
2385
- return this.error(H.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2386
- var y = M(f, this.clonePosition());
2387
- h = { style: d, styleLocation: y };
2350
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2351
+ if (g.err)
2352
+ return g;
2353
+ var p = Yi(g.val);
2354
+ if (p.length === 0)
2355
+ return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2356
+ var x = O(f, this.clonePosition());
2357
+ l = { style: p, styleLocation: x };
2388
2358
  }
2389
- var E = this.tryParseArgumentClose(n);
2390
- if (E.err)
2391
- return E;
2392
- var c = M(n, this.clonePosition());
2393
- if (h && Ht(h == null ? void 0 : h.style, "::", 0)) {
2394
- var b = zi(h.style.slice(2));
2359
+ var S = this.tryParseArgumentClose(n);
2360
+ if (S.err)
2361
+ return S;
2362
+ var d = O(n, this.clonePosition());
2363
+ if (l && At(l == null ? void 0 : l.style, "::", 0)) {
2364
+ var M = qi(l.style.slice(2));
2395
2365
  if (a === "number") {
2396
- var m = this.parseNumberSkeletonFromString(b, h.styleLocation);
2397
- return m.err ? m : {
2398
- val: { type: L.number, value: i, location: c, style: m.val },
2366
+ var g = this.parseNumberSkeletonFromString(M, l.styleLocation);
2367
+ return g.err ? g : {
2368
+ val: { type: I.number, value: i, location: d, style: g.val },
2399
2369
  err: null
2400
2370
  };
2401
2371
  } else {
2402
- if (b.length === 0)
2403
- return this.error(H.EXPECT_DATE_TIME_SKELETON, c);
2404
- var O = b;
2405
- this.locale && (O = Ci(b, this.locale));
2406
- var d = {
2407
- type: Te.dateTime,
2408
- pattern: O,
2409
- location: h.styleLocation,
2410
- parsedOptions: this.shouldParseSkeletons ? Ti(O) : {}
2411
- }, P = a === "date" ? L.date : L.time;
2372
+ if (M.length === 0)
2373
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, d);
2374
+ var j = M;
2375
+ this.locale && (j = Li(M, this.locale));
2376
+ var p = {
2377
+ type: Ee.dateTime,
2378
+ pattern: j,
2379
+ location: l.styleLocation,
2380
+ parsedOptions: this.shouldParseSkeletons ? Hi(j) : {}
2381
+ }, k = a === "date" ? I.date : I.time;
2412
2382
  return {
2413
- val: { type: P, value: i, location: c, style: d },
2383
+ val: { type: k, value: i, location: d, style: p },
2414
2384
  err: null
2415
2385
  };
2416
2386
  }
2417
2387
  }
2418
2388
  return {
2419
2389
  val: {
2420
- type: a === "number" ? L.number : a === "date" ? L.date : L.time,
2390
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2421
2391
  value: i,
2422
- location: c,
2423
- style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
2392
+ location: d,
2393
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
2424
2394
  },
2425
2395
  err: null
2426
2396
  };
@@ -2428,52 +2398,52 @@ var Xi = (
2428
2398
  case "plural":
2429
2399
  case "selectordinal":
2430
2400
  case "select": {
2431
- var I = this.clonePosition();
2401
+ var A = this.clonePosition();
2432
2402
  if (this.bumpSpace(), !this.bumpIf(","))
2433
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, M(I, C({}, I)));
2403
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, je({}, A)));
2434
2404
  this.bumpSpace();
2435
- var Y = this.parseIdentifierIfPossible(), R = 0;
2436
- if (a !== "select" && Y.value === "offset") {
2405
+ var W = this.parseIdentifierIfPossible(), N = 0;
2406
+ if (a !== "select" && W.value === "offset") {
2437
2407
  if (!this.bumpIf(":"))
2438
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2408
+ return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2439
2409
  this.bumpSpace();
2440
- var m = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2441
- if (m.err)
2442
- return m;
2443
- this.bumpSpace(), Y = this.parseIdentifierIfPossible(), R = m.val;
2410
+ var g = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
+ if (g.err)
2412
+ return g;
2413
+ this.bumpSpace(), W = this.parseIdentifierIfPossible(), N = g.val;
2444
2414
  }
2445
- var F = this.tryParsePluralOrSelectOptions(t, a, r, Y);
2446
- if (F.err)
2447
- return F;
2448
- var E = this.tryParseArgumentClose(n);
2449
- if (E.err)
2450
- return E;
2451
- var Q = M(n, this.clonePosition());
2415
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, W);
2416
+ if (U.err)
2417
+ return U;
2418
+ var S = this.tryParseArgumentClose(n);
2419
+ if (S.err)
2420
+ return S;
2421
+ var q = O(n, this.clonePosition());
2452
2422
  return a === "select" ? {
2453
2423
  val: {
2454
- type: L.select,
2424
+ type: I.select,
2455
2425
  value: i,
2456
- options: Ot(F.val),
2457
- location: Q
2426
+ options: Bt(U.val),
2427
+ location: q
2458
2428
  },
2459
2429
  err: null
2460
2430
  } : {
2461
2431
  val: {
2462
- type: L.plural,
2432
+ type: I.plural,
2463
2433
  value: i,
2464
- options: Ot(F.val),
2465
- offset: R,
2434
+ options: Bt(U.val),
2435
+ offset: N,
2466
2436
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2467
- location: Q
2437
+ location: q
2468
2438
  },
2469
2439
  err: null
2470
2440
  };
2471
2441
  }
2472
2442
  default:
2473
- return this.error(H.INVALID_ARGUMENT_TYPE, M(s, l));
2443
+ return this.error(T.INVALID_ARGUMENT_TYPE, O(s, u));
2474
2444
  }
2475
2445
  }, e.prototype.tryParseArgumentClose = function(t) {
2476
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2446
+ return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2477
2447
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2478
2448
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2479
2449
  var i = this.char();
@@ -2482,7 +2452,7 @@ var Xi = (
2482
2452
  this.bump();
2483
2453
  var n = this.clonePosition();
2484
2454
  if (!this.bumpUntil("'"))
2485
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition()));
2455
+ return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2486
2456
  this.bump();
2487
2457
  break;
2488
2458
  }
@@ -2512,52 +2482,52 @@ var Xi = (
2512
2482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2513
2483
  var i = [];
2514
2484
  try {
2515
- i = Hi(t);
2485
+ i = Bi(t);
2516
2486
  } catch (n) {
2517
- return this.error(H.INVALID_NUMBER_SKELETON, r);
2487
+ return this.error(T.INVALID_NUMBER_SKELETON, r);
2518
2488
  }
2519
2489
  return {
2520
2490
  val: {
2521
- type: Te.number,
2491
+ type: Ee.number,
2522
2492
  tokens: i,
2523
2493
  location: r,
2524
- parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2494
+ parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2525
2495
  },
2526
2496
  err: null
2527
2497
  };
2528
2498
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2529
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), h = n.value, f = n.location; ; ) {
2530
- if (h.length === 0) {
2531
- var m = this.clonePosition();
2499
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2500
+ if (l.length === 0) {
2501
+ var g = this.clonePosition();
2532
2502
  if (r !== "select" && this.bumpIf("=")) {
2533
- var d = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2534
- if (d.err)
2535
- return d;
2536
- f = M(m, this.clonePosition()), h = this.message.slice(m.offset, this.offset());
2503
+ var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2504
+ if (p.err)
2505
+ return p;
2506
+ f = O(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2537
2507
  } else
2538
2508
  break;
2539
2509
  }
2540
- if (l.has(h))
2541
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2542
- h === "other" && (s = !0), this.bumpSpace();
2543
- var y = this.clonePosition();
2510
+ if (u.has(l))
2511
+ return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2512
+ l === "other" && (s = !0), this.bumpSpace();
2513
+ var x = this.clonePosition();
2544
2514
  if (!this.bumpIf("{"))
2545
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
2546
- var E = this.parseMessage(t + 1, r, i);
2547
- if (E.err)
2548
- return E;
2549
- var c = this.tryParseArgumentClose(y);
2550
- if (c.err)
2551
- return c;
2515
+ return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2516
+ var S = this.parseMessage(t + 1, r, i);
2517
+ if (S.err)
2518
+ return S;
2519
+ var d = this.tryParseArgumentClose(x);
2520
+ if (d.err)
2521
+ return d;
2552
2522
  a.push([
2553
- h,
2523
+ l,
2554
2524
  {
2555
- value: E.val,
2556
- location: M(y, this.clonePosition())
2525
+ value: S.val,
2526
+ location: O(x, this.clonePosition())
2557
2527
  }
2558
- ]), l.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, f = o.location;
2528
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
2559
2529
  }
2560
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(H.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2530
+ return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2561
2531
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2562
2532
  var i = 1, n = this.clonePosition();
2563
2533
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2568,8 +2538,8 @@ var Xi = (
2568
2538
  else
2569
2539
  break;
2570
2540
  }
2571
- var l = M(n, this.clonePosition());
2572
- return o ? (s *= i, ji(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
2541
+ var u = O(n, this.clonePosition());
2542
+ return o ? (s *= i, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2573
2543
  }, e.prototype.offset = function() {
2574
2544
  return this.position.offset;
2575
2545
  }, e.prototype.isEOF = function() {
@@ -2584,7 +2554,7 @@ var Xi = (
2584
2554
  var t = this.position.offset;
2585
2555
  if (t >= this.message.length)
2586
2556
  throw Error("out of bound");
2587
- var r = cr(this.message, t);
2557
+ var r = pr(this.message, t);
2588
2558
  if (r === void 0)
2589
2559
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2590
2560
  return r;
@@ -2603,7 +2573,7 @@ var Xi = (
2603
2573
  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);
2604
2574
  }
2605
2575
  }, e.prototype.bumpIf = function(t) {
2606
- if (Ht(this.message, t, this.offset())) {
2576
+ if (At(this.message, t, this.offset())) {
2607
2577
  for (var r = 0; r < t.length; r++)
2608
2578
  this.bump();
2609
2579
  return !0;
@@ -2625,7 +2595,7 @@ var Xi = (
2625
2595
  break;
2626
2596
  }
2627
2597
  }, e.prototype.bumpSpace = function() {
2628
- for (; !this.isEOF() && pr(this.char()); )
2598
+ for (; !this.isEOF() && vr(this.char()); )
2629
2599
  this.bump();
2630
2600
  }, e.prototype.peek = function() {
2631
2601
  if (this.isEOF())
@@ -2638,44 +2608,44 @@ var Xi = (
2638
2608
  function lt(e) {
2639
2609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2640
2610
  }
2641
- function qi(e) {
2611
+ function Ji(e) {
2642
2612
  return lt(e) || e === 47;
2643
2613
  }
2644
- function Yi(e) {
2614
+ function Qi(e) {
2645
2615
  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;
2646
2616
  }
2647
- function pr(e) {
2617
+ function vr(e) {
2648
2618
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
2649
2619
  }
2650
- function Zi(e) {
2620
+ function Ki(e) {
2651
2621
  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;
2652
2622
  }
2653
- function ft(e) {
2623
+ function ht(e) {
2654
2624
  e.forEach(function(t) {
2655
- if (delete t.location, nr(t) || or(t))
2625
+ if (delete t.location, sr(t) || ar(t))
2656
2626
  for (var r in t.options)
2657
- delete t.options[r].location, ft(t.options[r].value);
2627
+ delete t.options[r].location, ht(t.options[r].value);
2658
2628
  else
2659
- tr(t) && ar(t.style) || (rr(t) || ir(t)) && ot(t.style) ? delete t.style.location : sr(t) && ft(t.children);
2629
+ ir(t) && lr(t.style) || (nr(t) || or(t)) && ot(t.style) ? delete t.style.location : ur(t) && ht(t.children);
2660
2630
  });
2661
2631
  }
2662
- function Ji(e, t) {
2663
- t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2664
- var r = new Xi(e, t).parse();
2632
+ function en(e, t) {
2633
+ t === void 0 && (t = {}), t = je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2634
+ var r = new Zi(e, t).parse();
2665
2635
  if (r.err) {
2666
- var i = SyntaxError(H[r.err.kind]);
2636
+ var i = SyntaxError(T[r.err.kind]);
2667
2637
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
2668
2638
  }
2669
- return t != null && t.captureLocation || ft(r.val), r.val;
2639
+ return t != null && t.captureLocation || ht(r.val), r.val;
2670
2640
  }
2671
- var Pe;
2641
+ var we;
2672
2642
  (function(e) {
2673
2643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2674
- })(Pe || (Pe = {}));
2675
- var We = (
2644
+ })(we || (we = {}));
2645
+ var qe = (
2676
2646
  /** @class */
2677
2647
  function(e) {
2678
- ue(t, e);
2648
+ Xe(t, e);
2679
2649
  function t(r, i, n) {
2680
2650
  var o = e.call(this, r) || this;
2681
2651
  return o.code = i, o.originalMessage = n, o;
@@ -2684,155 +2654,155 @@ var We = (
2684
2654
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2685
2655
  }, t;
2686
2656
  }(Error)
2687
- ), Bt = (
2657
+ ), Ct = (
2688
2658
  /** @class */
2689
2659
  function(e) {
2690
- ue(t, e);
2660
+ Xe(t, e);
2691
2661
  function t(r, i, n, o) {
2692
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, o) || this;
2662
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), we.INVALID_VALUE, o) || this;
2693
2663
  }
2694
2664
  return t;
2695
- }(We)
2696
- ), Qi = (
2665
+ }(qe)
2666
+ ), tn = (
2697
2667
  /** @class */
2698
2668
  function(e) {
2699
- ue(t, e);
2669
+ Xe(t, e);
2700
2670
  function t(r, i, n) {
2701
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
2671
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), we.INVALID_VALUE, n) || this;
2702
2672
  }
2703
2673
  return t;
2704
- }(We)
2705
- ), Ki = (
2674
+ }(qe)
2675
+ ), rn = (
2706
2676
  /** @class */
2707
2677
  function(e) {
2708
- ue(t, e);
2678
+ Xe(t, e);
2709
2679
  function t(r, i) {
2710
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
2680
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), we.MISSING_VALUE, i) || this;
2711
2681
  }
2712
2682
  return t;
2713
- }(We)
2714
- ), q;
2683
+ }(qe)
2684
+ ), z;
2715
2685
  (function(e) {
2716
2686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2717
- })(q || (q = {}));
2718
- function en(e) {
2687
+ })(z || (z = {}));
2688
+ function nn(e) {
2719
2689
  return e.length < 2 ? e : e.reduce(function(t, r) {
2720
2690
  var i = t[t.length - 1];
2721
- return !i || i.type !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
2691
+ return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
2722
2692
  }, []);
2723
2693
  }
2724
- function tn(e) {
2694
+ function on(e) {
2725
2695
  return typeof e == "function";
2726
2696
  }
2727
2697
  function Fe(e, t, r, i, n, o, s) {
2728
- if (e.length === 1 && wt(e[0]))
2698
+ if (e.length === 1 && Tt(e[0]))
2729
2699
  return [
2730
2700
  {
2731
- type: q.literal,
2701
+ type: z.literal,
2732
2702
  value: e[0].value
2733
2703
  }
2734
2704
  ];
2735
- for (var a = [], l = 0, h = e; l < h.length; l++) {
2736
- var f = h[l];
2737
- if (wt(f)) {
2705
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
2706
+ var f = l[u];
2707
+ if (Tt(f)) {
2738
2708
  a.push({
2739
- type: q.literal,
2709
+ type: z.literal,
2740
2710
  value: f.value
2741
2711
  });
2742
2712
  continue;
2743
2713
  }
2744
- if (wi(f)) {
2714
+ if (Pi(f)) {
2745
2715
  typeof o == "number" && a.push({
2746
- type: q.literal,
2716
+ type: z.literal,
2747
2717
  value: r.getNumberFormat(t).format(o)
2748
2718
  });
2749
2719
  continue;
2750
2720
  }
2751
- var m = f.value;
2752
- if (!(n && m in n))
2753
- throw new Ki(m, s);
2754
- var d = n[m];
2755
- if (Ei(f)) {
2756
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
2757
- type: typeof d == "string" ? q.literal : q.object,
2758
- value: d
2721
+ var g = f.value;
2722
+ if (!(n && g in n))
2723
+ throw new rn(g, s);
2724
+ var p = n[g];
2725
+ if (Ti(f)) {
2726
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
2727
+ type: typeof p == "string" ? z.literal : z.object,
2728
+ value: p
2759
2729
  });
2760
2730
  continue;
2761
2731
  }
2762
- if (rr(f)) {
2763
- var y = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2732
+ if (nr(f)) {
2733
+ var x = typeof f.style == "string" ? i.date[f.style] : ot(f.style) ? f.style.parsedOptions : void 0;
2764
2734
  a.push({
2765
- type: q.literal,
2766
- value: r.getDateTimeFormat(t, y).format(d)
2735
+ type: z.literal,
2736
+ value: r.getDateTimeFormat(t, x).format(p)
2767
2737
  });
2768
2738
  continue;
2769
2739
  }
2770
- if (ir(f)) {
2771
- var y = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2740
+ if (or(f)) {
2741
+ var x = typeof f.style == "string" ? i.time[f.style] : ot(f.style) ? f.style.parsedOptions : i.time.medium;
2772
2742
  a.push({
2773
- type: q.literal,
2774
- value: r.getDateTimeFormat(t, y).format(d)
2743
+ type: z.literal,
2744
+ value: r.getDateTimeFormat(t, x).format(p)
2775
2745
  });
2776
2746
  continue;
2777
2747
  }
2778
- if (tr(f)) {
2779
- var y = typeof f.style == "string" ? i.number[f.style] : ar(f.style) ? f.style.parsedOptions : void 0;
2780
- y && y.scale && (d = d * (y.scale || 1)), a.push({
2781
- type: q.literal,
2782
- value: r.getNumberFormat(t, y).format(d)
2748
+ if (ir(f)) {
2749
+ var x = typeof f.style == "string" ? i.number[f.style] : lr(f.style) ? f.style.parsedOptions : void 0;
2750
+ x && x.scale && (p = p * (x.scale || 1)), a.push({
2751
+ type: z.literal,
2752
+ value: r.getNumberFormat(t, x).format(p)
2783
2753
  });
2784
2754
  continue;
2785
2755
  }
2786
- if (sr(f)) {
2787
- var E = f.children, c = f.value, b = n[c];
2788
- if (!tn(b))
2789
- throw new Qi(c, "function", s);
2790
- var O = Fe(E, t, r, i, n, o), P = b(O.map(function(R) {
2791
- return R.value;
2756
+ if (ur(f)) {
2757
+ var S = f.children, d = f.value, M = n[d];
2758
+ if (!on(M))
2759
+ throw new tn(d, "function", s);
2760
+ var j = Fe(S, t, r, i, n, o), k = M(j.map(function(N) {
2761
+ return N.value;
2792
2762
  }));
2793
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(R) {
2763
+ Array.isArray(k) || (k = [k]), a.push.apply(a, k.map(function(N) {
2794
2764
  return {
2795
- type: typeof R == "string" ? q.literal : q.object,
2796
- value: R
2765
+ type: typeof N == "string" ? z.literal : z.object,
2766
+ value: N
2797
2767
  };
2798
2768
  }));
2799
2769
  }
2800
- if (nr(f)) {
2801
- var I = f.options[d] || f.options.other;
2802
- if (!I)
2803
- throw new Bt(f.value, d, Object.keys(f.options), s);
2804
- a.push.apply(a, Fe(I.value, t, r, i, n));
2770
+ if (sr(f)) {
2771
+ var A = f.options[p] || f.options.other;
2772
+ if (!A)
2773
+ throw new Ct(f.value, p, Object.keys(f.options), s);
2774
+ a.push.apply(a, Fe(A.value, t, r, i, n));
2805
2775
  continue;
2806
2776
  }
2807
- if (or(f)) {
2808
- var I = f.options["=".concat(d)];
2809
- if (!I) {
2777
+ if (ar(f)) {
2778
+ var A = f.options["=".concat(p)];
2779
+ if (!A) {
2810
2780
  if (!Intl.PluralRules)
2811
- throw new We(`Intl.PluralRules is not available in this environment.
2781
+ throw new qe(`Intl.PluralRules is not available in this environment.
2812
2782
  Try polyfilling it using "@formatjs/intl-pluralrules"
2813
- `, Pe.MISSING_INTL_API, s);
2814
- var Y = r.getPluralRules(t, { type: f.pluralType }).select(d - (f.offset || 0));
2815
- I = f.options[Y] || f.options.other;
2783
+ `, we.MISSING_INTL_API, s);
2784
+ var W = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2785
+ A = f.options[W] || f.options.other;
2816
2786
  }
2817
- if (!I)
2818
- throw new Bt(f.value, d, Object.keys(f.options), s);
2819
- a.push.apply(a, Fe(I.value, t, r, i, n, d - (f.offset || 0)));
2787
+ if (!A)
2788
+ throw new Ct(f.value, p, Object.keys(f.options), s);
2789
+ a.push.apply(a, Fe(A.value, t, r, i, n, p - (f.offset || 0)));
2820
2790
  continue;
2821
2791
  }
2822
2792
  }
2823
- return en(a);
2793
+ return nn(a);
2824
2794
  }
2825
- function rn(e, t) {
2826
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2827
- return r[i] = C(C({}, e[i]), t[i] || {}), r;
2795
+ function sn(e, t) {
2796
+ return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2797
+ return r[i] = J(J({}, e[i]), t[i] || {}), r;
2828
2798
  }, {})) : e;
2829
2799
  }
2830
- function nn(e, t) {
2800
+ function an(e, t) {
2831
2801
  return t ? Object.keys(e).reduce(function(r, i) {
2832
- return r[i] = rn(e[i], t[i]), r;
2833
- }, C({}, e)) : e;
2802
+ return r[i] = sn(e[i], t[i]), r;
2803
+ }, J({}, e)) : e;
2834
2804
  }
2835
- function Ke(e) {
2805
+ function tt(e) {
2836
2806
  return {
2837
2807
  create: function() {
2838
2808
  return {
@@ -2846,39 +2816,39 @@ function Ke(e) {
2846
2816
  }
2847
2817
  };
2848
2818
  }
2849
- function on(e) {
2819
+ function un(e) {
2850
2820
  return e === void 0 && (e = {
2851
2821
  number: {},
2852
2822
  dateTime: {},
2853
2823
  pluralRules: {}
2854
2824
  }), {
2855
- getNumberFormat: Ze(function() {
2825
+ getNumberFormat: Qe(function() {
2856
2826
  for (var t, r = [], i = 0; i < arguments.length; i++)
2857
2827
  r[i] = arguments[i];
2858
- return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
2828
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
2859
2829
  }, {
2860
- cache: Ke(e.number),
2861
- strategy: Je.variadic
2830
+ cache: tt(e.number),
2831
+ strategy: Ke.variadic
2862
2832
  }),
2863
- getDateTimeFormat: Ze(function() {
2833
+ getDateTimeFormat: Qe(function() {
2864
2834
  for (var t, r = [], i = 0; i < arguments.length; i++)
2865
2835
  r[i] = arguments[i];
2866
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
2836
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
2867
2837
  }, {
2868
- cache: Ke(e.dateTime),
2869
- strategy: Je.variadic
2838
+ cache: tt(e.dateTime),
2839
+ strategy: Ke.variadic
2870
2840
  }),
2871
- getPluralRules: Ze(function() {
2841
+ getPluralRules: Qe(function() {
2872
2842
  for (var t, r = [], i = 0; i < arguments.length; i++)
2873
2843
  r[i] = arguments[i];
2874
- return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
2844
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
2875
2845
  }, {
2876
- cache: Ke(e.pluralRules),
2877
- strategy: Je.variadic
2846
+ cache: tt(e.pluralRules),
2847
+ strategy: Ke.variadic
2878
2848
  })
2879
2849
  };
2880
2850
  }
2881
- var mr = (
2851
+ var gr = (
2882
2852
  /** @class */
2883
2853
  function() {
2884
2854
  function e(t, r, i, n) {
@@ -2888,20 +2858,20 @@ var mr = (
2888
2858
  number: {},
2889
2859
  dateTime: {},
2890
2860
  pluralRules: {}
2891
- }, this.format = function(l) {
2892
- var h = o.formatToParts(l);
2893
- if (h.length === 1)
2894
- return h[0].value;
2895
- var f = h.reduce(function(m, d) {
2896
- return !m.length || d.type !== q.literal || typeof m[m.length - 1] != "string" ? m.push(d.value) : m[m.length - 1] += d.value, m;
2861
+ }, this.format = function(u) {
2862
+ var l = o.formatToParts(u);
2863
+ if (l.length === 1)
2864
+ return l[0].value;
2865
+ var f = l.reduce(function(g, p) {
2866
+ return !g.length || p.type !== z.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
2897
2867
  }, []);
2898
2868
  return f.length <= 1 ? f[0] || "" : f;
2899
- }, this.formatToParts = function(l) {
2900
- return Fe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
2869
+ }, this.formatToParts = function(u) {
2870
+ return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
2901
2871
  }, this.resolvedOptions = function() {
2902
- var l;
2872
+ var u;
2903
2873
  return {
2904
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2874
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
2905
2875
  };
2906
2876
  }, this.getAst = function() {
2907
2877
  return o.ast;
@@ -2910,13 +2880,13 @@ var mr = (
2910
2880
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
2911
2881
  var s = n || {};
2912
2882
  s.formatters;
2913
- var a = pi(s, ["formatters"]);
2914
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
2883
+ var a = gi(s, ["formatters"]);
2884
+ this.ast = e.__parse(t, J(J({}, a), { locale: this.resolvedLocale }));
2915
2885
  } else
2916
2886
  this.ast = t;
2917
2887
  if (!Array.isArray(this.ast))
2918
2888
  throw new TypeError("A message must be provided as a String or AST.");
2919
- this.formats = nn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
2889
+ this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
2920
2890
  }
2921
2891
  return Object.defineProperty(e, "defaultLocale", {
2922
2892
  get: function() {
@@ -2929,7 +2899,7 @@ var mr = (
2929
2899
  var r = Intl.NumberFormat.supportedLocalesOf(t);
2930
2900
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
2931
2901
  }
2932
- }, e.__parse = Ji, e.formats = {
2902
+ }, e.__parse = en, e.formats = {
2933
2903
  number: {
2934
2904
  integer: {
2935
2905
  maximumFractionDigits: 0
@@ -2990,7 +2960,7 @@ var mr = (
2990
2960
  }, e;
2991
2961
  }()
2992
2962
  );
2993
- function sn(e, t) {
2963
+ function ln(e, t) {
2994
2964
  if (t == null)
2995
2965
  return;
2996
2966
  if (t in e)
@@ -3011,101 +2981,101 @@ function sn(e, t) {
3011
2981
  i = void 0;
3012
2982
  return i;
3013
2983
  }
3014
- const ce = {}, an = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), gr = (e, t) => {
2984
+ const fe = {}, hn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), br = (e, t) => {
3015
2985
  if (t == null)
3016
2986
  return;
3017
- if (t in ce && e in ce[t])
3018
- return ce[t][e];
3019
- const r = Ne(t);
2987
+ if (t in fe && e in fe[t])
2988
+ return fe[t][e];
2989
+ const r = De(t);
3020
2990
  for (let i = 0; i < r.length; i++) {
3021
- const n = r[i], o = ln(n, e);
2991
+ const n = r[i], o = cn(n, e);
3022
2992
  if (o)
3023
- return an(e, t, o);
2993
+ return hn(e, t, o);
3024
2994
  }
3025
2995
  };
3026
- let vt;
3027
- const Le = De({});
3028
- function un(e) {
3029
- return vt[e] || null;
2996
+ let xt;
2997
+ const Ie = Ce({});
2998
+ function fn(e) {
2999
+ return xt[e] || null;
3030
3000
  }
3031
- function vr(e) {
3032
- return e in vt;
3001
+ function yr(e) {
3002
+ return e in xt;
3033
3003
  }
3034
- function ln(e, t) {
3035
- if (!vr(e))
3004
+ function cn(e, t) {
3005
+ if (!yr(e))
3036
3006
  return null;
3037
- const r = un(e);
3038
- return sn(r, t);
3007
+ const r = fn(e);
3008
+ return ln(r, t);
3039
3009
  }
3040
- function fn(e) {
3010
+ function dn(e) {
3041
3011
  if (e == null)
3042
3012
  return;
3043
- const t = Ne(e);
3013
+ const t = De(e);
3044
3014
  for (let r = 0; r < t.length; r++) {
3045
3015
  const i = t[r];
3046
- if (vr(i))
3016
+ if (yr(i))
3047
3017
  return i;
3048
3018
  }
3049
3019
  }
3050
- function br(e, ...t) {
3051
- delete ce[e], Le.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3020
+ function xr(e, ...t) {
3021
+ delete fe[e], Ie.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3052
3022
  }
3053
- Oe(
3054
- [Le],
3023
+ Te(
3024
+ [Ie],
3055
3025
  ([e]) => Object.keys(e)
3056
3026
  );
3057
- Le.subscribe((e) => vt = e);
3027
+ Ie.subscribe((e) => xt = e);
3058
3028
  const Ve = {};
3059
- function hn(e, t) {
3029
+ function pn(e, t) {
3060
3030
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3061
3031
  }
3062
- function yr(e) {
3032
+ function _r(e) {
3063
3033
  return Ve[e];
3064
3034
  }
3065
- function cn(e) {
3066
- return Ne(e).map((t) => {
3067
- const r = yr(t);
3035
+ function mn(e) {
3036
+ return De(e).map((t) => {
3037
+ const r = _r(t);
3068
3038
  return [t, r ? [...r] : []];
3069
3039
  }).filter(([, t]) => t.length > 0);
3070
3040
  }
3071
- function je(e) {
3072
- return e == null ? !1 : Ne(e).some(
3041
+ function $e(e) {
3042
+ return e == null ? !1 : De(e).some(
3073
3043
  (t) => {
3074
3044
  var r;
3075
- return (r = yr(t)) == null ? void 0 : r.size;
3045
+ return (r = _r(t)) == null ? void 0 : r.size;
3076
3046
  }
3077
3047
  );
3078
3048
  }
3079
- function dn(e, t) {
3049
+ function vn(e, t) {
3080
3050
  return Promise.all(
3081
- t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
3082
- ).then((i) => br(e, ...i));
3051
+ t.map((i) => (pn(e, i), i().then((n) => n.default || n)))
3052
+ ).then((i) => xr(e, ...i));
3083
3053
  }
3084
- const Be = {};
3085
- function xr(e) {
3086
- if (!je(e))
3087
- return e in Be ? Be[e] : Promise.resolve();
3088
- const t = cn(e);
3089
- return Be[e] = Promise.all(
3054
+ const Oe = {};
3055
+ function Er(e) {
3056
+ if (!$e(e))
3057
+ return e in Oe ? Oe[e] : Promise.resolve();
3058
+ const t = mn(e);
3059
+ return Oe[e] = Promise.all(
3090
3060
  t.map(
3091
- ([r, i]) => dn(r, i)
3061
+ ([r, i]) => vn(r, i)
3092
3062
  )
3093
3063
  ).then(() => {
3094
- if (je(e))
3095
- return xr(e);
3096
- delete Be[e];
3097
- }), Be[e];
3064
+ if ($e(e))
3065
+ return Er(e);
3066
+ delete Oe[e];
3067
+ }), Oe[e];
3098
3068
  }
3099
- var Mt = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
3069
+ var It = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3100
3070
  var r = {};
3101
3071
  for (var i in e)
3102
- pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3103
- if (e != null && Mt)
3104
- for (var i of Mt(e))
3105
- t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3072
+ gn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3073
+ if (e != null && It)
3074
+ for (var i of It(e))
3075
+ t.indexOf(i) < 0 && bn.call(e, i) && (r[i] = e[i]);
3106
3076
  return r;
3107
3077
  };
3108
- const vn = {
3078
+ const xn = {
3109
3079
  number: {
3110
3080
  scientific: { notation: "scientific" },
3111
3081
  engineering: { notation: "engineering" },
@@ -3135,204 +3105,204 @@ const vn = {
3135
3105
  }
3136
3106
  }
3137
3107
  };
3138
- function bn({ locale: e, id: t }) {
3108
+ function _n({ locale: e, id: t }) {
3139
3109
  console.warn(
3140
- `[svelte-i18n] The message "${t}" was not found in "${Ne(
3110
+ `[svelte-i18n] The message "${t}" was not found in "${De(
3141
3111
  e
3142
- ).join('", "')}".${je(de()) ? `
3112
+ ).join('", "')}".${$e(pe()) ? `
3143
3113
 
3144
3114
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3145
3115
  );
3146
3116
  }
3147
- const yn = {
3117
+ const En = {
3148
3118
  fallbackLocale: null,
3149
3119
  loadingDelay: 200,
3150
- formats: vn,
3120
+ formats: xn,
3151
3121
  warnOnMissingMessages: !0,
3152
3122
  handleMissingMessage: void 0,
3153
3123
  ignoreTag: !0
3154
- }, Me = yn;
3155
- function He() {
3156
- return Me;
3124
+ }, He = En;
3125
+ function Se() {
3126
+ return He;
3157
3127
  }
3158
- function xn(e) {
3159
- const t = e, { formats: r } = t, i = gn(t, ["formats"]);
3128
+ function wn(e) {
3129
+ const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3160
3130
  let n = e.fallbackLocale;
3161
3131
  if (e.initialLocale)
3162
3132
  try {
3163
- mr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3133
+ gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3164
3134
  } catch (o) {
3165
3135
  console.warn(
3166
3136
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3167
3137
  );
3168
3138
  }
3169
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3139
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = _n : console.warn(
3170
3140
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3171
- )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), be.set(n);
3141
+ )), Object.assign(He, i, { initialLocale: n }), r && ("number" in r && Object.assign(He.formats.number, r.number), "date" in r && Object.assign(He.formats.date, r.date), "time" in r && Object.assign(He.formats.time, r.time)), be.set(n);
3172
3142
  }
3173
- const et = De(!1);
3174
- var _n = Object.defineProperty, En = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3175
- for (var r in t)
3176
- Sn.call(t, r) && It(e, r, t[r]);
3177
- if (Ct)
3178
- for (var r of Ct(t))
3179
- Tn.call(t, r) && It(e, r, t[r]);
3143
+ const rt = Ce(!1);
3144
+ var Sn = Object.defineProperty, Tn = Object.defineProperties, Pn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3145
+ for (var r in t || (t = {}))
3146
+ On.call(t, r) && Lt(e, r, t[r]);
3147
+ if (Dt)
3148
+ for (var r of Dt(t))
3149
+ Hn.call(t, r) && Lt(e, r, t[r]);
3180
3150
  return e;
3181
- }, Hn = (e, t) => En(e, wn(t));
3182
- let ht;
3183
- const $e = De(null);
3184
- function Dt(e) {
3151
+ }, Bn = (e, t) => Tn(e, Pn(t));
3152
+ let ft;
3153
+ const ze = Ce(null);
3154
+ function Nt(e) {
3185
3155
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3186
3156
  }
3187
- function Ne(e, t = He().fallbackLocale) {
3188
- const r = Dt(e);
3189
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
3157
+ function De(e, t = Se().fallbackLocale) {
3158
+ const r = Nt(e);
3159
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3190
3160
  }
3191
- function de() {
3192
- return ht != null ? ht : void 0;
3161
+ function pe() {
3162
+ return ft != null ? ft : void 0;
3193
3163
  }
3194
- $e.subscribe((e) => {
3195
- ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3164
+ ze.subscribe((e) => {
3165
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3196
3166
  });
3197
- const On = (e) => {
3198
- if (e && fn(e) && je(e)) {
3199
- const { loadingDelay: t } = He();
3167
+ const Mn = (e) => {
3168
+ if (e && dn(e) && $e(e)) {
3169
+ const { loadingDelay: t } = Se();
3200
3170
  let r;
3201
- return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3202
- () => et.set(!0),
3171
+ return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
3172
+ () => rt.set(!0),
3203
3173
  t
3204
- ) : et.set(!0), xr(e).then(() => {
3205
- $e.set(e);
3174
+ ) : rt.set(!0), Er(e).then(() => {
3175
+ ze.set(e);
3206
3176
  }).finally(() => {
3207
- clearTimeout(r), et.set(!1);
3177
+ clearTimeout(r), rt.set(!1);
3208
3178
  });
3209
3179
  }
3210
- return $e.set(e);
3211
- }, be = Hn(Pn({}, $e), {
3212
- set: On
3213
- }), Xe = (e) => {
3180
+ return ze.set(e);
3181
+ }, be = Bn(An({}, ze), {
3182
+ set: Mn
3183
+ }), Ye = (e) => {
3214
3184
  const t = /* @__PURE__ */ Object.create(null);
3215
3185
  return (i) => {
3216
3186
  const n = JSON.stringify(i);
3217
3187
  return n in t ? t[n] : t[n] = e(i);
3218
3188
  };
3219
3189
  };
3220
- var An = Object.defineProperty, ze = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3190
+ var Cn = Object.defineProperty, We = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3221
3191
  for (var r in t || (t = {}))
3222
- _r.call(t, r) && Lt(e, r, t[r]);
3223
- if (ze)
3224
- for (var r of ze(t))
3225
- Er.call(t, r) && Lt(e, r, t[r]);
3192
+ wr.call(t, r) && Rt(e, r, t[r]);
3193
+ if (We)
3194
+ for (var r of We(t))
3195
+ Sr.call(t, r) && Rt(e, r, t[r]);
3226
3196
  return e;
3227
- }, Ae = (e, t) => {
3197
+ }, Pe = (e, t) => {
3228
3198
  var r = {};
3229
3199
  for (var i in e)
3230
- _r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3231
- if (e != null && ze)
3232
- for (var i of ze(e))
3233
- t.indexOf(i) < 0 && Er.call(e, i) && (r[i] = e[i]);
3200
+ wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3201
+ if (e != null && We)
3202
+ for (var i of We(e))
3203
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3234
3204
  return r;
3235
3205
  };
3236
- const Ie = (e, t) => {
3237
- const { formats: r } = He();
3206
+ const Me = (e, t) => {
3207
+ const { formats: r } = Se();
3238
3208
  if (e in r && t in r[e])
3239
3209
  return r[e][t];
3240
3210
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3241
- }, Bn = Xe(
3211
+ }, In = Ye(
3242
3212
  (e) => {
3243
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3213
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3244
3214
  if (r == null)
3245
3215
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3246
- return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3216
+ return i && (n = Me("number", i)), new Intl.NumberFormat(r, n);
3247
3217
  }
3248
- ), Mn = Xe(
3218
+ ), Dn = Ye(
3249
3219
  (e) => {
3250
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3220
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3251
3221
  if (r == null)
3252
3222
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3253
- return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3223
+ return i ? n = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3254
3224
  }
3255
- ), Cn = Xe(
3225
+ ), Ln = Ye(
3256
3226
  (e) => {
3257
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3227
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3258
3228
  if (r == null)
3259
3229
  throw new Error(
3260
3230
  '[svelte-i18n] A "locale" must be set to format time values'
3261
3231
  );
3262
- return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3232
+ return i ? n = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3263
3233
  }
3264
- ), In = (e = {}) => {
3234
+ ), Nn = (e = {}) => {
3265
3235
  var t = e, {
3266
- locale: r = de()
3267
- } = t, i = Ae(t, [
3236
+ locale: r = pe()
3237
+ } = t, i = Pe(t, [
3268
3238
  "locale"
3269
3239
  ]);
3270
- return Bn(bt({ locale: r }, i));
3271
- }, Dn = (e = {}) => {
3240
+ return In(_t({ locale: r }, i));
3241
+ }, Rn = (e = {}) => {
3272
3242
  var t = e, {
3273
- locale: r = de()
3274
- } = t, i = Ae(t, [
3243
+ locale: r = pe()
3244
+ } = t, i = Pe(t, [
3275
3245
  "locale"
3276
3246
  ]);
3277
- return Mn(bt({ locale: r }, i));
3278
- }, Ln = (e = {}) => {
3247
+ return Dn(_t({ locale: r }, i));
3248
+ }, kn = (e = {}) => {
3279
3249
  var t = e, {
3280
- locale: r = de()
3281
- } = t, i = Ae(t, [
3250
+ locale: r = pe()
3251
+ } = t, i = Pe(t, [
3282
3252
  "locale"
3283
3253
  ]);
3284
- return Cn(bt({ locale: r }, i));
3285
- }, Nn = Xe(
3254
+ return Ln(_t({ locale: r }, i));
3255
+ }, Un = Ye(
3286
3256
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3287
- (e, t = de()) => new mr(e, t, He().formats, {
3288
- ignoreTag: He().ignoreTag
3257
+ (e, t = pe()) => new gr(e, t, Se().formats, {
3258
+ ignoreTag: Se().ignoreTag
3289
3259
  })
3290
- ), Rn = (e, t = {}) => {
3260
+ ), Fn = (e, t = {}) => {
3291
3261
  var r, i, n, o;
3292
3262
  let s = t;
3293
3263
  typeof e == "object" && (s = e, e = s.id);
3294
3264
  const {
3295
3265
  values: a,
3296
- locale: l = de(),
3297
- default: h
3266
+ locale: u = pe(),
3267
+ default: l
3298
3268
  } = s;
3299
- if (l == null)
3269
+ if (u == null)
3300
3270
  throw new Error(
3301
3271
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3302
3272
  );
3303
- let f = gr(e, l);
3273
+ let f = br(e, u);
3304
3274
  if (!f)
3305
- f = (o = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: h })) != null ? n : h) != null ? o : e;
3275
+ f = (o = (n = (i = (r = Se()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3306
3276
  else if (typeof f != "string")
3307
3277
  return console.warn(
3308
3278
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3309
3279
  ), f;
3310
3280
  if (!a)
3311
3281
  return f;
3312
- let m = f;
3282
+ let g = f;
3313
3283
  try {
3314
- m = Nn(f, l).format(a);
3315
- } catch (d) {
3316
- d instanceof Error && console.warn(
3284
+ g = Un(f, u).format(a);
3285
+ } catch (p) {
3286
+ p instanceof Error && console.warn(
3317
3287
  `[svelte-i18n] Message "${e}" has syntax error:`,
3318
- d.message
3288
+ p.message
3319
3289
  );
3320
3290
  }
3321
- return m;
3322
- }, Un = (e, t) => Ln(t).format(e), kn = (e, t) => Dn(t).format(e), Fn = (e, t) => In(t).format(e), Vn = (e, t = de()) => gr(e, t), Gn = Oe([be, Le], () => Rn);
3323
- Oe([be], () => Un);
3324
- Oe([be], () => kn);
3325
- Oe([be], () => Fn);
3326
- Oe([be, Le], () => Vn);
3327
- function Nt(e, t) {
3328
- br(e, t);
3291
+ return g;
3292
+ }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), $n = (e, t = pe()) => br(e, t), zn = Te([be, Ie], () => Fn);
3293
+ Te([be], () => Vn);
3294
+ Te([be], () => Gn);
3295
+ Te([be], () => jn);
3296
+ Te([be, Ie], () => $n);
3297
+ function kt(e, t) {
3298
+ xr(e, t);
3329
3299
  }
3330
- function jn(e) {
3331
- xn({
3300
+ function Wn(e) {
3301
+ wn({
3332
3302
  fallbackLocale: "en"
3333
3303
  }), be.set(e);
3334
3304
  }
3335
- const Rt = {
3305
+ const Ut = {
3336
3306
  en: {
3337
3307
  "verification.video.how-to": "How to verify yourself",
3338
3308
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3388,17 +3358,86 @@ const Rt = {
3388
3358
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3389
3359
  }
3390
3360
  };
3391
- let $n = De(null);
3392
- function ae(e) {
3361
+ let Xn = Ce(null);
3362
+ /*! *****************************************************************************
3363
+ Copyright (c) Microsoft Corporation.
3364
+
3365
+ Permission to use, copy, modify, and/or distribute this software for any
3366
+ purpose with or without fee is hereby granted.
3367
+
3368
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3369
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3370
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3371
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3372
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3373
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3374
+ PERFORMANCE OF THIS SOFTWARE.
3375
+ ***************************************************************************** */
3376
+ var ct = function(e, t) {
3377
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
3378
+ r.__proto__ = i;
3379
+ } || function(r, i) {
3380
+ for (var n in i)
3381
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
3382
+ }, ct(e, t);
3383
+ };
3384
+ function Le(e, t) {
3385
+ if (typeof t != "function" && t !== null)
3386
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3387
+ ct(e, t);
3388
+ function r() {
3389
+ this.constructor = e;
3390
+ }
3391
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3392
+ }
3393
+ function dt(e) {
3394
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
3395
+ if (r)
3396
+ return r.call(e);
3397
+ if (e && typeof e.length == "number")
3398
+ return {
3399
+ next: function() {
3400
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
3401
+ }
3402
+ };
3403
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3404
+ }
3405
+ function pt(e, t) {
3406
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3407
+ if (!r)
3408
+ return e;
3409
+ var i = r.call(e), n, o = [], s;
3410
+ try {
3411
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
3412
+ o.push(n.value);
3413
+ } catch (a) {
3414
+ s = { error: a };
3415
+ } finally {
3416
+ try {
3417
+ n && !n.done && (r = i.return) && r.call(i);
3418
+ } finally {
3419
+ if (s)
3420
+ throw s.error;
3421
+ }
3422
+ }
3423
+ return o;
3424
+ }
3425
+ function mt(e, t, r) {
3426
+ if (arguments.length === 2)
3427
+ for (var i = 0, n = t.length, o; i < n; i++)
3428
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
3429
+ return e.concat(o || t);
3430
+ }
3431
+ function oe(e) {
3393
3432
  return typeof e == "function";
3394
3433
  }
3395
- function wr(e) {
3434
+ function Tr(e) {
3396
3435
  var t = function(i) {
3397
3436
  Error.call(i), i.stack = new Error().stack;
3398
3437
  }, r = e(t);
3399
3438
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3400
3439
  }
3401
- var tt = wr(function(e) {
3440
+ var it = Tr(function(e) {
3402
3441
  return function(r) {
3403
3442
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3404
3443
  ` + r.map(function(i, n) {
@@ -3407,13 +3446,13 @@ var tt = wr(function(e) {
3407
3446
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3408
3447
  };
3409
3448
  });
3410
- function ct(e, t) {
3449
+ function vt(e, t) {
3411
3450
  if (e) {
3412
3451
  var r = e.indexOf(t);
3413
3452
  0 <= r && e.splice(r, 1);
3414
3453
  }
3415
3454
  }
3416
- var qe = function() {
3455
+ var Ze = function() {
3417
3456
  function e(t) {
3418
3457
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3419
3458
  }
@@ -3425,15 +3464,15 @@ var qe = function() {
3425
3464
  if (s)
3426
3465
  if (this._parentage = null, Array.isArray(s))
3427
3466
  try {
3428
- for (var a = it(s), l = a.next(); !l.done; l = a.next()) {
3429
- var h = l.value;
3430
- h.remove(this);
3467
+ for (var a = dt(s), u = a.next(); !u.done; u = a.next()) {
3468
+ var l = u.value;
3469
+ l.remove(this);
3431
3470
  }
3432
- } catch (c) {
3433
- t = { error: c };
3471
+ } catch (d) {
3472
+ t = { error: d };
3434
3473
  } finally {
3435
3474
  try {
3436
- l && !l.done && (r = a.return) && r.call(a);
3475
+ u && !u.done && (r = a.return) && r.call(a);
3437
3476
  } finally {
3438
3477
  if (t)
3439
3478
  throw t.error;
@@ -3442,29 +3481,29 @@ var qe = function() {
3442
3481
  else
3443
3482
  s.remove(this);
3444
3483
  var f = this.initialTeardown;
3445
- if (ae(f))
3484
+ if (oe(f))
3446
3485
  try {
3447
3486
  f();
3448
- } catch (c) {
3449
- o = c instanceof tt ? c.errors : [c];
3487
+ } catch (d) {
3488
+ o = d instanceof it ? d.errors : [d];
3450
3489
  }
3451
- var m = this._finalizers;
3452
- if (m) {
3490
+ var g = this._finalizers;
3491
+ if (g) {
3453
3492
  this._finalizers = null;
3454
3493
  try {
3455
- for (var d = it(m), y = d.next(); !y.done; y = d.next()) {
3456
- var E = y.value;
3494
+ for (var p = dt(g), x = p.next(); !x.done; x = p.next()) {
3495
+ var S = x.value;
3457
3496
  try {
3458
- Ut(E);
3459
- } catch (c) {
3460
- o = o != null ? o : [], c instanceof tt ? o = Ee(Ee([], nt(o)), nt(c.errors)) : o.push(c);
3497
+ Ft(S);
3498
+ } catch (d) {
3499
+ o = o != null ? o : [], d instanceof it ? o = mt(mt([], pt(o)), pt(d.errors)) : o.push(d);
3461
3500
  }
3462
3501
  }
3463
- } catch (c) {
3464
- i = { error: c };
3502
+ } catch (d) {
3503
+ i = { error: d };
3465
3504
  } finally {
3466
3505
  try {
3467
- y && !y.done && (n = d.return) && n.call(d);
3506
+ x && !x.done && (n = p.return) && n.call(p);
3468
3507
  } finally {
3469
3508
  if (i)
3470
3509
  throw i.error;
@@ -3472,13 +3511,13 @@ var qe = function() {
3472
3511
  }
3473
3512
  }
3474
3513
  if (o)
3475
- throw new tt(o);
3514
+ throw new it(o);
3476
3515
  }
3477
3516
  }, e.prototype.add = function(t) {
3478
3517
  var r;
3479
3518
  if (t && t !== this)
3480
3519
  if (this.closed)
3481
- Ut(t);
3520
+ Ft(t);
3482
3521
  else {
3483
3522
  if (t instanceof e) {
3484
3523
  if (t.closed || t._hasParent(this))
@@ -3495,56 +3534,52 @@ var qe = function() {
3495
3534
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3496
3535
  }, e.prototype._removeParent = function(t) {
3497
3536
  var r = this._parentage;
3498
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3537
+ r === t ? this._parentage = null : Array.isArray(r) && vt(r, t);
3499
3538
  }, e.prototype.remove = function(t) {
3500
3539
  var r = this._finalizers;
3501
- r && ct(r, t), t instanceof e && t._removeParent(this);
3540
+ r && vt(r, t), t instanceof e && t._removeParent(this);
3502
3541
  }, e.EMPTY = function() {
3503
3542
  var t = new e();
3504
3543
  return t.closed = !0, t;
3505
3544
  }(), e;
3506
- }(), Sr = qe.EMPTY;
3507
- function Tr(e) {
3508
- return e instanceof qe || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
3545
+ }(), Pr = Ze.EMPTY;
3546
+ function Or(e) {
3547
+ return e instanceof Ze || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3509
3548
  }
3510
- function Ut(e) {
3511
- ae(e) ? e() : e.unsubscribe();
3549
+ function Ft(e) {
3550
+ oe(e) ? e() : e.unsubscribe();
3512
3551
  }
3513
- var zn = {
3514
- onUnhandledError: null,
3515
- onStoppedNotification: null,
3516
- Promise: void 0,
3517
- useDeprecatedSynchronousErrorHandling: !1,
3518
- useDeprecatedNextContext: !1
3519
- }, Wn = {
3552
+ var qn = {
3553
+ Promise: void 0
3554
+ }, Yn = {
3520
3555
  setTimeout: function(e, t) {
3521
3556
  for (var r = [], i = 2; i < arguments.length; i++)
3522
3557
  r[i - 2] = arguments[i];
3523
- return setTimeout.apply(void 0, Ee([e, t], nt(r)));
3558
+ return setTimeout.apply(void 0, mt([e, t], pt(r)));
3524
3559
  },
3525
3560
  clearTimeout: function(e) {
3526
3561
  return clearTimeout(e);
3527
3562
  },
3528
3563
  delegate: void 0
3529
3564
  };
3530
- function Xn(e) {
3531
- Wn.setTimeout(function() {
3565
+ function Zn(e) {
3566
+ Yn.setTimeout(function() {
3532
3567
  throw e;
3533
3568
  });
3534
3569
  }
3535
- function kt() {
3570
+ function Vt() {
3536
3571
  }
3537
3572
  function Ge(e) {
3538
3573
  e();
3539
3574
  }
3540
- var Pr = function(e) {
3541
- ue(t, e);
3575
+ var Hr = function(e) {
3576
+ Le(t, e);
3542
3577
  function t(r) {
3543
3578
  var i = e.call(this) || this;
3544
- return i.isStopped = !1, r ? (i.destination = r, Tr(r) && r.add(i)) : i.destination = Zn, i;
3579
+ return i.isStopped = !1, r ? (i.destination = r, Or(r) && r.add(i)) : i.destination = Kn, i;
3545
3580
  }
3546
3581
  return t.create = function(r, i, n) {
3547
- return new dt(r, i, n);
3582
+ return new gt(r, i, n);
3548
3583
  }, t.prototype.next = function(r) {
3549
3584
  this.isStopped || this._next(r);
3550
3585
  }, t.prototype.error = function(r) {
@@ -3568,7 +3603,7 @@ var Pr = function(e) {
3568
3603
  this.unsubscribe();
3569
3604
  }
3570
3605
  }, t;
3571
- }(qe), qn = function() {
3606
+ }(Ze), Jn = function() {
3572
3607
  function e(t) {
3573
3608
  this.partialObserver = t;
3574
3609
  }
@@ -3578,7 +3613,7 @@ var Pr = function(e) {
3578
3613
  try {
3579
3614
  r.next(t);
3580
3615
  } catch (i) {
3581
- ke(i);
3616
+ Ue(i);
3582
3617
  }
3583
3618
  }, e.prototype.error = function(t) {
3584
3619
  var r = this.partialObserver;
@@ -3586,56 +3621,56 @@ var Pr = function(e) {
3586
3621
  try {
3587
3622
  r.error(t);
3588
3623
  } catch (i) {
3589
- ke(i);
3624
+ Ue(i);
3590
3625
  }
3591
3626
  else
3592
- ke(t);
3627
+ Ue(t);
3593
3628
  }, e.prototype.complete = function() {
3594
3629
  var t = this.partialObserver;
3595
3630
  if (t.complete)
3596
3631
  try {
3597
3632
  t.complete();
3598
3633
  } catch (r) {
3599
- ke(r);
3634
+ Ue(r);
3600
3635
  }
3601
3636
  }, e;
3602
- }(), dt = function(e) {
3603
- ue(t, e);
3637
+ }(), gt = function(e) {
3638
+ Le(t, e);
3604
3639
  function t(r, i, n) {
3605
3640
  var o = e.call(this) || this, s;
3606
- return ae(r) || !r ? s = {
3641
+ return oe(r) || !r ? s = {
3607
3642
  next: r != null ? r : void 0,
3608
3643
  error: i != null ? i : void 0,
3609
3644
  complete: n != null ? n : void 0
3610
- } : s = r, o.destination = new qn(s), o;
3645
+ } : s = r, o.destination = new Jn(s), o;
3611
3646
  }
3612
3647
  return t;
3613
- }(Pr);
3614
- function ke(e) {
3615
- Xn(e);
3648
+ }(Hr);
3649
+ function Ue(e) {
3650
+ Zn(e);
3616
3651
  }
3617
- function Yn(e) {
3652
+ function Qn(e) {
3618
3653
  throw e;
3619
3654
  }
3620
- var Zn = {
3655
+ var Kn = {
3621
3656
  closed: !0,
3622
- next: kt,
3623
- error: Yn,
3624
- complete: kt
3625
- }, Jn = function() {
3657
+ next: Vt,
3658
+ error: Qn,
3659
+ complete: Vt
3660
+ }, eo = function() {
3626
3661
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3627
3662
  }();
3628
- function Qn(e) {
3663
+ function to(e) {
3629
3664
  return e;
3630
3665
  }
3631
- function Kn(e) {
3632
- return e.length === 0 ? Qn : e.length === 1 ? e[0] : function(r) {
3666
+ function ro(e) {
3667
+ return e.length === 0 ? to : e.length === 1 ? e[0] : function(r) {
3633
3668
  return e.reduce(function(i, n) {
3634
3669
  return n(i);
3635
3670
  }, r);
3636
3671
  };
3637
3672
  }
3638
- var Ft = function() {
3673
+ var Gt = function() {
3639
3674
  function e(t) {
3640
3675
  t && (this._subscribe = t);
3641
3676
  }
@@ -3643,10 +3678,10 @@ var Ft = function() {
3643
3678
  var r = new e();
3644
3679
  return r.source = this, r.operator = t, r;
3645
3680
  }, e.prototype.subscribe = function(t, r, i) {
3646
- var n = this, o = to(t) ? t : new dt(t, r, i);
3681
+ var n = this, o = no(t) ? t : new gt(t, r, i);
3647
3682
  return Ge(function() {
3648
- var s = n, a = s.operator, l = s.source;
3649
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
3683
+ var s = n, a = s.operator, u = s.source;
3684
+ o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
3650
3685
  }), o;
3651
3686
  }, e.prototype._trySubscribe = function(t) {
3652
3687
  try {
@@ -3656,13 +3691,13 @@ var Ft = function() {
3656
3691
  }
3657
3692
  }, e.prototype.forEach = function(t, r) {
3658
3693
  var i = this;
3659
- return r = Vt(r), new r(function(n, o) {
3660
- var s = new dt({
3694
+ return r = jt(r), new r(function(n, o) {
3695
+ var s = new gt({
3661
3696
  next: function(a) {
3662
3697
  try {
3663
3698
  t(a);
3664
- } catch (l) {
3665
- o(l), s.unsubscribe();
3699
+ } catch (u) {
3700
+ o(u), s.unsubscribe();
3666
3701
  }
3667
3702
  },
3668
3703
  error: o,
@@ -3673,15 +3708,15 @@ var Ft = function() {
3673
3708
  }, e.prototype._subscribe = function(t) {
3674
3709
  var r;
3675
3710
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
3676
- }, e.prototype[Jn] = function() {
3711
+ }, e.prototype[eo] = function() {
3677
3712
  return this;
3678
3713
  }, e.prototype.pipe = function() {
3679
3714
  for (var t = [], r = 0; r < arguments.length; r++)
3680
3715
  t[r] = arguments[r];
3681
- return Kn(t)(this);
3716
+ return ro(t)(this);
3682
3717
  }, e.prototype.toPromise = function(t) {
3683
3718
  var r = this;
3684
- return t = Vt(t), new t(function(i, n) {
3719
+ return t = jt(t), new t(function(i, n) {
3685
3720
  var o;
3686
3721
  r.subscribe(function(s) {
3687
3722
  return o = s;
@@ -3695,32 +3730,32 @@ var Ft = function() {
3695
3730
  return new e(t);
3696
3731
  }, e;
3697
3732
  }();
3698
- function Vt(e) {
3733
+ function jt(e) {
3699
3734
  var t;
3700
- return (t = e != null ? e : zn.Promise) !== null && t !== void 0 ? t : Promise;
3735
+ return (t = e != null ? e : qn.Promise) !== null && t !== void 0 ? t : Promise;
3701
3736
  }
3702
- function eo(e) {
3703
- return e && ae(e.next) && ae(e.error) && ae(e.complete);
3737
+ function io(e) {
3738
+ return e && oe(e.next) && oe(e.error) && oe(e.complete);
3704
3739
  }
3705
- function to(e) {
3706
- return e && e instanceof Pr || eo(e) && Tr(e);
3740
+ function no(e) {
3741
+ return e && e instanceof Hr || io(e) && Or(e);
3707
3742
  }
3708
- var ro = wr(function(e) {
3743
+ var oo = Tr(function(e) {
3709
3744
  return function() {
3710
3745
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3711
3746
  };
3712
- }), Hr = function(e) {
3713
- ue(t, e);
3747
+ }), Ar = function(e) {
3748
+ Le(t, e);
3714
3749
  function t() {
3715
3750
  var r = e.call(this) || this;
3716
3751
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
3717
3752
  }
3718
3753
  return t.prototype.lift = function(r) {
3719
- var i = new Gt(this, this);
3754
+ var i = new $t(this, this);
3720
3755
  return i.operator = r, i;
3721
3756
  }, t.prototype._throwIfClosed = function() {
3722
3757
  if (this.closed)
3723
- throw new ro();
3758
+ throw new oo();
3724
3759
  }, t.prototype.next = function(r) {
3725
3760
  var i = this;
3726
3761
  Ge(function() {
@@ -3728,12 +3763,12 @@ var ro = wr(function(e) {
3728
3763
  if (i._throwIfClosed(), !i.isStopped) {
3729
3764
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
3730
3765
  try {
3731
- for (var s = it(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3732
- var l = a.value;
3733
- l.next(r);
3766
+ for (var s = dt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3767
+ var u = a.value;
3768
+ u.next(r);
3734
3769
  }
3735
- } catch (h) {
3736
- n = { error: h };
3770
+ } catch (l) {
3771
+ n = { error: l };
3737
3772
  } finally {
3738
3773
  try {
3739
3774
  a && !a.done && (o = s.return) && o.call(s);
@@ -3777,20 +3812,20 @@ var ro = wr(function(e) {
3777
3812
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
3778
3813
  }, t.prototype._innerSubscribe = function(r) {
3779
3814
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
3780
- return o || s ? Sr : (this.currentObservers = null, a.push(r), new qe(function() {
3781
- i.currentObservers = null, ct(a, r);
3815
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ze(function() {
3816
+ i.currentObservers = null, vt(a, r);
3782
3817
  }));
3783
3818
  }, t.prototype._checkFinalizedStatuses = function(r) {
3784
3819
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
3785
3820
  n ? r.error(o) : s && r.complete();
3786
3821
  }, t.prototype.asObservable = function() {
3787
- var r = new Ft();
3822
+ var r = new Gt();
3788
3823
  return r.source = this, r;
3789
3824
  }, t.create = function(r, i) {
3790
- return new Gt(r, i);
3825
+ return new $t(r, i);
3791
3826
  }, t;
3792
- }(Ft), Gt = function(e) {
3793
- ue(t, e);
3827
+ }(Gt), $t = function(e) {
3828
+ Le(t, e);
3794
3829
  function t(r, i) {
3795
3830
  var n = e.call(this) || this;
3796
3831
  return n.destination = r, n.source = i, n;
@@ -3806,46 +3841,46 @@ var ro = wr(function(e) {
3806
3841
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
3807
3842
  }, t.prototype._subscribe = function(r) {
3808
3843
  var i, n;
3809
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Sr;
3844
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Pr;
3810
3845
  }, t;
3811
- }(Hr), Or = {
3846
+ }(Ar), Br = {
3812
3847
  now: function() {
3813
- return (Or.delegate || Date).now();
3848
+ return (Br.delegate || Date).now();
3814
3849
  },
3815
3850
  delegate: void 0
3816
- }, io = function(e) {
3817
- ue(t, e);
3851
+ }, so = function(e) {
3852
+ Le(t, e);
3818
3853
  function t(r, i, n) {
3819
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Or);
3854
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Br);
3820
3855
  var o = e.call(this) || this;
3821
3856
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
3822
3857
  }
3823
3858
  return t.prototype.next = function(r) {
3824
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
3825
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
3859
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, u = i._windowTime;
3860
+ n || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
3826
3861
  }, t.prototype._subscribe = function(r) {
3827
3862
  this._throwIfClosed(), this._trimBuffer();
3828
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
3829
- r.next(a[l]);
3863
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
3864
+ r.next(a[u]);
3830
3865
  return this._checkFinalizedStatuses(r), i;
3831
3866
  }, t.prototype._trimBuffer = function() {
3832
3867
  var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
3833
3868
  if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
3834
- for (var l = n.now(), h = 0, f = 1; f < o.length && o[f] <= l; f += 2)
3835
- h = f;
3836
- h && o.splice(0, h + 1);
3869
+ for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3870
+ l = f;
3871
+ l && o.splice(0, l + 1);
3837
3872
  }
3838
3873
  }, t;
3839
- }(Hr);
3840
- const jt = [], $t = {}, no = (e, t = 0) => {
3841
- if (jt.indexOf(e) == -1) {
3842
- const r = new io(t);
3843
- $t[e] = r, jt.push(e);
3874
+ }(Ar);
3875
+ const zt = [], Wt = {}, ao = (e, t = 0) => {
3876
+ if (zt.indexOf(e) == -1) {
3877
+ const r = new so(t);
3878
+ Wt[e] = r, zt.push(e);
3844
3879
  }
3845
- return $t[e];
3880
+ return Wt[e];
3846
3881
  };
3847
- window.emWidgets = { topic: no };
3848
- const oo = (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));
3882
+ window.emWidgets = { topic: ao };
3883
+ const uo = (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));
3849
3884
  if (typeof window != "undefined") {
3850
3885
  let e = function(t) {
3851
3886
  return function(...r) {
@@ -3858,279 +3893,279 @@ if (typeof window != "undefined") {
3858
3893
  }
3859
3894
  };
3860
3895
  };
3861
- customElements.define = e(customElements.define), import("./CashierModal-PoatyaKT.js").then((t) => t.D).then(({ default: t }) => {
3896
+ customElements.define = e(customElements.define), import("./CashierModal-D8ju6JdY.js").then((t) => t.D).then(({ default: t }) => {
3862
3897
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
3863
3898
  });
3864
3899
  }
3865
- var Ar = { exports: {} };
3900
+ var Mr = { exports: {} };
3866
3901
  (function(e, t) {
3867
3902
  (function(r, i) {
3868
3903
  e.exports = i();
3869
- })(Jt, function() {
3870
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", h = "day", f = "week", m = "month", d = "quarter", y = "year", E = "date", c = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
3871
- var v = ["th", "st", "nd", "rd"], p = w % 100;
3872
- return "[" + w + (v[(p - 20) % 10] || v[p] || v[0]) + "]";
3873
- } }, I = function(w, v, p) {
3874
- var x = String(w);
3875
- return !x || x.length >= v ? w : "" + Array(v + 1 - x.length).join(p) + w;
3876
- }, Y = { s: I, z: function(w) {
3877
- var v = -w.utcOffset(), p = Math.abs(v), x = Math.floor(p / 60), g = p % 60;
3878
- return (v <= 0 ? "+" : "-") + I(x, 2, "0") + ":" + I(g, 2, "0");
3879
- }, m: function w(v, p) {
3880
- if (v.date() < p.date())
3881
- return -w(p, v);
3882
- var x = 12 * (p.year() - v.year()) + (p.month() - v.month()), g = v.clone().add(x, m), S = p - g < 0, T = v.clone().add(x + (S ? -1 : 1), m);
3883
- return +(-(x + (p - g) / (S ? g - T : T - g)) || 0);
3884
- }, a: function(w) {
3885
- return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
3886
- }, p: function(w) {
3887
- return { M: m, y, w: f, d: h, D: E, h: l, m: a, s, ms: o, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
3888
- }, u: function(w) {
3889
- return w === void 0;
3890
- } }, R = "en", F = {};
3891
- F[R] = P;
3892
- var Q = "$isDayjsObject", re = function(w) {
3893
- return w instanceof le || !(!w || !w[Q]);
3894
- }, K = function w(v, p, x) {
3895
- var g;
3904
+ })(Kt, function() {
3905
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", g = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3906
+ var v = ["th", "st", "nd", "rd"], c = _ % 100;
3907
+ return "[" + _ + (v[(c - 20) % 10] || v[c] || v[0]) + "]";
3908
+ } }, A = function(_, v, c) {
3909
+ var b = String(_);
3910
+ return !b || b.length >= v ? _ : "" + Array(v + 1 - b.length).join(c) + _;
3911
+ }, W = { s: A, z: function(_) {
3912
+ var v = -_.utcOffset(), c = Math.abs(v), b = Math.floor(c / 60), m = c % 60;
3913
+ return (v <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(m, 2, "0");
3914
+ }, m: function _(v, c) {
3915
+ if (v.date() < c.date())
3916
+ return -_(c, v);
3917
+ var b = 12 * (c.year() - v.year()) + (c.month() - v.month()), m = v.clone().add(b, g), E = c - m < 0, w = v.clone().add(b + (E ? -1 : 1), g);
3918
+ return +(-(b + (c - m) / (E ? m - w : w - m)) || 0);
3919
+ }, a: function(_) {
3920
+ return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3921
+ }, p: function(_) {
3922
+ return { M: g, y: x, w: f, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3923
+ }, u: function(_) {
3924
+ return _ === void 0;
3925
+ } }, N = "en", U = {};
3926
+ U[N] = k;
3927
+ var q = "$isDayjsObject", K = function(_) {
3928
+ return _ instanceof F || !(!_ || !_[q]);
3929
+ }, Y = function _(v, c, b) {
3930
+ var m;
3896
3931
  if (!v)
3897
- return R;
3932
+ return N;
3898
3933
  if (typeof v == "string") {
3899
- var S = v.toLowerCase();
3900
- F[S] && (g = S), p && (F[S] = p, g = S);
3901
- var T = v.split("-");
3902
- if (!g && T.length > 1)
3903
- return w(T[0]);
3934
+ var E = v.toLowerCase();
3935
+ U[E] && (m = E), c && (U[E] = c, m = E);
3936
+ var w = v.split("-");
3937
+ if (!m && w.length > 1)
3938
+ return _(w[0]);
3904
3939
  } else {
3905
- var D = v.name;
3906
- F[D] = v, g = D;
3940
+ var B = v.name;
3941
+ U[B] = v, m = B;
3907
3942
  }
3908
- return !x && g && (R = g), g || !x && R;
3909
- }, U = function(w, v) {
3910
- if (re(w))
3911
- return w.clone();
3912
- var p = typeof v == "object" ? v : {};
3913
- return p.date = w, p.args = arguments, new le(p);
3914
- }, A = Y;
3915
- A.l = K, A.i = re, A.w = function(w, v) {
3916
- return U(w, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3943
+ return !b && m && (N = m), m || !b && N;
3944
+ }, C = function(_, v) {
3945
+ if (K(_))
3946
+ return _.clone();
3947
+ var c = typeof v == "object" ? v : {};
3948
+ return c.date = _, c.args = arguments, new F(c);
3949
+ }, H = W;
3950
+ H.l = Y, H.i = K, H.w = function(_, v) {
3951
+ return C(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3917
3952
  };
3918
- var le = function() {
3919
- function w(p) {
3920
- this.$L = K(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[Q] = !0;
3953
+ var F = function() {
3954
+ function _(c) {
3955
+ this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[q] = !0;
3921
3956
  }
3922
- var v = w.prototype;
3923
- return v.parse = function(p) {
3924
- this.$d = function(x) {
3925
- var g = x.date, S = x.utc;
3926
- if (g === null)
3957
+ var v = _.prototype;
3958
+ return v.parse = function(c) {
3959
+ this.$d = function(b) {
3960
+ var m = b.date, E = b.utc;
3961
+ if (m === null)
3927
3962
  return /* @__PURE__ */ new Date(NaN);
3928
- if (A.u(g))
3963
+ if (H.u(m))
3929
3964
  return /* @__PURE__ */ new Date();
3930
- if (g instanceof Date)
3931
- return new Date(g);
3932
- if (typeof g == "string" && !/Z$/i.test(g)) {
3933
- var T = g.match(b);
3934
- if (T) {
3935
- var D = T[2] - 1 || 0, N = (T[7] || "0").substring(0, 3);
3936
- return S ? new Date(Date.UTC(T[1], D, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N)) : new Date(T[1], D, T[3] || 1, T[4] || 0, T[5] || 0, T[6] || 0, N);
3965
+ if (m instanceof Date)
3966
+ return new Date(m);
3967
+ if (typeof m == "string" && !/Z$/i.test(m)) {
3968
+ var w = m.match(M);
3969
+ if (w) {
3970
+ var B = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3971
+ return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3937
3972
  }
3938
3973
  }
3939
- return new Date(g);
3940
- }(p), this.init();
3974
+ return new Date(m);
3975
+ }(c), this.init();
3941
3976
  }, v.init = function() {
3942
- var p = this.$d;
3943
- this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
3977
+ var c = this.$d;
3978
+ this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3944
3979
  }, v.$utils = function() {
3945
- return A;
3980
+ return H;
3946
3981
  }, v.isValid = function() {
3947
- return this.$d.toString() !== c;
3948
- }, v.isSame = function(p, x) {
3949
- var g = U(p);
3950
- return this.startOf(x) <= g && g <= this.endOf(x);
3951
- }, v.isAfter = function(p, x) {
3952
- return U(p) < this.startOf(x);
3953
- }, v.isBefore = function(p, x) {
3954
- return this.endOf(x) < U(p);
3955
- }, v.$g = function(p, x, g) {
3956
- return A.u(p) ? this[x] : this.set(g, p);
3982
+ return this.$d.toString() !== d;
3983
+ }, v.isSame = function(c, b) {
3984
+ var m = C(c);
3985
+ return this.startOf(b) <= m && m <= this.endOf(b);
3986
+ }, v.isAfter = function(c, b) {
3987
+ return C(c) < this.startOf(b);
3988
+ }, v.isBefore = function(c, b) {
3989
+ return this.endOf(b) < C(c);
3990
+ }, v.$g = function(c, b, m) {
3991
+ return H.u(c) ? this[b] : this.set(m, c);
3957
3992
  }, v.unix = function() {
3958
3993
  return Math.floor(this.valueOf() / 1e3);
3959
3994
  }, v.valueOf = function() {
3960
3995
  return this.$d.getTime();
3961
- }, v.startOf = function(p, x) {
3962
- var g = this, S = !!A.u(x) || x, T = A.p(p), D = function(ee, z) {
3963
- var te = A.w(g.$u ? Date.UTC(g.$y, z, ee) : new Date(g.$y, z, ee), g);
3964
- return S ? te : te.endOf(h);
3965
- }, N = function(ee, z) {
3966
- return A.w(g.toDate()[ee].apply(g.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), g);
3967
- }, k = this.$W, G = this.$M, X = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3968
- switch (T) {
3969
- case y:
3970
- return S ? D(1, 0) : D(31, 11);
3971
- case m:
3972
- return S ? D(1, G) : D(0, G + 1);
3996
+ }, v.startOf = function(c, b) {
3997
+ var m = this, E = !!H.u(b) || b, w = H.p(c), B = function(te, $) {
3998
+ var Z = H.w(m.$u ? Date.UTC(m.$y, $, te) : new Date(m.$y, $, te), m);
3999
+ return E ? Z : Z.endOf(l);
4000
+ }, D = function(te, $) {
4001
+ return H.w(m.toDate()[te].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), m);
4002
+ }, R = this.$W, V = this.$M, X = this.$D, ae = "set" + (this.$u ? "UTC" : "");
4003
+ switch (w) {
4004
+ case x:
4005
+ return E ? B(1, 0) : B(31, 11);
4006
+ case g:
4007
+ return E ? B(1, V) : B(0, V + 1);
3973
4008
  case f:
3974
- var ie = this.$locale().weekStart || 0, pe = (k < ie ? k + 7 : k) - ie;
3975
- return D(S ? X - pe : X + (6 - pe), G);
3976
- case h:
3977
- case E:
3978
- return N(fe + "Hours", 0);
4009
+ var ee = this.$locale().weekStart || 0, ue = (R < ee ? R + 7 : R) - ee;
4010
+ return B(E ? X - ue : X + (6 - ue), V);
3979
4011
  case l:
3980
- return N(fe + "Minutes", 1);
4012
+ case S:
4013
+ return D(ae + "Hours", 0);
4014
+ case u:
4015
+ return D(ae + "Minutes", 1);
3981
4016
  case a:
3982
- return N(fe + "Seconds", 2);
4017
+ return D(ae + "Seconds", 2);
3983
4018
  case s:
3984
- return N(fe + "Milliseconds", 3);
4019
+ return D(ae + "Milliseconds", 3);
3985
4020
  default:
3986
4021
  return this.clone();
3987
4022
  }
3988
- }, v.endOf = function(p) {
3989
- return this.startOf(p, !1);
3990
- }, v.$set = function(p, x) {
3991
- var g, S = A.p(p), T = "set" + (this.$u ? "UTC" : ""), D = (g = {}, g[h] = T + "Date", g[E] = T + "Date", g[m] = T + "Month", g[y] = T + "FullYear", g[l] = T + "Hours", g[a] = T + "Minutes", g[s] = T + "Seconds", g[o] = T + "Milliseconds", g)[S], N = S === h ? this.$D + (x - this.$W) : x;
3992
- if (S === m || S === y) {
3993
- var k = this.clone().set(E, 1);
3994
- k.$d[D](N), k.init(), this.$d = k.set(E, Math.min(this.$D, k.daysInMonth())).$d;
4023
+ }, v.endOf = function(c) {
4024
+ return this.startOf(c, !1);
4025
+ }, v.$set = function(c, b) {
4026
+ var m, E = H.p(c), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[g] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[E], D = E === l ? this.$D + (b - this.$W) : b;
4027
+ if (E === g || E === x) {
4028
+ var R = this.clone().set(S, 1);
4029
+ R.$d[B](D), R.init(), this.$d = R.set(S, Math.min(this.$D, R.daysInMonth())).$d;
3995
4030
  } else
3996
- D && this.$d[D](N);
4031
+ B && this.$d[B](D);
3997
4032
  return this.init(), this;
3998
- }, v.set = function(p, x) {
3999
- return this.clone().$set(p, x);
4000
- }, v.get = function(p) {
4001
- return this[A.p(p)]();
4002
- }, v.add = function(p, x) {
4003
- var g, S = this;
4004
- p = Number(p);
4005
- var T = A.p(x), D = function(G) {
4006
- var X = U(S);
4007
- return A.w(X.date(X.date() + Math.round(G * p)), S);
4033
+ }, v.set = function(c, b) {
4034
+ return this.clone().$set(c, b);
4035
+ }, v.get = function(c) {
4036
+ return this[H.p(c)]();
4037
+ }, v.add = function(c, b) {
4038
+ var m, E = this;
4039
+ c = Number(c);
4040
+ var w = H.p(b), B = function(V) {
4041
+ var X = C(E);
4042
+ return H.w(X.date(X.date() + Math.round(V * c)), E);
4008
4043
  };
4009
- if (T === m)
4010
- return this.set(m, this.$M + p);
4011
- if (T === y)
4012
- return this.set(y, this.$y + p);
4013
- if (T === h)
4014
- return D(1);
4015
- if (T === f)
4016
- return D(7);
4017
- var N = (g = {}, g[a] = i, g[l] = n, g[s] = r, g)[T] || 1, k = this.$d.getTime() + p * N;
4018
- return A.w(k, this);
4019
- }, v.subtract = function(p, x) {
4020
- return this.add(-1 * p, x);
4021
- }, v.format = function(p) {
4022
- var x = this, g = this.$locale();
4044
+ if (w === g)
4045
+ return this.set(g, this.$M + c);
4046
+ if (w === x)
4047
+ return this.set(x, this.$y + c);
4048
+ if (w === l)
4049
+ return B(1);
4050
+ if (w === f)
4051
+ return B(7);
4052
+ var D = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, R = this.$d.getTime() + c * D;
4053
+ return H.w(R, this);
4054
+ }, v.subtract = function(c, b) {
4055
+ return this.add(-1 * c, b);
4056
+ }, v.format = function(c) {
4057
+ var b = this, m = this.$locale();
4023
4058
  if (!this.isValid())
4024
- return g.invalidDate || c;
4025
- var S = p || "YYYY-MM-DDTHH:mm:ssZ", T = A.z(this), D = this.$H, N = this.$m, k = this.$M, G = g.weekdays, X = g.months, fe = g.meridiem, ie = function(z, te, me, ye) {
4026
- return z && (z[te] || z(x, S)) || me[te].slice(0, ye);
4027
- }, pe = function(z) {
4028
- return A.s(D % 12 || 12, z, "0");
4029
- }, ee = fe || function(z, te, me) {
4030
- var ye = z < 12 ? "AM" : "PM";
4031
- return me ? ye.toLowerCase() : ye;
4059
+ return m.invalidDate || d;
4060
+ var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = H.z(this), B = this.$H, D = this.$m, R = this.$M, V = m.weekdays, X = m.months, ae = m.meridiem, ee = function($, Z, me, le) {
4061
+ return $ && ($[Z] || $(b, E)) || me[Z].slice(0, le);
4062
+ }, ue = function($) {
4063
+ return H.s(B % 12 || 12, $, "0");
4064
+ }, te = ae || function($, Z, me) {
4065
+ var le = $ < 12 ? "AM" : "PM";
4066
+ return me ? le.toLowerCase() : le;
4032
4067
  };
4033
- return S.replace(O, function(z, te) {
4034
- return te || function(me) {
4068
+ return E.replace(j, function($, Z) {
4069
+ return Z || function(me) {
4035
4070
  switch (me) {
4036
4071
  case "YY":
4037
- return String(x.$y).slice(-2);
4072
+ return String(b.$y).slice(-2);
4038
4073
  case "YYYY":
4039
- return A.s(x.$y, 4, "0");
4074
+ return H.s(b.$y, 4, "0");
4040
4075
  case "M":
4041
- return k + 1;
4076
+ return R + 1;
4042
4077
  case "MM":
4043
- return A.s(k + 1, 2, "0");
4078
+ return H.s(R + 1, 2, "0");
4044
4079
  case "MMM":
4045
- return ie(g.monthsShort, k, X, 3);
4080
+ return ee(m.monthsShort, R, X, 3);
4046
4081
  case "MMMM":
4047
- return ie(X, k);
4082
+ return ee(X, R);
4048
4083
  case "D":
4049
- return x.$D;
4084
+ return b.$D;
4050
4085
  case "DD":
4051
- return A.s(x.$D, 2, "0");
4086
+ return H.s(b.$D, 2, "0");
4052
4087
  case "d":
4053
- return String(x.$W);
4088
+ return String(b.$W);
4054
4089
  case "dd":
4055
- return ie(g.weekdaysMin, x.$W, G, 2);
4090
+ return ee(m.weekdaysMin, b.$W, V, 2);
4056
4091
  case "ddd":
4057
- return ie(g.weekdaysShort, x.$W, G, 3);
4092
+ return ee(m.weekdaysShort, b.$W, V, 3);
4058
4093
  case "dddd":
4059
- return G[x.$W];
4094
+ return V[b.$W];
4060
4095
  case "H":
4061
- return String(D);
4096
+ return String(B);
4062
4097
  case "HH":
4063
- return A.s(D, 2, "0");
4098
+ return H.s(B, 2, "0");
4064
4099
  case "h":
4065
- return pe(1);
4100
+ return ue(1);
4066
4101
  case "hh":
4067
- return pe(2);
4102
+ return ue(2);
4068
4103
  case "a":
4069
- return ee(D, N, !0);
4104
+ return te(B, D, !0);
4070
4105
  case "A":
4071
- return ee(D, N, !1);
4106
+ return te(B, D, !1);
4072
4107
  case "m":
4073
- return String(N);
4108
+ return String(D);
4074
4109
  case "mm":
4075
- return A.s(N, 2, "0");
4110
+ return H.s(D, 2, "0");
4076
4111
  case "s":
4077
- return String(x.$s);
4112
+ return String(b.$s);
4078
4113
  case "ss":
4079
- return A.s(x.$s, 2, "0");
4114
+ return H.s(b.$s, 2, "0");
4080
4115
  case "SSS":
4081
- return A.s(x.$ms, 3, "0");
4116
+ return H.s(b.$ms, 3, "0");
4082
4117
  case "Z":
4083
- return T;
4118
+ return w;
4084
4119
  }
4085
4120
  return null;
4086
- }(z) || T.replace(":", "");
4121
+ }($) || w.replace(":", "");
4087
4122
  });
4088
4123
  }, v.utcOffset = function() {
4089
4124
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4090
- }, v.diff = function(p, x, g) {
4091
- var S, T = this, D = A.p(x), N = U(p), k = (N.utcOffset() - this.utcOffset()) * i, G = this - N, X = function() {
4092
- return A.m(T, N);
4125
+ }, v.diff = function(c, b, m) {
4126
+ var E, w = this, B = H.p(b), D = C(c), R = (D.utcOffset() - this.utcOffset()) * i, V = this - D, X = function() {
4127
+ return H.m(w, D);
4093
4128
  };
4094
- switch (D) {
4095
- case y:
4096
- S = X() / 12;
4129
+ switch (B) {
4130
+ case x:
4131
+ E = X() / 12;
4097
4132
  break;
4098
- case m:
4099
- S = X();
4133
+ case g:
4134
+ E = X();
4100
4135
  break;
4101
- case d:
4102
- S = X() / 3;
4136
+ case p:
4137
+ E = X() / 3;
4103
4138
  break;
4104
4139
  case f:
4105
- S = (G - k) / 6048e5;
4106
- break;
4107
- case h:
4108
- S = (G - k) / 864e5;
4140
+ E = (V - R) / 6048e5;
4109
4141
  break;
4110
4142
  case l:
4111
- S = G / n;
4143
+ E = (V - R) / 864e5;
4144
+ break;
4145
+ case u:
4146
+ E = V / n;
4112
4147
  break;
4113
4148
  case a:
4114
- S = G / i;
4149
+ E = V / i;
4115
4150
  break;
4116
4151
  case s:
4117
- S = G / r;
4152
+ E = V / r;
4118
4153
  break;
4119
4154
  default:
4120
- S = G;
4155
+ E = V;
4121
4156
  }
4122
- return g ? S : A.a(S);
4157
+ return m ? E : H.a(E);
4123
4158
  }, v.daysInMonth = function() {
4124
- return this.endOf(m).$D;
4159
+ return this.endOf(g).$D;
4125
4160
  }, v.$locale = function() {
4126
- return F[this.$L];
4127
- }, v.locale = function(p, x) {
4128
- if (!p)
4161
+ return U[this.$L];
4162
+ }, v.locale = function(c, b) {
4163
+ if (!c)
4129
4164
  return this.$L;
4130
- var g = this.clone(), S = K(p, x, !0);
4131
- return S && (g.$L = S), g;
4165
+ var m = this.clone(), E = Y(c, b, !0);
4166
+ return E && (m.$L = E), m;
4132
4167
  }, v.clone = function() {
4133
- return A.w(this.$d, this);
4168
+ return H.w(this.$d, this);
4134
4169
  }, v.toDate = function() {
4135
4170
  return new Date(this.valueOf());
4136
4171
  }, v.toJSON = function() {
@@ -4139,211 +4174,169 @@ var Ar = { exports: {} };
4139
4174
  return this.$d.toISOString();
4140
4175
  }, v.toString = function() {
4141
4176
  return this.$d.toUTCString();
4142
- }, w;
4143
- }(), j = le.prototype;
4144
- return U.prototype = j, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", h], ["$M", m], ["$y", y], ["$D", E]].forEach(function(w) {
4145
- j[w[1]] = function(v) {
4146
- return this.$g(v, w[0], w[1]);
4177
+ }, _;
4178
+ }(), se = F.prototype;
4179
+ return C.prototype = se, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(_) {
4180
+ se[_[1]] = function(v) {
4181
+ return this.$g(v, _[0], _[1]);
4147
4182
  };
4148
- }), U.extend = function(w, v) {
4149
- return w.$i || (w(v, le, U), w.$i = !0), U;
4150
- }, U.locale = K, U.isDayjs = re, U.unix = function(w) {
4151
- return U(1e3 * w);
4152
- }, U.en = F[R], U.Ls = F, U.p = {}, U;
4183
+ }), C.extend = function(_, v) {
4184
+ return _.$i || (_(v, F, C), _.$i = !0), C;
4185
+ }, C.locale = Y, C.isDayjs = K, C.unix = function(_) {
4186
+ return C(1e3 * _);
4187
+ }, C.en = U[N], C.Ls = U, C.p = {}, C;
4153
4188
  });
4154
- })(Ar);
4155
- var so = Ar.exports;
4156
- const zt = /* @__PURE__ */ mt(so);
4157
- var Br = { exports: {} };
4189
+ })(Mr);
4190
+ var lo = Mr.exports;
4191
+ const Xt = /* @__PURE__ */ yt(lo);
4192
+ var Cr = { exports: {} };
4158
4193
  (function(e, t) {
4159
4194
  (function(r, i) {
4160
4195
  e.exports = i();
4161
- })(Jt, function() {
4196
+ })(Kt, function() {
4162
4197
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4163
4198
  return function(o, s, a) {
4164
- var l = s.prototype;
4165
- a.utc = function(c) {
4166
- var b = { date: c, utc: !0, args: arguments };
4167
- return new s(b);
4168
- }, l.utc = function(c) {
4169
- var b = a(this.toDate(), { locale: this.$L, utc: !0 });
4170
- return c ? b.add(this.utcOffset(), r) : b;
4171
- }, l.local = function() {
4199
+ var u = s.prototype;
4200
+ a.utc = function(d) {
4201
+ var M = { date: d, utc: !0, args: arguments };
4202
+ return new s(M);
4203
+ }, u.utc = function(d) {
4204
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4205
+ return d ? M.add(this.utcOffset(), r) : M;
4206
+ }, u.local = function() {
4172
4207
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4173
4208
  };
4174
- var h = l.parse;
4175
- l.parse = function(c) {
4176
- c.utc && (this.$u = !0), this.$utils().u(c.$offset) || (this.$offset = c.$offset), h.call(this, c);
4209
+ var l = u.parse;
4210
+ u.parse = function(d) {
4211
+ d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4177
4212
  };
4178
- var f = l.init;
4179
- l.init = function() {
4213
+ var f = u.init;
4214
+ u.init = function() {
4180
4215
  if (this.$u) {
4181
- var c = this.$d;
4182
- this.$y = c.getUTCFullYear(), this.$M = c.getUTCMonth(), this.$D = c.getUTCDate(), this.$W = c.getUTCDay(), this.$H = c.getUTCHours(), this.$m = c.getUTCMinutes(), this.$s = c.getUTCSeconds(), this.$ms = c.getUTCMilliseconds();
4216
+ var d = this.$d;
4217
+ this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4183
4218
  } else
4184
4219
  f.call(this);
4185
4220
  };
4186
- var m = l.utcOffset;
4187
- l.utcOffset = function(c, b) {
4188
- var O = this.$utils().u;
4189
- if (O(c))
4190
- return this.$u ? 0 : O(this.$offset) ? m.call(this) : this.$offset;
4191
- if (typeof c == "string" && (c = function(R) {
4192
- R === void 0 && (R = "");
4193
- var F = R.match(i);
4194
- if (!F)
4221
+ var g = u.utcOffset;
4222
+ u.utcOffset = function(d, M) {
4223
+ var j = this.$utils().u;
4224
+ if (j(d))
4225
+ return this.$u ? 0 : j(this.$offset) ? g.call(this) : this.$offset;
4226
+ if (typeof d == "string" && (d = function(N) {
4227
+ N === void 0 && (N = "");
4228
+ var U = N.match(i);
4229
+ if (!U)
4195
4230
  return null;
4196
- var Q = ("" + F[0]).match(n) || ["-", 0, 0], re = Q[0], K = 60 * +Q[1] + +Q[2];
4197
- return K === 0 ? 0 : re === "+" ? K : -K;
4198
- }(c), c === null))
4231
+ var q = ("" + U[0]).match(n) || ["-", 0, 0], K = q[0], Y = 60 * +q[1] + +q[2];
4232
+ return Y === 0 ? 0 : K === "+" ? Y : -Y;
4233
+ }(d), d === null))
4199
4234
  return this;
4200
- var P = Math.abs(c) <= 16 ? 60 * c : c, I = this;
4201
- if (b)
4202
- return I.$offset = P, I.$u = c === 0, I;
4203
- if (c !== 0) {
4204
- var Y = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4205
- (I = this.local().add(P + Y, r)).$offset = P, I.$x.$localOffset = Y;
4235
+ var k = Math.abs(d) <= 16 ? 60 * d : d, A = this;
4236
+ if (M)
4237
+ return A.$offset = k, A.$u = d === 0, A;
4238
+ if (d !== 0) {
4239
+ var W = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4240
+ (A = this.local().add(k + W, r)).$offset = k, A.$x.$localOffset = W;
4206
4241
  } else
4207
- I = this.utc();
4208
- return I;
4242
+ A = this.utc();
4243
+ return A;
4209
4244
  };
4210
- var d = l.format;
4211
- l.format = function(c) {
4212
- var b = c || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4213
- return d.call(this, b);
4214
- }, l.valueOf = function() {
4215
- var c = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4216
- return this.$d.valueOf() - 6e4 * c;
4217
- }, l.isUTC = function() {
4245
+ var p = u.format;
4246
+ u.format = function(d) {
4247
+ var M = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4248
+ return p.call(this, M);
4249
+ }, u.valueOf = function() {
4250
+ var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4251
+ return this.$d.valueOf() - 6e4 * d;
4252
+ }, u.isUTC = function() {
4218
4253
  return !!this.$u;
4219
- }, l.toISOString = function() {
4254
+ }, u.toISOString = function() {
4220
4255
  return this.toDate().toISOString();
4221
- }, l.toString = function() {
4256
+ }, u.toString = function() {
4222
4257
  return this.toDate().toUTCString();
4223
4258
  };
4224
- var y = l.toDate;
4225
- l.toDate = function(c) {
4226
- return c === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : y.call(this);
4259
+ var x = u.toDate;
4260
+ u.toDate = function(d) {
4261
+ return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4227
4262
  };
4228
- var E = l.diff;
4229
- l.diff = function(c, b, O) {
4230
- if (c && this.$u === c.$u)
4231
- return E.call(this, c, b, O);
4232
- var P = this.local(), I = a(c).local();
4233
- return E.call(P, I, b, O);
4263
+ var S = u.diff;
4264
+ u.diff = function(d, M, j) {
4265
+ if (d && this.$u === d.$u)
4266
+ return S.call(this, d, M, j);
4267
+ var k = this.local(), A = a(d).local();
4268
+ return S.call(k, A, M, j);
4234
4269
  };
4235
4270
  };
4236
4271
  });
4237
- })(Br);
4238
- var ao = Br.exports;
4239
- const uo = /* @__PURE__ */ mt(ao);
4240
- function lo(e) {
4241
- jr(e, "svelte-il1hy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}");
4272
+ })(Cr);
4273
+ var ho = Cr.exports;
4274
+ const fo = /* @__PURE__ */ yt(ho);
4275
+ function co(e) {
4276
+ zr(e, "svelte-ltlo52", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4242
4277
  }
4243
- function Wt(e, t, r) {
4278
+ function qt(e, t, r) {
4244
4279
  const i = e.slice();
4245
4280
  return i[55] = t[r], i[57] = r, i;
4246
4281
  }
4247
- function fo(e) {
4248
- let t, r, i, n, o, s, a, l, h, f, m, d, y = xt(
4282
+ function po(e) {
4283
+ let t, r, i, n = wt(
4249
4284
  /*displayMessages*/
4250
- e[4]
4251
- ), E = [];
4252
- for (let b = 0; b < y.length; b += 1)
4253
- E[b] = qt(Wt(e, y, b));
4254
- let c = (
4285
+ e[3]
4286
+ ), o = [];
4287
+ for (let a = 0; a < n.length; a += 1)
4288
+ o[a] = Zt(qt(e, n, a));
4289
+ let s = (
4255
4290
  /*videoExists*/
4256
- e[7] && Yt(e)
4291
+ e[6] && Jt(e)
4257
4292
  );
4258
4293
  return {
4259
4294
  c() {
4260
- t = W("div");
4261
- for (let b = 0; b < E.length; b += 1)
4262
- E[b].c();
4263
- r = _e(), c && c.c(), i = _e(), n = W("cashier-modal"), o = W("div"), s = W("div"), a = W("div"), l = W("video"), h = W("source"), $(t, "class", "CashierVerificationsWrapper"), _t(h.src, f = /*videoSrc*/
4264
- e[8]) || $(h, "src", f), l.controls = !0, $(l, "controlslist", "nodownload"), $(l, "disablepictureinpicture", ""), $(a, "class", "CashierVideo"), $(s, "class", "CashierVideoWrapper"), $(o, "slot", "content"), $(o, "class", "ModalContentContainer"), Z(n, "show", m = `${/*modalState*/
4265
- e[10] !== "closed"}`), Z(n, "isvideo", d = `${/*modalState*/
4266
- e[10] === "video"}`), Z(
4267
- n,
4268
- "clientstylingurl",
4269
- /*clientstylingurl*/
4270
- e[1]
4271
- ), Z(
4272
- n,
4273
- "clientstyling",
4274
- /*clientstyling*/
4275
- e[0]
4276
- ), Z(
4277
- n,
4278
- "mbsource",
4279
- /*mbsource*/
4280
- e[2]
4281
- );
4295
+ t = Q("div");
4296
+ for (let a = 0; a < o.length; a += 1)
4297
+ o[a].c();
4298
+ r = Ae(), s && s.c(), i = Yr(), ne(t, "class", "CashierVerificationsWrapper");
4282
4299
  },
4283
- m(b, O) {
4284
- oe(b, t, O);
4285
- for (let P = 0; P < E.length; P += 1)
4286
- E[P] && E[P].m(t, null);
4287
- oe(b, r, O), c && c.m(b, O), oe(b, i, O), oe(b, n, O), J(n, o), J(o, s), J(s, a), J(a, l), J(l, h);
4300
+ m(a, u) {
4301
+ de(a, t, u);
4302
+ for (let l = 0; l < o.length; l += 1)
4303
+ o[l] && o[l].m(t, null);
4304
+ de(a, r, u), s && s.m(a, u), de(a, i, u);
4288
4305
  },
4289
- p(b, O) {
4290
- if (O[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4291
- 4144) {
4292
- y = xt(
4306
+ p(a, u) {
4307
+ if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4308
+ 536) {
4309
+ n = wt(
4293
4310
  /*displayMessages*/
4294
- b[4]
4311
+ a[3]
4295
4312
  );
4296
- let P;
4297
- for (P = 0; P < y.length; P += 1) {
4298
- const I = Wt(b, y, P);
4299
- E[P] ? E[P].p(I, O) : (E[P] = qt(I), E[P].c(), E[P].m(t, null));
4313
+ let l;
4314
+ for (l = 0; l < n.length; l += 1) {
4315
+ const f = qt(a, n, l);
4316
+ o[l] ? o[l].p(f, u) : (o[l] = Zt(f), o[l].c(), o[l].m(t, null));
4300
4317
  }
4301
- for (; P < E.length; P += 1)
4302
- E[P].d(1);
4303
- E.length = y.length;
4318
+ for (; l < o.length; l += 1)
4319
+ o[l].d(1);
4320
+ o.length = n.length;
4304
4321
  }
4305
4322
  /*videoExists*/
4306
- b[7] ? c ? c.p(b, O) : (c = Yt(b), c.c(), c.m(i.parentNode, i)) : c && (c.d(1), c = null), O[0] & /*videoSrc*/
4307
- 256 && !_t(h.src, f = /*videoSrc*/
4308
- b[8]) && $(h, "src", f), O[0] & /*modalState*/
4309
- 1024 && m !== (m = `${/*modalState*/
4310
- b[10] !== "closed"}`) && Z(n, "show", m), O[0] & /*modalState*/
4311
- 1024 && d !== (d = `${/*modalState*/
4312
- b[10] === "video"}`) && Z(n, "isvideo", d), O[0] & /*clientstylingurl*/
4313
- 2 && Z(
4314
- n,
4315
- "clientstylingurl",
4316
- /*clientstylingurl*/
4317
- b[1]
4318
- ), O[0] & /*clientstyling*/
4319
- 1 && Z(
4320
- n,
4321
- "clientstyling",
4322
- /*clientstyling*/
4323
- b[0]
4324
- ), O[0] & /*mbsource*/
4325
- 4 && Z(
4326
- n,
4327
- "mbsource",
4328
- /*mbsource*/
4329
- b[2]
4330
- );
4323
+ a[6] ? s ? s.p(a, u) : (s = Jt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4331
4324
  },
4332
- d(b) {
4333
- b && (se(t), se(r), se(i), se(n)), qr(E, b), c && c.d(b);
4325
+ d(a) {
4326
+ a && (ce(t), ce(r), ce(i)), qr(o, a), s && s.d(a);
4334
4327
  }
4335
4328
  };
4336
4329
  }
4337
- function ho(e) {
4330
+ function mo(e) {
4338
4331
  let t;
4339
4332
  return {
4340
4333
  c() {
4341
- t = W("cashier-spinner"), Z(
4334
+ t = Q("cashier-spinner"), Re(
4342
4335
  t,
4343
4336
  "clientstylingurl",
4344
4337
  /*clientstylingurl*/
4345
4338
  e[1]
4346
- ), Z(
4339
+ ), Re(
4347
4340
  t,
4348
4341
  "clientstyling",
4349
4342
  /*clientstyling*/
@@ -4351,17 +4344,17 @@ function ho(e) {
4351
4344
  );
4352
4345
  },
4353
4346
  m(r, i) {
4354
- oe(r, t, i);
4347
+ de(r, t, i);
4355
4348
  },
4356
4349
  p(r, i) {
4357
4350
  i[0] & /*clientstylingurl*/
4358
- 2 && Z(
4351
+ 2 && Re(
4359
4352
  t,
4360
4353
  "clientstylingurl",
4361
4354
  /*clientstylingurl*/
4362
4355
  r[1]
4363
4356
  ), i[0] & /*clientstyling*/
4364
- 1 && Z(
4357
+ 1 && Re(
4365
4358
  t,
4366
4359
  "clientstyling",
4367
4360
  /*clientstyling*/
@@ -4369,16 +4362,16 @@ function ho(e) {
4369
4362
  );
4370
4363
  },
4371
4364
  d(r) {
4372
- r && se(t);
4365
+ r && ce(t);
4373
4366
  }
4374
4367
  };
4375
4368
  }
4376
- function Xt(e) {
4369
+ function Yt(e) {
4377
4370
  let t, r, i;
4378
4371
  function n(...o) {
4379
4372
  return (
4380
4373
  /*click_handler*/
4381
- e[21](
4374
+ e[19](
4382
4375
  /*index*/
4383
4376
  e[57],
4384
4377
  ...o
@@ -4387,434 +4380,437 @@ function Xt(e) {
4387
4380
  }
4388
4381
  return {
4389
4382
  c() {
4390
- t = W("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', $(t, "class", "CashierVerificationChevron");
4383
+ t = Q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ne(t, "class", "CashierVerificationChevron");
4391
4384
  },
4392
4385
  m(o, s) {
4393
- oe(o, t, s), r || (i = pt(t, "click", n), r = !0);
4386
+ de(o, t, s), r || (i = bt(t, "click", n), r = !0);
4394
4387
  },
4395
4388
  p(o, s) {
4396
4389
  e = o;
4397
4390
  },
4398
4391
  d(o) {
4399
- o && se(t), r = !1, i();
4392
+ o && ce(t), r = !1, i();
4400
4393
  }
4401
4394
  };
4402
4395
  }
4403
- function qt(e) {
4396
+ function Zt(e) {
4404
4397
  let t, r, i, n, o = (
4405
4398
  /*message*/
4406
4399
  e[55] + ""
4407
- ), s, a, l, h, f = (
4400
+ ), s, a, u, l, f = (
4408
4401
  /*displayMessages*/
4409
- e[4].length > 1 && /*index*/
4410
- e[57] === 0 && Xt(e)
4402
+ e[3].length > 1 && /*index*/
4403
+ e[57] === 0 && Yt(e)
4411
4404
  );
4412
- function m(...d) {
4405
+ function g(...p) {
4413
4406
  return (
4414
4407
  /*click_handler_1*/
4415
- e[22](
4408
+ e[20](
4416
4409
  /*index*/
4417
4410
  e[57],
4418
- ...d
4411
+ ...p
4419
4412
  )
4420
4413
  );
4421
4414
  }
4422
4415
  return {
4423
4416
  c() {
4424
- t = W("div"), r = W("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = W("p"), s = _e(), f && f.c(), a = _e(), $(r, "class", "IconVerification"), $(n, "class", "text"), $(t, "class", "CashierVerificationMessage"), we(
4417
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ae(), n = Q("p"), s = Ae(), f && f.c(), a = Ae(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), xe(
4425
4418
  t,
4426
4419
  "ShowAll",
4427
4420
  /*allVerificationsVisible*/
4428
- e[5]
4421
+ e[4]
4429
4422
  );
4430
4423
  },
4431
- m(d, y) {
4432
- oe(d, t, y), J(t, r), J(t, i), J(t, n), n.innerHTML = o, J(t, s), f && f.m(t, null), J(t, a), l || (h = pt(t, "click", m), l = !0);
4424
+ m(p, x) {
4425
+ de(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), f && f.m(t, null), ie(t, a), u || (l = bt(t, "click", g), u = !0);
4433
4426
  },
4434
- p(d, y) {
4435
- e = d, y[0] & /*displayMessages*/
4436
- 16 && o !== (o = /*message*/
4427
+ p(p, x) {
4428
+ e = p, x[0] & /*displayMessages*/
4429
+ 8 && o !== (o = /*message*/
4437
4430
  e[55] + "") && (n.innerHTML = o), /*displayMessages*/
4438
- e[4].length > 1 && /*index*/
4439
- e[57] === 0 ? f ? f.p(e, y) : (f = Xt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), y[0] & /*allVerificationsVisible*/
4440
- 32 && we(
4431
+ e[3].length > 1 && /*index*/
4432
+ e[57] === 0 ? f ? f.p(e, x) : (f = Yt(e), f.c(), f.m(t, a)) : f && (f.d(1), f = null), x[0] & /*allVerificationsVisible*/
4433
+ 16 && xe(
4441
4434
  t,
4442
4435
  "ShowAll",
4443
4436
  /*allVerificationsVisible*/
4444
- e[5]
4437
+ e[4]
4445
4438
  );
4446
4439
  },
4447
- d(d) {
4448
- d && se(t), f && f.d(), l = !1, h();
4440
+ d(p) {
4441
+ p && ce(t), f && f.d(), u = !1, l();
4449
4442
  }
4450
4443
  };
4451
4444
  }
4452
- function Yt(e) {
4445
+ function Jt(e) {
4453
4446
  let t, r, i, n, o = (
4454
4447
  /*$_*/
4455
- e[11]("verification.video.how-to") + ""
4456
- ), s, a, l;
4448
+ e[8]("verification.video.how-to") + ""
4449
+ ), s, a, u;
4457
4450
  return {
4458
4451
  c() {
4459
- t = W("div"), r = W("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = W("div"), s = Yr(o), $(r, "class", "IconVideo"), $(n, "class", "CashierVerificationVideoLink"), we(
4452
+ t = Q("div"), r = Q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ae(), n = Q("div"), s = Jr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), xe(
4460
4453
  n,
4461
4454
  "CashierVerificationVideoLinkDesktop",
4462
4455
  /*desktopView*/
4463
- e[6]
4464
- ), $(t, "class", "CashierVerificationVideo");
4456
+ e[5]
4457
+ ), ne(t, "class", "CashierVerificationVideo");
4465
4458
  },
4466
- m(h, f) {
4467
- oe(h, t, f), J(t, r), J(t, i), J(t, n), J(n, s), a || (l = pt(
4459
+ m(l, f) {
4460
+ de(l, t, f), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = bt(
4468
4461
  n,
4469
4462
  "click",
4470
4463
  /*showVideo*/
4471
- e[13]
4464
+ e[10]
4472
4465
  ), a = !0);
4473
4466
  },
4474
- p(h, f) {
4467
+ p(l, f) {
4475
4468
  f[0] & /*$_*/
4476
- 2048 && o !== (o = /*$_*/
4477
- h[11]("verification.video.how-to") + "") && Zr(s, o), f[0] & /*desktopView*/
4478
- 64 && we(
4469
+ 256 && o !== (o = /*$_*/
4470
+ l[8]("verification.video.how-to") + "") && Zr(s, o), f[0] & /*desktopView*/
4471
+ 32 && xe(
4479
4472
  n,
4480
4473
  "CashierVerificationVideoLinkDesktop",
4481
4474
  /*desktopView*/
4482
- h[6]
4475
+ l[5]
4483
4476
  );
4484
4477
  },
4485
- d(h) {
4486
- h && se(t), a = !1, l();
4478
+ d(l) {
4479
+ l && ce(t), a = !1, u();
4487
4480
  }
4488
4481
  };
4489
4482
  }
4490
- function co(e) {
4483
+ function vo(e) {
4491
4484
  let t;
4492
4485
  function r(o, s) {
4493
4486
  if (
4494
4487
  /*isLoading*/
4495
- o[9]
4488
+ o[7]
4496
4489
  )
4497
- return ho;
4490
+ return mo;
4498
4491
  if (
4499
4492
  /*displayMessages*/
4500
- o[4]
4493
+ o[3]
4501
4494
  )
4502
- return fo;
4495
+ return po;
4503
4496
  }
4504
4497
  let i = r(e), n = i && i(e);
4505
4498
  return {
4506
4499
  c() {
4507
- t = W("div"), n && n.c(), $(t, "class", "CashierVerifications"), we(
4500
+ t = Q("div"), n && n.c(), ne(t, "class", "CashierVerifications"), xe(
4508
4501
  t,
4509
4502
  "CashierVerificationsDesktop",
4510
4503
  /*desktopView*/
4511
- e[6]
4504
+ e[5]
4512
4505
  );
4513
4506
  },
4514
4507
  m(o, s) {
4515
- oe(o, t, s), n && n.m(t, null), e[23](t);
4508
+ de(o, t, s), n && n.m(t, null), e[21](t);
4516
4509
  },
4517
4510
  p(o, s) {
4518
4511
  i === (i = r(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null))), s[0] & /*desktopView*/
4519
- 64 && we(
4512
+ 32 && xe(
4520
4513
  t,
4521
4514
  "CashierVerificationsDesktop",
4522
4515
  /*desktopView*/
4523
- o[6]
4516
+ o[5]
4524
4517
  );
4525
4518
  },
4526
- i: ve,
4527
- o: ve,
4519
+ i: ge,
4520
+ o: ge,
4528
4521
  d(o) {
4529
- o && se(t), n && n.d(), e[23](null);
4522
+ o && ce(t), n && n.d(), e[21](null);
4530
4523
  }
4531
4524
  };
4532
4525
  }
4533
- const po = "verification_explanation_video_widgets.MP4";
4534
- function mo(e, t, r) {
4526
+ const go = "verification_explanation_video_widgets.MP4";
4527
+ function bo(e, t, r) {
4535
4528
  let i, n;
4536
- yt(e, Gn, (u) => r(11, i = u)), yt(e, $n, (u) => r(29, n = u)), zt.extend(uo);
4537
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { session: f = "" } = t, { customerid: m = "" } = t, { playersession: d = "" } = t, { mbsource: y = "" } = t, E, c = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), O, P, I, Y = !0, R = !0, F = !1, Q = "", re = !1, K = "closed", U = window.navigator.userAgent;
4538
- var A;
4539
- (function(u) {
4540
- u.Manual = "Manual", u.ShuftiPro = "ShuftiPro";
4541
- })(A || (A = {}));
4542
- var le;
4543
- (function(u) {
4544
- u.Requested = "Requested";
4545
- })(le || (le = {}));
4546
- var j;
4547
- (function(u) {
4548
- u.Unknown = "Unknown", u.Unverified = "Unverified", u.InProgress = "InProgress", u.Failed = "Failed", u.Verified = "Verified", u.Referred = "Referred", u.True = "True", u.False = "False", u.AwaitingForResponse = "AwaitingForResponse";
4549
- })(j || (j = {}));
4550
- var w;
4551
- (function(u) {
4552
- u.Unknown = "Unknown", u.Documents = "Documents", u.Age = "Age", u.Pep = "Pep", u.Sanction = "Sanction", u.Aml = "Aml", u.ProofOfAddress = "ProofOfAddress", u.SourceOfWealth = "SourceOfWealth", u.SocialMedia = "SocialMedia", u.Biometric = "Biometric";
4553
- })(w || (w = {}));
4554
- const v = (u) => {
4555
- u.data && u.data.type === "CloseModal" && r(10, K = "closed");
4529
+ Et(e, zn, (h) => r(8, i = h)), Et(e, Xn, (h) => r(29, n = h)), Xt.extend(fo);
4530
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: g = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), j, k, A, W = !0, N = !0, U = !1, q = "", K = !1, Y = window.navigator.userAgent;
4531
+ var C;
4532
+ (function(h) {
4533
+ h.Manual = "Manual", h.ShuftiPro = "ShuftiPro";
4534
+ })(C || (C = {}));
4535
+ var H;
4536
+ (function(h) {
4537
+ h.Requested = "Requested";
4538
+ })(H || (H = {}));
4539
+ var F;
4540
+ (function(h) {
4541
+ h.Unknown = "Unknown", h.Unverified = "Unverified", h.InProgress = "InProgress", h.Failed = "Failed", h.Verified = "Verified", h.Referred = "Referred", h.True = "True", h.False = "False", h.AwaitingForResponse = "AwaitingForResponse";
4542
+ })(F || (F = {}));
4543
+ var se;
4544
+ (function(h) {
4545
+ h.Unknown = "Unknown", h.Documents = "Documents", h.Age = "Age", h.Pep = "Pep", h.Sanction = "Sanction", h.Aml = "Aml", h.ProofOfAddress = "ProofOfAddress", h.SourceOfWealth = "SourceOfWealth", h.SocialMedia = "SocialMedia", h.Biometric = "Biometric";
4546
+ })(se || (se = {}));
4547
+ const _ = (h) => {
4548
+ h.data && h.data.type;
4556
4549
  };
4557
- $r(() => (window.addEventListener("message", v), Mr(), () => {
4558
- window.removeEventListener("message", v);
4550
+ Wr(() => (window.addEventListener("message", _), Ir(), () => {
4551
+ window.removeEventListener("message", _);
4559
4552
  }));
4560
- const p = [
4561
- j.InProgress,
4562
- j.Referred,
4563
- j.AwaitingForResponse
4564
- ], x = () => {
4565
- let u = a;
4566
- if (u)
4567
- return fetch(u).then((_) => _.json()).then((_) => {
4568
- Object.keys(_).forEach((B) => {
4569
- Nt(B, _[B]);
4553
+ const v = [
4554
+ F.InProgress,
4555
+ F.Referred,
4556
+ F.AwaitingForResponse
4557
+ ], c = () => {
4558
+ let h = a;
4559
+ if (h)
4560
+ return fetch(h).then((y) => y.json()).then((y) => {
4561
+ Object.keys(y).forEach((P) => {
4562
+ kt(P, y[P]);
4570
4563
  });
4571
- }).catch((_) => {
4572
- console.log(_);
4564
+ }).catch((y) => {
4565
+ console.log(y);
4573
4566
  });
4574
4567
  };
4575
- Object.keys(Rt).forEach((u) => {
4576
- Nt(u, Rt[u]);
4568
+ Object.keys(Ut).forEach((h) => {
4569
+ kt(h, Ut[h]);
4577
4570
  });
4578
- const g = () => {
4579
- jn(s);
4580
- }, S = () => {
4581
- r(20, P = N());
4582
- const u = new URL(`${o}/v1/player/${m}/verification/GetKYCCustomerStatus?language=${s}`), _ = new Headers();
4583
- _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("x-sessionid", `${d}`), _.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4584
- const B = {
4571
+ const b = () => {
4572
+ Wn(s);
4573
+ }, m = () => {
4574
+ r(18, k = B());
4575
+ const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4576
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", Xt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4577
+ const P = {
4585
4578
  method: "POST",
4586
- headers: _,
4579
+ headers: y,
4587
4580
  body: JSON.stringify({})
4588
4581
  };
4589
- r(9, re = !0), fetch(u, B).then((V) => V.json()).then((V) => {
4590
- const he = T(V == null ? void 0 : V.Verifications);
4591
- O = k(he), O.VerificationStatuses.forEach((Re) => {
4592
- Re.VerificationUrlType !== "Widget" && c.add(Re.Vendor);
4593
- }), r(4, I = ee());
4594
- }).finally(() => r(9, re = !1));
4595
- }, T = (u) => u ? u.sort((_, B) => new Date(B.Created).getTime() - new Date(_.Created).getTime()) : [], D = () => {
4596
- n && S();
4597
- }, N = () => {
4598
- let u = (f || n).split(".")[1];
4599
- if (u) {
4600
- let _ = JSON.parse(atob(u));
4601
- return _.cdn + "/cashier/operator-assets/" + (_ == null ? void 0 : _.mid);
4582
+ r(7, K = !0), fetch(h, P).then((G) => G.json()).then((G) => {
4583
+ const he = E(G == null ? void 0 : G.Verifications);
4584
+ j = D(he), j.VerificationStatuses.forEach((Ne) => {
4585
+ Ne.VerificationUrlType !== "Widget" && d.add(Ne.Vendor);
4586
+ }), r(3, A = ue());
4587
+ }).finally(() => r(7, K = !1));
4588
+ }, E = (h) => h ? h.sort((y, P) => new Date(P.Created).getTime() - new Date(y.Created).getTime()) : [], w = () => {
4589
+ n && m();
4590
+ }, B = () => {
4591
+ let h = (f || n).split(".")[1];
4592
+ if (h) {
4593
+ let y = JSON.parse(atob(h));
4594
+ return y.cdn + "/cashier/operator-assets/" + (y == null ? void 0 : y.mid);
4602
4595
  }
4603
4596
  return "";
4604
- }, k = (u) => {
4605
- var B;
4606
- if (!u || !u.length)
4597
+ }, D = (h) => {
4598
+ var P;
4599
+ if (!h || !h.length)
4607
4600
  return {
4608
- VerificationSummaryStatus: j.Unverified,
4601
+ VerificationSummaryStatus: F.Unverified,
4609
4602
  VerificationStatuses: []
4610
4603
  };
4611
- const _ = fe(u);
4612
- if (_ && _.length) {
4613
- const V = G(_);
4604
+ const y = X(h);
4605
+ if (y && y.length) {
4606
+ const G = R(y);
4614
4607
  return {
4615
- VerificationSummaryStatus: V.Status,
4616
- VerificationUrl: (B = V.Flags) == null ? void 0 : B.DeferredUrlKey,
4617
- VerificationStatuses: X(_, V.Status)
4608
+ VerificationSummaryStatus: G.Status,
4609
+ VerificationUrl: (P = G.Flags) == null ? void 0 : P.DeferredUrlKey,
4610
+ VerificationStatuses: V(y, G.Status)
4618
4611
  };
4619
4612
  } else
4620
4613
  return {
4621
- VerificationSummaryStatus: u.some((he) => he.Status === j.Failed) ? j.Failed : j.Verified,
4622
- VerificationStatuses: X(u, [j.Failed])
4614
+ VerificationSummaryStatus: h.some((he) => he.Status === F.Failed) ? F.Failed : F.Verified,
4615
+ VerificationStatuses: V(h, [F.Failed])
4623
4616
  };
4624
- }, G = (u) => u.reduce(
4625
- (_, B) => _ ? new Date(_) < new Date(B) ? B : _ : B,
4617
+ }, R = (h) => h.reduce(
4618
+ (y, P) => y ? new Date(y) < new Date(P) ? P : y : P,
4626
4619
  0
4627
- ), X = (u, _) => u.filter((B) => _.includes(B.Status)).map((B) => {
4628
- var V, he;
4620
+ ), V = (h, y) => h.filter((P) => y.includes(P.Status)).map((P) => {
4621
+ var G, he;
4629
4622
  return {
4630
- Type: B.Type,
4631
- Vendor: B.VendorName,
4632
- VerificationDocuments: B.Documents ? [...B.Documents] : [],
4633
- VerificationUrlType: (V = B.FlowInfo) == null ? void 0 : V.Type,
4634
- VerificationUrl: (he = B.FlowInfo) == null ? void 0 : he.Url
4623
+ Type: P.Type,
4624
+ Vendor: P.VendorName,
4625
+ VerificationDocuments: P.Documents ? [...P.Documents] : [],
4626
+ VerificationUrlType: (G = P.FlowInfo) == null ? void 0 : G.Type,
4627
+ VerificationUrl: (he = P.FlowInfo) == null ? void 0 : he.Url
4635
4628
  };
4636
- }), fe = (u) => u.filter((_) => p.includes(_.Status) ? _.FlowInfo && _.FlowInfo.Url || ie(_) || pe(_) : !1), ie = (u) => {
4637
- const _ = u.Documents && u.VendorName === A.Manual, B = u.Documents && u.Documents.some((V) => V.Status === le.Requested);
4638
- return _ && B;
4639
- }, pe = (u) => u.VendorName === A.ShuftiPro && u.Status === j.Referred, ee = () => {
4640
- switch (O.VerificationSummaryStatus) {
4641
- case j.InProgress:
4642
- const u = [];
4643
- return c.forEach((_) => {
4644
- u.push(z(_));
4645
- }), u;
4646
- case j.Referred:
4629
+ }), X = (h) => h.filter((y) => v.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || ae(y) || ee(y) : !1), ae = (h) => {
4630
+ const y = h.Documents && h.VendorName === C.Manual, P = h.Documents && h.Documents.some((G) => G.Status === H.Requested);
4631
+ return y && P;
4632
+ }, ee = (h) => h.VendorName === C.ShuftiPro && h.Status === F.Referred, ue = () => {
4633
+ switch (j.VerificationSummaryStatus) {
4634
+ case F.InProgress:
4635
+ const h = [];
4636
+ return d.forEach((y) => {
4637
+ h.push(te(y));
4638
+ }), h;
4639
+ case F.Referred:
4647
4640
  return [i("verification.idenfy.referred-awaiting")];
4648
- case j.Failed:
4641
+ case F.Failed:
4649
4642
  return [i("verification.message.failed")];
4650
4643
  }
4651
- }, z = (u) => {
4652
- const _ = O.VerificationStatuses.filter((B) => B.Vendor === u);
4653
- if (u === A.ShuftiPro)
4654
- return te(_);
4644
+ }, te = (h) => {
4645
+ const y = j.VerificationStatuses.filter((P) => P.Vendor === h);
4646
+ if (h === C.ShuftiPro)
4647
+ return $(y);
4655
4648
  {
4656
- const B = i("verification.idenfy.link-name"), V = {
4657
- link: `<a href="${_[0].VerificationUrl}" target="_blank">${B}</a>`
4649
+ const P = i("verification.idenfy.link-name"), G = {
4650
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${P}</a>`
4658
4651
  };
4659
- return i("verification.idenfy.in-progress", { values: V });
4652
+ return i("verification.idenfy.in-progress", { values: G });
4660
4653
  }
4661
- }, te = (u) => {
4662
- const _ = [], B = {}, V = [
4663
- w.Biometric,
4664
- w.Documents,
4665
- w.ProofOfAddress
4654
+ }, $ = (h) => {
4655
+ const y = [], P = {}, G = [
4656
+ se.Biometric,
4657
+ se.Documents,
4658
+ se.ProofOfAddress
4666
4659
  ];
4667
- u.forEach((ge) => {
4668
- V.includes(ge.Type) && (_.push(ge.Type), B[ge.Type] = me(ge, ye(ge.Type)));
4660
+ h.forEach((ve) => {
4661
+ G.includes(ve.Type) && (y.push(ve.Type), P[ve.Type] = Z(ve, me(ve.Type)));
4669
4662
  });
4670
- let he = _.every((ge) => b.has(ge)), Re = `verification.shuftipro.in-progress.${_.sort().join(".")}`;
4671
- return he ? i("verification.shuftipro.validations-started") : i(Re, { values: B });
4672
- }, me = (u, _) => `<a class="verificationLink ${u.Type}" href=" ${u.VerificationUrl} " target="_blank">${_}</a>`, ye = (u) => i(`verification.shuftipro.link-name.${u}`), Ye = (u, _) => {
4673
- if (u.stopPropagation(), u.target && (u.target.href || u.target.closest("a"))) {
4674
- if (u.target.closest(".verificationLink")) {
4675
- const B = u.target.className.split(" ")[1];
4676
- b.add(B), r(4, I = ee());
4663
+ let he = y.every((ve) => M.has(ve)), Ne = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4664
+ return he ? i("verification.shuftipro.validations-started") : i(Ne, { values: P });
4665
+ }, Z = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, me = (h) => i(`verification.shuftipro.link-name.${h}`), le = (h, y) => {
4666
+ if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4667
+ if (h.target.closest(".verificationLink")) {
4668
+ const P = h.target.className.split(" ")[1];
4669
+ M.add(P), r(3, A = ue());
4677
4670
  }
4678
4671
  return;
4679
4672
  }
4680
- _ === 0 && r(5, Y = !Y);
4681
- }, Mr = () => {
4682
- r(6, R = !oo(U));
4683
- }, Cr = () => {
4684
- r(8, Q = P + "/" + s + "/" + po);
4673
+ y === 0 && r(4, W = !W);
4674
+ }, Ir = () => {
4675
+ r(5, N = !uo(Y));
4676
+ }, Dr = () => {
4677
+ q = k + "/" + s + "/" + go;
4685
4678
  try {
4686
- fetch(Q, { method: "HEAD" }).then((u) => {
4687
- r(7, F = u.ok);
4679
+ fetch(q, { method: "HEAD" }).then((h) => {
4680
+ r(6, U = h.ok);
4688
4681
  });
4689
- } catch (u) {
4690
- r(7, F = !1);
4682
+ } catch (h) {
4683
+ r(6, U = !1);
4691
4684
  }
4692
- }, Ir = () => {
4693
- r(10, K = "video");
4694
- }, Dr = (u, _) => Ye(_, u), Lr = (u, _) => Ye(_, u);
4695
- function Nr(u) {
4696
- zr[u ? "unshift" : "push"](() => {
4697
- E = u, r(3, E);
4685
+ }, Lr = () => {
4686
+ window.dispatchEvent(new CustomEvent(
4687
+ "modal-update",
4688
+ {
4689
+ detail: { type: "video", data: { videoSrc: q } }
4690
+ }
4691
+ ));
4692
+ }, Nr = (h, y) => le(y, h), Rr = (h, y) => le(y, h);
4693
+ function kr(h) {
4694
+ Xr[h ? "unshift" : "push"](() => {
4695
+ S = h, r(2, S);
4698
4696
  });
4699
4697
  }
4700
- return e.$$set = (u) => {
4701
- "endpoint" in u && r(14, o = u.endpoint), "lang" in u && r(15, s = u.lang), "translationurl" in u && r(16, a = u.translationurl), "clientstyling" in u && r(0, l = u.clientstyling), "clientstylingurl" in u && r(1, h = u.clientstylingurl), "session" in u && r(17, f = u.session), "customerid" in u && r(18, m = u.customerid), "playersession" in u && r(19, d = u.playersession), "mbsource" in u && r(2, y = u.mbsource);
4698
+ return e.$$set = (h) => {
4699
+ "endpoint" in h && r(11, o = h.endpoint), "lang" in h && r(12, s = h.lang), "translationurl" in h && r(13, a = h.translationurl), "clientstyling" in h && r(0, u = h.clientstyling), "clientstylingurl" in h && r(1, l = h.clientstylingurl), "session" in h && r(14, f = h.session), "customerid" in h && r(15, g = h.customerid), "playersession" in h && r(16, p = h.playersession), "mbsource" in h && r(17, x = h.mbsource);
4702
4700
  }, e.$$.update = () => {
4703
4701
  e.$$.dirty[0] & /*lang*/
4704
- 32768 && s && g(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4705
- 671744 && o && f && d && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4706
- 671744 && o && !f && d && D(), e.$$.dirty[0] & /*translationurl*/
4707
- 65536 && a && x(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4708
- 9 && l && E && Jr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4709
- 10 && h && E && Wr(), e.$$.dirty[0] & /*staticCdnUrl*/
4710
- 1048576 && P && Cr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4711
- 12 && y && E && Xr(E, `${y}.Style`);
4702
+ 4096 && s && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4703
+ 83968 && o && f && p && m(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4704
+ 83968 && o && !f && p && w(), e.$$.dirty[0] & /*translationurl*/
4705
+ 8192 && a && c(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4706
+ 5 && u && S && Qr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4707
+ 6 && l && S && Kr(), e.$$.dirty[0] & /*staticCdnUrl*/
4708
+ 262144 && k && Dr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4709
+ 131076 && x && S && ei(S, `${x}.Style`);
4712
4710
  }, [
4711
+ u,
4713
4712
  l,
4714
- h,
4715
- y,
4716
- E,
4717
- I,
4718
- Y,
4719
- R,
4720
- F,
4721
- Q,
4722
- re,
4713
+ S,
4714
+ A,
4715
+ W,
4716
+ N,
4717
+ U,
4723
4718
  K,
4724
4719
  i,
4725
- Ye,
4726
- Ir,
4720
+ le,
4721
+ Lr,
4727
4722
  o,
4728
4723
  s,
4729
4724
  a,
4730
4725
  f,
4731
- m,
4732
- d,
4733
- P,
4734
- Dr,
4735
- Lr,
4736
- Nr
4726
+ g,
4727
+ p,
4728
+ x,
4729
+ k,
4730
+ Nr,
4731
+ Rr,
4732
+ kr
4737
4733
  ];
4738
4734
  }
4739
- class go extends Fr {
4735
+ class yo extends Gr {
4740
4736
  constructor(t) {
4741
- super(), Vr(
4737
+ super(), jr(
4742
4738
  this,
4743
4739
  t,
4744
- mo,
4745
- co,
4746
- Zt,
4740
+ bo,
4741
+ vo,
4742
+ Qt,
4747
4743
  {
4748
- endpoint: 14,
4749
- lang: 15,
4750
- translationurl: 16,
4744
+ endpoint: 11,
4745
+ lang: 12,
4746
+ translationurl: 13,
4751
4747
  clientstyling: 0,
4752
4748
  clientstylingurl: 1,
4753
- session: 17,
4754
- customerid: 18,
4755
- playersession: 19,
4756
- mbsource: 2
4749
+ session: 14,
4750
+ customerid: 15,
4751
+ playersession: 16,
4752
+ mbsource: 17
4757
4753
  },
4758
- lo,
4754
+ co,
4759
4755
  [-1, -1]
4760
4756
  );
4761
4757
  }
4762
4758
  get endpoint() {
4763
- return this.$$.ctx[14];
4759
+ return this.$$.ctx[11];
4764
4760
  }
4765
4761
  set endpoint(t) {
4766
- this.$$set({ endpoint: t }), ne();
4762
+ this.$$set({ endpoint: t }), re();
4767
4763
  }
4768
4764
  get lang() {
4769
- return this.$$.ctx[15];
4765
+ return this.$$.ctx[12];
4770
4766
  }
4771
4767
  set lang(t) {
4772
- this.$$set({ lang: t }), ne();
4768
+ this.$$set({ lang: t }), re();
4773
4769
  }
4774
4770
  get translationurl() {
4775
- return this.$$.ctx[16];
4771
+ return this.$$.ctx[13];
4776
4772
  }
4777
4773
  set translationurl(t) {
4778
- this.$$set({ translationurl: t }), ne();
4774
+ this.$$set({ translationurl: t }), re();
4779
4775
  }
4780
4776
  get clientstyling() {
4781
4777
  return this.$$.ctx[0];
4782
4778
  }
4783
4779
  set clientstyling(t) {
4784
- this.$$set({ clientstyling: t }), ne();
4780
+ this.$$set({ clientstyling: t }), re();
4785
4781
  }
4786
4782
  get clientstylingurl() {
4787
4783
  return this.$$.ctx[1];
4788
4784
  }
4789
4785
  set clientstylingurl(t) {
4790
- this.$$set({ clientstylingurl: t }), ne();
4786
+ this.$$set({ clientstylingurl: t }), re();
4791
4787
  }
4792
4788
  get session() {
4793
- return this.$$.ctx[17];
4789
+ return this.$$.ctx[14];
4794
4790
  }
4795
4791
  set session(t) {
4796
- this.$$set({ session: t }), ne();
4792
+ this.$$set({ session: t }), re();
4797
4793
  }
4798
4794
  get customerid() {
4799
- return this.$$.ctx[18];
4795
+ return this.$$.ctx[15];
4800
4796
  }
4801
4797
  set customerid(t) {
4802
- this.$$set({ customerid: t }), ne();
4798
+ this.$$set({ customerid: t }), re();
4803
4799
  }
4804
4800
  get playersession() {
4805
- return this.$$.ctx[19];
4801
+ return this.$$.ctx[16];
4806
4802
  }
4807
4803
  set playersession(t) {
4808
- this.$$set({ playersession: t }), ne();
4804
+ this.$$set({ playersession: t }), re();
4809
4805
  }
4810
4806
  get mbsource() {
4811
- return this.$$.ctx[2];
4807
+ return this.$$.ctx[17];
4812
4808
  }
4813
4809
  set mbsource(t) {
4814
- this.$$set({ mbsource: t }), ne();
4810
+ this.$$set({ mbsource: t }), re();
4815
4811
  }
4816
4812
  }
4817
- Gr(go, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4813
+ $r(yo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4818
4814
  export {
4819
- go as default
4815
+ yo as default
4820
4816
  };