@moser-inc/moser-labs-react 6.7.0 → 6.7.2
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.
- package/dist/moser-labs-react.css +1 -1
- package/dist/moser-labs-react.js +545 -528
- package/dist/package.json.d.ts +3 -3
- package/package.json +3 -3
package/dist/moser-labs-react.js
CHANGED
|
@@ -14,9 +14,9 @@ import { InputTextarea as Cg } from "primereact/inputtextarea";
|
|
|
14
14
|
import { Panel as wg } from "primereact/panel";
|
|
15
15
|
import { createHead as Eg, UnheadProvider as _g } from "@unhead/react/client";
|
|
16
16
|
import { PrimeReactProvider as Sg } from "primereact/api";
|
|
17
|
-
const kg = "6.7.
|
|
17
|
+
const kg = "6.7.2", Og = {
|
|
18
18
|
version: kg
|
|
19
|
-
},
|
|
19
|
+
}, aE = Og.version;
|
|
20
20
|
var Tg = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
21
21
|
function pi(e) {
|
|
22
22
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -107,10 +107,10 @@ function Ng() {
|
|
|
107
107
|
Re.unshift("Warning: " + ie), Function.prototype.apply.call(console[k], console, Re);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
var $ = !1,
|
|
110
|
+
var $ = !1, x = !1, b = !1, T = !1, D = !1, S;
|
|
111
111
|
S = Symbol.for("react.module.reference");
|
|
112
112
|
function P(k) {
|
|
113
|
-
return !!(typeof k == "string" || typeof k == "function" || k === r || k === o || D || k === i || k === c || k === u || T || k === p || $ ||
|
|
113
|
+
return !!(typeof k == "string" || typeof k == "function" || k === r || k === o || D || k === i || k === c || k === u || T || k === p || $ || x || b || typeof k == "object" && k !== null && (k.$$typeof === f || k.$$typeof === d || k.$$typeof === s || k.$$typeof === a || k.$$typeof === l || // This needs to include all possible module reference object
|
|
114
114
|
// types supported by any Flight configuration anywhere since
|
|
115
115
|
// we don't know which Flight build this will end up being used
|
|
116
116
|
// with.
|
|
@@ -171,14 +171,14 @@ function Ng() {
|
|
|
171
171
|
}
|
|
172
172
|
return null;
|
|
173
173
|
}
|
|
174
|
-
var H = Object.assign, I = 0, F, V, B,
|
|
174
|
+
var H = Object.assign, I = 0, F, V, B, C, L, g, y;
|
|
175
175
|
function M() {
|
|
176
176
|
}
|
|
177
177
|
M.__reactDisabledLog = !0;
|
|
178
178
|
function U() {
|
|
179
179
|
{
|
|
180
180
|
if (I === 0) {
|
|
181
|
-
F = console.log, V = console.info, B = console.warn,
|
|
181
|
+
F = console.log, V = console.info, B = console.warn, C = console.error, L = console.group, g = console.groupCollapsed, y = console.groupEnd;
|
|
182
182
|
var k = {
|
|
183
183
|
configurable: !0,
|
|
184
184
|
enumerable: !0,
|
|
@@ -217,7 +217,7 @@ function Ng() {
|
|
|
217
217
|
value: B
|
|
218
218
|
}),
|
|
219
219
|
error: H({}, k, {
|
|
220
|
-
value:
|
|
220
|
+
value: C
|
|
221
221
|
}),
|
|
222
222
|
group: H({}, k, {
|
|
223
223
|
value: L
|
|
@@ -309,9 +309,9 @@ function Ng() {
|
|
|
309
309
|
if (Xe !== 1 || it !== 1)
|
|
310
310
|
do
|
|
311
311
|
if (Xe--, it--, it < 0 || Pe[Xe] !== Ot[it]) {
|
|
312
|
-
var
|
|
312
|
+
var Ut = `
|
|
313
313
|
` + Pe[Xe].replace(" at new ", " at ");
|
|
314
|
-
return k.displayName &&
|
|
314
|
+
return k.displayName && Ut.includes("<anonymous>") && (Ut = Ut.replace("<anonymous>", k.displayName)), typeof k == "function" && re.set(k, Ut), Ut;
|
|
315
315
|
}
|
|
316
316
|
while (Xe >= 1 && it >= 0);
|
|
317
317
|
break;
|
|
@@ -630,17 +630,17 @@ Check the top-level render call using <` + ue + ">.");
|
|
|
630
630
|
if (it == null)
|
|
631
631
|
return it;
|
|
632
632
|
if (Ie) {
|
|
633
|
-
var
|
|
634
|
-
if (
|
|
633
|
+
var Ut = ie.children;
|
|
634
|
+
if (Ut !== void 0)
|
|
635
635
|
if (we)
|
|
636
|
-
if (fe(
|
|
637
|
-
for (var Vr = 0; Vr <
|
|
638
|
-
bt(
|
|
639
|
-
Object.freeze && Object.freeze(
|
|
636
|
+
if (fe(Ut)) {
|
|
637
|
+
for (var Vr = 0; Vr < Ut.length; Vr++)
|
|
638
|
+
bt(Ut[Vr], k);
|
|
639
|
+
Object.freeze && Object.freeze(Ut);
|
|
640
640
|
} else
|
|
641
641
|
A("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
|
-
bt(
|
|
643
|
+
bt(Ut, k);
|
|
644
644
|
}
|
|
645
645
|
if (Y.call(ie, "key")) {
|
|
646
646
|
var tr = j(k), It = Object.keys(ie).filter(function(ig) {
|
|
@@ -674,12 +674,12 @@ function Dg() {
|
|
|
674
674
|
return Lu || (Lu = 1, process.env.NODE_ENV === "production" ? Xo.exports = Pg() : Xo.exports = Ng()), Xo.exports;
|
|
675
675
|
}
|
|
676
676
|
var ee = Dg();
|
|
677
|
-
const
|
|
677
|
+
const lE = ({
|
|
678
678
|
children: e,
|
|
679
679
|
messageLoading: t = "Loading..."
|
|
680
680
|
}) => {
|
|
681
|
-
const { isLoading: n } =
|
|
682
|
-
return n ? /* @__PURE__ */ ee.jsx(
|
|
681
|
+
const { isLoading: n } = Vw();
|
|
682
|
+
return n ? /* @__PURE__ */ ee.jsx(zw, { children: /* @__PURE__ */ ee.jsx(Nm, { label: t }) }) : /* @__PURE__ */ ee.jsx(ee.Fragment, { children: e });
|
|
683
683
|
};
|
|
684
684
|
function Zp(e) {
|
|
685
685
|
var t, n, r = "";
|
|
@@ -753,31 +753,31 @@ function Ig() {
|
|
|
753
753
|
return (I <= 0 ? "+" : "-") + O(V, 2, "0") + ":" + O(B, 2, "0");
|
|
754
754
|
}, m: function H(I, F) {
|
|
755
755
|
if (I.date() < F.date()) return -H(F, I);
|
|
756
|
-
var V = 12 * (F.year() - I.year()) + (F.month() - I.month()), B = I.clone().add(V, d),
|
|
757
|
-
return +(-(V + (F - B) / (
|
|
756
|
+
var V = 12 * (F.year() - I.year()) + (F.month() - I.month()), B = I.clone().add(V, d), C = F - B < 0, L = I.clone().add(V + (C ? -1 : 1), d);
|
|
757
|
+
return +(-(V + (F - B) / (C ? B - L : L - B)) || 0);
|
|
758
758
|
}, a: function(H) {
|
|
759
759
|
return H < 0 ? Math.ceil(H) || 0 : Math.floor(H);
|
|
760
760
|
}, p: function(H) {
|
|
761
761
|
return { M: d, y: p, w: u, d: c, D: h, h: l, m: a, s, ms: o, Q: f }[H] || String(H || "").toLowerCase().replace(/s$/, "");
|
|
762
762
|
}, u: function(H) {
|
|
763
763
|
return H === void 0;
|
|
764
|
-
} },
|
|
765
|
-
b[
|
|
764
|
+
} }, x = "en", b = {};
|
|
765
|
+
b[x] = A;
|
|
766
766
|
var T = "$isDayjsObject", D = function(H) {
|
|
767
767
|
return H instanceof R || !(!H || !H[T]);
|
|
768
768
|
}, S = function H(I, F, V) {
|
|
769
769
|
var B;
|
|
770
|
-
if (!I) return
|
|
770
|
+
if (!I) return x;
|
|
771
771
|
if (typeof I == "string") {
|
|
772
|
-
var
|
|
773
|
-
b[
|
|
772
|
+
var C = I.toLowerCase();
|
|
773
|
+
b[C] && (B = C), F && (b[C] = F, B = C);
|
|
774
774
|
var L = I.split("-");
|
|
775
775
|
if (!B && L.length > 1) return H(L[0]);
|
|
776
776
|
} else {
|
|
777
777
|
var g = I.name;
|
|
778
778
|
b[g] = I, B = g;
|
|
779
779
|
}
|
|
780
|
-
return !V && B && (
|
|
780
|
+
return !V && B && (x = B), B || !V && x;
|
|
781
781
|
}, P = function(H, I) {
|
|
782
782
|
if (D(H)) return H.clone();
|
|
783
783
|
var F = typeof I == "object" ? I : {};
|
|
@@ -793,7 +793,7 @@ function Ig() {
|
|
|
793
793
|
var I = H.prototype;
|
|
794
794
|
return I.parse = function(F) {
|
|
795
795
|
this.$d = function(V) {
|
|
796
|
-
var B = V.date,
|
|
796
|
+
var B = V.date, C = V.utc;
|
|
797
797
|
if (B === null) return /* @__PURE__ */ new Date(NaN);
|
|
798
798
|
if (N.u(B)) return /* @__PURE__ */ new Date();
|
|
799
799
|
if (B instanceof Date) return new Date(B);
|
|
@@ -801,7 +801,7 @@ function Ig() {
|
|
|
801
801
|
var L = B.match(w);
|
|
802
802
|
if (L) {
|
|
803
803
|
var g = L[2] - 1 || 0, y = (L[7] || "0").substring(0, 3);
|
|
804
|
-
return
|
|
804
|
+
return C ? new Date(Date.UTC(L[1], g, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, y)) : new Date(L[1], g, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, y);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
807
|
return new Date(B);
|
|
@@ -827,20 +827,20 @@ function Ig() {
|
|
|
827
827
|
}, I.valueOf = function() {
|
|
828
828
|
return this.$d.getTime();
|
|
829
829
|
}, I.startOf = function(F, V) {
|
|
830
|
-
var B = this,
|
|
830
|
+
var B = this, C = !!N.u(V) || V, L = N.p(F), g = function(X, re) {
|
|
831
831
|
var de = N.w(B.$u ? Date.UTC(B.$y, re, X) : new Date(B.$y, re, X), B);
|
|
832
|
-
return
|
|
832
|
+
return C ? de : de.endOf(c);
|
|
833
833
|
}, y = function(X, re) {
|
|
834
|
-
return N.w(B.toDate()[X].apply(B.toDate("s"), (
|
|
834
|
+
return N.w(B.toDate()[X].apply(B.toDate("s"), (C ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(re)), B);
|
|
835
835
|
}, M = this.$W, U = this.$M, z = this.$D, Z = "set" + (this.$u ? "UTC" : "");
|
|
836
836
|
switch (L) {
|
|
837
837
|
case p:
|
|
838
|
-
return
|
|
838
|
+
return C ? g(1, 0) : g(31, 11);
|
|
839
839
|
case d:
|
|
840
|
-
return
|
|
840
|
+
return C ? g(1, U) : g(0, U + 1);
|
|
841
841
|
case u:
|
|
842
842
|
var G = this.$locale().weekStart || 0, K = (M < G ? M + 7 : M) - G;
|
|
843
|
-
return g(
|
|
843
|
+
return g(C ? z - K : z + (6 - K), U);
|
|
844
844
|
case c:
|
|
845
845
|
case h:
|
|
846
846
|
return y(Z + "Hours", 0);
|
|
@@ -856,8 +856,8 @@ function Ig() {
|
|
|
856
856
|
}, I.endOf = function(F) {
|
|
857
857
|
return this.startOf(F, !1);
|
|
858
858
|
}, I.$set = function(F, V) {
|
|
859
|
-
var B,
|
|
860
|
-
if (
|
|
859
|
+
var B, C = N.p(F), L = "set" + (this.$u ? "UTC" : ""), g = (B = {}, B[c] = L + "Date", B[h] = L + "Date", B[d] = L + "Month", B[p] = L + "FullYear", B[l] = L + "Hours", B[a] = L + "Minutes", B[s] = L + "Seconds", B[o] = L + "Milliseconds", B)[C], y = C === c ? this.$D + (V - this.$W) : V;
|
|
860
|
+
if (C === d || C === p) {
|
|
861
861
|
var M = this.clone().set(h, 1);
|
|
862
862
|
M.$d[g](y), M.init(), this.$d = M.set(h, Math.min(this.$D, M.daysInMonth())).$d;
|
|
863
863
|
} else g && this.$d[g](y);
|
|
@@ -867,11 +867,11 @@ function Ig() {
|
|
|
867
867
|
}, I.get = function(F) {
|
|
868
868
|
return this[N.p(F)]();
|
|
869
869
|
}, I.add = function(F, V) {
|
|
870
|
-
var B,
|
|
870
|
+
var B, C = this;
|
|
871
871
|
F = Number(F);
|
|
872
872
|
var L = N.p(V), g = function(U) {
|
|
873
|
-
var z = P(
|
|
874
|
-
return N.w(z.date(z.date() + Math.round(U * F)),
|
|
873
|
+
var z = P(C);
|
|
874
|
+
return N.w(z.date(z.date() + Math.round(U * F)), C);
|
|
875
875
|
};
|
|
876
876
|
if (L === d) return this.set(d, this.$M + F);
|
|
877
877
|
if (L === p) return this.set(p, this.$y + F);
|
|
@@ -884,15 +884,15 @@ function Ig() {
|
|
|
884
884
|
}, I.format = function(F) {
|
|
885
885
|
var V = this, B = this.$locale();
|
|
886
886
|
if (!this.isValid()) return B.invalidDate || m;
|
|
887
|
-
var
|
|
888
|
-
return re && (re[de] || re(V,
|
|
887
|
+
var C = F || "YYYY-MM-DDTHH:mm:ssZ", L = N.z(this), g = this.$H, y = this.$m, M = this.$M, U = B.weekdays, z = B.months, Z = B.meridiem, G = function(re, de, v, _) {
|
|
888
|
+
return re && (re[de] || re(V, C)) || v[de].slice(0, _);
|
|
889
889
|
}, K = function(re) {
|
|
890
890
|
return N.s(g % 12 || 12, re, "0");
|
|
891
891
|
}, X = Z || function(re, de, v) {
|
|
892
892
|
var _ = re < 12 ? "AM" : "PM";
|
|
893
893
|
return v ? _.toLowerCase() : _;
|
|
894
894
|
};
|
|
895
|
-
return
|
|
895
|
+
return C.replace(E, function(re, de) {
|
|
896
896
|
return de || function(v) {
|
|
897
897
|
switch (v) {
|
|
898
898
|
case "YY":
|
|
@@ -950,46 +950,46 @@ function Ig() {
|
|
|
950
950
|
}, I.utcOffset = function() {
|
|
951
951
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
952
952
|
}, I.diff = function(F, V, B) {
|
|
953
|
-
var
|
|
953
|
+
var C, L = this, g = N.p(V), y = P(F), M = (y.utcOffset() - this.utcOffset()) * r, U = this - y, z = function() {
|
|
954
954
|
return N.m(L, y);
|
|
955
955
|
};
|
|
956
956
|
switch (g) {
|
|
957
957
|
case p:
|
|
958
|
-
|
|
958
|
+
C = z() / 12;
|
|
959
959
|
break;
|
|
960
960
|
case d:
|
|
961
|
-
|
|
961
|
+
C = z();
|
|
962
962
|
break;
|
|
963
963
|
case f:
|
|
964
|
-
|
|
964
|
+
C = z() / 3;
|
|
965
965
|
break;
|
|
966
966
|
case u:
|
|
967
|
-
|
|
967
|
+
C = (U - M) / 6048e5;
|
|
968
968
|
break;
|
|
969
969
|
case c:
|
|
970
|
-
|
|
970
|
+
C = (U - M) / 864e5;
|
|
971
971
|
break;
|
|
972
972
|
case l:
|
|
973
|
-
|
|
973
|
+
C = U / i;
|
|
974
974
|
break;
|
|
975
975
|
case a:
|
|
976
|
-
|
|
976
|
+
C = U / r;
|
|
977
977
|
break;
|
|
978
978
|
case s:
|
|
979
|
-
|
|
979
|
+
C = U / n;
|
|
980
980
|
break;
|
|
981
981
|
default:
|
|
982
|
-
|
|
982
|
+
C = U;
|
|
983
983
|
}
|
|
984
|
-
return B ?
|
|
984
|
+
return B ? C : N.a(C);
|
|
985
985
|
}, I.daysInMonth = function() {
|
|
986
986
|
return this.endOf(d).$D;
|
|
987
987
|
}, I.$locale = function() {
|
|
988
988
|
return b[this.$L];
|
|
989
989
|
}, I.locale = function(F, V) {
|
|
990
990
|
if (!F) return this.$L;
|
|
991
|
-
var B = this.clone(),
|
|
992
|
-
return
|
|
991
|
+
var B = this.clone(), C = S(F, V, !0);
|
|
992
|
+
return C && (B.$L = C), B;
|
|
993
993
|
}, I.clone = function() {
|
|
994
994
|
return N.w(this.$d, this);
|
|
995
995
|
}, I.toDate = function() {
|
|
@@ -1010,7 +1010,7 @@ function Ig() {
|
|
|
1010
1010
|
return H.$i || (H(I, R, P), H.$i = !0), P;
|
|
1011
1011
|
}, P.locale = S, P.isDayjs = D, P.unix = function(H) {
|
|
1012
1012
|
return P(1e3 * H);
|
|
1013
|
-
}, P.en = b[
|
|
1013
|
+
}, P.en = b[x], P.Ls = b, P.p = {}, P;
|
|
1014
1014
|
});
|
|
1015
1015
|
}(ms)), ms.exports;
|
|
1016
1016
|
}
|
|
@@ -1080,8 +1080,8 @@ function Bg() {
|
|
|
1080
1080
|
h === void 0 && (h = {});
|
|
1081
1081
|
var m = new Date(f), w = function(E, A) {
|
|
1082
1082
|
A === void 0 && (A = {});
|
|
1083
|
-
var O = A.timeZoneName || "short", $ = E + "|" + O,
|
|
1084
|
-
return
|
|
1083
|
+
var O = A.timeZoneName || "short", $ = E + "|" + O, x = r[$];
|
|
1084
|
+
return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: E, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: O }), r[$] = x), x;
|
|
1085
1085
|
}(p, h);
|
|
1086
1086
|
return w.formatToParts(m);
|
|
1087
1087
|
}, c = function(f, p) {
|
|
@@ -1089,7 +1089,7 @@ function Bg() {
|
|
|
1089
1089
|
var E = h[w], A = E.type, O = E.value, $ = n[A];
|
|
1090
1090
|
$ >= 0 && (m[$] = parseInt(O, 10));
|
|
1091
1091
|
}
|
|
1092
|
-
var
|
|
1092
|
+
var x = m[3], b = x === 24 ? 0 : x, T = m[0] + "-" + m[1] + "-" + m[2] + " " + b + ":" + m[4] + ":" + m[5] + ":000", D = +f;
|
|
1093
1093
|
return (s.utc(T).valueOf() - (D -= D % 1e3)) / 6e4;
|
|
1094
1094
|
}, u = o.prototype;
|
|
1095
1095
|
u.tz = function(f, p) {
|
|
@@ -1120,8 +1120,8 @@ function Bg() {
|
|
|
1120
1120
|
if (T === P) return [S, T];
|
|
1121
1121
|
var N = c(S -= 60 * (P - T) * 1e3, D);
|
|
1122
1122
|
return P === N ? [S, P] : [b - 60 * Math.min(P, N) * 1e3, Math.max(P, N)];
|
|
1123
|
-
}(s.utc(f, m).valueOf(), E, w), O = A[0], $ = A[1],
|
|
1124
|
-
return
|
|
1123
|
+
}(s.utc(f, m).valueOf(), E, w), O = A[0], $ = A[1], x = s(O).utcOffset($);
|
|
1124
|
+
return x.$x.$timezone = w, x;
|
|
1125
1125
|
}, s.tz.guess = function() {
|
|
1126
1126
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
1127
1127
|
}, s.tz.setDefault = function(f) {
|
|
@@ -1166,9 +1166,9 @@ function Wg() {
|
|
|
1166
1166
|
l.utcOffset = function(m, w) {
|
|
1167
1167
|
var E = this.$utils().u;
|
|
1168
1168
|
if (E(m)) return this.$u ? 0 : E(this.$offset) ? d.call(this) : this.$offset;
|
|
1169
|
-
if (typeof m == "string" && (m = function(
|
|
1170
|
-
|
|
1171
|
-
var b =
|
|
1169
|
+
if (typeof m == "string" && (m = function(x) {
|
|
1170
|
+
x === void 0 && (x = "");
|
|
1171
|
+
var b = x.match(r);
|
|
1172
1172
|
if (!b) return null;
|
|
1173
1173
|
var T = ("" + b[0]).match(i) || ["-", 0, 0], D = T[0], S = 60 * +T[1] + +T[2];
|
|
1174
1174
|
return S === 0 ? 0 : D === "+" ? S : -S;
|
|
@@ -1425,8 +1425,8 @@ function fh(e, t) {
|
|
|
1425
1425
|
n = !0, r = !0, i.isProcessing || e(m);
|
|
1426
1426
|
};
|
|
1427
1427
|
return { schedule: Qo.reduce((O, $) => {
|
|
1428
|
-
const
|
|
1429
|
-
return O[$] = (b, T = !1, D = !1) => (n || w(),
|
|
1428
|
+
const x = s[$];
|
|
1429
|
+
return O[$] = (b, T = !1, D = !1) => (n || w(), x.schedule(b, T, D)), O;
|
|
1430
1430
|
}, {}), cancel: (O) => {
|
|
1431
1431
|
for (let $ = 0; $ < Qo.length; $++)
|
|
1432
1432
|
s[Qo[$]].cancel(O);
|
|
@@ -1437,8 +1437,8 @@ let bs;
|
|
|
1437
1437
|
function s2() {
|
|
1438
1438
|
bs = void 0;
|
|
1439
1439
|
}
|
|
1440
|
-
const
|
|
1441
|
-
now: () => (bs === void 0 &&
|
|
1440
|
+
const $t = {
|
|
1441
|
+
now: () => (bs === void 0 && $t.set(gt.isProcessing || Ln.useManualTiming ? gt.timestamp : performance.now()), bs),
|
|
1442
1442
|
set: (e) => {
|
|
1443
1443
|
bs = e, queueMicrotask(s2);
|
|
1444
1444
|
}
|
|
@@ -1639,7 +1639,7 @@ const P2 = (e) => {
|
|
|
1639
1639
|
* If we're processing this frame we can use the
|
|
1640
1640
|
* framelocked timestamp to keep things in sync.
|
|
1641
1641
|
*/
|
|
1642
|
-
now: () => gt.isProcessing ? gt.timestamp :
|
|
1642
|
+
now: () => gt.isProcessing ? gt.timestamp : $t.now()
|
|
1643
1643
|
};
|
|
1644
1644
|
}, Ch = (e, t, n = 10) => {
|
|
1645
1645
|
let r = "";
|
|
@@ -1787,37 +1787,37 @@ function Ls(e = Ke.visualDuration, t = Ke.bounce) {
|
|
|
1787
1787
|
r || (r = A ? Ke.restSpeed.granular : Ke.restSpeed.default), i || (i = A ? Ke.restDelta.granular : Ke.restDelta.default);
|
|
1788
1788
|
let O;
|
|
1789
1789
|
if (m < 1) {
|
|
1790
|
-
const
|
|
1790
|
+
const x = bl(E, m);
|
|
1791
1791
|
O = (b) => {
|
|
1792
1792
|
const T = Math.exp(-m * E * b);
|
|
1793
|
-
return s - T * ((h + m * E * w) /
|
|
1793
|
+
return s - T * ((h + m * E * w) / x * Math.sin(x * b) + w * Math.cos(x * b));
|
|
1794
1794
|
};
|
|
1795
1795
|
} else if (m === 1)
|
|
1796
|
-
O = (
|
|
1796
|
+
O = (x) => s - Math.exp(-E * x) * (w + (h + E * w) * x);
|
|
1797
1797
|
else {
|
|
1798
|
-
const
|
|
1798
|
+
const x = E * Math.sqrt(m * m - 1);
|
|
1799
1799
|
O = (b) => {
|
|
1800
|
-
const T = Math.exp(-m * E * b), D = Math.min(
|
|
1801
|
-
return s - T * ((h + m * E * w) * Math.sinh(D) +
|
|
1800
|
+
const T = Math.exp(-m * E * b), D = Math.min(x * b, 300);
|
|
1801
|
+
return s - T * ((h + m * E * w) * Math.sinh(D) + x * w * Math.cosh(D)) / x;
|
|
1802
1802
|
};
|
|
1803
1803
|
}
|
|
1804
1804
|
const $ = {
|
|
1805
1805
|
calculatedDuration: p && d || null,
|
|
1806
|
-
next: (
|
|
1807
|
-
const b = O(
|
|
1806
|
+
next: (x) => {
|
|
1807
|
+
const b = O(x);
|
|
1808
1808
|
if (p)
|
|
1809
|
-
a.done =
|
|
1809
|
+
a.done = x >= d;
|
|
1810
1810
|
else {
|
|
1811
|
-
let T =
|
|
1812
|
-
m < 1 && (T =
|
|
1811
|
+
let T = x === 0 ? h : 0;
|
|
1812
|
+
m < 1 && (T = x === 0 ? /* @__PURE__ */ tn(h) : wh(O, x, b));
|
|
1813
1813
|
const D = Math.abs(T) <= r, S = Math.abs(s - b) <= i;
|
|
1814
1814
|
a.done = D && S;
|
|
1815
1815
|
}
|
|
1816
1816
|
return a.value = a.done ? s : b, a;
|
|
1817
1817
|
},
|
|
1818
1818
|
toString: () => {
|
|
1819
|
-
const
|
|
1820
|
-
return
|
|
1819
|
+
const x = Math.min(Oc($), Ds), b = Ch((T) => $.next(x * T).value, x, 30);
|
|
1820
|
+
return x + "ms " + b;
|
|
1821
1821
|
},
|
|
1822
1822
|
toTransition: () => {
|
|
1823
1823
|
}
|
|
@@ -1840,9 +1840,9 @@ function xl({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
1840
1840
|
const S = A(D), P = O(D);
|
|
1841
1841
|
f.done = Math.abs(S) <= c, f.value = f.done ? E : P;
|
|
1842
1842
|
};
|
|
1843
|
-
let
|
|
1843
|
+
let x, b;
|
|
1844
1844
|
const T = (D) => {
|
|
1845
|
-
p(f.value) && (
|
|
1845
|
+
p(f.value) && (x = D, b = Ls({
|
|
1846
1846
|
keyframes: [f.value, h(f.value)],
|
|
1847
1847
|
velocity: wh(O, D, f.value),
|
|
1848
1848
|
// TODO: This should be passing * 1000
|
|
@@ -1856,7 +1856,7 @@ function xl({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
1856
1856
|
calculatedDuration: null,
|
|
1857
1857
|
next: (D) => {
|
|
1858
1858
|
let S = !1;
|
|
1859
|
-
return !b &&
|
|
1859
|
+
return !b && x === void 0 && (S = !0, $(D), T(D)), x !== void 0 && D >= x ? b.next(D - x) : (!S && $(D), f);
|
|
1860
1860
|
}
|
|
1861
1861
|
};
|
|
1862
1862
|
}
|
|
@@ -1970,7 +1970,7 @@ class Pc extends Ac {
|
|
|
1970
1970
|
constructor(t) {
|
|
1971
1971
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
1972
1972
|
const { motionValue: n } = this.options;
|
|
1973
|
-
n && n.updatedAt !==
|
|
1973
|
+
n && n.updatedAt !== $t.now() && this.tick($t.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
|
|
1974
1974
|
}, this.options = t, this.initAnimation(), this.play(), t.autoplay === !1 && this.pause();
|
|
1975
1975
|
}
|
|
1976
1976
|
initAnimation() {
|
|
@@ -2007,12 +2007,12 @@ class Pc extends Ac {
|
|
|
2007
2007
|
let S = Math.floor(D), P = D % 1;
|
|
2008
2008
|
!P && D >= 1 && (P = 1), P === 1 && S--, S = Math.min(S, d + 1), !!(S % 2) && (f === "reverse" ? (P = 1 - P, p && (P -= p / a)) : f === "mirror" && ($ = s)), O = Nn(0, 1, P) * a;
|
|
2009
2009
|
}
|
|
2010
|
-
const
|
|
2011
|
-
o && (
|
|
2012
|
-
let { done: b } =
|
|
2010
|
+
const x = A ? { done: !1, value: u[0] } : $.next(O);
|
|
2011
|
+
o && (x.value = o(x.value));
|
|
2012
|
+
let { done: b } = x;
|
|
2013
2013
|
!A && l !== null && (b = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
|
|
2014
2014
|
const T = this.holdTime === null && (this.state === "finished" || this.state === "running" && b);
|
|
2015
|
-
return T && h !== xl && (
|
|
2015
|
+
return T && h !== xl && (x.value = Tc(u, this.options, w, this.speed)), m && m(x.value), T && this.finish(), x;
|
|
2016
2016
|
}
|
|
2017
2017
|
/**
|
|
2018
2018
|
* Allows the returned animation to be awaited or promise-chained. Currently
|
|
@@ -2035,7 +2035,7 @@ class Pc extends Ac {
|
|
|
2035
2035
|
return this.playbackSpeed;
|
|
2036
2036
|
}
|
|
2037
2037
|
set speed(t) {
|
|
2038
|
-
this.updateTime(
|
|
2038
|
+
this.updateTime($t.now());
|
|
2039
2039
|
const n = this.playbackSpeed !== t;
|
|
2040
2040
|
this.playbackSpeed = t, n && (this.time = /* @__PURE__ */ gn(this.currentTime));
|
|
2041
2041
|
}
|
|
@@ -2048,7 +2048,7 @@ class Pc extends Ac {
|
|
|
2048
2048
|
this.state === "finished" ? (this.updateFinished(), this.startTime = r) : this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime || (this.startTime = n ?? r), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
2049
2049
|
}
|
|
2050
2050
|
pause() {
|
|
2051
|
-
this.state = "paused", this.updateTime(
|
|
2051
|
+
this.state = "paused", this.updateTime($t.now()), this.holdTime = this.currentTime;
|
|
2052
2052
|
}
|
|
2053
2053
|
complete() {
|
|
2054
2054
|
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
|
|
@@ -2468,7 +2468,7 @@ class x3 extends Ac {
|
|
|
2468
2468
|
constructor({ autoplay: t = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: o = 0, repeatType: s = "loop", keyframes: a, name: l, motionValue: c, element: u, ...d }) {
|
|
2469
2469
|
super(), this.stop = () => {
|
|
2470
2470
|
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
2471
|
-
}, this.createdAt =
|
|
2471
|
+
}, this.createdAt = $t.now();
|
|
2472
2472
|
const f = {
|
|
2473
2473
|
autoplay: t,
|
|
2474
2474
|
delay: n,
|
|
@@ -2486,7 +2486,7 @@ class x3 extends Ac {
|
|
|
2486
2486
|
onKeyframesResolved(t, n, r, i) {
|
|
2487
2487
|
this.keyframeResolver = void 0;
|
|
2488
2488
|
const { name: o, type: s, velocity: a, delay: l, isHandoff: c, onUpdate: u } = r;
|
|
2489
|
-
this.resolvedAt =
|
|
2489
|
+
this.resolvedAt = $t.now(), m3(t, o, s, a) || ((Ln.instantAnimations || !l) && u?.(Tc(t, r, n)), t[0] = t[t.length - 1], r.duration = 0, r.repeat = 0);
|
|
2490
2490
|
const f = {
|
|
2491
2491
|
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > b3 ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
2492
2492
|
finalKeyframe: n,
|
|
@@ -2784,7 +2784,7 @@ class M3 {
|
|
|
2784
2784
|
*/
|
|
2785
2785
|
constructor(t, n = {}) {
|
|
2786
2786
|
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (r, i = !0) => {
|
|
2787
|
-
const o =
|
|
2787
|
+
const o = $t.now();
|
|
2788
2788
|
if (this.updatedAt !== o && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(r), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents))
|
|
2789
2789
|
for (const s of this.dependents)
|
|
2790
2790
|
s.dirty();
|
|
@@ -2792,7 +2792,7 @@ class M3 {
|
|
|
2792
2792
|
}, this.hasAnimated = !1, this.setCurrent(t), this.owner = n.owner;
|
|
2793
2793
|
}
|
|
2794
2794
|
setCurrent(t) {
|
|
2795
|
-
this.current = t, this.updatedAt =
|
|
2795
|
+
this.current = t, this.updatedAt = $t.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = V3(this.current));
|
|
2796
2796
|
}
|
|
2797
2797
|
setPrevFrameValue(t = this.current) {
|
|
2798
2798
|
this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -2920,7 +2920,7 @@ class M3 {
|
|
|
2920
2920
|
* @public
|
|
2921
2921
|
*/
|
|
2922
2922
|
getVelocity() {
|
|
2923
|
-
const t =
|
|
2923
|
+
const t = $t.now();
|
|
2924
2924
|
if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > td)
|
|
2925
2925
|
return 0;
|
|
2926
2926
|
const n = Math.min(this.updatedAt - this.prevUpdatedAt, td);
|
|
@@ -3197,7 +3197,7 @@ const q3 = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presen
|
|
|
3197
3197
|
return o === "wait" && $.length && (b = $), O(od(b)), E(d), null;
|
|
3198
3198
|
}
|
|
3199
3199
|
process.env.NODE_ENV !== "production" && o === "wait" && A.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
3200
|
-
const { forceRender:
|
|
3200
|
+
const { forceRender: x } = at(fc);
|
|
3201
3201
|
return ee.jsx(ee.Fragment, { children: A.map((b) => {
|
|
3202
3202
|
const T = ts(b), D = s && !c ? !1 : d === A || f.includes(T), S = () => {
|
|
3203
3203
|
if (m.has(T))
|
|
@@ -3207,7 +3207,7 @@ const q3 = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presen
|
|
|
3207
3207
|
let P = !0;
|
|
3208
3208
|
m.forEach((N) => {
|
|
3209
3209
|
N || (P = !1);
|
|
3210
|
-
}), P && (
|
|
3210
|
+
}), P && (x?.(), O(h.current), s && u?.(), r && r());
|
|
3211
3211
|
};
|
|
3212
3212
|
return ee.jsx(Z3, { isPresent: D, initial: !p.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: o, root: l, onExitComplete: D ? void 0 : S, anchorX: a, children: b }, T);
|
|
3213
3213
|
}) });
|
|
@@ -3866,7 +3866,7 @@ class Mv {
|
|
|
3866
3866
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Nc, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
3867
3867
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
3868
3868
|
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
|
|
3869
|
-
const f =
|
|
3869
|
+
const f = $t.now();
|
|
3870
3870
|
this.renderScheduledAt < f && (this.renderScheduledAt = f, ze.render(this.render, !1, !0));
|
|
3871
3871
|
};
|
|
3872
3872
|
const { latestValues: l, renderState: c } = s;
|
|
@@ -4384,11 +4384,11 @@ function ly(e) {
|
|
|
4384
4384
|
const { props: c } = e, u = pm(e.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
|
|
4385
4385
|
let p = {}, h = 1 / 0;
|
|
4386
4386
|
for (let w = 0; w < sy; w++) {
|
|
4387
|
-
const E = oy[w], A = n[E], O = c[E] !== void 0 ? c[E] : u[E], $ = lo(O),
|
|
4388
|
-
|
|
4387
|
+
const E = oy[w], A = n[E], O = c[E] !== void 0 ? c[E] : u[E], $ = lo(O), x = E === l ? A.isActive : null;
|
|
4388
|
+
x === !1 && (h = w);
|
|
4389
4389
|
let b = O === u[E] && O !== c[E] && $;
|
|
4390
4390
|
if (b && r && e.manuallyAnimateOnMount && (b = !1), A.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
|
|
4391
|
-
!A.isActive &&
|
|
4391
|
+
!A.isActive && x === null || // If we didn't and don't have any defined prop for this animation type
|
|
4392
4392
|
!O && !A.prevProp || // Or if the prop doesn't define an animation
|
|
4393
4393
|
na(O) || typeof O == "boolean")
|
|
4394
4394
|
continue;
|
|
@@ -4398,7 +4398,7 @@ function ly(e) {
|
|
|
4398
4398
|
w > h && $, S = !1;
|
|
4399
4399
|
const P = Array.isArray(O) ? O : [O];
|
|
4400
4400
|
let N = P.reduce(i(E), {});
|
|
4401
|
-
|
|
4401
|
+
x === !1 && (N = {});
|
|
4402
4402
|
const { prevResolvedValues: R = {} } = A, j = {
|
|
4403
4403
|
...R,
|
|
4404
4404
|
...N
|
|
@@ -4408,11 +4408,11 @@ function ly(e) {
|
|
|
4408
4408
|
B && (B.liveStyle = !1);
|
|
4409
4409
|
};
|
|
4410
4410
|
for (const V in j) {
|
|
4411
|
-
const B = N[V],
|
|
4411
|
+
const B = N[V], C = R[V];
|
|
4412
4412
|
if (p.hasOwnProperty(V))
|
|
4413
4413
|
continue;
|
|
4414
4414
|
let L = !1;
|
|
4415
|
-
Dl(B) && Dl(
|
|
4415
|
+
Dl(B) && Dl(C) ? L = !fm(B, C) : L = B !== C, L ? B != null ? H(V) : f.add(V) : B !== void 0 && f.has(V) ? H(V) : A.protectedKeys[V] = !0;
|
|
4416
4416
|
}
|
|
4417
4417
|
A.prevProp = O, A.prevResolvedValues = N, A.isActive && (p = { ...p, ...N }), r && e.blockInitialAnimation && (D = !1), D && (!(b && T) || S) && d.push(...P.map((V) => ({
|
|
4418
4418
|
animation: V,
|
|
@@ -4579,7 +4579,7 @@ function xd(e, t, n) {
|
|
|
4579
4579
|
function Hi(e, t, n) {
|
|
4580
4580
|
xd(e.x, t.x, n.x), xd(e.y, t.y, n.y);
|
|
4581
4581
|
}
|
|
4582
|
-
function
|
|
4582
|
+
function Wt(e) {
|
|
4583
4583
|
return [e("x"), e("y")];
|
|
4584
4584
|
}
|
|
4585
4585
|
const gm = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Cd = (e, t) => Math.abs(e - t);
|
|
@@ -4727,7 +4727,7 @@ class Ny {
|
|
|
4727
4727
|
const { drag: p, dragPropagation: h, onDragStart: m } = this.getProps();
|
|
4728
4728
|
if (p && !h && (this.openDragLock && this.openDragLock(), this.openDragLock = $3(p), !this.openDragLock))
|
|
4729
4729
|
return;
|
|
4730
|
-
this.latestPointerEvent = d, this.latestPanInfo = f, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0),
|
|
4730
|
+
this.latestPointerEvent = d, this.latestPanInfo = f, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), Wt((E) => {
|
|
4731
4731
|
let A = this.getAxisMotionValue(E).get() || 0;
|
|
4732
4732
|
if (vn.test(A)) {
|
|
4733
4733
|
const { projection: O } = this.visualElement;
|
|
@@ -4753,7 +4753,7 @@ class Ny {
|
|
|
4753
4753
|
this.updateAxis("x", f.point, E), this.updateAxis("y", f.point, E), this.visualElement.render(), w && w(d, f);
|
|
4754
4754
|
}, l = (d, f) => {
|
|
4755
4755
|
this.latestPointerEvent = d, this.latestPanInfo = f, this.stop(d, f), this.latestPointerEvent = null, this.latestPanInfo = null;
|
|
4756
|
-
}, c = () =>
|
|
4756
|
+
}, c = () => Wt((d) => this.getAnimationState(d) === "paused" && this.getAxisMotionValue(d).animation?.play()), { dragSnapToOrigin: u } = this.getProps();
|
|
4757
4757
|
this.panSession = new vm(t, {
|
|
4758
4758
|
onSessionStart: o,
|
|
4759
4759
|
onStart: s,
|
|
@@ -4799,7 +4799,7 @@ class Ny {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
resolveConstraints() {
|
|
4801
4801
|
const { dragConstraints: t, dragElastic: n } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, i = this.constraints;
|
|
4802
|
-
t && zr(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints = Sy(r.layoutBox, t) : this.constraints = !1, this.elastic = Ay(n), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints &&
|
|
4802
|
+
t && zr(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints = Sy(r.layoutBox, t) : this.constraints = !1, this.elastic = Ay(n), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && Wt((o) => {
|
|
4803
4803
|
this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = Ty(r.layoutBox[o], this.constraints[o]));
|
|
4804
4804
|
});
|
|
4805
4805
|
}
|
|
@@ -4821,7 +4821,7 @@ class Ny {
|
|
|
4821
4821
|
return s;
|
|
4822
4822
|
}
|
|
4823
4823
|
startAnimation(t) {
|
|
4824
|
-
const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: o, dragSnapToOrigin: s, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c =
|
|
4824
|
+
const { drag: n, dragMomentum: r, dragElastic: i, dragTransition: o, dragSnapToOrigin: s, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = Wt((u) => {
|
|
4825
4825
|
if (!ns(u, n, this.currentDirection))
|
|
4826
4826
|
return;
|
|
4827
4827
|
let d = l && l[u] || {};
|
|
@@ -4846,10 +4846,10 @@ class Ny {
|
|
|
4846
4846
|
return Ll(this.visualElement, t), r.start(Wc(t, r, 0, n, this.visualElement, !1));
|
|
4847
4847
|
}
|
|
4848
4848
|
stopAnimation() {
|
|
4849
|
-
|
|
4849
|
+
Wt((t) => this.getAxisMotionValue(t).stop());
|
|
4850
4850
|
}
|
|
4851
4851
|
pauseAnimation() {
|
|
4852
|
-
|
|
4852
|
+
Wt((t) => this.getAxisMotionValue(t).animation?.pause());
|
|
4853
4853
|
}
|
|
4854
4854
|
getAnimationState(t) {
|
|
4855
4855
|
return this.getAxisMotionValue(t).animation?.state;
|
|
@@ -4865,7 +4865,7 @@ class Ny {
|
|
|
4865
4865
|
return i || this.visualElement.getValue(t, (r.initial ? r.initial[t] : void 0) || 0);
|
|
4866
4866
|
}
|
|
4867
4867
|
snapToCursor(t) {
|
|
4868
|
-
|
|
4868
|
+
Wt((n) => {
|
|
4869
4869
|
const { drag: r } = this.getProps();
|
|
4870
4870
|
if (!ns(n, r, this.currentDirection))
|
|
4871
4871
|
return;
|
|
@@ -4889,7 +4889,7 @@ class Ny {
|
|
|
4889
4889
|
return;
|
|
4890
4890
|
this.stopAnimation();
|
|
4891
4891
|
const i = { x: 0, y: 0 };
|
|
4892
|
-
|
|
4892
|
+
Wt((s) => {
|
|
4893
4893
|
const a = this.getAxisMotionValue(s);
|
|
4894
4894
|
if (a && this.constraints !== !1) {
|
|
4895
4895
|
const l = a.get();
|
|
@@ -4897,7 +4897,7 @@ class Ny {
|
|
|
4897
4897
|
}
|
|
4898
4898
|
});
|
|
4899
4899
|
const { transformTemplate: o } = this.visualElement.getProps();
|
|
4900
|
-
this.visualElement.current.style.transform = o ? o({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(),
|
|
4900
|
+
this.visualElement.current.style.transform = o ? o({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.resolveConstraints(), Wt((s) => {
|
|
4901
4901
|
if (!ns(s, t, null))
|
|
4902
4902
|
return;
|
|
4903
4903
|
const a = this.getAxisMotionValue(s), { min: l, max: c } = this.constraints[s];
|
|
@@ -4917,7 +4917,7 @@ class Ny {
|
|
|
4917
4917
|
}, { projection: i } = this.visualElement, o = i.addEventListener("measure", r);
|
|
4918
4918
|
i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), ze.read(r);
|
|
4919
4919
|
const s = fo(window, "resize", () => this.scalePositionWithinConstraints()), a = i.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
|
|
4920
|
-
this.isDragging && c && (
|
|
4920
|
+
this.isDragging && c && (Wt((u) => {
|
|
4921
4921
|
const d = this.getAxisMotionValue(u);
|
|
4922
4922
|
d && (this.originPoint[u] += l[u].translate, d.set(d.get() + l[u].translate));
|
|
4923
4923
|
}), this.visualElement.render());
|
|
@@ -5111,7 +5111,7 @@ class Ry {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
}
|
|
5113
5113
|
function By(e, t) {
|
|
5114
|
-
const n =
|
|
5114
|
+
const n = $t.now(), r = ({ timestamp: i }) => {
|
|
5115
5115
|
const o = i - n;
|
|
5116
5116
|
o >= t && (Jn(r), e(o - t));
|
|
5117
5117
|
};
|
|
@@ -5139,7 +5139,7 @@ function Cm(e, t, n) {
|
|
|
5139
5139
|
function Ld(e, t) {
|
|
5140
5140
|
e.min = t.min, e.max = t.max;
|
|
5141
5141
|
}
|
|
5142
|
-
function
|
|
5142
|
+
function Ht(e, t) {
|
|
5143
5143
|
Ld(e.x, t.x), Ld(e.y, t.y);
|
|
5144
5144
|
}
|
|
5145
5145
|
function Id(e, t) {
|
|
@@ -5382,7 +5382,7 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5382
5382
|
return;
|
|
5383
5383
|
}
|
|
5384
5384
|
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(o5), this.nodes.forEach(e5), this.nodes.forEach(t5)) : this.nodes.forEach(zd), this.clearAllSnapshots();
|
|
5385
|
-
const a =
|
|
5385
|
+
const a = $t.now();
|
|
5386
5386
|
gt.delta = Nn(0, 1e3 / 60, a - gt.timestamp), gt.timestamp = a, gt.isProcessing = !0, Oa.update.process(gt), Oa.preRender.process(gt), Oa.render.process(gt), gt.isProcessing = !1;
|
|
5387
5387
|
}
|
|
5388
5388
|
didUpdate() {
|
|
@@ -5459,17 +5459,17 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5459
5459
|
}
|
|
5460
5460
|
removeElementScroll(s) {
|
|
5461
5461
|
const a = et();
|
|
5462
|
-
if (
|
|
5462
|
+
if (Ht(a, s), this.scroll?.wasRoot)
|
|
5463
5463
|
return a;
|
|
5464
5464
|
for (let l = 0; l < this.path.length; l++) {
|
|
5465
5465
|
const c = this.path[l], { scroll: u, options: d } = c;
|
|
5466
|
-
c !== this.root && u && d.layoutScroll && (u.wasRoot &&
|
|
5466
|
+
c !== this.root && u && d.layoutScroll && (u.wasRoot && Ht(a, s), Wr(a.x, u.offset.x), Wr(a.y, u.offset.y));
|
|
5467
5467
|
}
|
|
5468
5468
|
return a;
|
|
5469
5469
|
}
|
|
5470
5470
|
applyTransform(s, a = !1) {
|
|
5471
5471
|
const l = et();
|
|
5472
|
-
|
|
5472
|
+
Ht(l, s);
|
|
5473
5473
|
for (let c = 0; c < this.path.length; c++) {
|
|
5474
5474
|
const u = this.path[c];
|
|
5475
5475
|
!a && u.options.layoutScroll && u.scroll && u !== u.root && Gr(l, {
|
|
@@ -5481,14 +5481,14 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5481
5481
|
}
|
|
5482
5482
|
removeTransform(s) {
|
|
5483
5483
|
const a = et();
|
|
5484
|
-
|
|
5484
|
+
Ht(a, s);
|
|
5485
5485
|
for (let l = 0; l < this.path.length; l++) {
|
|
5486
5486
|
const c = this.path[l];
|
|
5487
5487
|
if (!c.instance || !ar(c.latestValues))
|
|
5488
5488
|
continue;
|
|
5489
5489
|
Al(c.latestValues) && c.updateSnapshot();
|
|
5490
5490
|
const u = et(), d = c.measurePageBox();
|
|
5491
|
-
|
|
5491
|
+
Ht(u, d), $d(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
|
|
5492
5492
|
}
|
|
5493
5493
|
return ar(this.latestValues) && $d(a, this.latestValues), a;
|
|
5494
5494
|
}
|
|
@@ -5518,12 +5518,12 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5518
5518
|
if (!(!this.layout || !(u || d))) {
|
|
5519
5519
|
if (this.resolvedRelativeTargetAt = gt.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
5520
5520
|
const f = this.getClosestProjectingParent();
|
|
5521
|
-
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = et(), this.relativeTargetOrigin = et(), Hi(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox),
|
|
5521
|
+
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = et(), this.relativeTargetOrigin = et(), Hi(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox), Ht(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
5522
5522
|
}
|
|
5523
|
-
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = et(), this.targetWithTransforms = et()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), xy(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) :
|
|
5523
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = et(), this.targetWithTransforms = et()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), xy(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Ht(this.target, this.layout.layoutBox), im(this.target, this.targetDelta)) : Ht(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
5524
5524
|
this.attemptToResolveRelativeTarget = !1;
|
|
5525
5525
|
const f = this.getClosestProjectingParent();
|
|
5526
|
-
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = et(), this.relativeTargetOrigin = et(), Hi(this.relativeTargetOrigin, this.target, f.target),
|
|
5526
|
+
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = et(), this.relativeTargetOrigin = et(), Hi(this.relativeTargetOrigin, this.target, f.target), Ht(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
5527
5527
|
}
|
|
5528
5528
|
}
|
|
5529
5529
|
}
|
|
@@ -5542,7 +5542,7 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5542
5542
|
const { layout: c, layoutId: u } = this.options;
|
|
5543
5543
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u))
|
|
5544
5544
|
return;
|
|
5545
|
-
|
|
5545
|
+
Ht(this.layoutCorrected, this.layout.layoutBox);
|
|
5546
5546
|
const d = this.treeScale.x, f = this.treeScale.y;
|
|
5547
5547
|
Nv(this.layoutCorrected, this.treeScale, this.path, a), s.layout && !s.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (s.target = s.layout.layoutBox, s.targetWithTransforms = et());
|
|
5548
5548
|
const { target: p } = s;
|
|
@@ -5575,8 +5575,8 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5575
5575
|
this.animationProgress = 0;
|
|
5576
5576
|
let O;
|
|
5577
5577
|
this.mixTargetDelta = ($) => {
|
|
5578
|
-
const
|
|
5579
|
-
Gd(d.x, s.x,
|
|
5578
|
+
const x = $ / 1e3;
|
|
5579
|
+
Gd(d.x, s.x, x), Gd(d.y, s.y, x), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Hi(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), u5(this.relativeTarget, this.relativeTargetOrigin, f, x), O && Yy(this.relativeTarget, O) && (this.isProjectionDirty = !1), O || (O = et()), Ht(O, this.relativeTarget)), m && (this.animationValues = u, Hy(u, c, this.latestValues, x, A, E)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = x;
|
|
5580
5580
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
5581
5581
|
}
|
|
5582
5582
|
startAnimation(s) {
|
|
@@ -5615,7 +5615,7 @@ function Sm({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
5615
5615
|
const f = Nt(this.layout.layoutBox.y);
|
|
5616
5616
|
l.y.min = s.target.y.min, l.y.max = l.y.min + f;
|
|
5617
5617
|
}
|
|
5618
|
-
|
|
5618
|
+
Ht(a, l), Gr(a, u), Ui(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
|
|
5619
5619
|
}
|
|
5620
5620
|
}
|
|
5621
5621
|
registerSharedNode(s, a) {
|
|
@@ -5721,10 +5721,10 @@ function t5(e) {
|
|
|
5721
5721
|
const t = e.resumeFrom?.snapshot || e.snapshot;
|
|
5722
5722
|
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
|
|
5723
5723
|
const { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, o = t.source !== e.layout.source;
|
|
5724
|
-
i === "size" ?
|
|
5724
|
+
i === "size" ? Wt((u) => {
|
|
5725
5725
|
const d = o ? t.measuredBox[u] : t.layoutBox[u], f = Nt(d);
|
|
5726
5726
|
d.min = n[u].min, d.max = d.min + f;
|
|
5727
|
-
}) : km(i, t.layoutBox, n) &&
|
|
5727
|
+
}) : km(i, t.layoutBox, n) && Wt((u) => {
|
|
5728
5728
|
const d = o ? t.measuredBox[u] : t.layoutBox[u], f = Nt(n[u]);
|
|
5729
5729
|
d.max = d.min + f, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[u].max = e.relativeTarget[u].min + f);
|
|
5730
5730
|
});
|
|
@@ -6024,7 +6024,7 @@ const O5 = {
|
|
|
6024
6024
|
}
|
|
6025
6025
|
) : null, P5 = 150, N5 = P5 / 1e3, $o = {
|
|
6026
6026
|
duration: N5
|
|
6027
|
-
},
|
|
6027
|
+
}, uE = {
|
|
6028
6028
|
transition: $o,
|
|
6029
6029
|
variants: {
|
|
6030
6030
|
enter: {
|
|
@@ -6052,7 +6052,7 @@ const O5 = {
|
|
|
6052
6052
|
initial: "exit",
|
|
6053
6053
|
animate: "enter",
|
|
6054
6054
|
exit: "exit"
|
|
6055
|
-
},
|
|
6055
|
+
}, dE = {
|
|
6056
6056
|
transition: $o,
|
|
6057
6057
|
variants: {
|
|
6058
6058
|
enter: {
|
|
@@ -6067,7 +6067,7 @@ const O5 = {
|
|
|
6067
6067
|
initial: "exit",
|
|
6068
6068
|
animate: "enter",
|
|
6069
6069
|
exit: "exit"
|
|
6070
|
-
},
|
|
6070
|
+
}, fE = {
|
|
6071
6071
|
transition: $o,
|
|
6072
6072
|
variants: {
|
|
6073
6073
|
enter: {
|
|
@@ -6082,7 +6082,7 @@ const O5 = {
|
|
|
6082
6082
|
initial: "exit",
|
|
6083
6083
|
animate: "enter",
|
|
6084
6084
|
exit: "exit"
|
|
6085
|
-
},
|
|
6085
|
+
}, pE = {
|
|
6086
6086
|
transition: $o,
|
|
6087
6087
|
variants: {
|
|
6088
6088
|
enter: {
|
|
@@ -6215,7 +6215,7 @@ L5.displayName = "LabsCheckbox";
|
|
|
6215
6215
|
const I5 = (e, t, n, r = !1) => {
|
|
6216
6216
|
const i = isNaN(Number(e)) ? 0 : Number(e);
|
|
6217
6217
|
return r ? `${i} ${i === 1 ? t : n}` : i === 1 ? t : n;
|
|
6218
|
-
},
|
|
6218
|
+
}, hE = ({
|
|
6219
6219
|
count: e,
|
|
6220
6220
|
plural: t,
|
|
6221
6221
|
singular: n,
|
|
@@ -6296,7 +6296,7 @@ const I5 = (e, t, n, r = !1) => {
|
|
|
6296
6296
|
)
|
|
6297
6297
|
]
|
|
6298
6298
|
}
|
|
6299
|
-
),
|
|
6299
|
+
), mE = (e) => {
|
|
6300
6300
|
const {
|
|
6301
6301
|
id: t,
|
|
6302
6302
|
containerId: n = `${t}-container`,
|
|
@@ -6343,7 +6343,7 @@ const I5 = (e, t, n, r = !1) => {
|
|
|
6343
6343
|
)
|
|
6344
6344
|
}
|
|
6345
6345
|
);
|
|
6346
|
-
},
|
|
6346
|
+
}, gE = ({
|
|
6347
6347
|
text: e,
|
|
6348
6348
|
className: t,
|
|
6349
6349
|
icon: n,
|
|
@@ -6675,15 +6675,15 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6675
6675
|
}, onActive: u = () => {
|
|
6676
6676
|
}, onAction: d = () => {
|
|
6677
6677
|
}, onMessage: f = () => {
|
|
6678
|
-
}, debounce: p = 0, throttle: h = 0, eventsThrottle: m = 200, startOnMount: w = !0, startManually: E = !1, stopOnIdle: A = !1, crossTab: O = !1, name: $ = "idle-timer", syncTimers:
|
|
6679
|
-
let D = ke(ot()), S = ke(ot()), P = ke(null), N = ke(null), R = ke(0), j = ke(0), H = ke(0), I = ke(0), F = ke(!1), V = ke(!1), B = ke(!1),
|
|
6678
|
+
}, debounce: p = 0, throttle: h = 0, eventsThrottle: m = 200, startOnMount: w = !0, startManually: E = !1, stopOnIdle: A = !1, crossTab: O = !1, name: $ = "idle-timer", syncTimers: x = 0, leaderElection: b = !1, disabled: T = !1 } = {}) {
|
|
6679
|
+
let D = ke(ot()), S = ke(ot()), P = ke(null), N = ke(null), R = ke(0), j = ke(0), H = ke(0), I = ke(0), F = ke(!1), V = ke(!1), B = ke(!1), C = ke(!0), L = ke(!1), g = ke(null), y = ke(null), M = ke(e), U = ke(0);
|
|
6680
6680
|
Qe(() => {
|
|
6681
6681
|
if (t && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), n && t) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
6682
6682
|
if (e >= $r) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${$r}.`);
|
|
6683
6683
|
if (t >= $r) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${$r}.`);
|
|
6684
6684
|
if (n >= $r) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${$r}.`);
|
|
6685
6685
|
if (n >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
6686
|
-
if (n ? (M.current = e - n, U.current = n) : (M.current = e, U.current = t), !
|
|
6686
|
+
if (n ? (M.current = e - n, U.current = n) : (M.current = e, U.current = t), !C.current) {
|
|
6687
6687
|
if (E || T) return;
|
|
6688
6688
|
F.current && (_.current(null, bt), y.current && y.current.active()), Se();
|
|
6689
6689
|
}
|
|
@@ -6694,7 +6694,7 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6694
6694
|
}, [A]);
|
|
6695
6695
|
let Z = ke(s), G = ke(r), K = ke([...(/* @__PURE__ */ new Set([...i, ...s])).values()]), X = ke(T);
|
|
6696
6696
|
Qe(() => {
|
|
6697
|
-
X.current = T, !
|
|
6697
|
+
X.current = T, !C.current && (T ? mt() : E || Se());
|
|
6698
6698
|
}, [T]);
|
|
6699
6699
|
let re = ke(a);
|
|
6700
6700
|
Qe(() => {
|
|
@@ -6725,10 +6725,10 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6725
6725
|
return p > 0 ? Q5(le, p) : h > 0 ? Ba(le, h) : le;
|
|
6726
6726
|
}, [h, p]), J = ke();
|
|
6727
6727
|
Qe(() => {
|
|
6728
|
-
O &&
|
|
6728
|
+
O && x && (J.current = Ba(() => {
|
|
6729
6729
|
y.current.active();
|
|
6730
|
-
},
|
|
6731
|
-
}, [O,
|
|
6730
|
+
}, x));
|
|
6731
|
+
}, [O, x]);
|
|
6732
6732
|
let oe = () => {
|
|
6733
6733
|
g.current !== null && (Xt.clearTimeout(g.current), g.current = null);
|
|
6734
6734
|
}, ne = (le, xt = !0) => {
|
|
@@ -6762,12 +6762,12 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6762
6762
|
ae(le);
|
|
6763
6763
|
return;
|
|
6764
6764
|
}
|
|
6765
|
-
B.current = !1, I.current = 0, H.current = 0, ne(), O &&
|
|
6765
|
+
B.current = !1, I.current = 0, H.current = 0, ne(), O && x && J.current();
|
|
6766
6766
|
}, ge = ke(pe);
|
|
6767
6767
|
Qe(() => {
|
|
6768
6768
|
let le = L.current;
|
|
6769
6769
|
le && Ne(), m > 0 ? ge.current = Ba(pe, m) : ge.current = pe, le && Ce();
|
|
6770
|
-
}, [m, h, p, W, O,
|
|
6770
|
+
}, [m, h, p, W, O, x]);
|
|
6771
6771
|
let Ce = () => {
|
|
6772
6772
|
Tn && G.current && (L.current || (K.current.forEach((le) => {
|
|
6773
6773
|
G.current.addEventListener(le, ge.current, { capture: !0, passive: !0 });
|
|
@@ -6807,16 +6807,16 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6807
6807
|
q.current(le, bt);
|
|
6808
6808
|
}, start: Se, reset: Je, activate: rt, pause: mt, resume: yt }) : y.current = null;
|
|
6809
6809
|
}, [O, $, b, de, v, _, q, Se, Je, mt, yt]), Qe(() => {
|
|
6810
|
-
|
|
6811
|
-
}, [E, w, T,
|
|
6812
|
-
if (!
|
|
6810
|
+
C.current || (oe(), Ne(!0)), !(E || T) && (w ? Se() : Ce());
|
|
6811
|
+
}, [E, w, T, C]), Qe(() => {
|
|
6812
|
+
if (!C.current) {
|
|
6813
6813
|
let le = [...(/* @__PURE__ */ new Set([...i, ...s])).values()];
|
|
6814
6814
|
if (Ne(), K.current = le, G.current = r, Z.current = s, E || T) return;
|
|
6815
6815
|
w ? Se() : Ce();
|
|
6816
6816
|
}
|
|
6817
|
-
}, [r, JSON.stringify(i), JSON.stringify(s),
|
|
6818
|
-
|
|
6819
|
-
}, [
|
|
6817
|
+
}, [r, JSON.stringify(i), JSON.stringify(s), C, T, E, w]), Qe(() => {
|
|
6818
|
+
C.current && (C.current = !1);
|
|
6819
|
+
}, [C]);
|
|
6820
6820
|
let bt = { message: Cn, start: Se, reset: Je, activate: rt, pause: mt, resume: yt, isIdle: Dr, isPrompted: ct, isLeader: Lt, isLastActiveTab: Lr, getTabId: _i, getRemainingTime: Si, getElapsedTime: wn, getTotalElapsedTime: Ir, getLastIdleTime: ki, getLastActiveTime: Yo, getIdleTime: qo, getTotalIdleTime: Oi, getActiveTime: Sa, getTotalActiveTime: Jo, setOnPresenceChange: (le) => {
|
|
6821
6821
|
a = le, re.current = le;
|
|
6822
6822
|
}, setOnPrompt: (le) => {
|
|
@@ -6834,7 +6834,7 @@ function eb({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
6834
6834
|
}
|
|
6835
6835
|
var tb = xn(null);
|
|
6836
6836
|
tb.Consumer;
|
|
6837
|
-
const nb = 24 * 60 * 60 * 1e3,
|
|
6837
|
+
const nb = 24 * 60 * 60 * 1e3, xE = ({
|
|
6838
6838
|
children: e,
|
|
6839
6839
|
options: t,
|
|
6840
6840
|
onLogout: n
|
|
@@ -6843,7 +6843,7 @@ const nb = 24 * 60 * 60 * 1e3, bE = ({
|
|
|
6843
6843
|
n();
|
|
6844
6844
|
}, [n]);
|
|
6845
6845
|
return eb({ onIdle: i, timeout: r }), e;
|
|
6846
|
-
},
|
|
6846
|
+
}, CE = ({
|
|
6847
6847
|
item: e,
|
|
6848
6848
|
className: t,
|
|
6849
6849
|
children: n,
|
|
@@ -6958,10 +6958,10 @@ const nb = 24 * 60 * 60 * 1e3, bE = ({
|
|
|
6958
6958
|
onVisibleChange: d
|
|
6959
6959
|
}
|
|
6960
6960
|
);
|
|
6961
|
-
},
|
|
6961
|
+
}, wE = () => /* @__PURE__ */ ee.jsxs(ee.Fragment, { children: [
|
|
6962
6962
|
/* @__PURE__ */ ee.jsx("labs-app-switcher", {}),
|
|
6963
6963
|
/* @__PURE__ */ ee.jsx("labs-account", {})
|
|
6964
|
-
] }),
|
|
6964
|
+
] }), EE = (e) => {
|
|
6965
6965
|
const {
|
|
6966
6966
|
id: t,
|
|
6967
6967
|
containerId: n = `${t}-container`,
|
|
@@ -7008,7 +7008,7 @@ const nb = 24 * 60 * 60 * 1e3, bE = ({
|
|
|
7008
7008
|
)
|
|
7009
7009
|
}
|
|
7010
7010
|
);
|
|
7011
|
-
},
|
|
7011
|
+
}, _E = (e) => {
|
|
7012
7012
|
const {
|
|
7013
7013
|
id: t,
|
|
7014
7014
|
containerId: n = `${t}-container`,
|
|
@@ -7174,7 +7174,7 @@ const cb = fi(
|
|
|
7174
7174
|
}
|
|
7175
7175
|
);
|
|
7176
7176
|
cb.displayName = "LabsTextarea";
|
|
7177
|
-
const
|
|
7177
|
+
const SE = ({ title: e, children: t, ...n }) => {
|
|
7178
7178
|
const [r, i] = _r(!0), o = De(
|
|
7179
7179
|
() => i(!r),
|
|
7180
7180
|
[r]
|
|
@@ -7207,7 +7207,7 @@ const _E = ({ title: e, children: t, ...n }) => {
|
|
|
7207
7207
|
collapsed: r,
|
|
7208
7208
|
onToggle: o,
|
|
7209
7209
|
...n,
|
|
7210
|
-
children: /* @__PURE__ */ ee.jsx("div", { className: "prose
|
|
7210
|
+
children: /* @__PURE__ */ ee.jsx("div", { className: "labs-prose max-w-full", children: t })
|
|
7211
7211
|
}
|
|
7212
7212
|
);
|
|
7213
7213
|
};
|
|
@@ -7262,7 +7262,7 @@ function fb() {
|
|
|
7262
7262
|
}
|
|
7263
7263
|
var w, E;
|
|
7264
7264
|
window.mixpanel = c, c._i = [], c.init = function(A, O, $) {
|
|
7265
|
-
function
|
|
7265
|
+
function x(D, S) {
|
|
7266
7266
|
var P = S.split(".");
|
|
7267
7267
|
P.length == 2 && (D = D[P[0]], S = P[1]), D[S] = function() {
|
|
7268
7268
|
D.push([S].concat(Array.prototype.slice.call(arguments, 0)));
|
|
@@ -7275,7 +7275,7 @@ function fb() {
|
|
|
7275
7275
|
}, b.people.toString = function() {
|
|
7276
7276
|
return b.toString(1) + ".people (stub)";
|
|
7277
7277
|
}, w = "disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split(" "), E = 0; E < w.length; E++)
|
|
7278
|
-
|
|
7278
|
+
x(b, w[E]);
|
|
7279
7279
|
var T = "set set_once union unset remove delete".split(" ");
|
|
7280
7280
|
b.get_group = function() {
|
|
7281
7281
|
function D(R) {
|
|
@@ -7704,9 +7704,9 @@ function Bm(e, t, n) {
|
|
|
7704
7704
|
c.processIndex.forEach(function(d) {
|
|
7705
7705
|
var f = a.actions[d], p = f.plugin, h = f.payload.type, m = i[p][h];
|
|
7706
7706
|
if (m && hn(m)) {
|
|
7707
|
-
var w, E = function($,
|
|
7708
|
-
return $ === void 0 && ($ = {}),
|
|
7709
|
-
return $.hasOwnProperty(T) &&
|
|
7707
|
+
var w, E = function($, x) {
|
|
7708
|
+
return $ === void 0 && ($ = {}), x === void 0 && (x = {}), [Un, Yr].reduce(function(b, T) {
|
|
7709
|
+
return $.hasOwnProperty(T) && x[T] && x[T] !== $[T] && (b[T] = x[T]), b;
|
|
7710
7710
|
}, $);
|
|
7711
7711
|
}(f.payload, l), A = r[E.meta.rid];
|
|
7712
7712
|
if (!A && (w = m({ payload: E, config: s[p].config, instance: n, abort: Ib })) && Vt(w) && w.abort) return void (r[E.meta.rid] = !0);
|
|
@@ -7734,7 +7734,7 @@ var Ua = function(e) {
|
|
|
7734
7734
|
}));
|
|
7735
7735
|
var h = /* @__PURE__ */ function(w, E) {
|
|
7736
7736
|
return function(A, O, $) {
|
|
7737
|
-
var
|
|
7737
|
+
var x = O.config, b = O.name, T = b + "." + A.type;
|
|
7738
7738
|
$ && (T = $.event);
|
|
7739
7739
|
var D = A.type.match(Qr) ? /* @__PURE__ */ function(S, P, N, R, j) {
|
|
7740
7740
|
return function(H, I) {
|
|
@@ -7747,7 +7747,7 @@ var Ua = function(e) {
|
|
|
7747
7747
|
throw new Error(S.type + " action not cancellable. Remove abort in " + P);
|
|
7748
7748
|
};
|
|
7749
7749
|
}(A, T);
|
|
7750
|
-
return { payload: Vb(A), instance: w, config:
|
|
7750
|
+
return { payload: Vb(A), instance: w, config: x || {}, abort: D };
|
|
7751
7751
|
};
|
|
7752
7752
|
}(r, p), m = t.exact.reduce(function(w, E) {
|
|
7753
7753
|
var A = E.pluginName, O = E.methodName, $ = !1;
|
|
@@ -7757,7 +7757,7 @@ var Ua = function(e) {
|
|
|
7757
7757
|
try {
|
|
7758
7758
|
var O = E.pluginName;
|
|
7759
7759
|
return Promise.resolve(w).then(function($) {
|
|
7760
|
-
function
|
|
7760
|
+
function x() {
|
|
7761
7761
|
return Promise.resolve($);
|
|
7762
7762
|
}
|
|
7763
7763
|
var b = function() {
|
|
@@ -7787,7 +7787,7 @@ var Ua = function(e) {
|
|
|
7787
7787
|
});
|
|
7788
7788
|
$[O] = n;
|
|
7789
7789
|
}();
|
|
7790
|
-
return b && b.then ? b.then(
|
|
7790
|
+
return b && b.then ? b.then(x) : x();
|
|
7791
7791
|
});
|
|
7792
7792
|
} catch ($) {
|
|
7793
7793
|
return Promise.reject($);
|
|
@@ -7795,18 +7795,18 @@ var Ua = function(e) {
|
|
|
7795
7795
|
}, Promise.resolve({}))).then(function(w) {
|
|
7796
7796
|
return Promise.resolve(t.exact.reduce(function(E, A, O) {
|
|
7797
7797
|
try {
|
|
7798
|
-
var $ = t.exact.length === O + 1,
|
|
7798
|
+
var $ = t.exact.length === O + 1, x = A.pluginName, b = o[x];
|
|
7799
7799
|
return Promise.resolve(E).then(function(T) {
|
|
7800
|
-
var D = w[
|
|
7801
|
-
if (f && (D = T), za(D,
|
|
7802
|
-
if (za(T,
|
|
7803
|
-
if (m.hasOwnProperty(
|
|
7804
|
-
var S = h(w[
|
|
7805
|
-
return Promise.resolve(b[d]({ abort: S.abort, payload: D, instance: r, config: ff(
|
|
7806
|
-
var N = Vt(P) ? P : {}, R = xe({}, T, N), j = w[
|
|
7807
|
-
if (za(j,
|
|
7800
|
+
var D = w[x] ? w[x] : {};
|
|
7801
|
+
if (f && (D = T), za(D, x)) return Ha({ data: D, method: d, instance: r, pluginName: x, store: a }), Promise.resolve(T);
|
|
7802
|
+
if (za(T, x)) return $ && Ha({ data: T, method: d, instance: r, store: a }), Promise.resolve(T);
|
|
7803
|
+
if (m.hasOwnProperty(x) && m[x] === !0) return a.dispatch({ type: "queue", plugin: x, payload: D, _: { called: "queue", from: "queueMechanism" } }), Promise.resolve(T);
|
|
7804
|
+
var S = h(w[x], o[x]);
|
|
7805
|
+
return Promise.resolve(b[d]({ abort: S.abort, payload: D, instance: r, config: ff(x, c, o), plugins: c })).then(function(P) {
|
|
7806
|
+
var N = Vt(P) ? P : {}, R = xe({}, T, N), j = w[x];
|
|
7807
|
+
if (za(j, x)) Ha({ data: j, method: d, instance: r, pluginName: x, store: a });
|
|
7808
7808
|
else {
|
|
7809
|
-
var H = d + ":" +
|
|
7809
|
+
var H = d + ":" + x;
|
|
7810
7810
|
(H.match(/:/g) || []).length < 2 && !d.match(uf) && !d.match(df) && r.dispatch(xe({}, f ? R : D, { type: H, _: { called: H, from: "submethod" } }));
|
|
7811
7811
|
}
|
|
7812
7812
|
return Promise.resolve(R);
|
|
@@ -7889,9 +7889,9 @@ function Mb(e, t, n) {
|
|
|
7889
7889
|
}).map(function($) {
|
|
7890
7890
|
return f[$];
|
|
7891
7891
|
}), m = [], w = [], E = s.disabled, A = h.map(function($) {
|
|
7892
|
-
var
|
|
7892
|
+
var x = $.loaded, b = $.name, T = $.config;
|
|
7893
7893
|
return Rm($, function() {
|
|
7894
|
-
return
|
|
7894
|
+
return x({ config: T });
|
|
7895
7895
|
}, 1e4).then(function(D) {
|
|
7896
7896
|
return r[b] || (i.dispatch({ type: be.pluginReadyType(b), name: b, events: Object.keys($).filter(function(S) {
|
|
7897
7897
|
return !$l.includes(S);
|
|
@@ -7902,45 +7902,45 @@ function Mb(e, t, n) {
|
|
|
7902
7902
|
});
|
|
7903
7903
|
});
|
|
7904
7904
|
Promise.all(A).then(function($) {
|
|
7905
|
-
var
|
|
7905
|
+
var x = { plugins: m, failed: w, disabled: E };
|
|
7906
7906
|
setTimeout(function() {
|
|
7907
|
-
p.length === A.length + E.length && i.dispatch(xe({}, { type: be.ready },
|
|
7907
|
+
p.length === A.length + E.length && i.dispatch(xe({}, { type: be.ready }, x));
|
|
7908
7908
|
}, 0);
|
|
7909
7909
|
});
|
|
7910
7910
|
}
|
|
7911
7911
|
var O = function() {
|
|
7912
7912
|
if (c !== be.bootstrap) return /^ready:([^:]*)$/.test(c) && setTimeout(function() {
|
|
7913
7913
|
return Bm(i, t, e);
|
|
7914
|
-
}, 0), Promise.resolve(function($,
|
|
7914
|
+
}, 0), Promise.resolve(function($, x, b, T, D) {
|
|
7915
7915
|
try {
|
|
7916
|
-
var S = hn(
|
|
7916
|
+
var S = hn(x) ? x() : x, P = $.type, N = P.replace(Qr, "");
|
|
7917
7917
|
if ($._ && $._.called) return Promise.resolve($);
|
|
7918
|
-
var R = b.getState(), j = (F = S, (V = R.plugins) === void 0 && (V = {}), (B = $.options) === void 0 && (B = {}), Object.keys(F).filter(function(
|
|
7918
|
+
var R = b.getState(), j = (F = S, (V = R.plugins) === void 0 && (V = {}), (B = $.options) === void 0 && (B = {}), Object.keys(F).filter(function(C) {
|
|
7919
7919
|
var L = B.plugins || {};
|
|
7920
|
-
return vb(L[
|
|
7921
|
-
}).map(function(
|
|
7922
|
-
return F[
|
|
7920
|
+
return vb(L[C]) ? L[C] : L.all !== !1 && (!V[C] || V[C].enabled !== !1);
|
|
7921
|
+
}).map(function(C) {
|
|
7922
|
+
return F[C];
|
|
7923
7923
|
}));
|
|
7924
|
-
P === be.initializeStart && $.fromEnable && (j = Object.keys(R.plugins).filter(function(
|
|
7925
|
-
var L = R.plugins[
|
|
7926
|
-
return $.plugins.includes(
|
|
7927
|
-
}).map(function(
|
|
7928
|
-
return S[
|
|
7924
|
+
P === be.initializeStart && $.fromEnable && (j = Object.keys(R.plugins).filter(function(C) {
|
|
7925
|
+
var L = R.plugins[C];
|
|
7926
|
+
return $.plugins.includes(C) && !L.initialized;
|
|
7927
|
+
}).map(function(C) {
|
|
7928
|
+
return S[C];
|
|
7929
7929
|
}));
|
|
7930
|
-
var H = j.map(function(
|
|
7931
|
-
return
|
|
7932
|
-
}), I = function(
|
|
7933
|
-
var y = hf(
|
|
7930
|
+
var H = j.map(function(C) {
|
|
7931
|
+
return C.name;
|
|
7932
|
+
}), I = function(C, L, g) {
|
|
7933
|
+
var y = hf(C).map(function(M) {
|
|
7934
7934
|
return pf(M, L);
|
|
7935
7935
|
});
|
|
7936
7936
|
return L.reduce(function(M, U) {
|
|
7937
|
-
var z = U.name, Z = hf(
|
|
7937
|
+
var z = U.name, Z = hf(C, z).map(function(re) {
|
|
7938
7938
|
return pf(re, L);
|
|
7939
7939
|
}), G = Z[0], K = Z[1], X = Z[2];
|
|
7940
7940
|
return G.length && (M.beforeNS[z] = G), K.length && (M.duringNS[z] = K), X.length && (M.afterNS[z] = X), M;
|
|
7941
7941
|
}, { before: y[0], beforeNS: {}, during: y[1], duringNS: {}, after: y[2], afterNS: {} });
|
|
7942
7942
|
}(P, j);
|
|
7943
|
-
return Promise.resolve(Ua({ action: $, data: { exact: I.before, namespaced: I.beforeNS }, state: R, allPlugins: S, allMatches: I, instance: b, store: T, EVENTS: D })).then(function(
|
|
7943
|
+
return Promise.resolve(Ua({ action: $, data: { exact: I.before, namespaced: I.beforeNS }, state: R, allPlugins: S, allMatches: I, instance: b, store: T, EVENTS: D })).then(function(C) {
|
|
7944
7944
|
function L() {
|
|
7945
7945
|
var M = function() {
|
|
7946
7946
|
if (P.match(Qr)) return Promise.resolve(Ua({ action: xe({}, g, { type: N + "End" }), data: { exact: I.after, namespaced: I.afterNS }, state: R, allPlugins: S, allMatches: I, instance: b, store: T, EVENTS: D })).then(function(U) {
|
|
@@ -7948,20 +7948,20 @@ function Mb(e, t, n) {
|
|
|
7948
7948
|
});
|
|
7949
7949
|
}();
|
|
7950
7950
|
return M && M.then ? M.then(function() {
|
|
7951
|
-
return
|
|
7952
|
-
}) :
|
|
7951
|
+
return C;
|
|
7952
|
+
}) : C;
|
|
7953
7953
|
}
|
|
7954
|
-
if (Um(
|
|
7954
|
+
if (Um(C, H.length)) return C;
|
|
7955
7955
|
var g, y = function() {
|
|
7956
|
-
if (P !== N) return Promise.resolve(Ua({ action: xe({},
|
|
7956
|
+
if (P !== N) return Promise.resolve(Ua({ action: xe({}, C, { type: N }), data: { exact: I.during, namespaced: I.duringNS }, state: R, allPlugins: S, allMatches: I, instance: b, store: T, EVENTS: D })).then(function(M) {
|
|
7957
7957
|
g = M;
|
|
7958
7958
|
});
|
|
7959
|
-
g =
|
|
7959
|
+
g = C;
|
|
7960
7960
|
}();
|
|
7961
7961
|
return y && y.then ? y.then(L) : L();
|
|
7962
7962
|
});
|
|
7963
|
-
} catch (
|
|
7964
|
-
return Promise.reject(
|
|
7963
|
+
} catch (C) {
|
|
7964
|
+
return Promise.reject(C);
|
|
7965
7965
|
}
|
|
7966
7966
|
var F, V, B;
|
|
7967
7967
|
}(s, t, e, i, n)).then(function($) {
|
|
@@ -8175,106 +8175,106 @@ function Cf(e, t, n) {
|
|
|
8175
8175
|
}
|
|
8176
8176
|
function Xb(e) {
|
|
8177
8177
|
e === void 0 && (e = {});
|
|
8178
|
-
var t = e.reducers || {}, n = e.initialUser || {}, r = (e.plugins || []).reduce(function(
|
|
8179
|
-
if (hn(L)) return
|
|
8178
|
+
var t = e.reducers || {}, n = e.initialUser || {}, r = (e.plugins || []).reduce(function(C, L) {
|
|
8179
|
+
if (hn(L)) return C.middlewares = C.middlewares.concat(L), C;
|
|
8180
8180
|
if (L.NAMESPACE && (L.name = L.NAMESPACE), !L.name) throw new Error("https://lytics.dev/errors/1");
|
|
8181
8181
|
L.config || (L.config = {});
|
|
8182
8182
|
var g = L.EVENTS ? Object.keys(L.EVENTS).map(function(U) {
|
|
8183
8183
|
return L.EVENTS[U];
|
|
8184
8184
|
}) : [];
|
|
8185
|
-
|
|
8185
|
+
C.pluginEnabled[L.name] = !(L.enabled === !1 || L.config.enabled === !1), delete L.enabled, L.methods && (C.methods[L.name] = Object.keys(L.methods).reduce(function(U, z) {
|
|
8186
8186
|
var Z;
|
|
8187
8187
|
return U[z] = (Z = L.methods[z], function() {
|
|
8188
8188
|
for (var G = Array.prototype.slice.call(arguments), K = new Array(Z.length), X = 0; X < G.length; X++) K[X] = G[X];
|
|
8189
|
-
return K[K.length] =
|
|
8189
|
+
return K[K.length] = x, Z.apply({ instance: x }, K);
|
|
8190
8190
|
}), U;
|
|
8191
8191
|
}, {}), delete L.methods);
|
|
8192
|
-
var y = Object.keys(L).concat(g), M = new Set(
|
|
8193
|
-
if (
|
|
8194
|
-
return
|
|
8192
|
+
var y = Object.keys(L).concat(g), M = new Set(C.events.concat(y));
|
|
8193
|
+
if (C.events = Array.from(M), C.pluginsArray = C.pluginsArray.concat(L), C.plugins[L.name]) throw new Error(L.name + "AlreadyLoaded");
|
|
8194
|
+
return C.plugins[L.name] = L, C.plugins[L.name].loaded || (C.plugins[L.name].loaded = function() {
|
|
8195
8195
|
return !0;
|
|
8196
|
-
}),
|
|
8197
|
-
}, { plugins: {}, pluginEnabled: {}, methods: {}, pluginsArray: [], middlewares: [], events: [] }), i = e.storage ? e.storage : { getItem: kr, setItem: Or, removeItem: xi }, o = /* @__PURE__ */ function(
|
|
8196
|
+
}), C;
|
|
8197
|
+
}, { plugins: {}, pluginEnabled: {}, methods: {}, pluginsArray: [], middlewares: [], events: [] }), i = e.storage ? e.storage : { getItem: kr, setItem: Or, removeItem: xi }, o = /* @__PURE__ */ function(C) {
|
|
8198
8198
|
return function(L, g, y) {
|
|
8199
|
-
return g.getState("user")[L] || (y && Vt(y) && y[L] ? y[L] : lf(
|
|
8199
|
+
return g.getState("user")[L] || (y && Vt(y) && y[L] ? y[L] : lf(C)[L] || kr(jl(L)) || null);
|
|
8200
8200
|
};
|
|
8201
|
-
}(i), s = r.plugins, a = r.events.filter(function(
|
|
8202
|
-
return !$l.includes(
|
|
8203
|
-
}).sort(), l = new Set(a.concat(Es).filter(function(
|
|
8204
|
-
return !$l.includes(
|
|
8201
|
+
}(i), s = r.plugins, a = r.events.filter(function(C) {
|
|
8202
|
+
return !$l.includes(C);
|
|
8203
|
+
}).sort(), l = new Set(a.concat(Es).filter(function(C) {
|
|
8204
|
+
return !$l.includes(C);
|
|
8205
8205
|
})), c = Array.from(l).sort(), u = function() {
|
|
8206
8206
|
return s;
|
|
8207
8207
|
}, d = new jb(), f = d.addMiddleware, p = d.removeMiddleware, h = d.dynamicMiddlewares, m = function() {
|
|
8208
8208
|
throw new Error("Abort disabled inListener");
|
|
8209
8209
|
}, w = kb(), E = lf(i), A = xe({}, E, n, w.an_uid ? { userId: w.an_uid } : {}, w.an_aid ? { anonymousId: w.an_aid } : {});
|
|
8210
8210
|
A.anonymousId || (A.anonymousId = aa());
|
|
8211
|
-
var O = xe({ enable: function(
|
|
8211
|
+
var O = xe({ enable: function(C, L) {
|
|
8212
8212
|
return new Promise(function(g) {
|
|
8213
|
-
I.dispatch({ type: be.enablePlugin, plugins: Wa(
|
|
8213
|
+
I.dispatch({ type: be.enablePlugin, plugins: Wa(C), _: { originalAction: be.enablePlugin } }, g, [L]);
|
|
8214
8214
|
});
|
|
8215
|
-
}, disable: function(
|
|
8215
|
+
}, disable: function(C, L) {
|
|
8216
8216
|
return new Promise(function(g) {
|
|
8217
|
-
I.dispatch({ type: be.disablePlugin, plugins: Wa(
|
|
8217
|
+
I.dispatch({ type: be.disablePlugin, plugins: Wa(C), _: { originalAction: be.disablePlugin } }, g, [L]);
|
|
8218
8218
|
});
|
|
8219
|
-
} }, r.methods), $ = !1,
|
|
8219
|
+
} }, r.methods), $ = !1, x = { identify: function(C, L, g, y) {
|
|
8220
8220
|
try {
|
|
8221
|
-
var M = Jr(
|
|
8221
|
+
var M = Jr(C) ? C : null, U = Vt(C) ? C : L, z = g || {}, Z = x.user();
|
|
8222
8222
|
Or(jl(Un), M);
|
|
8223
|
-
var G = M || U.userId || o(Un,
|
|
8223
|
+
var G = M || U.userId || o(Un, x, U);
|
|
8224
8224
|
return Promise.resolve(new Promise(function(K) {
|
|
8225
8225
|
I.dispatch(xe({ type: be.identifyStart, userId: G, traits: U || {}, options: z, anonymousId: Z.anonymousId }, Z.id && Z.id !== M && { previousId: Z.id }), K, [L, g, y]);
|
|
8226
8226
|
}));
|
|
8227
8227
|
} catch (K) {
|
|
8228
8228
|
return Promise.reject(K);
|
|
8229
8229
|
}
|
|
8230
|
-
}, track: function(
|
|
8230
|
+
}, track: function(C, L, g, y) {
|
|
8231
8231
|
try {
|
|
8232
|
-
var M = Vt(
|
|
8232
|
+
var M = Vt(C) ? C.event : C;
|
|
8233
8233
|
if (!M || !Jr(M)) throw new Error("EventMissing");
|
|
8234
|
-
var U = Vt(
|
|
8234
|
+
var U = Vt(C) ? C : L || {}, z = Vt(g) ? g : {};
|
|
8235
8235
|
return Promise.resolve(new Promise(function(Z) {
|
|
8236
|
-
I.dispatch({ type: be.trackStart, event: M, properties: U, options: z, userId: o(Un,
|
|
8236
|
+
I.dispatch({ type: be.trackStart, event: M, properties: U, options: z, userId: o(Un, x, L), anonymousId: o(Yr, x, L) }, Z, [L, g, y]);
|
|
8237
8237
|
}));
|
|
8238
8238
|
} catch (Z) {
|
|
8239
8239
|
return Promise.reject(Z);
|
|
8240
8240
|
}
|
|
8241
|
-
}, page: function(
|
|
8241
|
+
}, page: function(C, L, g) {
|
|
8242
8242
|
try {
|
|
8243
|
-
var y = Vt(
|
|
8243
|
+
var y = Vt(C) ? C : {}, M = Vt(L) ? L : {};
|
|
8244
8244
|
return Promise.resolve(new Promise(function(U) {
|
|
8245
|
-
I.dispatch({ type: be.pageStart, properties: Wb(y), options: M, userId: o(Un,
|
|
8245
|
+
I.dispatch({ type: be.pageStart, properties: Wb(y), options: M, userId: o(Un, x, y), anonymousId: o(Yr, x, y) }, U, [C, L, g]);
|
|
8246
8246
|
}));
|
|
8247
8247
|
} catch (U) {
|
|
8248
8248
|
return Promise.reject(U);
|
|
8249
8249
|
}
|
|
8250
|
-
}, user: function(
|
|
8251
|
-
if (
|
|
8252
|
-
if (
|
|
8253
|
-
var L =
|
|
8254
|
-
return
|
|
8255
|
-
}, reset: function(
|
|
8250
|
+
}, user: function(C) {
|
|
8251
|
+
if (C === Un || C === "id") return o(Un, x);
|
|
8252
|
+
if (C === Yr || C === "anonId") return o(Yr, x);
|
|
8253
|
+
var L = x.getState("user");
|
|
8254
|
+
return C ? ef(L, C) : L;
|
|
8255
|
+
}, reset: function(C) {
|
|
8256
8256
|
return new Promise(function(L) {
|
|
8257
|
-
I.dispatch({ type: be.resetStart }, L,
|
|
8257
|
+
I.dispatch({ type: be.resetStart }, L, C);
|
|
8258
8258
|
});
|
|
8259
|
-
}, ready: function(
|
|
8260
|
-
return $ &&
|
|
8261
|
-
|
|
8259
|
+
}, ready: function(C) {
|
|
8260
|
+
return $ && C({ plugins: O, instance: x }), x.on(be.ready, function(L) {
|
|
8261
|
+
C(L), $ = !0;
|
|
8262
8262
|
});
|
|
8263
|
-
}, on: function(
|
|
8264
|
-
if (!
|
|
8265
|
-
if (
|
|
8263
|
+
}, on: function(C, L) {
|
|
8264
|
+
if (!C || !hn(L)) return !1;
|
|
8265
|
+
if (C === be.bootstrap) throw new Error(".on disabled for " + C);
|
|
8266
8266
|
var g = /Start$|Start:/;
|
|
8267
|
-
if (
|
|
8267
|
+
if (C === "*") {
|
|
8268
8268
|
var y = function(Z) {
|
|
8269
8269
|
return function(G) {
|
|
8270
8270
|
return function(K) {
|
|
8271
|
-
return K.type.match(g) && L({ payload: K, instance:
|
|
8271
|
+
return K.type.match(g) && L({ payload: K, instance: x, plugins: s }), G(K);
|
|
8272
8272
|
};
|
|
8273
8273
|
};
|
|
8274
8274
|
}, M = function(Z) {
|
|
8275
8275
|
return function(G) {
|
|
8276
8276
|
return function(K) {
|
|
8277
|
-
return K.type.match(g) || L({ payload: K, instance:
|
|
8277
|
+
return K.type.match(g) || L({ payload: K, instance: x, plugins: s }), G(K);
|
|
8278
8278
|
};
|
|
8279
8279
|
};
|
|
8280
8280
|
};
|
|
@@ -8282,61 +8282,61 @@ function Xb(e) {
|
|
|
8282
8282
|
p(y, ss), p(M, as);
|
|
8283
8283
|
};
|
|
8284
8284
|
}
|
|
8285
|
-
var U =
|
|
8285
|
+
var U = C.match(g) ? ss : as, z = function(Z) {
|
|
8286
8286
|
return function(G) {
|
|
8287
8287
|
return function(K) {
|
|
8288
|
-
return K.type ===
|
|
8288
|
+
return K.type === C && L({ payload: K, instance: x, plugins: s, abort: m }), G(K);
|
|
8289
8289
|
};
|
|
8290
8290
|
};
|
|
8291
8291
|
};
|
|
8292
8292
|
return f(z, U), function() {
|
|
8293
8293
|
return p(z, U);
|
|
8294
8294
|
};
|
|
8295
|
-
}, once: function(
|
|
8296
|
-
if (!
|
|
8297
|
-
if (
|
|
8298
|
-
var g =
|
|
8299
|
-
L({ payload: y.payload, instance:
|
|
8295
|
+
}, once: function(C, L) {
|
|
8296
|
+
if (!C || !hn(L)) return !1;
|
|
8297
|
+
if (C === be.bootstrap) throw new Error(".once disabled for " + C);
|
|
8298
|
+
var g = x.on(C, function(y) {
|
|
8299
|
+
L({ payload: y.payload, instance: x, plugins: s, abort: m }), g();
|
|
8300
8300
|
});
|
|
8301
8301
|
return g;
|
|
8302
|
-
}, getState: function(
|
|
8302
|
+
}, getState: function(C) {
|
|
8303
8303
|
var L = I.getState();
|
|
8304
|
-
return
|
|
8305
|
-
}, dispatch: function(
|
|
8306
|
-
var L = Jr(
|
|
8304
|
+
return C ? ef(L, C) : Object.assign({}, L);
|
|
8305
|
+
}, dispatch: function(C) {
|
|
8306
|
+
var L = Jr(C) ? { type: C } : C;
|
|
8307
8307
|
if (Es.includes(L.type)) throw new Error("reserved action " + L.type);
|
|
8308
|
-
var g = xe({}, L, { _: xe({ originalAction: L.type },
|
|
8308
|
+
var g = xe({}, L, { _: xe({ originalAction: L.type }, C._ || {}) });
|
|
8309
8309
|
I.dispatch(g);
|
|
8310
|
-
}, enablePlugin: O.enable, disablePlugin: O.disable, plugins: O, storage: { getItem: i.getItem, setItem: function(
|
|
8311
|
-
I.dispatch({ type: be.setItemStart, key:
|
|
8312
|
-
}, removeItem: function(
|
|
8313
|
-
I.dispatch({ type: be.removeItemStart, key:
|
|
8314
|
-
} }, setAnonymousId: function(
|
|
8315
|
-
|
|
8316
|
-
}, events: { core: Es, plugins: a } }, b = r.middlewares.concat([function(
|
|
8310
|
+
}, enablePlugin: O.enable, disablePlugin: O.disable, plugins: O, storage: { getItem: i.getItem, setItem: function(C, L, g) {
|
|
8311
|
+
I.dispatch({ type: be.setItemStart, key: C, value: L, options: g });
|
|
8312
|
+
}, removeItem: function(C, L) {
|
|
8313
|
+
I.dispatch({ type: be.removeItemStart, key: C, options: L });
|
|
8314
|
+
} }, setAnonymousId: function(C, L) {
|
|
8315
|
+
x.storage.setItem(Zn, C, L);
|
|
8316
|
+
}, events: { core: Es, plugins: a } }, b = r.middlewares.concat([function(C) {
|
|
8317
8317
|
return function(L) {
|
|
8318
8318
|
return function(g) {
|
|
8319
8319
|
return g.meta || (g.meta = Cf()), L(g);
|
|
8320
8320
|
};
|
|
8321
8321
|
};
|
|
8322
|
-
}, h(ss), Mb(
|
|
8322
|
+
}, h(ss), Mb(x, u, { all: c, plugins: a }), $b(i), Nb(x), Lb(x), h(as)]), T = { context: Zb, user: Db(i), page: Kb, track: Bb, plugins: Fb(u), queue: Hb }, D = ui, S = ui;
|
|
8323
8323
|
if (on && e.debug) {
|
|
8324
8324
|
var P = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
|
|
8325
8325
|
P && (D = P({ trace: !0, traceLimit: 25 })), S = function() {
|
|
8326
8326
|
return arguments.length === 0 ? Ym() : Vt(typeof arguments[0]) ? xf() : xf().apply(null, arguments);
|
|
8327
8327
|
};
|
|
8328
8328
|
}
|
|
8329
|
-
var N, R = function(
|
|
8330
|
-
return Object.keys(
|
|
8331
|
-
return Yb.includes(g) || (L[g] =
|
|
8329
|
+
var N, R = function(C) {
|
|
8330
|
+
return Object.keys(C).reduce(function(L, g) {
|
|
8331
|
+
return Yb.includes(g) || (L[g] = C[g]), L;
|
|
8332
8332
|
}, {});
|
|
8333
|
-
}(e), j = r.pluginsArray.reduce(function(
|
|
8333
|
+
}(e), j = r.pluginsArray.reduce(function(C, L) {
|
|
8334
8334
|
var g = L.name, y = L.config, M = L.loaded, U = r.pluginEnabled[g];
|
|
8335
|
-
return
|
|
8336
|
-
}, {}), H = { context: R, user: A, plugins: j }, I = Fm(function(
|
|
8337
|
-
for (var L = Object.keys(
|
|
8335
|
+
return C[g] = { enabled: U, initialized: !!U && !L.initialize, loaded: !!M({ config: y }), config: y }, C;
|
|
8336
|
+
}, {}), H = { context: R, user: A, plugins: j }, I = Fm(function(C) {
|
|
8337
|
+
for (var L = Object.keys(C), g = {}, y = 0; y < L.length; y++) {
|
|
8338
8338
|
var M = L[y];
|
|
8339
|
-
typeof
|
|
8339
|
+
typeof C[M] === Gn && (g[M] = C[M]);
|
|
8340
8340
|
}
|
|
8341
8341
|
var U, z = Object.keys(g);
|
|
8342
8342
|
try {
|
|
@@ -8362,27 +8362,27 @@ function Xb(e) {
|
|
|
8362
8362
|
return K ? X : Z;
|
|
8363
8363
|
};
|
|
8364
8364
|
}(xe({}, T, t)), H, S(D(Pb.apply(void 0, b))));
|
|
8365
|
-
I.dispatch = (N = I.dispatch, function(
|
|
8366
|
-
var y = xe({},
|
|
8365
|
+
I.dispatch = (N = I.dispatch, function(C, L, g) {
|
|
8366
|
+
var y = xe({}, C, { meta: Cf(C.meta, L, Wa(g)) });
|
|
8367
8367
|
return N.apply(null, [y]);
|
|
8368
8368
|
});
|
|
8369
8369
|
var F = Object.keys(s);
|
|
8370
8370
|
I.dispatch({ type: be.bootstrap, plugins: F, config: R, params: w, user: A, initialUser: n, persistedUser: E });
|
|
8371
|
-
var V = F.filter(function(
|
|
8372
|
-
return r.pluginEnabled[
|
|
8373
|
-
}), B = F.filter(function(
|
|
8374
|
-
return !r.pluginEnabled[
|
|
8371
|
+
var V = F.filter(function(C) {
|
|
8372
|
+
return r.pluginEnabled[C];
|
|
8373
|
+
}), B = F.filter(function(C) {
|
|
8374
|
+
return !r.pluginEnabled[C];
|
|
8375
8375
|
});
|
|
8376
|
-
return I.dispatch({ type: be.registerPlugins, plugins: F, enabled: r.pluginEnabled }), r.pluginsArray.map(function(
|
|
8377
|
-
var g =
|
|
8378
|
-
g && hn(g) && g({ instance:
|
|
8379
|
-
}), Jb(function(
|
|
8380
|
-
I.dispatch({ type:
|
|
8381
|
-
}), function(
|
|
8376
|
+
return I.dispatch({ type: be.registerPlugins, plugins: F, enabled: r.pluginEnabled }), r.pluginsArray.map(function(C, L) {
|
|
8377
|
+
var g = C.bootstrap, y = C.config, M = C.name;
|
|
8378
|
+
g && hn(g) && g({ instance: x, config: y, payload: C }), I.dispatch({ type: be.registerPluginType(M), name: M, enabled: r.pluginEnabled[M], plugin: C }), r.pluginsArray.length === L + 1 && I.dispatch({ type: be.initializeStart, plugins: V, disabled: B });
|
|
8379
|
+
}), Jb(function(C) {
|
|
8380
|
+
I.dispatch({ type: C ? be.offline : be.online });
|
|
8381
|
+
}), function(C, L, g) {
|
|
8382
8382
|
setInterval(function() {
|
|
8383
|
-
return Bm(
|
|
8383
|
+
return Bm(C, L, g);
|
|
8384
8384
|
}, 3e3);
|
|
8385
|
-
}(I, u,
|
|
8385
|
+
}(I, u, x), x;
|
|
8386
8386
|
}
|
|
8387
8387
|
var ss = "before", as = "after", Wi = "cookie", ur = Xm(), qm = la, Qb = la;
|
|
8388
8388
|
function Jm(e) {
|
|
@@ -8524,7 +8524,7 @@ const u4 = {
|
|
|
8524
8524
|
});
|
|
8525
8525
|
}, Qc = xn(
|
|
8526
8526
|
null
|
|
8527
|
-
),
|
|
8527
|
+
), kE = ({
|
|
8528
8528
|
appName: e,
|
|
8529
8529
|
children: t,
|
|
8530
8530
|
options: n
|
|
@@ -8534,7 +8534,7 @@ const u4 = {
|
|
|
8534
8534
|
options: n
|
|
8535
8535
|
}), [e, n]);
|
|
8536
8536
|
return /* @__PURE__ */ ee.jsx(Qc.Provider, { value: r, children: t });
|
|
8537
|
-
},
|
|
8537
|
+
}, OE = () => {
|
|
8538
8538
|
const e = at(Qc);
|
|
8539
8539
|
if (!e)
|
|
8540
8540
|
throw new Error("useAnalytics must be used within an AnalyticsProvider");
|
|
@@ -8588,10 +8588,10 @@ function f4() {
|
|
|
8588
8588
|
return (h + m) * 3 / 4 - m;
|
|
8589
8589
|
}
|
|
8590
8590
|
function c(p) {
|
|
8591
|
-
var h, m = s(p), w = m[0], E = m[1], A = new n(l(p, w, E)), O = 0, $ = E > 0 ? w - 4 : w,
|
|
8592
|
-
for (
|
|
8593
|
-
h = t[p.charCodeAt(
|
|
8594
|
-
return E === 2 && (h = t[p.charCodeAt(
|
|
8591
|
+
var h, m = s(p), w = m[0], E = m[1], A = new n(l(p, w, E)), O = 0, $ = E > 0 ? w - 4 : w, x;
|
|
8592
|
+
for (x = 0; x < $; x += 4)
|
|
8593
|
+
h = t[p.charCodeAt(x)] << 18 | t[p.charCodeAt(x + 1)] << 12 | t[p.charCodeAt(x + 2)] << 6 | t[p.charCodeAt(x + 3)], A[O++] = h >> 16 & 255, A[O++] = h >> 8 & 255, A[O++] = h & 255;
|
|
8594
|
+
return E === 2 && (h = t[p.charCodeAt(x)] << 2 | t[p.charCodeAt(x + 1)] >> 4, A[O++] = h & 255), E === 1 && (h = t[p.charCodeAt(x)] << 10 | t[p.charCodeAt(x + 1)] << 4 | t[p.charCodeAt(x + 2)] >> 2, A[O++] = h >> 8 & 255, A[O++] = h & 255), A;
|
|
8595
8595
|
}
|
|
8596
8596
|
function u(p) {
|
|
8597
8597
|
return e[p >> 18 & 63] + e[p >> 12 & 63] + e[p >> 6 & 63] + e[p & 63];
|
|
@@ -8788,11 +8788,11 @@ function v4() {
|
|
|
8788
8788
|
b[16] = this.block, b[T >> 2] |= c[T & 3], this.block = b[16], T >= 56 && (this.hashed || this.hash(), b[0] = this.block, b[16] = b[1] = b[2] = b[3] = b[4] = b[5] = b[6] = b[7] = b[8] = b[9] = b[10] = b[11] = b[12] = b[13] = b[14] = b[15] = 0), b[14] = this.hBytes << 3 | this.bytes >>> 29, b[15] = this.bytes << 3, this.hash();
|
|
8789
8789
|
}
|
|
8790
8790
|
}, O.prototype.hash = function() {
|
|
8791
|
-
var b = this.h0, T = this.h1, D = this.h2, S = this.h3, P = this.h4, N = this.h5, R = this.h6, j = this.h7, H = this.blocks, I, F, V, B,
|
|
8791
|
+
var b = this.h0, T = this.h1, D = this.h2, S = this.h3, P = this.h4, N = this.h5, R = this.h6, j = this.h7, H = this.blocks, I, F, V, B, C, L, g, y, M, U, z;
|
|
8792
8792
|
for (I = 16; I < 64; ++I)
|
|
8793
|
-
|
|
8793
|
+
C = H[I - 15], F = (C >>> 7 | C << 25) ^ (C >>> 18 | C << 14) ^ C >>> 3, C = H[I - 2], V = (C >>> 17 | C << 15) ^ (C >>> 19 | C << 13) ^ C >>> 10, H[I] = H[I - 16] + F + H[I - 7] + V << 0;
|
|
8794
8794
|
for (z = T & D, I = 0; I < 64; I += 4)
|
|
8795
|
-
this.first ? (this.is224 ? (y = 300032,
|
|
8795
|
+
this.first ? (this.is224 ? (y = 300032, C = H[0] - 1413257819, j = C - 150054599 << 0, S = C + 24177077 << 0) : (y = 704751109, C = H[0] - 210244248, j = C - 1521486534 << 0, S = C + 143694565 << 0), this.first = !1) : (F = (b >>> 2 | b << 30) ^ (b >>> 13 | b << 19) ^ (b >>> 22 | b << 10), V = (P >>> 6 | P << 26) ^ (P >>> 11 | P << 21) ^ (P >>> 25 | P << 7), y = b & T, B = y ^ b & D ^ z, g = P & N ^ ~P & R, C = j + V + g + d[I] + H[I], L = F + B, j = S + C << 0, S = C + L << 0), F = (S >>> 2 | S << 30) ^ (S >>> 13 | S << 19) ^ (S >>> 22 | S << 10), V = (j >>> 6 | j << 26) ^ (j >>> 11 | j << 21) ^ (j >>> 25 | j << 7), M = S & b, B = M ^ S & T ^ y, g = j & P ^ ~j & N, C = R + V + g + d[I + 1] + H[I + 1], L = F + B, R = D + C << 0, D = C + L << 0, F = (D >>> 2 | D << 30) ^ (D >>> 13 | D << 19) ^ (D >>> 22 | D << 10), V = (R >>> 6 | R << 26) ^ (R >>> 11 | R << 21) ^ (R >>> 25 | R << 7), U = D & S, B = U ^ D & b ^ M, g = R & j ^ ~R & P, C = N + V + g + d[I + 2] + H[I + 2], L = F + B, N = T + C << 0, T = C + L << 0, F = (T >>> 2 | T << 30) ^ (T >>> 13 | T << 19) ^ (T >>> 22 | T << 10), V = (N >>> 6 | N << 26) ^ (N >>> 11 | N << 21) ^ (N >>> 25 | N << 7), z = T & D, B = z ^ T & S ^ U, g = N & R ^ ~N & j, C = P + V + g + d[I + 3] + H[I + 3], L = F + B, P = b + C << 0, b = C + L << 0, this.chromeBugWorkAround = !0;
|
|
8796
8796
|
this.h0 = this.h0 + b << 0, this.h1 = this.h1 + T << 0, this.h2 = this.h2 + D << 0, this.h3 = this.h3 + S << 0, this.h4 = this.h4 + P << 0, this.h5 = this.h5 + N << 0, this.h6 = this.h6 + R << 0, this.h7 = this.h7 + j << 0;
|
|
8797
8797
|
}, O.prototype.hex = function() {
|
|
8798
8798
|
this.finalize();
|
|
@@ -8867,8 +8867,8 @@ function v4() {
|
|
|
8867
8867
|
O.call(this, this.is224, this.sharedMemory), this.update(this.oKeyPad), this.update(b), O.prototype.finalize.call(this);
|
|
8868
8868
|
}
|
|
8869
8869
|
};
|
|
8870
|
-
var
|
|
8871
|
-
|
|
8870
|
+
var x = m();
|
|
8871
|
+
x.sha256 = x, x.sha224 = m(!0), x.sha256.hmac = A(), x.sha224.hmac = A(!0), s ? e.exports = x : (r.sha256 = x.sha256, r.sha224 = x.sha224);
|
|
8872
8872
|
})();
|
|
8873
8873
|
}(Ga)), Ga.exports;
|
|
8874
8874
|
}
|
|
@@ -8937,7 +8937,7 @@ function e0(e) {
|
|
|
8937
8937
|
t.init = function(g) {
|
|
8938
8938
|
if (t.didInitialize)
|
|
8939
8939
|
throw new Error("A 'Keycloak' instance can only be initialized once.");
|
|
8940
|
-
t.didInitialize = !0, t.authenticated = !1, i =
|
|
8940
|
+
t.didInitialize = !0, t.authenticated = !1, i = C();
|
|
8941
8941
|
var y = ["default", "cordova", "cordova-native"];
|
|
8942
8942
|
if (g && y.indexOf(g.adapter) > -1 ? n = F(g.adapter) : g && typeof g.adapter == "object" ? n = g.adapter : window.Cordova || window.cordova ? n = F("cordova") : n = F(), g) {
|
|
8943
8943
|
if (typeof g.useNonce < "u" && (l = g.useNonce), typeof g.checkLoginIframe < "u" && (o.enable = g.checkLoginIframe), g.checkLoginIframeInterval && (o.interval = g.checkLoginIframeInterval), g.onLoad === "login-required" && (t.loginRequired = !0), g.responseMode)
|
|
@@ -9019,7 +9019,7 @@ function e0(e) {
|
|
|
9019
9019
|
}).catch(function(re) {
|
|
9020
9020
|
U.setError(re);
|
|
9021
9021
|
});
|
|
9022
|
-
g ? g.token && g.refreshToken ? (
|
|
9022
|
+
g ? g.token && g.refreshToken ? (x(g.token, g.refreshToken, g.idToken), o.enable ? R().then(function() {
|
|
9023
9023
|
H().then(function(re) {
|
|
9024
9024
|
re ? (t.onAuthSuccess && t.onAuthSuccess(), U.setSuccess(), j()) : U.setSuccess();
|
|
9025
9025
|
}).catch(function(re) {
|
|
@@ -9173,7 +9173,7 @@ function e0(e) {
|
|
|
9173
9173
|
if (K.status == 200) {
|
|
9174
9174
|
c("[KEYCLOAK] Token refreshed"), X = (X + (/* @__PURE__ */ new Date()).getTime()) / 2;
|
|
9175
9175
|
var re = JSON.parse(K.responseText);
|
|
9176
|
-
|
|
9176
|
+
x(re.access_token, re.refresh_token, re.id_token, X), t.onAuthRefreshSuccess && t.onAuthRefreshSuccess();
|
|
9177
9177
|
for (var de = r.pop(); de != null; de = r.pop())
|
|
9178
9178
|
de.setSuccess(!0);
|
|
9179
9179
|
} else {
|
|
@@ -9196,7 +9196,7 @@ function e0(e) {
|
|
|
9196
9196
|
M();
|
|
9197
9197
|
return y.promise;
|
|
9198
9198
|
}, t.clearToken = function() {
|
|
9199
|
-
t.token && (
|
|
9199
|
+
t.token && (x(null, null, null), t.onAuthLogout && t.onAuthLogout(), t.loginRequired && t.login());
|
|
9200
9200
|
};
|
|
9201
9201
|
function w() {
|
|
9202
9202
|
if (typeof t.authServerUrl < "u")
|
|
@@ -9227,7 +9227,7 @@ function e0(e) {
|
|
|
9227
9227
|
}, re.send(K);
|
|
9228
9228
|
}
|
|
9229
9229
|
function de(v, _, W, q) {
|
|
9230
|
-
Z = (Z + (/* @__PURE__ */ new Date()).getTime()) / 2,
|
|
9230
|
+
Z = (Z + (/* @__PURE__ */ new Date()).getTime()) / 2, x(v, _, W, Z), l && (t.tokenParsed && t.tokenParsed.nonce != g.storedNonce || t.refreshTokenParsed && t.refreshTokenParsed.nonce != g.storedNonce || t.idTokenParsed && t.idTokenParsed.nonce != g.storedNonce) ? (c("[KEYCLOAK] Invalid nonce, clearing token"), t.clearToken(), y && y.setError()) : q && (t.onAuthSuccess && t.onAuthSuccess(), y && y.setSuccess());
|
|
9231
9231
|
}
|
|
9232
9232
|
}
|
|
9233
9233
|
function O(g) {
|
|
@@ -9333,7 +9333,7 @@ function e0(e) {
|
|
|
9333
9333
|
function $(g) {
|
|
9334
9334
|
return g.status == 0 && g.responseText && g.responseURL.startsWith("file:");
|
|
9335
9335
|
}
|
|
9336
|
-
function
|
|
9336
|
+
function x(g, y, M, U) {
|
|
9337
9337
|
if (t.tokenTimeoutHandle && (clearTimeout(t.tokenTimeoutHandle), t.tokenTimeoutHandle = null), y ? (t.refreshToken = y, t.refreshTokenParsed = Ka(y)) : (delete t.refreshToken, delete t.refreshTokenParsed), M ? (t.idToken = M, t.idTokenParsed = Ka(M)) : (delete t.idToken, delete t.idTokenParsed), g) {
|
|
9338
9338
|
if (t.token = g, t.tokenParsed = Ka(g), t.sessionId = t.tokenParsed.session_state, t.authenticated = !0, t.subject = t.tokenParsed.sub, t.realmAccess = t.tokenParsed.realm_access, t.resourceAccess = t.tokenParsed.resource_access, U && (t.timeSkew = Math.floor(U / 1e3) - t.tokenParsed.iat), t.timeSkew != null && (c("[KEYCLOAK] Estimated time difference between browser and server is " + t.timeSkew + " seconds"), t.onTokenExpired)) {
|
|
9339
9339
|
var z = (t.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + t.timeSkew) * 1e3;
|
|
@@ -9669,7 +9669,7 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
|
|
|
9669
9669
|
document.cookie = K;
|
|
9670
9670
|
};
|
|
9671
9671
|
};
|
|
9672
|
-
function
|
|
9672
|
+
function C() {
|
|
9673
9673
|
try {
|
|
9674
9674
|
return new V();
|
|
9675
9675
|
} catch {
|
|
@@ -11808,7 +11808,7 @@ class F6 {
|
|
|
11808
11808
|
return this._value = this._getter();
|
|
11809
11809
|
}
|
|
11810
11810
|
}
|
|
11811
|
-
function
|
|
11811
|
+
function Gt(e, t, n) {
|
|
11812
11812
|
return We(e) ? e : ve(e) ? new F6(e) : Me(e) && arguments.length > 1 ? R6(e, t, n) : ni(e);
|
|
11813
11813
|
}
|
|
11814
11814
|
function R6(e, t, n) {
|
|
@@ -11857,22 +11857,22 @@ function H6(e, t = !1, n = cr) {
|
|
|
11857
11857
|
);
|
|
11858
11858
|
}
|
|
11859
11859
|
function z6(e, t, n = Ve) {
|
|
11860
|
-
const { immediate: r, deep: i, once: o, scheduler: s, augmentJob: a, call: l } = n, c = (
|
|
11860
|
+
const { immediate: r, deep: i, once: o, scheduler: s, augmentJob: a, call: l } = n, c = (x) => {
|
|
11861
11861
|
(n.onWarn || sn)(
|
|
11862
11862
|
"Invalid watch source: ",
|
|
11863
|
-
|
|
11863
|
+
x,
|
|
11864
11864
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
11865
11865
|
);
|
|
11866
|
-
}, u = (
|
|
11866
|
+
}, u = (x) => i ? x : Dt(x) || i === !1 || i === 0 ? On(x, 1) : On(x);
|
|
11867
11867
|
let d, f, p, h, m = !1, w = !1;
|
|
11868
|
-
if (We(e) ? (f = () => e.value, m = Dt(e)) : xr(e) ? (f = () => u(e), m = !0) : he(e) ? (w = !0, m = e.some((
|
|
11869
|
-
if (We(
|
|
11870
|
-
return
|
|
11871
|
-
if (xr(
|
|
11872
|
-
return u(
|
|
11873
|
-
if (ve(
|
|
11874
|
-
return l ? l(
|
|
11875
|
-
process.env.NODE_ENV !== "production" && c(
|
|
11868
|
+
if (We(e) ? (f = () => e.value, m = Dt(e)) : xr(e) ? (f = () => u(e), m = !0) : he(e) ? (w = !0, m = e.some((x) => xr(x) || Dt(x)), f = () => e.map((x) => {
|
|
11869
|
+
if (We(x))
|
|
11870
|
+
return x.value;
|
|
11871
|
+
if (xr(x))
|
|
11872
|
+
return u(x);
|
|
11873
|
+
if (ve(x))
|
|
11874
|
+
return l ? l(x, 2) : x();
|
|
11875
|
+
process.env.NODE_ENV !== "production" && c(x);
|
|
11876
11876
|
})) : ve(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
|
|
11877
11877
|
if (p) {
|
|
11878
11878
|
an();
|
|
@@ -11882,29 +11882,29 @@ function z6(e, t, n = Ve) {
|
|
|
11882
11882
|
ln();
|
|
11883
11883
|
}
|
|
11884
11884
|
}
|
|
11885
|
-
const
|
|
11885
|
+
const x = cr;
|
|
11886
11886
|
cr = d;
|
|
11887
11887
|
try {
|
|
11888
11888
|
return l ? l(e, 3, [h]) : e(h);
|
|
11889
11889
|
} finally {
|
|
11890
|
-
cr =
|
|
11890
|
+
cr = x;
|
|
11891
11891
|
}
|
|
11892
11892
|
} : (f = dt, process.env.NODE_ENV !== "production" && c(e)), t && i) {
|
|
11893
|
-
const
|
|
11894
|
-
f = () => On(
|
|
11893
|
+
const x = f, b = i === !0 ? 1 / 0 : i;
|
|
11894
|
+
f = () => On(x(), b);
|
|
11895
11895
|
}
|
|
11896
11896
|
const E = a0(), A = () => {
|
|
11897
11897
|
d.stop(), E && E.active && nu(E.effects, d);
|
|
11898
11898
|
};
|
|
11899
11899
|
if (o && t) {
|
|
11900
|
-
const
|
|
11900
|
+
const x = t;
|
|
11901
11901
|
t = (...b) => {
|
|
11902
|
-
|
|
11902
|
+
x(...b), A();
|
|
11903
11903
|
};
|
|
11904
11904
|
}
|
|
11905
11905
|
let O = w ? new Array(e.length).fill(ds) : ds;
|
|
11906
|
-
const $ = (
|
|
11907
|
-
if (!(!(d.flags & 1) || !d.dirty && !
|
|
11906
|
+
const $ = (x) => {
|
|
11907
|
+
if (!(!(d.flags & 1) || !d.dirty && !x))
|
|
11908
11908
|
if (t) {
|
|
11909
11909
|
const b = d.run();
|
|
11910
11910
|
if (i || m || (w ? b.some((T, D) => Yn(T, O[D])) : Yn(b, O))) {
|
|
@@ -11929,13 +11929,13 @@ function z6(e, t, n = Ve) {
|
|
|
11929
11929
|
} else
|
|
11930
11930
|
d.run();
|
|
11931
11931
|
};
|
|
11932
|
-
return a && a($), d = new l0(f), d.scheduler = s ? () => s($, !1) : $, h = (
|
|
11933
|
-
const
|
|
11934
|
-
if (
|
|
11932
|
+
return a && a($), d = new l0(f), d.scheduler = s ? () => s($, !1) : $, h = (x) => H6(x, !1, d), p = d.onStop = () => {
|
|
11933
|
+
const x = Hs.get(d);
|
|
11934
|
+
if (x) {
|
|
11935
11935
|
if (l)
|
|
11936
|
-
l(
|
|
11936
|
+
l(x, 4);
|
|
11937
11937
|
else
|
|
11938
|
-
for (const b of
|
|
11938
|
+
for (const b of x) b();
|
|
11939
11939
|
Hs.delete(d);
|
|
11940
11940
|
}
|
|
11941
11941
|
}, process.env.NODE_ENV !== "production" && (d.onTrack = n.onTrack, d.onTrigger = n.onTrigger), t ? r ? $(!0) : O = d.run() : s ? s($.bind(null, !0), !0) : d.run(), A.pause = d.pause.bind(d), A.resume = d.resume.bind(d), A.stop = A, A;
|
|
@@ -12461,8 +12461,8 @@ const j0 = Symbol("_vte"), F0 = (e) => e.__isTeleport, wr = (e) => e && (e.disab
|
|
|
12461
12461
|
} = c, E = wr(t.props);
|
|
12462
12462
|
let { shapeFlag: A, children: O, dynamicChildren: $ } = t;
|
|
12463
12463
|
if (process.env.NODE_ENV !== "production" && en && (l = !1, $ = null), e == null) {
|
|
12464
|
-
const
|
|
12465
|
-
p(
|
|
12464
|
+
const x = t.el = process.env.NODE_ENV !== "production" ? w("teleport start") : m(""), b = t.anchor = process.env.NODE_ENV !== "production" ? w("teleport end") : m("");
|
|
12465
|
+
p(x, n, r), p(b, n, r);
|
|
12466
12466
|
const T = (S, P) => {
|
|
12467
12467
|
A & 16 && (i && i.isCE && (i.ce._teleportTarget = S), u(
|
|
12468
12468
|
O,
|
|
@@ -12504,7 +12504,7 @@ const j0 = Symbol("_vte"), F0 = (e) => e.__isTeleport, wr = (e) => e && (e.disab
|
|
|
12504
12504
|
return;
|
|
12505
12505
|
}
|
|
12506
12506
|
t.el = e.el, t.targetStart = e.targetStart;
|
|
12507
|
-
const
|
|
12507
|
+
const x = t.anchor = e.anchor, b = t.target = e.target, T = t.targetAnchor = e.targetAnchor, D = wr(e.props), S = D ? n : b, P = D ? x : T;
|
|
12508
12508
|
if (s === "svg" || $f(b) ? s = "svg" : (s === "mathml" || jf(b)) && (s = "mathml"), $ ? (f(
|
|
12509
12509
|
e.dynamicChildren,
|
|
12510
12510
|
$,
|
|
@@ -12527,7 +12527,7 @@ const j0 = Symbol("_vte"), F0 = (e) => e.__isTeleport, wr = (e) => e && (e.disab
|
|
|
12527
12527
|
D ? t.props && e.props && t.props.to !== e.props.to && (t.props.to = e.props.to) : fs(
|
|
12528
12528
|
t,
|
|
12529
12529
|
n,
|
|
12530
|
-
|
|
12530
|
+
x,
|
|
12531
12531
|
c,
|
|
12532
12532
|
1
|
|
12533
12533
|
);
|
|
@@ -12673,25 +12673,25 @@ function p9() {
|
|
|
12673
12673
|
e.isUnmounting = !0;
|
|
12674
12674
|
}), e;
|
|
12675
12675
|
}
|
|
12676
|
-
const
|
|
12676
|
+
const zt = [Function, Array], U0 = {
|
|
12677
12677
|
mode: String,
|
|
12678
12678
|
appear: Boolean,
|
|
12679
12679
|
persisted: Boolean,
|
|
12680
12680
|
// enter
|
|
12681
|
-
onBeforeEnter:
|
|
12682
|
-
onEnter:
|
|
12683
|
-
onAfterEnter:
|
|
12684
|
-
onEnterCancelled:
|
|
12681
|
+
onBeforeEnter: zt,
|
|
12682
|
+
onEnter: zt,
|
|
12683
|
+
onAfterEnter: zt,
|
|
12684
|
+
onEnterCancelled: zt,
|
|
12685
12685
|
// leave
|
|
12686
|
-
onBeforeLeave:
|
|
12687
|
-
onLeave:
|
|
12688
|
-
onAfterLeave:
|
|
12689
|
-
onLeaveCancelled:
|
|
12686
|
+
onBeforeLeave: zt,
|
|
12687
|
+
onLeave: zt,
|
|
12688
|
+
onAfterLeave: zt,
|
|
12689
|
+
onLeaveCancelled: zt,
|
|
12690
12690
|
// appear
|
|
12691
|
-
onBeforeAppear:
|
|
12692
|
-
onAppear:
|
|
12693
|
-
onAfterAppear:
|
|
12694
|
-
onAppearCancelled:
|
|
12691
|
+
onBeforeAppear: zt,
|
|
12692
|
+
onAppear: zt,
|
|
12693
|
+
onAfterAppear: zt,
|
|
12694
|
+
onAppearCancelled: zt
|
|
12695
12695
|
}, H0 = (e) => {
|
|
12696
12696
|
const t = e.subTree;
|
|
12697
12697
|
return t.component ? H0(t.component) : t;
|
|
@@ -12787,7 +12787,7 @@ function Zl(e, t, n, r, i) {
|
|
|
12787
12787
|
onAppear: E,
|
|
12788
12788
|
onAfterAppear: A,
|
|
12789
12789
|
onAppearCancelled: O
|
|
12790
|
-
} = t, $ = String(e.key),
|
|
12790
|
+
} = t, $ = String(e.key), x = W0(n, e), b = (S, P) => {
|
|
12791
12791
|
S && cn(
|
|
12792
12792
|
S,
|
|
12793
12793
|
r,
|
|
@@ -12811,7 +12811,7 @@ function Zl(e, t, n, r, i) {
|
|
|
12811
12811
|
!0
|
|
12812
12812
|
/* cancelled */
|
|
12813
12813
|
);
|
|
12814
|
-
const N =
|
|
12814
|
+
const N = x[$];
|
|
12815
12815
|
N && dr(e, N) && N.el[zn] && N.el[zn](), b(P, [S]);
|
|
12816
12816
|
},
|
|
12817
12817
|
enter(S) {
|
|
@@ -12837,9 +12837,9 @@ function Zl(e, t, n, r, i) {
|
|
|
12837
12837
|
b(f, [S]);
|
|
12838
12838
|
let R = !1;
|
|
12839
12839
|
const j = S[zn] = (H) => {
|
|
12840
|
-
R || (R = !0, P(), H ? b(m, [S]) : b(h, [S]), S[zn] = void 0,
|
|
12840
|
+
R || (R = !0, P(), H ? b(m, [S]) : b(h, [S]), S[zn] = void 0, x[N] === e && delete x[N]);
|
|
12841
12841
|
};
|
|
12842
|
-
|
|
12842
|
+
x[N] = e, p ? T(p, [S, j]) : j();
|
|
12843
12843
|
},
|
|
12844
12844
|
clone(S) {
|
|
12845
12845
|
const P = Zl(
|
|
@@ -13116,7 +13116,7 @@ function O9(e, t) {
|
|
|
13116
13116
|
}
|
|
13117
13117
|
return e;
|
|
13118
13118
|
}
|
|
13119
|
-
function
|
|
13119
|
+
function Rt(e, t, n = {}, r, i) {
|
|
13120
13120
|
if (nt.ce || nt.parent && ii(nt.parent) && nt.parent.ce)
|
|
13121
13121
|
return t !== "default" && (n.name = t), me(), St(
|
|
13122
13122
|
Ze,
|
|
@@ -13340,7 +13340,7 @@ function D9(e) {
|
|
|
13340
13340
|
beforeUnmount: A,
|
|
13341
13341
|
destroyed: O,
|
|
13342
13342
|
unmounted: $,
|
|
13343
|
-
render:
|
|
13343
|
+
render: x,
|
|
13344
13344
|
renderTracked: b,
|
|
13345
13345
|
renderTriggered: T,
|
|
13346
13346
|
errorCaptured: D,
|
|
@@ -13391,14 +13391,14 @@ function D9(e) {
|
|
|
13391
13391
|
}
|
|
13392
13392
|
if (ql = !0, o)
|
|
13393
13393
|
for (const V in o) {
|
|
13394
|
-
const B = o[V],
|
|
13395
|
-
process.env.NODE_ENV !== "production" &&
|
|
13394
|
+
const B = o[V], C = ve(B) ? B.bind(n, n) : ve(B.get) ? B.get.bind(n, n) : dt;
|
|
13395
|
+
process.env.NODE_ENV !== "production" && C === dt && te(`Computed property "${V}" has no getter.`);
|
|
13396
13396
|
const L = !ve(B) && ve(B.set) ? B.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
13397
13397
|
te(
|
|
13398
13398
|
`Write operation failed: computed property "${V}" is readonly.`
|
|
13399
13399
|
);
|
|
13400
|
-
} : dt, g =
|
|
13401
|
-
get:
|
|
13400
|
+
} : dt, g = Mt({
|
|
13401
|
+
get: C,
|
|
13402
13402
|
set: L
|
|
13403
13403
|
});
|
|
13404
13404
|
Object.defineProperty(r, V, {
|
|
@@ -13419,7 +13419,7 @@ function D9(e) {
|
|
|
13419
13419
|
}
|
|
13420
13420
|
u && Hf(u, e, "c");
|
|
13421
13421
|
function F(V, B) {
|
|
13422
|
-
he(B) ? B.forEach((
|
|
13422
|
+
he(B) ? B.forEach((C) => V(C.bind(n))) : B && V(B.bind(n));
|
|
13423
13423
|
}
|
|
13424
13424
|
if (F(b9, d), F(mu, f), F(x9, p), F(C9, h), F(g9, m), F(v9, w), F(S9, D), F(_9, b), F(E9, T), F(q0, A), F(J0, $), F(w9, S), he(P))
|
|
13425
13425
|
if (P.length) {
|
|
@@ -13427,11 +13427,11 @@ function D9(e) {
|
|
|
13427
13427
|
P.forEach((B) => {
|
|
13428
13428
|
Object.defineProperty(V, B, {
|
|
13429
13429
|
get: () => n[B],
|
|
13430
|
-
set: (
|
|
13430
|
+
set: (C) => n[B] = C
|
|
13431
13431
|
});
|
|
13432
13432
|
});
|
|
13433
13433
|
} else e.exposed || (e.exposed = {});
|
|
13434
|
-
|
|
13434
|
+
x && e.render === dt && (e.render = x), N != null && (e.inheritAttrs = N), R && (e.components = R), j && (e.directives = j), S && K0(e);
|
|
13435
13435
|
}
|
|
13436
13436
|
function L9(e, t, n = dt) {
|
|
13437
13437
|
he(e) && (e = Jl(e));
|
|
@@ -14152,7 +14152,7 @@ function t7(e, t) {
|
|
|
14152
14152
|
}, O = (v, _, W, q) => {
|
|
14153
14153
|
if (_.children !== v.children) {
|
|
14154
14154
|
const Y = f(v.anchor);
|
|
14155
|
-
|
|
14155
|
+
x(v), [_.el, _.anchor] = h(
|
|
14156
14156
|
_.children,
|
|
14157
14157
|
W,
|
|
14158
14158
|
Y,
|
|
@@ -14165,7 +14165,7 @@ function t7(e, t) {
|
|
|
14165
14165
|
for (; v && v !== _; )
|
|
14166
14166
|
Y = f(v), r(v, W, q), v = Y;
|
|
14167
14167
|
r(_, W, q);
|
|
14168
|
-
},
|
|
14168
|
+
}, x = ({ el: v, anchor: _ }) => {
|
|
14169
14169
|
let W;
|
|
14170
14170
|
for (; v && v !== _; )
|
|
14171
14171
|
W = f(v), i(v), v = W;
|
|
@@ -14263,7 +14263,7 @@ function t7(e, t) {
|
|
|
14263
14263
|
q,
|
|
14264
14264
|
ol(_, Y),
|
|
14265
14265
|
J
|
|
14266
|
-
), process.env.NODE_ENV !== "production" && no(v, _)) : oe ||
|
|
14266
|
+
), process.env.NODE_ENV !== "production" && no(v, _)) : oe || C(
|
|
14267
14267
|
v,
|
|
14268
14268
|
_,
|
|
14269
14269
|
ne,
|
|
@@ -14373,7 +14373,7 @@ function t7(e, t) {
|
|
|
14373
14373
|
!0
|
|
14374
14374
|
/* shallow */
|
|
14375
14375
|
)
|
|
14376
|
-
)) :
|
|
14376
|
+
)) : C(
|
|
14377
14377
|
v,
|
|
14378
14378
|
_,
|
|
14379
14379
|
W,
|
|
@@ -14501,7 +14501,7 @@ function t7(e, t) {
|
|
|
14501
14501
|
_.component = v;
|
|
14502
14502
|
const q = v.vnode.props;
|
|
14503
14503
|
v.vnode = _, v.next = null, U9(v, _.props, q, W), X9(v, _.children, W), an(), If(v), ln();
|
|
14504
|
-
},
|
|
14504
|
+
}, C = (v, _, W, q, Y, J, oe, ne, se = !1) => {
|
|
14505
14505
|
const Q = v && v.children, fe = v ? v.shapeFlag : 0, ae = _.children, { patchFlag: pe, shapeFlag: ge } = _;
|
|
14506
14506
|
if (pe > 0) {
|
|
14507
14507
|
if (pe & 128) {
|
|
@@ -14802,7 +14802,7 @@ function t7(e, t) {
|
|
|
14802
14802
|
return;
|
|
14803
14803
|
}
|
|
14804
14804
|
if (_ === Ts) {
|
|
14805
|
-
|
|
14805
|
+
x(v);
|
|
14806
14806
|
return;
|
|
14807
14807
|
}
|
|
14808
14808
|
const J = () => {
|
|
@@ -14865,7 +14865,7 @@ function t7(e, t) {
|
|
|
14865
14865
|
r: U,
|
|
14866
14866
|
mt: I,
|
|
14867
14867
|
mc: S,
|
|
14868
|
-
pc:
|
|
14868
|
+
pc: C,
|
|
14869
14869
|
pbc: N,
|
|
14870
14870
|
n: K,
|
|
14871
14871
|
o: e
|
|
@@ -15089,7 +15089,7 @@ function qf(e) {
|
|
|
15089
15089
|
process.env.NODE_ENV !== "production" && (ec = !1);
|
|
15090
15090
|
try {
|
|
15091
15091
|
if (n.shapeFlag & 4) {
|
|
15092
|
-
const
|
|
15092
|
+
const x = i || r, b = process.env.NODE_ENV !== "production" && p.__isScriptSetup ? new Proxy(x, {
|
|
15093
15093
|
get(T, D, S) {
|
|
15094
15094
|
return te(
|
|
15095
15095
|
`Property '${String(
|
|
@@ -15097,11 +15097,11 @@ function qf(e) {
|
|
|
15097
15097
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
15098
15098
|
), Reflect.get(T, D, S);
|
|
15099
15099
|
}
|
|
15100
|
-
}) :
|
|
15100
|
+
}) : x;
|
|
15101
15101
|
E = Jt(
|
|
15102
15102
|
c.call(
|
|
15103
15103
|
b,
|
|
15104
|
-
|
|
15104
|
+
x,
|
|
15105
15105
|
u,
|
|
15106
15106
|
process.env.NODE_ENV !== "production" ? Qt(d) : d,
|
|
15107
15107
|
p,
|
|
@@ -15110,9 +15110,9 @@ function qf(e) {
|
|
|
15110
15110
|
)
|
|
15111
15111
|
), A = a;
|
|
15112
15112
|
} else {
|
|
15113
|
-
const
|
|
15113
|
+
const x = t;
|
|
15114
15114
|
process.env.NODE_ENV !== "production" && a === d && Xs(), E = Jt(
|
|
15115
|
-
|
|
15115
|
+
x.length > 1 ? x(
|
|
15116
15116
|
process.env.NODE_ENV !== "production" ? Qt(d) : d,
|
|
15117
15117
|
process.env.NODE_ENV !== "production" ? {
|
|
15118
15118
|
get attrs() {
|
|
@@ -15121,21 +15121,21 @@ function qf(e) {
|
|
|
15121
15121
|
slots: s,
|
|
15122
15122
|
emit: l
|
|
15123
15123
|
} : { attrs: a, slots: s, emit: l }
|
|
15124
|
-
) :
|
|
15124
|
+
) : x(
|
|
15125
15125
|
process.env.NODE_ENV !== "production" ? Qt(d) : d,
|
|
15126
15126
|
null
|
|
15127
15127
|
)
|
|
15128
15128
|
), A = t.props ? a : c7(a);
|
|
15129
15129
|
}
|
|
15130
|
-
} catch (
|
|
15131
|
-
ro.length = 0, Uo(
|
|
15130
|
+
} catch (x) {
|
|
15131
|
+
ro.length = 0, Uo(x, e, 1), E = qe(tt);
|
|
15132
15132
|
}
|
|
15133
15133
|
let O = E, $;
|
|
15134
15134
|
if (process.env.NODE_ENV !== "production" && E.patchFlag > 0 && E.patchFlag & 2048 && ([O, $] = g1(E)), A && m !== !1) {
|
|
15135
|
-
const
|
|
15136
|
-
if (
|
|
15135
|
+
const x = Object.keys(A), { shapeFlag: b } = O;
|
|
15136
|
+
if (x.length) {
|
|
15137
15137
|
if (b & 7)
|
|
15138
|
-
o &&
|
|
15138
|
+
o && x.some(Fs) && (A = u7(
|
|
15139
15139
|
A,
|
|
15140
15140
|
o
|
|
15141
15141
|
)), O = bn(O, A, !1, !0);
|
|
@@ -15243,19 +15243,19 @@ function p7(e, t) {
|
|
|
15243
15243
|
t && t.pendingBranch ? he(e) ? t.effects.push(...e) : t.effects.push(e) : A0(e);
|
|
15244
15244
|
}
|
|
15245
15245
|
const Ze = Symbol.for("v-fgt"), Wo = Symbol.for("v-txt"), tt = Symbol.for("v-cmt"), Ts = Symbol.for("v-stc"), ro = [];
|
|
15246
|
-
let
|
|
15246
|
+
let Ft = null;
|
|
15247
15247
|
function me(e = !1) {
|
|
15248
|
-
ro.push(
|
|
15248
|
+
ro.push(Ft = e ? null : []);
|
|
15249
15249
|
}
|
|
15250
15250
|
function h7() {
|
|
15251
|
-
ro.pop(),
|
|
15251
|
+
ro.pop(), Ft = ro[ro.length - 1] || null;
|
|
15252
15252
|
}
|
|
15253
15253
|
let Co = 1;
|
|
15254
15254
|
function Qf(e, t = !1) {
|
|
15255
|
-
Co += e, e < 0 &&
|
|
15255
|
+
Co += e, e < 0 && Ft && t && (Ft.hasOnce = !0);
|
|
15256
15256
|
}
|
|
15257
15257
|
function y1(e) {
|
|
15258
|
-
return e.dynamicChildren = Co > 0 ?
|
|
15258
|
+
return e.dynamicChildren = Co > 0 ? Ft || ti : null, h7(), Co > 0 && Ft && Ft.push(e), e;
|
|
15259
15259
|
}
|
|
15260
15260
|
function Te(e, t, n, r, i, o) {
|
|
15261
15261
|
return y1(
|
|
@@ -15332,13 +15332,13 @@ function Ae(e, t = null, n = null, r = 0, i = null, o = e === Ze ? 0 : 1, s = !1
|
|
|
15332
15332
|
};
|
|
15333
15333
|
return a ? (wu(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= Be(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && te("VNode created with invalid key (NaN). VNode type:", l.type), Co > 0 && // avoid a block node from tracking itself
|
|
15334
15334
|
!s && // has current parent block
|
|
15335
|
-
|
|
15335
|
+
Ft && // presence of a patch flag indicates this node needs patching on updates.
|
|
15336
15336
|
// component nodes also should always be patched, because even if the
|
|
15337
15337
|
// component doesn't need to update, it needs to persist the instance on to
|
|
15338
15338
|
// the next vnode so that it can be properly unmounted later.
|
|
15339
15339
|
(l.patchFlag > 0 || o & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
|
15340
15340
|
// vnode should not be considered dynamic due to handler caching.
|
|
15341
|
-
l.patchFlag !== 32 &&
|
|
15341
|
+
l.patchFlag !== 32 && Ft.push(l), l;
|
|
15342
15342
|
}
|
|
15343
15343
|
const qe = process.env.NODE_ENV !== "production" ? m7 : x1;
|
|
15344
15344
|
function x1(e, t = null, n = null, r = 0, i = null, o = !1) {
|
|
@@ -15349,7 +15349,7 @@ function x1(e, t = null, n = null, r = 0, i = null, o = !1) {
|
|
|
15349
15349
|
!0
|
|
15350
15350
|
/* mergeRef: true */
|
|
15351
15351
|
);
|
|
15352
|
-
return n && wu(a, n), Co > 0 && !o &&
|
|
15352
|
+
return n && wu(a, n), Co > 0 && !o && Ft && (a.shapeFlag & 6 ? Ft[Ft.indexOf(e)] = a : Ft.push(a)), a.patchFlag = -2, a;
|
|
15353
15353
|
}
|
|
15354
15354
|
if (_1(e) && (e = e.__vccOpts), t) {
|
|
15355
15355
|
t = g7(t);
|
|
@@ -15776,7 +15776,7 @@ function _a(e, t, n = !1) {
|
|
|
15776
15776
|
function _1(e) {
|
|
15777
15777
|
return ve(e) && "__vccOpts" in e;
|
|
15778
15778
|
}
|
|
15779
|
-
const
|
|
15779
|
+
const Mt = (e, t) => {
|
|
15780
15780
|
const n = U6(e, t, wo);
|
|
15781
15781
|
if (process.env.NODE_ENV !== "production") {
|
|
15782
15782
|
const r = wa();
|
|
@@ -16032,7 +16032,7 @@ function M7(e) {
|
|
|
16032
16032
|
onEnter: A,
|
|
16033
16033
|
onEnterCancelled: O,
|
|
16034
16034
|
onLeave: $,
|
|
16035
|
-
onLeaveCancelled:
|
|
16035
|
+
onLeaveCancelled: x,
|
|
16036
16036
|
onBeforeAppear: b = E,
|
|
16037
16037
|
onAppear: T = A,
|
|
16038
16038
|
onAppearCancelled: D = O
|
|
@@ -16069,7 +16069,7 @@ function M7(e) {
|
|
|
16069
16069
|
S(R, !0, void 0, !0), or(D, [R]);
|
|
16070
16070
|
},
|
|
16071
16071
|
onLeaveCancelled(R) {
|
|
16072
|
-
P(R), or(
|
|
16072
|
+
P(R), or(x, [R]);
|
|
16073
16073
|
}
|
|
16074
16074
|
});
|
|
16075
16075
|
}
|
|
@@ -16887,11 +16887,11 @@ function C8(e) {
|
|
|
16887
16887
|
}
|
|
16888
16888
|
var w8 = 0;
|
|
16889
16889
|
function T1(e) {
|
|
16890
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ni(!1), r = ni(e), i = ni(null), o = ce.isClient() ? window.document : void 0, s = t.document, a = s === void 0 ? o : s, l = t.immediate, c = l === void 0 ? !0 : l, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? "style_".concat(++w8) : f, h = t.id, m = h === void 0 ? void 0 : h, w = t.media, E = w === void 0 ? void 0 : w, A = t.nonce, O = A === void 0 ? void 0 : A, $ = t.props,
|
|
16890
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = ni(!1), r = ni(e), i = ni(null), o = ce.isClient() ? window.document : void 0, s = t.document, a = s === void 0 ? o : s, l = t.immediate, c = l === void 0 ? !0 : l, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? "style_".concat(++w8) : f, h = t.id, m = h === void 0 ? void 0 : h, w = t.media, E = w === void 0 ? void 0 : w, A = t.nonce, O = A === void 0 ? void 0 : A, $ = t.props, x = $ === void 0 ? {} : $, b = function() {
|
|
16891
16891
|
}, T = function(S) {
|
|
16892
16892
|
var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
16893
16893
|
if (a) {
|
|
16894
|
-
var N = Tp(Tp({},
|
|
16894
|
+
var N = Tp(Tp({}, x), P), R = N.name || p, j = N.id || m, H = N.nonce || O;
|
|
16895
16895
|
i.value = a.querySelector('style[data-primevue-style-id="'.concat(R, '"]')) || a.getElementById(j) || a.createElement("style"), i.value.isConnected || (r.value = S || e, ce.setAttributes(i.value, {
|
|
16896
16896
|
type: "text/css",
|
|
16897
16897
|
id: j,
|
|
@@ -17023,7 +17023,7 @@ var N8 = `
|
|
|
17023
17023
|
overflow: hidden;
|
|
17024
17024
|
padding-right: var(--scrollbar-width);
|
|
17025
17025
|
}
|
|
17026
|
-
`, D8 = {}, L8 = {},
|
|
17026
|
+
`, D8 = {}, L8 = {}, Bt = {
|
|
17027
17027
|
name: "base",
|
|
17028
17028
|
css: N8,
|
|
17029
17029
|
classes: D8,
|
|
@@ -17253,7 +17253,7 @@ var Fe = {
|
|
|
17253
17253
|
},
|
|
17254
17254
|
beforeMount: function(r, i, o, s) {
|
|
17255
17255
|
var a, l, c, u, d = Fe._getConfig(i, o);
|
|
17256
|
-
|
|
17256
|
+
Bt.loadStyle(void 0, {
|
|
17257
17257
|
nonce: d == null || (a = d.csp) === null || a === void 0 ? void 0 : a.nonce
|
|
17258
17258
|
}), !((l = r.$instance) !== null && l !== void 0 && l.isUnstyled()) && ((c = r.$instance) === null || c === void 0 || (c = c.$style) === null || c === void 0 || c.loadStyle(void 0, {
|
|
17259
17259
|
nonce: d == null || (u = d.csp) === null || u === void 0 ? void 0 : u.nonce
|
|
@@ -17346,7 +17346,7 @@ var Fe = {
|
|
|
17346
17346
|
root: "p-tooltip p-component",
|
|
17347
17347
|
arrow: "p-tooltip-arrow",
|
|
17348
17348
|
text: "p-tooltip-text"
|
|
17349
|
-
}, U8 =
|
|
17349
|
+
}, U8 = Bt.extend({
|
|
17350
17350
|
name: "tooltip",
|
|
17351
17351
|
css: R8,
|
|
17352
17352
|
classes: B8
|
|
@@ -17652,7 +17652,7 @@ var Y8 = H8.extend("tooltip", {
|
|
|
17652
17652
|
"p-badge-danger": t.severity === "danger"
|
|
17653
17653
|
}];
|
|
17654
17654
|
}
|
|
17655
|
-
}, X8 =
|
|
17655
|
+
}, X8 = Bt.extend({
|
|
17656
17656
|
name: "badge",
|
|
17657
17657
|
css: q8,
|
|
17658
17658
|
classes: J8
|
|
@@ -18046,7 +18046,7 @@ var rx = `
|
|
|
18046
18046
|
`).concat(ox, `
|
|
18047
18047
|
`).concat(sx, `
|
|
18048
18048
|
}
|
|
18049
|
-
`), dl =
|
|
18049
|
+
`), dl = Bt.extend({
|
|
18050
18050
|
name: "common",
|
|
18051
18051
|
css: ax,
|
|
18052
18052
|
loadGlobalStyle: function(e) {
|
|
@@ -18149,7 +18149,7 @@ var jn = {
|
|
|
18149
18149
|
},
|
|
18150
18150
|
beforeMount: function() {
|
|
18151
18151
|
var e;
|
|
18152
|
-
|
|
18152
|
+
Bt.loadStyle({
|
|
18153
18153
|
nonce: (e = this.$config) === null || e === void 0 || (e = e.csp) === null || e === void 0 ? void 0 : e.nonce
|
|
18154
18154
|
}), this._loadGlobalStyles(), this._hook("onBeforeMount");
|
|
18155
18155
|
},
|
|
@@ -18341,7 +18341,7 @@ function dx(e, t, n, r, i, o) {
|
|
|
18341
18341
|
class: e.cx("root")
|
|
18342
18342
|
}, e.ptm("root"), {
|
|
18343
18343
|
"data-pc-name": "badge"
|
|
18344
|
-
}), [
|
|
18344
|
+
}), [Rt(e.$slots, "default", {}, function() {
|
|
18345
18345
|
return [Go(nn(e.value), 1)];
|
|
18346
18346
|
})], 16);
|
|
18347
18347
|
}
|
|
@@ -18377,7 +18377,7 @@ var fx = `
|
|
|
18377
18377
|
transform: rotate(359deg);
|
|
18378
18378
|
}
|
|
18379
18379
|
}
|
|
18380
|
-
`, px =
|
|
18380
|
+
`, px = Bt.extend({
|
|
18381
18381
|
name: "baseicon",
|
|
18382
18382
|
css: fx
|
|
18383
18383
|
});
|
|
@@ -18518,7 +18518,7 @@ var _x = `
|
|
|
18518
18518
|
}
|
|
18519
18519
|
`, Sx = {
|
|
18520
18520
|
root: "p-ink"
|
|
18521
|
-
}, kx =
|
|
18521
|
+
}, kx = Bt.extend({
|
|
18522
18522
|
name: "ripple",
|
|
18523
18523
|
css: _x,
|
|
18524
18524
|
classes: Sx
|
|
@@ -18654,7 +18654,7 @@ var Vx = {
|
|
|
18654
18654
|
}];
|
|
18655
18655
|
},
|
|
18656
18656
|
label: "p-button-label"
|
|
18657
|
-
}, Mx =
|
|
18657
|
+
}, Mx = Bt.extend({
|
|
18658
18658
|
name: "button",
|
|
18659
18659
|
classes: Vx
|
|
18660
18660
|
}), $x = {
|
|
@@ -18777,8 +18777,8 @@ function Fx(e, t, n, r, i, o) {
|
|
|
18777
18777
|
}, o.getPTOptions("root"), {
|
|
18778
18778
|
"data-pc-name": "button",
|
|
18779
18779
|
"data-pc-severity": e.severity
|
|
18780
|
-
}), [
|
|
18781
|
-
return [e.loading ?
|
|
18780
|
+
}), [Rt(e.$slots, "default", {}, function() {
|
|
18781
|
+
return [e.loading ? Rt(e.$slots, "loadingicon", {
|
|
18782
18782
|
key: 0,
|
|
18783
18783
|
class: In([e.cx("loadingIcon"), e.cx("icon")])
|
|
18784
18784
|
}, function() {
|
|
@@ -18790,7 +18790,7 @@ function Fx(e, t, n, r, i, o) {
|
|
|
18790
18790
|
class: [e.cx("loadingIcon"), e.cx("icon")],
|
|
18791
18791
|
spin: ""
|
|
18792
18792
|
}, e.ptm("loadingIcon")), null, 16, ["class"]))];
|
|
18793
|
-
}) :
|
|
18793
|
+
}) : Rt(e.$slots, "icon", {
|
|
18794
18794
|
key: 1,
|
|
18795
18795
|
class: In([e.cx("icon")])
|
|
18796
18796
|
}, function() {
|
|
@@ -18899,7 +18899,7 @@ var Rx = `
|
|
|
18899
18899
|
}];
|
|
18900
18900
|
},
|
|
18901
18901
|
content: "p-divider-content"
|
|
18902
|
-
}, Hx =
|
|
18902
|
+
}, Hx = Bt.extend({
|
|
18903
18903
|
name: "divider",
|
|
18904
18904
|
css: Rx,
|
|
18905
18905
|
classes: Ux,
|
|
@@ -18942,7 +18942,7 @@ function Gx(e, t, n, r, i, o) {
|
|
|
18942
18942
|
}), [e.$slots.default ? (me(), Te("div", Ee({
|
|
18943
18943
|
key: 0,
|
|
18944
18944
|
class: e.cx("content")
|
|
18945
|
-
}, e.ptm("content")), [
|
|
18945
|
+
}, e.ptm("content")), [Rt(e.$slots, "default")], 16)) : pt("", !0)], 16, Wx);
|
|
18946
18946
|
}
|
|
18947
18947
|
D1.render = Gx;
|
|
18948
18948
|
var Kx = I4(), L1 = {
|
|
@@ -18972,12 +18972,12 @@ var Kx = I4(), L1 = {
|
|
|
18972
18972
|
}
|
|
18973
18973
|
};
|
|
18974
18974
|
function Zx(e, t, n, r, i, o) {
|
|
18975
|
-
return o.inline ?
|
|
18975
|
+
return o.inline ? Rt(e.$slots, "default", {
|
|
18976
18976
|
key: 0
|
|
18977
18977
|
}) : i.mounted ? (me(), St(f9, {
|
|
18978
18978
|
key: 1,
|
|
18979
18979
|
to: n.appendTo
|
|
18980
|
-
}, [
|
|
18980
|
+
}, [Rt(e.$slots, "default")], 8, ["to"])) : pt("", !0);
|
|
18981
18981
|
}
|
|
18982
18982
|
L1.render = Zx;
|
|
18983
18983
|
var Yx = `
|
|
@@ -19026,7 +19026,7 @@ var Yx = `
|
|
|
19026
19026
|
action: "p-menuitem-link",
|
|
19027
19027
|
icon: "p-menuitem-icon",
|
|
19028
19028
|
label: "p-menuitem-text"
|
|
19029
|
-
}, Jx =
|
|
19029
|
+
}, Jx = Bt.extend({
|
|
19030
19030
|
name: "menu",
|
|
19031
19031
|
css: Yx,
|
|
19032
19032
|
classes: qx
|
|
@@ -19483,7 +19483,7 @@ function fC(e, t, n, r, i, o) {
|
|
|
19483
19483
|
}), [e.$slots.start ? (me(), Te("div", Ee({
|
|
19484
19484
|
key: 0,
|
|
19485
19485
|
class: e.cx("start")
|
|
19486
|
-
}, e.ptm("start")), [
|
|
19486
|
+
}, e.ptm("start")), [Rt(e.$slots, "start")], 16)) : pt("", !0), Ae("ul", Ee({
|
|
19487
19487
|
ref: o.listRef,
|
|
19488
19488
|
id: i.id + "_list",
|
|
19489
19489
|
class: e.cx("menu"),
|
|
@@ -19511,7 +19511,7 @@ function fC(e, t, n, r, i, o) {
|
|
|
19511
19511
|
id: i.id + "_" + c,
|
|
19512
19512
|
class: [e.cx("submenuHeader"), l.class],
|
|
19513
19513
|
role: "none"
|
|
19514
|
-
}, e.ptm("submenuHeader")), [
|
|
19514
|
+
}, e.ptm("submenuHeader")), [Rt(e.$slots, "submenuheader", {
|
|
19515
19515
|
item: l
|
|
19516
19516
|
}, function() {
|
|
19517
19517
|
return [Go(nn(o.label(l)), 1)];
|
|
@@ -19550,7 +19550,7 @@ function fC(e, t, n, r, i, o) {
|
|
|
19550
19550
|
}), 128))], 16, uC), e.$slots.end ? (me(), Te("div", Ee({
|
|
19551
19551
|
key: 1,
|
|
19552
19552
|
class: e.cx("end")
|
|
19553
|
-
}, e.ptm("end")), [
|
|
19553
|
+
}, e.ptm("end")), [Rt(e.$slots, "end")], 16)) : pt("", !0)], 16, cC)) : pt("", !0)];
|
|
19554
19554
|
}),
|
|
19555
19555
|
_: 3
|
|
19556
19556
|
}, 16, ["onEnter", "onLeave", "onAfterLeave"])];
|
|
@@ -19587,7 +19587,7 @@ const pC = Object.prototype.toString, hC = (e) => pC.call(e) === "[object Object
|
|
|
19587
19587
|
};
|
|
19588
19588
|
function pl(...e) {
|
|
19589
19589
|
if (e.length !== 1)
|
|
19590
|
-
return
|
|
19590
|
+
return Gt(...e);
|
|
19591
19591
|
const t = e[0];
|
|
19592
19592
|
return typeof t == "function" ? Ar($6(() => ({ get: t, set: mC }))) : ni(t);
|
|
19593
19593
|
}
|
|
@@ -19630,8 +19630,8 @@ function lc(e, t = !1) {
|
|
|
19630
19630
|
const A = [new Promise((O) => {
|
|
19631
19631
|
E = Pn(
|
|
19632
19632
|
[e, d],
|
|
19633
|
-
([$,
|
|
19634
|
-
t !== ($ ===
|
|
19633
|
+
([$, x]) => {
|
|
19634
|
+
t !== ($ === x) && (E ? E() : yo(() => E?.()), O($));
|
|
19635
19635
|
},
|
|
19636
19636
|
{
|
|
19637
19637
|
flush: p,
|
|
@@ -19736,7 +19736,7 @@ function xC(e) {
|
|
|
19736
19736
|
function CC(...e) {
|
|
19737
19737
|
const t = [], n = () => {
|
|
19738
19738
|
t.forEach((a) => a()), t.length = 0;
|
|
19739
|
-
}, r = (a, l, c, u) => (a.addEventListener(l, c, u), () => a.removeEventListener(l, c, u)), i =
|
|
19739
|
+
}, r = (a, l, c, u) => (a.addEventListener(l, c, u), () => a.removeEventListener(l, c, u)), i = Mt(() => {
|
|
19740
19740
|
const a = hl(Kt(e[0])).filter((l) => l != null);
|
|
19741
19741
|
return a.every((l) => typeof l != "string") ? a : void 0;
|
|
19742
19742
|
}), o = bC(
|
|
@@ -19797,7 +19797,7 @@ function EC(e, ...t) {
|
|
|
19797
19797
|
fetch: l = (r = (n = M1) == null ? void 0 : n.fetch) != null ? r : globalThis?.fetch,
|
|
19798
19798
|
initialData: c,
|
|
19799
19799
|
timeout: u
|
|
19800
|
-
} = s, d = fl(), f = fl(), p = fl(), h = Sn(!1), m = Sn(!1), w = Sn(!1), E = Sn(null), A = Sn(null), O = Sn(null), $ = Sn(c || null),
|
|
19800
|
+
} = s, d = fl(), f = fl(), p = fl(), h = Sn(!1), m = Sn(!1), w = Sn(!1), E = Sn(null), A = Sn(null), O = Sn(null), $ = Sn(c || null), x = Mt(() => i && m.value);
|
|
19801
19801
|
let b, T;
|
|
19802
19802
|
const D = (V) => {
|
|
19803
19803
|
i && (b?.abort(V), b = new AbortController(), b.signal.onabort = () => w.value = !0, o = {
|
|
@@ -19810,7 +19810,7 @@ function EC(e, ...t) {
|
|
|
19810
19810
|
u && (T = yC(D, u, { immediate: !1 }));
|
|
19811
19811
|
let P = 0;
|
|
19812
19812
|
const N = async (V = !1) => {
|
|
19813
|
-
var B,
|
|
19813
|
+
var B, C;
|
|
19814
19814
|
D(), S(!0), O.value = null, E.value = null, w.value = !1, P += 1;
|
|
19815
19815
|
const L = P, g = {
|
|
19816
19816
|
method: a.method,
|
|
@@ -19841,7 +19841,7 @@ function EC(e, ...t) {
|
|
|
19841
19841
|
...U.options,
|
|
19842
19842
|
headers: {
|
|
19843
19843
|
...ml(g.headers),
|
|
19844
|
-
...ml((
|
|
19844
|
+
...ml((C = U.options) == null ? void 0 : C.headers)
|
|
19845
19845
|
}
|
|
19846
19846
|
}
|
|
19847
19847
|
).then(async (Z) => {
|
|
@@ -19883,7 +19883,7 @@ function EC(e, ...t) {
|
|
|
19883
19883
|
response: A,
|
|
19884
19884
|
error: O,
|
|
19885
19885
|
data: $,
|
|
19886
|
-
canAbort:
|
|
19886
|
+
canAbort: x,
|
|
19887
19887
|
aborted: w,
|
|
19888
19888
|
abort: D,
|
|
19889
19889
|
execute: N,
|
|
@@ -19906,9 +19906,9 @@ function EC(e, ...t) {
|
|
|
19906
19906
|
formData: F("formData")
|
|
19907
19907
|
};
|
|
19908
19908
|
function H(V) {
|
|
19909
|
-
return (B,
|
|
19909
|
+
return (B, C) => {
|
|
19910
19910
|
if (!m.value)
|
|
19911
|
-
return a.method = V, a.payload = B, a.payloadType =
|
|
19911
|
+
return a.method = V, a.payload = B, a.payloadType = C, We(a.payload) && Pn(
|
|
19912
19912
|
[
|
|
19913
19913
|
R,
|
|
19914
19914
|
pl(a.payload)
|
|
@@ -19933,8 +19933,8 @@ function EC(e, ...t) {
|
|
|
19933
19933
|
if (!m.value)
|
|
19934
19934
|
return a.type = V, {
|
|
19935
19935
|
...j,
|
|
19936
|
-
then(B,
|
|
19937
|
-
return I().then(B,
|
|
19936
|
+
then(B, C) {
|
|
19937
|
+
return I().then(B, C);
|
|
19938
19938
|
}
|
|
19939
19939
|
};
|
|
19940
19940
|
};
|
|
@@ -19990,7 +19990,7 @@ var _C = `
|
|
|
19990
19990
|
},
|
|
19991
19991
|
label: "p-avatar-text",
|
|
19992
19992
|
icon: "p-avatar-icon"
|
|
19993
|
-
}, kC =
|
|
19993
|
+
}, kC = Bt.extend({
|
|
19994
19994
|
name: "avatar",
|
|
19995
19995
|
css: _C,
|
|
19996
19996
|
classes: SC
|
|
@@ -20050,7 +20050,7 @@ function PC(e, t, n, r, i, o) {
|
|
|
20050
20050
|
"aria-label": e.ariaLabel
|
|
20051
20051
|
}, e.ptm("root"), {
|
|
20052
20052
|
"data-pc-name": "avatar"
|
|
20053
|
-
}), [
|
|
20053
|
+
}), [Rt(e.$slots, "default", {}, function() {
|
|
20054
20054
|
return [e.label ? (me(), Te("span", Ee({
|
|
20055
20055
|
key: 0,
|
|
20056
20056
|
class: e.cx("label")
|
|
@@ -20090,7 +20090,7 @@ const j1 = Symbol("labs-custom-elements-options"), Tu = () => {
|
|
|
20090
20090
|
shape: { type: null }
|
|
20091
20091
|
},
|
|
20092
20092
|
setup(e) {
|
|
20093
|
-
const t = e, { apiUri: n } = Tu(), r =
|
|
20093
|
+
const t = e, { apiUri: n } = Tu(), r = Gt(() => t.userId), i = hu("avatar"), o = Mt(() => {
|
|
20094
20094
|
if (!i.value) return;
|
|
20095
20095
|
const f = i.value.$el;
|
|
20096
20096
|
if (!f) return;
|
|
@@ -20099,16 +20099,16 @@ const j1 = Symbol("labs-custom-elements-options"), Tu = () => {
|
|
|
20099
20099
|
return p;
|
|
20100
20100
|
}), s = ni(!0);
|
|
20101
20101
|
CC(o, "error", () => s.value = !1);
|
|
20102
|
-
const a =
|
|
20102
|
+
const a = Mt(() => `${n}/api/users/${r.value}/photo`), l = Mt(() => {
|
|
20103
20103
|
const f = t.firstName?.charAt(0).toLocaleUpperCase() ?? "", p = t.lastName?.charAt(0).toLocaleUpperCase() ?? "";
|
|
20104
20104
|
return `${f}${p}`;
|
|
20105
|
-
}), c =
|
|
20105
|
+
}), c = Mt(() => {
|
|
20106
20106
|
if (!s.value)
|
|
20107
20107
|
return l.value;
|
|
20108
|
-
}), u =
|
|
20108
|
+
}), u = Mt(() => {
|
|
20109
20109
|
if (s.value)
|
|
20110
20110
|
return a.value;
|
|
20111
|
-
}), d =
|
|
20111
|
+
}), d = Mt(() => {
|
|
20112
20112
|
if (!(s.value || c.value))
|
|
20113
20113
|
return "pi-user";
|
|
20114
20114
|
});
|
|
@@ -20143,39 +20143,46 @@ const j1 = Symbol("labs-custom-elements-options"), Tu = () => {
|
|
|
20143
20143
|
inheritAttrs: !1,
|
|
20144
20144
|
__name: "LabsAccount.ce",
|
|
20145
20145
|
setup(e) {
|
|
20146
|
-
const { keycloak: t,
|
|
20146
|
+
const { keycloak: t, analytics: n, apiUri: r } = Tu(), i = Gt(() => t.tokenParsed), o = Gt(() => i.value?.user_id || ""), s = Gt(() => i.value?.given_name || ""), a = Gt(() => i.value?.family_name || ""), l = Gt(() => i.value?.name || ""), c = Gt(() => i.value?.job_title || ""), u = Gt(() => i.value?.email || ""), d = Gt(() => i.value?.resource_access?.[LC]), f = Gt(() => d.value?.roles ?? []), { SUPER_ADMIN: p, TENANT_ADMIN: h } = IC, m = Mt(() => f.value.includes(p)), w = Mt(() => f.value.includes(h)), E = Mt(() => m.value || w.value), A = Mt(() => [
|
|
20147
20147
|
{
|
|
20148
20148
|
label: "Profile",
|
|
20149
20149
|
icon: "pi-user",
|
|
20150
|
-
url: `${
|
|
20150
|
+
url: `${r}/account/profile`
|
|
20151
20151
|
},
|
|
20152
20152
|
{
|
|
20153
20153
|
label: "Admin",
|
|
20154
20154
|
icon: "pi-shield",
|
|
20155
|
-
url: `${
|
|
20156
|
-
visible:
|
|
20155
|
+
url: `${r}/admin`,
|
|
20156
|
+
visible: E.value
|
|
20157
20157
|
},
|
|
20158
20158
|
{
|
|
20159
20159
|
label: "Logout",
|
|
20160
20160
|
icon: "pi-sign-out",
|
|
20161
|
-
command() {
|
|
20162
|
-
|
|
20161
|
+
async command() {
|
|
20162
|
+
try {
|
|
20163
|
+
await n?.reset(), await t.logout({ redirectUri: `${r}/login` });
|
|
20164
|
+
} catch (x) {
|
|
20165
|
+
console.error(
|
|
20166
|
+
"`@moser-inc/moser-labs-custom-elements` Logout failed.",
|
|
20167
|
+
x
|
|
20168
|
+
);
|
|
20169
|
+
}
|
|
20163
20170
|
}
|
|
20164
20171
|
}
|
|
20165
|
-
]),
|
|
20166
|
-
return (
|
|
20172
|
+
]), O = hu("menu"), $ = (x) => O.value?.toggle(x);
|
|
20173
|
+
return (x, b) => (me(), Te(Ze, null, [
|
|
20167
20174
|
qe(Et(Su), {
|
|
20168
|
-
"aria-label": `Signed in as ${
|
|
20175
|
+
"aria-label": `Signed in as ${l.value} - toggle account menu`,
|
|
20169
20176
|
"aria-haspopup": "",
|
|
20170
20177
|
"aria-controls": "account-menu",
|
|
20171
20178
|
class: "text-inherit p-0 border-0 bg-transparent",
|
|
20172
|
-
onClick:
|
|
20179
|
+
onClick: $
|
|
20173
20180
|
}, {
|
|
20174
20181
|
default: qn(() => [
|
|
20175
20182
|
qe(F1, {
|
|
20176
|
-
"user-id":
|
|
20177
|
-
"first-name":
|
|
20178
|
-
"last-name":
|
|
20183
|
+
"user-id": o.value,
|
|
20184
|
+
"first-name": s.value,
|
|
20185
|
+
"last-name": a.value
|
|
20179
20186
|
}, null, 8, ["user-id", "first-name", "last-name"])
|
|
20180
20187
|
]),
|
|
20181
20188
|
_: 1
|
|
@@ -20184,15 +20191,15 @@ const j1 = Symbol("labs-custom-elements-options"), Tu = () => {
|
|
|
20184
20191
|
id: "account-menu",
|
|
20185
20192
|
ref: "menu",
|
|
20186
20193
|
"aria-label": "Account",
|
|
20187
|
-
model:
|
|
20194
|
+
model: A.value,
|
|
20188
20195
|
popup: "",
|
|
20189
20196
|
class: "mbs-2 w-50"
|
|
20190
20197
|
}, {
|
|
20191
20198
|
start: qn(() => [
|
|
20192
20199
|
Ae("div", VC, [
|
|
20193
|
-
|
|
20194
|
-
|
|
20195
|
-
|
|
20200
|
+
l.value ? (me(), Te("span", MC, nn(l.value), 1)) : pt("", !0),
|
|
20201
|
+
c.value ? (me(), Te("span", $C, nn(c.value), 1)) : pt("", !0),
|
|
20202
|
+
u.value ? (me(), Te("span", jC, nn(u.value), 1)) : pt("", !0)
|
|
20196
20203
|
]),
|
|
20197
20204
|
qe(Et(D1), { class: "m-block-1" })
|
|
20198
20205
|
]),
|
|
@@ -20352,7 +20359,7 @@ var hw = `
|
|
|
20352
20359
|
return ["p-inline-message-icon", t.icon];
|
|
20353
20360
|
},
|
|
20354
20361
|
text: "p-inline-message-text"
|
|
20355
|
-
}, gw =
|
|
20362
|
+
}, gw = Bt.extend({
|
|
20356
20363
|
name: "inlinemessage",
|
|
20357
20364
|
css: hw,
|
|
20358
20365
|
classes: mw
|
|
@@ -20407,13 +20414,13 @@ function yw(e, t, n, r, i, o) {
|
|
|
20407
20414
|
"aria-live": "assertive",
|
|
20408
20415
|
"aria-atomic": "true",
|
|
20409
20416
|
class: e.cx("root")
|
|
20410
|
-
}, e.ptm("root")), [
|
|
20417
|
+
}, e.ptm("root")), [Rt(e.$slots, "icon", {}, function() {
|
|
20411
20418
|
return [(me(), St(Ys(e.icon ? "span" : o.iconComponent), Ee({
|
|
20412
20419
|
class: e.cx("icon")
|
|
20413
20420
|
}, e.ptm("icon")), null, 16, ["class"]))];
|
|
20414
20421
|
}), Ae("span", Ee({
|
|
20415
20422
|
class: e.cx("text")
|
|
20416
|
-
}, e.ptm("text")), [
|
|
20423
|
+
}, e.ptm("text")), [Rt(e.$slots, "default", {}, function() {
|
|
20417
20424
|
return [Go(" ")];
|
|
20418
20425
|
})], 16)], 16);
|
|
20419
20426
|
}
|
|
@@ -20450,7 +20457,7 @@ var bw = `
|
|
|
20450
20457
|
root: "p-progress-spinner",
|
|
20451
20458
|
spinner: "p-progress-spinner-svg",
|
|
20452
20459
|
circle: "p-progress-spinner-circle"
|
|
20453
|
-
}, Cw =
|
|
20460
|
+
}, Cw = Bt.extend({
|
|
20454
20461
|
name: "progressspinner",
|
|
20455
20462
|
css: bw,
|
|
20456
20463
|
classes: xw
|
|
@@ -20541,7 +20548,7 @@ const Sw = ["href"], kw = { class: "text-xs leading-tight" }, Ow = { class: "p-b
|
|
|
20541
20548
|
return d.response.json();
|
|
20542
20549
|
}
|
|
20543
20550
|
}
|
|
20544
|
-
), s =
|
|
20551
|
+
), s = Gt(() => r.value?.tenant?.apps ?? []), a = (d) => d ? {
|
|
20545
20552
|
EATS: "i-mli-eats-badge",
|
|
20546
20553
|
ENGAGEMENTS: "i-mli-engagements-badge",
|
|
20547
20554
|
IDEAS: "i-mli-idealab-badge",
|
|
@@ -20551,7 +20558,7 @@ const Sw = ["href"], kw = { class: "text-xs leading-tight" }, Ow = { class: "p-b
|
|
|
20551
20558
|
TIMETRACKING: "i-mli-timetracking-badge",
|
|
20552
20559
|
TRAINING: "i-mli-training-badge",
|
|
20553
20560
|
WELLNESS: "i-mli-wellness-badge"
|
|
20554
|
-
}[d] : "", l =
|
|
20561
|
+
}[d] : "", l = Mt(() => {
|
|
20555
20562
|
const d = s.value.map((p) => ({
|
|
20556
20563
|
variant: "app",
|
|
20557
20564
|
href: p.url,
|
|
@@ -20662,9 +20669,19 @@ function Nw(e) {
|
|
|
20662
20669
|
shadowRoot: !1
|
|
20663
20670
|
});
|
|
20664
20671
|
}, n = t(BC), r = t(Pw), i = t(F1);
|
|
20665
|
-
customElements.define("labs-account", n), customElements.define("labs-app-switcher", r), customElements.define("labs-avatar", i);
|
|
20672
|
+
customElements.define("labs-account", n), customElements.define("labs-app-switcher", r), customElements.define("labs-avatar", i), Dw(e);
|
|
20673
|
+
}
|
|
20674
|
+
function Dw({
|
|
20675
|
+
keycloak: e,
|
|
20676
|
+
analytics: t
|
|
20677
|
+
}) {
|
|
20678
|
+
if (!t) return;
|
|
20679
|
+
const n = e.tokenParsed?.user_id;
|
|
20680
|
+
if (!n) return;
|
|
20681
|
+
const r = t.user()?.userId;
|
|
20682
|
+
n !== r && t.identify(n);
|
|
20666
20683
|
}
|
|
20667
|
-
const G1 = xn(null),
|
|
20684
|
+
const G1 = xn(null), TE = ({
|
|
20668
20685
|
labsApiUri: e,
|
|
20669
20686
|
rolesClientId: t,
|
|
20670
20687
|
children: n
|
|
@@ -20680,7 +20697,7 @@ const G1 = xn(null), OE = ({
|
|
|
20680
20697
|
analytics: s,
|
|
20681
20698
|
apiUri: e
|
|
20682
20699
|
});
|
|
20683
|
-
const f =
|
|
20700
|
+
const f = Lw(t);
|
|
20684
20701
|
o(f);
|
|
20685
20702
|
} catch (f) {
|
|
20686
20703
|
console.error("Error Authenticating", f);
|
|
@@ -20701,13 +20718,13 @@ const G1 = xn(null), OE = ({
|
|
|
20701
20718
|
isLoading: !a,
|
|
20702
20719
|
keycloak: hr,
|
|
20703
20720
|
logout: hr.logout,
|
|
20704
|
-
refreshToken:
|
|
20721
|
+
refreshToken: Iw,
|
|
20705
20722
|
user: i
|
|
20706
20723
|
}),
|
|
20707
20724
|
[l, c, a, i]
|
|
20708
20725
|
);
|
|
20709
20726
|
return /* @__PURE__ */ ee.jsx(G1.Provider, { value: u, children: n });
|
|
20710
|
-
},
|
|
20727
|
+
}, Lw = (e) => {
|
|
20711
20728
|
const { tokenParsed: t, clientId: n } = hr;
|
|
20712
20729
|
if (!t || !n) return null;
|
|
20713
20730
|
const {
|
|
@@ -20722,15 +20739,15 @@ const G1 = xn(null), OE = ({
|
|
|
20722
20739
|
if (!r) return null;
|
|
20723
20740
|
const u = e ?? n, d = t.resource_access?.[u]?.roles ?? [];
|
|
20724
20741
|
return { id: r, userId: i, name: o, firstName: s, lastName: a, email: l, jobTitle: c, roles: d };
|
|
20725
|
-
},
|
|
20742
|
+
}, Iw = async () => hr.updateToken(60), AE = (e) => {
|
|
20726
20743
|
const { token: t } = hr;
|
|
20727
20744
|
return t ? { ...e, authorization: `Bearer ${t}` } : e;
|
|
20728
|
-
}, hr = new e0("/keycloak.json"),
|
|
20745
|
+
}, hr = new e0("/keycloak.json"), Vw = () => {
|
|
20729
20746
|
const e = at(G1);
|
|
20730
20747
|
if (e === null)
|
|
20731
20748
|
throw new Error("useAuth must be used within an LabsAuthProvider");
|
|
20732
20749
|
return e;
|
|
20733
|
-
},
|
|
20750
|
+
}, Mw = typeof globalThis < "u" && typeof navigator < "u" && typeof document < "u", di = /* @__PURE__ */ new Map(), K1 = (e) => {
|
|
20734
20751
|
const t = matchMedia(e), n = /* @__PURE__ */ new Set(), r = () => {
|
|
20735
20752
|
for (const i of n)
|
|
20736
20753
|
i(t.matches);
|
|
@@ -20740,10 +20757,10 @@ const G1 = xn(null), OE = ({
|
|
|
20740
20757
|
dispatchers: n,
|
|
20741
20758
|
listener: r
|
|
20742
20759
|
};
|
|
20743
|
-
},
|
|
20760
|
+
}, $w = (e, t) => {
|
|
20744
20761
|
let n = di.get(e);
|
|
20745
20762
|
n || (n = K1(e), di.set(e, n)), n.dispatchers.add(t), t(n.mql.matches);
|
|
20746
|
-
},
|
|
20763
|
+
}, jw = (e, t) => {
|
|
20747
20764
|
const n = di.get(e);
|
|
20748
20765
|
if (n) {
|
|
20749
20766
|
const { mql: r, dispatchers: i, listener: o } = n;
|
|
@@ -20752,21 +20769,21 @@ const G1 = xn(null), OE = ({
|
|
|
20752
20769
|
};
|
|
20753
20770
|
function cc(e, t = {}) {
|
|
20754
20771
|
let { initializeWithValue: n = !0 } = t;
|
|
20755
|
-
|
|
20772
|
+
Mw || (n = !1);
|
|
20756
20773
|
const [r, i] = _r(() => {
|
|
20757
20774
|
if (n) {
|
|
20758
20775
|
let o = di.get(e);
|
|
20759
20776
|
return o || (o = K1(e), di.set(e, o)), o.mql.matches;
|
|
20760
20777
|
}
|
|
20761
20778
|
});
|
|
20762
|
-
return Qe(() => (
|
|
20763
|
-
|
|
20779
|
+
return Qe(() => ($w(e, i), () => {
|
|
20780
|
+
jw(e, i);
|
|
20764
20781
|
}), [e]), r;
|
|
20765
20782
|
}
|
|
20766
|
-
const
|
|
20783
|
+
const Fw = () => {
|
|
20767
20784
|
const e = cc("(min-width: 640px)"), t = cc("(max-width: 639px)");
|
|
20768
20785
|
return { isDesktop: e, isMobile: t };
|
|
20769
|
-
},
|
|
20786
|
+
}, Rw = Eg(), Bw = ({ children: e }) => /* @__PURE__ */ ee.jsx(_g, { head: Rw, children: e }), Uw = {
|
|
20770
20787
|
unstyled: !1,
|
|
20771
20788
|
ripple: !0,
|
|
20772
20789
|
pt: {
|
|
@@ -20794,7 +20811,7 @@ const jw = () => {
|
|
|
20794
20811
|
mergeSections: !0,
|
|
20795
20812
|
mergeProps: !0
|
|
20796
20813
|
}
|
|
20797
|
-
},
|
|
20814
|
+
}, Hw = ({ children: e }) => /* @__PURE__ */ ee.jsx(Sg, { value: Uw, children: e }), Z1 = xn(null), PE = ({ children: e, ...t }) => /* @__PURE__ */ ee.jsx(Z1.Provider, { value: t, children: /* @__PURE__ */ ee.jsx(Hw, { children: /* @__PURE__ */ ee.jsx(Bw, { children: e }) }) }), Y1 = () => {
|
|
20798
20815
|
const e = at(Z1);
|
|
20799
20816
|
if (e === null)
|
|
20800
20817
|
throw new Error("useLabs must be used within a LabsProvider");
|
|
@@ -20823,7 +20840,7 @@ const jw = () => {
|
|
|
20823
20840
|
}), Kp({
|
|
20824
20841
|
titleTemplate: (c) => c ? `${c} - ${i}` : i
|
|
20825
20842
|
}), /* @__PURE__ */ ee.jsx("div", { id: "app", className: lt(e, "min-h-viewport"), ...n, children: t });
|
|
20826
|
-
},
|
|
20843
|
+
}, zw = ({
|
|
20827
20844
|
children: e,
|
|
20828
20845
|
className: t,
|
|
20829
20846
|
...n
|
|
@@ -20834,10 +20851,10 @@ const jw = () => {
|
|
|
20834
20851
|
className: lt(t, "labs-layout items-center justify-center"),
|
|
20835
20852
|
children: e
|
|
20836
20853
|
}
|
|
20837
|
-
),
|
|
20854
|
+
), Ww = () => /* @__PURE__ */ ee.jsx(Nm, { label: "Working..." }), NE = ({
|
|
20838
20855
|
actions: e,
|
|
20839
20856
|
children: t,
|
|
20840
|
-
loader: n = /* @__PURE__ */ ee.jsx(
|
|
20857
|
+
loader: n = /* @__PURE__ */ ee.jsx(Ww, {}),
|
|
20841
20858
|
name: r,
|
|
20842
20859
|
subtitle: i,
|
|
20843
20860
|
navigation: o,
|
|
@@ -20847,7 +20864,7 @@ const jw = () => {
|
|
|
20847
20864
|
desktopNavProps: c,
|
|
20848
20865
|
mobileNavProps: u
|
|
20849
20866
|
}) => {
|
|
20850
|
-
const { isDesktop: d, isMobile: f } =
|
|
20867
|
+
const { isDesktop: d, isMobile: f } = Fw(), { appName: p } = Y1();
|
|
20851
20868
|
return /* @__PURE__ */ ee.jsxs(q1, { className: "labs-layout", children: [
|
|
20852
20869
|
d && /* @__PURE__ */ ee.jsx(
|
|
20853
20870
|
ib,
|
|
@@ -20879,17 +20896,17 @@ const jw = () => {
|
|
|
20879
20896
|
}, J1 = (e, t) => {
|
|
20880
20897
|
const n = Math.pow(10, t);
|
|
20881
20898
|
return Math.round(e * n) / n;
|
|
20882
|
-
},
|
|
20899
|
+
}, DE = (e) => {
|
|
20883
20900
|
const t = parseFloat(String(e));
|
|
20884
20901
|
if (isNaN(t)) return e;
|
|
20885
20902
|
const n = isFinite(t) ? t : 0;
|
|
20886
20903
|
return J1(n, 2).toFixed(2);
|
|
20887
|
-
},
|
|
20904
|
+
}, LE = (e = 0, t = 2) => {
|
|
20888
20905
|
const n = parseFloat(String(e)), r = isFinite(n) ? n : 0;
|
|
20889
20906
|
return J1(r, t).toFixed(t);
|
|
20890
20907
|
}, Ei = (e) => ({
|
|
20891
20908
|
message: e.error?.message
|
|
20892
|
-
}),
|
|
20909
|
+
}), IE = ({
|
|
20893
20910
|
field: { ref: e, value: t, ...n },
|
|
20894
20911
|
fieldState: r
|
|
20895
20912
|
}) => ({
|
|
@@ -20898,7 +20915,7 @@ const jw = () => {
|
|
|
20898
20915
|
inputRef: e,
|
|
20899
20916
|
checked: t,
|
|
20900
20917
|
onChange: (i) => n.onChange(i.checked ?? !1)
|
|
20901
|
-
}),
|
|
20918
|
+
}), VE = ({
|
|
20902
20919
|
field: { ref: e, value: t, ...n },
|
|
20903
20920
|
fieldState: r
|
|
20904
20921
|
}) => ({
|
|
@@ -20907,7 +20924,7 @@ const jw = () => {
|
|
|
20907
20924
|
inputRef: e,
|
|
20908
20925
|
value: t,
|
|
20909
20926
|
onChange: (i) => n.onChange(i.value)
|
|
20910
|
-
}),
|
|
20927
|
+
}), ME = ({
|
|
20911
20928
|
field: { ref: e, value: t, ...n },
|
|
20912
20929
|
fieldState: r
|
|
20913
20930
|
}) => ({
|
|
@@ -20916,7 +20933,7 @@ const jw = () => {
|
|
|
20916
20933
|
inputRef: e,
|
|
20917
20934
|
value: t,
|
|
20918
20935
|
onChange: (i) => n.onChange(i.value)
|
|
20919
|
-
}),
|
|
20936
|
+
}), $E = ({
|
|
20920
20937
|
field: { ref: e, value: t, ...n },
|
|
20921
20938
|
fieldState: r
|
|
20922
20939
|
}) => ({
|
|
@@ -20934,7 +20951,7 @@ const jw = () => {
|
|
|
20934
20951
|
// @ts-expect-error ref is not on props type
|
|
20935
20952
|
ref: e,
|
|
20936
20953
|
value: t
|
|
20937
|
-
}),
|
|
20954
|
+
}), jE = X1, FE = X1, RE = ({
|
|
20938
20955
|
field: { ref: e, value: t, ...n },
|
|
20939
20956
|
fieldState: r
|
|
20940
20957
|
}) => ({
|
|
@@ -20948,63 +20965,63 @@ export {
|
|
|
20948
20965
|
P5 as DEFAULT_TRANSITION_MS,
|
|
20949
20966
|
N5 as DEFAULT_TRANSITION_SECONDS,
|
|
20950
20967
|
Qc as LabsAnalyticsContext,
|
|
20951
|
-
|
|
20968
|
+
kE as LabsAnalyticsProvider,
|
|
20952
20969
|
G1 as LabsAuthContext,
|
|
20953
|
-
|
|
20954
|
-
|
|
20970
|
+
lE as LabsAuthGate,
|
|
20971
|
+
TE as LabsAuthProvider,
|
|
20955
20972
|
Yp as LabsButton,
|
|
20956
20973
|
Yg as LabsCalendar,
|
|
20957
20974
|
qp as LabsCalendarBase,
|
|
20958
20975
|
L5 as LabsCheckbox,
|
|
20959
20976
|
Z1 as LabsContext,
|
|
20960
|
-
|
|
20961
|
-
|
|
20962
|
-
|
|
20963
|
-
|
|
20977
|
+
hE as LabsCount,
|
|
20978
|
+
mE as LabsDate,
|
|
20979
|
+
gE as LabsEmpty,
|
|
20980
|
+
Bw as LabsHeadProvider,
|
|
20964
20981
|
Nm as LabsLoader,
|
|
20965
|
-
|
|
20966
|
-
|
|
20982
|
+
xE as LabsLogoutTimer,
|
|
20983
|
+
CE as LabsMain,
|
|
20967
20984
|
ib as LabsMainDesktopNav,
|
|
20968
|
-
|
|
20985
|
+
wE as LabsMainHeaderActions,
|
|
20969
20986
|
sb as LabsMainMobileNav,
|
|
20970
20987
|
rb as LabsMenuNav,
|
|
20971
|
-
|
|
20972
|
-
|
|
20973
|
-
|
|
20974
|
-
|
|
20988
|
+
Hw as LabsPrimeProvider,
|
|
20989
|
+
PE as LabsProvider,
|
|
20990
|
+
EE as LabsSelect,
|
|
20991
|
+
_E as LabsSelectCascade,
|
|
20975
20992
|
ob as LabsSpeedDialNav,
|
|
20976
20993
|
Gc as LabsText,
|
|
20977
20994
|
ab as LabsTextCurrency,
|
|
20978
20995
|
lb as LabsTextSearch,
|
|
20979
20996
|
cb as LabsTextarea,
|
|
20980
|
-
|
|
20997
|
+
SE as LabsToggle,
|
|
20981
20998
|
q1 as LayoutBase,
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
|
|
20999
|
+
zw as LayoutCentered,
|
|
21000
|
+
NE as LayoutMain,
|
|
21001
|
+
aE as VERSION,
|
|
20985
21002
|
hr as auth,
|
|
20986
|
-
|
|
20987
|
-
|
|
21003
|
+
uE as fadeAnimation,
|
|
21004
|
+
Lw as getParsedUserInfo,
|
|
20988
21005
|
I5 as pluralize,
|
|
20989
|
-
|
|
20990
|
-
|
|
20991
|
-
|
|
21006
|
+
Iw as refreshToken,
|
|
21007
|
+
fE as scaleFadeAnimation,
|
|
21008
|
+
pE as scaleFadeSubtleAnimation,
|
|
20992
21009
|
D5 as slideYFadeAnimation,
|
|
20993
|
-
|
|
20994
|
-
|
|
21010
|
+
dE as slideYFadeReverseAnimation,
|
|
21011
|
+
DE as toCurrency,
|
|
20995
21012
|
Ei as toFieldContainerProps,
|
|
20996
|
-
|
|
20997
|
-
|
|
20998
|
-
|
|
20999
|
-
|
|
21000
|
-
|
|
21013
|
+
IE as toLabsCheckboxProps,
|
|
21014
|
+
VE as toLabsDateProps,
|
|
21015
|
+
$E as toLabsSelectCascadeProps,
|
|
21016
|
+
ME as toLabsSelectProps,
|
|
21017
|
+
jE as toLabsTextCurrencyProps,
|
|
21001
21018
|
X1 as toLabsTextProps,
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21019
|
+
FE as toLabsTextSearchProps,
|
|
21020
|
+
RE as toLabsTextareaProps,
|
|
21021
|
+
LE as toPrecision,
|
|
21022
|
+
OE as useAnalytics,
|
|
21023
|
+
Vw as useAuth,
|
|
21024
|
+
Fw as useBreakpoints,
|
|
21008
21025
|
Y1 as useLabs,
|
|
21009
|
-
|
|
21026
|
+
AE as withAuthHeader
|
|
21010
21027
|
};
|