react-luminus-components 1.2.112 → 1.2.114
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/.vite/manifest.json +42 -42
- package/dist/{NoInputContainer-CnWtqd6M.js → NoInputContainer-BAgsWdLH.js} +498 -498
- package/dist/{NoInputContainer-B2NLKTjL.cjs → NoInputContainer-BK9oG3tT.cjs} +16 -16
- package/dist/{PrimaryButton-DdX5Urwd.cjs → PrimaryButton-7SShR5CP.cjs} +1 -1
- package/dist/{PrimaryButton-JmPJBth0.js → PrimaryButton-DEmq1lC9.js} +1 -1
- package/dist/{SimpleTooltip-DAt21777.cjs → SimpleTooltip-4RS28Xw5.cjs} +1 -1
- package/dist/{SimpleTooltip-SJ7NFji7.js → SimpleTooltip-DcjdypSH.js} +1 -1
- package/dist/components/common/ImgApi/ImgApi.d.ts +4 -0
- package/dist/components/common/ImgApi/hooks/useGetImgData.d.ts +9 -0
- package/dist/components/common/ImgDirect/ImgDirect.d.ts +4 -0
- package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +6 -2
- package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +6 -2
- package/dist/components/common/index.d.ts +2 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +168 -156
- package/dist/hooks/useAxios/useAxios.d.ts +1 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +1206 -1177
- package/dist/models/index.d.ts +2 -0
- package/dist/models/prop-types/ImgProps.d.ts +7 -0
- package/dist/models/types/UserModel.d.ts +2 -1
- package/dist/{useConfirm-C4vc6fDa.js → useConfirm-D0XQit1K.js} +1 -1
- package/dist/{useConfirm-k8Kyrbnb.cjs → useConfirm-DnHLBOB6.cjs} +1 -1
- package/dist/{usePermissions-CJNbDDXa.cjs → usePermissions-CZ9GOCPf.cjs} +1 -1
- package/dist/{usePermissions-fMk86sJx.js → usePermissions-giXiX-A0.js} +1 -1
- package/package.json +1 -1
|
@@ -22,15 +22,15 @@ function Sa() {
|
|
|
22
22
|
return kt;
|
|
23
23
|
Yn = 1;
|
|
24
24
|
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
|
-
function a(s, c,
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
for (
|
|
29
|
-
n.call(c,
|
|
25
|
+
function a(s, c, l) {
|
|
26
|
+
var u, f = {}, g = null, m = null;
|
|
27
|
+
l !== void 0 && (g = "" + l), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (m = c.ref);
|
|
28
|
+
for (u in c)
|
|
29
|
+
n.call(c, u) && !i.hasOwnProperty(u) && (f[u] = c[u]);
|
|
30
30
|
if (s && s.defaultProps)
|
|
31
|
-
for (
|
|
32
|
-
f[
|
|
33
|
-
return { $$typeof: t, type: s, key:
|
|
31
|
+
for (u in c = s.defaultProps, c)
|
|
32
|
+
f[u] === void 0 && (f[u] = c[u]);
|
|
33
|
+
return { $$typeof: t, type: s, key: g, ref: m, props: f, _owner: o.current };
|
|
34
34
|
}
|
|
35
35
|
return kt.Fragment = r, kt.jsx = a, kt.jsxs = a, kt;
|
|
36
36
|
}
|
|
@@ -47,11 +47,11 @@ var It = {};
|
|
|
47
47
|
var qn;
|
|
48
48
|
function _a() {
|
|
49
49
|
return qn || (qn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
|
-
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"),
|
|
50
|
+
var e = Ee, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = Symbol.iterator, v = "@@iterator";
|
|
51
51
|
function b(d) {
|
|
52
52
|
if (d === null || typeof d != "object")
|
|
53
53
|
return null;
|
|
54
|
-
var O = h && d[h] || d[
|
|
54
|
+
var O = h && d[h] || d[v];
|
|
55
55
|
return typeof O == "function" ? O : null;
|
|
56
56
|
}
|
|
57
57
|
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -75,7 +75,7 @@ function _a() {
|
|
|
75
75
|
var S = !1, p = !1, P = !1, N = !1, J = !1, Z;
|
|
76
76
|
Z = Symbol.for("react.module.reference");
|
|
77
77
|
function K(d) {
|
|
78
|
-
return !!(typeof d == "string" || typeof d == "function" || d === n || d === i || J || d === o || d ===
|
|
78
|
+
return !!(typeof d == "string" || typeof d == "function" || d === n || d === i || J || d === o || d === l || d === u || N || d === m || S || p || P || typeof d == "object" && d !== null && (d.$$typeof === g || d.$$typeof === f || d.$$typeof === a || d.$$typeof === s || d.$$typeof === c || // This needs to include all possible module reference object
|
|
79
79
|
// types supported by any Flight configuration anywhere since
|
|
80
80
|
// we don't know which Flight build this will end up being used
|
|
81
81
|
// with.
|
|
@@ -107,9 +107,9 @@ function _a() {
|
|
|
107
107
|
return "Profiler";
|
|
108
108
|
case o:
|
|
109
109
|
return "StrictMode";
|
|
110
|
-
case u:
|
|
111
|
-
return "Suspense";
|
|
112
110
|
case l:
|
|
111
|
+
return "Suspense";
|
|
112
|
+
case u:
|
|
113
113
|
return "SuspenseList";
|
|
114
114
|
}
|
|
115
115
|
if (typeof d == "object")
|
|
@@ -125,7 +125,7 @@ function _a() {
|
|
|
125
125
|
case f:
|
|
126
126
|
var $ = d.displayName || null;
|
|
127
127
|
return $ !== null ? $ : V(d.type) || "Memo";
|
|
128
|
-
case
|
|
128
|
+
case g: {
|
|
129
129
|
var ee = d, se = ee._payload, q = ee._init;
|
|
130
130
|
try {
|
|
131
131
|
return V(q(se));
|
|
@@ -303,9 +303,9 @@ function _a() {
|
|
|
303
303
|
if (typeof d == "string")
|
|
304
304
|
return D(d);
|
|
305
305
|
switch (d) {
|
|
306
|
-
case u:
|
|
307
|
-
return D("Suspense");
|
|
308
306
|
case l:
|
|
307
|
+
return D("Suspense");
|
|
308
|
+
case u:
|
|
309
309
|
return D("SuspenseList");
|
|
310
310
|
}
|
|
311
311
|
if (typeof d == "object")
|
|
@@ -314,7 +314,7 @@ function _a() {
|
|
|
314
314
|
return ye(d.render);
|
|
315
315
|
case f:
|
|
316
316
|
return Me(d.type, O, C);
|
|
317
|
-
case
|
|
317
|
+
case g: {
|
|
318
318
|
var $ = d, ee = $._payload, se = $._init;
|
|
319
319
|
try {
|
|
320
320
|
return Me(se(ee), O, C);
|
|
@@ -734,16 +734,16 @@ function Ma(e, t) {
|
|
|
734
734
|
}
|
|
735
735
|
function Go(e, t, r) {
|
|
736
736
|
var n = ge(e !== void 0), o = Ke(t), i = o[0], a = o[1], s = e !== void 0, c = n.current;
|
|
737
|
-
return n.current = s, !s && c && i !== t && a(t), [s ? e : i, B(function(
|
|
738
|
-
for (var
|
|
739
|
-
f[
|
|
740
|
-
r && r.apply(void 0, [
|
|
737
|
+
return n.current = s, !s && c && i !== t && a(t), [s ? e : i, B(function(l) {
|
|
738
|
+
for (var u = arguments.length, f = new Array(u > 1 ? u - 1 : 0), g = 1; g < u; g++)
|
|
739
|
+
f[g - 1] = arguments[g];
|
|
740
|
+
r && r.apply(void 0, [l].concat(f)), a(l);
|
|
741
741
|
}, [r])];
|
|
742
742
|
}
|
|
743
743
|
function Nd(e, t) {
|
|
744
744
|
return Object.keys(t).reduce(function(r, n) {
|
|
745
|
-
var o, i = r, a = i[Gn(n)], s = i[n], c = qo(i, [Gn(n), n].map(Na)),
|
|
746
|
-
return Jr({}, c, (o = {}, o[n] = f, o[
|
|
745
|
+
var o, i = r, a = i[Gn(n)], s = i[n], c = qo(i, [Gn(n), n].map(Na)), l = t[n], u = Go(s, a, e[l]), f = u[0], g = u[1];
|
|
746
|
+
return Jr({}, c, (o = {}, o[n] = f, o[l] = g, o));
|
|
747
747
|
}, e);
|
|
748
748
|
}
|
|
749
749
|
function Xr(e, t) {
|
|
@@ -828,7 +828,7 @@ function Va() {
|
|
|
828
828
|
if (Kn)
|
|
829
829
|
return te;
|
|
830
830
|
Kn = 1;
|
|
831
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
831
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
832
832
|
function _(p) {
|
|
833
833
|
if (typeof p == "object" && p !== null) {
|
|
834
834
|
var P = p.$$typeof;
|
|
@@ -836,7 +836,7 @@ function Va() {
|
|
|
836
836
|
case t:
|
|
837
837
|
switch (p = p.type, p) {
|
|
838
838
|
case c:
|
|
839
|
-
case
|
|
839
|
+
case l:
|
|
840
840
|
case n:
|
|
841
841
|
case i:
|
|
842
842
|
case o:
|
|
@@ -845,9 +845,9 @@ function Va() {
|
|
|
845
845
|
default:
|
|
846
846
|
switch (p = p && p.$$typeof, p) {
|
|
847
847
|
case s:
|
|
848
|
-
case
|
|
848
|
+
case u:
|
|
849
849
|
case h:
|
|
850
|
-
case
|
|
850
|
+
case m:
|
|
851
851
|
case a:
|
|
852
852
|
return p;
|
|
853
853
|
default:
|
|
@@ -860,9 +860,9 @@ function Va() {
|
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
862
|
function S(p) {
|
|
863
|
-
return _(p) ===
|
|
863
|
+
return _(p) === l;
|
|
864
864
|
}
|
|
865
|
-
return te.AsyncMode = c, te.ConcurrentMode =
|
|
865
|
+
return te.AsyncMode = c, te.ConcurrentMode = l, te.ContextConsumer = s, te.ContextProvider = a, te.Element = t, te.ForwardRef = u, te.Fragment = n, te.Lazy = h, te.Memo = m, te.Portal = r, te.Profiler = i, te.StrictMode = o, te.Suspense = f, te.isAsyncMode = function(p) {
|
|
866
866
|
return S(p) || _(p) === c;
|
|
867
867
|
}, te.isConcurrentMode = S, te.isContextConsumer = function(p) {
|
|
868
868
|
return _(p) === s;
|
|
@@ -871,13 +871,13 @@ function Va() {
|
|
|
871
871
|
}, te.isElement = function(p) {
|
|
872
872
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
873
873
|
}, te.isForwardRef = function(p) {
|
|
874
|
-
return _(p) ===
|
|
874
|
+
return _(p) === u;
|
|
875
875
|
}, te.isFragment = function(p) {
|
|
876
876
|
return _(p) === n;
|
|
877
877
|
}, te.isLazy = function(p) {
|
|
878
878
|
return _(p) === h;
|
|
879
879
|
}, te.isMemo = function(p) {
|
|
880
|
-
return _(p) ===
|
|
880
|
+
return _(p) === m;
|
|
881
881
|
}, te.isPortal = function(p) {
|
|
882
882
|
return _(p) === r;
|
|
883
883
|
}, te.isProfiler = function(p) {
|
|
@@ -887,7 +887,7 @@ function Va() {
|
|
|
887
887
|
}, te.isSuspense = function(p) {
|
|
888
888
|
return _(p) === f;
|
|
889
889
|
}, te.isValidElementType = function(p) {
|
|
890
|
-
return typeof p == "string" || typeof p == "function" || p === n || p ===
|
|
890
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p === g || typeof p == "object" && p !== null && (p.$$typeof === h || p.$$typeof === m || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === b || p.$$typeof === x || p.$$typeof === T || p.$$typeof === v);
|
|
891
891
|
}, te.typeOf = _, te;
|
|
892
892
|
}
|
|
893
893
|
var re = {};
|
|
@@ -902,10 +902,10 @@ var re = {};
|
|
|
902
902
|
var Jn;
|
|
903
903
|
function Wa() {
|
|
904
904
|
return Jn || (Jn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
905
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
905
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
906
906
|
function _(y) {
|
|
907
907
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
908
|
-
y === n || y ===
|
|
908
|
+
y === n || y === l || y === i || y === o || y === f || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === m || y.$$typeof === a || y.$$typeof === s || y.$$typeof === u || y.$$typeof === b || y.$$typeof === x || y.$$typeof === T || y.$$typeof === v);
|
|
909
909
|
}
|
|
910
910
|
function S(y) {
|
|
911
911
|
if (typeof y == "object" && y !== null) {
|
|
@@ -915,7 +915,7 @@ function Wa() {
|
|
|
915
915
|
var Ae = y.type;
|
|
916
916
|
switch (Ae) {
|
|
917
917
|
case c:
|
|
918
|
-
case
|
|
918
|
+
case l:
|
|
919
919
|
case n:
|
|
920
920
|
case i:
|
|
921
921
|
case o:
|
|
@@ -925,9 +925,9 @@ function Wa() {
|
|
|
925
925
|
var Me = Ae && Ae.$$typeof;
|
|
926
926
|
switch (Me) {
|
|
927
927
|
case s:
|
|
928
|
-
case
|
|
928
|
+
case u:
|
|
929
929
|
case h:
|
|
930
|
-
case
|
|
930
|
+
case m:
|
|
931
931
|
case a:
|
|
932
932
|
return Me;
|
|
933
933
|
default:
|
|
@@ -939,12 +939,12 @@ function Wa() {
|
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
-
var p = c, P =
|
|
942
|
+
var p = c, P = l, N = s, J = a, Z = t, K = u, ie = n, fe = h, V = m, X = r, Q = i, ae = o, ue = f, Te = !1;
|
|
943
943
|
function Oe(y) {
|
|
944
944
|
return Te || (Te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(y) || S(y) === c;
|
|
945
945
|
}
|
|
946
946
|
function w(y) {
|
|
947
|
-
return S(y) ===
|
|
947
|
+
return S(y) === l;
|
|
948
948
|
}
|
|
949
949
|
function R(y) {
|
|
950
950
|
return S(y) === s;
|
|
@@ -956,7 +956,7 @@ function Wa() {
|
|
|
956
956
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
957
957
|
}
|
|
958
958
|
function j(y) {
|
|
959
|
-
return S(y) ===
|
|
959
|
+
return S(y) === u;
|
|
960
960
|
}
|
|
961
961
|
function F(y) {
|
|
962
962
|
return S(y) === n;
|
|
@@ -965,7 +965,7 @@ function Wa() {
|
|
|
965
965
|
return S(y) === h;
|
|
966
966
|
}
|
|
967
967
|
function L(y) {
|
|
968
|
-
return S(y) ===
|
|
968
|
+
return S(y) === m;
|
|
969
969
|
}
|
|
970
970
|
function D(y) {
|
|
971
971
|
return S(y) === r;
|
|
@@ -1011,28 +1011,28 @@ function Ya() {
|
|
|
1011
1011
|
return !1;
|
|
1012
1012
|
for (var a = {}, s = 0; s < 10; s++)
|
|
1013
1013
|
a["_" + String.fromCharCode(s)] = s;
|
|
1014
|
-
var c = Object.getOwnPropertyNames(a).map(function(
|
|
1015
|
-
return a[
|
|
1014
|
+
var c = Object.getOwnPropertyNames(a).map(function(u) {
|
|
1015
|
+
return a[u];
|
|
1016
1016
|
});
|
|
1017
1017
|
if (c.join("") !== "0123456789")
|
|
1018
1018
|
return !1;
|
|
1019
|
-
var
|
|
1020
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
1021
|
-
u
|
|
1022
|
-
}), Object.keys(Object.assign({},
|
|
1019
|
+
var l = {};
|
|
1020
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
1021
|
+
l[u] = u;
|
|
1022
|
+
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
1023
1023
|
} catch {
|
|
1024
1024
|
return !1;
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
return kr = o() ? Object.assign : function(i, a) {
|
|
1028
|
-
for (var s, c = n(i),
|
|
1029
|
-
s = Object(arguments[
|
|
1028
|
+
for (var s, c = n(i), l, u = 1; u < arguments.length; u++) {
|
|
1029
|
+
s = Object(arguments[u]);
|
|
1030
1030
|
for (var f in s)
|
|
1031
1031
|
t.call(s, f) && (c[f] = s[f]);
|
|
1032
1032
|
if (e) {
|
|
1033
|
-
|
|
1034
|
-
for (var
|
|
1035
|
-
r.call(s,
|
|
1033
|
+
l = e(s);
|
|
1034
|
+
for (var g = 0; g < l.length; g++)
|
|
1035
|
+
r.call(s, l[g]) && (c[l[g]] = s[l[g]]);
|
|
1036
1036
|
}
|
|
1037
1037
|
}
|
|
1038
1038
|
return c;
|
|
@@ -1068,29 +1068,29 @@ function qa() {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
};
|
|
1070
1070
|
}
|
|
1071
|
-
function o(i, a, s, c,
|
|
1071
|
+
function o(i, a, s, c, l) {
|
|
1072
1072
|
if (process.env.NODE_ENV !== "production") {
|
|
1073
|
-
for (var
|
|
1074
|
-
if (n(i,
|
|
1073
|
+
for (var u in i)
|
|
1074
|
+
if (n(i, u)) {
|
|
1075
1075
|
var f;
|
|
1076
1076
|
try {
|
|
1077
|
-
if (typeof i[
|
|
1078
|
-
var
|
|
1079
|
-
(c || "React class") + ": " + s + " type `" +
|
|
1077
|
+
if (typeof i[u] != "function") {
|
|
1078
|
+
var g = Error(
|
|
1079
|
+
(c || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1080
1080
|
);
|
|
1081
|
-
throw
|
|
1081
|
+
throw g.name = "Invariant Violation", g;
|
|
1082
1082
|
}
|
|
1083
|
-
f = i[
|
|
1083
|
+
f = i[u](a, u, c, s, null, t);
|
|
1084
1084
|
} catch (h) {
|
|
1085
1085
|
f = h;
|
|
1086
1086
|
}
|
|
1087
1087
|
if (f && !(f instanceof Error) && e(
|
|
1088
|
-
(c || "React class") + ": type specification of " + s + " `" +
|
|
1088
|
+
(c || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1089
1089
|
), f instanceof Error && !(f.message in r)) {
|
|
1090
1090
|
r[f.message] = !0;
|
|
1091
|
-
var
|
|
1091
|
+
var m = l ? l() : "";
|
|
1092
1092
|
e(
|
|
1093
|
-
"Failed " + s + " type: " + f.message + (
|
|
1093
|
+
"Failed " + s + " type: " + f.message + (m ?? "")
|
|
1094
1094
|
);
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
@@ -1119,13 +1119,13 @@ function Ga() {
|
|
|
1119
1119
|
return null;
|
|
1120
1120
|
}
|
|
1121
1121
|
return Ur = function(s, c) {
|
|
1122
|
-
var
|
|
1122
|
+
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
1123
1123
|
function f(w) {
|
|
1124
|
-
var R = w && (
|
|
1124
|
+
var R = w && (l && w[l] || w[u]);
|
|
1125
1125
|
if (typeof R == "function")
|
|
1126
1126
|
return R;
|
|
1127
1127
|
}
|
|
1128
|
-
var
|
|
1128
|
+
var g = "<<anonymous>>", m = {
|
|
1129
1129
|
array: x("array"),
|
|
1130
1130
|
bigint: x("bigint"),
|
|
1131
1131
|
bool: x("boolean"),
|
|
@@ -1149,15 +1149,15 @@ function Ga() {
|
|
|
1149
1149
|
function h(w, R) {
|
|
1150
1150
|
return w === R ? w !== 0 || 1 / w === 1 / R : w !== w && R !== R;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function v(w, R) {
|
|
1153
1153
|
this.message = w, this.data = R && typeof R == "object" ? R : {}, this.stack = "";
|
|
1154
1154
|
}
|
|
1155
|
-
|
|
1155
|
+
v.prototype = Error.prototype;
|
|
1156
1156
|
function b(w) {
|
|
1157
1157
|
if (process.env.NODE_ENV !== "production")
|
|
1158
1158
|
var R = {}, k = 0;
|
|
1159
1159
|
function I(F, M, L, D, z, U, de) {
|
|
1160
|
-
if (D = D ||
|
|
1160
|
+
if (D = D || g, U = U || L, de !== r) {
|
|
1161
1161
|
if (c) {
|
|
1162
1162
|
var y = new Error(
|
|
1163
1163
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1171,7 +1171,7 @@ function Ga() {
|
|
|
1171
1171
|
), R[ye] = !0, k++);
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
1174
|
-
return M[L] == null ? F ? M[L] === null ? new
|
|
1174
|
+
return M[L] == null ? F ? M[L] === null ? new v("The " + z + " `" + U + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new v("The " + z + " `" + U + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : w(M, L, D, z, U);
|
|
1175
1175
|
}
|
|
1176
1176
|
var j = I.bind(null, !1);
|
|
1177
1177
|
return j.isRequired = I.bind(null, !0), j;
|
|
@@ -1181,7 +1181,7 @@ function Ga() {
|
|
|
1181
1181
|
var D = k[I], z = ae(D);
|
|
1182
1182
|
if (z !== w) {
|
|
1183
1183
|
var U = ue(D);
|
|
1184
|
-
return new
|
|
1184
|
+
return new v(
|
|
1185
1185
|
"Invalid " + F + " `" + M + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected ") + ("`" + w + "`."),
|
|
1186
1186
|
{ expectedType: w }
|
|
1187
1187
|
);
|
|
@@ -1196,11 +1196,11 @@ function Ga() {
|
|
|
1196
1196
|
function _(w) {
|
|
1197
1197
|
function R(k, I, j, F, M) {
|
|
1198
1198
|
if (typeof w != "function")
|
|
1199
|
-
return new
|
|
1199
|
+
return new v("Property `" + M + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1200
1200
|
var L = k[I];
|
|
1201
1201
|
if (!Array.isArray(L)) {
|
|
1202
1202
|
var D = ae(L);
|
|
1203
|
-
return new
|
|
1203
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an array."));
|
|
1204
1204
|
}
|
|
1205
1205
|
for (var z = 0; z < L.length; z++) {
|
|
1206
1206
|
var U = w(L, z, j, F, M + "[" + z + "]", r);
|
|
@@ -1216,7 +1216,7 @@ function Ga() {
|
|
|
1216
1216
|
var M = R[k];
|
|
1217
1217
|
if (!s(M)) {
|
|
1218
1218
|
var L = ae(M);
|
|
1219
|
-
return new
|
|
1219
|
+
return new v("Invalid " + j + " `" + F + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected a single ReactElement."));
|
|
1220
1220
|
}
|
|
1221
1221
|
return null;
|
|
1222
1222
|
}
|
|
@@ -1227,7 +1227,7 @@ function Ga() {
|
|
|
1227
1227
|
var M = R[k];
|
|
1228
1228
|
if (!e.isValidElementType(M)) {
|
|
1229
1229
|
var L = ae(M);
|
|
1230
|
-
return new
|
|
1230
|
+
return new v("Invalid " + j + " `" + F + "` of type " + ("`" + L + "` supplied to `" + I + "`, expected a single ReactElement type."));
|
|
1231
1231
|
}
|
|
1232
1232
|
return null;
|
|
1233
1233
|
}
|
|
@@ -1236,8 +1236,8 @@ function Ga() {
|
|
|
1236
1236
|
function P(w) {
|
|
1237
1237
|
function R(k, I, j, F, M) {
|
|
1238
1238
|
if (!(k[I] instanceof w)) {
|
|
1239
|
-
var L = w.name ||
|
|
1240
|
-
return new
|
|
1239
|
+
var L = w.name || g, D = Oe(k[I]);
|
|
1240
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected ") + ("instance of `" + L + "`."));
|
|
1241
1241
|
}
|
|
1242
1242
|
return null;
|
|
1243
1243
|
}
|
|
@@ -1256,17 +1256,17 @@ function Ga() {
|
|
|
1256
1256
|
var ye = ue(y);
|
|
1257
1257
|
return ye === "symbol" ? String(y) : y;
|
|
1258
1258
|
});
|
|
1259
|
-
return new
|
|
1259
|
+
return new v("Invalid " + F + " `" + M + "` of value `" + String(L) + "` " + ("supplied to `" + j + "`, expected one of " + z + "."));
|
|
1260
1260
|
}
|
|
1261
1261
|
return b(R);
|
|
1262
1262
|
}
|
|
1263
1263
|
function J(w) {
|
|
1264
1264
|
function R(k, I, j, F, M) {
|
|
1265
1265
|
if (typeof w != "function")
|
|
1266
|
-
return new
|
|
1266
|
+
return new v("Property `" + M + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1267
1267
|
var L = k[I], D = ae(L);
|
|
1268
1268
|
if (D !== "object")
|
|
1269
|
-
return new
|
|
1269
|
+
return new v("Invalid " + F + " `" + M + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an object."));
|
|
1270
1270
|
for (var z in L)
|
|
1271
1271
|
if (n(L, z)) {
|
|
1272
1272
|
var U = w(L, z, j, F, M + "." + z, r);
|
|
@@ -1295,18 +1295,18 @@ function Ga() {
|
|
|
1295
1295
|
y.data && n(y.data, "expectedType") && z.push(y.data.expectedType);
|
|
1296
1296
|
}
|
|
1297
1297
|
var ye = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
|
|
1298
|
-
return new
|
|
1298
|
+
return new v("Invalid " + L + " `" + D + "` supplied to " + ("`" + M + "`" + ye + "."));
|
|
1299
1299
|
}
|
|
1300
1300
|
return b(I);
|
|
1301
1301
|
}
|
|
1302
1302
|
function K() {
|
|
1303
1303
|
function w(R, k, I, j, F) {
|
|
1304
|
-
return X(R[k]) ? null : new
|
|
1304
|
+
return X(R[k]) ? null : new v("Invalid " + j + " `" + F + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
|
|
1305
1305
|
}
|
|
1306
1306
|
return b(w);
|
|
1307
1307
|
}
|
|
1308
1308
|
function ie(w, R, k, I, j) {
|
|
1309
|
-
return new
|
|
1309
|
+
return new v(
|
|
1310
1310
|
(w || "React class") + ": " + R + " type `" + k + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1311
1311
|
);
|
|
1312
1312
|
}
|
|
@@ -1314,7 +1314,7 @@ function Ga() {
|
|
|
1314
1314
|
function R(k, I, j, F, M) {
|
|
1315
1315
|
var L = k[I], D = ae(L);
|
|
1316
1316
|
if (D !== "object")
|
|
1317
|
-
return new
|
|
1317
|
+
return new v("Invalid " + F + " `" + M + "` of type `" + D + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1318
1318
|
for (var z in w) {
|
|
1319
1319
|
var U = w[z];
|
|
1320
1320
|
if (typeof U != "function")
|
|
@@ -1331,14 +1331,14 @@ function Ga() {
|
|
|
1331
1331
|
function R(k, I, j, F, M) {
|
|
1332
1332
|
var L = k[I], D = ae(L);
|
|
1333
1333
|
if (D !== "object")
|
|
1334
|
-
return new
|
|
1334
|
+
return new v("Invalid " + F + " `" + M + "` of type `" + D + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1335
1335
|
var z = t({}, k[I], w);
|
|
1336
1336
|
for (var U in z) {
|
|
1337
1337
|
var de = w[U];
|
|
1338
1338
|
if (n(w, U) && typeof de != "function")
|
|
1339
1339
|
return ie(j, F, M, U, ue(de));
|
|
1340
1340
|
if (!de)
|
|
1341
|
-
return new
|
|
1341
|
+
return new v(
|
|
1342
1342
|
"Invalid " + F + " `" + M + "` key `" + U + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(k[I], null, " ") + `
|
|
1343
1343
|
Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
1344
1344
|
);
|
|
@@ -1417,9 +1417,9 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
|
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
1419
|
function Oe(w) {
|
|
1420
|
-
return !w.constructor || !w.constructor.name ?
|
|
1420
|
+
return !w.constructor || !w.constructor.name ? g : w.constructor.name;
|
|
1421
1421
|
}
|
|
1422
|
-
return
|
|
1422
|
+
return m.checkPropTypes = o, m.resetWarningCache = o.resetWarningCache, m.PropTypes = m, m;
|
|
1423
1423
|
}, Ur;
|
|
1424
1424
|
}
|
|
1425
1425
|
var Br, no;
|
|
@@ -1433,12 +1433,12 @@ function Ka() {
|
|
|
1433
1433
|
function r() {
|
|
1434
1434
|
}
|
|
1435
1435
|
return r.resetWarningCache = t, Br = function() {
|
|
1436
|
-
function n(a, s, c,
|
|
1436
|
+
function n(a, s, c, l, u, f) {
|
|
1437
1437
|
if (f !== e) {
|
|
1438
|
-
var
|
|
1438
|
+
var g = new Error(
|
|
1439
1439
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1440
1440
|
);
|
|
1441
|
-
throw
|
|
1441
|
+
throw g.name = "Invariant Violation", g;
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
1444
|
n.isRequired = n;
|
|
@@ -1550,23 +1550,23 @@ var es = function(t) {
|
|
|
1550
1550
|
status: zt
|
|
1551
1551
|
});
|
|
1552
1552
|
}, r.performEnter = function(o) {
|
|
1553
|
-
var i = this, a = this.props.enter, s = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [s] : [Tt.findDOMNode(this), s],
|
|
1553
|
+
var i = this, a = this.props.enter, s = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [s] : [Tt.findDOMNode(this), s], l = c[0], u = c[1], f = this.getTimeouts(), g = s ? f.appear : f.enter;
|
|
1554
1554
|
if (!o && !a || oo.disabled) {
|
|
1555
1555
|
this.safeSetState({
|
|
1556
1556
|
status: ct
|
|
1557
1557
|
}, function() {
|
|
1558
|
-
i.props.onEntered(
|
|
1558
|
+
i.props.onEntered(l);
|
|
1559
1559
|
});
|
|
1560
1560
|
return;
|
|
1561
1561
|
}
|
|
1562
|
-
this.props.onEnter(
|
|
1562
|
+
this.props.onEnter(l, u), this.safeSetState({
|
|
1563
1563
|
status: tt
|
|
1564
1564
|
}, function() {
|
|
1565
|
-
i.props.onEntering(
|
|
1565
|
+
i.props.onEntering(l, u), i.onTransitionEnd(g, function() {
|
|
1566
1566
|
i.safeSetState({
|
|
1567
1567
|
status: ct
|
|
1568
1568
|
}, function() {
|
|
1569
|
-
i.props.onEntered(
|
|
1569
|
+
i.props.onEntered(l, u);
|
|
1570
1570
|
});
|
|
1571
1571
|
});
|
|
1572
1572
|
});
|
|
@@ -1610,8 +1610,8 @@ var es = function(t) {
|
|
|
1610
1610
|
return;
|
|
1611
1611
|
}
|
|
1612
1612
|
if (this.props.addEndListener) {
|
|
1613
|
-
var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback],
|
|
1614
|
-
this.props.addEndListener(
|
|
1613
|
+
var c = this.props.nodeRef ? [this.nextCallback] : [a, this.nextCallback], l = c[0], u = c[1];
|
|
1614
|
+
this.props.addEndListener(l, u);
|
|
1615
1615
|
}
|
|
1616
1616
|
o != null && setTimeout(this.nextCallback, o);
|
|
1617
1617
|
}, r.render = function() {
|
|
@@ -1919,17 +1919,17 @@ const ls = /* @__PURE__ */ Ee.forwardRef(({
|
|
|
1919
1919
|
addEndListener: a,
|
|
1920
1920
|
children: s,
|
|
1921
1921
|
childRef: c,
|
|
1922
|
-
...
|
|
1923
|
-
},
|
|
1924
|
-
const f = ge(null),
|
|
1925
|
-
|
|
1922
|
+
...l
|
|
1923
|
+
}, u) => {
|
|
1924
|
+
const f = ge(null), g = mt(f, c), m = (P) => {
|
|
1925
|
+
g(vr(P));
|
|
1926
1926
|
}, h = (P) => (N) => {
|
|
1927
1927
|
P && f.current && P(f.current, N);
|
|
1928
|
-
},
|
|
1928
|
+
}, v = B(h(e), [e]), b = B(h(t), [t]), x = B(h(r), [r]), T = B(h(n), [n]), _ = B(h(o), [o]), S = B(h(i), [i]), p = B(h(a), [a]);
|
|
1929
1929
|
return /* @__PURE__ */ A.jsx(Je, {
|
|
1930
|
-
ref:
|
|
1931
|
-
...
|
|
1932
|
-
onEnter:
|
|
1930
|
+
ref: u,
|
|
1931
|
+
...l,
|
|
1932
|
+
onEnter: v,
|
|
1933
1933
|
onEntered: x,
|
|
1934
1934
|
onEntering: b,
|
|
1935
1935
|
onExit: T,
|
|
@@ -1941,10 +1941,10 @@ const ls = /* @__PURE__ */ Ee.forwardRef(({
|
|
|
1941
1941
|
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
1942
1942
|
s(P, {
|
|
1943
1943
|
...N,
|
|
1944
|
-
ref:
|
|
1944
|
+
ref: m
|
|
1945
1945
|
})
|
|
1946
1946
|
) : /* @__PURE__ */ Ee.cloneElement(s, {
|
|
1947
|
-
ref:
|
|
1947
|
+
ref: m
|
|
1948
1948
|
})
|
|
1949
1949
|
});
|
|
1950
1950
|
});
|
|
@@ -1988,8 +1988,8 @@ global.navigator.product === "ReactNative", ps = typeof document < "u", rn = ps
|
|
|
1988
1988
|
unmountOnExit: !1,
|
|
1989
1989
|
appear: !1,
|
|
1990
1990
|
...o
|
|
1991
|
-
}, s = B((c,
|
|
1992
|
-
cs(c), n == null || n(c,
|
|
1991
|
+
}, s = B((c, l) => {
|
|
1992
|
+
cs(c), n == null || n(c, l);
|
|
1993
1993
|
}, [n]);
|
|
1994
1994
|
return /* @__PURE__ */ A.jsx(ls, {
|
|
1995
1995
|
ref: i,
|
|
@@ -1997,8 +1997,8 @@ global.navigator.product === "ReactNative", ps = typeof document < "u", rn = ps
|
|
|
1997
1997
|
...a,
|
|
1998
1998
|
onEnter: s,
|
|
1999
1999
|
childRef: t.ref,
|
|
2000
|
-
children: (c,
|
|
2001
|
-
...
|
|
2000
|
+
children: (c, l) => /* @__PURE__ */ Y.cloneElement(t, {
|
|
2001
|
+
...l,
|
|
2002
2002
|
className: ce("fade", e, t.props.className, hs[c], r[c])
|
|
2003
2003
|
})
|
|
2004
2004
|
});
|
|
@@ -2144,16 +2144,16 @@ function Ct(e, t, r) {
|
|
|
2144
2144
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
2145
2145
|
var n = e.getBoundingClientRect(), o = 1, i = 1;
|
|
2146
2146
|
t && He(e) && (o = e.offsetWidth > 0 && Rt(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Rt(n.height) / e.offsetHeight || 1);
|
|
2147
|
-
var a = pt(e) ? Ne(e) : window, s = a.visualViewport, c = !oi() && r,
|
|
2147
|
+
var a = pt(e) ? Ne(e) : window, s = a.visualViewport, c = !oi() && r, l = (n.left + (c && s ? s.offsetLeft : 0)) / o, u = (n.top + (c && s ? s.offsetTop : 0)) / i, f = n.width / o, g = n.height / i;
|
|
2148
2148
|
return {
|
|
2149
2149
|
width: f,
|
|
2150
|
-
height:
|
|
2151
|
-
top:
|
|
2152
|
-
right:
|
|
2153
|
-
bottom:
|
|
2154
|
-
left:
|
|
2155
|
-
x:
|
|
2156
|
-
y:
|
|
2150
|
+
height: g,
|
|
2151
|
+
top: u,
|
|
2152
|
+
right: l + f,
|
|
2153
|
+
bottom: u + g,
|
|
2154
|
+
left: l,
|
|
2155
|
+
x: l,
|
|
2156
|
+
y: u
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
2159
|
function Tn(e) {
|
|
@@ -2263,9 +2263,9 @@ var Ls = function(t, r) {
|
|
|
2263
2263
|
})) : t, si(typeof t != "number" ? t : ci(t, Kt));
|
|
2264
2264
|
};
|
|
2265
2265
|
function Ds(e) {
|
|
2266
|
-
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, s = ze(r.placement), c = Sn(s),
|
|
2266
|
+
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, a = r.modifiersData.popperOffsets, s = ze(r.placement), c = Sn(s), l = [Pe, $e].indexOf(s) >= 0, u = l ? "height" : "width";
|
|
2267
2267
|
if (!(!i || !a)) {
|
|
2268
|
-
var f = Ls(o.padding, r),
|
|
2268
|
+
var f = Ls(o.padding, r), g = Tn(i), m = c === "y" ? Ce : Pe, h = c === "y" ? Ie : $e, v = r.rects.reference[u] + r.rects.reference[c] - a[c] - r.rects.popper[u], b = a[c] - r.rects.reference[c], x = Jt(i), T = x ? c === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, _ = v / 2 - b / 2, S = f[m], p = T - g[u] - f[h], P = T / 2 - g[u] / 2 + _, N = Vt(S, P, p), J = c;
|
|
2269
2269
|
r.modifiersData[n] = (t = {}, t[J] = N, t.centerOffset = N - P, t);
|
|
2270
2270
|
}
|
|
2271
2271
|
}
|
|
@@ -2299,16 +2299,16 @@ function Fs(e, t) {
|
|
|
2299
2299
|
};
|
|
2300
2300
|
}
|
|
2301
2301
|
function po(e) {
|
|
2302
|
-
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, s = e.position, c = e.gpuAcceleration,
|
|
2303
|
-
x:
|
|
2304
|
-
y:
|
|
2302
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, a = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, f = e.isFixed, g = a.x, m = g === void 0 ? 0 : g, h = a.y, v = h === void 0 ? 0 : h, b = typeof u == "function" ? u({
|
|
2303
|
+
x: m,
|
|
2304
|
+
y: v
|
|
2305
2305
|
}) : {
|
|
2306
|
-
x:
|
|
2307
|
-
y:
|
|
2306
|
+
x: m,
|
|
2307
|
+
y: v
|
|
2308
2308
|
};
|
|
2309
|
-
|
|
2309
|
+
m = b.x, v = b.y;
|
|
2310
2310
|
var x = a.hasOwnProperty("x"), T = a.hasOwnProperty("y"), _ = Pe, S = Ce, p = window;
|
|
2311
|
-
if (
|
|
2311
|
+
if (l) {
|
|
2312
2312
|
var P = Jt(r), N = "clientHeight", J = "clientWidth";
|
|
2313
2313
|
if (P === Ne(r) && (P = ot(r), qe(P).position !== "static" && s === "absolute" && (N = "scrollHeight", J = "scrollWidth")), P = P, o === Ce || (o === Pe || o === $e) && i === Yt) {
|
|
2314
2314
|
S = Ie;
|
|
@@ -2316,7 +2316,7 @@ function po(e) {
|
|
|
2316
2316
|
// $FlowFixMe[prop-missing]
|
|
2317
2317
|
P[N]
|
|
2318
2318
|
);
|
|
2319
|
-
|
|
2319
|
+
v -= Z - n.height, v *= c ? 1 : -1;
|
|
2320
2320
|
}
|
|
2321
2321
|
if (o === Pe || (o === Ce || o === Ie) && i === Yt) {
|
|
2322
2322
|
_ = $e;
|
|
@@ -2324,26 +2324,26 @@ function po(e) {
|
|
|
2324
2324
|
// $FlowFixMe[prop-missing]
|
|
2325
2325
|
P[J]
|
|
2326
2326
|
);
|
|
2327
|
-
|
|
2327
|
+
m -= K - n.width, m *= c ? 1 : -1;
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
2330
|
var ie = Object.assign({
|
|
2331
2331
|
position: s
|
|
2332
|
-
},
|
|
2333
|
-
x:
|
|
2334
|
-
y:
|
|
2332
|
+
}, l && $s), fe = u === !0 ? Fs({
|
|
2333
|
+
x: m,
|
|
2334
|
+
y: v
|
|
2335
2335
|
}, Ne(r)) : {
|
|
2336
|
-
x:
|
|
2337
|
-
y:
|
|
2336
|
+
x: m,
|
|
2337
|
+
y: v
|
|
2338
2338
|
};
|
|
2339
|
-
if (
|
|
2339
|
+
if (m = fe.x, v = fe.y, c) {
|
|
2340
2340
|
var V;
|
|
2341
|
-
return Object.assign({}, ie, (V = {}, V[S] = T ? "0" : "", V[_] = x ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" +
|
|
2341
|
+
return Object.assign({}, ie, (V = {}, V[S] = T ? "0" : "", V[_] = x ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", V));
|
|
2342
2342
|
}
|
|
2343
|
-
return Object.assign({}, ie, (t = {}, t[S] = T ?
|
|
2343
|
+
return Object.assign({}, ie, (t = {}, t[S] = T ? v + "px" : "", t[_] = x ? m + "px" : "", t.transform = "", t));
|
|
2344
2344
|
}
|
|
2345
2345
|
function Us(e) {
|
|
2346
|
-
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, a = i === void 0 ? !0 : i, s = r.roundOffsets, c = s === void 0 ? !0 : s,
|
|
2346
|
+
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, a = i === void 0 ? !0 : i, s = r.roundOffsets, c = s === void 0 ? !0 : s, l = {
|
|
2347
2347
|
placement: ze(t.placement),
|
|
2348
2348
|
variation: Pt(t.placement),
|
|
2349
2349
|
popper: t.elements.popper,
|
|
@@ -2351,12 +2351,12 @@ function Us(e) {
|
|
|
2351
2351
|
gpuAcceleration: o,
|
|
2352
2352
|
isFixed: t.options.strategy === "fixed"
|
|
2353
2353
|
};
|
|
2354
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, po(Object.assign({},
|
|
2354
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, po(Object.assign({}, l, {
|
|
2355
2355
|
offsets: t.modifiersData.popperOffsets,
|
|
2356
2356
|
position: t.options.strategy,
|
|
2357
2357
|
adaptive: a,
|
|
2358
2358
|
roundOffsets: c
|
|
2359
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, po(Object.assign({},
|
|
2359
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, po(Object.assign({}, l, {
|
|
2360
2360
|
offsets: t.modifiersData.arrow,
|
|
2361
2361
|
position: "absolute",
|
|
2362
2362
|
adaptive: !1,
|
|
@@ -2376,12 +2376,12 @@ var ar = {
|
|
|
2376
2376
|
passive: !0
|
|
2377
2377
|
};
|
|
2378
2378
|
function zs(e) {
|
|
2379
|
-
var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, a = n.resize, s = a === void 0 ? !0 : a, c = Ne(t.elements.popper),
|
|
2380
|
-
return i &&
|
|
2381
|
-
|
|
2379
|
+
var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, a = n.resize, s = a === void 0 ? !0 : a, c = Ne(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
2380
|
+
return i && l.forEach(function(u) {
|
|
2381
|
+
u.addEventListener("scroll", r.update, ar);
|
|
2382
2382
|
}), s && c.addEventListener("resize", r.update, ar), function() {
|
|
2383
|
-
i &&
|
|
2384
|
-
|
|
2383
|
+
i && l.forEach(function(u) {
|
|
2384
|
+
u.removeEventListener("scroll", r.update, ar);
|
|
2385
2385
|
}), s && c.removeEventListener("resize", r.update, ar);
|
|
2386
2386
|
};
|
|
2387
2387
|
}
|
|
@@ -2428,8 +2428,8 @@ function Ys(e, t) {
|
|
|
2428
2428
|
var r = Ne(e), n = ot(e), o = r.visualViewport, i = n.clientWidth, a = n.clientHeight, s = 0, c = 0;
|
|
2429
2429
|
if (o) {
|
|
2430
2430
|
i = o.width, a = o.height;
|
|
2431
|
-
var
|
|
2432
|
-
(
|
|
2431
|
+
var l = oi();
|
|
2432
|
+
(l || !l && t === "fixed") && (s = o.offsetLeft, c = o.offsetTop);
|
|
2433
2433
|
}
|
|
2434
2434
|
return {
|
|
2435
2435
|
width: i,
|
|
@@ -2485,9 +2485,9 @@ function Ks(e) {
|
|
|
2485
2485
|
}) : [];
|
|
2486
2486
|
}
|
|
2487
2487
|
function Js(e, t, r, n) {
|
|
2488
|
-
var o = t === "clippingParents" ? Ks(e) : [].concat(t), i = [].concat(o, [r]), a = i[0], s = i.reduce(function(c,
|
|
2489
|
-
var
|
|
2490
|
-
return c.top = lt(
|
|
2488
|
+
var o = t === "clippingParents" ? Ks(e) : [].concat(t), i = [].concat(o, [r]), a = i[0], s = i.reduce(function(c, l) {
|
|
2489
|
+
var u = mo(e, l, n);
|
|
2490
|
+
return c.top = lt(u.top, c.top), c.right = gr(u.right, c.right), c.bottom = gr(u.bottom, c.bottom), c.left = lt(u.left, c.left), c;
|
|
2491
2491
|
}, mo(e, a, n));
|
|
2492
2492
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
2493
2493
|
}
|
|
@@ -2524,15 +2524,15 @@ function li(e) {
|
|
|
2524
2524
|
y: t.y
|
|
2525
2525
|
};
|
|
2526
2526
|
}
|
|
2527
|
-
var
|
|
2528
|
-
if (
|
|
2529
|
-
var
|
|
2527
|
+
var l = o ? Sn(o) : null;
|
|
2528
|
+
if (l != null) {
|
|
2529
|
+
var u = l === "y" ? "height" : "width";
|
|
2530
2530
|
switch (i) {
|
|
2531
2531
|
case _t:
|
|
2532
|
-
c[
|
|
2532
|
+
c[l] = c[l] - (t[u] / 2 - r[u] / 2);
|
|
2533
2533
|
break;
|
|
2534
2534
|
case Yt:
|
|
2535
|
-
c[
|
|
2535
|
+
c[l] = c[l] + (t[u] / 2 - r[u] / 2);
|
|
2536
2536
|
break;
|
|
2537
2537
|
}
|
|
2538
2538
|
}
|
|
@@ -2540,18 +2540,18 @@ function li(e) {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
function qt(e, t) {
|
|
2542
2542
|
t === void 0 && (t = {});
|
|
2543
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? bs : s,
|
|
2543
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, a = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? bs : s, l = r.rootBoundary, u = l === void 0 ? ri : l, f = r.elementContext, g = f === void 0 ? $t : f, m = r.altBoundary, h = m === void 0 ? !1 : m, v = r.padding, b = v === void 0 ? 0 : v, x = si(typeof b != "number" ? b : ci(b, Kt)), T = g === $t ? Es : $t, _ = e.rects.popper, S = e.elements[h ? T : g], p = Js(pt(S) ? S : S.contextElement || ot(e.elements.popper), c, u, a), P = Ct(e.elements.reference), N = li({
|
|
2544
2544
|
reference: P,
|
|
2545
2545
|
element: _,
|
|
2546
2546
|
strategy: "absolute",
|
|
2547
2547
|
placement: o
|
|
2548
|
-
}), J = sn(Object.assign({}, _, N)), Z =
|
|
2548
|
+
}), J = sn(Object.assign({}, _, N)), Z = g === $t ? J : P, K = {
|
|
2549
2549
|
top: p.top - Z.top + x.top,
|
|
2550
2550
|
bottom: Z.bottom - p.bottom + x.bottom,
|
|
2551
2551
|
left: p.left - Z.left + x.left,
|
|
2552
2552
|
right: Z.right - p.right + x.right
|
|
2553
2553
|
}, ie = e.modifiersData.offset;
|
|
2554
|
-
if (
|
|
2554
|
+
if (g === $t && ie) {
|
|
2555
2555
|
var fe = ie[o];
|
|
2556
2556
|
Object.keys(K).forEach(function(V) {
|
|
2557
2557
|
var X = [$e, Ie].indexOf(V) >= 0 ? 1 : -1, Q = [Ce, Ie].indexOf(V) >= 0 ? "y" : "x";
|
|
@@ -2562,22 +2562,22 @@ function qt(e, t) {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
function Xs(e, t) {
|
|
2564
2564
|
t === void 0 && (t = {});
|
|
2565
|
-
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, a = r.padding, s = r.flipVariations, c = r.allowedAutoPlacements,
|
|
2566
|
-
return Pt(h) ===
|
|
2567
|
-
}) : Kt,
|
|
2568
|
-
return
|
|
2565
|
+
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, a = r.padding, s = r.flipVariations, c = r.allowedAutoPlacements, l = c === void 0 ? ni : c, u = Pt(n), f = u ? s ? lo : lo.filter(function(h) {
|
|
2566
|
+
return Pt(h) === u;
|
|
2567
|
+
}) : Kt, g = f.filter(function(h) {
|
|
2568
|
+
return l.indexOf(h) >= 0;
|
|
2569
2569
|
});
|
|
2570
|
-
|
|
2571
|
-
var
|
|
2572
|
-
return h[
|
|
2573
|
-
placement:
|
|
2570
|
+
g.length === 0 && (g = f);
|
|
2571
|
+
var m = g.reduce(function(h, v) {
|
|
2572
|
+
return h[v] = qt(e, {
|
|
2573
|
+
placement: v,
|
|
2574
2574
|
boundary: o,
|
|
2575
2575
|
rootBoundary: i,
|
|
2576
2576
|
padding: a
|
|
2577
|
-
})[ze(
|
|
2577
|
+
})[ze(v)], h;
|
|
2578
2578
|
}, {});
|
|
2579
|
-
return Object.keys(
|
|
2580
|
-
return
|
|
2579
|
+
return Object.keys(m).sort(function(h, v) {
|
|
2580
|
+
return m[h] - m[v];
|
|
2581
2581
|
});
|
|
2582
2582
|
}
|
|
2583
2583
|
function Zs(e) {
|
|
@@ -2589,22 +2589,22 @@ function Zs(e) {
|
|
|
2589
2589
|
function Qs(e) {
|
|
2590
2590
|
var t = e.state, r = e.options, n = e.name;
|
|
2591
2591
|
if (!t.modifiersData[n]._skip) {
|
|
2592
|
-
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements,
|
|
2592
|
+
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements, l = r.padding, u = r.boundary, f = r.rootBoundary, g = r.altBoundary, m = r.flipVariations, h = m === void 0 ? !0 : m, v = r.allowedAutoPlacements, b = t.options.placement, x = ze(b), T = x === b, _ = c || (T || !h ? [ur(b)] : Zs(b)), S = [b].concat(_).reduce(function(j, F) {
|
|
2593
2593
|
return j.concat(ze(F) === On ? Xs(t, {
|
|
2594
2594
|
placement: F,
|
|
2595
|
-
boundary:
|
|
2595
|
+
boundary: u,
|
|
2596
2596
|
rootBoundary: f,
|
|
2597
|
-
padding:
|
|
2597
|
+
padding: l,
|
|
2598
2598
|
flipVariations: h,
|
|
2599
|
-
allowedAutoPlacements:
|
|
2599
|
+
allowedAutoPlacements: v
|
|
2600
2600
|
}) : F);
|
|
2601
2601
|
}, []), p = t.rects.reference, P = t.rects.popper, N = /* @__PURE__ */ new Map(), J = !0, Z = S[0], K = 0; K < S.length; K++) {
|
|
2602
2602
|
var ie = S[K], fe = ze(ie), V = Pt(ie) === _t, X = [Ce, Ie].indexOf(fe) >= 0, Q = X ? "width" : "height", ae = qt(t, {
|
|
2603
2603
|
placement: ie,
|
|
2604
|
-
boundary:
|
|
2604
|
+
boundary: u,
|
|
2605
2605
|
rootBoundary: f,
|
|
2606
|
-
altBoundary:
|
|
2607
|
-
padding:
|
|
2606
|
+
altBoundary: g,
|
|
2607
|
+
padding: l
|
|
2608
2608
|
}), ue = X ? V ? $e : Pe : V ? Ie : Ce;
|
|
2609
2609
|
p[Q] > P[Q] && (ue = ur(ue));
|
|
2610
2610
|
var Te = ur(ue), Oe = [];
|
|
@@ -2666,14 +2666,14 @@ function tc(e) {
|
|
|
2666
2666
|
elementContext: "reference"
|
|
2667
2667
|
}), s = qt(t, {
|
|
2668
2668
|
altBoundary: !0
|
|
2669
|
-
}), c = vo(a, n),
|
|
2669
|
+
}), c = vo(a, n), l = vo(s, o, i), u = go(c), f = go(l);
|
|
2670
2670
|
t.modifiersData[r] = {
|
|
2671
2671
|
referenceClippingOffsets: c,
|
|
2672
|
-
popperEscapeOffsets:
|
|
2673
|
-
isReferenceHidden:
|
|
2672
|
+
popperEscapeOffsets: l,
|
|
2673
|
+
isReferenceHidden: u,
|
|
2674
2674
|
hasPopperEscaped: f
|
|
2675
2675
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
2676
|
-
"data-popper-reference-hidden":
|
|
2676
|
+
"data-popper-reference-hidden": u,
|
|
2677
2677
|
"data-popper-escaped": f
|
|
2678
2678
|
});
|
|
2679
2679
|
}
|
|
@@ -2697,10 +2697,10 @@ function nc(e, t, r) {
|
|
|
2697
2697
|
};
|
|
2698
2698
|
}
|
|
2699
2699
|
function oc(e) {
|
|
2700
|
-
var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, a = ni.reduce(function(
|
|
2701
|
-
return
|
|
2702
|
-
}, {}), s = a[t.placement], c = s.x,
|
|
2703
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y +=
|
|
2700
|
+
var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, a = ni.reduce(function(u, f) {
|
|
2701
|
+
return u[f] = nc(f, t.rects, i), u;
|
|
2702
|
+
}, {}), s = a[t.placement], c = s.x, l = s.y;
|
|
2703
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = a;
|
|
2704
2704
|
}
|
|
2705
2705
|
const ic = {
|
|
2706
2706
|
name: "offset",
|
|
@@ -2729,14 +2729,14 @@ function cc(e) {
|
|
|
2729
2729
|
return e === "x" ? "y" : "x";
|
|
2730
2730
|
}
|
|
2731
2731
|
function uc(e) {
|
|
2732
|
-
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !1 : a, c = r.boundary,
|
|
2732
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !1 : a, c = r.boundary, l = r.rootBoundary, u = r.altBoundary, f = r.padding, g = r.tether, m = g === void 0 ? !0 : g, h = r.tetherOffset, v = h === void 0 ? 0 : h, b = qt(t, {
|
|
2733
2733
|
boundary: c,
|
|
2734
|
-
rootBoundary:
|
|
2734
|
+
rootBoundary: l,
|
|
2735
2735
|
padding: f,
|
|
2736
|
-
altBoundary:
|
|
2737
|
-
}), x = ze(t.placement), T = Pt(t.placement), _ = !T, S = Sn(x), p = cc(S), P = t.modifiersData.popperOffsets, N = t.rects.reference, J = t.rects.popper, Z = typeof
|
|
2736
|
+
altBoundary: u
|
|
2737
|
+
}), x = ze(t.placement), T = Pt(t.placement), _ = !T, S = Sn(x), p = cc(S), P = t.modifiersData.popperOffsets, N = t.rects.reference, J = t.rects.popper, Z = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
2738
2738
|
placement: t.placement
|
|
2739
|
-
})) :
|
|
2739
|
+
})) : v, K = typeof Z == "number" ? {
|
|
2740
2740
|
mainAxis: Z,
|
|
2741
2741
|
altAxis: Z
|
|
2742
2742
|
} : Object.assign({
|
|
@@ -2748,14 +2748,14 @@ function uc(e) {
|
|
|
2748
2748
|
};
|
|
2749
2749
|
if (P) {
|
|
2750
2750
|
if (i) {
|
|
2751
|
-
var V, X = S === "y" ? Ce : Pe, Q = S === "y" ? Ie : $e, ae = S === "y" ? "height" : "width", ue = P[S], Te = ue + b[X], Oe = ue - b[Q], w =
|
|
2751
|
+
var V, X = S === "y" ? Ce : Pe, Q = S === "y" ? Ie : $e, ae = S === "y" ? "height" : "width", ue = P[S], Te = ue + b[X], Oe = ue - b[Q], w = m ? -J[ae] / 2 : 0, R = T === _t ? N[ae] : J[ae], k = T === _t ? -J[ae] : -N[ae], I = t.elements.arrow, j = m && I ? Tn(I) : {
|
|
2752
2752
|
width: 0,
|
|
2753
2753
|
height: 0
|
|
2754
|
-
}, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ai(), M = F[X], L = F[Q], D = Vt(0, N[ae], j[ae]), z = _ ? N[ae] / 2 - w - D - M - K.mainAxis : R - D - M - K.mainAxis, U = _ ? -N[ae] / 2 + w + D + L + K.mainAxis : k + D + L + K.mainAxis, de = t.elements.arrow && Jt(t.elements.arrow), y = de ? S === "y" ? de.clientTop || 0 : de.clientLeft || 0 : 0, ye = (V = ie == null ? void 0 : ie[S]) != null ? V : 0, Ae = ue + z - ye - y, Me = ue + U - ye, Xe = Vt(
|
|
2754
|
+
}, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ai(), M = F[X], L = F[Q], D = Vt(0, N[ae], j[ae]), z = _ ? N[ae] / 2 - w - D - M - K.mainAxis : R - D - M - K.mainAxis, U = _ ? -N[ae] / 2 + w + D + L + K.mainAxis : k + D + L + K.mainAxis, de = t.elements.arrow && Jt(t.elements.arrow), y = de ? S === "y" ? de.clientTop || 0 : de.clientLeft || 0 : 0, ye = (V = ie == null ? void 0 : ie[S]) != null ? V : 0, Ae = ue + z - ye - y, Me = ue + U - ye, Xe = Vt(m ? gr(Te, Ae) : Te, ue, m ? lt(Oe, Me) : Oe);
|
|
2755
2755
|
P[S] = Xe, fe[S] = Xe - ue;
|
|
2756
2756
|
}
|
|
2757
2757
|
if (s) {
|
|
2758
|
-
var Nt, tr = S === "x" ? Ce : Pe, gt = S === "x" ? Ie : $e, We = P[p], yt = p === "y" ? "height" : "width", bt = We + b[tr], rr = We - b[gt], Mt = [Ce, Pe].indexOf(x) !== -1, Lt = (Nt = ie == null ? void 0 : ie[p]) != null ? Nt : 0, Dt = Mt ? bt : We - N[yt] - J[yt] - Lt + K.altAxis, Ze = Mt ? We + N[yt] + J[yt] - Lt - K.altAxis : rr, nr =
|
|
2758
|
+
var Nt, tr = S === "x" ? Ce : Pe, gt = S === "x" ? Ie : $e, We = P[p], yt = p === "y" ? "height" : "width", bt = We + b[tr], rr = We - b[gt], Mt = [Ce, Pe].indexOf(x) !== -1, Lt = (Nt = ie == null ? void 0 : ie[p]) != null ? Nt : 0, Dt = Mt ? bt : We - N[yt] - J[yt] - Lt + K.altAxis, Ze = Mt ? We + N[yt] + J[yt] - Lt - K.altAxis : rr, nr = m && Mt ? Ms(Dt, We, Ze) : Vt(m ? Dt : bt, We, m ? Ze : rr);
|
|
2759
2759
|
P[p] = nr, fe[p] = nr - We;
|
|
2760
2760
|
}
|
|
2761
2761
|
t.modifiersData[n] = fe;
|
|
@@ -2862,9 +2862,9 @@ function bo() {
|
|
|
2862
2862
|
function bc(e) {
|
|
2863
2863
|
e === void 0 && (e = {});
|
|
2864
2864
|
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? yo : o;
|
|
2865
|
-
return function(s, c,
|
|
2866
|
-
|
|
2867
|
-
var
|
|
2865
|
+
return function(s, c, l) {
|
|
2866
|
+
l === void 0 && (l = i);
|
|
2867
|
+
var u = {
|
|
2868
2868
|
placement: "bottom",
|
|
2869
2869
|
orderedModifiers: [],
|
|
2870
2870
|
options: Object.assign({}, yo, i),
|
|
@@ -2875,18 +2875,18 @@ function bc(e) {
|
|
|
2875
2875
|
},
|
|
2876
2876
|
attributes: {},
|
|
2877
2877
|
styles: {}
|
|
2878
|
-
}, f = [],
|
|
2879
|
-
state:
|
|
2878
|
+
}, f = [], g = !1, m = {
|
|
2879
|
+
state: u,
|
|
2880
2880
|
setOptions: function(x) {
|
|
2881
|
-
var T = typeof x == "function" ? x(
|
|
2882
|
-
|
|
2881
|
+
var T = typeof x == "function" ? x(u.options) : x;
|
|
2882
|
+
v(), u.options = Object.assign({}, i, u.options, T), u.scrollParents = {
|
|
2883
2883
|
reference: pt(s) ? Wt(s) : s.contextElement ? Wt(s.contextElement) : [],
|
|
2884
2884
|
popper: Wt(c)
|
|
2885
2885
|
};
|
|
2886
|
-
var _ = vc(yc([].concat(n,
|
|
2887
|
-
return
|
|
2886
|
+
var _ = vc(yc([].concat(n, u.options.modifiers)));
|
|
2887
|
+
return u.orderedModifiers = _.filter(function(S) {
|
|
2888
2888
|
return S.enabled;
|
|
2889
|
-
}), h(),
|
|
2889
|
+
}), h(), m.update();
|
|
2890
2890
|
},
|
|
2891
2891
|
// Sync update – it will always be executed, even if not necessary. This
|
|
2892
2892
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -2894,27 +2894,27 @@ function bc(e) {
|
|
|
2894
2894
|
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
2895
2895
|
// prefer the async Popper#update method
|
|
2896
2896
|
forceUpdate: function() {
|
|
2897
|
-
if (!
|
|
2898
|
-
var x =
|
|
2897
|
+
if (!g) {
|
|
2898
|
+
var x = u.elements, T = x.reference, _ = x.popper;
|
|
2899
2899
|
if (bo(T, _)) {
|
|
2900
|
-
|
|
2901
|
-
reference: hc(T, Jt(_),
|
|
2900
|
+
u.rects = {
|
|
2901
|
+
reference: hc(T, Jt(_), u.options.strategy === "fixed"),
|
|
2902
2902
|
popper: Tn(_)
|
|
2903
|
-
},
|
|
2904
|
-
return
|
|
2903
|
+
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(K) {
|
|
2904
|
+
return u.modifiersData[K.name] = Object.assign({}, K.data);
|
|
2905
2905
|
});
|
|
2906
|
-
for (var S = 0; S <
|
|
2907
|
-
if (
|
|
2908
|
-
|
|
2906
|
+
for (var S = 0; S < u.orderedModifiers.length; S++) {
|
|
2907
|
+
if (u.reset === !0) {
|
|
2908
|
+
u.reset = !1, S = -1;
|
|
2909
2909
|
continue;
|
|
2910
2910
|
}
|
|
2911
|
-
var p =
|
|
2912
|
-
typeof P == "function" && (
|
|
2913
|
-
state:
|
|
2911
|
+
var p = u.orderedModifiers[S], P = p.fn, N = p.options, J = N === void 0 ? {} : N, Z = p.name;
|
|
2912
|
+
typeof P == "function" && (u = P({
|
|
2913
|
+
state: u,
|
|
2914
2914
|
options: J,
|
|
2915
2915
|
name: Z,
|
|
2916
|
-
instance:
|
|
2917
|
-
}) ||
|
|
2916
|
+
instance: m
|
|
2917
|
+
}) || u);
|
|
2918
2918
|
}
|
|
2919
2919
|
}
|
|
2920
2920
|
}
|
|
@@ -2923,26 +2923,26 @@ function bc(e) {
|
|
|
2923
2923
|
// not necessary (debounced to run at most once-per-tick)
|
|
2924
2924
|
update: gc(function() {
|
|
2925
2925
|
return new Promise(function(b) {
|
|
2926
|
-
|
|
2926
|
+
m.forceUpdate(), b(u);
|
|
2927
2927
|
});
|
|
2928
2928
|
}),
|
|
2929
2929
|
destroy: function() {
|
|
2930
|
-
|
|
2930
|
+
v(), g = !0;
|
|
2931
2931
|
}
|
|
2932
2932
|
};
|
|
2933
2933
|
if (!bo(s, c))
|
|
2934
|
-
return
|
|
2935
|
-
|
|
2936
|
-
!
|
|
2934
|
+
return m;
|
|
2935
|
+
m.setOptions(l).then(function(b) {
|
|
2936
|
+
!g && l.onFirstUpdate && l.onFirstUpdate(b);
|
|
2937
2937
|
});
|
|
2938
2938
|
function h() {
|
|
2939
|
-
|
|
2939
|
+
u.orderedModifiers.forEach(function(b) {
|
|
2940
2940
|
var x = b.name, T = b.options, _ = T === void 0 ? {} : T, S = b.effect;
|
|
2941
2941
|
if (typeof S == "function") {
|
|
2942
2942
|
var p = S({
|
|
2943
|
-
state:
|
|
2943
|
+
state: u,
|
|
2944
2944
|
name: x,
|
|
2945
|
-
instance:
|
|
2945
|
+
instance: m,
|
|
2946
2946
|
options: _
|
|
2947
2947
|
}), P = function() {
|
|
2948
2948
|
};
|
|
@@ -2950,12 +2950,12 @@ function bc(e) {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
});
|
|
2952
2952
|
}
|
|
2953
|
-
function
|
|
2953
|
+
function v() {
|
|
2954
2954
|
f.forEach(function(b) {
|
|
2955
2955
|
return b();
|
|
2956
2956
|
}), f = [];
|
|
2957
2957
|
}
|
|
2958
|
-
return
|
|
2958
|
+
return m;
|
|
2959
2959
|
};
|
|
2960
2960
|
}
|
|
2961
2961
|
const Ec = bc({
|
|
@@ -3014,15 +3014,15 @@ function _c(e, t, r = {}) {
|
|
|
3014
3014
|
strategy: i = "absolute",
|
|
3015
3015
|
modifiers: a = Sc
|
|
3016
3016
|
} = r, s = Oc(r, wc);
|
|
3017
|
-
const c = ge(a),
|
|
3017
|
+
const c = ge(a), l = ge(), u = B(() => {
|
|
3018
3018
|
var b;
|
|
3019
|
-
(b =
|
|
3019
|
+
(b = l.current) == null || b.update();
|
|
3020
3020
|
}, []), f = B(() => {
|
|
3021
3021
|
var b;
|
|
3022
|
-
(b =
|
|
3023
|
-
}, []), [
|
|
3022
|
+
(b = l.current) == null || b.forceUpdate();
|
|
3023
|
+
}, []), [g, m] = ys(Ke({
|
|
3024
3024
|
placement: o,
|
|
3025
|
-
update:
|
|
3025
|
+
update: u,
|
|
3026
3026
|
forceUpdate: f,
|
|
3027
3027
|
attributes: {},
|
|
3028
3028
|
styles: {
|
|
@@ -3040,37 +3040,37 @@ function _c(e, t, r = {}) {
|
|
|
3040
3040
|
const x = {}, T = {};
|
|
3041
3041
|
Object.keys(b.elements).forEach((_) => {
|
|
3042
3042
|
x[_] = b.styles[_], T[_] = b.attributes[_];
|
|
3043
|
-
}),
|
|
3043
|
+
}), m({
|
|
3044
3044
|
state: b,
|
|
3045
3045
|
styles: x,
|
|
3046
3046
|
attributes: T,
|
|
3047
|
-
update:
|
|
3047
|
+
update: u,
|
|
3048
3048
|
forceUpdate: f,
|
|
3049
3049
|
placement: b.placement
|
|
3050
3050
|
});
|
|
3051
3051
|
}
|
|
3052
|
-
}), [
|
|
3052
|
+
}), [u, f, m]), v = Fe(() => (Ht(c.current, a) || (c.current = a), c.current), [a]);
|
|
3053
3053
|
return _e(() => {
|
|
3054
|
-
!
|
|
3054
|
+
!l.current || !n || l.current.setOptions({
|
|
3055
3055
|
placement: o,
|
|
3056
3056
|
strategy: i,
|
|
3057
|
-
modifiers: [...
|
|
3057
|
+
modifiers: [...v, h, xc]
|
|
3058
3058
|
});
|
|
3059
|
-
}, [i, o, h, n,
|
|
3059
|
+
}, [i, o, h, n, v]), _e(() => {
|
|
3060
3060
|
if (!(!n || e == null || t == null))
|
|
3061
|
-
return
|
|
3061
|
+
return l.current = Ec(e, t, Object.assign({}, s, {
|
|
3062
3062
|
placement: o,
|
|
3063
3063
|
strategy: i,
|
|
3064
|
-
modifiers: [...
|
|
3064
|
+
modifiers: [...v, Tc, h]
|
|
3065
3065
|
})), () => {
|
|
3066
|
-
|
|
3066
|
+
l.current != null && (l.current.destroy(), l.current = void 0, m((b) => Object.assign({}, b, {
|
|
3067
3067
|
attributes: {},
|
|
3068
3068
|
styles: {
|
|
3069
3069
|
popper: {}
|
|
3070
3070
|
}
|
|
3071
3071
|
})));
|
|
3072
3072
|
};
|
|
3073
|
-
}, [n, e, t]),
|
|
3073
|
+
}, [n, e, t]), g;
|
|
3074
3074
|
}
|
|
3075
3075
|
function cn(e, t) {
|
|
3076
3076
|
if (e.contains)
|
|
@@ -3125,32 +3125,32 @@ function Nc(e, t = Eo, {
|
|
|
3125
3125
|
disabled: r,
|
|
3126
3126
|
clickTrigger: n = "click"
|
|
3127
3127
|
} = {}) {
|
|
3128
|
-
const o = ge(!1), i = ge(!1), a = B((
|
|
3129
|
-
const
|
|
3130
|
-
di(!!
|
|
3131
|
-
}, [e]), s = St((
|
|
3132
|
-
const
|
|
3133
|
-
|
|
3134
|
-
}), c = St((
|
|
3135
|
-
o.current || t(
|
|
3128
|
+
const o = ge(!1), i = ge(!1), a = B((l) => {
|
|
3129
|
+
const u = lr(e);
|
|
3130
|
+
di(!!u, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !u || jc(l) || !Ac(l) || !!cn(u, l.target) || i.current, i.current = !1;
|
|
3131
|
+
}, [e]), s = St((l) => {
|
|
3132
|
+
const u = lr(e);
|
|
3133
|
+
u && cn(u, l.target) && (i.current = !0);
|
|
3134
|
+
}), c = St((l) => {
|
|
3135
|
+
o.current || t(l);
|
|
3136
3136
|
});
|
|
3137
3137
|
_e(() => {
|
|
3138
|
-
var
|
|
3138
|
+
var l, u;
|
|
3139
3139
|
if (r || e == null)
|
|
3140
3140
|
return;
|
|
3141
|
-
const f = Tr(lr(e)),
|
|
3142
|
-
let
|
|
3141
|
+
const f = Tr(lr(e)), g = f.defaultView || window;
|
|
3142
|
+
let m = (l = g.event) != null ? l : (u = g.parent) == null ? void 0 : u.event, h = null;
|
|
3143
3143
|
wo[n] && (h = ut(f, wo[n], s, !0));
|
|
3144
|
-
const
|
|
3145
|
-
if (T ===
|
|
3146
|
-
|
|
3144
|
+
const v = ut(f, n, a, !0), b = ut(f, n, (T) => {
|
|
3145
|
+
if (T === m) {
|
|
3146
|
+
m = void 0;
|
|
3147
3147
|
return;
|
|
3148
3148
|
}
|
|
3149
3149
|
c(T);
|
|
3150
3150
|
});
|
|
3151
3151
|
let x = [];
|
|
3152
3152
|
return "ontouchstart" in f.documentElement && (x = [].slice.call(f.body.children).map((T) => ut(T, "mousemove", Eo))), () => {
|
|
3153
|
-
h == null || h(),
|
|
3153
|
+
h == null || h(), v(), b(), x.forEach((T) => T());
|
|
3154
3154
|
};
|
|
3155
3155
|
}, [e, r, n, a, s, c]);
|
|
3156
3156
|
}
|
|
@@ -3174,7 +3174,7 @@ function Dc({
|
|
|
3174
3174
|
arrowElement: s,
|
|
3175
3175
|
popperConfig: c = {}
|
|
3176
3176
|
}) {
|
|
3177
|
-
var
|
|
3177
|
+
var l, u, f, g, m;
|
|
3178
3178
|
const h = Mc(c.modifiers);
|
|
3179
3179
|
return Object.assign({}, c, {
|
|
3180
3180
|
placement: r,
|
|
@@ -3183,21 +3183,21 @@ function Dc({
|
|
|
3183
3183
|
modifiers: Lc(Object.assign({}, h, {
|
|
3184
3184
|
eventListeners: {
|
|
3185
3185
|
enabled: t,
|
|
3186
|
-
options: (
|
|
3186
|
+
options: (l = h.eventListeners) == null ? void 0 : l.options
|
|
3187
3187
|
},
|
|
3188
3188
|
preventOverflow: Object.assign({}, h.preventOverflow, {
|
|
3189
3189
|
options: a ? Object.assign({
|
|
3190
3190
|
padding: a
|
|
3191
|
-
}, (
|
|
3191
|
+
}, (u = h.preventOverflow) == null ? void 0 : u.options) : (f = h.preventOverflow) == null ? void 0 : f.options
|
|
3192
3192
|
}),
|
|
3193
3193
|
offset: {
|
|
3194
3194
|
options: Object.assign({
|
|
3195
3195
|
offset: o
|
|
3196
|
-
}, (
|
|
3196
|
+
}, (g = h.offset) == null ? void 0 : g.options)
|
|
3197
3197
|
},
|
|
3198
3198
|
arrow: Object.assign({}, h.arrow, {
|
|
3199
3199
|
enabled: !!s,
|
|
3200
|
-
options: Object.assign({}, (
|
|
3200
|
+
options: Object.assign({}, (m = h.arrow) == null ? void 0 : m.options, {
|
|
3201
3201
|
element: s
|
|
3202
3202
|
})
|
|
3203
3203
|
}),
|
|
@@ -3272,10 +3272,10 @@ function $c({
|
|
|
3272
3272
|
_e(() => {
|
|
3273
3273
|
t ? a.current = !0 : s(i.current);
|
|
3274
3274
|
}, [t, s]);
|
|
3275
|
-
const c = mt(i, e.ref),
|
|
3275
|
+
const c = mt(i, e.ref), l = /* @__PURE__ */ Or(e, {
|
|
3276
3276
|
ref: c
|
|
3277
3277
|
});
|
|
3278
|
-
return t ?
|
|
3278
|
+
return t ? l : o || !a.current && n ? null : l;
|
|
3279
3279
|
}
|
|
3280
3280
|
function Fc(e) {
|
|
3281
3281
|
return e.code === "Escape" || e.keyCode === 27;
|
|
@@ -3307,16 +3307,16 @@ function Hc(e) {
|
|
|
3307
3307
|
onExited: a,
|
|
3308
3308
|
addEndListener: s,
|
|
3309
3309
|
children: c
|
|
3310
|
-
} = e,
|
|
3310
|
+
} = e, l = zc(e, Bc);
|
|
3311
3311
|
const {
|
|
3312
|
-
major:
|
|
3313
|
-
} = Uc(), f =
|
|
3314
|
-
P &&
|
|
3315
|
-
},
|
|
3316
|
-
return Object.assign({},
|
|
3317
|
-
nodeRef:
|
|
3312
|
+
major: u
|
|
3313
|
+
} = Uc(), f = u >= 19 ? c.props.ref : c.ref, g = ge(null), m = mt(g, typeof c == "function" ? null : f), h = (P) => (N) => {
|
|
3314
|
+
P && g.current && P(g.current, N);
|
|
3315
|
+
}, v = B(h(t), [t]), b = B(h(r), [r]), x = B(h(n), [n]), T = B(h(o), [o]), _ = B(h(i), [i]), S = B(h(a), [a]), p = B(h(s), [s]);
|
|
3316
|
+
return Object.assign({}, l, {
|
|
3317
|
+
nodeRef: g
|
|
3318
3318
|
}, t && {
|
|
3319
|
-
onEnter:
|
|
3319
|
+
onEnter: v
|
|
3320
3320
|
}, r && {
|
|
3321
3321
|
onEntering: b
|
|
3322
3322
|
}, n && {
|
|
@@ -3333,10 +3333,10 @@ function Hc(e) {
|
|
|
3333
3333
|
children: typeof c == "function" ? (P, N) => (
|
|
3334
3334
|
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
3335
3335
|
c(P, Object.assign({}, N, {
|
|
3336
|
-
ref:
|
|
3336
|
+
ref: m
|
|
3337
3337
|
}))
|
|
3338
3338
|
) : /* @__PURE__ */ Or(c, {
|
|
3339
|
-
ref:
|
|
3339
|
+
ref: m
|
|
3340
3340
|
})
|
|
3341
3341
|
});
|
|
3342
3342
|
}
|
|
@@ -3390,12 +3390,12 @@ function Gc({
|
|
|
3390
3390
|
t && i && a(!1);
|
|
3391
3391
|
const s = qc({
|
|
3392
3392
|
in: !!t,
|
|
3393
|
-
onTransition: (
|
|
3394
|
-
const
|
|
3395
|
-
|
|
3393
|
+
onTransition: (l) => {
|
|
3394
|
+
const u = () => {
|
|
3395
|
+
l.isStale() || (l.in ? n == null || n(l.element, l.initial) : (a(!0), r == null || r(l.element)));
|
|
3396
3396
|
};
|
|
3397
|
-
Promise.resolve(o(
|
|
3398
|
-
throw
|
|
3397
|
+
Promise.resolve(o(l)).then(u, (f) => {
|
|
3398
|
+
throw l.in || a(!0), f;
|
|
3399
3399
|
});
|
|
3400
3400
|
}
|
|
3401
3401
|
}), c = mt(s, e.ref);
|
|
@@ -3432,12 +3432,12 @@ function Xc(e, t, {
|
|
|
3432
3432
|
return;
|
|
3433
3433
|
const a = Tr(lr(e));
|
|
3434
3434
|
let s = (a.defaultView || window).event;
|
|
3435
|
-
const c = ut(a, "keyup", (
|
|
3436
|
-
if (
|
|
3435
|
+
const c = ut(a, "keyup", (l) => {
|
|
3436
|
+
if (l === s) {
|
|
3437
3437
|
s = void 0;
|
|
3438
3438
|
return;
|
|
3439
3439
|
}
|
|
3440
|
-
i(
|
|
3440
|
+
i(l);
|
|
3441
3441
|
});
|
|
3442
3442
|
return () => {
|
|
3443
3443
|
c();
|
|
@@ -3453,7 +3453,7 @@ const vi = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
|
3453
3453
|
popperConfig: a = {},
|
|
3454
3454
|
transition: s,
|
|
3455
3455
|
runTransition: c
|
|
3456
|
-
} = e, [
|
|
3456
|
+
} = e, [l, u] = so(), [f, g] = so(), m = mt(u, t), h = Oo(e.container), v = Oo(e.target), [b, x] = Ke(!e.show), T = _c(v, l, Dc({
|
|
3457
3457
|
placement: o,
|
|
3458
3458
|
enableEvents: !!e.show,
|
|
3459
3459
|
containerPadding: i || 5,
|
|
@@ -3466,7 +3466,7 @@ const vi = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
|
3466
3466
|
const _ = (...ie) => {
|
|
3467
3467
|
x(!0), e.onExited && e.onExited(...ie);
|
|
3468
3468
|
}, S = e.show || !b;
|
|
3469
|
-
if (Xc(
|
|
3469
|
+
if (Xc(l, e.onHide, {
|
|
3470
3470
|
disabled: !e.rootClose || e.rootCloseDisabled,
|
|
3471
3471
|
clickTrigger: e.rootCloseEvent
|
|
3472
3472
|
}), !S)
|
|
@@ -3480,14 +3480,14 @@ const vi = /* @__PURE__ */ Y.forwardRef((e, t) => {
|
|
|
3480
3480
|
} = e;
|
|
3481
3481
|
let K = e.children(Object.assign({}, T.attributes.popper, {
|
|
3482
3482
|
style: T.styles.popper,
|
|
3483
|
-
ref:
|
|
3483
|
+
ref: m
|
|
3484
3484
|
}), {
|
|
3485
3485
|
popper: T,
|
|
3486
3486
|
placement: o,
|
|
3487
3487
|
show: !!e.show,
|
|
3488
3488
|
arrowProps: Object.assign({}, T.attributes.arrow, {
|
|
3489
3489
|
style: T.styles.arrow,
|
|
3490
|
-
ref:
|
|
3490
|
+
ref: g
|
|
3491
3491
|
})
|
|
3492
3492
|
});
|
|
3493
3493
|
return K = Kc(s, c, {
|
|
@@ -3550,12 +3550,12 @@ const Zc = /* @__PURE__ */ Y.forwardRef(({
|
|
|
3550
3550
|
arrowProps: a,
|
|
3551
3551
|
hasDoneInitialMeasure: s,
|
|
3552
3552
|
popper: c,
|
|
3553
|
-
show:
|
|
3554
|
-
...
|
|
3553
|
+
show: l,
|
|
3554
|
+
...u
|
|
3555
3555
|
}, f) => {
|
|
3556
|
-
const
|
|
3556
|
+
const g = dt(e, "popover"), m = Ko(), [h] = (t == null ? void 0 : t.split("-")) || [], v = yi(h, m);
|
|
3557
3557
|
let b = n;
|
|
3558
|
-
return
|
|
3558
|
+
return l && !s && (b = {
|
|
3559
3559
|
...n,
|
|
3560
3560
|
...bi(c == null ? void 0 : c.strategy)
|
|
3561
3561
|
}), /* @__PURE__ */ A.jsxs("div", {
|
|
@@ -3563,8 +3563,8 @@ const Zc = /* @__PURE__ */ Y.forwardRef(({
|
|
|
3563
3563
|
role: "tooltip",
|
|
3564
3564
|
style: b,
|
|
3565
3565
|
"x-placement": h,
|
|
3566
|
-
className: ce(r,
|
|
3567
|
-
...
|
|
3566
|
+
className: ce(r, g, h && `bs-popover-${v}`),
|
|
3567
|
+
...u,
|
|
3568
3568
|
children: [/* @__PURE__ */ A.jsx("div", {
|
|
3569
3569
|
className: "popover-arrow",
|
|
3570
3570
|
...a
|
|
@@ -3588,21 +3588,21 @@ const Zc = /* @__PURE__ */ Y.forwardRef(({
|
|
|
3588
3588
|
hasDoneInitialMeasure: a,
|
|
3589
3589
|
popper: s,
|
|
3590
3590
|
show: c,
|
|
3591
|
-
...
|
|
3592
|
-
},
|
|
3591
|
+
...l
|
|
3592
|
+
}, u) => {
|
|
3593
3593
|
e = dt(e, "tooltip");
|
|
3594
|
-
const f = Ko(), [
|
|
3594
|
+
const f = Ko(), [g] = (t == null ? void 0 : t.split("-")) || [], m = yi(g, f);
|
|
3595
3595
|
let h = n;
|
|
3596
3596
|
return c && !a && (h = {
|
|
3597
3597
|
...n,
|
|
3598
3598
|
...bi(s == null ? void 0 : s.strategy)
|
|
3599
3599
|
}), /* @__PURE__ */ A.jsxs("div", {
|
|
3600
|
-
ref:
|
|
3600
|
+
ref: u,
|
|
3601
3601
|
style: h,
|
|
3602
3602
|
role: "tooltip",
|
|
3603
|
-
"x-placement":
|
|
3604
|
-
className: ce(r, e, `bs-tooltip-${
|
|
3605
|
-
...
|
|
3603
|
+
"x-placement": g,
|
|
3604
|
+
className: ce(r, e, `bs-tooltip-${m}`),
|
|
3605
|
+
...l,
|
|
3606
3606
|
children: [/* @__PURE__ */ A.jsx("div", {
|
|
3607
3607
|
className: "tooltip-arrow",
|
|
3608
3608
|
...i
|
|
@@ -3654,20 +3654,20 @@ const Oi = /* @__PURE__ */ Y.forwardRef(({
|
|
|
3654
3654
|
show: i = !1,
|
|
3655
3655
|
...a
|
|
3656
3656
|
}, s) => {
|
|
3657
|
-
const c = ge({}), [
|
|
3658
|
-
|
|
3657
|
+
const c = ge({}), [l, u] = Ke(null), [f, g] = eu(a.offset), m = mt(s, f), h = t === !0 ? nn : t || void 0, v = St((b) => {
|
|
3658
|
+
u(b), r == null || r.onFirstUpdate == null || r.onFirstUpdate(b);
|
|
3659
3659
|
});
|
|
3660
3660
|
return rn(() => {
|
|
3661
|
-
|
|
3662
|
-
}, [
|
|
3663
|
-
i ||
|
|
3661
|
+
l && a.target && (c.current.scheduleUpdate == null || c.current.scheduleUpdate());
|
|
3662
|
+
}, [l, a.target]), _e(() => {
|
|
3663
|
+
i || u(null);
|
|
3664
3664
|
}, [i]), /* @__PURE__ */ A.jsx(vi, {
|
|
3665
3665
|
...a,
|
|
3666
|
-
ref:
|
|
3666
|
+
ref: m,
|
|
3667
3667
|
popperConfig: {
|
|
3668
3668
|
...r,
|
|
3669
|
-
modifiers:
|
|
3670
|
-
onFirstUpdate:
|
|
3669
|
+
modifiers: g.concat(r.modifiers || []),
|
|
3670
|
+
onFirstUpdate: v
|
|
3671
3671
|
},
|
|
3672
3672
|
transition: h,
|
|
3673
3673
|
rootClose: n,
|
|
@@ -3686,7 +3686,7 @@ const Oi = /* @__PURE__ */ Y.forwardRef(({
|
|
|
3686
3686
|
placement: P,
|
|
3687
3687
|
outOfBoundaries: (T == null || (S = T.state) == null || (p = S.modifiersData.hide) == null ? void 0 : p.isReferenceHidden) || !1,
|
|
3688
3688
|
strategy: r.strategy
|
|
3689
|
-
}), J = !!
|
|
3689
|
+
}), J = !!l;
|
|
3690
3690
|
return typeof e == "function" ? e({
|
|
3691
3691
|
...b,
|
|
3692
3692
|
placement: P,
|
|
@@ -3734,38 +3734,38 @@ const nu = ({
|
|
|
3734
3734
|
onToggle: a,
|
|
3735
3735
|
delay: s,
|
|
3736
3736
|
placement: c,
|
|
3737
|
-
flip:
|
|
3738
|
-
...
|
|
3737
|
+
flip: l = c && c.indexOf("auto") !== -1,
|
|
3738
|
+
...u
|
|
3739
3739
|
}) => {
|
|
3740
|
-
const f = ge(null),
|
|
3740
|
+
const f = ge(null), g = mt(f, r.ref), m = gs(), h = ge(""), [v, b] = Go(o, i, a), x = ru(s), {
|
|
3741
3741
|
onFocus: T,
|
|
3742
3742
|
onBlur: _,
|
|
3743
3743
|
onClick: S
|
|
3744
3744
|
} = typeof r != "function" ? Y.Children.only(r).props : {}, p = (Q) => {
|
|
3745
|
-
|
|
3745
|
+
g(vr(Q));
|
|
3746
3746
|
}, P = B(() => {
|
|
3747
|
-
if (
|
|
3747
|
+
if (m.clear(), h.current = "show", !x.show) {
|
|
3748
3748
|
b(!0);
|
|
3749
3749
|
return;
|
|
3750
3750
|
}
|
|
3751
|
-
|
|
3751
|
+
m.set(() => {
|
|
3752
3752
|
h.current === "show" && b(!0);
|
|
3753
3753
|
}, x.show);
|
|
3754
|
-
}, [x.show, b,
|
|
3755
|
-
if (
|
|
3754
|
+
}, [x.show, b, m]), N = B(() => {
|
|
3755
|
+
if (m.clear(), h.current = "hide", !x.hide) {
|
|
3756
3756
|
b(!1);
|
|
3757
3757
|
return;
|
|
3758
3758
|
}
|
|
3759
|
-
|
|
3759
|
+
m.set(() => {
|
|
3760
3760
|
h.current === "hide" && b(!1);
|
|
3761
3761
|
}, x.hide);
|
|
3762
|
-
}, [x.hide, b,
|
|
3762
|
+
}, [x.hide, b, m]), J = B((...Q) => {
|
|
3763
3763
|
P(), T == null || T(...Q);
|
|
3764
3764
|
}, [P, T]), Z = B((...Q) => {
|
|
3765
3765
|
N(), _ == null || _(...Q);
|
|
3766
3766
|
}, [N, _]), K = B((...Q) => {
|
|
3767
|
-
b(!
|
|
3768
|
-
}, [S, b,
|
|
3767
|
+
b(!v), S == null || S(...Q);
|
|
3768
|
+
}, [S, b, v]), ie = B((...Q) => {
|
|
3769
3769
|
To(P, Q, "fromElement");
|
|
3770
3770
|
}, [P]), fe = B((...Q) => {
|
|
3771
3771
|
To(N, Q, "toElement");
|
|
@@ -3774,10 +3774,10 @@ const nu = ({
|
|
|
3774
3774
|
};
|
|
3775
3775
|
return V.indexOf("click") !== -1 && (X.onClick = K), V.indexOf("focus") !== -1 && (X.onFocus = J, X.onBlur = Z), V.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && di(V.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), X.onMouseOver = ie, X.onMouseOut = fe), /* @__PURE__ */ A.jsxs(A.Fragment, {
|
|
3776
3776
|
children: [typeof r == "function" ? r(X) : /* @__PURE__ */ Or(r, X), /* @__PURE__ */ A.jsx(Oi, {
|
|
3777
|
-
...
|
|
3778
|
-
show:
|
|
3777
|
+
...u,
|
|
3778
|
+
show: v,
|
|
3779
3779
|
onHide: N,
|
|
3780
|
-
flip:
|
|
3780
|
+
flip: l,
|
|
3781
3781
|
placement: c,
|
|
3782
3782
|
popperConfig: n,
|
|
3783
3783
|
target: f.current,
|
|
@@ -4014,23 +4014,23 @@ let yu = { data: "" }, bu = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
4014
4014
|
return e;
|
|
4015
4015
|
}, Ou = (e, t, r, n, o) => {
|
|
4016
4016
|
let i = _i(e), a = Ye[i] || (Ye[i] = ((c) => {
|
|
4017
|
-
let
|
|
4018
|
-
for (;
|
|
4019
|
-
|
|
4020
|
-
return "go" +
|
|
4017
|
+
let l = 0, u = 11;
|
|
4018
|
+
for (; l < c.length; )
|
|
4019
|
+
u = 101 * u + c.charCodeAt(l++) >>> 0;
|
|
4020
|
+
return "go" + u;
|
|
4021
4021
|
})(i));
|
|
4022
4022
|
if (!Ye[a]) {
|
|
4023
|
-
let c = i !== e ? e : ((
|
|
4024
|
-
let
|
|
4025
|
-
for (;
|
|
4026
|
-
|
|
4027
|
-
return
|
|
4023
|
+
let c = i !== e ? e : ((l) => {
|
|
4024
|
+
let u, f, g = [{}];
|
|
4025
|
+
for (; u = Eu.exec(l.replace(wu, "")); )
|
|
4026
|
+
u[4] ? g.shift() : u[3] ? (f = u[3].replace(Ro, " ").trim(), g.unshift(g[0][f] = g[0][f] || {})) : g[0][u[1]] = u[2].replace(Ro, " ").trim();
|
|
4027
|
+
return g[0];
|
|
4028
4028
|
})(e);
|
|
4029
4029
|
Ye[a] = rt(o ? { ["@keyframes " + a]: c } : c, r ? "" : "." + a);
|
|
4030
4030
|
}
|
|
4031
4031
|
let s = r && Ye.g ? Ye.g : null;
|
|
4032
|
-
return r && (Ye.g = Ye[a]), ((c,
|
|
4033
|
-
f ?
|
|
4032
|
+
return r && (Ye.g = Ye[a]), ((c, l, u, f) => {
|
|
4033
|
+
f ? l.data = l.data.replace(f, c) : l.data.indexOf(c) === -1 && (l.data = u ? c + l.data : l.data + c);
|
|
4034
4034
|
})(Ye[a], t, n, s), a;
|
|
4035
4035
|
}, xu = (e, t, r) => e.reduce((n, o, i) => {
|
|
4036
4036
|
let a = t[i];
|
|
@@ -4057,8 +4057,8 @@ function it(e, t) {
|
|
|
4057
4057
|
function o(i, a) {
|
|
4058
4058
|
let s = Object.assign({}, i), c = s.className || o.className;
|
|
4059
4059
|
r.p = Object.assign({ theme: un && un() }, s), r.o = / *go\d+/.test(c), s.className = _r.apply(r, n) + (c ? " " + c : "");
|
|
4060
|
-
let
|
|
4061
|
-
return e[0] && (
|
|
4060
|
+
let l = e;
|
|
4061
|
+
return e[0] && (l = s.as || e, delete s.as), ln && l[0] && ln(s), Ri(l, s);
|
|
4062
4062
|
}
|
|
4063
4063
|
return o;
|
|
4064
4064
|
};
|
|
@@ -4166,8 +4166,8 @@ var Mu = (e, t) => {
|
|
|
4166
4166
|
let n = B(() => {
|
|
4167
4167
|
r && vt({ type: 6, time: Date.now() });
|
|
4168
4168
|
}, [r]), o = B((i, a) => {
|
|
4169
|
-
let { reverseOrder: s = !1, gutter: c = 8, defaultPosition:
|
|
4170
|
-
return
|
|
4169
|
+
let { reverseOrder: s = !1, gutter: c = 8, defaultPosition: l } = a || {}, u = t.filter((m) => (m.position || l) === (i.position || l) && m.height), f = u.findIndex((m) => m.id === i.id), g = u.filter((m, h) => h < f && m.visible).length;
|
|
4170
|
+
return u.filter((m) => m.visible).slice(...s ? [g + 1] : [0, g]).reduce((m, h) => m + (h.height || 0) + c, 0);
|
|
4171
4171
|
}, [t]);
|
|
4172
4172
|
return { toasts: t, handlers: { updateHeight: Mu, startPause: Lu, endPause: n, calculateOffset: o } };
|
|
4173
4173
|
}, ku = Ge`
|
|
@@ -4373,9 +4373,9 @@ var ol = ({ id: e, className: t, style: r, onHeightUpdate: n, children: o }) =>
|
|
|
4373
4373
|
}
|
|
4374
4374
|
`, sr = 16, Xd = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: o, containerStyle: i, containerClassName: a }) => {
|
|
4375
4375
|
let { toasts: s, handlers: c } = Du(r);
|
|
4376
|
-
return Y.createElement("div", { style: { position: "fixed", zIndex: 9999, top: sr, left: sr, right: sr, bottom: sr, pointerEvents: "none", ...i }, className: a, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, s.map((
|
|
4377
|
-
let
|
|
4378
|
-
return Y.createElement(ol, { id:
|
|
4376
|
+
return Y.createElement("div", { style: { position: "fixed", zIndex: 9999, top: sr, left: sr, right: sr, bottom: sr, pointerEvents: "none", ...i }, className: a, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, s.map((l) => {
|
|
4377
|
+
let u = l.position || t, f = c.calculateOffset(l, { reverseOrder: e, gutter: n, defaultPosition: t }), g = il(u, f);
|
|
4378
|
+
return Y.createElement(ol, { id: l.id, key: l.id, onHeightUpdate: c.updateHeight, className: l.visible ? al : "", style: g }, l.type === "custom" ? Er(l.message, l) : o ? o(l) : Y.createElement(nl, { toast: l, position: u }));
|
|
4379
4379
|
}));
|
|
4380
4380
|
}, xt = je;
|
|
4381
4381
|
const Zd = ht({
|
|
@@ -5033,13 +5033,13 @@ function Ar(e, t, r) {
|
|
|
5033
5033
|
metaTokens: !0,
|
|
5034
5034
|
dots: !1,
|
|
5035
5035
|
indexes: !1
|
|
5036
|
-
}, !1, function(
|
|
5037
|
-
return !E.isUndefined(b[
|
|
5036
|
+
}, !1, function(v, b) {
|
|
5037
|
+
return !E.isUndefined(b[v]);
|
|
5038
5038
|
});
|
|
5039
|
-
const n = r.metaTokens, o = r.visitor ||
|
|
5039
|
+
const n = r.metaTokens, o = r.visitor || u, i = r.dots, a = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
|
|
5040
5040
|
if (!E.isFunction(o))
|
|
5041
5041
|
throw new TypeError("visitor must be a function");
|
|
5042
|
-
function
|
|
5042
|
+
function l(h) {
|
|
5043
5043
|
if (h === null)
|
|
5044
5044
|
return "";
|
|
5045
5045
|
if (E.isDate(h))
|
|
@@ -5048,45 +5048,45 @@ function Ar(e, t, r) {
|
|
|
5048
5048
|
throw new G("Blob is not supported. Use a Buffer instead.");
|
|
5049
5049
|
return E.isArrayBuffer(h) || E.isTypedArray(h) ? c && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
|
|
5050
5050
|
}
|
|
5051
|
-
function
|
|
5051
|
+
function u(h, v, b) {
|
|
5052
5052
|
let x = h;
|
|
5053
5053
|
if (h && !b && typeof h == "object") {
|
|
5054
|
-
if (E.endsWith(
|
|
5055
|
-
|
|
5056
|
-
else if (E.isArray(h) && ql(h) || (E.isFileList(h) || E.endsWith(
|
|
5057
|
-
return
|
|
5054
|
+
if (E.endsWith(v, "{}"))
|
|
5055
|
+
v = n ? v : v.slice(0, -2), h = JSON.stringify(h);
|
|
5056
|
+
else if (E.isArray(h) && ql(h) || (E.isFileList(h) || E.endsWith(v, "[]")) && (x = E.toArray(h)))
|
|
5057
|
+
return v = Fi(v), x.forEach(function(_, S) {
|
|
5058
5058
|
!(E.isUndefined(_) || _ === null) && t.append(
|
|
5059
5059
|
// eslint-disable-next-line no-nested-ternary
|
|
5060
|
-
a === !0 ? No([
|
|
5061
|
-
|
|
5060
|
+
a === !0 ? No([v], S, i) : a === null ? v : v + "[]",
|
|
5061
|
+
l(_)
|
|
5062
5062
|
);
|
|
5063
5063
|
}), !1;
|
|
5064
5064
|
}
|
|
5065
|
-
return pn(h) ? !0 : (t.append(No(b,
|
|
5065
|
+
return pn(h) ? !0 : (t.append(No(b, v, i), l(h)), !1);
|
|
5066
5066
|
}
|
|
5067
|
-
const f = [],
|
|
5068
|
-
defaultVisitor:
|
|
5069
|
-
convertValue:
|
|
5067
|
+
const f = [], g = Object.assign(Gl, {
|
|
5068
|
+
defaultVisitor: u,
|
|
5069
|
+
convertValue: l,
|
|
5070
5070
|
isVisitable: pn
|
|
5071
5071
|
});
|
|
5072
|
-
function
|
|
5072
|
+
function m(h, v) {
|
|
5073
5073
|
if (!E.isUndefined(h)) {
|
|
5074
5074
|
if (f.indexOf(h) !== -1)
|
|
5075
|
-
throw Error("Circular reference detected in " +
|
|
5075
|
+
throw Error("Circular reference detected in " + v.join("."));
|
|
5076
5076
|
f.push(h), E.forEach(h, function(x, T) {
|
|
5077
5077
|
(!(E.isUndefined(x) || x === null) && o.call(
|
|
5078
5078
|
t,
|
|
5079
5079
|
x,
|
|
5080
5080
|
E.isString(T) ? T.trim() : T,
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
)) === !0 &&
|
|
5081
|
+
v,
|
|
5082
|
+
g
|
|
5083
|
+
)) === !0 && m(x, v ? v.concat(T) : [T]);
|
|
5084
5084
|
}), f.pop();
|
|
5085
5085
|
}
|
|
5086
5086
|
}
|
|
5087
5087
|
if (!E.isObject(e))
|
|
5088
5088
|
throw new TypeError("data must be an object");
|
|
5089
|
-
return
|
|
5089
|
+
return m(e), t;
|
|
5090
5090
|
}
|
|
5091
5091
|
function Mo(e) {
|
|
5092
5092
|
const t = {
|
|
@@ -5389,14 +5389,14 @@ class ke {
|
|
|
5389
5389
|
}
|
|
5390
5390
|
set(t, r, n) {
|
|
5391
5391
|
const o = this;
|
|
5392
|
-
function i(s, c,
|
|
5393
|
-
const
|
|
5394
|
-
if (!
|
|
5392
|
+
function i(s, c, l) {
|
|
5393
|
+
const u = Ft(c);
|
|
5394
|
+
if (!u)
|
|
5395
5395
|
throw new Error("header name must be a non-empty string");
|
|
5396
|
-
const f = E.findKey(o,
|
|
5397
|
-
(!f || o[f] === void 0 ||
|
|
5396
|
+
const f = E.findKey(o, u);
|
|
5397
|
+
(!f || o[f] === void 0 || l === !0 || l === void 0 && o[f] !== !1) && (o[f || c] = mr(s));
|
|
5398
5398
|
}
|
|
5399
|
-
const a = (s, c) => E.forEach(s, (
|
|
5399
|
+
const a = (s, c) => E.forEach(s, (l, u) => i(l, u, c));
|
|
5400
5400
|
return E.isPlainObject(t) || t instanceof this.constructor ? a(t, r) : E.isString(t) && (t = t.trim()) && !ff(t) ? a(uf(t), r) : t != null && i(r, t, n), this;
|
|
5401
5401
|
}
|
|
5402
5402
|
get(t, r) {
|
|
@@ -5606,33 +5606,33 @@ function Ef(e, t) {
|
|
|
5606
5606
|
const r = new Array(e), n = new Array(e);
|
|
5607
5607
|
let o = 0, i = 0, a;
|
|
5608
5608
|
return t = t !== void 0 ? t : 1e3, function(c) {
|
|
5609
|
-
const
|
|
5610
|
-
a || (a =
|
|
5611
|
-
let f = i,
|
|
5609
|
+
const l = Date.now(), u = n[i];
|
|
5610
|
+
a || (a = l), r[o] = c, n[o] = l;
|
|
5611
|
+
let f = i, g = 0;
|
|
5612
5612
|
for (; f !== o; )
|
|
5613
|
-
|
|
5614
|
-
if (o = (o + 1) % e, o === i && (i = (i + 1) % e),
|
|
5613
|
+
g += r[f++], f = f % e;
|
|
5614
|
+
if (o = (o + 1) % e, o === i && (i = (i + 1) % e), l - a < t)
|
|
5615
5615
|
return;
|
|
5616
|
-
const
|
|
5617
|
-
return
|
|
5616
|
+
const m = u && l - u;
|
|
5617
|
+
return m ? Math.round(g * 1e3 / m) : void 0;
|
|
5618
5618
|
};
|
|
5619
5619
|
}
|
|
5620
5620
|
function ko(e, t) {
|
|
5621
5621
|
let r = 0;
|
|
5622
5622
|
const n = Ef(50, 250);
|
|
5623
5623
|
return (o) => {
|
|
5624
|
-
const i = o.loaded, a = o.lengthComputable ? o.total : void 0, s = i - r, c = n(s),
|
|
5624
|
+
const i = o.loaded, a = o.lengthComputable ? o.total : void 0, s = i - r, c = n(s), l = i <= a;
|
|
5625
5625
|
r = i;
|
|
5626
|
-
const
|
|
5626
|
+
const u = {
|
|
5627
5627
|
loaded: i,
|
|
5628
5628
|
total: a,
|
|
5629
5629
|
progress: a ? i / a : void 0,
|
|
5630
5630
|
bytes: s,
|
|
5631
5631
|
rate: c || void 0,
|
|
5632
|
-
estimated: c && a &&
|
|
5632
|
+
estimated: c && a && l ? (a - i) / c : void 0,
|
|
5633
5633
|
event: o
|
|
5634
5634
|
};
|
|
5635
|
-
|
|
5635
|
+
u[t ? "download" : "upload"] = !0, e(u);
|
|
5636
5636
|
};
|
|
5637
5637
|
}
|
|
5638
5638
|
const wf = typeof XMLHttpRequest < "u", Of = wf && function(e) {
|
|
@@ -5640,46 +5640,46 @@ const wf = typeof XMLHttpRequest < "u", Of = wf && function(e) {
|
|
|
5640
5640
|
let o = e.data;
|
|
5641
5641
|
const i = ke.from(e.headers).normalize();
|
|
5642
5642
|
let { responseType: a, withXSRFToken: s } = e, c;
|
|
5643
|
-
function
|
|
5643
|
+
function l() {
|
|
5644
5644
|
e.cancelToken && e.cancelToken.unsubscribe(c), e.signal && e.signal.removeEventListener("abort", c);
|
|
5645
5645
|
}
|
|
5646
|
-
let
|
|
5646
|
+
let u;
|
|
5647
5647
|
if (E.isFormData(o)) {
|
|
5648
5648
|
if (Be.hasStandardBrowserEnv || Be.hasStandardBrowserWebWorkerEnv)
|
|
5649
5649
|
i.setContentType(!1);
|
|
5650
|
-
else if ((
|
|
5651
|
-
const [
|
|
5652
|
-
i.setContentType([
|
|
5650
|
+
else if ((u = i.getContentType()) !== !1) {
|
|
5651
|
+
const [v, ...b] = u ? u.split(";").map((x) => x.trim()).filter(Boolean) : [];
|
|
5652
|
+
i.setContentType([v || "multipart/form-data", ...b].join("; "));
|
|
5653
5653
|
}
|
|
5654
5654
|
}
|
|
5655
5655
|
let f = new XMLHttpRequest();
|
|
5656
5656
|
if (e.auth) {
|
|
5657
|
-
const
|
|
5658
|
-
i.set("Authorization", "Basic " + btoa(
|
|
5657
|
+
const v = e.auth.username || "", b = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
5658
|
+
i.set("Authorization", "Basic " + btoa(v + ":" + b));
|
|
5659
5659
|
}
|
|
5660
|
-
const
|
|
5661
|
-
f.open(e.method.toUpperCase(), Bi(
|
|
5662
|
-
function
|
|
5660
|
+
const g = Yi(e.baseURL, e.url);
|
|
5661
|
+
f.open(e.method.toUpperCase(), Bi(g, e.params, e.paramsSerializer), !0), f.timeout = e.timeout;
|
|
5662
|
+
function m() {
|
|
5663
5663
|
if (!f)
|
|
5664
5664
|
return;
|
|
5665
|
-
const
|
|
5665
|
+
const v = ke.from(
|
|
5666
5666
|
"getAllResponseHeaders" in f && f.getAllResponseHeaders()
|
|
5667
5667
|
), x = {
|
|
5668
5668
|
data: !a || a === "text" || a === "json" ? f.responseText : f.response,
|
|
5669
5669
|
status: f.status,
|
|
5670
5670
|
statusText: f.statusText,
|
|
5671
|
-
headers:
|
|
5671
|
+
headers: v,
|
|
5672
5672
|
config: e,
|
|
5673
5673
|
request: f
|
|
5674
5674
|
};
|
|
5675
5675
|
hf(function(_) {
|
|
5676
|
-
r(_),
|
|
5676
|
+
r(_), l();
|
|
5677
5677
|
}, function(_) {
|
|
5678
|
-
n(_),
|
|
5678
|
+
n(_), l();
|
|
5679
5679
|
}, x), f = null;
|
|
5680
5680
|
}
|
|
5681
|
-
if ("onloadend" in f ? f.onloadend =
|
|
5682
|
-
!f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
5681
|
+
if ("onloadend" in f ? f.onloadend = m : f.onreadystatechange = function() {
|
|
5682
|
+
!f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(m);
|
|
5683
5683
|
}, f.onabort = function() {
|
|
5684
5684
|
f && (n(new G("Request aborted", G.ECONNABORTED, e, f)), f = null);
|
|
5685
5685
|
}, f.onerror = function() {
|
|
@@ -5693,16 +5693,16 @@ const wf = typeof XMLHttpRequest < "u", Of = wf && function(e) {
|
|
|
5693
5693
|
e,
|
|
5694
5694
|
f
|
|
5695
5695
|
)), f = null;
|
|
5696
|
-
}, Be.hasStandardBrowserEnv && (s && E.isFunction(s) && (s = s(e)), s || s !== !1 && yf(
|
|
5697
|
-
const
|
|
5698
|
-
|
|
5696
|
+
}, Be.hasStandardBrowserEnv && (s && E.isFunction(s) && (s = s(e)), s || s !== !1 && yf(g))) {
|
|
5697
|
+
const v = e.xsrfHeaderName && e.xsrfCookieName && mf.read(e.xsrfCookieName);
|
|
5698
|
+
v && i.set(e.xsrfHeaderName, v);
|
|
5699
5699
|
}
|
|
5700
5700
|
o === void 0 && i.setContentType(null), "setRequestHeader" in f && E.forEach(i.toJSON(), function(b, x) {
|
|
5701
5701
|
f.setRequestHeader(x, b);
|
|
5702
|
-
}), E.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), a && a !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", ko(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", ko(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (
|
|
5703
|
-
f && (n(!
|
|
5702
|
+
}), E.isUndefined(e.withCredentials) || (f.withCredentials = !!e.withCredentials), a && a !== "json" && (f.responseType = e.responseType), typeof e.onDownloadProgress == "function" && f.addEventListener("progress", ko(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && f.upload && f.upload.addEventListener("progress", ko(e.onUploadProgress)), (e.cancelToken || e.signal) && (c = (v) => {
|
|
5703
|
+
f && (n(!v || v.type ? new er(null, e, f) : v), f.abort(), f = null);
|
|
5704
5704
|
}, e.cancelToken && e.cancelToken.subscribe(c), e.signal && (e.signal.aborted ? c() : e.signal.addEventListener("abort", c)));
|
|
5705
|
-
const h = bf(
|
|
5705
|
+
const h = bf(g);
|
|
5706
5706
|
if (h && Be.protocols.indexOf(h) === -1) {
|
|
5707
5707
|
n(new G("Unsupported protocol " + h + ":", G.ERR_BAD_REQUEST, e));
|
|
5708
5708
|
return;
|
|
@@ -5779,32 +5779,32 @@ const Fo = (e) => e instanceof ke ? { ...e } : e;
|
|
|
5779
5779
|
function At(e, t) {
|
|
5780
5780
|
t = t || {};
|
|
5781
5781
|
const r = {};
|
|
5782
|
-
function n(
|
|
5783
|
-
return E.isPlainObject(
|
|
5782
|
+
function n(l, u, f) {
|
|
5783
|
+
return E.isPlainObject(l) && E.isPlainObject(u) ? E.merge.call({ caseless: f }, l, u) : E.isPlainObject(u) ? E.merge({}, u) : E.isArray(u) ? u.slice() : u;
|
|
5784
5784
|
}
|
|
5785
|
-
function o(
|
|
5786
|
-
if (E.isUndefined(
|
|
5787
|
-
if (!E.isUndefined(
|
|
5788
|
-
return n(void 0,
|
|
5785
|
+
function o(l, u, f) {
|
|
5786
|
+
if (E.isUndefined(u)) {
|
|
5787
|
+
if (!E.isUndefined(l))
|
|
5788
|
+
return n(void 0, l, f);
|
|
5789
5789
|
} else
|
|
5790
|
-
return n(
|
|
5790
|
+
return n(l, u, f);
|
|
5791
5791
|
}
|
|
5792
|
-
function i(
|
|
5793
|
-
if (!E.isUndefined(
|
|
5794
|
-
return n(void 0,
|
|
5792
|
+
function i(l, u) {
|
|
5793
|
+
if (!E.isUndefined(u))
|
|
5794
|
+
return n(void 0, u);
|
|
5795
5795
|
}
|
|
5796
|
-
function a(
|
|
5797
|
-
if (E.isUndefined(
|
|
5798
|
-
if (!E.isUndefined(
|
|
5799
|
-
return n(void 0,
|
|
5796
|
+
function a(l, u) {
|
|
5797
|
+
if (E.isUndefined(u)) {
|
|
5798
|
+
if (!E.isUndefined(l))
|
|
5799
|
+
return n(void 0, l);
|
|
5800
5800
|
} else
|
|
5801
|
-
return n(void 0,
|
|
5801
|
+
return n(void 0, u);
|
|
5802
5802
|
}
|
|
5803
|
-
function s(
|
|
5803
|
+
function s(l, u, f) {
|
|
5804
5804
|
if (f in t)
|
|
5805
|
-
return n(
|
|
5805
|
+
return n(l, u);
|
|
5806
5806
|
if (f in e)
|
|
5807
|
-
return n(void 0,
|
|
5807
|
+
return n(void 0, l);
|
|
5808
5808
|
}
|
|
5809
5809
|
const c = {
|
|
5810
5810
|
url: i,
|
|
@@ -5835,11 +5835,11 @@ function At(e, t) {
|
|
|
5835
5835
|
socketPath: a,
|
|
5836
5836
|
responseEncoding: a,
|
|
5837
5837
|
validateStatus: s,
|
|
5838
|
-
headers: (
|
|
5838
|
+
headers: (l, u) => o(Fo(l), Fo(u), !0)
|
|
5839
5839
|
};
|
|
5840
|
-
return E.forEach(Object.keys(Object.assign({}, e, t)), function(
|
|
5841
|
-
const f = c[
|
|
5842
|
-
E.isUndefined(
|
|
5840
|
+
return E.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
|
|
5841
|
+
const f = c[u] || o, g = f(e[u], t[u], u);
|
|
5842
|
+
E.isUndefined(g) && f !== s || (r[u] = g);
|
|
5843
5843
|
}), r;
|
|
5844
5844
|
}
|
|
5845
5845
|
const Gi = "1.6.8", Dn = {};
|
|
@@ -5942,39 +5942,39 @@ class ft {
|
|
|
5942
5942
|
), r.headers = ke.concat(a, i);
|
|
5943
5943
|
const s = [];
|
|
5944
5944
|
let c = !0;
|
|
5945
|
-
this.interceptors.request.forEach(function(
|
|
5946
|
-
typeof
|
|
5945
|
+
this.interceptors.request.forEach(function(v) {
|
|
5946
|
+
typeof v.runWhen == "function" && v.runWhen(r) === !1 || (c = c && v.synchronous, s.unshift(v.fulfilled, v.rejected));
|
|
5947
5947
|
});
|
|
5948
|
-
const
|
|
5949
|
-
this.interceptors.response.forEach(function(
|
|
5950
|
-
|
|
5948
|
+
const l = [];
|
|
5949
|
+
this.interceptors.response.forEach(function(v) {
|
|
5950
|
+
l.push(v.fulfilled, v.rejected);
|
|
5951
5951
|
});
|
|
5952
|
-
let
|
|
5952
|
+
let u, f = 0, g;
|
|
5953
5953
|
if (!c) {
|
|
5954
5954
|
const h = [$o.bind(this), void 0];
|
|
5955
|
-
for (h.unshift.apply(h, s), h.push.apply(h,
|
|
5956
|
-
|
|
5957
|
-
return
|
|
5958
|
-
}
|
|
5959
|
-
|
|
5960
|
-
let
|
|
5961
|
-
for (f = 0; f <
|
|
5962
|
-
const h = s[f++],
|
|
5955
|
+
for (h.unshift.apply(h, s), h.push.apply(h, l), g = h.length, u = Promise.resolve(r); f < g; )
|
|
5956
|
+
u = u.then(h[f++], h[f++]);
|
|
5957
|
+
return u;
|
|
5958
|
+
}
|
|
5959
|
+
g = s.length;
|
|
5960
|
+
let m = r;
|
|
5961
|
+
for (f = 0; f < g; ) {
|
|
5962
|
+
const h = s[f++], v = s[f++];
|
|
5963
5963
|
try {
|
|
5964
|
-
|
|
5964
|
+
m = h(m);
|
|
5965
5965
|
} catch (b) {
|
|
5966
|
-
|
|
5966
|
+
v.call(this, b);
|
|
5967
5967
|
break;
|
|
5968
5968
|
}
|
|
5969
5969
|
}
|
|
5970
5970
|
try {
|
|
5971
|
-
|
|
5971
|
+
u = $o.call(this, m);
|
|
5972
5972
|
} catch (h) {
|
|
5973
5973
|
return Promise.reject(h);
|
|
5974
5974
|
}
|
|
5975
|
-
for (f = 0,
|
|
5976
|
-
|
|
5977
|
-
return
|
|
5975
|
+
for (f = 0, g = l.length; f < g; )
|
|
5976
|
+
u = u.then(l[f++], l[f++]);
|
|
5977
|
+
return u;
|
|
5978
5978
|
}
|
|
5979
5979
|
getUri(t) {
|
|
5980
5980
|
t = At(this.defaults, t);
|
|
@@ -6199,8 +6199,8 @@ function Cf(e, t) {
|
|
|
6199
6199
|
}
|
|
6200
6200
|
var c = e.slice(i, a).trim();
|
|
6201
6201
|
if (r[c] === void 0) {
|
|
6202
|
-
var
|
|
6203
|
-
|
|
6202
|
+
var l = e.slice(a + 1, s).trim();
|
|
6203
|
+
l.charCodeAt(0) === 34 && (l = l.slice(1, -1)), r[c] = Mf(l, o);
|
|
6204
6204
|
}
|
|
6205
6205
|
i = s + 1;
|
|
6206
6206
|
}
|
|
@@ -6239,8 +6239,8 @@ function Pf(e, t, r) {
|
|
|
6239
6239
|
a += "; Expires=" + c.toUTCString();
|
|
6240
6240
|
}
|
|
6241
6241
|
if (n.httpOnly && (a += "; HttpOnly"), n.secure && (a += "; Secure"), n.partitioned && (a += "; Partitioned"), n.priority) {
|
|
6242
|
-
var
|
|
6243
|
-
switch (
|
|
6242
|
+
var l = typeof n.priority == "string" ? n.priority.toLowerCase() : n.priority;
|
|
6243
|
+
switch (l) {
|
|
6244
6244
|
case "low":
|
|
6245
6245
|
a += "; Priority=Low";
|
|
6246
6246
|
break;
|
|
@@ -6255,8 +6255,8 @@ function Pf(e, t, r) {
|
|
|
6255
6255
|
}
|
|
6256
6256
|
}
|
|
6257
6257
|
if (n.sameSite) {
|
|
6258
|
-
var
|
|
6259
|
-
switch (
|
|
6258
|
+
var u = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
|
|
6259
|
+
switch (u) {
|
|
6260
6260
|
case !0:
|
|
6261
6261
|
a += "; SameSite=Strict";
|
|
6262
6262
|
break;
|
|
@@ -6381,7 +6381,7 @@ function Ff() {
|
|
|
6381
6381
|
if (zo)
|
|
6382
6382
|
return ne;
|
|
6383
6383
|
zo = 1;
|
|
6384
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
6384
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
6385
6385
|
function _(p) {
|
|
6386
6386
|
if (typeof p == "object" && p !== null) {
|
|
6387
6387
|
var P = p.$$typeof;
|
|
@@ -6389,7 +6389,7 @@ function Ff() {
|
|
|
6389
6389
|
case t:
|
|
6390
6390
|
switch (p = p.type, p) {
|
|
6391
6391
|
case c:
|
|
6392
|
-
case
|
|
6392
|
+
case l:
|
|
6393
6393
|
case n:
|
|
6394
6394
|
case i:
|
|
6395
6395
|
case o:
|
|
@@ -6398,9 +6398,9 @@ function Ff() {
|
|
|
6398
6398
|
default:
|
|
6399
6399
|
switch (p = p && p.$$typeof, p) {
|
|
6400
6400
|
case s:
|
|
6401
|
-
case
|
|
6401
|
+
case u:
|
|
6402
6402
|
case h:
|
|
6403
|
-
case
|
|
6403
|
+
case m:
|
|
6404
6404
|
case a:
|
|
6405
6405
|
return p;
|
|
6406
6406
|
default:
|
|
@@ -6413,9 +6413,9 @@ function Ff() {
|
|
|
6413
6413
|
}
|
|
6414
6414
|
}
|
|
6415
6415
|
function S(p) {
|
|
6416
|
-
return _(p) ===
|
|
6416
|
+
return _(p) === l;
|
|
6417
6417
|
}
|
|
6418
|
-
return ne.AsyncMode = c, ne.ConcurrentMode =
|
|
6418
|
+
return ne.AsyncMode = c, ne.ConcurrentMode = l, ne.ContextConsumer = s, ne.ContextProvider = a, ne.Element = t, ne.ForwardRef = u, ne.Fragment = n, ne.Lazy = h, ne.Memo = m, ne.Portal = r, ne.Profiler = i, ne.StrictMode = o, ne.Suspense = f, ne.isAsyncMode = function(p) {
|
|
6419
6419
|
return S(p) || _(p) === c;
|
|
6420
6420
|
}, ne.isConcurrentMode = S, ne.isContextConsumer = function(p) {
|
|
6421
6421
|
return _(p) === s;
|
|
@@ -6424,13 +6424,13 @@ function Ff() {
|
|
|
6424
6424
|
}, ne.isElement = function(p) {
|
|
6425
6425
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
6426
6426
|
}, ne.isForwardRef = function(p) {
|
|
6427
|
-
return _(p) ===
|
|
6427
|
+
return _(p) === u;
|
|
6428
6428
|
}, ne.isFragment = function(p) {
|
|
6429
6429
|
return _(p) === n;
|
|
6430
6430
|
}, ne.isLazy = function(p) {
|
|
6431
6431
|
return _(p) === h;
|
|
6432
6432
|
}, ne.isMemo = function(p) {
|
|
6433
|
-
return _(p) ===
|
|
6433
|
+
return _(p) === m;
|
|
6434
6434
|
}, ne.isPortal = function(p) {
|
|
6435
6435
|
return _(p) === r;
|
|
6436
6436
|
}, ne.isProfiler = function(p) {
|
|
@@ -6440,7 +6440,7 @@ function Ff() {
|
|
|
6440
6440
|
}, ne.isSuspense = function(p) {
|
|
6441
6441
|
return _(p) === f;
|
|
6442
6442
|
}, ne.isValidElementType = function(p) {
|
|
6443
|
-
return typeof p == "string" || typeof p == "function" || p === n || p ===
|
|
6443
|
+
return typeof p == "string" || typeof p == "function" || p === n || p === l || p === i || p === o || p === f || p === g || typeof p == "object" && p !== null && (p.$$typeof === h || p.$$typeof === m || p.$$typeof === a || p.$$typeof === s || p.$$typeof === u || p.$$typeof === b || p.$$typeof === x || p.$$typeof === T || p.$$typeof === v);
|
|
6444
6444
|
}, ne.typeOf = _, ne;
|
|
6445
6445
|
}
|
|
6446
6446
|
var oe = {};
|
|
@@ -6455,10 +6455,10 @@ var oe = {};
|
|
|
6455
6455
|
var Ho;
|
|
6456
6456
|
function Uf() {
|
|
6457
6457
|
return Ho || (Ho = 1, process.env.NODE_ENV !== "production" && function() {
|
|
6458
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111,
|
|
6458
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, m = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
|
|
6459
6459
|
function _(y) {
|
|
6460
6460
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
6461
|
-
y === n || y ===
|
|
6461
|
+
y === n || y === l || y === i || y === o || y === f || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === m || y.$$typeof === a || y.$$typeof === s || y.$$typeof === u || y.$$typeof === b || y.$$typeof === x || y.$$typeof === T || y.$$typeof === v);
|
|
6462
6462
|
}
|
|
6463
6463
|
function S(y) {
|
|
6464
6464
|
if (typeof y == "object" && y !== null) {
|
|
@@ -6468,7 +6468,7 @@ function Uf() {
|
|
|
6468
6468
|
var Ae = y.type;
|
|
6469
6469
|
switch (Ae) {
|
|
6470
6470
|
case c:
|
|
6471
|
-
case
|
|
6471
|
+
case l:
|
|
6472
6472
|
case n:
|
|
6473
6473
|
case i:
|
|
6474
6474
|
case o:
|
|
@@ -6478,9 +6478,9 @@ function Uf() {
|
|
|
6478
6478
|
var Me = Ae && Ae.$$typeof;
|
|
6479
6479
|
switch (Me) {
|
|
6480
6480
|
case s:
|
|
6481
|
-
case
|
|
6481
|
+
case u:
|
|
6482
6482
|
case h:
|
|
6483
|
-
case
|
|
6483
|
+
case m:
|
|
6484
6484
|
case a:
|
|
6485
6485
|
return Me;
|
|
6486
6486
|
default:
|
|
@@ -6492,12 +6492,12 @@ function Uf() {
|
|
|
6492
6492
|
}
|
|
6493
6493
|
}
|
|
6494
6494
|
}
|
|
6495
|
-
var p = c, P =
|
|
6495
|
+
var p = c, P = l, N = s, J = a, Z = t, K = u, ie = n, fe = h, V = m, X = r, Q = i, ae = o, ue = f, Te = !1;
|
|
6496
6496
|
function Oe(y) {
|
|
6497
6497
|
return Te || (Te = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), w(y) || S(y) === c;
|
|
6498
6498
|
}
|
|
6499
6499
|
function w(y) {
|
|
6500
|
-
return S(y) ===
|
|
6500
|
+
return S(y) === l;
|
|
6501
6501
|
}
|
|
6502
6502
|
function R(y) {
|
|
6503
6503
|
return S(y) === s;
|
|
@@ -6509,7 +6509,7 @@ function Uf() {
|
|
|
6509
6509
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
6510
6510
|
}
|
|
6511
6511
|
function j(y) {
|
|
6512
|
-
return S(y) ===
|
|
6512
|
+
return S(y) === u;
|
|
6513
6513
|
}
|
|
6514
6514
|
function F(y) {
|
|
6515
6515
|
return S(y) === n;
|
|
@@ -6518,7 +6518,7 @@ function Uf() {
|
|
|
6518
6518
|
return S(y) === h;
|
|
6519
6519
|
}
|
|
6520
6520
|
function L(y) {
|
|
6521
|
-
return S(y) ===
|
|
6521
|
+
return S(y) === m;
|
|
6522
6522
|
}
|
|
6523
6523
|
function D(y) {
|
|
6524
6524
|
return S(y) === r;
|
|
@@ -6584,9 +6584,9 @@ function Wf(e, t, r) {
|
|
|
6584
6584
|
}
|
|
6585
6585
|
const Yf = () => {
|
|
6586
6586
|
const { axiosOptions: e, cookieDomain: t } = Ue(Si), [, r, n] = Qi(["Authorization"]), o = le.create(e), i = B(() => localStorage.getItem("token") ?? null, []), a = B(() => {
|
|
6587
|
-
const
|
|
6588
|
-
return
|
|
6589
|
-
}, [i]), s = B(async (
|
|
6587
|
+
const l = i();
|
|
6588
|
+
return l !== null && l.length > 0;
|
|
6589
|
+
}, [i]), s = B(async (l, u) => o.post("/user/login", { kid: l, password: u }).then((f) => (localStorage.setItem("token", f.data), r("Authorization", f.data, {
|
|
6590
6590
|
path: "/",
|
|
6591
6591
|
secure: !0,
|
|
6592
6592
|
sameSite: "none",
|
|
@@ -6632,16 +6632,16 @@ function Jf(e) {
|
|
|
6632
6632
|
return Fe(() => r === jn.Startup ? !1 : Kf(t, e), [t, r, e]);
|
|
6633
6633
|
}
|
|
6634
6634
|
const Xf = () => {
|
|
6635
|
-
const [, , e] = Qi(["Authorization"]), { msalScopes: t } = Ue(ra), { instance: r, inProgress: n } = ta(), o = Jf(), i = B(async () => r.acquireTokenSilent({ scopes: t }).then((
|
|
6635
|
+
const [, , e] = Qi(["Authorization"]), { msalScopes: t } = Ue(ra), { instance: r, inProgress: n } = ta(), o = Jf(), i = B(async () => r.acquireTokenSilent({ scopes: t }).then((u) => u.accessToken).catch(() => null), [r, t]), a = B(() => o, [o]), s = B(() => !a() && n !== jn.None, [a, n]), c = B(async () => r.loginRedirect({
|
|
6636
6636
|
scopes: t
|
|
6637
|
-
}).then(() => "").catch(() => null), [r, t]),
|
|
6637
|
+
}).then(() => "").catch(() => null), [r, t]), l = B(() => {
|
|
6638
6638
|
r.logout(), localStorage.removeItem("user"), e("Authorization");
|
|
6639
6639
|
}, [e, r]);
|
|
6640
6640
|
return {
|
|
6641
6641
|
isAuthenticated: a,
|
|
6642
6642
|
isAuthenticating: s,
|
|
6643
6643
|
login: c,
|
|
6644
|
-
logout:
|
|
6644
|
+
logout: l,
|
|
6645
6645
|
getToken: i
|
|
6646
6646
|
};
|
|
6647
6647
|
}, Zf = () => {
|
|
@@ -6733,52 +6733,52 @@ const Xf = () => {
|
|
|
6733
6733
|
}
|
|
6734
6734
|
}
|
|
6735
6735
|
} }), ip = le.CancelToken, ap = (e) => {
|
|
6736
|
-
const { authenticated: t = !0, differentBaseUrl: r, silent: n = !1 } = { ...e }, { language:
|
|
6737
|
-
var
|
|
6736
|
+
const { authenticated: t = !0, differentBaseUrl: r, silent: n = !1, customToken: o } = { ...e }, { language: i, axiosTexts: a, axiosOptions: s } = Ue(Si), { addNotification: c } = td(), { getToken: l } = Zf(), u = Fe(() => le.create(s), [s]), f = B(async (m) => {
|
|
6737
|
+
var h, v, b;
|
|
6738
6738
|
if (t && !m.headers.Authorization) {
|
|
6739
|
-
const
|
|
6740
|
-
if (!
|
|
6739
|
+
const x = o ?? await l();
|
|
6740
|
+
if (!x)
|
|
6741
6741
|
return Promise.reject(new Error("No bearer token"));
|
|
6742
|
-
m.headers.Authorization = `Bearer ${
|
|
6742
|
+
m.headers.Authorization = `Bearer ${x}`;
|
|
6743
6743
|
}
|
|
6744
|
-
return (
|
|
6745
|
-
}, [t,
|
|
6744
|
+
return (h = m.url) != null && h.includes("culture=") ? m.url = (v = m.url) == null ? void 0 : v.replace(/culture=[a-z]{2}/, `culture=${i}`) : m.url = `${m.url}${(b = m.url) != null && b.includes("?") ? "&" : "?"}culture=${i}`, m;
|
|
6745
|
+
}, [t, l, i, o]), g = B(
|
|
6746
6746
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6747
6747
|
(m) => {
|
|
6748
|
-
var
|
|
6748
|
+
var b;
|
|
6749
6749
|
if (console.log(m), le.isCancel(m))
|
|
6750
6750
|
return Promise.reject(m);
|
|
6751
|
-
const
|
|
6752
|
-
if (
|
|
6753
|
-
const
|
|
6754
|
-
return
|
|
6751
|
+
const h = Oa(m);
|
|
6752
|
+
if (h.length > 0) {
|
|
6753
|
+
const x = h.find((T) => T.name.toLowerCase() === "others");
|
|
6754
|
+
return x ? (!n && c(x.errors, "danger"), Promise.reject(m)) : (!n && c(a.validationError, "warning"), Promise.reject(m));
|
|
6755
6755
|
}
|
|
6756
|
-
const
|
|
6757
|
-
return
|
|
6756
|
+
const v = xa(m);
|
|
6757
|
+
return v !== null ? (c(`${a.permissionError}: ${Ta(", ", ...v)}`, "danger"), Promise.reject(m)) : ((b = m.response) == null ? void 0 : b.status) === 403 ? (!n && c(a.forbiddenError, "danger"), Promise.reject(m)) : m.message && m.message === "Network Error" ? (!n && c(a.networkError, "danger"), Promise.reject(m)) : (le.isCancel(m) || !n && c(a.unexpectedError, "danger"), Promise.reject(m));
|
|
6758
6758
|
},
|
|
6759
6759
|
[
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6760
|
+
c,
|
|
6761
|
+
a.forbiddenError,
|
|
6762
|
+
a.networkError,
|
|
6763
|
+
a.permissionError,
|
|
6764
|
+
a.unexpectedError,
|
|
6765
|
+
a.validationError,
|
|
6766
6766
|
n
|
|
6767
6767
|
]
|
|
6768
6768
|
);
|
|
6769
6769
|
return _e(() => {
|
|
6770
6770
|
r && (u.defaults.baseURL = r), u.interceptors.request.clear(), u.interceptors.response.clear();
|
|
6771
|
-
const m = u.interceptors.request.use(
|
|
6771
|
+
const m = u.interceptors.request.use(f, (v) => Promise.reject(v)), h = u.interceptors.response.use((v) => v, g);
|
|
6772
6772
|
return () => {
|
|
6773
|
-
u.interceptors.request.eject(m), u.interceptors.response.eject(
|
|
6773
|
+
u.interceptors.request.eject(m), u.interceptors.response.eject(h);
|
|
6774
6774
|
};
|
|
6775
6775
|
}, [
|
|
6776
6776
|
u.defaults,
|
|
6777
6777
|
u.interceptors.request,
|
|
6778
6778
|
u.interceptors.response,
|
|
6779
6779
|
r,
|
|
6780
|
-
|
|
6781
|
-
|
|
6780
|
+
f,
|
|
6781
|
+
g
|
|
6782
6782
|
]), u;
|
|
6783
6783
|
}, ra = ht({
|
|
6784
6784
|
useMsal: !1,
|