@everymatrix/cashier-verifications 1.74.10 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- import { n as me, s as Dr, r as Lr, a as qt, i as Nr, c as Rr, S as kr, b as Ur, f as re, d as Fr, e as Q, g as ne, t as xe, h as fe, j as he, k as bt, o as Vr, l as Gr, m as $r, p as jr, q as yt, u as Ae, v as zr, w as Wr, x as Ne, y as ie, z as dt, A as Xr, B as qr, C as Yr } from "./CashierModal-DKQn-TJS.js";
1
+ import { n as me, s as Qt, a as kr, r as Ur, i as Fr, c as Vr, S as Gr, b as jr, f as ie, d as $r, e as he, t as ye, g as fe, h as K, j as oe, k as Et, o as zr, l as Wr, m as Ne, p as wt, q as Xr, u as He, v as qr, w as ne, x as bt, y as Yr, z as Zr, A as Jr, B as Qr, C as Kr } from "./CashierModal-CJNZu7RJ.js";
2
2
  const be = [];
3
- function Zr(e, t) {
3
+ function ei(e, t) {
4
4
  return {
5
- subscribe: Ce(e, t).subscribe
5
+ subscribe: Me(e, t).subscribe
6
6
  };
7
7
  }
8
- function Ce(e, t = me) {
8
+ function Me(e, t = me) {
9
9
  let r;
10
10
  const i = /* @__PURE__ */ new Set();
11
11
  function n(a) {
12
- if (qt(e, a) && (e = a, r)) {
12
+ if (Qt(e, a) && (e = a, r)) {
13
13
  const u = !be.length;
14
14
  for (const l of i)
15
15
  l[1](), be.push(l, e);
@@ -31,154 +31,140 @@ function Ce(e, t = me) {
31
31
  }
32
32
  return { set: n, update: o, subscribe: s };
33
33
  }
34
- function Te(e, t, r) {
34
+ function Se(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 Zr(r, (s, a) => {
39
+ return ei(r, (s, a) => {
40
40
  let u = !1;
41
41
  const l = [];
42
- let h = 0, v = me;
42
+ let f = 0, g = me;
43
43
  const p = () => {
44
- if (h)
44
+ if (f)
45
45
  return;
46
- v();
46
+ g();
47
47
  const S = t(i ? l[0] : l, s, a);
48
- o ? s(S) : v = Nr(S) ? S : me;
48
+ o ? s(S) : g = Fr(S) ? S : me;
49
49
  }, x = n.map(
50
- (S, d) => Dr(
50
+ (S, d) => kr(
51
51
  S,
52
- (C) => {
53
- l[d] = C, h &= ~(1 << d), u && p();
52
+ (M) => {
53
+ l[d] = M, f &= ~(1 << d), u && p();
54
54
  },
55
55
  () => {
56
- h |= 1 << d;
56
+ f |= 1 << d;
57
57
  }
58
58
  )
59
59
  );
60
60
  return u = !0, p(), function() {
61
- Lr(x), v(), u = !1;
61
+ Ur(x), g(), u = !1;
62
62
  };
63
63
  });
64
64
  }
65
- var Yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
- function pt(e) {
65
+ var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
66
+ function yt(e) {
67
67
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
68
68
  }
69
- var Jr = function(t) {
70
- return Qr(t) && !Kr(t);
69
+ var ti = function(t) {
70
+ return ri(t) && !ii(t);
71
71
  };
72
- function Qr(e) {
72
+ function ri(e) {
73
73
  return !!e && typeof e == "object";
74
74
  }
75
- function Kr(e) {
75
+ function ii(e) {
76
76
  var t = Object.prototype.toString.call(e);
77
- return t === "[object RegExp]" || t === "[object Date]" || ri(e);
77
+ return t === "[object RegExp]" || t === "[object Date]" || si(e);
78
78
  }
79
- var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
80
- function ri(e) {
81
- return e.$$typeof === ti;
79
+ var ni = typeof Symbol == "function" && Symbol.for, oi = ni ? Symbol.for("react.element") : 60103;
80
+ function si(e) {
81
+ return e.$$typeof === oi;
82
82
  }
83
- function ii(e) {
83
+ function ai(e) {
84
84
  return Array.isArray(e) ? [] : {};
85
85
  }
86
- function Be(e, t) {
87
- return t.clone !== !1 && t.isMergeableObject(e) ? Ee(ii(e), e, t) : e;
86
+ function Ae(e, t) {
87
+ return t.clone !== !1 && t.isMergeableObject(e) ? xe(ai(e), e, t) : e;
88
88
  }
89
- function ni(e, t, r) {
89
+ function ui(e, t, r) {
90
90
  return e.concat(t).map(function(i) {
91
- return Be(i, r);
91
+ return Ae(i, r);
92
92
  });
93
93
  }
94
- function oi(e, t) {
94
+ function li(e, t) {
95
95
  if (!t.customMerge)
96
- return Ee;
96
+ return xe;
97
97
  var r = t.customMerge(e);
98
- return typeof r == "function" ? r : Ee;
98
+ return typeof r == "function" ? r : xe;
99
99
  }
100
- function si(e) {
100
+ function hi(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 xt(e) {
106
- return Object.keys(e).concat(si(e));
105
+ function St(e) {
106
+ return Object.keys(e).concat(hi(e));
107
107
  }
108
- function Zt(e, t) {
108
+ function er(e, t) {
109
109
  try {
110
110
  return t in e;
111
111
  } catch {
112
112
  return !1;
113
113
  }
114
114
  }
115
- function ai(e, t) {
116
- return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
115
+ function fi(e, t) {
116
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
117
117
  }
118
- function ui(e, t, r) {
118
+ function ci(e, t, r) {
119
119
  var i = {};
120
- return r.isMergeableObject(e) && xt(e).forEach(function(n) {
121
- i[n] = Be(e[n], r);
122
- }), xt(t).forEach(function(n) {
123
- ai(e, n) || (Zt(e, n) && r.isMergeableObject(t[n]) ? i[n] = oi(n, r)(e[n], t[n], r) : i[n] = Be(t[n], r));
120
+ return r.isMergeableObject(e) && St(e).forEach(function(n) {
121
+ i[n] = Ae(e[n], r);
122
+ }), St(t).forEach(function(n) {
123
+ fi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = li(n, r)(e[n], t[n], r) : i[n] = Ae(t[n], r));
124
124
  }), i;
125
125
  }
126
- function Ee(e, t, r) {
127
- r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = Be;
126
+ function xe(e, t, r) {
127
+ r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = Ae;
128
128
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
129
- return o ? i ? r.arrayMerge(e, t, r) : ui(e, t, r) : Be(t, r);
129
+ return o ? i ? r.arrayMerge(e, t, r) : ci(e, t, r) : Ae(t, r);
130
130
  }
131
- Ee.all = function(t, r) {
131
+ xe.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 Ee(i, n, r);
135
+ return xe(i, n, r);
136
136
  }, {});
137
137
  };
138
- var li = Ee, fi = li;
139
- const hi = /* @__PURE__ */ pt(fi);
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 tt = function(e, t) {
155
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
138
+ var di = xe, pi = di;
139
+ const mi = /* @__PURE__ */ yt(pi);
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
- }, tt(e, t);
146
+ }, nt(e, t);
161
147
  };
162
- function se(e, t) {
148
+ function We(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
- tt(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 A = function() {
172
- return A = Object.assign || function(t) {
157
+ var Q = function() {
158
+ return Q = 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
- }, A.apply(this, arguments);
165
+ }, Q.apply(this, arguments);
180
166
  };
181
- function ci(e, t) {
167
+ function vi(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 ci(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 rt(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 it(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 ye(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 Ye(e, t) {
229
- var r = t && t.cache ? t.cache : yi, i = t && t.serializer ? t.serializer : vi, n = t && t.strategy ? t.strategy : pi;
182
+ function Qe(e, t) {
183
+ var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : _i, n = t && t.strategy ? t.strategy : yi;
230
184
  return n(e, {
231
185
  cache: r,
232
186
  serializer: i
233
187
  });
234
188
  }
235
- function di(e) {
189
+ function gi(e) {
236
190
  return e == null || typeof e == "number" || typeof e == "boolean";
237
191
  }
238
- function Jt(e, t, r, i) {
239
- var n = di(i) ? i : r(i), o = t.get(n);
192
+ function bi(e, t, r, i) {
193
+ var n = gi(i) ? i : r(i), o = t.get(n);
240
194
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
241
195
  }
242
- function Qt(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 > "u" && (o = e.apply(this, i), t.set(n, o)), o;
245
199
  }
246
- function mt(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 pi(e, t) {
250
- var r = e.length === 1 ? Jt : Qt;
251
- return mt(e, this, r, t.cache.create(), t.serializer);
252
- }
253
- function mi(e, t) {
254
- return mt(e, this, Qt, t.cache.create(), t.serializer);
203
+ function yi(e, t) {
204
+ var r = e.length === 1 ? bi : tr;
205
+ return rr(e, this, r, t.cache.create(), t.serializer);
255
206
  }
256
- function gi(e, t) {
257
- return mt(e, this, Jt, t.cache.create(), t.serializer);
207
+ function xi(e, t) {
208
+ return rr(e, this, tr, t.cache.create(), t.serializer);
258
209
  }
259
- var vi = function() {
210
+ var _i = function() {
260
211
  return JSON.stringify(arguments);
261
- }, bi = (
212
+ }, Ei = (
262
213
  /** @class */
263
214
  function() {
264
215
  function e() {
@@ -270,62 +221,71 @@ var vi = function() {
270
221
  this.cache[t] = r;
271
222
  }, e;
272
223
  }()
273
- ), yi = {
224
+ ), wi = {
274
225
  create: function() {
275
- return new bi();
226
+ return new Ei();
276
227
  }
277
- }, Ze = {
278
- variadic: mi,
279
- monadic: gi
280
- }, P;
228
+ }, Ke = {
229
+ variadic: xi
230
+ }, Ge = function() {
231
+ return Ge = 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
+ }, Ge.apply(this, arguments);
239
+ };
240
+ var P;
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
243
  })(P || (P = {}));
284
- var D;
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
- })(D || (D = {}));
247
+ })(I || (I = {}));
288
248
  var _e;
289
249
  (function(e) {
290
250
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
291
251
  })(_e || (_e = {}));
292
- function Et(e) {
293
- return e.type === D.literal;
252
+ function Tt(e) {
253
+ return e.type === I.literal;
294
254
  }
295
- function xi(e) {
296
- return e.type === D.argument;
255
+ function Si(e) {
256
+ return e.type === I.argument;
297
257
  }
298
- function Kt(e) {
299
- return e.type === D.number;
258
+ function ir(e) {
259
+ return e.type === I.number;
300
260
  }
301
- function er(e) {
302
- return e.type === D.date;
261
+ function nr(e) {
262
+ return e.type === I.date;
303
263
  }
304
- function tr(e) {
305
- return e.type === D.time;
264
+ function or(e) {
265
+ return e.type === I.time;
306
266
  }
307
- function rr(e) {
308
- return e.type === D.select;
267
+ function sr(e) {
268
+ return e.type === I.select;
309
269
  }
310
- function ir(e) {
311
- return e.type === D.plural;
270
+ function ar(e) {
271
+ return e.type === I.plural;
312
272
  }
313
- function Ei(e) {
314
- return e.type === D.pound;
273
+ function Ti(e) {
274
+ return e.type === I.pound;
315
275
  }
316
- function nr(e) {
317
- return e.type === D.tag;
276
+ function ur(e) {
277
+ return e.type === I.tag;
318
278
  }
319
- function or(e) {
279
+ function lr(e) {
320
280
  return !!(e && typeof e == "object" && e.type === _e.number);
321
281
  }
322
- function nt(e) {
282
+ function ot(e) {
323
283
  return !!(e && typeof e == "object" && e.type === _e.dateTime);
324
284
  }
325
- var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _i = /(?:[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 wi(e) {
285
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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 Oi(e) {
327
287
  var t = {};
328
- return e.replace(_i, function(r) {
288
+ return e.replace(Pi, function(r) {
329
289
  var i = r.length;
330
290
  switch (r[0]) {
331
291
  case "G":
@@ -414,36 +374,46 @@ function wi(e) {
414
374
  return "";
415
375
  }), t;
416
376
  }
417
- var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
418
- function Ti(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 Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
388
+ function Ai(e) {
419
389
  if (e.length === 0)
420
390
  throw new Error("Number skeleton cannot be empty");
421
- for (var t = e.split(Si).filter(function(p) {
391
+ for (var t = e.split(Hi).filter(function(p) {
422
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], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
428
- var v = h[l];
429
- if (v.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
402
  r.push({ stem: a, options: u });
433
403
  }
434
404
  return r;
435
405
  }
436
- function Pi(e) {
406
+ function Bi(e) {
437
407
  return e.replace(/^(.*?)-/, "");
438
408
  }
439
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ar = /^(@+)?(\+|#+)?[rs]?$/g, Hi = /(\*)(0+)|(#+)(0+)|(0+)/g, ur = /^(0+)$/;
440
- function wt(e) {
409
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(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(ar, 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 lr(e) {
416
+ function dr(e) {
447
417
  switch (e) {
448
418
  case "sign-auto":
449
419
  return {
@@ -483,7 +453,7 @@ function lr(e) {
483
453
  };
484
454
  }
485
455
  }
486
- function Oi(e) {
456
+ function Ci(e) {
487
457
  var t;
488
458
  if (e[0] === "E" && e[1] === "E" ? (t = {
489
459
  notation: "engineering"
@@ -491,17 +461,17 @@ function Oi(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)), !ur.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 St(e) {
501
- var t = {}, r = lr(e);
470
+ function Ht(e) {
471
+ var t = {}, r = dr(e);
502
472
  return r || t;
503
473
  }
504
- function Ai(e) {
474
+ function Ii(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 Ai(e) {
525
495
  continue;
526
496
  case "measure-unit":
527
497
  case "unit":
528
- t.style = "unit", t.unit = Pi(n.options[0]);
498
+ t.style = "unit", t.unit = Bi(n.options[0]);
529
499
  continue;
530
500
  case "compact-short":
531
501
  case "K":
@@ -536,13 +506,13 @@ function Ai(e) {
536
506
  t.notation = "compact", t.compactDisplay = "long";
537
507
  continue;
538
508
  case "scientific":
539
- t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(u, l) {
540
- return A(A({}, u), St(l));
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 = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(u, l) {
545
- return A(A({}, u), St(l));
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,11 +557,11 @@ function Ai(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(Hi, function(u, l, h, v, p, x) {
560
+ n.options[0].replace(Mi, function(u, l, f, g, p, x) {
591
561
  if (l)
592
- t.minimumIntegerDigits = h.length;
562
+ t.minimumIntegerDigits = f.length;
593
563
  else {
594
- if (v && p)
564
+ if (g && p)
595
565
  throw new Error("We currently do not support maximum integer digits");
596
566
  if (x)
597
567
  throw new Error("We currently do not support exact integer digits");
@@ -600,28 +570,28 @@ function Ai(e) {
600
570
  });
601
571
  continue;
602
572
  }
603
- if (ur.test(n.stem)) {
573
+ if (cr.test(n.stem)) {
604
574
  t.minimumIntegerDigits = n.stem.length;
605
575
  continue;
606
576
  }
607
- if (_t.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(_t, function(u, l, h, v, p, x) {
611
- return h === "*" ? t.minimumFractionDigits = l.length : v && v[0] === "#" ? t.maximumFractionDigits = v.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.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 = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), wt(o)));
584
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), Ot(o)));
615
585
  continue;
616
586
  }
617
- if (ar.test(n.stem)) {
618
- t = A(A({}, t), wt(n.stem));
587
+ if (fr.test(n.stem)) {
588
+ t = L(L({}, t), Ot(n.stem));
619
589
  continue;
620
590
  }
621
- var s = lr(n.stem);
622
- s && (t = A(A({}, t), s));
623
- var a = Oi(n.stem);
624
- a && (t = A(A({}, t), a));
591
+ var s = dr(n.stem);
592
+ s && (t = L(L({}, t), s));
593
+ var a = Ci(n.stem);
594
+ a && (t = L(L({}, t), a));
625
595
  }
626
596
  return t;
627
597
  }
@@ -2040,13 +2010,13 @@ var Re = {
2040
2010
  "h"
2041
2011
  ]
2042
2012
  };
2043
- function Bi(e, t) {
2013
+ function Di(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), u = "a", l = Mi(t);
2019
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Li(t);
2050
2020
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2051
2021
  r += u;
2052
2022
  for (; s-- > 0; )
@@ -2056,7 +2026,7 @@ function Bi(e, t) {
2056
2026
  }
2057
2027
  return r;
2058
2028
  }
2059
- function Mi(e) {
2029
+ function Li(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
@@ -2078,20 +2048,20 @@ function Mi(e) {
2078
2048
  var n = Re[i || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2079
2049
  return n[0];
2080
2050
  }
2081
- var Je, Ci = new RegExp("^".concat(sr.source, "*")), Ii = new RegExp("".concat(sr.source, "*$"));
2082
- function H(e, t) {
2051
+ var et, Ni = new RegExp("^".concat(hr.source, "*")), Ri = new RegExp("".concat(hr.source, "*$"));
2052
+ function O(e, t) {
2083
2053
  return { start: e, end: t };
2084
2054
  }
2085
- var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
2055
+ var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, $i = !!Number.isSafeInteger, zi = $i ? Number.isSafeInteger : function(e) {
2086
2056
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2087
- }, ot = !0;
2057
+ }, st = !0;
2088
2058
  try {
2089
- var Gi = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2090
- ot = ((Je = Gi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2059
+ var Wi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2060
+ st = ((et = Wi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
2091
2061
  } catch {
2092
- ot = !1;
2062
+ st = !1;
2093
2063
  }
2094
- var Tt = Di ? (
2064
+ var At = ki ? (
2095
2065
  // Native
2096
2066
  function(t, r, i) {
2097
2067
  return t.startsWith(r, i);
@@ -2101,7 +2071,7 @@ var Tt = Di ? (
2101
2071
  function(t, r, i) {
2102
2072
  return t.slice(i, i + r.length) === r;
2103
2073
  }
2104
- ), st = Li ? String.fromCodePoint : (
2074
+ ), at = Ui ? String.fromCodePoint : (
2105
2075
  // IE11
2106
2076
  function() {
2107
2077
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2113,9 +2083,9 @@ var Tt = Di ? (
2113
2083
  }
2114
2084
  return i;
2115
2085
  }
2116
- ), Pt = (
2086
+ ), Bt = (
2117
2087
  // native
2118
- Ni ? Object.fromEntries : (
2088
+ Fi ? 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 Tt = Di ? (
2125
2095
  return r;
2126
2096
  }
2127
2097
  )
2128
- ), fr = Ri ? (
2098
+ ), pr = Vi ? (
2129
2099
  // Native
2130
2100
  function(t, r) {
2131
2101
  return t.codePointAt(r);
@@ -2139,7 +2109,7 @@ var Tt = Di ? (
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
- ), $i = ki ? (
2112
+ ), Xi = Gi ? (
2143
2113
  // Native
2144
2114
  function(t) {
2145
2115
  return t.trimStart();
@@ -2147,9 +2117,9 @@ var Tt = Di ? (
2147
2117
  ) : (
2148
2118
  // Ponyfill
2149
2119
  function(t) {
2150
- return t.replace(Ci, "");
2120
+ return t.replace(Ni, "");
2151
2121
  }
2152
- ), ji = Ui ? (
2122
+ ), qi = ji ? (
2153
2123
  // Native
2154
2124
  function(t) {
2155
2125
  return t.trimEnd();
@@ -2157,32 +2127,32 @@ var Tt = Di ? (
2157
2127
  ) : (
2158
2128
  // Ponyfill
2159
2129
  function(t) {
2160
- return t.replace(Ii, "");
2130
+ return t.replace(Ri, "");
2161
2131
  }
2162
2132
  );
2163
- function hr(e, t) {
2133
+ function mr(e, t) {
2164
2134
  return new RegExp(e, t);
2165
2135
  }
2166
- var at;
2167
- if (ot) {
2168
- var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2169
- at = function(t, r) {
2136
+ var ut;
2137
+ if (st) {
2138
+ var Mt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2139
+ ut = function(t, r) {
2170
2140
  var i;
2171
- Ht.lastIndex = r;
2172
- var n = Ht.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
- at = function(t, r) {
2146
+ ut = function(t, r) {
2177
2147
  for (var i = []; ; ) {
2178
- var n = fr(t, r);
2179
- if (n === void 0 || cr(n) || qi(n))
2148
+ var n = pr(t, r);
2149
+ if (n === void 0 || vr(n) || Qi(n))
2180
2150
  break;
2181
2151
  i.push(n), r += n >= 65536 ? 2 : 1;
2182
2152
  }
2183
- return st.apply(void 0, i);
2153
+ return at.apply(void 0, i);
2184
2154
  };
2185
- var zi = (
2155
+ var Yi = (
2186
2156
  /** @class */
2187
2157
  function() {
2188
2158
  function e(t, r) {
@@ -2206,14 +2176,14 @@ var zi = (
2206
2176
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2207
2177
  var a = this.clonePosition();
2208
2178
  this.bump(), n.push({
2209
- type: D.pound,
2210
- location: H(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(P.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2216
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
2185
+ return this.error(P.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2186
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2217
2187
  var s = this.parseTag(t, r);
2218
2188
  if (s.err)
2219
2189
  return s;
@@ -2234,9 +2204,9 @@ var zi = (
2234
2204
  if (this.bumpSpace(), this.bumpIf("/>"))
2235
2205
  return {
2236
2206
  val: {
2237
- type: D.literal,
2207
+ type: I.literal,
2238
2208
  value: "<".concat(n, "/>"),
2239
- location: H(i, this.clonePosition())
2209
+ location: O(i, this.clonePosition())
2240
2210
  },
2241
2211
  err: null
2242
2212
  };
@@ -2246,25 +2216,25 @@ var zi = (
2246
2216
  return o;
2247
2217
  var s = o.val, a = this.clonePosition();
2248
2218
  if (this.bumpIf("</")) {
2249
- if (this.isEOF() || !ut(this.char()))
2250
- return this.error(P.INVALID_TAG, H(a, this.clonePosition()));
2219
+ if (this.isEOF() || !lt(this.char()))
2220
+ return this.error(P.INVALID_TAG, O(a, this.clonePosition()));
2251
2221
  var u = this.clonePosition(), l = this.parseTagName();
2252
- return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2222
+ return n !== l ? this.error(P.UNMATCHED_CLOSING_TAG, O(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2253
2223
  val: {
2254
- type: D.tag,
2224
+ type: I.tag,
2255
2225
  value: n,
2256
2226
  children: s,
2257
- location: H(i, this.clonePosition())
2227
+ location: O(i, this.clonePosition())
2258
2228
  },
2259
2229
  err: null
2260
- } : this.error(P.INVALID_TAG, H(a, this.clonePosition())));
2230
+ } : this.error(P.INVALID_TAG, O(a, this.clonePosition())));
2261
2231
  } else
2262
- return this.error(P.UNCLOSED_TAG, H(i, this.clonePosition()));
2232
+ return this.error(P.UNCLOSED_TAG, O(i, this.clonePosition()));
2263
2233
  } else
2264
- return this.error(P.INVALID_TAG, H(i, this.clonePosition()));
2234
+ return this.error(P.INVALID_TAG, O(i, this.clonePosition()));
2265
2235
  }, e.prototype.parseTagName = function() {
2266
2236
  var t = this.offset();
2267
- for (this.bump(); !this.isEOF() && Xi(this.char()); )
2237
+ for (this.bump(); !this.isEOF() && Ji(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 zi = (
2286
2256
  }
2287
2257
  break;
2288
2258
  }
2289
- var u = H(i, this.clonePosition());
2259
+ var u = O(i, this.clonePosition());
2290
2260
  return {
2291
- val: { type: D.literal, value: n, location: u },
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
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2266
+ !Zi(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;
@@ -2327,49 +2297,49 @@ var zi = (
2327
2297
  r.push(i);
2328
2298
  this.bump();
2329
2299
  }
2330
- return st.apply(void 0, r);
2300
+ return at.apply(void 0, r);
2331
2301
  }, e.prototype.tryParseUnquoted = function(t, r) {
2332
2302
  if (this.isEOF())
2333
2303
  return null;
2334
2304
  var i = this.char();
2335
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), st(i));
2305
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), at(i));
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(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2309
+ return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2340
2310
  if (this.char() === 125)
2341
- return this.bump(), this.error(P.EMPTY_ARGUMENT, H(i, this.clonePosition()));
2311
+ return this.bump(), this.error(P.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2342
2312
  var n = this.parseIdentifierIfPossible().value;
2343
2313
  if (!n)
2344
- return this.error(P.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2314
+ return this.error(P.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2345
2315
  if (this.bumpSpace(), this.isEOF())
2346
- return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition()));
2316
+ return this.error(P.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: D.argument,
2321
+ type: I.argument,
2352
2322
  // value does not include the opening and closing braces.
2353
2323
  value: n,
2354
- location: H(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(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2329
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2360
2330
  default:
2361
- return this.error(P.MALFORMED_ARGUMENT, H(i, this.clonePosition()));
2331
+ return this.error(P.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2362
2332
  }
2363
2333
  }, e.prototype.parseIdentifierIfPossible = function() {
2364
- var t = this.clonePosition(), r = this.offset(), i = at(this.message, r), n = r + i.length;
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 = H(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
2339
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2370
2340
  switch (a) {
2371
2341
  case "":
2372
- return this.error(P.EXPECT_ARGUMENT_TYPE, H(s, u));
2342
+ return this.error(P.EXPECT_ARGUMENT_TYPE, O(s, u));
2373
2343
  case "number":
2374
2344
  case "date":
2375
2345
  case "time": {
@@ -2377,38 +2347,38 @@ var zi = (
2377
2347
  var l = null;
2378
2348
  if (this.bumpIf(",")) {
2379
2349
  this.bumpSpace();
2380
- var h = this.clonePosition(), v = this.parseSimpleArgStyleIfPossible();
2381
- if (v.err)
2382
- return v;
2383
- var p = ji(v.val);
2350
+ var f = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
2351
+ if (g.err)
2352
+ return g;
2353
+ var p = qi(g.val);
2384
2354
  if (p.length === 0)
2385
- return this.error(P.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2386
- var x = H(h, this.clonePosition());
2355
+ return this.error(P.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2356
+ var x = O(f, this.clonePosition());
2387
2357
  l = { style: p, styleLocation: x };
2388
2358
  }
2389
2359
  var S = this.tryParseArgumentClose(n);
2390
2360
  if (S.err)
2391
2361
  return S;
2392
- var d = H(n, this.clonePosition());
2393
- if (l && Tt(l?.style, "::", 0)) {
2394
- var C = $i(l.style.slice(2));
2362
+ var d = O(n, this.clonePosition());
2363
+ if (l && At(l?.style, "::", 0)) {
2364
+ var M = Xi(l.style.slice(2));
2395
2365
  if (a === "number") {
2396
- var v = this.parseNumberSkeletonFromString(C, l.styleLocation);
2397
- return v.err ? v : {
2398
- val: { type: D.number, value: i, location: d, style: v.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 (C.length === 0)
2372
+ if (M.length === 0)
2403
2373
  return this.error(P.EXPECT_DATE_TIME_SKELETON, d);
2404
- var V = C;
2405
- this.locale && (V = Bi(C, this.locale));
2374
+ var V = M;
2375
+ this.locale && (V = Di(M, this.locale));
2406
2376
  var p = {
2407
2377
  type: _e.dateTime,
2408
2378
  pattern: V,
2409
2379
  location: l.styleLocation,
2410
- parsedOptions: this.shouldParseSkeletons ? wi(V) : {}
2411
- }, k = a === "date" ? D.date : D.time;
2380
+ parsedOptions: this.shouldParseSkeletons ? Oi(V) : {}
2381
+ }, k = a === "date" ? I.date : I.time;
2412
2382
  return {
2413
2383
  val: { type: k, value: i, location: d, style: p },
2414
2384
  err: null
@@ -2417,7 +2387,7 @@ var zi = (
2417
2387
  }
2418
2388
  return {
2419
2389
  val: {
2420
- type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2390
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2421
2391
  value: i,
2422
2392
  location: d,
2423
2393
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -2428,19 +2398,19 @@ var zi = (
2428
2398
  case "plural":
2429
2399
  case "selectordinal":
2430
2400
  case "select": {
2431
- var B = this.clonePosition();
2401
+ var A = this.clonePosition();
2432
2402
  if (this.bumpSpace(), !this.bumpIf(","))
2433
- return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, H(B, A({}, B)));
2403
+ return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, Ge({}, A)));
2434
2404
  this.bumpSpace();
2435
2405
  var z = this.parseIdentifierIfPossible(), R = 0;
2436
2406
  if (a !== "select" && z.value === "offset") {
2437
2407
  if (!this.bumpIf(":"))
2438
- return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2408
+ return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2439
2409
  this.bumpSpace();
2440
- var v = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2441
- if (v.err)
2442
- return v;
2443
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), R = v.val;
2410
+ var g = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2411
+ if (g.err)
2412
+ return g;
2413
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), R = g.val;
2444
2414
  }
2445
2415
  var U = this.tryParsePluralOrSelectOptions(t, a, r, z);
2446
2416
  if (U.err)
@@ -2448,20 +2418,20 @@ var zi = (
2448
2418
  var S = this.tryParseArgumentClose(n);
2449
2419
  if (S.err)
2450
2420
  return S;
2451
- var X = H(n, this.clonePosition());
2421
+ var X = O(n, this.clonePosition());
2452
2422
  return a === "select" ? {
2453
2423
  val: {
2454
- type: D.select,
2424
+ type: I.select,
2455
2425
  value: i,
2456
- options: Pt(U.val),
2426
+ options: Bt(U.val),
2457
2427
  location: X
2458
2428
  },
2459
2429
  err: null
2460
2430
  } : {
2461
2431
  val: {
2462
- type: D.plural,
2432
+ type: I.plural,
2463
2433
  value: i,
2464
- options: Pt(U.val),
2434
+ options: Bt(U.val),
2465
2435
  offset: R,
2466
2436
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2467
2437
  location: X
@@ -2470,10 +2440,10 @@ var zi = (
2470
2440
  };
2471
2441
  }
2472
2442
  default:
2473
- return this.error(P.INVALID_ARGUMENT_TYPE, H(s, u));
2443
+ return this.error(P.INVALID_ARGUMENT_TYPE, O(s, u));
2474
2444
  }
2475
2445
  }, e.prototype.tryParseArgumentClose = function(t) {
2476
- return this.isEOF() || this.char() !== 125 ? this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2446
+ return this.isEOF() || this.char() !== 125 ? this.error(P.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 zi = (
2482
2452
  this.bump();
2483
2453
  var n = this.clonePosition();
2484
2454
  if (!this.bumpUntil("'"))
2485
- return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(n, this.clonePosition()));
2455
+ return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2486
2456
  this.bump();
2487
2457
  break;
2488
2458
  }
@@ -2512,7 +2482,7 @@ var zi = (
2512
2482
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2513
2483
  var i = [];
2514
2484
  try {
2515
- i = Ti(t);
2485
+ i = Ai(t);
2516
2486
  } catch {
2517
2487
  return this.error(P.INVALID_NUMBER_SKELETON, r);
2518
2488
  }
@@ -2521,28 +2491,28 @@ var zi = (
2521
2491
  type: _e.number,
2522
2492
  tokens: i,
2523
2493
  location: r,
2524
- parsedOptions: this.shouldParseSkeletons ? Ai(i) : {}
2494
+ parsedOptions: this.shouldParseSkeletons ? Ii(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 = [], u = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2499
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
2530
2500
  if (l.length === 0) {
2531
- var v = this.clonePosition();
2501
+ var g = this.clonePosition();
2532
2502
  if (r !== "select" && this.bumpIf("=")) {
2533
2503
  var p = this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR, P.INVALID_PLURAL_ARGUMENT_SELECTOR);
2534
2504
  if (p.err)
2535
2505
  return p;
2536
- h = H(v, this.clonePosition()), l = this.message.slice(v.offset, this.offset());
2506
+ f = O(g, this.clonePosition()), l = this.message.slice(g.offset, this.offset());
2537
2507
  } else
2538
2508
  break;
2539
2509
  }
2540
2510
  if (u.has(l))
2541
- return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2511
+ return this.error(r === "select" ? P.DUPLICATE_SELECT_ARGUMENT_SELECTOR : P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, f);
2542
2512
  l === "other" && (s = !0), this.bumpSpace();
2543
2513
  var x = this.clonePosition();
2544
2514
  if (!this.bumpIf("{"))
2545
- return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
2515
+ return this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2546
2516
  var S = this.parseMessage(t + 1, r, i);
2547
2517
  if (S.err)
2548
2518
  return S;
@@ -2553,11 +2523,11 @@ var zi = (
2553
2523
  l,
2554
2524
  {
2555
2525
  value: S.val,
2556
- location: H(x, this.clonePosition())
2526
+ location: O(x, this.clonePosition())
2557
2527
  }
2558
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = 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" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2530
+ return a.length === 0 ? this.error(r === "select" ? P.EXPECT_SELECT_ARGUMENT_SELECTOR : P.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(P.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 zi = (
2568
2538
  else
2569
2539
  break;
2570
2540
  }
2571
- var u = H(n, this.clonePosition());
2572
- return o ? (s *= i, Vi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
2541
+ var u = O(n, this.clonePosition());
2542
+ return o ? (s *= i, zi(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 zi = (
2584
2554
  var t = this.position.offset;
2585
2555
  if (t >= this.message.length)
2586
2556
  throw Error("out of bound");
2587
- var r = fr(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 zi = (
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 (Tt(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 zi = (
2625
2595
  break;
2626
2596
  }
2627
2597
  }, e.prototype.bumpSpace = function() {
2628
- for (; !this.isEOF() && cr(this.char()); )
2598
+ for (; !this.isEOF() && vr(this.char()); )
2629
2599
  this.bump();
2630
2600
  }, e.prototype.peek = function() {
2631
2601
  if (this.isEOF())
@@ -2635,47 +2605,47 @@ var zi = (
2635
2605
  }, e;
2636
2606
  }()
2637
2607
  );
2638
- function ut(e) {
2608
+ function lt(e) {
2639
2609
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
2640
2610
  }
2641
- function Wi(e) {
2642
- return ut(e) || e === 47;
2611
+ function Zi(e) {
2612
+ return lt(e) || e === 47;
2643
2613
  }
2644
- function Xi(e) {
2614
+ function Ji(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 cr(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 qi(e) {
2620
+ function Qi(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 lt(e) {
2623
+ function ht(e) {
2654
2624
  e.forEach(function(t) {
2655
- if (delete t.location, rr(t) || ir(t))
2625
+ if (delete t.location, sr(t) || ar(t))
2656
2626
  for (var r in t.options)
2657
- delete t.options[r].location, lt(t.options[r].value);
2627
+ delete t.options[r].location, ht(t.options[r].value);
2658
2628
  else
2659
- Kt(t) && or(t.style) || (er(t) || tr(t)) && nt(t.style) ? delete t.style.location : nr(t) && lt(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 Yi(e, t) {
2663
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2664
- var r = new zi(e, t).parse();
2632
+ function Ki(e, t) {
2633
+ t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
2634
+ var r = new Yi(e, t).parse();
2665
2635
  if (r.err) {
2666
2636
  var i = SyntaxError(P[r.err.kind]);
2667
2637
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
2668
2638
  }
2669
- return t?.captureLocation || lt(r.val), r.val;
2639
+ return t?.captureLocation || ht(r.val), r.val;
2670
2640
  }
2671
- var we;
2641
+ var Ee;
2672
2642
  (function(e) {
2673
2643
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
2674
- })(we || (we = {}));
2675
- var ze = (
2644
+ })(Ee || (Ee = {}));
2645
+ var Xe = (
2676
2646
  /** @class */
2677
2647
  function(e) {
2678
- se(t, e);
2648
+ We(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 ze = (
2684
2654
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
2685
2655
  }, t;
2686
2656
  }(Error)
2687
- ), Ot = (
2657
+ ), Ct = (
2688
2658
  /** @class */
2689
2659
  function(e) {
2690
- se(t, e);
2660
+ We(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('", "'), '"'), we.INVALID_VALUE, o) || this;
2662
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Ee.INVALID_VALUE, o) || this;
2693
2663
  }
2694
2664
  return t;
2695
- }(ze)
2696
- ), Zi = (
2665
+ }(Xe)
2666
+ ), en = (
2697
2667
  /** @class */
2698
2668
  function(e) {
2699
- se(t, e);
2669
+ We(t, e);
2700
2670
  function t(r, i, n) {
2701
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), we.INVALID_VALUE, n) || this;
2671
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Ee.INVALID_VALUE, n) || this;
2702
2672
  }
2703
2673
  return t;
2704
- }(ze)
2705
- ), Ji = (
2674
+ }(Xe)
2675
+ ), tn = (
2706
2676
  /** @class */
2707
2677
  function(e) {
2708
- se(t, e);
2678
+ We(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, '"'), we.MISSING_VALUE, i) || this;
2680
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Ee.MISSING_VALUE, i) || this;
2711
2681
  }
2712
2682
  return t;
2713
- }(ze)
2714
- ), j;
2683
+ }(Xe)
2684
+ ), $;
2715
2685
  (function(e) {
2716
2686
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
2717
- })(j || (j = {}));
2718
- function Qi(e) {
2687
+ })($ || ($ = {}));
2688
+ function rn(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 !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
2691
+ return !i || i.type !== $.literal || r.type !== $.literal ? t.push(r) : i.value += r.value, t;
2722
2692
  }, []);
2723
2693
  }
2724
- function Ki(e) {
2694
+ function nn(e) {
2725
2695
  return typeof e == "function";
2726
2696
  }
2727
2697
  function Ue(e, t, r, i, n, o, s) {
2728
- if (e.length === 1 && Et(e[0]))
2698
+ if (e.length === 1 && Tt(e[0]))
2729
2699
  return [
2730
2700
  {
2731
- type: j.literal,
2701
+ type: $.literal,
2732
2702
  value: e[0].value
2733
2703
  }
2734
2704
  ];
2735
2705
  for (var a = [], u = 0, l = e; u < l.length; u++) {
2736
- var h = l[u];
2737
- if (Et(h)) {
2706
+ var f = l[u];
2707
+ if (Tt(f)) {
2738
2708
  a.push({
2739
- type: j.literal,
2740
- value: h.value
2709
+ type: $.literal,
2710
+ value: f.value
2741
2711
  });
2742
2712
  continue;
2743
2713
  }
2744
- if (Ei(h)) {
2714
+ if (Ti(f)) {
2745
2715
  typeof o == "number" && a.push({
2746
- type: j.literal,
2716
+ type: $.literal,
2747
2717
  value: r.getNumberFormat(t).format(o)
2748
2718
  });
2749
2719
  continue;
2750
2720
  }
2751
- var v = h.value;
2752
- if (!(n && v in n))
2753
- throw new Ji(v, s);
2754
- var p = n[v];
2755
- if (xi(h)) {
2721
+ var g = f.value;
2722
+ if (!(n && g in n))
2723
+ throw new tn(g, s);
2724
+ var p = n[g];
2725
+ if (Si(f)) {
2756
2726
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
2757
- type: typeof p == "string" ? j.literal : j.object,
2727
+ type: typeof p == "string" ? $.literal : $.object,
2758
2728
  value: p
2759
2729
  });
2760
2730
  continue;
2761
2731
  }
2762
- if (er(h)) {
2763
- var x = typeof h.style == "string" ? i.date[h.style] : nt(h.style) ? h.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: j.literal,
2735
+ type: $.literal,
2766
2736
  value: r.getDateTimeFormat(t, x).format(p)
2767
2737
  });
2768
2738
  continue;
2769
2739
  }
2770
- if (tr(h)) {
2771
- var x = typeof h.style == "string" ? i.time[h.style] : nt(h.style) ? h.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: j.literal,
2743
+ type: $.literal,
2774
2744
  value: r.getDateTimeFormat(t, x).format(p)
2775
2745
  });
2776
2746
  continue;
2777
2747
  }
2778
- if (Kt(h)) {
2779
- var x = typeof h.style == "string" ? i.number[h.style] : or(h.style) ? h.style.parsedOptions : void 0;
2748
+ if (ir(f)) {
2749
+ var x = typeof f.style == "string" ? i.number[f.style] : lr(f.style) ? f.style.parsedOptions : void 0;
2780
2750
  x && x.scale && (p = p * (x.scale || 1)), a.push({
2781
- type: j.literal,
2751
+ type: $.literal,
2782
2752
  value: r.getNumberFormat(t, x).format(p)
2783
2753
  });
2784
2754
  continue;
2785
2755
  }
2786
- if (nr(h)) {
2787
- var S = h.children, d = h.value, C = n[d];
2788
- if (!Ki(C))
2789
- throw new Zi(d, "function", s);
2790
- var V = Ue(S, t, r, i, n, o), k = C(V.map(function(R) {
2756
+ if (ur(f)) {
2757
+ var S = f.children, d = f.value, M = n[d];
2758
+ if (!nn(M))
2759
+ throw new en(d, "function", s);
2760
+ var V = Ue(S, t, r, i, n, o), k = M(V.map(function(R) {
2791
2761
  return R.value;
2792
2762
  }));
2793
2763
  Array.isArray(k) || (k = [k]), a.push.apply(a, k.map(function(R) {
2794
2764
  return {
2795
- type: typeof R == "string" ? j.literal : j.object,
2765
+ type: typeof R == "string" ? $.literal : $.object,
2796
2766
  value: R
2797
2767
  };
2798
2768
  }));
2799
2769
  }
2800
- if (rr(h)) {
2801
- var B = h.options[p] || h.options.other;
2802
- if (!B)
2803
- throw new Ot(h.value, p, Object.keys(h.options), s);
2804
- a.push.apply(a, Ue(B.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, Ue(A.value, t, r, i, n));
2805
2775
  continue;
2806
2776
  }
2807
- if (ir(h)) {
2808
- var B = h.options["=".concat(p)];
2809
- if (!B) {
2777
+ if (ar(f)) {
2778
+ var A = f.options["=".concat(p)];
2779
+ if (!A) {
2810
2780
  if (!Intl.PluralRules)
2811
- throw new ze(`Intl.PluralRules is not available in this environment.
2781
+ throw new Xe(`Intl.PluralRules is not available in this environment.
2812
2782
  Try polyfilling it using "@formatjs/intl-pluralrules"
2813
- `, we.MISSING_INTL_API, s);
2814
- var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
2815
- B = h.options[z] || h.options.other;
2783
+ `, Ee.MISSING_INTL_API, s);
2784
+ var z = r.getPluralRules(t, { type: f.pluralType }).select(p - (f.offset || 0));
2785
+ A = f.options[z] || f.options.other;
2816
2786
  }
2817
- if (!B)
2818
- throw new Ot(h.value, p, Object.keys(h.options), s);
2819
- a.push.apply(a, Ue(B.value, t, r, i, n, p - (h.offset || 0)));
2787
+ if (!A)
2788
+ throw new Ct(f.value, p, Object.keys(f.options), s);
2789
+ a.push.apply(a, Ue(A.value, t, r, i, n, p - (f.offset || 0)));
2820
2790
  continue;
2821
2791
  }
2822
2792
  }
2823
- return Qi(a);
2793
+ return rn(a);
2824
2794
  }
2825
- function en(e, t) {
2826
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2827
- return r[i] = A(A({}, e[i]), t[i] || {}), r;
2795
+ function on(e, t) {
2796
+ return t ? Q(Q(Q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
2797
+ return r[i] = Q(Q({}, e[i]), t[i] || {}), r;
2828
2798
  }, {})) : e;
2829
2799
  }
2830
- function tn(e, t) {
2800
+ function sn(e, t) {
2831
2801
  return t ? Object.keys(e).reduce(function(r, i) {
2832
- return r[i] = en(e[i], t[i]), r;
2833
- }, A({}, e)) : e;
2802
+ return r[i] = on(e[i], t[i]), r;
2803
+ }, Q({}, e)) : e;
2834
2804
  }
2835
- function Qe(e) {
2805
+ function tt(e) {
2836
2806
  return {
2837
2807
  create: function() {
2838
2808
  return {
@@ -2846,39 +2816,39 @@ function Qe(e) {
2846
2816
  }
2847
2817
  };
2848
2818
  }
2849
- function rn(e) {
2819
+ function an(e) {
2850
2820
  return e === void 0 && (e = {
2851
2821
  number: {},
2852
2822
  dateTime: {},
2853
2823
  pluralRules: {}
2854
2824
  }), {
2855
- getNumberFormat: Ye(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, ye([void 0], r, !1)))();
2828
+ return new ((t = Intl.NumberFormat).bind.apply(t, Je([void 0], r, !1)))();
2859
2829
  }, {
2860
- cache: Qe(e.number),
2861
- strategy: Ze.variadic
2830
+ cache: tt(e.number),
2831
+ strategy: Ke.variadic
2862
2832
  }),
2863
- getDateTimeFormat: Ye(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, ye([void 0], r, !1)))();
2836
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Je([void 0], r, !1)))();
2867
2837
  }, {
2868
- cache: Qe(e.dateTime),
2869
- strategy: Ze.variadic
2838
+ cache: tt(e.dateTime),
2839
+ strategy: Ke.variadic
2870
2840
  }),
2871
- getPluralRules: Ye(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, ye([void 0], r, !1)))();
2844
+ return new ((t = Intl.PluralRules).bind.apply(t, Je([void 0], r, !1)))();
2875
2845
  }, {
2876
- cache: Qe(e.pluralRules),
2877
- strategy: Ze.variadic
2846
+ cache: tt(e.pluralRules),
2847
+ strategy: Ke.variadic
2878
2848
  })
2879
2849
  };
2880
2850
  }
2881
- var dr = (
2851
+ var gr = (
2882
2852
  /** @class */
2883
2853
  function() {
2884
2854
  function e(t, r, i, n) {
@@ -2892,10 +2862,10 @@ var dr = (
2892
2862
  var l = o.formatToParts(u);
2893
2863
  if (l.length === 1)
2894
2864
  return l[0].value;
2895
- var h = l.reduce(function(v, p) {
2896
- return !v.length || p.type !== j.literal || typeof v[v.length - 1] != "string" ? v.push(p.value) : v[v.length - 1] += p.value, v;
2865
+ var f = l.reduce(function(g, p) {
2866
+ return !g.length || p.type !== $.literal || typeof g[g.length - 1] != "string" ? g.push(p.value) : g[g.length - 1] += p.value, g;
2897
2867
  }, []);
2898
- return h.length <= 1 ? h[0] || "" : h;
2868
+ return f.length <= 1 ? f[0] || "" : f;
2899
2869
  }, this.formatToParts = function(u) {
2900
2870
  return Ue(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
2901
2871
  }, this.resolvedOptions = function() {
@@ -2910,13 +2880,13 @@ var dr = (
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 = ci(s, ["formatters"]);
2914
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
2883
+ var a = vi(s, ["formatters"]);
2884
+ this.ast = e.__parse(t, Q(Q({}, 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 = tn(e.formats, i), this.formatters = n && n.formatters || rn(this.formatterCache);
2889
+ this.formats = sn(e.formats, i), this.formatters = n && n.formatters || an(this.formatterCache);
2920
2890
  }
2921
2891
  return Object.defineProperty(e, "defaultLocale", {
2922
2892
  get: function() {
@@ -2929,7 +2899,7 @@ var dr = (
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 = Yi, e.formats = {
2902
+ }, e.__parse = Ki, e.formats = {
2933
2903
  number: {
2934
2904
  integer: {
2935
2905
  maximumFractionDigits: 0
@@ -2990,7 +2960,7 @@ var dr = (
2990
2960
  }, e;
2991
2961
  }()
2992
2962
  );
2993
- function nn(e, t) {
2963
+ function un(e, t) {
2994
2964
  if (t == null)
2995
2965
  return;
2996
2966
  if (t in e)
@@ -3011,101 +2981,101 @@ function nn(e, t) {
3011
2981
  i = void 0;
3012
2982
  return i;
3013
2983
  }
3014
- const le = {}, on = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), pr = (e, t) => {
2984
+ const le = {}, ln = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), br = (e, t) => {
3015
2985
  if (t == null)
3016
2986
  return;
3017
2987
  if (t in le && e in le[t])
3018
2988
  return le[t][e];
3019
- const r = De(t);
2989
+ const r = Ie(t);
3020
2990
  for (let i = 0; i < r.length; i++) {
3021
- const n = r[i], o = an(n, e);
2991
+ const n = r[i], o = fn(n, e);
3022
2992
  if (o)
3023
- return on(e, t, o);
2993
+ return ln(e, t, o);
3024
2994
  }
3025
2995
  };
3026
- let gt;
3027
- const Ie = Ce({});
3028
- function sn(e) {
3029
- return gt[e] || null;
2996
+ let xt;
2997
+ const Ce = Me({});
2998
+ function hn(e) {
2999
+ return xt[e] || null;
3030
3000
  }
3031
- function mr(e) {
3032
- return e in gt;
3001
+ function yr(e) {
3002
+ return e in xt;
3033
3003
  }
3034
- function an(e, t) {
3035
- if (!mr(e))
3004
+ function fn(e, t) {
3005
+ if (!yr(e))
3036
3006
  return null;
3037
- const r = sn(e);
3038
- return nn(r, t);
3007
+ const r = hn(e);
3008
+ return un(r, t);
3039
3009
  }
3040
- function un(e) {
3010
+ function cn(e) {
3041
3011
  if (e == null)
3042
3012
  return;
3043
- const t = De(e);
3013
+ const t = Ie(e);
3044
3014
  for (let r = 0; r < t.length; r++) {
3045
3015
  const i = t[r];
3046
- if (mr(i))
3016
+ if (yr(i))
3047
3017
  return i;
3048
3018
  }
3049
3019
  }
3050
- function gr(e, ...t) {
3051
- delete le[e], Ie.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3020
+ function xr(e, ...t) {
3021
+ delete le[e], Ce.update((r) => (r[e] = mi.all([r[e] || {}, ...t]), r));
3052
3022
  }
3053
- Te(
3054
- [Ie],
3023
+ Se(
3024
+ [Ce],
3055
3025
  ([e]) => Object.keys(e)
3056
3026
  );
3057
- Ie.subscribe((e) => gt = e);
3027
+ Ce.subscribe((e) => xt = e);
3058
3028
  const Fe = {};
3059
- function ln(e, t) {
3029
+ function dn(e, t) {
3060
3030
  Fe[e].delete(t), Fe[e].size === 0 && delete Fe[e];
3061
3031
  }
3062
- function vr(e) {
3032
+ function _r(e) {
3063
3033
  return Fe[e];
3064
3034
  }
3065
- function fn(e) {
3066
- return De(e).map((t) => {
3067
- const r = vr(t);
3035
+ function pn(e) {
3036
+ return Ie(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 Ge(e) {
3072
- return e == null ? !1 : De(e).some(
3041
+ function je(e) {
3042
+ return e == null ? !1 : Ie(e).some(
3073
3043
  (t) => {
3074
3044
  var r;
3075
- return (r = vr(t)) == null ? void 0 : r.size;
3045
+ return (r = _r(t)) == null ? void 0 : r.size;
3076
3046
  }
3077
3047
  );
3078
3048
  }
3079
- function hn(e, t) {
3049
+ function mn(e, t) {
3080
3050
  return Promise.all(
3081
- t.map((i) => (ln(e, i), i().then((n) => n.default || n)))
3082
- ).then((i) => gr(e, ...i));
3051
+ t.map((i) => (dn(e, i), i().then((n) => n.default || n)))
3052
+ ).then((i) => xr(e, ...i));
3083
3053
  }
3084
- const He = {};
3085
- function br(e) {
3086
- if (!Ge(e))
3087
- return e in He ? He[e] : Promise.resolve();
3088
- const t = fn(e);
3089
- return He[e] = Promise.all(
3054
+ const Pe = {};
3055
+ function Er(e) {
3056
+ if (!je(e))
3057
+ return e in Pe ? Pe[e] : Promise.resolve();
3058
+ const t = pn(e);
3059
+ return Pe[e] = Promise.all(
3090
3060
  t.map(
3091
- ([r, i]) => hn(r, i)
3061
+ ([r, i]) => mn(r, i)
3092
3062
  )
3093
3063
  ).then(() => {
3094
- if (Ge(e))
3095
- return br(e);
3096
- delete He[e];
3097
- }), He[e];
3064
+ if (je(e))
3065
+ return Er(e);
3066
+ delete Pe[e];
3067
+ }), Pe[e];
3098
3068
  }
3099
- var At = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
3069
+ var It = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, bn = (e, t) => {
3100
3070
  var r = {};
3101
3071
  for (var i in e)
3102
- cn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3103
- if (e != null && At)
3104
- for (var i of At(e))
3105
- t.indexOf(i) < 0 && dn.call(e, i) && (r[i] = e[i]);
3072
+ vn.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 && gn.call(e, i) && (r[i] = e[i]);
3106
3076
  return r;
3107
3077
  };
3108
- const mn = {
3078
+ const yn = {
3109
3079
  number: {
3110
3080
  scientific: { notation: "scientific" },
3111
3081
  engineering: { notation: "engineering" },
@@ -3135,58 +3105,58 @@ const mn = {
3135
3105
  }
3136
3106
  }
3137
3107
  };
3138
- function gn({ locale: e, id: t }) {
3108
+ function xn({ locale: e, id: t }) {
3139
3109
  console.warn(
3140
- `[svelte-i18n] The message "${t}" was not found in "${De(
3110
+ `[svelte-i18n] The message "${t}" was not found in "${Ie(
3141
3111
  e
3142
- ).join('", "')}".${Ge(ce()) ? `
3112
+ ).join('", "')}".${je(ce()) ? `
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 vn = {
3117
+ const _n = {
3148
3118
  fallbackLocale: null,
3149
3119
  loadingDelay: 200,
3150
- formats: mn,
3120
+ formats: yn,
3151
3121
  warnOnMissingMessages: !0,
3152
3122
  handleMissingMessage: void 0,
3153
3123
  ignoreTag: !0
3154
- }, Oe = vn;
3155
- function Se() {
3124
+ }, Oe = _n;
3125
+ function we() {
3156
3126
  return Oe;
3157
3127
  }
3158
- function bn(e) {
3159
- const t = e, { formats: r } = t, i = pn(t, ["formats"]);
3128
+ function En(e) {
3129
+ const t = e, { formats: r } = t, i = bn(t, ["formats"]);
3160
3130
  let n = e.fallbackLocale;
3161
3131
  if (e.initialLocale)
3162
3132
  try {
3163
- dr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3133
+ gr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3164
3134
  } catch {
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 = gn : console.warn(
3139
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3170
3140
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3171
- )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ge.set(n);
3141
+ )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), ve.set(n);
3172
3142
  }
3173
- const Ke = Ce(!1);
3174
- var yn = Object.defineProperty, xn = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, _n = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3175
- for (var r in t)
3176
- _n.call(t, r) && Mt(e, r, t[r]);
3177
- if (Bt)
3178
- for (var r of Bt(t))
3179
- wn.call(t, r) && Mt(e, r, t[r]);
3143
+ const rt = Me(!1);
3144
+ var wn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hn = (e, t) => {
3145
+ for (var r in t || (t = {}))
3146
+ Pn.call(t, r) && Lt(e, r, t[r]);
3147
+ if (Dt)
3148
+ for (var r of Dt(t))
3149
+ On.call(t, r) && Lt(e, r, t[r]);
3180
3150
  return e;
3181
- }, Tn = (e, t) => xn(e, En(t));
3151
+ }, An = (e, t) => Sn(e, Tn(t));
3182
3152
  let ft;
3183
- const $e = Ce(null);
3184
- function Ct(e) {
3153
+ const $e = Me(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 De(e, t = Se().fallbackLocale) {
3188
- const r = Ct(e);
3189
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ct(t)])] : r;
3157
+ function Ie(e, t = we().fallbackLocale) {
3158
+ const r = Nt(e);
3159
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3190
3160
  }
3191
3161
  function ce() {
3192
3162
  return ft ?? void 0;
@@ -3194,100 +3164,100 @@ function ce() {
3194
3164
  $e.subscribe((e) => {
3195
3165
  ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3196
3166
  });
3197
- const Pn = (e) => {
3198
- if (e && un(e) && Ge(e)) {
3199
- const { loadingDelay: t } = Se();
3167
+ const Bn = (e) => {
3168
+ if (e && cn(e) && je(e)) {
3169
+ const { loadingDelay: t } = we();
3200
3170
  let r;
3201
3171
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3202
- () => Ke.set(!0),
3172
+ () => rt.set(!0),
3203
3173
  t
3204
- ) : Ke.set(!0), br(e).then(() => {
3174
+ ) : rt.set(!0), Er(e).then(() => {
3205
3175
  $e.set(e);
3206
3176
  }).finally(() => {
3207
- clearTimeout(r), Ke.set(!1);
3177
+ clearTimeout(r), rt.set(!1);
3208
3178
  });
3209
3179
  }
3210
3180
  return $e.set(e);
3211
- }, ge = Tn(Sn({}, $e), {
3212
- set: Pn
3213
- }), We = (e) => {
3181
+ }, ve = An(Hn({}, $e), {
3182
+ set: Bn
3183
+ }), qe = (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 Hn = Object.defineProperty, je = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Hn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
3190
+ var Mn = Object.defineProperty, ze = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Mn(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
- yr.call(t, r) && It(e, r, t[r]);
3223
- if (je)
3224
- for (var r of je(t))
3225
- xr.call(t, r) && It(e, r, t[r]);
3192
+ wr.call(t, r) && Rt(e, r, t[r]);
3193
+ if (ze)
3194
+ for (var r of ze(t))
3195
+ Sr.call(t, r) && Rt(e, r, t[r]);
3226
3196
  return e;
3227
- }, Pe = (e, t) => {
3197
+ }, Te = (e, t) => {
3228
3198
  var r = {};
3229
3199
  for (var i in e)
3230
- yr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3231
- if (e != null && je)
3232
- for (var i of je(e))
3233
- t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
3200
+ wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3201
+ if (e != null && ze)
3202
+ for (var i of ze(e))
3203
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3234
3204
  return r;
3235
3205
  };
3236
- const Me = (e, t) => {
3237
- const { formats: r } = Se();
3206
+ const Be = (e, t) => {
3207
+ const { formats: r } = we();
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
- }, On = We(
3211
+ }, Cn = qe(
3242
3212
  (e) => {
3243
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3213
+ var t = e, { locale: r, format: i } = t, n = Te(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 = Me("number", i)), new Intl.NumberFormat(r, n);
3216
+ return i && (n = Be("number", i)), new Intl.NumberFormat(r, n);
3247
3217
  }
3248
- ), An = We(
3218
+ ), In = qe(
3249
3219
  (e) => {
3250
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3220
+ var t = e, { locale: r, format: i } = t, n = Te(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 = Me("date", i) : Object.keys(n).length === 0 && (n = Me("date", "short")), new Intl.DateTimeFormat(r, n);
3223
+ return i ? n = Be("date", i) : Object.keys(n).length === 0 && (n = Be("date", "short")), new Intl.DateTimeFormat(r, n);
3254
3224
  }
3255
- ), Bn = We(
3225
+ ), Dn = qe(
3256
3226
  (e) => {
3257
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3227
+ var t = e, { locale: r, format: i } = t, n = Te(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 = Me("time", i) : Object.keys(n).length === 0 && (n = Me("time", "short")), new Intl.DateTimeFormat(r, n);
3232
+ return i ? n = Be("time", i) : Object.keys(n).length === 0 && (n = Be("time", "short")), new Intl.DateTimeFormat(r, n);
3263
3233
  }
3264
- ), Mn = (e = {}) => {
3234
+ ), Ln = (e = {}) => {
3265
3235
  var t = e, {
3266
3236
  locale: r = ce()
3267
- } = t, i = Pe(t, [
3237
+ } = t, i = Te(t, [
3268
3238
  "locale"
3269
3239
  ]);
3270
- return On(vt({ locale: r }, i));
3271
- }, Cn = (e = {}) => {
3240
+ return Cn(_t({ locale: r }, i));
3241
+ }, Nn = (e = {}) => {
3272
3242
  var t = e, {
3273
3243
  locale: r = ce()
3274
- } = t, i = Pe(t, [
3244
+ } = t, i = Te(t, [
3275
3245
  "locale"
3276
3246
  ]);
3277
- return An(vt({ locale: r }, i));
3278
- }, In = (e = {}) => {
3247
+ return In(_t({ locale: r }, i));
3248
+ }, Rn = (e = {}) => {
3279
3249
  var t = e, {
3280
3250
  locale: r = ce()
3281
- } = t, i = Pe(t, [
3251
+ } = t, i = Te(t, [
3282
3252
  "locale"
3283
3253
  ]);
3284
- return Bn(vt({ locale: r }, i));
3285
- }, Dn = We(
3254
+ return Dn(_t({ locale: r }, i));
3255
+ }, kn = qe(
3286
3256
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3287
- (e, t = ce()) => new dr(e, t, Se().formats, {
3288
- ignoreTag: Se().ignoreTag
3257
+ (e, t = ce()) => new gr(e, t, we().formats, {
3258
+ ignoreTag: we().ignoreTag
3289
3259
  })
3290
- ), Ln = (e, t = {}) => {
3260
+ ), Un = (e, t = {}) => {
3291
3261
  var r, i, n, o;
3292
3262
  let s = t;
3293
3263
  typeof e == "object" && (s = e, e = s.id);
@@ -3300,39 +3270,39 @@ const Me = (e, t) => {
3300
3270
  throw new Error(
3301
3271
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3302
3272
  );
3303
- let h = pr(e, u);
3304
- if (!h)
3305
- h = (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
- else if (typeof h != "string")
3273
+ let f = br(e, u);
3274
+ if (!f)
3275
+ f = (o = (n = (i = (r = we()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: u, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3276
+ else if (typeof f != "string")
3307
3277
  return console.warn(
3308
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3309
- ), h;
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.`
3279
+ ), f;
3310
3280
  if (!a)
3311
- return h;
3312
- let v = h;
3281
+ return f;
3282
+ let g = f;
3313
3283
  try {
3314
- v = Dn(h, u).format(a);
3284
+ g = kn(f, u).format(a);
3315
3285
  } catch (p) {
3316
3286
  p instanceof Error && console.warn(
3317
3287
  `[svelte-i18n] Message "${e}" has syntax error:`,
3318
3288
  p.message
3319
3289
  );
3320
3290
  }
3321
- return v;
3322
- }, Nn = (e, t) => In(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = ce()) => pr(e, t), Fn = Te([ge, Ie], () => Ln);
3323
- Te([ge], () => Nn);
3324
- Te([ge], () => Rn);
3325
- Te([ge], () => kn);
3326
- Te([ge, Ie], () => Un);
3327
- function Dt(e, t) {
3328
- gr(e, t);
3291
+ return g;
3292
+ }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => Ln(t).format(e), jn = (e, t = ce()) => br(e, t), $n = Se([ve, Ce], () => Un);
3293
+ Se([ve], () => Fn);
3294
+ Se([ve], () => Vn);
3295
+ Se([ve], () => Gn);
3296
+ Se([ve, Ce], () => jn);
3297
+ function kt(e, t) {
3298
+ xr(e, t);
3329
3299
  }
3330
- function Vn(e) {
3331
- bn({
3300
+ function zn(e) {
3301
+ En({
3332
3302
  fallbackLocale: "en"
3333
- }), ge.set(e);
3303
+ }), ve.set(e);
3334
3304
  }
3335
- const Lt = {
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 Lt = {
3388
3358
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
3389
3359
  }
3390
3360
  };
3391
- let Gn = Ce(null);
3392
- function oe(e) {
3361
+ let Wn = Me(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 De(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 se(e) {
3393
3432
  return typeof e == "function";
3394
3433
  }
3395
- function Er(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 et = Er(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 et = Er(function(e) {
3407
3446
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3408
3447
  };
3409
3448
  });
3410
- function ht(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 Xe = function() {
3455
+ var Ye = function() {
3417
3456
  function e(t) {
3418
3457
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3419
3458
  }
@@ -3425,7 +3464,7 @@ var Xe = function() {
3425
3464
  if (s)
3426
3465
  if (this._parentage = null, Array.isArray(s))
3427
3466
  try {
3428
- for (var a = rt(s), u = a.next(); !u.done; u = a.next()) {
3467
+ for (var a = dt(s), u = a.next(); !u.done; u = a.next()) {
3429
3468
  var l = u.value;
3430
3469
  l.remove(this);
3431
3470
  }
@@ -3441,23 +3480,23 @@ var Xe = function() {
3441
3480
  }
3442
3481
  else
3443
3482
  s.remove(this);
3444
- var h = this.initialTeardown;
3445
- if (oe(h))
3483
+ var f = this.initialTeardown;
3484
+ if (se(f))
3446
3485
  try {
3447
- h();
3486
+ f();
3448
3487
  } catch (d) {
3449
- o = d instanceof et ? d.errors : [d];
3488
+ o = d instanceof it ? d.errors : [d];
3450
3489
  }
3451
- var v = this._finalizers;
3452
- if (v) {
3490
+ var g = this._finalizers;
3491
+ if (g) {
3453
3492
  this._finalizers = null;
3454
3493
  try {
3455
- for (var p = rt(v), x = p.next(); !x.done; x = p.next()) {
3494
+ for (var p = dt(g), x = p.next(); !x.done; x = p.next()) {
3456
3495
  var S = x.value;
3457
3496
  try {
3458
- Nt(S);
3497
+ Ft(S);
3459
3498
  } catch (d) {
3460
- o = o ?? [], d instanceof et ? o = ye(ye([], it(o)), it(d.errors)) : o.push(d);
3499
+ o = o ?? [], d instanceof it ? o = mt(mt([], pt(o)), pt(d.errors)) : o.push(d);
3461
3500
  }
3462
3501
  }
3463
3502
  } catch (d) {
@@ -3472,13 +3511,13 @@ var Xe = function() {
3472
3511
  }
3473
3512
  }
3474
3513
  if (o)
3475
- throw new et(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
- Nt(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 Xe = 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) && ht(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 && ht(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
- }(), _r = Xe.EMPTY;
3507
- function wr(e) {
3508
- return e instanceof Xe || e && "closed" in e && oe(e.remove) && oe(e.add) && oe(e.unsubscribe);
3545
+ }(), Pr = Ye.EMPTY;
3546
+ function Or(e) {
3547
+ return e instanceof Ye || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
3509
3548
  }
3510
- function Nt(e) {
3511
- oe(e) ? e() : e.unsubscribe();
3549
+ function Ft(e) {
3550
+ se(e) ? e() : e.unsubscribe();
3512
3551
  }
3513
- var $n = {
3514
- onUnhandledError: null,
3515
- onStoppedNotification: null,
3516
- Promise: void 0,
3517
- useDeprecatedSynchronousErrorHandling: !1,
3518
- useDeprecatedNextContext: !1
3519
- }, jn = {
3552
+ var Xn = {
3553
+ Promise: void 0
3554
+ }, qn = {
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, ye([e, t], it(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 zn(e) {
3531
- jn.setTimeout(function() {
3565
+ function Yn(e) {
3566
+ qn.setTimeout(function() {
3532
3567
  throw e;
3533
3568
  });
3534
3569
  }
3535
- function Rt() {
3570
+ function Vt() {
3536
3571
  }
3537
3572
  function Ve(e) {
3538
3573
  e();
3539
3574
  }
3540
- var Sr = function(e) {
3541
- se(t, e);
3575
+ var Hr = function(e) {
3576
+ De(t, e);
3542
3577
  function t(r) {
3543
3578
  var i = e.call(this) || this;
3544
- return i.isStopped = !1, r ? (i.destination = r, wr(r) && r.add(i)) : i.destination = qn, i;
3579
+ return i.isStopped = !1, r ? (i.destination = r, Or(r) && r.add(i)) : i.destination = Qn, i;
3545
3580
  }
3546
3581
  return t.create = function(r, i, n) {
3547
- return new ct(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 Sr = function(e) {
3568
3603
  this.unsubscribe();
3569
3604
  }
3570
3605
  }, t;
3571
- }(Xe), Wn = function() {
3606
+ }(Ye), Zn = function() {
3572
3607
  function e(t) {
3573
3608
  this.partialObserver = t;
3574
3609
  }
@@ -3599,43 +3634,43 @@ var Sr = function(e) {
3599
3634
  ke(r);
3600
3635
  }
3601
3636
  }, e;
3602
- }(), ct = function(e) {
3603
- se(t, e);
3637
+ }(), gt = function(e) {
3638
+ De(t, e);
3604
3639
  function t(r, i, n) {
3605
3640
  var o = e.call(this) || this, s;
3606
- return oe(r) || !r ? s = {
3641
+ return se(r) || !r ? s = {
3607
3642
  next: r ?? void 0,
3608
3643
  error: i ?? void 0,
3609
3644
  complete: n ?? void 0
3610
- } : s = r, o.destination = new Wn(s), o;
3645
+ } : s = r, o.destination = new Zn(s), o;
3611
3646
  }
3612
3647
  return t;
3613
- }(Sr);
3648
+ }(Hr);
3614
3649
  function ke(e) {
3615
- zn(e);
3650
+ Yn(e);
3616
3651
  }
3617
- function Xn(e) {
3652
+ function Jn(e) {
3618
3653
  throw e;
3619
3654
  }
3620
- var qn = {
3655
+ var Qn = {
3621
3656
  closed: !0,
3622
- next: Rt,
3623
- error: Xn,
3624
- complete: Rt
3625
- }, Yn = function() {
3657
+ next: Vt,
3658
+ error: Jn,
3659
+ complete: Vt
3660
+ }, Kn = function() {
3626
3661
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
3627
3662
  }();
3628
- function Zn(e) {
3663
+ function eo(e) {
3629
3664
  return e;
3630
3665
  }
3631
- function Jn(e) {
3632
- return e.length === 0 ? Zn : e.length === 1 ? e[0] : function(r) {
3666
+ function to(e) {
3667
+ return e.length === 0 ? eo : 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 kt = function() {
3673
+ var Gt = function() {
3639
3674
  function e(t) {
3640
3675
  t && (this._subscribe = t);
3641
3676
  }
@@ -3643,7 +3678,7 @@ var kt = 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 = Kn(t) ? t : new ct(t, r, i);
3681
+ var n = this, o = io(t) ? t : new gt(t, r, i);
3647
3682
  return Ve(function() {
3648
3683
  var s = n, a = s.operator, u = s.source;
3649
3684
  o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
@@ -3656,8 +3691,8 @@ var kt = function() {
3656
3691
  }
3657
3692
  }, e.prototype.forEach = function(t, r) {
3658
3693
  var i = this;
3659
- return r = Ut(r), new r(function(n, o) {
3660
- var s = new ct({
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);
@@ -3673,15 +3708,15 @@ var kt = 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[Yn] = function() {
3711
+ }, e.prototype[Kn] = 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 Jn(t)(this);
3716
+ return to(t)(this);
3682
3717
  }, e.prototype.toPromise = function(t) {
3683
3718
  var r = this;
3684
- return t = Ut(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 kt = function() {
3695
3730
  return new e(t);
3696
3731
  }, e;
3697
3732
  }();
3698
- function Ut(e) {
3733
+ function jt(e) {
3699
3734
  var t;
3700
- return (t = e ?? $n.Promise) !== null && t !== void 0 ? t : Promise;
3735
+ return (t = e ?? Xn.Promise) !== null && t !== void 0 ? t : Promise;
3701
3736
  }
3702
- function Qn(e) {
3703
- return e && oe(e.next) && oe(e.error) && oe(e.complete);
3737
+ function ro(e) {
3738
+ return e && se(e.next) && se(e.error) && se(e.complete);
3704
3739
  }
3705
- function Kn(e) {
3706
- return e && e instanceof Sr || Qn(e) && wr(e);
3740
+ function io(e) {
3741
+ return e && e instanceof Hr || ro(e) && Or(e);
3707
3742
  }
3708
- var eo = Er(function(e) {
3743
+ var no = Tr(function(e) {
3709
3744
  return function() {
3710
3745
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
3711
3746
  };
3712
- }), Tr = function(e) {
3713
- se(t, e);
3747
+ }), Ar = function(e) {
3748
+ De(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 Ft(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 eo();
3758
+ throw new no();
3724
3759
  }, t.prototype.next = function(r) {
3725
3760
  var i = this;
3726
3761
  Ve(function() {
@@ -3728,7 +3763,7 @@ var eo = Er(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 = rt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3766
+ for (var s = dt(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
3732
3767
  var u = a.value;
3733
3768
  u.next(r);
3734
3769
  }
@@ -3777,20 +3812,20 @@ var eo = Er(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 ? _r : (this.currentObservers = null, a.push(r), new Xe(function() {
3781
- i.currentObservers = null, ht(a, r);
3815
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ye(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 kt();
3822
+ var r = new Gt();
3788
3823
  return r.source = this, r;
3789
3824
  }, t.create = function(r, i) {
3790
- return new Ft(r, i);
3825
+ return new $t(r, i);
3791
3826
  }, t;
3792
- }(kt), Ft = function(e) {
3793
- se(t, e);
3827
+ }(Gt), $t = function(e) {
3828
+ De(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,17 +3841,17 @@ var eo = Er(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 : _r;
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
- }(Tr), Pr = {
3846
+ }(Ar), Br = {
3812
3847
  now: function() {
3813
- return (Pr.delegate || Date).now();
3848
+ return (Br.delegate || Date).now();
3814
3849
  },
3815
3850
  delegate: void 0
3816
- }, to = function(e) {
3817
- se(t, e);
3851
+ }, oo = function(e) {
3852
+ De(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 = Pr);
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
  }
@@ -3831,21 +3866,21 @@ var eo = Er(function(e) {
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 u = n.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
3835
- l = h;
3869
+ for (var u = n.now(), l = 0, f = 1; f < o.length && o[f] <= u; f += 2)
3870
+ l = f;
3836
3871
  l && o.splice(0, l + 1);
3837
3872
  }
3838
3873
  }, t;
3839
- }(Tr);
3840
- const Vt = [], Gt = {}, ro = (e, t = 0) => {
3841
- if (Vt.indexOf(e) == -1) {
3842
- const r = new to(t);
3843
- Gt[e] = r, Vt.push(e);
3874
+ }(Ar);
3875
+ const zt = [], Wt = {}, so = (e, t = 0) => {
3876
+ if (zt.indexOf(e) == -1) {
3877
+ const r = new oo(t);
3878
+ Wt[e] = r, zt.push(e);
3844
3879
  }
3845
- return Gt[e];
3880
+ return Wt[e];
3846
3881
  };
3847
- window.emWidgets = { topic: ro };
3848
- const io = (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: so };
3883
+ const ao = (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 < "u") {
3850
3885
  let e = function(t) {
3851
3886
  return function(...r) {
@@ -3858,189 +3893,189 @@ if (typeof window < "u") {
3858
3893
  }
3859
3894
  };
3860
3895
  };
3861
- customElements.define = e(customElements.define), import("./CashierModal-DKQn-TJS.js").then((t) => t.D).then(({ default: t }) => {
3896
+ customElements.define = e(customElements.define), import("./CashierModal-CJNZu7RJ.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 Hr = { exports: {} };
3900
+ var Mr = { exports: {} };
3866
3901
  (function(e, t) {
3867
3902
  (function(r, i) {
3868
3903
  e.exports = i();
3869
- })(Yt, function() {
3870
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", h = "week", v = "month", p = "quarter", x = "year", S = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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(E) {
3871
- var g = ["th", "st", "nd", "rd"], c = E % 100;
3872
- return "[" + E + (g[(c - 20) % 10] || g[c] || g[0]) + "]";
3873
- } }, B = function(E, g, c) {
3874
- var b = String(E);
3875
- return !b || b.length >= g ? E : "" + Array(g + 1 - b.length).join(c) + E;
3876
- }, z = { s: B, z: function(E) {
3877
- var g = -E.utcOffset(), c = Math.abs(g), b = Math.floor(c / 60), m = c % 60;
3878
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3879
- }, m: function E(g, c) {
3880
- if (g.date() < c.date())
3881
- return -E(c, g);
3882
- var b = 12 * (c.year() - g.year()) + (c.month() - g.month()), m = g.clone().add(b, v), _ = c - m < 0, w = g.clone().add(b + (_ ? -1 : 1), v);
3883
- return +(-(b + (c - m) / (_ ? m - w : w - m)) || 0);
3884
- }, a: function(E) {
3885
- return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
3886
- }, p: function(E) {
3887
- return { M: v, y: x, w: h, d: l, D: S, h: u, m: a, s, ms: o, Q: p }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3888
- }, u: function(E) {
3889
- return E === void 0;
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+)?$/, V = /\[([^\]]+)]|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
+ }, z = { 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;
3890
3925
  } }, R = "en", U = {};
3891
3926
  U[R] = k;
3892
- var X = "$isDayjsObject", K = function(E) {
3893
- return E instanceof F || !(!E || !E[X]);
3894
- }, Y = function E(g, c, b) {
3927
+ var X = "$isDayjsObject", ee = function(_) {
3928
+ return _ instanceof F || !(!_ || !_[X]);
3929
+ }, Y = function _(v, c, b) {
3895
3930
  var m;
3896
- if (!g)
3931
+ if (!v)
3897
3932
  return R;
3898
- if (typeof g == "string") {
3899
- var _ = g.toLowerCase();
3900
- U[_] && (m = _), c && (U[_] = c, m = _);
3901
- var w = g.split("-");
3933
+ if (typeof v == "string") {
3934
+ var E = v.toLowerCase();
3935
+ U[E] && (m = E), c && (U[E] = c, m = E);
3936
+ var w = v.split("-");
3902
3937
  if (!m && w.length > 1)
3903
- return E(w[0]);
3938
+ return _(w[0]);
3904
3939
  } else {
3905
- var M = g.name;
3906
- U[M] = g, m = M;
3940
+ var B = v.name;
3941
+ U[B] = v, m = B;
3907
3942
  }
3908
3943
  return !b && m && (R = m), m || !b && R;
3909
- }, I = function(E, g) {
3910
- if (K(E))
3911
- return E.clone();
3912
- var c = typeof g == "object" ? g : {};
3913
- return c.date = E, c.args = arguments, new F(c);
3914
- }, O = z;
3915
- O.l = Y, O.i = K, O.w = function(E, g) {
3916
- return I(E, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3944
+ }, C = function(_, v) {
3945
+ if (ee(_))
3946
+ return _.clone();
3947
+ var c = typeof v == "object" ? v : {};
3948
+ return c.date = _, c.args = arguments, new F(c);
3949
+ }, H = z;
3950
+ H.l = Y, H.i = ee, H.w = function(_, v) {
3951
+ return C(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
3917
3952
  };
3918
3953
  var F = function() {
3919
- function E(c) {
3954
+ function _(c) {
3920
3955
  this.$L = Y(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[X] = !0;
3921
3956
  }
3922
- var g = E.prototype;
3923
- return g.parse = function(c) {
3957
+ var v = _.prototype;
3958
+ return v.parse = function(c) {
3924
3959
  this.$d = function(b) {
3925
- var m = b.date, _ = b.utc;
3960
+ var m = b.date, E = b.utc;
3926
3961
  if (m === null)
3927
3962
  return /* @__PURE__ */ new Date(NaN);
3928
- if (O.u(m))
3963
+ if (H.u(m))
3929
3964
  return /* @__PURE__ */ new Date();
3930
3965
  if (m instanceof Date)
3931
3966
  return new Date(m);
3932
3967
  if (typeof m == "string" && !/Z$/i.test(m)) {
3933
- var w = m.match(C);
3968
+ var w = m.match(M);
3934
3969
  if (w) {
3935
- var M = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3936
- return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
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
3974
  return new Date(m);
3940
3975
  }(c), this.init();
3941
- }, g.init = function() {
3976
+ }, v.init = function() {
3942
3977
  var c = this.$d;
3943
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
- }, g.$utils = function() {
3945
- return O;
3946
- }, g.isValid = function() {
3979
+ }, v.$utils = function() {
3980
+ return H;
3981
+ }, v.isValid = function() {
3947
3982
  return this.$d.toString() !== d;
3948
- }, g.isSame = function(c, b) {
3949
- var m = I(c);
3983
+ }, v.isSame = function(c, b) {
3984
+ var m = C(c);
3950
3985
  return this.startOf(b) <= m && m <= this.endOf(b);
3951
- }, g.isAfter = function(c, b) {
3952
- return I(c) < this.startOf(b);
3953
- }, g.isBefore = function(c, b) {
3954
- return this.endOf(b) < I(c);
3955
- }, g.$g = function(c, b, m) {
3956
- return O.u(c) ? this[b] : this.set(m, c);
3957
- }, g.unix = function() {
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);
3992
+ }, v.unix = function() {
3958
3993
  return Math.floor(this.valueOf() / 1e3);
3959
- }, g.valueOf = function() {
3994
+ }, v.valueOf = function() {
3960
3995
  return this.$d.getTime();
3961
- }, g.startOf = function(c, b) {
3962
- var m = this, _ = !!O.u(b) || b, w = O.p(c), M = function(ee, $) {
3963
- var J = O.w(m.$u ? Date.UTC(m.$y, $, ee) : new Date(m.$y, $, ee), m);
3964
- return _ ? J : J.endOf(l);
3965
- }, L = function(ee, $) {
3966
- return O.w(m.toDate()[ee].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), m);
3996
+ }, v.startOf = function(c, b) {
3997
+ var m = this, E = !!H.u(b) || b, w = H.p(c), B = function(te, j) {
3998
+ var J = H.w(m.$u ? Date.UTC(m.$y, j, te) : new Date(m.$y, j, te), m);
3999
+ return E ? J : J.endOf(l);
4000
+ }, D = function(te, j) {
4001
+ return H.w(m.toDate()[te].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
3967
4002
  }, N = this.$W, G = this.$M, W = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3968
4003
  switch (w) {
3969
4004
  case x:
3970
- return _ ? M(1, 0) : M(31, 11);
3971
- case v:
3972
- return _ ? M(1, G) : M(0, G + 1);
3973
- case h:
4005
+ return E ? B(1, 0) : B(31, 11);
4006
+ case g:
4007
+ return E ? B(1, G) : B(0, G + 1);
4008
+ case f:
3974
4009
  var Z = this.$locale().weekStart || 0, de = (N < Z ? N + 7 : N) - Z;
3975
- return M(_ ? W - de : W + (6 - de), G);
4010
+ return B(E ? W - de : W + (6 - de), G);
3976
4011
  case l:
3977
4012
  case S:
3978
- return L(ue + "Hours", 0);
4013
+ return D(ue + "Hours", 0);
3979
4014
  case u:
3980
- return L(ue + "Minutes", 1);
4015
+ return D(ue + "Minutes", 1);
3981
4016
  case a:
3982
- return L(ue + "Seconds", 2);
4017
+ return D(ue + "Seconds", 2);
3983
4018
  case s:
3984
- return L(ue + "Milliseconds", 3);
4019
+ return D(ue + "Milliseconds", 3);
3985
4020
  default:
3986
4021
  return this.clone();
3987
4022
  }
3988
- }, g.endOf = function(c) {
4023
+ }, v.endOf = function(c) {
3989
4024
  return this.startOf(c, !1);
3990
- }, g.$set = function(c, b) {
3991
- var m, _ = O.p(c), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[v] = w + "Month", m[x] = w + "FullYear", m[u] = w + "Hours", m[a] = w + "Minutes", m[s] = w + "Seconds", m[o] = w + "Milliseconds", m)[_], L = _ === l ? this.$D + (b - this.$W) : b;
3992
- if (_ === v || _ === x) {
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) {
3993
4028
  var N = this.clone().set(S, 1);
3994
- N.$d[M](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4029
+ N.$d[B](D), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3995
4030
  } else
3996
- M && this.$d[M](L);
4031
+ B && this.$d[B](D);
3997
4032
  return this.init(), this;
3998
- }, g.set = function(c, b) {
4033
+ }, v.set = function(c, b) {
3999
4034
  return this.clone().$set(c, b);
4000
- }, g.get = function(c) {
4001
- return this[O.p(c)]();
4002
- }, g.add = function(c, b) {
4003
- var m, _ = this;
4035
+ }, v.get = function(c) {
4036
+ return this[H.p(c)]();
4037
+ }, v.add = function(c, b) {
4038
+ var m, E = this;
4004
4039
  c = Number(c);
4005
- var w = O.p(b), M = function(G) {
4006
- var W = I(_);
4007
- return O.w(W.date(W.date() + Math.round(G * c)), _);
4040
+ var w = H.p(b), B = function(G) {
4041
+ var W = C(E);
4042
+ return H.w(W.date(W.date() + Math.round(G * c)), E);
4008
4043
  };
4009
- if (w === v)
4010
- return this.set(v, this.$M + c);
4044
+ if (w === g)
4045
+ return this.set(g, this.$M + c);
4011
4046
  if (w === x)
4012
4047
  return this.set(x, this.$y + c);
4013
4048
  if (w === l)
4014
- return M(1);
4015
- if (w === h)
4016
- return M(7);
4017
- var L = (m = {}, m[a] = i, m[u] = n, m[s] = r, m)[w] || 1, N = this.$d.getTime() + c * L;
4018
- return O.w(N, this);
4019
- }, g.subtract = function(c, b) {
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, N = this.$d.getTime() + c * D;
4053
+ return H.w(N, this);
4054
+ }, v.subtract = function(c, b) {
4020
4055
  return this.add(-1 * c, b);
4021
- }, g.format = function(c) {
4056
+ }, v.format = function(c) {
4022
4057
  var b = this, m = this.$locale();
4023
4058
  if (!this.isValid())
4024
4059
  return m.invalidDate || d;
4025
- var _ = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), M = this.$H, L = this.$m, N = this.$M, G = m.weekdays, W = m.months, ue = m.meridiem, Z = function($, J, te, ve) {
4026
- return $ && ($[J] || $(b, _)) || te[J].slice(0, ve);
4027
- }, de = function($) {
4028
- return O.s(M % 12 || 12, $, "0");
4029
- }, ee = ue || function($, J, te) {
4030
- var ve = $ < 12 ? "AM" : "PM";
4031
- return te ? ve.toLowerCase() : ve;
4060
+ var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = H.z(this), B = this.$H, D = this.$m, N = this.$M, G = m.weekdays, W = m.months, ue = m.meridiem, Z = function(j, J, re, ge) {
4061
+ return j && (j[J] || j(b, E)) || re[J].slice(0, ge);
4062
+ }, de = function(j) {
4063
+ return H.s(B % 12 || 12, j, "0");
4064
+ }, te = ue || function(j, J, re) {
4065
+ var ge = j < 12 ? "AM" : "PM";
4066
+ return re ? ge.toLowerCase() : ge;
4032
4067
  };
4033
- return _.replace(V, function($, J) {
4034
- return J || function(te) {
4035
- switch (te) {
4068
+ return E.replace(V, function(j, J) {
4069
+ return J || function(re) {
4070
+ switch (re) {
4036
4071
  case "YY":
4037
4072
  return String(b.$y).slice(-2);
4038
4073
  case "YYYY":
4039
- return O.s(b.$y, 4, "0");
4074
+ return H.s(b.$y, 4, "0");
4040
4075
  case "M":
4041
4076
  return N + 1;
4042
4077
  case "MM":
4043
- return O.s(N + 1, 2, "0");
4078
+ return H.s(N + 1, 2, "0");
4044
4079
  case "MMM":
4045
4080
  return Z(m.monthsShort, N, W, 3);
4046
4081
  case "MMMM":
@@ -4048,7 +4083,7 @@ var Hr = { exports: {} };
4048
4083
  case "D":
4049
4084
  return b.$D;
4050
4085
  case "DD":
4051
- return O.s(b.$D, 2, "0");
4086
+ return H.s(b.$D, 2, "0");
4052
4087
  case "d":
4053
4088
  return String(b.$W);
4054
4089
  case "dd":
@@ -4058,116 +4093,116 @@ var Hr = { exports: {} };
4058
4093
  case "dddd":
4059
4094
  return G[b.$W];
4060
4095
  case "H":
4061
- return String(M);
4096
+ return String(B);
4062
4097
  case "HH":
4063
- return O.s(M, 2, "0");
4098
+ return H.s(B, 2, "0");
4064
4099
  case "h":
4065
4100
  return de(1);
4066
4101
  case "hh":
4067
4102
  return de(2);
4068
4103
  case "a":
4069
- return ee(M, L, !0);
4104
+ return te(B, D, !0);
4070
4105
  case "A":
4071
- return ee(M, L, !1);
4106
+ return te(B, D, !1);
4072
4107
  case "m":
4073
- return String(L);
4108
+ return String(D);
4074
4109
  case "mm":
4075
- return O.s(L, 2, "0");
4110
+ return H.s(D, 2, "0");
4076
4111
  case "s":
4077
4112
  return String(b.$s);
4078
4113
  case "ss":
4079
- return O.s(b.$s, 2, "0");
4114
+ return H.s(b.$s, 2, "0");
4080
4115
  case "SSS":
4081
- return O.s(b.$ms, 3, "0");
4116
+ return H.s(b.$ms, 3, "0");
4082
4117
  case "Z":
4083
4118
  return w;
4084
4119
  }
4085
4120
  return null;
4086
- }($) || w.replace(":", "");
4121
+ }(j) || w.replace(":", "");
4087
4122
  });
4088
- }, g.utcOffset = function() {
4123
+ }, v.utcOffset = function() {
4089
4124
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4090
- }, g.diff = function(c, b, m) {
4091
- var _, w = this, M = O.p(b), L = I(c), N = (L.utcOffset() - this.utcOffset()) * i, G = this - L, W = function() {
4092
- return O.m(w, L);
4125
+ }, v.diff = function(c, b, m) {
4126
+ var E, w = this, B = H.p(b), D = C(c), N = (D.utcOffset() - this.utcOffset()) * i, G = this - D, W = function() {
4127
+ return H.m(w, D);
4093
4128
  };
4094
- switch (M) {
4129
+ switch (B) {
4095
4130
  case x:
4096
- _ = W() / 12;
4131
+ E = W() / 12;
4097
4132
  break;
4098
- case v:
4099
- _ = W();
4133
+ case g:
4134
+ E = W();
4100
4135
  break;
4101
4136
  case p:
4102
- _ = W() / 3;
4137
+ E = W() / 3;
4103
4138
  break;
4104
- case h:
4105
- _ = (G - N) / 6048e5;
4139
+ case f:
4140
+ E = (G - N) / 6048e5;
4106
4141
  break;
4107
4142
  case l:
4108
- _ = (G - N) / 864e5;
4143
+ E = (G - N) / 864e5;
4109
4144
  break;
4110
4145
  case u:
4111
- _ = G / n;
4146
+ E = G / n;
4112
4147
  break;
4113
4148
  case a:
4114
- _ = G / i;
4149
+ E = G / i;
4115
4150
  break;
4116
4151
  case s:
4117
- _ = G / r;
4152
+ E = G / r;
4118
4153
  break;
4119
4154
  default:
4120
- _ = G;
4155
+ E = G;
4121
4156
  }
4122
- return m ? _ : O.a(_);
4123
- }, g.daysInMonth = function() {
4124
- return this.endOf(v).$D;
4125
- }, g.$locale = function() {
4157
+ return m ? E : H.a(E);
4158
+ }, v.daysInMonth = function() {
4159
+ return this.endOf(g).$D;
4160
+ }, v.$locale = function() {
4126
4161
  return U[this.$L];
4127
- }, g.locale = function(c, b) {
4162
+ }, v.locale = function(c, b) {
4128
4163
  if (!c)
4129
4164
  return this.$L;
4130
- var m = this.clone(), _ = Y(c, b, !0);
4131
- return _ && (m.$L = _), m;
4132
- }, g.clone = function() {
4133
- return O.w(this.$d, this);
4134
- }, g.toDate = function() {
4165
+ var m = this.clone(), E = Y(c, b, !0);
4166
+ return E && (m.$L = E), m;
4167
+ }, v.clone = function() {
4168
+ return H.w(this.$d, this);
4169
+ }, v.toDate = function() {
4135
4170
  return new Date(this.valueOf());
4136
- }, g.toJSON = function() {
4171
+ }, v.toJSON = function() {
4137
4172
  return this.isValid() ? this.toISOString() : null;
4138
- }, g.toISOString = function() {
4173
+ }, v.toISOString = function() {
4139
4174
  return this.$d.toISOString();
4140
- }, g.toString = function() {
4175
+ }, v.toString = function() {
4141
4176
  return this.$d.toUTCString();
4142
- }, E;
4177
+ }, _;
4143
4178
  }(), ae = F.prototype;
4144
- return I.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", v], ["$y", x], ["$D", S]].forEach(function(E) {
4145
- ae[E[1]] = function(g) {
4146
- return this.$g(g, E[0], E[1]);
4179
+ return C.prototype = ae, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", g], ["$y", x], ["$D", S]].forEach(function(_) {
4180
+ ae[_[1]] = function(v) {
4181
+ return this.$g(v, _[0], _[1]);
4147
4182
  };
4148
- }), I.extend = function(E, g) {
4149
- return E.$i || (E(g, F, I), E.$i = !0), I;
4150
- }, I.locale = Y, I.isDayjs = K, I.unix = function(E) {
4151
- return I(1e3 * E);
4152
- }, I.en = U[R], I.Ls = U, I.p = {}, I;
4183
+ }), C.extend = function(_, v) {
4184
+ return _.$i || (_(v, F, C), _.$i = !0), C;
4185
+ }, C.locale = Y, C.isDayjs = ee, C.unix = function(_) {
4186
+ return C(1e3 * _);
4187
+ }, C.en = U[R], C.Ls = U, C.p = {}, C;
4153
4188
  });
4154
- })(Hr);
4155
- var no = Hr.exports;
4156
- const $t = /* @__PURE__ */ pt(no);
4157
- var Or = { exports: {} };
4189
+ })(Mr);
4190
+ var uo = Mr.exports;
4191
+ const Xt = /* @__PURE__ */ yt(uo);
4192
+ var Cr = { exports: {} };
4158
4193
  (function(e, t) {
4159
4194
  (function(r, i) {
4160
4195
  e.exports = i();
4161
- })(Yt, 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
4199
  var u = s.prototype;
4165
4200
  a.utc = function(d) {
4166
- var C = { date: d, utc: !0, args: arguments };
4167
- return new s(C);
4201
+ var M = { date: d, utc: !0, args: arguments };
4202
+ return new s(M);
4168
4203
  }, u.utc = function(d) {
4169
- var C = a(this.toDate(), { locale: this.$L, utc: !0 });
4170
- return d ? C.add(this.utcOffset(), r) : C;
4204
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4205
+ return d ? M.add(this.utcOffset(), r) : M;
4171
4206
  }, u.local = function() {
4172
4207
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4173
4208
  };
@@ -4175,42 +4210,42 @@ var Or = { exports: {} };
4175
4210
  u.parse = function(d) {
4176
4211
  d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4177
4212
  };
4178
- var h = u.init;
4213
+ var f = u.init;
4179
4214
  u.init = function() {
4180
4215
  if (this.$u) {
4181
4216
  var d = this.$d;
4182
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
- h.call(this);
4219
+ f.call(this);
4185
4220
  };
4186
- var v = u.utcOffset;
4187
- u.utcOffset = function(d, C) {
4221
+ var g = u.utcOffset;
4222
+ u.utcOffset = function(d, M) {
4188
4223
  var V = this.$utils().u;
4189
4224
  if (V(d))
4190
- return this.$u ? 0 : V(this.$offset) ? v.call(this) : this.$offset;
4225
+ return this.$u ? 0 : V(this.$offset) ? g.call(this) : this.$offset;
4191
4226
  if (typeof d == "string" && (d = function(R) {
4192
4227
  R === void 0 && (R = "");
4193
4228
  var U = R.match(i);
4194
4229
  if (!U)
4195
4230
  return null;
4196
- var X = ("" + U[0]).match(n) || ["-", 0, 0], K = X[0], Y = 60 * +X[1] + +X[2];
4197
- return Y === 0 ? 0 : K === "+" ? Y : -Y;
4231
+ var X = ("" + U[0]).match(n) || ["-", 0, 0], ee = X[0], Y = 60 * +X[1] + +X[2];
4232
+ return Y === 0 ? 0 : ee === "+" ? Y : -Y;
4198
4233
  }(d), d === null))
4199
4234
  return this;
4200
- var k = Math.abs(d) <= 16 ? 60 * d : d, B = this;
4201
- if (C)
4202
- return B.$offset = k, B.$u = d === 0, B;
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;
4203
4238
  if (d !== 0) {
4204
4239
  var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4205
- (B = this.local().add(k + z, r)).$offset = k, B.$x.$localOffset = z;
4240
+ (A = this.local().add(k + z, r)).$offset = k, A.$x.$localOffset = z;
4206
4241
  } else
4207
- B = this.utc();
4208
- return B;
4242
+ A = this.utc();
4243
+ return A;
4209
4244
  };
4210
4245
  var p = u.format;
4211
4246
  u.format = function(d) {
4212
- var C = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4213
- return p.call(this, C);
4247
+ var M = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4248
+ return p.call(this, M);
4214
4249
  }, u.valueOf = function() {
4215
4250
  var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4216
4251
  return this.$d.valueOf() - 6e4 * d;
@@ -4226,41 +4261,41 @@ var Or = { exports: {} };
4226
4261
  return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4227
4262
  };
4228
4263
  var S = u.diff;
4229
- u.diff = function(d, C, V) {
4264
+ u.diff = function(d, M, V) {
4230
4265
  if (d && this.$u === d.$u)
4231
- return S.call(this, d, C, V);
4232
- var k = this.local(), B = a(d).local();
4233
- return S.call(k, B, C, V);
4266
+ return S.call(this, d, M, V);
4267
+ var k = this.local(), A = a(d).local();
4268
+ return S.call(k, A, M, V);
4234
4269
  };
4235
4270
  };
4236
4271
  });
4237
- })(Or);
4238
- var oo = Or.exports;
4239
- const so = /* @__PURE__ */ pt(oo);
4240
- function ao(e) {
4241
- Fr(e, "svelte-3ui5us", "*,*::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)}");
4272
+ })(Cr);
4273
+ var lo = Cr.exports;
4274
+ const ho = /* @__PURE__ */ yt(lo);
4275
+ function fo(e) {
4276
+ $r(e, "svelte-3ui5us", "*,*::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)}");
4242
4277
  }
4243
- function jt(e, t, r) {
4278
+ function qt(e, t, r) {
4244
4279
  const i = e.slice();
4245
4280
  return i[53] = t[r], i[55] = r, i;
4246
4281
  }
4247
- function uo(e) {
4248
- let t, r, i, n = yt(
4282
+ function co(e) {
4283
+ let t, r, i, n = wt(
4249
4284
  /*displayMessages*/
4250
4285
  e[3]
4251
4286
  ), o = [];
4252
4287
  for (let a = 0; a < n.length; a += 1)
4253
- o[a] = Wt(jt(e, n, a));
4288
+ o[a] = Zt(qt(e, n, a));
4254
4289
  let s = (
4255
4290
  /*videoExists*/
4256
- e[6] && Xt(e)
4291
+ e[6] && Jt(e)
4257
4292
  );
4258
4293
  return {
4259
4294
  c() {
4260
- t = Q("div");
4295
+ t = K("div");
4261
4296
  for (let a = 0; a < o.length; a += 1)
4262
4297
  o[a].c();
4263
- r = Ae(), s && s.c(), i = zr(), ne(t, "class", "CashierVerificationsWrapper");
4298
+ r = He(), s && s.c(), i = qr(), oe(t, "class", "CashierVerificationsWrapper");
4264
4299
  },
4265
4300
  m(a, u) {
4266
4301
  fe(a, t, u);
@@ -4271,32 +4306,32 @@ function uo(e) {
4271
4306
  p(a, u) {
4272
4307
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4273
4308
  536) {
4274
- n = yt(
4309
+ n = wt(
4275
4310
  /*displayMessages*/
4276
4311
  a[3]
4277
4312
  );
4278
4313
  let l;
4279
4314
  for (l = 0; l < n.length; l += 1) {
4280
- const h = jt(a, n, l);
4281
- o[l] ? o[l].p(h, u) : (o[l] = Wt(h), o[l].c(), o[l].m(t, null));
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));
4282
4317
  }
4283
4318
  for (; l < o.length; l += 1)
4284
4319
  o[l].d(1);
4285
4320
  o.length = n.length;
4286
4321
  }
4287
4322
  /*videoExists*/
4288
- a[6] ? s ? s.p(a, u) : (s = Xt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4323
+ a[6] ? s ? s.p(a, u) : (s = Jt(a), s.c(), s.m(i.parentNode, i)) : s && (s.d(1), s = null);
4289
4324
  },
4290
4325
  d(a) {
4291
- a && (he(t), he(r), he(i)), Wr(o, a), s && s.d(a);
4326
+ a && (he(t), he(r), he(i)), Xr(o, a), s && s.d(a);
4292
4327
  }
4293
4328
  };
4294
4329
  }
4295
- function lo(e) {
4330
+ function po(e) {
4296
4331
  let t;
4297
4332
  return {
4298
4333
  c() {
4299
- t = Q("cashier-spinner"), Ne(
4334
+ t = K("cashier-spinner"), Ne(
4300
4335
  t,
4301
4336
  "clientstylingurl",
4302
4337
  /*clientstylingurl*/
@@ -4331,7 +4366,7 @@ function lo(e) {
4331
4366
  }
4332
4367
  };
4333
4368
  }
4334
- function zt(e) {
4369
+ function Yt(e) {
4335
4370
  let t, r, i;
4336
4371
  function n(...o) {
4337
4372
  return (
@@ -4345,10 +4380,10 @@ function zt(e) {
4345
4380
  }
4346
4381
  return {
4347
4382
  c() {
4348
- 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");
4383
+ t = K("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>', oe(t, "class", "CashierVerificationChevron");
4349
4384
  },
4350
4385
  m(o, s) {
4351
- fe(o, t, s), r || (i = dt(t, "click", n), r = !0);
4386
+ fe(o, t, s), r || (i = bt(t, "click", n), r = !0);
4352
4387
  },
4353
4388
  p(o, s) {
4354
4389
  e = o;
@@ -4358,16 +4393,16 @@ function zt(e) {
4358
4393
  }
4359
4394
  };
4360
4395
  }
4361
- function Wt(e) {
4396
+ function Zt(e) {
4362
4397
  let t, r, i, n, o = (
4363
4398
  /*message*/
4364
4399
  e[53] + ""
4365
- ), s, a, u, l, h = (
4400
+ ), s, a, u, l, f = (
4366
4401
  /*displayMessages*/
4367
4402
  e[3].length > 1 && /*index*/
4368
- e[55] === 0 && zt(e)
4403
+ e[55] === 0 && Yt(e)
4369
4404
  );
4370
- function v(...p) {
4405
+ function g(...p) {
4371
4406
  return (
4372
4407
  /*click_handler_1*/
4373
4408
  e[20](
@@ -4379,7 +4414,7 @@ function Wt(e) {
4379
4414
  }
4380
4415
  return {
4381
4416
  c() {
4382
- 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(), h && h.c(), a = Ae(), ne(r, "class", "IconVerification"), ne(n, "class", "text"), ne(t, "class", "CashierVerificationMessage"), xe(
4417
+ t = K("div"), r = K("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 = He(), n = K("p"), s = He(), f && f.c(), a = He(), oe(r, "class", "IconVerification"), oe(n, "class", "text"), oe(t, "class", "CashierVerificationMessage"), ye(
4383
4418
  t,
4384
4419
  "ShowAll",
4385
4420
  /*allVerificationsVisible*/
@@ -4387,15 +4422,15 @@ function Wt(e) {
4387
4422
  );
4388
4423
  },
4389
4424
  m(p, x) {
4390
- fe(p, t, x), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = o, ie(t, s), h && h.m(t, null), ie(t, a), u || (l = dt(t, "click", v), u = !0);
4425
+ fe(p, t, x), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = o, ne(t, s), f && f.m(t, null), ne(t, a), u || (l = bt(t, "click", g), u = !0);
4391
4426
  },
4392
4427
  p(p, x) {
4393
4428
  e = p, x[0] & /*displayMessages*/
4394
4429
  8 && o !== (o = /*message*/
4395
4430
  e[53] + "") && (n.innerHTML = o), /*displayMessages*/
4396
4431
  e[3].length > 1 && /*index*/
4397
- e[55] === 0 ? h ? h.p(e, x) : (h = zt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4398
- 16 && xe(
4432
+ e[55] === 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 && ye(
4399
4434
  t,
4400
4435
  "ShowAll",
4401
4436
  /*allVerificationsVisible*/
@@ -4403,37 +4438,37 @@ function Wt(e) {
4403
4438
  );
4404
4439
  },
4405
4440
  d(p) {
4406
- p && he(t), h && h.d(), u = !1, l();
4441
+ p && he(t), f && f.d(), u = !1, l();
4407
4442
  }
4408
4443
  };
4409
4444
  }
4410
- function Xt(e) {
4445
+ function Jt(e) {
4411
4446
  let t, r, i, n, o = (
4412
4447
  /*$_*/
4413
4448
  e[8]("verification.video.how-to") + ""
4414
4449
  ), s, a, u;
4415
4450
  return {
4416
4451
  c() {
4417
- 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 = Xr(o), ne(r, "class", "IconVideo"), ne(n, "class", "CashierVerificationVideoLink"), xe(
4452
+ t = K("div"), r = K("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 = He(), n = K("div"), s = Zr(o), oe(r, "class", "IconVideo"), oe(n, "class", "CashierVerificationVideoLink"), ye(
4418
4453
  n,
4419
4454
  "CashierVerificationVideoLinkDesktop",
4420
4455
  /*desktopView*/
4421
4456
  e[5]
4422
- ), ne(t, "class", "CashierVerificationVideo");
4457
+ ), oe(t, "class", "CashierVerificationVideo");
4423
4458
  },
4424
- m(l, h) {
4425
- fe(l, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, s), a || (u = dt(
4459
+ m(l, f) {
4460
+ fe(l, t, f), ne(t, r), ne(t, i), ne(t, n), ne(n, s), a || (u = bt(
4426
4461
  n,
4427
4462
  "click",
4428
4463
  /*showVideo*/
4429
4464
  e[10]
4430
4465
  ), a = !0);
4431
4466
  },
4432
- p(l, h) {
4433
- h[0] & /*$_*/
4467
+ p(l, f) {
4468
+ f[0] & /*$_*/
4434
4469
  256 && o !== (o = /*$_*/
4435
- l[8]("verification.video.how-to") + "") && qr(s, o), h[0] & /*desktopView*/
4436
- 32 && xe(
4470
+ l[8]("verification.video.how-to") + "") && Yr(s, o), f[0] & /*desktopView*/
4471
+ 32 && ye(
4437
4472
  n,
4438
4473
  "CashierVerificationVideoLinkDesktop",
4439
4474
  /*desktopView*/
@@ -4445,24 +4480,24 @@ function Xt(e) {
4445
4480
  }
4446
4481
  };
4447
4482
  }
4448
- function fo(e) {
4483
+ function mo(e) {
4449
4484
  let t;
4450
4485
  function r(o, s) {
4451
4486
  if (
4452
4487
  /*isLoading*/
4453
4488
  o[7]
4454
4489
  )
4455
- return lo;
4490
+ return po;
4456
4491
  if (
4457
4492
  /*displayMessages*/
4458
4493
  o[3]
4459
4494
  )
4460
- return uo;
4495
+ return co;
4461
4496
  }
4462
4497
  let i = r(e), n = i && i(e);
4463
4498
  return {
4464
4499
  c() {
4465
- t = Q("div"), n && n.c(), ne(t, "class", "CashierVerifications"), xe(
4500
+ t = K("div"), n && n.c(), oe(t, "class", "CashierVerifications"), ye(
4466
4501
  t,
4467
4502
  "CashierVerificationsDesktop",
4468
4503
  /*desktopView*/
@@ -4474,7 +4509,7 @@ function fo(e) {
4474
4509
  },
4475
4510
  p(o, s) {
4476
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*/
4477
- 32 && xe(
4512
+ 32 && ye(
4478
4513
  t,
4479
4514
  "CashierVerificationsDesktop",
4480
4515
  /*desktopView*/
@@ -4488,81 +4523,81 @@ function fo(e) {
4488
4523
  }
4489
4524
  };
4490
4525
  }
4491
- const ho = "verification_explanation_video_widgets.MP4";
4492
- function co(e, t, r) {
4526
+ const vo = "verification_explanation_video_widgets.MP4";
4527
+ function go(e, t, r) {
4493
4528
  let i, n;
4494
- bt(e, Fn, (f) => r(8, i = f)), bt(e, Gn, (f) => r(28, n = f)), $t.extend(so);
4495
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: v = "" } = t, { playersession: p = "" } = t, { mbsource: x = "" } = t, S, d = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), V, k, B, z = !0, R = !0, U = !1, X = "", K = !1, Y = window.navigator.userAgent;
4496
- var I;
4497
- (function(f) {
4498
- f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4499
- })(I || (I = {}));
4500
- var O;
4501
- (function(f) {
4502
- f.Requested = "Requested";
4503
- })(O || (O = {}));
4529
+ Et(e, $n, (h) => r(8, i = h)), Et(e, Wn, (h) => r(28, n = h)), Xt.extend(ho);
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(), V, k, A, z = !0, R = !0, U = !1, X = "", ee = !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 = {}));
4504
4539
  var F;
4505
- (function(f) {
4506
- f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
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";
4507
4542
  })(F || (F = {}));
4508
4543
  var ae;
4509
- (function(f) {
4510
- f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4511
- })(ae || (ae = {})), Vr(() => (ve(), () => {
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
+ })(ae || (ae = {})), zr(() => (ge(), () => {
4512
4547
  }));
4513
- const E = [
4548
+ const _ = [
4514
4549
  F.InProgress,
4515
4550
  F.Referred,
4516
4551
  F.AwaitingForResponse
4517
- ], g = () => {
4518
- let f = a;
4519
- if (f)
4520
- return fetch(f).then((y) => y.json()).then((y) => {
4552
+ ], v = () => {
4553
+ let h = a;
4554
+ if (h)
4555
+ return fetch(h).then((y) => y.json()).then((y) => {
4521
4556
  Object.keys(y).forEach((T) => {
4522
- Dt(T, y[T]);
4557
+ kt(T, y[T]);
4523
4558
  });
4524
4559
  }).catch((y) => {
4525
4560
  console.log(y);
4526
4561
  });
4527
4562
  };
4528
- Object.keys(Lt).forEach((f) => {
4529
- Dt(f, Lt[f]);
4563
+ Object.keys(Ut).forEach((h) => {
4564
+ kt(h, Ut[h]);
4530
4565
  });
4531
4566
  const c = () => {
4532
- Vn(s);
4567
+ zn(s);
4533
4568
  }, b = () => {
4534
4569
  r(18, k = w());
4535
- const f = new URL(`${o}/v1/player/${v}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4536
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${p}`), y.append("X-Client-Request-Timestamp", $t.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4570
+ const h = new URL(`${o}/v1/player/${g}/verification/GetKYCCustomerStatus?language=${s}`), y = new Headers();
4571
+ 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"));
4537
4572
  const T = {
4538
4573
  method: "POST",
4539
4574
  headers: y,
4540
4575
  body: JSON.stringify({})
4541
4576
  };
4542
- r(7, K = !0), fetch(f, T).then((q) => q.json()).then((q) => {
4543
- const qe = m(q?.Verifications);
4544
- V = M(qe), V.VerificationStatuses.forEach((Le) => {
4577
+ r(7, ee = !0), fetch(h, T).then((q) => q.json()).then((q) => {
4578
+ const Ze = m(q?.Verifications);
4579
+ V = B(Ze), V.VerificationStatuses.forEach((Le) => {
4545
4580
  Le.VerificationUrlType !== "Widget" && d.add(Le.Vendor);
4546
- }), r(3, B = Z());
4547
- }).finally(() => r(7, K = !1));
4548
- }, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], _ = () => {
4581
+ }), r(3, A = Z());
4582
+ }).finally(() => r(7, ee = !1));
4583
+ }, m = (h) => h ? h.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4549
4584
  n && b();
4550
4585
  }, w = () => {
4551
- let f = (h || n).split(".")[1];
4552
- if (f) {
4553
- let y = JSON.parse(atob(f));
4586
+ let h = (f || n).split(".")[1];
4587
+ if (h) {
4588
+ let y = JSON.parse(atob(h));
4554
4589
  return y.cdn + "/cashier/operator-assets/" + y?.mid;
4555
4590
  }
4556
4591
  return "";
4557
- }, M = (f) => {
4558
- if (!f || !f.length)
4592
+ }, B = (h) => {
4593
+ if (!h || !h.length)
4559
4594
  return {
4560
4595
  VerificationSummaryStatus: F.Unverified,
4561
4596
  VerificationStatuses: []
4562
4597
  };
4563
- const y = G(f);
4598
+ const y = G(h);
4564
4599
  if (y && y.length) {
4565
- const T = L(y);
4600
+ const T = D(y);
4566
4601
  return {
4567
4602
  VerificationSummaryStatus: T.Status,
4568
4603
  VerificationUrl: T.Flags?.DeferredUrlKey,
@@ -4570,127 +4605,127 @@ function co(e, t, r) {
4570
4605
  };
4571
4606
  } else
4572
4607
  return {
4573
- VerificationSummaryStatus: f.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4574
- VerificationStatuses: N(f, [F.Failed])
4608
+ VerificationSummaryStatus: h.some((q) => q.Status === F.Failed) ? F.Failed : F.Verified,
4609
+ VerificationStatuses: N(h, [F.Failed])
4575
4610
  };
4576
- }, L = (f) => f.reduce(
4611
+ }, D = (h) => h.reduce(
4577
4612
  (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4578
4613
  0
4579
- ), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4614
+ ), N = (h, y) => h.filter((T) => y.includes(T.Status)).map((T) => ({
4580
4615
  Type: T.Type,
4581
4616
  Vendor: T.VendorName,
4582
4617
  VerificationDocuments: T.Documents ? [...T.Documents] : [],
4583
4618
  VerificationUrlType: T.FlowInfo?.Type,
4584
4619
  VerificationUrl: T.FlowInfo?.Url
4585
- })), G = (f) => f.filter((y) => E.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ue(y) : !1), W = (f) => {
4586
- const y = f.Documents && f.VendorName === I.Manual, T = f.Documents && f.Documents.some((q) => q.Status === O.Requested);
4620
+ })), G = (h) => h.filter((y) => _.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ue(y) : !1), W = (h) => {
4621
+ const y = h.Documents && h.VendorName === C.Manual, T = h.Documents && h.Documents.some((q) => q.Status === H.Requested);
4587
4622
  return y && T;
4588
- }, ue = (f) => f.VendorName === I.ShuftiPro && f.Status === F.Referred, Z = () => {
4623
+ }, ue = (h) => h.VendorName === C.ShuftiPro && h.Status === F.Referred, Z = () => {
4589
4624
  switch (V.VerificationSummaryStatus) {
4590
4625
  case F.InProgress:
4591
- const f = [];
4626
+ const h = [];
4592
4627
  return d.forEach((y) => {
4593
- f.push(de(y));
4594
- }), f;
4628
+ h.push(de(y));
4629
+ }), h;
4595
4630
  case F.Referred:
4596
4631
  return [i("verification.idenfy.referred-awaiting")];
4597
4632
  case F.Failed:
4598
4633
  return [i("verification.message.failed")];
4599
4634
  }
4600
- }, de = (f) => {
4601
- const y = V.VerificationStatuses.filter((T) => T.Vendor === f);
4602
- if (f === I.ShuftiPro)
4603
- return ee(y);
4635
+ }, de = (h) => {
4636
+ const y = V.VerificationStatuses.filter((T) => T.Vendor === h);
4637
+ if (h === C.ShuftiPro)
4638
+ return te(y);
4604
4639
  {
4605
4640
  const T = i("verification.idenfy.link-name"), q = {
4606
4641
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4607
4642
  };
4608
4643
  return i("verification.idenfy.in-progress", { values: q });
4609
4644
  }
4610
- }, ee = (f) => {
4645
+ }, te = (h) => {
4611
4646
  const y = [], T = {}, q = [
4612
4647
  ae.Biometric,
4613
4648
  ae.Documents,
4614
4649
  ae.ProofOfAddress
4615
4650
  ];
4616
- f.forEach((pe) => {
4617
- q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = $(pe, J(pe.Type)));
4651
+ h.forEach((pe) => {
4652
+ q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = j(pe, J(pe.Type)));
4618
4653
  });
4619
- let qe = y.every((pe) => C.has(pe)), Le = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4620
- return qe ? i("verification.shuftipro.validations-started") : i(Le, { values: T });
4621
- }, $ = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, J = (f) => i(`verification.shuftipro.link-name.${f}`), te = (f, y) => {
4622
- if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4623
- if (f.target.closest(".verificationLink")) {
4624
- const T = f.target.className.split(" ")[1];
4625
- C.add(T), r(3, B = Z());
4654
+ let Ze = y.every((pe) => M.has(pe)), Le = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4655
+ return Ze ? i("verification.shuftipro.validations-started") : i(Le, { values: T });
4656
+ }, j = (h, y) => `<a class="verificationLink ${h.Type}" href=" ${h.VerificationUrl} " target="_blank">${y}</a>`, J = (h) => i(`verification.shuftipro.link-name.${h}`), re = (h, y) => {
4657
+ if (h.stopPropagation(), h.target && (h.target.href || h.target.closest("a"))) {
4658
+ if (h.target.closest(".verificationLink")) {
4659
+ const T = h.target.className.split(" ")[1];
4660
+ M.add(T), r(3, A = Z());
4626
4661
  }
4627
4662
  return;
4628
4663
  }
4629
4664
  y === 0 && r(4, z = !z);
4630
- }, ve = () => {
4631
- r(5, R = !io(Y));
4632
- }, Ar = () => {
4633
- X = k + "/" + s + "/" + ho;
4665
+ }, ge = () => {
4666
+ r(5, R = !ao(Y));
4667
+ }, Ir = () => {
4668
+ X = k + "/" + s + "/" + vo;
4634
4669
  try {
4635
- fetch(X, { method: "HEAD" }).then((f) => {
4636
- r(6, U = f.ok);
4670
+ fetch(X, { method: "HEAD" }).then((h) => {
4671
+ r(6, U = h.ok);
4637
4672
  });
4638
4673
  } catch {
4639
4674
  r(6, U = !1);
4640
4675
  }
4641
- }, Br = () => {
4676
+ }, Dr = () => {
4642
4677
  window.postMessage({ type: "ShowVideoModal", videoSrc: X }, window.location.href);
4643
- }, Mr = (f, y) => te(y, f), Cr = (f, y) => te(y, f);
4644
- function Ir(f) {
4645
- Gr[f ? "unshift" : "push"](() => {
4646
- S = f, r(2, S);
4678
+ }, Lr = (h, y) => re(y, h), Nr = (h, y) => re(y, h);
4679
+ function Rr(h) {
4680
+ Wr[h ? "unshift" : "push"](() => {
4681
+ S = h, r(2, S);
4647
4682
  });
4648
4683
  }
4649
- return e.$$set = (f) => {
4650
- "endpoint" in f && r(11, o = f.endpoint), "lang" in f && r(12, s = f.lang), "translationurl" in f && r(13, a = f.translationurl), "clientstyling" in f && r(0, u = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(14, h = f.session), "customerid" in f && r(15, v = f.customerid), "playersession" in f && r(16, p = f.playersession), "mbsource" in f && r(17, x = f.mbsource);
4684
+ return e.$$set = (h) => {
4685
+ "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);
4651
4686
  }, e.$$.update = () => {
4652
4687
  e.$$.dirty[0] & /*lang*/
4653
4688
  4096 && s && c(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4654
- 83968 && o && h && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4655
- 83968 && o && !h && p && _(), e.$$.dirty[0] & /*translationurl*/
4656
- 8192 && a && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4657
- 5 && u && S && Yr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4658
- 6 && l && S && $r(), e.$$.dirty[0] & /*staticCdnUrl*/
4659
- 262144 && k && Ar(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4660
- 131076 && x && S && jr(S, `${x}.Style`);
4689
+ 83968 && o && f && p && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4690
+ 83968 && o && !f && p && E(), e.$$.dirty[0] & /*translationurl*/
4691
+ 8192 && a && v(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4692
+ 5 && u && S && Kr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4693
+ 6 && l && S && Jr(), e.$$.dirty[0] & /*staticCdnUrl*/
4694
+ 262144 && k && Ir(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4695
+ 131076 && x && S && Qr(S, `${x}.Style`);
4661
4696
  }, [
4662
4697
  u,
4663
4698
  l,
4664
4699
  S,
4665
- B,
4700
+ A,
4666
4701
  z,
4667
4702
  R,
4668
4703
  U,
4669
- K,
4704
+ ee,
4670
4705
  i,
4671
- te,
4672
- Br,
4706
+ re,
4707
+ Dr,
4673
4708
  o,
4674
4709
  s,
4675
4710
  a,
4676
- h,
4677
- v,
4711
+ f,
4712
+ g,
4678
4713
  p,
4679
4714
  x,
4680
4715
  k,
4681
- Mr,
4682
- Cr,
4683
- Ir
4716
+ Lr,
4717
+ Nr,
4718
+ Rr
4684
4719
  ];
4685
4720
  }
4686
- class po extends kr {
4721
+ class bo extends Gr {
4687
4722
  constructor(t) {
4688
- super(), Ur(
4723
+ super(), jr(
4689
4724
  this,
4690
4725
  t,
4691
- co,
4692
- fo,
4693
- qt,
4726
+ go,
4727
+ mo,
4728
+ Qt,
4694
4729
  {
4695
4730
  endpoint: 11,
4696
4731
  lang: 12,
@@ -4702,7 +4737,7 @@ class po extends kr {
4702
4737
  playersession: 16,
4703
4738
  mbsource: 17
4704
4739
  },
4705
- ao,
4740
+ fo,
4706
4741
  [-1, -1]
4707
4742
  );
4708
4743
  }
@@ -4710,58 +4745,58 @@ class po extends kr {
4710
4745
  return this.$$.ctx[11];
4711
4746
  }
4712
4747
  set endpoint(t) {
4713
- this.$$set({ endpoint: t }), re();
4748
+ this.$$set({ endpoint: t }), ie();
4714
4749
  }
4715
4750
  get lang() {
4716
4751
  return this.$$.ctx[12];
4717
4752
  }
4718
4753
  set lang(t) {
4719
- this.$$set({ lang: t }), re();
4754
+ this.$$set({ lang: t }), ie();
4720
4755
  }
4721
4756
  get translationurl() {
4722
4757
  return this.$$.ctx[13];
4723
4758
  }
4724
4759
  set translationurl(t) {
4725
- this.$$set({ translationurl: t }), re();
4760
+ this.$$set({ translationurl: t }), ie();
4726
4761
  }
4727
4762
  get clientstyling() {
4728
4763
  return this.$$.ctx[0];
4729
4764
  }
4730
4765
  set clientstyling(t) {
4731
- this.$$set({ clientstyling: t }), re();
4766
+ this.$$set({ clientstyling: t }), ie();
4732
4767
  }
4733
4768
  get clientstylingurl() {
4734
4769
  return this.$$.ctx[1];
4735
4770
  }
4736
4771
  set clientstylingurl(t) {
4737
- this.$$set({ clientstylingurl: t }), re();
4772
+ this.$$set({ clientstylingurl: t }), ie();
4738
4773
  }
4739
4774
  get session() {
4740
4775
  return this.$$.ctx[14];
4741
4776
  }
4742
4777
  set session(t) {
4743
- this.$$set({ session: t }), re();
4778
+ this.$$set({ session: t }), ie();
4744
4779
  }
4745
4780
  get customerid() {
4746
4781
  return this.$$.ctx[15];
4747
4782
  }
4748
4783
  set customerid(t) {
4749
- this.$$set({ customerid: t }), re();
4784
+ this.$$set({ customerid: t }), ie();
4750
4785
  }
4751
4786
  get playersession() {
4752
4787
  return this.$$.ctx[16];
4753
4788
  }
4754
4789
  set playersession(t) {
4755
- this.$$set({ playersession: t }), re();
4790
+ this.$$set({ playersession: t }), ie();
4756
4791
  }
4757
4792
  get mbsource() {
4758
4793
  return this.$$.ctx[17];
4759
4794
  }
4760
4795
  set mbsource(t) {
4761
- this.$$set({ mbsource: t }), re();
4796
+ this.$$set({ mbsource: t }), ie();
4762
4797
  }
4763
4798
  }
4764
- Rr(po, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4799
+ Vr(bo, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
4765
4800
  export {
4766
- po as C
4801
+ bo as C
4767
4802
  };