@leatcom/portal-sessions 0.0.98 → 0.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var kE = Object.defineProperty;
|
|
2
2
|
var LE = (t, e, n) => e in t ? kE(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
-
var
|
|
3
|
+
var Wn = (t, e, n) => LE(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import * as Ae from "react";
|
|
5
5
|
import Se, { createContext as sa, useContext as Qo, useEffect as je, useLayoutEffect as Os, useRef as We, useMemo as Vr, useCallback as tr, useDebugValue as FE, useState as ve, useSyncExternalStore as jE, isValidElement as Uo, cloneElement as tu, useId as VE, Children as Vi, forwardRef as UE, Component as GE, Fragment as qE, StrictMode as HE } from "react";
|
|
6
6
|
import { unstable_batchedUpdates as $E } from "react-dom";
|
|
7
7
|
try {
|
|
8
8
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, e = new t.Error().stack;
|
|
9
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
9
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "3776fdce-85b1-48ac-afb3-66afb9daf4f5", t._sentryDebugIdIdentifier = "sentry-dbid-3776fdce-85b1-48ac-afb3-66afb9daf4f5");
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
12
12
|
{
|
|
@@ -35,7 +35,7 @@ function WE(t, e) {
|
|
|
35
35
|
}
|
|
36
36
|
{
|
|
37
37
|
let t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
38
|
-
t.SENTRY_RELEASE = { id: "
|
|
38
|
+
t.SENTRY_RELEASE = { id: "233844c903f44085b830d7d7a0662dfaa901fe12" };
|
|
39
39
|
}
|
|
40
40
|
var pi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
41
41
|
function Rd(t) {
|
|
@@ -305,9 +305,9 @@ function KE() {
|
|
|
305
305
|
if ($t !== 1 || Qt !== 1)
|
|
306
306
|
do
|
|
307
307
|
if ($t--, Qt--, Qt < 0 || at[$t] !== _n[Qt]) {
|
|
308
|
-
var
|
|
308
|
+
var Zn = `
|
|
309
309
|
` + at[$t].replace(" at new ", " at ");
|
|
310
|
-
return $.displayName &&
|
|
310
|
+
return $.displayName && Zn.includes("<anonymous>") && (Zn = Zn.replace("<anonymous>", $.displayName)), typeof $ == "function" && B.set($, Zn), Zn;
|
|
311
311
|
}
|
|
312
312
|
while ($t >= 1 && Qt >= 0);
|
|
313
313
|
break;
|
|
@@ -514,7 +514,7 @@ function KE() {
|
|
|
514
514
|
}
|
|
515
515
|
var rn;
|
|
516
516
|
rn = !1;
|
|
517
|
-
function
|
|
517
|
+
function Jn($) {
|
|
518
518
|
return typeof $ == "object" && $ !== null && $.$$typeof === e;
|
|
519
519
|
}
|
|
520
520
|
function Yr() {
|
|
@@ -565,15 +565,15 @@ Check the top-level render call using <` + Pe + ">.");
|
|
|
565
565
|
if (se($))
|
|
566
566
|
for (var Pe = 0; Pe < $.length; Pe++) {
|
|
567
567
|
var Ue = $[Pe];
|
|
568
|
-
|
|
568
|
+
Jn(Ue) && mt(Ue, be);
|
|
569
569
|
}
|
|
570
|
-
else if (
|
|
570
|
+
else if (Jn($))
|
|
571
571
|
$._store && ($._store.validated = !0);
|
|
572
572
|
else if ($) {
|
|
573
573
|
var vt = m($);
|
|
574
574
|
if (typeof vt == "function" && vt !== $.entries)
|
|
575
575
|
for (var Rt = vt.call($), lt; !(lt = Rt.next()).done; )
|
|
576
|
-
|
|
576
|
+
Jn(lt.value) && mt(lt.value, be);
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}
|
|
@@ -630,17 +630,17 @@ Check the top-level render call using <` + Pe + ">.");
|
|
|
630
630
|
if (Qt == null)
|
|
631
631
|
return Qt;
|
|
632
632
|
if (lt) {
|
|
633
|
-
var
|
|
634
|
-
if (
|
|
633
|
+
var Zn = be.children;
|
|
634
|
+
if (Zn !== void 0)
|
|
635
635
|
if (Ue)
|
|
636
|
-
if (se(
|
|
637
|
-
for (var Br = 0; Br <
|
|
638
|
-
Ht(
|
|
639
|
-
Object.freeze && Object.freeze(
|
|
636
|
+
if (se(Zn)) {
|
|
637
|
+
for (var Br = 0; Br < Zn.length; Br++)
|
|
638
|
+
Ht(Zn[Br], $);
|
|
639
|
+
Object.freeze && Object.freeze(Zn);
|
|
640
640
|
} else
|
|
641
641
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
642
642
|
else
|
|
643
|
-
Ht(
|
|
643
|
+
Ht(Zn, $);
|
|
644
644
|
}
|
|
645
645
|
if (K.call(be, "key")) {
|
|
646
646
|
var ao = W($), an = Object.keys(be).filter(function(Zs) {
|
|
@@ -674,14 +674,14 @@ var v = uf.exports;
|
|
|
674
674
|
const Nd = sa({});
|
|
675
675
|
let nu = class {
|
|
676
676
|
constructor() {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
677
|
+
Wn(this, "type");
|
|
678
|
+
Wn(this, "uuid");
|
|
679
|
+
Wn(this, "contact");
|
|
680
|
+
Wn(this, "inputData");
|
|
681
|
+
Wn(this, "results");
|
|
682
|
+
Wn(this, "events");
|
|
683
|
+
Wn(this, "currency");
|
|
684
|
+
Wn(this, "loyaltyProgram");
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
const _g = sa({
|
|
@@ -3058,24 +3058,24 @@ function Gu(t) {
|
|
|
3058
3058
|
function Lp(t, e) {
|
|
3059
3059
|
return t != null ? { content: t.content, containerId: t.props.containerId, id: t.props.toastId, theme: t.props.theme, type: t.props.type, data: t.props.data || {}, isLoading: t.props.isLoading, icon: t.props.icon, status: e } : {};
|
|
3060
3060
|
}
|
|
3061
|
-
const
|
|
3061
|
+
const zn = /* @__PURE__ */ new Map();
|
|
3062
3062
|
let ls = [];
|
|
3063
|
-
const Cf = /* @__PURE__ */ new Set(), a_ = (t) => Cf.forEach((e) => e(t)), em = () =>
|
|
3063
|
+
const Cf = /* @__PURE__ */ new Set(), a_ = (t) => Cf.forEach((e) => e(t)), em = () => zn.size > 0;
|
|
3064
3064
|
function tm(t, e) {
|
|
3065
3065
|
var n;
|
|
3066
|
-
if (e) return !((n =
|
|
3066
|
+
if (e) return !((n = zn.get(e)) == null || !n.isToastActive(t));
|
|
3067
3067
|
let r = !1;
|
|
3068
|
-
return
|
|
3068
|
+
return zn.forEach((o) => {
|
|
3069
3069
|
o.isToastActive(t) && (r = !0);
|
|
3070
3070
|
}), r;
|
|
3071
3071
|
}
|
|
3072
3072
|
function nm(t, e) {
|
|
3073
|
-
_f(t) && (em() || ls.push({ content: t, options: e }),
|
|
3073
|
+
_f(t) && (em() || ls.push({ content: t, options: e }), zn.forEach((n) => {
|
|
3074
3074
|
n.buildToast(t, e);
|
|
3075
3075
|
}));
|
|
3076
3076
|
}
|
|
3077
3077
|
function Fp(t, e) {
|
|
3078
|
-
|
|
3078
|
+
zn.forEach((n) => {
|
|
3079
3079
|
e != null && e != null && e.containerId ? (e == null ? void 0 : e.containerId) === n.id && n.toggle(t, e == null ? void 0 : e.id) : n.toggle(t, e == null ? void 0 : e.id);
|
|
3080
3080
|
});
|
|
3081
3081
|
}
|
|
@@ -3130,17 +3130,17 @@ function s_(t) {
|
|
|
3130
3130
|
b.get(O).toggle = P;
|
|
3131
3131
|
}, isToastActive: (O) => m.some((P) => P === O), getSnapshot: () => w.newestOnTop ? y.reverse() : y };
|
|
3132
3132
|
}(a, i, a_);
|
|
3133
|
-
|
|
3133
|
+
zn.set(a, c);
|
|
3134
3134
|
const l = c.observe(s);
|
|
3135
3135
|
return ls.forEach((d) => nm(d.content, d.options)), ls = [], () => {
|
|
3136
|
-
l(),
|
|
3136
|
+
l(), zn.delete(a);
|
|
3137
3137
|
};
|
|
3138
3138
|
}, setProps(s) {
|
|
3139
3139
|
var c;
|
|
3140
|
-
(c =
|
|
3140
|
+
(c = zn.get(a)) == null || c.setProps(s);
|
|
3141
3141
|
}, getSnapshot() {
|
|
3142
3142
|
var s;
|
|
3143
|
-
return (s =
|
|
3143
|
+
return (s = zn.get(a)) == null ? void 0 : s.getSnapshot();
|
|
3144
3144
|
} };
|
|
3145
3145
|
}(t)).current;
|
|
3146
3146
|
r(t);
|
|
@@ -3175,7 +3175,7 @@ function c_(t) {
|
|
|
3175
3175
|
b.style.transition = "transform 0.2s, opacity 0.2s", b.style.removeProperty("transform"), b.style.removeProperty("opacity");
|
|
3176
3176
|
}
|
|
3177
3177
|
}
|
|
3178
|
-
(p =
|
|
3178
|
+
(p = zn.get((f = { id: t.toastId, containerId: t.containerId, fn: n }).containerId || 1)) == null || p.setToggle(f.id, f.fn), je(() => {
|
|
3179
3179
|
if (t.pauseOnFocusLoss) return document.hasFocus() || g(), window.addEventListener("focus", u), window.addEventListener("blur", g), () => {
|
|
3180
3180
|
window.removeEventListener("focus", u), window.removeEventListener("blur", g);
|
|
3181
3181
|
};
|
|
@@ -3233,19 +3233,19 @@ Pt.loading = (t, e) => za(t, iu("default", { isLoading: !0, autoClose: !1, close
|
|
|
3233
3233
|
(function(e) {
|
|
3234
3234
|
var n;
|
|
3235
3235
|
if (em()) {
|
|
3236
|
-
if (e == null || mi(n = e) || us(n))
|
|
3236
|
+
if (e == null || mi(n = e) || us(n)) zn.forEach((r) => {
|
|
3237
3237
|
r.removeToast(e);
|
|
3238
3238
|
});
|
|
3239
3239
|
else if (e && ("containerId" in e || "id" in e)) {
|
|
3240
|
-
const r =
|
|
3241
|
-
r ? r.removeToast(e.id) :
|
|
3240
|
+
const r = zn.get(e.containerId);
|
|
3241
|
+
r ? r.removeToast(e.id) : zn.forEach((o) => {
|
|
3242
3242
|
o.removeToast(e.id);
|
|
3243
3243
|
});
|
|
3244
3244
|
}
|
|
3245
3245
|
} else ls = ls.filter((r) => e != null && r.options.toastId !== e);
|
|
3246
3246
|
})(t);
|
|
3247
3247
|
}, Pt.clearWaitingQueue = function(t) {
|
|
3248
|
-
t === void 0 && (t = {}),
|
|
3248
|
+
t === void 0 && (t = {}), zn.forEach((e) => {
|
|
3249
3249
|
!e.props.limit || t.containerId && e.id !== t.containerId || e.clearQueue();
|
|
3250
3250
|
});
|
|
3251
3251
|
}, Pt.isActive = tm, Pt.update = function(t, e) {
|
|
@@ -3253,7 +3253,7 @@ Pt.loading = (t, e) => za(t, iu("default", { isLoading: !0, autoClose: !1, close
|
|
|
3253
3253
|
const n = ((r, o) => {
|
|
3254
3254
|
var i;
|
|
3255
3255
|
let { containerId: a } = o;
|
|
3256
|
-
return (i =
|
|
3256
|
+
return (i = zn.get(a || 1)) == null ? void 0 : i.toasts.get(r);
|
|
3257
3257
|
})(t, e);
|
|
3258
3258
|
if (n) {
|
|
3259
3259
|
const { props: r, content: o } = n, i = { delay: 100, ...r, ...e, toastId: e.toastId || t, updateId: rm() };
|
|
@@ -6852,7 +6852,7 @@ const Im = ({
|
|
|
6852
6852
|
) : null;
|
|
6853
6853
|
Im.displayName = "Label";
|
|
6854
6854
|
Tm.displayName = "HelperText";
|
|
6855
|
-
const
|
|
6855
|
+
const Qn = Object.assign(Im, {
|
|
6856
6856
|
Helper: Tm
|
|
6857
6857
|
}), B6 = ({ id: t, defaultChecked: e = !1, disabled: n, onChange: r }) => {
|
|
6858
6858
|
const o = n, [i, a] = Se.useState(e), s = (c) => {
|
|
@@ -6880,7 +6880,7 @@ const Rm = Se.forwardRef(
|
|
|
6880
6880
|
({ children: t, description: e, disabled: n, helperText: r, id: o, label: i, required: a, tooltip: s }, c) => {
|
|
6881
6881
|
const l = Se.useId(), d = o ?? l, h = i ?? e ?? s ?? r ? /* @__PURE__ */ v.jsxs("div", { className: "inline-flex flex-col", children: [
|
|
6882
6882
|
/* @__PURE__ */ v.jsx(
|
|
6883
|
-
|
|
6883
|
+
Qn,
|
|
6884
6884
|
{
|
|
6885
6885
|
className: "cursor-default",
|
|
6886
6886
|
description: e,
|
|
@@ -6891,7 +6891,7 @@ const Rm = Se.forwardRef(
|
|
|
6891
6891
|
children: i
|
|
6892
6892
|
}
|
|
6893
6893
|
),
|
|
6894
|
-
/* @__PURE__ */ v.jsx(
|
|
6894
|
+
/* @__PURE__ */ v.jsx(Qn.Helper, { disabled: n, helperText: r })
|
|
6895
6895
|
] }) : null;
|
|
6896
6896
|
return /* @__PURE__ */ v.jsx(xm.Provider, { value: { disabled: n }, children: /* @__PURE__ */ v.jsxs(
|
|
6897
6897
|
"div",
|
|
@@ -6931,7 +6931,7 @@ const Kd = ({
|
|
|
6931
6931
|
}) => {
|
|
6932
6932
|
const d = Se.useId(), h = t ?? d, f = !!Om(!0), p = a ?? r ?? c ?? i ? /* @__PURE__ */ v.jsxs("div", { className: "inline-flex flex-col", children: [
|
|
6933
6933
|
/* @__PURE__ */ v.jsx(
|
|
6934
|
-
|
|
6934
|
+
Qn,
|
|
6935
6935
|
{
|
|
6936
6936
|
className: Ln(f && "font-normal"),
|
|
6937
6937
|
description: r,
|
|
@@ -6942,7 +6942,7 @@ const Kd = ({
|
|
|
6942
6942
|
children: a
|
|
6943
6943
|
}
|
|
6944
6944
|
),
|
|
6945
|
-
/* @__PURE__ */ v.jsx(
|
|
6945
|
+
/* @__PURE__ */ v.jsx(Qn.Helper, { disabled: o, helperText: i })
|
|
6946
6946
|
] }) : null;
|
|
6947
6947
|
return /* @__PURE__ */ v.jsxs("div", { className: "flex gap-3", children: [
|
|
6948
6948
|
/* @__PURE__ */ v.jsx(B6, { id: h, defaultChecked: n, disabled: o, onChange: l }),
|
|
@@ -8762,7 +8762,7 @@ var Pm = { exports: {} };
|
|
|
8762
8762
|
var Ht = ke(Je, mt);
|
|
8763
8763
|
return !Ht || !T(Fe, mt) || T(Je, K) && Je[K][mt] || (Ht.enumerable = !0), Ht;
|
|
8764
8764
|
}
|
|
8765
|
-
},
|
|
8765
|
+
}, Jn = function(qe) {
|
|
8766
8766
|
var Xe = it(k(qe)), Je = [];
|
|
8767
8767
|
return J(Xe, function(mt) {
|
|
8768
8768
|
T(Fe, mt) || T(H, mt) || Ot(Je, mt);
|
|
@@ -8791,7 +8791,7 @@ var Pm = { exports: {} };
|
|
|
8791
8791
|
return fe(this).tag;
|
|
8792
8792
|
}), ce(se, "withoutSetter", function(qe) {
|
|
8793
8793
|
return Wr(X(qe), qe);
|
|
8794
|
-
}), ye.f = fn, te.f = In, ae.f = Hn, ne.f = rn, j.f = Y.f =
|
|
8794
|
+
}), ye.f = fn, te.f = In, ae.f = Hn, ne.f = rn, j.f = Y.f = Jn, ee.f = Yr, B.f = function(qe) {
|
|
8795
8795
|
return Wr(I(qe), qe);
|
|
8796
8796
|
}, E && (Ee(De, "description", { configurable: !0, get: function() {
|
|
8797
8797
|
return fe(this).description;
|
|
@@ -8803,7 +8803,7 @@ var Pm = { exports: {} };
|
|
|
8803
8803
|
qt = !1;
|
|
8804
8804
|
} }), g({ target: "Object", stat: !0, forced: !_, sham: !E }, { create: function(qe, Xe) {
|
|
8805
8805
|
return Xe === void 0 ? U(qe) : Hn(U(qe), Xe);
|
|
8806
|
-
}, defineProperty: In, defineProperties: Hn, getOwnPropertyDescriptor: rn }), g({ target: "Object", stat: !0, forced: !_ }, { getOwnPropertyNames:
|
|
8806
|
+
}, defineProperty: In, defineProperties: Hn, getOwnPropertyDescriptor: rn }), g({ target: "Object", stat: !0, forced: !_ }, { getOwnPropertyNames: Jn }), N(), z(se, de), H[K] = !0;
|
|
8807
8807
|
}, 9463: function(f, p, u) {
|
|
8808
8808
|
var g = u(6518), m = u(3724), y = u(4475), w = u(9504), b = u(9297), E = u(4901), _ = u(1625), S = u(655), T = u(2106), O = u(7740), P = y.Symbol, k = P && P.prototype;
|
|
8809
8809
|
if (m && E(P) && (!("description" in k) || P().description !== void 0)) {
|
|
@@ -9947,7 +9947,7 @@ const Ni = ({
|
|
|
9947
9947
|
h == null || h(W);
|
|
9948
9948
|
}, V = Se.useId(), F = t ?? V;
|
|
9949
9949
|
return /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2 antialiased", children: [
|
|
9950
|
-
/* @__PURE__ */ v.jsx(
|
|
9950
|
+
/* @__PURE__ */ v.jsx(Qn, { description: r, disabled: c, htmlFor: F, required: o, children: n }),
|
|
9951
9951
|
/* @__PURE__ */ v.jsx(
|
|
9952
9952
|
"div",
|
|
9953
9953
|
{
|
|
@@ -9985,7 +9985,7 @@ const Ni = ({
|
|
|
9985
9985
|
"div",
|
|
9986
9986
|
{
|
|
9987
9987
|
className: `grid overflow-hidden transition-all duration-300 ease-out ${d || y ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0"}`,
|
|
9988
|
-
children: /* @__PURE__ */ v.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ v.jsx(
|
|
9988
|
+
children: /* @__PURE__ */ v.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ v.jsx(Qn.Helper, { error: l, helperText: d || y }) })
|
|
9989
9989
|
}
|
|
9990
9990
|
)
|
|
9991
9991
|
] });
|
|
@@ -10008,7 +10008,7 @@ const Bm = ({
|
|
|
10008
10008
|
const [f, p] = ve(!1), u = Se.useId(), g = t ?? u;
|
|
10009
10009
|
return /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-2 antialiased", children: [
|
|
10010
10010
|
/* @__PURE__ */ v.jsx(
|
|
10011
|
-
|
|
10011
|
+
Qn,
|
|
10012
10012
|
{
|
|
10013
10013
|
description: o,
|
|
10014
10014
|
disabled: s,
|
|
@@ -10052,7 +10052,7 @@ const Bm = ({
|
|
|
10052
10052
|
"div",
|
|
10053
10053
|
{
|
|
10054
10054
|
className: `grid overflow-hidden transition-all duration-300 ease-out ${l ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-100"}`,
|
|
10055
|
-
children: /* @__PURE__ */ v.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ v.jsx(
|
|
10055
|
+
children: /* @__PURE__ */ v.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ v.jsx(Qn.Helper, { error: c, helperText: l }) })
|
|
10056
10056
|
}
|
|
10057
10057
|
)
|
|
10058
10058
|
] });
|
|
@@ -10128,7 +10128,7 @@ function H6(t) {
|
|
|
10128
10128
|
f ? u = [...s, p] : u = s.filter((g) => g !== p), c(u), d && d(l ?? "", u.join(";"));
|
|
10129
10129
|
};
|
|
10130
10130
|
return /* @__PURE__ */ v.jsxs("div", { ref: n, className: "flex flex-col gap-2 antialiased", children: [
|
|
10131
|
-
/* @__PURE__ */ v.jsx(
|
|
10131
|
+
/* @__PURE__ */ v.jsx(Qn, { disabled: t.disabled, htmlFor: t.id, required: t.required, children: t.label }),
|
|
10132
10132
|
/* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
|
|
10133
10133
|
/* @__PURE__ */ v.jsxs(
|
|
10134
10134
|
"div",
|
|
@@ -10246,7 +10246,7 @@ function K6(t) {
|
|
|
10246
10246
|
});
|
|
10247
10247
|
return /* @__PURE__ */ v.jsxs("div", { ref: e, className: "flex flex-col gap-2 antialiased", children: [
|
|
10248
10248
|
/* @__PURE__ */ v.jsx(
|
|
10249
|
-
|
|
10249
|
+
Qn,
|
|
10250
10250
|
{
|
|
10251
10251
|
description: t.description,
|
|
10252
10252
|
disabled: t.disabled,
|
|
@@ -10274,7 +10274,7 @@ function K6(t) {
|
|
|
10274
10274
|
}
|
|
10275
10275
|
)
|
|
10276
10276
|
] }) }),
|
|
10277
|
-
/* @__PURE__ */ v.jsx(
|
|
10277
|
+
/* @__PURE__ */ v.jsx(Qn.Helper, { helperText: t.helperText })
|
|
10278
10278
|
] });
|
|
10279
10279
|
}
|
|
10280
10280
|
var z6 = Object.defineProperty, Q6 = (t, e) => {
|
|
@@ -12606,7 +12606,7 @@ const wA = pa("flex flex-shrink bg-white rounded-full transform transition-trans
|
|
|
12606
12606
|
/* @__PURE__ */ v.jsx(EA, { disabled: i, defaultChecked: s, id: p, size: n, onChange: h }),
|
|
12607
12607
|
e || (c || r || d || a) && /* @__PURE__ */ v.jsxs("div", { className: "inline-flex w-full flex-col self-center", children: [
|
|
12608
12608
|
/* @__PURE__ */ v.jsx(
|
|
12609
|
-
|
|
12609
|
+
Qn,
|
|
12610
12610
|
{
|
|
12611
12611
|
className: Ln("font-normal"),
|
|
12612
12612
|
description: r,
|
|
@@ -12617,7 +12617,7 @@ const wA = pa("flex flex-shrink bg-white rounded-full transform transition-trans
|
|
|
12617
12617
|
children: c
|
|
12618
12618
|
}
|
|
12619
12619
|
),
|
|
12620
|
-
/* @__PURE__ */ v.jsx(
|
|
12620
|
+
/* @__PURE__ */ v.jsx(Qn.Helper, { disabled: i, helperText: a })
|
|
12621
12621
|
] })
|
|
12622
12622
|
] });
|
|
12623
12623
|
};
|
|
@@ -12644,7 +12644,7 @@ const m2 = Se.forwardRef(
|
|
|
12644
12644
|
}, d) => {
|
|
12645
12645
|
const h = Se.useId(), f = a ?? h, p = s ?? r ?? l ?? i ? /* @__PURE__ */ v.jsxs("div", { className: "inline-flex flex-col", children: [
|
|
12646
12646
|
/* @__PURE__ */ v.jsx(
|
|
12647
|
-
|
|
12647
|
+
Qn,
|
|
12648
12648
|
{
|
|
12649
12649
|
className: "cursor-default",
|
|
12650
12650
|
description: r,
|
|
@@ -12655,7 +12655,7 @@ const m2 = Se.forwardRef(
|
|
|
12655
12655
|
children: s
|
|
12656
12656
|
}
|
|
12657
12657
|
),
|
|
12658
|
-
/* @__PURE__ */ v.jsx(
|
|
12658
|
+
/* @__PURE__ */ v.jsx(Qn.Helper, { disabled: o, helperText: i })
|
|
12659
12659
|
] }) : null;
|
|
12660
12660
|
return /* @__PURE__ */ v.jsx(g2.Provider, { value: { disabled: o, toggleLeft: t, size: e }, children: /* @__PURE__ */ v.jsxs(
|
|
12661
12661
|
"div",
|
|
@@ -14637,7 +14637,7 @@ function Hc(t) {
|
|
|
14637
14637
|
function Fn(t) {
|
|
14638
14638
|
return t[Zf] || t;
|
|
14639
14639
|
}
|
|
14640
|
-
function
|
|
14640
|
+
function Xn() {
|
|
14641
14641
|
const t = wa(), e = Us(t);
|
|
14642
14642
|
return e.getActiveSpan ? e.getActiveSpan() : _u(yn());
|
|
14643
14643
|
}
|
|
@@ -14646,7 +14646,7 @@ function e5() {
|
|
|
14646
14646
|
X1 || (X1 = !0, O2(ed), R2(ed));
|
|
14647
14647
|
}
|
|
14648
14648
|
function ed() {
|
|
14649
|
-
const t =
|
|
14649
|
+
const t = Xn(), e = t && Fn(t);
|
|
14650
14650
|
if (e) {
|
|
14651
14651
|
const n = "internal_error";
|
|
14652
14652
|
rt && Re.log(`[Tracing] Root span: ${n} -> Global error occured`), e.setStatus({ code: An, message: n });
|
|
@@ -14843,7 +14843,7 @@ function c5(t, e) {
|
|
|
14843
14843
|
}
|
|
14844
14844
|
return va(a, l);
|
|
14845
14845
|
}
|
|
14846
|
-
function u5(t, e, n, r =
|
|
14846
|
+
function u5(t, e, n, r = Xn()) {
|
|
14847
14847
|
const o = r && Fn(r);
|
|
14848
14848
|
o && o.addEvent(t, {
|
|
14849
14849
|
[al]: e,
|
|
@@ -15221,7 +15221,7 @@ function Z2(t, e = {}) {
|
|
|
15221
15221
|
} = e, f = Bt();
|
|
15222
15222
|
if (!f || !Co())
|
|
15223
15223
|
return new Ea();
|
|
15224
|
-
const p = yn(), u =
|
|
15224
|
+
const p = yn(), u = Xn(), g = b5(t);
|
|
15225
15225
|
g.end = new Proxy(g.end, {
|
|
15226
15226
|
apply(S, T, O) {
|
|
15227
15227
|
h && h(g);
|
|
@@ -16294,7 +16294,7 @@ function mI(t, e, n, r, o = "auto.http.browser") {
|
|
|
16294
16294
|
g && (wI(g, t), delete r[u]);
|
|
16295
16295
|
return;
|
|
16296
16296
|
}
|
|
16297
|
-
const a = yn(), s = Bt(), { method: c, url: l } = t.fetchData, d = vI(l), h = d ? wi(d).host : void 0, f = !!
|
|
16297
|
+
const a = yn(), s = Bt(), { method: c, url: l } = t.fetchData, d = vI(l), h = d ? wi(d).host : void 0, f = !!Xn(), p = i && f ? ti({
|
|
16298
16298
|
name: `${c} ${l}`,
|
|
16299
16299
|
attributes: {
|
|
16300
16300
|
url: l,
|
|
@@ -17006,7 +17006,7 @@ function hT() {
|
|
|
17006
17006
|
}), setTimeout(() => {
|
|
17007
17007
|
const a = Bt(), s = mo([a, "optionalAccess", (h) => h.on, "call", (h) => h("startNavigationSpan", () => {
|
|
17008
17008
|
o(), s && s();
|
|
17009
|
-
})]), c =
|
|
17009
|
+
})]), c = Xn(), l = c && Fn(c), d = l && At(l);
|
|
17010
17010
|
d && d.op === "pageload" && (n = l.spanContext().spanId);
|
|
17011
17011
|
}, 0);
|
|
17012
17012
|
}
|
|
@@ -17052,7 +17052,7 @@ function yT({ recordClsStandaloneSpans: t }) {
|
|
|
17052
17052
|
}
|
|
17053
17053
|
function vT() {
|
|
17054
17054
|
Is("longtask", ({ entries: t }) => {
|
|
17055
|
-
if (
|
|
17055
|
+
if (Xn())
|
|
17056
17056
|
for (const e of t) {
|
|
17057
17057
|
const n = nn(sr + e.startTime), r = nn(e.duration), o = ti({
|
|
17058
17058
|
name: "Main UI thread blocked",
|
|
@@ -17068,7 +17068,7 @@ function vT() {
|
|
|
17068
17068
|
}
|
|
17069
17069
|
function wT() {
|
|
17070
17070
|
new PerformanceObserver((e) => {
|
|
17071
|
-
if (
|
|
17071
|
+
if (Xn())
|
|
17072
17072
|
for (const n of e.getEntries()) {
|
|
17073
17073
|
if (!n.scripts[0])
|
|
17074
17074
|
continue;
|
|
@@ -17088,7 +17088,7 @@ function wT() {
|
|
|
17088
17088
|
}
|
|
17089
17089
|
function bT() {
|
|
17090
17090
|
Is("event", ({ entries: t }) => {
|
|
17091
|
-
if (
|
|
17091
|
+
if (Xn()) {
|
|
17092
17092
|
for (const e of t)
|
|
17093
17093
|
if (e.name === "click") {
|
|
17094
17094
|
const n = nn(sr + e.startTime), r = nn(e.duration), o = {
|
|
@@ -17503,7 +17503,7 @@ function HT() {
|
|
|
17503
17503
|
const e = t.entries.find((u) => u.duration === t.value && E0[u.name]);
|
|
17504
17504
|
if (!e)
|
|
17505
17505
|
return;
|
|
17506
|
-
const { interactionId: n } = e, r = E0[e.name], o = nn(sr + e.startTime), i = nn(t.value), a =
|
|
17506
|
+
const { interactionId: n } = e, r = E0[e.name], o = nn(sr + e.startTime), i = nn(t.value), a = Xn(), s = a ? Fn(a) : void 0, l = (n != null ? Yc.get(n) : void 0) || s, d = l ? At(l).description : yn().getScopeData().transactionName, h = Si(e.target), f = kn({
|
|
17507
17507
|
[vn]: "auto.http.browser.inp",
|
|
17508
17508
|
[Yo]: `ui.interaction.${r}`,
|
|
17509
17509
|
[wh]: e.duration
|
|
@@ -17521,7 +17521,7 @@ function HT() {
|
|
|
17521
17521
|
}
|
|
17522
17522
|
function $T(t) {
|
|
17523
17523
|
const e = ({ entries: n }) => {
|
|
17524
|
-
const r =
|
|
17524
|
+
const r = Xn(), o = r && Fn(r);
|
|
17525
17525
|
n.forEach((i) => {
|
|
17526
17526
|
if (!dT(i) || !o)
|
|
17527
17527
|
return;
|
|
@@ -18194,7 +18194,7 @@ function q9(t, e, n, r) {
|
|
|
18194
18194
|
p && i.status_code !== void 0 && (j2(p, i.status_code), p.end(), delete r[f]);
|
|
18195
18195
|
return;
|
|
18196
18196
|
}
|
|
18197
|
-
const s = Ay(i.url), c = s ? wi(s).host : void 0, l = !!
|
|
18197
|
+
const s = Ay(i.url), c = s ? wi(s).host : void 0, l = !!Xn(), d = a && l ? ti({
|
|
18198
18198
|
name: `${i.method} ${i.url}`,
|
|
18199
18199
|
attributes: {
|
|
18200
18200
|
type: "xhr",
|
|
@@ -18241,7 +18241,7 @@ function Ay(t) {
|
|
|
18241
18241
|
}
|
|
18242
18242
|
function W9() {
|
|
18243
18243
|
ht && ht.document ? ht.document.addEventListener("visibilitychange", () => {
|
|
18244
|
-
const t =
|
|
18244
|
+
const t = Xn();
|
|
18245
18245
|
if (!t)
|
|
18246
18246
|
return;
|
|
18247
18247
|
const e = Fn(t);
|
|
@@ -18368,12 +18368,12 @@ const Y9 = "BrowserTracing", K9 = {
|
|
|
18368
18368
|
};
|
|
18369
18369
|
function Sy(t, e, n) {
|
|
18370
18370
|
t.emit("startPageLoadSpan", e, n), yn().setTransactionName(e.name);
|
|
18371
|
-
const r =
|
|
18371
|
+
const r = Xn();
|
|
18372
18372
|
return (r && At(r).op) === "pageload" ? r : void 0;
|
|
18373
18373
|
}
|
|
18374
18374
|
function Q9(t, e) {
|
|
18375
18375
|
ba().setPropagationContext(Eu()), yn().setPropagationContext(Eu()), t.emit("startNavigationSpan", e), yn().setTransactionName(e.name);
|
|
18376
|
-
const n =
|
|
18376
|
+
const n = Xn();
|
|
18377
18377
|
return (n && At(n).op) === "navigation" ? n : void 0;
|
|
18378
18378
|
}
|
|
18379
18379
|
function I0(t) {
|
|
@@ -18383,7 +18383,7 @@ function I0(t) {
|
|
|
18383
18383
|
function X9(t, e, n, r) {
|
|
18384
18384
|
let o;
|
|
18385
18385
|
const i = () => {
|
|
18386
|
-
const a = "ui.action.click", s =
|
|
18386
|
+
const a = "ui.action.click", s = Xn(), c = s && Fn(s);
|
|
18387
18387
|
if (c) {
|
|
18388
18388
|
const l = At(c).op;
|
|
18389
18389
|
if (["navigation", "pageload"].includes(l)) {
|
|
@@ -20444,7 +20444,7 @@ var Ph = (() => {
|
|
|
20444
20444
|
function fn(C) {
|
|
20445
20445
|
return this.fromWireType(F[C >> 2]);
|
|
20446
20446
|
}
|
|
20447
|
-
var rn = {},
|
|
20447
|
+
var rn = {}, Jn = {}, Yr = {}, qe, Xe = (C) => {
|
|
20448
20448
|
throw new qe(C);
|
|
20449
20449
|
}, Je = (C, A, x) => {
|
|
20450
20450
|
C.forEach((re) => Yr[re] = A);
|
|
@@ -20456,8 +20456,8 @@ var Ph = (() => {
|
|
|
20456
20456
|
}
|
|
20457
20457
|
var G = new Array(A.length), Q = [], oe = 0;
|
|
20458
20458
|
A.forEach((re, pe) => {
|
|
20459
|
-
|
|
20460
|
-
G[pe] =
|
|
20459
|
+
Jn.hasOwnProperty(re) ? G[pe] = Jn[re] : (Q.push(re), rn.hasOwnProperty(re) || (rn[re] = []), rn[re].push(() => {
|
|
20460
|
+
G[pe] = Jn[re], ++oe, oe === Q.length && D(G);
|
|
20461
20461
|
}));
|
|
20462
20462
|
}), Q.length === 0 && D(G);
|
|
20463
20463
|
}, mt = (C) => {
|
|
@@ -20512,12 +20512,12 @@ var Ph = (() => {
|
|
|
20512
20512
|
function ml(C, A) {
|
|
20513
20513
|
let x = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
20514
20514
|
var D = A.name;
|
|
20515
|
-
if (C || yt(`type "${D}" must have a positive integer typeid pointer`),
|
|
20515
|
+
if (C || yt(`type "${D}" must have a positive integer typeid pointer`), Jn.hasOwnProperty(C)) {
|
|
20516
20516
|
if (x.ignoreDuplicateRegistrations)
|
|
20517
20517
|
return;
|
|
20518
20518
|
yt(`Cannot register type '${D}' twice`);
|
|
20519
20519
|
}
|
|
20520
|
-
if (
|
|
20520
|
+
if (Jn[C] = A, delete Yr[C], rn.hasOwnProperty(C)) {
|
|
20521
20521
|
var G = rn[C];
|
|
20522
20522
|
delete rn[C], G.forEach((Q) => Q());
|
|
20523
20523
|
}
|
|
@@ -20572,7 +20572,7 @@ var Ph = (() => {
|
|
|
20572
20572
|
for (A === void 0 && yt("ptr should not be undefined"); C.baseClass; )
|
|
20573
20573
|
A = C.upcast(A), C = C.baseClass;
|
|
20574
20574
|
return A;
|
|
20575
|
-
},
|
|
20575
|
+
}, Zn = (C, A) => (A = Qt(C, A), $t[A]), Br = (C, A) => {
|
|
20576
20576
|
(!A.ptrType || !A.ptr) && Xe("makeClassHandle requires ptr and ptrType");
|
|
20577
20577
|
var x = !!A.smartPtrType, D = !!A.smartPtr;
|
|
20578
20578
|
return x !== D && Xe("Both smartPtrType and smartPtr must be specified"), A.count = {
|
|
@@ -20588,7 +20588,7 @@ var Ph = (() => {
|
|
|
20588
20588
|
var A = this.getPointee(C);
|
|
20589
20589
|
if (!A)
|
|
20590
20590
|
return this.destructor(C), null;
|
|
20591
|
-
var x =
|
|
20591
|
+
var x = Zn(this.registeredClass, A);
|
|
20592
20592
|
if (x !== void 0) {
|
|
20593
20593
|
if (x.$$.count.value === 0)
|
|
20594
20594
|
return x.$$.ptr = A, x.$$.smartPtr = C, x.clone();
|
|
@@ -20800,7 +20800,7 @@ var Ph = (() => {
|
|
|
20800
20800
|
}, rc = (C, A) => {
|
|
20801
20801
|
var x = [], D = {};
|
|
20802
20802
|
function G(Q) {
|
|
20803
|
-
if (!D[Q] && !
|
|
20803
|
+
if (!D[Q] && !Jn[Q]) {
|
|
20804
20804
|
if (Yr[Q]) {
|
|
20805
20805
|
Yr[Q].forEach(G);
|
|
20806
20806
|
return;
|
|
@@ -20983,7 +20983,7 @@ var Ph = (() => {
|
|
|
20983
20983
|
destructorFunction: null
|
|
20984
20984
|
}), vl(A, G);
|
|
20985
20985
|
}, Al = (C, A) => {
|
|
20986
|
-
var x =
|
|
20986
|
+
var x = Jn[C];
|
|
20987
20987
|
return x === void 0 && yt(`${A} has unknown type ${Yh(C)}`), x;
|
|
20988
20988
|
}, rb = (C, A, x) => {
|
|
20989
20989
|
var D = Al(C, "enum");
|
|
@@ -23511,7 +23511,7 @@ var vd, or = function() {
|
|
|
23511
23511
|
return t.prototype.toJSON = function() {
|
|
23512
23512
|
return { kind: this.kind, groupId: this.groupId, deviceId: this.deviceId, label: this.label };
|
|
23513
23513
|
}, t;
|
|
23514
|
-
}(),
|
|
23514
|
+
}(), Yn = function(t, e, n, r) {
|
|
23515
23515
|
return new (n || (n = Promise))(function(o, i) {
|
|
23516
23516
|
function a(l) {
|
|
23517
23517
|
try {
|
|
@@ -23535,7 +23535,7 @@ var vd, or = function() {
|
|
|
23535
23535
|
}
|
|
23536
23536
|
c((r = r.apply(t, [])).next());
|
|
23537
23537
|
});
|
|
23538
|
-
},
|
|
23538
|
+
}, Kn = function(t, e) {
|
|
23539
23539
|
var n, r, o, i, a = { label: 0, sent: function() {
|
|
23540
23540
|
if (1 & o[0]) throw o[1];
|
|
23541
23541
|
return o[1];
|
|
@@ -23619,9 +23619,9 @@ var vd, or = function() {
|
|
|
23619
23619
|
}, set: function(e) {
|
|
23620
23620
|
this._hints = e || null;
|
|
23621
23621
|
}, enumerable: !1, configurable: !0 }), t.prototype.listVideoInputDevices = function() {
|
|
23622
|
-
return
|
|
23622
|
+
return Yn(this, void 0, void 0, function() {
|
|
23623
23623
|
var e, n, r, o, i, a, s, c, l, d, h, f;
|
|
23624
|
-
return
|
|
23624
|
+
return Kn(this, function(p) {
|
|
23625
23625
|
switch (p.label) {
|
|
23626
23626
|
case 0:
|
|
23627
23627
|
if (!this.hasNavigator) throw new Error("Can't enumerate devices, navigator is not present.");
|
|
@@ -23645,8 +23645,8 @@ var vd, or = function() {
|
|
|
23645
23645
|
});
|
|
23646
23646
|
});
|
|
23647
23647
|
}, t.prototype.getVideoInputDevices = function() {
|
|
23648
|
-
return
|
|
23649
|
-
return
|
|
23648
|
+
return Yn(this, void 0, void 0, function() {
|
|
23649
|
+
return Kn(this, function(e) {
|
|
23650
23650
|
switch (e.label) {
|
|
23651
23651
|
case 0:
|
|
23652
23652
|
return [4, this.listVideoInputDevices()];
|
|
@@ -23658,9 +23658,9 @@ var vd, or = function() {
|
|
|
23658
23658
|
});
|
|
23659
23659
|
});
|
|
23660
23660
|
}, t.prototype.findDeviceById = function(e) {
|
|
23661
|
-
return
|
|
23661
|
+
return Yn(this, void 0, void 0, function() {
|
|
23662
23662
|
var n;
|
|
23663
|
-
return
|
|
23663
|
+
return Kn(this, function(r) {
|
|
23664
23664
|
switch (r.label) {
|
|
23665
23665
|
case 0:
|
|
23666
23666
|
return [4, this.listVideoInputDevices()];
|
|
@@ -23672,8 +23672,8 @@ var vd, or = function() {
|
|
|
23672
23672
|
});
|
|
23673
23673
|
});
|
|
23674
23674
|
}, t.prototype.decodeFromInputVideoDevice = function(e, n) {
|
|
23675
|
-
return
|
|
23676
|
-
return
|
|
23675
|
+
return Yn(this, void 0, void 0, function() {
|
|
23676
|
+
return Kn(this, function(r) {
|
|
23677
23677
|
switch (r.label) {
|
|
23678
23678
|
case 0:
|
|
23679
23679
|
return [4, this.decodeOnceFromVideoDevice(e, n)];
|
|
@@ -23683,9 +23683,9 @@ var vd, or = function() {
|
|
|
23683
23683
|
});
|
|
23684
23684
|
});
|
|
23685
23685
|
}, t.prototype.decodeOnceFromVideoDevice = function(e, n) {
|
|
23686
|
-
return
|
|
23686
|
+
return Yn(this, void 0, void 0, function() {
|
|
23687
23687
|
var r;
|
|
23688
|
-
return
|
|
23688
|
+
return Kn(this, function(o) {
|
|
23689
23689
|
switch (o.label) {
|
|
23690
23690
|
case 0:
|
|
23691
23691
|
return this.reset(), r = { video: e ? { deviceId: { exact: e } } : { facingMode: "environment" } }, [4, this.decodeOnceFromConstraints(r, n)];
|
|
@@ -23695,9 +23695,9 @@ var vd, or = function() {
|
|
|
23695
23695
|
});
|
|
23696
23696
|
});
|
|
23697
23697
|
}, t.prototype.decodeOnceFromConstraints = function(e, n) {
|
|
23698
|
-
return
|
|
23698
|
+
return Yn(this, void 0, void 0, function() {
|
|
23699
23699
|
var r;
|
|
23700
|
-
return
|
|
23700
|
+
return Kn(this, function(o) {
|
|
23701
23701
|
switch (o.label) {
|
|
23702
23702
|
case 0:
|
|
23703
23703
|
return [4, navigator.mediaDevices.getUserMedia(e)];
|
|
@@ -23709,9 +23709,9 @@ var vd, or = function() {
|
|
|
23709
23709
|
});
|
|
23710
23710
|
});
|
|
23711
23711
|
}, t.prototype.decodeOnceFromStream = function(e, n) {
|
|
23712
|
-
return
|
|
23712
|
+
return Yn(this, void 0, void 0, function() {
|
|
23713
23713
|
var r;
|
|
23714
|
-
return
|
|
23714
|
+
return Kn(this, function(o) {
|
|
23715
23715
|
switch (o.label) {
|
|
23716
23716
|
case 0:
|
|
23717
23717
|
return this.reset(), [4, this.attachStreamToVideo(e, n)];
|
|
@@ -23723,8 +23723,8 @@ var vd, or = function() {
|
|
|
23723
23723
|
});
|
|
23724
23724
|
});
|
|
23725
23725
|
}, t.prototype.decodeFromInputVideoDeviceContinuously = function(e, n, r) {
|
|
23726
|
-
return
|
|
23727
|
-
return
|
|
23726
|
+
return Yn(this, void 0, void 0, function() {
|
|
23727
|
+
return Kn(this, function(o) {
|
|
23728
23728
|
switch (o.label) {
|
|
23729
23729
|
case 0:
|
|
23730
23730
|
return [4, this.decodeFromVideoDevice(e, n, r)];
|
|
@@ -23734,9 +23734,9 @@ var vd, or = function() {
|
|
|
23734
23734
|
});
|
|
23735
23735
|
});
|
|
23736
23736
|
}, t.prototype.decodeFromVideoDevice = function(e, n, r) {
|
|
23737
|
-
return
|
|
23737
|
+
return Yn(this, void 0, void 0, function() {
|
|
23738
23738
|
var o;
|
|
23739
|
-
return
|
|
23739
|
+
return Kn(this, function(i) {
|
|
23740
23740
|
switch (i.label) {
|
|
23741
23741
|
case 0:
|
|
23742
23742
|
return o = { video: e ? { deviceId: { exact: e } } : { facingMode: "environment" } }, [4, this.decodeFromConstraints(o, n, r)];
|
|
@@ -23746,9 +23746,9 @@ var vd, or = function() {
|
|
|
23746
23746
|
});
|
|
23747
23747
|
});
|
|
23748
23748
|
}, t.prototype.decodeFromConstraints = function(e, n, r) {
|
|
23749
|
-
return
|
|
23749
|
+
return Yn(this, void 0, void 0, function() {
|
|
23750
23750
|
var o;
|
|
23751
|
-
return
|
|
23751
|
+
return Kn(this, function(i) {
|
|
23752
23752
|
switch (i.label) {
|
|
23753
23753
|
case 0:
|
|
23754
23754
|
return [4, navigator.mediaDevices.getUserMedia(e)];
|
|
@@ -23760,9 +23760,9 @@ var vd, or = function() {
|
|
|
23760
23760
|
});
|
|
23761
23761
|
});
|
|
23762
23762
|
}, t.prototype.decodeFromStream = function(e, n, r) {
|
|
23763
|
-
return
|
|
23763
|
+
return Yn(this, void 0, void 0, function() {
|
|
23764
23764
|
var o;
|
|
23765
|
-
return
|
|
23765
|
+
return Kn(this, function(i) {
|
|
23766
23766
|
switch (i.label) {
|
|
23767
23767
|
case 0:
|
|
23768
23768
|
return this.reset(), [4, this.attachStreamToVideo(e, n)];
|
|
@@ -23778,9 +23778,9 @@ var vd, or = function() {
|
|
|
23778
23778
|
}, t.prototype.stopContinuousDecode = function() {
|
|
23779
23779
|
this._stopContinuousDecode = !0;
|
|
23780
23780
|
}, t.prototype.attachStreamToVideo = function(e, n) {
|
|
23781
|
-
return
|
|
23781
|
+
return Yn(this, void 0, void 0, function() {
|
|
23782
23782
|
var r;
|
|
23783
|
-
return
|
|
23783
|
+
return Kn(this, function(o) {
|
|
23784
23784
|
switch (o.label) {
|
|
23785
23785
|
case 0:
|
|
23786
23786
|
return r = this.prepareVideoElement(n), this.addVideoSource(r, e), this.videoElement = r, this.stream = e, [4, this.playVideoOnLoadAsync(r)];
|
|
@@ -23806,8 +23806,8 @@ var vd, or = function() {
|
|
|
23806
23806
|
}, t.prototype.isVideoPlaying = function(e) {
|
|
23807
23807
|
return e.currentTime > 0 && !e.paused && !e.ended && e.readyState > 2;
|
|
23808
23808
|
}, t.prototype.tryPlayVideo = function(e) {
|
|
23809
|
-
return
|
|
23810
|
-
return
|
|
23809
|
+
return Yn(this, void 0, void 0, function() {
|
|
23810
|
+
return Kn(this, function(n) {
|
|
23811
23811
|
switch (n.label) {
|
|
23812
23812
|
case 0:
|
|
23813
23813
|
if (this.isVideoPlaying(e)) return console.warn("Trying to play video that is already playing."), [2];
|
|
@@ -23878,8 +23878,8 @@ var vd, or = function() {
|
|
|
23878
23878
|
}, e.addEventListener("load", n.imageLoadedListener);
|
|
23879
23879
|
});
|
|
23880
23880
|
}, t.prototype._decodeOnLoadVideo = function(e) {
|
|
23881
|
-
return
|
|
23882
|
-
return
|
|
23881
|
+
return Yn(this, void 0, void 0, function() {
|
|
23882
|
+
return Kn(this, function(n) {
|
|
23883
23883
|
switch (n.label) {
|
|
23884
23884
|
case 0:
|
|
23885
23885
|
return [4, this.playVideoOnLoadAsync(e)];
|
|
@@ -23891,8 +23891,8 @@ var vd, or = function() {
|
|
|
23891
23891
|
});
|
|
23892
23892
|
});
|
|
23893
23893
|
}, t.prototype._decodeOnLoadVideoContinuously = function(e, n) {
|
|
23894
|
-
return
|
|
23895
|
-
return
|
|
23894
|
+
return Yn(this, void 0, void 0, function() {
|
|
23895
|
+
return Kn(this, function(r) {
|
|
23896
23896
|
switch (r.label) {
|
|
23897
23897
|
case 0:
|
|
23898
23898
|
return [4, this.playVideoOnLoadAsync(e)];
|
|
@@ -33165,11 +33165,12 @@ function hD() {
|
|
|
33165
33165
|
}
|
|
33166
33166
|
class Sd {
|
|
33167
33167
|
constructor() {
|
|
33168
|
-
|
|
33169
|
-
|
|
33170
|
-
|
|
33171
|
-
|
|
33172
|
-
|
|
33168
|
+
Wn(this, "uuid");
|
|
33169
|
+
Wn(this, "email");
|
|
33170
|
+
Wn(this, "credit_balance");
|
|
33171
|
+
Wn(this, "prepaid_balance");
|
|
33172
|
+
Wn(this, "current_display_values");
|
|
33173
|
+
Wn(this, "created_at");
|
|
33173
33174
|
}
|
|
33174
33175
|
getDisplayName() {
|
|
33175
33176
|
return this.current_display_values.firstname || this.current_display_values.lastname ? `${this.current_display_values.firstname} ${this.current_display_values.lastname}` : this.current_display_values.email;
|
|
@@ -33185,7 +33186,7 @@ function Fh({ children: t }) {
|
|
|
33185
33186
|
url: `${e}/contacts`,
|
|
33186
33187
|
onData: (a) => {
|
|
33187
33188
|
const s = new Sd();
|
|
33188
|
-
s.uuid = a.uuid, s.email = a.email, s.credit_balance = a.credit_balance, s.prepaid_balance = a.prepaid_balance, s.current_display_values = a.current_display_values, r(s);
|
|
33189
|
+
s.uuid = a.uuid, s.email = a.email, s.credit_balance = a.credit_balance, s.prepaid_balance = a.prepaid_balance, s.current_display_values = a.current_display_values, s.created_at = a.created_at, r(s);
|
|
33189
33190
|
}
|
|
33190
33191
|
}), i = Vr(() => ({ contact: n, mutate: o }), [n, o]);
|
|
33191
33192
|
return n.uuid ? /* @__PURE__ */ v.jsx(vw.Provider, { value: i, children: t }) : /* @__PURE__ */ v.jsx(Gr, {});
|
|
@@ -33394,13 +33395,10 @@ function wD({ contact: t }) {
|
|
|
33394
33395
|
t.current_display_values.tier && /* @__PURE__ */ v.jsx(Yd, { label: t.current_display_values.tier, size: "sm", stroke: !0 })
|
|
33395
33396
|
] }),
|
|
33396
33397
|
/* @__PURE__ */ v.jsx("p", { className: "text-sm text-core-gray-500 ", children: e("joinedAtDate", {
|
|
33397
|
-
date: new Date(t.
|
|
33398
|
-
|
|
33399
|
-
|
|
33400
|
-
|
|
33401
|
-
year: "numeric"
|
|
33402
|
-
}
|
|
33403
|
-
)
|
|
33398
|
+
date: new Date(t.created_at).toLocaleDateString(wn.language, {
|
|
33399
|
+
month: "long",
|
|
33400
|
+
year: "numeric"
|
|
33401
|
+
})
|
|
33404
33402
|
}) })
|
|
33405
33403
|
] })
|
|
33406
33404
|
] }),
|