@everymatrix/loyalty-rakeback 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,11 +19,11 @@ function In() {
19
19
  });
20
20
  return { promise: r, resolve: e, reject: t };
21
21
  }
22
- const Z = 2, at = 4, kt = 8, Ln = 1 << 24, he = 16, Ee = 32, $e = 64, wr = 128, Gr = 256, pe = 512, V = 1024, L = 2048, ue = 4096, le = 8192, q = 16384, ze = 32768, zt = 1 << 25, ot = 65536, qt = 1 << 17, cs = 1 << 18, qe = 1 << 19, Dn = 1 << 20, Zt = 1 << 21, nt = 1 << 22, Ie = 1 << 23, cr = Symbol("$state"), Un = Symbol("component"), ds = Symbol("legacy props"), ps = Symbol("attributes"), vs = Symbol("class"), ms = Symbol("style"), Sr = Symbol("text"), Ct = new class extends Error {
22
+ const Z = 2, at = 4, kt = 8, Ln = 1 << 24, he = 16, Ee = 32, $e = 64, wr = 128, Gr = 256, pe = 512, V = 1024, L = 2048, ue = 4096, le = 8192, q = 16384, ze = 32768, zt = 1 << 25, ot = 65536, qt = 1 << 17, cs = 1 << 18, qe = 1 << 19, Dn = 1 << 20, Zt = 1 << 21, nt = 1 << 22, Ie = 1 << 23, cr = Symbol("$state"), Un = Symbol("component"), ds = Symbol("legacy props"), ps = Symbol("attributes"), vs = Symbol("class"), _s = Symbol("style"), Sr = Symbol("text"), Ct = new class extends Error {
23
23
  name = "StaleReactionError";
24
24
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
25
25
  }(), nr = 3, ir = 8;
26
- function _s() {
26
+ function ms() {
27
27
  console.warn("https://svelte.dev/e/derived_inert");
28
28
  }
29
29
  function sr(e) {
@@ -218,7 +218,7 @@ function ks(e, t, r, n) {
218
218
  try {
219
219
  n([...o, ...d]);
220
220
  } catch (p) {
221
- _e(p, a);
221
+ me(p, a);
222
222
  }
223
223
  Jt();
224
224
  }
@@ -229,7 +229,7 @@ function ks(e, t, r, n) {
229
229
  return;
230
230
  }
231
231
  function c() {
232
- Promise.all(r.map((d) => /* @__PURE__ */ Rs(d))).then(f).catch((d) => _e(d, a)).finally(h);
232
+ Promise.all(r.map((d) => /* @__PURE__ */ Rs(d))).then(f).catch((d) => me(d, a)).finally(h);
233
233
  }
234
234
  l ? l.then(() => {
235
235
  if (a.f & q) {
@@ -353,7 +353,7 @@ function Rs(e, t, r) {
353
353
  // @__NO_SIDE_EFFECTS__
354
354
  function Dt(e) {
355
355
  const t = /* @__PURE__ */ Yr(e);
356
- return _i(t), t;
356
+ return mi(t), t;
357
357
  }
358
358
  function Is(e) {
359
359
  var t = e.effects;
@@ -370,7 +370,7 @@ function zr(e) {
370
370
  var t, r = H, n = e.parent;
371
371
  if (!Be && n !== null && e.v !== j && // if it was never evaluated before, it's guaranteed to fail downstream, so we try to execute instead
372
372
  n.f & (q | le))
373
- return _s(), e.v;
373
+ return ms(), e.v;
374
374
  xe(n);
375
375
  try {
376
376
  Is(e), t = Ei(e);
@@ -468,7 +468,7 @@ class Oe {
468
468
  * Effects created while this batch was active.
469
469
  * @type {Effect[]}
470
470
  */
471
- #m = [];
471
+ #_ = [];
472
472
  /**
473
473
  * Deferred effects (which run after async work has completed) that are DIRTY
474
474
  * @type {Set<Effect>}
@@ -491,7 +491,7 @@ class Oe {
491
491
  * Inverse of #skipped_branches which we need to tell prior batches to unskip them when committing
492
492
  * @type {Set<Effect>}
493
493
  */
494
- #_ = /* @__PURE__ */ new Set();
494
+ #m = /* @__PURE__ */ new Set();
495
495
  is_fork = !1;
496
496
  #h = !1;
497
497
  constructor() {
@@ -517,7 +517,7 @@ class Oe {
517
517
  * @param {Effect} effect
518
518
  */
519
519
  skip_effect(t) {
520
- this.#c.has(t) || this.#c.set(t, { d: [], m: [] }), this.#_.delete(t);
520
+ this.#c.has(t) || this.#c.set(t, { d: [], m: [] }), this.#m.delete(t);
521
521
  }
522
522
  /**
523
523
  * Remove an effect from the #skipped_branches map and reschedule
@@ -534,7 +534,7 @@ class Oe {
534
534
  for (i of n.m)
535
535
  C(i, ue), r(i);
536
536
  }
537
- this.#_.add(t);
537
+ this.#m.add(t);
538
538
  }
539
539
  /**
540
540
  * Convert the effects that were scheduled in this batch into the root effects
@@ -730,7 +730,7 @@ class Oe {
730
730
  * @param {Effect} effect
731
731
  */
732
732
  register_created_effect(t) {
733
- this.#m.push(t);
733
+ this.#_.push(t);
734
734
  }
735
735
  #y() {
736
736
  for (let h = dr; h !== null; h = h.#r) {
@@ -763,7 +763,7 @@ class Oe {
763
763
  t && h.discard();
764
764
  else if (r.length > 0) {
765
765
  if (t)
766
- for (const c of this.#_)
766
+ for (const c of this.#m)
767
767
  h.unskip_effect(c, (d) => {
768
768
  d.f & (he | nt) ? h.schedule(d) : h.#p([d]);
769
769
  });
@@ -777,7 +777,7 @@ class Oe {
777
777
  return p ? p[0] !== d[0] || p[1] !== d[1] : !0;
778
778
  }).map(([c]) => c);
779
779
  if (l.length > 0)
780
- for (const c of this.#m)
780
+ for (const c of this.#_)
781
781
  !(c.f & (q | le | qt)) && qr(c, l, a) && (c.f & (nt | he) ? (C(c, L), h.schedule(c)) : h.#l.add(c));
782
782
  if (h.#s.length > 0 && !h.#h) {
783
783
  h.apply();
@@ -887,7 +887,7 @@ function Us() {
887
887
  try {
888
888
  Ts();
889
889
  } catch (e) {
890
- _e(e, Hr);
890
+ me(e, Hr);
891
891
  }
892
892
  }
893
893
  let Se = null;
@@ -985,7 +985,7 @@ function Rt(e, t) {
985
985
  // @__NO_SIDE_EFFECTS__
986
986
  function oe(e, t) {
987
987
  const r = Rt(e);
988
- return _i(r), r;
988
+ return mi(r), r;
989
989
  }
990
990
  // @__NO_SIDE_EFFECTS__
991
991
  function ri(e, t = !1, r = !0) {
@@ -1199,7 +1199,7 @@ function $r() {
1199
1199
  if (ln === void 0) {
1200
1200
  ln = window, ii = /Firefox/.test(navigator.userAgent);
1201
1201
  var e = Element.prototype, t = Node.prototype, r = Text.prototype;
1202
- si = rt(t, "firstChild").get, ai = rt(t, "nextSibling").get, an(e) && (e[vs] = void 0, e[ps] = null, e[ms] = void 0, e.__e = void 0), an(r) && (r[Sr] = void 0);
1202
+ si = rt(t, "firstChild").get, ai = rt(t, "nextSibling").get, an(e) && (e[vs] = void 0, e[ps] = null, e[_s] = void 0, e.__e = void 0), an(r) && (r[Sr] = void 0);
1203
1203
  }
1204
1204
  }
1205
1205
  function Me(e = "") {
@@ -1305,9 +1305,9 @@ function Ws(e) {
1305
1305
  return T.f |= Ie, e;
1306
1306
  if (!(t.f & ze) && !(t.f & at))
1307
1307
  throw e;
1308
- _e(e, t);
1308
+ me(e, t);
1309
1309
  }
1310
- function _e(e, t) {
1310
+ function me(e, t) {
1311
1311
  if (e === Le)
1312
1312
  throw e;
1313
1313
  if (!(t !== null && t.f & q)) {
@@ -1334,7 +1334,7 @@ function Ys(e, t) {
1334
1334
  var r = t.last;
1335
1335
  r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
1336
1336
  }
1337
- function me(e, t) {
1337
+ function _e(e, t) {
1338
1338
  var r = H;
1339
1339
  r !== null && r.f & le && (e |= le);
1340
1340
  var n = {
@@ -1379,7 +1379,7 @@ function Kr() {
1379
1379
  return T !== null && !de;
1380
1380
  }
1381
1381
  function ui(e) {
1382
- const t = me(kt, null);
1382
+ const t = _e(kt, null);
1383
1383
  return C(t, V), t.teardown = e, t;
1384
1384
  }
1385
1385
  function hn(e) {
@@ -1398,21 +1398,21 @@ function hn(e) {
1398
1398
  return li(e);
1399
1399
  }
1400
1400
  function li(e) {
1401
- return me(at | Dn, e);
1401
+ return _e(at | Dn, e);
1402
1402
  }
1403
1403
  function zs(e) {
1404
- return oi(), me(kt | Dn, e);
1404
+ return oi(), _e(kt | Dn, e);
1405
1405
  }
1406
1406
  function qs(e) {
1407
1407
  Oe.ensure();
1408
- const t = me($e | qe, e);
1408
+ const t = _e($e | qe, e);
1409
1409
  return () => {
1410
1410
  ne(t);
1411
1411
  };
1412
1412
  }
1413
1413
  function Zs(e) {
1414
1414
  Oe.ensure();
1415
- const t = me($e | qe, e);
1415
+ const t = _e($e | qe, e);
1416
1416
  return (r = {}) => new Promise((n) => {
1417
1417
  r.outro ? $t(t, () => {
1418
1418
  ne(t), n(void 0);
@@ -1420,27 +1420,27 @@ function Zs(e) {
1420
1420
  });
1421
1421
  }
1422
1422
  function Js(e) {
1423
- return me(at, e);
1423
+ return _e(at, e);
1424
1424
  }
1425
1425
  function Qs(e) {
1426
- return me(nt | qe, e);
1426
+ return _e(nt | qe, e);
1427
1427
  }
1428
1428
  function fi(e, t = 0) {
1429
- return me(kt | t, e);
1429
+ return _e(kt | t, e);
1430
1430
  }
1431
1431
  function Ks(e, t = [], r = [], n = []) {
1432
1432
  ks(n, t, r, (i) => {
1433
- me(kt, () => {
1433
+ _e(kt, () => {
1434
1434
  e(...i.map(O));
1435
1435
  });
1436
1436
  });
1437
1437
  }
1438
1438
  function hi(e, t = 0) {
1439
- var r = me(he | t, e);
1439
+ var r = _e(he | t, e);
1440
1440
  return r;
1441
1441
  }
1442
1442
  function Te(e) {
1443
- return me(Ee | qe, e);
1443
+ return _e(Ee | qe, e);
1444
1444
  }
1445
1445
  function ci(e) {
1446
1446
  var t = e.teardown;
@@ -1450,7 +1450,7 @@ function ci(e) {
1450
1450
  try {
1451
1451
  t.call(null);
1452
1452
  } catch (i) {
1453
- _e(i, e.parent);
1453
+ me(i, e.parent);
1454
1454
  } finally {
1455
1455
  dn(r), fe(n);
1456
1456
  }
@@ -1547,7 +1547,7 @@ function vi(e, t) {
1547
1547
  (o.is_global || t) && o.in();
1548
1548
  }
1549
1549
  }
1550
- function mi(e, t) {
1550
+ function _i(e, t) {
1551
1551
  if (e.nodes)
1552
1552
  for (var r = e.nodes.start, n = e.nodes.end; r !== null; ) {
1553
1553
  var i = r === n ? null : /* @__PURE__ */ Ne(r);
@@ -1567,7 +1567,7 @@ function xe(e) {
1567
1567
  H = e;
1568
1568
  }
1569
1569
  let ye = null;
1570
- function _i(e) {
1570
+ function mi(e) {
1571
1571
  T !== null && (T.f & Zt || T.f & Z) && (ye ??= /* @__PURE__ */ new Set()).add(e);
1572
1572
  }
1573
1573
  let te = null, ie = 0, ae = null;
@@ -1798,8 +1798,8 @@ function sa(e) {
1798
1798
  for (var r of Mr)
1799
1799
  r(e);
1800
1800
  }
1801
- let vr = null, mr = !1;
1802
- function mn(e) {
1801
+ let vr = null, _r = !1;
1802
+ function _n(e) {
1803
1803
  var t = this, r = (
1804
1804
  /** @type {Node} */
1805
1805
  t.ownerDocument
@@ -1807,8 +1807,8 @@ function mn(e) {
1807
1807
  /** @type {null | Element} */
1808
1808
  i[0] || e.target
1809
1809
  );
1810
- vr = e, mr || (mr = !0, setTimeout(() => {
1811
- mr = !1, vr = null;
1810
+ vr = e, _r || (_r = !0, setTimeout(() => {
1811
+ _r = !1, vr = null;
1812
1812
  }));
1813
1813
  var o = 0, a = vr === e && e[St];
1814
1814
  if (a) {
@@ -1967,13 +1967,13 @@ class va {
1967
1967
  #o = null;
1968
1968
  /** @type {DocumentFragment | null} */
1969
1969
  #s = null;
1970
- #m = 0;
1970
+ #_ = 0;
1971
1971
  #l = 0;
1972
1972
  #f = !1;
1973
1973
  /** @type {Set<Effect>} */
1974
1974
  #c = /* @__PURE__ */ new Set();
1975
1975
  /** @type {Set<Effect>} */
1976
- #_ = /* @__PURE__ */ new Set();
1976
+ #m = /* @__PURE__ */ new Set();
1977
1977
  /**
1978
1978
  * A source containing the number of pending async deriveds/expressions.
1979
1979
  * Only created if `$effect.pending()` is used inside the boundary,
@@ -1982,7 +1982,7 @@ class va {
1982
1982
  * @type {Source<number> | null}
1983
1983
  */
1984
1984
  #h = null;
1985
- #E = ca(() => (this.#h = Rt(this.#m), () => {
1985
+ #E = ca(() => (this.#h = Rt(this.#_), () => {
1986
1986
  this.#h = null;
1987
1987
  }));
1988
1988
  /**
@@ -2061,7 +2061,7 @@ class va {
2061
2061
  try {
2062
2062
  n = !0, this.#r.onerror?.(t, i), n = !1;
2063
2063
  } catch (o) {
2064
- _e(o, this.#i && this.#i.parent);
2064
+ me(o, this.#i && this.#i.parent);
2065
2065
  }
2066
2066
  } };
2067
2067
  }
@@ -2080,7 +2080,7 @@ class va {
2080
2080
  try {
2081
2081
  this.error(s), i = !0;
2082
2082
  } catch (o) {
2083
- _e(o, this.#i.parent);
2083
+ me(o, this.#i.parent);
2084
2084
  }
2085
2085
  return null;
2086
2086
  }
@@ -2106,11 +2106,11 @@ class va {
2106
2106
  }
2107
2107
  #p() {
2108
2108
  try {
2109
- if (this.is_pending = this.has_pending_snippet(), this.#l = 0, this.#m = 0, this.#a = Te(() => {
2109
+ if (this.is_pending = this.has_pending_snippet(), this.#l = 0, this.#_ = 0, this.#a = Te(() => {
2110
2110
  this.#u(this.#e);
2111
2111
  }), this.#l > 0) {
2112
2112
  var t = this.#s = document.createDocumentFragment();
2113
- mi(this.#a, t);
2113
+ _i(this.#a, t);
2114
2114
  const r = (
2115
2115
  /** @type {(anchor: Node) => void} */
2116
2116
  this.#r.pending
@@ -2129,14 +2129,14 @@ class va {
2129
2129
  * @param {Batch} batch
2130
2130
  */
2131
2131
  #y(t) {
2132
- this.is_pending = !1, t.transfer_effects(this.#c, this.#_);
2132
+ this.is_pending = !1, t.transfer_effects(this.#c, this.#m);
2133
2133
  }
2134
2134
  /**
2135
2135
  * Defer an effect inside a pending boundary until the boundary resolves
2136
2136
  * @param {Effect} effect
2137
2137
  */
2138
2138
  defer_effect(t) {
2139
- zn(t, this.#c, this.#_);
2139
+ zn(t, this.#c, this.#m);
2140
2140
  }
2141
2141
  /**
2142
2142
  * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
@@ -2184,8 +2184,8 @@ class va {
2184
2184
  * @param {Batch} batch
2185
2185
  */
2186
2186
  update_pending_count(t, r) {
2187
- this.#S(t, r), this.#m += t, !(!this.#h || this.#f) && (this.#f = !0, Ve(() => {
2188
- this.#f = !1, this.#h && Kt(this.#h, this.#m);
2187
+ this.#S(t, r), this.#_ += t, !(!this.#h || this.#f) && (this.#f = !0, Ve(() => {
2188
+ this.#f = !1, this.#h && Kt(this.#h, this.#_);
2189
2189
  }));
2190
2190
  }
2191
2191
  get_effect_pending() {
@@ -2228,7 +2228,7 @@ class va {
2228
2228
  );
2229
2229
  });
2230
2230
  } catch (a) {
2231
- return _e(
2231
+ return me(
2232
2232
  a,
2233
2233
  /** @type {Effect} */
2234
2234
  this.#i.parent
@@ -2242,20 +2242,20 @@ class va {
2242
2242
  try {
2243
2243
  i = this.transform_error(t);
2244
2244
  } catch (s) {
2245
- _e(s, this.#i && this.#i.parent);
2245
+ me(s, this.#i && this.#i.parent);
2246
2246
  return;
2247
2247
  }
2248
2248
  i !== null && typeof i == "object" && typeof /** @type {any} */
2249
2249
  i.then == "function" ? i.then(
2250
2250
  n,
2251
2251
  /** @param {unknown} e */
2252
- (s) => _e(s, this.#i && this.#i.parent)
2252
+ (s) => me(s, this.#i && this.#i.parent)
2253
2253
  ) : n(i);
2254
2254
  }
2255
2255
  });
2256
2256
  }
2257
2257
  }
2258
- function _n(e, t) {
2258
+ function mn(e, t) {
2259
2259
  var r = t == null ? "" : typeof t == "object" ? `${t}` : t;
2260
2260
  r !== /** @type {any} */
2261
2261
  (e[Sr] ??= e.nodeValue) && (e[Sr] = r, e.nodeValue = `${r}`);
@@ -2263,7 +2263,7 @@ function _n(e, t) {
2263
2263
  function Ai(e, t) {
2264
2264
  return $i(e, t);
2265
2265
  }
2266
- function ma(e, t) {
2266
+ function _a(e, t) {
2267
2267
  $r(), t.intro = t.intro ?? !1;
2268
2268
  const r = t.target, n = D, i = M;
2269
2269
  try {
@@ -2327,7 +2327,7 @@ function $i(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
2327
2327
  var G = Ut.get(U);
2328
2328
  G === void 0 && (G = /* @__PURE__ */ new Map(), Ut.set(U, G));
2329
2329
  var X = G.get(w);
2330
- X === void 0 ? (U.addEventListener(w, mn, { passive: P }), G.set(w, 1)) : G.set(w, X + 1);
2330
+ X === void 0 ? (U.addEventListener(w, _n, { passive: P }), G.set(w, 1)) : G.set(w, X + 1);
2331
2331
  }
2332
2332
  }
2333
2333
  }
@@ -2342,7 +2342,7 @@ function $i(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
2342
2342
  /** @type {number} */
2343
2343
  p.get(d)
2344
2344
  );
2345
- --w == 0 ? (P.removeEventListener(d, mn), p.delete(d), p.size === 0 && Ut.delete(P)) : p.set(d, w);
2345
+ --w == 0 ? (P.removeEventListener(d, _n), p.delete(d), p.size === 0 && Ut.delete(P)) : p.set(d, w);
2346
2346
  }
2347
2347
  Mr.delete(c), f !== r && f.parentNode?.removeChild(f);
2348
2348
  };
@@ -2350,7 +2350,7 @@ function $i(e, { target: t, anchor: r, props: n = {}, events: i, context: s, int
2350
2350
  return Br.set(u, l), u;
2351
2351
  }
2352
2352
  let Br = /* @__PURE__ */ new WeakMap();
2353
- function _a(e, t) {
2353
+ function ma(e, t) {
2354
2354
  const r = Br.get(e);
2355
2355
  return r ? (Br.delete(e), r(t)) : Promise.resolve();
2356
2356
  }
@@ -2423,7 +2423,7 @@ class ba {
2423
2423
  const a = () => {
2424
2424
  if (Array.from(this.#e.values()).includes(s)) {
2425
2425
  var l = document.createDocumentFragment();
2426
- mi(o, l), l.append(Me()), this.#r.set(s, { effect: o, fragment: l });
2426
+ _i(o, l), l.append(Me()), this.#r.set(s, { effect: o, fragment: l });
2427
2427
  } else
2428
2428
  ne(o);
2429
2429
  this.#u.delete(s), this.#t.delete(s);
@@ -2698,7 +2698,7 @@ class Ha {
2698
2698
  }
2699
2699
  }
2700
2700
  );
2701
- this.#t = (t.hydrate ? ma : Ai)(t.component, {
2701
+ this.#t = (t.hydrate ? _a : Ai)(t.component, {
2702
2702
  target: t.target,
2703
2703
  anchor: t.anchor,
2704
2704
  props: i,
@@ -2722,7 +2722,7 @@ class Ha {
2722
2722
  (s) => {
2723
2723
  Object.assign(i, s);
2724
2724
  }, this.#t.$destroy = () => {
2725
- _a(this.#t);
2725
+ ma(this.#t);
2726
2726
  };
2727
2727
  }
2728
2728
  /** @param {Record<string, any>} props */
@@ -2980,18 +2980,18 @@ var Na = { exports: {} };
2980
2980
  e.exports = n();
2981
2981
  })(Ma, function() {
2982
2982
  var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", a = "minute", u = "hour", l = "day", f = "week", h = "month", c = "quarter", d = "year", p = "date", w = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|YYYY|YY|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, X = { 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(y) {
2983
- var _ = ["th", "st", "nd", "rd"], v = y % 100;
2984
- return "[" + y + (_[(v - 20) % 10] || _[v] || _[0]) + "]";
2985
- } }, U = function(y, _, v) {
2983
+ var m = ["th", "st", "nd", "rd"], v = y % 100;
2984
+ return "[" + y + (m[(v - 20) % 10] || m[v] || m[0]) + "]";
2985
+ } }, U = function(y, m, v) {
2986
2986
  var g = String(y);
2987
- return !g || g.length >= _ ? y : "" + Array(_ + 1 - g.length).join(v) + y;
2987
+ return !g || g.length >= m ? y : "" + Array(m + 1 - g.length).join(v) + y;
2988
2988
  }, we = { s: U, z: function(y) {
2989
- var _ = -y.utcOffset(), v = Math.abs(_), g = Math.floor(v / 60), m = v % 60;
2990
- return (_ <= 0 ? "+" : "-") + U(g, 2, "0") + ":" + U(m, 2, "0");
2991
- }, m: function y(_, v) {
2992
- if (_.date() < v.date()) return -y(v, _);
2993
- var g = 12 * (v.year() - _.year()) + (v.month() - _.month()), m = _.clone().add(g, h), E = v - m < 0, x = _.clone().add(g + (E ? -1 : 1), h);
2994
- return +(-(g + (v - m) / (E ? m - x : x - m)) || 0);
2989
+ var m = -y.utcOffset(), v = Math.abs(m), g = Math.floor(v / 60), _ = v % 60;
2990
+ return (m <= 0 ? "+" : "-") + U(g, 2, "0") + ":" + U(_, 2, "0");
2991
+ }, m: function y(m, v) {
2992
+ if (m.date() < v.date()) return -y(v, m);
2993
+ var g = 12 * (v.year() - m.year()) + (v.month() - m.month()), _ = m.clone().add(g, h), E = v - _ < 0, x = m.clone().add(g + (E ? -1 : 1), h);
2994
+ return +(-(g + (v - _) / (E ? _ - x : x - _)) || 0);
2995
2995
  }, a: function(y) {
2996
2996
  return y < 0 ? Math.ceil(y) || 0 : Math.floor(y);
2997
2997
  }, p: function(y) {
@@ -3002,73 +3002,73 @@ var Na = { exports: {} };
3002
3002
  Q[J] = X;
3003
3003
  var De = "$isDayjsObject", bt = function(y) {
3004
3004
  return y instanceof R || !(!y || !y[De]);
3005
- }, Je = function y(_, v, g) {
3006
- var m;
3007
- if (!_) return J;
3008
- if (typeof _ == "string") {
3009
- var E = _.toLowerCase();
3010
- Q[E] && (m = E), v && (Q[E] = v, m = E);
3011
- var x = _.split("-");
3012
- if (!m && x.length > 1) return y(x[0]);
3005
+ }, Je = function y(m, v, g) {
3006
+ var _;
3007
+ if (!m) return J;
3008
+ if (typeof m == "string") {
3009
+ var E = m.toLowerCase();
3010
+ Q[E] && (_ = E), v && (Q[E] = v, _ = E);
3011
+ var x = m.split("-");
3012
+ if (!_ && x.length > 1) return y(x[0]);
3013
3013
  } else {
3014
- var B = _.name;
3015
- Q[B] = _, m = B;
3014
+ var B = m.name;
3015
+ Q[B] = m, _ = B;
3016
3016
  }
3017
- return !g && m && (J = m), m || !g && J;
3018
- }, F = function(y, _) {
3017
+ return !g && _ && (J = _), _ || !g && J;
3018
+ }, F = function(y, m) {
3019
3019
  if (bt(y)) return y.clone();
3020
- var v = typeof _ == "object" ? _ : {};
3020
+ var v = typeof m == "object" ? m : {};
3021
3021
  return v.date = y, v.args = arguments, new R(v);
3022
3022
  }, b = we;
3023
- b.l = Je, b.i = bt, b.w = function(y, _) {
3024
- return F(y, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
3023
+ b.l = Je, b.i = bt, b.w = function(y, m) {
3024
+ return F(y, { locale: m.$L, utc: m.$u, x: m.$x, $offset: m.$offset });
3025
3025
  };
3026
3026
  var R = function() {
3027
3027
  function y(v) {
3028
3028
  this.$L = Je(v.locale, null, !0), this.parse(v), this.$x = this.$x || v.x || {}, this[De] = !0;
3029
3029
  }
3030
- var _ = y.prototype;
3031
- return _.parse = function(v) {
3030
+ var m = y.prototype;
3031
+ return m.parse = function(v) {
3032
3032
  this.$d = function(g) {
3033
- var m = g.date, E = g.utc;
3034
- if (m === null) return /* @__PURE__ */ new Date(NaN);
3035
- if (b.u(m)) return /* @__PURE__ */ new Date();
3036
- if (m instanceof Date) return new Date(m);
3037
- if (typeof m == "string" && !/Z$/i.test(m)) {
3038
- var x = m.match(P);
3033
+ var _ = g.date, E = g.utc;
3034
+ if (_ === null) return /* @__PURE__ */ new Date(NaN);
3035
+ if (b.u(_)) return /* @__PURE__ */ new Date();
3036
+ if (_ instanceof Date) return new Date(_);
3037
+ if (typeof _ == "string" && !/Z$/i.test(_)) {
3038
+ var x = _.match(P);
3039
3039
  if (x) {
3040
3040
  var B = x[2] - 1 || 0, I = (x[7] || "0").substring(0, 3);
3041
3041
  return E ? new Date(Date.UTC(x[1], B, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, I)) : new Date(x[1], B, x[3] || 1, x[4] || 0, x[5] || 0, x[6] || 0, I);
3042
3042
  }
3043
3043
  }
3044
- return new Date(m);
3044
+ return new Date(_);
3045
3045
  }(v), this.init();
3046
- }, _.init = function() {
3046
+ }, m.init = function() {
3047
3047
  var v = this.$d;
3048
3048
  this.$y = v.getFullYear(), this.$M = v.getMonth(), this.$D = v.getDate(), this.$W = v.getDay(), this.$H = v.getHours(), this.$m = v.getMinutes(), this.$s = v.getSeconds(), this.$ms = v.getMilliseconds();
3049
- }, _.$utils = function() {
3049
+ }, m.$utils = function() {
3050
3050
  return b;
3051
- }, _.isValid = function() {
3051
+ }, m.isValid = function() {
3052
3052
  return this.$d.toString() !== w;
3053
- }, _.isSame = function(v, g) {
3054
- var m = F(v);
3055
- return this.startOf(g) <= m && m <= this.endOf(g);
3056
- }, _.isAfter = function(v, g) {
3053
+ }, m.isSame = function(v, g) {
3054
+ var _ = F(v);
3055
+ return this.startOf(g) <= _ && _ <= this.endOf(g);
3056
+ }, m.isAfter = function(v, g) {
3057
3057
  return F(v) < this.startOf(g);
3058
- }, _.isBefore = function(v, g) {
3058
+ }, m.isBefore = function(v, g) {
3059
3059
  return this.endOf(g) < F(v);
3060
- }, _.$g = function(v, g, m) {
3061
- return b.u(v) ? this[g] : this.set(m, v);
3062
- }, _.unix = function() {
3060
+ }, m.$g = function(v, g, _) {
3061
+ return b.u(v) ? this[g] : this.set(_, v);
3062
+ }, m.unix = function() {
3063
3063
  return Math.floor(this.valueOf() / 1e3);
3064
- }, _.valueOf = function() {
3064
+ }, m.valueOf = function() {
3065
3065
  return this.$d.getTime();
3066
- }, _.startOf = function(v, g) {
3067
- var m = this, E = !!b.u(g) || g, x = b.p(v), B = function(Fe, ee) {
3068
- var ke = b.w(m.$u ? Date.UTC(m.$y, ee, Fe) : new Date(m.$y, ee, Fe), m);
3066
+ }, m.startOf = function(v, g) {
3067
+ var _ = this, E = !!b.u(g) || g, x = b.p(v), B = function(Fe, ee) {
3068
+ var ke = b.w(_.$u ? Date.UTC(_.$y, ee, Fe) : new Date(_.$y, ee, Fe), _);
3069
3069
  return E ? ke : ke.endOf(l);
3070
3070
  }, I = function(Fe, ee) {
3071
- return b.w(m.toDate()[Fe].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), m);
3071
+ return b.w(_.toDate()[Fe].apply(_.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), _);
3072
3072
  }, W = this.$W, z = this.$M, se = this.$D, Qe = "set" + (this.$u ? "UTC" : "");
3073
3073
  switch (x) {
3074
3074
  case d:
@@ -3090,21 +3090,21 @@ var Na = { exports: {} };
3090
3090
  default:
3091
3091
  return this.clone();
3092
3092
  }
3093
- }, _.endOf = function(v) {
3093
+ }, m.endOf = function(v) {
3094
3094
  return this.startOf(v, !1);
3095
- }, _.$set = function(v, g) {
3096
- var m, E = b.p(v), x = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[l] = x + "Date", m[p] = x + "Date", m[h] = x + "Month", m[d] = x + "FullYear", m[u] = x + "Hours", m[a] = x + "Minutes", m[o] = x + "Seconds", m[s] = x + "Milliseconds", m)[E], I = E === l ? this.$D + (g - this.$W) : g;
3095
+ }, m.$set = function(v, g) {
3096
+ var _, E = b.p(v), x = "set" + (this.$u ? "UTC" : ""), B = (_ = {}, _[l] = x + "Date", _[p] = x + "Date", _[h] = x + "Month", _[d] = x + "FullYear", _[u] = x + "Hours", _[a] = x + "Minutes", _[o] = x + "Seconds", _[s] = x + "Milliseconds", _)[E], I = E === l ? this.$D + (g - this.$W) : g;
3097
3097
  if (E === h || E === d) {
3098
3098
  var W = this.clone().set(p, 1);
3099
3099
  W.$d[B](I), W.init(), this.$d = W.set(p, Math.min(this.$D, W.daysInMonth())).$d;
3100
3100
  } else B && this.$d[B](I);
3101
3101
  return this.init(), this;
3102
- }, _.set = function(v, g) {
3102
+ }, m.set = function(v, g) {
3103
3103
  return this.clone().$set(v, g);
3104
- }, _.get = function(v) {
3104
+ }, m.get = function(v) {
3105
3105
  return this[b.p(v)]();
3106
- }, _.add = function(v, g) {
3107
- var m, E = this;
3106
+ }, m.add = function(v, g) {
3107
+ var _, E = this;
3108
3108
  v = Number(v);
3109
3109
  var x = b.p(g), B = function(z) {
3110
3110
  var se = F(E);
@@ -3114,14 +3114,14 @@ var Na = { exports: {} };
3114
3114
  if (x === d) return this.set(d, this.$y + v);
3115
3115
  if (x === l) return B(1);
3116
3116
  if (x === f) return B(7);
3117
- var I = (m = {}, m[a] = n, m[u] = i, m[o] = r, m)[x] || 1, W = this.$d.getTime() + v * I;
3117
+ var I = (_ = {}, _[a] = n, _[u] = i, _[o] = r, _)[x] || 1, W = this.$d.getTime() + v * I;
3118
3118
  return b.w(W, this);
3119
- }, _.subtract = function(v, g) {
3119
+ }, m.subtract = function(v, g) {
3120
3120
  return this.add(-1 * v, g);
3121
- }, _.format = function(v) {
3122
- var g = this, m = this.$locale();
3123
- if (!this.isValid()) return m.invalidDate || w;
3124
- var E = v || "YYYY-MM-DDTHH:mm:ssZ", x = b.z(this), B = this.$H, I = this.$m, W = this.$M, z = m.weekdays, se = m.months, Qe = m.meridiem, Ue = function(ee, ke, yt, Lt) {
3121
+ }, m.format = function(v) {
3122
+ var g = this, _ = this.$locale();
3123
+ if (!this.isValid()) return _.invalidDate || w;
3124
+ var E = v || "YYYY-MM-DDTHH:mm:ssZ", x = b.z(this), B = this.$H, I = this.$m, W = this.$M, z = _.weekdays, se = _.months, Qe = _.meridiem, Ue = function(ee, ke, yt, Lt) {
3125
3125
  return ee && (ee[ke] || ee(g, E)) || yt[ke].slice(0, Lt);
3126
3126
  }, gt = function(ee) {
3127
3127
  return b.s(B % 12 || 12, ee, "0");
@@ -3141,7 +3141,7 @@ var Na = { exports: {} };
3141
3141
  case "MM":
3142
3142
  return b.s(W + 1, 2, "0");
3143
3143
  case "MMM":
3144
- return Ue(m.monthsShort, W, se, 3);
3144
+ return Ue(_.monthsShort, W, se, 3);
3145
3145
  case "MMMM":
3146
3146
  return Ue(se, W);
3147
3147
  case "D":
@@ -3151,9 +3151,9 @@ var Na = { exports: {} };
3151
3151
  case "d":
3152
3152
  return String(g.$W);
3153
3153
  case "dd":
3154
- return Ue(m.weekdaysMin, g.$W, z, 2);
3154
+ return Ue(_.weekdaysMin, g.$W, z, 2);
3155
3155
  case "ddd":
3156
- return Ue(m.weekdaysShort, g.$W, z, 3);
3156
+ return Ue(_.weekdaysShort, g.$W, z, 3);
3157
3157
  case "dddd":
3158
3158
  return z[g.$W];
3159
3159
  case "H":
@@ -3184,9 +3184,9 @@ var Na = { exports: {} };
3184
3184
  return null;
3185
3185
  }(ee) || x.replace(":", "");
3186
3186
  });
3187
- }, _.utcOffset = function() {
3187
+ }, m.utcOffset = function() {
3188
3188
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3189
- }, _.diff = function(v, g, m) {
3189
+ }, m.diff = function(v, g, _) {
3190
3190
  var E, x = this, B = b.p(g), I = F(v), W = (I.utcOffset() - this.utcOffset()) * n, z = this - I, se = function() {
3191
3191
  return b.m(x, I);
3192
3192
  };
@@ -3218,33 +3218,33 @@ var Na = { exports: {} };
3218
3218
  default:
3219
3219
  E = z;
3220
3220
  }
3221
- return m ? E : b.a(E);
3222
- }, _.daysInMonth = function() {
3221
+ return _ ? E : b.a(E);
3222
+ }, m.daysInMonth = function() {
3223
3223
  return this.endOf(h).$D;
3224
- }, _.$locale = function() {
3224
+ }, m.$locale = function() {
3225
3225
  return Q[this.$L];
3226
- }, _.locale = function(v, g) {
3226
+ }, m.locale = function(v, g) {
3227
3227
  if (!v) return this.$L;
3228
- var m = this.clone(), E = Je(v, g, !0);
3229
- return E && (m.$L = E), m;
3230
- }, _.clone = function() {
3228
+ var _ = this.clone(), E = Je(v, g, !0);
3229
+ return E && (_.$L = E), _;
3230
+ }, m.clone = function() {
3231
3231
  return b.w(this.$d, this);
3232
- }, _.toDate = function() {
3232
+ }, m.toDate = function() {
3233
3233
  return new Date(this.valueOf());
3234
- }, _.toJSON = function() {
3234
+ }, m.toJSON = function() {
3235
3235
  return this.isValid() ? this.toISOString() : null;
3236
- }, _.toISOString = function() {
3236
+ }, m.toISOString = function() {
3237
3237
  return this.$d.toISOString();
3238
- }, _.toString = function() {
3238
+ }, m.toString = function() {
3239
3239
  return this.$d.toUTCString();
3240
3240
  }, y;
3241
3241
  }(), Pe = R.prototype;
3242
3242
  return F.prototype = Pe, [["$ms", s], ["$s", o], ["$m", a], ["$H", u], ["$W", l], ["$M", h], ["$y", d], ["$D", p]].forEach(function(y) {
3243
- Pe[y[1]] = function(_) {
3244
- return this.$g(_, y[0], y[1]);
3243
+ Pe[y[1]] = function(m) {
3244
+ return this.$g(m, y[0], y[1]);
3245
3245
  };
3246
- }), F.extend = function(y, _) {
3247
- return y.$i || (y(_, R, F), y.$i = !0), F;
3246
+ }), F.extend = function(y, m) {
3247
+ return y.$i || (y(m, R, F), y.$i = !0), F;
3248
3248
  }, F.locale = Je, F.isDayjs = bt, F.unix = function(y) {
3249
3249
  return F(1e3 * y);
3250
3250
  }, F.en = Q[J], F.Ls = Q, F.p = {}, F;
@@ -3378,7 +3378,7 @@ function eo(e, t) {
3378
3378
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
3379
3379
  return r;
3380
3380
  }
3381
- function _r(e, t, r) {
3381
+ function mr(e, t, r) {
3382
3382
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
3383
3383
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
3384
3384
  return e.concat(s || Array.prototype.slice.call(t));
@@ -3608,7 +3608,7 @@ function po(e) {
3608
3608
  function vo(e) {
3609
3609
  return e.replace(/^(.*?)-/, "");
3610
3610
  }
3611
- var yn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ji = /^(@+)?(\+|#+)?[rs]?$/g, mo = /(\*)(0+)|(#+)(0+)|(0+)/g, Vi = /^(0+)$/;
3611
+ var yn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ji = /^(@+)?(\+|#+)?[rs]?$/g, _o = /(\*)(0+)|(#+)(0+)|(0+)/g, Vi = /^(0+)$/;
3612
3612
  function En(e) {
3613
3613
  var t = {};
3614
3614
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ji, function(r, n, i) {
@@ -3655,7 +3655,7 @@ function Xi(e) {
3655
3655
  };
3656
3656
  }
3657
3657
  }
3658
- function _o(e) {
3658
+ function mo(e) {
3659
3659
  var t;
3660
3660
  if (e[0] === "E" && e[1] === "E" ? (t = {
3661
3661
  notation: "engineering"
@@ -3759,7 +3759,7 @@ function bo(e) {
3759
3759
  case "integer-width":
3760
3760
  if (i.options.length > 1)
3761
3761
  throw new RangeError("integer-width stems only accept a single optional option");
3762
- i.options[0].replace(mo, function(u, l, f, h, c, d) {
3762
+ i.options[0].replace(_o, function(u, l, f, h, c, d) {
3763
3763
  if (l)
3764
3764
  t.minimumIntegerDigits = f.length;
3765
3765
  else {
@@ -3792,7 +3792,7 @@ function bo(e) {
3792
3792
  }
3793
3793
  var o = Xi(i.stem);
3794
3794
  o && (t = k(k({}, t), o));
3795
- var a = _o(i.stem);
3795
+ var a = mo(i.stem);
3796
3796
  a && (t = k(k({}, t), a));
3797
3797
  }
3798
3798
  return t;
@@ -6025,7 +6025,7 @@ function Xo(e) {
6025
6025
  getNumberFormat: br(function() {
6026
6026
  for (var t, r = [], n = 0; n < arguments.length; n++)
6027
6027
  r[n] = arguments[n];
6028
- return new ((t = Intl.NumberFormat).bind.apply(t, _r([void 0], r, !1)))();
6028
+ return new ((t = Intl.NumberFormat).bind.apply(t, mr([void 0], r, !1)))();
6029
6029
  }, {
6030
6030
  cache: Er(e.number),
6031
6031
  strategy: gr.variadic
@@ -6033,7 +6033,7 @@ function Xo(e) {
6033
6033
  getDateTimeFormat: br(function() {
6034
6034
  for (var t, r = [], n = 0; n < arguments.length; n++)
6035
6035
  r[n] = arguments[n];
6036
- return new ((t = Intl.DateTimeFormat).bind.apply(t, _r([void 0], r, !1)))();
6036
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, mr([void 0], r, !1)))();
6037
6037
  }, {
6038
6038
  cache: Er(e.dateTime),
6039
6039
  strategy: gr.variadic
@@ -6041,7 +6041,7 @@ function Xo(e) {
6041
6041
  getPluralRules: br(function() {
6042
6042
  for (var t, r = [], n = 0; n < arguments.length; n++)
6043
6043
  r[n] = arguments[n];
6044
- return new ((t = Intl.PluralRules).bind.apply(t, _r([void 0], r, !1)))();
6044
+ return new ((t = Intl.PluralRules).bind.apply(t, mr([void 0], r, !1)))();
6045
6045
  }, {
6046
6046
  cache: Er(e.pluralRules),
6047
6047
  strategy: gr.variadic
@@ -6194,7 +6194,7 @@ const Re = {}, zo = (e, t, r) => r && (t in Re || (Re[t] = {}), e in Re[t] || (R
6194
6194
  }
6195
6195
  };
6196
6196
  let rn;
6197
- const mt = or({});
6197
+ const _t = or({});
6198
6198
  function qo(e) {
6199
6199
  return rn[e] || null;
6200
6200
  }
@@ -6218,13 +6218,13 @@ function Jo(e) {
6218
6218
  }
6219
6219
  }
6220
6220
  function Ji(e, ...t) {
6221
- delete Re[e], mt.update((r) => (r[e] = Ka.all([r[e] || {}, ...t]), r));
6221
+ delete Re[e], _t.update((r) => (r[e] = Ka.all([r[e] || {}, ...t]), r));
6222
6222
  }
6223
6223
  vt(
6224
- [mt],
6224
+ [_t],
6225
6225
  ([e]) => Object.keys(e)
6226
6226
  );
6227
- mt.subscribe((e) => rn = e);
6227
+ _t.subscribe((e) => rn = e);
6228
6228
  const Wt = {};
6229
6229
  function Qo(e, t) {
6230
6230
  Wt[e].delete(t), Wt[e].size === 0 && delete Wt[e];
@@ -6360,7 +6360,7 @@ var cu = Object.defineProperty, rr = Object.getOwnPropertySymbols, es = Object.p
6360
6360
  for (var r of rr(t))
6361
6361
  ts.call(t, r) && Mn(e, r, t[r]);
6362
6362
  return e;
6363
- }, _t = (e, t) => {
6363
+ }, mt = (e, t) => {
6364
6364
  var r = {};
6365
6365
  for (var n in e)
6366
6366
  es.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -6376,45 +6376,45 @@ const Pt = (e, t) => {
6376
6376
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
6377
6377
  }, du = hr(
6378
6378
  (e) => {
6379
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
6379
+ var t = e, { locale: r, format: n } = t, i = mt(t, ["locale", "format"]);
6380
6380
  if (r == null)
6381
6381
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
6382
6382
  return n && (i = Pt("number", n)), new Intl.NumberFormat(r, i);
6383
6383
  }
6384
6384
  ), pu = hr(
6385
6385
  (e) => {
6386
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
6386
+ var t = e, { locale: r, format: n } = t, i = mt(t, ["locale", "format"]);
6387
6387
  if (r == null)
6388
6388
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
6389
6389
  return n ? i = Pt("date", n) : Object.keys(i).length === 0 && (i = Pt("date", "short")), new Intl.DateTimeFormat(r, i);
6390
6390
  }
6391
6391
  ), vu = hr(
6392
6392
  (e) => {
6393
- var t = e, { locale: r, format: n } = t, i = _t(t, ["locale", "format"]);
6393
+ var t = e, { locale: r, format: n } = t, i = mt(t, ["locale", "format"]);
6394
6394
  if (r == null)
6395
6395
  throw new Error(
6396
6396
  '[svelte-i18n] A "locale" must be set to format time values'
6397
6397
  );
6398
6398
  return n ? i = Pt("time", n) : Object.keys(i).length === 0 && (i = Pt("time", "short")), new Intl.DateTimeFormat(r, i);
6399
6399
  }
6400
- ), mu = (e = {}) => {
6400
+ ), _u = (e = {}) => {
6401
6401
  var t = e, {
6402
6402
  locale: r = Ze()
6403
- } = t, n = _t(t, [
6403
+ } = t, n = mt(t, [
6404
6404
  "locale"
6405
6405
  ]);
6406
6406
  return du(nn({ locale: r }, n));
6407
- }, _u = (e = {}) => {
6407
+ }, mu = (e = {}) => {
6408
6408
  var t = e, {
6409
6409
  locale: r = Ze()
6410
- } = t, n = _t(t, [
6410
+ } = t, n = mt(t, [
6411
6411
  "locale"
6412
6412
  ]);
6413
6413
  return pu(nn({ locale: r }, n));
6414
6414
  }, bu = (e = {}) => {
6415
6415
  var t = e, {
6416
6416
  locale: r = Ze()
6417
- } = t, n = _t(t, [
6417
+ } = t, n = mt(t, [
6418
6418
  "locale"
6419
6419
  ]);
6420
6420
  return vu(nn({ locale: r }, n));
@@ -6455,14 +6455,14 @@ const Pt = (e, t) => {
6455
6455
  );
6456
6456
  }
6457
6457
  return h;
6458
- }, Eu = (e, t) => bu(t).format(e), xu = (e, t) => _u(t).format(e), wu = (e, t) => mu(t).format(e), Su = (e, t = Ze()) => qi(e, t), Tu = vt([Ye, mt], () => yu);
6458
+ }, Eu = (e, t) => bu(t).format(e), xu = (e, t) => mu(t).format(e), wu = (e, t) => _u(t).format(e), Su = (e, t = Ze()) => qi(e, t), Tu = vt([Ye, _t], () => yu);
6459
6459
  vt([Ye], () => Eu);
6460
6460
  vt([Ye], () => xu);
6461
6461
  vt([Ye], () => wu);
6462
- vt([Ye, mt], () => Su);
6462
+ vt([Ye, _t], () => Su);
6463
6463
  function Hu({ withLocale: e, translations: t }) {
6464
6464
  Ye.subscribe((r) => {
6465
- r == null && (mt.set(t), Ye.set(e));
6465
+ r == null && (_t.set(t), Ye.set(e));
6466
6466
  });
6467
6467
  }
6468
6468
  function Bn(e, t) {
@@ -6491,18 +6491,18 @@ const Au = {
6491
6491
  requestRakeback: "Rakeback igénylése"
6492
6492
  }
6493
6493
  }, $u = "RakebackClaimConfirmed";
6494
- var Ou = /* @__PURE__ */ Hi('<div class="loyalty-rakeback-card svelte-bm1wev"><div class="loyalty-rakeback-card__content svelte-bm1wev"><span class="loyalty-rakeback-card__amount svelte-bm1wev"> </span> <button class="loyalty-rakeback-card__button svelte-bm1wev" type="button"> </button></div></div>'), Mu = /* @__PURE__ */ Hi('<div class="loyalty-rakeback-card svelte-bm1wev" aria-busy="true"><div class="loyalty-rakeback-card__content loyalty-rakeback-card__content--skeleton svelte-bm1wev"><span class="loyalty-rakeback-skeleton loyalty-rakeback-skeleton--amount svelte-bm1wev"></span> <span class="loyalty-rakeback-skeleton loyalty-rakeback-skeleton--button svelte-bm1wev"></span></div></div>');
6494
+ var Ou = /* @__PURE__ */ Hi('<div class="loyalty-rakeback-card"><div class="loyalty-rakeback-card__content"><span class="loyalty-rakeback-card__amount"> </span> <button class="loyalty-rakeback-card__button" type="button"> </button></div></div>'), Mu = /* @__PURE__ */ Hi('<div class="loyalty-rakeback-card" aria-busy="true"><div class="loyalty-rakeback-card__content loyalty-rakeback-card__content--skeleton"><span class="loyalty-rakeback-skeleton loyalty-rakeback-skeleton--amount"></span> <span class="loyalty-rakeback-skeleton loyalty-rakeback-skeleton--button"></span></div></div>');
6495
6495
  const Bu = {
6496
6496
  hash: "svelte-bm1wev",
6497
- code: `.loyalty-rakeback-card.svelte-bm1wev {padding:14px 16px;display:inline-flex;flex-direction:column;background-color:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));width:100%;box-sizing:border-box;}.loyalty-rakeback-card__content.svelte-bm1wev {display:flex;align-items:baseline;gap:8px;justify-content:space-between;}.loyalty-rakeback-card__amount.svelte-bm1wev {color:var(--text-default, #ffffff);font-size:16px;font-weight:700;line-height:140%;}.loyalty-rakeback-card__button.svelte-bm1wev {height:37px;border-radius:6px;border-width:1px;padding:10px 16px;cursor:pointer;background:var(--button-secondary-bg-default, rgba(251, 251, 251, 0.1));border:solid 1px var(--button-secondary-border-default, rgba(251, 251, 251, 0.05));font-size:12px;font-weight:700;color:var(--button-secondary-text-default, #ffffff);}.loyalty-rakeback-card__button.svelte-bm1wev:disabled {opacity:0.4;cursor:default;}.loyalty-rakeback-skeleton.svelte-bm1wev {display:block;border-radius:4px;background:linear-gradient(
6497
+ code: `.loyalty-rakeback-card {padding:14px 16px;display:inline-flex;flex-direction:column;background-color:var(--app-container-bg-default, #022652);border-radius:6px;border:1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));width:100%;box-sizing:border-box;}.loyalty-rakeback-card__content {display:flex;align-items:baseline;gap:8px;justify-content:space-between;}.loyalty-rakeback-card__amount {color:var(--text-default, #ffffff);font-size:16px;font-weight:700;line-height:140%;}.loyalty-rakeback-card__button {height:37px;border-radius:6px;border-width:1px;padding:10px 16px;cursor:pointer;background:var(--button-secondary-bg-default, rgba(251, 251, 251, 0.1));border:solid 1px var(--button-secondary-border-default, rgba(251, 251, 251, 0.05));font-size:12px;font-weight:700;color:var(--button-secondary-text-default, #ffffff);}.loyalty-rakeback-card__button:disabled {opacity:0.4;cursor:default;}.loyalty-rakeback-skeleton {display:block;border-radius:4px;background:linear-gradient(
6498
6498
  90deg,
6499
6499
  var(--app-container-bg-subtle, rgba(251, 251, 251, 0.1)) 0%,
6500
6500
  color-mix(in srgb, var(--app-container-bg-subtle, rgba(251, 251, 251, 0.1)) 80%, white) 50%,
6501
6501
  var(--app-container-bg-subtle, rgba(251, 251, 251, 0.1)) 100%
6502
6502
  );background-size:400% 100%;
6503
- animation: svelte-bm1wev-loyalty-rakeback-shimmer 1.4s ease infinite;}.loyalty-rakeback-card__content--skeleton.svelte-bm1wev {align-items:center;}.loyalty-rakeback-skeleton--amount.svelte-bm1wev {width:120px;height:22px;}.loyalty-rakeback-skeleton--button.svelte-bm1wev {width:110px;height:37px;border-radius:6px;}
6503
+ animation: loyalty-rakeback-shimmer 1.4s ease infinite;}.loyalty-rakeback-card__content--skeleton {align-items:center;}.loyalty-rakeback-skeleton--amount {width:120px;height:22px;}.loyalty-rakeback-skeleton--button {width:110px;height:37px;border-radius:6px;}
6504
6504
 
6505
- @keyframes svelte-bm1wev-loyalty-rakeback-shimmer {
6505
+ @keyframes loyalty-rakeback-shimmer {
6506
6506
  0% {
6507
6507
  background-position: 100% 50%;
6508
6508
  }
@@ -6511,7 +6511,7 @@ const Bu = {
6511
6511
  }
6512
6512
  }
6513
6513
 
6514
- @media (prefers-reduced-motion: reduce) {.loyalty-rakeback-skeleton.svelte-bm1wev {
6514
+ @media (prefers-reduced-motion: reduce) {.loyalty-rakeback-skeleton {
6515
6515
  animation: none;}
6516
6516
  }`
6517
6517
  };
@@ -6609,10 +6609,10 @@ function rs(e, t) {
6609
6609
  }, Q = la(), De = Gs(Q);
6610
6610
  {
6611
6611
  var bt = (b) => {
6612
- var R = Ou(), Pe = Or(R), y = Or(Pe), _ = fn(y), v = js(y, 2), g = fn(v, !0);
6612
+ var R = Ou(), Pe = Or(R), y = Or(Pe), m = fn(y), v = js(y, 2), g = fn(v, !0);
6613
6613
  Tr(Pe), Tr(R), Ks(
6614
- (m) => {
6615
- _n(_, `${O(p) ?? ""} ${O(w) ?? ""}`), v.disabled = O(c) || !O(P), _n(g, m);
6614
+ (_) => {
6615
+ mn(m, `${O(p) ?? ""} ${O(w) ?? ""}`), v.disabled = O(c) || !O(P), mn(g, _);
6616
6616
  },
6617
6617
  [() => r()("requestRakeback")]
6618
6618
  ), ia("click", v, U), jt(b, R);