@leatcom/portal-sessions 0.3.0-beta.18 → 0.3.0-beta.19

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.
Files changed (24) hide show
  1. package/dist/{calendar-CrJ6I795.js → calendar-BB00qpRq.js} +5 -5
  2. package/dist/{camera-switch-BxMuh4ES.js → camera-switch-BXS-_gxA.js} +6 -6
  3. package/dist/{caret-left-Ck94QwZi.js → caret-left-DL0gWXZ3.js} +2 -2
  4. package/dist/{close-C5C1NZax.js → close-DZRjZn1U.js} +9 -9
  5. package/dist/{crossBlack-QEr32Uw_.js → crossBlack-BlCMSKh6.js} +5 -5
  6. package/dist/{dollar-CbB1PNg_.js → dollar-rgFcu6ZL.js} +5 -5
  7. package/dist/{edit-Bqfd1uYH.js → edit-C60pGZv0.js} +6 -6
  8. package/dist/{home-UAfTcrTL.js → home-yAgk5A7V.js} +5 -5
  9. package/dist/{information-B1Pd3hjP.js → information-CvZKTmYD.js} +2 -2
  10. package/dist/{leat_logo-BtwyQLh9.js → leat_logo-NwdL69JB.js} +2 -2
  11. package/dist/lib/components/Input/InputNumeric.d.ts +1 -1
  12. package/dist/lib/components/Keyboard/KeyboardWrapper.d.ts +1 -1
  13. package/dist/{mail-DT_m0_pw.js → mail-DiM_Piof.js} +8 -8
  14. package/dist/{notificationErrorV2-BfO-yUhl.js → notificationErrorV2-BYXgTWTY.js} +2 -2
  15. package/dist/{notificationSuccessV2-DkvdyEl4.js → notificationSuccessV2-x1VZYEfe.js} +6 -6
  16. package/dist/{notificationWarningV2-Dqo2FDtr.js → notificationWarningV2-Bw22u6jB.js} +8 -8
  17. package/dist/portal-sessions.es.js +124 -120
  18. package/dist/{qr-scanner-worker.min-CaWmrFIN.js → qr-scanner-worker.min-CczAHfge.js} +2 -2
  19. package/dist/{settings-ytnLj4nv.js → settings-BtNpJnKJ.js} +8 -8
  20. package/dist/{shopping-bag-D0VKlIqB.js → shopping-bag-ChfK6Za0.js} +2 -2
  21. package/dist/{star-C0CSMoeX.js → star-3qFYKU0x.js} +2 -2
  22. package/dist/style.css +1 -1
  23. package/dist/{user-Cezc9sZa.js → user-BPfttFMQ.js} +5 -5
  24. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { jsxs as M, jsx as m, Fragment as Or } from "react/jsx-runtime";
1
+ import { jsxs as M, jsx as m, Fragment as Vr } from "react/jsx-runtime";
2
2
  import * as z from "react";
3
3
  import se, { createContext as xi, useContext as Di, useEffect as qe, useMemo as wn, useRef as Ue, useCallback as Zt, useState as pe, useLayoutEffect as Ug, useDebugValue as Ww, createElement as Ec, Component as Yw, forwardRef as af, useImperativeHandle as $w, Fragment as Kw, Children as fi, isValidElement as Oh, cloneElement as zw, StrictMode as Xw } from "react";
4
4
  import Qw from "react-dom";
5
5
  (function() {
6
6
  try {
7
7
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
8
- t.SENTRY_RELEASE = { id: "b8bf4f40b657064b0358995b768489c0537d7640" }, t._sentryModuleMetadata = t._sentryModuleMetadata || {}, t._sentryModuleMetadata[new t.Error().stack] = (function(n) {
8
+ t.SENTRY_RELEASE = { id: "db1f7a65420c8a03cff6b18c61a680bf57d7a65b" }, t._sentryModuleMetadata = t._sentryModuleMetadata || {}, t._sentryModuleMetadata[new t.Error().stack] = (function(n) {
9
9
  for (var r = 1; r < arguments.length; r++) {
10
10
  var o = arguments[r];
11
11
  if (o != null) for (var i in o) o.hasOwnProperty(i) && (n[i] = o[i]);
@@ -13,7 +13,7 @@ import Qw from "react-dom";
13
13
  return n;
14
14
  })({}, t._sentryModuleMetadata[new t.Error().stack], { "_sentryBundlerPluginAppKey:portal-sessions-application-key": !0 });
15
15
  var e = new t.Error().stack;
16
- e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "27770c03-1bed-478f-8a1d-c0a43d45dee0", t._sentryDebugIdIdentifier = "sentry-dbid-27770c03-1bed-478f-8a1d-c0a43d45dee0");
16
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "67521c02-b634-41c2-a50b-1fb1fef25752", t._sentryDebugIdIdentifier = "sentry-dbid-67521c02-b634-41c2-a50b-1fb1fef25752");
17
17
  } catch {
18
18
  }
19
19
  })();
@@ -2171,7 +2171,7 @@ function zr() {
2171
2171
  headers: {
2172
2172
  Authorization: `Bearer ${t}`,
2173
2173
  ...l.headers,
2174
- "X-SDK-Version": "0.3.0-beta.18"
2174
+ "X-SDK-Version": "0.3.0-beta.19"
2175
2175
  }
2176
2176
  });
2177
2177
  return d.interceptors.response.use(void 0, lm), d.request({
@@ -2360,7 +2360,7 @@ const Le = (t) => typeof t == "string", ia = () => {
2360
2360
  for (const r in e)
2361
2361
  r !== "__proto__" && r !== "constructor" && (r in t ? Le(t[r]) || t[r] instanceof String || Le(e[r]) || e[r] instanceof String ? n && (t[r] = e[r]) : hm(t[r], e[r], n) : t[r] = e[r]);
2362
2362
  return t;
2363
- }, kr = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), XE = {
2363
+ }, Mr = (t) => t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), XE = {
2364
2364
  "&": "&amp;",
2365
2365
  "<": "&lt;",
2366
2366
  ">": "&gt;",
@@ -2999,7 +2999,7 @@ class ep {
2999
2999
  maxReplaces: b,
3000
3000
  alwaysFormat: _
3001
3001
  } = e.interpolation;
3002
- this.escape = n !== void 0 ? n : QE, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? kr(i) : a || "{{", this.suffix = s ? kr(s) : c || "}}", this.formatSeparator = u || ",", this.unescapePrefix = l ? "" : d ? kr(d) : "-", this.unescapeSuffix = this.unescapePrefix ? "" : l ? kr(l) : "", this.nestingPrefix = f ? kr(f) : h || kr("$t("), this.nestingSuffix = p ? kr(p) : g || kr(")"), this.nestingOptionsSeparator = y || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = _ !== void 0 ? _ : !1, this.resetRegExp();
3002
+ this.escape = n !== void 0 ? n : QE, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = o !== void 0 ? o : !1, this.prefix = i ? Mr(i) : a || "{{", this.suffix = s ? Mr(s) : c || "}}", this.formatSeparator = u || ",", this.unescapePrefix = l ? "" : d ? Mr(d) : "-", this.unescapeSuffix = this.unescapePrefix ? "" : l ? Mr(l) : "", this.nestingPrefix = f ? Mr(f) : h || Mr("$t("), this.nestingSuffix = p ? Mr(p) : g || Mr(")"), this.nestingOptionsSeparator = y || ",", this.maxReplaces = b || 1e3, this.alwaysFormat = _ !== void 0 ? _ : !1, this.resetRegExp();
3003
3003
  }
