@everymatrix/cashier-verifications 1.77.25 → 1.77.26

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