@everymatrix/cashier-methods-list 1.56.2 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,30 @@
1
- var Dr = Object.defineProperty, Rr = Object.defineProperties;
1
+ var Ir = Object.defineProperty, Rr = Object.defineProperties;
2
2
  var Ur = Object.getOwnPropertyDescriptors;
3
3
  var Ht = Object.getOwnPropertySymbols;
4
4
  var Gr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
- var et = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Re = (e, t) => {
5
+ var tt = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Gr.call(t, r) && et(e, r, t[r]);
7
+ Gr.call(t, r) && tt(e, r, t[r]);
8
8
  if (Ht)
9
9
  for (var r of Ht(t))
10
- kr.call(t, r) && et(e, r, t[r]);
10
+ kr.call(t, r) && tt(e, r, t[r]);
11
11
  return e;
12
- }, Ue = (e, t) => Rr(e, Ur(t));
13
- var ne = (e, t, r) => (et(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Lt = (e, t, r) => new Promise((n, i) => {
15
- var s = (l) => {
12
+ }, Ge = (e, t) => Rr(e, Ur(t));
13
+ var ie = (e, t, r) => (tt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Tt = (e, t, r) => new Promise((n, i) => {
15
+ var s = (u) => {
16
16
  try {
17
- a(r.next(l));
18
- } catch (u) {
19
- i(u);
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, o = (l) => {
21
+ }, o = (u) => {
22
22
  try {
23
- a(r.throw(l));
24
- } catch (u) {
25
- i(u);
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function se() {
@@ -35,18 +35,18 @@ function nr(e) {
35
35
  function At() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function He(e) {
38
+ function Se(e) {
39
39
  e.forEach(nr);
40
40
  }
41
- function xt(e) {
41
+ function Et(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Ge;
48
- function Ot(e, t) {
49
- return e === t ? !0 : (Ge || (Ge = document.createElement("a")), Ge.href = t, e === Ge.href);
47
+ let ke;
48
+ function Be(e, t) {
49
+ return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
50
50
  }
51
51
  function Fr(e) {
52
52
  return Object.keys(e).length === 0;
@@ -63,17 +63,17 @@ function sr(e, ...t) {
63
63
  function jr(e, t, r) {
64
64
  e.$$.on_destroy.push(sr(t, r));
65
65
  }
66
- function T(e, t) {
66
+ function C(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Vr(e, t, r) {
70
- const n = zr(e);
69
+ function Zr(e, t, r) {
70
+ const n = Vr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = F("style");
72
+ const i = k("style");
73
73
  i.id = t, i.textContent = r, Xr(n, i);
74
74
  }
75
75
  }
76
- function zr(e) {
76
+ function Vr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,23 +84,23 @@ function zr(e) {
84
84
  ) : e.ownerDocument;
85
85
  }
86
86
  function Xr(e, t) {
87
- return T(
87
+ return C(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function le(e, t, r) {
93
+ function oe(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function oe(e) {
96
+ function re(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function Wr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function F(e) {
103
+ function k(e) {
104
104
  return document.createElement(e);
105
105
  }
106
106
  function ee(e) {
@@ -109,27 +109,27 @@ function ee(e) {
109
109
  function te() {
110
110
  return ee(" ");
111
111
  }
112
- function Yr() {
112
+ function zr() {
113
113
  return ee("");
114
114
  }
115
115
  function ut(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
- function k(e, t, r) {
118
+ function B(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function Z(e, t, r) {
121
+ function Y(e, t, r) {
122
122
  const n = t.toLowerCase();
123
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
123
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
124
124
  }
125
- function Zr(e) {
125
+ function Yr(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
- function ie(e, t) {
128
+ function ae(e, t) {
129
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
130
130
  t);
131
131
  }
132
- function ze(e, t, r) {
132
+ function Xe(e, t, r) {
133
133
  e.classList.toggle(t, !!r);
134
134
  }
135
135
  function Jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -145,7 +145,7 @@ function Qr(e) {
145
145
  ), t;
146
146
  }
147
147
  let Pe;
148
- function Be(e) {
148
+ function $e(e) {
149
149
  Pe = e;
150
150
  }
151
151
  function or() {
@@ -174,17 +174,17 @@ function Kr() {
174
174
  return !0;
175
175
  };
176
176
  }
177
- const Ee = [], lt = [];
178
- let _e = [];
179
- const $t = [], en = /* @__PURE__ */ Promise.resolve();
180
- let ht = !1;
177
+ const Ee = [], ht = [];
178
+ let xe = [];
179
+ const Ot = [], en = /* @__PURE__ */ Promise.resolve();
180
+ let ct = !1;
181
181
  function tn() {
182
- ht || (ht = !0, en.then(q));
182
+ ct || (ct = !0, en.then(q));
183
183
  }
184
184
  function ft(e) {
185
- _e.push(e);
185
+ xe.push(e);
186
186
  }
187
- const tt = /* @__PURE__ */ new Set();
187
+ const rt = /* @__PURE__ */ new Set();
188
188
  let ve = 0;
189
189
  function q() {
190
190
  if (ve !== 0)
@@ -194,59 +194,59 @@ function q() {
194
194
  try {
195
195
  for (; ve < Ee.length; ) {
196
196
  const t = Ee[ve];
197
- ve++, Be(t), rn(t.$$);
197
+ ve++, $e(t), rn(t.$$);
198
198
  }
199
199
  } catch (t) {
200
200
  throw Ee.length = 0, ve = 0, t;
201
201
  }
202
- for (Be(null), Ee.length = 0, ve = 0; lt.length; )
203
- lt.pop()();
204
- for (let t = 0; t < _e.length; t += 1) {
205
- const r = _e[t];
206
- tt.has(r) || (tt.add(r), r());
202
+ for ($e(null), Ee.length = 0, ve = 0; ht.length; )
203
+ ht.pop()();
204
+ for (let t = 0; t < xe.length; t += 1) {
205
+ const r = xe[t];
206
+ rt.has(r) || (rt.add(r), r());
207
207
  }
208
- _e.length = 0;
208
+ xe.length = 0;
209
209
  } while (Ee.length);
210
- for (; $t.length; )
211
- $t.pop()();
212
- ht = !1, tt.clear(), Be(e);
210
+ for (; Ot.length; )
211
+ Ot.pop()();
212
+ ct = !1, rt.clear(), $e(e);
213
213
  }
214
214
  function rn(e) {
215
215
  if (e.fragment !== null) {
216
- e.update(), He(e.before_update);
216
+ e.update(), Se(e.before_update);
217
217
  const t = e.dirty;
218
218
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
219
219
  }
220
220
  }
221
221
  function nn(e) {
222
222
  const t = [], r = [];
223
- _e.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), _e = t;
223
+ xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
224
224
  }
225
225
  const sn = /* @__PURE__ */ new Set();
226
226
  function on(e, t) {
227
227
  e && e.i && (sn.delete(e), e.i(t));
228
228
  }
229
- function Bt(e) {
229
+ function $t(e) {
230
230
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
231
231
  }
232
232
  function an(e, t, r) {
233
233
  const { fragment: n, after_update: i } = e.$$;
234
234
  n && n.m(t, r), ft(() => {
235
- const s = e.$$.on_mount.map(nr).filter(xt);
236
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : He(s), e.$$.on_mount = [];
235
+ const s = e.$$.on_mount.map(nr).filter(Et);
236
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Se(s), e.$$.on_mount = [];
237
237
  }), i.forEach(ft);
238
238
  }
239
- function un(e, t) {
239
+ function ln(e, t) {
240
240
  const r = e.$$;
241
- r.fragment !== null && (nn(r.after_update), He(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
241
+ r.fragment !== null && (nn(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
242
242
  }
243
- function ln(e, t) {
243
+ function un(e, t) {
244
244
  e.$$.dirty[0] === -1 && (Ee.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
245
245
  }
246
246
  function hn(e, t, r, n, i, s, o = null, a = [-1]) {
247
- const l = Pe;
248
- Be(e);
249
- const u = e.$$ = {
247
+ const u = Pe;
248
+ $e(e);
249
+ const l = e.$$ = {
250
250
  fragment: null,
251
251
  ctx: [],
252
252
  // state
@@ -260,50 +260,50 @@ function hn(e, t, r, n, i, s, o = null, a = [-1]) {
260
260
  on_disconnect: [],
261
261
  before_update: [],
262
262
  after_update: [],
263
- context: new Map(t.context || (l ? l.$$.context : [])),
263
+ context: new Map(t.context || (u ? u.$$.context : [])),
264
264
  // everything else
265
265
  callbacks: At(),
266
266
  dirty: a,
267
267
  skip_bound: !1,
268
- root: t.target || l.$$.root
268
+ root: t.target || u.$$.root
269
269
  };
270
- o && o(u.root);
270
+ o && o(l.root);
271
271
  let h = !1;
272
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
273
- const w = x.length ? x[0] : c;
274
- return u.ctx && i(u.ctx[f], u.ctx[f] = w) && (!u.skip_bound && u.bound[f] && u.bound[f](w), h && ln(e, f)), c;
275
- }) : [], u.update(), h = !0, He(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
272
+ if (l.ctx = r ? r(e, t.props || {}, (c, d, ..._) => {
273
+ const E = _.length ? _[0] : d;
274
+ return l.ctx && i(l.ctx[c], l.ctx[c] = E) && (!l.skip_bound && l.bound[c] && l.bound[c](E), h && un(e, c)), d;
275
+ }) : [], l.update(), h = !0, Se(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
276
276
  if (t.hydrate) {
277
- const f = Zr(t.target);
278
- u.fragment && u.fragment.l(f), f.forEach(oe);
277
+ const c = Yr(t.target);
278
+ l.fragment && l.fragment.l(c), c.forEach(re);
279
279
  } else
280
- u.fragment && u.fragment.c();
280
+ l.fragment && l.fragment.c();
281
281
  t.intro && on(e.$$.fragment), an(e, t.target, t.anchor), q();
282
282
  }
283
- Be(l);
283
+ $e(u);
284
284
  }
285
285
  let ar;
286
286
  typeof HTMLElement == "function" && (ar = class extends HTMLElement {
287
287
  constructor(t, r, n) {
288
288
  super();
289
289
  /** The Svelte component constructor */
290
- ne(this, "$$ctor");
290
+ ie(this, "$$ctor");
291
291
  /** Slots */
292
- ne(this, "$$s");
292
+ ie(this, "$$s");
293
293
  /** The Svelte component instance */
294
- ne(this, "$$c");
294
+ ie(this, "$$c");
295
295
  /** Whether or not the custom element is connected */
296
- ne(this, "$$cn", !1);
296
+ ie(this, "$$cn", !1);
297
297
  /** Component props data */
298
- ne(this, "$$d", {});
298
+ ie(this, "$$d", {});
299
299
  /** `true` if currently in the process of reflecting component props back to attributes */
300
- ne(this, "$$r", !1);
300
+ ie(this, "$$r", !1);
301
301
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
302
- ne(this, "$$p_d", {});
302
+ ie(this, "$$p_d", {});
303
303
  /** @type {Record<string, Function[]>} Event listeners */
304
- ne(this, "$$l", {});
304
+ ie(this, "$$l", {});
305
305
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
306
- ne(this, "$$l_u", /* @__PURE__ */ new Map());
306
+ ie(this, "$$l_u", /* @__PURE__ */ new Map());
307
307
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
308
308
  }
309
309
  addEventListener(t, r, n) {
@@ -320,24 +320,24 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
320
320
  }
321
321
  }
322
322
  connectedCallback() {
323
- return Lt(this, null, function* () {
323
+ return Tt(this, null, function* () {
324
324
  if (this.$$cn = !0, !this.$$c) {
325
325
  let t = function(s) {
326
326
  return () => {
327
327
  let o;
328
328
  return {
329
329
  c: function() {
330
- o = F("slot"), s !== "default" && k(o, "name", s);
330
+ o = k("slot"), s !== "default" && B(o, "name", s);
331
331
  },
332
332
  /**
333
333
  * @param {HTMLElement} target
334
334
  * @param {HTMLElement} [anchor]
335
335
  */
336
- m: function(u, h) {
337
- le(u, o, h);
336
+ m: function(l, h) {
337
+ oe(l, o, h);
338
338
  },
339
- d: function(u) {
340
- u && oe(o);
339
+ d: function(l) {
340
+ l && re(o);
341
341
  }
342
342
  };
343
343
  };
@@ -349,13 +349,13 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
349
349
  s in n && (r[s] = [t(s)]);
350
350
  for (const s of this.attributes) {
351
351
  const o = this.$$g_p(s.name);
352
- o in this.$$d || (this.$$d[o] = Fe(o, s.value, this.$$p_d, "toProp"));
352
+ o in this.$$d || (this.$$d[o] = je(o, s.value, this.$$p_d, "toProp"));
353
353
  }
354
354
  for (const s in this.$$p_d)
355
355
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
356
356
  this.$$c = new this.$$ctor({
357
357
  target: this.shadowRoot || this,
358
- props: Ue(Re({}, this.$$d), {
358
+ props: Ge(Ue({}, this.$$d), {
359
359
  $$slots: r,
360
360
  $$scope: {
361
361
  ctx: []
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
366
366
  this.$$r = !0;
367
367
  for (const s in this.$$p_d)
368
368
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
369
- const o = Fe(
369
+ const o = je(
370
370
  s,
371
371
  this.$$d[s],
372
372
  this.$$p_d,
@@ -390,7 +390,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
390
390
  // and setting attributes through setAttribute etc, this is helpful
391
391
  attributeChangedCallback(t, r, n) {
392
392
  var i;
393
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
393
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = je(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
394
394
  }
395
395
  disconnectedCallback() {
396
396
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -403,7 +403,7 @@ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
403
403
  ) || t;
404
404
  }
405
405
  });
406
- function Fe(e, t, r, n) {
406
+ function je(e, t, r, n) {
407
407
  var s;
408
408
  const i = (s = r[e]) == null ? void 0 : s.type;
409
409
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -433,7 +433,7 @@ function Fe(e, t, r, n) {
433
433
  return t;
434
434
  }
435
435
  }
436
- function fn(e, t, r, n, i, s) {
436
+ function cn(e, t, r, n, i, s) {
437
437
  let o = class extends ar {
438
438
  constructor() {
439
439
  super(e, r, i), this.$$p_d = t;
@@ -449,22 +449,22 @@ function fn(e, t, r, n, i, s) {
449
449
  get() {
450
450
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
451
451
  },
452
- set(l) {
453
- var u;
454
- l = Fe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
452
+ set(u) {
453
+ var l;
454
+ u = je(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
455
455
  }
456
456
  });
457
457
  }), n.forEach((a) => {
458
458
  Object.defineProperty(o.prototype, a, {
459
459
  get() {
460
- var l;
461
- return (l = this.$$c) == null ? void 0 : l[a];
460
+ var u;
461
+ return (u = this.$$c) == null ? void 0 : u[a];
462
462
  }
463
463
  });
464
464
  }), e.element = /** @type {any} */
465
465
  o, o;
466
466
  }
467
- class cn {
467
+ class fn {
468
468
  constructor() {
469
469
  /**
470
470
  * ### PRIVATE API
@@ -473,7 +473,7 @@ class cn {
473
473
  *
474
474
  * @type {any}
475
475
  */
476
- ne(this, "$$");
476
+ ie(this, "$$");
477
477
  /**
478
478
  * ### PRIVATE API
479
479
  *
@@ -481,11 +481,11 @@ class cn {
481
481
  *
482
482
  * @type {any}
483
483
  */
484
- ne(this, "$$set");
484
+ ie(this, "$$set");
485
485
  }
486
486
  /** @returns {void} */
487
487
  $destroy() {
488
- un(this, 1), this.$destroy = se;
488
+ ln(this, 1), this.$destroy = se;
489
489
  }
490
490
  /**
491
491
  * @template {Extract<keyof Events, string>} K
@@ -494,7 +494,7 @@ class cn {
494
494
  * @returns {() => void}
495
495
  */
496
496
  $on(t, r) {
497
- if (!xt(r))
497
+ if (!Et(r))
498
498
  return se;
499
499
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
500
500
  return n.push(r), () => {
@@ -512,144 +512,144 @@ class cn {
512
512
  }
513
513
  const mn = "4";
514
514
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
515
- const xe = [];
515
+ const _e = [];
516
516
  function dn(e, t) {
517
517
  return {
518
- subscribe: Ze(e, t).subscribe
518
+ subscribe: Je(e, t).subscribe
519
519
  };
520
520
  }
521
- function Ze(e, t = se) {
521
+ function Je(e, t = se) {
522
522
  let r;
523
523
  const n = /* @__PURE__ */ new Set();
524
524
  function i(a) {
525
525
  if (ir(e, a) && (e = a, r)) {
526
- const l = !xe.length;
527
- for (const u of n)
528
- u[1](), xe.push(u, e);
529
- if (l) {
530
- for (let u = 0; u < xe.length; u += 2)
531
- xe[u][0](xe[u + 1]);
532
- xe.length = 0;
526
+ const u = !_e.length;
527
+ for (const l of n)
528
+ l[1](), _e.push(l, e);
529
+ if (u) {
530
+ for (let l = 0; l < _e.length; l += 2)
531
+ _e[l][0](_e[l + 1]);
532
+ _e.length = 0;
533
533
  }
534
534
  }
535
535
  }
536
536
  function s(a) {
537
537
  i(a(e));
538
538
  }
539
- function o(a, l = se) {
540
- const u = [a, l];
541
- return n.add(u), n.size === 1 && (r = t(i, s) || se), a(e), () => {
542
- n.delete(u), n.size === 0 && r && (r(), r = null);
539
+ function o(a, u = se) {
540
+ const l = [a, u];
541
+ return n.add(l), n.size === 1 && (r = t(i, s) || se), a(e), () => {
542
+ n.delete(l), n.size === 0 && r && (r(), r = null);
543
543
  };
544
544
  }
545
545
  return { set: i, update: s, subscribe: o };
546
546
  }
547
- function Le(e, t, r) {
547
+ function He(e, t, r) {
548
548
  const n = !Array.isArray(e), i = n ? [e] : e;
549
549
  if (!i.every(Boolean))
550
550
  throw new Error("derived() expects stores as input, got a falsy value");
551
551
  const s = t.length < 2;
552
552
  return dn(r, (o, a) => {
553
- let l = !1;
554
- const u = [];
555
- let h = 0, f = se;
556
- const c = () => {
553
+ let u = !1;
554
+ const l = [];
555
+ let h = 0, c = se;
556
+ const d = () => {
557
557
  if (h)
558
558
  return;
559
- f();
560
- const w = t(n ? u[0] : u, o, a);
561
- s ? o(w) : f = xt(w) ? w : se;
562
- }, x = i.map(
563
- (w, b) => sr(
564
- w,
565
- (M) => {
566
- u[b] = M, h &= ~(1 << b), l && c();
559
+ c();
560
+ const E = t(n ? l[0] : l, o, a);
561
+ s ? o(E) : c = Et(E) ? E : se;
562
+ }, _ = i.map(
563
+ (E, f) => sr(
564
+ E,
565
+ (w) => {
566
+ l[f] = w, h &= ~(1 << f), u && d();
567
567
  },
568
568
  () => {
569
- h |= 1 << b;
569
+ h |= 1 << f;
570
570
  }
571
571
  )
572
572
  );
573
- return l = !0, c(), function() {
574
- He(x), f(), l = !1;
573
+ return u = !0, d(), function() {
574
+ Se(_), c(), u = !1;
575
575
  };
576
576
  });
577
577
  }
578
- var ur = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
579
- function Et(e) {
578
+ var lr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
579
+ function xt(e) {
580
580
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
581
581
  }
582
- var gn = function(t) {
583
- return pn(t) && !bn(t);
582
+ var pn = function(t) {
583
+ return gn(t) && !bn(t);
584
584
  };
585
- function pn(e) {
585
+ function gn(e) {
586
586
  return !!e && typeof e == "object";
587
587
  }
588
588
  function bn(e) {
589
589
  var t = Object.prototype.toString.call(e);
590
- return t === "[object RegExp]" || t === "[object Date]" || xn(e);
590
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
591
591
  }
592
592
  var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
593
- function xn(e) {
593
+ function _n(e) {
594
594
  return e.$$typeof === vn;
595
595
  }
596
596
  function En(e) {
597
597
  return Array.isArray(e) ? [] : {};
598
598
  }
599
- function Ce(e, t) {
600
- return t.clone !== !1 && t.isMergeableObject(e) ? we(En(e), e, t) : e;
599
+ function Ne(e, t) {
600
+ return t.clone !== !1 && t.isMergeableObject(e) ? Le(En(e), e, t) : e;
601
601
  }
602
- function _n(e, t, r) {
602
+ function xn(e, t, r) {
603
603
  return e.concat(t).map(function(n) {
604
- return Ce(n, r);
604
+ return Ne(n, r);
605
605
  });
606
606
  }
607
- function wn(e, t) {
607
+ function Ln(e, t) {
608
608
  if (!t.customMerge)
609
- return we;
609
+ return Le;
610
610
  var r = t.customMerge(e);
611
- return typeof r == "function" ? r : we;
611
+ return typeof r == "function" ? r : Le;
612
612
  }
613
- function Mn(e) {
613
+ function wn(e) {
614
614
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
615
615
  return Object.propertyIsEnumerable.call(e, t);
616
616
  }) : [];
617
617
  }
618
- function Pt(e) {
619
- return Object.keys(e).concat(Mn(e));
618
+ function Bt(e) {
619
+ return Object.keys(e).concat(wn(e));
620
620
  }
621
- function lr(e, t) {
621
+ function ur(e, t) {
622
622
  try {
623
623
  return t in e;
624
624
  } catch (r) {
625
625
  return !1;
626
626
  }
627
627
  }
628
- function Sn(e, t) {
629
- return lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
628
+ function Mn(e, t) {
629
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
630
630
  }
631
- function Tn(e, t, r) {
631
+ function Cn(e, t, r) {
632
632
  var n = {};
633
- return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
634
- n[i] = Ce(e[i], r);
635
- }), Pt(t).forEach(function(i) {
636
- Sn(e, i) || (lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
633
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
634
+ n[i] = Ne(e[i], r);
635
+ }), Bt(t).forEach(function(i) {
636
+ Mn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = Ne(t[i], r));
637
637
  }), n;
638
638
  }
639
- function we(e, t, r) {
640
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = Ce;
639
+ function Le(e, t, r) {
640
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = Ne;
641
641
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
642
- return s ? n ? r.arrayMerge(e, t, r) : Tn(e, t, r) : Ce(t, r);
642
+ return s ? n ? r.arrayMerge(e, t, r) : Cn(e, t, r) : Ne(t, r);
643
643
  }
644
- we.all = function(t, r) {
644
+ Le.all = function(t, r) {
645
645
  if (!Array.isArray(t))
646
646
  throw new Error("first argument should be an array");
647
647
  return t.reduce(function(n, i) {
648
- return we(n, i, r);
648
+ return Le(n, i, r);
649
649
  }, {});
650
650
  };
651
- var Hn = we, Ln = Hn;
652
- const An = /* @__PURE__ */ Et(Ln);
651
+ var Sn = Le, Hn = Sn;
652
+ const Tn = /* @__PURE__ */ xt(Hn);
653
653
  /*! *****************************************************************************
654
654
  Copyright (c) Microsoft Corporation.
655
655
 
@@ -664,34 +664,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
664
664
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
665
665
  PERFORMANCE OF THIS SOFTWARE.
666
666
  ***************************************************************************** */
667
- var ct = function(e, t) {
668
- return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
667
+ var mt = function(e, t) {
668
+ return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
669
669
  r.__proto__ = n;
670
670
  } || function(r, n) {
671
671
  for (var i in n)
672
672
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
673
- }, ct(e, t);
673
+ }, mt(e, t);
674
674
  };
675
- function Je(e, t) {
675
+ function Qe(e, t) {
676
676
  if (typeof t != "function" && t !== null)
677
677
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
678
- ct(e, t);
678
+ mt(e, t);
679
679
  function r() {
680
680
  this.constructor = e;
681
681
  }
682
682
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
683
683
  }
684
- var O = function() {
685
- return O = Object.assign || function(t) {
684
+ var A = function() {
685
+ return A = Object.assign || function(t) {
686
686
  for (var r, n = 1, i = arguments.length; n < i; n++) {
687
687
  r = arguments[n];
688
688
  for (var s in r)
689
689
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
690
690
  }
691
691
  return t;
692
- }, O.apply(this, arguments);
692
+ }, A.apply(this, arguments);
693
693
  };
694
- function On(e, t) {
694
+ function An(e, t) {
695
695
  var r = {};
696
696
  for (var n in e)
697
697
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -700,42 +700,42 @@ function On(e, t) {
700
700
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
701
701
  return r;
702
702
  }
703
- function rt(e, t, r) {
703
+ function nt(e, t, r) {
704
704
  if (arguments.length === 2)
705
705
  for (var n = 0, i = t.length, s; n < i; n++)
706
706
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
707
707
  return e.concat(s || t);
708
708
  }
709
- function nt(e, t) {
710
- var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Bn;
709
+ function it(e, t) {
710
+ var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : $n;
711
711
  return i(e, {
712
712
  cache: r,
713
713
  serializer: n
714
714
  });
715
715
  }
716
- function $n(e) {
716
+ function On(e) {
717
717
  return e == null || typeof e == "number" || typeof e == "boolean";
718
718
  }
719
719
  function hr(e, t, r, n) {
720
- var i = $n(n) ? n : r(n), s = t.get(i);
720
+ var i = On(n) ? n : r(n), s = t.get(i);
721
721
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
722
722
  }
723
- function fr(e, t, r) {
723
+ function cr(e, t, r) {
724
724
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
725
725
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
726
726
  }
727
- function _t(e, t, r, n, i) {
727
+ function Lt(e, t, r, n, i) {
728
728
  return r.bind(t, e, n, i);
729
729
  }
730
+ function $n(e, t) {
731
+ var r = e.length === 1 ? hr : cr;
732
+ return Lt(e, this, r, t.cache.create(), t.serializer);
733
+ }
730
734
  function Bn(e, t) {
731
- var r = e.length === 1 ? hr : fr;
732
- return _t(e, this, r, t.cache.create(), t.serializer);
735
+ return Lt(e, this, cr, t.cache.create(), t.serializer);
733
736
  }
734
737
  function Pn(e, t) {
735
- return _t(e, this, fr, t.cache.create(), t.serializer);
736
- }
737
- function Cn(e, t) {
738
- return _t(e, this, hr, t.cache.create(), t.serializer);
738
+ return Lt(e, this, hr, t.cache.create(), t.serializer);
739
739
  }
740
740
  var Nn = function() {
741
741
  return JSON.stringify(arguments);
@@ -749,57 +749,57 @@ wt.prototype.get = function(e) {
749
749
  wt.prototype.set = function(e, t) {
750
750
  this.cache[e] = t;
751
751
  };
752
- var In = {
752
+ var Dn = {
753
753
  create: function() {
754
754
  return new wt();
755
755
  }
756
- }, it = {
757
- variadic: Pn,
758
- monadic: Cn
759
- }, H;
756
+ }, st = {
757
+ variadic: Bn,
758
+ monadic: Pn
759
+ }, S;
760
760
  (function(e) {
761
761
  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";
762
- })(H || (H = {}));
763
- var R;
762
+ })(S || (S = {}));
763
+ var U;
764
764
  (function(e) {
765
765
  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";
766
- })(R || (R = {}));
767
- var Me;
766
+ })(U || (U = {}));
767
+ var we;
768
768
  (function(e) {
769
769
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
770
- })(Me || (Me = {}));
771
- function Ct(e) {
772
- return e.type === R.literal;
770
+ })(we || (we = {}));
771
+ function Pt(e) {
772
+ return e.type === U.literal;
773
773
  }
774
- function Dn(e) {
775
- return e.type === R.argument;
774
+ function In(e) {
775
+ return e.type === U.argument;
776
776
  }
777
- function cr(e) {
778
- return e.type === R.number;
777
+ function fr(e) {
778
+ return e.type === U.number;
779
779
  }
780
780
  function mr(e) {
781
- return e.type === R.date;
781
+ return e.type === U.date;
782
782
  }
783
783
  function dr(e) {
784
- return e.type === R.time;
785
- }
786
- function gr(e) {
787
- return e.type === R.select;
784
+ return e.type === U.time;
788
785
  }
789
786
  function pr(e) {
790
- return e.type === R.plural;
787
+ return e.type === U.select;
788
+ }
789
+ function gr(e) {
790
+ return e.type === U.plural;
791
791
  }
792
792
  function Rn(e) {
793
- return e.type === R.pound;
793
+ return e.type === U.pound;
794
794
  }
795
795
  function br(e) {
796
- return e.type === R.tag;
796
+ return e.type === U.tag;
797
797
  }
798
798
  function yr(e) {
799
- return !!(e && typeof e == "object" && e.type === Me.number);
799
+ return !!(e && typeof e == "object" && e.type === we.number);
800
800
  }
801
- function mt(e) {
802
- return !!(e && typeof e == "object" && e.type === Me.dateTime);
801
+ function dt(e) {
802
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
803
803
  }
804
804
  var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
805
805
  function Gn(e) {
@@ -897,32 +897,32 @@ var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
897
897
  function Fn(e) {
898
898
  if (e.length === 0)
899
899
  throw new Error("Number skeleton cannot be empty");
900
- for (var t = e.split(kn).filter(function(c) {
901
- return c.length > 0;
900
+ for (var t = e.split(kn).filter(function(d) {
901
+ return d.length > 0;
902
902
  }), r = [], n = 0, i = t; n < i.length; n++) {
903
903
  var s = i[n], o = s.split("/");
904
904
  if (o.length === 0)
905
905
  throw new Error("Invalid number skeleton");
906
- for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
907
- var f = h[u];
908
- if (f.length === 0)
906
+ for (var a = o[0], u = o.slice(1), l = 0, h = u; l < h.length; l++) {
907
+ var c = h[l];
908
+ if (c.length === 0)
909
909
  throw new Error("Invalid number skeleton");
910
910
  }
911
- r.push({ stem: a, options: l });
911
+ r.push({ stem: a, options: u });
912
912
  }
913
913
  return r;
914
914
  }
915
915
  function jn(e) {
916
916
  return e.replace(/^(.*?)-/, "");
917
917
  }
918
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xr = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
919
- function It(e) {
918
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, _r = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, Er = /^(0+)$/;
919
+ function Dt(e) {
920
920
  var t = {};
921
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xr, function(r, n, i) {
921
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(_r, function(r, n, i) {
922
922
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
923
923
  }), t;
924
924
  }
925
- function _r(e) {
925
+ function xr(e) {
926
926
  switch (e) {
927
927
  case "sign-auto":
928
928
  return {
@@ -962,7 +962,7 @@ function _r(e) {
962
962
  };
963
963
  }
964
964
  }
965
- function zn(e) {
965
+ function Vn(e) {
966
966
  var t;
967
967
  if (e[0] === "E" && e[1] === "E" ? (t = {
968
968
  notation: "engineering"
@@ -976,8 +976,8 @@ function zn(e) {
976
976
  }
977
977
  return t;
978
978
  }
979
- function Dt(e) {
980
- var t = {}, r = _r(e);
979
+ function It(e) {
980
+ var t = {}, r = xr(e);
981
981
  return r || t;
982
982
  }
983
983
  function Xn(e) {
@@ -1015,13 +1015,13 @@ function Xn(e) {
1015
1015
  t.notation = "compact", t.compactDisplay = "long";
1016
1016
  continue;
1017
1017
  case "scientific":
1018
- t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1019
- return O(O({}, l), Dt(u));
1018
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1019
+ return A(A({}, u), It(l));
1020
1020
  }, {}));
1021
1021
  continue;
1022
1022
  case "engineering":
1023
- t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1024
- return O(O({}, l), Dt(u));
1023
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1024
+ return A(A({}, u), It(l));
1025
1025
  }, {}));
1026
1026
  continue;
1027
1027
  case "notation-simple":
@@ -1066,13 +1066,13 @@ function Xn(e) {
1066
1066
  case "integer-width":
1067
1067
  if (i.options.length > 1)
1068
1068
  throw new RangeError("integer-width stems only accept a single optional option");
1069
- i.options[0].replace(Vn, function(l, u, h, f, c, x) {
1070
- if (u)
1069
+ i.options[0].replace(Zn, function(u, l, h, c, d, _) {
1070
+ if (l)
1071
1071
  t.minimumIntegerDigits = h.length;
1072
1072
  else {
1073
- if (f && c)
1073
+ if (c && d)
1074
1074
  throw new Error("We currently do not support maximum integer digits");
1075
- if (x)
1075
+ if (_)
1076
1076
  throw new Error("We currently do not support exact integer digits");
1077
1077
  }
1078
1078
  return "";
@@ -1086,25 +1086,25 @@ function Xn(e) {
1086
1086
  if (Nt.test(i.stem)) {
1087
1087
  if (i.options.length > 1)
1088
1088
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1089
- i.stem.replace(Nt, function(l, u, h, f, c, x) {
1090
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1089
+ i.stem.replace(Nt, function(u, l, h, c, d, _) {
1090
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && _ ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1091
1091
  });
1092
1092
  var s = i.options[0];
1093
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), It(s)));
1093
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Dt(s)));
1094
1094
  continue;
1095
1095
  }
1096
- if (xr.test(i.stem)) {
1097
- t = O(O({}, t), It(i.stem));
1096
+ if (_r.test(i.stem)) {
1097
+ t = A(A({}, t), Dt(i.stem));
1098
1098
  continue;
1099
1099
  }
1100
- var o = _r(i.stem);
1101
- o && (t = O(O({}, t), o));
1102
- var a = zn(i.stem);
1103
- a && (t = O(O({}, t), a));
1100
+ var o = xr(i.stem);
1101
+ o && (t = A(A({}, t), o));
1102
+ var a = Vn(i.stem);
1103
+ a && (t = A(A({}, t), a));
1104
1104
  }
1105
1105
  return t;
1106
1106
  }
1107
- var ke = {
1107
+ var Fe = {
1108
1108
  "001": [
1109
1109
  "H",
1110
1110
  "h"
@@ -2525,17 +2525,17 @@ function Wn(e, t) {
2525
2525
  if (i === "j") {
2526
2526
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2527
2527
  s++, n++;
2528
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Yn(t);
2529
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2530
- r += l;
2528
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", l = zn(t);
2529
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2530
+ r += u;
2531
2531
  for (; o-- > 0; )
2532
- r = u + r;
2532
+ r = l + r;
2533
2533
  } else
2534
2534
  i === "J" ? r += "H" : r += i;
2535
2535
  }
2536
2536
  return r;
2537
2537
  }
2538
- function Yn(e) {
2538
+ function zn(e) {
2539
2539
  var t = e.hourCycle;
2540
2540
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2541
2541
  e.hourCycles && // @ts-ignore
@@ -2554,21 +2554,21 @@ function Yn(e) {
2554
2554
  }
2555
2555
  var r = e.language, n;
2556
2556
  r !== "root" && (n = e.maximize().region);
2557
- var i = ke[n || ""] || ke[r || ""] || ke["".concat(r, "-001")] || ke["001"];
2557
+ var i = Fe[n || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2558
2558
  return i[0];
2559
2559
  }
2560
- var st, Zn = new RegExp("^".concat(vr.source, "*")), Jn = new RegExp("".concat(vr.source, "*$"));
2561
- function L(e, t) {
2560
+ var ot, Yn = new RegExp("^".concat(vr.source, "*")), Jn = new RegExp("".concat(vr.source, "*$"));
2561
+ function H(e, t) {
2562
2562
  return { start: e, end: t };
2563
2563
  }
2564
2564
  var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
2565
2565
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2566
- }, dt = !0;
2566
+ }, pt = !0;
2567
2567
  try {
2568
- var si = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
- dt = ((st = si.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2568
+ var si = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
+ pt = ((ot = si.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2570
2570
  } catch (e) {
2571
- dt = !1;
2571
+ pt = !1;
2572
2572
  }
2573
2573
  var Rt = Qn ? (
2574
2574
  // Native
@@ -2604,7 +2604,7 @@ var Rt = Qn ? (
2604
2604
  return r;
2605
2605
  }
2606
2606
  )
2607
- ), wr = ei ? (
2607
+ ), Lr = ei ? (
2608
2608
  // Native
2609
2609
  function(t, r) {
2610
2610
  return t.codePointAt(r);
@@ -2626,7 +2626,7 @@ var Rt = Qn ? (
2626
2626
  ) : (
2627
2627
  // Ponyfill
2628
2628
  function(t) {
2629
- return t.replace(Zn, "");
2629
+ return t.replace(Yn, "");
2630
2630
  }
2631
2631
  ), ai = ri ? (
2632
2632
  // Native
@@ -2639,29 +2639,29 @@ var Rt = Qn ? (
2639
2639
  return t.replace(Jn, "");
2640
2640
  }
2641
2641
  );
2642
- function Mr(e, t) {
2642
+ function wr(e, t) {
2643
2643
  return new RegExp(e, t);
2644
2644
  }
2645
- var pt;
2646
- if (dt) {
2647
- var Gt = Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2648
- pt = function(t, r) {
2645
+ var bt;
2646
+ if (pt) {
2647
+ var Gt = wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2648
+ bt = function(t, r) {
2649
2649
  var n;
2650
2650
  Gt.lastIndex = r;
2651
2651
  var i = Gt.exec(t);
2652
2652
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2653
2653
  };
2654
2654
  } else
2655
- pt = function(t, r) {
2655
+ bt = function(t, r) {
2656
2656
  for (var n = []; ; ) {
2657
- var i = wr(t, r);
2658
- if (i === void 0 || Sr(i) || fi(i))
2657
+ var i = Lr(t, r);
2658
+ if (i === void 0 || Mr(i) || ci(i))
2659
2659
  break;
2660
2660
  n.push(i), r += i >= 65536 ? 2 : 1;
2661
2661
  }
2662
2662
  return gt.apply(void 0, n);
2663
2663
  };
2664
- var ui = (
2664
+ var li = (
2665
2665
  /** @class */
2666
2666
  function() {
2667
2667
  function e(t, r) {
@@ -2685,14 +2685,14 @@ var ui = (
2685
2685
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2686
2686
  var a = this.clonePosition();
2687
2687
  this.bump(), i.push({
2688
- type: R.pound,
2689
- location: L(a, this.clonePosition())
2688
+ type: U.pound,
2689
+ location: H(a, this.clonePosition())
2690
2690
  });
2691
2691
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2692
2692
  if (n)
2693
2693
  break;
2694
- return this.error(H.UNMATCHED_CLOSING_TAG, L(this.clonePosition(), this.clonePosition()));
2695
- } else if (s === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
2694
+ return this.error(S.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
2695
+ } else if (s === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
2696
2696
  var o = this.parseTag(t, r);
2697
2697
  if (o.err)
2698
2698
  return o;
@@ -2713,9 +2713,9 @@ var ui = (
2713
2713
  if (this.bumpSpace(), this.bumpIf("/>"))
2714
2714
  return {
2715
2715
  val: {
2716
- type: R.literal,
2716
+ type: U.literal,
2717
2717
  value: "<".concat(i, "/>"),
2718
- location: L(n, this.clonePosition())
2718
+ location: H(n, this.clonePosition())
2719
2719
  },
2720
2720
  err: null
2721
2721
  };
@@ -2725,22 +2725,22 @@ var ui = (
2725
2725
  return s;
2726
2726
  var o = s.val, a = this.clonePosition();
2727
2727
  if (this.bumpIf("</")) {
2728
- if (this.isEOF() || !bt(this.char()))
2729
- return this.error(H.INVALID_TAG, L(a, this.clonePosition()));
2730
- var l = this.clonePosition(), u = this.parseTagName();
2731
- return i !== u ? this.error(H.UNMATCHED_CLOSING_TAG, L(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2728
+ if (this.isEOF() || !yt(this.char()))
2729
+ return this.error(S.INVALID_TAG, H(a, this.clonePosition()));
2730
+ var u = this.clonePosition(), l = this.parseTagName();
2731
+ return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, H(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2732
2732
  val: {
2733
- type: R.tag,
2733
+ type: U.tag,
2734
2734
  value: i,
2735
2735
  children: o,
2736
- location: L(n, this.clonePosition())
2736
+ location: H(n, this.clonePosition())
2737
2737
  },
2738
2738
  err: null
2739
- } : this.error(H.INVALID_TAG, L(a, this.clonePosition())));
2739
+ } : this.error(S.INVALID_TAG, H(a, this.clonePosition())));
2740
2740
  } else
2741
- return this.error(H.UNCLOSED_TAG, L(n, this.clonePosition()));
2741
+ return this.error(S.UNCLOSED_TAG, H(n, this.clonePosition()));
2742
2742
  } else
2743
- return this.error(H.INVALID_TAG, L(n, this.clonePosition()));
2743
+ return this.error(S.INVALID_TAG, H(n, this.clonePosition()));
2744
2744
  }, e.prototype.parseTagName = function() {
2745
2745
  var t = this.offset();
2746
2746
  for (this.bump(); !this.isEOF() && hi(this.char()); )
@@ -2765,14 +2765,14 @@ var ui = (
2765
2765
  }
2766
2766
  break;
2767
2767
  }
2768
- var l = L(n, this.clonePosition());
2768
+ var u = H(n, this.clonePosition());
2769
2769
  return {
2770
- val: { type: R.literal, value: i, location: l },
2770
+ val: { type: U.literal, value: i, location: u },
2771
2771
  err: null
2772
2772
  };
2773
2773
  }, e.prototype.tryParseLeftAngleBracket = function() {
2774
2774
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2775
- !li(this.peek() || 0)) ? (this.bump(), "<") : null;
2775
+ !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2776
2776
  }, e.prototype.tryParseQuote = function(t) {
2777
2777
  if (this.isEOF() || this.char() !== 39)
2778
2778
  return null;
@@ -2815,91 +2815,91 @@ var ui = (
2815
2815
  }, e.prototype.parseArgument = function(t, r) {
2816
2816
  var n = this.clonePosition();
2817
2817
  if (this.bump(), this.bumpSpace(), this.isEOF())
2818
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(n, this.clonePosition()));
2818
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
2819
2819
  if (this.char() === 125)
2820
- return this.bump(), this.error(H.EMPTY_ARGUMENT, L(n, this.clonePosition()));
2820
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, H(n, this.clonePosition()));
2821
2821
  var i = this.parseIdentifierIfPossible().value;
2822
2822
  if (!i)
2823
- return this.error(H.MALFORMED_ARGUMENT, L(n, this.clonePosition()));
2823
+ return this.error(S.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2824
2824
  if (this.bumpSpace(), this.isEOF())
2825
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(n, this.clonePosition()));
2825
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
2826
2826
  switch (this.char()) {
2827
2827
  case 125:
2828
2828
  return this.bump(), {
2829
2829
  val: {
2830
- type: R.argument,
2830
+ type: U.argument,
2831
2831
  // value does not include the opening and closing braces.
2832
2832
  value: i,
2833
- location: L(n, this.clonePosition())
2833
+ location: H(n, this.clonePosition())
2834
2834
  },
2835
2835
  err: null
2836
2836
  };
2837
2837
  case 44:
2838
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2838
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2839
2839
  default:
2840
- return this.error(H.MALFORMED_ARGUMENT, L(n, this.clonePosition()));
2840
+ return this.error(S.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
2841
2841
  }
2842
2842
  }, e.prototype.parseIdentifierIfPossible = function() {
2843
- var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
2843
+ var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
2844
2844
  this.bumpTo(i);
2845
- var s = this.clonePosition(), o = L(t, s);
2845
+ var s = this.clonePosition(), o = H(t, s);
2846
2846
  return { value: n, location: o };
2847
2847
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2848
- var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2848
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2849
2849
  switch (a) {
2850
2850
  case "":
2851
- return this.error(H.EXPECT_ARGUMENT_TYPE, L(o, l));
2851
+ return this.error(S.EXPECT_ARGUMENT_TYPE, H(o, u));
2852
2852
  case "number":
2853
2853
  case "date":
2854
2854
  case "time": {
2855
2855
  this.bumpSpace();
2856
- var u = null;
2856
+ var l = null;
2857
2857
  if (this.bumpIf(",")) {
2858
2858
  this.bumpSpace();
2859
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2860
- if (f.err)
2861
- return f;
2862
- var c = ai(f.val);
2863
- if (c.length === 0)
2864
- return this.error(H.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2865
- var x = L(h, this.clonePosition());
2866
- u = { style: c, styleLocation: x };
2859
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2860
+ if (c.err)
2861
+ return c;
2862
+ var d = ai(c.val);
2863
+ if (d.length === 0)
2864
+ return this.error(S.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
2865
+ var _ = H(h, this.clonePosition());
2866
+ l = { style: d, styleLocation: _ };
2867
2867
  }
2868
- var w = this.tryParseArgumentClose(i);
2869
- if (w.err)
2870
- return w;
2871
- var b = L(i, this.clonePosition());
2872
- if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2873
- var M = oi(u.style.slice(2));
2868
+ var E = this.tryParseArgumentClose(i);
2869
+ if (E.err)
2870
+ return E;
2871
+ var f = H(i, this.clonePosition());
2872
+ if (l && Rt(l == null ? void 0 : l.style, "::", 0)) {
2873
+ var w = oi(l.style.slice(2));
2874
2874
  if (a === "number") {
2875
- var f = this.parseNumberSkeletonFromString(M, u.styleLocation);
2876
- return f.err ? f : {
2877
- val: { type: R.number, value: n, location: b, style: f.val },
2875
+ var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
2876
+ return c.err ? c : {
2877
+ val: { type: U.number, value: n, location: f, style: c.val },
2878
2878
  err: null
2879
2879
  };
2880
2880
  } else {
2881
- if (M.length === 0)
2882
- return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2883
- var P = M;
2884
- this.locale && (P = Wn(M, this.locale));
2885
- var c = {
2886
- type: Me.dateTime,
2881
+ if (w.length === 0)
2882
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, f);
2883
+ var P = w;
2884
+ this.locale && (P = Wn(w, this.locale));
2885
+ var d = {
2886
+ type: we.dateTime,
2887
2887
  pattern: P,
2888
- location: u.styleLocation,
2888
+ location: l.styleLocation,
2889
2889
  parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
2890
- }, I = a === "date" ? R.date : R.time;
2890
+ }, I = a === "date" ? U.date : U.time;
2891
2891
  return {
2892
- val: { type: I, value: n, location: b, style: c },
2892
+ val: { type: I, value: n, location: f, style: d },
2893
2893
  err: null
2894
2894
  };
2895
2895
  }
2896
2896
  }
2897
2897
  return {
2898
2898
  val: {
2899
- type: a === "number" ? R.number : a === "date" ? R.date : R.time,
2899
+ type: a === "number" ? U.number : a === "date" ? U.date : U.time,
2900
2900
  value: n,
2901
- location: b,
2902
- style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2901
+ location: f,
2902
+ style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
2903
2903
  },
2904
2904
  err: null
2905
2905
  };
@@ -2907,52 +2907,52 @@ var ui = (
2907
2907
  case "plural":
2908
2908
  case "selectordinal":
2909
2909
  case "select": {
2910
- var A = this.clonePosition();
2910
+ var T = this.clonePosition();
2911
2911
  if (this.bumpSpace(), !this.bumpIf(","))
2912
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, L(A, O({}, A)));
2912
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(T, A({}, T)));
2913
2913
  this.bumpSpace();
2914
- var D = this.parseIdentifierIfPossible(), C = 0;
2915
- if (a !== "select" && D.value === "offset") {
2914
+ var R = this.parseIdentifierIfPossible(), N = 0;
2915
+ if (a !== "select" && R.value === "offset") {
2916
2916
  if (!this.bumpIf(":"))
2917
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, L(this.clonePosition(), this.clonePosition()));
2917
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
2918
2918
  this.bumpSpace();
2919
- var f = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2920
- if (f.err)
2921
- return f;
2922
- this.bumpSpace(), D = this.parseIdentifierIfPossible(), C = f.val;
2919
+ var c = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2920
+ if (c.err)
2921
+ return c;
2922
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
2923
2923
  }
2924
- var j = this.tryParsePluralOrSelectOptions(t, a, r, D);
2924
+ var j = this.tryParsePluralOrSelectOptions(t, a, r, R);
2925
2925
  if (j.err)
2926
2926
  return j;
2927
- var w = this.tryParseArgumentClose(i);
2928
- if (w.err)
2929
- return w;
2930
- var G = L(i, this.clonePosition());
2927
+ var E = this.tryParseArgumentClose(i);
2928
+ if (E.err)
2929
+ return E;
2930
+ var F = H(i, this.clonePosition());
2931
2931
  return a === "select" ? {
2932
2932
  val: {
2933
- type: R.select,
2933
+ type: U.select,
2934
2934
  value: n,
2935
2935
  options: Ut(j.val),
2936
- location: G
2936
+ location: F
2937
2937
  },
2938
2938
  err: null
2939
2939
  } : {
2940
2940
  val: {
2941
- type: R.plural,
2941
+ type: U.plural,
2942
2942
  value: n,
2943
2943
  options: Ut(j.val),
2944
- offset: C,
2944
+ offset: N,
2945
2945
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2946
- location: G
2946
+ location: F
2947
2947
  },
2948
2948
  err: null
2949
2949
  };
2950
2950
  }
2951
2951
  default:
2952
- return this.error(H.INVALID_ARGUMENT_TYPE, L(o, l));
2952
+ return this.error(S.INVALID_ARGUMENT_TYPE, H(o, u));
2953
2953
  }
2954
2954
  }, e.prototype.tryParseArgumentClose = function(t) {
2955
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, L(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2955
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2956
2956
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2957
2957
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2958
2958
  var n = this.char();
@@ -2961,7 +2961,7 @@ var ui = (
2961
2961
  this.bump();
2962
2962
  var i = this.clonePosition();
2963
2963
  if (!this.bumpUntil("'"))
2964
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, L(i, this.clonePosition()));
2964
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
2965
2965
  this.bump();
2966
2966
  break;
2967
2967
  }
@@ -2993,11 +2993,11 @@ var ui = (
2993
2993
  try {
2994
2994
  n = Fn(t);
2995
2995
  } catch (i) {
2996
- return this.error(H.INVALID_NUMBER_SKELETON, r);
2996
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
2997
2997
  }
2998
2998
  return {
2999
2999
  val: {
3000
- type: Me.number,
3000
+ type: we.number,
3001
3001
  tokens: n,
3002
3002
  location: r,
3003
3003
  parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
@@ -3005,38 +3005,38 @@ var ui = (
3005
3005
  err: null
3006
3006
  };
3007
3007
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3008
- for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3009
- if (u.length === 0) {
3010
- var f = this.clonePosition();
3008
+ for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3009
+ if (l.length === 0) {
3010
+ var c = this.clonePosition();
3011
3011
  if (r !== "select" && this.bumpIf("=")) {
3012
- var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
3013
- if (c.err)
3014
- return c;
3015
- h = L(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3012
+ var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3013
+ if (d.err)
3014
+ return d;
3015
+ h = H(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3016
3016
  } else
3017
3017
  break;
3018
3018
  }
3019
- if (l.has(u))
3020
- return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3021
- u === "other" && (o = !0), this.bumpSpace();
3022
- var x = this.clonePosition();
3019
+ if (u.has(l))
3020
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3021
+ l === "other" && (o = !0), this.bumpSpace();
3022
+ var _ = this.clonePosition();
3023
3023
  if (!this.bumpIf("{"))
3024
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, L(this.clonePosition(), this.clonePosition()));
3025
- var w = this.parseMessage(t + 1, r, n);
3026
- if (w.err)
3027
- return w;
3028
- var b = this.tryParseArgumentClose(x);
3029
- if (b.err)
3030
- return b;
3024
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3025
+ var E = this.parseMessage(t + 1, r, n);
3026
+ if (E.err)
3027
+ return E;
3028
+ var f = this.tryParseArgumentClose(_);
3029
+ if (f.err)
3030
+ return f;
3031
3031
  a.push([
3032
- u,
3032
+ l,
3033
3033
  {
3034
- value: w.val,
3035
- location: L(x, this.clonePosition())
3034
+ value: E.val,
3035
+ location: H(_, this.clonePosition())
3036
3036
  }
3037
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3037
+ ]), u.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
3038
3038
  }
3039
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, L(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(H.MISSING_OTHER_CLAUSE, L(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3039
+ return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(S.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3040
3040
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3041
3041
  var n = 1, i = this.clonePosition();
3042
3042
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3047,8 +3047,8 @@ var ui = (
3047
3047
  else
3048
3048
  break;
3049
3049
  }
3050
- var l = L(i, this.clonePosition());
3051
- return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3050
+ var u = H(i, this.clonePosition());
3051
+ return s ? (o *= n, ii(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3052
3052
  }, e.prototype.offset = function() {
3053
3053
  return this.position.offset;
3054
3054
  }, e.prototype.isEOF = function() {
@@ -3063,7 +3063,7 @@ var ui = (
3063
3063
  var t = this.position.offset;
3064
3064
  if (t >= this.message.length)
3065
3065
  throw Error("out of bound");
3066
- var r = wr(this.message, t);
3066
+ var r = Lr(this.message, t);
3067
3067
  if (r === void 0)
3068
3068
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3069
3069
  return r;
@@ -3104,7 +3104,7 @@ var ui = (
3104
3104
  break;
3105
3105
  }
3106
3106
  }, e.prototype.bumpSpace = function() {
3107
- for (; !this.isEOF() && Sr(this.char()); )
3107
+ for (; !this.isEOF() && Mr(this.char()); )
3108
3108
  this.bump();
3109
3109
  }, e.prototype.peek = function() {
3110
3110
  if (this.isEOF())
@@ -3114,47 +3114,47 @@ var ui = (
3114
3114
  }, e;
3115
3115
  }()
3116
3116
  );
3117
- function bt(e) {
3117
+ function yt(e) {
3118
3118
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3119
3119
  }
3120
- function li(e) {
3121
- return bt(e) || e === 47;
3120
+ function ui(e) {
3121
+ return yt(e) || e === 47;
3122
3122
  }
3123
3123
  function hi(e) {
3124
3124
  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;
3125
3125
  }
3126
- function Sr(e) {
3126
+ function Mr(e) {
3127
3127
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3128
3128
  }
3129
- function fi(e) {
3129
+ function ci(e) {
3130
3130
  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;
3131
3131
  }
3132
- function yt(e) {
3132
+ function vt(e) {
3133
3133
  e.forEach(function(t) {
3134
- if (delete t.location, gr(t) || pr(t))
3134
+ if (delete t.location, pr(t) || gr(t))
3135
3135
  for (var r in t.options)
3136
- delete t.options[r].location, yt(t.options[r].value);
3136
+ delete t.options[r].location, vt(t.options[r].value);
3137
3137
  else
3138
- cr(t) && yr(t.style) || (mr(t) || dr(t)) && mt(t.style) ? delete t.style.location : br(t) && yt(t.children);
3138
+ fr(t) && yr(t.style) || (mr(t) || dr(t)) && dt(t.style) ? delete t.style.location : br(t) && vt(t.children);
3139
3139
  });
3140
3140
  }
3141
- function ci(e, t) {
3142
- t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3143
- var r = new ui(e, t).parse();
3141
+ function fi(e, t) {
3142
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3143
+ var r = new li(e, t).parse();
3144
3144
  if (r.err) {
3145
- var n = SyntaxError(H[r.err.kind]);
3145
+ var n = SyntaxError(S[r.err.kind]);
3146
3146
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3147
3147
  }
3148
- return t != null && t.captureLocation || yt(r.val), r.val;
3148
+ return t != null && t.captureLocation || vt(r.val), r.val;
3149
3149
  }
3150
- var Se;
3150
+ var Me;
3151
3151
  (function(e) {
3152
3152
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3153
- })(Se || (Se = {}));
3154
- var Qe = (
3153
+ })(Me || (Me = {}));
3154
+ var qe = (
3155
3155
  /** @class */
3156
3156
  function(e) {
3157
- Je(t, e);
3157
+ Qe(t, e);
3158
3158
  function t(r, n, i) {
3159
3159
  var s = e.call(this, r) || this;
3160
3160
  return s.code = n, s.originalMessage = i, s;
@@ -3166,54 +3166,54 @@ var Qe = (
3166
3166
  ), kt = (
3167
3167
  /** @class */
3168
3168
  function(e) {
3169
- Je(t, e);
3169
+ Qe(t, e);
3170
3170
  function t(r, n, i, s) {
3171
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Se.INVALID_VALUE, s) || this;
3171
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Me.INVALID_VALUE, s) || this;
3172
3172
  }
3173
3173
  return t;
3174
- }(Qe)
3174
+ }(qe)
3175
3175
  ), mi = (
3176
3176
  /** @class */
3177
3177
  function(e) {
3178
- Je(t, e);
3178
+ Qe(t, e);
3179
3179
  function t(r, n, i) {
3180
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Se.INVALID_VALUE, i) || this;
3180
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Me.INVALID_VALUE, i) || this;
3181
3181
  }
3182
3182
  return t;
3183
- }(Qe)
3183
+ }(qe)
3184
3184
  ), di = (
3185
3185
  /** @class */
3186
3186
  function(e) {
3187
- Je(t, e);
3187
+ Qe(t, e);
3188
3188
  function t(r, n) {
3189
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Se.MISSING_VALUE, n) || this;
3189
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Me.MISSING_VALUE, n) || this;
3190
3190
  }
3191
3191
  return t;
3192
- }(Qe)
3192
+ }(qe)
3193
3193
  ), J;
3194
3194
  (function(e) {
3195
3195
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3196
3196
  })(J || (J = {}));
3197
- function gi(e) {
3197
+ function pi(e) {
3198
3198
  return e.length < 2 ? e : e.reduce(function(t, r) {
3199
3199
  var n = t[t.length - 1];
3200
3200
  return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3201
3201
  }, []);
3202
3202
  }
3203
- function pi(e) {
3203
+ function gi(e) {
3204
3204
  return typeof e == "function";
3205
3205
  }
3206
- function je(e, t, r, n, i, s, o) {
3207
- if (e.length === 1 && Ct(e[0]))
3206
+ function Ze(e, t, r, n, i, s, o) {
3207
+ if (e.length === 1 && Pt(e[0]))
3208
3208
  return [
3209
3209
  {
3210
3210
  type: J.literal,
3211
3211
  value: e[0].value
3212
3212
  }
3213
3213
  ];
3214
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3215
- var h = u[l];
3216
- if (Ct(h)) {
3214
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3215
+ var h = l[u];
3216
+ if (Pt(h)) {
3217
3217
  a.push({
3218
3218
  type: J.literal,
3219
3219
  value: h.value
@@ -3227,91 +3227,91 @@ function je(e, t, r, n, i, s, o) {
3227
3227
  });
3228
3228
  continue;
3229
3229
  }
3230
- var f = h.value;
3231
- if (!(i && f in i))
3232
- throw new di(f, o);
3233
- var c = i[f];
3234
- if (Dn(h)) {
3235
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3236
- type: typeof c == "string" ? J.literal : J.object,
3237
- value: c
3230
+ var c = h.value;
3231
+ if (!(i && c in i))
3232
+ throw new di(c, o);
3233
+ var d = i[c];
3234
+ if (In(h)) {
3235
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3236
+ type: typeof d == "string" ? J.literal : J.object,
3237
+ value: d
3238
3238
  });
3239
3239
  continue;
3240
3240
  }
3241
3241
  if (mr(h)) {
3242
- var x = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3242
+ var _ = typeof h.style == "string" ? n.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3243
3243
  a.push({
3244
3244
  type: J.literal,
3245
- value: r.getDateTimeFormat(t, x).format(c)
3245
+ value: r.getDateTimeFormat(t, _).format(d)
3246
3246
  });
3247
3247
  continue;
3248
3248
  }
3249
3249
  if (dr(h)) {
3250
- var x = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3250
+ var _ = typeof h.style == "string" ? n.time[h.style] : dt(h.style) ? h.style.parsedOptions : n.time.medium;
3251
3251
  a.push({
3252
3252
  type: J.literal,
3253
- value: r.getDateTimeFormat(t, x).format(c)
3253
+ value: r.getDateTimeFormat(t, _).format(d)
3254
3254
  });
3255
3255
  continue;
3256
3256
  }
3257
- if (cr(h)) {
3258
- var x = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
3259
- x && x.scale && (c = c * (x.scale || 1)), a.push({
3257
+ if (fr(h)) {
3258
+ var _ = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
3259
+ _ && _.scale && (d = d * (_.scale || 1)), a.push({
3260
3260
  type: J.literal,
3261
- value: r.getNumberFormat(t, x).format(c)
3261
+ value: r.getNumberFormat(t, _).format(d)
3262
3262
  });
3263
3263
  continue;
3264
3264
  }
3265
3265
  if (br(h)) {
3266
- var w = h.children, b = h.value, M = i[b];
3267
- if (!pi(M))
3268
- throw new mi(b, "function", o);
3269
- var P = je(w, t, r, n, i, s), I = M(P.map(function(C) {
3270
- return C.value;
3266
+ var E = h.children, f = h.value, w = i[f];
3267
+ if (!gi(w))
3268
+ throw new mi(f, "function", o);
3269
+ var P = Ze(E, t, r, n, i, s), I = w(P.map(function(N) {
3270
+ return N.value;
3271
3271
  }));
3272
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(C) {
3272
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
3273
3273
  return {
3274
- type: typeof C == "string" ? J.literal : J.object,
3275
- value: C
3274
+ type: typeof N == "string" ? J.literal : J.object,
3275
+ value: N
3276
3276
  };
3277
3277
  }));
3278
3278
  }
3279
- if (gr(h)) {
3280
- var A = h.options[c] || h.options.other;
3281
- if (!A)
3282
- throw new kt(h.value, c, Object.keys(h.options), o);
3283
- a.push.apply(a, je(A.value, t, r, n, i));
3279
+ if (pr(h)) {
3280
+ var T = h.options[d] || h.options.other;
3281
+ if (!T)
3282
+ throw new kt(h.value, d, Object.keys(h.options), o);
3283
+ a.push.apply(a, Ze(T.value, t, r, n, i));
3284
3284
  continue;
3285
3285
  }
3286
- if (pr(h)) {
3287
- var A = h.options["=".concat(c)];
3288
- if (!A) {
3286
+ if (gr(h)) {
3287
+ var T = h.options["=".concat(d)];
3288
+ if (!T) {
3289
3289
  if (!Intl.PluralRules)
3290
- throw new Qe(`Intl.PluralRules is not available in this environment.
3290
+ throw new qe(`Intl.PluralRules is not available in this environment.
3291
3291
  Try polyfilling it using "@formatjs/intl-pluralrules"
3292
- `, Se.MISSING_INTL_API, o);
3293
- var D = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3294
- A = h.options[D] || h.options.other;
3292
+ `, Me.MISSING_INTL_API, o);
3293
+ var R = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3294
+ T = h.options[R] || h.options.other;
3295
3295
  }
3296
- if (!A)
3297
- throw new kt(h.value, c, Object.keys(h.options), o);
3298
- a.push.apply(a, je(A.value, t, r, n, i, c - (h.offset || 0)));
3296
+ if (!T)
3297
+ throw new kt(h.value, d, Object.keys(h.options), o);
3298
+ a.push.apply(a, Ze(T.value, t, r, n, i, d - (h.offset || 0)));
3299
3299
  continue;
3300
3300
  }
3301
3301
  }
3302
- return gi(a);
3302
+ return pi(a);
3303
3303
  }
3304
3304
  function bi(e, t) {
3305
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3306
- return r[n] = O(O({}, e[n]), t[n] || {}), r;
3305
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3306
+ return r[n] = A(A({}, e[n]), t[n] || {}), r;
3307
3307
  }, {})) : e;
3308
3308
  }
3309
3309
  function yi(e, t) {
3310
3310
  return t ? Object.keys(e).reduce(function(r, n) {
3311
3311
  return r[n] = bi(e[n], t[n]), r;
3312
- }, O({}, e)) : e;
3312
+ }, A({}, e)) : e;
3313
3313
  }
3314
- function ot(e) {
3314
+ function at(e) {
3315
3315
  return {
3316
3316
  create: function() {
3317
3317
  return {
@@ -3331,33 +3331,33 @@ function vi(e) {
3331
3331
  dateTime: {},
3332
3332
  pluralRules: {}
3333
3333
  }), {
3334
- getNumberFormat: nt(function() {
3334
+ getNumberFormat: it(function() {
3335
3335
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3336
  r[n] = arguments[n];
3337
- return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
3337
+ return new ((t = Intl.NumberFormat).bind.apply(t, nt([void 0], r, !1)))();
3338
3338
  }, {
3339
- cache: ot(e.number),
3340
- strategy: it.variadic
3339
+ cache: at(e.number),
3340
+ strategy: st.variadic
3341
3341
  }),
3342
- getDateTimeFormat: nt(function() {
3342
+ getDateTimeFormat: it(function() {
3343
3343
  for (var t, r = [], n = 0; n < arguments.length; n++)
3344
3344
  r[n] = arguments[n];
3345
- return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
3345
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, nt([void 0], r, !1)))();
3346
3346
  }, {
3347
- cache: ot(e.dateTime),
3348
- strategy: it.variadic
3347
+ cache: at(e.dateTime),
3348
+ strategy: st.variadic
3349
3349
  }),
3350
- getPluralRules: nt(function() {
3350
+ getPluralRules: it(function() {
3351
3351
  for (var t, r = [], n = 0; n < arguments.length; n++)
3352
3352
  r[n] = arguments[n];
3353
- return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
3353
+ return new ((t = Intl.PluralRules).bind.apply(t, nt([void 0], r, !1)))();
3354
3354
  }, {
3355
- cache: ot(e.pluralRules),
3356
- strategy: it.variadic
3355
+ cache: at(e.pluralRules),
3356
+ strategy: st.variadic
3357
3357
  })
3358
3358
  };
3359
3359
  }
3360
- var Tr = (
3360
+ var Cr = (
3361
3361
  /** @class */
3362
3362
  function() {
3363
3363
  function e(t, r, n, i) {
@@ -3367,20 +3367,20 @@ var Tr = (
3367
3367
  number: {},
3368
3368
  dateTime: {},
3369
3369
  pluralRules: {}
3370
- }, this.format = function(l) {
3371
- var u = s.formatToParts(l);
3372
- if (u.length === 1)
3373
- return u[0].value;
3374
- var h = u.reduce(function(f, c) {
3375
- return !f.length || c.type !== J.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3370
+ }, this.format = function(u) {
3371
+ var l = s.formatToParts(u);
3372
+ if (l.length === 1)
3373
+ return l[0].value;
3374
+ var h = l.reduce(function(c, d) {
3375
+ return !c.length || d.type !== J.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3376
3376
  }, []);
3377
3377
  return h.length <= 1 ? h[0] || "" : h;
3378
- }, this.formatToParts = function(l) {
3379
- return je(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3378
+ }, this.formatToParts = function(u) {
3379
+ return Ze(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3380
3380
  }, this.resolvedOptions = function() {
3381
- var l;
3381
+ var u;
3382
3382
  return {
3383
- locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3383
+ locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3384
3384
  };
3385
3385
  }, this.getAst = function() {
3386
3386
  return s.ast;
@@ -3389,8 +3389,8 @@ var Tr = (
3389
3389
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3390
3390
  var o = i || {};
3391
3391
  o.formatters;
3392
- var a = On(o, ["formatters"]);
3393
- this.ast = e.__parse(t, O(O({}, a), { locale: this.resolvedLocale }));
3392
+ var a = An(o, ["formatters"]);
3393
+ this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3394
3394
  } else
3395
3395
  this.ast = t;
3396
3396
  if (!Array.isArray(this.ast))
@@ -3408,7 +3408,7 @@ var Tr = (
3408
3408
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3409
3409
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3410
3410
  }
3411
- }, e.__parse = ci, e.formats = {
3411
+ }, e.__parse = fi, e.formats = {
3412
3412
  number: {
3413
3413
  integer: {
3414
3414
  maximumFractionDigits: 0
@@ -3469,7 +3469,7 @@ var Tr = (
3469
3469
  }, e;
3470
3470
  }()
3471
3471
  );
3472
- function xi(e, t) {
3472
+ function _i(e, t) {
3473
3473
  if (t == null)
3474
3474
  return;
3475
3475
  if (t in e)
@@ -3490,101 +3490,101 @@ function xi(e, t) {
3490
3490
  n = void 0;
3491
3491
  return n;
3492
3492
  }
3493
- const de = {}, Ei = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Hr = (e, t) => {
3493
+ const de = {}, Ei = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Sr = (e, t) => {
3494
3494
  if (t == null)
3495
3495
  return;
3496
3496
  if (t in de && e in de[t])
3497
3497
  return de[t][e];
3498
- const r = De(t);
3498
+ const r = Re(t);
3499
3499
  for (let n = 0; n < r.length; n++) {
3500
- const i = r[n], s = wi(i, e);
3500
+ const i = r[n], s = Li(i, e);
3501
3501
  if (s)
3502
3502
  return Ei(e, t, s);
3503
3503
  }
3504
3504
  };
3505
3505
  let Mt;
3506
- const Ie = Ze({});
3507
- function _i(e) {
3506
+ const Ie = Je({});
3507
+ function xi(e) {
3508
3508
  return Mt[e] || null;
3509
3509
  }
3510
- function Lr(e) {
3510
+ function Hr(e) {
3511
3511
  return e in Mt;
3512
3512
  }
3513
- function wi(e, t) {
3514
- if (!Lr(e))
3513
+ function Li(e, t) {
3514
+ if (!Hr(e))
3515
3515
  return null;
3516
- const r = _i(e);
3517
- return xi(r, t);
3516
+ const r = xi(e);
3517
+ return _i(r, t);
3518
3518
  }
3519
- function Mi(e) {
3519
+ function wi(e) {
3520
3520
  if (e == null)
3521
3521
  return;
3522
- const t = De(e);
3522
+ const t = Re(e);
3523
3523
  for (let r = 0; r < t.length; r++) {
3524
3524
  const n = t[r];
3525
- if (Lr(n))
3525
+ if (Hr(n))
3526
3526
  return n;
3527
3527
  }
3528
3528
  }
3529
- function Ar(e, ...t) {
3530
- delete de[e], Ie.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3529
+ function Tr(e, ...t) {
3530
+ delete de[e], Ie.update((r) => (r[e] = Tn.all([r[e] || {}, ...t]), r));
3531
3531
  }
3532
- Le(
3532
+ He(
3533
3533
  [Ie],
3534
3534
  ([e]) => Object.keys(e)
3535
3535
  );
3536
3536
  Ie.subscribe((e) => Mt = e);
3537
3537
  const Ve = {};
3538
- function Si(e, t) {
3538
+ function Mi(e, t) {
3539
3539
  Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3540
3540
  }
3541
- function Or(e) {
3541
+ function Ar(e) {
3542
3542
  return Ve[e];
3543
3543
  }
3544
- function Ti(e) {
3545
- return De(e).map((t) => {
3546
- const r = Or(t);
3544
+ function Ci(e) {
3545
+ return Re(e).map((t) => {
3546
+ const r = Ar(t);
3547
3547
  return [t, r ? [...r] : []];
3548
3548
  }).filter(([, t]) => t.length > 0);
3549
3549
  }
3550
- function Xe(e) {
3551
- return e == null ? !1 : De(e).some(
3550
+ function We(e) {
3551
+ return e == null ? !1 : Re(e).some(
3552
3552
  (t) => {
3553
3553
  var r;
3554
- return (r = Or(t)) == null ? void 0 : r.size;
3554
+ return (r = Ar(t)) == null ? void 0 : r.size;
3555
3555
  }
3556
3556
  );
3557
3557
  }
3558
- function Hi(e, t) {
3558
+ function Si(e, t) {
3559
3559
  return Promise.all(
3560
- t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
3561
- ).then((n) => Ar(e, ...n));
3562
- }
3563
- const Oe = {};
3564
- function $r(e) {
3565
- if (!Xe(e))
3566
- return e in Oe ? Oe[e] : Promise.resolve();
3567
- const t = Ti(e);
3568
- return Oe[e] = Promise.all(
3560
+ t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
3561
+ ).then((n) => Tr(e, ...n));
3562
+ }
3563
+ const Ae = {};
3564
+ function Or(e) {
3565
+ if (!We(e))
3566
+ return e in Ae ? Ae[e] : Promise.resolve();
3567
+ const t = Ci(e);
3568
+ return Ae[e] = Promise.all(
3569
3569
  t.map(
3570
- ([r, n]) => Hi(r, n)
3570
+ ([r, n]) => Si(r, n)
3571
3571
  )
3572
3572
  ).then(() => {
3573
- if (Xe(e))
3574
- return $r(e);
3575
- delete Oe[e];
3576
- }), Oe[e];
3573
+ if (We(e))
3574
+ return Or(e);
3575
+ delete Ae[e];
3576
+ }), Ae[e];
3577
3577
  }
3578
- var Ft = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Oi = (e, t) => {
3578
+ var Ft = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Ai = (e, t) => {
3579
3579
  var r = {};
3580
3580
  for (var n in e)
3581
- Li.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3581
+ Hi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3582
3582
  if (e != null && Ft)
3583
3583
  for (var n of Ft(e))
3584
- t.indexOf(n) < 0 && Ai.call(e, n) && (r[n] = e[n]);
3584
+ t.indexOf(n) < 0 && Ti.call(e, n) && (r[n] = e[n]);
3585
3585
  return r;
3586
3586
  };
3587
- const $i = {
3587
+ const Oi = {
3588
3588
  number: {
3589
3589
  scientific: { notation: "scientific" },
3590
3590
  engineering: { notation: "engineering" },
@@ -3614,157 +3614,157 @@ const $i = {
3614
3614
  }
3615
3615
  }
3616
3616
  };
3617
- function Bi({ locale: e, id: t }) {
3617
+ function $i({ locale: e, id: t }) {
3618
3618
  console.warn(
3619
- `[svelte-i18n] The message "${t}" was not found in "${De(
3619
+ `[svelte-i18n] The message "${t}" was not found in "${Re(
3620
3620
  e
3621
- ).join('", "')}".${Xe(ge()) ? `
3621
+ ).join('", "')}".${We(pe()) ? `
3622
3622
 
3623
3623
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3624
3624
  );
3625
3625
  }
3626
- const Pi = {
3626
+ const Bi = {
3627
3627
  fallbackLocale: null,
3628
3628
  loadingDelay: 200,
3629
- formats: $i,
3629
+ formats: Oi,
3630
3630
  warnOnMissingMessages: !0,
3631
3631
  handleMissingMessage: void 0,
3632
3632
  ignoreTag: !0
3633
- }, $e = Pi;
3634
- function Te() {
3635
- return $e;
3633
+ }, Oe = Bi;
3634
+ function Ce() {
3635
+ return Oe;
3636
3636
  }
3637
- function Ci(e) {
3638
- const t = e, { formats: r } = t, n = Oi(t, ["formats"]);
3637
+ function Pi(e) {
3638
+ const t = e, { formats: r } = t, n = Ai(t, ["formats"]);
3639
3639
  let i = e.fallbackLocale;
3640
3640
  if (e.initialLocale)
3641
3641
  try {
3642
- Tr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3642
+ Cr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3643
3643
  } catch (s) {
3644
3644
  console.warn(
3645
3645
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3646
3646
  );
3647
3647
  }
3648
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Bi : console.warn(
3648
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = $i : console.warn(
3649
3649
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3650
- )), Object.assign($e, n, { initialLocale: i }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), be.set(i);
3650
+ )), Object.assign(Oe, n, { initialLocale: i }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), be.set(i);
3651
3651
  }
3652
- const at = Ze(!1);
3653
- var Ni = Object.defineProperty, Ii = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
3652
+ const lt = Je(!1);
3653
+ var Ni = Object.defineProperty, Di = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
3654
3654
  for (var r in t || (t = {}))
3655
- Ri.call(t, r) && Vt(e, r, t[r]);
3655
+ Ri.call(t, r) && Zt(e, r, t[r]);
3656
3656
  if (jt)
3657
3657
  for (var r of jt(t))
3658
- Ui.call(t, r) && Vt(e, r, t[r]);
3658
+ Ui.call(t, r) && Zt(e, r, t[r]);
3659
3659
  return e;
3660
- }, ki = (e, t) => Ii(e, Di(t));
3661
- let vt;
3662
- const We = Ze(null);
3663
- function zt(e) {
3660
+ }, ki = (e, t) => Di(e, Ii(t));
3661
+ let _t;
3662
+ const ze = Je(null);
3663
+ function Vt(e) {
3664
3664
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3665
3665
  }
3666
- function De(e, t = Te().fallbackLocale) {
3667
- const r = zt(e);
3668
- return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
3666
+ function Re(e, t = Ce().fallbackLocale) {
3667
+ const r = Vt(e);
3668
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
3669
3669
  }
3670
- function ge() {
3671
- return vt != null ? vt : void 0;
3670
+ function pe() {
3671
+ return _t != null ? _t : void 0;
3672
3672
  }
3673
- We.subscribe((e) => {
3674
- vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3673
+ ze.subscribe((e) => {
3674
+ _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3675
3675
  });
3676
3676
  const Fi = (e) => {
3677
- if (e && Mi(e) && Xe(e)) {
3678
- const { loadingDelay: t } = Te();
3677
+ if (e && wi(e) && We(e)) {
3678
+ const { loadingDelay: t } = Ce();
3679
3679
  let r;
3680
- return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
3681
- () => at.set(!0),
3680
+ return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
3681
+ () => lt.set(!0),
3682
3682
  t
3683
- ) : at.set(!0), $r(e).then(() => {
3684
- We.set(e);
3683
+ ) : lt.set(!0), Or(e).then(() => {
3684
+ ze.set(e);
3685
3685
  }).finally(() => {
3686
- clearTimeout(r), at.set(!1);
3686
+ clearTimeout(r), lt.set(!1);
3687
3687
  });
3688
3688
  }
3689
- return We.set(e);
3690
- }, be = ki(Gi({}, We), {
3689
+ return ze.set(e);
3690
+ }, be = ki(Gi({}, ze), {
3691
3691
  set: Fi
3692
- }), qe = (e) => {
3692
+ }), Ke = (e) => {
3693
3693
  const t = /* @__PURE__ */ Object.create(null);
3694
3694
  return (n) => {
3695
3695
  const i = JSON.stringify(n);
3696
3696
  return i in t ? t[i] : t[i] = e(n);
3697
3697
  };
3698
3698
  };
3699
- var ji = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, St = (e, t) => {
3699
+ var ji = Object.defineProperty, Ye = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ct = (e, t) => {
3700
3700
  for (var r in t || (t = {}))
3701
- Br.call(t, r) && Xt(e, r, t[r]);
3701
+ $r.call(t, r) && Xt(e, r, t[r]);
3702
3702
  if (Ye)
3703
3703
  for (var r of Ye(t))
3704
- Pr.call(t, r) && Xt(e, r, t[r]);
3704
+ Br.call(t, r) && Xt(e, r, t[r]);
3705
3705
  return e;
3706
- }, Ae = (e, t) => {
3706
+ }, Te = (e, t) => {
3707
3707
  var r = {};
3708
3708
  for (var n in e)
3709
- Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3709
+ $r.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3710
3710
  if (e != null && Ye)
3711
3711
  for (var n of Ye(e))
3712
- t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
3712
+ t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
3713
3713
  return r;
3714
3714
  };
3715
- const Ne = (e, t) => {
3716
- const { formats: r } = Te();
3715
+ const De = (e, t) => {
3716
+ const { formats: r } = Ce();
3717
3717
  if (e in r && t in r[e])
3718
3718
  return r[e][t];
3719
3719
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3720
- }, Vi = qe(
3720
+ }, Zi = Ke(
3721
3721
  (e) => {
3722
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3722
+ var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3723
3723
  if (r == null)
3724
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3725
- return n && (i = Ne("number", n)), new Intl.NumberFormat(r, i);
3725
+ return n && (i = De("number", n)), new Intl.NumberFormat(r, i);
3726
3726
  }
3727
- ), zi = qe(
3727
+ ), Vi = Ke(
3728
3728
  (e) => {
3729
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3729
+ var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3730
3730
  if (r == null)
3731
3731
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3732
- return n ? i = Ne("date", n) : Object.keys(i).length === 0 && (i = Ne("date", "short")), new Intl.DateTimeFormat(r, i);
3732
+ return n ? i = De("date", n) : Object.keys(i).length === 0 && (i = De("date", "short")), new Intl.DateTimeFormat(r, i);
3733
3733
  }
3734
- ), Xi = qe(
3734
+ ), Xi = Ke(
3735
3735
  (e) => {
3736
- var t = e, { locale: r, format: n } = t, i = Ae(t, ["locale", "format"]);
3736
+ var t = e, { locale: r, format: n } = t, i = Te(t, ["locale", "format"]);
3737
3737
  if (r == null)
3738
3738
  throw new Error(
3739
3739
  '[svelte-i18n] A "locale" must be set to format time values'
3740
3740
  );
3741
- return n ? i = Ne("time", n) : Object.keys(i).length === 0 && (i = Ne("time", "short")), new Intl.DateTimeFormat(r, i);
3741
+ return n ? i = De("time", n) : Object.keys(i).length === 0 && (i = De("time", "short")), new Intl.DateTimeFormat(r, i);
3742
3742
  }
3743
3743
  ), Wi = (e = {}) => {
3744
3744
  var t = e, {
3745
- locale: r = ge()
3746
- } = t, n = Ae(t, [
3745
+ locale: r = pe()
3746
+ } = t, n = Te(t, [
3747
3747
  "locale"
3748
3748
  ]);
3749
- return Vi(St({ locale: r }, n));
3750
- }, Yi = (e = {}) => {
3749
+ return Zi(Ct({ locale: r }, n));
3750
+ }, zi = (e = {}) => {
3751
3751
  var t = e, {
3752
- locale: r = ge()
3753
- } = t, n = Ae(t, [
3752
+ locale: r = pe()
3753
+ } = t, n = Te(t, [
3754
3754
  "locale"
3755
3755
  ]);
3756
- return zi(St({ locale: r }, n));
3757
- }, Zi = (e = {}) => {
3756
+ return Vi(Ct({ locale: r }, n));
3757
+ }, Yi = (e = {}) => {
3758
3758
  var t = e, {
3759
- locale: r = ge()
3760
- } = t, n = Ae(t, [
3759
+ locale: r = pe()
3760
+ } = t, n = Te(t, [
3761
3761
  "locale"
3762
3762
  ]);
3763
- return Xi(St({ locale: r }, n));
3764
- }, Ji = qe(
3763
+ return Xi(Ct({ locale: r }, n));
3764
+ }, Ji = Ke(
3765
3765
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3766
- (e, t = ge()) => new Tr(e, t, Te().formats, {
3767
- ignoreTag: Te().ignoreTag
3766
+ (e, t = pe()) => new Cr(e, t, Ce().formats, {
3767
+ ignoreTag: Ce().ignoreTag
3768
3768
  })
3769
3769
  ), Qi = (e, t = {}) => {
3770
3770
  var r, n, i, s;
@@ -3772,46 +3772,46 @@ const Ne = (e, t) => {
3772
3772
  typeof e == "object" && (o = e, e = o.id);
3773
3773
  const {
3774
3774
  values: a,
3775
- locale: l = ge(),
3776
- default: u
3775
+ locale: u = pe(),
3776
+ default: l
3777
3777
  } = o;
3778
- if (l == null)
3778
+ if (u == null)
3779
3779
  throw new Error(
3780
3780
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3781
3781
  );
3782
- let h = Hr(e, l);
3782
+ let h = Sr(e, u);
3783
3783
  if (!h)
3784
- h = (s = (i = (n = (r = Te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3784
+ h = (s = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
3785
3785
  else if (typeof h != "string")
3786
3786
  return console.warn(
3787
3787
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3788
3788
  ), h;
3789
3789
  if (!a)
3790
3790
  return h;
3791
- let f = h;
3791
+ let c = h;
3792
3792
  try {
3793
- f = Ji(h, l).format(a);
3794
- } catch (c) {
3795
- c instanceof Error && console.warn(
3793
+ c = Ji(h, u).format(a);
3794
+ } catch (d) {
3795
+ d instanceof Error && console.warn(
3796
3796
  `[svelte-i18n] Message "${e}" has syntax error:`,
3797
- c.message
3797
+ d.message
3798
3798
  );
3799
3799
  }
3800
- return f;
3801
- }, qi = (e, t) => Zi(t).format(e), Ki = (e, t) => Yi(t).format(e), es = (e, t) => Wi(t).format(e), ts = (e, t = ge()) => Hr(e, t), rs = Le([be, Ie], () => Qi);
3802
- Le([be], () => qi);
3803
- Le([be], () => Ki);
3804
- Le([be], () => es);
3805
- Le([be, Ie], () => ts);
3800
+ return c;
3801
+ }, qi = (e, t) => Yi(t).format(e), Ki = (e, t) => zi(t).format(e), es = (e, t) => Wi(t).format(e), ts = (e, t = pe()) => Sr(e, t), rs = He([be, Ie], () => Qi);
3802
+ He([be], () => qi);
3803
+ He([be], () => Ki);
3804
+ He([be], () => es);
3805
+ He([be, Ie], () => ts);
3806
3806
  function Wt(e, t) {
3807
- Ar(e, t);
3807
+ Tr(e, t);
3808
3808
  }
3809
3809
  function ns(e) {
3810
- Ci({
3810
+ Pi({
3811
3811
  fallbackLocale: "en"
3812
3812
  }), be.set(e);
3813
3813
  }
3814
- const Yt = {
3814
+ const zt = {
3815
3815
  en: {
3816
3816
  generalMin: "Min",
3817
3817
  generalMax: "Max",
@@ -3845,193 +3845,193 @@ const Yt = {
3845
3845
  showLess: "SHOW LESS"
3846
3846
  }
3847
3847
  };
3848
- var Cr = { exports: {} };
3848
+ var Pr = { exports: {} };
3849
3849
  (function(e, t) {
3850
3850
  (function(r, n) {
3851
3851
  e.exports = n();
3852
- })(ur, function() {
3853
- var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", l = "hour", u = "day", h = "week", f = "month", c = "quarter", x = "year", w = "date", b = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
3854
- var p = ["th", "st", "nd", "rd"], m = E % 100;
3855
- return "[" + E + (p[(m - 20) % 10] || p[m] || p[0]) + "]";
3856
- } }, A = function(E, p, m) {
3857
- var y = String(E);
3858
- return !y || y.length >= p ? E : "" + Array(p + 1 - y.length).join(m) + E;
3859
- }, D = { s: A, z: function(E) {
3860
- var p = -E.utcOffset(), m = Math.abs(p), y = Math.floor(m / 60), g = m % 60;
3861
- return (p <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(g, 2, "0");
3862
- }, m: function E(p, m) {
3863
- if (p.date() < m.date())
3864
- return -E(m, p);
3865
- var y = 12 * (m.year() - p.year()) + (m.month() - p.month()), g = p.clone().add(y, f), _ = m - g < 0, v = p.clone().add(y + (_ ? -1 : 1), f);
3866
- return +(-(y + (m - g) / (_ ? g - v : v - g)) || 0);
3867
- }, a: function(E) {
3868
- return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
3869
- }, p: function(E) {
3870
- return { M: f, y: x, w: h, d: u, D: w, h: l, m: a, s: o, ms: s, Q: c }[E] || String(E || "").toLowerCase().replace(/s$/, "");
3871
- }, u: function(E) {
3872
- return E === void 0;
3873
- } }, C = "en", j = {};
3874
- j[C] = I;
3875
- var G = "$isDayjsObject", K = function(E) {
3876
- return E instanceof re || !(!E || !E[G]);
3877
- }, W = function E(p, m, y) {
3852
+ })(lr, function() {
3853
+ var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", u = "hour", l = "day", h = "week", c = "month", d = "quarter", _ = "year", E = "date", f = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, I = { 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) {
3854
+ var b = ["th", "st", "nd", "rd"], m = x % 100;
3855
+ return "[" + x + (b[(m - 20) % 10] || b[m] || b[0]) + "]";
3856
+ } }, T = function(x, b, m) {
3857
+ var y = String(x);
3858
+ return !y || y.length >= b ? x : "" + Array(b + 1 - y.length).join(m) + x;
3859
+ }, R = { s: T, z: function(x) {
3860
+ var b = -x.utcOffset(), m = Math.abs(b), y = Math.floor(m / 60), g = m % 60;
3861
+ return (b <= 0 ? "+" : "-") + T(y, 2, "0") + ":" + T(g, 2, "0");
3862
+ }, m: function x(b, m) {
3863
+ if (b.date() < m.date())
3864
+ return -x(m, b);
3865
+ var y = 12 * (m.year() - b.year()) + (m.month() - b.month()), g = b.clone().add(y, c), L = m - g < 0, v = b.clone().add(y + (L ? -1 : 1), c);
3866
+ return +(-(y + (m - g) / (L ? g - v : v - g)) || 0);
3867
+ }, a: function(x) {
3868
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3869
+ }, p: function(x) {
3870
+ return { M: c, y: _, w: h, d: l, D: E, h: u, m: a, s: o, ms: s, Q: d }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3871
+ }, u: function(x) {
3872
+ return x === void 0;
3873
+ } }, N = "en", j = {};
3874
+ j[N] = I;
3875
+ var F = "$isDayjsObject", K = function(x) {
3876
+ return x instanceof ne || !(!x || !x[F]);
3877
+ }, W = function x(b, m, y) {
3878
3878
  var g;
3879
- if (!p)
3880
- return C;
3881
- if (typeof p == "string") {
3882
- var _ = p.toLowerCase();
3883
- j[_] && (g = _), m && (j[_] = m, g = _);
3884
- var v = p.split("-");
3879
+ if (!b)
3880
+ return N;
3881
+ if (typeof b == "string") {
3882
+ var L = b.toLowerCase();
3883
+ j[L] && (g = L), m && (j[L] = m, g = L);
3884
+ var v = b.split("-");
3885
3885
  if (!g && v.length > 1)
3886
- return E(v[0]);
3886
+ return x(v[0]);
3887
3887
  } else {
3888
- var $ = p.name;
3889
- j[$] = p, g = $;
3888
+ var O = b.name;
3889
+ j[O] = b, g = O;
3890
3890
  }
3891
- return !y && g && (C = g), g || !y && C;
3892
- }, N = function(E, p) {
3893
- if (K(E))
3894
- return E.clone();
3895
- var m = typeof p == "object" ? p : {};
3896
- return m.date = E, m.args = arguments, new re(m);
3897
- }, S = D;
3898
- S.l = W, S.i = K, S.w = function(E, p) {
3899
- return N(E, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
3891
+ return !y && g && (N = g), g || !y && N;
3892
+ }, D = function(x, b) {
3893
+ if (K(x))
3894
+ return x.clone();
3895
+ var m = typeof b == "object" ? b : {};
3896
+ return m.date = x, m.args = arguments, new ne(m);
3897
+ }, M = R;
3898
+ M.l = W, M.i = K, M.w = function(x, b) {
3899
+ return D(x, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
3900
3900
  };
3901
- var re = function() {
3902
- function E(m) {
3903
- this.$L = W(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[G] = !0;
3901
+ var ne = function() {
3902
+ function x(m) {
3903
+ this.$L = W(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[F] = !0;
3904
3904
  }
3905
- var p = E.prototype;
3906
- return p.parse = function(m) {
3905
+ var b = x.prototype;
3906
+ return b.parse = function(m) {
3907
3907
  this.$d = function(y) {
3908
- var g = y.date, _ = y.utc;
3908
+ var g = y.date, L = y.utc;
3909
3909
  if (g === null)
3910
3910
  return /* @__PURE__ */ new Date(NaN);
3911
- if (S.u(g))
3911
+ if (M.u(g))
3912
3912
  return /* @__PURE__ */ new Date();
3913
3913
  if (g instanceof Date)
3914
3914
  return new Date(g);
3915
3915
  if (typeof g == "string" && !/Z$/i.test(g)) {
3916
- var v = g.match(M);
3916
+ var v = g.match(w);
3917
3917
  if (v) {
3918
- var $ = v[2] - 1 || 0, U = (v[7] || "0").substring(0, 3);
3919
- return _ ? new Date(Date.UTC(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U)) : new Date(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U);
3918
+ var O = v[2] - 1 || 0, G = (v[7] || "0").substring(0, 3);
3919
+ return L ? new Date(Date.UTC(v[1], O, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G)) : new Date(v[1], O, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, G);
3920
3920
  }
3921
3921
  }
3922
3922
  return new Date(g);
3923
3923
  }(m), this.init();
3924
- }, p.init = function() {
3924
+ }, b.init = function() {
3925
3925
  var m = this.$d;
3926
3926
  this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
3927
- }, p.$utils = function() {
3928
- return S;
3929
- }, p.isValid = function() {
3930
- return this.$d.toString() !== b;
3931
- }, p.isSame = function(m, y) {
3932
- var g = N(m);
3927
+ }, b.$utils = function() {
3928
+ return M;
3929
+ }, b.isValid = function() {
3930
+ return this.$d.toString() !== f;
3931
+ }, b.isSame = function(m, y) {
3932
+ var g = D(m);
3933
3933
  return this.startOf(y) <= g && g <= this.endOf(y);
3934
- }, p.isAfter = function(m, y) {
3935
- return N(m) < this.startOf(y);
3936
- }, p.isBefore = function(m, y) {
3937
- return this.endOf(y) < N(m);
3938
- }, p.$g = function(m, y, g) {
3939
- return S.u(m) ? this[y] : this.set(g, m);
3940
- }, p.unix = function() {
3934
+ }, b.isAfter = function(m, y) {
3935
+ return D(m) < this.startOf(y);
3936
+ }, b.isBefore = function(m, y) {
3937
+ return this.endOf(y) < D(m);
3938
+ }, b.$g = function(m, y, g) {
3939
+ return M.u(m) ? this[y] : this.set(g, m);
3940
+ }, b.unix = function() {
3941
3941
  return Math.floor(this.valueOf() / 1e3);
3942
- }, p.valueOf = function() {
3942
+ }, b.valueOf = function() {
3943
3943
  return this.$d.getTime();
3944
- }, p.startOf = function(m, y) {
3945
- var g = this, _ = !!S.u(y) || y, v = S.p(m), $ = function(fe, Y) {
3946
- var ae = S.w(g.$u ? Date.UTC(g.$y, Y, fe) : new Date(g.$y, Y, fe), g);
3947
- return _ ? ae : ae.endOf(u);
3948
- }, U = function(fe, Y) {
3949
- return S.w(g.toDate()[fe].apply(g.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), g);
3950
- }, V = this.$W, X = this.$M, Q = this.$D, ce = "set" + (this.$u ? "UTC" : "");
3944
+ }, b.startOf = function(m, y) {
3945
+ var g = this, L = !!M.u(y) || y, v = M.p(m), O = function(ce, z) {
3946
+ var le = M.w(g.$u ? Date.UTC(g.$y, z, ce) : new Date(g.$y, z, ce), g);
3947
+ return L ? le : le.endOf(l);
3948
+ }, G = function(ce, z) {
3949
+ return M.w(g.toDate()[ce].apply(g.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), g);
3950
+ }, Z = this.$W, X = this.$M, Q = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3951
3951
  switch (v) {
3952
- case x:
3953
- return _ ? $(1, 0) : $(31, 11);
3954
- case f:
3955
- return _ ? $(1, X) : $(0, X + 1);
3952
+ case _:
3953
+ return L ? O(1, 0) : O(31, 11);
3954
+ case c:
3955
+ return L ? O(1, X) : O(0, X + 1);
3956
3956
  case h:
3957
- var he = this.$locale().weekStart || 0, me = (V < he ? V + 7 : V) - he;
3958
- return $(_ ? Q - me : Q + (6 - me), X);
3959
- case u:
3960
- case w:
3961
- return U(ce + "Hours", 0);
3957
+ var he = this.$locale().weekStart || 0, me = (Z < he ? Z + 7 : Z) - he;
3958
+ return O(L ? Q - me : Q + (6 - me), X);
3962
3959
  case l:
3963
- return U(ce + "Minutes", 1);
3960
+ case E:
3961
+ return G(fe + "Hours", 0);
3962
+ case u:
3963
+ return G(fe + "Minutes", 1);
3964
3964
  case a:
3965
- return U(ce + "Seconds", 2);
3965
+ return G(fe + "Seconds", 2);
3966
3966
  case o:
3967
- return U(ce + "Milliseconds", 3);
3967
+ return G(fe + "Milliseconds", 3);
3968
3968
  default:
3969
3969
  return this.clone();
3970
3970
  }
3971
- }, p.endOf = function(m) {
3971
+ }, b.endOf = function(m) {
3972
3972
  return this.startOf(m, !1);
3973
- }, p.$set = function(m, y) {
3974
- var g, _ = S.p(m), v = "set" + (this.$u ? "UTC" : ""), $ = (g = {}, g[u] = v + "Date", g[w] = v + "Date", g[f] = v + "Month", g[x] = v + "FullYear", g[l] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[_], U = _ === u ? this.$D + (y - this.$W) : y;
3975
- if (_ === f || _ === x) {
3976
- var V = this.clone().set(w, 1);
3977
- V.$d[$](U), V.init(), this.$d = V.set(w, Math.min(this.$D, V.daysInMonth())).$d;
3973
+ }, b.$set = function(m, y) {
3974
+ var g, L = M.p(m), v = "set" + (this.$u ? "UTC" : ""), O = (g = {}, g[l] = v + "Date", g[E] = v + "Date", g[c] = v + "Month", g[_] = v + "FullYear", g[u] = v + "Hours", g[a] = v + "Minutes", g[o] = v + "Seconds", g[s] = v + "Milliseconds", g)[L], G = L === l ? this.$D + (y - this.$W) : y;
3975
+ if (L === c || L === _) {
3976
+ var Z = this.clone().set(E, 1);
3977
+ Z.$d[O](G), Z.init(), this.$d = Z.set(E, Math.min(this.$D, Z.daysInMonth())).$d;
3978
3978
  } else
3979
- $ && this.$d[$](U);
3979
+ O && this.$d[O](G);
3980
3980
  return this.init(), this;
3981
- }, p.set = function(m, y) {
3981
+ }, b.set = function(m, y) {
3982
3982
  return this.clone().$set(m, y);
3983
- }, p.get = function(m) {
3984
- return this[S.p(m)]();
3985
- }, p.add = function(m, y) {
3986
- var g, _ = this;
3983
+ }, b.get = function(m) {
3984
+ return this[M.p(m)]();
3985
+ }, b.add = function(m, y) {
3986
+ var g, L = this;
3987
3987
  m = Number(m);
3988
- var v = S.p(y), $ = function(X) {
3989
- var Q = N(_);
3990
- return S.w(Q.date(Q.date() + Math.round(X * m)), _);
3988
+ var v = M.p(y), O = function(X) {
3989
+ var Q = D(L);
3990
+ return M.w(Q.date(Q.date() + Math.round(X * m)), L);
3991
3991
  };
3992
- if (v === f)
3993
- return this.set(f, this.$M + m);
3994
- if (v === x)
3995
- return this.set(x, this.$y + m);
3996
- if (v === u)
3997
- return $(1);
3992
+ if (v === c)
3993
+ return this.set(c, this.$M + m);
3994
+ if (v === _)
3995
+ return this.set(_, this.$y + m);
3996
+ if (v === l)
3997
+ return O(1);
3998
3998
  if (v === h)
3999
- return $(7);
4000
- var U = (g = {}, g[a] = n, g[l] = i, g[o] = r, g)[v] || 1, V = this.$d.getTime() + m * U;
4001
- return S.w(V, this);
4002
- }, p.subtract = function(m, y) {
3999
+ return O(7);
4000
+ var G = (g = {}, g[a] = n, g[u] = i, g[o] = r, g)[v] || 1, Z = this.$d.getTime() + m * G;
4001
+ return M.w(Z, this);
4002
+ }, b.subtract = function(m, y) {
4003
4003
  return this.add(-1 * m, y);
4004
- }, p.format = function(m) {
4004
+ }, b.format = function(m) {
4005
4005
  var y = this, g = this.$locale();
4006
4006
  if (!this.isValid())
4007
- return g.invalidDate || b;
4008
- var _ = m || "YYYY-MM-DDTHH:mm:ssZ", v = S.z(this), $ = this.$H, U = this.$m, V = this.$M, X = g.weekdays, Q = g.months, ce = g.meridiem, he = function(Y, ae, d, B) {
4009
- return Y && (Y[ae] || Y(y, _)) || d[ae].slice(0, B);
4010
- }, me = function(Y) {
4011
- return S.s($ % 12 || 12, Y, "0");
4012
- }, fe = ce || function(Y, ae, d) {
4013
- var B = Y < 12 ? "AM" : "PM";
4014
- return d ? B.toLowerCase() : B;
4007
+ return g.invalidDate || f;
4008
+ var L = m || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), O = this.$H, G = this.$m, Z = this.$M, X = g.weekdays, Q = g.months, fe = g.meridiem, he = function(z, le, p, $) {
4009
+ return z && (z[le] || z(y, L)) || p[le].slice(0, $);
4010
+ }, me = function(z) {
4011
+ return M.s(O % 12 || 12, z, "0");
4012
+ }, ce = fe || function(z, le, p) {
4013
+ var $ = z < 12 ? "AM" : "PM";
4014
+ return p ? $.toLowerCase() : $;
4015
4015
  };
4016
- return _.replace(P, function(Y, ae) {
4017
- return ae || function(d) {
4018
- switch (d) {
4016
+ return L.replace(P, function(z, le) {
4017
+ return le || function(p) {
4018
+ switch (p) {
4019
4019
  case "YY":
4020
4020
  return String(y.$y).slice(-2);
4021
4021
  case "YYYY":
4022
- return S.s(y.$y, 4, "0");
4022
+ return M.s(y.$y, 4, "0");
4023
4023
  case "M":
4024
- return V + 1;
4024
+ return Z + 1;
4025
4025
  case "MM":
4026
- return S.s(V + 1, 2, "0");
4026
+ return M.s(Z + 1, 2, "0");
4027
4027
  case "MMM":
4028
- return he(g.monthsShort, V, Q, 3);
4028
+ return he(g.monthsShort, Z, Q, 3);
4029
4029
  case "MMMM":
4030
- return he(Q, V);
4030
+ return he(Q, Z);
4031
4031
  case "D":
4032
4032
  return y.$D;
4033
4033
  case "DD":
4034
- return S.s(y.$D, 2, "0");
4034
+ return M.s(y.$D, 2, "0");
4035
4035
  case "d":
4036
4036
  return String(y.$W);
4037
4037
  case "dd":
@@ -4041,187 +4041,187 @@ var Cr = { exports: {} };
4041
4041
  case "dddd":
4042
4042
  return X[y.$W];
4043
4043
  case "H":
4044
- return String($);
4044
+ return String(O);
4045
4045
  case "HH":
4046
- return S.s($, 2, "0");
4046
+ return M.s(O, 2, "0");
4047
4047
  case "h":
4048
4048
  return me(1);
4049
4049
  case "hh":
4050
4050
  return me(2);
4051
4051
  case "a":
4052
- return fe($, U, !0);
4052
+ return ce(O, G, !0);
4053
4053
  case "A":
4054
- return fe($, U, !1);
4054
+ return ce(O, G, !1);
4055
4055
  case "m":
4056
- return String(U);
4056
+ return String(G);
4057
4057
  case "mm":
4058
- return S.s(U, 2, "0");
4058
+ return M.s(G, 2, "0");
4059
4059
  case "s":
4060
4060
  return String(y.$s);
4061
4061
  case "ss":
4062
- return S.s(y.$s, 2, "0");
4062
+ return M.s(y.$s, 2, "0");
4063
4063
  case "SSS":
4064
- return S.s(y.$ms, 3, "0");
4064
+ return M.s(y.$ms, 3, "0");
4065
4065
  case "Z":
4066
4066
  return v;
4067
4067
  }
4068
4068
  return null;
4069
- }(Y) || v.replace(":", "");
4069
+ }(z) || v.replace(":", "");
4070
4070
  });
4071
- }, p.utcOffset = function() {
4071
+ }, b.utcOffset = function() {
4072
4072
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4073
- }, p.diff = function(m, y, g) {
4074
- var _, v = this, $ = S.p(y), U = N(m), V = (U.utcOffset() - this.utcOffset()) * n, X = this - U, Q = function() {
4075
- return S.m(v, U);
4073
+ }, b.diff = function(m, y, g) {
4074
+ var L, v = this, O = M.p(y), G = D(m), Z = (G.utcOffset() - this.utcOffset()) * n, X = this - G, Q = function() {
4075
+ return M.m(v, G);
4076
4076
  };
4077
- switch ($) {
4078
- case x:
4079
- _ = Q() / 12;
4080
- break;
4081
- case f:
4082
- _ = Q();
4077
+ switch (O) {
4078
+ case _:
4079
+ L = Q() / 12;
4083
4080
  break;
4084
4081
  case c:
4085
- _ = Q() / 3;
4082
+ L = Q();
4086
4083
  break;
4087
- case h:
4088
- _ = (X - V) / 6048e5;
4084
+ case d:
4085
+ L = Q() / 3;
4089
4086
  break;
4090
- case u:
4091
- _ = (X - V) / 864e5;
4087
+ case h:
4088
+ L = (X - Z) / 6048e5;
4092
4089
  break;
4093
4090
  case l:
4094
- _ = X / i;
4091
+ L = (X - Z) / 864e5;
4092
+ break;
4093
+ case u:
4094
+ L = X / i;
4095
4095
  break;
4096
4096
  case a:
4097
- _ = X / n;
4097
+ L = X / n;
4098
4098
  break;
4099
4099
  case o:
4100
- _ = X / r;
4100
+ L = X / r;
4101
4101
  break;
4102
4102
  default:
4103
- _ = X;
4103
+ L = X;
4104
4104
  }
4105
- return g ? _ : S.a(_);
4106
- }, p.daysInMonth = function() {
4107
- return this.endOf(f).$D;
4108
- }, p.$locale = function() {
4105
+ return g ? L : M.a(L);
4106
+ }, b.daysInMonth = function() {
4107
+ return this.endOf(c).$D;
4108
+ }, b.$locale = function() {
4109
4109
  return j[this.$L];
4110
- }, p.locale = function(m, y) {
4110
+ }, b.locale = function(m, y) {
4111
4111
  if (!m)
4112
4112
  return this.$L;
4113
- var g = this.clone(), _ = W(m, y, !0);
4114
- return _ && (g.$L = _), g;
4115
- }, p.clone = function() {
4116
- return S.w(this.$d, this);
4117
- }, p.toDate = function() {
4113
+ var g = this.clone(), L = W(m, y, !0);
4114
+ return L && (g.$L = L), g;
4115
+ }, b.clone = function() {
4116
+ return M.w(this.$d, this);
4117
+ }, b.toDate = function() {
4118
4118
  return new Date(this.valueOf());
4119
- }, p.toJSON = function() {
4119
+ }, b.toJSON = function() {
4120
4120
  return this.isValid() ? this.toISOString() : null;
4121
- }, p.toISOString = function() {
4121
+ }, b.toISOString = function() {
4122
4122
  return this.$d.toISOString();
4123
- }, p.toString = function() {
4123
+ }, b.toString = function() {
4124
4124
  return this.$d.toUTCString();
4125
- }, E;
4126
- }(), pe = re.prototype;
4127
- return N.prototype = pe, [["$ms", s], ["$s", o], ["$m", a], ["$H", l], ["$W", u], ["$M", f], ["$y", x], ["$D", w]].forEach(function(E) {
4128
- pe[E[1]] = function(p) {
4129
- return this.$g(p, E[0], E[1]);
4125
+ }, x;
4126
+ }(), ge = ne.prototype;
4127
+ return D.prototype = ge, [["$ms", s], ["$s", o], ["$m", a], ["$H", u], ["$W", l], ["$M", c], ["$y", _], ["$D", E]].forEach(function(x) {
4128
+ ge[x[1]] = function(b) {
4129
+ return this.$g(b, x[0], x[1]);
4130
4130
  };
4131
- }), N.extend = function(E, p) {
4132
- return E.$i || (E(p, re, N), E.$i = !0), N;
4133
- }, N.locale = W, N.isDayjs = K, N.unix = function(E) {
4134
- return N(1e3 * E);
4135
- }, N.en = j[C], N.Ls = j, N.p = {}, N;
4131
+ }), D.extend = function(x, b) {
4132
+ return x.$i || (x(b, ne, D), x.$i = !0), D;
4133
+ }, D.locale = W, D.isDayjs = K, D.unix = function(x) {
4134
+ return D(1e3 * x);
4135
+ }, D.en = j[N], D.Ls = j, D.p = {}, D;
4136
4136
  });
4137
- })(Cr);
4138
- var is = Cr.exports;
4139
- const Zt = /* @__PURE__ */ Et(is);
4137
+ })(Pr);
4138
+ var is = Pr.exports;
4139
+ const Yt = /* @__PURE__ */ xt(is);
4140
4140
  var Nr = { exports: {} };
4141
4141
  (function(e, t) {
4142
4142
  (function(r, n) {
4143
4143
  e.exports = n();
4144
- })(ur, function() {
4144
+ })(lr, function() {
4145
4145
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4146
4146
  return function(s, o, a) {
4147
- var l = o.prototype;
4148
- a.utc = function(b) {
4149
- var M = { date: b, utc: !0, args: arguments };
4150
- return new o(M);
4151
- }, l.utc = function(b) {
4152
- var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4153
- return b ? M.add(this.utcOffset(), r) : M;
4154
- }, l.local = function() {
4147
+ var u = o.prototype;
4148
+ a.utc = function(f) {
4149
+ var w = { date: f, utc: !0, args: arguments };
4150
+ return new o(w);
4151
+ }, u.utc = function(f) {
4152
+ var w = a(this.toDate(), { locale: this.$L, utc: !0 });
4153
+ return f ? w.add(this.utcOffset(), r) : w;
4154
+ }, u.local = function() {
4155
4155
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4156
4156
  };
4157
- var u = l.parse;
4158
- l.parse = function(b) {
4159
- b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
4157
+ var l = u.parse;
4158
+ u.parse = function(f) {
4159
+ f.utc && (this.$u = !0), this.$utils().u(f.$offset) || (this.$offset = f.$offset), l.call(this, f);
4160
4160
  };
4161
- var h = l.init;
4162
- l.init = function() {
4161
+ var h = u.init;
4162
+ u.init = function() {
4163
4163
  if (this.$u) {
4164
- var b = this.$d;
4165
- this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4164
+ var f = this.$d;
4165
+ this.$y = f.getUTCFullYear(), this.$M = f.getUTCMonth(), this.$D = f.getUTCDate(), this.$W = f.getUTCDay(), this.$H = f.getUTCHours(), this.$m = f.getUTCMinutes(), this.$s = f.getUTCSeconds(), this.$ms = f.getUTCMilliseconds();
4166
4166
  } else
4167
4167
  h.call(this);
4168
4168
  };
4169
- var f = l.utcOffset;
4170
- l.utcOffset = function(b, M) {
4169
+ var c = u.utcOffset;
4170
+ u.utcOffset = function(f, w) {
4171
4171
  var P = this.$utils().u;
4172
- if (P(b))
4173
- return this.$u ? 0 : P(this.$offset) ? f.call(this) : this.$offset;
4174
- if (typeof b == "string" && (b = function(C) {
4175
- C === void 0 && (C = "");
4176
- var j = C.match(n);
4172
+ if (P(f))
4173
+ return this.$u ? 0 : P(this.$offset) ? c.call(this) : this.$offset;
4174
+ if (typeof f == "string" && (f = function(N) {
4175
+ N === void 0 && (N = "");
4176
+ var j = N.match(n);
4177
4177
  if (!j)
4178
4178
  return null;
4179
- var G = ("" + j[0]).match(i) || ["-", 0, 0], K = G[0], W = 60 * +G[1] + +G[2];
4179
+ var F = ("" + j[0]).match(i) || ["-", 0, 0], K = F[0], W = 60 * +F[1] + +F[2];
4180
4180
  return W === 0 ? 0 : K === "+" ? W : -W;
4181
- }(b), b === null))
4181
+ }(f), f === null))
4182
4182
  return this;
4183
- var I = Math.abs(b) <= 16 ? 60 * b : b, A = this;
4184
- if (M)
4185
- return A.$offset = I, A.$u = b === 0, A;
4186
- if (b !== 0) {
4187
- var D = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4188
- (A = this.local().add(I + D, r)).$offset = I, A.$x.$localOffset = D;
4183
+ var I = Math.abs(f) <= 16 ? 60 * f : f, T = this;
4184
+ if (w)
4185
+ return T.$offset = I, T.$u = f === 0, T;
4186
+ if (f !== 0) {
4187
+ var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4188
+ (T = this.local().add(I + R, r)).$offset = I, T.$x.$localOffset = R;
4189
4189
  } else
4190
- A = this.utc();
4191
- return A;
4190
+ T = this.utc();
4191
+ return T;
4192
4192
  };
4193
- var c = l.format;
4194
- l.format = function(b) {
4195
- var M = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4196
- return c.call(this, M);
4197
- }, l.valueOf = function() {
4198
- var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4199
- return this.$d.valueOf() - 6e4 * b;
4200
- }, l.isUTC = function() {
4193
+ var d = u.format;
4194
+ u.format = function(f) {
4195
+ var w = f || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4196
+ return d.call(this, w);
4197
+ }, u.valueOf = function() {
4198
+ var f = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4199
+ return this.$d.valueOf() - 6e4 * f;
4200
+ }, u.isUTC = function() {
4201
4201
  return !!this.$u;
4202
- }, l.toISOString = function() {
4202
+ }, u.toISOString = function() {
4203
4203
  return this.toDate().toISOString();
4204
- }, l.toString = function() {
4204
+ }, u.toString = function() {
4205
4205
  return this.toDate().toUTCString();
4206
4206
  };
4207
- var x = l.toDate;
4208
- l.toDate = function(b) {
4209
- return b === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4207
+ var _ = u.toDate;
4208
+ u.toDate = function(f) {
4209
+ return f === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4210
4210
  };
4211
- var w = l.diff;
4212
- l.diff = function(b, M, P) {
4213
- if (b && this.$u === b.$u)
4214
- return w.call(this, b, M, P);
4215
- var I = this.local(), A = a(b).local();
4216
- return w.call(I, A, M, P);
4211
+ var E = u.diff;
4212
+ u.diff = function(f, w, P) {
4213
+ if (f && this.$u === f.$u)
4214
+ return E.call(this, f, w, P);
4215
+ var I = this.local(), T = a(f).local();
4216
+ return E.call(I, T, w, P);
4217
4217
  };
4218
4218
  };
4219
4219
  });
4220
4220
  })(Nr);
4221
4221
  var ss = Nr.exports;
4222
- const os = /* @__PURE__ */ Et(ss);
4223
- function as(e) {
4224
- Vr(e, "svelte-1wlv0rl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4222
+ const os = /* @__PURE__ */ xt(ss), as = "data:image/svg+xml,%3csvg%20width='337'%20height='182'%20viewBox='0%200%20337%20182'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3810_1046)'%3e%3cmask%20id='mask0_3810_1046'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='337'%20height='182'%3e%3cpath%20d='M337%200H0V182H337V0Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3810_1046)'%3e%3cpath%20opacity='0.16'%20d='M309.269%20229.727C361.939%20177.104%20362.219%2092.0651%20309.895%2039.7875C257.571%20-12.49%20172.456%20-12.21%20119.786%2040.413C67.1163%2093.0359%2066.836%20178.075%20119.16%20230.352C171.484%20282.63%20256.599%20282.35%20309.269%20229.727Z'%20fill='url(%23paint0_linear_3810_1046)'/%3e%3cpath%20d='M306.91%2085.1765C306.739%2085.2338%20302.567%2086.122%20302.567%2086.122L303.5%2091.4846C303.248%2093.837%20303.341%2096.6725%20303.844%2099.6755C304.373%20102.836%20305.272%20105.672%20306.347%20107.862L307.255%20113.083C307.255%20113.083%20311.566%20111.854%20311.731%20111.798C314.285%20110.94%20315.276%20104.285%20313.945%2096.9328C312.614%2089.5809%20309.464%2084.317%20306.91%2085.1751V85.1765Z'%20fill='%23EFED85'/%3e%3cpath%20d='M306.685%20113.272C309.314%20112.85%20310.469%20106.436%20309.264%2098.9468C308.06%2091.4575%20304.952%2085.7283%20302.323%2086.1504C299.695%2086.5724%20298.54%2092.9859%20299.745%20100.475C300.949%20107.965%20304.057%20113.694%20306.685%20113.272Z'%20fill='white'/%3e%3cpath%20d='M305.827%20108.917C307.296%20108.672%20307.819%20104.485%20306.996%2099.565C306.173%2094.6451%20304.315%2090.8556%20302.847%2091.1009C301.378%2091.3461%20300.855%2095.5332%20301.678%20100.453C302.501%20105.373%20304.359%20109.162%20305.827%20108.917Z'%20fill='%23F4F3AC'/%3e%3cpath%20d='M304.62%20105.084L304.075%20103.589C303.619%20102.177%20303.262%20101.098%20302.642%20100.459L302.04%2099.8406L302.288%2099.5744C302.849%2098.9733%20303.198%2097.6789%20303.232%2095.9681L303.248%2095.1577L303.659%2096.3726C304.164%2097.8677%20304.895%2099.1162%20305.724%2099.851L306.266%20100.447L305.602%20100.9C304.866%20101.503%20304.705%20102.631%20304.648%20104.26L304.619%20105.084H304.62Z'%20fill='white'/%3e%3cpath%20opacity='0.72'%20d='M200.267%20126.95L215.345%20130.531L220.921%20107.008L213.789%20105.314L200.267%20126.95Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M206.435%2099.1181L221.513%20102.699L227.089%2079.1759L219.957%2077.4819L206.435%2099.1181Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M264.663%2061.4345L235.427%2055.1773L236.027%2047.2476L267.382%2054.2159L264.663%2061.4345Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M267.172%2054.3082L236.177%2047.334L241.326%2039.9707L265.402%2045.3879L267.172%2054.3082Z'%20fill='%23E5E8EB'/%3e%3cpath%20opacity='0.72'%20d='M255.482%20116.025L251.839%20139.685L247.535%20137.953L251.822%20114.85L255.482%20116.025ZM259.581%2088.2698L254.196%20110.232L256.849%20111.475L262.769%2088.2698H259.581ZM269.145%2060.0598L265.72%2059.8086L260.923%2082.2169L263.224%2083.7198L269.145%2060.0598Z'%20fill='%23335176'/%3e%3cpath%20opacity='0.72'%20d='M226.752%2081.0609L226.682%2081.044L219.685%20110.601L219.612%20110.584L213.828%20135.857L218.236%20138.931L240.91%20144.235L246.268%20142.965L251.838%20118.626L251.91%20118.643L258.982%2088.7745L259.052%2088.7913L266.134%2058.8773L233.824%2051.1924L226.752%2081.0609Z'%20fill='%23C9C9CD'/%3e%3cpath%20d='M227.064%2079.4609L226.994%2079.444L220.404%20107.182L220.33%20107.165L213.535%20135.791L246.258%20142.963L252.849%20115.225L252.923%20115.242L259.583%2087.2109L259.653%2087.2277L266.323%2059.1542L233.724%2051.4297L227.064%2079.4609Z'%20fill='white'/%3e%3cpath%20d='M226.947%2079.7684L226.879%2079.7525L220.297%20107.492L220.225%20107.476L213.438%20136.104L245.311%20143.084L251.893%20115.344L251.965%20115.361L258.617%2087.3278L258.685%2087.3441L265.347%2059.2688L233.599%2051.7358L226.947%2079.7684Z'%20fill='white'/%3e%3cpath%20opacity='0.5'%20d='M226.961%2079.7714L226.892%2079.755L220.304%20107.494L220.23%20107.476L213.438%20136.104L245.879%20143.212L252.467%20115.473L252.54%20115.49L259.197%2087.4582L259.267%2087.4745L265.934%2059.4006L233.618%2051.7397L226.961%2079.7714Z'%20fill='url(%23paint1_linear_3810_1046)'/%3e%3cpath%20opacity='0.72'%20d='M213.147%2071.0995L228.225%2074.6808L233.801%2051.1573L226.67%2049.4634L213.147%2071.0995Z'%20fill='%23335176'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='white'/%3e%3cpath%20d='M211.385%20104.483L217.562%20105.962L210.465%20129.564L197.406%20126.436L211.385%20104.483H211.385ZM205.464%2099.2332L218.524%20102.36L224.158%2078.2259L217.981%2076.7471L205.465%2099.2332H205.464ZM212.126%2071.2034L225.186%2074.3306L230.819%2050.1965L224.643%2048.7173L212.126%2071.2034H212.126Z'%20fill='url(%23paint2_linear_3810_1046)'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='white'/%3e%3cpath%20d='M264.464%20143.146L251.404%20140.022L255.781%20115.769L261.958%20117.247L264.464%20143.146ZM268.656%2089.5355L262.479%2088.0577L256.557%20112.123L269.617%20115.247L268.656%2089.5355ZM275.428%2061.5321L269.251%2060.0547L263.329%2084.1201L276.389%2087.2441L275.428%2061.5321Z'%20fill='url(%23paint3_linear_3810_1046)'/%3e%3cpath%20d='M232.837%20135.937C239.26%20135.937%20244.468%20130.734%20244.468%20124.316C244.468%20117.898%20239.26%20112.695%20232.837%20112.695C226.413%20112.695%20221.205%20117.898%20221.205%20124.316C221.205%20130.734%20226.413%20135.937%20232.837%20135.937Z'%20fill='white'/%3e%3cg%20opacity='0.31'%3e%3cpath%20d='M232.966%20133.318C238.149%20133.318%20242.351%20129.12%20242.351%20123.941C242.351%20118.763%20238.149%20114.564%20232.966%20114.564C227.783%20114.564%20223.581%20118.763%20223.581%20123.941C223.581%20129.12%20227.783%20133.318%20232.966%20133.318Z'%20fill='%237EC51E'/%3e%3c/g%3e%3cpath%20d='M239.767%20108.582C246.191%20108.582%20251.399%20103.379%20251.399%2096.961C251.399%2090.5428%20246.191%2085.3398%20239.767%2085.3398C233.343%2085.3398%20228.136%2090.5428%20228.136%2096.961C228.136%20103.379%20233.343%20108.582%20239.767%20108.582Z'%20fill='white'/%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M239.897%20105.963C245.08%20105.963%20249.282%20101.765%20249.282%2096.5861C249.282%2091.4075%20245.08%2087.2095%20239.897%2087.2095C234.714%2087.2095%20230.512%2091.4075%20230.512%2096.5861C230.512%20101.765%20234.714%20105.963%20239.897%20105.963Z'%20fill='%23EFED85'/%3e%3c/g%3e%3cpath%20d='M247.767%2080.7623C254.191%2080.7623%20259.399%2075.5594%20259.399%2069.1412C259.399%2062.723%20254.191%2057.52%20247.767%2057.52C241.343%2057.52%20236.136%2062.723%20236.136%2069.1412C236.136%2075.5594%20241.343%2080.7623%20247.767%2080.7623Z'%20fill='white'/%3e%3cg%20opacity='0.47'%3e%3cpath%20d='M248.022%2085.2495C256.699%2085.2495%20263.734%2078.2215%20263.734%2069.552C263.734%2060.8825%20256.699%2053.8545%20248.022%2053.8545C239.345%2053.8545%20232.311%2060.8825%20232.311%2069.552C232.311%2078.2215%20239.345%2085.2495%20248.022%2085.2495Z'%20fill='%23FFE5BE'/%3e%3c/g%3e%3cg%20opacity='0.4'%3e%3cpath%20d='M247.472%2080.0554C253.318%2080.0554%20258.057%2075.3206%20258.057%2069.4799C258.057%2063.6391%20253.318%2058.9043%20247.472%2058.9043C241.626%2058.9043%20236.887%2063.6391%20236.887%2069.4799C236.887%2075.3206%20241.626%2080.0554%20247.472%2080.0554Z'%20fill='%23FFA726'/%3e%3c/g%3e%3cpath%20d='M225.426%2037.6665L189.408%2042.7698L187.953%2036.5627L225.233%2031.4321L225.426%2037.6665Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M187.957%2036.5846L190.505%2032.4892L215.212%2028.6162L225.294%2031.3844L187.957%2036.5846Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M201.065%2030.5759L203.025%2034.1504L204.17%2040.6892L211.068%2039.8502L210.023%2033.7673L206.24%2029.731L201.065%2030.5759Z'%20fill='white'/%3e%3cpath%20d='M160.588%2079.8823L165.616%2087.0722L151.713%20102.497L145.829%2096.1782L160.588%2079.8823Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M171.11%20133.02L172.813%20127.332L196.181%20140.808L192.506%20144.839L171.11%20133.02Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M258.894%20156.181L262.412%20148.881L278.337%20162.727L273.605%20168.398L258.894%20156.181Z'%20fill='%23D4ECB5'/%3e%3cpath%20d='M207.241%20153.371L212.273%20153.509C212.273%20153.509%20219.934%20160.635%20222.834%20164.031C225.734%20167.426%20229.899%20173.527%20229.899%20173.527L232.334%20181.542L220.067%20166.246L207.241%20153.371Z'%20fill='%23DDF0C4'/%3e%3cpath%20d='M227.172%20185.145L215.896%20170.61L202.893%20158.016L207.257%20153.355L220.673%20166.876L232.261%20181.518L227.172%20185.145Z'%20fill='%23ECF5E2'/%3e%3cpath%20opacity='0.56'%20d='M220.887%20161.734L218.801%20164.233L213.988%20168.822L218.523%20174.095L223.012%20169.843L224.701%20166.281L220.887%20161.734Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3810_1046'%20x1='377.71'%20y1='128.355'%20x2='109.138'%20y2='100.506'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.294'%20stop-color='%237EC51E'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.306'%20stop-color='%237EC51E'%20stop-opacity='0.788'/%3e%3cstop%20offset='0.735'%20stop-color='%237EC51E'%20stop-opacity='0.367'/%3e%3cstop%20offset='0.931'%20stop-color='%237EC51E'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_3810_1046'%20x1='222.977'%20y1='93.7971'%20x2='256.48'%20y2='101.349'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D0D2D3'%20stop-opacity='0'/%3e%3cstop%20offset='0.147'%20stop-color='%23CED2D4'%20stop-opacity='0.175'/%3e%3cstop%20offset='0.332'%20stop-color='%23CDD2D5'%20stop-opacity='0.362'/%3e%3cstop%20offset='0.513'%20stop-color='%23CDD2D5'%20stop-opacity='0.51'/%3e%3cstop%20offset='0.688'%20stop-color='%23CCD2D6'%20stop-opacity='0.615'/%3e%3cstop%20offset='0.853'%20stop-color='%23CCD2D6'%20stop-opacity='0.678'/%3e%3cstop%20offset='1'%20stop-color='%23CCD2D7'%20stop-opacity='0.7'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_3810_1046'%20x1='231.03'%20y1='58.5166'%20x2='200.367'%20y2='123.696'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.25'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.5'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.702'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.83'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_3810_1046'%20x1='245.954'%20y1='83.3307'%20x2='285.109'%20y2='122.52'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.207'%20stop-color='%23BBBCC1'%20stop-opacity='0.8'/%3e%3cstop%20offset='0.432'%20stop-color='%23C1C4C9'%20stop-opacity='0.564'/%3e%3cstop%20offset='0.656'%20stop-color='%23C7CBD0'%20stop-opacity='0.366'/%3e%3cstop%20offset='0.837'%20stop-color='%23CAD0D5'%20stop-opacity='0.244'/%3e%3cstop%20offset='0.952'%20stop-color='%23CCD2D7'%20stop-opacity='0.2'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_3810_1046'%3e%3crect%20width='337'%20height='182'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
4223
+ function ls(e) {
4224
+ Zr(e, "svelte-17o07ba", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);position:absolute;bottom:10%;left:5%;width:calc(100% - 125px)}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 4px)}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--mmw--color-grey-290, #666)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{top:50%;left:250px;bottom:auto;transform:translateY(-50%);padding:0 10px 0 5px;width:calc(100% - 250px);margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4225
4225
  }
4226
4226
  function Jt(e, t, r) {
4227
4227
  const n = e.slice();
@@ -4231,12 +4231,12 @@ function Qt(e) {
4231
4231
  let t;
4232
4232
  return {
4233
4233
  c() {
4234
- t = F("cashier-spinner"), Z(
4234
+ t = k("cashier-spinner"), Y(
4235
4235
  t,
4236
4236
  "clientstylingurl",
4237
4237
  /*clientstylingurl*/
4238
4238
  e[4]
4239
- ), Z(
4239
+ ), Y(
4240
4240
  t,
4241
4241
  "clientstyling",
4242
4242
  /*clientstyling*/
@@ -4244,17 +4244,17 @@ function Qt(e) {
4244
4244
  );
4245
4245
  },
4246
4246
  m(r, n) {
4247
- le(r, t, n);
4247
+ oe(r, t, n);
4248
4248
  },
4249
4249
  p(r, n) {
4250
4250
  n[0] & /*clientstylingurl*/
4251
- 16 && Z(
4251
+ 16 && Y(
4252
4252
  t,
4253
4253
  "clientstylingurl",
4254
4254
  /*clientstylingurl*/
4255
4255
  r[4]
4256
4256
  ), n[0] & /*clientstyling*/
4257
- 8 && Z(
4257
+ 8 && Y(
4258
4258
  t,
4259
4259
  "clientstyling",
4260
4260
  /*clientstyling*/
@@ -4262,94 +4262,94 @@ function Qt(e) {
4262
4262
  );
4263
4263
  },
4264
4264
  d(r) {
4265
- r && oe(t);
4265
+ r && re(t);
4266
4266
  }
4267
4267
  };
4268
4268
  }
4269
4269
  function qt(e) {
4270
- let t, r, n, i, s = Bt(
4270
+ let t, r, n, i, s = $t(
4271
4271
  /*paymentMethodsToShow*/
4272
4272
  e[8]
4273
4273
  ), o = [];
4274
- for (let u = 0; u < s.length; u += 1)
4275
- o[u] = Kt(Jt(e, s, u));
4274
+ for (let l = 0; l < s.length; l += 1)
4275
+ o[l] = Kt(Jt(e, s, l));
4276
4276
  let a = (
4277
4277
  /*noPaymentMethodsAvailable*/
4278
4278
  e[13] && !/*showSpinner*/
4279
4279
  e[12] && er(e)
4280
- ), l = (
4280
+ ), u = (
4281
4281
  /*methodsButtonToggleText*/
4282
4282
  e[7] && tr(e)
4283
4283
  );
4284
4284
  return {
4285
4285
  c() {
4286
- t = F("div"), r = F("div");
4287
- for (let u = 0; u < o.length; u += 1)
4288
- o[u].c();
4289
- n = te(), a && a.c(), i = te(), l && l.c(), k(r, "class", "CashierMethodList"), k(t, "class", "CashierMethodListWidget");
4286
+ t = k("div"), r = k("div");
4287
+ for (let l = 0; l < o.length; l += 1)
4288
+ o[l].c();
4289
+ n = te(), a && a.c(), i = te(), u && u.c(), B(r, "class", "CashierMethodList"), B(t, "class", "CashierMethodListWidget");
4290
4290
  },
4291
- m(u, h) {
4292
- le(u, t, h), T(t, r);
4293
- for (let f = 0; f < o.length; f += 1)
4294
- o[f] && o[f].m(r, null);
4295
- T(r, n), a && a.m(r, null), T(t, i), l && l.m(t, null), e[27](t);
4291
+ m(l, h) {
4292
+ oe(l, t, h), C(t, r);
4293
+ for (let c = 0; c < o.length; c += 1)
4294
+ o[c] && o[c].m(r, null);
4295
+ C(r, n), a && a.m(r, null), C(t, i), u && u.m(t, null), e[27](t);
4296
4296
  },
4297
- p(u, h) {
4297
+ p(l, h) {
4298
4298
  if (h[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
4299
4299
  115008) {
4300
- s = Bt(
4300
+ s = $t(
4301
4301
  /*paymentMethodsToShow*/
4302
- u[8]
4302
+ l[8]
4303
4303
  );
4304
- let f;
4305
- for (f = 0; f < s.length; f += 1) {
4306
- const c = Jt(u, s, f);
4307
- o[f] ? o[f].p(c, h) : (o[f] = Kt(c), o[f].c(), o[f].m(r, n));
4304
+ let c;
4305
+ for (c = 0; c < s.length; c += 1) {
4306
+ const d = Jt(l, s, c);
4307
+ o[c] ? o[c].p(d, h) : (o[c] = Kt(d), o[c].c(), o[c].m(r, n));
4308
4308
  }
4309
- for (; f < o.length; f += 1)
4310
- o[f].d(1);
4309
+ for (; c < o.length; c += 1)
4310
+ o[c].d(1);
4311
4311
  o.length = s.length;
4312
4312
  }
4313
4313
  /*noPaymentMethodsAvailable*/
4314
- u[13] && !/*showSpinner*/
4315
- u[12] ? a ? a.p(u, h) : (a = er(u), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4316
- u[7] ? l ? l.p(u, h) : (l = tr(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4314
+ l[13] && !/*showSpinner*/
4315
+ l[12] ? a ? a.p(l, h) : (a = er(l), a.c(), a.m(r, null)) : a && (a.d(1), a = null), /*methodsButtonToggleText*/
4316
+ l[7] ? u ? u.p(l, h) : (u = tr(l), u.c(), u.m(t, null)) : u && (u.d(1), u = null);
4317
4317
  },
4318
- d(u) {
4319
- u && oe(t), Wr(o, u), a && a.d(), l && l.d(), e[27](null);
4318
+ d(l) {
4319
+ l && re(t), Wr(o, l), a && a.d(), u && u.d(), e[27](null);
4320
4320
  }
4321
4321
  };
4322
4322
  }
4323
4323
  function Kt(e) {
4324
- let t, r, n, i, s, o, a, l, u = (
4324
+ let t, r, n, i, s, o, a, u, l = (
4325
4325
  /*payMeth*/
4326
4326
  (e[48].Label || /*payMeth*/
4327
4327
  e[48].Name) + ""
4328
- ), h, f, c, x, w = (
4328
+ ), h, c, d, _, E = (
4329
4329
  /*$_*/
4330
4330
  e[14]("generalMin") + ""
4331
- ), b, M, P = (
4331
+ ), f, w, P = (
4332
4332
  /*formatter*/
4333
4333
  e[15].format(
4334
4334
  /*payMeth*/
4335
4335
  e[48].DisplayCurrency.MinAmountLimit
4336
4336
  ) + ""
4337
- ), I, A, D = (
4337
+ ), I, T, R = (
4338
4338
  /*payMeth*/
4339
4339
  e[48].DisplayCurrency.Name + ""
4340
- ), C, j, G, K = (
4340
+ ), N, j, F, K = (
4341
4341
  /*$_*/
4342
4342
  e[14]("generalMax") + ""
4343
- ), W, N, S = (
4343
+ ), W, D, M = (
4344
4344
  /*formatter*/
4345
4345
  e[15].format(
4346
4346
  /*payMeth*/
4347
4347
  e[48].DisplayCurrency.MaxAmountLimit
4348
4348
  ) + ""
4349
- ), re, pe, E = (
4349
+ ), ne, ge, x = (
4350
4350
  /*payMeth*/
4351
4351
  e[48].DisplayCurrency.Name + ""
4352
- ), p, m, y;
4352
+ ), b, m, y;
4353
4353
  function g() {
4354
4354
  return (
4355
4355
  /*click_handler*/
@@ -4361,9 +4361,9 @@ function Kt(e) {
4361
4361
  }
4362
4362
  return {
4363
4363
  c() {
4364
- t = F("div"), r = F("div"), n = F("img"), o = te(), a = F("div"), l = F("span"), h = ee(u), f = te(), c = F("div"), x = F("span"), b = ee(w), M = te(), I = ee(P), A = te(), C = ee(D), j = te(), G = F("span"), W = ee(K), N = te(), re = ee(S), pe = te(), p = ee(E), Ot(n.src, i = /*payMeth*/
4365
- e[48].LogoUrl) || k(n, "src", i), k(n, "alt", s = /*payMeth*/
4366
- e[48].Label), k(r, "class", "MethodLogo"), k(a, "class", "MethodTitle"), k(x, "class", "Limits"), k(G, "class", "Limits"), k(c, "class", "MethodLimits"), k(t, "class", "SelectorWrapper"), ze(
4364
+ t = k("div"), r = k("div"), n = k("img"), o = te(), a = k("div"), u = k("span"), h = ee(l), c = te(), d = k("div"), _ = k("span"), f = ee(E), w = te(), I = ee(P), T = te(), N = ee(R), j = te(), F = k("span"), W = ee(K), D = te(), ne = ee(M), ge = te(), b = ee(x), Be(n.src, i = /*payMeth*/
4365
+ e[48].LogoUrl) || B(n, "src", i), B(n, "alt", s = /*payMeth*/
4366
+ e[48].Label), B(r, "class", "MethodLogo"), B(a, "class", "MethodTitle"), B(_, "class", "Limits"), B(F, "class", "Limits"), B(d, "class", "MethodLimits"), B(t, "class", "SelectorWrapper"), Xe(
4367
4367
  t,
4368
4368
  "checked",
4369
4369
  /*selectedPaymentMethod*/
@@ -4371,40 +4371,40 @@ function Kt(e) {
4371
4371
  e[48].Name
4372
4372
  );
4373
4373
  },
4374
- m(_, v) {
4375
- le(_, t, v), T(t, r), T(r, n), T(t, o), T(t, a), T(a, l), T(l, h), T(t, f), T(t, c), T(c, x), T(x, b), T(x, M), T(x, I), T(x, A), T(x, C), T(c, j), T(c, G), T(G, W), T(G, N), T(G, re), T(G, pe), T(G, p), m || (y = [
4374
+ m(L, v) {
4375
+ oe(L, t, v), C(t, r), C(r, n), C(t, o), C(t, a), C(a, u), C(u, h), C(t, c), C(t, d), C(d, _), C(_, f), C(_, w), C(_, I), C(_, T), C(_, N), C(d, j), C(d, F), C(F, W), C(F, D), C(F, ne), C(F, ge), C(F, b), m || (y = [
4376
4376
  ut(t, "click", g),
4377
- ut(t, "keyup", ls)
4377
+ ut(t, "keyup", fs)
4378
4378
  ], m = !0);
4379
4379
  },
4380
- p(_, v) {
4381
- e = _, v[0] & /*paymentMethodsToShow*/
4382
- 256 && !Ot(n.src, i = /*payMeth*/
4383
- e[48].LogoUrl) && k(n, "src", i), v[0] & /*paymentMethodsToShow*/
4380
+ p(L, v) {
4381
+ e = L, v[0] & /*paymentMethodsToShow*/
4382
+ 256 && !Be(n.src, i = /*payMeth*/
4383
+ e[48].LogoUrl) && B(n, "src", i), v[0] & /*paymentMethodsToShow*/
4384
4384
  256 && s !== (s = /*payMeth*/
4385
- e[48].Label) && k(n, "alt", s), v[0] & /*paymentMethodsToShow*/
4386
- 256 && u !== (u = /*payMeth*/
4385
+ e[48].Label) && B(n, "alt", s), v[0] & /*paymentMethodsToShow*/
4386
+ 256 && l !== (l = /*payMeth*/
4387
4387
  (e[48].Label || /*payMeth*/
4388
- e[48].Name) + "") && ie(h, u), v[0] & /*$_*/
4389
- 16384 && w !== (w = /*$_*/
4390
- e[14]("generalMin") + "") && ie(b, w), v[0] & /*paymentMethodsToShow*/
4388
+ e[48].Name) + "") && ae(h, l), v[0] & /*$_*/
4389
+ 16384 && E !== (E = /*$_*/
4390
+ e[14]("generalMin") + "") && ae(f, E), v[0] & /*paymentMethodsToShow*/
4391
4391
  256 && P !== (P = /*formatter*/
4392
4392
  e[15].format(
4393
4393
  /*payMeth*/
4394
4394
  e[48].DisplayCurrency.MinAmountLimit
4395
- ) + "") && ie(I, P), v[0] & /*paymentMethodsToShow*/
4396
- 256 && D !== (D = /*payMeth*/
4397
- e[48].DisplayCurrency.Name + "") && ie(C, D), v[0] & /*$_*/
4395
+ ) + "") && ae(I, P), v[0] & /*paymentMethodsToShow*/
4396
+ 256 && R !== (R = /*payMeth*/
4397
+ e[48].DisplayCurrency.Name + "") && ae(N, R), v[0] & /*$_*/
4398
4398
  16384 && K !== (K = /*$_*/
4399
- e[14]("generalMax") + "") && ie(W, K), v[0] & /*paymentMethodsToShow*/
4400
- 256 && S !== (S = /*formatter*/
4399
+ e[14]("generalMax") + "") && ae(W, K), v[0] & /*paymentMethodsToShow*/
4400
+ 256 && M !== (M = /*formatter*/
4401
4401
  e[15].format(
4402
4402
  /*payMeth*/
4403
4403
  e[48].DisplayCurrency.MaxAmountLimit
4404
- ) + "") && ie(re, S), v[0] & /*paymentMethodsToShow*/
4405
- 256 && E !== (E = /*payMeth*/
4406
- e[48].DisplayCurrency.Name + "") && ie(p, E), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4407
- 320 && ze(
4404
+ ) + "") && ae(ne, M), v[0] & /*paymentMethodsToShow*/
4405
+ 256 && x !== (x = /*payMeth*/
4406
+ e[48].DisplayCurrency.Name + "") && ae(b, x), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4407
+ 320 && Xe(
4408
4408
  t,
4409
4409
  "checked",
4410
4410
  /*selectedPaymentMethod*/
@@ -4412,8 +4412,8 @@ function Kt(e) {
4412
4412
  e[48].Name
4413
4413
  );
4414
4414
  },
4415
- d(_) {
4416
- _ && oe(t), m = !1, He(y);
4415
+ d(L) {
4416
+ L && re(t), m = !1, Se(y);
4417
4417
  }
4418
4418
  };
4419
4419
  }
@@ -4421,37 +4421,79 @@ function er(e) {
4421
4421
  let t, r, n, i, s, o = (
4422
4422
  /*$_*/
4423
4423
  e[14]("error") + ""
4424
- ), a, l, u, h = (
4424
+ ), a, u, l, h = (
4425
4425
  /*$_*/
4426
4426
  e[14]("noPaymentMethods") + ""
4427
- ), f;
4427
+ ), c;
4428
+ function d(f, w) {
4429
+ return (
4430
+ /*assetsurl*/
4431
+ f[1] ? hs : us
4432
+ );
4433
+ }
4434
+ let _ = d(e), E = _(e);
4428
4435
  return {
4429
4436
  c() {
4430
- t = F("div"), r = F("div"), n = F("div"), n.innerHTML = '<svg fill="currentColor" height="200px" width="200px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 294.995 294.995" xml:space="preserve" stroke="#fa9200"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g><path d="M291.874,248.279L165.605,26.526c-4.007-7.037-10.776-11.26-18.107-11.26s-14.101,4.202-18.107,11.239L3.121,248.238 c-3.979,6.989-4.164,15.013-0.493,21.326c3.67,6.313,10.663,10.165,18.705,10.165h252.329c8.042,0,15.035-3.852,18.705-10.165 C296.038,263.251,295.854,255.268,291.874,248.279z M146.665,86.229c9.665,0,17.5,7.835,17.5,17.5v63c0,9.665-7.835,17.5-17.5,17.5 c-9.665,0-17.5-7.835-17.5-17.5v-63C129.165,94.064,137,86.229,146.665,86.229z M147.498,204.005c9.665,0,17.5,7.835,17.5,17.5 c0,9.665-7.835,17.5-17.5,17.5c-9.665,0-17.5-7.835-17.5-17.5C129.998,211.84,137.833,204.005,147.498,204.005z"></path></g></g></svg>', i = te(), s = F("p"), a = ee(o), l = te(), u = F("p"), f = ee(h), k(n, "class", "IconWarning"), k(s, "class", "EmptyContentMessageTitle"), k(r, "class", "EmptyContentMessageHeader"), k(u, "class", "EmptyContentMessageText"), k(t, "class", "EmptyContentMessageWrapper"), ze(
4437
+ t = k("div"), r = k("div"), E.c(), n = te(), i = k("div"), s = k("p"), a = ee(o), u = te(), l = k("p"), c = ee(h), B(r, "class", "EmptyContentMessageImg"), B(s, "class", "EmptyContentMessageTitle"), B(l, "class", "EmptyContentMessageText"), B(i, "class", "EmptyContentMessageContent"), B(t, "class", "EmptyContentMessageWrapper"), Xe(
4431
4438
  t,
4432
4439
  "EmptyContentMessageDesktop",
4433
4440
  /*desktopView*/
4434
4441
  e[11]
4435
4442
  );
4436
4443
  },
4437
- m(c, x) {
4438
- le(c, t, x), T(t, r), T(r, n), T(r, i), T(r, s), T(s, a), T(t, l), T(t, u), T(u, f);
4444
+ m(f, w) {
4445
+ oe(f, t, w), C(t, r), E.m(r, null), C(t, n), C(t, i), C(i, s), C(s, a), C(i, u), C(i, l), C(l, c);
4439
4446
  },
4440
- p(c, x) {
4441
- x[0] & /*$_*/
4447
+ p(f, w) {
4448
+ _ === (_ = d(f)) && E ? E.p(f, w) : (E.d(1), E = _(f), E && (E.c(), E.m(r, null))), w[0] & /*$_*/
4442
4449
  16384 && o !== (o = /*$_*/
4443
- c[14]("error") + "") && ie(a, o), x[0] & /*$_*/
4450
+ f[14]("error") + "") && ae(a, o), w[0] & /*$_*/
4444
4451
  16384 && h !== (h = /*$_*/
4445
- c[14]("noPaymentMethods") + "") && ie(f, h), x[0] & /*desktopView*/
4446
- 2048 && ze(
4452
+ f[14]("noPaymentMethods") + "") && ae(c, h), w[0] & /*desktopView*/
4453
+ 2048 && Xe(
4447
4454
  t,
4448
4455
  "EmptyContentMessageDesktop",
4449
4456
  /*desktopView*/
4450
- c[11]
4457
+ f[11]
4451
4458
  );
4452
4459
  },
4453
- d(c) {
4454
- c && oe(t);
4460
+ d(f) {
4461
+ f && re(t), E.d();
4462
+ }
4463
+ };
4464
+ }
4465
+ function us(e) {
4466
+ let t, r;
4467
+ return {
4468
+ c() {
4469
+ t = k("img"), Be(t.src, r = as) || B(t, "src", r), B(t, "alt", "empty-payment-method-list");
4470
+ },
4471
+ m(n, i) {
4472
+ oe(n, t, i);
4473
+ },
4474
+ p: se,
4475
+ d(n) {
4476
+ n && re(t);
4477
+ }
4478
+ };
4479
+ }
4480
+ function hs(e) {
4481
+ let t, r;
4482
+ return {
4483
+ c() {
4484
+ t = k("img"), Be(t.src, r = `${/*assetsurl*/
4485
+ e[1]}/empty-pay-meth-list.png`) || B(t, "src", r), B(t, "width", "300px"), B(t, "alt", "empty-payment-method-list");
4486
+ },
4487
+ m(n, i) {
4488
+ oe(n, t, i);
4489
+ },
4490
+ p(n, i) {
4491
+ i[0] & /*assetsurl*/
4492
+ 2 && !Be(t.src, r = `${/*assetsurl*/
4493
+ n[1]}/empty-pay-meth-list.png`) && B(t, "src", r);
4494
+ },
4495
+ d(n) {
4496
+ n && re(t);
4455
4497
  }
4456
4498
  };
4457
4499
  }
@@ -4459,13 +4501,13 @@ function tr(e) {
4459
4501
  let t, r, n, i;
4460
4502
  return {
4461
4503
  c() {
4462
- t = F("div"), r = ee(
4504
+ t = k("div"), r = ee(
4463
4505
  /*methodsButtonToggleText*/
4464
4506
  e[7]
4465
- ), k(t, "class", "ShowAllButton");
4507
+ ), B(t, "class", "ShowAllButton");
4466
4508
  },
4467
4509
  m(s, o) {
4468
- le(s, t, o), T(t, r), n || (i = ut(
4510
+ oe(s, t, o), C(t, r), n || (i = ut(
4469
4511
  t,
4470
4512
  "click",
4471
4513
  /*click_handler_1*/
@@ -4474,14 +4516,14 @@ function tr(e) {
4474
4516
  },
4475
4517
  p(s, o) {
4476
4518
  o[0] & /*methodsButtonToggleText*/
4477
- 128 && ie(
4519
+ 128 && ae(
4478
4520
  r,
4479
4521
  /*methodsButtonToggleText*/
4480
4522
  s[7]
4481
4523
  );
4482
4524
  },
4483
4525
  d(s) {
4484
- s && oe(t), n = !1, i();
4526
+ s && re(t), n = !1, i();
4485
4527
  }
4486
4528
  };
4487
4529
  }
@@ -4489,71 +4531,71 @@ function rr(e) {
4489
4531
  let t, r, n;
4490
4532
  return {
4491
4533
  c() {
4492
- t = F("cashier-error"), r = F("span"), n = ee(
4534
+ t = k("cashier-error"), r = k("span"), n = ee(
4493
4535
  /*errorMessage*/
4494
4536
  e[10]
4495
- ), k(r, "slot", "text"), Z(
4537
+ ), B(r, "slot", "text"), Y(
4496
4538
  t,
4497
4539
  "lang",
4498
4540
  /*lang*/
4499
4541
  e[0]
4500
- ), Z(
4542
+ ), Y(
4501
4543
  t,
4502
4544
  "assetsurl",
4503
4545
  /*assetsurl*/
4504
4546
  e[1]
4505
- ), Z(
4547
+ ), Y(
4506
4548
  t,
4507
4549
  "translationurl",
4508
4550
  /*translationurl*/
4509
4551
  e[2]
4510
- ), Z(
4552
+ ), Y(
4511
4553
  t,
4512
4554
  "clientstylingurl",
4513
4555
  /*clientstylingurl*/
4514
4556
  e[4]
4515
- ), Z(
4557
+ ), Y(
4516
4558
  t,
4517
4559
  "clientstyling",
4518
4560
  /*clientstyling*/
4519
4561
  e[3]
4520
- ), Z(t, "hidebuttons", "true");
4562
+ ), Y(t, "hidebuttons", "true");
4521
4563
  },
4522
4564
  m(i, s) {
4523
- le(i, t, s), T(t, r), T(r, n);
4565
+ oe(i, t, s), C(t, r), C(r, n);
4524
4566
  },
4525
4567
  p(i, s) {
4526
4568
  s[0] & /*errorMessage*/
4527
- 1024 && ie(
4569
+ 1024 && ae(
4528
4570
  n,
4529
4571
  /*errorMessage*/
4530
4572
  i[10]
4531
4573
  ), s[0] & /*lang*/
4532
- 1 && Z(
4574
+ 1 && Y(
4533
4575
  t,
4534
4576
  "lang",
4535
4577
  /*lang*/
4536
4578
  i[0]
4537
4579
  ), s[0] & /*assetsurl*/
4538
- 2 && Z(
4580
+ 2 && Y(
4539
4581
  t,
4540
4582
  "assetsurl",
4541
4583
  /*assetsurl*/
4542
4584
  i[1]
4543
4585
  ), s[0] & /*translationurl*/
4544
- 4 && Z(
4586
+ 4 && Y(
4545
4587
  t,
4546
4588
  "translationurl",
4547
4589
  /*translationurl*/
4548
4590
  i[2]
4549
4591
  ), s[0] & /*clientstylingurl*/
4550
- 16 && Z(
4592
+ 16 && Y(
4551
4593
  t,
4552
4594
  "clientstylingurl",
4553
4595
  /*clientstylingurl*/
4554
4596
  i[4]
4555
4597
  ), s[0] & /*clientstyling*/
4556
- 8 && Z(
4598
+ 8 && Y(
4557
4599
  t,
4558
4600
  "clientstyling",
4559
4601
  /*clientstyling*/
@@ -4561,11 +4603,11 @@ function rr(e) {
4561
4603
  );
4562
4604
  },
4563
4605
  d(i) {
4564
- i && oe(t);
4606
+ i && re(t);
4565
4607
  }
4566
4608
  };
4567
4609
  }
4568
- function us(e) {
4610
+ function cs(e) {
4569
4611
  let t, r, n, i = (
4570
4612
  /*showSpinner*/
4571
4613
  e[12] && Qt(e)
@@ -4579,109 +4621,109 @@ function us(e) {
4579
4621
  );
4580
4622
  return {
4581
4623
  c() {
4582
- i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = Yr();
4624
+ i && i.c(), t = te(), s && s.c(), r = te(), o && o.c(), n = zr();
4583
4625
  },
4584
- m(a, l) {
4585
- i && i.m(a, l), le(a, t, l), s && s.m(a, l), le(a, r, l), o && o.m(a, l), le(a, n, l);
4626
+ m(a, u) {
4627
+ i && i.m(a, u), oe(a, t, u), s && s.m(a, u), oe(a, r, u), o && o.m(a, u), oe(a, n, u);
4586
4628
  },
4587
- p(a, l) {
4629
+ p(a, u) {
4588
4630
  /*showSpinner*/
4589
- a[12] ? i ? i.p(a, l) : (i = Qt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4631
+ a[12] ? i ? i.p(a, u) : (i = Qt(a), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4590
4632
  a[9] || /*desktopView*/
4591
- a[11] ? s ? s.p(a, l) : (s = qt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4592
- a[10] ? o ? o.p(a, l) : (o = rr(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4633
+ a[11] ? s ? s.p(a, u) : (s = qt(a), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4634
+ a[10] ? o ? o.p(a, u) : (o = rr(a), o.c(), o.m(n.parentNode, n)) : o && (o.d(1), o = null);
4593
4635
  },
4594
4636
  i: se,
4595
4637
  o: se,
4596
4638
  d(a) {
4597
- a && (oe(t), oe(r), oe(n)), i && i.d(a), s && s.d(a), o && o.d(a);
4639
+ a && (re(t), re(r), re(n)), i && i.d(a), s && s.d(a), o && o.d(a);
4598
4640
  }
4599
4641
  };
4600
4642
  }
4601
- const ls = () => {
4643
+ const fs = () => {
4602
4644
  };
4603
- function hs(e, t, r) {
4645
+ function ms(e, t, r) {
4604
4646
  let n;
4605
- jr(e, rs, (d) => r(14, n = d)), Zt.extend(os);
4606
- let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: o } = t, { session: a } = t, { customerid: l } = t, { assetsurl: u } = t, { currency: h } = t, { numberofmethodsshown: f } = t, { translationurl: c = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: w = "" } = t, { ismobileview: b } = t, M = [], P, I, A = "", D = [], C = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), G = "", K, W = !0, N = !1, S = !1;
4607
- var re;
4608
- (function(d) {
4609
- d.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", d.Success = "Success", d.JwtTokenError = "JwtTokenError";
4610
- })(re || (re = {})), Kr();
4611
- const pe = () => {
4612
- let d = c;
4613
- if (d)
4614
- return fetch(d).then((B) => B.json()).then((B) => {
4615
- Object.keys(B).forEach((ue) => {
4616
- Wt(ue, B[ue]);
4647
+ jr(e, rs, (p) => r(14, n = p)), Yt.extend(os);
4648
+ let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: o } = t, { session: a } = t, { customerid: u } = t, { assetsurl: l } = t, { currency: h } = t, { numberofmethodsshown: c } = t, { translationurl: d = "" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: E = "" } = t, { ismobileview: f } = t, w = [], P, I, T = "", R = [], N = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), F = "", K, W = !0, D = !1, M = !1;
4649
+ var ne;
4650
+ (function(p) {
4651
+ p.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", p.Success = "Success", p.JwtTokenError = "JwtTokenError";
4652
+ })(ne || (ne = {})), Kr();
4653
+ const ge = () => {
4654
+ let p = d;
4655
+ if (p)
4656
+ return fetch(p).then(($) => $.json()).then(($) => {
4657
+ Object.keys($).forEach((ue) => {
4658
+ Wt(ue, $[ue]);
4617
4659
  });
4618
- }).catch((B) => {
4619
- console.log(B);
4660
+ }).catch(($) => {
4661
+ console.log($);
4620
4662
  });
4621
4663
  };
4622
- Object.keys(Yt).forEach((d) => {
4623
- Wt(d, Yt[d]);
4664
+ Object.keys(zt).forEach((p) => {
4665
+ Wt(p, zt[p]);
4624
4666
  });
4625
- const E = () => {
4667
+ const x = () => {
4626
4668
  ns(i);
4627
- }, p = () => {
4628
- r(12, N = !0);
4629
- const d = new URL(`${o}/v1/player/${l}/payment/GetPaymentMetadata`), B = new Headers();
4630
- B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", Zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4669
+ }, b = () => {
4670
+ r(12, D = !0);
4671
+ const p = new URL(`${o}/v1/player/${u}/payment/GetPaymentMetadata`), $ = new Headers();
4672
+ $.append("accept", "application/json"), $.append("Content-Type", "application/json"), $.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4631
4673
  const ue = {
4632
4674
  method: "POST",
4633
- headers: B,
4675
+ headers: $,
4634
4676
  body: JSON.stringify({
4635
4677
  XPaymentSessionToken: a,
4636
4678
  Currency: h,
4637
4679
  Tags: { UserAgent: window.navigator.userAgent }
4638
4680
  })
4639
4681
  };
4640
- fetch(d, ue).then((z) => z.json()).then((z) => {
4682
+ fetch(p, ue).then((V) => V.json()).then((V) => {
4641
4683
  var ye;
4642
- if (z.error) {
4643
- r(10, G = z.error);
4684
+ if (V.error) {
4685
+ r(10, F = V.error);
4644
4686
  return;
4645
4687
  }
4646
- if (z.ResponseCode !== re.Success) {
4647
- K = z.ResponseCode, _();
4688
+ if (V.ResponseCode !== ne.Success) {
4689
+ K = V.ResponseCode, L();
4648
4690
  return;
4649
4691
  }
4650
- M = (ye = z.PaymentMethods) != null && ye.Ordering ? m(z) : y(z), r(7, A = f && +f > 0 && M.length > +f ? n("showAll") : ""), r(8, D = A ? M.slice(0, +f) : M), window.postMessage(
4692
+ w = (ye = V.PaymentMethods) != null && ye.Ordering ? m(V) : y(V), r(7, T = c && +c > 0 && w.length > +c ? n("showAll") : ""), r(8, R = T ? w.slice(0, +c) : w), window.postMessage(
4651
4693
  {
4652
4694
  type: "StartSessionCountdown",
4653
- paymentMethodName: M[0].Name,
4654
- xPaymentSessionToken: z.XPaymentSessionToken
4695
+ paymentMethodName: w[0].Name,
4696
+ xPaymentSessionToken: V.XPaymentSessionToken
4655
4697
  },
4656
4698
  window.location.href
4657
4699
  ), window.postMessage({ type: "DataLoading", isDataLoaded: !1 });
4658
4700
  }).finally(() => {
4659
- r(12, N = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), r(13, S = !D.length);
4701
+ r(12, D = !1), window.postMessage({ type: "DataLoading", isDataLoaded: !0 }), r(13, M = !R.length);
4660
4702
  });
4661
- }, m = (d) => {
4662
- const B = [];
4663
- return d.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ue) => {
4664
- const z = d.PaymentMethods.PaymentMethods.find((ye) => ye.Name === ue);
4665
- if (z) {
4666
- const ye = (z == null ? void 0 : z.Logos.find((Ke) => Ke.LogoType === "Desktop")) || {}, Ir = (z == null ? void 0 : z.Logos.find((Ke) => Ke.LogoType === "Mobile")) || {}, Tt = W ? ye : Ir;
4667
- B.push(Ue(Re({}, z), {
4668
- LogoUrl: Tt.LogoUrl ? `https:${Tt.LogoUrl}` : ""
4703
+ }, m = (p) => {
4704
+ const $ = [];
4705
+ return p.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ue) => {
4706
+ const V = p.PaymentMethods.PaymentMethods.find((ye) => ye.Name === ue);
4707
+ if (V) {
4708
+ const ye = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Desktop")) || {}, Dr = (V == null ? void 0 : V.Logos.find((et) => et.LogoType === "Mobile")) || {}, St = W ? ye : Dr;
4709
+ $.push(Ge(Ue({}, V), {
4710
+ LogoUrl: St.LogoUrl ? `https:${St.LogoUrl}` : ""
4669
4711
  }));
4670
4712
  }
4671
- }), B;
4672
- }, y = (d) => d.PaymentMethods.PaymentMethods.map((B) => Ue(Re({}, B), {
4673
- LogoUrl: B.Logos && B.Logos.length && B.Logos[0].LogoUrl ? `https:${B.Logos[0].LogoUrl}` : ""
4674
- })), g = (d) => {
4675
- r(6, I = d.Name), window.postMessage({ type: "SelectPayMeth", details: d }, window.location.href), dispatchEvent(new CustomEvent(
4713
+ }), $;
4714
+ }, y = (p) => p.PaymentMethods.PaymentMethods.map(($) => Ge(Ue({}, $), {
4715
+ LogoUrl: $.Logos && $.Logos.length && $.Logos[0].LogoUrl ? `https:${$.Logos[0].LogoUrl}` : ""
4716
+ })), g = (p) => {
4717
+ r(6, I = p.Name), window.postMessage({ type: "SelectPayMeth", details: p }, window.location.href), dispatchEvent(new CustomEvent(
4676
4718
  "selectPayMeth",
4677
4719
  {
4678
- detail: d,
4720
+ detail: p,
4679
4721
  bubbles: !0,
4680
4722
  cancelable: !0,
4681
4723
  composed: !0
4682
4724
  }
4683
4725
  ));
4684
- }, _ = () => {
4726
+ }, L = () => {
4685
4727
  window.postMessage(
4686
4728
  {
4687
4729
  type: "ErrorResponseCode",
@@ -4690,26 +4732,26 @@ function hs(e, t, r) {
4690
4732
  window.location.href
4691
4733
  );
4692
4734
  }, v = () => {
4693
- r(11, W = b === "false");
4694
- }, $ = () => {
4695
- D == M ? V() : U();
4696
- }, U = () => {
4697
- r(8, D = M), r(7, A = n("showLess"));
4698
- }, V = () => {
4699
- r(8, D = M.slice(0, +f)), I && !D.find((d) => d.Name === I) && D.splice(0, 0, M.find((d) => d.Name === I)), r(7, A = n("showAll"));
4735
+ r(11, W = f === "false");
4736
+ }, O = () => {
4737
+ R == w ? Z() : G();
4738
+ }, G = () => {
4739
+ r(8, R = w), r(7, T = n("showLess"));
4740
+ }, Z = () => {
4741
+ r(8, R = w.slice(0, +c)), I && !R.find((p) => p.Name === I) && R.splice(0, 0, w.find((p) => p.Name === I)), r(7, T = n("showAll"));
4700
4742
  }, X = () => {
4701
- r(9, C = !0);
4702
- }, Q = (d) => {
4703
- r(9, C = !d.hideMethodsList);
4704
- }, ce = () => {
4705
- let d = document.createElement("style");
4706
- d.innerHTML = x, P.appendChild(d);
4743
+ r(9, N = !0);
4744
+ }, Q = (p) => {
4745
+ r(9, N = !p.hideMethodsList);
4746
+ }, fe = () => {
4747
+ let p = document.createElement("style");
4748
+ p.innerHTML = _, P.appendChild(p);
4707
4749
  }, he = () => {
4708
- let d = new URL(w), B = document.createElement("style");
4709
- fetch(d.href).then((ue) => ue.text()).then((ue) => {
4710
- B.innerHTML = ue, setTimeout(
4750
+ let p = new URL(E), $ = document.createElement("style");
4751
+ fetch(p.href).then((ue) => ue.text()).then((ue) => {
4752
+ $.innerHTML = ue, setTimeout(
4711
4753
  () => {
4712
- P.appendChild(B);
4754
+ P.appendChild($);
4713
4755
  },
4714
4756
  1
4715
4757
  ), setTimeout(
@@ -4722,69 +4764,69 @@ function hs(e, t, r) {
4722
4764
  qr(() => (window.addEventListener("message", me, !1), () => {
4723
4765
  window.removeEventListener("message", me, !1);
4724
4766
  }));
4725
- const me = (d) => {
4726
- switch (d.data.type) {
4767
+ const me = (p) => {
4768
+ switch (p.data.type) {
4727
4769
  case "BackToMethodList":
4728
4770
  X();
4729
4771
  break;
4730
4772
  case "HideMethodsList":
4731
- Q(d.data.details);
4773
+ Q(p.data.details);
4732
4774
  break;
4733
4775
  }
4734
- }, fe = (d) => g(d), Y = () => $();
4735
- function ae(d) {
4736
- lt[d ? "unshift" : "push"](() => {
4737
- P = d, r(5, P);
4776
+ }, ce = (p) => g(p), z = () => O();
4777
+ function le(p) {
4778
+ ht[p ? "unshift" : "push"](() => {
4779
+ P = p, r(5, P);
4738
4780
  });
4739
4781
  }
4740
- return e.$$set = (d) => {
4741
- "lang" in d && r(0, i = d.lang), "local" in d && r(18, s = d.local), "endpoint" in d && r(19, o = d.endpoint), "session" in d && r(20, a = d.session), "customerid" in d && r(21, l = d.customerid), "assetsurl" in d && r(1, u = d.assetsurl), "currency" in d && r(22, h = d.currency), "numberofmethodsshown" in d && r(23, f = d.numberofmethodsshown), "translationurl" in d && r(2, c = d.translationurl), "clientstyling" in d && r(3, x = d.clientstyling), "clientstylingurl" in d && r(4, w = d.clientstylingurl), "ismobileview" in d && r(24, b = d.ismobileview);
4782
+ return e.$$set = (p) => {
4783
+ "lang" in p && r(0, i = p.lang), "local" in p && r(18, s = p.local), "endpoint" in p && r(19, o = p.endpoint), "session" in p && r(20, a = p.session), "customerid" in p && r(21, u = p.customerid), "assetsurl" in p && r(1, l = p.assetsurl), "currency" in p && r(22, h = p.currency), "numberofmethodsshown" in p && r(23, c = p.numberofmethodsshown), "translationurl" in p && r(2, d = p.translationurl), "clientstyling" in p && r(3, _ = p.clientstyling), "clientstylingurl" in p && r(4, E = p.clientstylingurl), "ismobileview" in p && r(24, f = p.ismobileview);
4742
4784
  }, e.$$.update = () => {
4743
4785
  e.$$.dirty[0] & /*endpoint, session, customerid*/
4744
- 3670016 && o && a && l && p(), e.$$.dirty[0] & /*lang*/
4745
- 1 && i && E(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4746
- 40 && x && P && ce(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4747
- 48 && w && P && he(), e.$$.dirty[0] & /*ismobileview*/
4748
- 16777216 && b && v(), e.$$.dirty[0] & /*lang, translationurl*/
4749
- 5 && i && c && pe();
4786
+ 3670016 && o && a && u && b(), e.$$.dirty[0] & /*lang*/
4787
+ 1 && i && x(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4788
+ 40 && _ && P && fe(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4789
+ 48 && E && P && he(), e.$$.dirty[0] & /*ismobileview*/
4790
+ 16777216 && f && v(), e.$$.dirty[0] & /*lang, translationurl*/
4791
+ 5 && i && d && ge();
4750
4792
  }, [
4751
4793
  i,
4752
- u,
4753
- c,
4754
- x,
4755
- w,
4794
+ l,
4795
+ d,
4796
+ _,
4797
+ E,
4756
4798
  P,
4757
4799
  I,
4758
- A,
4759
- D,
4760
- C,
4761
- G,
4762
- W,
4800
+ T,
4801
+ R,
4763
4802
  N,
4764
- S,
4803
+ F,
4804
+ W,
4805
+ D,
4806
+ M,
4765
4807
  n,
4766
4808
  j,
4767
4809
  g,
4768
- $,
4810
+ O,
4769
4811
  s,
4770
4812
  o,
4771
4813
  a,
4772
- l,
4814
+ u,
4773
4815
  h,
4816
+ c,
4774
4817
  f,
4775
- b,
4776
- fe,
4777
- Y,
4778
- ae
4818
+ ce,
4819
+ z,
4820
+ le
4779
4821
  ];
4780
4822
  }
4781
- class fs extends cn {
4823
+ class ds extends fn {
4782
4824
  constructor(t) {
4783
4825
  super(), hn(
4784
4826
  this,
4785
4827
  t,
4786
- hs,
4787
- us,
4828
+ ms,
4829
+ cs,
4788
4830
  ir,
4789
4831
  {
4790
4832
  lang: 0,
@@ -4800,7 +4842,7 @@ class fs extends cn {
4800
4842
  clientstylingurl: 4,
4801
4843
  ismobileview: 24
4802
4844
  },
4803
- as,
4845
+ ls,
4804
4846
  [-1, -1]
4805
4847
  );
4806
4848
  }
@@ -4877,7 +4919,7 @@ class fs extends cn {
4877
4919
  this.$$set({ ismobileview: t }), q();
4878
4920
  }
4879
4921
  }
4880
- fn(fs, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4922
+ cn(ds, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4881
4923
  export {
4882
- fs as default
4924
+ ds as default
4883
4925
  };