3004
3004
  reset() {
3005
3005
  this.options && this.init(this.options);
@@ -3060,7 +3060,7 @@ class ep {
3060
3060
  const s = (c, u) => {
3061
3061
  const l = this.nestingOptionsSeparator;
3062
3062
  if (!c.includes(l)) return c;
3063
- const d = c.split(new RegExp(`${kr(l)}[ ]*{`));
3063
+ const d = c.split(new RegExp(`${Mr(l)}[ ]*{`));
3064
3064
  let f = `{${d[1]}`;
3065
3065
  c = d[0], f = this.interpolate(f, a);
3066
3066
  const h = f.match(/'/g), p = f.match(/"/g);
@@ -4777,15 +4777,15 @@ function ld(t, e) {
4777
4777
  }
4778
4778
  return t !== t && e !== e;
4779
4779
  }
4780
- const Fr = /* @__PURE__ */ new WeakMap(), Vr = () => {
4780
+ const Lr = /* @__PURE__ */ new WeakMap(), Fr = () => {
4781
4781
  }, bn = (
4782
4782
  /*#__NOINLINE__*/
4783
- Vr()
4783
+ Fr()
4784
4784
  ), dd = Object, Ze = (t) => t === bn, Ar = (t) => typeof t == "function", fo = (t, e) => ({
4785
4785
  ...t,
4786
4786
  ...e
4787
4787
  }), Am = (t) => Ar(t.then), wl = {}, Ds = {}, vf = "undefined", ja = typeof window != vf, fd = typeof document != vf, c_ = ja && "Deno" in window, u_ = () => ja && typeof window.requestAnimationFrame != vf, Tm = (t, e) => {
4788
- const n = Fr.get(t);
4788
+ const n = Lr.get(t);
4789
4789
  return [
4790
4790
  // Getter
4791
4791
  () => !Ze(e) && t.get(e) || wl,
@@ -4807,8 +4807,8 @@ const l_ = () => hd, [pd, gd] = ja && window.addEventListener ? [
4807
4807
  window.addEventListener.bind(window),
4808
4808
  window.removeEventListener.bind(window)
4809
4809
  ] : [
4810
- Vr,
4811
- Vr
4810
+ Fr,
4811
+ Fr
4812
4812
  ], d_ = () => {
4813
4813
  const t = fd && document.visibilityState;
4814
4814
  return Ze(t) || t !== "hidden";
@@ -4891,7 +4891,7 @@ async function Im(...t) {
4891
4891
  async function d(f) {
4892
4892
  const [h] = wf(f);
4893
4893
  if (!h) return;
4894
- const [p, g] = Tm(e, h), [y, b, _, C] = Fr.get(e), T = () => {
4894
+ const [p, g] = Tm(e, h), [y, b, _, C] = Lr.get(e), T = () => {
4895
4895
  const de = y[h];
4896
4896
  return (Ar(i.revalidate) ? i.revalidate(p().data, f) : i.revalidate !== !1) && (delete _[h], delete C[h], de && de[0]) ? de[0](Sm).then(() => p().data) : p().data;
4897
4897
  };
@@ -4952,9 +4952,9 @@ const yp = (t, e) => {
4952
4952
  for (const n in t)
4953
4953
  t[n][0] && t[n][0](e);
4954
4954
  }, b_ = (t, e) => {
4955
- if (!Fr.has(t)) {
4955
+ if (!Lr.has(t)) {
4956
4956
  const n = fo(g_, e), r = /* @__PURE__ */ Object.create(null), o = Im.bind(bn, t);
4957
- let i = Vr;
4957
+ let i = Fr;
4958
4958
  const a = /* @__PURE__ */ Object.create(null), s = (l, d) => {
4959
4959
  const f = a[l] || [];
4960
4960
  return a[l] = f, f.push(d), () => f.splice(f.indexOf(d), 1);
@@ -4965,7 +4965,7 @@ const yp = (t, e) => {
4965
4965
  for (const p of h)
4966
4966
  p(d, f);
4967
4967
  }, u = () => {
4968
- if (!Fr.has(t) && (Fr.set(t, [
4968
+ if (!Lr.has(t) && (Lr.set(t, [
4969
4969
  r,
4970
4970
  /* @__PURE__ */ Object.create(null),
4971
4971
  /* @__PURE__ */ Object.create(null),
@@ -4976,7 +4976,7 @@ const yp = (t, e) => {
4976
4976
  ]), !wi)) {
4977
4977
  const l = n.initFocus(setTimeout.bind(bn, yp.bind(bn, r, Cm))), d = n.initReconnect(setTimeout.bind(bn, yp.bind(bn, r, _m)));
4978
4978
  i = () => {
4979
- l && l(), d && d(), Fr.delete(t);
4979
+ l && l(), d && d(), Lr.delete(t);
4980
4980
  };
4981
4981
  }
4982
4982
  };
@@ -4989,7 +4989,7 @@ const yp = (t, e) => {
4989
4989
  }
4990
4990
  return [
4991
4991
  t,
4992
- Fr.get(t)[4]
4992
+ Lr.get(t)[4]
4993
4993
  ];
4994
4994
  }, E_ = (t, e, n, r, o) => {
4995
4995
  const i = n.errorRetryCount, a = o.retryCount, s = ~~((Math.random() + 0.5) * (1 << (a < 8 ? a : 8))) * n.errorRetryInterval;
@@ -4997,11 +4997,11 @@ const yp = (t, e) => {
4997
4997
  }, C_ = ld, [Rm, __] = b_(/* @__PURE__ */ new Map()), S_ = fo(
4998
4998
  {
4999
4999
  // events
5000
- onLoadingSlow: Vr,
5001
- onSuccess: Vr,
5002
- onError: Vr,
5000
+ onLoadingSlow: Fr,
5001
+ onSuccess: Fr,
5002
+ onError: Fr,
5003
5003
  onErrorRetry: E_,
5004
- onDiscarded: Vr,
5004
+ onDiscarded: Fr,
5005
5005
  // switches
5006
5006
  revalidateOnFocus: !0,
5007
5007
  revalidateOnReconnect: !0,
@@ -5044,7 +5044,7 @@ const yp = (t, e) => {
5044
5044
  t
5045
5045
  ]);
5046
5046
  }, D_ = (t) => (e, n, r) => t(e, n && ((...i) => {
5047
- const [a] = wf(e), [, , , s] = Fr.get(Rm);
5047
+ const [a] = wf(e), [, , , s] = Lr.get(Rm);
5048
5048
  if (a.startsWith(I_))
5049
5049
  return n(...i);
5050
5050
  const c = s[a];
@@ -5085,8 +5085,8 @@ const _l = se.use || // This extra generic is to avoid TypeScript mixing up the
5085
5085
  }
5086
5086
  }), Sl = {
5087
5087
  dedupe: !0
5088
- }, vp = Promise.resolve(bn), B_ = () => Vr, L_ = (t, e, n) => {
5089
- const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: u, refreshWhenHidden: l, refreshWhenOffline: d, keepPreviousData: f, strictServerPrefetchWarning: h } = n, [p, g, y, b] = Fr.get(r), [_, C] = wf(t), T = Ue(!1), P = Ue(!1), V = Ue(_), L = Ue(e), X = Ue(n), J = () => X.current, ee = () => J().isVisible() && J().isOnline(), [ue, ie, le, de] = Tm(r, _), be = Ue({}).current, me = Ze(a) ? Ze(n.fallback) ? bn : n.fallback[_] : a, Y = (Be, je) => {
5088
+ }, vp = Promise.resolve(bn), B_ = () => Fr, L_ = (t, e, n) => {
5089
+ const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: c, refreshInterval: u, refreshWhenHidden: l, refreshWhenOffline: d, keepPreviousData: f, strictServerPrefetchWarning: h } = n, [p, g, y, b] = Lr.get(r), [_, C] = wf(t), T = Ue(!1), P = Ue(!1), V = Ue(_), L = Ue(e), X = Ue(n), J = () => X.current, ee = () => J().isVisible() && J().isOnline(), [ue, ie, le, de] = Tm(r, _), be = Ue({}).current, me = Ze(a) ? Ze(n.fallback) ? bn : n.fallback[_] : a, Y = (Be, je) => {
5090
5090
  for (const Fe in be) {
5091
5091
  const Ne = Fe;
5092
5092
  if (Ne === "data") {
@@ -5412,7 +5412,7 @@ function U_() {
5412
5412
  ), d = Object.entries(
5413
5413
  t
5414
5414
  ).filter(([, f]) => typeof f == "function");
5415
- return /* @__PURE__ */ M(Or, { children: [
5415
+ return /* @__PURE__ */ M(Vr, { children: [
5416
5416
  /* @__PURE__ */ M(
5417
5417
  "button",
5418
5418
  {
@@ -5474,7 +5474,7 @@ function U_() {
5474
5474
  );
5475
5475
  }) }),
5476
5476
  /* @__PURE__ */ M("div", { className: "flex-1 space-y-3 overflow-auto p-5", children: [
5477
- a === "session" && /* @__PURE__ */ M(Or, { children: [
5477
+ a === "session" && /* @__PURE__ */ M(Vr, { children: [
5478
5478
  /* @__PURE__ */ M(Eo, { title: "Identity", children: [
5479
5479
  /* @__PURE__ */ m(Kn, { label: "PointsTransactionSession UUID", value: e }),
5480
5480
  /* @__PURE__ */ m(Kn, { label: "Type", value: n?.type }),
@@ -5529,7 +5529,7 @@ function U_() {
5529
5529
  ] }),
5530
5530
  r && /* @__PURE__ */ m(Eo, { title: "Error", children: /* @__PURE__ */ m(Kn, { label: "Message", value: r.message }) })
5531
5531
  ] }),
5532
- a === "configuration" && /* @__PURE__ */ M(Or, { children: [
5532
+ a === "configuration" && /* @__PURE__ */ M(Vr, { children: [
5533
5533
  /* @__PURE__ */ M(Eo, { title: "Props", children: [
5534
5534
  l.length === 0 && /* @__PURE__ */ m("p", { className: "m-0 py-2 text-[12px] text-white/40", children: "No configuration provided." }),
5535
5535
  l.map(([f, h]) => /* @__PURE__ */ m(Kn, { label: f, value: h }, f))
@@ -6336,11 +6336,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
6336
6336
  return n;
6337
6337
  })();
6338
6338
  } }, wp = {};
6339
- function Lr(t) {
6339
+ function Br(t) {
6340
6340
  var e = wp[t];
6341
6341
  if (e !== void 0) return e.exports;
6342
6342
  var n = wp[t] = { exports: {} };
6343
- return j_[t].call(n.exports, n, n.exports, Lr), n.exports;
6343
+ return j_[t].call(n.exports, n, n.exports, Br), n.exports;
6344
6344
  }
6345
6345
  function wa(t) {
6346
6346
  return wa = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -6385,15 +6385,15 @@ function H_(t, e, n) {
6385
6385
  return wa(o) == "symbol" ? o : o + "";
6386
6386
  })(e)) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
6387
6387
  }
6388
- Lr.n = (t) => {
6388
+ Br.n = (t) => {
6389
6389
  var e = t && t.__esModule ? () => t.default : () => t;
6390
- return Lr.d(e, { a: e }), e;
6391
- }, Lr.d = (t, e) => {
6392
- for (var n in e) Lr.o(e, n) && !Lr.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
6393
- }, Lr.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
6390
+ return Br.d(e, { a: e }), e;
6391
+ }, Br.d = (t, e) => {
6392
+ for (var n in e) Br.o(e, n) && !Br.o(t, n) && Object.defineProperty(t, n, { enumerable: !0, get: e[n] });
6393
+ }, Br.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
6394
6394
  var Ep = function(t) {
6395
6395
  return Ic(Ic({}, t), {}, { keyboardRef: null });
6396
- }, G_ = Lr(651), q_ = Lr.n(G_);
6396
+ }, G_ = Br(651), q_ = Br.n(G_);
6397
6397
  const W_ = function(t) {
6398
6398
  var e = t.baseClass || "react-simple-keyboard", n = Ue(null), r = Ue(null), o = Ue(null), i = Ue(t);
6399
6399
  return qe((function() {
@@ -6421,7 +6421,12 @@ const W_ = function(t) {
6421
6421
  }
6422
6422
  }), [n, e, i, t]), Ec("div", { className: e, ref: r });
6423
6423
  }, Y_ = W_;
6424
- function Mm({ onChange: t, keyboardRef: e, layout: n, theme: r }) {
6424
+ function Mm({
6425
+ onChange: t,
6426
+ keyboardRef: e,
6427
+ layout: n,
6428
+ theme: r
6429
+ }) {
6425
6430
  const [o, i] = pe("default");
6426
6431
  return /* @__PURE__ */ m(
6427
6432
  Y_,
@@ -6481,23 +6486,28 @@ function $_({ enabled: t }) {
6481
6486
  d(f, h);
6482
6487
  }), [e]);
6483
6488
  const p = (_) => {
6484
- if (o && o.current) {
6489
+ if (o?.current) {
6485
6490
  g(o.current, _);
6486
6491
  const C = r.current?.getCaretPosition();
6487
6492
  C && o.current?.setSelectionRange(C, C);
6488
6493
  }
6489
6494
  }, g = (_, C) => {
6490
- Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")?.set?.call(_, C);
6495
+ Object.getOwnPropertyDescriptor(
6496
+ window.HTMLInputElement.prototype,
6497
+ "value"
6498
+ )?.set?.call(_, C);
6491
6499
  const P = new Event("input", { bubbles: !0 });
6492
6500
  _.dispatchEvent(P);
6493
6501
  }, y = () => {
6494
6502
  if (!a) {
6495
6503
  const _ = i.current?.getBoundingClientRect();
6496
- return _ && _.x && !a && s(_), _;
6504
+ return _?.x && !a && s(_), _;
6497
6505
  }
6498
6506
  return a;
6499
6507
  }, b = () => {
6500
- const _ = document.querySelectorAll("#" + Mi), C = y(), T = [..._].map((L) => L.getBoundingClientRect()), P = o.current?.getBoundingClientRect();
6508
+ const _ = document.querySelectorAll(`#${Mi}`), C = y(), T = [..._].map(
6509
+ (L) => L.getBoundingClientRect()
6510
+ ), P = o.current?.getBoundingClientRect();
6501
6511
  T.push(P), T.sort((L, X) => L.bottom > X.bottom ? -1 : 1);
6502
6512
  let V = 0;
6503
6513
  return T.every((L) => {
@@ -6509,10 +6519,10 @@ function $_({ enabled: t }) {
6509
6519
  "div",
6510
6520
  {
6511
6521
  ref: i,
6512
- className: `mobile:hidden absolute bottom-0 left-2 right-2 z-50 mx-auto w-[98vw] max-w-[1200px] ${!e && a && "hidden"} ${!e && !a && "pointer-events-none opacity-0"}`,
6522
+ className: `absolute right-2 bottom-0 left-2 z-50 mx-auto mobile:hidden w-[98vw] max-w-300 ${!e && a && "hidden"} ${!e && !a && "pointer-events-none opacity-0"}`,
6513
6523
  children: /* @__PURE__ */ m(Mm, { keyboardRef: r, onChange: p })
6514
6524
  }
6515
- ) }) : /* @__PURE__ */ m(Or, {});
6525
+ ) }) : null;
6516
6526
  }
6517
6527
  const Ie = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, at = globalThis, Do = "10.53.1";
6518
6528
  function qo() {
@@ -7122,7 +7132,7 @@ function Oc(t) {
7122
7132
  return t[bd];
7123
7133
  }
7124
7134
  const bS = 100;
7125
- class xr {
7135
+ class Nr {
7126
7136
  /** Flag if notifying is happening. */
7127
7137
  /** Callback for client to receive scope changes. */
7128
7138
  /** Callback list that will be called during event processing. */
@@ -7161,7 +7171,7 @@ class xr {
7161
7171
  * Clone all data from this scope into a new scope.
7162
7172
  */
7163
7173
  clone() {
7164
- const e = new xr();
7174
+ const e = new Nr();
7165
7175
  return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._attributes = { ...this._attributes }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, this._contexts.flags && (e._contexts.flags = {
7166
7176
  values: [...this._contexts.flags.values]
7167
7177
  }), e._user = this._user, e._level = this._level, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, e._conversationId = this._conversationId, Ia(e, Oc(this)), e;
@@ -7384,7 +7394,7 @@ class xr {
7384
7394
  update(e) {
7385
7395
  if (!e)
7386
7396
  return this;
7387
- const n = typeof e == "function" ? e(this) : e, r = n instanceof xr ? n.getScopeData() : Ta(n) ? e : void 0, {
7397
+ const n = typeof e == "function" ? e(this) : e, r = n instanceof Nr ? n.getScopeData() : Ta(n) ? e : void 0, {
7388
7398
  tags: o,
7389
7399
  attributes: i,
7390
7400
  extra: a,
@@ -7549,10 +7559,10 @@ class xr {
7549
7559
  }
7550
7560
  }
7551
7561
  function ES() {
7552
- return ki("defaultCurrentScope", () => new xr());
7562
+ return ki("defaultCurrentScope", () => new Nr());
7553
7563
  }
7554
7564
  function CS() {
7555
- return ki("defaultIsolationScope", () => new xr());
7565
+ return ki("defaultIsolationScope", () => new Nr());
7556
7566
  }
7557
7567
  const Dp = (t) => t instanceof Promise && !t[Xm], Xm = /* @__PURE__ */ Symbol("chained PromiseLike"), _S = (t, e, n) => {
7558
7568
  const r = t.then(
@@ -7581,9 +7591,9 @@ const Dp = (t) => t instanceof Promise && !t[Xm], Xm = /* @__PURE__ */ Symbol("c
7581
7591
  class AS {
7582
7592
  constructor(e, n) {
7583
7593
  let r;
7584
- e ? r = e : r = new xr();
7594
+ e ? r = e : r = new Nr();
7585
7595
  let o;
7586
- n ? o = n : o = new xr(), this._stack = [{ scope: r }], this._isolationScope = o;
7596
+ n ? o = n : o = new Nr(), this._stack = [{ scope: r }], this._isolationScope = o;
7587
7597
  }
7588
7598
  /**
7589
7599
  * Fork a scope for the stack.
@@ -7713,7 +7723,7 @@ function Xr() {
7713
7723
  return Li(t).getIsolationScope();
7714
7724
  }
7715
7725
  function DS() {
7716
- return ki("globalScope", () => new xr());
7726
+ return ki("globalScope", () => new Nr());
7717
7727
  }
7718
7728
  function Tf(...t) {
7719
7729
  const e = qo(), n = Li(e);
@@ -8252,7 +8262,7 @@ function ho(t) {
8252
8262
  i?.get("sentry.sample_rand") ?? // On all other platforms we can actually get the scopes from a root span (we use this as a fallback)
8253
8263
  Nc(n).scope?.getPropagationContext().sampleRand.toString()), s(d), e.emit("createDsc", d, n), d;
8254
8264
  }
8255
- class Nr {
8265
+ class Or {
8256
8266
  /**
8257
8267
  * Reason why this span was dropped, if applicable ('ignored' or 'sample_rate').
8258
8268
  * Used to propagate the correct client report outcome to descendant spans
@@ -8325,7 +8335,7 @@ function p4(t) {
8325
8335
  const e = t[f4];
8326
8336
  return typeof e == "number" ? e : void 0;
8327
8337
  }
8328
- function Br(t, e = 100, n = 1 / 0) {
8338
+ function kr(t, e = 100, n = 1 / 0) {
8329
8339
  try {
8330
8340
  return Sd("", t, e, n);
8331
8341
  } catch (r) {
@@ -8333,7 +8343,7 @@ function Br(t, e = 100, n = 1 / 0) {
8333
8343
  }
8334
8344
  }
8335
8345
  function E0(t, e = 3, n = 100 * 1024) {
8336
- const r = Br(t, e);
8346
+ const r = kr(t, e);
8337
8347
  return v4(r) > n ? E0(t, e - 1, n) : r;
8338
8348
  }
8339
8349
  function Sd(t, e, n = 1 / 0, r = 1 / 0, o = w4()) {
@@ -8463,7 +8473,7 @@ ${JSON.stringify(a)}
8463
8473
  try {
8464
8474
  c = JSON.stringify(s);
8465
8475
  } catch {
8466
- c = JSON.stringify(Br(s));
8476
+ c = JSON.stringify(kr(s));
8467
8477
  }
8468
8478
  o(c);
8469
8479
  }
@@ -8617,7 +8627,7 @@ function Gp(t) {
8617
8627
  typeof o == "string" && typeof i == "number" && (e[n.name] = { value: i, unit: o });
8618
8628
  }), e;
8619
8629
  }
8620
- function Dr(t) {
8630
+ function xr(t) {
8621
8631
  return t.getOptions().traceLifecycle === "stream";
8622
8632
  }
8623
8633
  const qp = 1e3;
@@ -8788,7 +8798,7 @@ class hu {
8788
8798
  if (this._isStandaloneSpan) {
8789
8799
  this._sampled ? k4(N4([this], e)) : (Ie && ge.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."), e && e.recordDroppedEvent("sample_rate", "span"));
8790
8800
  return;
8791
- } else if (e && Dr(e)) {
8801
+ } else if (e && xr(e)) {
8792
8802
  e.emit("afterSegmentSpanEnd", this);
8793
8803
  return;
8794
8804
  }
@@ -8897,7 +8907,7 @@ function $o(t) {
8897
8907
  const n = V4(t), { forceTransaction: r, parentSpan: o } = t;
8898
8908
  return (t.scope ? (a) => Tf(t.scope, a) : o !== void 0 ? (a) => S0(o, a) : (a) => a())(() => {
8899
8909
  const a = St(), s = j4(a, o), c = dt();
8900
- return t.onlyIfParent && !s ? (c?.recordDroppedEvent("no_parent_span", "span"), new Nr()) : F4({
8910
+ return t.onlyIfParent && !s ? (c?.recordDroppedEvent("no_parent_span", "span"), new Or()) : F4({
8901
8911
  parentSpan: s,
8902
8912
  spanArguments: n,
8903
8913
  forceTransaction: r,
@@ -8916,7 +8926,7 @@ function F4({
8916
8926
  scope: r
8917
8927
  }) {
8918
8928
  if (!vr()) {
8919
- const s = new Nr();
8929
+ const s = new Or();
8920
8930
  if (n || !t) {
8921
8931
  const c = {
8922
8932
  sampled: "false",
@@ -8930,7 +8940,7 @@ function F4({
8930
8940
  }
8931
8941
  const o = dt();
8932
8942
  if (H4(o, e))
8933
- return Nf(r) || o?.recordDroppedEvent("ignored", "span"), new Nr({
8943
+ return Nf(r) || o?.recordDroppedEvent("ignored", "span"), new Or({
8934
8944
  dropReason: "ignored",
8935
8945
  traceId: t?.spanContext().traceId ?? r.getPropagationContext().traceId
8936
8946
  });
@@ -9007,7 +9017,7 @@ function $p(t, e, n) {
9007
9017
  },
9008
9018
  sampled: d
9009
9019
  });
9010
- return !d && r && !l && (Ie && ge.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."), r.recordDroppedEvent("sample_rate", Dr(r) ? "span" : "transaction")), r && r.emit("spanStart", p), p;
9020
+ return !d && r && !l && (Ie && ge.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."), r.recordDroppedEvent("sample_rate", xr(r) ? "span" : "transaction")), r && r.emit("spanStart", p), p;
9011
9021
  }
9012
9022
  function U4(t, e, n) {
9013
9023
  const { spanId: r, traceId: o } = t.spanContext(), i = Nf(e), a = i ? !1 : vo(t), s = a ? new hu({
@@ -9015,10 +9025,10 @@ function U4(t, e, n) {
9015
9025
  parentSpanId: r,
9016
9026
  traceId: o,
9017
9027
  sampled: a
9018
- }) : new Nr({ traceId: o });
9028
+ }) : new Or({ traceId: o });
9019
9029
  m0(t, s);
9020
9030
  const c = dt();
9021
- return c && (Dr(c) && s instanceof Nr && (t instanceof Nr && t.dropReason ? (s.dropReason = t.dropReason, c.recordDroppedEvent(t.dropReason, "span")) : i || (s.dropReason = "sample_rate", c.recordDroppedEvent("sample_rate", "span"))), c.emit("spanStart", s), n.endTimestamp && (c.emit("spanEnd", s), c.emit("afterSpanEnd", s))), s;
9031
+ return c && (xr(c) && s instanceof Or && (t instanceof Or && t.dropReason ? (s.dropReason = t.dropReason, c.recordDroppedEvent(t.dropReason, "span")) : i || (s.dropReason = "sample_rate", c.recordDroppedEvent("sample_rate", "span"))), c.emit("spanStart", s), n.endTimestamp && (c.emit("spanEnd", s), c.emit("afterSpanEnd", s))), s;
9022
9032
  }
9023
9033
  function j4(t, e) {
9024
9034
  if (e)
@@ -9033,7 +9043,7 @@ function j4(t, e) {
9033
9043
  }
9034
9044
  function H4(t, e) {
9035
9045
  const n = t?.getOptions().ignoreSpans;
9036
- return !t || !Dr(t) || !n?.length ? !1 : Na(
9046
+ return !t || !xr(t) || !n?.length ? !1 : Na(
9037
9047
  {
9038
9048
  description: e.name || "",
9039
9049
  op: e.attributes?.[ur] || e.op,
@@ -9061,7 +9071,7 @@ function T0(t, e = {}) {
9061
9071
  trimIdleSpanEndTimestamp: f = !0
9062
9072
  } = e, h = dt();
9063
9073
  if (!h || !vr()) {
9064
- const L = new Nr(), X = {
9074
+ const L = new Or(), X = {
9065
9075
  sample_rate: "0",
9066
9076
  sampled: "false",
9067
9077
  ...ho(L)
@@ -9071,7 +9081,7 @@ function T0(t, e = {}) {
9071
9081
  const p = St(), g = Jn(), y = $4(t);
9072
9082
  y.end = new Proxy(y.end, {
9073
9083
  apply(L, X, J) {
9074
- if (d && d(y), X instanceof Nr)
9084
+ if (d && d(y), X instanceof Or)
9075
9085
  return;
9076
9086
  const [ee, ...ue] = J, ie = ee || nn(), le = Gr(ie), de = rc(y).filter((S) => S !== y), be = mt(y);
9077
9087
  if (!de.length || !f)
@@ -9481,31 +9491,31 @@ function lA(t, e, n) {
9481
9491
  breadcrumbs: t.breadcrumbs.map((o) => ({
9482
9492
  ...o,
9483
9493
  ...o.data && {
9484
- data: Br(o.data, e, n)
9494
+ data: kr(o.data, e, n)
9485
9495
  }
9486
9496
  }))
9487
9497
  },
9488
9498
  ...t.user && {
9489
- user: Br(t.user, e, n)
9499
+ user: kr(t.user, e, n)
9490
9500
  },
9491
9501
  ...t.contexts && {
9492
- contexts: Br(t.contexts, e, n)
9502
+ contexts: kr(t.contexts, e, n)
9493
9503
  },
9494
9504
  ...t.extra && {
9495
- extra: Br(t.extra, e, n)
9505
+ extra: kr(t.extra, e, n)
9496
9506
  }
9497
9507
  };
9498
- return t.contexts?.trace && r.contexts && (r.contexts.trace = t.contexts.trace, t.contexts.trace.data && (r.contexts.trace.data = Br(t.contexts.trace.data, e, n))), t.spans && (r.spans = t.spans.map((o) => ({
9508
+ return t.contexts?.trace && r.contexts && (r.contexts.trace = t.contexts.trace, t.contexts.trace.data && (r.contexts.trace.data = kr(t.contexts.trace.data, e, n))), t.spans && (r.spans = t.spans.map((o) => ({
9499
9509
  ...o,
9500
9510
  ...o.data && {
9501
- data: Br(o.data, e, n)
9511
+ data: kr(o.data, e, n)
9502
9512
  }
9503
- }))), t.contexts?.flags && r.contexts && (r.contexts.flags = Br(t.contexts.flags, 3, n)), r;
9513
+ }))), t.contexts?.flags && r.contexts && (r.contexts.flags = kr(t.contexts.flags, 3, n)), r;
9504
9514
  }
9505
9515
  function dA(t, e) {
9506
9516
  if (!e)
9507
9517
  return t;
9508
- const n = t ? t.clone() : new xr();
9518
+ const n = t ? t.clone() : new Nr();
9509
9519
  return n.update(e), n;
9510
9520
  }
9511
9521
  function x0(t, e) {
@@ -9708,7 +9718,7 @@ function OA(t) {
9708
9718
  return i4(e);
9709
9719
  }
9710
9720
  function NA(t, e) {
9711
- if (t.type !== "transaction" || !t.spans?.length || !t.sdkProcessingMetadata?.hasGenAiSpans || !e.getOptions().streamGenAiSpans || Dr(e))
9721
+ if (t.type !== "transaction" || !t.spans?.length || !t.sdkProcessingMetadata?.hasGenAiSpans || !e.getOptions().streamGenAiSpans || xr(e))
9712
9722
  return;
9713
9723
  const n = [], r = [];
9714
9724
  for (const i of t.spans)
@@ -10907,7 +10917,7 @@ function A3(t, e, n, r, o) {
10907
10917
  g && (s && (R3(g, t), T3(g, t, o)), delete r[p]);
10908
10918
  return;
10909
10919
  }
10910
- const { spanOrigin: c = "auto.http.browser", propagateTraceparent: u = !1 } = typeof o == "object" ? o : { spanOrigin: o }, l = dt(), f = !!Jn() || !!l && Dr(l), h = s && f ? $o(x3(a, i, c)) : new Nr();
10920
+ const { spanOrigin: c = "auto.http.browser", propagateTraceparent: u = !1 } = typeof o == "object" ? o : { spanOrigin: o }, l = dt(), f = !!Jn() || !!l && xr(l), h = s && f ? $o(x3(a, i, c)) : new Or();
10911
10921
  if (s && !f && l?.recordDroppedEvent("no_parent_span", "span"), t.fetchData.__span = h.spanContext().spanId, r[h.spanContext().spanId] = h, n(t.fetchData.url)) {
10912
10922
  const p = t.args[0], g = { ...t.args[1] || {} }, y = I3(
10913
10923
  p,
@@ -13442,7 +13452,7 @@ function T1(t, e) {
13442
13452
  let r = () => {
13443
13453
  setTimeout(o);
13444
13454
  };
13445
- if (Dr(e)) {
13455
+ if (xr(e)) {
13446
13456
  const i = t.end.bind(t);
13447
13457
  t.end = (a) => {
13448
13458
  const s = a ?? nn();
@@ -13491,7 +13501,7 @@ function NT(t, e, n, r, o, i) {
13491
13501
  })), delete r[_]);
13492
13502
  return;
13493
13503
  }
13494
- const d = v2(c), f = Mo(d || c), h = uo(nA(c)), p = dt(), y = !!Jn() || !!p && Dr(p), b = l && y ? $o({
13504
+ const d = v2(c), f = Mo(d || c), h = uo(nA(c)), p = dt(), y = !!Jn() || !!p && xr(p), b = l && y ? $o({
13495
13505
  name: `${u} ${h}`,
13496
13506
  attributes: {
13497
13507
  url: uo(c),
@@ -13504,7 +13514,7 @@ function NT(t, e, n, r, o, i) {
13504
13514
  ...f?.search && { "http.query": f?.search },
13505
13515
  ...f?.hash && { "http.fragment": f?.hash }
13506
13516
  }
13507
- }) : new Nr();
13517
+ }) : new Or();
13508
13518
  return l && !y && p?.recordDroppedEvent("no_parent_span", "span"), a.__sentry_xhr_span_id__ = b.spanContext().spanId, r[a.__sentry_xhr_span_id__] = b, n(c) && xT(
13509
13519
  a,
13510
13520
  // If performance is disabled (TWP) or there's no active root span (pageload/navigation/interaction),
@@ -13707,7 +13717,7 @@ const GT = {
13707
13717
  disableAutoFinish: x,
13708
13718
  beforeSpanEnd: (ne) => {
13709
13719
  de?.();
13710
- const oe = Dr(B);
13720
+ const oe = xr(B);
13711
13721
  H8(ne, {
13712
13722
  recordClsOnPageloadSpan: !oe && !s,
13713
13723
  recordLcpOnPageloadSpan: !oe && !c,
@@ -13741,7 +13751,7 @@ const GT = {
13741
13751
  return;
13742
13752
  }
13743
13753
  s4();
13744
- const E = Dr(B);
13754
+ const E = xr(B);
13745
13755
  if (de = k8({
13746
13756
  recordClsStandaloneSpans: E ? void 0 : s || !1,
13747
13757
  recordLcpStandaloneSpans: E ? void 0 : c || !1,
@@ -14134,7 +14144,7 @@ const D1 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, P1 = uI, r
14134
14144
  function dI(t) {
14135
14145
  const [e, n] = pe(null), r = async () => {
14136
14146
  try {
14137
- const o = (await sI(/* @__PURE__ */ Object.assign({ "../../assets/svg/calendar.svg": () => import("./calendar-CrJ6I795.js"), "../../assets/svg/camera-switch.svg": () => import("./camera-switch-BxMuh4ES.js"), "../../assets/svg/caret-left.svg": () => import("./caret-left-Ck94QwZi.js"), "../../assets/svg/close.svg": () => import("./close-C5C1NZax.js"), "../../assets/svg/crossBlack.svg": () => import("./crossBlack-QEr32Uw_.js"), "../../assets/svg/dollar.svg": () => import("./dollar-CbB1PNg_.js"), "../../assets/svg/edit.svg": () => import("./edit-Bqfd1uYH.js"), "../../assets/svg/home.svg": () => import("./home-UAfTcrTL.js"), "../../assets/svg/information.svg": () => import("./information-B1Pd3hjP.js"), "../../assets/svg/leat_logo.svg": () => import("./leat_logo-BtwyQLh9.js"), "../../assets/svg/mail.svg": () => import("./mail-DT_m0_pw.js"), "../../assets/svg/notificationErrorV2.svg": () => import("./notificationErrorV2-BfO-yUhl.js"), "../../assets/svg/notificationSuccessV2.svg": () => import("./notificationSuccessV2-DkvdyEl4.js"), "../../assets/svg/notificationWarningV2.svg": () => import("./notificationWarningV2-Dqo2FDtr.js"), "../../assets/svg/settings.svg": () => import("./settings-ytnLj4nv.js"), "../../assets/svg/shopping-bag.svg": () => import("./shopping-bag-D0VKlIqB.js"), "../../assets/svg/star.svg": () => import("./star-C0CSMoeX.js"), "../../assets/svg/user.svg": () => import("./user-Cezc9sZa.js") }), `../../assets/svg/${t}.svg`, 5)).default;
14147
+ const o = (await sI(/* @__PURE__ */ Object.assign({ "../../assets/svg/calendar.svg": () => import("./calendar-BB00qpRq.js"), "../../assets/svg/camera-switch.svg": () => import("./camera-switch-BXS-_gxA.js"), "../../assets/svg/caret-left.svg": () => import("./caret-left-DL0gWXZ3.js"), "../../assets/svg/close.svg": () => import("./close-DZRjZn1U.js"), "../../assets/svg/crossBlack.svg": () => import("./crossBlack-BlCMSKh6.js"), "../../assets/svg/dollar.svg": () => import("./dollar-rgFcu6ZL.js"), "../../assets/svg/edit.svg": () => import("./edit-C60pGZv0.js"), "../../assets/svg/home.svg": () => import("./home-yAgk5A7V.js"), "../../assets/svg/information.svg": () => import("./information-CvZKTmYD.js"), "../../assets/svg/leat_logo.svg": () => import("./leat_logo-NwdL69JB.js"), "../../assets/svg/mail.svg": () => import("./mail-DiM_Piof.js"), "../../assets/svg/notificationErrorV2.svg": () => import("./notificationErrorV2-BYXgTWTY.js"), "../../assets/svg/notificationSuccessV2.svg": () => import("./notificationSuccessV2-x1VZYEfe.js"), "../../assets/svg/notificationWarningV2.svg": () => import("./notificationWarningV2-Bw22u6jB.js"), "../../assets/svg/settings.svg": () => import("./settings-BtNpJnKJ.js"), "../../assets/svg/shopping-bag.svg": () => import("./shopping-bag-ChfK6Za0.js"), "../../assets/svg/star.svg": () => import("./star-3qFYKU0x.js"), "../../assets/svg/user.svg": () => import("./user-BPfttFMQ.js") }), `../../assets/svg/${t}.svg`, 5)).default;
14138
14148
  n(() => o);
14139
14149
  } catch (o) {
14140
14150
  console.error(`Failed to import icon: ${t}`, o), n(null);
@@ -16070,7 +16080,7 @@ class qR extends Yw {
16070
16080
  matchRoutes: qf
16071
16081
  })
16072
16082
  ]
16073
- }), r = new xr();
16083
+ }), r = new Nr();
16074
16084
  r.setClient(n), n.init(), this.setState({ ...this.state, scope: r });
16075
16085
  }
16076
16086
  componentDidCatch(e, n) {
@@ -16088,7 +16098,7 @@ function Er() {
16088
16098
  headers: {
16089
16099
  Authorization: `Bearer ${t}`,
16090
16100
  ...l.headers,
16091
- "X-SDK-Version": "0.3.0-beta.18"
16101
+ "X-SDK-Version": "0.3.0-beta.19"
16092
16102
  }
16093
16103
  });
16094
16104
  return d.interceptors.response.use(void 0, lm), d.request({
@@ -16135,7 +16145,7 @@ function qi({ onSubmit: t, children: e }) {
16135
16145
  r.preventDefault(), t && t(r);
16136
16146
  }, children: e });
16137
16147
  }
16138
- function Pr({ children: t }) {
16148
+ function Dr({ children: t }) {
16139
16149
  return /* @__PURE__ */ m("div", { className: "h-screen w-screen md:p-6", children: /* @__PURE__ */ m("div", { className: "flex h-full max-h-full items-center justify-center *:grow md:mx-auto md:max-w-[420px]", children: t }) });
16140
16150
  }
16141
16151
  const K2 = ({
@@ -16503,7 +16513,7 @@ function ey({ onCancel: t, onSuccess: e }) {
16503
16513
  i(!1);
16504
16514
  }
16505
16515
  };
16506
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
16516
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
16507
16517
  /* @__PURE__ */ M(on, { children: [
16508
16518
  /* @__PURE__ */ m(Tn, { children: n("authenticateViaEmail") }),
16509
16519
  /* @__PURE__ */ m(Dn, { children: `Type: ${a.type}` })
@@ -16513,6 +16523,7 @@ function ey({ onCancel: t, onSuccess: e }) {
16513
16523
  /* @__PURE__ */ m(
16514
16524
  Xo,
16515
16525
  {
16526
+ type: "email",
16516
16527
  value: f,
16517
16528
  placeholder: "john.doe@example.com",
16518
16529
  label: n("emailAddress"),
@@ -16645,7 +16656,7 @@ function ty(t) {
16645
16656
  }
16646
16657
  }
16647
16658
  }, V = y?.contact;
16648
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
16659
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
16649
16660
  /* @__PURE__ */ M(on, { children: [
16650
16661
  /* @__PURE__ */ m(Tn, { children: e("linkIdentifier") }),
16651
16662
  /* @__PURE__ */ m(Dn, { children: y?.value })
@@ -16880,7 +16891,7 @@ let Yi = class ot {
16880
16891
  ot._postWorkerMessage(this._qrEnginePromise, "inversionMode", e);
16881
16892
  }
16882
16893
  static async createQrEngine(e) {
16883
- if (e && console.warn("Specifying a worker path is not required and not supported anymore."), e = () => import("./qr-scanner-worker.min-CaWmrFIN.js").then((r) => r.createWorker()), !(!ot._disableBarcodeDetector && "BarcodeDetector" in window && BarcodeDetector.getSupportedFormats && (await BarcodeDetector.getSupportedFormats()).includes("qr_code"))) return e();
16894
+ if (e && console.warn("Specifying a worker path is not required and not supported anymore."), e = () => import("./qr-scanner-worker.min-CczAHfge.js").then((r) => r.createWorker()), !(!ot._disableBarcodeDetector && "BarcodeDetector" in window && BarcodeDetector.getSupportedFormats && (await BarcodeDetector.getSupportedFormats()).includes("qr_code"))) return e();
16884
16895
  let n = navigator.userAgentData;
16885
16896
  return n && n.brands.some(({ brand: r }) => /Chromium/i.test(r)) && /mac ?OS/i.test(n.platform) && await n.getHighEntropyValues(["architecture", "platformVersion"]).then(({ architecture: r, platformVersion: o }) => /arm/i.test(r || "arm") && 13 <= parseInt(o || "13")).catch(() => !0) ? e() : new BarcodeDetector({ formats: ["qr_code"] });
16886
16897
  }
@@ -17604,7 +17615,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17604
17615
  isSamsungBrowser: wo(te)
17605
17616
  };
17606
17617
  }
17607
- var zi = je(s), Xi = Vt(s), us = Ne(s), Ru = Xe(s), Ou = It(i) || wt(), Nu = dn(i), Jr = Be(s) || wt(), ei = Pt(s), ls = ft(s) || wt(), ds = Fe(s), xu = Fe(s), Qi = an(u), fs = ut(u), hs = vt(u) || wt(), Du = Te(i), ti = Qe(i), Pu = xe(i), Mu = _t(i), bo = Wn(i), ps = De(u), pr = Pe(u), ku = Oe(i), gs = Nt(i), Ke = Ut(i), Bu = Ae(s), Lu = Ct(s), Yn = Yt(c), Fu = hr(c), ms = kn(l), ni = Ot(i) || jt(l), Vu = He(i), Ji = Mn(s), Uu = Cr(), Zi = wt(), ju = yn(), ys = _r(), Hu = xt(), vs = jt(l), Mr = Ot(i) && !jt(l), ea = tr(u), nr = Mt(u), ws = Je(i), Gu = wo(i), qu = function(O) {
17618
+ var zi = je(s), Xi = Vt(s), us = Ne(s), Ru = Xe(s), Ou = It(i) || wt(), Nu = dn(i), Jr = Be(s) || wt(), ei = Pt(s), ls = ft(s) || wt(), ds = Fe(s), xu = Fe(s), Qi = an(u), fs = ut(u), hs = vt(u) || wt(), Du = Te(i), ti = Qe(i), Pu = xe(i), Mu = _t(i), bo = Wn(i), ps = De(u), pr = Pe(u), ku = Oe(i), gs = Nt(i), Ke = Ut(i), Bu = Ae(s), Lu = Ct(s), Yn = Yt(c), Fu = hr(c), ms = kn(l), ni = Ot(i) || jt(l), Vu = He(i), Ji = Mn(s), Uu = Cr(), Zi = wt(), ju = yn(), ys = _r(), Hu = xt(), vs = jt(l), Pr = Ot(i) && !jt(l), ea = tr(u), nr = Mt(u), ws = Je(i), Gu = wo(i), qu = function(O) {
17608
17619
  if (!O || typeof O != "string") {
17609
17620
  console.error("No valid user agent string was provided");
17610
17621
  return;
@@ -17739,7 +17750,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
17739
17750
  var O = q || window.navigator.userAgent, D = ta(O), te = Zo(D);
17740
17751
  return [te, D];
17741
17752
  }
17742
- return we.AndroidView = Wu, we.BrowserTypes = S, we.BrowserView = Yu, we.ConsoleView = el, we.CustomView = bs, we.IEView = $u, we.IOSView = Ku, we.MobileOnlyView = Ju, we.MobileView = zu, we.OsTypes = x, we.SmartTVView = Zu, we.TabletView = Xu, we.WearableView = Zr, we.WinPhoneView = Qu, we.browserName = Ke, we.browserVersion = gs, we.deviceDetect = ke, we.deviceType = Ji, we.engineName = Yn, we.engineVersion = Fu, we.fullBrowserVersion = ku, we.getSelectorsByUserAgent = qu, we.getUA = ms, we.isAndroid = Qi, we.isBrowser = ds, we.isChrome = Du, we.isChromium = Nu, we.isConsole = Xi, we.isDesktop = xu, we.isEdge = ni, we.isEdgeChromium = vs, we.isElectron = Hu, we.isEmbedded = Ru, we.isFirefox = ti, we.isIE = bo, we.isIOS = hs, we.isIOS13 = Uu, we.isIPad13 = Zi, we.isIPhone13 = ju, we.isIPod13 = ys, we.isLegacyEdge = Mr, we.isMIUI = ws, we.isMacOs = nr, we.isMobile = Jr, we.isMobileOnly = ei, we.isMobileSafari = Ou, we.isOpera = Mu, we.isSafari = Pu, we.isSamsungBrowser = Gu, we.isSmartTV = zi, we.isTablet = ls, we.isWearable = us, we.isWinPhone = fs, we.isWindows = ea, we.isYandex = Vu, we.mobileModel = Lu, we.mobileVendor = Bu, we.osName = pr, we.osVersion = ps, we.parseUserAgent = f, we.setUserAgent = H, we.useDeviceData = ta, we.useDeviceSelectors = tl, we.useMobileOrientation = Cs, we.withOrientationChange = Es, we;
17753
+ return we.AndroidView = Wu, we.BrowserTypes = S, we.BrowserView = Yu, we.ConsoleView = el, we.CustomView = bs, we.IEView = $u, we.IOSView = Ku, we.MobileOnlyView = Ju, we.MobileView = zu, we.OsTypes = x, we.SmartTVView = Zu, we.TabletView = Xu, we.WearableView = Zr, we.WinPhoneView = Qu, we.browserName = Ke, we.browserVersion = gs, we.deviceDetect = ke, we.deviceType = Ji, we.engineName = Yn, we.engineVersion = Fu, we.fullBrowserVersion = ku, we.getSelectorsByUserAgent = qu, we.getUA = ms, we.isAndroid = Qi, we.isBrowser = ds, we.isChrome = Du, we.isChromium = Nu, we.isConsole = Xi, we.isDesktop = xu, we.isEdge = ni, we.isEdgeChromium = vs, we.isElectron = Hu, we.isEmbedded = Ru, we.isFirefox = ti, we.isIE = bo, we.isIOS = hs, we.isIOS13 = Uu, we.isIPad13 = Zi, we.isIPhone13 = ju, we.isIPod13 = ys, we.isLegacyEdge = Pr, we.isMIUI = ws, we.isMacOs = nr, we.isMobile = Jr, we.isMobileOnly = ei, we.isMobileSafari = Ou, we.isOpera = Mu, we.isSafari = Pu, we.isSamsungBrowser = Gu, we.isSmartTV = zi, we.isTablet = ls, we.isWearable = us, we.isWinPhone = fs, we.isWindows = ea, we.isYandex = Vu, we.mobileModel = Lu, we.mobileVendor = Bu, we.osName = pr, we.osVersion = ps, we.parseUserAgent = f, we.setUserAgent = H, we.useDeviceData = ta, we.useDeviceSelectors = tl, we.useMobileOrientation = Cs, we.withOrientationChange = Es, we;
17743
17754
  }
17744
17755
  var Oi = n5();
17745
17756
  function r5({ onScan: t }) {
@@ -28784,7 +28795,7 @@ async function vy(t = {}) {
28784
28795
  return pt[w].overloadTable === void 0 ? (Bt.argCount = A - 2, pt[w] = Bt) : pt[w].overloadTable[A - 2] = Bt, [];
28785
28796
  }), [];
28786
28797
  });
28787
- }, vs = [], Mr = [
28798
+ }, vs = [], Pr = [
28788
28799
  0,
28789
28800
  1,
28790
28801
  ,
@@ -28796,9 +28807,9 @@ async function vy(t = {}) {
28796
28807
  !1,
28797
28808
  1
28798
28809
  ], ea = (v) => {
28799
- v > 9 && --Mr[v + 1] === 0 && (Mr[v] = void 0, vs.push(v));
28810
+ v > 9 && --Pr[v + 1] === 0 && (Pr[v] = void 0, vs.push(v));
28800
28811
  }, nr = {
28801
- toValue: (v) => (v || Je(`Cannot use deleted val. handle = ${v}`), Mr[v]),
28812
+ toValue: (v) => (v || Je(`Cannot use deleted val. handle = ${v}`), Pr[v]),
28802
28813
  toHandle: (v) => {
28803
28814
  switch (v) {
28804
28815
  case void 0:
@@ -28810,8 +28821,8 @@ async function vy(t = {}) {
28810
28821
  case !1:
28811
28822
  return 8;
28812
28823
  default: {
28813
- let w = vs.pop() || Mr.length;
28814
- return Mr[w] = v, Mr[w + 1] = 1, w;
28824
+ let w = vs.pop() || Pr.length;
28825
+ return Pr[w] = v, Pr[w + 1] = 1, w;
28815
28826
  }
28816
28827
  }
28817
28828
  }
@@ -29114,7 +29125,7 @@ async function vy(t = {}) {
29114
29125
  return Lv($, Ye, nt);
29115
29126
  }));
29116
29127
  }, Uv = (v) => v ? (v = ph(v), nr.toHandle(globalThis[v])) : nr.toHandle(globalThis), jv = (v) => {
29117
- v > 9 && (Mr[v + 1] += 1);
29128
+ v > 9 && (Pr[v + 1] += 1);
29118
29129
  }, Hv = (v, w, A, R, k) => oi[v](w, A, R, k), Gv = (v) => {
29119
29130
  vt(nr.toValue(v)), ea(v);
29120
29131
  }, qv = (v, w, A, R) => {
@@ -32281,7 +32292,7 @@ function IN() {
32281
32292
  onCancel: () => f(!1),
32282
32293
  onSuccess: () => p(Ig.contactOverview)
32283
32294
  }
32284
- ) : /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
32295
+ ) : /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
32285
32296
  /* @__PURE__ */ M(on, { children: [
32286
32297
  /* @__PURE__ */ m(Tn, { children: t("scanOrEnterX", { x: "code" }) }),
32287
32298
  /* @__PURE__ */ m(Dn, { children: "Accepts codes from vouchers, giftcards and identifiers" }),
@@ -32489,20 +32500,13 @@ function Jo() {
32489
32500
  }
32490
32501
  );
32491
32502
  }
32492
- function gv({
32493
- value: t,
32494
- valueSetter: e,
32495
- enabled: n,
32496
- maxValue: r
32497
- }) {
32503
+ function gv({ value: t, valueSetter: e, enabled: n, maxValue: r }) {
32498
32504
  const [o, i] = pe(!1), a = Ue(null), s = Ue(null);
32499
32505
  qe(() => {
32500
32506
  f(t ? t.toString() : "");
32501
32507
  }, []);
32502
32508
  const c = (h) => {
32503
- const p = d(
32504
- h ? parseInt(h, 10) : 0
32505
- );
32509
+ const p = d(h ? parseInt(h, 10) : 0);
32506
32510
  e(p), f(p ? p.toString() : "");
32507
32511
  }, u = (h) => {
32508
32512
  const { key: p } = h;
@@ -32532,7 +32536,7 @@ function gv({
32532
32536
  }, d = (h) => r === void 0 ? h : Math.min(h, r), f = (h) => {
32533
32537
  s?.current && (h ? s.current.style.width = `${Math.max(h.length, 3) * 3}rem` : s.current.style.width = "calc(3rem + 14px)");
32534
32538
  };
32535
- return /* @__PURE__ */ M(Or, { children: [
32539
+ return console.log(n), /* @__PURE__ */ M(Vr, { children: [
32536
32540
  /* @__PURE__ */ m(
32537
32541
  "input",
32538
32542
  {
@@ -32630,7 +32634,7 @@ function ix() {
32630
32634
  );
32631
32635
  }).catch(n).finally(() => i(!1)));
32632
32636
  };
32633
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
32637
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
32634
32638
  /* @__PURE__ */ M(on, { children: [
32635
32639
  /* @__PURE__ */ m(Jo, {}),
32636
32640
  /* @__PURE__ */ m(Tn, { children: t("giftcard") }),
@@ -32743,7 +32747,7 @@ function ax() {
32743
32747
  n(), u(`/giftcard/${f.data.data.id}`);
32744
32748
  }).catch(e).finally(() => o(!1));
32745
32749
  };
32746
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
32750
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
32747
32751
  /* @__PURE__ */ M(on, { children: [
32748
32752
  /* @__PURE__ */ m(Tn, { children: t("scanOrEnterX", { x: "code" }) }),
32749
32753
  /* @__PURE__ */ m(Dn, { children: "Accepts giftcard codes" }),
@@ -32783,17 +32787,17 @@ function sx() {
32783
32787
  s();
32784
32788
  }).catch(e).finally(() => r(!1));
32785
32789
  };
32786
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
32790
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
32787
32791
  /* @__PURE__ */ M(on, { children: [
32788
32792
  /* @__PURE__ */ m(Tn, { children: t("createTransaction") }),
32789
32793
  /* @__PURE__ */ m(Dn, { children: t("forContactX", {
32790
32794
  contact: Qc(i.contact)
32791
32795
  }) })
32792
32796
  ] }),
32793
- i.status === Zc.COMPLETED ? /* @__PURE__ */ M(Or, { children: [
32797
+ i.status === Zc.COMPLETED ? /* @__PURE__ */ M(Vr, { children: [
32794
32798
  /* @__PURE__ */ m(zt, { children: /* @__PURE__ */ m("p", { children: "This portal sessions has been completed" }) }),
32795
32799
  /* @__PURE__ */ m(Sn, { children: /* @__PURE__ */ m(rt, { className: "w-full", onClick: () => a(null), pending: n, children: t("close") }) })
32796
- ] }) : /* @__PURE__ */ M(Or, { children: [
32800
+ ] }) : /* @__PURE__ */ M(Vr, { children: [
32797
32801
  /* @__PURE__ */ M(zt, { children: [
32798
32802
  /* @__PURE__ */ m("p", { children: t("details") }),
32799
32803
  /* @__PURE__ */ M("p", { children: [
@@ -32826,7 +32830,7 @@ function cx() {
32826
32830
  );
32827
32831
  }).catch(e).finally(() => o(!1)));
32828
32832
  };
32829
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
32833
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
32830
32834
  /* @__PURE__ */ M(on, { children: [
32831
32835
  /* @__PURE__ */ m(Tn, { children: t("prepaid") }),
32832
32836
  /* @__PURE__ */ m(Dn, { children: `Type: ${i.type}` })
@@ -32932,7 +32936,7 @@ function cx() {
32932
32936
  }
32933
32937
  function ux() {
32934
32938
  const { portalSession: t } = $e(), e = t.type;
32935
- return e === $t.GIFTCARD || e === $t.REDEEM_GIFTCARD || e === $t.TOP_UP_GIFTCARD ? /* @__PURE__ */ m(ui, { to: "/giftcard" }) : e === $t.PREPAID || e === $t.PAY_PREPAID || e === $t.TOP_UP_PREPAID ? /* @__PURE__ */ m(ui, { to: "/prepaid" }) : e === $t.VOUCHER ? /* @__PURE__ */ m(ui, { to: "/voucher" }) : e === $t.PORTAL ? /* @__PURE__ */ m(ui, { to: "/portal" }) : e === $t.GENERIC ? /* @__PURE__ */ m(ui, { to: "/generic" }) : e === $t.POINTS_TRANSACTION ? /* @__PURE__ */ m(ui, { to: "/points-transaction" }) : /* @__PURE__ */ M("p", { children: [
32939
+ return e === $t.GIFTCARD || e === $t.REDEEM_GIFTCARD || e === $t.TOP_UP_GIFTCARD ? /* @__PURE__ */ m(ui, { to: "/giftcard" }) : e === $t.PREPAID || e === $t.PAY_PREPAID || e === $t.TOP_UP_PREPAID ? /* @__PURE__ */ m(ui, { to: "/prepaid" }) : e === $t.VOUCHER ? /* @__PURE__ */ m(ui, { to: "/voucher" }) : e === $t.PORTAL ? /* @__PURE__ */ m(ui, { to: "/portal/contact/rewards" }) : e === $t.GENERIC ? /* @__PURE__ */ m(ui, { to: "/generic" }) : e === $t.POINTS_TRANSACTION ? /* @__PURE__ */ m(ui, { to: "/points-transaction" }) : /* @__PURE__ */ M("p", { children: [
32936
32940
  "Unknown portal type: ",
32937
32941
  e
32938
32942
  ] });
@@ -32971,7 +32975,7 @@ function lx() {
32971
32975
  }
32972
32976
  }
32973
32977
  }, L = g?.contact;
32974
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
32978
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
32975
32979
  /* @__PURE__ */ M(on, { children: [
32976
32980
  /* @__PURE__ */ m(Jo, {}),
32977
32981
  /* @__PURE__ */ m(Tn, { children: t("voucher") }),
@@ -33064,7 +33068,7 @@ function dx() {
33064
33068
  n(), u(`/voucher/${f.data.data.id}`);
33065
33069
  }).catch(e).finally(() => o(!1));
33066
33070
  };
33067
- return /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
33071
+ return /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { id: Mi, children: [
33068
33072
  /* @__PURE__ */ M(on, { children: [
33069
33073
  /* @__PURE__ */ m(Tn, { children: t("scanOrEnterX", { x: "code" }) }),
33070
33074
  /* @__PURE__ */ m(Dn, { children: "Accepts voucher codes" }),
@@ -33101,7 +33105,7 @@ function fx(t) {
33101
33105
  id: u,
33102
33106
  onCancel: () => l(null)
33103
33107
  }
33104
- ) : /* @__PURE__ */ m(Pr, { children: /* @__PURE__ */ M(ln, { children: [
33108
+ ) : /* @__PURE__ */ m(Dr, { children: /* @__PURE__ */ M(ln, { children: [
33105
33109
  /* @__PURE__ */ m(on, { children: /* @__PURE__ */ m(Tn, { children: e("authenticateViaContactIdentifier") }) }),
33106
33110
  /* @__PURE__ */ m(zt, { children: /* @__PURE__ */ M(qi, { onSubmit: () => h(d), children: [
33107
33111
  /* @__PURE__ */ m(
@@ -34200,8 +34204,8 @@ function Fx({ selected: t, setSelected: e }) {
34200
34204
  ), c = i?.filter(
34201
34205
  (u) => u.required_credits > o.credit_balance.balance
34202
34206
  );
34203
- return /* @__PURE__ */ m(Or, { children: a ? /* @__PURE__ */ m(Iu, { rows: 10 }) : /* @__PURE__ */ M("div", { className: "flex flex-col gap-3 md:max-h-132", children: [
34204
- /* @__PURE__ */ m("div", { className: "flex flex-col gap-1", children: s?.length > 0 && /* @__PURE__ */ M(Or, { children: [
34207
+ return /* @__PURE__ */ m(Vr, { children: a ? /* @__PURE__ */ m(Iu, { rows: 10 }) : /* @__PURE__ */ M("div", { className: "flex flex-col gap-3 md:max-h-132", children: [
34208
+ /* @__PURE__ */ m("div", { className: "flex flex-col gap-1", children: s?.length > 0 && /* @__PURE__ */ M(Vr, { children: [
34205
34209
  /* @__PURE__ */ m("p", { className: "font-light text-core-gray-500 text-sm", children: n("redeemableRewards") }),
34206
34210
  s.map((u) => /* @__PURE__ */ m(
34207
34211
  rf,
@@ -34213,7 +34217,7 @@ function Fx({ selected: t, setSelected: e }) {
34213
34217
  u.uuid
34214
34218
  ))
34215
34219
  ] }) }),
34216
- /* @__PURE__ */ m("div", { className: "flex flex-col gap-1", children: c?.length > 0 && /* @__PURE__ */ M(Or, { children: [
34220
+ /* @__PURE__ */ m("div", { className: "flex flex-col gap-1", children: c?.length > 0 && /* @__PURE__ */ M(Vr, { children: [
34217
34221
  /* @__PURE__ */ m("p", { className: "font-light text-core-gray-500 text-sm", children: n("saveABitMore") }),
34218
34222
  c.map((u) => /* @__PURE__ */ m(
34219
34223
  rf,