@hiver/connector-admin 4.1.2 → 4.2.0-beta.0
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/index.es.js +643 -633
- package/index.umd.js +91 -91
- package/package.json +1 -1
- package/v2/app/connectors/pages/native-integration/index.d.ts.map +1 -1
- package/v2/types/app.d.ts +3 -1
- package/v2/types/app.d.ts.map +1 -1
package/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ var uE = (e) => {
|
|
|
5
5
|
var z1 = (e, t, n) => t in e ? W1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
6
6
|
var Eu = (e, t, n) => z1(e, typeof t != "symbol" ? t + "" : t, n), Iu = (e, t, n) => t.has(e) || uE("Cannot " + n);
|
|
7
7
|
var L = (e, t, n) => (Iu(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Ue = (e, t, n) => t.has(e) ? uE("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), De = (e, t, n, r) => (Iu(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), tt = (e, t, n) => (Iu(e, t, "access private method"), n);
|
|
8
|
-
var
|
|
8
|
+
var Rs = (e, t, n, r) => ({
|
|
9
9
|
set _(A) {
|
|
10
10
|
De(e, t, A, n);
|
|
11
11
|
},
|
|
@@ -14,12 +14,12 @@ var Ss = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as S from "react";
|
|
17
|
-
import Ce, { useState as de, useRef as Me, useSyncExternalStore as Y1, useLayoutEffect as
|
|
17
|
+
import Ce, { useState as de, useRef as Me, useSyncExternalStore as Y1, useLayoutEffect as Qc, useEffect as ve, isValidElement as li, cloneElement as cg, createContext as _A, Suspense as ZB, useContext as ze, useMemo as Ne, useCallback as rt, memo as J1, useReducer as wd, Fragment as kl, Component as mc, forwardRef as vc } from "react";
|
|
18
18
|
import * as X1 from "react-dom";
|
|
19
|
-
import $B, { unstable_batchedUpdates as
|
|
20
|
-
import { HiverProvider as eh, styled as T, Stack as H, Box as pe, Typography as ue, Skeleton as Ho, theme as le, Icon as Wo, CircularProgress as zo, palette as Qn, Button as Ct, Tab as
|
|
19
|
+
import $B, { unstable_batchedUpdates as Ds, createPortal as bc, render as K1, unmountComponentAtNode as q1 } from "react-dom";
|
|
20
|
+
import { HiverProvider as eh, styled as T, Stack as H, Box as pe, Typography as ue, Skeleton as Ho, theme as le, Icon as Wo, CircularProgress as zo, palette as Qn, Button as Ct, Tab as Ml, Chip as gs, Alert as ci, icons as Nt, Dialog as Td, Tooltip as Zt, IconButton as nr, brandIcons as th, tooltipClasses as Do, Checkbox as Yo, TextField as Sd, Autocomplete as Si, Tabs as _d, Grid as nh, Switch as Rd, DatePicker as Z1, DateTextField as $1, InputAdornment as ev, Accordion as rh, AccordionSummary as Ah, accordionSummaryClasses as oh, AccordionDetails as ih, Snackbar as ah, Link as sh, ScopedCssBaseline as tv, DialogCloseButton as nv, MenuSearch as rv, InputBase as Av, MenuScrollable as ov, MenuItem as iv } from "@hiver/hiver-ui-kit";
|
|
21
21
|
var Ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
22
|
-
function
|
|
22
|
+
function yc(e) {
|
|
23
23
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
24
24
|
}
|
|
25
25
|
function av(e) {
|
|
@@ -684,7 +684,7 @@ function qA() {
|
|
|
684
684
|
for (var e, t, n = 0, r = "", A = arguments.length; n < A; n++) (e = arguments[n]) && (t = lh(e)) && (r && (r += " "), r += t);
|
|
685
685
|
return r;
|
|
686
686
|
}
|
|
687
|
-
const Ga = (e) => typeof e == "number" && !isNaN(e), Oo = (e) => typeof e == "string", cr = (e) => typeof e == "function",
|
|
687
|
+
const Ga = (e) => typeof e == "number" && !isNaN(e), Oo = (e) => typeof e == "string", cr = (e) => typeof e == "function", tl = (e) => Oo(e) || cr(e) ? e : null, gg = (e) => li(e) || Oo(e) || cr(e) || Ga(e);
|
|
688
688
|
function cv(e, t, n) {
|
|
689
689
|
n === void 0 && (n = 300);
|
|
690
690
|
const { scrollHeight: r, style: A } = e;
|
|
@@ -694,12 +694,12 @@ function cv(e, t, n) {
|
|
|
694
694
|
});
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
|
-
function
|
|
697
|
+
function xc(e) {
|
|
698
698
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: A = !0, collapseDuration: o = 300 } = e;
|
|
699
699
|
return function(i) {
|
|
700
700
|
let { children: s, position: a, preventExitTransition: l, done: c, nodeRef: g, isIn: E, playToast: p } = i;
|
|
701
701
|
const I = r ? `${t}--${a}` : t, d = r ? `${n}--${a}` : n, C = Me(0);
|
|
702
|
-
return
|
|
702
|
+
return Qc(() => {
|
|
703
703
|
const f = g.current, B = I.split(" "), h = (Q) => {
|
|
704
704
|
Q.target === g.current && (p(), f.removeEventListener("animationend", h), f.removeEventListener("animationcancel", h), C.current === 0 && Q.type !== "animationcancel" && f.classList.remove(...B));
|
|
705
705
|
};
|
|
@@ -769,7 +769,7 @@ function gv(e) {
|
|
|
769
769
|
const xe = { ...B, style: B.toastStyle, key: p++, ...Object.fromEntries(Object.entries(x).filter((_) => {
|
|
770
770
|
let [R, N] = _;
|
|
771
771
|
return N != null;
|
|
772
|
-
})), toastId: j, updateId: P, data: U, closeToast: ie, isIn: !1, className:
|
|
772
|
+
})), toastId: j, updateId: P, data: U, closeToast: ie, isIn: !1, className: tl(x.className || B.toastClassName), bodyClassName: tl(x.bodyClassName || B.bodyClassName), progressClassName: tl(x.progressClassName || B.progressClassName), autoClose: !x.isLoading && (Te = x.autoClose, oe = B.autoClose, Te === !1 || Ga(Te) && Te > 0 ? Te : oe), deleteToast() {
|
|
773
773
|
const _ = h.get(j), { onClose: R, children: N } = _.props;
|
|
774
774
|
cr(R) && R(li(N) && N.props), E(CE(_, "removed")), h.delete(j), I--, I < 0 && (I = 0), d.length > 0 ? y(d.shift()) : v();
|
|
775
775
|
} };
|
|
@@ -868,16 +868,16 @@ function Iv(e) {
|
|
|
868
868
|
function Ra(e, t) {
|
|
869
869
|
return gh(e, t), t.toastId;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function jl(e, t) {
|
|
872
872
|
return { ...t, type: t && t.type || e, toastId: Iv(t) };
|
|
873
873
|
}
|
|
874
|
-
function
|
|
875
|
-
return (t, n) => Ra(t,
|
|
874
|
+
function Os(e) {
|
|
875
|
+
return (t, n) => Ra(t, jl(e, n));
|
|
876
876
|
}
|
|
877
877
|
function lt(e, t) {
|
|
878
|
-
return Ra(e,
|
|
878
|
+
return Ra(e, jl("default", t));
|
|
879
879
|
}
|
|
880
|
-
lt.loading = (e, t) => Ra(e,
|
|
880
|
+
lt.loading = (e, t) => Ra(e, jl("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), lt.promise = function(e, t, n) {
|
|
881
881
|
let r, { pending: A, error: o, success: i } = t;
|
|
882
882
|
A && (r = Oo(A) ? lt.loading(A, n) : lt.loading(A.render, { ...n, ...A }));
|
|
883
883
|
const s = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, a = (c, g, E) => {
|
|
@@ -886,7 +886,7 @@ lt.loading = (e, t) => Ra(e, kl("default", { isLoading: !0, autoClose: !1, close
|
|
|
886
886
|
return r ? lt.update(r, { ...p, ...I }) : lt(I.render, { ...p, ...I }), E;
|
|
887
887
|
}, l = cr(e) ? e() : e;
|
|
888
888
|
return l.then((c) => a("success", i, c)).catch((c) => a("error", o, c)), l;
|
|
889
|
-
}, lt.success =
|
|
889
|
+
}, lt.success = Os("success"), lt.info = Os("info"), lt.error = Os("error"), lt.warning = Os("warning"), lt.warn = lt.warning, lt.dark = (e, t) => Ra(e, jl("default", { theme: "dark", ...t })), lt.dismiss = function(e) {
|
|
890
890
|
(function(t) {
|
|
891
891
|
var n;
|
|
892
892
|
if (ch()) {
|
|
@@ -925,17 +925,17 @@ lt.loading = (e, t) => Ra(e, kl("default", { isLoading: !0, autoClose: !1, close
|
|
|
925
925
|
dg.delete(e);
|
|
926
926
|
};
|
|
927
927
|
}, lt.play = (e) => EE(!0, e), lt.pause = (e) => EE(!1, e);
|
|
928
|
-
const fv = typeof window < "u" ?
|
|
928
|
+
const fv = typeof window < "u" ? Qc : ve, Ls = (e) => {
|
|
929
929
|
let { theme: t, type: n, isLoading: r, ...A } = e;
|
|
930
930
|
return Ce.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...A });
|
|
931
931
|
}, fu = { info: function(e) {
|
|
932
|
-
return Ce.createElement(
|
|
932
|
+
return Ce.createElement(Ls, { ...e }, Ce.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
933
933
|
}, warning: function(e) {
|
|
934
|
-
return Ce.createElement(
|
|
934
|
+
return Ce.createElement(Ls, { ...e }, Ce.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
935
935
|
}, success: function(e) {
|
|
936
|
-
return Ce.createElement(
|
|
936
|
+
return Ce.createElement(Ls, { ...e }, Ce.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
937
937
|
}, error: function(e) {
|
|
938
|
-
return Ce.createElement(
|
|
938
|
+
return Ce.createElement(Ls, { ...e }, Ce.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
939
939
|
}, spinner: function() {
|
|
940
940
|
return Ce.createElement("div", { className: "Toastify__spinner" });
|
|
941
941
|
} }, Bv = (e) => {
|
|
@@ -951,19 +951,19 @@ const fv = typeof window < "u" ? hc : ve, Ds = (e) => {
|
|
|
951
951
|
J.stopPropagation(), _(J);
|
|
952
952
|
}, "aria-label": N }, Ce.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ce.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
953
953
|
}(oe)), Ce.createElement(p, { isIn: P, done: j, position: I, preventExitTransition: n, nodeRef: r, playToast: o }, Ce.createElement("div", { id: x, onClick: l, "data-in": P, className: Ee, ...A, style: C, ref: r }, Ce.createElement("div", { ...P && { role: b }, className: cr(f) ? f({ type: c }) : qA("Toastify__toast-body", f), style: B }, xe != null && Ce.createElement("div", { className: qA("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !U }) }, xe), Ce.createElement("div", null, s)), G, Ce.createElement(Cv, { ...v && !Te ? { key: `pb-${v}` } : {}, rtl: m, theme: k, delay: a, isRunning: t, isIn: P, closeToast: E, hide: g, type: c, style: Q, className: h, controlledProgress: Te, progress: y || 0 })));
|
|
954
|
-
},
|
|
954
|
+
}, wc = function(e, t) {
|
|
955
955
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
956
|
-
}, hv =
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
956
|
+
}, hv = xc(wc("bounce", !0));
|
|
957
|
+
xc(wc("slide", !0));
|
|
958
|
+
xc(wc("zoom"));
|
|
959
|
+
xc(wc("flip"));
|
|
960
960
|
const pv = { position: "top-right", transition: hv, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
961
961
|
function Ch(e) {
|
|
962
962
|
let t = { ...pv, ...e };
|
|
963
963
|
const n = e.stacked, [r, A] = de(!0), o = Me(null), { getToastToRender: i, isToastActive: s, count: a } = gv(t), { className: l, style: c, rtl: g, containerId: E } = t;
|
|
964
964
|
function p(d) {
|
|
965
965
|
const C = qA("Toastify__toast-container", `Toastify__toast-container--${d}`, { "Toastify__toast-container--rtl": g });
|
|
966
|
-
return cr(l) ? l({ position: d, rtl: g, defaultClassName: C }) : qA(C,
|
|
966
|
+
return cr(l) ? l({ position: d, rtl: g, defaultClassName: C }) : qA(C, tl(l));
|
|
967
967
|
}
|
|
968
968
|
function I() {
|
|
969
969
|
n && (A(!0), lt.play());
|
|
@@ -1577,7 +1577,7 @@ function Od(e) {
|
|
|
1577
1577
|
return l = l || r.length !== Object.keys(s).length, l ? c : s;
|
|
1578
1578
|
};
|
|
1579
1579
|
}
|
|
1580
|
-
function
|
|
1580
|
+
function Ul(...e) {
|
|
1581
1581
|
return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, n) => (...r) => t(n(...r)));
|
|
1582
1582
|
}
|
|
1583
1583
|
function zv(...e) {
|
|
@@ -1590,7 +1590,7 @@ function zv(...e) {
|
|
|
1590
1590
|
getState: A.getState,
|
|
1591
1591
|
dispatch: (a, ...l) => o(a, ...l)
|
|
1592
1592
|
}, s = e.map((a) => a(i));
|
|
1593
|
-
return o =
|
|
1593
|
+
return o = Ul(...s)(A.dispatch), {
|
|
1594
1594
|
...A,
|
|
1595
1595
|
dispatch: o
|
|
1596
1596
|
};
|
|
@@ -1645,7 +1645,7 @@ function Po(e) {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
function TA(e) {
|
|
1647
1647
|
var t;
|
|
1648
|
-
return e ? bh(e) || Array.isArray(e) || !!e[vE] || !!((t = e.constructor) != null && t[vE]) ||
|
|
1648
|
+
return e ? bh(e) || Array.isArray(e) || !!e[vE] || !!((t = e.constructor) != null && t[vE]) || Sc(e) || _c(e) : !1;
|
|
1649
1649
|
}
|
|
1650
1650
|
var Jv = Object.prototype.constructor.toString();
|
|
1651
1651
|
function bh(e) {
|
|
@@ -1657,38 +1657,38 @@ function bh(e) {
|
|
|
1657
1657
|
const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
1658
1658
|
return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === Jv;
|
|
1659
1659
|
}
|
|
1660
|
-
function
|
|
1661
|
-
|
|
1660
|
+
function Gl(e, t) {
|
|
1661
|
+
Tc(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
|
|
1662
1662
|
t(n, e[n], e);
|
|
1663
1663
|
}) : e.forEach((n, r) => t(r, n, e));
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function Tc(e) {
|
|
1666
1666
|
const t = e[Er];
|
|
1667
|
-
return t ? t.type_ : Array.isArray(e) ? 1 :
|
|
1667
|
+
return t ? t.type_ : Array.isArray(e) ? 1 : Sc(e) ? 2 : _c(e) ? 3 : 0;
|
|
1668
1668
|
}
|
|
1669
1669
|
function Eg(e, t) {
|
|
1670
|
-
return
|
|
1670
|
+
return Tc(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
1671
1671
|
}
|
|
1672
1672
|
function yh(e, t, n) {
|
|
1673
|
-
const r =
|
|
1673
|
+
const r = Tc(e);
|
|
1674
1674
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
1675
1675
|
}
|
|
1676
1676
|
function Xv(e, t) {
|
|
1677
1677
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function Sc(e) {
|
|
1680
1680
|
return e instanceof Map;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function _c(e) {
|
|
1683
1683
|
return e instanceof Set;
|
|
1684
1684
|
}
|
|
1685
1685
|
function Co(e) {
|
|
1686
1686
|
return e.copy_ || e.base_;
|
|
1687
1687
|
}
|
|
1688
1688
|
function Ig(e, t) {
|
|
1689
|
-
if (
|
|
1689
|
+
if (Sc(e))
|
|
1690
1690
|
return new Map(e);
|
|
1691
|
-
if (
|
|
1691
|
+
if (_c(e))
|
|
1692
1692
|
return new Set(e);
|
|
1693
1693
|
if (Array.isArray(e))
|
|
1694
1694
|
return Array.prototype.slice.call(e);
|
|
@@ -1717,12 +1717,12 @@ function Ig(e, t) {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
1719
|
function Ld(e, t = !1) {
|
|
1720
|
-
return
|
|
1720
|
+
return Rc(e) || Po(e) || !TA(e) || (Tc(e) > 1 && (e.set = e.add = e.clear = e.delete = Kv), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => Ld(r, !0))), e;
|
|
1721
1721
|
}
|
|
1722
1722
|
function Kv() {
|
|
1723
1723
|
Zn(2);
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function Rc(e) {
|
|
1726
1726
|
return Object.isFrozen(e);
|
|
1727
1727
|
}
|
|
1728
1728
|
var qv = {};
|
|
@@ -1764,34 +1764,34 @@ function $v(e) {
|
|
|
1764
1764
|
function xE(e, t) {
|
|
1765
1765
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
1766
1766
|
const n = t.drafts_[0];
|
|
1767
|
-
return e !== void 0 && e !== n ? (n[Er].modified_ && (fg(t), Zn(4)), TA(e) && (e =
|
|
1767
|
+
return e !== void 0 && e !== n ? (n[Er].modified_ && (fg(t), Zn(4)), TA(e) && (e = Vl(t, e), t.parent_ || Hl(t, e)), t.patches_ && Fo("Patches").generateReplacementPatches_(
|
|
1768
1768
|
n[Er].base_,
|
|
1769
1769
|
e,
|
|
1770
1770
|
t.patches_,
|
|
1771
1771
|
t.inversePatches_
|
|
1772
|
-
)) : e =
|
|
1772
|
+
)) : e = Vl(t, n, []), fg(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== vh ? e : void 0;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1775
|
-
if (
|
|
1774
|
+
function Vl(e, t, n) {
|
|
1775
|
+
if (Rc(t))
|
|
1776
1776
|
return t;
|
|
1777
1777
|
const r = t[Er];
|
|
1778
1778
|
if (!r)
|
|
1779
|
-
return
|
|
1779
|
+
return Gl(
|
|
1780
1780
|
t,
|
|
1781
1781
|
(A, o) => wE(e, r, t, A, o, n)
|
|
1782
1782
|
), t;
|
|
1783
1783
|
if (r.scope_ !== e)
|
|
1784
1784
|
return t;
|
|
1785
1785
|
if (!r.modified_)
|
|
1786
|
-
return
|
|
1786
|
+
return Hl(e, r.base_, !0), r.base_;
|
|
1787
1787
|
if (!r.finalized_) {
|
|
1788
1788
|
r.finalized_ = !0, r.scope_.unfinalizedDrafts_--;
|
|
1789
1789
|
const A = r.copy_;
|
|
1790
1790
|
let o = A, i = !1;
|
|
1791
|
-
r.type_ === 3 && (o = new Set(A), A.clear(), i = !0),
|
|
1791
|
+
r.type_ === 3 && (o = new Set(A), A.clear(), i = !0), Gl(
|
|
1792
1792
|
o,
|
|
1793
1793
|
(s, a) => wE(e, r, A, s, a, n, i)
|
|
1794
|
-
),
|
|
1794
|
+
), Hl(e, A, !1), n && e.patches_ && Fo("Patches").generatePatches_(
|
|
1795
1795
|
r,
|
|
1796
1796
|
n,
|
|
1797
1797
|
e.patches_,
|
|
@@ -1803,19 +1803,19 @@ function Ul(e, t, n) {
|
|
|
1803
1803
|
function wE(e, t, n, r, A, o, i) {
|
|
1804
1804
|
if (process.env.NODE_ENV !== "production" && A === n && Zn(5), Po(A)) {
|
|
1805
1805
|
const s = o && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
1806
|
-
!Eg(t.assigned_, r) ? o.concat(r) : void 0, a =
|
|
1806
|
+
!Eg(t.assigned_, r) ? o.concat(r) : void 0, a = Vl(e, A, s);
|
|
1807
1807
|
if (yh(n, r, a), Po(a))
|
|
1808
1808
|
e.canAutoFreeze_ = !1;
|
|
1809
1809
|
else
|
|
1810
1810
|
return;
|
|
1811
1811
|
} else i && n.add(A);
|
|
1812
|
-
if (TA(A) && !
|
|
1812
|
+
if (TA(A) && !Rc(A)) {
|
|
1813
1813
|
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
|
|
1814
1814
|
return;
|
|
1815
|
-
|
|
1815
|
+
Vl(e, A), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && Hl(e, A);
|
|
1816
1816
|
}
|
|
1817
1817
|
}
|
|
1818
|
-
function
|
|
1818
|
+
function Hl(e, t, n = !1) {
|
|
1819
1819
|
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Ld(t, n);
|
|
1820
1820
|
}
|
|
1821
1821
|
function eb(e, t) {
|
|
@@ -1903,7 +1903,7 @@ var Nd = {
|
|
|
1903
1903
|
Zn(12);
|
|
1904
1904
|
}
|
|
1905
1905
|
}, Wa = {};
|
|
1906
|
-
|
|
1906
|
+
Gl(Nd, (e, t) => {
|
|
1907
1907
|
Wa[e] = function() {
|
|
1908
1908
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
1909
1909
|
};
|
|
@@ -2031,14 +2031,14 @@ var nb = class {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
};
|
|
2033
2033
|
function pg(e, t) {
|
|
2034
|
-
const n =
|
|
2034
|
+
const n = Sc(e) ? Fo("MapSet").proxyMap_(e, t) : _c(e) ? Fo("MapSet").proxySet_(e, t) : eb(e, t);
|
|
2035
2035
|
return (t ? t.scope_ : xh()).drafts_.push(n), n;
|
|
2036
2036
|
}
|
|
2037
2037
|
function rb(e) {
|
|
2038
2038
|
return Po(e) || Zn(10, e), Th(e);
|
|
2039
2039
|
}
|
|
2040
2040
|
function Th(e) {
|
|
2041
|
-
if (!TA(e) ||
|
|
2041
|
+
if (!TA(e) || Rc(e))
|
|
2042
2042
|
return e;
|
|
2043
2043
|
const t = e[Er];
|
|
2044
2044
|
let n;
|
|
@@ -2048,7 +2048,7 @@ function Th(e) {
|
|
|
2048
2048
|
t.finalized_ = !0, n = Ig(e, t.scope_.immer_.useStrictShallowCopy_);
|
|
2049
2049
|
} else
|
|
2050
2050
|
n = Ig(e, !0);
|
|
2051
|
-
return
|
|
2051
|
+
return Gl(n, (r, A) => {
|
|
2052
2052
|
yh(n, r, Th(A));
|
|
2053
2053
|
}), t && (t.finalized_ = !1), n;
|
|
2054
2054
|
}
|
|
@@ -2066,7 +2066,7 @@ function _h(e) {
|
|
|
2066
2066
|
}
|
|
2067
2067
|
var Ab = _h(), ob = _h, ib = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
2068
2068
|
if (arguments.length !== 0)
|
|
2069
|
-
return typeof arguments[0] == "object" ?
|
|
2069
|
+
return typeof arguments[0] == "object" ? Ul : Ul.apply(null, arguments);
|
|
2070
2070
|
}, Rh = (e) => e && typeof e.match == "function";
|
|
2071
2071
|
function Da(e, t) {
|
|
2072
2072
|
function n(...r) {
|
|
@@ -2330,7 +2330,7 @@ Take a look at the reducer(s) handling this action type: ${p.type}.
|
|
|
2330
2330
|
};
|
|
2331
2331
|
}
|
|
2332
2332
|
}
|
|
2333
|
-
function
|
|
2333
|
+
function Ns(e) {
|
|
2334
2334
|
return typeof e == "boolean";
|
|
2335
2335
|
}
|
|
2336
2336
|
var Cb = () => function(t) {
|
|
@@ -2341,18 +2341,18 @@ var Cb = () => function(t) {
|
|
|
2341
2341
|
actionCreatorCheck: o = !0
|
|
2342
2342
|
} = t ?? {};
|
|
2343
2343
|
let i = new Oh();
|
|
2344
|
-
if (n && (
|
|
2344
|
+
if (n && (Ns(n) ? i.push(Ab) : i.push(ob(n.extraArgument))), process.env.NODE_ENV !== "production") {
|
|
2345
2345
|
if (r) {
|
|
2346
2346
|
let s = {};
|
|
2347
|
-
|
|
2347
|
+
Ns(r) || (s = r), i.unshift(gb(s));
|
|
2348
2348
|
}
|
|
2349
2349
|
if (A) {
|
|
2350
2350
|
let s = {};
|
|
2351
|
-
|
|
2351
|
+
Ns(A) || (s = A), i.push(db(s));
|
|
2352
2352
|
}
|
|
2353
2353
|
if (o) {
|
|
2354
2354
|
let s = {};
|
|
2355
|
-
|
|
2355
|
+
Ns(o) || (s = o), i.unshift(lb(s));
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
2358
2358
|
return i;
|
|
@@ -2418,7 +2418,7 @@ function Mh(e) {
|
|
|
2418
2418
|
a = t();
|
|
2419
2419
|
if (process.env.NODE_ENV !== "production" && a.some((I) => typeof I != "function"))
|
|
2420
2420
|
throw new Error(process.env.NODE_ENV === "production" ? Ft(4) : "each middleware provided to configureStore must be a function");
|
|
2421
|
-
let l =
|
|
2421
|
+
let l = Ul;
|
|
2422
2422
|
A && (l = ib({
|
|
2423
2423
|
// Enable capture of stack traces for dispatched Redux actions
|
|
2424
2424
|
trace: process.env.NODE_ENV !== "production",
|
|
@@ -2879,13 +2879,13 @@ function Fb({
|
|
|
2879
2879
|
options: c
|
|
2880
2880
|
} = n, g = A(e, o, c);
|
|
2881
2881
|
r.exposeAction(t, g), i && r.addCase(g.fulfilled, i), s && r.addCase(g.pending, s), a && r.addCase(g.rejected, a), l && r.addMatcher(g.settled, l), r.exposeCaseReducer(t, {
|
|
2882
|
-
fulfilled: i ||
|
|
2883
|
-
pending: s ||
|
|
2884
|
-
rejected: a ||
|
|
2885
|
-
settled: l ||
|
|
2882
|
+
fulfilled: i || Ps,
|
|
2883
|
+
pending: s || Ps,
|
|
2884
|
+
rejected: a || Ps,
|
|
2885
|
+
settled: l || Ps
|
|
2886
2886
|
});
|
|
2887
2887
|
}
|
|
2888
|
-
function
|
|
2888
|
+
function Ps() {
|
|
2889
2889
|
}
|
|
2890
2890
|
function Ft(e) {
|
|
2891
2891
|
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
@@ -2965,7 +2965,7 @@ const cA = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Ay])
|
|
|
2965
2965
|
}).catch(() => {
|
|
2966
2966
|
console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), iy(e, t);
|
|
2967
2967
|
});
|
|
2968
|
-
}, sy = (e) => ["sm.full"].some((n) => e.includes(n)), zh = (e) => Object.keys(e).filter((t) => e[t]).join(" "),
|
|
2968
|
+
}, sy = (e) => ["sm.full"].some((n) => e.includes(n)), zh = (e) => Object.keys(e).filter((t) => e[t]).join(" "), Fs = (e, t) => Array.from({ length: e }, (n, r) => t(r)), Oa = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), rr = {
|
|
2969
2969
|
GET: "GET",
|
|
2970
2970
|
POST: "POST",
|
|
2971
2971
|
DELETE: "DELETE",
|
|
@@ -2989,10 +2989,10 @@ function Yh(e, t) {
|
|
|
2989
2989
|
return e.apply(t, arguments);
|
|
2990
2990
|
};
|
|
2991
2991
|
}
|
|
2992
|
-
const { toString: cy } = Object.prototype, { getPrototypeOf: Pd } = Object,
|
|
2992
|
+
const { toString: cy } = Object.prototype, { getPrototypeOf: Pd } = Object, Dc = /* @__PURE__ */ ((e) => (t) => {
|
|
2993
2993
|
const n = cy.call(t);
|
|
2994
2994
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2995
|
-
})(/* @__PURE__ */ Object.create(null)), jr = (e) => (e = e.toLowerCase(), (t) =>
|
|
2995
|
+
})(/* @__PURE__ */ Object.create(null)), jr = (e) => (e = e.toLowerCase(), (t) => Dc(t) === e), Oc = (e) => (t) => typeof t === e, { isArray: Fi } = Array, Ya = Oc("undefined");
|
|
2996
2996
|
function uy(e) {
|
|
2997
2997
|
return e !== null && !Ya(e) && e.constructor !== null && !Ya(e.constructor) && dr(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2998
2998
|
}
|
|
@@ -3001,14 +3001,14 @@ function gy(e) {
|
|
|
3001
3001
|
let t;
|
|
3002
3002
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Jh(e.buffer), t;
|
|
3003
3003
|
}
|
|
3004
|
-
const dy =
|
|
3005
|
-
if (
|
|
3004
|
+
const dy = Oc("string"), dr = Oc("function"), Xh = Oc("number"), Lc = (e) => e !== null && typeof e == "object", Cy = (e) => e === !0 || e === !1, nl = (e) => {
|
|
3005
|
+
if (Dc(e) !== "object")
|
|
3006
3006
|
return !1;
|
|
3007
3007
|
const t = Pd(e);
|
|
3008
3008
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
3009
|
-
}, Ey = jr("Date"), Iy = jr("File"), fy = jr("Blob"), By = jr("FileList"), hy = (e) =>
|
|
3009
|
+
}, Ey = jr("Date"), Iy = jr("File"), fy = jr("Blob"), By = jr("FileList"), hy = (e) => Lc(e) && dr(e.pipe), py = (e) => {
|
|
3010
3010
|
let t;
|
|
3011
|
-
return e && (typeof FormData == "function" && e instanceof FormData || dr(e.append) && ((t =
|
|
3011
|
+
return e && (typeof FormData == "function" && e instanceof FormData || dr(e.append) && ((t = Dc(e)) === "formdata" || // detect form-data instance
|
|
3012
3012
|
t === "object" && dr(e.toString) && e.toString() === "[object FormData]"));
|
|
3013
3013
|
}, Qy = jr("URLSearchParams"), [my, vy, by, yy] = ["ReadableStream", "Request", "Response", "Headers"].map(jr), xy = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
3014
3014
|
function Es(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -3038,7 +3038,7 @@ const Qo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
3038
3038
|
function vg() {
|
|
3039
3039
|
const { caseless: e } = qh(this) && this || {}, t = {}, n = (r, A) => {
|
|
3040
3040
|
const o = e && Kh(t, A) || A;
|
|
3041
|
-
|
|
3041
|
+
nl(t[o]) && nl(r) ? t[o] = vg(t[o], r) : nl(r) ? t[o] = vg({}, r) : Fi(r) ? t[o] = r.slice() : t[o] = r;
|
|
3042
3042
|
};
|
|
3043
3043
|
for (let r = 0, A = arguments.length; r < A; r++)
|
|
3044
3044
|
arguments[r] && Es(arguments[r], n);
|
|
@@ -3136,7 +3136,7 @@ function Hy(e) {
|
|
|
3136
3136
|
}
|
|
3137
3137
|
const Wy = (e) => {
|
|
3138
3138
|
const t = new Array(10), n = (r, A) => {
|
|
3139
|
-
if (
|
|
3139
|
+
if (Lc(r)) {
|
|
3140
3140
|
if (t.indexOf(r) >= 0)
|
|
3141
3141
|
return;
|
|
3142
3142
|
if (!("toJSON" in r)) {
|
|
@@ -3151,7 +3151,7 @@ const Wy = (e) => {
|
|
|
3151
3151
|
return r;
|
|
3152
3152
|
};
|
|
3153
3153
|
return n(e, 0);
|
|
3154
|
-
}, zy = jr("AsyncFunction"), Yy = (e) => e && (
|
|
3154
|
+
}, zy = jr("AsyncFunction"), Yy = (e) => e && (Lc(e) || dr(e)) && dr(e.then) && dr(e.catch), ep = ((e, t) => e ? setImmediate : t ? ((n, r) => (Qo.addEventListener("message", ({ source: A, data: o }) => {
|
|
3155
3155
|
A === Qo && o === n && r.length && r.shift()();
|
|
3156
3156
|
}, !1), (A) => {
|
|
3157
3157
|
r.push(A), Qo.postMessage(n, "*");
|
|
@@ -3168,8 +3168,8 @@ var ee = {
|
|
|
3168
3168
|
isString: dy,
|
|
3169
3169
|
isNumber: Xh,
|
|
3170
3170
|
isBoolean: Cy,
|
|
3171
|
-
isObject:
|
|
3172
|
-
isPlainObject:
|
|
3171
|
+
isObject: Lc,
|
|
3172
|
+
isPlainObject: nl,
|
|
3173
3173
|
isReadableStream: my,
|
|
3174
3174
|
isRequest: vy,
|
|
3175
3175
|
isResponse: by,
|
|
@@ -3191,7 +3191,7 @@ var ee = {
|
|
|
3191
3191
|
stripBOM: Ty,
|
|
3192
3192
|
inherits: Sy,
|
|
3193
3193
|
toFlatObject: _y,
|
|
3194
|
-
kindOf:
|
|
3194
|
+
kindOf: Dc,
|
|
3195
3195
|
kindOfTest: jr,
|
|
3196
3196
|
endsWith: Ry,
|
|
3197
3197
|
toArray: Dy,
|
|
@@ -3287,7 +3287,7 @@ function Ky(e) {
|
|
|
3287
3287
|
const qy = ee.toFlatObject(ee, {}, null, function(t) {
|
|
3288
3288
|
return /^is[A-Z]/.test(t);
|
|
3289
3289
|
});
|
|
3290
|
-
function
|
|
3290
|
+
function Nc(e, t, n) {
|
|
3291
3291
|
if (!ee.isObject(e))
|
|
3292
3292
|
throw new TypeError("target must be an object");
|
|
3293
3293
|
t = t || new FormData(), n = ee.toFlatObject(n, {
|
|
@@ -3363,7 +3363,7 @@ function NE(e) {
|
|
|
3363
3363
|
});
|
|
3364
3364
|
}
|
|
3365
3365
|
function Fd(e, t) {
|
|
3366
|
-
this._pairs = [], e &&
|
|
3366
|
+
this._pairs = [], e && Nc(e, this, t);
|
|
3367
3367
|
}
|
|
3368
3368
|
const Ap = Fd.prototype;
|
|
3369
3369
|
Ap.append = function(t, n) {
|
|
@@ -3472,7 +3472,7 @@ var ax = /* @__PURE__ */ Object.freeze({
|
|
|
3472
3472
|
...rx
|
|
3473
3473
|
};
|
|
3474
3474
|
function sx(e, t) {
|
|
3475
|
-
return
|
|
3475
|
+
return Nc(e, new er.classes.URLSearchParams(), Object.assign({
|
|
3476
3476
|
visitor: function(n, r, A, o) {
|
|
3477
3477
|
return er.isNode && ee.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
|
|
3478
3478
|
}
|
|
@@ -3534,7 +3534,7 @@ const Md = {
|
|
|
3534
3534
|
return sx(t, this.formSerializer).toString();
|
|
3535
3535
|
if ((s = ee.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
3536
3536
|
const a = this.env && this.env.FormData;
|
|
3537
|
-
return
|
|
3537
|
+
return Nc(
|
|
3538
3538
|
s ? { "files[]": t } : t,
|
|
3539
3539
|
a && new a(),
|
|
3540
3540
|
this.formSerializer
|
|
@@ -3616,8 +3616,8 @@ const FE = Symbol("internals");
|
|
|
3616
3616
|
function sa(e) {
|
|
3617
3617
|
return e && String(e).trim().toLowerCase();
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3620
|
-
return e === !1 || e == null ? e : ee.isArray(e) ? e.map(
|
|
3619
|
+
function rl(e) {
|
|
3620
|
+
return e === !1 || e == null ? e : ee.isArray(e) ? e.map(rl) : String(e);
|
|
3621
3621
|
}
|
|
3622
3622
|
function Cx(e) {
|
|
3623
3623
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -3651,7 +3651,7 @@ function fx(e, t) {
|
|
|
3651
3651
|
});
|
|
3652
3652
|
});
|
|
3653
3653
|
}
|
|
3654
|
-
class
|
|
3654
|
+
class Pc {
|
|
3655
3655
|
constructor(t) {
|
|
3656
3656
|
t && this.set(t);
|
|
3657
3657
|
}
|
|
@@ -3662,7 +3662,7 @@ class Lc {
|
|
|
3662
3662
|
if (!c)
|
|
3663
3663
|
throw new Error("header name must be a non-empty string");
|
|
3664
3664
|
const g = ee.findKey(A, c);
|
|
3665
|
-
(!g || A[g] === void 0 || l === !0 || l === void 0 && A[g] !== !1) && (A[g || a] =
|
|
3665
|
+
(!g || A[g] === void 0 || l === !0 || l === void 0 && A[g] !== !1) && (A[g || a] = rl(s));
|
|
3666
3666
|
}
|
|
3667
3667
|
const i = (s, a) => ee.forEach(s, (l, c) => o(l, c, a));
|
|
3668
3668
|
if (ee.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -3725,11 +3725,11 @@ class Lc {
|
|
|
3725
3725
|
return ee.forEach(this, (A, o) => {
|
|
3726
3726
|
const i = ee.findKey(r, o);
|
|
3727
3727
|
if (i) {
|
|
3728
|
-
n[i] =
|
|
3728
|
+
n[i] = rl(A), delete n[o];
|
|
3729
3729
|
return;
|
|
3730
3730
|
}
|
|
3731
3731
|
const s = t ? Ix(o) : String(o).trim();
|
|
3732
|
-
s !== o && delete n[o], n[s] =
|
|
3732
|
+
s !== o && delete n[o], n[s] = rl(A), r[s] = !0;
|
|
3733
3733
|
}), this;
|
|
3734
3734
|
}
|
|
3735
3735
|
concat(...t) {
|
|
@@ -3769,8 +3769,8 @@ class Lc {
|
|
|
3769
3769
|
return ee.isArray(t) ? t.forEach(o) : o(t), this;
|
|
3770
3770
|
}
|
|
3771
3771
|
}
|
|
3772
|
-
|
|
3773
|
-
ee.reduceDescriptors(
|
|
3772
|
+
Pc.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
3773
|
+
ee.reduceDescriptors(Pc.prototype, ({ value: e }, t) => {
|
|
3774
3774
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
3775
3775
|
return {
|
|
3776
3776
|
get: () => e,
|
|
@@ -3779,8 +3779,8 @@ ee.reduceDescriptors(Lc.prototype, ({ value: e }, t) => {
|
|
|
3779
3779
|
}
|
|
3780
3780
|
};
|
|
3781
3781
|
});
|
|
3782
|
-
ee.freezeMethods(
|
|
3783
|
-
var Pr =
|
|
3782
|
+
ee.freezeMethods(Pc);
|
|
3783
|
+
var Pr = Pc;
|
|
3784
3784
|
function wu(e, t) {
|
|
3785
3785
|
const n = this || jd, r = t || n, A = Pr.from(r.headers);
|
|
3786
3786
|
let o = r.data;
|
|
@@ -3839,7 +3839,7 @@ function px(e, t) {
|
|
|
3839
3839
|
}, r - g)));
|
|
3840
3840
|
}, () => A && i(A)];
|
|
3841
3841
|
}
|
|
3842
|
-
const
|
|
3842
|
+
const Wl = (e, t, n = 3) => {
|
|
3843
3843
|
let r = 0;
|
|
3844
3844
|
const A = hx(50, 250);
|
|
3845
3845
|
return px((o) => {
|
|
@@ -4068,7 +4068,7 @@ var xx = yx && function(e) {
|
|
|
4068
4068
|
)), C = null;
|
|
4069
4069
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in C && ee.forEach(i.toJSON(), function(Q, v) {
|
|
4070
4070
|
C.setRequestHeader(v, Q);
|
|
4071
|
-
}), ee.isUndefined(A.withCredentials) || (C.withCredentials = !!A.withCredentials), s && s !== "json" && (C.responseType = A.responseType), l && ([E, I] =
|
|
4071
|
+
}), ee.isUndefined(A.withCredentials) || (C.withCredentials = !!A.withCredentials), s && s !== "json" && (C.responseType = A.responseType), l && ([E, I] = Wl(l, !0), C.addEventListener("progress", E)), a && C.upload && ([g, p] = Wl(a), C.upload.addEventListener("progress", g), C.upload.addEventListener("loadend", p)), (A.cancelToken || A.signal) && (c = (h) => {
|
|
4072
4072
|
C && (r(!h || h.type ? new ki(null, e, C) : h), C.abort(), C = null);
|
|
4073
4073
|
}, A.cancelToken && A.cancelToken.subscribe(c), A.signal && (A.signal.aborted ? c() : A.signal.addEventListener("abort", c)));
|
|
4074
4074
|
const B = Bx(A.url);
|
|
@@ -4161,7 +4161,7 @@ const Sx = function* (e, t) {
|
|
|
4161
4161
|
}, {
|
|
4162
4162
|
highWaterMark: 2
|
|
4163
4163
|
});
|
|
4164
|
-
},
|
|
4164
|
+
}, Fc = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", gp = Fc && typeof ReadableStream == "function", Dx = Fc && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), dp = (e, ...t) => {
|
|
4165
4165
|
try {
|
|
4166
4166
|
return !!e(...t);
|
|
4167
4167
|
} catch {
|
|
@@ -4177,12 +4177,12 @@ const Sx = function* (e, t) {
|
|
|
4177
4177
|
}
|
|
4178
4178
|
}).headers.has("Content-Type");
|
|
4179
4179
|
return e && !t;
|
|
4180
|
-
}), GE = 64 * 1024, xg = gp && dp(() => ee.isReadableStream(new Response("").body)),
|
|
4180
|
+
}), GE = 64 * 1024, xg = gp && dp(() => ee.isReadableStream(new Response("").body)), zl = {
|
|
4181
4181
|
stream: xg && ((e) => e.body)
|
|
4182
4182
|
};
|
|
4183
|
-
|
|
4183
|
+
Fc && ((e) => {
|
|
4184
4184
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
4185
|
-
!
|
|
4185
|
+
!zl[t] && (zl[t] = ee.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
|
|
4186
4186
|
throw new $e(`Response type '${t}' is not supported`, $e.ERR_NOT_SUPPORT, r);
|
|
4187
4187
|
});
|
|
4188
4188
|
});
|
|
@@ -4205,7 +4205,7 @@ const Lx = async (e) => {
|
|
|
4205
4205
|
const n = ee.toFiniteNumber(e.getContentLength());
|
|
4206
4206
|
return n ?? Lx(t);
|
|
4207
4207
|
};
|
|
4208
|
-
var Px =
|
|
4208
|
+
var Px = Fc && (async (e) => {
|
|
4209
4209
|
let {
|
|
4210
4210
|
url: t,
|
|
4211
4211
|
method: n,
|
|
@@ -4236,7 +4236,7 @@ var Px = Nc && (async (e) => {
|
|
|
4236
4236
|
if (ee.isFormData(r) && (b = v.headers.get("content-type")) && c.setContentType(b), v.body) {
|
|
4237
4237
|
const [y, m] = kE(
|
|
4238
4238
|
C,
|
|
4239
|
-
|
|
4239
|
+
Wl(ME(a))
|
|
4240
4240
|
);
|
|
4241
4241
|
r = UE(v.body, GE, y, m);
|
|
4242
4242
|
}
|
|
@@ -4261,7 +4261,7 @@ var Px = Nc && (async (e) => {
|
|
|
4261
4261
|
});
|
|
4262
4262
|
const b = ee.toFiniteNumber(B.headers.get("content-length")), [y, m] = s && kE(
|
|
4263
4263
|
b,
|
|
4264
|
-
|
|
4264
|
+
Wl(ME(s), !0)
|
|
4265
4265
|
) || [];
|
|
4266
4266
|
B = new Response(
|
|
4267
4267
|
UE(B.body, GE, y, () => {
|
|
@@ -4271,7 +4271,7 @@ var Px = Nc && (async (e) => {
|
|
|
4271
4271
|
);
|
|
4272
4272
|
}
|
|
4273
4273
|
l = l || "text";
|
|
4274
|
-
let Q = await
|
|
4274
|
+
let Q = await zl[ee.findKey(zl, l) || "text"](B, e);
|
|
4275
4275
|
return !h && d && d(), await new Promise((v, b) => {
|
|
4276
4276
|
lp(v, b, {
|
|
4277
4277
|
data: Q,
|
|
@@ -4406,7 +4406,7 @@ var Tg = {
|
|
|
4406
4406
|
validators: Ud
|
|
4407
4407
|
};
|
|
4408
4408
|
const PA = Tg.validators;
|
|
4409
|
-
let
|
|
4409
|
+
let Yl = class {
|
|
4410
4410
|
constructor(t) {
|
|
4411
4411
|
this.defaults = t, this.interceptors = {
|
|
4412
4412
|
request: new PE(),
|
|
@@ -4504,7 +4504,7 @@ let Wl = class {
|
|
|
4504
4504
|
}
|
|
4505
4505
|
};
|
|
4506
4506
|
ee.forEach(["delete", "get", "head", "options"], function(t) {
|
|
4507
|
-
|
|
4507
|
+
Yl.prototype[t] = function(n, r) {
|
|
4508
4508
|
return this.request(ko(r || {}, {
|
|
4509
4509
|
method: t,
|
|
4510
4510
|
url: n,
|
|
@@ -4525,9 +4525,9 @@ ee.forEach(["post", "put", "patch"], function(t) {
|
|
|
4525
4525
|
}));
|
|
4526
4526
|
};
|
|
4527
4527
|
}
|
|
4528
|
-
|
|
4528
|
+
Yl.prototype[t] = n(), Yl.prototype[t + "Form"] = n(!0);
|
|
4529
4529
|
});
|
|
4530
|
-
var
|
|
4530
|
+
var Al = Yl;
|
|
4531
4531
|
class Gd {
|
|
4532
4532
|
constructor(t) {
|
|
4533
4533
|
if (typeof t != "function")
|
|
@@ -4680,18 +4680,18 @@ Object.entries(Sg).forEach(([e, t]) => {
|
|
|
4680
4680
|
});
|
|
4681
4681
|
var Gx = Sg;
|
|
4682
4682
|
function Ip(e) {
|
|
4683
|
-
const t = new
|
|
4684
|
-
return ee.extend(n,
|
|
4683
|
+
const t = new Al(e), n = Yh(Al.prototype.request, t);
|
|
4684
|
+
return ee.extend(n, Al.prototype, t, { allOwnKeys: !0 }), ee.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(A) {
|
|
4685
4685
|
return Ip(ko(e, A));
|
|
4686
4686
|
}, n;
|
|
4687
4687
|
}
|
|
4688
4688
|
const cn = Ip(jd);
|
|
4689
|
-
cn.Axios =
|
|
4689
|
+
cn.Axios = Al;
|
|
4690
4690
|
cn.CanceledError = ki;
|
|
4691
4691
|
cn.CancelToken = Mx;
|
|
4692
4692
|
cn.isCancel = sp;
|
|
4693
4693
|
cn.VERSION = Ep;
|
|
4694
|
-
cn.toFormData =
|
|
4694
|
+
cn.toFormData = Nc;
|
|
4695
4695
|
cn.AxiosError = $e;
|
|
4696
4696
|
cn.Cancel = cn.CanceledError;
|
|
4697
4697
|
cn.all = function(t) {
|
|
@@ -5278,7 +5278,7 @@ function hp() {
|
|
|
5278
5278
|
};
|
|
5279
5279
|
return wr.logoutFromHeimdall = p, wr;
|
|
5280
5280
|
}
|
|
5281
|
-
var
|
|
5281
|
+
var kc = {}, Cw = Ke && Ke.__awaiter || function(e, t, n, r) {
|
|
5282
5282
|
function A(o) {
|
|
5283
5283
|
return o instanceof n ? o : new n(function(i) {
|
|
5284
5284
|
i(o);
|
|
@@ -5364,8 +5364,8 @@ var Pc = {}, Cw = Ke && Ke.__awaiter || function(e, t, n, r) {
|
|
|
5364
5364
|
return { value: l[0] ? l[1] : void 0, done: !0 };
|
|
5365
5365
|
}
|
|
5366
5366
|
};
|
|
5367
|
-
Object.defineProperty(
|
|
5368
|
-
|
|
5367
|
+
Object.defineProperty(kc, "__esModule", { value: !0 });
|
|
5368
|
+
kc.subscribeToOnlineEvent = void 0;
|
|
5369
5369
|
var YE = Ao, Iw = aA, fw = function(e, t) {
|
|
5370
5370
|
switch (t === void 0 && (t = (0, Iw.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
|
|
5371
5371
|
case YE.PLATFORM.WEB:
|
|
@@ -5388,7 +5388,7 @@ var YE = Ao, Iw = aA, fw = function(e, t) {
|
|
|
5388
5388
|
throw Error("Invalid PLATFORM ".concat(t));
|
|
5389
5389
|
}
|
|
5390
5390
|
};
|
|
5391
|
-
|
|
5391
|
+
kc.subscribeToOnlineEvent = fw;
|
|
5392
5392
|
var JE;
|
|
5393
5393
|
function pp() {
|
|
5394
5394
|
if (JE) return la;
|
|
@@ -5480,7 +5480,7 @@ function pp() {
|
|
|
5480
5480
|
}
|
|
5481
5481
|
};
|
|
5482
5482
|
Object.defineProperty(la, "__esModule", { value: !0 }), la.fetchAccessToken = void 0;
|
|
5483
|
-
var n = hp(), r = Ao, A = mt, o =
|
|
5483
|
+
var n = hp(), r = Ao, A = mt, o = kc, i, s, a, l = function(I, d, C, f, B, h) {
|
|
5484
5484
|
return h === void 0 && (h = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
|
|
5485
5485
|
var Q, v, b, y, m, x, j, P, U;
|
|
5486
5486
|
return t(this, function(Y) {
|
|
@@ -6887,11 +6887,11 @@ const Tr = {
|
|
|
6887
6887
|
initialState: ly,
|
|
6888
6888
|
reducers: {},
|
|
6889
6889
|
extraReducers: (e) => {
|
|
6890
|
-
e.addCase(
|
|
6890
|
+
e.addCase(ol.pending, (t) => {
|
|
6891
6891
|
t.templateListApiStatus = Le.LOADING;
|
|
6892
|
-
}).addCase(
|
|
6892
|
+
}).addCase(ol.fulfilled, (t, n) => {
|
|
6893
6893
|
t.templateListApiStatus = Le.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
|
|
6894
|
-
}).addCase(
|
|
6894
|
+
}).addCase(ol.rejected, (t, n) => {
|
|
6895
6895
|
t.templateListApiStatus = Le.FAILED, console.error(n.error);
|
|
6896
6896
|
}).addCase(La.pending, (t) => {
|
|
6897
6897
|
t.templateDetailsApiStatus = Le.LOADING;
|
|
@@ -6903,7 +6903,7 @@ const Tr = {
|
|
|
6903
6903
|
t.templateDetailsApiStatus = Le.FAILED, console.error(n.error);
|
|
6904
6904
|
});
|
|
6905
6905
|
}
|
|
6906
|
-
}),
|
|
6906
|
+
}), ol = _t("connectorLibrary/fetchConnectorTemplates", async () => {
|
|
6907
6907
|
const e = await Mw();
|
|
6908
6908
|
if (!e || !e.data || !Array.isArray(e.data))
|
|
6909
6909
|
return {
|
|
@@ -6965,21 +6965,21 @@ const Tr = {
|
|
|
6965
6965
|
initialState: Hw,
|
|
6966
6966
|
reducers: {},
|
|
6967
6967
|
extraReducers: (e) => {
|
|
6968
|
-
e.addCase(
|
|
6968
|
+
e.addCase(cl.pending, (t) => {
|
|
6969
6969
|
t.connectorsApiStatus = Le.LOADING;
|
|
6970
|
-
}).addCase(
|
|
6970
|
+
}).addCase(cl.fulfilled, (t, n) => {
|
|
6971
6971
|
t.connectorsApiStatus = Le.IDLE, t.connectorList = n.payload.connectorList, t.connectors = n.payload.connectors;
|
|
6972
|
-
}).addCase(
|
|
6972
|
+
}).addCase(cl.rejected, (t, n) => {
|
|
6973
6973
|
t.connectorsApiStatus = Le.FAILED, console.error(n.error);
|
|
6974
|
-
}).addCase(
|
|
6974
|
+
}).addCase(il.pending, (t, n) => {
|
|
6975
6975
|
var A;
|
|
6976
6976
|
const { id: r } = ((A = n == null ? void 0 : n.meta) == null ? void 0 : A.arg) || {};
|
|
6977
6977
|
t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: Le.LOADING };
|
|
6978
|
-
}).addCase(
|
|
6978
|
+
}).addCase(il.fulfilled, (t, n) => {
|
|
6979
6979
|
var o, i;
|
|
6980
6980
|
const { id: r = "", enabled: A } = ((o = n == null ? void 0 : n.meta) == null ? void 0 : o.arg) || {};
|
|
6981
6981
|
t.currentUpdatingConnectors[r] && (t.currentUpdatingConnectors[r] = Le.IDLE), (i = t == null ? void 0 : t.connectors) != null && i[r] && (t.connectors[r].isEnabled = A);
|
|
6982
|
-
}).addCase(
|
|
6982
|
+
}).addCase(il.rejected, (t, n) => {
|
|
6983
6983
|
var A;
|
|
6984
6984
|
const { id: r } = ((A = n == null ? void 0 : n.meta) == null ? void 0 : A.arg) || {};
|
|
6985
6985
|
t.currentUpdatingConnectors = { ...t.currentUpdatingConnectors, [r]: Le.FAILED }, console.error(n.error);
|
|
@@ -6998,50 +6998,50 @@ const Tr = {
|
|
|
6998
6998
|
});
|
|
6999
6999
|
}).addCase(Na.rejected, (t, n) => {
|
|
7000
7000
|
t.connectorDetailApiStatus = Le.FAILED, console.error(n.error);
|
|
7001
|
-
}).addCase(
|
|
7001
|
+
}).addCase(al.pending, (t) => {
|
|
7002
7002
|
t.fetchInboxApiStatus = Le.LOADING;
|
|
7003
|
-
}).addCase(
|
|
7003
|
+
}).addCase(al.fulfilled, (t, n) => {
|
|
7004
7004
|
t.fetchInboxApiStatus = Le.IDLE;
|
|
7005
7005
|
const { chatInbox: r, emailInbox: A } = n.payload;
|
|
7006
7006
|
t.chatInboxDetails = r, t.emailInboxDetails = A;
|
|
7007
|
-
}).addCase(
|
|
7007
|
+
}).addCase(al.rejected, (t, n) => {
|
|
7008
7008
|
t.fetchInboxApiStatus = Le.FAILED, console.error(n.error);
|
|
7009
|
-
}).addCase(
|
|
7009
|
+
}).addCase(ll.pending, (t) => {
|
|
7010
7010
|
t.rolesAndPermissionsApiStatus = Le.LOADING;
|
|
7011
|
-
}).addCase(
|
|
7011
|
+
}).addCase(ll.fulfilled, (t, n) => {
|
|
7012
7012
|
t.rolesAndPermissionsApiStatus = Le.IDLE;
|
|
7013
7013
|
const { rolesAndPermissions: r } = n.payload;
|
|
7014
7014
|
t.rolesAndPermissions = r;
|
|
7015
|
-
}).addCase(
|
|
7015
|
+
}).addCase(ll.rejected, (t, n) => {
|
|
7016
7016
|
t.rolesAndPermissionsApiStatus = Le.FAILED, console.error(n.error);
|
|
7017
|
-
}).addCase(
|
|
7017
|
+
}).addCase(sl.pending, (t) => {
|
|
7018
7018
|
t.updateEnableConnectorsApiStatus = Le.LOADING;
|
|
7019
|
-
}).addCase(
|
|
7019
|
+
}).addCase(sl.fulfilled, (t, n) => {
|
|
7020
7020
|
var l;
|
|
7021
7021
|
t.updateEnableConnectorsApiStatus = Le.IDLE;
|
|
7022
7022
|
const { cardId: r, data: A, currentConnector: o } = n.payload.params, { roles: i, inboxes: s, fields: a } = A;
|
|
7023
7023
|
t != null && t.connectors && (t.connectors[o].cardList = (l = t.connectors[o].cardList) == null ? void 0 : l.map(
|
|
7024
7024
|
(c) => (c.id === r && (c = { ...c, inboxes: s, roles: i, fields: a }), c)
|
|
7025
7025
|
));
|
|
7026
|
-
}).addCase(
|
|
7026
|
+
}).addCase(sl.rejected, (t) => {
|
|
7027
7027
|
t.updateEnableConnectorsApiStatus = Le.FAILED;
|
|
7028
|
-
}).addCase(
|
|
7028
|
+
}).addCase(ul.pending, (t) => {
|
|
7029
7029
|
t.cardCustomFieldsApiStatus = Le.LOADING;
|
|
7030
|
-
}).addCase(
|
|
7030
|
+
}).addCase(ul.fulfilled, (t, n) => {
|
|
7031
7031
|
t.cardCustomFieldsApiStatus = Le.IDLE;
|
|
7032
7032
|
const { cardId: r, customFields: A } = n.payload;
|
|
7033
7033
|
t.cardCustomFields = {
|
|
7034
7034
|
...t.cardCustomFields,
|
|
7035
7035
|
[r]: A
|
|
7036
7036
|
};
|
|
7037
|
-
}).addCase(
|
|
7037
|
+
}).addCase(ul.rejected, (t, n) => {
|
|
7038
7038
|
t.cardCustomFieldsApiStatus = Le.FAILED, console.error(n.error);
|
|
7039
7039
|
});
|
|
7040
7040
|
}
|
|
7041
|
-
}),
|
|
7041
|
+
}), il = _t(
|
|
7042
7042
|
"connectorLibrary/updateConnectors",
|
|
7043
7043
|
async (e) => (await qw(e), { params: e })
|
|
7044
|
-
),
|
|
7044
|
+
), al = _t(
|
|
7045
7045
|
"connectorLibrary/getInboxDetails",
|
|
7046
7046
|
async (e) => {
|
|
7047
7047
|
const t = await e();
|
|
@@ -7050,13 +7050,13 @@ const Tr = {
|
|
|
7050
7050
|
emailInbox: t.emailInboxes
|
|
7051
7051
|
};
|
|
7052
7052
|
}
|
|
7053
|
-
),
|
|
7053
|
+
), sl = _t(
|
|
7054
7054
|
"connectorLibrary/updateEnableConnectors",
|
|
7055
7055
|
async (e) => (await $w(e), { params: e })
|
|
7056
|
-
),
|
|
7056
|
+
), ll = _t(
|
|
7057
7057
|
"connectorLibrary/getRolesAndPermissions",
|
|
7058
7058
|
async (e) => ({ rolesAndPermissions: (await e()).roles })
|
|
7059
|
-
),
|
|
7059
|
+
), cl = _t("connectorLibrary/fetchConnectors", async () => {
|
|
7060
7060
|
const e = await Kw();
|
|
7061
7061
|
if (!e || !e.data || !Array.isArray(e.data))
|
|
7062
7062
|
return {
|
|
@@ -7083,7 +7083,7 @@ const Tr = {
|
|
|
7083
7083
|
connector: t.data,
|
|
7084
7084
|
connectorId: e
|
|
7085
7085
|
};
|
|
7086
|
-
}),
|
|
7086
|
+
}), ul = _t(
|
|
7087
7087
|
"auth/fetchCardsCustomFields",
|
|
7088
7088
|
async (e) => {
|
|
7089
7089
|
const t = await e2(e);
|
|
@@ -7128,11 +7128,11 @@ const Tr = {
|
|
|
7128
7128
|
resetState: () => $E
|
|
7129
7129
|
},
|
|
7130
7130
|
extraReducers: (e) => {
|
|
7131
|
-
e.addCase(
|
|
7131
|
+
e.addCase(gl.pending, (t) => {
|
|
7132
7132
|
t.authVerificationDone = !1, t.verifyTokenApiStatus = Le.LOADING;
|
|
7133
|
-
}).addCase(
|
|
7133
|
+
}).addCase(gl.fulfilled, (t) => {
|
|
7134
7134
|
t.authVerificationDone = !0, t.verifyTokenApiStatus = Le.IDLE;
|
|
7135
|
-
}).addCase(
|
|
7135
|
+
}).addCase(gl.rejected, (t, n) => {
|
|
7136
7136
|
t.authVerificationDone = !0, t.verifyTokenApiStatus = Le.FAILED, console.error(n.error);
|
|
7137
7137
|
}).addCase(_u.pending, (t) => {
|
|
7138
7138
|
t.testApiStatus = Le.LOADING;
|
|
@@ -7161,7 +7161,7 @@ const Tr = {
|
|
|
7161
7161
|
statusCode: String(r.statusCode)
|
|
7162
7162
|
};
|
|
7163
7163
|
}
|
|
7164
|
-
),
|
|
7164
|
+
), gl = _t(
|
|
7165
7165
|
"auth/verifyToken",
|
|
7166
7166
|
async ({ data: e, connectorId: t }) => {
|
|
7167
7167
|
await l2(e, t);
|
|
@@ -7182,21 +7182,21 @@ const Tr = {
|
|
|
7182
7182
|
initialState: g2,
|
|
7183
7183
|
reducers: {},
|
|
7184
7184
|
extraReducers: (e) => {
|
|
7185
|
-
e.addCase(
|
|
7185
|
+
e.addCase(dl.pending, (t) => {
|
|
7186
7186
|
t.connectorRequestsApiStatus = Le.LOADING;
|
|
7187
|
-
}).addCase(
|
|
7187
|
+
}).addCase(dl.fulfilled, (t, n) => {
|
|
7188
7188
|
t.connectorRequestsApiStatus = Le.IDLE, t.requestableConnectors = n.payload.requestableConnectors, t.requestableApis = n.payload.requestableApis;
|
|
7189
|
-
}).addCase(
|
|
7189
|
+
}).addCase(dl.rejected, (t) => {
|
|
7190
7190
|
t.connectorRequestsApiStatus = Le.FAILED;
|
|
7191
|
-
}).addCase(
|
|
7191
|
+
}).addCase(Cl.pending, (t) => {
|
|
7192
7192
|
t.connectorRequestsApiStatus = Le.LOADING;
|
|
7193
|
-
}).addCase(
|
|
7193
|
+
}).addCase(Cl.fulfilled, (t) => {
|
|
7194
7194
|
t.connectorRequestsApiStatus = Le.IDLE;
|
|
7195
|
-
}).addCase(
|
|
7195
|
+
}).addCase(Cl.rejected, (t) => {
|
|
7196
7196
|
t.connectorRequestsApiStatus = Le.FAILED;
|
|
7197
7197
|
});
|
|
7198
7198
|
}
|
|
7199
|
-
}),
|
|
7199
|
+
}), dl = _t("connectorLibrary/fetchConnectorRequests", async () => {
|
|
7200
7200
|
const e = await d2();
|
|
7201
7201
|
if (!e || !e.data)
|
|
7202
7202
|
return {
|
|
@@ -7208,7 +7208,7 @@ const Tr = {
|
|
|
7208
7208
|
requestableConnectors: n,
|
|
7209
7209
|
requestableApis: r
|
|
7210
7210
|
};
|
|
7211
|
-
}),
|
|
7211
|
+
}), Cl = _t(
|
|
7212
7212
|
"connectorLibrary/submitConnectorRequest",
|
|
7213
7213
|
async (e) => (await C2(e), { params: e })
|
|
7214
7214
|
), I2 = E2.reducer, f2 = Od({
|
|
@@ -7380,7 +7380,7 @@ function Dg(e, t) {
|
|
|
7380
7380
|
}
|
|
7381
7381
|
return t;
|
|
7382
7382
|
}
|
|
7383
|
-
function
|
|
7383
|
+
function Jl(e, t) {
|
|
7384
7384
|
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
|
7385
7385
|
return !1;
|
|
7386
7386
|
for (const n in e)
|
|
@@ -7432,11 +7432,11 @@ function y2(e, t, n = 0) {
|
|
|
7432
7432
|
const r = [t, ...e];
|
|
7433
7433
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
7434
7434
|
}
|
|
7435
|
-
var
|
|
7435
|
+
var Xl = Symbol();
|
|
7436
7436
|
function Op(e, t) {
|
|
7437
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
7437
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Xl && console.error(
|
|
7438
7438
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
|
7439
|
-
), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn ===
|
|
7439
|
+
), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === Xl ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
7440
7440
|
}
|
|
7441
7441
|
var bo, GA, Ii, jB, x2 = (jB = class extends Ui {
|
|
7442
7442
|
constructor() {
|
|
@@ -7513,7 +7513,7 @@ var bo, GA, Ii, jB, x2 = (jB = class extends Ui {
|
|
|
7513
7513
|
isOnline() {
|
|
7514
7514
|
return L(this, fi);
|
|
7515
7515
|
}
|
|
7516
|
-
}, fi = new WeakMap(), VA = new WeakMap(), Bi = new WeakMap(), UB),
|
|
7516
|
+
}, fi = new WeakMap(), VA = new WeakMap(), Bi = new WeakMap(), UB), Kl = new w2();
|
|
7517
7517
|
function Ng() {
|
|
7518
7518
|
let e, t;
|
|
7519
7519
|
const n = new Promise((A, o) => {
|
|
@@ -7540,7 +7540,7 @@ function T2(e) {
|
|
|
7540
7540
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
7541
7541
|
}
|
|
7542
7542
|
function Lp(e) {
|
|
7543
|
-
return (e ?? "online") === "online" ?
|
|
7543
|
+
return (e ?? "online") === "online" ? Kl.isOnline() : !0;
|
|
7544
7544
|
}
|
|
7545
7545
|
var Np = class extends Error {
|
|
7546
7546
|
constructor(e) {
|
|
@@ -7559,7 +7559,7 @@ function Pp(e) {
|
|
|
7559
7559
|
t = !0;
|
|
7560
7560
|
}, a = () => {
|
|
7561
7561
|
t = !1;
|
|
7562
|
-
}, l = () => Kd.isFocused() && (e.networkMode === "always" ||
|
|
7562
|
+
}, l = () => Kd.isFocused() && (e.networkMode === "always" || Kl.isOnline()) && e.canRun(), c = () => Lp(e.networkMode) && e.canRun(), g = (d) => {
|
|
7563
7563
|
var C;
|
|
7564
7564
|
r || (r = !0, (C = e.onSuccess) == null || C.call(e, d), A == null || A(), o.resolve(d));
|
|
7565
7565
|
}, E = (d) => {
|
|
@@ -7742,7 +7742,7 @@ var Cn = S2(), yo, GB, Fp = (GB = class {
|
|
|
7742
7742
|
);
|
|
7743
7743
|
}
|
|
7744
7744
|
isDisabled() {
|
|
7745
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
7745
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Xl || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
|
|
7746
7746
|
}
|
|
7747
7747
|
isStale() {
|
|
7748
7748
|
return this.state.isInvalidated ? !0 : this.getObserversCount() > 0 ? this.observers.some(
|
|
@@ -8252,7 +8252,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8252
8252
|
build(t, n, r) {
|
|
8253
8253
|
const A = new O2({
|
|
8254
8254
|
mutationCache: this,
|
|
8255
|
-
mutationId: ++
|
|
8255
|
+
mutationId: ++Rs(this, ls)._,
|
|
8256
8256
|
options: t.defaultMutationOptions(n),
|
|
8257
8257
|
state: r
|
|
8258
8258
|
});
|
|
@@ -8260,7 +8260,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8260
8260
|
}
|
|
8261
8261
|
add(t) {
|
|
8262
8262
|
L(this, vA).add(t);
|
|
8263
|
-
const n =
|
|
8263
|
+
const n = ks(t);
|
|
8264
8264
|
if (typeof n == "string") {
|
|
8265
8265
|
const r = L(this, _r).get(n);
|
|
8266
8266
|
r ? r.push(t) : L(this, _r).set(n, [t]);
|
|
@@ -8269,7 +8269,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8269
8269
|
}
|
|
8270
8270
|
remove(t) {
|
|
8271
8271
|
if (L(this, vA).delete(t)) {
|
|
8272
|
-
const n =
|
|
8272
|
+
const n = ks(t);
|
|
8273
8273
|
if (typeof n == "string") {
|
|
8274
8274
|
const r = L(this, _r).get(n);
|
|
8275
8275
|
if (r)
|
|
@@ -8282,7 +8282,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8282
8282
|
this.notify({ type: "removed", mutation: t });
|
|
8283
8283
|
}
|
|
8284
8284
|
canRun(t) {
|
|
8285
|
-
const n =
|
|
8285
|
+
const n = ks(t);
|
|
8286
8286
|
if (typeof n == "string") {
|
|
8287
8287
|
const r = L(this, _r).get(n), A = r == null ? void 0 : r.find(
|
|
8288
8288
|
(o) => o.state.status === "pending"
|
|
@@ -8293,7 +8293,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8293
8293
|
}
|
|
8294
8294
|
runNext(t) {
|
|
8295
8295
|
var r;
|
|
8296
|
-
const n =
|
|
8296
|
+
const n = ks(t);
|
|
8297
8297
|
if (typeof n == "string") {
|
|
8298
8298
|
const A = (r = L(this, _r).get(n)) == null ? void 0 : r.find((o) => o !== t && o.state.isPaused);
|
|
8299
8299
|
return (A == null ? void 0 : A.continue()) ?? Promise.resolve();
|
|
@@ -8335,7 +8335,7 @@ var vA, _r, ls, zB, L2 = (zB = class extends Ui {
|
|
|
8335
8335
|
);
|
|
8336
8336
|
}
|
|
8337
8337
|
}, vA = new WeakMap(), _r = new WeakMap(), ls = new WeakMap(), zB);
|
|
8338
|
-
function
|
|
8338
|
+
function ks(e) {
|
|
8339
8339
|
var t;
|
|
8340
8340
|
return (t = e.options.scope) == null ? void 0 : t.id;
|
|
8341
8341
|
}
|
|
@@ -8435,15 +8435,15 @@ var Xt, HA, WA, Qi, mi, zA, vi, bi, YB, jp = (YB = class {
|
|
|
8435
8435
|
De(this, Xt, e.queryCache || new D2()), De(this, HA, e.mutationCache || new L2()), De(this, WA, e.defaultOptions || {}), De(this, Qi, /* @__PURE__ */ new Map()), De(this, mi, /* @__PURE__ */ new Map()), De(this, zA, 0);
|
|
8436
8436
|
}
|
|
8437
8437
|
mount() {
|
|
8438
|
-
|
|
8438
|
+
Rs(this, zA)._++, L(this, zA) === 1 && (De(this, vi, Kd.subscribe(async (e) => {
|
|
8439
8439
|
e && (await this.resumePausedMutations(), L(this, Xt).onFocus());
|
|
8440
|
-
})), De(this, bi,
|
|
8440
|
+
})), De(this, bi, Kl.subscribe(async (e) => {
|
|
8441
8441
|
e && (await this.resumePausedMutations(), L(this, Xt).onOnline());
|
|
8442
8442
|
})));
|
|
8443
8443
|
}
|
|
8444
8444
|
unmount() {
|
|
8445
8445
|
var e, t;
|
|
8446
|
-
|
|
8446
|
+
Rs(this, zA)._--, L(this, zA) === 0 && ((e = L(this, vi)) == null || e.call(this), De(this, vi, void 0), (t = L(this, bi)) == null || t.call(this), De(this, bi, void 0));
|
|
8447
8447
|
}
|
|
8448
8448
|
isFetching(e) {
|
|
8449
8449
|
return L(this, Xt).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
@@ -8558,7 +8558,7 @@ var Xt, HA, WA, Qi, mi, zA, vi, bi, YB, jp = (YB = class {
|
|
|
8558
8558
|
return e.behavior = oI(e.pages), this.ensureQueryData(e);
|
|
8559
8559
|
}
|
|
8560
8560
|
resumePausedMutations() {
|
|
8561
|
-
return
|
|
8561
|
+
return Kl.isOnline() ? L(this, HA).resumePausedMutations() : Promise.resolve();
|
|
8562
8562
|
}
|
|
8563
8563
|
getQueryCache() {
|
|
8564
8564
|
return L(this, Xt);
|
|
@@ -8608,7 +8608,7 @@ var Xt, HA, WA, Qi, mi, zA, vi, bi, YB, jp = (YB = class {
|
|
|
8608
8608
|
return t.queryHash || (t.queryHash = Xd(
|
|
8609
8609
|
t.queryKey,
|
|
8610
8610
|
t
|
|
8611
|
-
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn ===
|
|
8611
|
+
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === Xl && (t.enabled = !1), t;
|
|
8612
8612
|
}
|
|
8613
8613
|
defaultMutationOptions(e) {
|
|
8614
8614
|
return e != null && e._defaulted ? e : {
|
|
@@ -8678,7 +8678,7 @@ var Xt, HA, WA, Qi, mi, zA, vi, bi, YB, jp = (YB = class {
|
|
|
8678
8678
|
throw new Error(
|
|
8679
8679
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
8680
8680
|
);
|
|
8681
|
-
tt(this, St, Gg).call(this), L(this, it).setOptions(this.options), r._defaulted && !
|
|
8681
|
+
tt(this, St, Gg).call(this), L(this, it).setOptions(this.options), r._defaulted && !Jl(this.options, r) && L(this, Jn).getQueryCache().notify({
|
|
8682
8682
|
type: "observerOptionsUpdated",
|
|
8683
8683
|
query: L(this, it),
|
|
8684
8684
|
observer: this
|
|
@@ -8824,7 +8824,7 @@ var Xt, HA, WA, Qi, mi, zA, vi, bi, YB, jp = (YB = class {
|
|
|
8824
8824
|
}
|
|
8825
8825
|
updateResult(t) {
|
|
8826
8826
|
const n = L(this, Un), r = this.createResult(L(this, it), this.options);
|
|
8827
|
-
if (De(this, So, L(this, it).state), De(this, yi, this.options), L(this, So).data !== void 0 && De(this, wi, L(this, it)),
|
|
8827
|
+
if (De(this, So, L(this, it).state), De(this, yi, this.options), L(this, So).data !== void 0 && De(this, wi, L(this, it)), Jl(r, n))
|
|
8828
8828
|
return;
|
|
8829
8829
|
De(this, Un, r);
|
|
8830
8830
|
const A = {}, o = () => {
|
|
@@ -8913,9 +8913,9 @@ function qd(e, t) {
|
|
|
8913
8913
|
return Dr(t.enabled, e) !== !1 && e.isStaleByTime(ui(t.staleTime, e));
|
|
8914
8914
|
}
|
|
8915
8915
|
function k2(e, t) {
|
|
8916
|
-
return !
|
|
8916
|
+
return !Jl(e.getCurrentResult(), t);
|
|
8917
8917
|
}
|
|
8918
|
-
var XA, KA, Xn, bA, wA,
|
|
8918
|
+
var XA, KA, Xn, bA, wA, El, Hg, XB, M2 = (XB = class extends Ui {
|
|
8919
8919
|
constructor(t, n) {
|
|
8920
8920
|
super();
|
|
8921
8921
|
Ue(this, wA);
|
|
@@ -8923,7 +8923,7 @@ var XA, KA, Xn, bA, wA, dl, Hg, XB, M2 = (XB = class extends Ui {
|
|
|
8923
8923
|
Ue(this, KA);
|
|
8924
8924
|
Ue(this, Xn);
|
|
8925
8925
|
Ue(this, bA);
|
|
8926
|
-
De(this, XA, t), this.setOptions(n), this.bindMethods(), tt(this, wA,
|
|
8926
|
+
De(this, XA, t), this.setOptions(n), this.bindMethods(), tt(this, wA, El).call(this);
|
|
8927
8927
|
}
|
|
8928
8928
|
bindMethods() {
|
|
8929
8929
|
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
|
@@ -8931,7 +8931,7 @@ var XA, KA, Xn, bA, wA, dl, Hg, XB, M2 = (XB = class extends Ui {
|
|
|
8931
8931
|
setOptions(t) {
|
|
8932
8932
|
var r;
|
|
8933
8933
|
const n = this.options;
|
|
8934
|
-
this.options = L(this, XA).defaultMutationOptions(t),
|
|
8934
|
+
this.options = L(this, XA).defaultMutationOptions(t), Jl(this.options, n) || L(this, XA).getMutationCache().notify({
|
|
8935
8935
|
type: "observerOptionsUpdated",
|
|
8936
8936
|
mutation: L(this, Xn),
|
|
8937
8937
|
observer: this
|
|
@@ -8942,20 +8942,20 @@ var XA, KA, Xn, bA, wA, dl, Hg, XB, M2 = (XB = class extends Ui {
|
|
|
8942
8942
|
this.hasListeners() || (t = L(this, Xn)) == null || t.removeObserver(this);
|
|
8943
8943
|
}
|
|
8944
8944
|
onMutationUpdate(t) {
|
|
8945
|
-
tt(this, wA,
|
|
8945
|
+
tt(this, wA, El).call(this), tt(this, wA, Hg).call(this, t);
|
|
8946
8946
|
}
|
|
8947
8947
|
getCurrentResult() {
|
|
8948
8948
|
return L(this, KA);
|
|
8949
8949
|
}
|
|
8950
8950
|
reset() {
|
|
8951
8951
|
var t;
|
|
8952
|
-
(t = L(this, Xn)) == null || t.removeObserver(this), De(this, Xn, void 0), tt(this, wA,
|
|
8952
|
+
(t = L(this, Xn)) == null || t.removeObserver(this), De(this, Xn, void 0), tt(this, wA, El).call(this), tt(this, wA, Hg).call(this);
|
|
8953
8953
|
}
|
|
8954
8954
|
mutate(t, n) {
|
|
8955
8955
|
var r;
|
|
8956
8956
|
return De(this, bA, n), (r = L(this, Xn)) == null || r.removeObserver(this), De(this, Xn, L(this, XA).getMutationCache().build(L(this, XA), this.options)), L(this, Xn).addObserver(this), L(this, Xn).execute(t);
|
|
8957
8957
|
}
|
|
8958
|
-
}, XA = new WeakMap(), KA = new WeakMap(), Xn = new WeakMap(), bA = new WeakMap(), wA = new WeakSet(),
|
|
8958
|
+
}, XA = new WeakMap(), KA = new WeakMap(), Xn = new WeakMap(), bA = new WeakMap(), wA = new WeakSet(), El = function() {
|
|
8959
8959
|
var n;
|
|
8960
8960
|
const t = ((n = L(this, Xn)) == null ? void 0 : n.state) ?? Mp();
|
|
8961
8961
|
De(this, KA, {
|
|
@@ -9093,7 +9093,7 @@ function K2(e, t, n) {
|
|
|
9093
9093
|
}
|
|
9094
9094
|
return i.notifyOnChangeProps ? l : a.trackResult(l);
|
|
9095
9095
|
}
|
|
9096
|
-
function
|
|
9096
|
+
function Mc(e, t) {
|
|
9097
9097
|
return K2(e, P2);
|
|
9098
9098
|
}
|
|
9099
9099
|
function zp(e, t) {
|
|
@@ -9348,9 +9348,9 @@ function Ka(e, t, n, r) {
|
|
|
9348
9348
|
});
|
|
9349
9349
|
}
|
|
9350
9350
|
function Bo(e, t, n) {
|
|
9351
|
-
return n === void 0 && (n = "/"),
|
|
9351
|
+
return n === void 0 && (n = "/"), Il(e, t, n, !1);
|
|
9352
9352
|
}
|
|
9353
|
-
function
|
|
9353
|
+
function Il(e, t, n, r) {
|
|
9354
9354
|
let A = typeof t == "string" ? oo(t) : t, o = Fr(A.pathname || "/", n);
|
|
9355
9355
|
if (o == null)
|
|
9356
9356
|
return null;
|
|
@@ -9444,12 +9444,12 @@ function ET(e, t, n) {
|
|
|
9444
9444
|
routesMeta: r
|
|
9445
9445
|
} = e, A = {}, o = "/", i = [];
|
|
9446
9446
|
for (let s = 0; s < r.length; ++s) {
|
|
9447
|
-
let a = r[s], l = s === r.length - 1, c = o === "/" ? t : t.slice(o.length) || "/", g =
|
|
9447
|
+
let a = r[s], l = s === r.length - 1, c = o === "/" ? t : t.slice(o.length) || "/", g = ql({
|
|
9448
9448
|
path: a.relativePath,
|
|
9449
9449
|
caseSensitive: a.caseSensitive,
|
|
9450
9450
|
end: l
|
|
9451
9451
|
}, c), E = a.route;
|
|
9452
|
-
if (!g && l && n && !r[r.length - 1].route.index && (g =
|
|
9452
|
+
if (!g && l && n && !r[r.length - 1].route.index && (g = ql({
|
|
9453
9453
|
path: a.relativePath,
|
|
9454
9454
|
caseSensitive: a.caseSensitive,
|
|
9455
9455
|
end: !1
|
|
@@ -9465,7 +9465,7 @@ function ET(e, t, n) {
|
|
|
9465
9465
|
}
|
|
9466
9466
|
return i;
|
|
9467
9467
|
}
|
|
9468
|
-
function
|
|
9468
|
+
function ql(e, t) {
|
|
9469
9469
|
typeof e == "string" && (e = {
|
|
9470
9470
|
path: e,
|
|
9471
9471
|
caseSensitive: !1,
|
|
@@ -9566,12 +9566,12 @@ function $d(e, t, n, r) {
|
|
|
9566
9566
|
return !a.pathname.endsWith("/") && (l || c) && (a.pathname += "/"), a;
|
|
9567
9567
|
}
|
|
9568
9568
|
const sA = (e) => e.join("/").replace(/\/\/+/g, "/"), pT = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), QT = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, mT = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
9569
|
-
class
|
|
9569
|
+
class Zl {
|
|
9570
9570
|
constructor(t, n, r, A) {
|
|
9571
9571
|
A === void 0 && (A = !1), this.status = t, this.statusText = n || "", this.internal = A, r instanceof Error ? (this.data = r.toString(), this.error = r) : this.data = r;
|
|
9572
9572
|
}
|
|
9573
9573
|
}
|
|
9574
|
-
function
|
|
9574
|
+
function jc(e) {
|
|
9575
9575
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
|
|
9576
9576
|
}
|
|
9577
9577
|
const Kp = ["post", "put", "patch", "delete"], vT = new Set(Kp), bT = ["get", ...Kp], yT = new Set(bT), xT = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]), wT = /* @__PURE__ */ new Set([307, 308]), Ou = {
|
|
@@ -9890,7 +9890,7 @@ function _T(e) {
|
|
|
9890
9890
|
return;
|
|
9891
9891
|
if (Je.pendingActionResult) {
|
|
9892
9892
|
let [Ot, Bt] = Je.pendingActionResult;
|
|
9893
|
-
if (lr(Bt) &&
|
|
9893
|
+
if (lr(Bt) && jc(Bt.error) && Bt.error.status === 404) {
|
|
9894
9894
|
P = null, ot(F, {
|
|
9895
9895
|
matches: Je.matches,
|
|
9896
9896
|
loaderData: {},
|
|
@@ -10087,14 +10087,14 @@ function _T(e) {
|
|
|
10087
10087
|
shortCircuited: !0
|
|
10088
10088
|
};
|
|
10089
10089
|
P && P.signal.removeEventListener("abort", Jt), Bt.forEach((V) => oe.delete(V.key));
|
|
10090
|
-
let hr =
|
|
10090
|
+
let hr = Ms(Ln);
|
|
10091
10091
|
if (hr)
|
|
10092
10092
|
return await Wn(D, hr.result, !0, {
|
|
10093
10093
|
replace: ce
|
|
10094
10094
|
}), {
|
|
10095
10095
|
shortCircuited: !0
|
|
10096
10096
|
};
|
|
10097
|
-
if (hr =
|
|
10097
|
+
if (hr = Ms(zr), hr)
|
|
10098
10098
|
return R.add(hr.key), await Wn(D, hr.result, !0, {
|
|
10099
10099
|
replace: ce
|
|
10100
10100
|
}), {
|
|
@@ -10271,10 +10271,10 @@ function _T(e) {
|
|
|
10271
10271
|
if (Ie.signal.aborted)
|
|
10272
10272
|
return;
|
|
10273
10273
|
Ie.signal.removeEventListener("abort", $), _.delete(D), oe.delete(D), pr.forEach((ae) => oe.delete(ae.key));
|
|
10274
|
-
let V =
|
|
10274
|
+
let V = Ms(O);
|
|
10275
10275
|
if (V)
|
|
10276
10276
|
return Wn(Bt, V.result, !1);
|
|
10277
|
-
if (V =
|
|
10277
|
+
if (V = Ms(q), V)
|
|
10278
10278
|
return R.add(V.key), Wn(Bt, V.result, !1);
|
|
10279
10279
|
let {
|
|
10280
10280
|
loaderData: Z,
|
|
@@ -10616,12 +10616,12 @@ function _T(e) {
|
|
|
10616
10616
|
if (Object.keys(D[0].params).length > 0)
|
|
10617
10617
|
return {
|
|
10618
10618
|
active: !0,
|
|
10619
|
-
matches:
|
|
10619
|
+
matches: Il(F, X, a, !0)
|
|
10620
10620
|
};
|
|
10621
10621
|
} else
|
|
10622
10622
|
return {
|
|
10623
10623
|
active: !0,
|
|
10624
|
-
matches:
|
|
10624
|
+
matches: Il(F, X, a, !0) || []
|
|
10625
10625
|
};
|
|
10626
10626
|
}
|
|
10627
10627
|
return {
|
|
@@ -10654,7 +10654,7 @@ function _T(e) {
|
|
|
10654
10654
|
type: "success",
|
|
10655
10655
|
matches: Be
|
|
10656
10656
|
};
|
|
10657
|
-
let ce =
|
|
10657
|
+
let ce = Il(re, F, a, !0);
|
|
10658
10658
|
if (!ce || w.length === ce.length && w.every((be, fe) => be.route.id === ce[fe].route.id))
|
|
10659
10659
|
return ar(F, d), {
|
|
10660
10660
|
type: "success",
|
|
@@ -11095,7 +11095,7 @@ async function MT(e) {
|
|
|
11095
11095
|
}
|
|
11096
11096
|
return n === Lt.error ? {
|
|
11097
11097
|
type: Lt.error,
|
|
11098
|
-
error: new
|
|
11098
|
+
error: new Zl(t.status, t.statusText, l),
|
|
11099
11099
|
statusCode: t.status,
|
|
11100
11100
|
headers: t.headers
|
|
11101
11101
|
} : {
|
|
@@ -11116,12 +11116,12 @@ async function MT(e) {
|
|
|
11116
11116
|
statusCode: (A = t.init) == null ? void 0 : A.status
|
|
11117
11117
|
};
|
|
11118
11118
|
}
|
|
11119
|
-
t = new
|
|
11119
|
+
t = new Zl(((r = t.init) == null ? void 0 : r.status) || 500, void 0, t.data);
|
|
11120
11120
|
}
|
|
11121
11121
|
return {
|
|
11122
11122
|
type: Lt.error,
|
|
11123
11123
|
error: t,
|
|
11124
|
-
statusCode:
|
|
11124
|
+
statusCode: jc(t) ? t.status : void 0
|
|
11125
11125
|
};
|
|
11126
11126
|
}
|
|
11127
11127
|
if (WT(t)) {
|
|
@@ -11203,7 +11203,7 @@ function UT(e, t, n, r, A) {
|
|
|
11203
11203
|
let d = ai(e, E);
|
|
11204
11204
|
i[d.route.id] == null && (i[d.route.id] = I);
|
|
11205
11205
|
}
|
|
11206
|
-
o[E] = void 0, a || (a = !0, s =
|
|
11206
|
+
o[E] = void 0, a || (a = !0, s = jc(p.error) ? p.error.status : 500), p.headers && (l[E] = p.headers);
|
|
11207
11207
|
} else
|
|
11208
11208
|
ZA(p) ? (r.set(E, p.deferredData), o[E] = p.deferredData.data, p.statusCode != null && p.statusCode !== 200 && !a && (s = p.statusCode), p.headers && (l[E] = p.headers)) : (o[E] = p.data, p.statusCode && p.statusCode !== 200 && !a && (s = p.statusCode), p.headers && (l[E] = p.headers));
|
|
11209
11209
|
}), c !== void 0 && n && (i = {
|
|
@@ -11290,9 +11290,9 @@ function Gn(e, t) {
|
|
|
11290
11290
|
message: i
|
|
11291
11291
|
} = t === void 0 ? {} : t, s = "Unknown Server Error", a = "Unknown @remix-run/router error";
|
|
11292
11292
|
return e === 400 ? (s = "Bad Request", o === "route-discovery" ? a = 'Unable to match URL "' + n + '" - the `unstable_patchRoutesOnNavigation()` ' + (`function threw the following error:
|
|
11293
|
-
` + i) : A && n && r ? a = "You made a " + A + ' request to "' + n + '" but ' + ('did not provide a `loader` for route "' + r + '", ') + "so there is no way to handle the request." : o === "defer-action" ? a = "defer() is not supported in actions" : o === "invalid-body" && (a = "Unable to encode submission body")) : e === 403 ? (s = "Forbidden", a = 'Route "' + r + '" does not match URL "' + n + '"') : e === 404 ? (s = "Not Found", a = 'No route matches URL "' + n + '"') : e === 405 && (s = "Method Not Allowed", A && n && r ? a = "You made a " + A.toUpperCase() + ' request to "' + n + '" but ' + ('did not provide an `action` for route "' + r + '", ') + "so there is no way to handle the request." : A && (a = 'Invalid request method "' + A.toUpperCase() + '"')), new
|
|
11293
|
+
` + i) : A && n && r ? a = "You made a " + A + ' request to "' + n + '" but ' + ('did not provide a `loader` for route "' + r + '", ') + "so there is no way to handle the request." : o === "defer-action" ? a = "defer() is not supported in actions" : o === "invalid-body" && (a = "Unable to encode submission body")) : e === 403 ? (s = "Forbidden", a = 'Route "' + r + '" does not match URL "' + n + '"') : e === 404 ? (s = "Not Found", a = 'No route matches URL "' + n + '"') : e === 405 && (s = "Method Not Allowed", A && n && r ? a = "You made a " + A.toUpperCase() + ' request to "' + n + '" but ' + ('did not provide an `action` for route "' + r + '", ') + "so there is no way to handle the request." : A && (a = 'Invalid request method "' + A.toUpperCase() + '"')), new Zl(e || 500, s, new Error(a), !0);
|
|
11294
11294
|
}
|
|
11295
|
-
function
|
|
11295
|
+
function Ms(e) {
|
|
11296
11296
|
let t = Object.entries(e);
|
|
11297
11297
|
for (let n = t.length - 1; n >= 0; n--) {
|
|
11298
11298
|
let [r, A] = t[n];
|
|
@@ -11547,26 +11547,26 @@ function ZT(e, t) {
|
|
|
11547
11547
|
*
|
|
11548
11548
|
* @license MIT
|
|
11549
11549
|
*/
|
|
11550
|
-
function
|
|
11551
|
-
return
|
|
11550
|
+
function $l() {
|
|
11551
|
+
return $l = Object.assign ? Object.assign.bind() : function(e) {
|
|
11552
11552
|
for (var t = 1; t < arguments.length; t++) {
|
|
11553
11553
|
var n = arguments[t];
|
|
11554
11554
|
for (var r in n)
|
|
11555
11555
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
11556
11556
|
}
|
|
11557
11557
|
return e;
|
|
11558
|
-
},
|
|
11558
|
+
}, $l.apply(this, arguments);
|
|
11559
11559
|
}
|
|
11560
11560
|
const Vi = /* @__PURE__ */ S.createContext(null);
|
|
11561
11561
|
process.env.NODE_ENV !== "production" && (Vi.displayName = "DataRouter");
|
|
11562
|
-
const
|
|
11563
|
-
process.env.NODE_ENV !== "production" && (
|
|
11562
|
+
const Uc = /* @__PURE__ */ S.createContext(null);
|
|
11563
|
+
process.env.NODE_ENV !== "production" && (Uc.displayName = "DataRouterState");
|
|
11564
11564
|
const $T = /* @__PURE__ */ S.createContext(null);
|
|
11565
11565
|
process.env.NODE_ENV !== "production" && ($T.displayName = "Await");
|
|
11566
11566
|
const Ur = /* @__PURE__ */ S.createContext(null);
|
|
11567
11567
|
process.env.NODE_ENV !== "production" && (Ur.displayName = "Navigation");
|
|
11568
|
-
const
|
|
11569
|
-
process.env.NODE_ENV !== "production" && (
|
|
11568
|
+
const Gc = /* @__PURE__ */ S.createContext(null);
|
|
11569
|
+
process.env.NODE_ENV !== "production" && (Gc.displayName = "Location");
|
|
11570
11570
|
const Gr = /* @__PURE__ */ S.createContext({
|
|
11571
11571
|
outlet: null,
|
|
11572
11572
|
matches: [],
|
|
@@ -11602,7 +11602,7 @@ function eS(e, t) {
|
|
|
11602
11602
|
});
|
|
11603
11603
|
}
|
|
11604
11604
|
function Is() {
|
|
11605
|
-
return S.useContext(
|
|
11605
|
+
return S.useContext(Gc) != null;
|
|
11606
11606
|
}
|
|
11607
11607
|
function io() {
|
|
11608
11608
|
return Is() || (process.env.NODE_ENV !== "production" ? Ge(
|
|
@@ -11610,7 +11610,7 @@ function io() {
|
|
|
11610
11610
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
11611
11611
|
// router loaded. We can help them understand how to avoid that.
|
|
11612
11612
|
"useLocation() may be used only in the context of a <Router> component."
|
|
11613
|
-
) : Ge(!1)), S.useContext(
|
|
11613
|
+
) : Ge(!1)), S.useContext(Gc).location;
|
|
11614
11614
|
}
|
|
11615
11615
|
const nQ = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
11616
11616
|
function rQ(e) {
|
|
@@ -11718,7 +11718,7 @@ function AS(e, t, n, r) {
|
|
|
11718
11718
|
})), o, n, r);
|
|
11719
11719
|
}
|
|
11720
11720
|
function oS() {
|
|
11721
|
-
let e = CS(), t =
|
|
11721
|
+
let e = CS(), t = jc(e) ? e.status + " " + e.statusText : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null, r = "rgba(200,200,200, 0.5)", A = {
|
|
11722
11722
|
padding: "0.5rem",
|
|
11723
11723
|
backgroundColor: r
|
|
11724
11724
|
}, o = {
|
|
@@ -11859,7 +11859,7 @@ function cS(e) {
|
|
|
11859
11859
|
return t || (process.env.NODE_ENV !== "production" ? Ge(!1, AC(e)) : Ge(!1)), t;
|
|
11860
11860
|
}
|
|
11861
11861
|
function uS(e) {
|
|
11862
|
-
let t = S.useContext(
|
|
11862
|
+
let t = S.useContext(Uc);
|
|
11863
11863
|
return t || (process.env.NODE_ENV !== "production" ? Ge(!1, AC(e)) : Ge(!1)), t;
|
|
11864
11864
|
}
|
|
11865
11865
|
function gS(e) {
|
|
@@ -11885,7 +11885,7 @@ function ES() {
|
|
|
11885
11885
|
return rQ(() => {
|
|
11886
11886
|
n.current = !0;
|
|
11887
11887
|
}), S.useCallback(function(A, o) {
|
|
11888
|
-
o === void 0 && (o = {}), process.env.NODE_ENV !== "production" && En(n.current, nQ), n.current && (typeof A == "number" ? e.navigate(A) : e.navigate(A,
|
|
11888
|
+
o === void 0 && (o = {}), process.env.NODE_ENV !== "production" && En(n.current, nQ), n.current && (typeof A == "number" ? e.navigate(A) : e.navigate(A, $l({
|
|
11889
11889
|
fromRouteId: t
|
|
11890
11890
|
}, o)));
|
|
11891
11891
|
}, [e, t]);
|
|
@@ -11912,7 +11912,7 @@ function fS(e) {
|
|
|
11912
11912
|
basename: a,
|
|
11913
11913
|
navigator: o,
|
|
11914
11914
|
static: i,
|
|
11915
|
-
future:
|
|
11915
|
+
future: $l({
|
|
11916
11916
|
v7_relativeSplatPath: !1
|
|
11917
11917
|
}, s)
|
|
11918
11918
|
}), [a, s, o, i]);
|
|
@@ -11938,7 +11938,7 @@ function fS(e) {
|
|
|
11938
11938
|
}, [a, c, g, E, p, I, A]);
|
|
11939
11939
|
return process.env.NODE_ENV !== "production" && En(d != null, '<Router basename="' + a + '"> is not able to match the URL ' + ('"' + c + g + E + '" because it does not start with the ') + "basename, so the <Router> won't render anything."), d == null ? null : /* @__PURE__ */ S.createElement(Ur.Provider, {
|
|
11940
11940
|
value: l
|
|
11941
|
-
}, /* @__PURE__ */ S.createElement(
|
|
11941
|
+
}, /* @__PURE__ */ S.createElement(Gc.Provider, {
|
|
11942
11942
|
children: n,
|
|
11943
11943
|
value: d
|
|
11944
11944
|
}));
|
|
@@ -11989,18 +11989,18 @@ function iC(e, t) {
|
|
|
11989
11989
|
A = r[o], !(t.indexOf(A) >= 0) && (n[A] = e[A]);
|
|
11990
11990
|
return n;
|
|
11991
11991
|
}
|
|
11992
|
-
const
|
|
11993
|
-
function
|
|
11992
|
+
const fl = "get", Bl = "application/x-www-form-urlencoded";
|
|
11993
|
+
function Vc(e) {
|
|
11994
11994
|
return e != null && typeof e.tagName == "string";
|
|
11995
11995
|
}
|
|
11996
11996
|
function hS(e) {
|
|
11997
|
-
return
|
|
11997
|
+
return Vc(e) && e.tagName.toLowerCase() === "button";
|
|
11998
11998
|
}
|
|
11999
11999
|
function pS(e) {
|
|
12000
|
-
return
|
|
12000
|
+
return Vc(e) && e.tagName.toLowerCase() === "form";
|
|
12001
12001
|
}
|
|
12002
12002
|
function QS(e) {
|
|
12003
|
-
return
|
|
12003
|
+
return Vc(e) && e.tagName.toLowerCase() === "input";
|
|
12004
12004
|
}
|
|
12005
12005
|
function mS(e) {
|
|
12006
12006
|
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
@@ -12024,35 +12024,35 @@ function bS(e, t) {
|
|
|
12024
12024
|
});
|
|
12025
12025
|
}), n;
|
|
12026
12026
|
}
|
|
12027
|
-
let
|
|
12027
|
+
let js = null;
|
|
12028
12028
|
function yS() {
|
|
12029
|
-
if (
|
|
12029
|
+
if (js === null)
|
|
12030
12030
|
try {
|
|
12031
12031
|
new FormData(
|
|
12032
12032
|
document.createElement("form"),
|
|
12033
12033
|
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
12034
12034
|
0
|
|
12035
|
-
),
|
|
12035
|
+
), js = !1;
|
|
12036
12036
|
} catch {
|
|
12037
|
-
|
|
12037
|
+
js = !0;
|
|
12038
12038
|
}
|
|
12039
|
-
return
|
|
12039
|
+
return js;
|
|
12040
12040
|
}
|
|
12041
12041
|
const xS = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
|
|
12042
12042
|
function Nu(e) {
|
|
12043
|
-
return e != null && !xS.has(e) ? (process.env.NODE_ENV !== "production" && En(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' +
|
|
12043
|
+
return e != null && !xS.has(e) ? (process.env.NODE_ENV !== "production" && En(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + Bl + '"')), null) : e;
|
|
12044
12044
|
}
|
|
12045
12045
|
function wS(e, t) {
|
|
12046
12046
|
let n, r, A, o, i;
|
|
12047
12047
|
if (pS(e)) {
|
|
12048
12048
|
let s = e.getAttribute("action");
|
|
12049
|
-
r = s ? Fr(s, t) : null, n = e.getAttribute("method") ||
|
|
12049
|
+
r = s ? Fr(s, t) : null, n = e.getAttribute("method") || fl, A = Nu(e.getAttribute("enctype")) || Bl, o = new FormData(e);
|
|
12050
12050
|
} else if (hS(e) || QS(e) && (e.type === "submit" || e.type === "image")) {
|
|
12051
12051
|
let s = e.form;
|
|
12052
12052
|
if (s == null)
|
|
12053
12053
|
throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
|
|
12054
12054
|
let a = e.getAttribute("formaction") || s.getAttribute("action");
|
|
12055
|
-
if (r = a ? Fr(a, t) : null, n = e.getAttribute("formmethod") || s.getAttribute("method") ||
|
|
12055
|
+
if (r = a ? Fr(a, t) : null, n = e.getAttribute("formmethod") || s.getAttribute("method") || fl, A = Nu(e.getAttribute("formenctype")) || Nu(s.getAttribute("enctype")) || Bl, o = new FormData(s, e), !yS()) {
|
|
12056
12056
|
let {
|
|
12057
12057
|
name: l,
|
|
12058
12058
|
type: c,
|
|
@@ -12064,9 +12064,9 @@ function wS(e, t) {
|
|
|
12064
12064
|
} else l && o.append(l, g);
|
|
12065
12065
|
}
|
|
12066
12066
|
} else {
|
|
12067
|
-
if (
|
|
12067
|
+
if (Vc(e))
|
|
12068
12068
|
throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
|
|
12069
|
-
n =
|
|
12069
|
+
n = fl, r = null, A = Bl, i = e;
|
|
12070
12070
|
}
|
|
12071
12071
|
return o && A === "text/plain" && (i = o, o = void 0), {
|
|
12072
12072
|
action: r,
|
|
@@ -12110,7 +12110,7 @@ function OS(e) {
|
|
|
12110
12110
|
let t = Object.entries(e), n = {};
|
|
12111
12111
|
for (let [r, A] of t)
|
|
12112
12112
|
if (A && A.__type === "RouteErrorResponse")
|
|
12113
|
-
n[r] = new
|
|
12113
|
+
n[r] = new Zl(A.status, A.statusText, A.data, A.internal === !0);
|
|
12114
12114
|
else if (A && A.__type === "Error") {
|
|
12115
12115
|
if (A.__subType) {
|
|
12116
12116
|
let o = window[A.__subType];
|
|
@@ -12258,7 +12258,7 @@ function sQ(e) {
|
|
|
12258
12258
|
}), [n.future.v7_relativeSplatPath]);
|
|
12259
12259
|
return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Vi.Provider, {
|
|
12260
12260
|
value: b
|
|
12261
|
-
}, /* @__PURE__ */ S.createElement(
|
|
12261
|
+
}, /* @__PURE__ */ S.createElement(Uc.Provider, {
|
|
12262
12262
|
value: A
|
|
12263
12263
|
}, /* @__PURE__ */ S.createElement(aQ.Provider, {
|
|
12264
12264
|
value: C.current
|
|
@@ -12343,7 +12343,7 @@ const GS = /* @__PURE__ */ S.forwardRef(function(t, n) {
|
|
|
12343
12343
|
children: c
|
|
12344
12344
|
} = t, g = iC(t, SS), E = fs(a, {
|
|
12345
12345
|
relative: g.relative
|
|
12346
|
-
}), p = io(), I = S.useContext(
|
|
12346
|
+
}), p = io(), I = S.useContext(Uc), {
|
|
12347
12347
|
navigator: d,
|
|
12348
12348
|
basename: C
|
|
12349
12349
|
} = S.useContext(Ur), f = I != null && // Conditional usage is OK here because the usage of a data router is static
|
|
@@ -12375,7 +12375,7 @@ const VS = /* @__PURE__ */ S.forwardRef((e, t) => {
|
|
|
12375
12375
|
reloadDocument: A,
|
|
12376
12376
|
replace: o,
|
|
12377
12377
|
state: i,
|
|
12378
|
-
method: s =
|
|
12378
|
+
method: s = fl,
|
|
12379
12379
|
action: a,
|
|
12380
12380
|
onSubmit: l,
|
|
12381
12381
|
relative: c,
|
|
@@ -12407,10 +12407,10 @@ const VS = /* @__PURE__ */ S.forwardRef((e, t) => {
|
|
|
12407
12407
|
});
|
|
12408
12408
|
process.env.NODE_ENV !== "production" && (VS.displayName = "Form");
|
|
12409
12409
|
process.env.NODE_ENV;
|
|
12410
|
-
var
|
|
12410
|
+
var ec;
|
|
12411
12411
|
(function(e) {
|
|
12412
12412
|
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
|
|
12413
|
-
})(
|
|
12413
|
+
})(ec || (ec = {}));
|
|
12414
12414
|
var wI;
|
|
12415
12415
|
(function(e) {
|
|
12416
12416
|
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
@@ -12468,7 +12468,7 @@ let YS = 0, JS = () => "__" + String(++YS) + "__";
|
|
|
12468
12468
|
function XS() {
|
|
12469
12469
|
let {
|
|
12470
12470
|
router: e
|
|
12471
|
-
} = cQ(
|
|
12471
|
+
} = cQ(ec.UseSubmit), {
|
|
12472
12472
|
basename: t
|
|
12473
12473
|
} = S.useContext(Ur), n = dS();
|
|
12474
12474
|
return S.useCallback(function(r, A) {
|
|
@@ -12528,13 +12528,13 @@ function qS(e, t) {
|
|
|
12528
12528
|
n == null && (process.env.NODE_ENV !== "production" ? Ge(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : Ge(!1));
|
|
12529
12529
|
let {
|
|
12530
12530
|
basename: r
|
|
12531
|
-
} = cQ(
|
|
12531
|
+
} = cQ(ec.useViewTransitionState), A = fs(e, {
|
|
12532
12532
|
relative: t.relative
|
|
12533
12533
|
});
|
|
12534
12534
|
if (!n.isTransitioning)
|
|
12535
12535
|
return !1;
|
|
12536
12536
|
let o = Fr(n.currentLocation.pathname, r) || n.currentLocation.pathname, i = Fr(n.nextLocation.pathname, r) || n.nextLocation.pathname;
|
|
12537
|
-
return
|
|
12537
|
+
return ql(A.pathname, i) != null || ql(A.pathname, o) != null;
|
|
12538
12538
|
}
|
|
12539
12539
|
const ZS = T(H)`
|
|
12540
12540
|
width: 100%;
|
|
@@ -12745,7 +12745,7 @@ const ZS = T(H)`
|
|
|
12745
12745
|
gap: 11px;
|
|
12746
12746
|
width: fit-content;
|
|
12747
12747
|
height: 32px;
|
|
12748
|
-
`, OI = T(
|
|
12748
|
+
`, OI = T(Ml)`
|
|
12749
12749
|
width: 198px;
|
|
12750
12750
|
`, Za = T(gs)`
|
|
12751
12751
|
height: 20px;
|
|
@@ -12754,7 +12754,7 @@ const ZS = T(H)`
|
|
|
12754
12754
|
`, E4 = () => {
|
|
12755
12755
|
const { availableFeatures: e, sendTrackingEvent: t } = ze(In), n = mn(), r = so(), A = dt(xp), o = dt(Yd), i = dt(Uw);
|
|
12756
12756
|
ve(() => {
|
|
12757
|
-
r(
|
|
12757
|
+
r(ol());
|
|
12758
12758
|
}, [r]);
|
|
12759
12759
|
const s = (a, l) => {
|
|
12760
12760
|
var g;
|
|
@@ -12855,7 +12855,7 @@ const ZS = T(H)`
|
|
|
12855
12855
|
return /* @__PURE__ */ u.jsx(lC.Provider, { value: r, children: e });
|
|
12856
12856
|
});
|
|
12857
12857
|
EQ.displayName = "SingletonProvider";
|
|
12858
|
-
const IQ = (e) => e.connectorLirary.connectorList,
|
|
12858
|
+
const IQ = (e) => e.connectorLirary.connectorList, Hc = (e) => e.connectorLirary.connectors, fQ = (e) => e.connectorLirary.connectorsApiStatus, y4 = (e) => e.connectorLirary.currentUpdatingConnectors, cC = (e) => e.connectorLirary.connectorDetailApiStatus, BQ = (e) => e.connectorLirary.emailInboxDetails, hQ = (e) => e.connectorLirary.rolesAndPermissions, x4 = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, w4 = (e) => e.connectorLirary.cardCustomFields, T4 = (e) => e.connectorLirary.cardCustomFieldsApiStatus, S4 = T(pe)`
|
|
12859
12859
|
border-radius: 4px;
|
|
12860
12860
|
border: 1px solid ${le.palette.gray.gray5};
|
|
12861
12861
|
margin-bottom: 12px;
|
|
@@ -12974,7 +12974,7 @@ const IQ = (e) => e.connectorLirary.connectorList, Gc = (e) => e.connectorLirary
|
|
|
12974
12974
|
`, F4 = T(Nt.InfoOutlined)`
|
|
12975
12975
|
width: 16px;
|
|
12976
12976
|
color: ${le.palette.gray.gray3};
|
|
12977
|
-
`,
|
|
12977
|
+
`, tc = "success", No = "error", pQ = "info-dark", k4 = "Error in toggling connector state", M4 = "Connector disabled successfully", j4 = "data:image/svg+xml,%3csvg%20width='22'%20height='22'%20viewBox='0%200%2022%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_3354_177467'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='22'%20height='22'%3e%3crect%20width='22'%20height='22'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3354_177467)'%3e%3cpath%20d='M15.5827%2015.584C15.9646%2015.584%2016.2893%2015.4503%2016.5566%2015.1829C16.824%2014.9156%2016.9577%2014.5909%2016.9577%2014.209C16.9577%2013.827%2016.824%2013.5024%2016.5566%2013.235C16.2893%2012.9677%2015.9646%2012.834%2015.5827%2012.834C15.2007%2012.834%2014.8761%2012.9677%2014.6087%2013.235C14.3414%2013.5024%2014.2077%2013.827%2014.2077%2014.209C14.2077%2014.5909%2014.3414%2014.9156%2014.6087%2015.1829C14.8761%2015.4503%2015.2007%2015.584%2015.5827%2015.584ZM15.5827%2018.334C16.0563%2018.334%2016.4917%2018.2232%2016.8889%2018.0017C17.2862%2017.7802%2017.607%2017.4861%2017.8514%2017.1194C17.5153%2016.9208%2017.1563%2016.768%2016.7743%2016.6611C16.3924%2016.5541%2015.9952%2016.5007%2015.5827%2016.5007C15.1702%2016.5007%2014.773%2016.5541%2014.391%2016.6611C14.0091%2016.768%2013.65%2016.9208%2013.3139%2017.1194C13.5584%2017.4861%2013.8792%2017.7802%2014.2764%2018.0017C14.6737%2018.2232%2015.1091%2018.334%2015.5827%2018.334ZM10.9993%2020.1673C8.87574%2019.6326%207.12261%2018.4142%205.73997%2016.5121C4.35734%2014.61%203.66602%2012.4979%203.66602%2010.1757V4.58398L10.9993%201.83398L18.3327%204.58398V9.78607C18.0424%209.66385%2017.7445%209.55308%2017.4389%209.45378C17.1334%209.35447%2016.8202%209.2819%2016.4993%209.23607V5.86732L10.9993%203.80482L5.49935%205.86732V10.1757C5.49935%2010.8937%205.59484%2011.6118%205.78581%2012.3298C5.97678%2013.0479%206.24414%2013.7316%206.58789%2014.3809C6.93164%2015.0302%207.34796%2015.6298%207.83685%2016.1798C8.32574%2016.7298%208.8681%2017.1882%209.46393%2017.5548C9.63199%2018.0437%209.85352%2018.5097%2010.1285%2018.9527C10.4035%2019.3958%2010.7167%2019.793%2011.0681%2020.1444C11.0528%2020.1444%2011.0414%2020.1482%2011.0337%2020.1559C11.0261%2020.1635%2011.0146%2020.1673%2010.9993%2020.1673ZM15.5827%2020.1673C14.3146%2020.1673%2013.2337%2019.7204%2012.34%2018.8267C11.4462%2017.9329%2010.9993%2016.852%2010.9993%2015.584C10.9993%2014.3159%2011.4462%2013.235%2012.34%2012.3413C13.2337%2011.4475%2014.3146%2011.0007%2015.5827%2011.0007C16.8507%2011.0007%2017.9316%2011.4475%2018.8254%2012.3413C19.7191%2013.235%2020.166%2014.3159%2020.166%2015.584C20.166%2016.852%2019.7191%2017.9329%2018.8254%2018.8267C17.9316%2019.7204%2016.8507%2020.1673%2015.5827%2020.1673Z'%20fill='%233E4C5A'/%3e%3c/g%3e%3c/svg%3e", QQ = "data:image/svg+xml,%3csvg%20width='92'%20height='92'%20viewBox='0%200%2092%2092'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='46'%20cy='46'%20r='23'%20fill='%2336A40F'/%3e%3ccircle%20opacity='0.1'%20cx='45.5'%20cy='45.5'%20r='34.5'%20fill='%235AAA3D'/%3e%3ccircle%20opacity='0.1'%20cx='46'%20cy='46'%20r='46'%20fill='%232CAA00'/%3e%3cpath%20d='M37%2046L44%2053L58%2039'%20stroke='white'%20stroke-width='3'/%3e%3c/svg%3e", U4 = "Connector enabled", G4 = "Access and manage the information from the connector directly from Hiver’s right panel for seamless integration and easy reference.", V4 = "Got it", H4 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_825_73646)'%3e%3cpath%20d='M19%206.41L17.59%205L12%2010.59L6.41%205L5%206.41L10.59%2012L5%2017.59L6.41%2019L12%2013.41L17.59%2019L19%2017.59L13.41%2012L19%206.41Z'%20fill='%236F7C90'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_825_73646'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", uC = ({
|
|
12978
12978
|
shown: e,
|
|
12979
12979
|
setShown: t,
|
|
12980
12980
|
children: n,
|
|
@@ -13051,7 +13051,7 @@ const IQ = (e) => e.connectorLirary.connectorList, Gc = (e) => e.connectorLirary
|
|
|
13051
13051
|
fill: #ffffff;
|
|
13052
13052
|
width: 10px;
|
|
13053
13053
|
}
|
|
13054
|
-
`, e_ = (e, { closeToast: t }) => /* @__PURE__ */ u.jsx($4, { children: /* @__PURE__ */ u.jsx("img", { src: X4, onClick: t }) }),
|
|
13054
|
+
`, e_ = (e, { closeToast: t }) => /* @__PURE__ */ u.jsx($4, { children: /* @__PURE__ */ u.jsx("img", { src: X4, onClick: t }) }), Us = ({ message: e }) => /* @__PURE__ */ u.jsxs(K4, { children: [
|
|
13055
13055
|
/* @__PURE__ */ u.jsx(Z4, {}),
|
|
13056
13056
|
/* @__PURE__ */ u.jsx(q4, { children: e })
|
|
13057
13057
|
] });
|
|
@@ -13068,20 +13068,20 @@ function oA(e) {
|
|
|
13068
13068
|
};
|
|
13069
13069
|
let o;
|
|
13070
13070
|
switch (n) {
|
|
13071
|
-
case
|
|
13072
|
-
o = lt.success(/* @__PURE__ */ u.jsx(
|
|
13071
|
+
case tc: {
|
|
13072
|
+
o = lt.success(/* @__PURE__ */ u.jsx(Us, { message: t }), { ...A, icon: !1 });
|
|
13073
13073
|
break;
|
|
13074
13074
|
}
|
|
13075
13075
|
case No: {
|
|
13076
|
-
o = lt.error(/* @__PURE__ */ u.jsx(
|
|
13076
|
+
o = lt.error(/* @__PURE__ */ u.jsx(Us, { message: t }), { ...A, icon: !1 });
|
|
13077
13077
|
break;
|
|
13078
13078
|
}
|
|
13079
13079
|
case pQ: {
|
|
13080
|
-
o = lt.info(/* @__PURE__ */ u.jsx(
|
|
13080
|
+
o = lt.info(/* @__PURE__ */ u.jsx(Us, { message: t }), { ...A, icon: !1 });
|
|
13081
13081
|
break;
|
|
13082
13082
|
}
|
|
13083
13083
|
default: {
|
|
13084
|
-
o = lt.info(/* @__PURE__ */ u.jsx(
|
|
13084
|
+
o = lt.info(/* @__PURE__ */ u.jsx(Us, { message: t }), { ...A, icon: !1 });
|
|
13085
13085
|
break;
|
|
13086
13086
|
}
|
|
13087
13087
|
}
|
|
@@ -13186,7 +13186,7 @@ function d_() {
|
|
|
13186
13186
|
t
|
|
13187
13187
|
);
|
|
13188
13188
|
}
|
|
13189
|
-
const
|
|
13189
|
+
const Wc = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
|
|
13190
13190
|
function Hi(e) {
|
|
13191
13191
|
const t = Object.prototype.toString.call(e);
|
|
13192
13192
|
return t === "[object Window]" || // In Electron context the Window object serializes to [object global]
|
|
@@ -13214,7 +13214,7 @@ function mQ(e) {
|
|
|
13214
13214
|
function Wi(e) {
|
|
13215
13215
|
return e ? Hi(e) ? e.document : gC(e) ? dC(e) ? e : Bs(e) || mQ(e) ? e.ownerDocument : document : document : document;
|
|
13216
13216
|
}
|
|
13217
|
-
const uA =
|
|
13217
|
+
const uA = Wc ? Qc : ve;
|
|
13218
13218
|
function CC(e) {
|
|
13219
13219
|
const t = Me(e);
|
|
13220
13220
|
return uA(() => {
|
|
@@ -13251,7 +13251,7 @@ function hs(e, t) {
|
|
|
13251
13251
|
[...t]
|
|
13252
13252
|
);
|
|
13253
13253
|
}
|
|
13254
|
-
function
|
|
13254
|
+
function nc(e) {
|
|
13255
13255
|
const t = CC(e), n = Me(null), r = rt(
|
|
13256
13256
|
(A) => {
|
|
13257
13257
|
A !== n.current && (t == null || t(A, n.current)), n.current = A;
|
|
@@ -13292,7 +13292,7 @@ function vQ(e) {
|
|
|
13292
13292
|
});
|
|
13293
13293
|
};
|
|
13294
13294
|
}
|
|
13295
|
-
const gi = /* @__PURE__ */ vQ(1),
|
|
13295
|
+
const gi = /* @__PURE__ */ vQ(1), rc = /* @__PURE__ */ vQ(-1);
|
|
13296
13296
|
function E_(e) {
|
|
13297
13297
|
return "clientX" in e && "clientY" in e;
|
|
13298
13298
|
}
|
|
@@ -13559,13 +13559,13 @@ function x_(e) {
|
|
|
13559
13559
|
id: s,
|
|
13560
13560
|
announcement: i
|
|
13561
13561
|
}));
|
|
13562
|
-
return n ?
|
|
13562
|
+
return n ? bc(c, n) : c;
|
|
13563
13563
|
}
|
|
13564
13564
|
var dn;
|
|
13565
13565
|
(function(e) {
|
|
13566
13566
|
e.DragStart = "dragStart", e.DragMove = "dragMove", e.DragEnd = "dragEnd", e.DragCancel = "dragCancel", e.DragOver = "dragOver", e.RegisterDroppable = "registerDroppable", e.SetDroppableDisabled = "setDroppableDisabled", e.UnregisterDroppable = "unregisterDroppable";
|
|
13567
13567
|
})(dn || (dn = {}));
|
|
13568
|
-
function
|
|
13568
|
+
function Ac() {
|
|
13569
13569
|
}
|
|
13570
13570
|
function yQ(e, t) {
|
|
13571
13571
|
return Ne(
|
|
@@ -13829,7 +13829,7 @@ function SQ(e) {
|
|
|
13829
13829
|
return t ?? null;
|
|
13830
13830
|
}
|
|
13831
13831
|
function Fu(e) {
|
|
13832
|
-
return !
|
|
13832
|
+
return !Wc || !e ? null : Hi(e) ? e : gC(e) ? dC(e) || e === Wi(e).scrollingElement ? window : Bs(e) ? e : null : null;
|
|
13833
13833
|
}
|
|
13834
13834
|
function _Q(e) {
|
|
13835
13835
|
return Hi(e) ? e.scrollX : e.scrollLeft;
|
|
@@ -13848,7 +13848,7 @@ var pn;
|
|
|
13848
13848
|
e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
|
|
13849
13849
|
})(pn || (pn = {}));
|
|
13850
13850
|
function DQ(e) {
|
|
13851
|
-
return !
|
|
13851
|
+
return !Wc || !e ? !1 : e === document.scrollingElement;
|
|
13852
13852
|
}
|
|
13853
13853
|
function OQ(e) {
|
|
13854
13854
|
const t = {
|
|
@@ -14103,7 +14103,7 @@ class PQ {
|
|
|
14103
14103
|
currentCoordinates: c
|
|
14104
14104
|
});
|
|
14105
14105
|
if (g) {
|
|
14106
|
-
const E =
|
|
14106
|
+
const E = rc(g, c), p = {
|
|
14107
14107
|
x: 0,
|
|
14108
14108
|
y: 0
|
|
14109
14109
|
}, {
|
|
@@ -14151,7 +14151,7 @@ class PQ {
|
|
|
14151
14151
|
break;
|
|
14152
14152
|
}
|
|
14153
14153
|
}
|
|
14154
|
-
this.handleMove(t, gi(
|
|
14154
|
+
this.handleMove(t, gi(rc(g, this.referenceCoordinates), p));
|
|
14155
14155
|
}
|
|
14156
14156
|
}
|
|
14157
14157
|
}
|
|
@@ -14270,7 +14270,7 @@ class BC {
|
|
|
14270
14270
|
} = o;
|
|
14271
14271
|
if (!A)
|
|
14272
14272
|
return;
|
|
14273
|
-
const a = (n = qg(t)) != null ? n : kr, l =
|
|
14273
|
+
const a = (n = qg(t)) != null ? n : kr, l = rc(A, a);
|
|
14274
14274
|
if (!r && s) {
|
|
14275
14275
|
if (kI(s)) {
|
|
14276
14276
|
if (s.tolerance != null && ku(l, s.tolerance))
|
|
@@ -14313,7 +14313,7 @@ const Z_ = {
|
|
|
14313
14313
|
name: "pointerup"
|
|
14314
14314
|
}
|
|
14315
14315
|
};
|
|
14316
|
-
class
|
|
14316
|
+
class zc extends BC {
|
|
14317
14317
|
constructor(t) {
|
|
14318
14318
|
const {
|
|
14319
14319
|
event: n
|
|
@@ -14321,7 +14321,7 @@ class Hc extends BC {
|
|
|
14321
14321
|
super(t, Z_, r);
|
|
14322
14322
|
}
|
|
14323
14323
|
}
|
|
14324
|
-
|
|
14324
|
+
zc.activators = [{
|
|
14325
14325
|
eventName: "onPointerDown",
|
|
14326
14326
|
handler: (e, t) => {
|
|
14327
14327
|
let {
|
|
@@ -14410,10 +14410,10 @@ var Fa;
|
|
|
14410
14410
|
(function(e) {
|
|
14411
14411
|
e[e.Pointer = 0] = "Pointer", e[e.DraggableRect = 1] = "DraggableRect";
|
|
14412
14412
|
})(Fa || (Fa = {}));
|
|
14413
|
-
var
|
|
14413
|
+
var oc;
|
|
14414
14414
|
(function(e) {
|
|
14415
14415
|
e[e.TreeOrder = 0] = "TreeOrder", e[e.ReversedTreeOrder = 1] = "ReversedTreeOrder";
|
|
14416
|
-
})(
|
|
14416
|
+
})(oc || (oc = {}));
|
|
14417
14417
|
function nR(e) {
|
|
14418
14418
|
let {
|
|
14419
14419
|
acceleration: t,
|
|
@@ -14422,7 +14422,7 @@ function nR(e) {
|
|
|
14422
14422
|
draggingRect: A,
|
|
14423
14423
|
enabled: o,
|
|
14424
14424
|
interval: i = 5,
|
|
14425
|
-
order: s =
|
|
14425
|
+
order: s = oc.TreeOrder,
|
|
14426
14426
|
pointerCoordinates: a,
|
|
14427
14427
|
scrollableAncestors: l,
|
|
14428
14428
|
scrollableAncestorRects: c,
|
|
@@ -14456,7 +14456,7 @@ function nR(e) {
|
|
|
14456
14456
|
return;
|
|
14457
14457
|
const y = C.current.x * f.current.x, m = C.current.y * f.current.y;
|
|
14458
14458
|
b.scrollBy(y, m);
|
|
14459
|
-
}, []), v = Ne(() => s ===
|
|
14459
|
+
}, []), v = Ne(() => s === oc.TreeOrder ? [...l].reverse() : l, [s, l]);
|
|
14460
14460
|
ve(
|
|
14461
14461
|
() => {
|
|
14462
14462
|
if (!o || !l.length || !B) {
|
|
@@ -14661,7 +14661,7 @@ function lR(e) {
|
|
|
14661
14661
|
}, [r, n]);
|
|
14662
14662
|
return ve(() => () => A == null ? void 0 : A.disconnect(), [A]), A;
|
|
14663
14663
|
}
|
|
14664
|
-
function
|
|
14664
|
+
function Yc(e) {
|
|
14665
14665
|
let {
|
|
14666
14666
|
callback: t,
|
|
14667
14667
|
disabled: n
|
|
@@ -14712,7 +14712,7 @@ function UI(e, t, n) {
|
|
|
14712
14712
|
}
|
|
14713
14713
|
}
|
|
14714
14714
|
}
|
|
14715
|
-
}), s =
|
|
14715
|
+
}), s = Yc({
|
|
14716
14716
|
callback: o
|
|
14717
14717
|
});
|
|
14718
14718
|
return uA(() => {
|
|
@@ -14773,12 +14773,12 @@ function VI(e, t) {
|
|
|
14773
14773
|
), ve(() => {
|
|
14774
14774
|
const r = e !== kr;
|
|
14775
14775
|
r && !n.current && (n.current = e), !r && n.current && (n.current = null);
|
|
14776
|
-
}, [e]), n.current ?
|
|
14776
|
+
}, [e]), n.current ? rc(e, n.current) : kr;
|
|
14777
14777
|
}
|
|
14778
14778
|
function CR(e) {
|
|
14779
14779
|
ve(
|
|
14780
14780
|
() => {
|
|
14781
|
-
if (!
|
|
14781
|
+
if (!Wc)
|
|
14782
14782
|
return;
|
|
14783
14783
|
const t = e.map((n) => {
|
|
14784
14784
|
let {
|
|
@@ -14822,7 +14822,7 @@ function IR(e, t) {
|
|
|
14822
14822
|
function i() {
|
|
14823
14823
|
o(() => e.length ? e.map((a) => DQ(a) ? r : new fC(t(a), a)) : HI);
|
|
14824
14824
|
}
|
|
14825
|
-
const s =
|
|
14825
|
+
const s = Yc({
|
|
14826
14826
|
callback: i
|
|
14827
14827
|
});
|
|
14828
14828
|
return uA(() => {
|
|
@@ -14856,12 +14856,12 @@ function BR(e) {
|
|
|
14856
14856
|
});
|
|
14857
14857
|
break;
|
|
14858
14858
|
}
|
|
14859
|
-
}, [t]), o =
|
|
14859
|
+
}, [t]), o = Yc({
|
|
14860
14860
|
callback: A
|
|
14861
14861
|
}), i = rt((l) => {
|
|
14862
14862
|
const c = fR(l);
|
|
14863
14863
|
o == null || o.disconnect(), c && (o == null || o.observe(c)), r(c ? t(c) : null);
|
|
14864
|
-
}, [t, o]), [s, a] =
|
|
14864
|
+
}, [t, o]), [s, a] = nc(i);
|
|
14865
14865
|
return Ne(() => ({
|
|
14866
14866
|
nodeRef: s,
|
|
14867
14867
|
rect: n,
|
|
@@ -14869,14 +14869,14 @@ function BR(e) {
|
|
|
14869
14869
|
}), [n, s, a]);
|
|
14870
14870
|
}
|
|
14871
14871
|
const hR = [{
|
|
14872
|
-
sensor:
|
|
14872
|
+
sensor: zc,
|
|
14873
14873
|
options: {}
|
|
14874
14874
|
}, {
|
|
14875
14875
|
sensor: PQ,
|
|
14876
14876
|
options: {}
|
|
14877
14877
|
}], pR = {
|
|
14878
14878
|
current: {}
|
|
14879
|
-
},
|
|
14879
|
+
}, hl = {
|
|
14880
14880
|
draggable: {
|
|
14881
14881
|
measure: PI
|
|
14882
14882
|
},
|
|
@@ -14926,12 +14926,12 @@ const QR = {
|
|
|
14926
14926
|
current: null
|
|
14927
14927
|
},
|
|
14928
14928
|
rect: null,
|
|
14929
|
-
setRef:
|
|
14929
|
+
setRef: Ac
|
|
14930
14930
|
},
|
|
14931
14931
|
scrollableAncestors: [],
|
|
14932
14932
|
scrollableAncestorRects: [],
|
|
14933
|
-
measuringConfiguration:
|
|
14934
|
-
measureDroppableContainers:
|
|
14933
|
+
measuringConfiguration: hl,
|
|
14934
|
+
measureDroppableContainers: Ac,
|
|
14935
14935
|
windowRect: null,
|
|
14936
14936
|
measuringScheduled: !1
|
|
14937
14937
|
}, mR = {
|
|
@@ -14942,11 +14942,11 @@ const QR = {
|
|
|
14942
14942
|
ariaDescribedById: {
|
|
14943
14943
|
draggable: ""
|
|
14944
14944
|
},
|
|
14945
|
-
dispatch:
|
|
14945
|
+
dispatch: Ac,
|
|
14946
14946
|
draggableNodes: /* @__PURE__ */ new Map(),
|
|
14947
14947
|
over: null,
|
|
14948
|
-
measureDroppableContainers:
|
|
14949
|
-
},
|
|
14948
|
+
measureDroppableContainers: Ac
|
|
14949
|
+
}, Jc = /* @__PURE__ */ _A(mR), MQ = /* @__PURE__ */ _A(QR);
|
|
14950
14950
|
function vR() {
|
|
14951
14951
|
return {
|
|
14952
14952
|
draggable: {
|
|
@@ -15067,7 +15067,7 @@ function yR(e) {
|
|
|
15067
15067
|
active: n,
|
|
15068
15068
|
activatorEvent: r,
|
|
15069
15069
|
draggableNodes: A
|
|
15070
|
-
} = ze(
|
|
15070
|
+
} = ze(Jc), o = Kg(r), i = Kg(n == null ? void 0 : n.id);
|
|
15071
15071
|
return ve(() => {
|
|
15072
15072
|
if (!t && !r && o && i != null) {
|
|
15073
15073
|
if (!EC(o) || document.activeElement === o.target)
|
|
@@ -15109,15 +15109,15 @@ function wR(e) {
|
|
|
15109
15109
|
return Ne(
|
|
15110
15110
|
() => ({
|
|
15111
15111
|
draggable: {
|
|
15112
|
-
...
|
|
15112
|
+
...hl.draggable,
|
|
15113
15113
|
...e == null ? void 0 : e.draggable
|
|
15114
15114
|
},
|
|
15115
15115
|
droppable: {
|
|
15116
|
-
...
|
|
15116
|
+
...hl.droppable,
|
|
15117
15117
|
...e == null ? void 0 : e.droppable
|
|
15118
15118
|
},
|
|
15119
15119
|
dragOverlay: {
|
|
15120
|
-
...
|
|
15120
|
+
...hl.dragOverlay,
|
|
15121
15121
|
...e == null ? void 0 : e.dragOverlay
|
|
15122
15122
|
}
|
|
15123
15123
|
}),
|
|
@@ -15291,7 +15291,7 @@ const UQ = /* @__PURE__ */ J1(function(t) {
|
|
|
15291
15291
|
rect: U
|
|
15292
15292
|
}
|
|
15293
15293
|
};
|
|
15294
|
-
|
|
15294
|
+
Ds(() => {
|
|
15295
15295
|
sr == null || sr(On), v(UA.Initializing), f({
|
|
15296
15296
|
type: dn.DragStart,
|
|
15297
15297
|
initialCoordinates: An,
|
|
@@ -15333,7 +15333,7 @@ const UQ = /* @__PURE__ */ J1(function(t) {
|
|
|
15333
15333
|
over: On
|
|
15334
15334
|
}, An === dn.DragEnd && typeof X == "function" && await Promise.resolve(X(F)) && (An = dn.DragCancel);
|
|
15335
15335
|
}
|
|
15336
|
-
k.current = null,
|
|
15336
|
+
k.current = null, Ds(() => {
|
|
15337
15337
|
f({
|
|
15338
15338
|
type: An
|
|
15339
15339
|
}), v(UA.Uninitialized), IA(null), Ee(null), Te(null), Dn.current = null;
|
|
@@ -15391,7 +15391,7 @@ const UQ = /* @__PURE__ */ J1(function(t) {
|
|
|
15391
15391
|
},
|
|
15392
15392
|
over: en
|
|
15393
15393
|
};
|
|
15394
|
-
|
|
15394
|
+
Ds(() => {
|
|
15395
15395
|
Rt == null || Rt(rn), B({
|
|
15396
15396
|
type: "onDragMove",
|
|
15397
15397
|
event: rn
|
|
@@ -15428,7 +15428,7 @@ const UQ = /* @__PURE__ */ J1(function(t) {
|
|
|
15428
15428
|
},
|
|
15429
15429
|
over: zn
|
|
15430
15430
|
};
|
|
15431
|
-
|
|
15431
|
+
Ds(() => {
|
|
15432
15432
|
IA(zn), rn == null || rn(An), B({
|
|
15433
15433
|
type: "onDragOver",
|
|
15434
15434
|
event: An
|
|
@@ -15497,7 +15497,7 @@ const UQ = /* @__PURE__ */ J1(function(t) {
|
|
|
15497
15497
|
}), [xe, xr, Y, se, f, G, m, jt, N]);
|
|
15498
15498
|
return Ce.createElement(bQ.Provider, {
|
|
15499
15499
|
value: h
|
|
15500
|
-
}, Ce.createElement(
|
|
15500
|
+
}, Ce.createElement(Jc.Provider, {
|
|
15501
15501
|
value: Ut
|
|
15502
15502
|
}, Ce.createElement(MQ.Provider, {
|
|
15503
15503
|
value: Br
|
|
@@ -15534,11 +15534,11 @@ function RR(e) {
|
|
|
15534
15534
|
ariaDescribedById: c,
|
|
15535
15535
|
draggableNodes: g,
|
|
15536
15536
|
over: E
|
|
15537
|
-
} = ze(
|
|
15537
|
+
} = ze(Jc), {
|
|
15538
15538
|
role: p = WI,
|
|
15539
15539
|
roleDescription: I = "draggable",
|
|
15540
15540
|
tabIndex: d = 0
|
|
15541
|
-
} = A ?? {}, C = (a == null ? void 0 : a.id) === t, f = ze(C ? jQ : SR), [B, h] =
|
|
15541
|
+
} = A ?? {}, C = (a == null ? void 0 : a.id) === t, f = ze(C ? jQ : SR), [B, h] = nc(), [Q, v] = nc(), b = ER(i, t), y = $a(n);
|
|
15542
15542
|
uA(
|
|
15543
15543
|
() => (g.set(t, {
|
|
15544
15544
|
id: t,
|
|
@@ -15593,7 +15593,7 @@ function NR(e) {
|
|
|
15593
15593
|
dispatch: s,
|
|
15594
15594
|
over: a,
|
|
15595
15595
|
measureDroppableContainers: l
|
|
15596
|
-
} = ze(
|
|
15596
|
+
} = ze(Jc), c = Me({
|
|
15597
15597
|
disabled: n
|
|
15598
15598
|
}), g = Me(!1), E = Me(null), p = Me(null), {
|
|
15599
15599
|
disabled: I,
|
|
@@ -15614,12 +15614,12 @@ function NR(e) {
|
|
|
15614
15614
|
},
|
|
15615
15615
|
//eslint-disable-next-line react-hooks/exhaustive-deps
|
|
15616
15616
|
[C]
|
|
15617
|
-
), h =
|
|
15617
|
+
), h = Yc({
|
|
15618
15618
|
callback: B,
|
|
15619
15619
|
disabled: I || !i
|
|
15620
15620
|
}), Q = rt((m, x) => {
|
|
15621
15621
|
h && (x && (h.unobserve(x), g.current = !1), m && h.observe(m));
|
|
15622
|
-
}, [h]), [v, b] =
|
|
15622
|
+
}, [h]), [v, b] = nc(Q), y = $a(t);
|
|
15623
15623
|
return ve(() => {
|
|
15624
15624
|
!h || !v.current || (h.disconnect(), g.current = !1, h.observe(v.current));
|
|
15625
15625
|
}, [v, h]), ve(
|
|
@@ -15656,7 +15656,7 @@ function NR(e) {
|
|
|
15656
15656
|
setNodeRef: b
|
|
15657
15657
|
};
|
|
15658
15658
|
}
|
|
15659
|
-
function
|
|
15659
|
+
function Xc(e, t, n) {
|
|
15660
15660
|
const r = e.slice();
|
|
15661
15661
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
|
|
15662
15662
|
}
|
|
@@ -15666,7 +15666,7 @@ function PR(e, t) {
|
|
|
15666
15666
|
return o && (n[A] = o), n;
|
|
15667
15667
|
}, Array(e.length));
|
|
15668
15668
|
}
|
|
15669
|
-
function
|
|
15669
|
+
function Gs(e) {
|
|
15670
15670
|
return e !== null && e >= 0;
|
|
15671
15671
|
}
|
|
15672
15672
|
function FR(e, t) {
|
|
@@ -15692,14 +15692,14 @@ const GQ = (e) => {
|
|
|
15692
15692
|
overIndex: r,
|
|
15693
15693
|
index: A
|
|
15694
15694
|
} = e;
|
|
15695
|
-
const o =
|
|
15695
|
+
const o = Xc(t, r, n), i = t[A], s = o[A];
|
|
15696
15696
|
return !s || !i ? null : {
|
|
15697
15697
|
x: s.left - i.left,
|
|
15698
15698
|
y: s.top - i.top,
|
|
15699
15699
|
scaleX: s.width / i.width,
|
|
15700
15700
|
scaleY: s.height / i.height
|
|
15701
15701
|
};
|
|
15702
|
-
},
|
|
15702
|
+
}, Vs = {
|
|
15703
15703
|
scaleX: 1,
|
|
15704
15704
|
scaleY: 1
|
|
15705
15705
|
}, VQ = (e) => {
|
|
@@ -15719,22 +15719,22 @@ const GQ = (e) => {
|
|
|
15719
15719
|
return l ? {
|
|
15720
15720
|
x: 0,
|
|
15721
15721
|
y: n < i ? l.top + l.height - (s.top + s.height) : l.top - s.top,
|
|
15722
|
-
...
|
|
15722
|
+
...Vs
|
|
15723
15723
|
} : null;
|
|
15724
15724
|
}
|
|
15725
15725
|
const a = MR(o, A, n);
|
|
15726
15726
|
return A > n && A <= i ? {
|
|
15727
15727
|
x: 0,
|
|
15728
15728
|
y: -s.height - a,
|
|
15729
|
-
...
|
|
15729
|
+
...Vs
|
|
15730
15730
|
} : A < n && A >= i ? {
|
|
15731
15731
|
x: 0,
|
|
15732
15732
|
y: s.height + a,
|
|
15733
|
-
...
|
|
15733
|
+
...Vs
|
|
15734
15734
|
} : {
|
|
15735
15735
|
x: 0,
|
|
15736
15736
|
y: 0,
|
|
15737
|
-
...
|
|
15737
|
+
...Vs
|
|
15738
15738
|
};
|
|
15739
15739
|
};
|
|
15740
15740
|
function MR(e, t, n) {
|
|
@@ -15801,7 +15801,7 @@ const jR = (e) => {
|
|
|
15801
15801
|
activeIndex: r,
|
|
15802
15802
|
overIndex: A
|
|
15803
15803
|
} = e;
|
|
15804
|
-
return
|
|
15804
|
+
return Xc(n, r, A).indexOf(t);
|
|
15805
15805
|
}, UR = (e) => {
|
|
15806
15806
|
let {
|
|
15807
15807
|
containerId: t,
|
|
@@ -15914,13 +15914,13 @@ function JQ(e) {
|
|
|
15914
15914
|
...n
|
|
15915
15915
|
},
|
|
15916
15916
|
disabled: h.draggable
|
|
15917
|
-
}), M = d_(j, ie), _ = !!P, R = _ && !I &&
|
|
15917
|
+
}), M = d_(j, ie), _ = !!P, R = _ && !I && Gs(E) && Gs(C), N = !f && xe, J = N && R ? G : null, te = R ? J ?? (s ?? B)({
|
|
15918
15918
|
rects: d,
|
|
15919
15919
|
activeNodeRect: Y,
|
|
15920
15920
|
activeIndex: E,
|
|
15921
15921
|
overIndex: C,
|
|
15922
15922
|
index: Q
|
|
15923
|
-
}) : null, ge =
|
|
15923
|
+
}) : null, ge = Gs(E) && Gs(C) ? o({
|
|
15924
15924
|
id: i,
|
|
15925
15925
|
items: c,
|
|
15926
15926
|
activeIndex: E,
|
|
@@ -16152,11 +16152,11 @@ const YR = T(H)`
|
|
|
16152
16152
|
};
|
|
16153
16153
|
localStorage.setItem(Cs, JSON.stringify(A));
|
|
16154
16154
|
}, rD = ({ fields: e, setFields: t, cardId: n }) => {
|
|
16155
|
-
const r = xQ(yQ(
|
|
16155
|
+
const r = xQ(yQ(zc)), { userId: A } = RA() || {}, o = dt(T4), i = (l) => {
|
|
16156
16156
|
const { active: c, over: g } = l;
|
|
16157
16157
|
(c == null ? void 0 : c.id) !== (g == null ? void 0 : g.id) && t((E) => {
|
|
16158
16158
|
const p = E.findIndex((d) => d.key === (c == null ? void 0 : c.id)), I = E.findIndex((d) => d.key === (g == null ? void 0 : g.id));
|
|
16159
|
-
return
|
|
16159
|
+
return Xc(E, p, I);
|
|
16160
16160
|
});
|
|
16161
16161
|
}, s = !!(A && hC(n, A)), a = (l) => {
|
|
16162
16162
|
t((c) => c.map((g) => g.key === l ? { ...g, enabled: !g.enabled } : g));
|
|
@@ -16343,7 +16343,7 @@ const YR = T(H)`
|
|
|
16343
16343
|
fields: s,
|
|
16344
16344
|
setVisitedFieldVisTab: a
|
|
16345
16345
|
}) => {
|
|
16346
|
-
const { availableFeatures: l, sendTrackingEvent: c } = ze(In), g = so(), E = dt(
|
|
16346
|
+
const { availableFeatures: l, sendTrackingEvent: c } = ze(In), g = so(), E = dt(Hc), p = dt(hQ) ?? [], I = dt(BQ) ?? [], d = dt(w4), C = dt(x4), { userId: f } = RA() || {}, [B, h] = de(
|
|
16347
16347
|
() => (I == null ? void 0 : I.filter((R) => n == null ? void 0 : n.includes(R.id))) ?? []
|
|
16348
16348
|
), [Q, v] = de(
|
|
16349
16349
|
() => (p == null ? void 0 : p.find((R) => A == null ? void 0 : A.includes(R.name))) ?? {}
|
|
@@ -16354,7 +16354,7 @@ const YR = T(H)`
|
|
|
16354
16354
|
}
|
|
16355
16355
|
), [m, x] = de(uo.CARD_VISIBILITY.ID);
|
|
16356
16356
|
ve(() => {
|
|
16357
|
-
g(
|
|
16357
|
+
g(ul(t));
|
|
16358
16358
|
}, [g, t]), ve(() => {
|
|
16359
16359
|
d[t] && y((R) => zI(R, d[t] || []));
|
|
16360
16360
|
}, [d, t]);
|
|
@@ -16373,7 +16373,7 @@ const YR = T(H)`
|
|
|
16373
16373
|
R.stopPropagation();
|
|
16374
16374
|
const N = Q != null && Q.name ? [Q.name] : [], J = B.map((te) => te.id), K = b.map((te, ge) => ({ ...te, priority: ge + 1 }));
|
|
16375
16375
|
g(
|
|
16376
|
-
|
|
16376
|
+
sl({
|
|
16377
16377
|
cardId: t,
|
|
16378
16378
|
data: { roles: N, inboxes: { email: J, chat: [] }, fields: K },
|
|
16379
16379
|
currentConnector: o
|
|
@@ -16395,7 +16395,7 @@ const YR = T(H)`
|
|
|
16395
16395
|
card_title: i
|
|
16396
16396
|
}), !ge && (Q != null && Q.name) && J.length ? r(!0) : te && oA({
|
|
16397
16397
|
message: q3.replace(K3, te),
|
|
16398
|
-
type:
|
|
16398
|
+
type: tc
|
|
16399
16399
|
});
|
|
16400
16400
|
}).catch(() => {
|
|
16401
16401
|
oA({ message: Z3, type: No });
|
|
@@ -16576,7 +16576,7 @@ const dD = T(H)`
|
|
|
16576
16576
|
isConnectorCard: r = !1
|
|
16577
16577
|
}) => {
|
|
16578
16578
|
const { sendTrackingEvent: A } = ze(In), { id: o, name: i, logo: s, description: a, isAuthenticated: l, showUpgradeButton: c = !1, updates: g } = e, E = dt(y4), p = dt(fQ), I = dt(cC), [d, C] = de(!1), f = so(), B = mn(), h = (k, ie) => {
|
|
16579
|
-
k == null || k.stopPropagation(), f(
|
|
16579
|
+
k == null || k.stopPropagation(), f(il({ id: ie, enabled: k.target.checked })).unwrap().then(() => {
|
|
16580
16580
|
k.target.checked ? A(vt.TOGGLE_ENABLED, { connector_name: i }) : (A(vt.TOGGLE_DISABLED, { connector_name: i }), oA({
|
|
16581
16581
|
message: M4,
|
|
16582
16582
|
type: pQ
|
|
@@ -16679,7 +16679,7 @@ const dD = T(H)`
|
|
|
16679
16679
|
) : null
|
|
16680
16680
|
] });
|
|
16681
16681
|
}, QD = () => {
|
|
16682
|
-
const e = dt(IQ), t = dt(
|
|
16682
|
+
const e = dt(IQ), t = dt(Hc);
|
|
16683
16683
|
return /* @__PURE__ */ u.jsx(EQ, { children: /* @__PURE__ */ u.jsx(pe, { "data-testid": "connector-custom-card", children: e.map((n) => {
|
|
16684
16684
|
var r;
|
|
16685
16685
|
return (r = t == null ? void 0 : t[n]) != null && r.id ? /* @__PURE__ */ u.jsx(
|
|
@@ -16782,7 +16782,7 @@ const dD = T(H)`
|
|
|
16782
16782
|
}) => {
|
|
16783
16783
|
const { sendTrackingEvent: A } = ze(In), o = so(), i = dt(mD), s = dt(vD), a = dt($Q), [l, c] = de(""), [g, E] = de([]), [p, I] = de([]), [d, C] = de(!1), [f, B] = de(!1), h = () => {
|
|
16784
16784
|
const y = r ? TI.API : TI.CONNECTOR, m = p.map((x) => x.id);
|
|
16785
|
-
o(
|
|
16785
|
+
o(Cl({ type: y, values: m, description: l })).unwrap().then(() => {
|
|
16786
16786
|
A(
|
|
16787
16787
|
r ? vt.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : vt.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
|
|
16788
16788
|
), B(!0);
|
|
@@ -16961,9 +16961,9 @@ const dD = T(H)`
|
|
|
16961
16961
|
}, YI = () => {
|
|
16962
16962
|
const e = so(), { connectorFunctions: t } = ze(In), [n, r] = de(!1), [A, o] = de(!1), i = dt(IQ), s = dt(xp), a = dt(fQ), l = !!i.length, c = !!s.length, { sendTrackingEvent: g } = ze(In), E = a === Le.LOADING;
|
|
16963
16963
|
ve(() => {
|
|
16964
|
-
t && (e(
|
|
16964
|
+
t && (e(al(t.getInboxDetails)), e(ll(t.getRoles)));
|
|
16965
16965
|
}, [t, e]), ve(() => {
|
|
16966
|
-
e(
|
|
16966
|
+
e(cl()), e(dl());
|
|
16967
16967
|
}, [e]);
|
|
16968
16968
|
const p = (d, C = !1) => {
|
|
16969
16969
|
r(d), o(!1), C && g(vt.REQUEST_NEW_CLICKED);
|
|
@@ -17145,7 +17145,7 @@ const dD = T(H)`
|
|
|
17145
17145
|
)) })
|
|
17146
17146
|
] }) });
|
|
17147
17147
|
};
|
|
17148
|
-
var nd = { exports: {} },
|
|
17148
|
+
var nd = { exports: {} }, Hs = { exports: {} }, bt = {};
|
|
17149
17149
|
/** @license React v16.13.1
|
|
17150
17150
|
* react-is.production.min.js
|
|
17151
17151
|
*
|
|
@@ -17314,7 +17314,7 @@ function BO() {
|
|
|
17314
17314
|
}
|
|
17315
17315
|
var qI;
|
|
17316
17316
|
function em() {
|
|
17317
|
-
return qI || (qI = 1, process.env.NODE_ENV === "production" ?
|
|
17317
|
+
return qI || (qI = 1, process.env.NODE_ENV === "production" ? Hs.exports = fO() : Hs.exports = BO()), Hs.exports;
|
|
17318
17318
|
}
|
|
17319
17319
|
/*
|
|
17320
17320
|
object-assign
|
|
@@ -17802,7 +17802,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
17802
17802
|
} else
|
|
17803
17803
|
nd.exports = mO()();
|
|
17804
17804
|
var Xi = nd.exports;
|
|
17805
|
-
const Se = /* @__PURE__ */
|
|
17805
|
+
const Se = /* @__PURE__ */ yc(Xi);
|
|
17806
17806
|
var yr = {}, nm = {};
|
|
17807
17807
|
function yO(e) {
|
|
17808
17808
|
for (var t = 5381, n = e.length; n; )
|
|
@@ -17810,12 +17810,12 @@ function yO(e) {
|
|
|
17810
17810
|
return t >>> 0;
|
|
17811
17811
|
}
|
|
17812
17812
|
var rm = yO;
|
|
17813
|
-
const xO = /* @__PURE__ */
|
|
17813
|
+
const xO = /* @__PURE__ */ yc(rm);
|
|
17814
17814
|
var wO = vC;
|
|
17815
17815
|
function vC(e) {
|
|
17816
|
-
Jr.length ||
|
|
17816
|
+
Jr.length || ic(), Jr[Jr.length] = e;
|
|
17817
17817
|
}
|
|
17818
|
-
var Jr = [],
|
|
17818
|
+
var Jr = [], ic, Yr = 0, TO = 1024;
|
|
17819
17819
|
function Af() {
|
|
17820
17820
|
for (; Yr < Jr.length; ) {
|
|
17821
17821
|
var e = Yr;
|
|
@@ -17828,8 +17828,8 @@ function Af() {
|
|
|
17828
17828
|
Jr.length = 0, Yr = 0;
|
|
17829
17829
|
}
|
|
17830
17830
|
var of = typeof Ke < "u" ? Ke : self, Am = of.MutationObserver || of.WebKitMutationObserver;
|
|
17831
|
-
typeof Am == "function" ?
|
|
17832
|
-
vC.requestFlush =
|
|
17831
|
+
typeof Am == "function" ? ic = SO(Af) : ic = om(Af);
|
|
17832
|
+
vC.requestFlush = ic;
|
|
17833
17833
|
function SO(e) {
|
|
17834
17834
|
var t = 1, n = new Am(e), r = document.createTextNode("");
|
|
17835
17835
|
return n.observe(r, { characterData: !0 }), function() {
|
|
@@ -17845,7 +17845,7 @@ function om(e) {
|
|
|
17845
17845
|
};
|
|
17846
17846
|
}
|
|
17847
17847
|
vC.makeRequestCallFromTimer = om;
|
|
17848
|
-
var im = wO,
|
|
17848
|
+
var im = wO, ac = [], rd = [], _O = im.makeRequestCallFromTimer(RO);
|
|
17849
17849
|
function RO() {
|
|
17850
17850
|
if (rd.length)
|
|
17851
17851
|
throw rd.shift();
|
|
@@ -17853,7 +17853,7 @@ function RO() {
|
|
|
17853
17853
|
var am = Ad;
|
|
17854
17854
|
function Ad(e) {
|
|
17855
17855
|
var t;
|
|
17856
|
-
|
|
17856
|
+
ac.length ? t = ac.pop() : t = new sm(), t.task = e, im(t);
|
|
17857
17857
|
}
|
|
17858
17858
|
function sm() {
|
|
17859
17859
|
this.task = null;
|
|
@@ -17864,10 +17864,10 @@ sm.prototype.call = function() {
|
|
|
17864
17864
|
} catch (e) {
|
|
17865
17865
|
Ad.onerror ? Ad.onerror(e) : (rd.push(e), _O());
|
|
17866
17866
|
} finally {
|
|
17867
|
-
this.task = null,
|
|
17867
|
+
this.task = null, ac[ac.length] = this;
|
|
17868
17868
|
}
|
|
17869
17869
|
};
|
|
17870
|
-
const DO = /* @__PURE__ */
|
|
17870
|
+
const DO = /* @__PURE__ */ yc(am);
|
|
17871
17871
|
(function(e) {
|
|
17872
17872
|
function t($) {
|
|
17873
17873
|
return $ && typeof $ == "object" && "default" in $ ? $.default : $;
|
|
@@ -19015,7 +19015,7 @@ var ln = yr, od = { exports: {} }, id = { exports: {} }, lm = { exports: {} };
|
|
|
19015
19015
|
}
|
|
19016
19016
|
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
19017
19017
|
})(lm);
|
|
19018
|
-
var WO = lm.exports,
|
|
19018
|
+
var WO = lm.exports, Ws = { exports: {} }, af;
|
|
19019
19019
|
function zO() {
|
|
19020
19020
|
return af || (af = 1, function(e, t) {
|
|
19021
19021
|
t.__esModule = !0, t.default = n;
|
|
@@ -19023,7 +19023,7 @@ function zO() {
|
|
|
19023
19023
|
return r.classList ? !!A && r.classList.contains(A) : (" " + (r.className.baseVal || r.className) + " ").indexOf(" " + A + " ") !== -1;
|
|
19024
19024
|
}
|
|
19025
19025
|
e.exports = t.default;
|
|
19026
|
-
}(
|
|
19026
|
+
}(Ws, Ws.exports)), Ws.exports;
|
|
19027
19027
|
}
|
|
19028
19028
|
(function(e, t) {
|
|
19029
19029
|
var n = WO;
|
|
@@ -19954,8 +19954,8 @@ var Im = ld.exports;
|
|
|
19954
19954
|
var c = l;
|
|
19955
19955
|
t.default = c, e.exports = t.default;
|
|
19956
19956
|
})(sd, sd.exports);
|
|
19957
|
-
var cL = sd.exports, uL =
|
|
19958
|
-
function
|
|
19957
|
+
var cL = sd.exports, uL = Kc(aL), gL = Kc(cL), dL = Kc(Im), CL = Kc(Vn);
|
|
19958
|
+
function Kc(e) {
|
|
19959
19959
|
return e && e.__esModule ? e : { default: e };
|
|
19960
19960
|
}
|
|
19961
19961
|
var lf = {
|
|
@@ -20013,7 +20013,7 @@ var pL = /([A-Z])/g, QL = function(t) {
|
|
|
20013
20013
|
}, mL = function(t) {
|
|
20014
20014
|
var n = t.replace(pL, QL);
|
|
20015
20015
|
return n[0] === "m" && n[1] === "s" && n[2] === "-" ? "-".concat(n) : n;
|
|
20016
|
-
},
|
|
20016
|
+
}, pl = {
|
|
20017
20017
|
animationIterationCount: !0,
|
|
20018
20018
|
borderImageOutset: !0,
|
|
20019
20019
|
borderImageSlice: !0,
|
|
@@ -20054,13 +20054,13 @@ function vL(e, t) {
|
|
|
20054
20054
|
return e + t.charAt(0).toUpperCase() + t.substring(1);
|
|
20055
20055
|
}
|
|
20056
20056
|
var bL = ["Webkit", "ms", "Moz", "O"];
|
|
20057
|
-
Object.keys(
|
|
20057
|
+
Object.keys(pl).forEach(function(e) {
|
|
20058
20058
|
bL.forEach(function(t) {
|
|
20059
|
-
|
|
20059
|
+
pl[vL(t, e)] = pl[e];
|
|
20060
20060
|
});
|
|
20061
20061
|
});
|
|
20062
20062
|
var Bm = function(t, n) {
|
|
20063
|
-
return typeof n == "number" ?
|
|
20063
|
+
return typeof n == "number" ? pl[t] ? "" + n : n + "px" : "" + n;
|
|
20064
20064
|
}, yL = function(t, n) {
|
|
20065
20065
|
return (
|
|
20066
20066
|
/* : string */
|
|
@@ -20669,7 +20669,7 @@ var u5 = Yt(function(e, t) {
|
|
|
20669
20669
|
return c.indexOf("Moz") > -1 ? C : (E["Webkit" + (0, A.default)(c)] = d, E["Moz" + (0, A.default)(c)] = C, I);
|
|
20670
20670
|
}
|
|
20671
20671
|
}
|
|
20672
|
-
}), g5 = zt(u5), Fe = ["Webkit"], Xu = ["Moz"],
|
|
20672
|
+
}), g5 = zt(u5), Fe = ["Webkit"], Xu = ["Moz"], zs = ["ms"], Nn = ["Webkit", "Moz"], Bn = ["Webkit", "ms"], Ea = ["Webkit", "Moz", "ms"], d5 = {
|
|
20673
20673
|
plugins: [DL, LL, PL, kL, jL, GL, HL, zL, JL, KL, ZL, e5, n5, A5, g5],
|
|
20674
20674
|
prefixMap: {
|
|
20675
20675
|
transform: Bn,
|
|
@@ -20769,10 +20769,10 @@ var u5 = Yt(function(e, t) {
|
|
|
20769
20769
|
boxSizing: Xu,
|
|
20770
20770
|
textAlignLast: Xu,
|
|
20771
20771
|
tabSize: Xu,
|
|
20772
|
-
wrapFlow:
|
|
20773
|
-
wrapThrough:
|
|
20774
|
-
wrapMargin:
|
|
20775
|
-
touchAction:
|
|
20772
|
+
wrapFlow: zs,
|
|
20773
|
+
wrapThrough: zs,
|
|
20774
|
+
wrapMargin: zs,
|
|
20775
|
+
touchAction: zs,
|
|
20776
20776
|
textSizeAdjust: Bn,
|
|
20777
20777
|
borderImage: Fe,
|
|
20778
20778
|
borderImageOutset: Fe,
|
|
@@ -20932,7 +20932,7 @@ var u5 = Yt(function(e, t) {
|
|
|
20932
20932
|
var i = ud(n, r, o, gd, A);
|
|
20933
20933
|
bm(t, i);
|
|
20934
20934
|
}
|
|
20935
|
-
},
|
|
20935
|
+
}, sc = function() {
|
|
20936
20936
|
ts = [], Go = {}, Li = !1, Qr = null;
|
|
20937
20937
|
}, h5 = function(t) {
|
|
20938
20938
|
delete Go[t];
|
|
@@ -20997,7 +20997,7 @@ var u5 = Yt(function(e, t) {
|
|
|
20997
20997
|
}
|
|
20998
20998
|
}, T5 = typeof window < "u" ? null : {
|
|
20999
20999
|
renderStatic: function(t) {
|
|
21000
|
-
|
|
21000
|
+
sc(), xm();
|
|
21001
21001
|
var n = t(), r = Q5();
|
|
21002
21002
|
return {
|
|
21003
21003
|
html: n,
|
|
@@ -21020,13 +21020,13 @@ var u5 = Yt(function(e, t) {
|
|
|
21020
21020
|
* clearBufferAndResumeStyleInjection.
|
|
21021
21021
|
*/
|
|
21022
21022
|
suppressStyleInjection: function() {
|
|
21023
|
-
|
|
21023
|
+
sc(), xm();
|
|
21024
21024
|
},
|
|
21025
21025
|
/**
|
|
21026
21026
|
* Opposite method of preventStyleInject.
|
|
21027
21027
|
*/
|
|
21028
21028
|
clearBufferAndResumeStyleInjection: function() {
|
|
21029
|
-
|
|
21029
|
+
sc();
|
|
21030
21030
|
},
|
|
21031
21031
|
/**
|
|
21032
21032
|
* Returns a string of buffered styles which have not been flushed
|
|
@@ -21079,14 +21079,14 @@ function Rm(e) {
|
|
|
21079
21079
|
flushToStyleTag: Tm,
|
|
21080
21080
|
injectAndGetClassName: df,
|
|
21081
21081
|
defaultSelectorHandlers: uf,
|
|
21082
|
-
reset:
|
|
21082
|
+
reset: sc,
|
|
21083
21083
|
resetInjectedStyle: h5
|
|
21084
21084
|
};
|
|
21085
21085
|
}
|
|
21086
21086
|
var _5 = !0, EA = Rm(_5), R5 = EA.StyleSheet;
|
|
21087
21087
|
EA.StyleSheetServer;
|
|
21088
21088
|
EA.StyleSheetTestUtils;
|
|
21089
|
-
var
|
|
21089
|
+
var Ys = EA.css;
|
|
21090
21090
|
EA.minify;
|
|
21091
21091
|
EA.flushToStyleTag;
|
|
21092
21092
|
EA.injectAndGetClassName;
|
|
@@ -21396,7 +21396,7 @@ xC.default = (0, iN.default)(Fm);
|
|
|
21396
21396
|
return r && r.__esModule ? r : { default: r };
|
|
21397
21397
|
}
|
|
21398
21398
|
})(Dm);
|
|
21399
|
-
const uN = /* @__PURE__ */
|
|
21399
|
+
const uN = /* @__PURE__ */ yc(Dm);
|
|
21400
21400
|
var At = {};
|
|
21401
21401
|
At.container = {
|
|
21402
21402
|
background: "rgba(0, 0, 0, .8)",
|
|
@@ -21473,7 +21473,7 @@ var gN = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? fun
|
|
|
21473
21473
|
configurable: !0
|
|
21474
21474
|
}
|
|
21475
21475
|
}), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
21476
|
-
},
|
|
21476
|
+
}, qc = function(e, t) {
|
|
21477
21477
|
var n = {};
|
|
21478
21478
|
for (var r in e)
|
|
21479
21479
|
t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
|
|
@@ -21508,19 +21508,19 @@ var EN = function(e) {
|
|
|
21508
21508
|
return '<svg fill="' + e + `" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
21509
21509
|
<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>
|
|
21510
21510
|
</svg>`;
|
|
21511
|
-
}, km = { arrowLeft: EN, arrowRight: IN, close: fN },
|
|
21512
|
-
var n = t.fill, r = t.type, A =
|
|
21511
|
+
}, km = { arrowLeft: EN, arrowRight: IN, close: fN }, Zc = function(t) {
|
|
21512
|
+
var n = t.fill, r = t.type, A = qc(t, ["fill", "type"]), o = km[r];
|
|
21513
21513
|
return Ce.createElement("span", qi({ dangerouslySetInnerHTML: { __html: o(n) } }, A));
|
|
21514
21514
|
};
|
|
21515
|
-
|
|
21515
|
+
Zc.propTypes = {
|
|
21516
21516
|
fill: Se.string,
|
|
21517
21517
|
type: Se.oneOf(Object.keys(km))
|
|
21518
21518
|
};
|
|
21519
|
-
|
|
21519
|
+
Zc.defaultProps = {
|
|
21520
21520
|
fill: "#fff"
|
|
21521
21521
|
};
|
|
21522
21522
|
function Ni(e) {
|
|
21523
|
-
var t = e.direction, n = e.icon, r = e.onClick, A = e.size, o = e.theme, i =
|
|
21523
|
+
var t = e.direction, n = e.icon, r = e.onClick, A = e.size, o = e.theme, i = qc(e, ["direction", "icon", "onClick", "size", "theme"]), s = ln.StyleSheet.create(ro(BN, o));
|
|
21524
21524
|
return Ce.createElement(
|
|
21525
21525
|
"button",
|
|
21526
21526
|
qi({
|
|
@@ -21529,7 +21529,7 @@ function Ni(e) {
|
|
|
21529
21529
|
onClick: r,
|
|
21530
21530
|
onTouchEnd: r
|
|
21531
21531
|
}, i),
|
|
21532
|
-
Ce.createElement(
|
|
21532
|
+
Ce.createElement(Zc, {
|
|
21533
21533
|
fill: !!o.arrow && o.arrow.fill || At.arrow.fill,
|
|
21534
21534
|
type: n
|
|
21535
21535
|
})
|
|
@@ -21615,7 +21615,7 @@ var hN = {
|
|
|
21615
21615
|
}
|
|
21616
21616
|
};
|
|
21617
21617
|
function jm(e) {
|
|
21618
|
-
var t = e.caption, n = e.countCurr, r = e.countSeparator, A = e.countTotal, o = e.showCount, i = e.theme, s =
|
|
21618
|
+
var t = e.caption, n = e.countCurr, r = e.countSeparator, A = e.countTotal, o = e.showCount, i = e.theme, s = qc(e, ["caption", "countCurr", "countSeparator", "countTotal", "showCount", "theme"]);
|
|
21619
21619
|
if (!t && !o) return null;
|
|
21620
21620
|
var a = ln.StyleSheet.create(ro(pN, i)), l = o ? Ce.createElement(
|
|
21621
21621
|
"div",
|
|
@@ -21668,7 +21668,7 @@ var pN = {
|
|
|
21668
21668
|
}
|
|
21669
21669
|
};
|
|
21670
21670
|
function Um(e) {
|
|
21671
|
-
var t = e.customControls, n = e.onClose, r = e.showCloseBtn, A = e.closeBtnTitle, o = e.theme, i =
|
|
21671
|
+
var t = e.customControls, n = e.onClose, r = e.showCloseBtn, A = e.closeBtnTitle, o = e.theme, i = qc(e, ["customControls", "onClose", "showCloseBtn", "closeBtnTitle", "theme"]), s = ln.StyleSheet.create(ro(QN, o));
|
|
21672
21672
|
return Ce.createElement(
|
|
21673
21673
|
"div",
|
|
21674
21674
|
qi({ className: ln.css(s.header) }, i),
|
|
@@ -21680,7 +21680,7 @@ function Um(e) {
|
|
|
21680
21680
|
className: ln.css(s.close),
|
|
21681
21681
|
onClick: n
|
|
21682
21682
|
},
|
|
21683
|
-
Ce.createElement(
|
|
21683
|
+
Ce.createElement(Zc, { fill: !!o.close && o.close.fill || At.close.fill, type: "close" })
|
|
21684
21684
|
)
|
|
21685
21685
|
);
|
|
21686
21686
|
}
|
|
@@ -21866,7 +21866,7 @@ var mN = {
|
|
|
21866
21866
|
);
|
|
21867
21867
|
}
|
|
21868
21868
|
}]), t;
|
|
21869
|
-
}(
|
|
21869
|
+
}(mc);
|
|
21870
21870
|
Vm.propTypes = {
|
|
21871
21871
|
theme: Se.object,
|
|
21872
21872
|
leftTitle: Se.string,
|
|
@@ -21932,7 +21932,7 @@ var Hm = function(e) {
|
|
|
21932
21932
|
return null;
|
|
21933
21933
|
}
|
|
21934
21934
|
}]), t;
|
|
21935
|
-
}(
|
|
21935
|
+
}(mc);
|
|
21936
21936
|
Hm.propTypes = {
|
|
21937
21937
|
children: Se.arrayOf(Se.any)
|
|
21938
21938
|
};
|
|
@@ -21995,7 +21995,7 @@ var Qf = Ce.createContext({
|
|
|
21995
21995
|
theme: At,
|
|
21996
21996
|
toggleTheme: function(t) {
|
|
21997
21997
|
}
|
|
21998
|
-
}),
|
|
21998
|
+
}), $c = function(e) {
|
|
21999
21999
|
OC(t, e);
|
|
22000
22000
|
function t(n) {
|
|
22001
22001
|
RC(this, t);
|
|
@@ -22131,12 +22131,12 @@ var Qf = Ce.createContext({
|
|
|
22131
22131
|
onTouchEnd: i && A.closeBackdrop
|
|
22132
22132
|
},
|
|
22133
22133
|
Ce.createElement(
|
|
22134
|
-
|
|
22134
|
+
kl,
|
|
22135
22135
|
null,
|
|
22136
22136
|
Ce.createElement(
|
|
22137
22137
|
"div",
|
|
22138
22138
|
{
|
|
22139
|
-
className:
|
|
22139
|
+
className: Ys(A.classes.content),
|
|
22140
22140
|
style: {
|
|
22141
22141
|
marginBottom: g,
|
|
22142
22142
|
maxWidth: l
|
|
@@ -22166,9 +22166,9 @@ var Qf = Ce.createContext({
|
|
|
22166
22166
|
var c = i[o], g = pf(c), E = g ? "100vw" : null, p = a ? r.thumbnail.size : 0, I = r.header.height + r.footer.height + p + r.container.gutter.vertical + "px";
|
|
22167
22167
|
return Ce.createElement(
|
|
22168
22168
|
"figure",
|
|
22169
|
-
{ className:
|
|
22169
|
+
{ className: Ys(this.classes.figure) },
|
|
22170
22170
|
Ce.createElement("img", {
|
|
22171
|
-
className:
|
|
22171
|
+
className: Ys(this.classes.img, l && this.classes.imgLoaded),
|
|
22172
22172
|
onClick: s,
|
|
22173
22173
|
sizes: E,
|
|
22174
22174
|
alt: c.alt,
|
|
@@ -22227,7 +22227,7 @@ var Qf = Ce.createContext({
|
|
|
22227
22227
|
return o ? null : Ce.createElement(
|
|
22228
22228
|
"div",
|
|
22229
22229
|
{
|
|
22230
|
-
className:
|
|
22230
|
+
className: Ys(this.classes.spinner, !a && this.classes.spinnerActive)
|
|
22231
22231
|
},
|
|
22232
22232
|
Ce.createElement(l, { color: i, size: s })
|
|
22233
22233
|
);
|
|
@@ -22248,8 +22248,8 @@ var Qf = Ce.createContext({
|
|
|
22248
22248
|
);
|
|
22249
22249
|
}
|
|
22250
22250
|
}]), t;
|
|
22251
|
-
}(
|
|
22252
|
-
|
|
22251
|
+
}(mc);
|
|
22252
|
+
$c.propTypes = {
|
|
22253
22253
|
backdropCloseable: Se.bool,
|
|
22254
22254
|
closeBtnTitle: Se.string,
|
|
22255
22255
|
currImg: Se.number,
|
|
@@ -22283,7 +22283,7 @@ qc.propTypes = {
|
|
|
22283
22283
|
thumbnailOffset: Se.number,
|
|
22284
22284
|
width: Se.number
|
|
22285
22285
|
};
|
|
22286
|
-
|
|
22286
|
+
$c.defaultProps = {
|
|
22287
22287
|
currImg: 0,
|
|
22288
22288
|
enableKeyboardInput: !0,
|
|
22289
22289
|
imgCountSeparator: " / ",
|
|
@@ -22373,7 +22373,7 @@ const wN = {
|
|
|
22373
22373
|
return /* @__PURE__ */ u.jsxs(TN, { className: "h-screenshot-viewer", children: [
|
|
22374
22374
|
e.map(({ src: s }, a) => /* @__PURE__ */ u.jsx(SN, { onClick: () => n(a), children: /* @__PURE__ */ u.jsx("img", { src: s, alt: "connector-preview" }) }, s + a)),
|
|
22375
22375
|
r ? /* @__PURE__ */ u.jsx(
|
|
22376
|
-
|
|
22376
|
+
$c,
|
|
22377
22377
|
{
|
|
22378
22378
|
imgs: e,
|
|
22379
22379
|
currImg: t,
|
|
@@ -22491,11 +22491,11 @@ const wN = {
|
|
|
22491
22491
|
width: 50%;
|
|
22492
22492
|
}
|
|
22493
22493
|
`, HN = () => /* @__PURE__ */ u.jsxs(H, { marginTop: "28px", gap: "12px", children: [
|
|
22494
|
-
/* @__PURE__ */ u.jsx(UN, { children:
|
|
22494
|
+
/* @__PURE__ */ u.jsx(UN, { children: Fs(3, (e) => /* @__PURE__ */ u.jsx(GN, { animation: "wave" }, e)) }),
|
|
22495
22495
|
/* @__PURE__ */ u.jsxs(VN, { children: [
|
|
22496
|
-
|
|
22497
|
-
|
|
22498
|
-
|
|
22496
|
+
Fs(3, (e) => /* @__PURE__ */ u.jsx(qu, { animation: "wave" }, e)),
|
|
22497
|
+
Fs(4, (e) => /* @__PURE__ */ u.jsx(qu, { className: "li", animation: "wave" }, e)),
|
|
22498
|
+
Fs(2, (e) => /* @__PURE__ */ u.jsx(qu, { animation: "wave" }, e))
|
|
22499
22499
|
] })
|
|
22500
22500
|
] }), WN = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.86421%2015.9708C9.20287%2016.3941%209.13423%2017.0118%208.71091%2017.3505C8.28758%2017.6891%207.66987%2017.6205%207.33121%2017.1972L8.86421%2015.9708ZM2.94434%2010.1423L2.17784%2010.7555C1.89104%2010.397%201.89104%209.88757%202.17784%209.52907L2.94434%2010.1423ZM7.33121%203.08735C7.66987%202.66403%208.28758%202.59539%208.71091%202.93405C9.13423%203.27271%209.20287%203.89042%208.86421%204.31375L7.33121%203.08735ZM3.31243%2011.1852C2.77031%2011.1852%202.33084%2010.7457%202.33084%2010.2036C2.33084%209.66149%202.77031%209.22201%203.31243%209.22201L3.31243%2011.1852ZM17.0548%209.22201C17.5969%209.22201%2018.0364%209.66149%2018.0364%2010.2036C18.0364%2010.7457%2017.5969%2011.1852%2017.0548%2011.1852V9.22201ZM7.33121%2017.1972L2.17784%2010.7555L3.71083%209.52907L8.86421%2015.9708L7.33121%2017.1972ZM2.17784%209.52907L7.33121%203.08735L8.86421%204.31375L3.71083%2010.7555L2.17784%209.52907ZM3.31243%209.22201L17.0548%209.22201V11.1852L3.31243%2011.1852L3.31243%209.22201Z'%20fill='%236F7C90'/%3e%3c/svg%3e", zN = T(H)`
|
|
22501
22501
|
margin: 9px 0 0 52px;
|
|
@@ -22510,7 +22510,7 @@ const wN = {
|
|
|
22510
22510
|
margin: 0;
|
|
22511
22511
|
}
|
|
22512
22512
|
`, JN = () => {
|
|
22513
|
-
const { availableFeatures: e, sendTrackingEvent: t } = ze(In), n = mn(), r = dt(
|
|
22513
|
+
const { availableFeatures: e, sendTrackingEvent: t } = ze(In), n = mn(), r = dt(Hc), A = dt(Yd), o = dt(cC), i = dt(wp), s = so(), { id: a = "" } = ao(), [l] = Jo(), c = l.get("isEdit") === "true", g = (r == null ? void 0 : r[a]) || null, E = (A == null ? void 0 : A[a]) || null;
|
|
22514
22514
|
ve(() => {
|
|
22515
22515
|
s(c ? Na(a) : La(a));
|
|
22516
22516
|
}, [c, s, a]);
|
|
@@ -22779,10 +22779,10 @@ function m9(e, t) {
|
|
|
22779
22779
|
writable: !1
|
|
22780
22780
|
}), t && Ed(e, t);
|
|
22781
22781
|
}
|
|
22782
|
-
function
|
|
22783
|
-
return
|
|
22782
|
+
function lc(e) {
|
|
22783
|
+
return lc = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
22784
22784
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
22785
|
-
},
|
|
22785
|
+
}, lc(e);
|
|
22786
22786
|
}
|
|
22787
22787
|
function qm() {
|
|
22788
22788
|
try {
|
|
@@ -22806,9 +22806,9 @@ function b9(e, t) {
|
|
|
22806
22806
|
function y9(e) {
|
|
22807
22807
|
var t = qm();
|
|
22808
22808
|
return function() {
|
|
22809
|
-
var n, r =
|
|
22809
|
+
var n, r = lc(e);
|
|
22810
22810
|
if (t) {
|
|
22811
|
-
var A =
|
|
22811
|
+
var A = lc(this).constructor;
|
|
22812
22812
|
n = Reflect.construct(r, arguments, A);
|
|
22813
22813
|
} else n = r.apply(this, arguments);
|
|
22814
22814
|
return b9(this, n);
|
|
@@ -22868,7 +22868,7 @@ var D9 = /* @__PURE__ */ function() {
|
|
|
22868
22868
|
return (A = r.parentNode) == null ? void 0 : A.removeChild(r);
|
|
22869
22869
|
}), this.tags = [], this.ctr = 0;
|
|
22870
22870
|
}, e;
|
|
22871
|
-
}(), Pn = "-ms-",
|
|
22871
|
+
}(), Pn = "-ms-", cc = "-moz-", pt = "-webkit-", Zm = "comm", PC = "rule", FC = "decl", O9 = "@import", $m = "@keyframes", L9 = "@layer", N9 = Math.abs, eu = String.fromCharCode, P9 = Object.assign;
|
|
22872
22872
|
function F9(e, t) {
|
|
22873
22873
|
return wn(e, 0) ^ 45 ? (((t << 2 ^ wn(e, 0)) << 2 ^ wn(e, 1)) << 2 ^ wn(e, 2)) << 2 ^ wn(e, 3) : 0;
|
|
22874
22874
|
}
|
|
@@ -22896,32 +22896,32 @@ function $r(e) {
|
|
|
22896
22896
|
function kC(e) {
|
|
22897
22897
|
return e.length;
|
|
22898
22898
|
}
|
|
22899
|
-
function
|
|
22899
|
+
function Js(e, t) {
|
|
22900
22900
|
return t.push(e), e;
|
|
22901
22901
|
}
|
|
22902
22902
|
function M9(e, t) {
|
|
22903
22903
|
return e.map(t).join("");
|
|
22904
22904
|
}
|
|
22905
|
-
var
|
|
22906
|
-
function
|
|
22907
|
-
return { value: e, root: t, parent: n, type: r, props: A, children: o, line:
|
|
22905
|
+
var tu = 1, Pi = 1, t0 = 0, tr = 0, sn = 0, Zi = "";
|
|
22906
|
+
function nu(e, t, n, r, A, o, i) {
|
|
22907
|
+
return { value: e, root: t, parent: n, type: r, props: A, children: o, line: tu, column: Pi, length: i, return: "" };
|
|
22908
22908
|
}
|
|
22909
22909
|
function Ia(e, t) {
|
|
22910
|
-
return P9(
|
|
22910
|
+
return P9(nu("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
22911
22911
|
}
|
|
22912
22912
|
function j9() {
|
|
22913
22913
|
return sn;
|
|
22914
22914
|
}
|
|
22915
22915
|
function U9() {
|
|
22916
|
-
return sn = tr > 0 ? wn(Zi, --tr) : 0, Pi--, sn === 10 && (Pi = 1,
|
|
22916
|
+
return sn = tr > 0 ? wn(Zi, --tr) : 0, Pi--, sn === 10 && (Pi = 1, tu--), sn;
|
|
22917
22917
|
}
|
|
22918
22918
|
function Cr() {
|
|
22919
|
-
return sn = tr < t0 ? wn(Zi, tr++) : 0, Pi++, sn === 10 && (Pi = 1,
|
|
22919
|
+
return sn = tr < t0 ? wn(Zi, tr++) : 0, Pi++, sn === 10 && (Pi = 1, tu++), sn;
|
|
22920
22920
|
}
|
|
22921
22921
|
function lA() {
|
|
22922
22922
|
return wn(Zi, tr);
|
|
22923
22923
|
}
|
|
22924
|
-
function
|
|
22924
|
+
function Ql() {
|
|
22925
22925
|
return tr;
|
|
22926
22926
|
}
|
|
22927
22927
|
function ms(e, t) {
|
|
@@ -22960,12 +22960,12 @@ function rs(e) {
|
|
|
22960
22960
|
return 0;
|
|
22961
22961
|
}
|
|
22962
22962
|
function n0(e) {
|
|
22963
|
-
return
|
|
22963
|
+
return tu = Pi = 1, t0 = $r(Zi = e), tr = 0, [];
|
|
22964
22964
|
}
|
|
22965
22965
|
function r0(e) {
|
|
22966
22966
|
return Zi = "", e;
|
|
22967
22967
|
}
|
|
22968
|
-
function
|
|
22968
|
+
function ml(e) {
|
|
22969
22969
|
return e0(ms(tr - 1, fd(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
22970
22970
|
}
|
|
22971
22971
|
function G9(e) {
|
|
@@ -22976,7 +22976,7 @@ function G9(e) {
|
|
|
22976
22976
|
function V9(e, t) {
|
|
22977
22977
|
for (; --t && Cr() && !(sn < 48 || sn > 102 || sn > 57 && sn < 65 || sn > 70 && sn < 97); )
|
|
22978
22978
|
;
|
|
22979
|
-
return ms(e,
|
|
22979
|
+
return ms(e, Ql() + (t < 6 && lA() == 32 && Cr() == 32));
|
|
22980
22980
|
}
|
|
22981
22981
|
function fd(e) {
|
|
22982
22982
|
for (; Cr(); )
|
|
@@ -23000,7 +23000,7 @@ function H9(e, t) {
|
|
|
23000
23000
|
for (; Cr() && e + sn !== 57; )
|
|
23001
23001
|
if (e + sn === 84 && lA() === 47)
|
|
23002
23002
|
break;
|
|
23003
|
-
return "/*" + ms(t, tr - 1) + "*" +
|
|
23003
|
+
return "/*" + ms(t, tr - 1) + "*" + eu(e === 47 ? e : Cr());
|
|
23004
23004
|
}
|
|
23005
23005
|
function W9(e) {
|
|
23006
23006
|
for (; !rs(lA()); )
|
|
@@ -23008,20 +23008,20 @@ function W9(e) {
|
|
|
23008
23008
|
return ms(e, tr);
|
|
23009
23009
|
}
|
|
23010
23010
|
function z9(e) {
|
|
23011
|
-
return r0(
|
|
23011
|
+
return r0(vl("", null, null, null, [""], e = n0(e), 0, [0], e));
|
|
23012
23012
|
}
|
|
23013
|
-
function
|
|
23013
|
+
function vl(e, t, n, r, A, o, i, s, a) {
|
|
23014
23014
|
for (var l = 0, c = 0, g = i, E = 0, p = 0, I = 0, d = 1, C = 1, f = 1, B = 0, h = "", Q = A, v = o, b = r, y = h; C; )
|
|
23015
23015
|
switch (I = B, B = Cr()) {
|
|
23016
23016
|
case 40:
|
|
23017
23017
|
if (I != 108 && wn(y, g - 1) == 58) {
|
|
23018
|
-
Id(y += Qt(
|
|
23018
|
+
Id(y += Qt(ml(B), "&", "&\f"), "&\f") != -1 && (f = -1);
|
|
23019
23019
|
break;
|
|
23020
23020
|
}
|
|
23021
23021
|
case 34:
|
|
23022
23022
|
case 39:
|
|
23023
23023
|
case 91:
|
|
23024
|
-
y +=
|
|
23024
|
+
y += ml(B);
|
|
23025
23025
|
break;
|
|
23026
23026
|
case 9:
|
|
23027
23027
|
case 10:
|
|
@@ -23030,13 +23030,13 @@ function Ql(e, t, n, r, A, o, i, s, a) {
|
|
|
23030
23030
|
y += G9(I);
|
|
23031
23031
|
break;
|
|
23032
23032
|
case 92:
|
|
23033
|
-
y += V9(
|
|
23033
|
+
y += V9(Ql() - 1, 7);
|
|
23034
23034
|
continue;
|
|
23035
23035
|
case 47:
|
|
23036
23036
|
switch (lA()) {
|
|
23037
23037
|
case 42:
|
|
23038
23038
|
case 47:
|
|
23039
|
-
|
|
23039
|
+
Js(Y9(H9(Cr(), Ql()), t, n), a);
|
|
23040
23040
|
break;
|
|
23041
23041
|
default:
|
|
23042
23042
|
y += "/";
|
|
@@ -23052,24 +23052,24 @@ function Ql(e, t, n, r, A, o, i, s, a) {
|
|
|
23052
23052
|
case 125:
|
|
23053
23053
|
C = 0;
|
|
23054
23054
|
case 59 + c:
|
|
23055
|
-
f == -1 && (y = Qt(y, /\f/g, "")), p > 0 && $r(y) - g &&
|
|
23055
|
+
f == -1 && (y = Qt(y, /\f/g, "")), p > 0 && $r(y) - g && Js(p > 32 ? Tf(y + ";", r, n, g - 1) : Tf(Qt(y, " ", "") + ";", r, n, g - 2), a);
|
|
23056
23056
|
break;
|
|
23057
23057
|
case 59:
|
|
23058
23058
|
y += ";";
|
|
23059
23059
|
default:
|
|
23060
|
-
if (
|
|
23060
|
+
if (Js(b = wf(y, t, n, l, c, A, s, h, Q = [], v = [], g), o), B === 123)
|
|
23061
23061
|
if (c === 0)
|
|
23062
|
-
|
|
23062
|
+
vl(y, t, b, b, Q, o, g, s, v);
|
|
23063
23063
|
else
|
|
23064
23064
|
switch (E === 99 && wn(y, 3) === 110 ? 100 : E) {
|
|
23065
23065
|
case 100:
|
|
23066
23066
|
case 108:
|
|
23067
23067
|
case 109:
|
|
23068
23068
|
case 115:
|
|
23069
|
-
|
|
23069
|
+
vl(e, b, b, r && Js(wf(e, b, b, 0, 0, A, s, h, A, Q = [], g), v), A, v, g, s, r ? Q : v);
|
|
23070
23070
|
break;
|
|
23071
23071
|
default:
|
|
23072
|
-
|
|
23072
|
+
vl(y, b, b, b, [""], v, 0, s, v);
|
|
23073
23073
|
}
|
|
23074
23074
|
}
|
|
23075
23075
|
l = c = p = 0, d = f = 1, h = y = "", g = i;
|
|
@@ -23083,7 +23083,7 @@ function Ql(e, t, n, r, A, o, i, s, a) {
|
|
|
23083
23083
|
else if (B == 125 && d++ == 0 && U9() == 125)
|
|
23084
23084
|
continue;
|
|
23085
23085
|
}
|
|
23086
|
-
switch (y +=
|
|
23086
|
+
switch (y += eu(B), B * d) {
|
|
23087
23087
|
case 38:
|
|
23088
23088
|
f = c > 0 ? 1 : (y += "\f", -1);
|
|
23089
23089
|
break;
|
|
@@ -23091,7 +23091,7 @@ function Ql(e, t, n, r, A, o, i, s, a) {
|
|
|
23091
23091
|
s[l++] = ($r(y) - 1) * f, f = 1;
|
|
23092
23092
|
break;
|
|
23093
23093
|
case 64:
|
|
23094
|
-
lA() === 45 && (y +=
|
|
23094
|
+
lA() === 45 && (y += ml(Cr())), E = lA(), c = g = $r(h = y += W9(Ql())), B++;
|
|
23095
23095
|
break;
|
|
23096
23096
|
case 45:
|
|
23097
23097
|
I === 45 && $r(y) == 2 && (d = 0);
|
|
@@ -23103,13 +23103,13 @@ function wf(e, t, n, r, A, o, i, s, a, l, c) {
|
|
|
23103
23103
|
for (var g = A - 1, E = A === 0 ? o : [""], p = kC(E), I = 0, d = 0, C = 0; I < r; ++I)
|
|
23104
23104
|
for (var f = 0, B = ns(e, g + 1, g = N9(d = i[I])), h = e; f < p; ++f)
|
|
23105
23105
|
(h = e0(d > 0 ? E[f] + " " + B : Qt(B, /&\f/g, E[f]))) && (a[C++] = h);
|
|
23106
|
-
return
|
|
23106
|
+
return nu(e, t, n, A === 0 ? PC : s, a, l, c);
|
|
23107
23107
|
}
|
|
23108
23108
|
function Y9(e, t, n) {
|
|
23109
|
-
return
|
|
23109
|
+
return nu(e, t, n, Zm, eu(j9()), ns(e, 2, -2), 0);
|
|
23110
23110
|
}
|
|
23111
23111
|
function Tf(e, t, n, r) {
|
|
23112
|
-
return
|
|
23112
|
+
return nu(e, t, n, FC, ns(e, 0, r), ns(e, r + 1, -1), r);
|
|
23113
23113
|
}
|
|
23114
23114
|
function Ei(e, t) {
|
|
23115
23115
|
for (var n = "", r = kC(e), A = 0; A < r; A++)
|
|
@@ -23163,7 +23163,7 @@ var Z9 = function(t, n, r) {
|
|
|
23163
23163
|
A === 38 && lA() === 12 && (n[r] = 1), t[r] += Z9(tr - 1, n, r);
|
|
23164
23164
|
break;
|
|
23165
23165
|
case 2:
|
|
23166
|
-
t[r] +=
|
|
23166
|
+
t[r] += ml(A);
|
|
23167
23167
|
break;
|
|
23168
23168
|
case 4:
|
|
23169
23169
|
if (A === 44) {
|
|
@@ -23171,7 +23171,7 @@ var Z9 = function(t, n, r) {
|
|
|
23171
23171
|
break;
|
|
23172
23172
|
}
|
|
23173
23173
|
default:
|
|
23174
|
-
t[r] +=
|
|
23174
|
+
t[r] += eu(A);
|
|
23175
23175
|
}
|
|
23176
23176
|
while (A = Cr());
|
|
23177
23177
|
return t;
|
|
@@ -23233,7 +23233,7 @@ function A0(e, t) {
|
|
|
23233
23233
|
case 4810:
|
|
23234
23234
|
case 6968:
|
|
23235
23235
|
case 2756:
|
|
23236
|
-
return pt + e +
|
|
23236
|
+
return pt + e + cc + e + Pn + e + e;
|
|
23237
23237
|
case 6828:
|
|
23238
23238
|
case 4268:
|
|
23239
23239
|
return pt + e + Pn + e + e;
|
|
@@ -23281,7 +23281,7 @@ function A0(e, t) {
|
|
|
23281
23281
|
case 109:
|
|
23282
23282
|
if (wn(e, t + 4) !== 45) break;
|
|
23283
23283
|
case 102:
|
|
23284
|
-
return Qt(e, /(.+:)(.+)-([^]+)/, "$1" + pt + "$2-$3$1" +
|
|
23284
|
+
return Qt(e, /(.+:)(.+)-([^]+)/, "$1" + pt + "$2-$3$1" + cc + (wn(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
23285
23285
|
case 115:
|
|
23286
23286
|
return ~Id(e, "stretch") ? A0(Qt(e, "stretch", "fill-available"), t) + e : e;
|
|
23287
23287
|
}
|
|
@@ -23324,13 +23324,13 @@ var rP = function(t, n, r, A) {
|
|
|
23324
23324
|
case ":read-only":
|
|
23325
23325
|
case ":read-write":
|
|
23326
23326
|
return Ei([Ia(t, {
|
|
23327
|
-
props: [Qt(o, /:(read-\w+)/, ":" +
|
|
23327
|
+
props: [Qt(o, /:(read-\w+)/, ":" + cc + "$1")]
|
|
23328
23328
|
})], A);
|
|
23329
23329
|
case "::placeholder":
|
|
23330
23330
|
return Ei([Ia(t, {
|
|
23331
23331
|
props: [Qt(o, /:(plac\w+)/, ":" + pt + "input-$1")]
|
|
23332
23332
|
}), Ia(t, {
|
|
23333
|
-
props: [Qt(o, /:(plac\w+)/, ":" +
|
|
23333
|
+
props: [Qt(o, /:(plac\w+)/, ":" + cc + "$1")]
|
|
23334
23334
|
}), Ia(t, {
|
|
23335
23335
|
props: [Qt(o, /:(plac\w+)/, Pn + "input-$1")]
|
|
23336
23336
|
})], A);
|
|
@@ -23806,7 +23806,7 @@ var QP = function(t) {
|
|
|
23806
23806
|
);
|
|
23807
23807
|
c0.Provider;
|
|
23808
23808
|
var yP = function(t) {
|
|
23809
|
-
return /* @__PURE__ */
|
|
23809
|
+
return /* @__PURE__ */ vc(function(n, r) {
|
|
23810
23810
|
var A = ze(c0);
|
|
23811
23811
|
return t(n, A, r);
|
|
23812
23812
|
});
|
|
@@ -23871,7 +23871,7 @@ function DP(e, t) {
|
|
|
23871
23871
|
}
|
|
23872
23872
|
}));
|
|
23873
23873
|
}
|
|
23874
|
-
const OP = Math.min, LP = Math.max,
|
|
23874
|
+
const OP = Math.min, LP = Math.max, uc = Math.round, Xs = Math.floor, gc = (e) => ({
|
|
23875
23875
|
x: e,
|
|
23876
23876
|
y: e
|
|
23877
23877
|
});
|
|
@@ -23893,7 +23893,7 @@ function NP(e) {
|
|
|
23893
23893
|
y: n
|
|
23894
23894
|
};
|
|
23895
23895
|
}
|
|
23896
|
-
function
|
|
23896
|
+
function ru() {
|
|
23897
23897
|
return typeof window < "u";
|
|
23898
23898
|
}
|
|
23899
23899
|
function u0(e) {
|
|
@@ -23908,16 +23908,16 @@ function g0(e) {
|
|
|
23908
23908
|
return (t = (d0(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
23909
23909
|
}
|
|
23910
23910
|
function d0(e) {
|
|
23911
|
-
return
|
|
23911
|
+
return ru() ? e instanceof Node || e instanceof SA(e).Node : !1;
|
|
23912
23912
|
}
|
|
23913
23913
|
function PP(e) {
|
|
23914
|
-
return
|
|
23914
|
+
return ru() ? e instanceof Element || e instanceof SA(e).Element : !1;
|
|
23915
23915
|
}
|
|
23916
23916
|
function UC(e) {
|
|
23917
|
-
return
|
|
23917
|
+
return ru() ? e instanceof HTMLElement || e instanceof SA(e).HTMLElement : !1;
|
|
23918
23918
|
}
|
|
23919
23919
|
function Nf(e) {
|
|
23920
|
-
return !
|
|
23920
|
+
return !ru() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof SA(e).ShadowRoot;
|
|
23921
23921
|
}
|
|
23922
23922
|
function C0(e) {
|
|
23923
23923
|
const {
|
|
@@ -23953,15 +23953,15 @@ function E0(e) {
|
|
|
23953
23953
|
const t = MP(e);
|
|
23954
23954
|
return kP(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : UC(t) && C0(t) ? t : E0(t);
|
|
23955
23955
|
}
|
|
23956
|
-
function
|
|
23956
|
+
function dc(e, t, n) {
|
|
23957
23957
|
var r;
|
|
23958
23958
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
23959
23959
|
const A = E0(e), o = A === ((r = e.ownerDocument) == null ? void 0 : r.body), i = SA(A);
|
|
23960
23960
|
if (o) {
|
|
23961
23961
|
const s = pd(i);
|
|
23962
|
-
return t.concat(i, i.visualViewport || [], C0(A) ? A : [], s && n ?
|
|
23962
|
+
return t.concat(i, i.visualViewport || [], C0(A) ? A : [], s && n ? dc(s) : []);
|
|
23963
23963
|
}
|
|
23964
|
-
return t.concat(A,
|
|
23964
|
+
return t.concat(A, dc(A, [], n));
|
|
23965
23965
|
}
|
|
23966
23966
|
function pd(e) {
|
|
23967
23967
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
@@ -23969,7 +23969,7 @@ function pd(e) {
|
|
|
23969
23969
|
function jP(e) {
|
|
23970
23970
|
const t = GC(e);
|
|
23971
23971
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
23972
|
-
const A = UC(e), o = A ? e.offsetWidth : n, i = A ? e.offsetHeight : r, s =
|
|
23972
|
+
const A = UC(e), o = A ? e.offsetWidth : n, i = A ? e.offsetHeight : r, s = uc(n) !== o || uc(r) !== i;
|
|
23973
23973
|
return s && (n = o, r = i), {
|
|
23974
23974
|
width: n,
|
|
23975
23975
|
height: r,
|
|
@@ -23982,19 +23982,19 @@ function VC(e) {
|
|
|
23982
23982
|
function Pf(e) {
|
|
23983
23983
|
const t = VC(e);
|
|
23984
23984
|
if (!UC(t))
|
|
23985
|
-
return
|
|
23985
|
+
return gc(1);
|
|
23986
23986
|
const n = t.getBoundingClientRect(), {
|
|
23987
23987
|
width: r,
|
|
23988
23988
|
height: A,
|
|
23989
23989
|
$: o
|
|
23990
23990
|
} = jP(t);
|
|
23991
|
-
let i = (o ?
|
|
23991
|
+
let i = (o ? uc(n.width) : n.width) / r, s = (o ? uc(n.height) : n.height) / A;
|
|
23992
23992
|
return (!i || !Number.isFinite(i)) && (i = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
23993
23993
|
x: i,
|
|
23994
23994
|
y: s
|
|
23995
23995
|
};
|
|
23996
23996
|
}
|
|
23997
|
-
const UP = /* @__PURE__ */
|
|
23997
|
+
const UP = /* @__PURE__ */ gc(0);
|
|
23998
23998
|
function GP(e) {
|
|
23999
23999
|
const t = SA(e);
|
|
24000
24000
|
return !FP() || !t.visualViewport ? UP : {
|
|
@@ -24008,9 +24008,9 @@ function VP(e, t, n) {
|
|
|
24008
24008
|
function Ff(e, t, n, r) {
|
|
24009
24009
|
t === void 0 && (t = !1);
|
|
24010
24010
|
const A = e.getBoundingClientRect(), o = VC(e);
|
|
24011
|
-
let i =
|
|
24011
|
+
let i = gc(1);
|
|
24012
24012
|
t && (i = Pf(e));
|
|
24013
|
-
const s = VP() ? GP(o) :
|
|
24013
|
+
const s = VP() ? GP(o) : gc(0);
|
|
24014
24014
|
let a = (A.left + s.x) / i.x, l = (A.top + s.y) / i.y, c = A.width / i.x, g = A.height / i.y;
|
|
24015
24015
|
if (o) {
|
|
24016
24016
|
const E = SA(o), p = r;
|
|
@@ -24044,7 +24044,7 @@ function HP(e, t) {
|
|
|
24044
24044
|
} = e.getBoundingClientRect();
|
|
24045
24045
|
if (s || t(), !g || !E)
|
|
24046
24046
|
return;
|
|
24047
|
-
const p =
|
|
24047
|
+
const p = Xs(c), I = Xs(A.clientWidth - (l + g)), d = Xs(A.clientHeight - (c + E)), C = Xs(l), B = {
|
|
24048
24048
|
rootMargin: -p + "px " + -I + "px " + -d + "px " + -C + "px",
|
|
24049
24049
|
threshold: LP(0, OP(1, a)) || 1
|
|
24050
24050
|
};
|
|
@@ -24081,7 +24081,7 @@ function WP(e, t, n, r) {
|
|
|
24081
24081
|
elementResize: i = typeof ResizeObserver == "function",
|
|
24082
24082
|
layoutShift: s = typeof IntersectionObserver == "function",
|
|
24083
24083
|
animationFrame: a = !1
|
|
24084
|
-
} = r, l = VC(e), c = A || o ? [...l ?
|
|
24084
|
+
} = r, l = VC(e), c = A || o ? [...l ? dc(l) : [], ...dc(t)] : [];
|
|
24085
24085
|
c.forEach((f) => {
|
|
24086
24086
|
A && f.addEventListener("scroll", n, {
|
|
24087
24087
|
passive: !0
|
|
@@ -24109,7 +24109,7 @@ function WP(e, t, n, r) {
|
|
|
24109
24109
|
}), g == null || g(), (f = p) == null || f.disconnect(), p = null, a && cancelAnimationFrame(I);
|
|
24110
24110
|
};
|
|
24111
24111
|
}
|
|
24112
|
-
var Qd =
|
|
24112
|
+
var Qd = Qc, zP = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Cc = function() {
|
|
24113
24113
|
};
|
|
24114
24114
|
function YP(e, t) {
|
|
24115
24115
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
|
@@ -24127,7 +24127,7 @@ function JP(e, t) {
|
|
|
24127
24127
|
return String(s).trim();
|
|
24128
24128
|
}).join(" ");
|
|
24129
24129
|
}
|
|
24130
|
-
var
|
|
24130
|
+
var Ec = function(t) {
|
|
24131
24131
|
return AF(t) ? t.filter(Boolean) : Vo(t) === "object" && t !== null ? [t] : [];
|
|
24132
24132
|
}, I0 = function(t) {
|
|
24133
24133
|
t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
|
|
@@ -24147,17 +24147,17 @@ function XP(e, t, n) {
|
|
|
24147
24147
|
}
|
|
24148
24148
|
return e;
|
|
24149
24149
|
}
|
|
24150
|
-
function
|
|
24150
|
+
function Au(e) {
|
|
24151
24151
|
return [document.documentElement, document.body, window].indexOf(e) > -1;
|
|
24152
24152
|
}
|
|
24153
24153
|
function KP(e) {
|
|
24154
|
-
return
|
|
24154
|
+
return Au(e) ? window.innerHeight : e.clientHeight;
|
|
24155
24155
|
}
|
|
24156
24156
|
function f0(e) {
|
|
24157
|
-
return
|
|
24157
|
+
return Au(e) ? window.pageYOffset : e.scrollTop;
|
|
24158
24158
|
}
|
|
24159
|
-
function
|
|
24160
|
-
if (
|
|
24159
|
+
function Ic(e, t) {
|
|
24160
|
+
if (Au(e)) {
|
|
24161
24161
|
window.scrollTo(0, t);
|
|
24162
24162
|
return;
|
|
24163
24163
|
}
|
|
@@ -24174,18 +24174,18 @@ function qP(e) {
|
|
|
24174
24174
|
function ZP(e, t, n, r) {
|
|
24175
24175
|
return n * ((e = e / r - 1) * e * e + 1) + t;
|
|
24176
24176
|
}
|
|
24177
|
-
function
|
|
24178
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
|
24177
|
+
function Ks(e, t) {
|
|
24178
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Cc, A = f0(e), o = t - A, i = 10, s = 0;
|
|
24179
24179
|
function a() {
|
|
24180
24180
|
s += i;
|
|
24181
24181
|
var l = ZP(s, A, o, n);
|
|
24182
|
-
|
|
24182
|
+
Ic(e, l), s < n ? window.requestAnimationFrame(a) : r(e);
|
|
24183
24183
|
}
|
|
24184
24184
|
a();
|
|
24185
24185
|
}
|
|
24186
24186
|
function kf(e, t) {
|
|
24187
24187
|
var n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), A = t.offsetHeight / 3;
|
|
24188
|
-
r.bottom + A > n.bottom ?
|
|
24188
|
+
r.bottom + A > n.bottom ? Ic(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + A, e.scrollHeight)) : r.top - A < n.top && Ic(e, Math.max(t.offsetTop - A, 0));
|
|
24189
24189
|
}
|
|
24190
24190
|
function $P(e) {
|
|
24191
24191
|
var t = e.getBoundingClientRect();
|
|
@@ -24216,8 +24216,8 @@ var B0 = !1, tF = {
|
|
|
24216
24216
|
get passive() {
|
|
24217
24217
|
return B0 = !0;
|
|
24218
24218
|
}
|
|
24219
|
-
},
|
|
24220
|
-
|
|
24219
|
+
}, qs = typeof window < "u" ? window : {};
|
|
24220
|
+
qs.addEventListener && qs.removeEventListener && (qs.addEventListener("p", Cc, tF), qs.removeEventListener("p", Cc, !1));
|
|
24221
24221
|
var nF = B0;
|
|
24222
24222
|
function rF(e) {
|
|
24223
24223
|
return e != null;
|
|
@@ -24256,12 +24256,12 @@ function sF(e) {
|
|
|
24256
24256
|
maxHeight: t
|
|
24257
24257
|
};
|
|
24258
24258
|
if (x >= I && !i)
|
|
24259
|
-
return o &&
|
|
24259
|
+
return o && Ks(a, j, U), {
|
|
24260
24260
|
placement: "bottom",
|
|
24261
24261
|
maxHeight: t
|
|
24262
24262
|
};
|
|
24263
24263
|
if (!i && x >= r || i && y >= r) {
|
|
24264
|
-
o &&
|
|
24264
|
+
o && Ks(a, j, U);
|
|
24265
24265
|
var Y = i ? y - Q : x - Q;
|
|
24266
24266
|
return {
|
|
24267
24267
|
placement: "bottom",
|
|
@@ -24276,7 +24276,7 @@ function sF(e) {
|
|
|
24276
24276
|
};
|
|
24277
24277
|
}
|
|
24278
24278
|
if (A === "bottom")
|
|
24279
|
-
return o &&
|
|
24279
|
+
return o && Ic(a, j), {
|
|
24280
24280
|
placement: "bottom",
|
|
24281
24281
|
maxHeight: t
|
|
24282
24282
|
};
|
|
@@ -24288,13 +24288,13 @@ function sF(e) {
|
|
|
24288
24288
|
maxHeight: t
|
|
24289
24289
|
};
|
|
24290
24290
|
if (m >= I && !i)
|
|
24291
|
-
return o &&
|
|
24291
|
+
return o && Ks(a, P, U), {
|
|
24292
24292
|
placement: "top",
|
|
24293
24293
|
maxHeight: t
|
|
24294
24294
|
};
|
|
24295
24295
|
if (!i && m >= r || i && b >= r) {
|
|
24296
24296
|
var Ee = t;
|
|
24297
|
-
return (!i && m >= r || i && b >= r) && (Ee = i ? b - v : m - v), o &&
|
|
24297
|
+
return (!i && m >= r || i && b >= r) && (Ee = i ? b - v : m - v), o && Ks(a, P, U), {
|
|
24298
24298
|
placement: "top",
|
|
24299
24299
|
maxHeight: Ee
|
|
24300
24300
|
};
|
|
@@ -24453,7 +24453,7 @@ var h0 = function(t) {
|
|
|
24453
24453
|
}), o), r);
|
|
24454
24454
|
return Ve(p0.Provider, {
|
|
24455
24455
|
value: I
|
|
24456
|
-
}, n ? /* @__PURE__ */
|
|
24456
|
+
}, n ? /* @__PURE__ */ bc(b, n) : b);
|
|
24457
24457
|
}, mF = function(t) {
|
|
24458
24458
|
var n = t.isDisabled, r = t.isRtl;
|
|
24459
24459
|
return {
|
|
@@ -25080,7 +25080,7 @@ var b6 = process.env.NODE_ENV === "production" ? {
|
|
|
25080
25080
|
});
|
|
25081
25081
|
}
|
|
25082
25082
|
return ie;
|
|
25083
|
-
}, [b, r, A, I, d, C, f, m, s, Q, U]), k = Ve(
|
|
25083
|
+
}, [b, r, A, I, d, C, f, m, s, Q, U]), k = Ve(kl, null, Ve("span", {
|
|
25084
25084
|
id: "aria-selection"
|
|
25085
25085
|
}, x), Ve("span", {
|
|
25086
25086
|
id: "aria-focused"
|
|
@@ -25089,7 +25089,7 @@ var b6 = process.env.NODE_ENV === "production" ? {
|
|
|
25089
25089
|
}, P), Ve("span", {
|
|
25090
25090
|
id: "aria-guidance"
|
|
25091
25091
|
}, Y));
|
|
25092
|
-
return Ve(
|
|
25092
|
+
return Ve(kl, null, Ve(Gf, {
|
|
25093
25093
|
id: l
|
|
25094
25094
|
}, U && k), Ve(Gf, {
|
|
25095
25095
|
"aria-live": y,
|
|
@@ -25528,7 +25528,7 @@ function U6(e) {
|
|
|
25528
25528
|
}), g = function(p) {
|
|
25529
25529
|
l(p), c(p);
|
|
25530
25530
|
};
|
|
25531
|
-
return Ve(
|
|
25531
|
+
return Ve(kl, null, n && Ve("div", {
|
|
25532
25532
|
onClick: M6,
|
|
25533
25533
|
css: j6
|
|
25534
25534
|
}), t(g));
|
|
@@ -25684,7 +25684,7 @@ var K6 = function(t) {
|
|
|
25684
25684
|
unstyled: !1
|
|
25685
25685
|
};
|
|
25686
25686
|
function qf(e, t, n, r) {
|
|
25687
|
-
var A = N0(e, t, n), o = P0(e, t, n), i = L0(e, t), s =
|
|
25687
|
+
var A = N0(e, t, n), o = P0(e, t, n), i = L0(e, t), s = fc(e, t);
|
|
25688
25688
|
return {
|
|
25689
25689
|
type: "option",
|
|
25690
25690
|
data: t,
|
|
@@ -25695,7 +25695,7 @@ function qf(e, t, n, r) {
|
|
|
25695
25695
|
index: r
|
|
25696
25696
|
};
|
|
25697
25697
|
}
|
|
25698
|
-
function
|
|
25698
|
+
function bl(e, t) {
|
|
25699
25699
|
return e.options.map(function(n, r) {
|
|
25700
25700
|
if ("options" in n) {
|
|
25701
25701
|
var A = n.options.map(function(i, s) {
|
|
@@ -25735,7 +25735,7 @@ function Zf(e, t) {
|
|
|
25735
25735
|
}, []);
|
|
25736
25736
|
}
|
|
25737
25737
|
function ok(e, t) {
|
|
25738
|
-
return O0(
|
|
25738
|
+
return O0(bl(e, t));
|
|
25739
25739
|
}
|
|
25740
25740
|
function $f(e, t) {
|
|
25741
25741
|
var n = e.inputValue, r = n === void 0 ? "" : n, A = t.data, o = t.isSelected, i = t.label, s = t.value;
|
|
@@ -25767,7 +25767,7 @@ var Ag = function(t, n) {
|
|
|
25767
25767
|
return A || null;
|
|
25768
25768
|
}, L0 = function(t, n) {
|
|
25769
25769
|
return t.getOptionLabel(n);
|
|
25770
|
-
},
|
|
25770
|
+
}, fc = function(t, n) {
|
|
25771
25771
|
return t.getOptionValue(n);
|
|
25772
25772
|
};
|
|
25773
25773
|
function N0(e, t, n) {
|
|
@@ -25777,9 +25777,9 @@ function P0(e, t, n) {
|
|
|
25777
25777
|
if (n.indexOf(t) > -1) return !0;
|
|
25778
25778
|
if (typeof e.isOptionSelected == "function")
|
|
25779
25779
|
return e.isOptionSelected(t, n);
|
|
25780
|
-
var r =
|
|
25780
|
+
var r = fc(e, t);
|
|
25781
25781
|
return n.some(function(A) {
|
|
25782
|
-
return
|
|
25782
|
+
return fc(e, A) === r;
|
|
25783
25783
|
});
|
|
25784
25784
|
}
|
|
25785
25785
|
function F0(e, t, n) {
|
|
@@ -25788,7 +25788,7 @@ function F0(e, t, n) {
|
|
|
25788
25788
|
var k0 = function(t) {
|
|
25789
25789
|
var n = t.hideSelectedOptions, r = t.isMulti;
|
|
25790
25790
|
return n === void 0 ? r : n;
|
|
25791
|
-
}, sk = 1,
|
|
25791
|
+
}, sk = 1, ou = /* @__PURE__ */ function(e) {
|
|
25792
25792
|
m9(n, e);
|
|
25793
25793
|
var t = y9(n);
|
|
25794
25794
|
function n(r) {
|
|
@@ -25872,7 +25872,7 @@ var k0 = function(t) {
|
|
|
25872
25872
|
}, A.getFocusedOptionId = function(a) {
|
|
25873
25873
|
return Ag(A.state.focusableOptionsWithIds, a);
|
|
25874
25874
|
}, A.getFocusableOptionsWithIds = function() {
|
|
25875
|
-
return Zf(
|
|
25875
|
+
return Zf(bl(A.props, A.state.selectValue), A.getElementId("option"));
|
|
25876
25876
|
}, A.getValue = function() {
|
|
25877
25877
|
return A.state.selectValue;
|
|
25878
25878
|
}, A.cx = function() {
|
|
@@ -25882,7 +25882,7 @@ var k0 = function(t) {
|
|
|
25882
25882
|
}, A.getOptionLabel = function(a) {
|
|
25883
25883
|
return L0(A.props, a);
|
|
25884
25884
|
}, A.getOptionValue = function(a) {
|
|
25885
|
-
return
|
|
25885
|
+
return fc(A.props, a);
|
|
25886
25886
|
}, A.getStyles = function(a, l) {
|
|
25887
25887
|
var c = A.props.unstyled, g = Z6[a](l, c);
|
|
25888
25888
|
g.boxSizing = "border-box";
|
|
@@ -25896,7 +25896,7 @@ var k0 = function(t) {
|
|
|
25896
25896
|
}, A.getComponents = function() {
|
|
25897
25897
|
return h6(A.props);
|
|
25898
25898
|
}, A.buildCategorizedOptions = function() {
|
|
25899
|
-
return
|
|
25899
|
+
return bl(A.props, A.state.selectValue);
|
|
25900
25900
|
}, A.getCategorizedOptions = function() {
|
|
25901
25901
|
return A.props.menuIsOpen ? A.buildCategorizedOptions() : [];
|
|
25902
25902
|
}, A.buildFocusableOptions = function() {
|
|
@@ -25930,7 +25930,7 @@ var k0 = function(t) {
|
|
|
25930
25930
|
return A.focusInput();
|
|
25931
25931
|
}));
|
|
25932
25932
|
}, A.onScroll = function(a) {
|
|
25933
|
-
typeof A.props.closeMenuOnScroll == "boolean" ? a.target instanceof HTMLElement &&
|
|
25933
|
+
typeof A.props.closeMenuOnScroll == "boolean" ? a.target instanceof HTMLElement && Au(a.target) && A.props.onMenuClose() : typeof A.props.closeMenuOnScroll == "function" && A.props.closeMenuOnScroll(a) && A.props.onMenuClose();
|
|
25934
25934
|
}, A.onCompositionStart = function() {
|
|
25935
25935
|
A.isComposing = !0;
|
|
25936
25936
|
}, A.onCompositionEnd = function() {
|
|
@@ -26073,7 +26073,7 @@ var k0 = function(t) {
|
|
|
26073
26073
|
}
|
|
26074
26074
|
a.preventDefault();
|
|
26075
26075
|
}
|
|
26076
|
-
}, A.state.instancePrefix = "react-select-" + (A.props.instanceId || ++sk), A.state.selectValue =
|
|
26076
|
+
}, A.state.instancePrefix = "react-select-" + (A.props.instanceId || ++sk), A.state.selectValue = Ec(r.value), r.menuIsOpen && A.state.selectValue.length) {
|
|
26077
26077
|
var o = A.getFocusableOptionsWithIds(), i = A.buildFocusableOptions(), s = i.indexOf(A.state.selectValue[0]);
|
|
26078
26078
|
A.state.focusableOptionsWithIds = o, A.state.focusedOption = i[s], A.state.focusedOptionId = Ag(o, i[s]);
|
|
26079
26079
|
}
|
|
@@ -26353,7 +26353,7 @@ var k0 = function(t) {
|
|
|
26353
26353
|
id: h,
|
|
26354
26354
|
innerRef: this.getInputRef,
|
|
26355
26355
|
onBlur: this.onInputBlur,
|
|
26356
|
-
onChange:
|
|
26356
|
+
onChange: Cc,
|
|
26357
26357
|
onFocus: this.onInputFocus,
|
|
26358
26358
|
disabled: o,
|
|
26359
26359
|
tabIndex: l,
|
|
@@ -26667,9 +26667,9 @@ var k0 = function(t) {
|
|
|
26667
26667
|
}], [{
|
|
26668
26668
|
key: "getDerivedStateFromProps",
|
|
26669
26669
|
value: function(A, o) {
|
|
26670
|
-
var i = o.prevProps, s = o.clearFocusValueOnUpdate, a = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, g = o.prevWasFocused, E = o.instancePrefix, p = A.options, I = A.value, d = A.menuIsOpen, C = A.inputValue, f = A.isMulti, B =
|
|
26670
|
+
var i = o.prevProps, s = o.clearFocusValueOnUpdate, a = o.inputIsHiddenAfterUpdate, l = o.ariaSelection, c = o.isFocused, g = o.prevWasFocused, E = o.instancePrefix, p = A.options, I = A.value, d = A.menuIsOpen, C = A.inputValue, f = A.isMulti, B = Ec(I), h = {};
|
|
26671
26671
|
if (i && (I !== i.value || p !== i.options || d !== i.menuIsOpen || C !== i.inputValue)) {
|
|
26672
|
-
var Q = d ? ok(A, B) : [], v = d ? Zf(
|
|
26672
|
+
var Q = d ? ok(A, B) : [], v = d ? Zf(bl(A, B), "".concat(E, "-option")) : [], b = s ? ik(o, B) : null, y = ak(o, Q), m = Ag(v, y);
|
|
26673
26673
|
h = {
|
|
26674
26674
|
selectValue: B,
|
|
26675
26675
|
focusedOption: y,
|
|
@@ -26694,11 +26694,11 @@ var k0 = function(t) {
|
|
|
26694
26694
|
});
|
|
26695
26695
|
}
|
|
26696
26696
|
}]), n;
|
|
26697
|
-
}(
|
|
26698
|
-
|
|
26699
|
-
var lk = /* @__PURE__ */
|
|
26697
|
+
}(mc);
|
|
26698
|
+
ou.defaultProps = Ak;
|
|
26699
|
+
var lk = /* @__PURE__ */ vc(function(e, t) {
|
|
26700
26700
|
var n = NC(e);
|
|
26701
|
-
return /* @__PURE__ */ S.createElement(
|
|
26701
|
+
return /* @__PURE__ */ S.createElement(ou, He({
|
|
26702
26702
|
ref: t
|
|
26703
26703
|
}, n));
|
|
26704
26704
|
}), ck = lk;
|
|
@@ -26902,9 +26902,9 @@ function z0(e) {
|
|
|
26902
26902
|
filterOption: c
|
|
26903
26903
|
});
|
|
26904
26904
|
}
|
|
26905
|
-
var hk = /* @__PURE__ */
|
|
26905
|
+
var hk = /* @__PURE__ */ vc(function(e, t) {
|
|
26906
26906
|
var n = z0(e), r = NC(n);
|
|
26907
|
-
return /* @__PURE__ */ S.createElement(
|
|
26907
|
+
return /* @__PURE__ */ S.createElement(ou, He({
|
|
26908
26908
|
ref: t
|
|
26909
26909
|
}, r));
|
|
26910
26910
|
}), pk = hk, Qk = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], tB = function() {
|
|
@@ -26931,7 +26931,7 @@ var hk = /* @__PURE__ */ Qc(function(e, t) {
|
|
|
26931
26931
|
};
|
|
26932
26932
|
function mk(e) {
|
|
26933
26933
|
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, A = r === void 0 ? "last" : r, o = e.formatCreateLabel, i = o === void 0 ? og.formatCreateLabel : o, s = e.isValidNewOption, a = s === void 0 ? og.isValidNewOption : s, l = e.getNewOptionData, c = l === void 0 ? og.getNewOptionData : l, g = e.onCreateOption, E = e.options, p = E === void 0 ? [] : E, I = e.onChange, d = Vr(e, Qk), C = d.getOptionValue, f = C === void 0 ? R0 : C, B = d.getOptionLabel, h = B === void 0 ? _0 : B, Q = d.inputValue, v = d.isLoading, b = d.isMulti, y = d.value, m = d.name, x = Ne(function() {
|
|
26934
|
-
return a(Q,
|
|
26934
|
+
return a(Q, Ec(y), p, {
|
|
26935
26935
|
getOptionValue: f,
|
|
26936
26936
|
getOptionLabel: h
|
|
26937
26937
|
}) ? c(Q, i(Q)) : void 0;
|
|
@@ -26949,7 +26949,7 @@ function mk(e) {
|
|
|
26949
26949
|
name: m,
|
|
26950
26950
|
option: ie
|
|
26951
26951
|
};
|
|
26952
|
-
I(Sa(b, [].concat(Ci(
|
|
26952
|
+
I(Sa(b, [].concat(Ci(Ec(y)), [ie]), ie), Ee);
|
|
26953
26953
|
}
|
|
26954
26954
|
return;
|
|
26955
26955
|
}
|
|
@@ -26960,9 +26960,9 @@ function mk(e) {
|
|
|
26960
26960
|
onChange: P
|
|
26961
26961
|
});
|
|
26962
26962
|
}
|
|
26963
|
-
var vk = /* @__PURE__ */
|
|
26963
|
+
var vk = /* @__PURE__ */ vc(function(e, t) {
|
|
26964
26964
|
var n = z0(e), r = NC(n), A = mk(r);
|
|
26965
|
-
return /* @__PURE__ */ S.createElement(
|
|
26965
|
+
return /* @__PURE__ */ S.createElement(ou, He({
|
|
26966
26966
|
ref: t
|
|
26967
26967
|
}, A));
|
|
26968
26968
|
}), bk = vk;
|
|
@@ -27066,7 +27066,7 @@ function Sk({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
27066
27066
|
}
|
|
27067
27067
|
);
|
|
27068
27068
|
}
|
|
27069
|
-
const $i = "table-cell-form-field",
|
|
27069
|
+
const $i = "table-cell-form-field", iu = "60px", au = "24px", _k = T(pe)`
|
|
27070
27070
|
width: 100%;
|
|
27071
27071
|
`, Rk = T(pe)`
|
|
27072
27072
|
width: 100%;
|
|
@@ -27095,7 +27095,7 @@ const $i = "table-cell-form-field", Au = "60px", ou = "24px", _k = T(pe)`
|
|
|
27095
27095
|
border-bottom: 0;
|
|
27096
27096
|
}
|
|
27097
27097
|
`, Lk = T(J0)`
|
|
27098
|
-
--cell-padding: 10px ${
|
|
27098
|
+
--cell-padding: 10px ${au};
|
|
27099
27099
|
border-bottom: 1px solid var(--border-color);
|
|
27100
27100
|
`, ig = T(pe)`
|
|
27101
27101
|
border: var(--border-size) solid transparent;
|
|
@@ -27160,9 +27160,9 @@ const $i = "table-cell-form-field", Au = "60px", ou = "24px", _k = T(pe)`
|
|
|
27160
27160
|
font-weight: bold;
|
|
27161
27161
|
`, kk = T(Z1)`
|
|
27162
27162
|
&.${$i} .MuiInputBase-root {
|
|
27163
|
-
height: ${
|
|
27163
|
+
height: ${iu};
|
|
27164
27164
|
border: 0;
|
|
27165
|
-
padding-left: ${
|
|
27165
|
+
padding-left: ${au};
|
|
27166
27166
|
}
|
|
27167
27167
|
`;
|
|
27168
27168
|
function Mk(e) {
|
|
@@ -27213,7 +27213,7 @@ function Mk(e) {
|
|
|
27213
27213
|
}
|
|
27214
27214
|
const jk = T(Yo)`
|
|
27215
27215
|
&.${$i} {
|
|
27216
|
-
--v-margin: calc((${
|
|
27216
|
+
--v-margin: calc((${iu} - 36px) / 2);
|
|
27217
27217
|
--h-margin: calc((100% - 36px) / 2);
|
|
27218
27218
|
margin: var(--v-margin) var(--h-margin);
|
|
27219
27219
|
}
|
|
@@ -27490,11 +27490,11 @@ const Jk = T(pe)`
|
|
|
27490
27490
|
}
|
|
27491
27491
|
`, Xk = T(Sd)`
|
|
27492
27492
|
&.${$i} {
|
|
27493
|
-
height: ${
|
|
27493
|
+
height: ${iu};
|
|
27494
27494
|
position: relative;
|
|
27495
27495
|
& > div {
|
|
27496
27496
|
height: 100%;
|
|
27497
|
-
padding-left: ${
|
|
27497
|
+
padding-left: ${au};
|
|
27498
27498
|
}
|
|
27499
27499
|
|
|
27500
27500
|
fieldset.MuiOutlinedInput-notchedOutline {
|
|
@@ -27628,12 +27628,12 @@ const Jk = T(pe)`
|
|
|
27628
27628
|
}
|
|
27629
27629
|
|
|
27630
27630
|
& .${$i} {
|
|
27631
|
-
height: ${
|
|
27631
|
+
height: ${iu};
|
|
27632
27632
|
.hiverFormField__control {
|
|
27633
27633
|
height: 100%;
|
|
27634
27634
|
border: 0;
|
|
27635
27635
|
.hiverFormField__value-container {
|
|
27636
|
-
padding-left: ${
|
|
27636
|
+
padding-left: ${au};
|
|
27637
27637
|
}
|
|
27638
27638
|
}
|
|
27639
27639
|
.hiverFormField__indicators {
|
|
@@ -27919,7 +27919,7 @@ const Jk = T(pe)`
|
|
|
27919
27919
|
--include-width: calc(var(--cols) * var(--field-width));
|
|
27920
27920
|
width: calc(var(--include-width) + var(--include-gap));
|
|
27921
27921
|
max-width: 100%;
|
|
27922
|
-
`,
|
|
27922
|
+
`, Bc = ({
|
|
27923
27923
|
formConfig: e,
|
|
27924
27924
|
icons: t,
|
|
27925
27925
|
selectChangeHandler: n,
|
|
@@ -28096,7 +28096,7 @@ function f8(e) {
|
|
|
28096
28096
|
Array.isArray(i) ? o = i.join(", ") : o = i;
|
|
28097
28097
|
} else
|
|
28098
28098
|
o = e[A];
|
|
28099
|
-
r === Lr.authType && (o = Object.values(tA).filter((i) => i.value === o)[0]), r === ho.apiAddTo && (o = Object.values(
|
|
28099
|
+
r === Lr.authType && (o = Object.values(tA).filter((i) => i.value === o)[0]), r === ho.apiAddTo && (o = Object.values(lu).filter((i) => i.value === o)[0]), t[r] = o;
|
|
28100
28100
|
}
|
|
28101
28101
|
}), t;
|
|
28102
28102
|
}
|
|
@@ -28112,7 +28112,7 @@ const B8 = (e, t) => {
|
|
|
28112
28112
|
return t.startsWith("https://") ? e.endsWith("/") ? a9 : /^https:\/\/([a-z0-9-]+(\.[a-z0-9-]+)+)(:[0-9]{1,5})?(\/[^\s/]*)*$/i.test(t) ? !0 : o9 : i9;
|
|
28113
28113
|
}
|
|
28114
28114
|
return !1;
|
|
28115
|
-
},
|
|
28115
|
+
}, su = (e) => {
|
|
28116
28116
|
const t = Object.entries(e).map(([n, r]) => [r, n]);
|
|
28117
28117
|
return Object.fromEntries(t);
|
|
28118
28118
|
}, r1 = (e) => {
|
|
@@ -28187,7 +28187,7 @@ const B8 = (e, t) => {
|
|
|
28187
28187
|
oAuth1: { label: "OAuth1.0", value: ea },
|
|
28188
28188
|
oAuth2: { label: "OAuth2.0", value: bs },
|
|
28189
28189
|
basicAuth: { label: "Basic Auth", value: ys }
|
|
28190
|
-
},
|
|
28190
|
+
}, lu = {
|
|
28191
28191
|
header: { label: "Header", value: "header" },
|
|
28192
28192
|
queryParam: { label: "Query Param", value: "queryParam" }
|
|
28193
28193
|
}, p8 = ["basicForm"], Q8 = {
|
|
@@ -28228,7 +28228,7 @@ const B8 = (e, t) => {
|
|
|
28228
28228
|
type: "select",
|
|
28229
28229
|
name: _e.apiAddTo,
|
|
28230
28230
|
label: "Add To",
|
|
28231
|
-
options: Object.values(
|
|
28231
|
+
options: Object.values(lu),
|
|
28232
28232
|
toolTipTitle: "Specify how the API key should be added to the API request—either in the request headers or as a query parameter."
|
|
28233
28233
|
},
|
|
28234
28234
|
{
|
|
@@ -28507,7 +28507,7 @@ const B8 = (e, t) => {
|
|
|
28507
28507
|
[ri.oAuth1TokenSecret]: "tokenSecret",
|
|
28508
28508
|
[ri.oAuth1AccessToken]: "accessToken",
|
|
28509
28509
|
[ri.oAuth1Realm]: "realm"
|
|
28510
|
-
}, m8 =
|
|
28510
|
+
}, m8 = su(zC), YC = {
|
|
28511
28511
|
[pA.oAuthClientId]: "clientId",
|
|
28512
28512
|
[pA.oAuthClientSecret]: "clientSecret",
|
|
28513
28513
|
[Lr.authType]: "authType",
|
|
@@ -28517,22 +28517,22 @@ const B8 = (e, t) => {
|
|
|
28517
28517
|
[pA.oAuthScopes]: "scopes",
|
|
28518
28518
|
[pA.oAuthHeaderName]: "keyName",
|
|
28519
28519
|
[pA.oAuthHeaderPrefix]: "prefix"
|
|
28520
|
-
}, v8 =
|
|
28520
|
+
}, v8 = su(YC), JC = {
|
|
28521
28521
|
[Lr.authType]: "authType",
|
|
28522
28522
|
[ho.apiAddTo]: "location",
|
|
28523
28523
|
[ho.apiKey]: "keyValue",
|
|
28524
28524
|
[ho.apiHeaderName]: "keyName",
|
|
28525
28525
|
[ho.apiHeaderPrefix]: "prefix",
|
|
28526
28526
|
[ho.apiParamName]: "keyName"
|
|
28527
|
-
}, b8 =
|
|
28527
|
+
}, b8 = su(JC), XC = {
|
|
28528
28528
|
[Lr.authType]: "authType",
|
|
28529
28529
|
[Ai.basicAuthAddTo]: "location",
|
|
28530
28530
|
[Ai.basicAuthKey]: "keyValue",
|
|
28531
28531
|
[Ai.basicAuthSecret]: "secretValue",
|
|
28532
28532
|
[Ai.basicAuthHeaderName]: "keyName",
|
|
28533
28533
|
[Ai.basicAuthPrefix]: "prefix"
|
|
28534
|
-
}, y8 =
|
|
28535
|
-
values: { authType: tA.apiToken, apiAddTo:
|
|
28534
|
+
}, y8 = su(XC), x8 = {
|
|
28535
|
+
values: { authType: tA.apiToken, apiAddTo: lu.header },
|
|
28536
28536
|
errors: {}
|
|
28537
28537
|
}, nA = {
|
|
28538
28538
|
SET_FIELD_VALUE: "SET_FIELD_VALUE",
|
|
@@ -28742,7 +28742,7 @@ const B8 = (e, t) => {
|
|
|
28742
28742
|
}));
|
|
28743
28743
|
}, P = () => {
|
|
28744
28744
|
const oe = {};
|
|
28745
|
-
return typeof a.values.apiAddTo == "object" && a.values.apiAddTo.value ===
|
|
28745
|
+
return typeof a.values.apiAddTo == "object" && a.values.apiAddTo.value === lu.queryParam.value ? (oe.apiHeaderPrefix = !1, oe.apiHeaderName = !1) : oe.apiParamName = !1, oe;
|
|
28746
28746
|
}, U = () => {
|
|
28747
28747
|
const oe = P(), G = RE(j());
|
|
28748
28748
|
return !Object.keys(a.errors).filter((_) => !!a.errors[_]).filter((_) => _ in oe ? oe[_] : !0).filter((_) => _ in G).length;
|
|
@@ -28789,7 +28789,7 @@ const B8 = (e, t) => {
|
|
|
28789
28789
|
] }),
|
|
28790
28790
|
/* @__PURE__ */ u.jsxs(R8, { id: "conectors-auth-form", children: [
|
|
28791
28791
|
/* @__PURE__ */ u.jsx(
|
|
28792
|
-
|
|
28792
|
+
Bc,
|
|
28793
28793
|
{
|
|
28794
28794
|
formConfig: C ? Ee : j(),
|
|
28795
28795
|
selectChangeHandler: m,
|
|
@@ -28802,7 +28802,7 @@ const B8 = (e, t) => {
|
|
|
28802
28802
|
}
|
|
28803
28803
|
),
|
|
28804
28804
|
C && Te && /* @__PURE__ */ u.jsx(g8, { titleNode: /* @__PURE__ */ u.jsx(ue, { variant: "h3", children: "Advanced settings" }), children: /* @__PURE__ */ u.jsx(
|
|
28805
|
-
|
|
28805
|
+
Bc,
|
|
28806
28806
|
{
|
|
28807
28807
|
formConfig: xe,
|
|
28808
28808
|
selectChangeHandler: m,
|
|
@@ -29004,7 +29004,7 @@ const X8 = T(H)`
|
|
|
29004
29004
|
return Promise.reject(n);
|
|
29005
29005
|
}
|
|
29006
29006
|
}, rM = ({ connectorId: e, onSuccess: t }) => {
|
|
29007
|
-
const n = Gi(), r = Ne(() => ["authDetails", { connectorId: e }], [e]), { data: A } =
|
|
29007
|
+
const n = Gi(), r = Ne(() => ["authDetails", { connectorId: e }], [e]), { data: A } = Mc({
|
|
29008
29008
|
queryKey: r,
|
|
29009
29009
|
queryFn: () => Promise.resolve({
|
|
29010
29010
|
authUrl: "",
|
|
@@ -29053,7 +29053,7 @@ const X8 = T(H)`
|
|
|
29053
29053
|
return Promise.reject(n);
|
|
29054
29054
|
}
|
|
29055
29055
|
}, oM = ({ connectorId: e, enabled: t = !1 }) => {
|
|
29056
|
-
const n = Gi(), r = Ne(() => ["authSuccessStatus", { connectorId: e }], [e]), A =
|
|
29056
|
+
const n = Gi(), r = Ne(() => ["authSuccessStatus", { connectorId: e }], [e]), A = Mc({
|
|
29057
29057
|
queryKey: r,
|
|
29058
29058
|
queryFn: () => AM(e),
|
|
29059
29059
|
refetchInterval: (o) => {
|
|
@@ -29068,7 +29068,7 @@ const X8 = T(H)`
|
|
|
29068
29068
|
n.removeQueries({ queryKey: r, exact: !0 });
|
|
29069
29069
|
}, [n, r]), A;
|
|
29070
29070
|
}, iM = () => {
|
|
29071
|
-
const { sendTrackingEvent: e, availableFeatures: t } = ze(In), [n, r] = de(!1), A = dt(
|
|
29071
|
+
const { sendTrackingEvent: e, availableFeatures: t } = ze(In), [n, r] = de(!1), A = dt(Hc), o = dt(Yd), i = dt(cC), s = dt(wp), a = Me(null), l = mn(), { id: c = "" } = ao(), [g] = Jo(), E = g.get("isEdit") === "true", p = (A == null ? void 0 : A[c]) || null, I = (o == null ? void 0 : o[c]) || null, d = E ? p : I, C = !!(d != null && d.showUpgradeButton), f = cA(t, Jb), {
|
|
29072
29072
|
data: B,
|
|
29073
29073
|
mutateStatus: h,
|
|
29074
29074
|
mutate: Q
|
|
@@ -29115,7 +29115,7 @@ const X8 = T(H)`
|
|
|
29115
29115
|
case at.BASIC_AUTH_SUCCESS:
|
|
29116
29116
|
case at.OAUTH1_SUCCESS:
|
|
29117
29117
|
case at.OAUTH_SUCCESS: {
|
|
29118
|
-
oA({ message: C ? vf : t9, type:
|
|
29118
|
+
oA({ message: C ? vf : t9, type: tc }), e(vt.CONNECTOR_AUTH_SUCCESS, {
|
|
29119
29119
|
connector_name: d == null ? void 0 : d.name
|
|
29120
29120
|
});
|
|
29121
29121
|
break;
|
|
@@ -29131,7 +29131,7 @@ const X8 = T(H)`
|
|
|
29131
29131
|
break;
|
|
29132
29132
|
}
|
|
29133
29133
|
case at.API_KEY_SUCCESS: {
|
|
29134
|
-
oA({ message: C ? vf : A9, type:
|
|
29134
|
+
oA({ message: C ? vf : A9, type: tc }), e(vt.CONNECTOR_AUTH_SUCCESS, {
|
|
29135
29135
|
connector_name: d == null ? void 0 : d.name
|
|
29136
29136
|
});
|
|
29137
29137
|
break;
|
|
@@ -29191,7 +29191,7 @@ const X8 = T(H)`
|
|
|
29191
29191
|
const e = so(), t = dt(sM), n = dt(aM);
|
|
29192
29192
|
return ve(() => {
|
|
29193
29193
|
const r = new URLSearchParams(window.location.search), A = r.get($N), o = r.get(e9);
|
|
29194
|
-
window.opener && o && A && e(
|
|
29194
|
+
window.opener && o && A && e(gl({ data: { token: A }, connectorId: o }));
|
|
29195
29195
|
}, [e]), ve(() => {
|
|
29196
29196
|
window.opener && t && window.opener.postMessage(
|
|
29197
29197
|
n === Le.FAILED ? Ym : dd,
|
|
@@ -30161,7 +30161,7 @@ const X8 = T(H)`
|
|
|
30161
30161
|
connectorFunctions: A,
|
|
30162
30162
|
children: oy(r) ? /* @__PURE__ */ u.jsx(yM, { availableFeatures: r }) : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
30163
30163
|
/* @__PURE__ */ u.jsx(gM, { basename: e, metaData: n.metaData, userId: o }),
|
|
30164
|
-
|
|
30164
|
+
bc(
|
|
30165
30165
|
/* @__PURE__ */ u.jsx(TM, { id: "toast-message", children: /* @__PURE__ */ u.jsx(
|
|
30166
30166
|
Ch,
|
|
30167
30167
|
{
|
|
@@ -30180,7 +30180,7 @@ const X8 = T(H)`
|
|
|
30180
30180
|
] })
|
|
30181
30181
|
}
|
|
30182
30182
|
) }) });
|
|
30183
|
-
}, _M = "rls-connectors-enabled", RM = "ftr-connectors-enabled", DM = "ftr-connector-blue-dot", OM = "ftr-connectors-admin-schedule-call", LM = "ftr-connectors-admin-guide-links", NM = "ftr-connectors-enhancements", PM = "ftr-connector-preview", FM = "ftr-connectors-oauth-flow-improvements",
|
|
30183
|
+
}, _M = "rls-connectors-enabled", RM = "ftr-connectors-enabled", DM = "ftr-connector-blue-dot", OM = "ftr-connectors-admin-schedule-call", LM = "ftr-connectors-admin-guide-links", NM = "ftr-connectors-enhancements", PM = "ftr-connector-preview", FM = "ftr-connectors-oauth-flow-improvements", hc = "Apps", kM = "On a higher plan", MM = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.", jM = "Upgrade", UM = "Learn more", GM = "Have any questions?", VM = "Contact us", HM = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", WM = "Hiver Chat Support", zM = "Copy", xs = "hiver_connectors", YM = "enableAllConnectorFtr", JM = "Authentication expired. Click to reconnect your app.", XM = "New update available. Click to upgrade your app.", KM = "Support ending soon. Switch to the new :connectorName app.", qM = "App is inactive. Click to enable it.", ZM = "New upgrade is available for :connectorName. Re-authenticate to get access to all updates.", $M = "Authentication failed for :connectorName.", e7 = ":connectorName is deprecated";
|
|
30184
30184
|
function a1(e, t) {
|
|
30185
30185
|
const n = {};
|
|
30186
30186
|
return e.forEach((r) => {
|
|
@@ -30225,7 +30225,7 @@ const Mr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[YM])
|
|
|
30225
30225
|
}).catch(() => {
|
|
30226
30226
|
console.log("something went wrong while copying using navigator.clipboard function. Trying fallback copy"), r7(e, t);
|
|
30227
30227
|
});
|
|
30228
|
-
}, o7 = (e) => ["sm.full"].some((n) => e.includes(n)), c1 = (e) => Object.keys(e).filter((t) => e[t]).join(" "),
|
|
30228
|
+
}, o7 = (e) => ["sm.full"].some((n) => e.includes(n)), c1 = (e) => Object.keys(e).filter((t) => e[t]).join(" "), Zs = (e, t) => Array.from({ length: e }, (n, r) => t(r)), ta = (e, t) => e.replace(/:(\w+)/g, (n, r) => String(t[r]) || ""), u1 = ({
|
|
30229
30229
|
connector: e,
|
|
30230
30230
|
isTemplate: t = !1
|
|
30231
30231
|
}) => {
|
|
@@ -30256,16 +30256,16 @@ const Mr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[YM])
|
|
|
30256
30256
|
}), c7 = (e) => ft({
|
|
30257
30257
|
url: s7.replace("{{templateId}}", e),
|
|
30258
30258
|
method: Tn.GET
|
|
30259
|
-
}), g1 = (e) => e.templateLibrary.connectorTemplateList,
|
|
30259
|
+
}), g1 = (e) => e.templateLibrary.connectorTemplateList, ws = (e) => e.templateLibrary.connectorTemplates, u7 = (e) => e.templateLibrary.templateListApiStatus, g7 = (e) => e.templateLibrary.templateListApiStatus, d1 = (e) => e.templateLibrary.templateDetailsApiStatus, d7 = gA({
|
|
30260
30260
|
name: "templateLibrary",
|
|
30261
30261
|
initialState: i7,
|
|
30262
30262
|
reducers: {},
|
|
30263
30263
|
extraReducers: (e) => {
|
|
30264
|
-
e.addCase(
|
|
30264
|
+
e.addCase(yl.pending, (t) => {
|
|
30265
30265
|
t.templateListApiStatus = ye.LOADING;
|
|
30266
|
-
}).addCase(
|
|
30266
|
+
}).addCase(yl.fulfilled, (t, n) => {
|
|
30267
30267
|
t.templateListApiStatus = ye.IDLE, t.connectorTemplateList = n.payload.connectorList, t.connectorTemplates = n.payload.connectors;
|
|
30268
|
-
}).addCase(
|
|
30268
|
+
}).addCase(yl.rejected, (t, n) => {
|
|
30269
30269
|
t.templateListApiStatus = ye.FAILED, console.error(n.error);
|
|
30270
30270
|
}).addCase(Ma.pending, (t) => {
|
|
30271
30271
|
t.templateDetailsApiStatus = ye.LOADING;
|
|
@@ -30277,7 +30277,7 @@ const Mr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[YM])
|
|
|
30277
30277
|
t.templateDetailsApiStatus = ye.FAILED, console.error(n.error);
|
|
30278
30278
|
});
|
|
30279
30279
|
}
|
|
30280
|
-
}),
|
|
30280
|
+
}), yl = _t("connectorLibrary/fetchConnectorTemplates", async () => {
|
|
30281
30281
|
const e = await l7();
|
|
30282
30282
|
if (!e || !e.data || !Array.isArray(e.data))
|
|
30283
30283
|
return {
|
|
@@ -30372,7 +30372,7 @@ const Mr = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[YM])
|
|
|
30372
30372
|
fill: #ffffff;
|
|
30373
30373
|
width: 10px;
|
|
30374
30374
|
}
|
|
30375
|
-
`, F7 = (e, { closeToast: t }) => /* @__PURE__ */ u.jsx(P7, { children: /* @__PURE__ */ u.jsx("img", { src: D7, onClick: t }) }),
|
|
30375
|
+
`, F7 = (e, { closeToast: t }) => /* @__PURE__ */ u.jsx(P7, { children: /* @__PURE__ */ u.jsx("img", { src: D7, onClick: t }) }), $s = ({ message: e }) => /* @__PURE__ */ u.jsxs(O7, { children: [
|
|
30376
30376
|
/* @__PURE__ */ u.jsx(N7, {}),
|
|
30377
30377
|
/* @__PURE__ */ u.jsx(L7, { children: e })
|
|
30378
30378
|
] }), is = "success", xA = "error", KC = "info-dark", E1 = "Error in toggling app state", I1 = "App disabled successfully", bd = "Something went wrong";
|
|
@@ -30390,19 +30390,19 @@ function $n(e) {
|
|
|
30390
30390
|
let o;
|
|
30391
30391
|
switch (n) {
|
|
30392
30392
|
case is: {
|
|
30393
|
-
o = lt.success(/* @__PURE__ */ u.jsx(
|
|
30393
|
+
o = lt.success(/* @__PURE__ */ u.jsx($s, { message: t }), { ...A, icon: !1 });
|
|
30394
30394
|
break;
|
|
30395
30395
|
}
|
|
30396
30396
|
case xA: {
|
|
30397
|
-
o = lt.error(/* @__PURE__ */ u.jsx(
|
|
30397
|
+
o = lt.error(/* @__PURE__ */ u.jsx($s, { message: t }), { ...A, icon: !1 });
|
|
30398
30398
|
break;
|
|
30399
30399
|
}
|
|
30400
30400
|
case KC: {
|
|
30401
|
-
o = lt.info(/* @__PURE__ */ u.jsx(
|
|
30401
|
+
o = lt.info(/* @__PURE__ */ u.jsx($s, { message: t }), { ...A, icon: !1 });
|
|
30402
30402
|
break;
|
|
30403
30403
|
}
|
|
30404
30404
|
default: {
|
|
30405
|
-
o = lt.info(/* @__PURE__ */ u.jsx(
|
|
30405
|
+
o = lt.info(/* @__PURE__ */ u.jsx($s, { message: t }), { ...A, icon: !1 });
|
|
30406
30406
|
break;
|
|
30407
30407
|
}
|
|
30408
30408
|
}
|
|
@@ -30431,11 +30431,11 @@ const _a = {
|
|
|
30431
30431
|
initialState: E7,
|
|
30432
30432
|
reducers: {},
|
|
30433
30433
|
extraReducers: (e) => {
|
|
30434
|
-
e.addCase(
|
|
30434
|
+
e.addCase(Tl.pending, (t) => {
|
|
30435
30435
|
t.connectorsApiStatus = ye.LOADING;
|
|
30436
|
-
}).addCase(
|
|
30436
|
+
}).addCase(Tl.fulfilled, (t, n) => {
|
|
30437
30437
|
t.connectorsApiStatus = ye.IDLE, t.connectorList = n.payload.connectorList, t.connectors = n.payload.connectors, t.requireUpgradeConnectors = n.payload.requireUpgradeConnectors, t.notAuthenticatedConnectors = n.payload.notAuthenticatedConnectors;
|
|
30438
|
-
}).addCase(
|
|
30438
|
+
}).addCase(Tl.rejected, (t, n) => {
|
|
30439
30439
|
t.connectorsApiStatus = ye.FAILED, console.error(n.error);
|
|
30440
30440
|
}).addCase(ja.pending, (t, n) => {
|
|
30441
30441
|
var A;
|
|
@@ -30464,50 +30464,50 @@ const _a = {
|
|
|
30464
30464
|
});
|
|
30465
30465
|
}).addCase(Ua.rejected, (t, n) => {
|
|
30466
30466
|
t.connectorDetailApiStatus = ye.FAILED, console.error(n.error);
|
|
30467
|
-
}).addCase(
|
|
30467
|
+
}).addCase(wl.pending, (t) => {
|
|
30468
30468
|
t.rolesAndPermissionsApiStatus = ye.LOADING;
|
|
30469
|
-
}).addCase(
|
|
30469
|
+
}).addCase(wl.fulfilled, (t, n) => {
|
|
30470
30470
|
t.rolesAndPermissionsApiStatus = ye.IDLE;
|
|
30471
30471
|
const { rolesAndPermissions: r } = n.payload;
|
|
30472
30472
|
t.rolesAndPermissions = r;
|
|
30473
|
-
}).addCase(
|
|
30473
|
+
}).addCase(wl.rejected, (t, n) => {
|
|
30474
30474
|
t.rolesAndPermissionsApiStatus = ye.FAILED, console.error(n.error);
|
|
30475
|
-
}).addCase(
|
|
30475
|
+
}).addCase(xl.pending, (t) => {
|
|
30476
30476
|
t.updateEnableConnectorsApiStatus = ye.LOADING;
|
|
30477
|
-
}).addCase(
|
|
30477
|
+
}).addCase(xl.fulfilled, (t, n) => {
|
|
30478
30478
|
var l;
|
|
30479
30479
|
t.updateEnableConnectorsApiStatus = ye.IDLE;
|
|
30480
30480
|
const { cardId: r, data: A, currentConnector: o } = n.payload.params, { roles: i, inboxes: s, fields: a } = A;
|
|
30481
30481
|
t != null && t.connectors && (t.connectors[o].cardList = (l = t.connectors[o].cardList) == null ? void 0 : l.map(
|
|
30482
30482
|
(c) => (c.id === r && (c = { ...c, inboxes: s, roles: i, fields: a }), c)
|
|
30483
30483
|
));
|
|
30484
|
-
}).addCase(
|
|
30484
|
+
}).addCase(xl.rejected, (t) => {
|
|
30485
30485
|
t.updateEnableConnectorsApiStatus = ye.FAILED;
|
|
30486
|
-
}).addCase(
|
|
30486
|
+
}).addCase(Sl.pending, (t) => {
|
|
30487
30487
|
t.cardCustomFieldsApiStatus = ye.LOADING;
|
|
30488
|
-
}).addCase(
|
|
30488
|
+
}).addCase(Sl.fulfilled, (t, n) => {
|
|
30489
30489
|
t.cardCustomFieldsApiStatus = ye.IDLE;
|
|
30490
30490
|
const { cardId: r, customFields: A } = n.payload;
|
|
30491
30491
|
t.cardCustomFields = {
|
|
30492
30492
|
...t.cardCustomFields,
|
|
30493
30493
|
[r]: A
|
|
30494
30494
|
};
|
|
30495
|
-
}).addCase(
|
|
30495
|
+
}).addCase(Sl.rejected, (t, n) => {
|
|
30496
30496
|
t.cardCustomFieldsApiStatus = ye.FAILED, console.error(n.error);
|
|
30497
|
-
}).addCase(
|
|
30497
|
+
}).addCase(_l.pending, (t) => {
|
|
30498
30498
|
t.fetchCustomCardsApiStatus = ye.LOADING;
|
|
30499
|
-
}).addCase(
|
|
30499
|
+
}).addCase(_l.fulfilled, (t, n) => {
|
|
30500
30500
|
t.fetchCustomCardsApiStatus = ye.IDLE;
|
|
30501
30501
|
const { connectorId: r, customCards: A } = n.payload;
|
|
30502
30502
|
t != null && t.connectors && (t.connectors[r].customCardsList = A);
|
|
30503
|
-
}).addCase(
|
|
30503
|
+
}).addCase(_l.rejected, (t, n) => {
|
|
30504
30504
|
t.fetchCustomCardsApiStatus = ye.FAILED, console.error(n.error);
|
|
30505
|
-
}).addCase(
|
|
30505
|
+
}).addCase(Rl.pending, (t, n) => {
|
|
30506
30506
|
const {
|
|
30507
30507
|
data: { cardKey: r }
|
|
30508
30508
|
} = n.meta.arg;
|
|
30509
30509
|
t.enableCustomCardApiStatus[r] = ye.LOADING;
|
|
30510
|
-
}).addCase(
|
|
30510
|
+
}).addCase(Rl.fulfilled, (t, n) => {
|
|
30511
30511
|
var i;
|
|
30512
30512
|
const { connectorId: r, cardData: A, customCardData: o } = n.payload;
|
|
30513
30513
|
t.enableCustomCardApiStatus[o.cardKey] = ye.IDLE, t != null && t.connectors && A && o && (t.connectors[r].cardList = [
|
|
@@ -30516,19 +30516,19 @@ const _a = {
|
|
|
30516
30516
|
], t.connectors[r].customCardsList = (i = t.connectors[r].customCardsList) == null ? void 0 : i.filter(
|
|
30517
30517
|
({ cardKey: s }) => s !== o.cardKey
|
|
30518
30518
|
));
|
|
30519
|
-
}).addCase(
|
|
30519
|
+
}).addCase(Rl.rejected, (t, n) => {
|
|
30520
30520
|
const {
|
|
30521
30521
|
data: { cardKey: r }
|
|
30522
30522
|
} = n.meta.arg;
|
|
30523
30523
|
t.enableCustomCardApiStatus[r] = ye.FAILED, console.error(n.error);
|
|
30524
|
-
}).addCase(
|
|
30524
|
+
}).addCase(Dl.pending, (t) => {
|
|
30525
30525
|
t.updateConnectorByIdApiStatus = ye.LOADING;
|
|
30526
|
-
}).addCase(
|
|
30526
|
+
}).addCase(Dl.fulfilled, (t) => {
|
|
30527
30527
|
t.updateConnectorByIdApiStatus = ye.IDLE, $n({
|
|
30528
30528
|
type: is,
|
|
30529
30529
|
message: "Successfully enabled app"
|
|
30530
30530
|
});
|
|
30531
|
-
}).addCase(
|
|
30531
|
+
}).addCase(Dl.rejected, (t) => {
|
|
30532
30532
|
t.updateConnectorByIdApiStatus = ye.FAILED, $n({
|
|
30533
30533
|
type: xA,
|
|
30534
30534
|
message: bd
|
|
@@ -30538,10 +30538,10 @@ const _a = {
|
|
|
30538
30538
|
}), ja = _t(
|
|
30539
30539
|
"connectorLibrary/updateConnectors",
|
|
30540
30540
|
async (e) => (await y7(e), { params: e })
|
|
30541
|
-
),
|
|
30541
|
+
), xl = _t(
|
|
30542
30542
|
"connectorLibrary/updateEnableConnectors",
|
|
30543
30543
|
async (e) => (await w7(e), { params: e })
|
|
30544
|
-
),
|
|
30544
|
+
), wl = _t(
|
|
30545
30545
|
"connectorLibrary/getRolesAndPermissions",
|
|
30546
30546
|
async (e) => {
|
|
30547
30547
|
var r;
|
|
@@ -30550,7 +30550,7 @@ const _a = {
|
|
|
30550
30550
|
displayName: M7[A.name]
|
|
30551
30551
|
}))) ?? [] };
|
|
30552
30552
|
}
|
|
30553
|
-
),
|
|
30553
|
+
), Tl = _t("connectorLibrary/fetchConnectors", async () => {
|
|
30554
30554
|
const e = await b7(), t = [], n = [];
|
|
30555
30555
|
if (!e || !e.data || !Array.isArray(e.data))
|
|
30556
30556
|
return {
|
|
@@ -30581,7 +30581,7 @@ const _a = {
|
|
|
30581
30581
|
connector: t.data,
|
|
30582
30582
|
connectorId: e
|
|
30583
30583
|
};
|
|
30584
|
-
}),
|
|
30584
|
+
}), Sl = _t(
|
|
30585
30585
|
"connectorLibrary/fetchCardsCustomFields",
|
|
30586
30586
|
async (e) => {
|
|
30587
30587
|
const t = await T7(e);
|
|
@@ -30599,7 +30599,7 @@ const _a = {
|
|
|
30599
30599
|
return !(n.cardCustomFields[e] && n.cardCustomFields[e].length !== 0);
|
|
30600
30600
|
}
|
|
30601
30601
|
}
|
|
30602
|
-
),
|
|
30602
|
+
), _l = _t("connectorLibrary/fetchCustomCards", async (e) => {
|
|
30603
30603
|
const t = await S7(e);
|
|
30604
30604
|
if (!t || !t.data || !Array.isArray(t.data))
|
|
30605
30605
|
return {
|
|
@@ -30615,7 +30615,7 @@ const _a = {
|
|
|
30615
30615
|
connectorId: e,
|
|
30616
30616
|
customCards: r
|
|
30617
30617
|
};
|
|
30618
|
-
}),
|
|
30618
|
+
}), Rl = _t(
|
|
30619
30619
|
"connectorLibrary/enableCustomCard",
|
|
30620
30620
|
async ({ connectorId: e, data: t }) => {
|
|
30621
30621
|
const n = await _7({ connectorId: e, data: t });
|
|
@@ -30629,7 +30629,7 @@ const _a = {
|
|
|
30629
30629
|
cardData: n.data
|
|
30630
30630
|
};
|
|
30631
30631
|
}
|
|
30632
|
-
),
|
|
30632
|
+
), Dl = _t(
|
|
30633
30633
|
"connectorLibrary/updateConnectorById",
|
|
30634
30634
|
async ({ connectorId: e, data: t }) => {
|
|
30635
30635
|
await R7({ connectorId: e, data: t });
|
|
@@ -30661,11 +30661,11 @@ const _a = {
|
|
|
30661
30661
|
resetState: () => IB
|
|
30662
30662
|
},
|
|
30663
30663
|
extraReducers: (e) => {
|
|
30664
|
-
e.addCase(
|
|
30664
|
+
e.addCase(Ol.pending, (t) => {
|
|
30665
30665
|
t.authVerificationDone = !1, t.verifyTokenApiStatus = ye.LOADING;
|
|
30666
|
-
}).addCase(
|
|
30666
|
+
}).addCase(Ol.fulfilled, (t) => {
|
|
30667
30667
|
t.authVerificationDone = !0, t.verifyTokenApiStatus = ye.IDLE;
|
|
30668
|
-
}).addCase(
|
|
30668
|
+
}).addCase(Ol.rejected, (t, n) => {
|
|
30669
30669
|
t.authVerificationDone = !0, t.verifyTokenApiStatus = ye.FAILED, console.error(n.error);
|
|
30670
30670
|
}).addCase(ag.pending, (t) => {
|
|
30671
30671
|
t.testApiStatus = ye.LOADING;
|
|
@@ -30694,7 +30694,7 @@ const _a = {
|
|
|
30694
30694
|
statusCode: String(r.statusCode)
|
|
30695
30695
|
};
|
|
30696
30696
|
}
|
|
30697
|
-
),
|
|
30697
|
+
), Ol = _t(
|
|
30698
30698
|
"auth/verifyToken",
|
|
30699
30699
|
async ({ data: e, connectorId: t }) => {
|
|
30700
30700
|
await J7(e, t);
|
|
@@ -30715,21 +30715,21 @@ const _a = {
|
|
|
30715
30715
|
initialState: q7,
|
|
30716
30716
|
reducers: {},
|
|
30717
30717
|
extraReducers: (e) => {
|
|
30718
|
-
e.addCase(
|
|
30718
|
+
e.addCase(Ll.pending, (t) => {
|
|
30719
30719
|
t.connectorRequestsApiStatus = ye.LOADING;
|
|
30720
|
-
}).addCase(
|
|
30720
|
+
}).addCase(Ll.fulfilled, (t, n) => {
|
|
30721
30721
|
t.connectorRequestsApiStatus = ye.IDLE, t.requestableConnectors = n.payload.requestableConnectors, t.requestableApis = n.payload.requestableApis;
|
|
30722
|
-
}).addCase(
|
|
30722
|
+
}).addCase(Ll.rejected, (t) => {
|
|
30723
30723
|
t.connectorRequestsApiStatus = ye.FAILED;
|
|
30724
|
-
}).addCase(
|
|
30724
|
+
}).addCase(Nl.pending, (t) => {
|
|
30725
30725
|
t.connectorRequestsApiStatus = ye.LOADING;
|
|
30726
|
-
}).addCase(
|
|
30726
|
+
}).addCase(Nl.fulfilled, (t) => {
|
|
30727
30727
|
t.connectorRequestsApiStatus = ye.IDLE;
|
|
30728
|
-
}).addCase(
|
|
30728
|
+
}).addCase(Nl.rejected, (t) => {
|
|
30729
30729
|
t.connectorRequestsApiStatus = ye.FAILED;
|
|
30730
30730
|
});
|
|
30731
30731
|
}
|
|
30732
|
-
}),
|
|
30732
|
+
}), Ll = _t("connectorLibrary/fetchConnectorRequests", async () => {
|
|
30733
30733
|
const e = await Z7();
|
|
30734
30734
|
if (!e || !e.data)
|
|
30735
30735
|
return {
|
|
@@ -30741,7 +30741,7 @@ const _a = {
|
|
|
30741
30741
|
requestableConnectors: n,
|
|
30742
30742
|
requestableApis: r
|
|
30743
30743
|
};
|
|
30744
|
-
}),
|
|
30744
|
+
}), Nl = _t(
|
|
30745
30745
|
"connectorLibrary/submitConnectorRequest",
|
|
30746
30746
|
async (e) => (await $7(e), { params: e })
|
|
30747
30747
|
), tj = ej.reducer, nj = {
|
|
@@ -30753,17 +30753,17 @@ const _a = {
|
|
|
30753
30753
|
initialState: nj,
|
|
30754
30754
|
reducers: {},
|
|
30755
30755
|
extraReducers: (e) => {
|
|
30756
|
-
e.addCase(
|
|
30756
|
+
e.addCase(Pl.pending, (t) => {
|
|
30757
30757
|
t.fetchInboxApiStatus = ye.LOADING;
|
|
30758
|
-
}).addCase(
|
|
30758
|
+
}).addCase(Pl.fulfilled, (t, n) => {
|
|
30759
30759
|
t.fetchInboxApiStatus = ye.IDLE;
|
|
30760
30760
|
const { chatInbox: r, emailInbox: A } = n.payload;
|
|
30761
30761
|
t.chatInboxDetails = r, t.emailInboxDetails = A;
|
|
30762
|
-
}).addCase(
|
|
30762
|
+
}).addCase(Pl.rejected, (t, n) => {
|
|
30763
30763
|
t.fetchInboxApiStatus = ye.FAILED, console.error(n.error);
|
|
30764
30764
|
});
|
|
30765
30765
|
}
|
|
30766
|
-
}),
|
|
30766
|
+
}), Pl = _t(
|
|
30767
30767
|
"connectorLibrary/getInboxDetails",
|
|
30768
30768
|
async (e) => {
|
|
30769
30769
|
const t = await e();
|
|
@@ -30805,7 +30805,7 @@ const _a = {
|
|
|
30805
30805
|
}) => {
|
|
30806
30806
|
const [i, s] = de(""), [a, l] = de([]), c = Hr();
|
|
30807
30807
|
return ve(() => {
|
|
30808
|
-
A && (c(
|
|
30808
|
+
A && (c(Pl(A.getInboxDetails)), c(wl(A.getRoles)));
|
|
30809
30809
|
}, [A, c]), /* @__PURE__ */ u.jsx(
|
|
30810
30810
|
tn.Provider,
|
|
30811
30811
|
{
|
|
@@ -30908,7 +30908,7 @@ const _a = {
|
|
|
30908
30908
|
border: 1px solid ${le.palette.gray.gray6};
|
|
30909
30909
|
border-radius: 8px;
|
|
30910
30910
|
box-sizing: border-box;
|
|
30911
|
-
`,
|
|
30911
|
+
`, Fl = () => /* @__PURE__ */ u.jsx(H, { marginTop: "28px", gap: "12px", "data-testid": "loading", flexDirection: "row", flexWrap: "wrap", children: Array(6).fill(0).map((e, t) => /* @__PURE__ */ u.jsx(_j, { justifyContent: "center", children: /* @__PURE__ */ u.jsx(Sj, { variant: "rounded", maxWidth: "260px", height: "60px", animation: "wave" }) }, t)) }), Rj = "Visibility not set", m1 = "Configure visibility settings", Dj = "Contact your admin to configure visibility", Oj = "Select inbox(es)", Lj = "Select the inbox(es)", Nj = "Select the role", Pj = "Select role", BB = "inbox", Fj = "roles", kj = "Close", Mj = "${{connector}}", jj = "Visibility settings saved", Uj = "Some error occured. Please contact support@hiverhq.com", Gj = "Selecting any lower role will automatically select the roles above it", Vj = "Loading custom fields...", Hj = "Save", hB = "enabled", pB = "disabled", Wj = "Select atleast one field to save", qC = "New", zj = "Upgrade now", Yj = "Authentication failed", Jj = "More info about the current updates that will be there in this app", Xj = T(pe)`
|
|
30912
30912
|
min-height: 506px;
|
|
30913
30913
|
width: 462px;
|
|
30914
30914
|
padding: 32px;
|
|
@@ -30942,7 +30942,7 @@ const _a = {
|
|
|
30942
30942
|
gap: 11px;
|
|
30943
30943
|
width: fit-content;
|
|
30944
30944
|
height: 32px;
|
|
30945
|
-
`, QB = T(
|
|
30945
|
+
`, QB = T(Ml)`
|
|
30946
30946
|
width: 198px;
|
|
30947
30947
|
`, as = T(gs)`
|
|
30948
30948
|
height: 20px;
|
|
@@ -31010,7 +31010,7 @@ const _a = {
|
|
|
31010
31010
|
e
|
|
31011
31011
|
) });
|
|
31012
31012
|
}, AU = () => {
|
|
31013
|
-
const { sendTrackingEvent: e, availableFeatures: t } = ze(tn), n = mn(), r = qe(g1), A = qe(
|
|
31013
|
+
const { sendTrackingEvent: e, availableFeatures: t } = ze(tn), n = mn(), r = qe(g1), A = qe(ws), o = qe(g7), i = (s) => {
|
|
31014
31014
|
var c;
|
|
31015
31015
|
const a = u1({ isTemplate: !0 }), l = (c = A == null ? void 0 : A[s]) == null ? void 0 : c.name;
|
|
31016
31016
|
e(ut.LIBRARY_CARD_CLICKED, { connector_name: l }), e(ut.INTEGRATION_APP_CARD_CLICK, {
|
|
@@ -31018,7 +31018,7 @@ const _a = {
|
|
|
31018
31018
|
app_state: a
|
|
31019
31019
|
}), n(`${nt.BASEPATH}${nt.API_VIEW}/${s}`);
|
|
31020
31020
|
};
|
|
31021
|
-
return /* @__PURE__ */ u.jsx("ul", { className: "flex gap-5 flex-wrap", "data-testid": "connector-library", children: o === ye.LOADING ? /* @__PURE__ */ u.jsx(
|
|
31021
|
+
return /* @__PURE__ */ u.jsx("ul", { className: "flex gap-5 flex-wrap", "data-testid": "connector-library", children: o === ye.LOADING ? /* @__PURE__ */ u.jsx(Fl, {}) : /* @__PURE__ */ u.jsx(u.Fragment, { children: r.map((s) => {
|
|
31022
31022
|
const a = A == null ? void 0 : A[s];
|
|
31023
31023
|
if (!a) return null;
|
|
31024
31024
|
const { isTemplateNew: l } = a, c = os(t) && l;
|
|
@@ -31036,7 +31036,7 @@ const _a = {
|
|
|
31036
31036
|
s
|
|
31037
31037
|
);
|
|
31038
31038
|
}) }) });
|
|
31039
|
-
}, y1 = (e) => e.connectorLirary.connectorList,
|
|
31039
|
+
}, y1 = (e) => e.connectorLirary.connectorList, Ts = (e) => e.connectorLirary.connectors, $C = (e) => e.connectorLirary.connectorsApiStatus, x1 = (e) => e.connectorLirary.currentUpdatingConnectors, cu = (e) => e.connectorLirary.connectorDetailApiStatus, eE = (e) => e.connectorLirary.rolesAndPermissions, oU = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, iU = (e) => e.connectorLirary.cardCustomFields, aU = (e) => e.connectorLirary.cardCustomFieldsApiStatus, sU = (e) => e.connectorLirary.notAuthenticatedConnectors, lU = (e) => e.connectorLirary.requireUpgradeConnectors, cU = (e) => e.connectorLirary.enableCustomCardApiStatus, uU = (e) => e.connectorLirary.updateConnectorByIdApiStatus, pc = ({ id: e, status: t, connectorName: n, hideCta: r = !1 }) => {
|
|
31040
31040
|
const A = mn(), o = () => {
|
|
31041
31041
|
A(`${nt.BASEPATH}${nt.CONNECTOR_SETTINGS}/${e}?isEdit=true`);
|
|
31042
31042
|
}, i = () => r ? null : /* @__PURE__ */ u.jsx(
|
|
@@ -31082,7 +31082,7 @@ const _a = {
|
|
|
31082
31082
|
return null;
|
|
31083
31083
|
}
|
|
31084
31084
|
}, gU = () => {
|
|
31085
|
-
const { sendTrackingEvent: e } = ze(tn), t = qe(y1), n = qe(
|
|
31085
|
+
const { sendTrackingEvent: e } = ze(tn), t = qe(y1), n = qe(Ts), r = qe(sU), A = qe(lU), o = mn(), i = (s) => {
|
|
31086
31086
|
const { id: a, name: l, isAuthenticated: c, showUpgradeButton: g, isEnabled: E } = s, p = u1({ connector: s }), I = !c || E && g ? 0 : 1;
|
|
31087
31087
|
e(ut.INTEGRATION_APP_CARD_CLICK, {
|
|
31088
31088
|
app_name: l,
|
|
@@ -31094,7 +31094,7 @@ const _a = {
|
|
|
31094
31094
|
r.map((s) => {
|
|
31095
31095
|
const a = n == null ? void 0 : n[s];
|
|
31096
31096
|
return a ? /* @__PURE__ */ u.jsx(
|
|
31097
|
-
|
|
31097
|
+
pc,
|
|
31098
31098
|
{
|
|
31099
31099
|
id: a.id,
|
|
31100
31100
|
status: "notAuthenticated",
|
|
@@ -31105,7 +31105,7 @@ const _a = {
|
|
|
31105
31105
|
}),
|
|
31106
31106
|
A.map((s) => {
|
|
31107
31107
|
const a = n == null ? void 0 : n[s];
|
|
31108
|
-
return a ? /* @__PURE__ */ u.jsx(
|
|
31108
|
+
return a ? /* @__PURE__ */ u.jsx(pc, { id: a.id, status: "upgrade", connectorName: a.name }, a.id) : null;
|
|
31109
31109
|
})
|
|
31110
31110
|
] }) : null,
|
|
31111
31111
|
/* @__PURE__ */ u.jsx("ul", { className: "flex gap-5 flex-wrap", "data-testid": "connector-custom-card", children: t.map((s) => {
|
|
@@ -31262,7 +31262,7 @@ const _a = {
|
|
|
31262
31262
|
}) => {
|
|
31263
31263
|
const { sendTrackingEvent: A } = ze(tn), o = Hr(), i = qe(w1), [s, a] = de(""), [l, c] = de([]), [g, E] = de(!1), [p, I] = de(!1), d = () => {
|
|
31264
31264
|
const h = r ? fB.API : fB.CONNECTOR, Q = l.map((v) => v.id);
|
|
31265
|
-
o(
|
|
31265
|
+
o(Nl({ type: h, values: Q, description: s })).unwrap().then(() => {
|
|
31266
31266
|
A(
|
|
31267
31267
|
r ? ut.REQUEST_NEW_FEATURE_SUBMIT_CLICKED : ut.REQUEST_NEW_CONNECTOR_SUBMIT_CLICKED
|
|
31268
31268
|
), I(!0);
|
|
@@ -31307,7 +31307,7 @@ const _a = {
|
|
|
31307
31307
|
}
|
|
31308
31308
|
) })
|
|
31309
31309
|
] });
|
|
31310
|
-
}, na = "Oauth1",
|
|
31310
|
+
}, na = "Oauth1", Ss = "Oauth2", _1 = "ApiKey", _s = "BasicAuth", el = ["Authentication", "Visibility"], QU = "Apps", mU = "Installed Apps", vU = "Marketplace", bU = "Inbox apps", yU = T(pe)`
|
|
31311
31311
|
box-sizing: border-box;
|
|
31312
31312
|
`, xU = T(H)`
|
|
31313
31313
|
align-items: center;
|
|
@@ -31520,7 +31520,7 @@ const _a = {
|
|
|
31520
31520
|
}, mB = () => {
|
|
31521
31521
|
const e = Hr(), { sendTrackingEvent: t } = ze(tn), { nativeIntegrations: n, availableFeatures: r } = ze(tn), [A, o] = de(!1), i = Me(!1), s = qe(y1), a = qe(g1), l = qe($C), c = qe(u7), { requestOptions: g, requestable: E } = AE({ isApi: !1 }), p = !!s.length, I = !!a.length, d = l === ye.LOADING, C = c === ye.LOADING;
|
|
31522
31522
|
ve(() => {
|
|
31523
|
-
e(
|
|
31523
|
+
e(Tl()), e(Ll()), e(yl());
|
|
31524
31524
|
}, [e]), ve(() => {
|
|
31525
31525
|
i.current || (t(ut.CONNECTOR_SECTION_VIEWED), i.current = !0);
|
|
31526
31526
|
}, [t]);
|
|
@@ -31532,17 +31532,17 @@ const _a = {
|
|
|
31532
31532
|
return /* @__PURE__ */ u.jsxs(yU, { "data-testid": "connector-dashboard", children: [
|
|
31533
31533
|
/* @__PURE__ */ u.jsx(rE, {}),
|
|
31534
31534
|
/* @__PURE__ */ u.jsx(xU, { children: /* @__PURE__ */ u.jsx(wU, { variant: "h2", children: QU }) }),
|
|
31535
|
-
d ? /* @__PURE__ */ u.jsx(
|
|
31535
|
+
d ? /* @__PURE__ */ u.jsx(Fl, {}) : null,
|
|
31536
31536
|
!d && p ? /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
31537
31537
|
/* @__PURE__ */ u.jsx("h3", { className: "text-h3 my-4", children: mU }),
|
|
31538
31538
|
/* @__PURE__ */ u.jsx(gU, {})
|
|
31539
31539
|
] }) : null,
|
|
31540
|
-
B.length > 0 && d ? /* @__PURE__ */ u.jsx(
|
|
31540
|
+
B.length > 0 && d ? /* @__PURE__ */ u.jsx(Fl, {}) : null,
|
|
31541
31541
|
B.length > 0 && !d ? /* @__PURE__ */ u.jsxs("div", { className: "mt-8", children: [
|
|
31542
31542
|
/* @__PURE__ */ u.jsx("h3", { className: "text-h3 mb-4", children: bU }),
|
|
31543
31543
|
/* @__PURE__ */ u.jsx(YU, {})
|
|
31544
31544
|
] }) : null,
|
|
31545
|
-
C ? /* @__PURE__ */ u.jsx(
|
|
31545
|
+
C ? /* @__PURE__ */ u.jsx(Fl, {}) : null,
|
|
31546
31546
|
I && !C ? /* @__PURE__ */ u.jsxs("div", { className: "mt-8", children: [
|
|
31547
31547
|
/* @__PURE__ */ u.jsx("h3", { className: "text-h3 mb-4", children: vU }),
|
|
31548
31548
|
/* @__PURE__ */ u.jsx(AU, {})
|
|
@@ -31925,11 +31925,11 @@ const _a = {
|
|
|
31925
31925
|
};
|
|
31926
31926
|
localStorage.setItem(xs, JSON.stringify(A));
|
|
31927
31927
|
}, _G = ({ fields: e, setFields: t, cardId: n }) => {
|
|
31928
|
-
const r = xQ(yQ(
|
|
31928
|
+
const r = xQ(yQ(zc)), { userId: A } = RA() || {}, o = qe(aU), i = (l) => {
|
|
31929
31929
|
const { active: c, over: g } = l;
|
|
31930
31930
|
(c == null ? void 0 : c.id) !== (g == null ? void 0 : g.id) && t((E) => {
|
|
31931
31931
|
const p = E.findIndex((d) => d.key === (c == null ? void 0 : c.id)), I = E.findIndex((d) => d.key === (g == null ? void 0 : g.id));
|
|
31932
|
-
return
|
|
31932
|
+
return Xc(E, p, I);
|
|
31933
31933
|
});
|
|
31934
31934
|
}, s = !!(A && iE(n, A)), a = (l) => {
|
|
31935
31935
|
t((c) => c.map((g) => g.key === l ? { ...g, enabled: !g.enabled } : g));
|
|
@@ -32103,7 +32103,7 @@ const _a = {
|
|
|
32103
32103
|
fields: s,
|
|
32104
32104
|
setVisitedFieldVisTab: a
|
|
32105
32105
|
}) => {
|
|
32106
|
-
const { availableFeatures: l, sendTrackingEvent: c } = ze(tn), g = Hr(), E = qe(
|
|
32106
|
+
const { availableFeatures: l, sendTrackingEvent: c } = ze(tn), g = Hr(), E = qe(Ts), p = qe(eE) ?? [], I = qe(uu) ?? [], d = qe(iU), C = qe(oU), { userId: f } = RA() || {}, [B, h] = de(
|
|
32107
32107
|
() => (I == null ? void 0 : I.filter((R) => n == null ? void 0 : n.includes(R.id))) ?? []
|
|
32108
32108
|
), [Q, v] = de(
|
|
32109
32109
|
() => (p == null ? void 0 : p.find((R) => A == null ? void 0 : A.includes(R.name))) ?? {}
|
|
@@ -32114,7 +32114,7 @@ const _a = {
|
|
|
32114
32114
|
}
|
|
32115
32115
|
), [m, x] = de(go.CARD_VISIBILITY.ID);
|
|
32116
32116
|
ve(() => {
|
|
32117
|
-
g(
|
|
32117
|
+
g(Sl(t));
|
|
32118
32118
|
}, [g, t]), ve(() => {
|
|
32119
32119
|
d[t] && y((R) => bB(R, d[t] || []));
|
|
32120
32120
|
}, [d, t]);
|
|
@@ -32133,7 +32133,7 @@ const _a = {
|
|
|
32133
32133
|
R.stopPropagation();
|
|
32134
32134
|
const N = Q != null && Q.name ? [Q.name] : [], J = B.map((te) => te.id), K = b.map((te, ge) => ({ ...te, priority: ge + 1 }));
|
|
32135
32135
|
g(
|
|
32136
|
-
|
|
32136
|
+
xl({
|
|
32137
32137
|
cardId: t,
|
|
32138
32138
|
data: { roles: N, inboxes: { email: J, chat: [] }, fields: K },
|
|
32139
32139
|
currentConnector: o
|
|
@@ -32261,7 +32261,7 @@ const kG = T(nr)`
|
|
|
32261
32261
|
), v = e.cardKey ? h[e.cardKey] === ye.LOADING : !1, { userId: b } = RA() || {}, y = (Y) => {
|
|
32262
32262
|
E(Y), !Y && b && e.isEnabledCustomCard && (wG(e.id, b), p && xG(e.id, b));
|
|
32263
32263
|
}, m = () => {
|
|
32264
|
-
e.isEnabledCustomCard ? E(!0) : r(
|
|
32264
|
+
e.isEnabledCustomCard ? E(!0) : r(Rl({ connectorId: t, data: e })).unwrap().then(() => {
|
|
32265
32265
|
E(!0);
|
|
32266
32266
|
}), f(ut.CONFIGURE_VISIBILITY_CLICKED);
|
|
32267
32267
|
}, x = Ne(
|
|
@@ -32519,7 +32519,7 @@ const kG = T(nr)`
|
|
|
32519
32519
|
return /* @__PURE__ */ u.jsxs(HG, { className: "h-screenshot-viewer", children: [
|
|
32520
32520
|
e.map(({ src: s }, a) => /* @__PURE__ */ u.jsx(WG, { onClick: () => n(a), children: /* @__PURE__ */ u.jsx("img", { src: s, alt: "App preview" }) }, s + a)),
|
|
32521
32521
|
r ? /* @__PURE__ */ u.jsx(
|
|
32522
|
-
|
|
32522
|
+
$c,
|
|
32523
32523
|
{
|
|
32524
32524
|
imgs: e,
|
|
32525
32525
|
currImg: t,
|
|
@@ -32645,11 +32645,11 @@ const kG = T(nr)`
|
|
|
32645
32645
|
width: 50%;
|
|
32646
32646
|
}
|
|
32647
32647
|
`, iV = () => /* @__PURE__ */ u.jsxs(H, { marginTop: "28px", gap: "12px", children: [
|
|
32648
|
-
/* @__PURE__ */ u.jsx(rV, { children:
|
|
32648
|
+
/* @__PURE__ */ u.jsx(rV, { children: Zs(3, (e) => /* @__PURE__ */ u.jsx(AV, { animation: "wave" }, e)) }),
|
|
32649
32649
|
/* @__PURE__ */ u.jsxs(oV, { children: [
|
|
32650
|
-
|
|
32651
|
-
|
|
32652
|
-
|
|
32650
|
+
Zs(3, (e) => /* @__PURE__ */ u.jsx(lg, { animation: "wave" }, e)),
|
|
32651
|
+
Zs(4, (e) => /* @__PURE__ */ u.jsx(lg, { className: "li", animation: "wave" }, e)),
|
|
32652
|
+
Zs(2, (e) => /* @__PURE__ */ u.jsx(lg, { animation: "wave" }, e))
|
|
32653
32653
|
] })
|
|
32654
32654
|
] }), P1 = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.86421%2015.9708C9.20287%2016.3941%209.13423%2017.0118%208.71091%2017.3505C8.28758%2017.6891%207.66987%2017.6205%207.33121%2017.1972L8.86421%2015.9708ZM2.94434%2010.1423L2.17784%2010.7555C1.89104%2010.397%201.89104%209.88757%202.17784%209.52907L2.94434%2010.1423ZM7.33121%203.08735C7.66987%202.66403%208.28758%202.59539%208.71091%202.93405C9.13423%203.27271%209.20287%203.89042%208.86421%204.31375L7.33121%203.08735ZM3.31243%2011.1852C2.77031%2011.1852%202.33084%2010.7457%202.33084%2010.2036C2.33084%209.66149%202.77031%209.22201%203.31243%209.22201L3.31243%2011.1852ZM17.0548%209.22201C17.5969%209.22201%2018.0364%209.66149%2018.0364%2010.2036C18.0364%2010.7457%2017.5969%2011.1852%2017.0548%2011.1852V9.22201ZM7.33121%2017.1972L2.17784%2010.7555L3.71083%209.52907L8.86421%2015.9708L7.33121%2017.1972ZM2.17784%209.52907L7.33121%203.08735L8.86421%204.31375L3.71083%2010.7555L2.17784%209.52907ZM3.31243%209.22201L17.0548%209.22201V11.1852L3.31243%2011.1852L3.31243%209.22201Z'%20fill='%236F7C90'/%3e%3c/svg%3e", aV = T(H)`
|
|
32655
32655
|
position: relative;
|
|
@@ -32665,7 +32665,7 @@ const kG = T(nr)`
|
|
|
32665
32665
|
margin: 0;
|
|
32666
32666
|
}
|
|
32667
32667
|
`, lV = () => {
|
|
32668
|
-
const { availableFeatures: e, sendTrackingEvent: t } = ze(tn), n = mn(), r = qe(
|
|
32668
|
+
const { availableFeatures: e, sendTrackingEvent: t } = ze(tn), n = mn(), r = qe(Ts), A = qe(ws), o = qe(cu), i = qe(d1), s = Hr(), { id: a = "" } = ao(), [l] = Jo(), c = l.get("isEdit") === "true", g = (r == null ? void 0 : r[a]) || null, E = (A == null ? void 0 : A[a]) || null;
|
|
32669
32669
|
ve(() => {
|
|
32670
32670
|
s(c ? Ua(a) : Ma(a));
|
|
32671
32671
|
}, [c, s, a]);
|
|
@@ -32875,10 +32875,10 @@ const TB = (e) => !zV.includes(e.id), M1 = (e, t, n) => {
|
|
|
32875
32875
|
case na:
|
|
32876
32876
|
a = aE[i], a !== Nr.authType && a !== void 0 && (o[a] = s);
|
|
32877
32877
|
break;
|
|
32878
|
-
case
|
|
32878
|
+
case Ss:
|
|
32879
32879
|
a = sE[i], a !== Nr.authType && a !== void 0 && (o[a] = s);
|
|
32880
32880
|
break;
|
|
32881
|
-
case
|
|
32881
|
+
case _s:
|
|
32882
32882
|
a = cE[i], a !== Nr.authType && a !== void 0 && (o[a] = s);
|
|
32883
32883
|
break;
|
|
32884
32884
|
default:
|
|
@@ -32892,7 +32892,7 @@ function VV(e) {
|
|
|
32892
32892
|
if (jV(r, n)) {
|
|
32893
32893
|
const A = n[r];
|
|
32894
32894
|
let o;
|
|
32895
|
-
if (e.authType ===
|
|
32895
|
+
if (e.authType === Ss || e.authType === na) {
|
|
32896
32896
|
const i = e[A];
|
|
32897
32897
|
Array.isArray(i) ? o = i.join(", ") : o = i;
|
|
32898
32898
|
} else
|
|
@@ -32920,9 +32920,9 @@ const HV = (e, t) => {
|
|
|
32920
32920
|
switch (e) {
|
|
32921
32921
|
case na:
|
|
32922
32922
|
return aE;
|
|
32923
|
-
case
|
|
32923
|
+
case Ss:
|
|
32924
32924
|
return sE;
|
|
32925
|
-
case
|
|
32925
|
+
case _s:
|
|
32926
32926
|
return cE;
|
|
32927
32927
|
default:
|
|
32928
32928
|
return lE;
|
|
@@ -32931,9 +32931,9 @@ const HV = (e, t) => {
|
|
|
32931
32931
|
switch (e) {
|
|
32932
32932
|
case na:
|
|
32933
32933
|
return JV;
|
|
32934
|
-
case
|
|
32934
|
+
case Ss:
|
|
32935
32935
|
return XV;
|
|
32936
|
-
case
|
|
32936
|
+
case _s:
|
|
32937
32937
|
return qV;
|
|
32938
32938
|
default:
|
|
32939
32939
|
return KV;
|
|
@@ -32986,8 +32986,8 @@ const HV = (e, t) => {
|
|
|
32986
32986
|
}, rA = {
|
|
32987
32987
|
apiToken: { label: "API Token", value: _1 },
|
|
32988
32988
|
oAuth1: { label: "OAuth1.0", value: na },
|
|
32989
|
-
oAuth2: { label: "OAuth2.0", value:
|
|
32990
|
-
basicAuth: { label: "Basic Auth", value:
|
|
32989
|
+
oAuth2: { label: "OAuth2.0", value: Ss },
|
|
32990
|
+
basicAuth: { label: "Basic Auth", value: _s }
|
|
32991
32991
|
}, du = {
|
|
32992
32992
|
header: { label: "Header", value: "header" },
|
|
32993
32993
|
queryParam: { label: "Query Param", value: "queryParam" }
|
|
@@ -33580,7 +33580,7 @@ const tH = T(ue)`
|
|
|
33580
33580
|
);
|
|
33581
33581
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
33582
33582
|
e && r && (!d || C) ? /* @__PURE__ */ u.jsx(eH, { direction: "column", gap: 1, children: /* @__PURE__ */ u.jsx(
|
|
33583
|
-
|
|
33583
|
+
pc,
|
|
33584
33584
|
{
|
|
33585
33585
|
id: r.id,
|
|
33586
33586
|
status: d ? "upgrade" : "notAuthenticated",
|
|
@@ -33599,7 +33599,7 @@ const tH = T(ue)`
|
|
|
33599
33599
|
] }),
|
|
33600
33600
|
/* @__PURE__ */ u.jsxs(nH, { id: "conectors-auth-form", children: [
|
|
33601
33601
|
/* @__PURE__ */ u.jsx(
|
|
33602
|
-
|
|
33602
|
+
Bc,
|
|
33603
33603
|
{
|
|
33604
33604
|
formConfig: B ? Te : U(),
|
|
33605
33605
|
selectChangeHandler: j,
|
|
@@ -33612,7 +33612,7 @@ const tH = T(ue)`
|
|
|
33612
33612
|
}
|
|
33613
33613
|
),
|
|
33614
33614
|
B && G && /* @__PURE__ */ u.jsx(kV, { titleNode: /* @__PURE__ */ u.jsx(ue, { variant: "h3", children: "Advanced settings" }), children: /* @__PURE__ */ u.jsx(
|
|
33615
|
-
|
|
33615
|
+
Bc,
|
|
33616
33616
|
{
|
|
33617
33617
|
formConfig: oe,
|
|
33618
33618
|
selectChangeHandler: j,
|
|
@@ -33763,7 +33763,7 @@ const pH = T(H)`
|
|
|
33763
33763
|
DV
|
|
33764
33764
|
] }) : null
|
|
33765
33765
|
] }), G1 = (e, t) => {
|
|
33766
|
-
const n = t.authType ===
|
|
33766
|
+
const n = t.authType === _s, r = t.authType === _1, A = t.authType === na;
|
|
33767
33767
|
if (!e || !e.data)
|
|
33768
33768
|
return {
|
|
33769
33769
|
authUrl: "",
|
|
@@ -33814,7 +33814,7 @@ const pH = T(H)`
|
|
|
33814
33814
|
return Promise.reject(n);
|
|
33815
33815
|
}
|
|
33816
33816
|
}, TH = ({ connectorId: e, onSuccess: t }) => {
|
|
33817
|
-
const n = Gi(), r = Ne(() => ["authDetails", { connectorId: e }], [e]), { data: A } =
|
|
33817
|
+
const n = Gi(), r = Ne(() => ["authDetails", { connectorId: e }], [e]), { data: A } = Mc({
|
|
33818
33818
|
queryKey: r,
|
|
33819
33819
|
queryFn: () => Promise.resolve({
|
|
33820
33820
|
authUrl: "",
|
|
@@ -33863,7 +33863,7 @@ const pH = T(H)`
|
|
|
33863
33863
|
return Promise.reject(n);
|
|
33864
33864
|
}
|
|
33865
33865
|
}, _H = ({ connectorId: e, enabled: t = !1 }) => {
|
|
33866
|
-
const n = Gi(), r = Ne(() => ["authSuccessStatus", { connectorId: e }], [e]), A =
|
|
33866
|
+
const n = Gi(), r = Ne(() => ["authSuccessStatus", { connectorId: e }], [e]), A = Mc({
|
|
33867
33867
|
queryKey: r,
|
|
33868
33868
|
queryFn: () => SH(e),
|
|
33869
33869
|
refetchInterval: (o) => {
|
|
@@ -33895,7 +33895,7 @@ const pH = T(H)`
|
|
|
33895
33895
|
},
|
|
33896
33896
|
[b]
|
|
33897
33897
|
), ve(() => {
|
|
33898
|
-
g ? (b(Ua(l)), b(
|
|
33898
|
+
g ? (b(Ua(l)), b(_l(l))) : b(Ma(l));
|
|
33899
33899
|
}, [g, b, l]), ve(() => {
|
|
33900
33900
|
let m, x;
|
|
33901
33901
|
const j = (P) => {
|
|
@@ -33998,13 +33998,13 @@ const pH = T(H)`
|
|
|
33998
33998
|
)
|
|
33999
33999
|
] });
|
|
34000
34000
|
}, DH = () => {
|
|
34001
|
-
const e = Hr(), { sendTrackingEvent: t } = ze(tn), n = qe($C), r = qe(cu), A = qe(x1), o = qe(
|
|
34001
|
+
const e = Hr(), { sendTrackingEvent: t } = ze(tn), n = qe($C), r = qe(cu), A = qe(x1), o = qe(Ts), i = qe(ws), { id: s = "" } = ao(), [a] = Jo(), l = a.get("isEdit") === "true", c = a.get("tabIndex"), [g, E] = de(() => {
|
|
34002
34002
|
const b = Number(c);
|
|
34003
|
-
return Number.isNaN(b) || b < 0 ? 0 : b >
|
|
34003
|
+
return Number.isNaN(b) || b < 0 ? 0 : b > el.length - 1 ? el.length - 1 : b;
|
|
34004
34004
|
}), p = (b, y) => {
|
|
34005
34005
|
E(y);
|
|
34006
34006
|
}, I = (o == null ? void 0 : o[s]) || null, d = (i == null ? void 0 : i[s]) || null, C = l ? I : d, f = !(C != null && C.isAuthenticated), B = !!(C != null && C.isEnabled), h = [n, r].includes(ye.LOADING) || f, Q = [
|
|
34007
|
-
{ name:
|
|
34007
|
+
{ name: hc, route: `${nt.BASEPATH}${nt.DASHBOARD}` },
|
|
34008
34008
|
{
|
|
34009
34009
|
name: (C == null ? void 0 : C.name) || "",
|
|
34010
34010
|
route: `${nt.BASEPATH}${nt.API_VIEW}/${s}?isEdit=${String(l)}`
|
|
@@ -34055,8 +34055,8 @@ const pH = T(H)`
|
|
|
34055
34055
|
onChange: p,
|
|
34056
34056
|
classes: { flexContainer: "border-b-2 border-[#D6DDE8]" },
|
|
34057
34057
|
children: [
|
|
34058
|
-
/* @__PURE__ */ u.jsx(
|
|
34059
|
-
/* @__PURE__ */ u.jsx(
|
|
34058
|
+
/* @__PURE__ */ u.jsx(Ml, { label: el[0], className: "border-b-0!" }),
|
|
34059
|
+
/* @__PURE__ */ u.jsx(Ml, { label: el[1], className: "border-b-0!" })
|
|
34060
34060
|
]
|
|
34061
34061
|
}
|
|
34062
34062
|
) }),
|
|
@@ -34075,7 +34075,7 @@ const pH = T(H)`
|
|
|
34075
34075
|
const e = Hr(), t = qe(LH), n = qe(OH);
|
|
34076
34076
|
return ve(() => {
|
|
34077
34077
|
const r = new URLSearchParams(window.location.search), A = r.get(pV), o = r.get(QV);
|
|
34078
|
-
window.opener && o && A && e(
|
|
34078
|
+
window.opener && o && A && e(Ol({ data: { token: A }, connectorId: o }));
|
|
34079
34079
|
}, [e]), ve(() => {
|
|
34080
34080
|
window.opener && t && window.opener.postMessage(
|
|
34081
34081
|
n === ye.FAILED ? k1 : xd,
|
|
@@ -34086,18 +34086,28 @@ const pH = T(H)`
|
|
|
34086
34086
|
/* @__PURE__ */ u.jsx("p", { children: "Redirecting..." })
|
|
34087
34087
|
] });
|
|
34088
34088
|
}, FH = () => {
|
|
34089
|
-
const { nativeIntegrations: e } = ze(tn), { id: t = "" } = ao(), [n] = Jo(), r = n.get("deprecated") === "true", A = mn(), o =
|
|
34089
|
+
const { nativeIntegrations: e } = ze(tn), { id: t = "" } = ao(), [n] = Jo(), r = n.get("deprecated") === "true", A = mn(), o = qe(Ts), i = qe(ws);
|
|
34090
|
+
console.log("connectors +++ ", o), console.log("connectorTemplates +++ ", i);
|
|
34091
|
+
const s = e.filter((p) => p.id === t)[0], a = s.id;
|
|
34092
|
+
console.log("connector connectorType +++ ", s, a);
|
|
34093
|
+
const l = Object.values(o || {}).find((p) => p.type === a);
|
|
34094
|
+
console.log("matchedConnector +++ ", l);
|
|
34095
|
+
const c = l ? null : Object.values(i || {}).find((p) => p.id === t);
|
|
34096
|
+
console.log("matchedTemplate +++ ", c);
|
|
34097
|
+
let g = null;
|
|
34098
|
+
l ? (g = `https://v2.hiverhq.com/app/custom-connectors/connector/settings/${l.id}?isEdit=true&tabIndex=0`, console.log("depricateBannerRedirectUrl +++ ", g)) : c && (g = `https://v2.hiverhq.com/app/custom-connectors/connector/settings/${c.id}`, console.log("depricateBannerRedirectUrl +++ ", g));
|
|
34099
|
+
const E = () => {
|
|
34090
34100
|
A(nt.BASEPATH);
|
|
34091
34101
|
};
|
|
34092
34102
|
return /* @__PURE__ */ u.jsxs("div", { className: "**:[.h-zapierConnectorContainer]:pt-0! **:[.h-app-titlebar]:hidden! **:[.h-native-connector-body]:ml-0!", children: [
|
|
34093
34103
|
/* @__PURE__ */ u.jsxs("div", { className: "flex justify-between shadow-[0_1px_1px_rgba(0,0,0,0.08)] pb-5 mb-7.5", children: [
|
|
34094
34104
|
/* @__PURE__ */ u.jsxs("div", { className: "inline-flex items-center -ml-[10px]", children: [
|
|
34095
|
-
/* @__PURE__ */ u.jsx(nr, { onClick:
|
|
34105
|
+
/* @__PURE__ */ u.jsx(nr, { onClick: E, children: /* @__PURE__ */ u.jsx("img", { src: P1 }) }),
|
|
34096
34106
|
/* @__PURE__ */ u.jsx("span", { className: "text-h2", children: "Back" })
|
|
34097
34107
|
] }),
|
|
34098
|
-
r ? /* @__PURE__ */ u.jsx(
|
|
34108
|
+
r ? /* @__PURE__ */ u.jsx(pc, { connectorName: s.name, status: "deprecated", id: s.id }) : null
|
|
34099
34109
|
] }),
|
|
34100
|
-
|
|
34110
|
+
s ? /* @__PURE__ */ u.jsx(s.Component, { depricateBannerRedirectUrl: g || null }) : /* @__PURE__ */ u.jsx("div", { children: "No App" })
|
|
34101
34111
|
] });
|
|
34102
34112
|
}, kH = "Select inbox(es)", MH = "Select Shared Mailbox(es)", jH = "Select the roles", UH = "Select role", FB = "inbox", GH = "roles", VH = (e) => {
|
|
34103
34113
|
const { selectedEmailInboxes: t, setSelectedEmailInboxes: n, selectedRoles: r, setSelectedRoles: A, roles: o, inboxes: i } = e;
|
|
@@ -34125,8 +34135,8 @@ const pH = T(H)`
|
|
|
34125
34135
|
] }, a);
|
|
34126
34136
|
});
|
|
34127
34137
|
}, HH = () => {
|
|
34128
|
-
const { sendTrackingEvent: e } = ze(tn), t = mn(), n = Hr(), r = qe(eE) ?? [], A = qe(uu) ?? [], o = r.find((b) => b.name === _a.MEMBER), i = qe(
|
|
34129
|
-
{ name:
|
|
34138
|
+
const { sendTrackingEvent: e } = ze(tn), t = mn(), n = Hr(), r = qe(eE) ?? [], A = qe(uu) ?? [], o = r.find((b) => b.name === _a.MEMBER), i = qe(ws), s = qe(uU) === ye.LOADING, [a, l] = de([]), [c, g] = de(o), [E, p] = de(!1), { id: I = "" } = ao(), [d] = Jo(), C = d.get("connectorId"), f = (i == null ? void 0 : i[I]) || null, B = s || !a.length || !c.name, h = [
|
|
34139
|
+
{ name: hc, route: `${nt.BASEPATH}${nt.DASHBOARD}` },
|
|
34130
34140
|
{
|
|
34131
34141
|
name: (f == null ? void 0 : f.name) || "",
|
|
34132
34142
|
route: `${nt.BASEPATH}${nt.API_VIEW}/${I}`
|
|
@@ -34136,7 +34146,7 @@ const pH = T(H)`
|
|
|
34136
34146
|
if (s) return;
|
|
34137
34147
|
const b = c != null && c.name ? [c.name] : [], y = a.map((j) => j.id), m = a.map((j) => j.name);
|
|
34138
34148
|
C && n(
|
|
34139
|
-
|
|
34149
|
+
Dl({
|
|
34140
34150
|
connectorId: C,
|
|
34141
34151
|
data: {
|
|
34142
34152
|
roles: b,
|
|
@@ -34359,14 +34369,14 @@ const oW = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%20
|
|
|
34359
34369
|
n.stopPropagation(), Mr(e, YH) && n7();
|
|
34360
34370
|
};
|
|
34361
34371
|
return /* @__PURE__ */ u.jsxs(JH, { children: [
|
|
34362
|
-
/* @__PURE__ */ u.jsx(KH, { children: /* @__PURE__ */ u.jsx(MB, { variant: "h2", children:
|
|
34372
|
+
/* @__PURE__ */ u.jsx(KH, { children: /* @__PURE__ */ u.jsx(MB, { variant: "h2", children: hc }) }),
|
|
34363
34373
|
/* @__PURE__ */ u.jsxs(qH, { children: [
|
|
34364
34374
|
/* @__PURE__ */ u.jsxs(ZH, { children: [
|
|
34365
34375
|
/* @__PURE__ */ u.jsxs(eW, { children: [
|
|
34366
34376
|
/* @__PURE__ */ u.jsx("img", { src: oW }),
|
|
34367
34377
|
/* @__PURE__ */ u.jsx(tW, { variant: "caption", children: kM })
|
|
34368
34378
|
] }),
|
|
34369
|
-
/* @__PURE__ */ u.jsx(MB, { variant: "h2", children:
|
|
34379
|
+
/* @__PURE__ */ u.jsx(MB, { variant: "h2", children: hc }),
|
|
34370
34380
|
/* @__PURE__ */ u.jsx(nW, { variant: "body2", children: MM }),
|
|
34371
34381
|
/* @__PURE__ */ u.jsxs(V1, { children: [
|
|
34372
34382
|
/* @__PURE__ */ u.jsx(rW, { children: jM }),
|
|
@@ -35180,7 +35190,7 @@ const oW = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%20
|
|
|
35180
35190
|
nativeIntegrations: o,
|
|
35181
35191
|
children: t7(r) ? /* @__PURE__ */ u.jsx(iW, { availableFeatures: r }) : /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
35182
35192
|
/* @__PURE__ */ u.jsx(zH, { basename: e, metaData: n.metaData, userId: i }),
|
|
35183
|
-
|
|
35193
|
+
bc(
|
|
35184
35194
|
/* @__PURE__ */ u.jsx(sW, { id: "toast-message", children: /* @__PURE__ */ u.jsx(
|
|
35185
35195
|
Ch,
|
|
35186
35196
|
{
|