@hiver/connector-agent 4.3.2-analytics-beta.12 → 4.3.2-analytics-beta.13
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
CHANGED
|
@@ -14,9 +14,9 @@ var ui = (e, t, n, r) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import * as D from "react";
|
|
17
|
-
import Ce, { useState as U, useRef as ye, useSyncExternalStore as Nh, useLayoutEffect as io, useEffect as pe, isValidElement as Nr, cloneElement as xa, createContext as Ld, useContext as Ye, useCallback as Te, forwardRef as ds, useMemo as
|
|
17
|
+
import Ce, { useState as U, useRef as ye, useSyncExternalStore as Nh, useLayoutEffect as io, useEffect as pe, isValidElement as Nr, cloneElement as xa, createContext as Ld, useContext as Ye, useCallback as Te, forwardRef as ds, useMemo as Me, Component as kh, Fragment as Ea, useReducer as Ph, Suspense as Od } from "react";
|
|
18
18
|
import { createPortal as ei } from "react-dom";
|
|
19
|
-
import { keyframes as Rd, styled as F, Stack as $, theme as X, IconButton as ut, Typography as ue, Box as fe, Tooltip as Ge, Button as ot, icons as jt, Menu as
|
|
19
|
+
import { keyframes as Rd, styled as F, Stack as $, theme as X, IconButton as ut, Typography as ue, Box as fe, Tooltip as Ge, Button as ot, icons as jt, Menu as Mh, MenuItem as jh, ListItemIcon as Bh, brandIcons as Dd, Grid as Vh, Link as ti, Skeleton as Ic, TableHead as Gh, TableCell as fs, TableRow as Fd, palette as Hh, Icon as Nd, DatePicker as Wh, DateTextField as Zh, InputAdornment as Uh, Checkbox as Xh, TextField as zh, TableContainer as $h, Table as Yh, TableBody as Jh, Dialog as Qh, Paper as qh, HiverProvider as kd, CircularProgress as Kh, FormControl as ep, RadioGroup as tp, FormControlLabel as np, Radio as rp, tooltipClasses as Pd } from "@hiver/hiver-ui-kit";
|
|
20
20
|
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ia = { exports: {} }, yo = {};
|
|
21
21
|
/**
|
|
22
22
|
* @license React
|
|
@@ -143,7 +143,7 @@ function ip() {
|
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
var
|
|
146
|
+
var M = Object.assign, V = 0, z, J, Y, ee, de, ne, j;
|
|
147
147
|
function H() {
|
|
148
148
|
}
|
|
149
149
|
H.__reactDisabledLog = !0;
|
|
@@ -179,25 +179,25 @@ function ip() {
|
|
|
179
179
|
writable: !0
|
|
180
180
|
};
|
|
181
181
|
Object.defineProperties(console, {
|
|
182
|
-
log:
|
|
182
|
+
log: M({}, T, {
|
|
183
183
|
value: z
|
|
184
184
|
}),
|
|
185
|
-
info:
|
|
185
|
+
info: M({}, T, {
|
|
186
186
|
value: J
|
|
187
187
|
}),
|
|
188
|
-
warn:
|
|
188
|
+
warn: M({}, T, {
|
|
189
189
|
value: Y
|
|
190
190
|
}),
|
|
191
|
-
error:
|
|
191
|
+
error: M({}, T, {
|
|
192
192
|
value: ee
|
|
193
193
|
}),
|
|
194
|
-
group:
|
|
194
|
+
group: M({}, T, {
|
|
195
195
|
value: de
|
|
196
196
|
}),
|
|
197
|
-
groupCollapsed:
|
|
197
|
+
groupCollapsed: M({}, T, {
|
|
198
198
|
value: ne
|
|
199
199
|
}),
|
|
200
|
-
groupEnd:
|
|
200
|
+
groupEnd: M({}, T, {
|
|
201
201
|
value: j
|
|
202
202
|
})
|
|
203
203
|
});
|
|
@@ -219,13 +219,13 @@ function ip() {
|
|
|
219
219
|
` + ie + T;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
var
|
|
222
|
+
var P = !1, re;
|
|
223
223
|
{
|
|
224
224
|
var Ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
225
225
|
re = new Ee();
|
|
226
226
|
}
|
|
227
227
|
function Z(T, G) {
|
|
228
|
-
if (!T ||
|
|
228
|
+
if (!T || P)
|
|
229
229
|
return "";
|
|
230
230
|
{
|
|
231
231
|
var q = re.get(T);
|
|
@@ -233,7 +233,7 @@ function ip() {
|
|
|
233
233
|
return q;
|
|
234
234
|
}
|
|
235
235
|
var ge;
|
|
236
|
-
|
|
236
|
+
P = !0;
|
|
237
237
|
var De = Error.prepareStackTrace;
|
|
238
238
|
Error.prepareStackTrace = void 0;
|
|
239
239
|
var Be;
|
|
@@ -290,7 +290,7 @@ function ip() {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
} finally {
|
|
293
|
-
|
|
293
|
+
P = !1, Q.current = Be, W(), Error.prepareStackTrace = De;
|
|
294
294
|
}
|
|
295
295
|
var Sr = T ? T.displayName || T.name : "", qn = Sr ? se(Sr) : "";
|
|
296
296
|
return typeof T == "function" && re.set(T, qn), qn;
|
|
@@ -647,20 +647,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
647
647
|
}
|
|
648
648
|
process.env.NODE_ENV === "production" ? Ia.exports = op() : Ia.exports = ip();
|
|
649
649
|
var m = Ia.exports;
|
|
650
|
-
function
|
|
650
|
+
function Md(e) {
|
|
651
651
|
var t, n, r = "";
|
|
652
652
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
653
653
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
654
654
|
var o = e.length;
|
|
655
|
-
for (t = 0; t < o; t++) e[t] && (n =
|
|
655
|
+
for (t = 0; t < o; t++) e[t] && (n = Md(e[t])) && (r && (r += " "), r += n);
|
|
656
656
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
657
657
|
return r;
|
|
658
658
|
}
|
|
659
659
|
function Zn() {
|
|
660
|
-
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t =
|
|
660
|
+
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Md(e)) && (r && (r += " "), r += t);
|
|
661
661
|
return r;
|
|
662
662
|
}
|
|
663
|
-
const
|
|
663
|
+
const Po = (e) => typeof e == "number" && !isNaN(e), hr = (e) => typeof e == "string", Ft = (e) => typeof e == "function", Ei = (e) => hr(e) || Ft(e) ? e : null, wa = (e) => Nr(e) || hr(e) || Ft(e) || Po(e);
|
|
664
664
|
function sp(e, t, n) {
|
|
665
665
|
n === void 0 && (n = 300);
|
|
666
666
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -692,7 +692,7 @@ function hl(e, t) {
|
|
|
692
692
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
693
693
|
}
|
|
694
694
|
const xt = /* @__PURE__ */ new Map();
|
|
695
|
-
let
|
|
695
|
+
let Mo = [];
|
|
696
696
|
const Aa = /* @__PURE__ */ new Set(), ap = (e) => Aa.forEach((t) => t(e)), jd = () => xt.size > 0;
|
|
697
697
|
function Bd(e, t) {
|
|
698
698
|
var n;
|
|
@@ -703,7 +703,7 @@ function Bd(e, t) {
|
|
|
703
703
|
}), r;
|
|
704
704
|
}
|
|
705
705
|
function Vd(e, t) {
|
|
706
|
-
wa(e) && (jd() ||
|
|
706
|
+
wa(e) && (jd() || Mo.push({ content: e, options: t }), xt.forEach((n) => {
|
|
707
707
|
n.buildToast(e, t);
|
|
708
708
|
}));
|
|
709
709
|
}
|
|
@@ -724,7 +724,7 @@ function cp(e) {
|
|
|
724
724
|
f = w == null ? [] : f.filter((_) => _ !== w), C();
|
|
725
725
|
}, A = (w) => {
|
|
726
726
|
const { toastId: _, onOpen: R, updateId: L, children: O } = w.props, k = L == null;
|
|
727
|
-
w.staleId && v.delete(w.staleId), v.set(_, w), f = [...f, w.props.toastId].filter((
|
|
727
|
+
w.staleId && v.delete(w.staleId), v.set(_, w), f = [...f, w.props.toastId].filter((M) => M !== w.staleId), C(), g(hl(w, k ? "added" : "updated")), k && Ft(R) && R(Nr(O) && O.props);
|
|
728
728
|
};
|
|
729
729
|
return { id: u, props: y, observe: (w) => (E.add(w), () => E.delete(w)), toggle: (w, _) => {
|
|
730
730
|
v.forEach((R) => {
|
|
@@ -738,14 +738,14 @@ function cp(e) {
|
|
|
738
738
|
const Q = H ? H !== u : u !== 1, ie = v.has(B) && W == null;
|
|
739
739
|
return Q || ie;
|
|
740
740
|
})(_)) return;
|
|
741
|
-
const { toastId: R, updateId: L, data: O, staleId: k, delay:
|
|
741
|
+
const { toastId: R, updateId: L, data: O, staleId: k, delay: M } = _, V = () => {
|
|
742
742
|
I(R);
|
|
743
743
|
}, z = L == null;
|
|
744
744
|
z && b++;
|
|
745
745
|
const J = { ...y, style: y.toastStyle, key: x++, ...Object.fromEntries(Object.entries(_).filter((j) => {
|
|
746
746
|
let [H, B] = j;
|
|
747
747
|
return B != null;
|
|
748
|
-
})), toastId: R, updateId: L, data: O, closeToast: V, isIn: !1, className: Ei(_.className || y.toastClassName), bodyClassName: Ei(_.bodyClassName || y.bodyClassName), progressClassName: Ei(_.progressClassName || y.progressClassName), autoClose: !_.isLoading && (Y = _.autoClose, ee = y.autoClose, Y === !1 ||
|
|
748
|
+
})), toastId: R, updateId: L, data: O, closeToast: V, isIn: !1, className: Ei(_.className || y.toastClassName), bodyClassName: Ei(_.bodyClassName || y.bodyClassName), progressClassName: Ei(_.progressClassName || y.progressClassName), autoClose: !_.isLoading && (Y = _.autoClose, ee = y.autoClose, Y === !1 || Po(Y) && Y > 0 ? Y : ee), deleteToast() {
|
|
749
749
|
const j = v.get(R), { onClose: H, children: B } = j.props;
|
|
750
750
|
Ft(H) && H(Nr(B) && B.props), g(hl(j, "removed")), v.delete(R), b--, b < 0 && (b = 0), d.length > 0 ? A(d.shift()) : C();
|
|
751
751
|
} };
|
|
@@ -754,9 +754,9 @@ function cp(e) {
|
|
|
754
754
|
let de = w;
|
|
755
755
|
Nr(w) && !hr(w.type) ? de = xa(w, { closeToast: V, toastProps: J, data: O }) : Ft(w) && (de = w({ closeToast: V, toastProps: J, data: O }));
|
|
756
756
|
const ne = { content: de, props: J, staleId: k };
|
|
757
|
-
y.limit && y.limit > 0 && b > y.limit && z ? d.push(ne) :
|
|
757
|
+
y.limit && y.limit > 0 && b > y.limit && z ? d.push(ne) : Po(M) ? setTimeout(() => {
|
|
758
758
|
A(ne);
|
|
759
|
-
},
|
|
759
|
+
}, M) : A(ne);
|
|
760
760
|
}, setProps(w) {
|
|
761
761
|
y = w;
|
|
762
762
|
}, setToggle: (w, _) => {
|
|
@@ -765,7 +765,7 @@ function cp(e) {
|
|
|
765
765
|
}(s, i, ap);
|
|
766
766
|
xt.set(s, l);
|
|
767
767
|
const a = l.observe(c);
|
|
768
|
-
return
|
|
768
|
+
return Mo.forEach((u) => Vd(u.content, u.options)), Mo = [], () => {
|
|
769
769
|
a(), xt.delete(s);
|
|
770
770
|
};
|
|
771
771
|
}, setProps(c) {
|
|
@@ -839,7 +839,7 @@ function up(e) {
|
|
|
839
839
|
let dp = 1;
|
|
840
840
|
const Gd = () => "" + dp++;
|
|
841
841
|
function fp(e) {
|
|
842
|
-
return e && (hr(e.toastId) ||
|
|
842
|
+
return e && (hr(e.toastId) || Po(e.toastId)) ? e.toastId : Gd();
|
|
843
843
|
}
|
|
844
844
|
function Do(e, t) {
|
|
845
845
|
return Vd(e, t), t.toastId;
|
|
@@ -866,7 +866,7 @@ ke.loading = (e, t) => Do(e, Wi("default", { isLoading: !0, autoClose: !1, close
|
|
|
866
866
|
(function(t) {
|
|
867
867
|
var n;
|
|
868
868
|
if (jd()) {
|
|
869
|
-
if (t == null || hr(n = t) ||
|
|
869
|
+
if (t == null || hr(n = t) || Po(n)) xt.forEach((r) => {
|
|
870
870
|
r.removeToast(t);
|
|
871
871
|
});
|
|
872
872
|
else if (t && ("containerId" in t || "id" in t)) {
|
|
@@ -875,7 +875,7 @@ ke.loading = (e, t) => Do(e, Wi("default", { isLoading: !0, autoClose: !1, close
|
|
|
875
875
|
o.removeToast(t.id);
|
|
876
876
|
});
|
|
877
877
|
}
|
|
878
|
-
} else
|
|
878
|
+
} else Mo = Mo.filter((r) => t != null && r.options.toastId !== t);
|
|
879
879
|
})(e);
|
|
880
880
|
}, ke.clearWaitingQueue = function(e) {
|
|
881
881
|
e === void 0 && (e = {}), xt.forEach((t) => {
|
|
@@ -915,18 +915,18 @@ const hp = typeof window < "u" ? io : pe, fi = (e) => {
|
|
|
915
915
|
}, spinner: function() {
|
|
916
916
|
return Ce.createElement("div", { className: "Toastify__spinner" });
|
|
917
917
|
} }, pp = (e) => {
|
|
918
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = lp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: x, position: b, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: C, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: k, theme:
|
|
918
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = lp(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: g, transition: x, position: b, className: d, style: f, bodyClassName: p, bodyStyle: y, progressClassName: v, progressStyle: E, updateId: C, role: I, progress: A, rtl: w, toastId: _, deleteToast: R, isIn: L, isLoading: O, closeOnClick: k, theme: M } = e, V = Zn("Toastify__toast", `Toastify__toast-theme--${M}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": w }, { "Toastify__toast--close-on-click": k }), z = Ft(d) ? d({ rtl: w, position: b, type: u, defaultClassName: V }) : Zn(V, d), J = function(ne) {
|
|
919
919
|
let { theme: j, type: H, isLoading: B, icon: W } = ne, Q = null;
|
|
920
920
|
const ie = { theme: j, type: H };
|
|
921
921
|
return W === !1 || (Ft(W) ? Q = W({ ...ie, isLoading: B }) : Nr(W) ? Q = xa(W, ie) : B ? Q = Zs.spinner() : ((se) => se in Zs)(H) && (Q = Zs[H](ie))), Q;
|
|
922
|
-
}(e), Y = !!A || !l, ee = { closeToast: g, type: u, theme:
|
|
922
|
+
}(e), Y = !!A || !l, ee = { closeToast: g, type: u, theme: M };
|
|
923
923
|
let de = null;
|
|
924
924
|
return s === !1 || (de = Ft(s) ? s(ee) : Nr(s) ? xa(s, ee) : function(ne) {
|
|
925
925
|
let { closeToast: j, theme: H, ariaLabel: B = "close" } = ne;
|
|
926
926
|
return Ce.createElement("button", { className: `Toastify__close-button Toastify__close-button--${H}`, type: "button", onClick: (W) => {
|
|
927
927
|
W.stopPropagation(), j(W);
|
|
928
928
|
}, "aria-label": B }, 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" })));
|
|
929
|
-
}(ee)), Ce.createElement(x, { isIn: L, done: R, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: _, onClick: a, "data-in": L, className: z, ...o, style: f, ref: r }, Ce.createElement("div", { ...L && { role: I }, className: Ft(p) ? p({ type: u }) : Zn("Toastify__toast-body", p), style: y }, J != null && Ce.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !O }) }, J), Ce.createElement("div", null, c)), de, Ce.createElement(up, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: w, theme:
|
|
929
|
+
}(ee)), Ce.createElement(x, { isIn: L, done: R, position: b, preventExitTransition: n, nodeRef: r, playToast: i }, Ce.createElement("div", { id: _, onClick: a, "data-in": L, className: z, ...o, style: f, ref: r }, Ce.createElement("div", { ...L && { role: I }, className: Ft(p) ? p({ type: u }) : Zn("Toastify__toast-body", p), style: y }, J != null && Ce.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !O }) }, J), Ce.createElement("div", null, c)), de, Ce.createElement(up, { ...C && !Y ? { key: `pb-${C}` } : {}, rtl: w, theme: M, delay: l, isRunning: t, isIn: L, closeToast: g, hide: h, type: u, style: E, className: v, controlledProgress: Y, progress: A || 0 })));
|
|
930
930
|
}, ps = function(e, t) {
|
|
931
931
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
932
932
|
}, gp = hs(ps("bounce", !0));
|
|
@@ -1229,7 +1229,7 @@ const zn = async () => {
|
|
|
1229
1229
|
} catch (r) {
|
|
1230
1230
|
console.error("Error updating capture on demand:", r);
|
|
1231
1231
|
}
|
|
1232
|
-
},
|
|
1232
|
+
}, Pp = async (e) => {
|
|
1233
1233
|
if (!e) return;
|
|
1234
1234
|
const t = await zn();
|
|
1235
1235
|
if (t)
|
|
@@ -1238,23 +1238,23 @@ const zn = async () => {
|
|
|
1238
1238
|
} catch (n) {
|
|
1239
1239
|
console.error("Error resetting show notification status:", n);
|
|
1240
1240
|
}
|
|
1241
|
-
},
|
|
1241
|
+
}, Mp = async (e) => {
|
|
1242
1242
|
const t = await wc(e), n = await bs(e);
|
|
1243
1243
|
return t.filter(
|
|
1244
1244
|
(o) => Ud(o, n)
|
|
1245
1245
|
);
|
|
1246
1246
|
}, Xd = async (e) => {
|
|
1247
1247
|
const t = await Dp(e);
|
|
1248
|
-
return t && !Ra(t) ? !1 : await bs(e) && !t ? !0 : !!(await
|
|
1249
|
-
},
|
|
1248
|
+
return t && !Ra(t) ? !1 : await bs(e) && !t ? !0 : !!(await Mp(e)).length;
|
|
1249
|
+
}, WI = async (e, t) => {
|
|
1250
1250
|
await Np(e, t);
|
|
1251
1251
|
}, Ii = async (e) => {
|
|
1252
1252
|
e && await kp(e);
|
|
1253
|
-
},
|
|
1253
|
+
}, ZI = async (e, t) => {
|
|
1254
1254
|
const n = await bs(e);
|
|
1255
1255
|
t ? n !== !1 && await Cl(e, t) : await Cl(e, void 0);
|
|
1256
1256
|
}, jp = async (e) => await Fp(e) && await Xd(e), Bp = async (e) => {
|
|
1257
|
-
await
|
|
1257
|
+
await Pp(e);
|
|
1258
1258
|
};
|
|
1259
1259
|
var Da = {}, er = {};
|
|
1260
1260
|
function zd(e, t) {
|
|
@@ -1267,22 +1267,22 @@ const { toString: Vp } = Object.prototype, { getPrototypeOf: Ac } = Object, vs =
|
|
|
1267
1267
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1268
1268
|
})(/* @__PURE__ */ Object.create(null)), qt = (e) => (e = e.toLowerCase(), (t) => vs(t) === e), ys = (e) => (t) => typeof t === e, { isArray: so } = Array, Go = ys("undefined");
|
|
1269
1269
|
function Gp(e) {
|
|
1270
|
-
return e !== null && !Go(e) && e.constructor !== null && !Go(e.constructor) &&
|
|
1270
|
+
return e !== null && !Go(e) && e.constructor !== null && !Go(e.constructor) && Pt(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1271
1271
|
}
|
|
1272
1272
|
const $d = qt("ArrayBuffer");
|
|
1273
1273
|
function Hp(e) {
|
|
1274
1274
|
let t;
|
|
1275
1275
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && $d(e.buffer), t;
|
|
1276
1276
|
}
|
|
1277
|
-
const Wp = ys("string"),
|
|
1277
|
+
const Wp = ys("string"), Pt = ys("function"), Yd = ys("number"), Cs = (e) => e !== null && typeof e == "object", Zp = (e) => e === !0 || e === !1, wi = (e) => {
|
|
1278
1278
|
if (vs(e) !== "object")
|
|
1279
1279
|
return !1;
|
|
1280
1280
|
const t = Ac(e);
|
|
1281
1281
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1282
|
-
}, Up = qt("Date"), Xp = qt("File"), zp = qt("Blob"), $p = qt("FileList"), Yp = (e) => Cs(e) &&
|
|
1282
|
+
}, Up = qt("Date"), Xp = qt("File"), zp = qt("Blob"), $p = qt("FileList"), Yp = (e) => Cs(e) && Pt(e.pipe), Jp = (e) => {
|
|
1283
1283
|
let t;
|
|
1284
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
1285
|
-
t === "object" &&
|
|
1284
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Pt(e.append) && ((t = vs(e)) === "formdata" || // detect form-data instance
|
|
1285
|
+
t === "object" && Pt(e.toString) && e.toString() === "[object FormData]"));
|
|
1286
1286
|
}, Qp = qt("URLSearchParams"), [qp, Kp, e2, t2] = ["ReadableStream", "Request", "Response", "Headers"].map(qt), n2 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
1287
1287
|
function ni(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
1288
1288
|
if (e === null || typeof e > "u")
|
|
@@ -1318,7 +1318,7 @@ function Fa() {
|
|
|
1318
1318
|
return t;
|
|
1319
1319
|
}
|
|
1320
1320
|
const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
1321
|
-
n &&
|
|
1321
|
+
n && Pt(o) ? e[i] = zd(o, n) : e[i] = o;
|
|
1322
1322
|
}, { allOwnKeys: r }), e), o2 = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), i2 = (e, t, n, r) => {
|
|
1323
1323
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
1324
1324
|
value: t.prototype
|
|
@@ -1372,10 +1372,10 @@ const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
|
1372
1372
|
}), Object.defineProperties(e, r);
|
|
1373
1373
|
}, g2 = (e) => {
|
|
1374
1374
|
qd(e, (t, n) => {
|
|
1375
|
-
if (
|
|
1375
|
+
if (Pt(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1376
1376
|
return !1;
|
|
1377
1377
|
const r = e[n];
|
|
1378
|
-
if (
|
|
1378
|
+
if (Pt(r)) {
|
|
1379
1379
|
if (t.enumerable = !1, "writable" in t) {
|
|
1380
1380
|
t.writable = !1;
|
|
1381
1381
|
return;
|
|
@@ -1405,7 +1405,7 @@ const r2 = (e, t, n, { allOwnKeys: r } = {}) => (ni(t, (o, i) => {
|
|
|
1405
1405
|
return n;
|
|
1406
1406
|
};
|
|
1407
1407
|
function C2(e) {
|
|
1408
|
-
return !!(e &&
|
|
1408
|
+
return !!(e && Pt(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
1409
1409
|
}
|
|
1410
1410
|
const x2 = (e) => {
|
|
1411
1411
|
const t = new Array(10), n = (r, o) => {
|
|
@@ -1424,13 +1424,13 @@ const x2 = (e) => {
|
|
|
1424
1424
|
return r;
|
|
1425
1425
|
};
|
|
1426
1426
|
return n(e, 0);
|
|
1427
|
-
}, E2 = qt("AsyncFunction"), I2 = (e) => e && (Cs(e) ||
|
|
1427
|
+
}, E2 = qt("AsyncFunction"), I2 = (e) => e && (Cs(e) || Pt(e)) && Pt(e.then) && Pt(e.catch), e0 = ((e, t) => e ? setImmediate : t ? ((n, r) => (or.addEventListener("message", ({ source: o, data: i }) => {
|
|
1428
1428
|
o === or && i === n && r.length && r.shift()();
|
|
1429
1429
|
}, !1), (o) => {
|
|
1430
1430
|
r.push(o), or.postMessage(n, "*");
|
|
1431
1431
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
1432
1432
|
typeof setImmediate == "function",
|
|
1433
|
-
|
|
1433
|
+
Pt(or.postMessage)
|
|
1434
1434
|
), w2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(or) : typeof process < "u" && process.nextTick || e0;
|
|
1435
1435
|
var N = {
|
|
1436
1436
|
isArray: so,
|
|
@@ -1452,7 +1452,7 @@ var N = {
|
|
|
1452
1452
|
isFile: Xp,
|
|
1453
1453
|
isBlob: zp,
|
|
1454
1454
|
isRegExp: p2,
|
|
1455
|
-
isFunction:
|
|
1455
|
+
isFunction: Pt,
|
|
1456
1456
|
isStream: Yp,
|
|
1457
1457
|
isURLSearchParams: Qp,
|
|
1458
1458
|
isTypedArray: l2,
|
|
@@ -1732,16 +1732,16 @@ var Al = L2, s0 = {
|
|
|
1732
1732
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
1733
1733
|
};
|
|
1734
1734
|
const Tc = typeof window < "u" && typeof document < "u", ka = typeof navigator == "object" && navigator || void 0, N2 = Tc && (!ka || ["ReactNative", "NativeScript", "NS"].indexOf(ka.product) < 0), k2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
1735
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
1736
|
-
var
|
|
1735
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", P2 = Tc && window.location.href || "http://localhost";
|
|
1736
|
+
var M2 = /* @__PURE__ */ Object.freeze({
|
|
1737
1737
|
__proto__: null,
|
|
1738
1738
|
hasBrowserEnv: Tc,
|
|
1739
1739
|
hasStandardBrowserWebWorkerEnv: k2,
|
|
1740
1740
|
hasStandardBrowserEnv: N2,
|
|
1741
1741
|
navigator: ka,
|
|
1742
|
-
origin:
|
|
1742
|
+
origin: P2
|
|
1743
1743
|
}), Ot = {
|
|
1744
|
-
...
|
|
1744
|
+
...M2,
|
|
1745
1745
|
...F2
|
|
1746
1746
|
};
|
|
1747
1747
|
function j2(e, t) {
|
|
@@ -2450,8 +2450,8 @@ const ig = function* (e, t) {
|
|
|
2450
2450
|
}
|
|
2451
2451
|
}).headers.has("Content-Type");
|
|
2452
2452
|
return e && !t;
|
|
2453
|
-
}), Rl = 64 * 1024,
|
|
2454
|
-
stream:
|
|
2453
|
+
}), Rl = 64 * 1024, Pa = f0 && h0(() => N.isReadableStream(new Response("").body)), Xi = {
|
|
2454
|
+
stream: Pa && ((e) => e.body)
|
|
2455
2455
|
};
|
|
2456
2456
|
Is && ((e) => {
|
|
2457
2457
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
@@ -2526,8 +2526,8 @@ var fg = Is && (async (e) => {
|
|
|
2526
2526
|
credentials: p ? h : void 0
|
|
2527
2527
|
});
|
|
2528
2528
|
let y = await fetch(b);
|
|
2529
|
-
const v =
|
|
2530
|
-
if (
|
|
2529
|
+
const v = Pa && (a === "stream" || a === "response");
|
|
2530
|
+
if (Pa && (c || v && d)) {
|
|
2531
2531
|
const C = {};
|
|
2532
2532
|
["status", "statusText", "headers"].forEach((_) => {
|
|
2533
2533
|
C[_] = y[_];
|
|
@@ -2564,12 +2564,12 @@ var fg = Is && (async (e) => {
|
|
|
2564
2564
|
) : be.from(p, p && p.code, e, b);
|
|
2565
2565
|
}
|
|
2566
2566
|
});
|
|
2567
|
-
const
|
|
2567
|
+
const Ma = {
|
|
2568
2568
|
http: A2,
|
|
2569
2569
|
xhr: ng,
|
|
2570
2570
|
fetch: fg
|
|
2571
2571
|
};
|
|
2572
|
-
N.forEach(
|
|
2572
|
+
N.forEach(Ma, (e, t) => {
|
|
2573
2573
|
if (e) {
|
|
2574
2574
|
try {
|
|
2575
2575
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -2588,7 +2588,7 @@ var p0 = {
|
|
|
2588
2588
|
for (let i = 0; i < t; i++) {
|
|
2589
2589
|
n = e[i];
|
|
2590
2590
|
let s;
|
|
2591
|
-
if (r = n, !hg(n) && (r =
|
|
2591
|
+
if (r = n, !hg(n) && (r = Ma[(s = String(n)).toLowerCase()], r === void 0))
|
|
2592
2592
|
throw new be(`Unknown adapter '${s}'`);
|
|
2593
2593
|
if (r)
|
|
2594
2594
|
break;
|
|
@@ -2608,7 +2608,7 @@ var p0 = {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
return r;
|
|
2610
2610
|
},
|
|
2611
|
-
adapters:
|
|
2611
|
+
adapters: Ma
|
|
2612
2612
|
};
|
|
2613
2613
|
function Js(e) {
|
|
2614
2614
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
@@ -3239,15 +3239,15 @@ var kg = function() {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
};
|
|
3241
3241
|
Oe.expireToken = kg;
|
|
3242
|
-
var
|
|
3242
|
+
var Pg = function(e) {
|
|
3243
3243
|
var t = (0, Nt.getItemFromStorage)("hiverAuthTokenExpiry") || "", n = new Date(t), r = Fc(), o = Nc(e);
|
|
3244
3244
|
return console.log("Heimdall: checking if there is a valid token", r < n && o), r < n && o;
|
|
3245
3245
|
};
|
|
3246
|
-
Oe.hasValidToken =
|
|
3247
|
-
var
|
|
3246
|
+
Oe.hasValidToken = Pg;
|
|
3247
|
+
var Mg = function() {
|
|
3248
3248
|
return Math.floor(Math.random() * 6e4) + 6e4;
|
|
3249
3249
|
};
|
|
3250
|
-
Oe.getRandomDelay =
|
|
3250
|
+
Oe.getRandomDelay = Mg;
|
|
3251
3251
|
var jg = function(e, t) {
|
|
3252
3252
|
if (!e || !t)
|
|
3253
3253
|
throw new Error("User Id or user group Id not found in the response");
|
|
@@ -3639,9 +3639,9 @@ var ws = {}, Zg = me && me.__awaiter || function(e, t, n, r) {
|
|
|
3639
3639
|
};
|
|
3640
3640
|
Object.defineProperty(ws, "__esModule", { value: !0 });
|
|
3641
3641
|
ws.subscribeToOnlineEvent = void 0;
|
|
3642
|
-
var
|
|
3642
|
+
var Pl = $n, Xg = hn, zg = function(e, t) {
|
|
3643
3643
|
switch (t === void 0 && (t = (0, Xg.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
|
|
3644
|
-
case
|
|
3644
|
+
case Pl.PLATFORM.WEB:
|
|
3645
3645
|
return window.addEventListener("online", function() {
|
|
3646
3646
|
return Zg(void 0, void 0, void 0, function() {
|
|
3647
3647
|
return Ug(this, function(n) {
|
|
@@ -3654,7 +3654,7 @@ var Ml = $n, Xg = hn, zg = function(e, t) {
|
|
|
3654
3654
|
});
|
|
3655
3655
|
});
|
|
3656
3656
|
});
|
|
3657
|
-
case
|
|
3657
|
+
case Pl.PLATFORM.MOBILE:
|
|
3658
3658
|
e();
|
|
3659
3659
|
return;
|
|
3660
3660
|
default:
|
|
@@ -3662,10 +3662,10 @@ var Ml = $n, Xg = hn, zg = function(e, t) {
|
|
|
3662
3662
|
}
|
|
3663
3663
|
};
|
|
3664
3664
|
ws.subscribeToOnlineEvent = zg;
|
|
3665
|
-
var
|
|
3665
|
+
var Ml;
|
|
3666
3666
|
function C0() {
|
|
3667
|
-
if (
|
|
3668
|
-
|
|
3667
|
+
if (Ml) return Eo;
|
|
3668
|
+
Ml = 1;
|
|
3669
3669
|
var e = me && me.__awaiter || function(b, d, f, p) {
|
|
3670
3670
|
function y(v) {
|
|
3671
3671
|
return v instanceof f ? v : new f(function(E) {
|
|
@@ -3807,7 +3807,7 @@ function C0() {
|
|
|
3807
3807
|
});
|
|
3808
3808
|
}, h = function(b, d, f, p, y, v, E, C, I) {
|
|
3809
3809
|
return C === void 0 && (C = "default"), e(void 0, void 0, void 0, function() {
|
|
3810
|
-
var A, w, _, R, L, O, k,
|
|
3810
|
+
var A, w, _, R, L, O, k, M, V, z, J, Y, ee, de;
|
|
3811
3811
|
return t(this, function(ne) {
|
|
3812
3812
|
switch (ne.label) {
|
|
3813
3813
|
case 0:
|
|
@@ -3819,7 +3819,7 @@ function C0() {
|
|
|
3819
3819
|
case 3:
|
|
3820
3820
|
return ne.sent(), [3, 11];
|
|
3821
3821
|
case 4:
|
|
3822
|
-
return ((J = O.response) === null || J === void 0 ? void 0 : J.status) === 409 || ((Y = O.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"),
|
|
3822
|
+
return ((J = O.response) === null || J === void 0 ? void 0 : J.status) === 409 || ((Y = O.request) === null || Y === void 0 ? void 0 : Y.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), M = { retryDelay: b, configs: p, apiParams: y, appUI: I }, [4, u(d, f, M, v, E)]) : [3, 6];
|
|
3823
3823
|
case 5:
|
|
3824
3824
|
if (ne.sent(), f >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
3825
3825
|
throw O;
|
|
@@ -4669,7 +4669,7 @@ function w0() {
|
|
|
4669
4669
|
});
|
|
4670
4670
|
}, u = function(x, b, d, f, p, y, v) {
|
|
4671
4671
|
return y === void 0 && (y = "default"), e(void 0, void 0, void 0, function() {
|
|
4672
|
-
var E, C, I, A, w, _, R, L, O, k,
|
|
4672
|
+
var E, C, I, A, w, _, R, L, O, k, M, V, z, J;
|
|
4673
4673
|
return t(this, function(Y) {
|
|
4674
4674
|
switch (Y.label) {
|
|
4675
4675
|
case 0:
|
|
@@ -4681,7 +4681,7 @@ function w0() {
|
|
|
4681
4681
|
case 3:
|
|
4682
4682
|
return Y.sent(), [3, 11];
|
|
4683
4683
|
case 4:
|
|
4684
|
-
return ((
|
|
4684
|
+
return ((M = _.response) === null || M === void 0 ? void 0 : M.status) === 409 || ((V = _.request) === null || V === void 0 ? void 0 : V.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), L = { retryDelay: x, configs: f, api_params: p, appUI: v }, [4, a(b, d, L)]) : [3, 6];
|
|
4685
4685
|
case 5:
|
|
4686
4686
|
if (Y.sent(), d >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
4687
4687
|
throw _;
|
|
@@ -5108,7 +5108,7 @@ const zt = {
|
|
|
5108
5108
|
if (!zt.baseUrl)
|
|
5109
5109
|
throw new Error("Base url is not setup. please call the initConnectorsBifrost function with the appropriate value");
|
|
5110
5110
|
return zt;
|
|
5111
|
-
},
|
|
5111
|
+
}, XI = ({
|
|
5112
5112
|
baseUrl: e,
|
|
5113
5113
|
appEnv: t,
|
|
5114
5114
|
tier: n,
|
|
@@ -5149,7 +5149,7 @@ const zt = {
|
|
|
5149
5149
|
isHiverApiDomain: !0
|
|
5150
5150
|
},
|
|
5151
5151
|
withCredentials: !0
|
|
5152
|
-
}), hm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ D.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), pm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), gm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ D.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ D.createElement("rect", { width: 24, height: 24, fill: "white" })))), mm = "Rate your experience with Hiver Apps", bm = "Share feedback on Apps", vm = "Got any feedback?", _0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", ym = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", Cm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", xm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Em = "enable_connectors_clicked", Im = "learn_more_clicked", wm = "connector_card_expand_clicked", Am = "connector_card_collapsed_clicked", _m = "connector_card_refresh_clicked", Tm = "connector_cards_loaded", Sm = "connector_whats_new_card_viewed", Lm = "connector_whats_new_explore_now_clicked", Om = "connector_whats_new_learn_more_clicked", Rm = "connector_whats_new_dismissed", Dm = "connector_create_new_object_clicked", Fm = "connector_link_new_object_clicked", Nm = "connector_new_object_created_by_form", km = "connector_new_object_linked_by_form",
|
|
5152
|
+
}), hm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ D.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), pm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ D.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ D.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), gm = (e) => /* @__PURE__ */ D.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ D.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ D.createElement("rect", { width: 24, height: 24, fill: "white" })))), mm = "Rate your experience with Hiver Apps", bm = "Share feedback on Apps", vm = "Got any feedback?", _0 = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", ym = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", Cm = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", xm = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Em = "enable_connectors_clicked", Im = "learn_more_clicked", wm = "connector_card_expand_clicked", Am = "connector_card_collapsed_clicked", _m = "connector_card_refresh_clicked", Tm = "connector_cards_loaded", Sm = "connector_whats_new_card_viewed", Lm = "connector_whats_new_explore_now_clicked", Om = "connector_whats_new_learn_more_clicked", Rm = "connector_whats_new_dismissed", Dm = "connector_create_new_object_clicked", Fm = "connector_link_new_object_clicked", Nm = "connector_new_object_created_by_form", km = "connector_new_object_linked_by_form", Pm = "connector_object_unlinked_by_form", Mm = "connector_link_preview_clicked", jm = "connector_create_panel_cancel_clicked", Bm = "connector_create_panel_back_clicked", Vm = "card_loaded_on_click", Gm = "card_loaded", Hm = "schedule_call_clicked", Wm = "schedule_call_cross_clicked", T0 = "CONNECTOR_EDIT_CLICKED", Zm = "CONNECTOR_EDIT_REQUEST_SEND", Um = "CONNECTOR_EDIT_CANCELLED", Xm = "CONNECTOR_EDIT_BACK_CLICKED", zm = "CONNECTOR_EDIT_SUCCESS", $m = "connector_video_clicked", Ym = "connector_card_error", Va = "got_any_feedback_clicked", Jm = "connector_deeplink_clicked", Qm = "search_bar_tapped", qm = "search_suggestions_selected", Km = "search_initiated", e3 = "no_results_found", t3 = "search_results_found", n3 = "search_result_selected", r3 = "search_result_linked", o3 = "feedback_closed_clicked", i3 = "help_btn_clicked", s3 = "connector_chat_support_clicked", a3 = "missing_field_clicked", c3 = {
|
|
5153
5153
|
userEmail: "",
|
|
5154
5154
|
email: "",
|
|
5155
5155
|
baseUrls: {},
|
|
@@ -5165,7 +5165,7 @@ const zt = {
|
|
|
5165
5165
|
stackingContext: {}
|
|
5166
5166
|
}, qe = Ld(c3), Ti = "hiver_connectors", Ga = {
|
|
5167
5167
|
NOT_FOUND: 404
|
|
5168
|
-
}, l3 = "ftr-connector-blue-dot", S0 = "ftr-connectors-write-flow", u3 = "ftr-connectors-enhancements", d3 = "ftr-connector-schedule-call-agent", f3 = "ftr-connectors-edit", h3 = "enableAllConnectorFtr", p3 = "ftr-cards-open-state", g3 = "ftr-connectors-global-search", m3 = "ftr-connectors-smart-suggestions", b3 = "ftr-connectors-email-selection", v3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", y3 = "ftr-connectors-expanded-form", Hl = "Please refresh and try again", C3 = "No data available", Si = "-", L0 = "Refresh", O0 = "Minimize",
|
|
5168
|
+
}, l3 = "ftr-connector-blue-dot", S0 = "ftr-connectors-write-flow", u3 = "ftr-connectors-enhancements", d3 = "ftr-connector-schedule-call-agent", f3 = "ftr-connectors-edit", h3 = "enableAllConnectorFtr", p3 = "ftr-cards-open-state", g3 = "ftr-connectors-global-search", m3 = "ftr-connectors-smart-suggestions", b3 = "ftr-connectors-email-selection", v3 = "ftr-connector-agent-feedback", As = "ftr-connector-unified-view", y3 = "ftr-connectors-expanded-form", Hl = "Please refresh and try again", C3 = "No data available", Si = "-", L0 = "Refresh", O0 = "Minimize", Pc = "Expand", R0 = "Connectors", Mc = "Apps", x3 = "Collapse", E3 = "Close", D0 = "Link", I3 = "Create", w3 = "Update", F0 = "Unlink", N0 = "Edit", jc = "Cancel", k0 = "Create new object", P0 = "Link existing object", A3 = "Are you sure you want to unlink this object?", _3 = "The object will be removed from this conversation for all users. However the object will still be available on {{connectorName}} if you'd like to link it back in the future.", T3 = "Edit card", S3 = "bullet_list", L3 = "Expanded", O3 = "Collapsed", M0 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", j0 = "UNKNOWN_ERROR", R3 = "https://help.hiverhq.com/custom-connectors/common-connector-errors", Wl = {
|
|
5169
5169
|
MAIN_BUTTON: "main_button",
|
|
5170
5170
|
ICON: "create_icon"
|
|
5171
5171
|
}, D3 = "Missing any fields? Inform us.", Bc = (e) => {
|
|
@@ -5241,7 +5241,7 @@ const zt = {
|
|
|
5241
5241
|
function Ul(e, t) {
|
|
5242
5242
|
return e.length > t ? e.substring(0, t) + "..." : e;
|
|
5243
5243
|
}
|
|
5244
|
-
const
|
|
5244
|
+
const P3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1187_180)" }, /* @__PURE__ */ D.createElement("path", { d: "M18.3333 7.81995L12.3417 7.30329L10 1.78662L7.65833 7.31162L1.66666 7.81995L6.21666 11.7616L4.85 17.62L10 14.5116L15.15 17.62L13.7917 11.7616L18.3333 7.81995ZM10 12.9533L6.86666 14.845L7.7 11.2783L4.93333 8.87829L8.58333 8.56162L10 5.20329L11.425 8.56995L15.075 8.88662L12.3083 11.2866L13.1417 14.8533L10 12.9533Z", fill: "#4D596C" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1187_180" }, /* @__PURE__ */ D.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0 0.120117)" })))), M3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 21, height: 20, viewBox: "0 0 21 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_847_49587)" }, /* @__PURE__ */ D.createElement("path", { d: "M10.6668 14.392L15.8168 17.5003L14.4502 11.642L19.0002 7.70033L13.0085 7.19199L10.6668 1.66699L8.32516 7.19199L2.3335 7.70033L6.8835 11.642L5.51683 17.5003L10.6668 14.392Z", fill: "#FFE250" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_847_49587" }, /* @__PURE__ */ D.createElement("rect", { width: 20, height: 20, fill: "white", transform: "translate(0.666992)" })))), j3 = Rd`
|
|
5245
5245
|
from {
|
|
5246
5246
|
transform: translateY(-100%);
|
|
5247
5247
|
opacity: 0;
|
|
@@ -5375,7 +5375,7 @@ const M3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5375
5375
|
onMouseEnter: () => c(u + 1),
|
|
5376
5376
|
children: /* @__PURE__ */ m.jsxs("div", { children: [
|
|
5377
5377
|
/* @__PURE__ */ m.jsx(
|
|
5378
|
-
|
|
5378
|
+
M3,
|
|
5379
5379
|
{
|
|
5380
5380
|
width: "20px",
|
|
5381
5381
|
height: "20px",
|
|
@@ -5386,7 +5386,7 @@ const M3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5386
5386
|
}
|
|
5387
5387
|
),
|
|
5388
5388
|
/* @__PURE__ */ m.jsx(
|
|
5389
|
-
|
|
5389
|
+
P3,
|
|
5390
5390
|
{
|
|
5391
5391
|
width: "20px",
|
|
5392
5392
|
height: "20px",
|
|
@@ -5548,7 +5548,7 @@ const M3 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21
|
|
|
5548
5548
|
J3
|
|
5549
5549
|
] }) })
|
|
5550
5550
|
] });
|
|
5551
|
-
}, sb = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", G0 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ D.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ D.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), ab = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ D.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), lb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ D.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), ub = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", db = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ m.jsx(Ph, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ m.jsxs(jh, { onClick: o.onClick, children: [
|
|
5551
|
+
}, sb = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_4649_80352'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='21'%3e%3crect%20y='0.320312'%20width='20'%20height='20'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4649_80352)'%3e%3cpath%20d='M9.16797%2014.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013%2018.654C8.84852%2018.654%207.76519%2018.4352%206.7513%2017.9977C5.73741%2017.5602%204.85547%2016.9665%204.10547%2016.2165C3.35547%2015.4665%202.76172%2014.5845%202.32422%2013.5706C1.88672%2012.5567%201.66797%2011.4734%201.66797%2010.3206C1.66797%209.16786%201.88672%208.08453%202.32422%207.07064C2.76172%206.05675%203.35547%205.1748%204.10547%204.4248C4.85547%203.6748%205.73741%203.08105%206.7513%202.64355C7.76519%202.20605%208.84852%201.9873%2010.0013%201.9873C11.1541%201.9873%2012.2374%202.20605%2013.2513%202.64355C14.2652%203.08105%2015.1471%203.6748%2015.8971%204.4248C16.6471%205.1748%2017.2409%206.05675%2017.6784%207.07064C18.1159%208.08453%2018.3346%209.16786%2018.3346%2010.3206C18.3346%2011.4734%2018.1159%2012.5567%2017.6784%2013.5706C17.2409%2014.5845%2016.6471%2015.4665%2015.8971%2016.2165C15.1471%2016.9665%2014.2652%2017.5602%2013.2513%2017.9977C12.2374%2018.4352%2011.1541%2018.654%2010.0013%2018.654ZM10.0013%2016.9873C11.8624%2016.9873%2013.4388%2016.3415%2014.7305%2015.0498C16.0221%2013.7581%2016.668%2012.1817%2016.668%2010.3206C16.668%208.45953%2016.0221%206.88314%2014.7305%205.59147C13.4388%204.2998%2011.8624%203.65397%2010.0013%203.65397C8.14019%203.65397%206.5638%204.2998%205.27214%205.59147C3.98047%206.88314%203.33464%208.45953%203.33464%2010.3206C3.33464%2012.1817%203.98047%2013.7581%205.27214%2015.0498C6.5638%2016.3415%208.14019%2016.9873%2010.0013%2016.9873Z'%20fill='%234D596C'/%3e%3c/g%3e%3c/svg%3e", G0 = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M15.505 1.84634C15.1241 1.46545 14.6074 1.25146 14.0688 1.25146C13.5301 1.25146 13.0134 1.46545 12.6325 1.84634L10.6244 3.85447C10.6108 3.3249 10.391 2.82156 10.0116 2.45179C9.63228 2.08203 9.12349 1.87508 8.59375 1.87509H3.90625C3.36753 1.87509 2.85087 2.0891 2.46994 2.47003C2.08901 2.85097 1.875 3.36762 1.875 3.90634V16.0938C1.875 16.6326 2.08901 17.1492 2.46994 17.5302C2.85087 17.9111 3.36753 18.1251 3.90625 18.1251H16.0938C16.6325 18.1251 17.1491 17.9111 17.5301 17.5302C17.911 17.1492 18.125 16.6326 18.125 16.0938V11.4063C18.125 10.8775 17.9189 10.3696 17.5503 9.99039C17.1817 9.6112 16.6798 9.39069 16.1512 9.37572L18.1569 7.37072C18.5378 6.98979 18.7518 6.47316 18.7518 5.93447C18.7518 5.39578 18.5378 4.87915 18.1569 4.49822L15.505 1.84634ZM11.985 9.37509H10.625V8.01509L11.985 9.37509ZM13.5162 2.73009C13.5888 2.65753 13.6749 2.59996 13.7697 2.56069C13.8645 2.52141 13.9661 2.5012 14.0688 2.5012C14.1714 2.5012 14.273 2.52141 14.3678 2.56069C14.4626 2.59996 14.5487 2.65753 14.6212 2.73009L17.2725 5.38197C17.3451 5.45452 17.4026 5.54065 17.4419 5.63545C17.4812 5.73025 17.5014 5.83186 17.5014 5.93447C17.5014 6.03708 17.4812 6.13869 17.4419 6.23349C17.4026 6.32829 17.3451 6.41442 17.2725 6.48697L14.6212 9.13822C14.5487 9.21079 14.4626 9.26835 14.3678 9.30763C14.273 9.3469 14.1714 9.36711 14.0688 9.36711C13.9661 9.36711 13.8645 9.3469 13.7697 9.30763C13.6749 9.26835 13.5888 9.21079 13.5162 9.13822L10.8644 6.48697C10.7918 6.41442 10.7342 6.32829 10.695 6.23349C10.6557 6.13869 10.6355 6.03708 10.6355 5.93447C10.6355 5.83186 10.6557 5.73025 10.695 5.63545C10.7342 5.54065 10.7918 5.45452 10.8644 5.38197L13.5162 2.73009ZM9.375 3.90634V9.37509H3.125V3.90634C3.125 3.47509 3.475 3.12509 3.90625 3.12509H8.59375C9.025 3.12509 9.375 3.47509 9.375 3.90634ZM3.125 16.0938V10.6251H9.375V16.8751H3.90625C3.475 16.8751 3.125 16.5251 3.125 16.0938ZM10.625 10.6251H16.0938C16.525 10.6251 16.875 10.9751 16.875 11.4063V16.0938C16.875 16.5251 16.525 16.8751 16.0938 16.8751H10.625V10.6251Z", fill: "#3E4C5A" }), /* @__PURE__ */ D.createElement("rect", { x: 10.877, y: 5.90918, width: 4.54545, height: 4.54545, rx: 1, transform: "rotate(-45 10.877 5.90918)", fill: "#FFE250" }), /* @__PURE__ */ D.createElement("path", { d: "M3.77344 12.2727C3.77344 11.7204 4.22115 11.2727 4.77344 11.2727H7.77344C8.32572 11.2727 8.77344 11.7204 8.77344 12.2727V15.2727C8.77344 15.825 8.32572 16.2727 7.77344 16.2727H4.77344C4.22115 16.2727 3.77344 15.825 3.77344 15.2727L3.77344 12.2727Z", fill: "#FFE250" })), ab = "data:image/svg+xml,%3csvg%20width='21'%20height='21'%20viewBox='0%200%2021%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1012_80924)'%3e%3cpath%20d='M9.66663%2015.1202H11.3333V13.4535H9.66663V15.1202ZM10.5%201.78687C5.89996%201.78687%202.16663%205.5202%202.16663%2010.1202C2.16663%2014.7202%205.89996%2018.4535%2010.5%2018.4535C15.1%2018.4535%2018.8333%2014.7202%2018.8333%2010.1202C18.8333%205.5202%2015.1%201.78687%2010.5%201.78687ZM10.5%2016.7869C6.82496%2016.7869%203.83329%2013.7952%203.83329%2010.1202C3.83329%206.4452%206.82496%203.45353%2010.5%203.45353C14.175%203.45353%2017.1666%206.4452%2017.1666%2010.1202C17.1666%2013.7952%2014.175%2016.7869%2010.5%2016.7869ZM10.5%205.1202C8.65829%205.1202%207.16663%206.61187%207.16663%208.45353H8.83329C8.83329%207.53687%209.58329%206.78687%2010.5%206.78687C11.4166%206.78687%2012.1666%207.53687%2012.1666%208.45353C12.1666%2010.1202%209.66663%209.91187%209.66663%2012.6202H11.3333C11.3333%2010.7452%2013.8333%2010.5369%2013.8333%208.45353C13.8333%206.61187%2012.3416%205.1202%2010.5%205.1202Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1012_80924'%3e%3crect%20width='20'%20height='20'%20fill='white'%20transform='translate(0.5%200.120117)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1727)" }, /* @__PURE__ */ D.createElement("path", { d: "M15 1.5H3C2.175 1.5 1.5 2.175 1.5 3V16.5L4.5 13.5H15C15.825 13.5 16.5 12.825 16.5 12V3C16.5 2.175 15.825 1.5 15 1.5ZM15 12H4.5L3 13.5V3H15V12ZM5.25 6.75H6.75V8.25H5.25V6.75ZM8.25 6.75H9.75V8.25H8.25V6.75ZM11.25 6.75H12.75V8.25H11.25V6.75Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1727" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), lb = (e) => /* @__PURE__ */ D.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_1329_1720)" }, /* @__PURE__ */ D.createElement("path", { d: "M16.5 6.93L11.1075 6.465L9 1.5L6.8925 6.4725L1.5 6.93L5.595 10.4775L4.365 15.75L9 12.9525L13.635 15.75L12.4125 10.4775L16.5 6.93ZM9 11.55L6.18 13.2525L6.93 10.0425L4.44 7.8825L7.725 7.5975L9 4.575L10.2825 7.605L13.5675 7.89L11.0775 10.05L11.8275 13.26L9 11.55Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_1329_1720" }, /* @__PURE__ */ D.createElement("rect", { width: 18, height: 18, fill: "white" })))), ub = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.3462%208.73757C14.0406%208.43198%2013.5451%208.43198%2013.2395%208.73757C12.9339%209.04316%2012.9339%209.53863%2013.2395%209.84422L14.3462%208.73757ZM15.2392%2010.7372L15.7925%2010.1839L15.2392%2010.7372ZM16.2377%2013.1478L15.4552%2013.1478L16.2377%2013.1478ZM15.2392%2015.5584L14.6859%2015.0051L15.2392%2015.5584ZM10.418%2015.5584L9.86469%2016.1118L10.418%2015.5584ZM9.52499%2013.5588C9.2194%2013.2532%208.72393%2013.2532%208.41834%2013.5588C8.11275%2013.8643%208.11275%2014.3598%208.41834%2014.6654L9.52499%2013.5588ZM5.52477%2011.7731C5.83036%2012.0787%206.32583%2012.0787%206.63142%2011.7731C6.93701%2011.4675%206.93701%2010.972%206.63142%2010.6665L5.52477%2011.7731ZM9.45292%204.95224L10.0062%204.39892L9.45292%204.95224ZM10.346%206.95192C10.6515%207.25752%2011.147%207.25752%2011.4526%206.95192C11.7582%206.64633%2011.7582%206.15087%2011.4526%205.84527L10.346%206.95192ZM13.2395%209.84422L14.6859%2011.2906L15.7925%2010.1839L14.3462%208.73757L13.2395%209.84422ZM14.6859%2011.2906C15.1785%2011.7832%2015.4552%2012.4512%2015.4552%2013.1478L17.0202%2013.1478C17.0202%2012.0362%2016.5786%2010.97%2015.7925%2010.1839L14.6859%2011.2906ZM15.4552%2013.1478C15.4552%2013.8445%2015.1785%2014.5125%2014.6859%2015.0051L15.7925%2016.1118C16.5786%2015.3257%2017.0202%2014.2595%2017.0202%2013.1478L15.4552%2013.1478ZM14.6859%2015.0051C13.6601%2016.0308%2011.9971%2016.0308%2010.9713%2015.0051L9.86469%2016.1118C11.5016%2017.7487%2014.1556%2017.7487%2015.7925%2016.1118L14.6859%2015.0051ZM10.9713%2015.0051L9.52499%2013.5588L8.41834%2014.6654L9.86469%2016.1118L10.9713%2015.0051ZM6.63142%2010.6665L5.18507%209.2201L4.07842%2010.3268L5.52477%2011.7731L6.63142%2010.6665ZM5.18507%209.2201C4.69249%208.72752%204.41576%208.05944%204.41576%207.36283H2.85072C2.85072%208.47452%203.29234%209.54067%204.07842%2010.3268L5.18507%209.2201ZM4.41576%207.36283C4.41576%206.66622%204.69249%205.99815%205.18507%205.50557L4.07842%204.39892C3.29234%205.185%202.85072%206.25115%202.85072%207.36283H4.41576ZM5.18507%205.50557C6.21081%204.47983%207.87386%204.47983%208.8996%205.50557L10.0062%204.39892C8.36932%202.76199%205.71534%202.76199%204.07842%204.39892L5.18507%205.50557ZM8.8996%205.50557L10.346%206.95192L11.4526%205.84527L10.0062%204.39892L8.8996%205.50557Z'%20fill='%234D596C'/%3e%3crect%20x='6.36328'%20y='7.91895'%20width='1.66667'%20height='8.33333'%20rx='0.833333'%20transform='rotate(-45%206.36328%207.91895)'%20fill='%234D596C'/%3e%3c/svg%3e", db = ({ options: e, anchor: t, open: n, onClose: r }) => /* @__PURE__ */ m.jsx(Mh, { id: "help-dropdown", open: n, onClose: r, anchorEl: t, children: e.map((o) => /* @__PURE__ */ m.jsxs(jh, { onClick: o.onClick, children: [
|
|
5552
5552
|
/* @__PURE__ */ m.jsx(Bh, { children: o.icon }),
|
|
5553
5553
|
o.label
|
|
5554
5554
|
] }, o.id)) }), H0 = "connector-header-stuck", fb = F($)`
|
|
@@ -5851,7 +5851,7 @@ const gb = F(fe)`
|
|
|
5851
5851
|
box-sizing: border-box;
|
|
5852
5852
|
height: 48px;
|
|
5853
5853
|
justify-content: space-between;
|
|
5854
|
-
`,
|
|
5854
|
+
`, Pb = F(fe)`
|
|
5855
5855
|
overflow: hidden;
|
|
5856
5856
|
transition: max-height 300ms;
|
|
5857
5857
|
&.slideUp {
|
|
@@ -5860,7 +5860,7 @@ const gb = F(fe)`
|
|
|
5860
5860
|
&.slideDown {
|
|
5861
5861
|
max-height: ${({ height: e }) => e ? `${e}px` : "0px"};
|
|
5862
5862
|
}
|
|
5863
|
-
`,
|
|
5863
|
+
`, Mb = F(fe)`
|
|
5864
5864
|
background-color: #f0f3ff99;
|
|
5865
5865
|
padding: 14px 12px 8px 12px;
|
|
5866
5866
|
box-sizing: border-box;
|
|
@@ -5995,12 +5995,12 @@ const gb = F(fe)`
|
|
|
5995
5995
|
/* @__PURE__ */ m.jsxs(fb, { ref: c, children: [
|
|
5996
5996
|
/* @__PURE__ */ m.jsxs($, { direction: "row", alignItems: "center", gap: "8px", children: [
|
|
5997
5997
|
y ? /* @__PURE__ */ m.jsx(G0, { width: "20px", height: "20px" }) : /* @__PURE__ */ m.jsx(W0, {}),
|
|
5998
|
-
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: y ?
|
|
5998
|
+
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: y ? Mc : R0 })
|
|
5999
5999
|
] }),
|
|
6000
6000
|
/* @__PURE__ */ m.jsxs($, { direction: "row", children: [
|
|
6001
6001
|
/* @__PURE__ */ m.jsx(Ge, { title: vm, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: C, id: "help-button", sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: ab, alt: "Help", height: "20px" }) }) }),
|
|
6002
6002
|
t && (o != null && o.length) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
6003
|
-
r ? /* @__PURE__ */ m.jsx(Ge, { title:
|
|
6003
|
+
r ? /* @__PURE__ */ m.jsx(Ge, { title: P0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: s, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: ub, alt: "Link Task", height: "20px" }) }) }) : null,
|
|
6004
6004
|
n ? /* @__PURE__ */ m.jsx(Ge, { title: k0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: i, sx: { height: "36px", width: "36px" }, children: /* @__PURE__ */ m.jsx("img", { src: sb, alt: "Add", height: "20px" }) }) }) : null
|
|
6005
6005
|
] }) : null
|
|
6006
6006
|
] })
|
|
@@ -6095,8 +6095,8 @@ function $b() {
|
|
|
6095
6095
|
}
|
|
6096
6096
|
return I = O, O;
|
|
6097
6097
|
}
|
|
6098
|
-
var
|
|
6099
|
-
if (n(
|
|
6098
|
+
var M = C, V = I;
|
|
6099
|
+
if (n(M, L))
|
|
6100
6100
|
return V;
|
|
6101
6101
|
var z = g(L);
|
|
6102
6102
|
return x !== void 0 && x(V, z) ? V : (C = L, I = z, z);
|
|
@@ -7015,7 +7015,7 @@ var kv = class {
|
|
|
7015
7015
|
}, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
|
|
7016
7016
|
}
|
|
7017
7017
|
createDraft(e) {
|
|
7018
|
-
An(e) || Lt(8), vr(e) && (e =
|
|
7018
|
+
An(e) || Lt(8), vr(e) && (e = Pv(e));
|
|
7019
7019
|
const t = ru(this), n = $a(e, void 0);
|
|
7020
7020
|
return n[Bt].isManual_ = !0, Xa(t), n;
|
|
7021
7021
|
}
|
|
@@ -7062,7 +7062,7 @@ function $a(e, t) {
|
|
|
7062
7062
|
const n = Ts(e) ? yr("MapSet").proxyMap_(e, t) : Ss(e) ? yr("MapSet").proxySet_(e, t) : Fv(e, t);
|
|
7063
7063
|
return (t ? t.scope_ : sf()).drafts_.push(n), n;
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function Pv(e) {
|
|
7066
7066
|
return vr(e) || Lt(10, e), cf(e);
|
|
7067
7067
|
}
|
|
7068
7068
|
function cf(e) {
|
|
@@ -7092,7 +7092,7 @@ Vt.finishDraft.bind(Vt);
|
|
|
7092
7092
|
function uf(e) {
|
|
7093
7093
|
return ({ dispatch: n, getState: r }) => (o) => (i) => typeof i == "function" ? i(n, r, e) : o(i);
|
|
7094
7094
|
}
|
|
7095
|
-
var
|
|
7095
|
+
var Mv = uf(), jv = uf, Bv = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
7096
7096
|
if (arguments.length !== 0)
|
|
7097
7097
|
return typeof arguments[0] == "object" ? Yi : Yi.apply(null, arguments);
|
|
7098
7098
|
}, df = (e) => e && typeof e.match == "function";
|
|
@@ -7369,7 +7369,7 @@ var zv = () => function(t) {
|
|
|
7369
7369
|
actionCreatorCheck: i = !0
|
|
7370
7370
|
} = t ?? {};
|
|
7371
7371
|
let s = new hf();
|
|
7372
|
-
if (n && (hi(n) ? s.push(
|
|
7372
|
+
if (n && (hi(n) ? s.push(Mv) : s.push(jv(n.extraArgument))), process.env.NODE_ENV !== "production") {
|
|
7373
7373
|
if (r) {
|
|
7374
7374
|
let c = {};
|
|
7375
7375
|
hi(r) || (c = r), s.unshift(Uv(c));
|
|
@@ -8014,7 +8014,7 @@ const lu = {
|
|
|
8014
8014
|
DELETE: "DELETE",
|
|
8015
8015
|
PATCH: "PATCH",
|
|
8016
8016
|
PUT: "PUT"
|
|
8017
|
-
},
|
|
8017
|
+
}, zI = async (e) => {
|
|
8018
8018
|
const t = new URLSearchParams(), { inboxIds: n, channelType: r, conversationId: o, fetchAuthenticatedConnectors: i } = e || {};
|
|
8019
8019
|
return n == null || n.forEach((c) => {
|
|
8020
8020
|
t.append("inbox_ids", c);
|
|
@@ -8076,17 +8076,17 @@ const D5 = {
|
|
|
8076
8076
|
};
|
|
8077
8077
|
};
|
|
8078
8078
|
var Ja = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(Ja || {});
|
|
8079
|
-
const
|
|
8079
|
+
const P5 = {
|
|
8080
8080
|
[Ja.ADD]: (e, t) => e + t,
|
|
8081
8081
|
[Ja.MULTIPLY]: (e, t) => e * t
|
|
8082
|
-
},
|
|
8082
|
+
}, M5 = (e) => e, uu = () => {
|
|
8083
8083
|
if ("crypto" in window && "randomUUID" in window.crypto)
|
|
8084
8084
|
return window.crypto.randomUUID();
|
|
8085
8085
|
const e = Date.now().toString(16), t = Math.random().toString(16).substring(2, 8);
|
|
8086
8086
|
return `${e}-${t}`;
|
|
8087
8087
|
}, du = (e, t) => {
|
|
8088
8088
|
let n;
|
|
8089
|
-
const r =
|
|
8089
|
+
const r = P5[t] ?? M5;
|
|
8090
8090
|
for (const o of e) {
|
|
8091
8091
|
const i = Number(o);
|
|
8092
8092
|
isNaN(i) || (n = n === void 0 ? i : r(n, i));
|
|
@@ -8250,7 +8250,7 @@ function Uc(e) {
|
|
|
8250
8250
|
typeof u == "function" && (de = u(Y, ee)), y(de !== void 0 ? de : Y);
|
|
8251
8251
|
}, [u]), k = Te(function() {
|
|
8252
8252
|
typeof g == "function" && g(), I(!0);
|
|
8253
|
-
}, [g]),
|
|
8253
|
+
}, [g]), M = Te(function() {
|
|
8254
8254
|
typeof h == "function" && h(), I(!1);
|
|
8255
8255
|
}, [h]), V = c !== void 0 ? c : p, z = l !== void 0 ? l : C, J = x !== void 0 ? x : _;
|
|
8256
8256
|
return oe(oe({}, b), {}, {
|
|
@@ -8258,7 +8258,7 @@ function Uc(e) {
|
|
|
8258
8258
|
menuIsOpen: z,
|
|
8259
8259
|
onChange: L,
|
|
8260
8260
|
onInputChange: O,
|
|
8261
|
-
onMenuClose:
|
|
8261
|
+
onMenuClose: M,
|
|
8262
8262
|
onMenuOpen: k,
|
|
8263
8263
|
value: J
|
|
8264
8264
|
});
|
|
@@ -8439,7 +8439,7 @@ function O4() {
|
|
|
8439
8439
|
function R4() {
|
|
8440
8440
|
return et = Rt > 0 ? lt(fo, --Rt) : 0, ro--, et === 10 && (ro = 1, Ds--), et;
|
|
8441
8441
|
}
|
|
8442
|
-
function
|
|
8442
|
+
function Mt() {
|
|
8443
8443
|
return et = Rt < Df ? lt(fo, Rt++) : 0, ro++, et === 10 && (ro = 1, Ds++), et;
|
|
8444
8444
|
}
|
|
8445
8445
|
function pn() {
|
|
@@ -8494,16 +8494,16 @@ function Oi(e) {
|
|
|
8494
8494
|
}
|
|
8495
8495
|
function D4(e) {
|
|
8496
8496
|
for (; (et = pn()) && et < 33; )
|
|
8497
|
-
|
|
8497
|
+
Mt();
|
|
8498
8498
|
return Uo(e) > 2 || Uo(et) > 3 ? "" : " ";
|
|
8499
8499
|
}
|
|
8500
8500
|
function F4(e, t) {
|
|
8501
|
-
for (; --t &&
|
|
8501
|
+
for (; --t && Mt() && !(et < 48 || et > 102 || et > 57 && et < 65 || et > 70 && et < 97); )
|
|
8502
8502
|
;
|
|
8503
|
-
return oi(e, Li() + (t < 6 && pn() == 32 &&
|
|
8503
|
+
return oi(e, Li() + (t < 6 && pn() == 32 && Mt() == 32));
|
|
8504
8504
|
}
|
|
8505
8505
|
function ec(e) {
|
|
8506
|
-
for (;
|
|
8506
|
+
for (; Mt(); )
|
|
8507
8507
|
switch (et) {
|
|
8508
8508
|
case e:
|
|
8509
8509
|
return Rt;
|
|
@@ -8515,28 +8515,28 @@ function ec(e) {
|
|
|
8515
8515
|
e === 41 && ec(e);
|
|
8516
8516
|
break;
|
|
8517
8517
|
case 92:
|
|
8518
|
-
|
|
8518
|
+
Mt();
|
|
8519
8519
|
break;
|
|
8520
8520
|
}
|
|
8521
8521
|
return Rt;
|
|
8522
8522
|
}
|
|
8523
8523
|
function N4(e, t) {
|
|
8524
|
-
for (;
|
|
8524
|
+
for (; Mt() && e + et !== 57; )
|
|
8525
8525
|
if (e + et === 84 && pn() === 47)
|
|
8526
8526
|
break;
|
|
8527
|
-
return "/*" + oi(t, Rt - 1) + "*" + Rs(e === 47 ? e :
|
|
8527
|
+
return "/*" + oi(t, Rt - 1) + "*" + Rs(e === 47 ? e : Mt());
|
|
8528
8528
|
}
|
|
8529
8529
|
function k4(e) {
|
|
8530
8530
|
for (; !Uo(pn()); )
|
|
8531
|
-
|
|
8531
|
+
Mt();
|
|
8532
8532
|
return oi(e, Rt);
|
|
8533
8533
|
}
|
|
8534
|
-
function
|
|
8534
|
+
function P4(e) {
|
|
8535
8535
|
return Nf(Ri("", null, null, null, [""], e = Ff(e), 0, [0], e));
|
|
8536
8536
|
}
|
|
8537
8537
|
function Ri(e, t, n, r, o, i, s, c, l) {
|
|
8538
8538
|
for (var a = 0, u = 0, h = s, g = 0, x = 0, b = 0, d = 1, f = 1, p = 1, y = 0, v = "", E = o, C = i, I = r, A = v; f; )
|
|
8539
|
-
switch (b = y, y =
|
|
8539
|
+
switch (b = y, y = Mt()) {
|
|
8540
8540
|
case 40:
|
|
8541
8541
|
if (b != 108 && lt(A, h - 1) == 58) {
|
|
8542
8542
|
Ka(A += Le(Oi(y), "&", "&\f"), "&\f") != -1 && (p = -1);
|
|
@@ -8560,7 +8560,7 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8560
8560
|
switch (pn()) {
|
|
8561
8561
|
case 42:
|
|
8562
8562
|
case 47:
|
|
8563
|
-
mi(
|
|
8563
|
+
mi(M4(N4(Mt(), Li()), t, n), l);
|
|
8564
8564
|
break;
|
|
8565
8565
|
default:
|
|
8566
8566
|
A += "/";
|
|
@@ -8615,7 +8615,7 @@ function Ri(e, t, n, r, o, i, s, c, l) {
|
|
|
8615
8615
|
c[a++] = (ln(A) - 1) * p, p = 1;
|
|
8616
8616
|
break;
|
|
8617
8617
|
case 64:
|
|
8618
|
-
pn() === 45 && (A += Oi(
|
|
8618
|
+
pn() === 45 && (A += Oi(Mt())), g = pn(), u = h = ln(v = A += k4(Li())), y++;
|
|
8619
8619
|
break;
|
|
8620
8620
|
case 45:
|
|
8621
8621
|
b === 45 && ln(A) == 2 && (d = 0);
|
|
@@ -8629,13 +8629,13 @@ function gu(e, t, n, r, o, i, s, c, l, a, u) {
|
|
|
8629
8629
|
(v = Rf(d > 0 ? g[p] + " " + y : Le(y, /&\f/g, g[p]))) && (l[f++] = v);
|
|
8630
8630
|
return Fs(e, t, n, o === 0 ? Xc : c, l, a, u);
|
|
8631
8631
|
}
|
|
8632
|
-
function
|
|
8632
|
+
function M4(e, t, n) {
|
|
8633
8633
|
return Fs(e, t, n, Lf, Rs(O4()), Zo(e, 2, -2), 0);
|
|
8634
8634
|
}
|
|
8635
8635
|
function mu(e, t, n, r) {
|
|
8636
8636
|
return Fs(e, t, n, zc, Zo(e, 0, r), Zo(e, r + 1, -1), r);
|
|
8637
8637
|
}
|
|
8638
|
-
function
|
|
8638
|
+
function Pr(e, t) {
|
|
8639
8639
|
for (var n = "", r = $c(e), o = 0; o < r; o++)
|
|
8640
8640
|
n += t(e[o], o, e, t) || "";
|
|
8641
8641
|
return n;
|
|
@@ -8650,11 +8650,11 @@ function j4(e, t, n, r) {
|
|
|
8650
8650
|
case Lf:
|
|
8651
8651
|
return "";
|
|
8652
8652
|
case Of:
|
|
8653
|
-
return e.return = e.value + "{" +
|
|
8653
|
+
return e.return = e.value + "{" + Pr(e.children, r) + "}";
|
|
8654
8654
|
case Xc:
|
|
8655
8655
|
e.value = e.props.join(",");
|
|
8656
8656
|
}
|
|
8657
|
-
return ln(n =
|
|
8657
|
+
return ln(n = Pr(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
8658
8658
|
}
|
|
8659
8659
|
function B4(e) {
|
|
8660
8660
|
var t = $c(e);
|
|
@@ -8677,7 +8677,7 @@ function G4(e) {
|
|
|
8677
8677
|
}
|
|
8678
8678
|
var H4 = function(t, n, r) {
|
|
8679
8679
|
for (var o = 0, i = 0; o = i, i = pn(), o === 38 && i === 12 && (n[r] = 1), !Uo(i); )
|
|
8680
|
-
|
|
8680
|
+
Mt();
|
|
8681
8681
|
return oi(t, Rt);
|
|
8682
8682
|
}, W4 = function(t, n) {
|
|
8683
8683
|
var r = -1, o = 44;
|
|
@@ -8697,7 +8697,7 @@ var H4 = function(t, n, r) {
|
|
|
8697
8697
|
default:
|
|
8698
8698
|
t[r] += Rs(o);
|
|
8699
8699
|
}
|
|
8700
|
-
while (o =
|
|
8700
|
+
while (o = Mt());
|
|
8701
8701
|
return t;
|
|
8702
8702
|
}, Z4 = function(t, n) {
|
|
8703
8703
|
return Nf(W4(Ff(t), n));
|
|
@@ -8839,7 +8839,7 @@ var z4 = function(t, n, r, o) {
|
|
|
8839
8839
|
t.return = kf(t.value, t.length);
|
|
8840
8840
|
break;
|
|
8841
8841
|
case Of:
|
|
8842
|
-
return
|
|
8842
|
+
return Pr([Ao(t, {
|
|
8843
8843
|
value: Le(t.value, "@", "@" + Se)
|
|
8844
8844
|
})], o);
|
|
8845
8845
|
case Xc:
|
|
@@ -8847,11 +8847,11 @@ var z4 = function(t, n, r, o) {
|
|
|
8847
8847
|
switch (S4(i, /(::plac\w+|:read-\w+)/)) {
|
|
8848
8848
|
case ":read-only":
|
|
8849
8849
|
case ":read-write":
|
|
8850
|
-
return
|
|
8850
|
+
return Pr([Ao(t, {
|
|
8851
8851
|
props: [Le(i, /:(read-\w+)/, ":" + es + "$1")]
|
|
8852
8852
|
})], o);
|
|
8853
8853
|
case "::placeholder":
|
|
8854
|
-
return
|
|
8854
|
+
return Pr([Ao(t, {
|
|
8855
8855
|
props: [Le(i, /:(plac\w+)/, ":" + Se + "input-$1")]
|
|
8856
8856
|
}), Ao(t, {
|
|
8857
8857
|
props: [Le(i, /:(plac\w+)/, ":" + es + "$1")]
|
|
@@ -8887,7 +8887,7 @@ var z4 = function(t, n, r, o) {
|
|
|
8887
8887
|
var u, h = [j4, V4(function(d) {
|
|
8888
8888
|
u.insert(d);
|
|
8889
8889
|
})], g = B4(a.concat(o, h)), x = function(f) {
|
|
8890
|
-
return
|
|
8890
|
+
return Pr(P4(f), g);
|
|
8891
8891
|
};
|
|
8892
8892
|
l = function(f, p, y, v) {
|
|
8893
8893
|
u = y, x(f ? f + "{" + p.styles + "}" : p.styles), v && (b.inserted[p.name] = !0);
|
|
@@ -9033,7 +9033,7 @@ function Q4() {
|
|
|
9033
9033
|
}
|
|
9034
9034
|
}
|
|
9035
9035
|
}
|
|
9036
|
-
var C = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = b, k = x,
|
|
9036
|
+
var C = l, I = a, A = c, w = s, _ = t, R = u, L = r, O = b, k = x, M = n, V = i, z = o, J = h, Y = !1;
|
|
9037
9037
|
function ee(Z) {
|
|
9038
9038
|
return Y || (Y = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), de(Z) || E(Z) === l;
|
|
9039
9039
|
}
|
|
@@ -9064,7 +9064,7 @@ function Q4() {
|
|
|
9064
9064
|
function se(Z) {
|
|
9065
9065
|
return E(Z) === n;
|
|
9066
9066
|
}
|
|
9067
|
-
function
|
|
9067
|
+
function P(Z) {
|
|
9068
9068
|
return E(Z) === i;
|
|
9069
9069
|
}
|
|
9070
9070
|
function re(Z) {
|
|
@@ -9073,11 +9073,11 @@ function Q4() {
|
|
|
9073
9073
|
function Ee(Z) {
|
|
9074
9074
|
return E(Z) === h;
|
|
9075
9075
|
}
|
|
9076
|
-
Ne.AsyncMode = C, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = k, Ne.Portal =
|
|
9076
|
+
Ne.AsyncMode = C, Ne.ConcurrentMode = I, Ne.ContextConsumer = A, Ne.ContextProvider = w, Ne.Element = _, Ne.ForwardRef = R, Ne.Fragment = L, Ne.Lazy = O, Ne.Memo = k, Ne.Portal = M, Ne.Profiler = V, Ne.StrictMode = z, Ne.Suspense = J, Ne.isAsyncMode = ee, Ne.isConcurrentMode = de, Ne.isContextConsumer = ne, Ne.isContextProvider = j, Ne.isElement = H, Ne.isForwardRef = B, Ne.isFragment = W, Ne.isLazy = Q, Ne.isMemo = ie, Ne.isPortal = se, Ne.isProfiler = P, Ne.isStrictMode = re, Ne.isSuspense = Ee, Ne.isValidElementType = v, Ne.typeOf = E;
|
|
9077
9077
|
}()), Ne;
|
|
9078
9078
|
}
|
|
9079
9079
|
process.env.NODE_ENV === "production" ? tc.exports = J4() : tc.exports = Q4();
|
|
9080
|
-
var q4 = tc.exports,
|
|
9080
|
+
var q4 = tc.exports, Pf = q4, K4 = {
|
|
9081
9081
|
$$typeof: !0,
|
|
9082
9082
|
render: !0,
|
|
9083
9083
|
defaultProps: !0,
|
|
@@ -9090,9 +9090,9 @@ var q4 = tc.exports, Mf = q4, K4 = {
|
|
|
9090
9090
|
displayName: !0,
|
|
9091
9091
|
propTypes: !0,
|
|
9092
9092
|
type: !0
|
|
9093
|
-
},
|
|
9094
|
-
Pf
|
|
9095
|
-
Pf
|
|
9093
|
+
}, Mf = {};
|
|
9094
|
+
Mf[Pf.ForwardRef] = K4;
|
|
9095
|
+
Mf[Pf.Memo] = ey;
|
|
9096
9096
|
var ty = !0;
|
|
9097
9097
|
function ny(e, t, n) {
|
|
9098
9098
|
var r = "";
|
|
@@ -9633,9 +9633,9 @@ function ky(e, t, n, r) {
|
|
|
9633
9633
|
}), h == null || h(), (p = x) == null || p.disconnect(), x = null, l && cancelAnimationFrame(b);
|
|
9634
9634
|
};
|
|
9635
9635
|
}
|
|
9636
|
-
var oc = io,
|
|
9636
|
+
var oc = io, Py = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], os = function() {
|
|
9637
9637
|
};
|
|
9638
|
-
function
|
|
9638
|
+
function My(e, t) {
|
|
9639
9639
|
return t ? t[0] === "-" ? e + t : e + "__" + t : e;
|
|
9640
9640
|
}
|
|
9641
9641
|
function jy(e, t) {
|
|
@@ -9644,7 +9644,7 @@ function jy(e, t) {
|
|
|
9644
9644
|
var i = [].concat(r);
|
|
9645
9645
|
if (t && e)
|
|
9646
9646
|
for (var s in t)
|
|
9647
|
-
t.hasOwnProperty(s) && t[s] && i.push("".concat(
|
|
9647
|
+
t.hasOwnProperty(s) && t[s] && i.push("".concat(My(e, s)));
|
|
9648
9648
|
return i.filter(function(c) {
|
|
9649
9649
|
return c;
|
|
9650
9650
|
}).map(function(c) {
|
|
@@ -9655,7 +9655,7 @@ var is = function(t) {
|
|
|
9655
9655
|
return $y(t) ? t.filter(Boolean) : Cr(t) === "object" && t !== null ? [t] : [];
|
|
9656
9656
|
}, zf = function(t) {
|
|
9657
9657
|
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;
|
|
9658
|
-
var n = tn(t,
|
|
9658
|
+
var n = tn(t, Py);
|
|
9659
9659
|
return oe({}, n);
|
|
9660
9660
|
}, $e = function(t, n, r) {
|
|
9661
9661
|
var o = t.cx, i = t.getStyles, s = t.getClassNames, c = t.className;
|
|
@@ -9793,10 +9793,10 @@ function qy(e) {
|
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
9795
|
if (o === "auto" || s) {
|
|
9796
|
-
var
|
|
9797
|
-
return V >= r && (
|
|
9796
|
+
var M = t, V = s ? I : w;
|
|
9797
|
+
return V >= r && (M = Math.min(V - E - c, t)), {
|
|
9798
9798
|
placement: "top",
|
|
9799
|
-
maxHeight:
|
|
9799
|
+
maxHeight: M
|
|
9800
9800
|
};
|
|
9801
9801
|
}
|
|
9802
9802
|
if (o === "bottom")
|
|
@@ -9938,7 +9938,7 @@ var Jf = function(t) {
|
|
|
9938
9938
|
zIndex: 1
|
|
9939
9939
|
};
|
|
9940
9940
|
}, d9 = function(t) {
|
|
9941
|
-
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = ye(null), a = ye(null), u = U(Jf(s)), h = st(u, 2), g = h[0], x = h[1], b =
|
|
9941
|
+
var n = t.appendTo, r = t.children, o = t.controlElement, i = t.innerProps, s = t.menuPlacement, c = t.menuPosition, l = ye(null), a = ye(null), u = U(Jf(s)), h = st(u, 2), g = h[0], x = h[1], b = Me(function() {
|
|
9942
9942
|
return {
|
|
9943
9943
|
setPortalPlacement: x
|
|
9944
9944
|
};
|
|
@@ -10194,7 +10194,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10194
10194
|
paddingBottom: r.baseUnit * 2,
|
|
10195
10195
|
paddingTop: r.baseUnit * 2
|
|
10196
10196
|
};
|
|
10197
|
-
},
|
|
10197
|
+
}, P9 = function(t) {
|
|
10198
10198
|
var n = t.children, r = t.cx, o = t.getStyles, i = t.getClassNames, s = t.Heading, c = t.headingProps, l = t.innerProps, a = t.label, u = t.theme, h = t.selectProps;
|
|
10199
10199
|
return ce("div", le({}, $e(t, "group", {
|
|
10200
10200
|
group: !0
|
|
@@ -10205,7 +10205,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10205
10205
|
getClassNames: i,
|
|
10206
10206
|
cx: r
|
|
10207
10207
|
}), a), ce("div", null, n));
|
|
10208
|
-
},
|
|
10208
|
+
}, M9 = function(t, n) {
|
|
10209
10209
|
var r = t.theme, o = r.colors, i = r.spacing;
|
|
10210
10210
|
return oe({
|
|
10211
10211
|
label: "group",
|
|
@@ -10227,7 +10227,7 @@ var x9 = process.env.NODE_ENV === "production" ? {
|
|
|
10227
10227
|
return ce("div", le({}, $e(t, "groupHeading", {
|
|
10228
10228
|
"group-heading": !0
|
|
10229
10229
|
}), r));
|
|
10230
|
-
}, B9 =
|
|
10230
|
+
}, B9 = P9, V9 = ["innerRef", "isDisabled", "isHidden", "inputClassName"], G9 = function(t, n) {
|
|
10231
10231
|
var r = t.isDisabled, o = t.value, i = t.theme, s = i.spacing, c = i.colors;
|
|
10232
10232
|
return oe(oe({
|
|
10233
10233
|
visibility: r ? "hidden" : "visible",
|
|
@@ -10544,9 +10544,9 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10544
10544
|
return "".concat(r).concat(n ? " for search term " + n : "", ".");
|
|
10545
10545
|
}
|
|
10546
10546
|
}, bC = function(t) {
|
|
10547
|
-
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, l = t.selectProps, a = t.id, u = t.isAppleDevice, h = l.ariaLiveMessages, g = l.getOptionLabel, x = l.inputValue, b = l.isMulti, d = l.isOptionDisabled, f = l.isSearchable, p = l.menuIsOpen, y = l.options, v = l.screenReaderStatus, E = l.tabSelectsValue, C = l.isLoading, I = l["aria-label"], A = l["aria-live"], w =
|
|
10547
|
+
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, c = t.selectValue, l = t.selectProps, a = t.id, u = t.isAppleDevice, h = l.ariaLiveMessages, g = l.getOptionLabel, x = l.inputValue, b = l.isMulti, d = l.isOptionDisabled, f = l.isSearchable, p = l.menuIsOpen, y = l.options, v = l.screenReaderStatus, E = l.tabSelectsValue, C = l.isLoading, I = l["aria-label"], A = l["aria-live"], w = Me(function() {
|
|
10548
10548
|
return oe(oe({}, mC), h || {});
|
|
10549
|
-
}, [h]), _ =
|
|
10549
|
+
}, [h]), _ = Me(function() {
|
|
10550
10550
|
var V = "";
|
|
10551
10551
|
if (n && w.onChange) {
|
|
10552
10552
|
var z = n.option, J = n.options, Y = n.removedValue, ee = n.removedValues, de = n.value, ne = function(se) {
|
|
@@ -10561,7 +10561,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10561
10561
|
V = w.onChange(Q);
|
|
10562
10562
|
}
|
|
10563
10563
|
return V;
|
|
10564
|
-
}, [n, w, d, c, g]), R =
|
|
10564
|
+
}, [n, w, d, c, g]), R = Me(function() {
|
|
10565
10565
|
var V = "", z = r || o, J = !!(r && c && c.includes(r));
|
|
10566
10566
|
if (z && w.onFocus) {
|
|
10567
10567
|
var Y = {
|
|
@@ -10577,7 +10577,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10577
10577
|
V = w.onFocus(Y);
|
|
10578
10578
|
}
|
|
10579
10579
|
return V;
|
|
10580
|
-
}, [r, o, g, d, w, i, c, u]), L =
|
|
10580
|
+
}, [r, o, g, d, w, i, c, u]), L = Me(function() {
|
|
10581
10581
|
var V = "";
|
|
10582
10582
|
if (p && y.length && !C && w.onFilter) {
|
|
10583
10583
|
var z = v({
|
|
@@ -10589,7 +10589,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10589
10589
|
});
|
|
10590
10590
|
}
|
|
10591
10591
|
return V;
|
|
10592
|
-
}, [i, x, p, w, y, v, C]), O = (n == null ? void 0 : n.action) === "initial-input-focus", k =
|
|
10592
|
+
}, [i, x, p, w, y, v, C]), O = (n == null ? void 0 : n.action) === "initial-input-focus", k = Me(function() {
|
|
10593
10593
|
var V = "";
|
|
10594
10594
|
if (w.guidance) {
|
|
10595
10595
|
var z = o ? "value" : p ? "menu" : "input";
|
|
@@ -10604,7 +10604,7 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10604
10604
|
});
|
|
10605
10605
|
}
|
|
10606
10606
|
return V;
|
|
10607
|
-
}, [I, r, o, b, d, f, p, w, c, E, O]),
|
|
10607
|
+
}, [I, r, o, b, d, f, p, w, c, E, O]), M = ce(Ea, null, ce("span", {
|
|
10608
10608
|
id: "aria-selection"
|
|
10609
10609
|
}, _), ce("span", {
|
|
10610
10610
|
id: "aria-focused"
|
|
@@ -10615,12 +10615,12 @@ var pC = process.env.NODE_ENV === "production" ? {
|
|
|
10615
10615
|
}, k));
|
|
10616
10616
|
return ce(Ea, null, ce(Ou, {
|
|
10617
10617
|
id: a
|
|
10618
|
-
}, O &&
|
|
10618
|
+
}, O && M), ce(Ou, {
|
|
10619
10619
|
"aria-live": A,
|
|
10620
10620
|
"aria-atomic": "false",
|
|
10621
10621
|
"aria-relevant": "additions text",
|
|
10622
10622
|
role: "log"
|
|
10623
|
-
}, s && !O &&
|
|
10623
|
+
}, s && !O && M));
|
|
10624
10624
|
}, vC = bC, ic = [{
|
|
10625
10625
|
base: "A",
|
|
10626
10626
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
@@ -10978,11 +10978,11 @@ function Nu(e) {
|
|
|
10978
10978
|
function ku(e) {
|
|
10979
10979
|
e.stopPropagation();
|
|
10980
10980
|
}
|
|
10981
|
-
function
|
|
10981
|
+
function Pu() {
|
|
10982
10982
|
var e = this.scrollTop, t = this.scrollHeight, n = e + this.offsetHeight;
|
|
10983
10983
|
e === 0 ? this.scrollTop = 1 : n === t && (this.scrollTop = e - 1);
|
|
10984
10984
|
}
|
|
10985
|
-
function
|
|
10985
|
+
function Mu() {
|
|
10986
10986
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
10987
10987
|
}
|
|
10988
10988
|
var ju = !!(typeof window < "u" && window.document && window.document.createElement), _o = 0, Rr = {
|
|
@@ -11003,7 +11003,7 @@ function TC(e) {
|
|
|
11003
11003
|
u && (u[b] = d);
|
|
11004
11004
|
}), u && (u.paddingRight = "".concat(x, "px"));
|
|
11005
11005
|
}
|
|
11006
|
-
a &&
|
|
11006
|
+
a && Mu() && (a.addEventListener("touchmove", Nu, Rr), l && (l.addEventListener("touchstart", Pu, Rr), l.addEventListener("touchmove", ku, Rr))), _o += 1;
|
|
11007
11007
|
}
|
|
11008
11008
|
}, [r]), c = Te(function(l) {
|
|
11009
11009
|
if (ju) {
|
|
@@ -11011,7 +11011,7 @@ function TC(e) {
|
|
|
11011
11011
|
_o = Math.max(_o - 1, 0), r && _o < 1 && Du.forEach(function(h) {
|
|
11012
11012
|
var g = o.current[h];
|
|
11013
11013
|
u && (u[h] = g);
|
|
11014
|
-
}), a &&
|
|
11014
|
+
}), a && Mu() && (a.removeEventListener("touchmove", Nu, Rr), l && (l.removeEventListener("touchstart", Pu, Rr), l.removeEventListener("touchmove", ku, Rr)));
|
|
11015
11015
|
}
|
|
11016
11016
|
}, [r]);
|
|
11017
11017
|
return pe(function() {
|
|
@@ -11086,18 +11086,18 @@ function tl(e) {
|
|
|
11086
11086
|
var t;
|
|
11087
11087
|
return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
|
|
11088
11088
|
}
|
|
11089
|
-
function
|
|
11089
|
+
function PC() {
|
|
11090
11090
|
return tl(/^iPhone/i);
|
|
11091
11091
|
}
|
|
11092
11092
|
function s1() {
|
|
11093
11093
|
return tl(/^Mac/i);
|
|
11094
11094
|
}
|
|
11095
|
-
function
|
|
11095
|
+
function MC() {
|
|
11096
11096
|
return tl(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
11097
11097
|
s1() && navigator.maxTouchPoints > 1;
|
|
11098
11098
|
}
|
|
11099
11099
|
function jC() {
|
|
11100
|
-
return
|
|
11100
|
+
return PC() || MC();
|
|
11101
11101
|
}
|
|
11102
11102
|
function BC() {
|
|
11103
11103
|
return s1() || jC();
|
|
@@ -11116,7 +11116,7 @@ var VC = function(t) {
|
|
|
11116
11116
|
control: R9,
|
|
11117
11117
|
dropdownIndicator: E9,
|
|
11118
11118
|
group: k9,
|
|
11119
|
-
groupHeading:
|
|
11119
|
+
groupHeading: M9,
|
|
11120
11120
|
indicatorsContainer: m9,
|
|
11121
11121
|
indicatorSeparator: _9,
|
|
11122
11122
|
input: G9,
|
|
@@ -11312,7 +11312,7 @@ function p1(e, t, n) {
|
|
|
11312
11312
|
var g1 = function(t) {
|
|
11313
11313
|
var n = t.hideSelectedOptions, r = t.isMulti;
|
|
11314
11314
|
return n === void 0 ? r : n;
|
|
11315
|
-
}, qC = 1,
|
|
11315
|
+
}, qC = 1, Ps = /* @__PURE__ */ function(e) {
|
|
11316
11316
|
f4(n, e);
|
|
11317
11317
|
var t = g4(n);
|
|
11318
11318
|
function n(r) {
|
|
@@ -11995,10 +11995,10 @@ var g1 = function(t) {
|
|
|
11995
11995
|
}, {
|
|
11996
11996
|
key: "renderMenu",
|
|
11997
11997
|
value: function() {
|
|
11998
|
-
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, x = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, v = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, k = f.noOptionsMessage,
|
|
11998
|
+
var o = this, i = this.getComponents(), s = i.Group, c = i.GroupHeading, l = i.Menu, a = i.MenuList, u = i.MenuPortal, h = i.LoadingMessage, g = i.NoOptionsMessage, x = i.Option, b = this.commonProps, d = this.state.focusedOption, f = this.props, p = f.captureMenuScroll, y = f.inputValue, v = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, I = f.maxMenuHeight, A = f.menuIsOpen, w = f.menuPlacement, _ = f.menuPosition, R = f.menuPortalTarget, L = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, k = f.noOptionsMessage, M = f.onMenuScrollToTop, V = f.onMenuScrollToBottom;
|
|
11999
11999
|
if (!A) return null;
|
|
12000
12000
|
var z = function(H, B) {
|
|
12001
|
-
var W = H.type, Q = H.data, ie = H.isDisabled, se = H.isSelected,
|
|
12001
|
+
var W = H.type, Q = H.data, ie = H.isDisabled, se = H.isSelected, P = H.label, re = H.value, Ee = d === Q, Z = ie ? void 0 : function() {
|
|
12002
12002
|
return o.onOptionHover(Q);
|
|
12003
12003
|
}, Ze = ie ? void 0 : function() {
|
|
12004
12004
|
return o.selectOption(Q);
|
|
@@ -12018,7 +12018,7 @@ var g1 = function(t) {
|
|
|
12018
12018
|
isDisabled: ie,
|
|
12019
12019
|
isSelected: se,
|
|
12020
12020
|
key: je,
|
|
12021
|
-
label:
|
|
12021
|
+
label: P,
|
|
12022
12022
|
type: W,
|
|
12023
12023
|
value: re,
|
|
12024
12024
|
isFocused: Ee,
|
|
@@ -12076,13 +12076,13 @@ var g1 = function(t) {
|
|
|
12076
12076
|
placement: W
|
|
12077
12077
|
}), /* @__PURE__ */ D.createElement(RC, {
|
|
12078
12078
|
captureEnabled: p,
|
|
12079
|
-
onTopArrive:
|
|
12079
|
+
onTopArrive: M,
|
|
12080
12080
|
onBottomArrive: V,
|
|
12081
12081
|
lockEnabled: L
|
|
12082
12082
|
}, function(ie) {
|
|
12083
12083
|
return /* @__PURE__ */ D.createElement(a, le({}, b, {
|
|
12084
|
-
innerRef: function(
|
|
12085
|
-
o.getMenuListRef(
|
|
12084
|
+
innerRef: function(P) {
|
|
12085
|
+
o.getMenuListRef(P), ie(P);
|
|
12086
12086
|
},
|
|
12087
12087
|
innerProps: {
|
|
12088
12088
|
role: "listbox",
|
|
@@ -12219,10 +12219,10 @@ var g1 = function(t) {
|
|
|
12219
12219
|
}
|
|
12220
12220
|
}]), n;
|
|
12221
12221
|
}(kh);
|
|
12222
|
-
|
|
12222
|
+
Ps.defaultProps = $C;
|
|
12223
12223
|
var KC = /* @__PURE__ */ ds(function(e, t) {
|
|
12224
12224
|
var n = Uc(e);
|
|
12225
|
-
return /* @__PURE__ */ D.createElement(
|
|
12225
|
+
return /* @__PURE__ */ D.createElement(Ps, le({
|
|
12226
12226
|
ref: t
|
|
12227
12227
|
}, n));
|
|
12228
12228
|
}), e6 = KC;
|
|
@@ -12336,7 +12336,7 @@ const r6 = F(fe)`
|
|
|
12336
12336
|
isMulti: t,
|
|
12337
12337
|
isScrollTarget: n
|
|
12338
12338
|
}) => {
|
|
12339
|
-
const r = ye(), o =
|
|
12339
|
+
const r = ye(), o = Me(() => e ? Object.fromEntries(e.map((c) => [c.value, c])) : {}, [e]);
|
|
12340
12340
|
return {
|
|
12341
12341
|
optionsMap: o,
|
|
12342
12342
|
getValue: (c) => {
|
|
@@ -12386,8 +12386,8 @@ var x1 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(x1 || {}), c6 = ["d
|
|
|
12386
12386
|
function E1(e) {
|
|
12387
12387
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
|
|
12388
12388
|
e.options;
|
|
12389
|
-
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = tn(e, c6), g = h.inputValue, x = ye(void 0), b = ye(!1), d = U(Array.isArray(n) ? n : void 0), f = st(d, 2), p = f[0], y = f[1], v = U(typeof g < "u" ? g : ""), E = st(v, 2), C = E[0], I = E[1], A = U(n === !0), w = st(A, 2), _ = w[0], R = w[1], L = U(void 0), O = st(L, 2), k = O[0],
|
|
12390
|
-
o !== Ze && (Q({}), je(o)), n !==
|
|
12389
|
+
var s = e.isLoading, c = s === void 0 ? !1 : s, l = e.onInputChange, a = e.filterOption, u = a === void 0 ? null : a, h = tn(e, c6), g = h.inputValue, x = ye(void 0), b = ye(!1), d = U(Array.isArray(n) ? n : void 0), f = st(d, 2), p = f[0], y = f[1], v = U(typeof g < "u" ? g : ""), E = st(v, 2), C = E[0], I = E[1], A = U(n === !0), w = st(A, 2), _ = w[0], R = w[1], L = U(void 0), O = st(L, 2), k = O[0], M = O[1], V = U([]), z = st(V, 2), J = z[0], Y = z[1], ee = U(!1), de = st(ee, 2), ne = de[0], j = de[1], H = U({}), B = st(H, 2), W = B[0], Q = B[1], ie = U(void 0), se = st(ie, 2), P = se[0], re = se[1], Ee = U(void 0), Z = st(Ee, 2), Ze = Z[0], je = Z[1];
|
|
12390
|
+
o !== Ze && (Q({}), je(o)), n !== P && (y(Array.isArray(n) ? n : void 0), re(n)), pe(function() {
|
|
12391
12391
|
return b.current = !0, function() {
|
|
12392
12392
|
b.current = !1;
|
|
12393
12393
|
};
|
|
@@ -12407,15 +12407,15 @@ function E1(e) {
|
|
|
12407
12407
|
var dt = Te(function(bt, ft) {
|
|
12408
12408
|
var Je = By(bt, ft, l);
|
|
12409
12409
|
if (!Je) {
|
|
12410
|
-
x.current = void 0, I(""),
|
|
12410
|
+
x.current = void 0, I(""), M(""), Y([]), R(!1), j(!1);
|
|
12411
12411
|
return;
|
|
12412
12412
|
}
|
|
12413
12413
|
if (o && W[Je])
|
|
12414
|
-
I(Je),
|
|
12414
|
+
I(Je), M(Je), Y(W[Je]), R(!1), j(!1);
|
|
12415
12415
|
else {
|
|
12416
12416
|
var Yn = x.current = {};
|
|
12417
12417
|
I(Je), R(!0), j(!k), nt(Je, function(Gt) {
|
|
12418
|
-
b && Yn === x.current && (x.current = void 0, R(!1),
|
|
12418
|
+
b && Yn === x.current && (x.current = void 0, R(!1), M(Je), Y(Gt || []), j(!1), Q(Gt ? oe(oe({}, W), {}, Fr({}, Je, Gt)) : W));
|
|
12419
12419
|
});
|
|
12420
12420
|
}
|
|
12421
12421
|
}, [o, nt, k, W, l]), nn = ne ? [] : C && k ? J : p || [];
|
|
@@ -12428,7 +12428,7 @@ function E1(e) {
|
|
|
12428
12428
|
}
|
|
12429
12429
|
var l6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12430
12430
|
var n = E1(e), r = Uc(n);
|
|
12431
|
-
return /* @__PURE__ */ D.createElement(
|
|
12431
|
+
return /* @__PURE__ */ D.createElement(Ps, le({
|
|
12432
12432
|
ref: t
|
|
12433
12433
|
}, r));
|
|
12434
12434
|
}), u6 = l6, d6 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], Wu = function() {
|
|
@@ -12454,18 +12454,18 @@ var l6 = /* @__PURE__ */ ds(function(e, t) {
|
|
|
12454
12454
|
}
|
|
12455
12455
|
};
|
|
12456
12456
|
function f6(e) {
|
|
12457
|
-
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ha.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ha.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ha.getNewOptionData : a, h = e.onCreateOption, g = e.options, x = g === void 0 ? [] : g, b = e.onChange, d = tn(e, d6), f = d.getOptionValue, p = f === void 0 ? c1 : f, y = d.getOptionLabel, v = y === void 0 ? a1 : y, E = d.inputValue, C = d.isLoading, I = d.isMulti, A = d.value, w = d.name, _ =
|
|
12457
|
+
var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ha.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ha.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ha.getNewOptionData : a, h = e.onCreateOption, g = e.options, x = g === void 0 ? [] : g, b = e.onChange, d = tn(e, d6), f = d.getOptionValue, p = f === void 0 ? c1 : f, y = d.getOptionLabel, v = y === void 0 ? a1 : y, E = d.inputValue, C = d.isLoading, I = d.isMulti, A = d.value, w = d.name, _ = Me(function() {
|
|
12458
12458
|
return l(E, is(A), x, {
|
|
12459
12459
|
getOptionValue: p,
|
|
12460
12460
|
getOptionLabel: v
|
|
12461
12461
|
}) ? u(E, s(E)) : void 0;
|
|
12462
|
-
}, [s, u, v, p, E, l, x, A]), R =
|
|
12462
|
+
}, [s, u, v, p, E, l, x, A]), R = Me(function() {
|
|
12463
12463
|
return (n || !C) && _ ? o === "first" ? [_].concat(kr(x)) : [].concat(kr(x), [_]) : x;
|
|
12464
12464
|
}, [n, o, C, _, x]), L = Te(function(O, k) {
|
|
12465
12465
|
if (k.action !== "select-option")
|
|
12466
12466
|
return b(O, k);
|
|
12467
|
-
var
|
|
12468
|
-
if (
|
|
12467
|
+
var M = Array.isArray(O) ? O : [O];
|
|
12468
|
+
if (M[M.length - 1] === _) {
|
|
12469
12469
|
if (h) h(E);
|
|
12470
12470
|
else {
|
|
12471
12471
|
var V = u(E, E), z = {
|
|
@@ -12486,7 +12486,7 @@ function f6(e) {
|
|
|
12486
12486
|
}
|
|
12487
12487
|
var h6 = /* @__PURE__ */ ds(function(e, t) {
|
|
12488
12488
|
var n = E1(e), r = Uc(n), o = f6(r);
|
|
12489
|
-
return /* @__PURE__ */ D.createElement(
|
|
12489
|
+
return /* @__PURE__ */ D.createElement(Ps, le({
|
|
12490
12490
|
ref: t
|
|
12491
12491
|
}, o));
|
|
12492
12492
|
}), p6 = h6;
|
|
@@ -12521,41 +12521,41 @@ function y6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12521
12521
|
isApiSearchEnabled: x = !1,
|
|
12522
12522
|
isInfiniteScrollable: b = !1,
|
|
12523
12523
|
loadOptionsOnFocus: d = !1
|
|
12524
|
-
} = n, { getValue: f, closeMenuOnScroll: p } = y1({ options: r, isMulti: u, isScrollTarget: t }), y = (k,
|
|
12525
|
-
(k,
|
|
12524
|
+
} = n, { getValue: f, closeMenuOnScroll: p } = y1({ options: r, isMulti: u, isScrollTarget: t }), y = (k, M, V) => (a.current && a.current.abort("stale data"), a.current = new AbortController(), g == null ? void 0 : g(k, M, V, a.current)), v = m6(
|
|
12525
|
+
(k, M) => {
|
|
12526
12526
|
if (s(k), r.length > 0 && !x) {
|
|
12527
12527
|
const z = r.filter((J) => J && typeof J == "object" && "label" in J && typeof J.label == "string" ? J.label.toLowerCase().includes(k.toLowerCase()) : !1);
|
|
12528
|
-
|
|
12528
|
+
M(z);
|
|
12529
12529
|
return;
|
|
12530
12530
|
}
|
|
12531
12531
|
const V = (z) => {
|
|
12532
|
-
|
|
12532
|
+
M(z), o(z);
|
|
12533
12533
|
};
|
|
12534
12534
|
y == null || y(k, V, !1);
|
|
12535
12535
|
},
|
|
12536
12536
|
300
|
|
12537
|
-
), E = (k,
|
|
12538
|
-
l(!1), !(
|
|
12537
|
+
), E = (k, M) => {
|
|
12538
|
+
l(!1), !(M && "isError" in M && M.isError) && o(k);
|
|
12539
12539
|
}, C = (k) => {
|
|
12540
|
-
var
|
|
12541
|
-
(
|
|
12542
|
-
}, I = (k,
|
|
12540
|
+
var M;
|
|
12541
|
+
(M = n.onMenuScrollToBottom) == null || M.call(n, k), b && g && !c && (l(!0), y(i, E, !0));
|
|
12542
|
+
}, I = (k, M) => {
|
|
12543
12543
|
var V;
|
|
12544
|
-
(V = n.onInputChange) == null || V.call(n, k,
|
|
12544
|
+
(V = n.onInputChange) == null || V.call(n, k, M), M.action === "input-change" && x && (s(k), o([]), k || (l(!0), v(k, E)));
|
|
12545
12545
|
}, A = (k) => {
|
|
12546
|
-
var
|
|
12547
|
-
s(""), (
|
|
12546
|
+
var M;
|
|
12547
|
+
s(""), (M = n.onBlur) == null || M.call(n, k);
|
|
12548
12548
|
}, w = (k) => {
|
|
12549
|
-
var
|
|
12550
|
-
(
|
|
12551
|
-
}, _ = (k) => (
|
|
12549
|
+
var M;
|
|
12550
|
+
(M = n.onFocus) == null || M.call(n, k), !c && d && (o([]), l(!0), y == null || y(i, E, !1));
|
|
12551
|
+
}, _ = (k) => (M) => {
|
|
12552
12552
|
var z;
|
|
12553
|
-
const V =
|
|
12553
|
+
const V = M.find((J) => J.label === k);
|
|
12554
12554
|
!n.isMulti && V && ((z = n.onChange) == null || z.call(n, V, {
|
|
12555
12555
|
action: "select-option",
|
|
12556
12556
|
name: n.name,
|
|
12557
12557
|
option: V
|
|
12558
|
-
})), o(
|
|
12558
|
+
})), o(M), l(!1);
|
|
12559
12559
|
}, R = (k) => {
|
|
12560
12560
|
l(!0), h == null || h(k, _(k));
|
|
12561
12561
|
}, L = () => {
|
|
@@ -12594,7 +12594,7 @@ function y6({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
12594
12594
|
}
|
|
12595
12595
|
);
|
|
12596
12596
|
}
|
|
12597
|
-
const ho = "table-cell-form-field",
|
|
12597
|
+
const ho = "table-cell-form-field", Ms = "60px", js = "24px", C6 = F(fe)`
|
|
12598
12598
|
width: 100%;
|
|
12599
12599
|
`, x6 = F(fe)`
|
|
12600
12600
|
width: 100%;
|
|
@@ -12688,7 +12688,7 @@ const ho = "table-cell-form-field", Ps = "60px", js = "24px", C6 = F(fe)`
|
|
|
12688
12688
|
font-weight: bold;
|
|
12689
12689
|
`, S6 = F(Wh)`
|
|
12690
12690
|
&.${ho} .MuiInputBase-root {
|
|
12691
|
-
height: ${
|
|
12691
|
+
height: ${Ms};
|
|
12692
12692
|
border: 0;
|
|
12693
12693
|
padding-left: ${js};
|
|
12694
12694
|
}
|
|
@@ -12741,7 +12741,7 @@ function L6(e) {
|
|
|
12741
12741
|
}
|
|
12742
12742
|
const O6 = F(Xh)`
|
|
12743
12743
|
&.${ho} {
|
|
12744
|
-
--v-margin: calc((${
|
|
12744
|
+
--v-margin: calc((${Ms} - 36px) / 2);
|
|
12745
12745
|
--h-margin: calc((100% - 36px) / 2);
|
|
12746
12746
|
margin: var(--v-margin) var(--h-margin);
|
|
12747
12747
|
}
|
|
@@ -12799,7 +12799,7 @@ const O6 = F(Xh)`
|
|
|
12799
12799
|
onFocus: x,
|
|
12800
12800
|
onValidationError: b
|
|
12801
12801
|
}) => {
|
|
12802
|
-
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = ye(), y = ye({}), [v, E] = U({}), { colsLength: C, colsTemplate: I, colWidth: A } =
|
|
12802
|
+
const d = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, p = ye(), y = ye({}), [v, E] = U({}), { colsLength: C, colsTemplate: I, colWidth: A } = Me(() => {
|
|
12803
12803
|
let j = 0, H = "";
|
|
12804
12804
|
for (const B of r) {
|
|
12805
12805
|
let W = B.cols ? Number(B.cols) : 1;
|
|
@@ -12810,7 +12810,7 @@ const O6 = F(Xh)`
|
|
|
12810
12810
|
colsTemplate: H.trim(),
|
|
12811
12811
|
colWidth: `${isNaN(c) ? T1 : c}px`
|
|
12812
12812
|
};
|
|
12813
|
-
}, [r, c, s]), { fieldDependency: w, fieldConfigs: _ } =
|
|
12813
|
+
}, [r, c, s]), { fieldDependency: w, fieldConfigs: _ } = Me(() => {
|
|
12814
12814
|
const j = {}, H = {};
|
|
12815
12815
|
for (const B of r) {
|
|
12816
12816
|
if (!B.valueConfig)
|
|
@@ -12855,7 +12855,7 @@ const O6 = F(Xh)`
|
|
|
12855
12855
|
}, k = (j, { columnNames: H = [], operationType: B }) => {
|
|
12856
12856
|
const W = H.map((Q) => j[Q]);
|
|
12857
12857
|
return "" + du(W, B);
|
|
12858
|
-
},
|
|
12858
|
+
}, M = (j, H) => {
|
|
12859
12859
|
const B = d.map((W) => j !== W[rr] ? W : {
|
|
12860
12860
|
...W,
|
|
12861
12861
|
...H
|
|
@@ -12878,13 +12878,13 @@ const O6 = F(Xh)`
|
|
|
12878
12878
|
[H]: Q
|
|
12879
12879
|
};
|
|
12880
12880
|
if (w[H])
|
|
12881
|
-
for (const
|
|
12882
|
-
const re = k(ie, _[
|
|
12883
|
-
ie[
|
|
12881
|
+
for (const P of w[H]) {
|
|
12882
|
+
const re = k(ie, _[P]);
|
|
12883
|
+
ie[P] = re;
|
|
12884
12884
|
}
|
|
12885
|
-
|
|
12885
|
+
M(j, ie);
|
|
12886
12886
|
}, J = (j, H, B) => {
|
|
12887
|
-
|
|
12887
|
+
M(j, { [H]: B });
|
|
12888
12888
|
}, Y = (j, H, B, W) => {
|
|
12889
12889
|
if (B && typeof B == "object" && "value" in B && typeof B.value == "string" && typeof W.name < "u") {
|
|
12890
12890
|
const Q = "prefillValues" in B && B.prefillValues, ie = {
|
|
@@ -12894,15 +12894,15 @@ const O6 = F(Xh)`
|
|
|
12894
12894
|
};
|
|
12895
12895
|
for (const se in ie)
|
|
12896
12896
|
if (w[se])
|
|
12897
|
-
for (const
|
|
12898
|
-
const re = k(ie, _[
|
|
12899
|
-
ie[
|
|
12897
|
+
for (const P of w[se]) {
|
|
12898
|
+
const re = k(ie, _[P]);
|
|
12899
|
+
ie[P] = re;
|
|
12900
12900
|
}
|
|
12901
|
-
|
|
12901
|
+
M(j, ie);
|
|
12902
12902
|
}
|
|
12903
12903
|
(W == null ? void 0 : W.action) === "clear" && W.name && V(j, [W.name]);
|
|
12904
12904
|
}, ee = (j, H, B) => {
|
|
12905
|
-
|
|
12905
|
+
M(j, { [H]: (B == null ? void 0 : B.toISOString()) ?? "" });
|
|
12906
12906
|
}, de = (j, H, B, W) => {
|
|
12907
12907
|
W && E((Q) => {
|
|
12908
12908
|
const ie = Q[j] ?? {};
|
|
@@ -12932,7 +12932,7 @@ const O6 = F(Xh)`
|
|
|
12932
12932
|
inputChangeHandler: (se) => z(j, B, H, se),
|
|
12933
12933
|
checkboxChangeHandler: (...se) => J(j, B, se[1]),
|
|
12934
12934
|
selectChangeHandler: (...se) => Y(j, H, ...se),
|
|
12935
|
-
dateChangeHandler: (se,
|
|
12935
|
+
dateChangeHandler: (se, P) => ee(j, se, P),
|
|
12936
12936
|
onValidationError: (...se) => de(j, ...se),
|
|
12937
12937
|
fetchConfig: a == null ? void 0 : a[B],
|
|
12938
12938
|
createConfig: u == null ? void 0 : u[B],
|
|
@@ -12961,7 +12961,7 @@ const O6 = F(Xh)`
|
|
|
12961
12961
|
" "
|
|
12962
12962
|
] }),
|
|
12963
12963
|
/* @__PURE__ */ m.jsx("span", { children: du(
|
|
12964
|
-
d.map((
|
|
12964
|
+
d.map((P) => P[H]),
|
|
12965
12965
|
B
|
|
12966
12966
|
) }),
|
|
12967
12967
|
/* @__PURE__ */ m.jsx("span", { children: n[se] ?? ie })
|
|
@@ -12980,7 +12980,7 @@ const F6 = F(fe)`
|
|
|
12980
12980
|
}
|
|
12981
12981
|
`, N6 = F(zh)`
|
|
12982
12982
|
&.${ho} {
|
|
12983
|
-
height: ${
|
|
12983
|
+
height: ${Ms};
|
|
12984
12984
|
position: relative;
|
|
12985
12985
|
& > div {
|
|
12986
12986
|
height: 100%;
|
|
@@ -13003,7 +13003,7 @@ const F6 = F(fe)`
|
|
|
13003
13003
|
r.currentTarget && r.currentTarget.blur(), r.stopPropagation();
|
|
13004
13004
|
};
|
|
13005
13005
|
return /* @__PURE__ */ m.jsx(F6, { children: /* @__PURE__ */ m.jsx(N6, { ...t, inputProps: { onWheel: n, ...e } }) });
|
|
13006
|
-
},
|
|
13006
|
+
}, P6 = F(k6)`
|
|
13007
13007
|
& .MuiFormHelperText-root {
|
|
13008
13008
|
position: absolute;
|
|
13009
13009
|
bottom: -24px;
|
|
@@ -13118,7 +13118,7 @@ const F6 = F(fe)`
|
|
|
13118
13118
|
}
|
|
13119
13119
|
|
|
13120
13120
|
& .${ho} {
|
|
13121
|
-
height: ${
|
|
13121
|
+
height: ${Ms};
|
|
13122
13122
|
.hiverFormField__control {
|
|
13123
13123
|
height: 100%;
|
|
13124
13124
|
border: 0;
|
|
@@ -13142,7 +13142,7 @@ const F6 = F(fe)`
|
|
|
13142
13142
|
&.helper--error {
|
|
13143
13143
|
color: #d32f2f;
|
|
13144
13144
|
}
|
|
13145
|
-
`,
|
|
13145
|
+
`, M6 = F(fe)`
|
|
13146
13146
|
width: 100%;
|
|
13147
13147
|
position: relative;
|
|
13148
13148
|
& .MuiInputBase-root {
|
|
@@ -13235,56 +13235,56 @@ const F6 = F(fe)`
|
|
|
13235
13235
|
showGlobalLoader: A = !1,
|
|
13236
13236
|
hideHelperText: w = !1,
|
|
13237
13237
|
meta: { isExpandable: _ = y === "table", isExpanded: R = !0 } = {}
|
|
13238
|
-
} = g, [L, O] = U(!1), [k,
|
|
13238
|
+
} = g, [L, O] = U(!1), [k, M] = U(""), [V, z] = U(R);
|
|
13239
13239
|
pe(() => {
|
|
13240
13240
|
L || Y(g.value, !1);
|
|
13241
13241
|
}, [L, g.value]);
|
|
13242
|
-
const J = (
|
|
13242
|
+
const J = (P) => {
|
|
13243
13243
|
var re;
|
|
13244
|
-
|
|
13244
|
+
P && !L && O(!0), (re = g.onFocus) == null || re.call(g, P);
|
|
13245
13245
|
};
|
|
13246
|
-
function Y(
|
|
13246
|
+
function Y(P, re = !0, Ee) {
|
|
13247
13247
|
let Z = "";
|
|
13248
|
-
if ((x != null && x.isRequired || C) && (Z =
|
|
13249
|
-
const je = x.isRequired(
|
|
13248
|
+
if ((x != null && x.isRequired || C) && (Z = P ? "" : Hu, !P && typeof (x == null ? void 0 : x.isRequired) == "function")) {
|
|
13249
|
+
const je = x.isRequired(P);
|
|
13250
13250
|
je && typeof je == "boolean" ? Z = Hu : je && (Z = je);
|
|
13251
13251
|
}
|
|
13252
13252
|
let Ze = { id: d, name: p, label: f };
|
|
13253
|
-
if (g.type === "date" ? Ze = { ...Ze, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? Ze = { ...Ze, min: g.min, max: g.max } : g.type === "text" && g.multiline && (Ze = { ...Ze, maxCharacters: g.maxCharacters }),
|
|
13254
|
-
const je = x.validate(
|
|
13253
|
+
if (g.type === "date" ? Ze = { ...Ze, disableFuture: g.disableFuture, disablePast: g.disablePast } : g.type === "number" ? Ze = { ...Ze, min: g.min, max: g.max } : g.type === "text" && g.multiline && (Ze = { ...Ze, maxCharacters: g.maxCharacters }), P && !Z && (x != null && x.validate)) {
|
|
13254
|
+
const je = x.validate(P, { ...Ze, ...Ee });
|
|
13255
13255
|
typeof je == "boolean" && je === !1 ? Z = a6 : typeof je == "string" && (Z = je);
|
|
13256
13256
|
}
|
|
13257
|
-
re &&
|
|
13257
|
+
re && M(Z), s == null || s(p, Z, re);
|
|
13258
13258
|
}
|
|
13259
|
-
const ee = (
|
|
13259
|
+
const ee = (P) => {
|
|
13260
13260
|
var re;
|
|
13261
|
-
L || O(!0), (re = g.onBlur) == null || re.call(g,
|
|
13262
|
-
}, de = () => w ? null : g.helperText ? /* @__PURE__ */ m.jsx(Uu, { children: b }) : L && k ? /* @__PURE__ */ m.jsx(Uu, { className: "helper--error", children: k }) : null, ne = (
|
|
13263
|
-
|
|
13264
|
-
}, j = (
|
|
13265
|
-
|
|
13266
|
-
}, H = (
|
|
13267
|
-
l == null || l(
|
|
13268
|
-
}, B = (
|
|
13269
|
-
a == null || a(p,
|
|
13270
|
-
}, W = (
|
|
13271
|
-
u == null || u(p,
|
|
13272
|
-
}, Q = (
|
|
13273
|
-
L && (s == null || s(
|
|
13274
|
-
}, ie = (
|
|
13261
|
+
L || O(!0), (re = g.onBlur) == null || re.call(g, P), L && v && Y(g.value);
|
|
13262
|
+
}, de = () => w ? null : g.helperText ? /* @__PURE__ */ m.jsx(Uu, { children: b }) : L && k ? /* @__PURE__ */ m.jsx(Uu, { className: "helper--error", children: k }) : null, ne = (P) => {
|
|
13263
|
+
P && !L && O(!0), c == null || c(P), L && E && Y(P.target.value);
|
|
13264
|
+
}, j = (P, re) => {
|
|
13265
|
+
P && !L && O(!0), h == null || h(P, re), L && E && Y(re);
|
|
13266
|
+
}, H = (P, re) => {
|
|
13267
|
+
l == null || l(P, re), P && !L && O(!0), P && typeof P == "object" && "value" in P && L && E && Y(P.value);
|
|
13268
|
+
}, B = (P, re) => {
|
|
13269
|
+
a == null || a(p, P, re), P && !L && O(!0), L && E && Y(P);
|
|
13270
|
+
}, W = (P) => {
|
|
13271
|
+
u == null || u(p, P);
|
|
13272
|
+
}, Q = (P, re) => {
|
|
13273
|
+
L && (s == null || s(P, re), M(typeof re == "string" ? re : ""));
|
|
13274
|
+
}, ie = (P) => {
|
|
13275
13275
|
z((re) => !re);
|
|
13276
|
-
}, se = (
|
|
13276
|
+
}, se = (P) => {
|
|
13277
13277
|
if (A)
|
|
13278
13278
|
return /* @__PURE__ */ m.jsx(Ic, { variant: "rounded", height: 29.69, animation: "wave" });
|
|
13279
|
-
switch (
|
|
13279
|
+
switch (P.type) {
|
|
13280
13280
|
case "select":
|
|
13281
13281
|
return /* @__PURE__ */ m.jsx(Zu, { children: /* @__PURE__ */ m.jsx(
|
|
13282
13282
|
zo,
|
|
13283
13283
|
{
|
|
13284
|
-
...
|
|
13284
|
+
...P,
|
|
13285
13285
|
stackIndex: o,
|
|
13286
13286
|
isScrollTarget: i,
|
|
13287
|
-
className: `formField__select ${k && L ? "formField__select--error" : ""} ${
|
|
13287
|
+
className: `formField__select ${k && L ? "formField__select--error" : ""} ${P.className || ""}`,
|
|
13288
13288
|
classNamePrefix: "hiverFormField",
|
|
13289
13289
|
onBlur: ee,
|
|
13290
13290
|
onChange: H,
|
|
@@ -13296,10 +13296,10 @@ const F6 = F(fe)`
|
|
|
13296
13296
|
return /* @__PURE__ */ m.jsx(Zu, { children: /* @__PURE__ */ m.jsx(
|
|
13297
13297
|
y6,
|
|
13298
13298
|
{
|
|
13299
|
-
...
|
|
13299
|
+
...P,
|
|
13300
13300
|
stackIndex: o,
|
|
13301
13301
|
isScrollTarget: i,
|
|
13302
|
-
className: `formField__select ${k && L ? "formField__select--error" : ""} ${
|
|
13302
|
+
className: `formField__select ${k && L ? "formField__select--error" : ""} ${P.className || ""}`,
|
|
13303
13303
|
classNamePrefix: "hiverFormField",
|
|
13304
13304
|
onBlur: ee,
|
|
13305
13305
|
onChange: H,
|
|
@@ -13313,7 +13313,7 @@ const F6 = F(fe)`
|
|
|
13313
13313
|
return /* @__PURE__ */ m.jsx(
|
|
13314
13314
|
L6,
|
|
13315
13315
|
{
|
|
13316
|
-
...
|
|
13316
|
+
...P,
|
|
13317
13317
|
label: void 0,
|
|
13318
13318
|
onBlur: ee,
|
|
13319
13319
|
onFocus: J,
|
|
@@ -13325,8 +13325,8 @@ const F6 = F(fe)`
|
|
|
13325
13325
|
return /* @__PURE__ */ m.jsx(
|
|
13326
13326
|
Bs,
|
|
13327
13327
|
{
|
|
13328
|
-
...
|
|
13329
|
-
value:
|
|
13328
|
+
...P,
|
|
13329
|
+
value: P.value,
|
|
13330
13330
|
onChange: W,
|
|
13331
13331
|
onFocus: J,
|
|
13332
13332
|
onValidationError: Q,
|
|
@@ -13336,26 +13336,26 @@ const F6 = F(fe)`
|
|
|
13336
13336
|
}
|
|
13337
13337
|
);
|
|
13338
13338
|
case "checkbox":
|
|
13339
|
-
return /* @__PURE__ */ m.jsx(R6, { ...
|
|
13339
|
+
return /* @__PURE__ */ m.jsx(R6, { ...P, onChange: j, onFocus: J, onBlur: ee });
|
|
13340
13340
|
default:
|
|
13341
13341
|
return /* @__PURE__ */ m.jsx(
|
|
13342
|
-
|
|
13342
|
+
P6,
|
|
13343
13343
|
{
|
|
13344
13344
|
variant: "outlined",
|
|
13345
13345
|
fullWidth: !0,
|
|
13346
13346
|
id: d,
|
|
13347
|
-
...
|
|
13348
|
-
value:
|
|
13347
|
+
...P,
|
|
13348
|
+
value: P.value,
|
|
13349
13349
|
label: void 0,
|
|
13350
13350
|
onBlur: ee,
|
|
13351
13351
|
onChange: ne,
|
|
13352
13352
|
onFocus: J,
|
|
13353
13353
|
error: !!(k && L),
|
|
13354
13354
|
inputProps: {
|
|
13355
|
-
type:
|
|
13356
|
-
min:
|
|
13357
|
-
max:
|
|
13358
|
-
...
|
|
13355
|
+
type: P.type,
|
|
13356
|
+
min: P.min,
|
|
13357
|
+
max: P.max,
|
|
13358
|
+
...P.inputProps
|
|
13359
13359
|
}
|
|
13360
13360
|
}
|
|
13361
13361
|
);
|
|
@@ -13382,7 +13382,7 @@ const F6 = F(fe)`
|
|
|
13382
13382
|
}
|
|
13383
13383
|
}
|
|
13384
13384
|
),
|
|
13385
|
-
/* @__PURE__ */ m.jsxs(
|
|
13385
|
+
/* @__PURE__ */ m.jsxs(M6, { className: "input-wrapper", children: [
|
|
13386
13386
|
/* @__PURE__ */ m.jsx(Ge, { title: g.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: se(g) }),
|
|
13387
13387
|
r != null && r.icon ? /* @__PURE__ */ m.jsx(Ge, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ m.jsx(V6, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
|
|
13388
13388
|
] }),
|
|
@@ -13644,12 +13644,12 @@ const F6 = F(fe)`
|
|
|
13644
13644
|
};
|
|
13645
13645
|
}).addCase(mr.rejected, (t) => {
|
|
13646
13646
|
t.dropdownOptionsApis = te.FAILED;
|
|
13647
|
-
}).addCase(
|
|
13647
|
+
}).addCase(Mr.pending, (t) => {
|
|
13648
13648
|
t.previewCardApiStatus = te.LOADING;
|
|
13649
|
-
}).addCase(
|
|
13649
|
+
}).addCase(Mr.fulfilled, (t, n) => {
|
|
13650
13650
|
const { data: r } = n.payload;
|
|
13651
13651
|
r && (t.previewCardData = r), t.previewCardApiStatus = te.IDLE;
|
|
13652
|
-
}).addCase(
|
|
13652
|
+
}).addCase(Mr.rejected, (t) => {
|
|
13653
13653
|
t.previewCardApiStatus = te.FAILED;
|
|
13654
13654
|
});
|
|
13655
13655
|
}
|
|
@@ -13718,10 +13718,10 @@ const F6 = F(fe)`
|
|
|
13718
13718
|
hasMore: !1
|
|
13719
13719
|
};
|
|
13720
13720
|
}
|
|
13721
|
-
const
|
|
13721
|
+
const M = R.data.data.map((Y) => b ? {
|
|
13722
13722
|
...Y,
|
|
13723
13723
|
avatarUrl: Y.avatarUrl || G5
|
|
13724
|
-
} : (delete Y.avatarUrl, Y)), V = [...p, ...
|
|
13724
|
+
} : (delete Y.avatarUrl, Y)), V = [...p, ...M], z = E ? M.length >= I : !1, J = Ef(V, (Y) => Y.value);
|
|
13725
13725
|
return c == null || c(J), {
|
|
13726
13726
|
optionsList: J,
|
|
13727
13727
|
fieldName: r,
|
|
@@ -13748,7 +13748,7 @@ const F6 = F(fe)`
|
|
|
13748
13748
|
return u && u.length ? (i == null || i(u), !1) : !0;
|
|
13749
13749
|
}
|
|
13750
13750
|
}
|
|
13751
|
-
),
|
|
13751
|
+
), Mr = en(
|
|
13752
13752
|
"commonSlice/previewCard",
|
|
13753
13753
|
async ({
|
|
13754
13754
|
id: e,
|
|
@@ -13768,7 +13768,7 @@ const F6 = F(fe)`
|
|
|
13768
13768
|
});
|
|
13769
13769
|
}
|
|
13770
13770
|
}
|
|
13771
|
-
), { resetState:
|
|
13771
|
+
), { resetState: $I, resetPreviewCardData: i7, setSelectedSuggestionType: s7 } = O1.actions, a7 = O1.reducer, ii = "/v1/api", c7 = `${ii}/connectors/forms/list`, l7 = `${ii}/connectors/cards/:id/unlink`, u7 = `${ii}/connectors/forms/:id/link`, d7 = `${ii}/connectors/form/:formId`, f7 = `${ii}/connectors/forms/:formId/data`, h7 = ({
|
|
13772
13772
|
inboxIds: e,
|
|
13773
13773
|
channelType: t,
|
|
13774
13774
|
conversationId: n
|
|
@@ -13917,11 +13917,11 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13917
13917
|
};
|
|
13918
13918
|
}).addCase(mr.rejected, (t) => {
|
|
13919
13919
|
t.dropdownOptionsApis = te.FAILED;
|
|
13920
|
-
}).addCase(
|
|
13920
|
+
}).addCase(Pi.pending, (t) => {
|
|
13921
13921
|
t.createFormApiStatus = te.LOADING;
|
|
13922
|
-
}).addCase(
|
|
13922
|
+
}).addCase(Pi.fulfilled, (t) => {
|
|
13923
13923
|
t.createFormApiStatus = te.IDLE;
|
|
13924
|
-
}).addCase(
|
|
13924
|
+
}).addCase(Pi.rejected, (t) => {
|
|
13925
13925
|
t.createFormApiStatus = te.FAILED;
|
|
13926
13926
|
}).addCase(Bi.pending, (t) => {
|
|
13927
13927
|
t.linkCardApiStatus = te.LOADING;
|
|
@@ -13935,11 +13935,11 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13935
13935
|
t.unlinkCardApiStatus = te.IDLE;
|
|
13936
13936
|
}).addCase(ji.rejected, (t) => {
|
|
13937
13937
|
t.unlinkCardApiStatus = te.FAILED;
|
|
13938
|
-
}).addCase(
|
|
13938
|
+
}).addCase(Mi.pending, (t) => {
|
|
13939
13939
|
t.updateFormApiStatus = te.LOADING;
|
|
13940
|
-
}).addCase(
|
|
13940
|
+
}).addCase(Mi.fulfilled, (t) => {
|
|
13941
13941
|
t.updateFormApiStatus = te.IDLE;
|
|
13942
|
-
}).addCase(
|
|
13942
|
+
}).addCase(Mi.rejected, (t) => {
|
|
13943
13943
|
t.updateFormApiStatus = te.FAILED;
|
|
13944
13944
|
}).addCase(Vi.pending, (t) => {
|
|
13945
13945
|
t.currentResourceDetailsApiStatus = te.LOADING;
|
|
@@ -13999,7 +13999,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
13999
13999
|
dependentFieldsMap: c
|
|
14000
14000
|
};
|
|
14001
14001
|
}
|
|
14002
|
-
),
|
|
14002
|
+
), Pi = en(
|
|
14003
14003
|
"writeCapability/createForm",
|
|
14004
14004
|
async (e, { rejectWithValue: t }) => {
|
|
14005
14005
|
var l;
|
|
@@ -14011,7 +14011,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14011
14011
|
return o == null || o(a), We({ message: g, type: Et }), t(a);
|
|
14012
14012
|
}
|
|
14013
14013
|
}
|
|
14014
|
-
),
|
|
14014
|
+
), Mi = en(
|
|
14015
14015
|
"writeCapability/updateForm",
|
|
14016
14016
|
async (e, { rejectWithValue: t }) => {
|
|
14017
14017
|
const {
|
|
@@ -14083,7 +14083,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14083
14083
|
return We({ message: Os, type: Et }), t(c);
|
|
14084
14084
|
}
|
|
14085
14085
|
}
|
|
14086
|
-
), { resetState:
|
|
14086
|
+
), { resetState: YI, setCurrentCardInEdit: jr, resetCurrentResourceDetails: N7, setHasUnsavedChanges: Ju } = F1.actions, k7 = F1.reducer, P7 = () => {
|
|
14087
14087
|
const [e, t] = U(null), [n, r] = U({
|
|
14088
14088
|
isVertical: !1,
|
|
14089
14089
|
isHorizontal: !1,
|
|
@@ -14116,8 +14116,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14116
14116
|
e.removeEventListener("scroll", a), i && window.clearTimeout(i), c && window.clearTimeout(c);
|
|
14117
14117
|
};
|
|
14118
14118
|
}, [e]), [n, o];
|
|
14119
|
-
},
|
|
14120
|
-
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), { userGroupId: c } = wn() || {}, [l, a] =
|
|
14119
|
+
}, M7 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.8016%2011.709L12.3416%205.16893L11.4298%204.25712L4.88979%2010.7972V11.709H5.8016ZM6.33618%2012.9987H3.6001V10.2626L10.9739%202.88875C11.0948%202.76786%2011.2588%202.69995%2011.4298%202.69995C11.6008%202.69995%2011.7648%202.76786%2011.8857%202.88875L13.71%204.71302C13.8309%204.83395%2013.8988%204.99794%2013.8988%205.16893C13.8988%205.33992%2013.8309%205.50391%2013.71%205.62484L6.33618%2012.9987ZM3.6001%2014.2884H15.2073V15.578H3.6001V14.2884Z'%20fill='%236C7B94'/%3e%3c/svg%3e", j7 = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
14120
|
+
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), { userGroupId: c } = wn() || {}, [l, a] = P7(), { isScrolling: u, isVertical: h } = l, g = u && h, x = Me(() => (e == null ? void 0 : e[0].data.map((p) => p.label)) || [], [e]), b = Me(() => e.map((p) => {
|
|
14121
14121
|
const y = {
|
|
14122
14122
|
cells: {},
|
|
14123
14123
|
externalResourceId: p.externalResourceId
|
|
@@ -14148,14 +14148,14 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14148
14148
|
] }) }),
|
|
14149
14149
|
/* @__PURE__ */ m.jsx(Jh, { children: b.map((p, y) => /* @__PURE__ */ m.jsxs(Tb, { children: [
|
|
14150
14150
|
Object.values(p.cells).map((v, E) => d(v, E)),
|
|
14151
|
-
/* @__PURE__ */ m.jsx(Lb, { children: !g && p.externalResourceId && /* @__PURE__ */ m.jsx(Ge, { title: N0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { className: "row-edit", onClick: () => f(p.externalResourceId), children: /* @__PURE__ */ m.jsx("img", { src:
|
|
14151
|
+
/* @__PURE__ */ m.jsx(Lb, { children: !g && p.externalResourceId && /* @__PURE__ */ m.jsx(Ge, { title: N0, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { className: "row-edit", onClick: () => f(p.externalResourceId), children: /* @__PURE__ */ m.jsx("img", { src: M7 }) }) }) })
|
|
14152
14152
|
] }, `id_${y}`)) })
|
|
14153
14153
|
] }) })
|
|
14154
14154
|
] });
|
|
14155
14155
|
}, B7 = (e) => e.cardList.connectorCards, V7 = (e) => e.cardList.connectorsEnabled, G7 = (e) => e.cardList.connectorApiStatus, H7 = (e) => e.cardList.cardSpecificData, W7 = (e) => e.cardList.specificConnectorApiStatus, Z7 = (e) => e.cardList.specificConnectorErrorCode, U7 = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%204.8675L14.6475%2014.625H3.3525L9%204.8675ZM9%201.875L0.75%2016.125H17.25L9%201.875Z'%20fill='%23F07530'/%3e%3cpath%20d='M9.75%2012.375H8.25V13.875H9.75V12.375Z'%20fill='%23F07530'/%3e%3cpath%20d='M9.75%207.875H8.25V11.625H9.75V7.875Z'%20fill='%23F07530'/%3e%3c/svg%3e", Qu = (e) => {
|
|
14156
14156
|
const t = /\(Error code: (.*?)\)$/, n = e.match(t), r = n ? n[1] : null, o = n ? e.replace(t, "").trim() : e;
|
|
14157
14157
|
return { error_code: r, error_message: o };
|
|
14158
|
-
}, X7 = (e, t) => `${
|
|
14158
|
+
}, X7 = (e, t) => `${M0} (Error code: ${e})`.replace(/{{connector_name}}/g, (t == null ? void 0 : t[0]) || ""), qu = (e) => {
|
|
14159
14159
|
const {
|
|
14160
14160
|
value: t,
|
|
14161
14161
|
error: n,
|
|
@@ -14172,12 +14172,12 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14172
14172
|
isCardLevelError: x,
|
|
14173
14173
|
fieldName: b,
|
|
14174
14174
|
showErrorIcon: d
|
|
14175
|
-
} = e, f = ye(null), p = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: C, connectorFunctions: I } = Ye(qe), A = _e(Z7), w = A == null ? void 0 : A[g], [_, R] = U(!1), L =
|
|
14175
|
+
} = e, f = ye(null), p = ye(null), { email: y, currentSmIds: v, conversationId: E, sendTrackingEvent: C, connectorFunctions: I } = Ye(qe), A = _e(Z7), w = A == null ? void 0 : A[g], [_, R] = U(!1), L = Me(() => {
|
|
14176
14176
|
if (n && x) {
|
|
14177
14177
|
const { error_message: ee } = Qu(n);
|
|
14178
14178
|
return ee;
|
|
14179
14179
|
}
|
|
14180
|
-
return l ?
|
|
14180
|
+
return l ? M0.replace(/{{connector_name}}/g, (a == null ? void 0 : a[0]) || "") : Hl;
|
|
14181
14181
|
}, [n, l, a, x]), O = Te(() => {
|
|
14182
14182
|
const ee = n || X7(w, a), { error_code: de, error_message: ne } = Qu(ee);
|
|
14183
14183
|
C == null || C(Ym, {
|
|
@@ -14213,8 +14213,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14213
14213
|
}
|
|
14214
14214
|
}, [t, r]);
|
|
14215
14215
|
const k = o == Ga.NOT_FOUND;
|
|
14216
|
-
let
|
|
14217
|
-
s === "date" &&
|
|
14216
|
+
let M = k ? Si : t;
|
|
14217
|
+
s === "date" && M && !k && (M = new Date(parseInt(M)).toLocaleDateString(navigator.language));
|
|
14218
14218
|
const V = !!n || l, z = () => {
|
|
14219
14219
|
c ? I == null || I.redirectToAdmin() : window.open(R3, "_blank");
|
|
14220
14220
|
}, J = () => {
|
|
@@ -14232,7 +14232,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14232
14232
|
return i ? /* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" }) : V ? /* @__PURE__ */ m.jsxs(X0, { gap: "7px", children: [
|
|
14233
14233
|
d ? /* @__PURE__ */ m.jsx($, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ m.jsx("img", { src: U7, width: "18px", height: "18px" }) }) : null,
|
|
14234
14234
|
/* @__PURE__ */ m.jsx(z0, { variant: "body2", children: L ? Y(L) : Hl })
|
|
14235
|
-
] }) : /* @__PURE__ */ m.jsx(Ge, { title: _ ?
|
|
14235
|
+
] }) : /* @__PURE__ */ m.jsx(Ge, { title: _ ? M : null, placement: "bottom", children: r ? /* @__PURE__ */ m.jsx(
|
|
14236
14236
|
$0,
|
|
14237
14237
|
{
|
|
14238
14238
|
ref: p,
|
|
@@ -14241,9 +14241,9 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14241
14241
|
href: r,
|
|
14242
14242
|
fontSize: "13px",
|
|
14243
14243
|
onClick: J,
|
|
14244
|
-
children:
|
|
14244
|
+
children: M || Si
|
|
14245
14245
|
}
|
|
14246
|
-
) : /* @__PURE__ */ m.jsx(Ib, { ref: f, variant: "body2", children:
|
|
14246
|
+
) : /* @__PURE__ */ m.jsx(Ib, { ref: f, variant: "body2", children: M || Si }) });
|
|
14247
14247
|
}, N1 = "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", $o = ({
|
|
14248
14248
|
shown: e,
|
|
14249
14249
|
setShown: t,
|
|
@@ -14273,16 +14273,16 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14273
14273
|
}
|
|
14274
14274
|
), k1 = (e) => {
|
|
14275
14275
|
var j, H, B;
|
|
14276
|
-
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === te.IDLE, a = (o == null ? void 0 : o[t]) === te.LOADING, u = (o == null ? void 0 : o[t]) === te.FAILED, { cardType: h, data: g, cardErrorMessage: x, redirectToAdminTab: b, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(!1), _ = ((j = g == null ? void 0 : g.listItems) == null ? void 0 : j.statusCode) !== 401, R =
|
|
14276
|
+
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, c = 24, l = (o == null ? void 0 : o[t]) === te.IDLE, a = (o == null ? void 0 : o[t]) === te.LOADING, u = (o == null ? void 0 : o[t]) === te.FAILED, { cardType: h, data: g, cardErrorMessage: x, redirectToAdminTab: b, connectorNames: d } = (r == null ? void 0 : r[t]) || {}, f = h === "flat", [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(!1), _ = ((j = g == null ? void 0 : g.listItems) == null ? void 0 : j.statusCode) !== 401, R = Me(() => {
|
|
14277
14277
|
var W, Q, ie, se;
|
|
14278
14278
|
return f && ((W = g == null ? void 0 : g.flatDisplay) != null && W.data) ? g.flatDisplay.data : !f && ((se = (ie = (Q = g == null ? void 0 : g.listItems) == null ? void 0 : Q.fields) == null ? void 0 : ie[0]) != null && se.data) ? g.listItems.fields[0].data : [];
|
|
14279
|
-
}, [f, g]), L =
|
|
14279
|
+
}, [f, g]), L = Me(() => R == null ? void 0 : R.slice(0, 5), [R]), [O, k] = U([]), M = ye(null), [V, z] = U(0), J = p ? -180 : 0, Y = f ? !1 : !!((H = g == null ? void 0 : g.listItems) != null && H.errorMessage), ee = Y || u || x, de = l && !Y && i && (C || v);
|
|
14280
14280
|
io(() => {
|
|
14281
14281
|
var W;
|
|
14282
|
-
(W =
|
|
14283
|
-
}, [o == null ? void 0 : o[t], O,
|
|
14284
|
-
var se,
|
|
14285
|
-
const W = ((R == null ? void 0 : R.length) || 0) > 5, Q = !f && (((
|
|
14282
|
+
(W = M.current) != null && W.scrollHeight && z(M.current.scrollHeight + c);
|
|
14283
|
+
}, [o == null ? void 0 : o[t], O, M]), pe(() => {
|
|
14284
|
+
var se, P;
|
|
14285
|
+
const W = ((R == null ? void 0 : R.length) || 0) > 5, Q = !f && (((P = (se = g == null ? void 0 : g.listItems) == null ? void 0 : se.fields) == null ? void 0 : P.length) || 0) > 1;
|
|
14286
14286
|
I(W && !Q), E(Q);
|
|
14287
14287
|
}, [g, f, R == null ? void 0 : R.length]), pe(() => {
|
|
14288
14288
|
k(p ? R : L);
|
|
@@ -14300,7 +14300,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14300
14300
|
setShowModal: w
|
|
14301
14301
|
}
|
|
14302
14302
|
) }),
|
|
14303
|
-
/* @__PURE__ */ m.jsx(yb, { className: i ? "" : "slideUp", height: V, children: /* @__PURE__ */ m.jsx($, { ref:
|
|
14303
|
+
/* @__PURE__ */ m.jsx(yb, { className: i ? "" : "slideUp", height: V, children: /* @__PURE__ */ m.jsx($, { ref: M, gap: 1, margin: "12px", children: a && !(O != null && O.length) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14304
14304
|
/* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
14305
14305
|
/* @__PURE__ */ m.jsx(Un, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
14306
14306
|
] }) : /* @__PURE__ */ m.jsx(m.Fragment, { children: ee ? /* @__PURE__ */ m.jsx(fe, { margin: "8px 0", children: /* @__PURE__ */ m.jsx(
|
|
@@ -14318,7 +14318,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14318
14318
|
isCardLevelError: !0
|
|
14319
14319
|
}
|
|
14320
14320
|
) }) : O != null && O.length ? O == null ? void 0 : O.map((W) => {
|
|
14321
|
-
const { value: Q, label: ie, deepLink: se, type:
|
|
14321
|
+
const { value: Q, label: ie, deepLink: se, type: P } = W, re = "errorMessage" in W ? W.errorMessage : null, Ee = "statusCode" in W ? W.statusCode : null;
|
|
14322
14322
|
return /* @__PURE__ */ m.jsxs("div", { children: [
|
|
14323
14323
|
/* @__PURE__ */ m.jsx(Cb, { variant: "overline", children: ie }),
|
|
14324
14324
|
/* @__PURE__ */ m.jsx(
|
|
@@ -14329,7 +14329,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14329
14329
|
deepLink: se,
|
|
14330
14330
|
statusCode: Ee,
|
|
14331
14331
|
isLoading: a,
|
|
14332
|
-
type:
|
|
14332
|
+
type: P,
|
|
14333
14333
|
cardTitle: n,
|
|
14334
14334
|
currentCard: s,
|
|
14335
14335
|
cardId: t,
|
|
@@ -14353,7 +14353,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14353
14353
|
connectorsEnabled: !1,
|
|
14354
14354
|
specificConnectorErrorCode: null,
|
|
14355
14355
|
conversationEmailHeaders: null
|
|
14356
|
-
},
|
|
14356
|
+
}, P1 = "/v1/api", $7 = `${P1}/connectors/cards`, Y7 = `${P1}/connectors/cards/:id/data`, J7 = ({
|
|
14357
14357
|
inboxIds: e,
|
|
14358
14358
|
conversationId: t,
|
|
14359
14359
|
channelType: n = "email"
|
|
@@ -14369,7 +14369,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14369
14369
|
url: `${Y7.replace(":id", e)}?${o.toString()}`,
|
|
14370
14370
|
method: mt.GET
|
|
14371
14371
|
});
|
|
14372
|
-
},
|
|
14372
|
+
}, M1 = Zc({
|
|
14373
14373
|
name: "connectorCardLibrary",
|
|
14374
14374
|
initialState: z7,
|
|
14375
14375
|
reducers: {
|
|
@@ -14461,7 +14461,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14461
14461
|
});
|
|
14462
14462
|
}
|
|
14463
14463
|
}
|
|
14464
|
-
), q7 =
|
|
14464
|
+
), q7 = M1.reducer, Ku = M1.actions, j1 = "data:image/svg+xml,%3csvg%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.76618%202.23341C8.79952%201.26675%207.47285%200.666748%205.99952%200.666748C3.05285%200.666748%200.672852%203.05341%200.672852%206.00008C0.672852%208.94675%203.05285%2011.3334%205.99952%2011.3334C8.48619%2011.3334%2010.5595%209.63341%2011.1529%207.33341H9.76618C9.21952%208.88675%207.73952%2010.0001%205.99952%2010.0001C3.79285%2010.0001%201.99952%208.20675%201.99952%206.00008C1.99952%203.79341%203.79285%202.00008%205.99952%202.00008C7.10618%202.00008%208.09285%202.46008%208.81285%203.18675L6.66618%205.33341H11.3329V0.666748L9.76618%202.23341Z'%20fill='%236C7B94'/%3e%3c/svg%3e", K7 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4587%206.7528C11.2244%206.51848%2010.8445%206.51848%2010.6102%206.7528C10.3759%206.98711%2010.3759%207.36701%2010.6102%207.60132L11.4587%206.7528ZM12.1916%208.33414L12.6158%207.90988L12.1916%208.33414ZM8.33462%2012.1911L8.75888%2011.7668L8.33462%2012.1911ZM7.6018%2010.6097C7.36748%2010.3754%206.98758%2010.3754%206.75327%2010.6097C6.51895%2010.8441%206.51895%2011.224%206.75327%2011.4583L7.6018%2010.6097ZM4.43911%209.14411C4.67343%209.37842%205.05333%209.37842%205.28764%209.14411C5.52196%208.9098%205.52196%208.5299%205.28764%208.29558L4.43911%209.14411ZM3.70629%207.56276L4.13056%207.1385L3.70629%207.56276ZM7.56324%203.70582L7.9875%203.28155L7.56324%203.70582ZM8.29606%205.28716C8.53037%205.52148%208.91027%205.52148%209.14459%205.28716C9.3789%205.05285%209.3789%204.67295%209.14459%204.43864L8.29606%205.28716ZM10.6102%207.60132L11.7673%208.75841L12.6158%207.90988L11.4587%206.7528L10.6102%207.60132ZM11.7673%208.75841C12.1662%209.15735%2012.3904%209.69843%2012.3904%2010.2626L13.5904%2010.2626C13.5904%209.38017%2013.2398%208.53387%2012.6158%207.90988L11.7673%208.75841ZM12.3904%2010.2626C12.3904%2010.8268%2012.1662%2011.3679%2011.7673%2011.7668L12.6158%2012.6154C13.2398%2011.9914%2013.5904%2011.1451%2013.5904%2010.2626L12.3904%2010.2626ZM11.7673%2011.7668C10.9365%2012.5976%209.58963%2012.5976%208.75888%2011.7668L7.91035%2012.6154C9.20973%2013.9147%2011.3164%2013.9147%2012.6158%2012.6154L11.7673%2011.7668ZM8.75888%2011.7668L7.6018%2010.6097L6.75327%2011.4583L7.91035%2012.6154L8.75888%2011.7668ZM5.28764%208.29558L4.13056%207.1385L3.28203%207.98703L4.43911%209.14411L5.28764%208.29558ZM4.13056%207.1385C3.73162%206.73956%203.50749%206.19848%203.50749%205.63429L2.30749%205.63429C2.30749%206.51674%202.65804%207.36304%203.28203%207.98703L4.13056%207.1385ZM3.50749%205.63429C3.50749%205.0701%203.73162%204.52902%204.13056%204.13008L3.28203%203.28155C2.65804%203.90554%202.30749%204.75184%202.30749%205.63429L3.50749%205.63429ZM4.13056%204.13008C4.96131%203.29933%206.30822%203.29933%207.13897%204.13008L7.9875%203.28155C6.68812%201.98217%204.58141%201.98217%203.28203%203.28155L4.13056%204.13008ZM7.13897%204.13008L8.29606%205.28716L9.14459%204.43864L7.9875%203.28155L7.13897%204.13008Z'%20fill='%236C7B94'/%3e%3crect%20x='5.08887'%20y='6.0791'%20width='1.33333'%20height='6.66667'%20rx='0.666667'%20transform='rotate(-45%205.08887%206.0791)'%20fill='%236C7B94'/%3e%3cpath%20d='M5.59961%2014.3998V12.7998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.7998%205.59961H14.3998'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M2.40039%2011.2002H4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.2002%202.40039V4.00039'%20stroke='%236C7B94'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ex = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5908_39767)'%3e%3cpath%20d='M9.37333%206.01333L9.98667%206.62667L3.94667%2012.6667H3.33333V12.0533L9.37333%206.01333ZM11.7733%202C11.6067%202%2011.4333%202.06667%2011.3067%202.19333L10.0867%203.41333L12.5867%205.91333L13.8067%204.69333C14.0667%204.43333%2014.0667%204.01333%2013.8067%203.75333L12.2467%202.19333C12.1133%202.06%2011.9467%202%2011.7733%202ZM9.37333%204.12667L2%2011.5V14H4.5L11.8733%206.62667L9.37333%204.12667Z'%20fill='%236C7B94'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5908_39767'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", B1 = (e) => e.write.createObjectList, tx = (e) => e.write.createObjectConnectorNamesList, V1 = (e) => e.write.linkObjectList, nx = (e) => e.write.editObjectList, rx = (e) => e.write.objectDict, ox = (e) => e.write.formFields, ix = (e) => e.write.linkCardApiStatus, sx = (e) => e.write.unlinkCardApiStatus, ax = (e) => e.write.dependentFieldsMap, cx = (e) => e.write.createFormApiStatus, lx = (e) => e.write.updateFormApiStatus, ux = (e) => e.write.currentResourceDetails, dx = (e) => e.write.currentResourceDetailsApiStatus, G1 = (e) => e.write.currentCardInEdit, H1 = (e) => e.write.hasUnsavedChanges, fx = (e) => typeof e == "string" ? /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/.test(e) : typeof e == "object" && "_isValid" in e, ed = (e) => Object.keys(e).sort((n, r) => r.localeCompare(n)).reduce((n, r) => {
|
|
14465
14465
|
var o;
|
|
14466
14466
|
return (typeof e[r] == "string" || typeof e[r] == "object" && e[r] !== null) && fx(e[r]) ? n[r] = (o = /* @__PURE__ */ new Date(`${e[r]}`)) == null ? void 0 : o.toString() : n[r] = e[r], n;
|
|
14467
14467
|
}, {}), hx = (e) => _3.replace("{{connectorName}}", e), px = ({
|
|
@@ -14475,7 +14475,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14475
14475
|
}) => {
|
|
14476
14476
|
const c = Kt(), { sendTrackingEvent: l } = Ye(qe), u = _e(sx) === te.LOADING, h = () => {
|
|
14477
14477
|
i && o && c(ji({ id: n, conversationId: i, externalResourceId: o })).unwrap().then(() => {
|
|
14478
|
-
l(
|
|
14478
|
+
l(Pm, {
|
|
14479
14479
|
connector_name: s,
|
|
14480
14480
|
conversation_id: i
|
|
14481
14481
|
}), t(!1), r(), We({
|
|
@@ -14517,30 +14517,30 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14517
14517
|
} = e, c = Kt(), { availableFeatures: l, sendTrackingEvent: a, conversationId: u, currentSmIds: h } = Ye(qe), { userGroupId: g } = wn() || {}, [x, b] = U(!!i), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), { id: C, title: I, externalResourceId: A = "", forms: w = [], logoUrl: _ } = t;
|
|
14518
14518
|
let R = C;
|
|
14519
14519
|
A && (R = `${R}_${A}`);
|
|
14520
|
-
const { data: L, cardType: O, cardErrorMessage: k, connectorNames:
|
|
14521
|
-
var
|
|
14520
|
+
const { data: L, cardType: O, cardErrorMessage: k, connectorNames: M } = (n == null ? void 0 : n[R]) ?? {}, V = (M == null ? void 0 : M[0]) || "", z = (o == null ? void 0 : o[R]) === te.LOADING, J = (o == null ? void 0 : o[R]) === te.FAILED, Y = !!(gt(l, S0) && A), ee = Me(() => {
|
|
14521
|
+
var P, re;
|
|
14522
14522
|
if (k || J || !(gt(l, f3) && w.some((Ee) => Ee.type === "edit")))
|
|
14523
14523
|
return !1;
|
|
14524
14524
|
switch (O) {
|
|
14525
14525
|
case "flat":
|
|
14526
14526
|
return !!((L == null ? void 0 : L.flatDisplay.externalResourceId) ?? t.externalResourceId);
|
|
14527
14527
|
case "flat_with_list":
|
|
14528
|
-
return ((
|
|
14528
|
+
return ((P = L == null ? void 0 : L.listItems) == null ? void 0 : P.fields.length) === 1 ? (re = L == null ? void 0 : L.listItems) == null ? void 0 : re.fields.some((Ee) => Ee.externalResourceId) : !1;
|
|
14529
14529
|
default:
|
|
14530
14530
|
return !1;
|
|
14531
14531
|
}
|
|
14532
14532
|
}, [L, O, l, w, t, k, J]), de = Te(
|
|
14533
|
-
(
|
|
14534
|
-
const re =
|
|
14533
|
+
(P = !1) => {
|
|
14534
|
+
const re = P ? Gm : Vm;
|
|
14535
14535
|
r && C && u && c(ko({ id: C, email: r, conversationId: u, externalResourceId: A })).unwrap().then((Ee) => {
|
|
14536
14536
|
const Z = {
|
|
14537
|
-
...Zl(Ee, I,
|
|
14537
|
+
...Zl(Ee, I, P, !0),
|
|
14538
14538
|
sm_ids: h
|
|
14539
14539
|
};
|
|
14540
14540
|
a(re, Z);
|
|
14541
14541
|
}).catch((Ee) => {
|
|
14542
14542
|
const Z = {
|
|
14543
|
-
...Zl(Ee, I,
|
|
14543
|
+
...Zl(Ee, I, P, !1),
|
|
14544
14544
|
sm_ids: h
|
|
14545
14545
|
};
|
|
14546
14546
|
a(re, Z);
|
|
@@ -14551,26 +14551,26 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14551
14551
|
pe(() => {
|
|
14552
14552
|
x && de(!0);
|
|
14553
14553
|
}, [x, de]);
|
|
14554
|
-
const ne = (
|
|
14554
|
+
const ne = (P, re) => {
|
|
14555
14555
|
var Z;
|
|
14556
|
-
|
|
14556
|
+
P == null || P.stopPropagation(), c(ko({ id: re, email: r, conversationId: u, isRefresh: !0, externalResourceId: A })).unwrap().then(() => {
|
|
14557
14557
|
a(_m, {
|
|
14558
14558
|
id: re
|
|
14559
14559
|
});
|
|
14560
14560
|
});
|
|
14561
|
-
const Ee =
|
|
14561
|
+
const Ee = P.target.tagName === "BUTTON" ? (Z = P.target) == null ? void 0 : Z.firstChild : P.target;
|
|
14562
14562
|
Ee.className && (Ee.className = ""), setTimeout(() => Ee.className = "selected", 1);
|
|
14563
|
-
}, j = (
|
|
14564
|
-
|
|
14563
|
+
}, j = (P, re) => {
|
|
14564
|
+
P.stopPropagation(), !(n != null && n[re]) && !z && de(), a(x ? Am : wm, {
|
|
14565
14565
|
id: re
|
|
14566
14566
|
}), b((Ee) => !Ee);
|
|
14567
|
-
}, H = (
|
|
14568
|
-
|
|
14569
|
-
const re =
|
|
14567
|
+
}, H = (P) => {
|
|
14568
|
+
P.stopPropagation();
|
|
14569
|
+
const re = P.currentTarget.offsetWidth < P.currentTarget.scrollWidth;
|
|
14570
14570
|
f(!!re);
|
|
14571
|
-
}, B = (
|
|
14571
|
+
}, B = (P) => {
|
|
14572
14572
|
var Ee, Z;
|
|
14573
|
-
|
|
14573
|
+
P.stopPropagation(), a(T0, {
|
|
14574
14574
|
card_title: I,
|
|
14575
14575
|
connector_name: V,
|
|
14576
14576
|
ug_id: g,
|
|
@@ -14578,8 +14578,8 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14578
14578
|
});
|
|
14579
14579
|
let re;
|
|
14580
14580
|
O === "flat" ? re = (L == null ? void 0 : L.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (re = (Z = (Ee = L == null ? void 0 : L.listItems) == null ? void 0 : Ee.fields[0]) == null ? void 0 : Z.externalResourceId), re ? c(jr({ ...t, externalResourceId: re })) : We({ message: Os, type: Et });
|
|
14581
|
-
}, W = (
|
|
14582
|
-
|
|
14581
|
+
}, W = (P) => {
|
|
14582
|
+
P.stopPropagation(), y(!0);
|
|
14583
14583
|
}, Q = () => {
|
|
14584
14584
|
E(!0);
|
|
14585
14585
|
}, ie = () => {
|
|
@@ -14591,7 +14591,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14591
14591
|
disabled: z,
|
|
14592
14592
|
shown: Y,
|
|
14593
14593
|
iconSrc: K7,
|
|
14594
|
-
action: (
|
|
14594
|
+
action: (P) => W(P)
|
|
14595
14595
|
},
|
|
14596
14596
|
{
|
|
14597
14597
|
id: "refresh",
|
|
@@ -14599,7 +14599,7 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14599
14599
|
disabled: z,
|
|
14600
14600
|
shown: !0,
|
|
14601
14601
|
iconSrc: j1,
|
|
14602
|
-
action: (
|
|
14602
|
+
action: (P) => ne(P, C)
|
|
14603
14603
|
},
|
|
14604
14604
|
{
|
|
14605
14605
|
id: "edit",
|
|
@@ -14607,18 +14607,18 @@ Do you want to continue?`, S7 = "Select an object to create", L7 = "Select an ob
|
|
|
14607
14607
|
disabled: z,
|
|
14608
14608
|
shown: ee,
|
|
14609
14609
|
iconSrc: ex,
|
|
14610
|
-
action: (
|
|
14610
|
+
action: (P) => B(P)
|
|
14611
14611
|
}
|
|
14612
14612
|
];
|
|
14613
14613
|
return /* @__PURE__ */ m.jsxs(gb, { "data-testid": `test_${C}`, onMouseEnter: Q, onMouseLeave: ie, children: [
|
|
14614
|
-
/* @__PURE__ */ m.jsxs(mb, { className: x ? "hiver-card-expanded" : "", onClick: (
|
|
14614
|
+
/* @__PURE__ */ m.jsxs(mb, { className: x ? "hiver-card-expanded" : "", onClick: (P) => j(P, R), children: [
|
|
14615
14615
|
/* @__PURE__ */ m.jsxs(bb, { children: [
|
|
14616
14616
|
_ && /* @__PURE__ */ m.jsx("img", { src: _, alt: I }),
|
|
14617
|
-
/* @__PURE__ */ m.jsx(Ge, { title: d ? I : "", placement: "bottom", children: /* @__PURE__ */ m.jsx(vb, { variant: "h4", onMouseOver: (
|
|
14617
|
+
/* @__PURE__ */ m.jsx(Ge, { title: d ? I : "", placement: "bottom", children: /* @__PURE__ */ m.jsx(vb, { variant: "h4", onMouseOver: (P) => H(P), onMouseLeave: (P) => H(P), children: I }) })
|
|
14618
14618
|
] }),
|
|
14619
14619
|
/* @__PURE__ */ m.jsxs(X0, { children: [
|
|
14620
14620
|
/* @__PURE__ */ m.jsx(gx, { actions: se, isHovered: v }),
|
|
14621
|
-
/* @__PURE__ */ m.jsx(Ge, { title: x ? O0 :
|
|
14621
|
+
/* @__PURE__ */ m.jsx(Ge, { title: x ? O0 : Pc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: (P) => j(P, R), children: /* @__PURE__ */ m.jsx(Vc, { className: x ? "" : "hiver-up" }) }) })
|
|
14622
14622
|
] })
|
|
14623
14623
|
] }),
|
|
14624
14624
|
/* @__PURE__ */ m.jsx(
|
|
@@ -14709,7 +14709,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14709
14709
|
width: 100%;
|
|
14710
14710
|
margin-bottom: 20px;
|
|
14711
14711
|
margin-top: 12px;
|
|
14712
|
-
`,
|
|
14712
|
+
`, Px = F(ue)`
|
|
14713
14713
|
color: ${X.palette.gray.gray1};
|
|
14714
14714
|
font-size: 13px;
|
|
14715
14715
|
margin-bottom: 24px;
|
|
@@ -14723,7 +14723,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14723
14723
|
background-color: #e3dfff;
|
|
14724
14724
|
border: 1px solid ${X.palette.purple.primary};
|
|
14725
14725
|
}
|
|
14726
|
-
`,
|
|
14726
|
+
`, Mx = F($)`
|
|
14727
14727
|
margin-top: 16px;
|
|
14728
14728
|
justify-content: center;
|
|
14729
14729
|
align-items: center;
|
|
@@ -14745,7 +14745,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14745
14745
|
}, u = s ? Lx : Sx;
|
|
14746
14746
|
return /* @__PURE__ */ m.jsxs(Dx, { "data-testid": "noConnectors", children: [
|
|
14747
14747
|
i ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14748
|
-
t ? null : /* @__PURE__ */ m.jsx(ue, { variant: "h2", children: s ?
|
|
14748
|
+
t ? null : /* @__PURE__ */ m.jsx(ue, { variant: "h2", children: s ? Mc : Rx }),
|
|
14749
14749
|
/* @__PURE__ */ m.jsx(kx, { onClick: a, href: Tx, target: "_blank", children: /* @__PURE__ */ m.jsx(
|
|
14750
14750
|
z6,
|
|
14751
14751
|
{
|
|
@@ -14758,7 +14758,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14758
14758
|
/* @__PURE__ */ m.jsx(Nx, { variant: "body1_medium", children: yx }),
|
|
14759
14759
|
/* @__PURE__ */ m.jsx("img", { src: Vx, alt: Cx })
|
|
14760
14760
|
] }),
|
|
14761
|
-
/* @__PURE__ */ m.jsx(
|
|
14761
|
+
/* @__PURE__ */ m.jsx(Px, { variant: "body2", children: xx }),
|
|
14762
14762
|
e ? /* @__PURE__ */ m.jsx(
|
|
14763
14763
|
td,
|
|
14764
14764
|
{
|
|
@@ -14769,7 +14769,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14769
14769
|
}
|
|
14770
14770
|
) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14771
14771
|
/* @__PURE__ */ m.jsx(td, { onClick: l, children: wx }),
|
|
14772
|
-
/* @__PURE__ */ m.jsxs(
|
|
14772
|
+
/* @__PURE__ */ m.jsxs(Mx, { direction: "row", children: [
|
|
14773
14773
|
/* @__PURE__ */ m.jsx(jx, {}),
|
|
14774
14774
|
/* @__PURE__ */ m.jsx(Bx, { variant: "caption", children: _x })
|
|
14775
14775
|
] })
|
|
@@ -14790,7 +14790,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14790
14790
|
alignItems: "center",
|
|
14791
14791
|
children: [
|
|
14792
14792
|
t ? /* @__PURE__ */ m.jsx(G0, { width: "20px", height: "20px" }) : /* @__PURE__ */ m.jsx(W0, {}),
|
|
14793
|
-
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: t ?
|
|
14793
|
+
/* @__PURE__ */ m.jsx(Z0, { variant: "h2", children: t ? Mc : R0 })
|
|
14794
14794
|
]
|
|
14795
14795
|
}
|
|
14796
14796
|
),
|
|
@@ -14801,10 +14801,10 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14801
14801
|
] })
|
|
14802
14802
|
] });
|
|
14803
14803
|
}, Zx = () => {
|
|
14804
|
-
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(qe), [o, i] = U(!1), s = ye(null), [c, l] = U(0), { templateUpdates: a } = e || {}, { sections: u = [], actionButtons: h = [], title: g } = a || {}, { version: x = "" } = a || {}, b = N3(x), d =
|
|
14804
|
+
const { metaData: e, sendTrackingEvent: t, isAdmin: n, connectorFunctions: r } = Ye(qe), [o, i] = U(!1), s = ye(null), [c, l] = U(0), { templateUpdates: a } = e || {}, { sections: u = [], actionButtons: h = [], title: g } = a || {}, { version: x = "" } = a || {}, b = N3(x), d = Me(
|
|
14805
14805
|
() => F3(x),
|
|
14806
14806
|
[x]
|
|
14807
|
-
), f =
|
|
14807
|
+
), f = Me(() => (h == null ? void 0 : h.filter(({ isAdminPanelLink: E }) => !(!n && E))) ?? [], [h, n]);
|
|
14808
14808
|
if (pe(() => {
|
|
14809
14809
|
!d && a && qs(x, !0);
|
|
14810
14810
|
}, [d, x, a]), io(() => {
|
|
@@ -14831,10 +14831,10 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14831
14831
|
/* @__PURE__ */ m.jsx(Fb, { variant: "h3", children: g }),
|
|
14832
14832
|
/* @__PURE__ */ m.jsxs(fe, { children: [
|
|
14833
14833
|
o ? /* @__PURE__ */ m.jsx(Ge, { title: E3, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: v, children: /* @__PURE__ */ m.jsx(jt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
14834
|
-
/* @__PURE__ */ m.jsx(Ge, { title: o ? x3 :
|
|
14834
|
+
/* @__PURE__ */ m.jsx(Ge, { title: o ? x3 : Pc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: p, children: /* @__PURE__ */ m.jsx(Vc, { className: o ? "" : "hiver-up" }) }) })
|
|
14835
14835
|
] })
|
|
14836
14836
|
] }),
|
|
14837
|
-
/* @__PURE__ */ m.jsx(
|
|
14837
|
+
/* @__PURE__ */ m.jsx(Pb, { className: o ? "slideDown" : "slideUp", ref: s, height: c, children: /* @__PURE__ */ m.jsxs(Mb, { children: [
|
|
14838
14838
|
u.map(({ title: E, items: C, type: I }) => /* @__PURE__ */ m.jsxs(Hb, { children: [
|
|
14839
14839
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2_medium", children: E }),
|
|
14840
14840
|
C.map((A) => {
|
|
@@ -14981,13 +14981,13 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
14981
14981
|
padding: 20px 14px;
|
|
14982
14982
|
box-sizing: border-box;
|
|
14983
14983
|
overflow: hidden;
|
|
14984
|
-
`,
|
|
14984
|
+
`, eE = F("img")`
|
|
14985
14985
|
height: 16px;
|
|
14986
14986
|
width: 16px;
|
|
14987
|
-
`,
|
|
14987
|
+
`, tE = F(fe)`
|
|
14988
14988
|
margin-top: 12px;
|
|
14989
14989
|
height: 100%;
|
|
14990
|
-
`,
|
|
14990
|
+
`, nE = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4735_44625)'%3e%3cpath%20d='M7.9987%2013.334L8.9387%2012.394L5.2187%208.66732H13.332V7.33398L5.2187%207.33398L8.9387%203.60732L7.9987%202.66732L2.66537%208.00065L7.9987%2013.334Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4735_44625'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ga = ({
|
|
14991
14991
|
children: e,
|
|
14992
14992
|
isOpen: t,
|
|
14993
14993
|
setIsOpen: n,
|
|
@@ -15004,18 +15004,18 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15004
15004
|
}, [n]), t && l && c.current && ei(
|
|
15005
15005
|
/* @__PURE__ */ m.jsxs(Kx, { className: "layover-paper", elevation: 0, children: [
|
|
15006
15006
|
/* @__PURE__ */ m.jsxs($, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
|
|
15007
|
-
/* @__PURE__ */ m.jsx(Ge, { title: i, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: r, children: /* @__PURE__ */ m.jsx(
|
|
15007
|
+
/* @__PURE__ */ m.jsx(Ge, { title: i, placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: r, children: /* @__PURE__ */ m.jsx(eE, { src: nE }) }) }),
|
|
15008
15008
|
/* @__PURE__ */ m.jsx(ue, { children: o })
|
|
15009
15009
|
] }),
|
|
15010
|
-
/* @__PURE__ */ m.jsx(
|
|
15010
|
+
/* @__PURE__ */ m.jsx(tE, { children: e })
|
|
15011
15011
|
] }),
|
|
15012
15012
|
c.current
|
|
15013
15013
|
);
|
|
15014
|
-
}, Z1 = (e) => e.common.previewCardData, U1 = (e) => e.common.previewCardApiStatus,
|
|
15014
|
+
}, Z1 = (e) => e.common.previewCardData, U1 = (e) => e.common.previewCardApiStatus, rE = (e) => e.common.selectedSuggestionType, oE = F($)`
|
|
15015
15015
|
width: 100%;
|
|
15016
15016
|
border-radius: 8px;
|
|
15017
15017
|
border: 1px solid ${X.palette.gray.gray5};
|
|
15018
|
-
`,
|
|
15018
|
+
`, iE = F($)`
|
|
15019
15019
|
padding: 11px;
|
|
15020
15020
|
height: 46px;
|
|
15021
15021
|
background: ${X.palette.gray.gray6};
|
|
@@ -15025,7 +15025,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15025
15025
|
white-space: nowrap;
|
|
15026
15026
|
overflow: hidden;
|
|
15027
15027
|
}
|
|
15028
|
-
`,
|
|
15028
|
+
`, sE = F(ot)`
|
|
15029
15029
|
&:hover {
|
|
15030
15030
|
background-color: #e3e9ff !important;
|
|
15031
15031
|
color: ${X.palette.purple.primary} !important;
|
|
@@ -15033,7 +15033,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15033
15033
|
}
|
|
15034
15034
|
margin-top: 10px;
|
|
15035
15035
|
display: block;
|
|
15036
|
-
`,
|
|
15036
|
+
`, aE = F($)`
|
|
15037
15037
|
flex-direction: row;
|
|
15038
15038
|
flex-grow: 1;
|
|
15039
15039
|
align-items: center;
|
|
@@ -15051,16 +15051,16 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15051
15051
|
s(!!f);
|
|
15052
15052
|
}, b = (d) => {
|
|
15053
15053
|
var p;
|
|
15054
|
-
o(
|
|
15054
|
+
o(Mr({ id: n, args: r, isRefresh: !0 }));
|
|
15055
15055
|
const f = d.target.tagName === "BUTTON" ? (p = d.target) == null ? void 0 : p.firstChild : d.target;
|
|
15056
15056
|
f.className && (f.className = ""), setTimeout(() => f.className = "selected", 1);
|
|
15057
15057
|
};
|
|
15058
|
-
return /* @__PURE__ */ m.jsxs(
|
|
15059
|
-
/* @__PURE__ */ m.jsxs(
|
|
15058
|
+
return /* @__PURE__ */ m.jsxs(oE, { children: [
|
|
15059
|
+
/* @__PURE__ */ m.jsxs(iE, { direction: "row", justifyContent: "space-between", children: [
|
|
15060
15060
|
g ? /* @__PURE__ */ m.jsxs($, { gap: "6px", direction: "row", children: [
|
|
15061
15061
|
/* @__PURE__ */ m.jsx(Un, { width: "16px", height: "24px" }),
|
|
15062
15062
|
/* @__PURE__ */ m.jsx(Un, { width: "100px", height: "24px" })
|
|
15063
|
-
] }) : /* @__PURE__ */ m.jsxs(
|
|
15063
|
+
] }) : /* @__PURE__ */ m.jsxs(aE, { children: [
|
|
15064
15064
|
h && /* @__PURE__ */ m.jsx("img", { src: h, alt: u }),
|
|
15065
15065
|
/* @__PURE__ */ m.jsx(Ge, { title: i ? u : "", children: /* @__PURE__ */ m.jsx(
|
|
15066
15066
|
ue,
|
|
@@ -15074,7 +15074,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15074
15074
|
] }),
|
|
15075
15075
|
/* @__PURE__ */ m.jsxs($, { direction: "row", alignItems: "center", children: [
|
|
15076
15076
|
c ? /* @__PURE__ */ m.jsx(Ge, { title: L0, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: (d) => b(d), children: /* @__PURE__ */ m.jsx("img", { src: j1 }) }) }) : null,
|
|
15077
|
-
/* @__PURE__ */ m.jsx(Ge, { title: c ? O0 :
|
|
15077
|
+
/* @__PURE__ */ m.jsx(Ge, { title: c ? O0 : Pc, placement: "bottom", children: /* @__PURE__ */ m.jsx(to, { onClick: () => l((d) => !d), children: /* @__PURE__ */ m.jsx(Vc, { className: c ? "" : "hiver-up" }) }) })
|
|
15078
15078
|
] })
|
|
15079
15079
|
] }),
|
|
15080
15080
|
/* @__PURE__ */ m.jsx(
|
|
@@ -15098,7 +15098,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15098
15098
|
SET_FIELDS: "SET_FIELDS",
|
|
15099
15099
|
CLEAR_FIELDS: "CLEAR_FIELDS",
|
|
15100
15100
|
RESET_STATE: "RESET_STATE"
|
|
15101
|
-
},
|
|
15101
|
+
}, cE = (e, t) => {
|
|
15102
15102
|
const { type: n, payload: r } = t;
|
|
15103
15103
|
switch (n) {
|
|
15104
15104
|
case dn.SET_FIELD_VALUE: {
|
|
@@ -15146,7 +15146,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15146
15146
|
return z1;
|
|
15147
15147
|
}
|
|
15148
15148
|
return e;
|
|
15149
|
-
}, $1 = () =>
|
|
15149
|
+
}, $1 = () => Ph(cE, z1), Y1 = ({ state: e, dispatch: t, validations: n }) => {
|
|
15150
15150
|
const r = e.errors, o = (h, g) => {
|
|
15151
15151
|
t({ type: dn.SET_FIELD_VALUE, payload: { value: { value: g, name: h } } });
|
|
15152
15152
|
}, i = Te(() => Object.keys(r).filter((g) => !!r[g]).length > 0, [r]), s = (h) => {
|
|
@@ -15252,7 +15252,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15252
15252
|
}
|
|
15253
15253
|
};
|
|
15254
15254
|
}, {}), J1 = ({ formFields: e, formState: t, formId: n, conversationId: r }) => {
|
|
15255
|
-
const o = Kt(), i =
|
|
15255
|
+
const o = Kt(), i = Me(() => {
|
|
15256
15256
|
if (e && e.length) {
|
|
15257
15257
|
const c = rd({ formFields: e, formId: n, formState: t, appDispatch: o });
|
|
15258
15258
|
return e.reduce((a, u) => {
|
|
@@ -15269,7 +15269,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15269
15269
|
}, c);
|
|
15270
15270
|
}
|
|
15271
15271
|
return null;
|
|
15272
|
-
}, [e, t, n, o]), s =
|
|
15272
|
+
}, [e, t, n, o]), s = Me(() => {
|
|
15273
15273
|
const c = od({ formFields: e, formId: n, formState: t, conversationId: r, appDispatch: o });
|
|
15274
15274
|
return e.reduce((a, u) => {
|
|
15275
15275
|
const h = u.columns;
|
|
@@ -15315,7 +15315,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15315
15315
|
connectors: s
|
|
15316
15316
|
}) => {
|
|
15317
15317
|
var Jn;
|
|
15318
|
-
const { userGroupId: c, userId: l } = wn() || {}, [a, u] = U(null), [h, g] = U(!1), x = ye(null), [b, d] = $1(), f = _e(G1), p = _e(t ? nx : B1), y = _e(ox), v = _e(rx), E = _e(ax), C = _e(cx), I = _e(lx), A = _e(ux), w = _e(dx), _ = _e(H1), R = v == null ? void 0 : v[(a == null ? void 0 : a.value) ?? ""], L = R == null ? void 0 : R.expandedView, { formConfigs: O, formViewConfigs: k } =
|
|
15318
|
+
const { userGroupId: c, userId: l } = wn() || {}, [a, u] = U(null), [h, g] = U(!1), x = ye(null), [b, d] = $1(), f = _e(G1), p = _e(t ? nx : B1), y = _e(ox), v = _e(rx), E = _e(ax), C = _e(cx), I = _e(lx), A = _e(ux), w = _e(dx), _ = _e(H1), R = v == null ? void 0 : v[(a == null ? void 0 : a.value) ?? ""], L = R == null ? void 0 : R.expandedView, { formConfigs: O, formViewConfigs: k } = Me(() => {
|
|
15319
15319
|
if (a && "value" in a && y && y[a.value] && Array.isArray(y[a.value])) {
|
|
15320
15320
|
const Re = y[a.value], it = [
|
|
15321
15321
|
{
|
|
@@ -15333,7 +15333,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15333
15333
|
formConfigs: he,
|
|
15334
15334
|
formViewConfigs: he
|
|
15335
15335
|
};
|
|
15336
|
-
}, [y, a, L]),
|
|
15336
|
+
}, [y, a, L]), M = Me(() => {
|
|
15337
15337
|
var Re;
|
|
15338
15338
|
const he = ((Re = O == null ? void 0 : O[0]) == null ? void 0 : Re.formFields) || [];
|
|
15339
15339
|
return nl({ formFields: he });
|
|
@@ -15345,19 +15345,19 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15345
15345
|
clearDependentFields: ee,
|
|
15346
15346
|
handleValidationError: de,
|
|
15347
15347
|
isErrorInValidations: ne
|
|
15348
|
-
} = Y1({ state: b, dispatch: d, validations:
|
|
15348
|
+
} = Y1({ state: b, dispatch: d, validations: M }), {
|
|
15349
15349
|
conversationId: j,
|
|
15350
15350
|
sendTrackingEvent: H,
|
|
15351
15351
|
currentSmIds: B,
|
|
15352
15352
|
connectorFunctions: { getFormElement: W, toggleFormElement: Q },
|
|
15353
15353
|
stackingContext: ie,
|
|
15354
15354
|
userEmail: se
|
|
15355
|
-
} = Ye(qe), { userGroupId:
|
|
15355
|
+
} = Ye(qe), { userGroupId: P } = wn() || {}, { fetchConfig: re, createConfig: Ee } = J1({
|
|
15356
15356
|
formFields: O[0].formFields,
|
|
15357
15357
|
formId: O[0].id,
|
|
15358
15358
|
formState: b,
|
|
15359
15359
|
conversationId: j
|
|
15360
|
-
}), Z = (Jn = f == null ? void 0 : f.forms.find((he) => he.type === "edit")) == null ? void 0 : Jn.id, { externalResourceId: Ze } = f ?? {}, je = [C, I, w].includes(te.LOADING), nt =
|
|
15360
|
+
}), Z = (Jn = f == null ? void 0 : f.forms.find((he) => he.type === "edit")) == null ? void 0 : Jn.id, { externalResourceId: Ze } = f ?? {}, je = [C, I, w].includes(te.LOADING), nt = Me(() => !L || !W ? null : W(), [L, W]), dt = Kt();
|
|
15361
15361
|
pe(() => (L && Q && Q(!0), () => {
|
|
15362
15362
|
L && Q && Q(!1);
|
|
15363
15363
|
}), [L, Q]), pe(() => {
|
|
@@ -15385,7 +15385,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15385
15385
|
}, bt = (he, Re) => {
|
|
15386
15386
|
V(he, Re);
|
|
15387
15387
|
}, ft = (he, Re, it) => {
|
|
15388
|
-
if (Re.action === "clear" && Re.name && (V(Re.name, ""), a != null && a.value && ee(Re.name, E == null ? void 0 : E[a.value]),
|
|
15388
|
+
if (Re.action === "clear" && Re.name && (V(Re.name, ""), a != null && a.value && ee(Re.name, E == null ? void 0 : E[a.value]), M[Re.name].isRequired && de(Re.name, !0)), he && typeof he == "object" && "label" in he && typeof he.label == "string" && "value" in he && (typeof he.value == "string" || typeof he.value == "number") && typeof Re.name < "u")
|
|
15389
15389
|
if (Re.name === "form-object")
|
|
15390
15390
|
x.current = { value: he.value, label: he.label }, b.values && he.value !== (a == null ? void 0 : a.value) && (Object.values(b.values).filter((Dt) => Dt !== "").length > 0 ? g(!0) : nn());
|
|
15391
15391
|
else {
|
|
@@ -15404,14 +15404,14 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15404
15404
|
connector_name: he,
|
|
15405
15405
|
card_title: Re,
|
|
15406
15406
|
sm_ids: B,
|
|
15407
|
-
ug_id:
|
|
15407
|
+
ug_id: P
|
|
15408
15408
|
});
|
|
15409
15409
|
const it = v[Z].interfaceDetails;
|
|
15410
15410
|
if (!it || !A)
|
|
15411
15411
|
return;
|
|
15412
15412
|
const { id: It, args: Dt = {}, previousArgs: Qn = {} } = it, gn = Fi(A, Qn), rn = Fi(b, Dt);
|
|
15413
15413
|
dt(
|
|
15414
|
-
|
|
15414
|
+
Mi({
|
|
15415
15415
|
formId: String(Z),
|
|
15416
15416
|
conversationId: j,
|
|
15417
15417
|
args: rn,
|
|
@@ -15427,7 +15427,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15427
15427
|
connector_name: he,
|
|
15428
15428
|
card_title: Re,
|
|
15429
15429
|
sm_ids: B,
|
|
15430
|
-
ug_id:
|
|
15430
|
+
ug_id: P
|
|
15431
15431
|
});
|
|
15432
15432
|
}).finally(() => {
|
|
15433
15433
|
dt(jr(null));
|
|
@@ -15440,7 +15440,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15440
15440
|
return;
|
|
15441
15441
|
const { id: Re, args: it = {} } = he, It = Fi(b, it);
|
|
15442
15442
|
dt(
|
|
15443
|
-
|
|
15443
|
+
Pi({
|
|
15444
15444
|
formId: String(a.value),
|
|
15445
15445
|
conversationId: j,
|
|
15446
15446
|
args: It,
|
|
@@ -15493,13 +15493,13 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15493
15493
|
buttons: Gt
|
|
15494
15494
|
}
|
|
15495
15495
|
),
|
|
15496
|
-
L ? /* @__PURE__ */ m.jsxs(
|
|
15496
|
+
L ? /* @__PURE__ */ m.jsxs(lE, { children: [
|
|
15497
15497
|
/* @__PURE__ */ m.jsxs(ue, { children: [
|
|
15498
15498
|
t ? "Edit" : "Add",
|
|
15499
15499
|
" to ",
|
|
15500
15500
|
R.connectorName
|
|
15501
15501
|
] }),
|
|
15502
|
-
/* @__PURE__ */ m.jsx(Ge, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: r, children: /* @__PURE__ */ m.jsx(
|
|
15502
|
+
/* @__PURE__ */ m.jsx(Ge, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ m.jsx(ut, { onClick: r, children: /* @__PURE__ */ m.jsx(uE, { src: N1 }) }) })
|
|
15503
15503
|
] }) : null,
|
|
15504
15504
|
/* @__PURE__ */ m.jsxs(eh, { spacing: 3, children: [
|
|
15505
15505
|
!t && !L ? /* @__PURE__ */ m.jsx(
|
|
@@ -15532,14 +15532,14 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15532
15532
|
fetchConfig: re,
|
|
15533
15533
|
createConfig: Ee,
|
|
15534
15534
|
values: b.values,
|
|
15535
|
-
validations:
|
|
15535
|
+
validations: M,
|
|
15536
15536
|
...L ? {
|
|
15537
15537
|
cols: $u,
|
|
15538
15538
|
stackIndex: ie.expandedForm
|
|
15539
15539
|
} : null
|
|
15540
15540
|
}
|
|
15541
15541
|
),
|
|
15542
|
-
/* @__PURE__ */ m.jsx($, { marginTop: "28px", width: "100%", justifyContent: "center", children: /* @__PURE__ */ m.jsx(
|
|
15542
|
+
/* @__PURE__ */ m.jsx($, { marginTop: "28px", width: "100%", justifyContent: "center", children: /* @__PURE__ */ m.jsx(dE, { variant: "text", onClick: wr, size: "small", children: D3 }) })
|
|
15543
15543
|
] }),
|
|
15544
15544
|
/* @__PURE__ */ m.jsxs(K1, { children: [
|
|
15545
15545
|
/* @__PURE__ */ m.jsx(
|
|
@@ -15603,7 +15603,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15603
15603
|
color: ${X.palette.purple.primary} !important;
|
|
15604
15604
|
border: 1px solid ${X.palette.purple.primary} !important;
|
|
15605
15605
|
}
|
|
15606
|
-
`,
|
|
15606
|
+
`, lE = F($)`
|
|
15607
15607
|
box-sizing: border-box;
|
|
15608
15608
|
flex-flow: row nowrap;
|
|
15609
15609
|
justify-content: space-between;
|
|
@@ -15615,15 +15615,15 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15615
15615
|
background-color: var(--form-background-color, inherit);
|
|
15616
15616
|
padding-top: 20px;
|
|
15617
15617
|
padding-bottom: 10px;
|
|
15618
|
-
`,
|
|
15618
|
+
`, uE = F("img")`
|
|
15619
15619
|
height: 16px;
|
|
15620
15620
|
width: 16px;
|
|
15621
|
-
`,
|
|
15621
|
+
`, dE = F(ot)`
|
|
15622
15622
|
color: ${X.palette.gray.gray3};
|
|
15623
15623
|
&:hover {
|
|
15624
15624
|
color: ${X.palette.purple.primary};
|
|
15625
15625
|
}
|
|
15626
|
-
`,
|
|
15626
|
+
`, fE = ({ setOpenTaskLinking: e, onLinkingSuccess: t }) => {
|
|
15627
15627
|
const n = Kt(), r = _e(Z1), o = _e(U1), i = _e(ix), s = _e(V1), [c, l] = U(!1), [a, u] = U(null), [h, g] = U(""), [x, b] = U({}), { conversationId: d, sendTrackingEvent: f, email: p } = Ye(qe);
|
|
15628
15628
|
pe(() => {
|
|
15629
15629
|
s && s.length && u(s[0]);
|
|
@@ -15631,7 +15631,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15631
15631
|
const y = {
|
|
15632
15632
|
externalResourceId: h
|
|
15633
15633
|
}, v = o === te.LOADING, E = i === te.LOADING, C = () => {
|
|
15634
|
-
!c && a && "value" in a && (f(
|
|
15634
|
+
!c && a && "value" in a && (f(Mm, { object_type: a.label }), n(Mr({ id: String(a == null ? void 0 : a.value), args: y })).unwrap().catch((O) => {
|
|
15635
15635
|
(O == null ? void 0 : O.status) === 400 ? We({ message: zu, type: Et }) : We({ message: b7, type: Et });
|
|
15636
15636
|
})), l((O) => !O);
|
|
15637
15637
|
}, I = () => {
|
|
@@ -15652,8 +15652,8 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15652
15652
|
const { value: k } = (O == null ? void 0 : O.target) || {};
|
|
15653
15653
|
g(k), l(!1);
|
|
15654
15654
|
}, R = (O, k) => {
|
|
15655
|
-
b((
|
|
15656
|
-
...
|
|
15655
|
+
b((M) => ({
|
|
15656
|
+
...M,
|
|
15657
15657
|
[O]: !!k
|
|
15658
15658
|
}));
|
|
15659
15659
|
}, L = () => Object.keys(x).filter((k) => x[k]).length > 0;
|
|
@@ -15698,7 +15698,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15698
15698
|
}
|
|
15699
15699
|
) : null,
|
|
15700
15700
|
/* @__PURE__ */ m.jsx(
|
|
15701
|
-
|
|
15701
|
+
sE,
|
|
15702
15702
|
{
|
|
15703
15703
|
fullWidth: !0,
|
|
15704
15704
|
disabled: L() || v,
|
|
@@ -15725,7 +15725,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15725
15725
|
)
|
|
15726
15726
|
] })
|
|
15727
15727
|
] });
|
|
15728
|
-
},
|
|
15728
|
+
}, hE = F(ot)`
|
|
15729
15729
|
&:hover {
|
|
15730
15730
|
background-color: #e3e9ff !important;
|
|
15731
15731
|
color: ${X.palette.purple.primary} !important;
|
|
@@ -15739,16 +15739,16 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15739
15739
|
& .content__btn {
|
|
15740
15740
|
margin-left: 8px;
|
|
15741
15741
|
}
|
|
15742
|
-
`,
|
|
15742
|
+
`, pE = F(ot)`
|
|
15743
15743
|
& path {
|
|
15744
15744
|
fill: #fff;
|
|
15745
15745
|
}
|
|
15746
15746
|
& .content__btn {
|
|
15747
15747
|
margin-left: 8px;
|
|
15748
15748
|
}
|
|
15749
|
-
`,
|
|
15749
|
+
`, gE = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("mask", { id: "mask0_4649_80352", style: {
|
|
15750
15750
|
maskType: "alpha"
|
|
15751
|
-
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 20, height: 21 }, /* @__PURE__ */ D.createElement("rect", { y: 0.320312, width: 20, height: 20, fill: "#D9D9D9" })), /* @__PURE__ */ D.createElement("g", { mask: "url(#mask0_4649_80352)" }, /* @__PURE__ */ D.createElement("path", { d: "M9.16797 14.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013 18.654C8.84852 18.654 7.76519 18.4352 6.7513 17.9977C5.73741 17.5602 4.85547 16.9665 4.10547 16.2165C3.35547 15.4665 2.76172 14.5845 2.32422 13.5706C1.88672 12.5567 1.66797 11.4734 1.66797 10.3206C1.66797 9.16786 1.88672 8.08453 2.32422 7.07064C2.76172 6.05675 3.35547 5.1748 4.10547 4.4248C4.85547 3.6748 5.73741 3.08105 6.7513 2.64355C7.76519 2.20605 8.84852 1.9873 10.0013 1.9873C11.1541 1.9873 12.2374 2.20605 13.2513 2.64355C14.2652 3.08105 15.1471 3.6748 15.8971 4.4248C16.6471 5.1748 17.2409 6.05675 17.6784 7.07064C18.1159 8.08453 18.3346 9.16786 18.3346 10.3206C18.3346 11.4734 18.1159 12.5567 17.6784 13.5706C17.2409 14.5845 16.6471 15.4665 15.8971 16.2165C15.1471 16.9665 14.2652 17.5602 13.2513 17.9977C12.2374 18.4352 11.1541 18.654 10.0013 18.654ZM10.0013 16.9873C11.8624 16.9873 13.4388 16.3415 14.7305 15.0498C16.0221 13.7581 16.668 12.1817 16.668 10.3206C16.668 8.45953 16.0221 6.88314 14.7305 5.59147C13.4388 4.2998 11.8624 3.65397 10.0013 3.65397C8.14019 3.65397 6.5638 4.2998 5.27214 5.59147C3.98047 6.88314 3.33464 8.45953 3.33464 10.3206C3.33464 12.1817 3.98047 13.7581 5.27214 15.0498C6.5638 16.3415 8.14019 16.9873 10.0013 16.9873Z", fill: "#4D596C" }))),
|
|
15751
|
+
}, maskUnits: "userSpaceOnUse", x: 0, y: 0, width: 20, height: 21 }, /* @__PURE__ */ D.createElement("rect", { y: 0.320312, width: 20, height: 20, fill: "#D9D9D9" })), /* @__PURE__ */ D.createElement("g", { mask: "url(#mask0_4649_80352)" }, /* @__PURE__ */ D.createElement("path", { d: "M9.16797 14.4873H10.8346V11.154H14.168V9.4873H10.8346V6.15397H9.16797V9.4873H5.83464V11.154H9.16797V14.4873ZM10.0013 18.654C8.84852 18.654 7.76519 18.4352 6.7513 17.9977C5.73741 17.5602 4.85547 16.9665 4.10547 16.2165C3.35547 15.4665 2.76172 14.5845 2.32422 13.5706C1.88672 12.5567 1.66797 11.4734 1.66797 10.3206C1.66797 9.16786 1.88672 8.08453 2.32422 7.07064C2.76172 6.05675 3.35547 5.1748 4.10547 4.4248C4.85547 3.6748 5.73741 3.08105 6.7513 2.64355C7.76519 2.20605 8.84852 1.9873 10.0013 1.9873C11.1541 1.9873 12.2374 2.20605 13.2513 2.64355C14.2652 3.08105 15.1471 3.6748 15.8971 4.4248C16.6471 5.1748 17.2409 6.05675 17.6784 7.07064C18.1159 8.08453 18.3346 9.16786 18.3346 10.3206C18.3346 11.4734 18.1159 12.5567 17.6784 13.5706C17.2409 14.5845 16.6471 15.4665 15.8971 16.2165C15.1471 16.9665 14.2652 17.5602 13.2513 17.9977C12.2374 18.4352 11.1541 18.654 10.0013 18.654ZM10.0013 16.9873C11.8624 16.9873 13.4388 16.3415 14.7305 15.0498C16.0221 13.7581 16.668 12.1817 16.668 10.3206C16.668 8.45953 16.0221 6.88314 14.7305 5.59147C13.4388 4.2998 11.8624 3.65397 10.0013 3.65397C8.14019 3.65397 6.5638 4.2998 5.27214 5.59147C3.98047 6.88314 3.33464 8.45953 3.33464 10.3206C3.33464 12.1817 3.98047 13.7581 5.27214 15.0498C6.5638 16.3415 8.14019 16.9873 10.0013 16.9873Z", fill: "#4D596C" }))), mE = (e) => /* @__PURE__ */ D.createElement("svg", { width: 20, height: 21, viewBox: "0 0 20 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M14.3462 8.73757C14.0406 8.43198 13.5451 8.43198 13.2395 8.73757C12.9339 9.04316 12.9339 9.53863 13.2395 9.84422L14.3462 8.73757ZM15.2392 10.7372L15.7925 10.1839L15.2392 10.7372ZM16.2377 13.1478L15.4552 13.1478L16.2377 13.1478ZM15.2392 15.5584L14.6859 15.0051L15.2392 15.5584ZM10.418 15.5584L9.86469 16.1118L10.418 15.5584ZM9.52499 13.5588C9.2194 13.2532 8.72393 13.2532 8.41834 13.5588C8.11275 13.8643 8.11275 14.3598 8.41834 14.6654L9.52499 13.5588ZM5.52477 11.7731C5.83036 12.0787 6.32583 12.0787 6.63142 11.7731C6.93701 11.4675 6.93701 10.972 6.63142 10.6665L5.52477 11.7731ZM9.45292 4.95224L10.0062 4.39892L9.45292 4.95224ZM10.346 6.95192C10.6515 7.25752 11.147 7.25752 11.4526 6.95192C11.7582 6.64633 11.7582 6.15087 11.4526 5.84527L10.346 6.95192ZM13.2395 9.84422L14.6859 11.2906L15.7925 10.1839L14.3462 8.73757L13.2395 9.84422ZM14.6859 11.2906C15.1785 11.7832 15.4552 12.4512 15.4552 13.1478L17.0202 13.1478C17.0202 12.0362 16.5786 10.97 15.7925 10.1839L14.6859 11.2906ZM15.4552 13.1478C15.4552 13.8445 15.1785 14.5125 14.6859 15.0051L15.7925 16.1118C16.5786 15.3257 17.0202 14.2595 17.0202 13.1478L15.4552 13.1478ZM14.6859 15.0051C13.6601 16.0308 11.9971 16.0308 10.9713 15.0051L9.86469 16.1118C11.5016 17.7487 14.1556 17.7487 15.7925 16.1118L14.6859 15.0051ZM10.9713 15.0051L9.52499 13.5588L8.41834 14.6654L9.86469 16.1118L10.9713 15.0051ZM6.63142 10.6665L5.18507 9.2201L4.07842 10.3268L5.52477 11.7731L6.63142 10.6665ZM5.18507 9.2201C4.69249 8.72752 4.41576 8.05944 4.41576 7.36283H2.85072C2.85072 8.47452 3.29234 9.54067 4.07842 10.3268L5.18507 9.2201ZM4.41576 7.36283C4.41576 6.66622 4.69249 5.99815 5.18507 5.50557L4.07842 4.39892C3.29234 5.185 2.85072 6.25115 2.85072 7.36283H4.41576ZM5.18507 5.50557C6.21081 4.47983 7.87386 4.47983 8.8996 5.50557L10.0062 4.39892C8.36932 2.76199 5.71534 2.76199 4.07842 4.39892L5.18507 5.50557ZM8.8996 5.50557L10.346 6.95192L11.4526 5.84527L10.0062 4.39892L8.8996 5.50557Z", fill: "#4D596C" }), /* @__PURE__ */ D.createElement("rect", { x: 6.36328, y: 7.91895, width: 1.66667, height: 8.33333, rx: 0.833333, transform: "rotate(-45 6.36328 7.91895)", fill: "#4D596C" })), bE = ({
|
|
15752
15752
|
onCreateClick: e,
|
|
15753
15753
|
onLinkClick: t,
|
|
15754
15754
|
haveCreateObjects: n,
|
|
@@ -15756,16 +15756,16 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15756
15756
|
}) => /* @__PURE__ */ m.jsxs($, { gap: 2, marginTop: "12px", children: [
|
|
15757
15757
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray1, children: I7 }),
|
|
15758
15758
|
/* @__PURE__ */ m.jsxs($, { gap: "12px", children: [
|
|
15759
|
-
n ? /* @__PURE__ */ m.jsxs(
|
|
15760
|
-
/* @__PURE__ */ m.jsx(
|
|
15759
|
+
n ? /* @__PURE__ */ m.jsxs(pE, { fullWidth: !0, onClick: e, size: "medium", children: [
|
|
15760
|
+
/* @__PURE__ */ m.jsx(gE, {}),
|
|
15761
15761
|
/* @__PURE__ */ m.jsx("span", { className: "content__btn", children: k0 })
|
|
15762
15762
|
] }) : null,
|
|
15763
|
-
r ? /* @__PURE__ */ m.jsxs(
|
|
15764
|
-
/* @__PURE__ */ m.jsx(
|
|
15765
|
-
/* @__PURE__ */ m.jsx("span", { className: "content__btn", children:
|
|
15763
|
+
r ? /* @__PURE__ */ m.jsxs(hE, { fullWidth: !0, color: "tertiary", variant: "outlined", onClick: t, size: "medium", children: [
|
|
15764
|
+
/* @__PURE__ */ m.jsx(mE, {}),
|
|
15765
|
+
/* @__PURE__ */ m.jsx("span", { className: "content__btn", children: P0 })
|
|
15766
15766
|
] }) : null
|
|
15767
15767
|
] })
|
|
15768
|
-
] }),
|
|
15768
|
+
] }), vE = (e) => e.write.searchObjectList, rh = (e) => e.write.objectDict, yE = (e) => e.write.formFields, CE = (e) => e.write.dependentFieldsMap, xE = "Search in Connectors", EE = "Search in Apps", IE = "Start typing to search..", wE = "Smart search suggestions", AE = ":count result:countSuffix found for :searchObject in :connectorName", _E = "Back to search results", TE = "No search results found", SE = (e) => /* @__PURE__ */ D.createElement("svg", { width: 12, height: 12, viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { id: "icons/Actions/Search" }, /* @__PURE__ */ D.createElement("path", { id: "Shape", fillRule: "evenodd", clipRule: "evenodd", d: "M8.57633 7.54717H8.03431L7.8422 7.36192C8.51458 6.57976 8.91938 5.56432 8.91938 4.45969C8.91938 1.99657 6.92281 0 4.45969 0C1.99657 0 0 1.99657 0 4.45969C0 6.92281 1.99657 8.91938 4.45969 8.91938C5.56432 8.91938 6.57976 8.51458 7.36192 7.8422L7.54717 8.03431V8.57633L10.9777 12L12 10.9777L8.57633 7.54717ZM4.45969 7.54717C2.75129 7.54717 1.37221 6.1681 1.37221 4.45969C1.37221 2.75129 2.75129 1.37221 4.45969 1.37221C6.1681 1.37221 7.54717 2.75129 7.54717 4.45969C7.54717 6.1681 6.1681 7.54717 4.45969 7.54717Z", fill: "#97A3B7" }))), LE = F($)`
|
|
15769
15769
|
flex-flow: row nowrap;
|
|
15770
15770
|
align-items: center;
|
|
15771
15771
|
column-gap: 12px;
|
|
@@ -15775,7 +15775,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15775
15775
|
&:hover {
|
|
15776
15776
|
background-color: ${({ isSelected: e }) => e ? "rgb(80, 109, 255, 0.12)" : "rgba(0, 0, 0, 0.04)"};
|
|
15777
15777
|
}
|
|
15778
|
-
`,
|
|
15778
|
+
`, OE = F("img")`
|
|
15779
15779
|
flex-shrink: 0;
|
|
15780
15780
|
display: block;
|
|
15781
15781
|
width: 24px;
|
|
@@ -15795,22 +15795,22 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15795
15795
|
connector_name: u
|
|
15796
15796
|
}), r(e, t), o(s7(t));
|
|
15797
15797
|
};
|
|
15798
|
-
return /* @__PURE__ */ m.jsxs(
|
|
15799
|
-
/* @__PURE__ */ m.jsx(
|
|
15798
|
+
return /* @__PURE__ */ m.jsxs(LE, { isSelected: n, onClick: h, children: [
|
|
15799
|
+
/* @__PURE__ */ m.jsx(OE, { src: a, alt: "option" }),
|
|
15800
15800
|
/* @__PURE__ */ m.jsxs($, { children: [
|
|
15801
15801
|
/* @__PURE__ */ m.jsx(ue, { color: X.palette.gray.gray1, children: c }),
|
|
15802
15802
|
/* @__PURE__ */ m.jsx(ue, { color: X.palette.gray.gray3, fontSize: "12px", children: l })
|
|
15803
15803
|
] })
|
|
15804
15804
|
] });
|
|
15805
|
-
},
|
|
15805
|
+
}, RE = F($)`
|
|
15806
15806
|
padding: 10px 0 10px 10px;
|
|
15807
|
-
`, { Control:
|
|
15808
|
-
/* @__PURE__ */ m.jsx(
|
|
15807
|
+
`, { Control: DE } = Sn, FE = ({ children: e, ...t }) => /* @__PURE__ */ m.jsxs(DE, { ...t, children: [
|
|
15808
|
+
/* @__PURE__ */ m.jsx(RE, { children: /* @__PURE__ */ m.jsx(SE, {}) }),
|
|
15809
15809
|
e
|
|
15810
|
-
] }),
|
|
15810
|
+
] }), NE = (e) => {
|
|
15811
15811
|
const { data: t, isSelected: n, selectOption: r } = e;
|
|
15812
15812
|
return /* @__PURE__ */ m.jsx(oh, { data: t, isSelected: n, onSelect: r });
|
|
15813
|
-
},
|
|
15813
|
+
}, kE = {
|
|
15814
15814
|
control: (e, { isFocused: t }) => ({
|
|
15815
15815
|
...e,
|
|
15816
15816
|
cursor: "pointer",
|
|
@@ -15837,7 +15837,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15837
15837
|
...e,
|
|
15838
15838
|
zIndex: 3
|
|
15839
15839
|
})
|
|
15840
|
-
},
|
|
15840
|
+
}, PE = ({
|
|
15841
15841
|
options: e,
|
|
15842
15842
|
value: t,
|
|
15843
15843
|
inputValue: n,
|
|
@@ -15867,10 +15867,10 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15867
15867
|
value: t,
|
|
15868
15868
|
inputValue: n,
|
|
15869
15869
|
options: n ? e : [],
|
|
15870
|
-
placeholder: g ?
|
|
15870
|
+
placeholder: g ? EE : xE,
|
|
15871
15871
|
isSearchable: !0,
|
|
15872
15872
|
filterOption: null,
|
|
15873
|
-
styles:
|
|
15873
|
+
styles: kE,
|
|
15874
15874
|
onInputChange: x,
|
|
15875
15875
|
onChange: b,
|
|
15876
15876
|
isClearable: !0,
|
|
@@ -15880,22 +15880,22 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15880
15880
|
components: {
|
|
15881
15881
|
DropdownIndicator: () => null,
|
|
15882
15882
|
IndicatorSeparator: () => null,
|
|
15883
|
-
Option:
|
|
15884
|
-
Control:
|
|
15883
|
+
Option: NE,
|
|
15884
|
+
Control: FE,
|
|
15885
15885
|
...c && { NoOptionsMessage: c }
|
|
15886
15886
|
},
|
|
15887
15887
|
root: r,
|
|
15888
15888
|
...typeof l == "boolean" && { menuIsOpen: l }
|
|
15889
15889
|
}
|
|
15890
15890
|
);
|
|
15891
|
-
},
|
|
15891
|
+
}, ME = F($)`
|
|
15892
15892
|
margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
|
|
15893
|
-
`,
|
|
15893
|
+
`, jE = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
|
|
15894
15894
|
var E;
|
|
15895
|
-
const [r, o] = $1(), i = ye(null), s = _e(rh), c = _e(
|
|
15895
|
+
const [r, o] = $1(), i = ye(null), s = _e(rh), c = _e(yE), l = _e(CE), a = Me(() => e && c && c[e] && Array.isArray(c[e]) ? {
|
|
15896
15896
|
id: e,
|
|
15897
15897
|
formFields: c[e]
|
|
15898
|
-
} : { id: "emptyFormId", formFields: [] }, [c, e]), u =
|
|
15898
|
+
} : { id: "emptyFormId", formFields: [] }, [c, e]), u = Me(() => {
|
|
15899
15899
|
const C = (a == null ? void 0 : a.formFields) || [];
|
|
15900
15900
|
return nl({ formFields: C });
|
|
15901
15901
|
}, [a]), {
|
|
@@ -15919,7 +15919,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15919
15919
|
);
|
|
15920
15920
|
pe(() => {
|
|
15921
15921
|
const C = r.values, I = a.id, A = a.formFields;
|
|
15922
|
-
if (Object.values(C).filter((
|
|
15922
|
+
if (Object.values(C).filter((M) => !!M).length < A.length || !s || f()) {
|
|
15923
15923
|
i.current && clearTimeout(i.current);
|
|
15924
15924
|
return;
|
|
15925
15925
|
}
|
|
@@ -15945,7 +15945,7 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15945
15945
|
h(I.name, _), b(I.name, l[e]);
|
|
15946
15946
|
}
|
|
15947
15947
|
};
|
|
15948
|
-
return /* @__PURE__ */ m.jsx(
|
|
15948
|
+
return /* @__PURE__ */ m.jsx(ME, { isEmpty: ((E = a.formFields) == null ? void 0 : E.length) === 0, children: /* @__PURE__ */ m.jsx(
|
|
15949
15949
|
S1,
|
|
15950
15950
|
{
|
|
15951
15951
|
showGlobalLoader: !1,
|
|
@@ -15960,8 +15960,8 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15960
15960
|
validations: u
|
|
15961
15961
|
}
|
|
15962
15962
|
) });
|
|
15963
|
-
}, ma = "@connector-agent-global-search-priority", ba = k5(),
|
|
15964
|
-
sortedObjectList:
|
|
15963
|
+
}, ma = "@connector-agent-global-search-priority", ba = k5(), BE = ({ objectList: e }) => ({
|
|
15964
|
+
sortedObjectList: Me(() => {
|
|
15965
15965
|
const r = ba.getItem(ma);
|
|
15966
15966
|
return r ? [...e].sort((o, i) => (r[o.value] ?? 0) > (r[i.value] ?? 0) ? -1 : 1) : e;
|
|
15967
15967
|
}, [e]),
|
|
@@ -15969,20 +15969,20 @@ const yx = "Bring your favourite tools into Hiver", Cx = "Plugin image", xx = "I
|
|
|
15969
15969
|
const o = ba.getItem(ma) ?? {};
|
|
15970
15970
|
o[r] || (o[r] = 0), o[r]++, ba.setItem(ma, o);
|
|
15971
15971
|
}
|
|
15972
|
-
}),
|
|
15972
|
+
}), VE = F($)`
|
|
15973
15973
|
padding: 8px 0;
|
|
15974
|
-
`,
|
|
15974
|
+
`, GE = F(ue)`
|
|
15975
15975
|
padding: 6px 16px;
|
|
15976
15976
|
color: ${X.palette.gray.gray4};
|
|
15977
15977
|
font-size: 13px;
|
|
15978
|
-
`,
|
|
15978
|
+
`, HE = F(ue)`
|
|
15979
15979
|
padding: 6px 16px;
|
|
15980
15980
|
color: ${X.palette.gray.gray3};
|
|
15981
15981
|
font-size: 11px;
|
|
15982
15982
|
text-transform: uppercase;
|
|
15983
|
-
`,
|
|
15984
|
-
/* @__PURE__ */ m.jsx(
|
|
15985
|
-
/* @__PURE__ */ m.jsx(
|
|
15983
|
+
`, WE = ({ onSelect: e, selectedOption: t, options: n }) => n.length ? /* @__PURE__ */ m.jsxs(VE, { children: [
|
|
15984
|
+
/* @__PURE__ */ m.jsx(GE, { children: IE }),
|
|
15985
|
+
/* @__PURE__ */ m.jsx(HE, { children: wE }),
|
|
15986
15986
|
n.map((r) => /* @__PURE__ */ m.jsx(
|
|
15987
15987
|
oh,
|
|
15988
15988
|
{
|
|
@@ -16013,7 +16013,7 @@ var go = class {
|
|
|
16013
16013
|
}, xr = typeof window > "u" || "Deno" in globalThis;
|
|
16014
16014
|
function Ut() {
|
|
16015
16015
|
}
|
|
16016
|
-
function
|
|
16016
|
+
function ZE(e, t) {
|
|
16017
16017
|
return typeof e == "function" ? e(t) : e;
|
|
16018
16018
|
}
|
|
16019
16019
|
function cc(e) {
|
|
@@ -16114,7 +16114,7 @@ function uc(e) {
|
|
|
16114
16114
|
function ld(e) {
|
|
16115
16115
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
16116
16116
|
}
|
|
16117
|
-
function
|
|
16117
|
+
function UE(e) {
|
|
16118
16118
|
return new Promise((t) => {
|
|
16119
16119
|
setTimeout(t, e);
|
|
16120
16120
|
});
|
|
@@ -16135,11 +16135,11 @@ function dc(e, t, n) {
|
|
|
16135
16135
|
}
|
|
16136
16136
|
return t;
|
|
16137
16137
|
}
|
|
16138
|
-
function
|
|
16138
|
+
function XE(e, t, n = 0) {
|
|
16139
16139
|
const r = [...e, t];
|
|
16140
16140
|
return n && r.length > n ? r.slice(1) : r;
|
|
16141
16141
|
}
|
|
16142
|
-
function
|
|
16142
|
+
function zE(e, t, n = 0) {
|
|
16143
16143
|
const r = [t, ...e];
|
|
16144
16144
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
16145
16145
|
}
|
|
@@ -16149,7 +16149,7 @@ function sh(e, t) {
|
|
|
16149
16149
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
|
16150
16150
|
), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === ls ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
16151
16151
|
}
|
|
16152
|
-
var ir, kn, Vr, yd, $
|
|
16152
|
+
var ir, kn, Vr, yd, $E = (yd = class extends go {
|
|
16153
16153
|
constructor() {
|
|
16154
16154
|
super();
|
|
16155
16155
|
ae(this, ir);
|
|
@@ -16190,11 +16190,11 @@ var ir, kn, Vr, yd, $8 = (yd = class extends go {
|
|
|
16190
16190
|
var t;
|
|
16191
16191
|
return typeof S(this, ir) == "boolean" ? S(this, ir) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
16192
16192
|
}
|
|
16193
|
-
}, ir = new WeakMap(), kn = new WeakMap(), Vr = new WeakMap(), yd), ol = new $
|
|
16193
|
+
}, ir = new WeakMap(), kn = new WeakMap(), Vr = new WeakMap(), yd), ol = new $E(), Gr, Pn, Hr, Cd, YE = (Cd = class extends go {
|
|
16194
16194
|
constructor() {
|
|
16195
16195
|
super();
|
|
16196
16196
|
ae(this, Gr, !0);
|
|
16197
|
-
ae(this,
|
|
16197
|
+
ae(this, Pn);
|
|
16198
16198
|
ae(this, Hr);
|
|
16199
16199
|
K(this, Hr, (t) => {
|
|
16200
16200
|
if (!xr && window.addEventListener) {
|
|
@@ -16206,15 +16206,15 @@ var ir, kn, Vr, yd, $8 = (yd = class extends go {
|
|
|
16206
16206
|
});
|
|
16207
16207
|
}
|
|
16208
16208
|
onSubscribe() {
|
|
16209
|
-
S(this,
|
|
16209
|
+
S(this, Pn) || this.setEventListener(S(this, Hr));
|
|
16210
16210
|
}
|
|
16211
16211
|
onUnsubscribe() {
|
|
16212
16212
|
var t;
|
|
16213
|
-
this.hasListeners() || ((t = S(this,
|
|
16213
|
+
this.hasListeners() || ((t = S(this, Pn)) == null || t.call(this), K(this, Pn, void 0));
|
|
16214
16214
|
}
|
|
16215
16215
|
setEventListener(t) {
|
|
16216
16216
|
var n;
|
|
16217
|
-
K(this, Hr, t), (n = S(this,
|
|
16217
|
+
K(this, Hr, t), (n = S(this, Pn)) == null || n.call(this), K(this, Pn, t(this.setOnline.bind(this)));
|
|
16218
16218
|
}
|
|
16219
16219
|
setOnline(t) {
|
|
16220
16220
|
S(this, Gr) !== t && (K(this, Gr, t), this.listeners.forEach((r) => {
|
|
@@ -16224,7 +16224,7 @@ var ir, kn, Vr, yd, $8 = (yd = class extends go {
|
|
|
16224
16224
|
isOnline() {
|
|
16225
16225
|
return S(this, Gr);
|
|
16226
16226
|
}
|
|
16227
|
-
}, Gr = new WeakMap(),
|
|
16227
|
+
}, Gr = new WeakMap(), Pn = new WeakMap(), Hr = new WeakMap(), Cd), us = new YE();
|
|
16228
16228
|
function fc() {
|
|
16229
16229
|
let e, t;
|
|
16230
16230
|
const n = new Promise((o, i) => {
|
|
@@ -16247,7 +16247,7 @@ function fc() {
|
|
|
16247
16247
|
}), t(o);
|
|
16248
16248
|
}, n;
|
|
16249
16249
|
}
|
|
16250
|
-
function
|
|
16250
|
+
function JE(e) {
|
|
16251
16251
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
16252
16252
|
}
|
|
16253
16253
|
function ah(e) {
|
|
@@ -16298,12 +16298,12 @@ function lh(e) {
|
|
|
16298
16298
|
var I;
|
|
16299
16299
|
if (r)
|
|
16300
16300
|
return;
|
|
16301
|
-
const y = e.retry ?? (xr ? 0 : 3), v = e.retryDelay ??
|
|
16301
|
+
const y = e.retry ?? (xr ? 0 : 3), v = e.retryDelay ?? JE, E = typeof v == "function" ? v(n, p) : v, C = y === !0 || typeof y == "number" && n < y || typeof y == "function" && y(n, p);
|
|
16302
16302
|
if (t || !C) {
|
|
16303
16303
|
g(p);
|
|
16304
16304
|
return;
|
|
16305
16305
|
}
|
|
16306
|
-
n++, (I = e.onFail) == null || I.call(e, n, p),
|
|
16306
|
+
n++, (I = e.onFail) == null || I.call(e, n, p), UE(E).then(() => a() ? void 0 : x()).then(() => {
|
|
16307
16307
|
t ? g(p) : b();
|
|
16308
16308
|
});
|
|
16309
16309
|
});
|
|
@@ -16318,7 +16318,7 @@ function lh(e) {
|
|
|
16318
16318
|
start: () => (u() ? b() : x().then(b), i)
|
|
16319
16319
|
};
|
|
16320
16320
|
}
|
|
16321
|
-
function
|
|
16321
|
+
function QE() {
|
|
16322
16322
|
let e = [], t = 0, n = (c) => {
|
|
16323
16323
|
c();
|
|
16324
16324
|
}, r = (c) => {
|
|
@@ -16377,7 +16377,7 @@ function Q8() {
|
|
|
16377
16377
|
}
|
|
16378
16378
|
};
|
|
16379
16379
|
}
|
|
16380
|
-
var rt =
|
|
16380
|
+
var rt = QE(), sr, xd, uh = (xd = class {
|
|
16381
16381
|
constructor() {
|
|
16382
16382
|
ae(this, sr);
|
|
16383
16383
|
}
|
|
@@ -16398,7 +16398,7 @@ var rt = Q8(), sr, xd, uh = (xd = class {
|
|
|
16398
16398
|
clearGcTimeout() {
|
|
16399
16399
|
S(this, sr) && (clearTimeout(S(this, sr)), K(this, sr, void 0));
|
|
16400
16400
|
}
|
|
16401
|
-
}, sr = new WeakMap(), xd), Wr, Zr, Zt, ar, pt, Jo, cr, $t, yn, Ed,
|
|
16401
|
+
}, sr = new WeakMap(), xd), Wr, Zr, Zt, ar, pt, Jo, cr, $t, yn, Ed, qE = (Ed = class extends uh {
|
|
16402
16402
|
constructor(t) {
|
|
16403
16403
|
super();
|
|
16404
16404
|
ae(this, $t);
|
|
@@ -16409,7 +16409,7 @@ var rt = Q8(), sr, xd, uh = (xd = class {
|
|
|
16409
16409
|
ae(this, pt);
|
|
16410
16410
|
ae(this, Jo);
|
|
16411
16411
|
ae(this, cr);
|
|
16412
|
-
K(this, cr, !1), K(this, Jo, t.defaultOptions), this.setOptions(t.options), this.observers = [], K(this, ar, t.client), K(this, Zt, S(this, ar).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, K(this, Wr,
|
|
16412
|
+
K(this, cr, !1), K(this, Jo, t.defaultOptions), this.setOptions(t.options), this.observers = [], K(this, ar, t.client), K(this, Zt, S(this, ar).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, K(this, Wr, KE(this.options)), this.state = t.state ?? S(this, Wr), this.scheduleGc();
|
|
16413
16413
|
}
|
|
16414
16414
|
get meta() {
|
|
16415
16415
|
return this.options.meta;
|
|
@@ -16666,7 +16666,7 @@ function dh(e, t) {
|
|
|
16666
16666
|
}
|
|
16667
16667
|
};
|
|
16668
16668
|
}
|
|
16669
|
-
function
|
|
16669
|
+
function KE(e) {
|
|
16670
16670
|
const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
16671
16671
|
return {
|
|
16672
16672
|
data: t,
|
|
@@ -16683,7 +16683,7 @@ function K8(e) {
|
|
|
16683
16683
|
fetchStatus: "idle"
|
|
16684
16684
|
};
|
|
16685
16685
|
}
|
|
16686
|
-
var on, Id,
|
|
16686
|
+
var on, Id, e8 = (Id = class extends go {
|
|
16687
16687
|
constructor(t = {}) {
|
|
16688
16688
|
super();
|
|
16689
16689
|
ae(this, on);
|
|
@@ -16692,7 +16692,7 @@ var on, Id, eE = (Id = class extends go {
|
|
|
16692
16692
|
build(t, n, r) {
|
|
16693
16693
|
const o = n.queryKey, i = n.queryHash ?? rl(o, n);
|
|
16694
16694
|
let s = this.get(i);
|
|
16695
|
-
return s || (s = new
|
|
16695
|
+
return s || (s = new qE({
|
|
16696
16696
|
client: t,
|
|
16697
16697
|
queryKey: o,
|
|
16698
16698
|
queryHash: i,
|
|
@@ -16755,7 +16755,7 @@ var on, Id, eE = (Id = class extends go {
|
|
|
16755
16755
|
});
|
|
16756
16756
|
});
|
|
16757
16757
|
}
|
|
16758
|
-
}, on = new WeakMap(), Id), sn, yt, lr, an, Fn, wd,
|
|
16758
|
+
}, on = new WeakMap(), Id), sn, yt, lr, an, Fn, wd, t8 = (wd = class extends uh {
|
|
16759
16759
|
constructor(t) {
|
|
16760
16760
|
super();
|
|
16761
16761
|
ae(this, an);
|
|
@@ -16952,7 +16952,7 @@ function fh() {
|
|
|
16952
16952
|
submittedAt: 0
|
|
16953
16953
|
};
|
|
16954
16954
|
}
|
|
16955
|
-
var Cn, Yt, Qo, Ad,
|
|
16955
|
+
var Cn, Yt, Qo, Ad, n8 = (Ad = class extends go {
|
|
16956
16956
|
constructor(t = {}) {
|
|
16957
16957
|
super();
|
|
16958
16958
|
ae(this, Cn);
|
|
@@ -16961,7 +16961,7 @@ var Cn, Yt, Qo, Ad, nE = (Ad = class extends go {
|
|
|
16961
16961
|
this.config = t, K(this, Cn, /* @__PURE__ */ new Set()), K(this, Yt, /* @__PURE__ */ new Map()), K(this, Qo, 0);
|
|
16962
16962
|
}
|
|
16963
16963
|
build(t, n, r) {
|
|
16964
|
-
const o = new
|
|
16964
|
+
const o = new t8({
|
|
16965
16965
|
mutationCache: this,
|
|
16966
16966
|
mutationId: ++ui(this, Qo)._,
|
|
16967
16967
|
options: t.defaultMutationOptions(n),
|
|
@@ -17080,14 +17080,14 @@ function ud(e) {
|
|
|
17080
17080
|
f(I);
|
|
17081
17081
|
const A = await p(
|
|
17082
17082
|
I
|
|
17083
|
-
), { maxPages: w } = t.options, _ = C ?
|
|
17083
|
+
), { maxPages: w } = t.options, _ = C ? zE : XE;
|
|
17084
17084
|
return {
|
|
17085
17085
|
pages: _(v.pages, A, w),
|
|
17086
17086
|
pageParams: _(v.pageParams, E, w)
|
|
17087
17087
|
};
|
|
17088
17088
|
};
|
|
17089
17089
|
if (o && i.length) {
|
|
17090
|
-
const v = o === "backward", E = v ?
|
|
17090
|
+
const v = o === "backward", E = v ? r8 : dd, C = {
|
|
17091
17091
|
pages: i,
|
|
17092
17092
|
pageParams: s
|
|
17093
17093
|
}, I = E(r, C);
|
|
@@ -17129,21 +17129,21 @@ function dd(e, { pages: t, pageParams: n }) {
|
|
|
17129
17129
|
n
|
|
17130
17130
|
) : void 0;
|
|
17131
17131
|
}
|
|
17132
|
-
function
|
|
17132
|
+
function r8(e, { pages: t, pageParams: n }) {
|
|
17133
17133
|
var r;
|
|
17134
17134
|
return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
|
|
17135
17135
|
}
|
|
17136
|
-
var Xe,
|
|
17136
|
+
var Xe, Mn, jn, Ur, Xr, Bn, zr, $r, _d, o8 = (_d = class {
|
|
17137
17137
|
constructor(e = {}) {
|
|
17138
17138
|
ae(this, Xe);
|
|
17139
|
-
ae(this,
|
|
17139
|
+
ae(this, Mn);
|
|
17140
17140
|
ae(this, jn);
|
|
17141
17141
|
ae(this, Ur);
|
|
17142
17142
|
ae(this, Xr);
|
|
17143
17143
|
ae(this, Bn);
|
|
17144
17144
|
ae(this, zr);
|
|
17145
17145
|
ae(this, $r);
|
|
17146
|
-
K(this, Xe, e.queryCache || new
|
|
17146
|
+
K(this, Xe, e.queryCache || new e8()), K(this, Mn, e.mutationCache || new n8()), K(this, jn, e.defaultOptions || {}), K(this, Ur, /* @__PURE__ */ new Map()), K(this, Xr, /* @__PURE__ */ new Map()), K(this, Bn, 0);
|
|
17147
17147
|
}
|
|
17148
17148
|
mount() {
|
|
17149
17149
|
ui(this, Bn)._++, S(this, Bn) === 1 && (K(this, zr, ol.subscribe(async (e) => {
|
|
@@ -17160,7 +17160,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17160
17160
|
return S(this, Xe).findAll({ ...e, fetchStatus: "fetching" }).length;
|
|
17161
17161
|
}
|
|
17162
17162
|
isMutating(e) {
|
|
17163
|
-
return S(this,
|
|
17163
|
+
return S(this, Mn).findAll({ ...e, status: "pending" }).length;
|
|
17164
17164
|
}
|
|
17165
17165
|
getQueryData(e) {
|
|
17166
17166
|
var n;
|
|
@@ -17180,7 +17180,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17180
17180
|
setQueryData(e, t, n) {
|
|
17181
17181
|
const r = this.defaultQueryOptions({ queryKey: e }), o = S(this, Xe).get(
|
|
17182
17182
|
r.queryHash
|
|
17183
|
-
), i = o == null ? void 0 : o.state.data, s =
|
|
17183
|
+
), i = o == null ? void 0 : o.state.data, s = ZE(t, i);
|
|
17184
17184
|
if (s !== void 0)
|
|
17185
17185
|
return S(this, Xe).build(this, r).setData(s, { ...n, manual: !0 });
|
|
17186
17186
|
}
|
|
@@ -17269,13 +17269,13 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17269
17269
|
return e.behavior = ud(e.pages), this.ensureQueryData(e);
|
|
17270
17270
|
}
|
|
17271
17271
|
resumePausedMutations() {
|
|
17272
|
-
return us.isOnline() ? S(this,
|
|
17272
|
+
return us.isOnline() ? S(this, Mn).resumePausedMutations() : Promise.resolve();
|
|
17273
17273
|
}
|
|
17274
17274
|
getQueryCache() {
|
|
17275
17275
|
return S(this, Xe);
|
|
17276
17276
|
}
|
|
17277
17277
|
getMutationCache() {
|
|
17278
|
-
return S(this,
|
|
17278
|
+
return S(this, Mn);
|
|
17279
17279
|
}
|
|
17280
17280
|
getDefaultOptions() {
|
|
17281
17281
|
return S(this, jn);
|
|
@@ -17330,12 +17330,12 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17330
17330
|
};
|
|
17331
17331
|
}
|
|
17332
17332
|
clear() {
|
|
17333
|
-
S(this, Xe).clear(), S(this,
|
|
17333
|
+
S(this, Xe).clear(), S(this, Mn).clear();
|
|
17334
17334
|
}
|
|
17335
|
-
}, Xe = new WeakMap(),
|
|
17335
|
+
}, Xe = new WeakMap(), Mn = new WeakMap(), jn = new WeakMap(), Ur = new WeakMap(), Xr = new WeakMap(), Bn = new WeakMap(), zr = new WeakMap(), $r = new WeakMap(), _d), At, Ie, qo, Ct, ur, Yr, Vn, cn, Ko, Jr, Qr, dr, fr, Gn, qr, Pe, Ro, hc, pc, gc, mc, bc, vc, yc, hh, Td, i8 = (Td = class extends go {
|
|
17336
17336
|
constructor(t, n) {
|
|
17337
17337
|
super();
|
|
17338
|
-
ae(this,
|
|
17338
|
+
ae(this, Pe);
|
|
17339
17339
|
ae(this, At);
|
|
17340
17340
|
ae(this, Ie);
|
|
17341
17341
|
ae(this, qo);
|
|
@@ -17361,7 +17361,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17361
17361
|
this.refetch = this.refetch.bind(this);
|
|
17362
17362
|
}
|
|
17363
17363
|
onSubscribe() {
|
|
17364
|
-
this.listeners.size === 1 && (S(this, Ie).addObserver(this), fd(S(this, Ie), this.options) ? ve(this,
|
|
17364
|
+
this.listeners.size === 1 && (S(this, Ie).addObserver(this), fd(S(this, Ie), this.options) ? ve(this, Pe, Ro).call(this) : this.updateResult(), ve(this, Pe, mc).call(this));
|
|
17365
17365
|
}
|
|
17366
17366
|
onUnsubscribe() {
|
|
17367
17367
|
this.hasListeners() || this.destroy();
|
|
@@ -17381,7 +17381,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17381
17381
|
);
|
|
17382
17382
|
}
|
|
17383
17383
|
destroy() {
|
|
17384
|
-
this.listeners = /* @__PURE__ */ new Set(), ve(this,
|
|
17384
|
+
this.listeners = /* @__PURE__ */ new Set(), ve(this, Pe, bc).call(this), ve(this, Pe, vc).call(this), S(this, Ie).removeObserver(this);
|
|
17385
17385
|
}
|
|
17386
17386
|
setOptions(t, n) {
|
|
17387
17387
|
const r = this.options, o = S(this, Ie);
|
|
@@ -17389,7 +17389,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17389
17389
|
throw new Error(
|
|
17390
17390
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
17391
17391
|
);
|
|
17392
|
-
ve(this,
|
|
17392
|
+
ve(this, Pe, yc).call(this), S(this, Ie).setOptions(this.options), r._defaulted && !cs(this.options, r) && S(this, At).getQueryCache().notify({
|
|
17393
17393
|
type: "observerOptionsUpdated",
|
|
17394
17394
|
query: S(this, Ie),
|
|
17395
17395
|
observer: this
|
|
@@ -17400,13 +17400,13 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17400
17400
|
o,
|
|
17401
17401
|
this.options,
|
|
17402
17402
|
r
|
|
17403
|
-
) && ve(this,
|
|
17404
|
-
const s = ve(this,
|
|
17405
|
-
i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || s !== S(this, Gn)) && ve(this,
|
|
17403
|
+
) && ve(this, Pe, Ro).call(this), this.updateResult(n), i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || Br(this.options.staleTime, S(this, Ie)) !== Br(r.staleTime, S(this, Ie))) && ve(this, Pe, hc).call(this);
|
|
17404
|
+
const s = ve(this, Pe, pc).call(this);
|
|
17405
|
+
i && (S(this, Ie) !== o || Jt(this.options.enabled, S(this, Ie)) !== Jt(r.enabled, S(this, Ie)) || s !== S(this, Gn)) && ve(this, Pe, gc).call(this, s);
|
|
17406
17406
|
}
|
|
17407
17407
|
getOptimisticResult(t) {
|
|
17408
17408
|
const n = S(this, At).getQueryCache().build(S(this, At), t), r = this.createResult(n, t);
|
|
17409
|
-
return
|
|
17409
|
+
return a8(this, r) && (K(this, Ct, r), K(this, Yr, this.options), K(this, ur, S(this, Ie).state)), r;
|
|
17410
17410
|
}
|
|
17411
17411
|
getCurrentResult() {
|
|
17412
17412
|
return S(this, Ct);
|
|
@@ -17437,7 +17437,7 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17437
17437
|
return r.fetch().then(() => this.createResult(r, n));
|
|
17438
17438
|
}
|
|
17439
17439
|
fetch(t) {
|
|
17440
|
-
return ve(this,
|
|
17440
|
+
return ve(this, Pe, Ro).call(this, {
|
|
17441
17441
|
...t,
|
|
17442
17442
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
17443
17443
|
}).then(() => (this.updateResult(), S(this, Ct)));
|
|
@@ -17552,20 +17552,20 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17552
17552
|
return S(this, Ct)[u] !== n[u] && l.has(u);
|
|
17553
17553
|
});
|
|
17554
17554
|
};
|
|
17555
|
-
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this,
|
|
17555
|
+
(t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this, Pe, hh).call(this, { ...o, ...t });
|
|
17556
17556
|
}
|
|
17557
17557
|
onQueryUpdate() {
|
|
17558
|
-
this.updateResult(), this.hasListeners() && ve(this,
|
|
17558
|
+
this.updateResult(), this.hasListeners() && ve(this, Pe, mc).call(this);
|
|
17559
17559
|
}
|
|
17560
|
-
}, At = new WeakMap(), Ie = new WeakMap(), qo = new WeakMap(), Ct = new WeakMap(), ur = new WeakMap(), Yr = new WeakMap(), Vn = new WeakMap(), cn = new WeakMap(), Ko = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), dr = new WeakMap(), fr = new WeakMap(), Gn = new WeakMap(), qr = new WeakMap(),
|
|
17561
|
-
ve(this,
|
|
17560
|
+
}, At = new WeakMap(), Ie = new WeakMap(), qo = new WeakMap(), Ct = new WeakMap(), ur = new WeakMap(), Yr = new WeakMap(), Vn = new WeakMap(), cn = new WeakMap(), Ko = new WeakMap(), Jr = new WeakMap(), Qr = new WeakMap(), dr = new WeakMap(), fr = new WeakMap(), Gn = new WeakMap(), qr = new WeakMap(), Pe = new WeakSet(), Ro = function(t) {
|
|
17561
|
+
ve(this, Pe, yc).call(this);
|
|
17562
17562
|
let n = S(this, Ie).fetch(
|
|
17563
17563
|
this.options,
|
|
17564
17564
|
t
|
|
17565
17565
|
);
|
|
17566
17566
|
return t != null && t.throwOnError || (n = n.catch(Ut)), n;
|
|
17567
17567
|
}, hc = function() {
|
|
17568
|
-
ve(this,
|
|
17568
|
+
ve(this, Pe, bc).call(this);
|
|
17569
17569
|
const t = Br(
|
|
17570
17570
|
this.options.staleTime,
|
|
17571
17571
|
S(this, Ie)
|
|
@@ -17579,11 +17579,11 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17579
17579
|
}, pc = function() {
|
|
17580
17580
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(S(this, Ie)) : this.options.refetchInterval) ?? !1;
|
|
17581
17581
|
}, gc = function(t) {
|
|
17582
|
-
ve(this,
|
|
17583
|
-
(this.options.refetchIntervalInBackground || ol.isFocused()) && ve(this,
|
|
17582
|
+
ve(this, Pe, vc).call(this), K(this, Gn, t), !(xr || Jt(this.options.enabled, S(this, Ie)) === !1 || !cc(S(this, Gn)) || S(this, Gn) === 0) && K(this, fr, setInterval(() => {
|
|
17583
|
+
(this.options.refetchIntervalInBackground || ol.isFocused()) && ve(this, Pe, Ro).call(this);
|
|
17584
17584
|
}, S(this, Gn)));
|
|
17585
17585
|
}, mc = function() {
|
|
17586
|
-
ve(this,
|
|
17586
|
+
ve(this, Pe, hc).call(this), ve(this, Pe, gc).call(this, ve(this, Pe, pc).call(this));
|
|
17587
17587
|
}, bc = function() {
|
|
17588
17588
|
S(this, dr) && (clearTimeout(S(this, dr)), K(this, dr, void 0));
|
|
17589
17589
|
}, vc = function() {
|
|
@@ -17604,11 +17604,11 @@ var Xe, Pn, jn, Ur, Xr, Bn, zr, $r, _d, oE = (_d = class {
|
|
|
17604
17604
|
});
|
|
17605
17605
|
});
|
|
17606
17606
|
}, Td);
|
|
17607
|
-
function
|
|
17607
|
+
function s8(e, t) {
|
|
17608
17608
|
return Jt(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
17609
17609
|
}
|
|
17610
17610
|
function fd(e, t) {
|
|
17611
|
-
return
|
|
17611
|
+
return s8(e, t) || e.state.data !== void 0 && Cc(e, t, t.refetchOnMount);
|
|
17612
17612
|
}
|
|
17613
17613
|
function Cc(e, t, n) {
|
|
17614
17614
|
if (Jt(t.enabled, e) !== !1) {
|
|
@@ -17623,10 +17623,10 @@ function hd(e, t, n, r) {
|
|
|
17623
17623
|
function il(e, t) {
|
|
17624
17624
|
return Jt(t.enabled, e) !== !1 && e.isStaleByTime(Br(t.staleTime, e));
|
|
17625
17625
|
}
|
|
17626
|
-
function
|
|
17626
|
+
function a8(e, t) {
|
|
17627
17627
|
return !cs(e.getCurrentResult(), t);
|
|
17628
17628
|
}
|
|
17629
|
-
var Hn, Wn, _t, xn, In, Hi, xc, Sd,
|
|
17629
|
+
var Hn, Wn, _t, xn, In, Hi, xc, Sd, c8 = (Sd = class extends go {
|
|
17630
17630
|
constructor(n, r) {
|
|
17631
17631
|
super();
|
|
17632
17632
|
ae(this, In);
|
|
@@ -17702,14 +17702,14 @@ var Hn, Wn, _t, xn, In, Hi, xc, Sd, cE = (Sd = class extends go {
|
|
|
17702
17702
|
if (!t)
|
|
17703
17703
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
17704
17704
|
return t;
|
|
17705
|
-
},
|
|
17705
|
+
}, l8 = ({
|
|
17706
17706
|
client: e,
|
|
17707
17707
|
children: t
|
|
17708
17708
|
}) => (D.useEffect(() => (e.mount(), () => {
|
|
17709
17709
|
e.unmount();
|
|
17710
|
-
}), [e]), /* @__PURE__ */ m.jsx(ph.Provider, { value: e, children: t })), mh = D.createContext(!1),
|
|
17710
|
+
}), [e]), /* @__PURE__ */ m.jsx(ph.Provider, { value: e, children: t })), mh = D.createContext(!1), u8 = () => D.useContext(mh);
|
|
17711
17711
|
mh.Provider;
|
|
17712
|
-
function
|
|
17712
|
+
function d8() {
|
|
17713
17713
|
let e = !1;
|
|
17714
17714
|
return {
|
|
17715
17715
|
clearReset: () => {
|
|
@@ -17721,43 +17721,43 @@ function dE() {
|
|
|
17721
17721
|
isReset: () => e
|
|
17722
17722
|
};
|
|
17723
17723
|
}
|
|
17724
|
-
var
|
|
17724
|
+
var f8 = D.createContext(d8()), h8 = () => D.useContext(f8);
|
|
17725
17725
|
function bh(e, t) {
|
|
17726
17726
|
return typeof e == "function" ? e(...t) : !!e;
|
|
17727
17727
|
}
|
|
17728
17728
|
function Ec() {
|
|
17729
17729
|
}
|
|
17730
|
-
var
|
|
17730
|
+
var p8 = (e, t) => {
|
|
17731
17731
|
(e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
|
|
17732
|
-
},
|
|
17732
|
+
}, g8 = (e) => {
|
|
17733
17733
|
D.useEffect(() => {
|
|
17734
17734
|
e.clearReset();
|
|
17735
17735
|
}, [e]);
|
|
17736
|
-
},
|
|
17736
|
+
}, m8 = ({
|
|
17737
17737
|
result: e,
|
|
17738
17738
|
errorResetBoundary: t,
|
|
17739
17739
|
throwOnError: n,
|
|
17740
17740
|
query: r,
|
|
17741
17741
|
suspense: o
|
|
17742
|
-
}) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || bh(n, [e.error, r])),
|
|
17742
|
+
}) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || bh(n, [e.error, r])), b8 = (e) => {
|
|
17743
17743
|
const t = e.staleTime;
|
|
17744
17744
|
e.suspense && (e.staleTime = typeof t == "function" ? (...n) => Math.max(t(...n), 1e3) : Math.max(t ?? 1e3, 1e3), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3)));
|
|
17745
|
-
},
|
|
17745
|
+
}, v8 = (e, t) => e.isLoading && e.isFetching && !t, y8 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, pd = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
17746
17746
|
n.clearReset();
|
|
17747
17747
|
});
|
|
17748
|
-
function
|
|
17748
|
+
function C8(e, t, n) {
|
|
17749
17749
|
var h, g, x, b, d;
|
|
17750
17750
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
|
|
17751
17751
|
throw new Error(
|
|
17752
17752
|
'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
|
|
17753
17753
|
);
|
|
17754
|
-
const r = gh(), o =
|
|
17754
|
+
const r = gh(), o = u8(), i = h8(), s = r.defaultQueryOptions(e);
|
|
17755
17755
|
(g = (h = r.getDefaultOptions().queries) == null ? void 0 : h._experimental_beforeQuery) == null || g.call(
|
|
17756
17756
|
h,
|
|
17757
17757
|
s
|
|
17758
17758
|
), process.env.NODE_ENV !== "production" && (s.queryFn || console.error(
|
|
17759
17759
|
`[${s.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
|
|
17760
|
-
)), s._optimisticResults = o ? "isRestoring" : "optimistic",
|
|
17760
|
+
)), s._optimisticResults = o ? "isRestoring" : "optimistic", b8(s), p8(s, i), g8(i);
|
|
17761
17761
|
const c = !r.getQueryCache().get(s.queryHash), [l] = D.useState(
|
|
17762
17762
|
() => new t(
|
|
17763
17763
|
r,
|
|
@@ -17776,9 +17776,9 @@ function CE(e, t, n) {
|
|
|
17776
17776
|
() => l.getCurrentResult()
|
|
17777
17777
|
), D.useEffect(() => {
|
|
17778
17778
|
l.setOptions(s, { listeners: !1 });
|
|
17779
|
-
}, [s, l]),
|
|
17779
|
+
}, [s, l]), y8(s, a))
|
|
17780
17780
|
throw pd(s, l, i);
|
|
17781
|
-
if (
|
|
17781
|
+
if (m8({
|
|
17782
17782
|
result: a,
|
|
17783
17783
|
errorResetBoundary: i,
|
|
17784
17784
|
throwOnError: s.throwOnError,
|
|
@@ -17790,7 +17790,7 @@ function CE(e, t, n) {
|
|
|
17790
17790
|
x,
|
|
17791
17791
|
s,
|
|
17792
17792
|
a
|
|
17793
|
-
), s.experimental_prefetchInRender && !xr &&
|
|
17793
|
+
), s.experimental_prefetchInRender && !xr && v8(a, o)) {
|
|
17794
17794
|
const f = c ? (
|
|
17795
17795
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
17796
17796
|
pd(s, l, i)
|
|
@@ -17805,11 +17805,11 @@ function CE(e, t, n) {
|
|
|
17805
17805
|
return s.notifyOnChangeProps ? a : l.trackResult(a);
|
|
17806
17806
|
}
|
|
17807
17807
|
function sl(e, t) {
|
|
17808
|
-
return
|
|
17808
|
+
return C8(e, i8);
|
|
17809
17809
|
}
|
|
17810
17810
|
function al(e, t) {
|
|
17811
17811
|
const n = gh(), [r] = D.useState(
|
|
17812
|
-
() => new
|
|
17812
|
+
() => new c8(
|
|
17813
17813
|
n,
|
|
17814
17814
|
e
|
|
17815
17815
|
)
|
|
@@ -17834,7 +17834,7 @@ function al(e, t) {
|
|
|
17834
17834
|
throw o.error;
|
|
17835
17835
|
return { ...o, mutate: i, mutateAsync: o.mutate };
|
|
17836
17836
|
}
|
|
17837
|
-
const
|
|
17837
|
+
const x8 = (e) => new Promise((t) => setTimeout(t, e)), E8 = ({
|
|
17838
17838
|
apiFn: e,
|
|
17839
17839
|
intervalMillis: t,
|
|
17840
17840
|
maxRetries: n,
|
|
@@ -17846,10 +17846,10 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17846
17846
|
return l;
|
|
17847
17847
|
if (c >= n)
|
|
17848
17848
|
throw l;
|
|
17849
|
-
return c++,
|
|
17849
|
+
return c++, x8(t).then(() => s(c));
|
|
17850
17850
|
};
|
|
17851
17851
|
return s();
|
|
17852
|
-
},
|
|
17852
|
+
}, I8 = async ({
|
|
17853
17853
|
conversationId: e,
|
|
17854
17854
|
senderEmail: t
|
|
17855
17855
|
}) => {
|
|
@@ -17865,10 +17865,10 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17865
17865
|
}
|
|
17866
17866
|
}, vh = ({ conversationId: e, senderEmail: t, enabled: n }) => sl({
|
|
17867
17867
|
queryKey: ["Global", "ConversationMetaData", e, t],
|
|
17868
|
-
queryFn: () =>
|
|
17868
|
+
queryFn: () => I8({ conversationId: e, senderEmail: t }),
|
|
17869
17869
|
refetchOnMount: !1,
|
|
17870
17870
|
enabled: n
|
|
17871
|
-
}), yh = "/v1/api",
|
|
17871
|
+
}), yh = "/v1/api", w8 = `${yh}/connectors/forms/:formId/search`, A8 = `${yh}/connectors/conversation/:conversationId/smart-suggestions`, _8 = (e) => {
|
|
17872
17872
|
if (e.status !== "completed") return e;
|
|
17873
17873
|
const t = e.smart_suggestions ?? [], n = [];
|
|
17874
17874
|
for (const r of t)
|
|
@@ -17884,40 +17884,40 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17884
17884
|
...e,
|
|
17885
17885
|
suggestedOptions: n
|
|
17886
17886
|
};
|
|
17887
|
-
},
|
|
17887
|
+
}, T8 = async ({ conversationId: e }) => {
|
|
17888
17888
|
try {
|
|
17889
17889
|
const t = await at({
|
|
17890
|
-
url: uo(
|
|
17890
|
+
url: uo(A8, { conversationId: e }),
|
|
17891
17891
|
method: mt.GET
|
|
17892
17892
|
}), n = t == null ? void 0 : t.data;
|
|
17893
|
-
return
|
|
17893
|
+
return _8(n);
|
|
17894
17894
|
} catch (t) {
|
|
17895
17895
|
throw console.error(t), t;
|
|
17896
17896
|
}
|
|
17897
|
-
},
|
|
17898
|
-
apiFn:
|
|
17897
|
+
}, S8 = E8({
|
|
17898
|
+
apiFn: T8,
|
|
17899
17899
|
intervalMillis: 1500,
|
|
17900
17900
|
maxRetries: 5,
|
|
17901
17901
|
isSatisfied: (e) => e.status !== "pending"
|
|
17902
|
-
}),
|
|
17902
|
+
}), L8 = ({ conversationId: e, senderEmail: t, enabled: n }) => {
|
|
17903
17903
|
const { isSuccess: r } = vh({ conversationId: e, senderEmail: t, enabled: n });
|
|
17904
17904
|
return sl({
|
|
17905
17905
|
queryKey: ["GlobalSearch", "SmartSuggestions", e],
|
|
17906
|
-
queryFn: () =>
|
|
17906
|
+
queryFn: () => S8({ conversationId: e }),
|
|
17907
17907
|
enabled: n && r
|
|
17908
17908
|
});
|
|
17909
|
-
},
|
|
17909
|
+
}, O8 = ({
|
|
17910
17910
|
selectedObject: e,
|
|
17911
17911
|
root: t,
|
|
17912
17912
|
setSelectedObject: n,
|
|
17913
17913
|
fetchSearchResults: r,
|
|
17914
17914
|
onReset: o
|
|
17915
17915
|
}) => {
|
|
17916
|
-
const [i, s] = U(""), { conversationId: c, email: l, availableFeatures: a } = Ye(qe), u = _e(
|
|
17916
|
+
const [i, s] = U(""), { conversationId: c, email: l, availableFeatures: a } = Ye(qe), u = _e(vE), h = _e(rh), g = gt(a, m3), { sortedObjectList: x, updatePriority: b } = BE({ objectList: u }), { data: d } = L8({
|
|
17917
17917
|
enabled: g && !!c,
|
|
17918
17918
|
conversationId: String(c),
|
|
17919
17919
|
senderEmail: l
|
|
17920
|
-
}), f = (d == null ? void 0 : d.suggestedOptions) ?? [], p =
|
|
17920
|
+
}), f = (d == null ? void 0 : d.suggestedOptions) ?? [], p = Me(() => !h || !x.length ? [] : x.map(({ value: v }) => {
|
|
17921
17921
|
const E = h[v];
|
|
17922
17922
|
return E ? {
|
|
17923
17923
|
description: `${E.connectorName ?? ""} - ${E.searchObject}`,
|
|
@@ -17932,7 +17932,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17932
17932
|
};
|
|
17933
17933
|
return p.length ? /* @__PURE__ */ m.jsxs($, { children: [
|
|
17934
17934
|
/* @__PURE__ */ m.jsx(
|
|
17935
|
-
|
|
17935
|
+
PE,
|
|
17936
17936
|
{
|
|
17937
17937
|
value: e,
|
|
17938
17938
|
options: p.map((v) => ({ ...v, label: i })),
|
|
@@ -17941,12 +17941,12 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17941
17941
|
onInputChange: s,
|
|
17942
17942
|
onChange: y,
|
|
17943
17943
|
onReset: o,
|
|
17944
|
-
NoOptionsMessage: ({ selectOption: v }) => /* @__PURE__ */ m.jsx(
|
|
17944
|
+
NoOptionsMessage: ({ selectOption: v }) => /* @__PURE__ */ m.jsx(WE, { selectedOption: e, onSelect: v, options: f }),
|
|
17945
17945
|
menuOpen: !i && !f.length ? !1 : void 0
|
|
17946
17946
|
}
|
|
17947
17947
|
),
|
|
17948
17948
|
e ? /* @__PURE__ */ m.jsx(
|
|
17949
|
-
|
|
17949
|
+
jE,
|
|
17950
17950
|
{
|
|
17951
17951
|
objectId: e.value,
|
|
17952
17952
|
searchString: e.label,
|
|
@@ -17955,7 +17955,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17955
17955
|
e.value
|
|
17956
17956
|
) : null
|
|
17957
17957
|
] }) : null;
|
|
17958
|
-
},
|
|
17958
|
+
}, R8 = "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%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.00483%2012.5052C7.73146%2012.7786%207.73146%2013.2218%208.00483%2013.4952C8.2782%2013.7685%208.72141%2013.7685%208.99478%2013.4952L11.9948%2010.4952C12.2681%2010.2218%2012.2681%209.77859%2011.9948%209.50522L8.99478%206.50522C8.72141%206.23185%208.2782%206.23185%208.00483%206.50522C7.73146%206.77859%207.73146%207.2218%208.00483%207.49517L10.5099%2010.0002L8.00483%2012.5052Z'%20fill='%236C7B94'/%3e%3c/svg%3e", D8 = async ({ id: e, externalResourceId: t, conversationId: n, channelType: r = "email", email: o }) => {
|
|
17959
17959
|
const i = new URLSearchParams();
|
|
17960
17960
|
i.append("channel_type", r), o && i.append("senderEmail", o), await at({
|
|
17961
17961
|
url: `${K6.replace(":id", e)}?${i.toString()}`,
|
|
@@ -17965,15 +17965,15 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17965
17965
|
conversationId: n
|
|
17966
17966
|
}
|
|
17967
17967
|
});
|
|
17968
|
-
},
|
|
17969
|
-
mutationFn:
|
|
17968
|
+
}, F8 = ({ onSuccess: e }) => al({
|
|
17969
|
+
mutationFn: D8,
|
|
17970
17970
|
onSuccess: () => {
|
|
17971
17971
|
We({ message: v5, type: _n }), e == null || e();
|
|
17972
17972
|
},
|
|
17973
17973
|
onError: () => {
|
|
17974
17974
|
We({ message: y5, type: Et });
|
|
17975
17975
|
}
|
|
17976
|
-
}),
|
|
17976
|
+
}), N8 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8444_63907)'%3e%3cpath%20d='M7.99967%2013.333L8.93967%2012.393L5.21968%208.66634H13.333V7.33301L5.21968%207.33301L8.93967%203.60634L7.99967%202.66634L2.66634%207.99967L7.99967%2013.333Z'%20fill='%23343C45'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8444_63907'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", k8 = F($)`
|
|
17977
17977
|
width: fit-content;
|
|
17978
17978
|
cursor: pointer;
|
|
17979
17979
|
gap: 8px;
|
|
@@ -17985,16 +17985,16 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
17985
17985
|
letter-spacing: 0.4px;
|
|
17986
17986
|
text-align: center;
|
|
17987
17987
|
vertical-align: middle;
|
|
17988
|
-
`,
|
|
17988
|
+
`, P8 = ({
|
|
17989
17989
|
meta: { externalResourceId: e, formId: t, searchKeyword: n, searchResultLabel: r },
|
|
17990
17990
|
onBack: o,
|
|
17991
17991
|
onLink: i
|
|
17992
17992
|
}) => {
|
|
17993
|
-
const s = Kt(), { conversationId: c, currentSmIds: l, sendTrackingEvent: a, email: u } = Ye(qe), h = _e(Z1), g = _e(U1), { mutate: x, isPending: b } =
|
|
17993
|
+
const s = Kt(), { conversationId: c, currentSmIds: l, sendTrackingEvent: a, email: u } = Ye(qe), h = _e(Z1), g = _e(U1), { mutate: x, isPending: b } = F8({ onSuccess: i }), d = g === te.LOADING, f = {
|
|
17994
17994
|
externalResourceId: e
|
|
17995
17995
|
};
|
|
17996
17996
|
pe(() => {
|
|
17997
|
-
s(
|
|
17997
|
+
s(Mr({ id: t, args: { externalResourceId: e } }));
|
|
17998
17998
|
}, [e, t, s]);
|
|
17999
17999
|
const p = () => {
|
|
18000
18000
|
a(r3, {
|
|
@@ -18011,9 +18011,9 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18011
18011
|
});
|
|
18012
18012
|
};
|
|
18013
18013
|
return /* @__PURE__ */ m.jsxs($, { gap: "12px", marginTop: "12px", children: [
|
|
18014
|
-
/* @__PURE__ */ m.jsxs(
|
|
18015
|
-
/* @__PURE__ */ m.jsx("img", { src:
|
|
18016
|
-
/* @__PURE__ */ m.jsx(ue, { children:
|
|
18014
|
+
/* @__PURE__ */ m.jsxs(k8, { onClick: o, children: [
|
|
18015
|
+
/* @__PURE__ */ m.jsx("img", { src: N8, width: "16px", height: "16px" }),
|
|
18016
|
+
/* @__PURE__ */ m.jsx(ue, { children: _E })
|
|
18017
18017
|
] }),
|
|
18018
18018
|
/* @__PURE__ */ m.jsxs($, { gap: "24px", children: [
|
|
18019
18019
|
/* @__PURE__ */ m.jsx(
|
|
@@ -18044,11 +18044,11 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18044
18044
|
}
|
|
18045
18045
|
}
|
|
18046
18046
|
`};
|
|
18047
|
-
`, PE = "data:image/svg+xml,%3csvg%20width='124'%20height='107'%20viewBox='0%200%20124%20107'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6168%2054.7446C28.6931%2052.5589%2031.0146%2051.1102%2033.0842%2051.8174C35.9985%2052.8133%2040.0375%2053.9024%2044.0621%2054.043C48.0034%2054.1806%2051.968%2053.4097%2054.8762%2052.6339C57.0264%2052.0602%2059.2927%2053.6932%2059.215%2055.9172C59.1742%2057.0856%2058.4742%2058.1269%2057.3723%2058.5178C54.8051%2059.4284%2049.7633%2060.8927%2044.3075%2060.7022C38.7694%2060.5088%2033.1999%2058.6241%2030.4004%2057.5311C29.2637%2057.0873%2028.5742%2055.9641%2028.6168%2054.7446Z'%20fill='url(%23paint0_linear_8481_102191)'/%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='url(%23paint1_linear_8481_102191)'/%3e%3cmask%20id='mask0_8481_102191'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='46'%20y='14'%20width='60'%20height='79'%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8481_102191)'%3e%3cellipse%20cx='63.7775'%20cy='46.8684'%20rx='1.48152'%20ry='1.39438'%20transform='rotate(-12%2063.7775%2046.8684)'%20fill='%23435C71'/%3e%3crect%20x='47.4368'%20y='59.3203'%20width='53.657'%20height='13.2235'%20transform='rotate(-12%2047.4368%2059.3203)'%20fill='url(%23paint2_linear_8481_102191)'/%3e%3crect%20x='51.1907'%20y='76.9824'%20width='53.657'%20height='10.4263'%20transform='rotate(-12%2051.1907%2076.9824)'%20fill='url(%23paint3_linear_8481_102191)'/%3e%3c/g%3e%3cpath%20opacity='0.883952'%20d='M113.939%2051.0679C114.775%2055%20112.265%2058.865%20108.333%2059.7008L107.842%2059.8052C103.639%2060.6986%2099.5073%2058.0155%2098.6139%2053.8123L97.205%2047.1837L105.307%2045.4616C109.239%2044.6259%20113.104%2047.1359%20113.939%2051.0679Z'%20fill='url(%23paint4_linear_8481_102191)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.7215%2066.4138C67.1801%2064.8725%2067.6745%2062.2062%2069.587%2061.1603C72.4457%2059.5969%2076.2861%2057.1773%2079.3785%2054.0849C82.4099%2051.0535%2084.752%2047.3461%2086.2775%2044.5465C87.3388%2042.5989%2090.0598%2042.0819%2091.6282%2043.6503C92.4782%2044.5003%2092.758%2045.7623%2092.2604%2046.8566C91.0829%2049.4466%2088.5191%2054.344%2084.4346%2058.4285C80.2853%2062.5778%2074.8639%2065.591%2072.0553%2066.9952C70.9363%2067.5548%2069.6062%2067.2985%2068.7215%2066.4138Z'%20fill='url(%23paint5_linear_8481_102191)'/%3e%3crect%20x='48.7264'%20y='33.7744'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2048.7264%2033.7744)'%20fill='url(%23paint6_linear_8481_102191)'/%3e%3crect%20x='50.0175'%20y='35.8193'%20width='4.0158'%20height='3.84848'%20rx='1.92424'%20transform='rotate(-12%2050.0175%2035.8193)'%20fill='%23435C71'/%3e%3crect%20x='59.2875'%20y='31.5723'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2059.2875%2031.5723)'%20fill='%23FFFEFE'/%3e%3cpath%20opacity='0.883952'%20d='M111.25%2038.5376C110.415%2034.6055%20106.55%2032.0955%20102.618%2032.9313L102.127%2033.0356C97.9234%2033.9291%2095.2403%2038.0607%2096.1337%2042.2639L97.5426%2048.8925L105.644%2047.1705C109.576%2046.3347%20112.086%2042.4696%20111.25%2038.5376Z'%20fill='url(%23paint7_linear_8481_102191)'/%3e%3crect%20x='60.0181'%20y='33.8037'%20width='3.84848'%20height='3.84848'%20rx='1.90724'%20transform='rotate(-12%2060.0181%2033.8037)'%20fill='%23435C71'/%3e%3cpath%20d='M36.9246%2059.1604C36.4487%2060.717%2034.7371%2061.6271%2033.1805%2061.1512C32.3613%2060.9007%2031.7241%2060.3475%2031.3259%2059.5987L25.2059%2046.7983C24.9784%2046.3703%2025.1286%2045.8788%2025.5566%2045.6513L28.338%2044.1724C28.7659%2043.9449%2029.2574%2044.0951%2029.4849%2044.5231L36.6496%2056.8367C37.0728%2057.5036%2037.15%2058.423%2036.9246%2059.1604Z'%20fill='%23FFDF9F'/%3e%3crect%20x='27.9973'%20y='44.333'%20width='2.39869'%20height='3.59807'%20transform='rotate(152%2027.9973%2044.333)'%20fill='%23FF9090'/%3e%3cpath%20d='M26.6628%2044.3769L26.9472%2044.9118L28.0169%2044.343L26.3106%2041.1338L24.171%2042.2714L25.0243%2043.876C25.6661%2043.5347%2026.3215%2043.7351%2026.6628%2044.3769Z'%20fill='%23FFB19F'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.26386%2027.248C9.3428%2020.4481%2016.5101%2016.6372%2023.31%2018.7161C30.11%2020.7951%2033.9209%2027.9624%2031.8419%2034.7623C29.763%2041.5622%2022.5956%2045.3731%2015.7958%2043.2942C8.99587%2041.2152%205.18493%2034.0479%207.26386%2027.248ZM9.72157%2027.9983C8.06843%2033.4055%2011.1399%2039.1821%2016.5471%2040.8352C21.9543%2042.4884%2027.7309%2039.4168%2029.384%2034.0096C31.0372%2028.6024%2027.9657%2022.8258%2022.5585%2021.1727C17.1513%2019.5196%2011.3747%2022.5911%209.72157%2027.9983Z'%20fill='%23FFE69F'/%3e%3ccircle%20opacity='0.414016'%20cx='19.5529'%20cy='31.0039'%20r='10.2804'%20transform='rotate(17%2019.5529%2031.0039)'%20fill='%23BBDEFC'/%3e%3cpath%20d='M14.3685%2030.6746C15.7299%2027.6867%2018.9391%2025.9803%2022.1776%2026.5225L22.2595%2026.5475C23.7024%2026.8095%2024.3854%2024.8682%2023.1497%2024.2218C22.3806%2023.8074%2021.5613%2023.557%2020.717%2023.3884C17.3715%2022.9031%2014.0553%2024.6664%2012.6939%2027.6543C12.2796%2028.4235%2012.0859%2029.3497%2012.0244%2030.1372C11.8444%2031.6051%2013.8607%2032.0424%2014.4503%2030.6997C14.3434%2030.7566%2014.3685%2030.6746%2014.3685%2030.6746Z'%20fill='%23F6FBFF'/%3e%3cpath%20d='M10.2904%2029.0679C11.9436%2023.6607%2017.7202%2020.5893%2023.1274%2022.2424C25.6671%2023.0189%2027.5785%2024.6783%2028.9301%2026.704C27.7539%2024.1048%2025.508%2022.0744%2022.5586%2021.1727C17.1514%2019.5196%2011.3748%2022.591%209.72165%2027.9982C8.81993%2030.9476%209.32924%2033.97%2010.7444%2036.3735C9.82081%2034.1203%209.51395%2031.6077%2010.2904%2029.0679Z'%20fill='%23ADCBE7'/%3e%3cpath%20opacity='0.406087'%20d='M36.4864%2056.8021L36.1373%2056.2691C36.3845%2056.8563%2036.428%2057.5516%2036.2372%2058.1754C35.9273%2059.189%2034.5593%2059.1971%2034.0713%2058.2806L28.3787%2047.5877C28.0534%2046.9767%2027.3508%2046.7619%2026.7395%2047.0866L25.7206%2047.6277L31.4395%2059.3516C31.7648%2059.9627%2032.27%2060.5434%2032.8706%2060.8123C33.7054%2061.1528%2034.6593%2061.1034%2035.3726%2060.7247C36.0858%2060.3459%2036.6602%2059.5837%2036.8444%2058.7021C37.0351%2058.0783%2036.8117%2057.4132%2036.4864%2056.8021Z'%20fill='white'/%3e%3cpath%20d='M29.8826%2048.4977C29.8006%2048.4726%2029.6368%2048.4225%2029.5799%2048.3155L28.1579%2045.6411C28.0442%2045.4272%2028.1193%2045.1814%2028.3332%2045.0677C28.5472%2044.9539%2028.7929%2045.0291%2028.9067%2045.243L30.3287%2047.9174C30.4424%2048.1313%2030.3673%2048.3771%2030.1534%2048.4908C30.1284%2048.5728%2029.9645%2048.5227%2029.8826%2048.4977Z'%20fill='%23FFF5EB'/%3e%3cellipse%20cx='29.2637'%20cy='54.631'%20rx='1.50593'%20ry='3.17918'%20transform='rotate(-23%2029.2637%2054.631)'%20fill='%23FFC478'/%3e%3cellipse%20cx='34.0592'%20cy='52.4078'%20rx='0.920288'%20ry='1.67325'%20transform='rotate(106%2034.0592%2052.4078)'%20fill='%23FFC478'/%3e%3cpath%20d='M89.1282%2019.2055L68.2257%2026.8725L45.9197%2028.3898L44.4929%2016.4082C44.3371%2013.798%2047.5283%2011.4502%2050.9859%2011.6309L65.1429%2012.369L67.3969%2012.4869C68.5309%2012.5463%2069.7066%2012.3289%2070.7522%2011.8627L78.6899%208.34726C81.725%206.99992%2085.3012%207.87475%2086.2125%2010.1876L89.1282%2019.2055Z'%20fill='url(%23paint8_linear_8481_102191)'/%3e%3cpath%20opacity='0.479771'%20d='M88.6262%2019.0953L68.3101%2026.5288L65.3314%2012.5149L67.5211%2012.6263C68.6228%2012.6824%2069.7652%2012.471%2070.7816%2012.0192L78.4972%208.61266C81.4474%207.30707%2084.9208%208.14856%2085.8036%2010.3829L88.6262%2019.0953Z'%20fill='%23ADCBE7'/%3e%3cpath%20d='M91.6332%2026.6212L46.9517%2036.1186L46.0387%2028.4438L89.2535%2019.2582L91.6332%2026.6212Z'%20fill='%23717DAD'/%3e%3cpath%20d='M102.961%2024.2033C103.125%2024.9722%20102.371%2025.7829%20101.278%2026.015L37.9675%2039.4722C36.8754%2039.7043%2035.8568%2039.2704%2035.6933%2038.5015C35.5301%2037.7336%2036.284%2036.922%2037.3761%2036.6898L100.687%2023.2327C101.779%2023.0005%20102.798%2023.4354%20102.961%2024.2033Z'%20fill='%239ED1FF'/%3e%3cpath%20d='M102.703%2024.1718C102.838%2024.805%20102.067%2025.5045%20100.983%2025.7349L69.5583%2032.4144L69.0712%2030.123L100.496%2023.4436C101.58%2023.2131%20102.569%2023.5394%20102.703%2024.1718Z'%20fill='%2378AFE1'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8481_102191'%20x1='32.2665'%20y1='59.6553'%20x2='59.0518'%20y2='60.5906'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8481_102191'%20x1='67.3434'%20y1='85.966'%20x2='103.216'%20y2='78.3411'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFABC'/%3e%3cstop%20offset='1'%20stop-color='%23FFA650'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8481_102191'%20x1='51.4347'%20y1='74.8197'%20x2='91.1539'%20y2='74.8197'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_8481_102191'%20x1='55.1887'%20y1='89.2031'%20x2='94.9078'%20y2='89.2031'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_8481_102191'%20x1='94.5023'%20y1='53.1799'%20x2='106.762'%20y2='58.7056'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_8481_102191'%20x1='74.9906'%20y1='66.9871'%20x2='94.9778'%20y2='46.9999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_8481_102191'%20x1='50.5805'%20y1='44.0581'%20x2='59.9372'%20y2='44.0581'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23E3EEF3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_8481_102191'%20x1='88.4187'%20y1='43.3906'%20x2='99.3981'%20y2='25.1833'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_8481_102191'%20x1='56.4985'%20y1='29.5482'%20x2='100.532'%20y2='20.1885'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ECF7FF'/%3e%3cstop%20offset='1'%20stop-color='%23C2E0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", jE = () => /* @__PURE__ */ m.jsxs(fe, { justifyItems: "center", marginTop: "40px", children: [
|
|
18048
|
-
/* @__PURE__ */ m.jsx("img", { src:
|
|
18049
|
-
/* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray3, children:
|
|
18050
|
-
] }),
|
|
18051
|
-
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), [c, l] = U(null), a = uo(
|
|
18047
|
+
`, M8 = "data:image/svg+xml,%3csvg%20width='124'%20height='107'%20viewBox='0%200%20124%20107'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6168%2054.7446C28.6931%2052.5589%2031.0146%2051.1102%2033.0842%2051.8174C35.9985%2052.8133%2040.0375%2053.9024%2044.0621%2054.043C48.0034%2054.1806%2051.968%2053.4097%2054.8762%2052.6339C57.0264%2052.0602%2059.2927%2053.6932%2059.215%2055.9172C59.1742%2057.0856%2058.4742%2058.1269%2057.3723%2058.5178C54.8051%2059.4284%2049.7633%2060.8927%2044.3075%2060.7022C38.7694%2060.5088%2033.1999%2058.6241%2030.4004%2057.5311C29.2637%2057.0873%2028.5742%2055.9641%2028.6168%2054.7446Z'%20fill='url(%23paint0_linear_8481_102191)'/%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='url(%23paint1_linear_8481_102191)'/%3e%3cmask%20id='mask0_8481_102191'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='46'%20y='14'%20width='60'%20height='79'%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8481_102191)'%3e%3cellipse%20cx='63.7775'%20cy='46.8684'%20rx='1.48152'%20ry='1.39438'%20transform='rotate(-12%2063.7775%2046.8684)'%20fill='%23435C71'/%3e%3crect%20x='47.4368'%20y='59.3203'%20width='53.657'%20height='13.2235'%20transform='rotate(-12%2047.4368%2059.3203)'%20fill='url(%23paint2_linear_8481_102191)'/%3e%3crect%20x='51.1907'%20y='76.9824'%20width='53.657'%20height='10.4263'%20transform='rotate(-12%2051.1907%2076.9824)'%20fill='url(%23paint3_linear_8481_102191)'/%3e%3c/g%3e%3cpath%20opacity='0.883952'%20d='M113.939%2051.0679C114.775%2055%20112.265%2058.865%20108.333%2059.7008L107.842%2059.8052C103.639%2060.6986%2099.5073%2058.0155%2098.6139%2053.8123L97.205%2047.1837L105.307%2045.4616C109.239%2044.6259%20113.104%2047.1359%20113.939%2051.0679Z'%20fill='url(%23paint4_linear_8481_102191)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.7215%2066.4138C67.1801%2064.8725%2067.6745%2062.2062%2069.587%2061.1603C72.4457%2059.5969%2076.2861%2057.1773%2079.3785%2054.0849C82.4099%2051.0535%2084.752%2047.3461%2086.2775%2044.5465C87.3388%2042.5989%2090.0598%2042.0819%2091.6282%2043.6503C92.4782%2044.5003%2092.758%2045.7623%2092.2604%2046.8566C91.0829%2049.4466%2088.5191%2054.344%2084.4346%2058.4285C80.2853%2062.5778%2074.8639%2065.591%2072.0553%2066.9952C70.9363%2067.5548%2069.6062%2067.2985%2068.7215%2066.4138Z'%20fill='url(%23paint5_linear_8481_102191)'/%3e%3crect%20x='48.7264'%20y='33.7744'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2048.7264%2033.7744)'%20fill='url(%23paint6_linear_8481_102191)'/%3e%3crect%20x='50.0175'%20y='35.8193'%20width='4.0158'%20height='3.84848'%20rx='1.92424'%20transform='rotate(-12%2050.0175%2035.8193)'%20fill='%23435C71'/%3e%3crect%20x='59.2875'%20y='31.5723'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2059.2875%2031.5723)'%20fill='%23FFFEFE'/%3e%3cpath%20opacity='0.883952'%20d='M111.25%2038.5376C110.415%2034.6055%20106.55%2032.0955%20102.618%2032.9313L102.127%2033.0356C97.9234%2033.9291%2095.2403%2038.0607%2096.1337%2042.2639L97.5426%2048.8925L105.644%2047.1705C109.576%2046.3347%20112.086%2042.4696%20111.25%2038.5376Z'%20fill='url(%23paint7_linear_8481_102191)'/%3e%3crect%20x='60.0181'%20y='33.8037'%20width='3.84848'%20height='3.84848'%20rx='1.90724'%20transform='rotate(-12%2060.0181%2033.8037)'%20fill='%23435C71'/%3e%3cpath%20d='M36.9246%2059.1604C36.4487%2060.717%2034.7371%2061.6271%2033.1805%2061.1512C32.3613%2060.9007%2031.7241%2060.3475%2031.3259%2059.5987L25.2059%2046.7983C24.9784%2046.3703%2025.1286%2045.8788%2025.5566%2045.6513L28.338%2044.1724C28.7659%2043.9449%2029.2574%2044.0951%2029.4849%2044.5231L36.6496%2056.8367C37.0728%2057.5036%2037.15%2058.423%2036.9246%2059.1604Z'%20fill='%23FFDF9F'/%3e%3crect%20x='27.9973'%20y='44.333'%20width='2.39869'%20height='3.59807'%20transform='rotate(152%2027.9973%2044.333)'%20fill='%23FF9090'/%3e%3cpath%20d='M26.6628%2044.3769L26.9472%2044.9118L28.0169%2044.343L26.3106%2041.1338L24.171%2042.2714L25.0243%2043.876C25.6661%2043.5347%2026.3215%2043.7351%2026.6628%2044.3769Z'%20fill='%23FFB19F'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.26386%2027.248C9.3428%2020.4481%2016.5101%2016.6372%2023.31%2018.7161C30.11%2020.7951%2033.9209%2027.9624%2031.8419%2034.7623C29.763%2041.5622%2022.5956%2045.3731%2015.7958%2043.2942C8.99587%2041.2152%205.18493%2034.0479%207.26386%2027.248ZM9.72157%2027.9983C8.06843%2033.4055%2011.1399%2039.1821%2016.5471%2040.8352C21.9543%2042.4884%2027.7309%2039.4168%2029.384%2034.0096C31.0372%2028.6024%2027.9657%2022.8258%2022.5585%2021.1727C17.1513%2019.5196%2011.3747%2022.5911%209.72157%2027.9983Z'%20fill='%23FFE69F'/%3e%3ccircle%20opacity='0.414016'%20cx='19.5529'%20cy='31.0039'%20r='10.2804'%20transform='rotate(17%2019.5529%2031.0039)'%20fill='%23BBDEFC'/%3e%3cpath%20d='M14.3685%2030.6746C15.7299%2027.6867%2018.9391%2025.9803%2022.1776%2026.5225L22.2595%2026.5475C23.7024%2026.8095%2024.3854%2024.8682%2023.1497%2024.2218C22.3806%2023.8074%2021.5613%2023.557%2020.717%2023.3884C17.3715%2022.9031%2014.0553%2024.6664%2012.6939%2027.6543C12.2796%2028.4235%2012.0859%2029.3497%2012.0244%2030.1372C11.8444%2031.6051%2013.8607%2032.0424%2014.4503%2030.6997C14.3434%2030.7566%2014.3685%2030.6746%2014.3685%2030.6746Z'%20fill='%23F6FBFF'/%3e%3cpath%20d='M10.2904%2029.0679C11.9436%2023.6607%2017.7202%2020.5893%2023.1274%2022.2424C25.6671%2023.0189%2027.5785%2024.6783%2028.9301%2026.704C27.7539%2024.1048%2025.508%2022.0744%2022.5586%2021.1727C17.1514%2019.5196%2011.3748%2022.591%209.72165%2027.9982C8.81993%2030.9476%209.32924%2033.97%2010.7444%2036.3735C9.82081%2034.1203%209.51395%2031.6077%2010.2904%2029.0679Z'%20fill='%23ADCBE7'/%3e%3cpath%20opacity='0.406087'%20d='M36.4864%2056.8021L36.1373%2056.2691C36.3845%2056.8563%2036.428%2057.5516%2036.2372%2058.1754C35.9273%2059.189%2034.5593%2059.1971%2034.0713%2058.2806L28.3787%2047.5877C28.0534%2046.9767%2027.3508%2046.7619%2026.7395%2047.0866L25.7206%2047.6277L31.4395%2059.3516C31.7648%2059.9627%2032.27%2060.5434%2032.8706%2060.8123C33.7054%2061.1528%2034.6593%2061.1034%2035.3726%2060.7247C36.0858%2060.3459%2036.6602%2059.5837%2036.8444%2058.7021C37.0351%2058.0783%2036.8117%2057.4132%2036.4864%2056.8021Z'%20fill='white'/%3e%3cpath%20d='M29.8826%2048.4977C29.8006%2048.4726%2029.6368%2048.4225%2029.5799%2048.3155L28.1579%2045.6411C28.0442%2045.4272%2028.1193%2045.1814%2028.3332%2045.0677C28.5472%2044.9539%2028.7929%2045.0291%2028.9067%2045.243L30.3287%2047.9174C30.4424%2048.1313%2030.3673%2048.3771%2030.1534%2048.4908C30.1284%2048.5728%2029.9645%2048.5227%2029.8826%2048.4977Z'%20fill='%23FFF5EB'/%3e%3cellipse%20cx='29.2637'%20cy='54.631'%20rx='1.50593'%20ry='3.17918'%20transform='rotate(-23%2029.2637%2054.631)'%20fill='%23FFC478'/%3e%3cellipse%20cx='34.0592'%20cy='52.4078'%20rx='0.920288'%20ry='1.67325'%20transform='rotate(106%2034.0592%2052.4078)'%20fill='%23FFC478'/%3e%3cpath%20d='M89.1282%2019.2055L68.2257%2026.8725L45.9197%2028.3898L44.4929%2016.4082C44.3371%2013.798%2047.5283%2011.4502%2050.9859%2011.6309L65.1429%2012.369L67.3969%2012.4869C68.5309%2012.5463%2069.7066%2012.3289%2070.7522%2011.8627L78.6899%208.34726C81.725%206.99992%2085.3012%207.87475%2086.2125%2010.1876L89.1282%2019.2055Z'%20fill='url(%23paint8_linear_8481_102191)'/%3e%3cpath%20opacity='0.479771'%20d='M88.6262%2019.0953L68.3101%2026.5288L65.3314%2012.5149L67.5211%2012.6263C68.6228%2012.6824%2069.7652%2012.471%2070.7816%2012.0192L78.4972%208.61266C81.4474%207.30707%2084.9208%208.14856%2085.8036%2010.3829L88.6262%2019.0953Z'%20fill='%23ADCBE7'/%3e%3cpath%20d='M91.6332%2026.6212L46.9517%2036.1186L46.0387%2028.4438L89.2535%2019.2582L91.6332%2026.6212Z'%20fill='%23717DAD'/%3e%3cpath%20d='M102.961%2024.2033C103.125%2024.9722%20102.371%2025.7829%20101.278%2026.015L37.9675%2039.4722C36.8754%2039.7043%2035.8568%2039.2704%2035.6933%2038.5015C35.5301%2037.7336%2036.284%2036.922%2037.3761%2036.6898L100.687%2023.2327C101.779%2023.0005%20102.798%2023.4354%20102.961%2024.2033Z'%20fill='%239ED1FF'/%3e%3cpath%20d='M102.703%2024.1718C102.838%2024.805%20102.067%2025.5045%20100.983%2025.7349L69.5583%2032.4144L69.0712%2030.123L100.496%2023.4436C101.58%2023.2131%20102.569%2023.5394%20102.703%2024.1718Z'%20fill='%2378AFE1'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8481_102191'%20x1='32.2665'%20y1='59.6553'%20x2='59.0518'%20y2='60.5906'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8481_102191'%20x1='67.3434'%20y1='85.966'%20x2='103.216'%20y2='78.3411'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFABC'/%3e%3cstop%20offset='1'%20stop-color='%23FFA650'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8481_102191'%20x1='51.4347'%20y1='74.8197'%20x2='91.1539'%20y2='74.8197'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_8481_102191'%20x1='55.1887'%20y1='89.2031'%20x2='94.9078'%20y2='89.2031'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_8481_102191'%20x1='94.5023'%20y1='53.1799'%20x2='106.762'%20y2='58.7056'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_8481_102191'%20x1='74.9906'%20y1='66.9871'%20x2='94.9778'%20y2='46.9999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_8481_102191'%20x1='50.5805'%20y1='44.0581'%20x2='59.9372'%20y2='44.0581'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23E3EEF3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_8481_102191'%20x1='88.4187'%20y1='43.3906'%20x2='99.3981'%20y2='25.1833'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_8481_102191'%20x1='56.4985'%20y1='29.5482'%20x2='100.532'%20y2='20.1885'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ECF7FF'/%3e%3cstop%20offset='1'%20stop-color='%23C2E0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", j8 = () => /* @__PURE__ */ m.jsxs(fe, { justifyItems: "center", marginTop: "40px", children: [
|
|
18048
|
+
/* @__PURE__ */ m.jsx("img", { src: M8, width: 124, height: 107 }),
|
|
18049
|
+
/* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray3, children: TE })
|
|
18050
|
+
] }), B8 = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
18051
|
+
const o = Kt(), { sendTrackingEvent: i, currentSmIds: s } = Ye(qe), [c, l] = U(null), a = uo(AE, {
|
|
18052
18052
|
count: e.length.toString(),
|
|
18053
18053
|
countSuffix: e.length > 1 ? "s" : "",
|
|
18054
18054
|
searchObject: t.objectName,
|
|
@@ -18070,31 +18070,31 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18070
18070
|
}, g = () => {
|
|
18071
18071
|
n(), r(), h();
|
|
18072
18072
|
};
|
|
18073
|
-
return e.length ? c ? /* @__PURE__ */ m.jsx(
|
|
18073
|
+
return e.length ? c ? /* @__PURE__ */ m.jsx(P8, { meta: c, onBack: h, onLink: g }) : /* @__PURE__ */ m.jsxs($, { gap: "14px", marginTop: "12px", children: [
|
|
18074
18074
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2", children: a }),
|
|
18075
18075
|
/* @__PURE__ */ m.jsx($, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: x, name: b, description: d }) => /* @__PURE__ */ m.jsxs(Ch, { onClick: () => u(x, b), direction: "row", children: [
|
|
18076
18076
|
/* @__PURE__ */ m.jsxs($, { flexGrow: 1, children: [
|
|
18077
18077
|
/* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray1, children: b }),
|
|
18078
18078
|
/* @__PURE__ */ m.jsx(ue, { variant: "caption", color: X.palette.gray.gray3, children: d })
|
|
18079
18079
|
] }),
|
|
18080
|
-
/* @__PURE__ */ m.jsx(fe, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ m.jsx("img", { src:
|
|
18080
|
+
/* @__PURE__ */ m.jsx(fe, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ m.jsx("img", { src: R8 }) })
|
|
18081
18081
|
] }, x)) })
|
|
18082
|
-
] }) : /* @__PURE__ */ m.jsx(
|
|
18082
|
+
] }) : /* @__PURE__ */ m.jsx(j8, {});
|
|
18083
18083
|
}, ya = F(Ic)`
|
|
18084
18084
|
display: block;
|
|
18085
18085
|
margin: ${(e) => e.margin ? e.margin : 0};
|
|
18086
|
-
`,
|
|
18086
|
+
`, V8 = () => /* @__PURE__ */ m.jsxs($, { marginTop: "12px", children: [
|
|
18087
18087
|
/* @__PURE__ */ m.jsx(ya, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
|
|
18088
18088
|
/* @__PURE__ */ m.jsx($, { gap: "17px", children: /* @__PURE__ */ m.jsxs(Ch, { gap: "8px", disableHover: !0, children: [
|
|
18089
18089
|
/* @__PURE__ */ m.jsx(ya, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
|
|
18090
18090
|
/* @__PURE__ */ m.jsx(ya, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
|
|
18091
18091
|
] }) })
|
|
18092
|
-
] }),
|
|
18092
|
+
] }), G8 = async ({ id: e, searchString: t, args: n }) => {
|
|
18093
18093
|
try {
|
|
18094
18094
|
if (e === void 0 || t === void 0)
|
|
18095
18095
|
return [];
|
|
18096
18096
|
const r = await at({
|
|
18097
|
-
url:
|
|
18097
|
+
url: w8.replace(":formId", e.toString()),
|
|
18098
18098
|
method: mt.POST,
|
|
18099
18099
|
data: {
|
|
18100
18100
|
search_string: t,
|
|
@@ -18106,8 +18106,8 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18106
18106
|
} catch (r) {
|
|
18107
18107
|
We({ message: Os, type: Et }), console.error(r);
|
|
18108
18108
|
}
|
|
18109
|
-
},
|
|
18110
|
-
mutationFn:
|
|
18109
|
+
}, H8 = (e, t) => al({
|
|
18110
|
+
mutationFn: G8,
|
|
18111
18111
|
onMutate: ({ searchString: n, connectorName: r }) => {
|
|
18112
18112
|
e(n, r);
|
|
18113
18113
|
},
|
|
@@ -18125,7 +18125,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18125
18125
|
* @requires connectorFunctions.toggleFormElement - for opening/closing form parent element and it's related behavior.
|
|
18126
18126
|
*/
|
|
18127
18127
|
OPEN_FORM_VIEW: "connector-agent-open-form-view"
|
|
18128
|
-
},
|
|
18128
|
+
}, W8 = (e, t = {}) => {
|
|
18129
18129
|
const { delayAfterLoad: n = 1e3 } = t, r = ye(!1), o = ye(void 0), i = Te(
|
|
18130
18130
|
(l = "auto") => {
|
|
18131
18131
|
const a = e.current;
|
|
@@ -18149,13 +18149,13 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18149
18149
|
resetScrollState: c,
|
|
18150
18150
|
hasScrolledOnce: r.current
|
|
18151
18151
|
};
|
|
18152
|
-
},
|
|
18152
|
+
}, Z8 = ({ isAdmin: e = !1 }) => {
|
|
18153
18153
|
var li;
|
|
18154
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Ye(qe), s = Kt(), { userGroupId: c, userId: l } = wn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [x, b] = U({}), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(), [_, R] = U(!1), [L, O] = U(null), [k,
|
|
18154
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i } = Ye(qe), s = Kt(), { userGroupId: c, userId: l } = wn() || {}, a = ye(!1), u = ye(null), h = ye(null), g = ye(null), [x, b] = U({}), [d, f] = U(!1), [p, y] = U(!1), [v, E] = U(!1), [C, I] = U(!1), [A, w] = U(), [_, R] = U(!1), [L, O] = U(null), [k, M] = U(), [V, z] = U(null), [J, Y] = U(!1), [ee, de] = U(!1), ne = _e(B7), j = _e(V7), H = _e(H7), B = _e(W7), W = _e(G7), Q = _e(B1), ie = _e(tx), se = _e(V1), P = _e(G1), re = _e(H1), Ee = _e(rE), Z = gt(o, l3), Ze = gt(o, S0), je = gt(o, g3), nt = gt(o, b3), dt = gt(o, v3), nn = gt(o, y3), bt = k3(H), { data: ft, isLoading: Je } = vh({
|
|
18155
18155
|
senderEmail: t,
|
|
18156
18156
|
conversationId: String(i),
|
|
18157
18157
|
enabled: nt && !!t
|
|
18158
|
-
}), { emailHeaders: Yn, selectedEmail: Gt } = ft ?? {}, { scrollOnceAfterLoad: Ir, resetScrollState: wr } =
|
|
18158
|
+
}), { emailHeaders: Yn, selectedEmail: Gt } = ft ?? {}, { scrollOnceAfterLoad: Ir, resetScrollState: wr } = W8(h), Ln = W !== te.LOADING && (!B || !Object.values(B).some((we) => we === te.LOADING)) && ne && ne.length > 0;
|
|
18159
18159
|
io(() => {
|
|
18160
18160
|
var we;
|
|
18161
18161
|
J && !d && ee && ((we = g == null ? void 0 : g.current) != null && we.scrollHeight) && Ir(!!Ln, "smooth");
|
|
@@ -18194,7 +18194,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18194
18194
|
data: It,
|
|
18195
18195
|
isPending: Dt,
|
|
18196
18196
|
isIdle: Qn
|
|
18197
|
-
} =
|
|
18197
|
+
} = H8(Jn, he), gn = Te(() => {
|
|
18198
18198
|
it(), O(null);
|
|
18199
18199
|
}, [it, O]), rn = Te(() => {
|
|
18200
18200
|
t && n.length && i && s(Gi({ inboxIds: n, conversationId: i }));
|
|
@@ -18219,18 +18219,18 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18219
18219
|
l && (Y(await Xd(l)), de(await jp(l)));
|
|
18220
18220
|
})();
|
|
18221
18221
|
}, [l]), pe(() => {
|
|
18222
|
-
Je ||
|
|
18222
|
+
Je || M(Gt || t);
|
|
18223
18223
|
}, [t, Gt, Je]), pe(() => {
|
|
18224
18224
|
ee && l && Bp(l);
|
|
18225
18225
|
}, [ee, l]), pe(() => {
|
|
18226
18226
|
var we;
|
|
18227
|
-
if (
|
|
18227
|
+
if (P) {
|
|
18228
18228
|
y(!0);
|
|
18229
|
-
const { externalResourceId: Ue } =
|
|
18229
|
+
const { externalResourceId: Ue } = P, Ht = (we = P.forms.find((mn) => mn.type === "edit")) == null ? void 0 : we.id;
|
|
18230
18230
|
si(Ht, Ue);
|
|
18231
18231
|
} else
|
|
18232
18232
|
y(!1), s(N7());
|
|
18233
|
-
}, [
|
|
18233
|
+
}, [P, si, s]), pe(() => (rn(), wr(), () => {
|
|
18234
18234
|
s(Ku.clearConnectorList());
|
|
18235
18235
|
}), [s, rn, wr]), pe(() => (ne && ne.length && !a.current && (r(Tm, {
|
|
18236
18236
|
numOfCards: ne.length,
|
|
@@ -18284,8 +18284,8 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18284
18284
|
}, Ar = (we) => {
|
|
18285
18285
|
r(we, A), re ? R(!0) : (E(!1), z(null));
|
|
18286
18286
|
}, mo = (we) => {
|
|
18287
|
-
if (
|
|
18288
|
-
const { connectorName: Ue, title: Ht } =
|
|
18287
|
+
if (P) {
|
|
18288
|
+
const { connectorName: Ue, title: Ht } = P;
|
|
18289
18289
|
r(we, {
|
|
18290
18290
|
connector_name: Ue,
|
|
18291
18291
|
card_title: Ht,
|
|
@@ -18310,7 +18310,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18310
18310
|
action: () => R(!1)
|
|
18311
18311
|
}
|
|
18312
18312
|
], Tr = Q.length > 0, vo = se.length > 0, ci = () => Tr || vo ? /* @__PURE__ */ m.jsx(
|
|
18313
|
-
|
|
18313
|
+
bE,
|
|
18314
18314
|
{
|
|
18315
18315
|
haveCreateObjects: Tr,
|
|
18316
18316
|
haveLinkObjects: vo,
|
|
@@ -18350,7 +18350,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18350
18350
|
}
|
|
18351
18351
|
),
|
|
18352
18352
|
je ? /* @__PURE__ */ m.jsx(
|
|
18353
|
-
|
|
18353
|
+
O8,
|
|
18354
18354
|
{
|
|
18355
18355
|
selectedObject: L,
|
|
18356
18356
|
setSelectedObject: O,
|
|
@@ -18360,9 +18360,9 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18360
18360
|
}
|
|
18361
18361
|
) : null,
|
|
18362
18362
|
/* @__PURE__ */ m.jsxs(ac, { children: [
|
|
18363
|
-
/* @__PURE__ */ m.jsx(Dr, { condition: je && Dt, children: /* @__PURE__ */ m.jsx(
|
|
18363
|
+
/* @__PURE__ */ m.jsx(Dr, { condition: je && Dt, children: /* @__PURE__ */ m.jsx(V8, {}) }, "search"),
|
|
18364
18364
|
/* @__PURE__ */ m.jsx(Dr, { condition: je && !!L && !Qn, children: /* @__PURE__ */ m.jsx(
|
|
18365
|
-
|
|
18365
|
+
B8,
|
|
18366
18366
|
{
|
|
18367
18367
|
searchResults: It ?? [],
|
|
18368
18368
|
selectedObject: L,
|
|
@@ -18378,7 +18378,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18378
18378
|
selectedEmail: k,
|
|
18379
18379
|
root: u.current,
|
|
18380
18380
|
isLoading: Je,
|
|
18381
|
-
setSelectedEmail:
|
|
18381
|
+
setSelectedEmail: M
|
|
18382
18382
|
}
|
|
18383
18383
|
) : null,
|
|
18384
18384
|
Z ? /* @__PURE__ */ m.jsx(Zx, {}) : null,
|
|
@@ -18450,14 +18450,14 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18450
18450
|
portalId: "connector-layover-portal",
|
|
18451
18451
|
isOpen: C,
|
|
18452
18452
|
setIsOpen: I,
|
|
18453
|
-
children: /* @__PURE__ */ m.jsx(
|
|
18453
|
+
children: /* @__PURE__ */ m.jsx(fE, { setOpenTaskLinking: I, onLinkingSuccess: rn })
|
|
18454
18454
|
}
|
|
18455
18455
|
),
|
|
18456
18456
|
!j && /* @__PURE__ */ m.jsx(ib, {})
|
|
18457
18457
|
]
|
|
18458
18458
|
}
|
|
18459
18459
|
);
|
|
18460
|
-
},
|
|
18460
|
+
}, U8 = ({
|
|
18461
18461
|
children: e,
|
|
18462
18462
|
sendTrackingEvent: t,
|
|
18463
18463
|
contactEmail: n,
|
|
@@ -18471,7 +18471,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18471
18471
|
stackingContext: u,
|
|
18472
18472
|
isAdmin: h = !1
|
|
18473
18473
|
}) => {
|
|
18474
|
-
const g =
|
|
18474
|
+
const g = Me(
|
|
18475
18475
|
() => ({
|
|
18476
18476
|
userEmail: i,
|
|
18477
18477
|
email: n,
|
|
@@ -18502,16 +18502,16 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18502
18502
|
);
|
|
18503
18503
|
return /* @__PURE__ */ m.jsx(qe.Provider, { value: g, children: e });
|
|
18504
18504
|
}, xh = ({ children: e }) => {
|
|
18505
|
-
const [t] = U(() => new
|
|
18506
|
-
return /* @__PURE__ */ m.jsx(
|
|
18507
|
-
},
|
|
18505
|
+
const [t] = U(() => new o8());
|
|
18506
|
+
return /* @__PURE__ */ m.jsx(l8, { client: t, children: e });
|
|
18507
|
+
}, X8 = ef({
|
|
18508
18508
|
cardList: q7,
|
|
18509
18509
|
write: k7,
|
|
18510
18510
|
common: a7
|
|
18511
18511
|
}), Eh = qv({
|
|
18512
|
-
reducer:
|
|
18512
|
+
reducer: X8,
|
|
18513
18513
|
devTools: !0
|
|
18514
|
-
}),
|
|
18514
|
+
}), z8 = ({
|
|
18515
18515
|
children: e,
|
|
18516
18516
|
userEmail: t,
|
|
18517
18517
|
extraParams: n,
|
|
@@ -18521,7 +18521,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18521
18521
|
connectorFunctions: s,
|
|
18522
18522
|
stackingContext: c
|
|
18523
18523
|
}) => /* @__PURE__ */ m.jsx(Q0, { store: Eh, children: /* @__PURE__ */ m.jsx(kd, { custom: !0, children: /* @__PURE__ */ m.jsx(xh, { children: /* @__PURE__ */ m.jsx(
|
|
18524
|
-
|
|
18524
|
+
U8,
|
|
18525
18525
|
{
|
|
18526
18526
|
userEmail: t,
|
|
18527
18527
|
availableFeatures: i,
|
|
@@ -18644,7 +18644,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
18644
18644
|
[hidden] {
|
|
18645
18645
|
display: none;
|
|
18646
18646
|
}
|
|
18647
|
-
`, $
|
|
18647
|
+
`, $8 = F(fe)`
|
|
18648
18648
|
:root {
|
|
18649
18649
|
--toastify-color-light: #fff;
|
|
18650
18650
|
--toastify-color-dark: #121212;
|
|
@@ -19375,7 +19375,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19375
19375
|
transform: rotate(360deg);
|
|
19376
19376
|
}
|
|
19377
19377
|
}
|
|
19378
|
-
`, wh = F($
|
|
19378
|
+
`, wh = F($8)`
|
|
19379
19379
|
.Toastify__toast-container {
|
|
19380
19380
|
min-width: 320px !important;
|
|
19381
19381
|
font-size: 16px;
|
|
@@ -19424,7 +19424,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19424
19424
|
align-self: auto !important;
|
|
19425
19425
|
margin-left: 12px;
|
|
19426
19426
|
}
|
|
19427
|
-
`,
|
|
19427
|
+
`, QI = ({
|
|
19428
19428
|
userEmail: e = "",
|
|
19429
19429
|
contactEmail: t = "",
|
|
19430
19430
|
baseUrls: n = {},
|
|
@@ -19433,7 +19433,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19433
19433
|
connectorFunctions: i,
|
|
19434
19434
|
stackingContext: s = {}
|
|
19435
19435
|
}) => /* @__PURE__ */ m.jsx(Ih, { children: /* @__PURE__ */ m.jsxs(
|
|
19436
|
-
|
|
19436
|
+
z8,
|
|
19437
19437
|
{
|
|
19438
19438
|
userEmail: e,
|
|
19439
19439
|
availableFeatures: o,
|
|
@@ -19443,7 +19443,7 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19443
19443
|
stackingContext: s,
|
|
19444
19444
|
baseUrls: n,
|
|
19445
19445
|
children: [
|
|
19446
|
-
/* @__PURE__ */ m.jsx(
|
|
19446
|
+
/* @__PURE__ */ m.jsx(Z8, { isAdmin: r == null ? void 0 : r.isAdmin }),
|
|
19447
19447
|
ei(
|
|
19448
19448
|
/* @__PURE__ */ m.jsx(wh, { id: "toast-message", children: /* @__PURE__ */ m.jsx(
|
|
19449
19449
|
Hd,
|
|
@@ -19466,10 +19466,10 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19466
19466
|
/* @__PURE__ */ m.jsx("div", { "data-connectorid": "connector-layover-portal" })
|
|
19467
19467
|
]
|
|
19468
19468
|
}
|
|
19469
|
-
) }), Ah = "/v1/api",
|
|
19469
|
+
) }), Ah = "/v1/api", Y8 = `${Ah}/connector/conversation/:conversationId/data`, J8 = `${Ah}/connector/feedback/conversation/:conversationId`, Q8 = async (e) => {
|
|
19470
19470
|
try {
|
|
19471
19471
|
const t = await at({
|
|
19472
|
-
url:
|
|
19472
|
+
url: Y8.replace(":conversationId", e) + "?channel_type=email",
|
|
19473
19473
|
method: mt.GET
|
|
19474
19474
|
});
|
|
19475
19475
|
return t != null && t.data && Array.isArray(t.data) ? t.data.reduce((r, o) => {
|
|
@@ -19482,14 +19482,14 @@ const xE = (e) => new Promise((t) => setTimeout(t, e)), EE = ({
|
|
|
19482
19482
|
return Promise.reject(t);
|
|
19483
19483
|
}
|
|
19484
19484
|
};
|
|
19485
|
-
function
|
|
19485
|
+
function q8(e, t) {
|
|
19486
19486
|
return sl({
|
|
19487
19487
|
queryKey: ["connector-analytics", e, t],
|
|
19488
|
-
queryFn: async () => !t || !e ? null : await
|
|
19488
|
+
queryFn: async () => !t || !e ? null : await Q8(e),
|
|
19489
19489
|
enabled: !!t && !!e
|
|
19490
19490
|
});
|
|
19491
19491
|
}
|
|
19492
|
-
class
|
|
19492
|
+
class K8 {
|
|
19493
19493
|
constructor(t = [], n = null) {
|
|
19494
19494
|
bn(this, "highlightTerms");
|
|
19495
19495
|
bn(this, "observer");
|
|
@@ -19661,7 +19661,7 @@ function eI() {
|
|
|
19661
19661
|
if (!e)
|
|
19662
19662
|
throw new Error("Conversation ID is required");
|
|
19663
19663
|
const n = await at({
|
|
19664
|
-
url:
|
|
19664
|
+
url: J8.replace(":conversationId", e) + "?channel_type=email",
|
|
19665
19665
|
method: "POST",
|
|
19666
19666
|
data: t
|
|
19667
19667
|
});
|
|
@@ -19673,7 +19673,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19673
19673
|
{ label: "Data is not accurate", value: "Data is not accurate" },
|
|
19674
19674
|
{ label: "Data is from the wrong App", value: "Data is from the wrong App" },
|
|
19675
19675
|
{ label: "Other", value: "other" }
|
|
19676
|
-
], dI = "Tell us more (optional)", Ca = 40,
|
|
19676
|
+
], dI = "Tell us more (optional)", fI = "Enter your feedback", Ca = 40, hI = "Feedback submitted", pI = "Failed to submit feedback", Nn = {
|
|
19677
19677
|
OBJECT_HIGHLIGHTED: "app_object_detection_highlighted",
|
|
19678
19678
|
OBJECT_HOVERED: "app_object_detection_hovered",
|
|
19679
19679
|
PERMALINK_CLICKED: "app_object_detection_permalink_clicked",
|
|
@@ -19682,7 +19682,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19682
19682
|
NEGATIVE_FEEDBACK_SUBMITTED: "app_object_detection_negative_feedback_submitted",
|
|
19683
19683
|
FEEDBACK_OPTION_CLICKED: "app_object_detection_general_feedback_clicked",
|
|
19684
19684
|
FEEDBACK_OPTION_SUBMITTED: "app_object_detection_general_feedback_submitted"
|
|
19685
|
-
},
|
|
19685
|
+
}, gI = (e) => /* @__PURE__ */ m.jsx(ot, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ m.jsx(Kh, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), mI = F(fe)`
|
|
19686
19686
|
max-height: 340px;
|
|
19687
19687
|
width: 440px;
|
|
19688
19688
|
border-radius: 12px;
|
|
@@ -19696,10 +19696,10 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19696
19696
|
flex-direction: row;
|
|
19697
19697
|
margin-bottom: 12px;
|
|
19698
19698
|
}
|
|
19699
|
-
`,
|
|
19699
|
+
`, bI = F(fe)`
|
|
19700
19700
|
border-bottom: 1px solid ${X.palette.gray.gray6};
|
|
19701
19701
|
margin: 12px -16px;
|
|
19702
|
-
`,
|
|
19702
|
+
`, vI = F(fe)`
|
|
19703
19703
|
display: flex;
|
|
19704
19704
|
justify-content: flex-end;
|
|
19705
19705
|
margin-top: 30px;
|
|
@@ -19716,9 +19716,9 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19716
19716
|
}, g = () => {
|
|
19717
19717
|
e == null || e();
|
|
19718
19718
|
}, x = r ? !i : !c;
|
|
19719
|
-
return /* @__PURE__ */ m.jsxs(
|
|
19719
|
+
return /* @__PURE__ */ m.jsxs(mI, { children: [
|
|
19720
19720
|
/* @__PURE__ */ m.jsx(ue, { variant: "h3", children: o }),
|
|
19721
|
-
/* @__PURE__ */ m.jsx(
|
|
19721
|
+
/* @__PURE__ */ m.jsx(bI, {}),
|
|
19722
19722
|
r ? /* @__PURE__ */ m.jsx(ep, { children: /* @__PURE__ */ m.jsx(
|
|
19723
19723
|
tp,
|
|
19724
19724
|
{
|
|
@@ -19733,7 +19733,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19733
19733
|
oo,
|
|
19734
19734
|
{
|
|
19735
19735
|
type: "text",
|
|
19736
|
-
placeholder: dI,
|
|
19736
|
+
placeholder: r ? dI : fI,
|
|
19737
19737
|
value: c,
|
|
19738
19738
|
name: "feedbackComment",
|
|
19739
19739
|
inputChangeHandler: u,
|
|
@@ -19743,7 +19743,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19743
19743
|
validation: { validate: Af() }
|
|
19744
19744
|
}
|
|
19745
19745
|
),
|
|
19746
|
-
/* @__PURE__ */ m.jsxs(
|
|
19746
|
+
/* @__PURE__ */ m.jsxs(vI, { children: [
|
|
19747
19747
|
/* @__PURE__ */ m.jsx(
|
|
19748
19748
|
ot,
|
|
19749
19749
|
{
|
|
@@ -19756,7 +19756,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19756
19756
|
}
|
|
19757
19757
|
),
|
|
19758
19758
|
/* @__PURE__ */ m.jsx(
|
|
19759
|
-
|
|
19759
|
+
gI,
|
|
19760
19760
|
{
|
|
19761
19761
|
variant: "contained",
|
|
19762
19762
|
color: "primary",
|
|
@@ -19768,7 +19768,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19768
19768
|
)
|
|
19769
19769
|
] })
|
|
19770
19770
|
] });
|
|
19771
|
-
},
|
|
19771
|
+
}, yI = F(fe)`
|
|
19772
19772
|
border-radius: 12px;
|
|
19773
19773
|
max-height: 298px;
|
|
19774
19774
|
width: 288px;
|
|
@@ -19778,29 +19778,29 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19778
19778
|
& > * {
|
|
19779
19779
|
box-sizing: border-box;
|
|
19780
19780
|
}
|
|
19781
|
-
`,
|
|
19781
|
+
`, CI = F(fe)`
|
|
19782
19782
|
height: 24px;
|
|
19783
19783
|
display: flex;
|
|
19784
19784
|
align-items: center;
|
|
19785
19785
|
justify-content: space-between;
|
|
19786
19786
|
padding: 12px 0px;
|
|
19787
|
-
`,
|
|
19787
|
+
`, xI = F(ue)`
|
|
19788
19788
|
white-space: nowrap;
|
|
19789
19789
|
overflow: hidden;
|
|
19790
19790
|
text-overflow: ellipsis;
|
|
19791
19791
|
width: ${(e) => e.width || "200px"};
|
|
19792
19792
|
line-height: 18px;
|
|
19793
|
-
`,
|
|
19793
|
+
`, EI = F(fe)`
|
|
19794
19794
|
height: 1px;
|
|
19795
19795
|
background-color: ${X.palette.gray.gray6};
|
|
19796
19796
|
margin: 0 -16px;
|
|
19797
|
-
`,
|
|
19797
|
+
`, II = F(fe)`
|
|
19798
19798
|
padding: 0px 16px;
|
|
19799
19799
|
border-radius: 12px;
|
|
19800
19800
|
height: calc(100% - 82px);
|
|
19801
19801
|
overflow-y: auto;
|
|
19802
19802
|
scrollbar-width: thin;
|
|
19803
|
-
`,
|
|
19803
|
+
`, wI = F(ue)`
|
|
19804
19804
|
font-size: 12px;
|
|
19805
19805
|
font-weight: 400;
|
|
19806
19806
|
color: ${X.palette.gray.gray1};
|
|
@@ -19808,7 +19808,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19808
19808
|
min-width: 80px;
|
|
19809
19809
|
margin-right: 12px;
|
|
19810
19810
|
text-align: left;
|
|
19811
|
-
`,
|
|
19811
|
+
`, AI = F(ue)`
|
|
19812
19812
|
font-size: 12px;
|
|
19813
19813
|
font-weight: 400;
|
|
19814
19814
|
color: ${X.palette.gray.black};
|
|
@@ -19817,11 +19817,11 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19817
19817
|
margin-right: 0px;
|
|
19818
19818
|
word-break: 'break-word';
|
|
19819
19819
|
text-align: right;
|
|
19820
|
-
`,
|
|
19820
|
+
`, _I = F(fe)`
|
|
19821
19821
|
display: flex;
|
|
19822
19822
|
justify-content: space-between;
|
|
19823
19823
|
margin-bottom: 20px;
|
|
19824
|
-
`,
|
|
19824
|
+
`, TI = F(fe)`
|
|
19825
19825
|
display: flex;
|
|
19826
19826
|
justify-content: space-between;
|
|
19827
19827
|
align-items: center;
|
|
@@ -19832,13 +19832,13 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19832
19832
|
`, So = F(Ge)`
|
|
19833
19833
|
padding: 6px;
|
|
19834
19834
|
border-radius: 6px;
|
|
19835
|
-
`,
|
|
19835
|
+
`, SI = F(ot)`
|
|
19836
19836
|
background-color: #f3f8ff;
|
|
19837
19837
|
border-radius: 360px;
|
|
19838
19838
|
color: #196fe0;
|
|
19839
19839
|
padding: 5px 12px;
|
|
19840
19840
|
min-width: 100px;
|
|
19841
|
-
`, SI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M7.87354 2.73877C7.87354 2.30139 7.53821 1.94227 7.11084 1.90381L5.09229 6.44775C5.06387 6.51167 5.02799 6.57074 4.98975 6.62744V12.3667H10.4722C11.0395 12.3665 11.5225 11.9529 11.6089 11.3921L12.2368 7.30811C12.3437 6.61168 11.8047 5.98395 11.1001 5.98389H9.05615C8.40276 5.98371 7.87354 5.45372 7.87354 4.80029V2.73877ZM2.07275 11.8003C2.07275 12.1133 2.32718 12.3667 2.64014 12.3667H3.78955V7.1499H2.64014C2.32718 7.1499 2.07275 7.40432 2.07275 7.71729V11.8003ZM9.07275 4.78369H11.1001C12.5403 4.78375 13.6412 6.0673 13.4224 7.49072L12.7944 11.5747C12.6179 12.7208 11.6318 13.5667 10.4722 13.5669H2.64014C1.66443 13.5669 0.873535 12.776 0.873535 11.8003V7.71729C0.873535 6.74158 1.66443 5.95068 2.64014 5.95068H3.99951L6.04834 1.34131L6.12256 1.20166C6.31844 0.892431 6.66142 0.700708 7.03467 0.700684C8.16045 0.700684 9.07275 1.61299 9.07275 2.73877V4.78369Z", fill: "#97A3B7" })), LI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 13, height: 14, viewBox: "0 0 13 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M11.8008 3.16651C11.8008 2.83026 11.7996 2.61407 11.7861 2.44972C11.7733 2.29228 11.7516 2.23558 11.7383 2.20948C11.684 2.10311 11.5976 2.0167 11.4912 1.96241C11.4651 1.94911 11.4084 1.92742 11.251 1.91456C11.0866 1.90113 10.8698 1.89991 10.5332 1.89991H10.084V7.11671H10.5332C10.8697 7.11671 11.0866 7.11647 11.251 7.10304C11.4084 7.09017 11.4651 7.06848 11.4912 7.05519C11.5977 7.00085 11.684 6.91369 11.7383 6.80714C11.7516 6.78095 11.7733 6.72473 11.7861 6.56788C11.7996 6.40344 11.8008 6.18671 11.8008 5.85011V3.16651ZM6.00001 11.5288C6.00014 11.9658 6.33491 12.3239 6.76173 12.3628L8.68946 8.02784C8.73905 7.91626 8.79776 7.77463 8.8838 7.6421V1.89991H4.30275C3.86739 1.89991 3.57385 1.9011 3.34571 1.91847C3.12524 1.93527 3.00982 1.96482 2.92677 2.00245C2.72742 2.09281 2.55809 2.23906 2.43849 2.42237C2.38875 2.49873 2.34108 2.60774 2.29103 2.82276C2.23917 3.04561 2.19414 3.33583 2.12794 3.76612L1.82325 5.74952C1.73618 6.31551 1.67724 6.70248 1.65724 7.00245C1.63765 7.29653 1.66125 7.4439 1.69923 7.54347C1.79436 7.79282 1.97309 8.00139 2.20509 8.13331C2.29773 8.18598 2.43978 8.23198 2.73341 8.25733C3.03294 8.28318 3.42441 8.2837 3.99708 8.2837H4.46681C4.62026 8.2837 4.77205 8.28306 4.89943 8.29347C5.00019 8.30172 5.11526 8.31839 5.23439 8.36085L5.3545 8.41261L5.51271 8.51026C5.61292 8.58313 5.70157 8.67078 5.77443 8.77101L5.8711 8.93019L5.92286 9.0503C5.96524 9.1694 5.98202 9.28456 5.99025 9.38526C6.00063 9.51256 6.00001 9.66359 6.00001 9.8169V11.5288ZM13 5.85011C13 6.1669 13.0008 6.44089 12.9824 6.66554C12.9635 6.89709 12.9214 7.12868 12.8076 7.35206C12.6383 7.68439 12.3684 7.95514 12.0361 8.12452C11.8127 8.23838 11.5803 8.2804 11.3486 8.29933C11.124 8.31767 10.8499 8.3169 10.5332 8.3169H10.0899C9.97739 8.31691 9.91771 8.31637 9.87501 8.31886C9.85536 8.35692 9.83103 8.41194 9.78517 8.51515L7.82521 12.9263C7.6519 13.3159 7.26532 13.5669 6.83888 13.5669C5.71318 13.5669 4.80093 12.6545 4.80079 11.5288V9.8169C4.80079 9.64881 4.799 9.55553 4.79396 9.48878C4.72728 9.48383 4.63383 9.4839 4.46681 9.4839H3.99708C3.44579 9.4839 2.99395 9.48395 2.63087 9.45265C2.26202 9.42082 1.92186 9.35223 1.61232 9.17628C1.13824 8.90671 0.772529 8.48073 0.578136 7.9712C0.451217 7.63844 0.43534 7.29185 0.459972 6.92237C0.484222 6.55869 0.552876 6.11195 0.63673 5.5669L0.942394 3.58351C1.00581 3.17132 1.05751 2.82883 1.12208 2.55128C1.18838 2.26634 1.27691 2.00629 1.4336 1.76612C1.67803 1.39152 2.02424 1.0943 2.43165 0.909678C2.69285 0.791323 2.96319 0.743407 3.25489 0.721201C3.53908 0.699573 3.8856 0.700693 4.30275 0.700693H10.5332C10.8499 0.700693 11.124 0.69993 11.3486 0.718272C11.5803 0.737198 11.8127 0.779216 12.0361 0.893076C12.3683 1.06241 12.6383 1.33244 12.8076 1.66456C12.9215 1.88802 12.9635 2.12041 12.9824 2.35206C13.0008 2.57656 13 2.85001 13 3.16651V5.85011Z", fill: "#97A3B7" })), OI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 15, height: 15, viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M6.02637 0.261719C6.91006 0.100716 7.81654 0.108586 8.69727 0.285156C8.77943 0.301685 8.85737 0.335356 8.92578 0.383789C8.99413 0.432207 9.05187 0.494446 9.09473 0.566406L10.1699 2.37109L12.2686 2.40137C12.3521 2.40267 12.4348 2.42105 12.5107 2.45605C12.5866 2.49114 12.6547 2.5417 12.71 2.60449L12.9268 2.8623C13.4177 3.47393 13.8044 4.1638 14.0703 4.90332H14.0713C14.1006 4.98499 14.1111 5.07276 14.1035 5.15918C14.0958 5.24545 14.0694 5.32914 14.0264 5.4043L13.0107 7.17676L14.0654 8.97949C14.1089 9.05374 14.1349 9.13706 14.1436 9.22266C14.1522 9.30829 14.143 9.39509 14.1152 9.47656C13.8308 10.316 13.3846 11.0919 12.8008 11.7588C12.7442 11.8235 12.6731 11.8748 12.5947 11.9102C12.5163 11.9454 12.4307 11.9644 12.3447 11.9639L10.2559 11.9512L9.22656 13.7188C9.18293 13.7935 9.12263 13.8576 9.05176 13.9072C8.98094 13.9567 8.90045 13.9914 8.81543 14.0068C7.9318 14.1675 7.02506 14.1583 6.14453 13.9814L6.14355 13.9824C6.0797 13.9694 6.01838 13.9446 5.96191 13.9121C5.87332 13.8615 5.7985 13.7897 5.74609 13.7021L4.67188 11.8955L2.56934 11.8682C2.48571 11.8669 2.4031 11.8485 2.32715 11.8135C2.25108 11.7784 2.18323 11.727 2.12793 11.6641C1.60736 11.0751 1.18875 10.4045 0.888672 9.67969L0.767578 9.36621C0.738264 9.28452 0.726773 9.19681 0.734375 9.11035C0.742031 9.02393 0.768379 8.93953 0.811523 8.86426L1.82617 7.0918L0.772461 5.28906C0.729026 5.2148 0.702006 5.1315 0.693359 5.0459C0.684801 4.96052 0.695058 4.87421 0.722656 4.79297C1.00784 3.95289 1.45608 3.17678 2.04102 2.50977C2.09771 2.44503 2.16762 2.39274 2.24609 2.35742C2.32438 2.32222 2.40928 2.30426 2.49512 2.30469L4.58398 2.31543L5.61426 0.549805C5.65789 0.474997 5.71718 0.410066 5.78809 0.360352C5.8591 0.31064 5.94107 0.277156 6.02637 0.261719ZM7.53809 14.0195C7.59898 14.0196 7.65982 14.0181 7.7207 14.0166C7.65982 14.0181 7.59898 14.0196 7.53809 14.0195ZM7.2334 14.0117C7.28581 14.014 7.33818 14.0164 7.39062 14.0176C7.33818 14.0164 7.28581 14.014 7.2334 14.0117ZM7.85742 14.0127C7.89653 14.0109 7.93552 14.0073 7.97461 14.0049C7.93552 14.0073 7.89654 14.0109 7.85742 14.0127ZM6.91113 13.9902C6.97295 13.9958 7.03476 14.0009 7.09668 14.0049C7.03476 14.0009 6.97295 13.9958 6.91113 13.9902ZM6.6543 13.9619C6.6898 13.9665 6.72519 13.9716 6.76074 13.9756C6.72519 13.9716 6.6898 13.9665 6.6543 13.9619ZM5.91016 13.75C5.94027 13.7795 5.97474 13.8051 6.01172 13.8262L5.95898 13.791C5.94197 13.7782 5.92535 13.7649 5.91016 13.75ZM6.58008 12.9414H6.58105H6.58008ZM8.2002 1.41895C7.63858 1.33129 7.06722 1.32543 6.50391 1.40137L5.5127 3.10059C5.45667 3.19686 5.37383 3.27503 5.27539 3.32715C5.21254 3.36088 5.14878 3.39942 5.08594 3.43555L5.08496 3.43457C4.99197 3.48895 4.88605 3.51825 4.77832 3.51758L2.77637 3.50586C2.43354 3.9367 2.15694 4.41647 1.95508 4.92871L2.96875 6.66211H2.96973C3.01013 6.73278 3.03531 6.81132 3.04492 6.8916L3.04883 6.97461C3.04667 7.04613 3.0485 7.11658 3.05078 7.18945C3.0548 7.30124 3.02821 7.41268 2.97266 7.50977L1.99609 9.21289C2.21404 9.7388 2.50744 10.2299 2.86621 10.6719L4.88281 10.7012H4.88379C4.99002 10.7034 5.09368 10.7341 5.18457 10.7891L5.39258 10.9082C5.45916 10.9464 5.51715 10.9978 5.56445 11.0576L5.6084 11.1201L6.6416 12.8486C7.20362 12.9365 7.77513 12.9432 8.33887 12.8672L9.3291 11.1689C9.38528 11.0722 9.46843 10.9926 9.56738 10.9404C9.63017 10.9067 9.69505 10.8701 9.75781 10.834L9.8291 10.7988C9.90336 10.7678 9.98341 10.7514 10.0645 10.752L12.0664 10.7646C12.4092 10.3324 12.6847 9.85062 12.8857 9.33691L11.8711 7.60645L11.8721 7.60547C11.8181 7.51108 11.7903 7.40365 11.792 7.29492L11.791 7.29395C11.7932 7.22206 11.7923 7.15042 11.79 7.07715C11.7862 6.96565 11.8128 6.85466 11.8682 6.75781L12.8438 5.05371C12.6258 4.52811 12.3333 4.03648 11.9746 3.59473L9.95801 3.56641H9.95703C9.85067 3.56414 9.74722 3.53265 9.65625 3.47754V3.47852L9.45898 3.36426L9.39258 3.32129C9.32844 3.27486 9.27351 3.21669 9.23242 3.14844V3.14746L8.2002 1.41895ZM2.4668 11.7559L2.57031 11.7686H2.57129C2.50157 11.7675 2.43246 11.7518 2.36914 11.7227L2.4668 11.7559ZM1.78809 11.082V11.0811V11.082ZM13.0244 11.3203C13.0502 11.2862 13.0774 11.2533 13.1025 11.2188C13.0774 11.2533 13.0502 11.2862 13.0244 11.3203ZM13.2051 11.0713C13.2348 11.0279 13.2643 10.9845 13.293 10.9404C13.2643 10.9845 13.2348 11.0279 13.2051 11.0713ZM9.90918 10.876C9.90231 10.8782 9.89544 10.8803 9.88867 10.8828C9.89545 10.8803 9.90231 10.8782 9.90918 10.876ZM13.3535 10.8447C13.3903 10.7861 13.426 10.7268 13.4609 10.667C13.426 10.7268 13.3903 10.7861 13.3535 10.8447ZM13.5049 10.5928C13.5426 10.5264 13.5789 10.4593 13.6143 10.3916C13.5789 10.4593 13.5426 10.5264 13.5049 10.5928ZM13.6582 10.3066C13.695 10.2337 13.7305 10.1602 13.7646 10.0859C13.7305 10.1602 13.695 10.2337 13.6582 10.3066ZM7.2168 4.04004C7.82858 3.99994 8.43974 4.14269 8.9707 4.44922C9.68176 4.86085 10.2003 5.53844 10.4131 6.33203C10.6256 7.12573 10.5145 7.97155 10.1045 8.68359C9.79803 9.21429 9.34157 9.64291 8.79199 9.91406C8.24214 10.1852 7.62346 10.287 7.01562 10.207C6.40793 10.127 5.83684 9.86895 5.37598 9.46484C4.91529 9.06072 4.58448 8.52844 4.42578 7.93652C4.26721 7.34451 4.28843 6.71808 4.48535 6.1377C4.68236 5.55755 5.04627 5.04792 5.53223 4.6748C6.01845 4.30171 6.60526 4.08027 7.2168 4.04004ZM13.7852 10.041C13.8281 9.94559 13.8697 9.84945 13.9082 9.75195V9.75098C13.8696 9.84876 13.8283 9.94531 13.7852 10.041ZM6.40918 9.95703C6.46044 9.97542 6.51219 9.99222 6.56445 10.0078C6.51219 9.99225 6.46044 9.97539 6.40918 9.95703ZM6.20996 9.87695C6.25096 9.89508 6.2922 9.91244 6.33398 9.92871C6.2922 9.91247 6.25097 9.89505 6.20996 9.87695ZM6.02832 9.79004C6.0678 9.81077 6.10809 9.82969 6.14844 9.84863C6.10808 9.82972 6.06781 9.81074 6.02832 9.79004ZM5.84082 9.68262C5.87596 9.70443 5.9113 9.72578 5.94727 9.74609C5.91128 9.7258 5.87597 9.7044 5.84082 9.68262ZM12.9131 9.53613C12.9421 9.46825 12.9707 9.40012 12.9971 9.33105L12.9961 9.33008C12.9697 9.3993 12.9422 9.46808 12.9131 9.53613ZM5.66602 9.56543C5.7015 9.59105 5.73694 9.61662 5.77344 9.64062C5.73693 9.61664 5.70151 9.59104 5.66602 9.56543ZM1.97461 9.41699C1.99284 9.4575 2.01311 9.49704 2.03223 9.53711C1.98023 9.42813 1.93016 9.31814 1.88477 9.20605L1.97461 9.41699ZM5.59277 9.5127C5.59556 9.51484 5.59877 9.51642 5.60156 9.51855C5.54737 9.47722 5.49386 9.43478 5.44238 9.38965L5.59277 9.5127ZM8.03125 5.33496C7.67547 5.21424 7.29063 5.20159 6.92773 5.29883C6.56509 5.39617 6.23977 5.59952 5.99219 5.88184C5.74452 6.16433 5.58615 6.51424 5.53711 6.88672C5.48824 7.25901 5.54977 7.63783 5.71582 7.97461C5.88202 8.31152 6.14537 8.59145 6.4707 8.7793C6.90703 9.0311 7.42549 9.09913 7.91211 8.96875C8.39876 8.83831 8.81448 8.52031 9.06641 8.08398C9.25414 7.7587 9.3409 7.38453 9.31641 7.00977C9.2918 6.635 9.15631 6.27555 8.92773 5.97754C8.69908 5.67961 8.38685 5.45577 8.03125 5.33496ZM6.17676 8.69922C6.25355 8.76023 6.3343 8.81676 6.41992 8.86621L6.4209 8.86523C6.33525 8.81578 6.2536 8.76024 6.17676 8.69922ZM8.47754 8.83203V8.83105V8.83203ZM5.77637 8.27246C5.83227 8.35318 5.89399 8.4295 5.96094 8.50098L5.86426 8.38965C5.83359 8.35168 5.80422 8.31265 5.77637 8.27246ZM4.52246 7.91113C4.5608 8.0541 4.60948 8.19346 4.66797 8.32812C4.60945 8.19325 4.56083 8.05334 4.52246 7.91016V7.91113ZM9.40039 6.85645C9.40722 6.90519 9.41278 6.95457 9.41602 7.00391C9.41922 7.05311 9.42035 7.1023 9.41992 7.15137C9.42035 7.10204 9.41926 7.05239 9.41602 7.00293C9.41279 6.95379 9.40719 6.90498 9.40039 6.85645ZM11.9004 6.95215C11.8982 6.96247 11.897 6.97295 11.8955 6.9834C11.8971 6.97295 11.8982 6.96247 11.9004 6.95215ZM4.65137 5.97754C4.62849 6.03229 4.60852 6.08831 4.58887 6.14453C4.60851 6.0883 4.6285 6.03229 4.65137 5.97754ZM4.73633 5.79492C4.7241 5.81941 4.71274 5.8443 4.70117 5.86914C4.71273 5.8443 4.72411 5.81941 4.73633 5.79492ZM4.84473 5.59863C4.82627 5.62957 4.80836 5.66078 4.79102 5.69238C4.80835 5.66077 4.82628 5.62957 4.84473 5.59863ZM4.95605 5.42383C4.93113 5.45972 4.90714 5.49624 4.88379 5.5332C4.90712 5.49623 4.93114 5.45973 4.95605 5.42383ZM8.31445 4.27051C8.52443 4.33607 8.72746 4.42504 8.91992 4.53613L8.9209 4.53516C8.72801 4.42379 8.52395 4.33516 8.31348 4.26953L8.31445 4.27051ZM5.09082 5.24609C5.06172 5.28198 5.03326 5.3183 5.00586 5.35547C5.03325 5.31828 5.06173 5.28199 5.09082 5.24609ZM6.63965 5.29199C6.64276 5.29067 6.6463 5.29037 6.64941 5.28906C6.6463 5.29037 6.64276 5.29067 6.63965 5.29199ZM7.9209 5.19824H7.92188H7.9209ZM6.90234 5.20215H6.90332H6.90234ZM5.23145 5.08496C5.19896 5.11965 5.16651 5.15429 5.13574 5.19043C5.1665 5.15428 5.19897 5.11966 5.23145 5.08496ZM13.9766 4.93652V4.9375V4.93652ZM0.922852 4.53613C0.885573 4.63126 0.850299 4.72727 0.817383 4.82422V4.8252C0.850362 4.72803 0.885496 4.63148 0.922852 4.53613ZM2.01855 4.5293H2.01953H2.01855ZM1.04688 4.24316C1.02195 4.29878 0.998013 4.35481 0.974609 4.41113C0.998008 4.35481 1.02196 4.29878 1.04688 4.24316ZM7.22363 4.13965L7.22461 4.14062L7.22363 4.13965ZM7.66699 4.14453L7.66602 4.14355L7.66699 4.14453ZM1.17188 3.97852C1.1445 4.03303 1.11865 4.08828 1.09277 4.14355C1.11864 4.08828 1.14451 4.03304 1.17188 3.97852ZM12.4287 4.0498V4.04883V4.0498ZM12.6348 2.66992V2.6709C12.8546 2.91962 13.0566 3.1828 13.2383 3.45898C13.1171 3.27471 12.987 3.09618 12.8486 2.92383C12.7796 2.83782 12.708 2.75273 12.6348 2.66992ZM1.30859 3.72168C1.28765 3.75921 1.26729 3.79703 1.24707 3.83496C1.26728 3.79703 1.28765 3.75921 1.30859 3.72168ZM2.72656 3.40723V3.4082L4.7793 3.41797V3.41699L2.72656 3.40723ZM12.0234 3.49707C12.0719 3.55591 12.1198 3.61522 12.166 3.67578L12.0234 3.49609L9.95898 3.4668L12.0234 3.49707ZM1.47852 3.43457C1.45114 3.47831 1.42381 3.52205 1.39746 3.56641C1.4238 3.52204 1.45115 3.47831 1.47852 3.43457ZM9.78809 3.43164C9.79329 3.43365 9.79845 3.43566 9.80371 3.4375C9.79845 3.43567 9.79329 3.43365 9.78809 3.43164ZM5.22852 3.23926V3.24023V3.23926ZM1.64746 3.17676C1.61837 3.21879 1.58963 3.26104 1.56152 3.30371C1.58963 3.26104 1.61837 3.21879 1.64746 3.17676ZM2.11523 2.5752H2.11621H2.11523ZM8.94629 0.53418C8.96978 0.559626 8.99096 0.587273 9.00879 0.617188C8.97313 0.557368 8.92497 0.505135 8.86816 0.464844L8.94629 0.53418ZM6.37305 0.307617C6.26302 0.322319 6.15337 0.34041 6.04395 0.360352C6.15337 0.340409 6.26301 0.322304 6.37305 0.307617ZM8.35059 0.325195C8.25055 0.310024 8.15027 0.296933 8.0498 0.286133C8.15027 0.296945 8.25055 0.310026 8.35059 0.325195ZM7.92578 0.275391C7.85971 0.269476 7.79372 0.26282 7.72754 0.258789C7.79372 0.262834 7.85971 0.269466 7.92578 0.275391ZM6.9502 0.255859C6.89287 0.258741 6.83558 0.262311 6.77832 0.266602C6.83559 0.262325 6.89287 0.258726 6.9502 0.255859ZM7.58008 0.25293C7.53418 0.251105 7.4883 0.248968 7.44238 0.248047C7.4883 0.24898 7.53418 0.251094 7.58008 0.25293ZM7.12988 0.249023C7.17448 0.24794 7.21907 0.247302 7.26367 0.24707C7.21907 0.247314 7.17448 0.247928 7.12988 0.249023ZM6.67871 0.274414C6.57668 0.283521 6.47471 0.294033 6.37305 0.307617C6.47471 0.294047 6.57668 0.283499 6.67871 0.274414Z", fill: "#97A3B7" })), RI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_189_1728)" }, /* @__PURE__ */ D.createElement("path", { d: "M2.33317 2.4672H11.6665V9.4672H3.01567L2.33317 10.1497V2.4672ZM2.33317 1.30054C1.6915 1.30054 1.17234 1.82554 1.17234 2.4672L1.1665 12.9672L3.49984 10.6339H11.6665C12.3082 10.6339 12.8332 10.1089 12.8332 9.4672V2.4672C12.8332 1.82554 12.3082 1.30054 11.6665 1.30054H2.33317ZM3.49984 7.13387H8.1665V8.30054H3.49984V7.13387ZM3.49984 5.38387H10.4998V6.55054H3.49984V5.38387ZM3.49984 3.63387H10.4998V4.80054H3.49984V3.63387Z", fill: "#97A3B7" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_189_1728" }, /* @__PURE__ */ D.createElement("rect", { width: 14, height: 14, fill: "white", transform: "translate(0 0.133789)" })))), DI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_3803_129233)" }, /* @__PURE__ */ D.createElement("path", { d: "M7.3335 4.66683H8.66683V6.00016H7.3335V4.66683ZM7.3335 7.3335H8.66683V11.3335H7.3335V7.3335ZM8.00016 1.3335C4.32016 1.3335 1.3335 4.32016 1.3335 8.00016C1.3335 11.6802 4.32016 14.6668 8.00016 14.6668C11.6802 14.6668 14.6668 11.6802 14.6668 8.00016C14.6668 4.32016 11.6802 1.3335 8.00016 1.3335ZM8.00016 13.3335C5.06016 13.3335 2.66683 10.9402 2.66683 8.00016C2.66683 5.06016 5.06016 2.66683 8.00016 2.66683C10.9402 2.66683 13.3335 5.06016 13.3335 8.00016C13.3335 10.9402 10.9402 13.3335 8.00016 13.3335Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_3803_129233" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white" })))), FI = ({
|
|
19841
|
+
`, LI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 14, height: 14, viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M7.87354 2.73877C7.87354 2.30139 7.53821 1.94227 7.11084 1.90381L5.09229 6.44775C5.06387 6.51167 5.02799 6.57074 4.98975 6.62744V12.3667H10.4722C11.0395 12.3665 11.5225 11.9529 11.6089 11.3921L12.2368 7.30811C12.3437 6.61168 11.8047 5.98395 11.1001 5.98389H9.05615C8.40276 5.98371 7.87354 5.45372 7.87354 4.80029V2.73877ZM2.07275 11.8003C2.07275 12.1133 2.32718 12.3667 2.64014 12.3667H3.78955V7.1499H2.64014C2.32718 7.1499 2.07275 7.40432 2.07275 7.71729V11.8003ZM9.07275 4.78369H11.1001C12.5403 4.78375 13.6412 6.0673 13.4224 7.49072L12.7944 11.5747C12.6179 12.7208 11.6318 13.5667 10.4722 13.5669H2.64014C1.66443 13.5669 0.873535 12.776 0.873535 11.8003V7.71729C0.873535 6.74158 1.66443 5.95068 2.64014 5.95068H3.99951L6.04834 1.34131L6.12256 1.20166C6.31844 0.892431 6.66142 0.700708 7.03467 0.700684C8.16045 0.700684 9.07275 1.61299 9.07275 2.73877V4.78369Z", fill: "#97A3B7" })), OI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 13, height: 14, viewBox: "0 0 13 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M11.8008 3.16651C11.8008 2.83026 11.7996 2.61407 11.7861 2.44972C11.7733 2.29228 11.7516 2.23558 11.7383 2.20948C11.684 2.10311 11.5976 2.0167 11.4912 1.96241C11.4651 1.94911 11.4084 1.92742 11.251 1.91456C11.0866 1.90113 10.8698 1.89991 10.5332 1.89991H10.084V7.11671H10.5332C10.8697 7.11671 11.0866 7.11647 11.251 7.10304C11.4084 7.09017 11.4651 7.06848 11.4912 7.05519C11.5977 7.00085 11.684 6.91369 11.7383 6.80714C11.7516 6.78095 11.7733 6.72473 11.7861 6.56788C11.7996 6.40344 11.8008 6.18671 11.8008 5.85011V3.16651ZM6.00001 11.5288C6.00014 11.9658 6.33491 12.3239 6.76173 12.3628L8.68946 8.02784C8.73905 7.91626 8.79776 7.77463 8.8838 7.6421V1.89991H4.30275C3.86739 1.89991 3.57385 1.9011 3.34571 1.91847C3.12524 1.93527 3.00982 1.96482 2.92677 2.00245C2.72742 2.09281 2.55809 2.23906 2.43849 2.42237C2.38875 2.49873 2.34108 2.60774 2.29103 2.82276C2.23917 3.04561 2.19414 3.33583 2.12794 3.76612L1.82325 5.74952C1.73618 6.31551 1.67724 6.70248 1.65724 7.00245C1.63765 7.29653 1.66125 7.4439 1.69923 7.54347C1.79436 7.79282 1.97309 8.00139 2.20509 8.13331C2.29773 8.18598 2.43978 8.23198 2.73341 8.25733C3.03294 8.28318 3.42441 8.2837 3.99708 8.2837H4.46681C4.62026 8.2837 4.77205 8.28306 4.89943 8.29347C5.00019 8.30172 5.11526 8.31839 5.23439 8.36085L5.3545 8.41261L5.51271 8.51026C5.61292 8.58313 5.70157 8.67078 5.77443 8.77101L5.8711 8.93019L5.92286 9.0503C5.96524 9.1694 5.98202 9.28456 5.99025 9.38526C6.00063 9.51256 6.00001 9.66359 6.00001 9.8169V11.5288ZM13 5.85011C13 6.1669 13.0008 6.44089 12.9824 6.66554C12.9635 6.89709 12.9214 7.12868 12.8076 7.35206C12.6383 7.68439 12.3684 7.95514 12.0361 8.12452C11.8127 8.23838 11.5803 8.2804 11.3486 8.29933C11.124 8.31767 10.8499 8.3169 10.5332 8.3169H10.0899C9.97739 8.31691 9.91771 8.31637 9.87501 8.31886C9.85536 8.35692 9.83103 8.41194 9.78517 8.51515L7.82521 12.9263C7.6519 13.3159 7.26532 13.5669 6.83888 13.5669C5.71318 13.5669 4.80093 12.6545 4.80079 11.5288V9.8169C4.80079 9.64881 4.799 9.55553 4.79396 9.48878C4.72728 9.48383 4.63383 9.4839 4.46681 9.4839H3.99708C3.44579 9.4839 2.99395 9.48395 2.63087 9.45265C2.26202 9.42082 1.92186 9.35223 1.61232 9.17628C1.13824 8.90671 0.772529 8.48073 0.578136 7.9712C0.451217 7.63844 0.43534 7.29185 0.459972 6.92237C0.484222 6.55869 0.552876 6.11195 0.63673 5.5669L0.942394 3.58351C1.00581 3.17132 1.05751 2.82883 1.12208 2.55128C1.18838 2.26634 1.27691 2.00629 1.4336 1.76612C1.67803 1.39152 2.02424 1.0943 2.43165 0.909678C2.69285 0.791323 2.96319 0.743407 3.25489 0.721201C3.53908 0.699573 3.8856 0.700693 4.30275 0.700693H10.5332C10.8499 0.700693 11.124 0.69993 11.3486 0.718272C11.5803 0.737198 11.8127 0.779216 12.0361 0.893076C12.3683 1.06241 12.6383 1.33244 12.8076 1.66456C12.9215 1.88802 12.9635 2.12041 12.9824 2.35206C13.0008 2.57656 13 2.85001 13 3.16651V5.85011Z", fill: "#97A3B7" })), RI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 15, height: 15, viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("path", { d: "M6.02637 0.261719C6.91006 0.100716 7.81654 0.108586 8.69727 0.285156C8.77943 0.301685 8.85737 0.335356 8.92578 0.383789C8.99413 0.432207 9.05187 0.494446 9.09473 0.566406L10.1699 2.37109L12.2686 2.40137C12.3521 2.40267 12.4348 2.42105 12.5107 2.45605C12.5866 2.49114 12.6547 2.5417 12.71 2.60449L12.9268 2.8623C13.4177 3.47393 13.8044 4.1638 14.0703 4.90332H14.0713C14.1006 4.98499 14.1111 5.07276 14.1035 5.15918C14.0958 5.24545 14.0694 5.32914 14.0264 5.4043L13.0107 7.17676L14.0654 8.97949C14.1089 9.05374 14.1349 9.13706 14.1436 9.22266C14.1522 9.30829 14.143 9.39509 14.1152 9.47656C13.8308 10.316 13.3846 11.0919 12.8008 11.7588C12.7442 11.8235 12.6731 11.8748 12.5947 11.9102C12.5163 11.9454 12.4307 11.9644 12.3447 11.9639L10.2559 11.9512L9.22656 13.7188C9.18293 13.7935 9.12263 13.8576 9.05176 13.9072C8.98094 13.9567 8.90045 13.9914 8.81543 14.0068C7.9318 14.1675 7.02506 14.1583 6.14453 13.9814L6.14355 13.9824C6.0797 13.9694 6.01838 13.9446 5.96191 13.9121C5.87332 13.8615 5.7985 13.7897 5.74609 13.7021L4.67188 11.8955L2.56934 11.8682C2.48571 11.8669 2.4031 11.8485 2.32715 11.8135C2.25108 11.7784 2.18323 11.727 2.12793 11.6641C1.60736 11.0751 1.18875 10.4045 0.888672 9.67969L0.767578 9.36621C0.738264 9.28452 0.726773 9.19681 0.734375 9.11035C0.742031 9.02393 0.768379 8.93953 0.811523 8.86426L1.82617 7.0918L0.772461 5.28906C0.729026 5.2148 0.702006 5.1315 0.693359 5.0459C0.684801 4.96052 0.695058 4.87421 0.722656 4.79297C1.00784 3.95289 1.45608 3.17678 2.04102 2.50977C2.09771 2.44503 2.16762 2.39274 2.24609 2.35742C2.32438 2.32222 2.40928 2.30426 2.49512 2.30469L4.58398 2.31543L5.61426 0.549805C5.65789 0.474997 5.71718 0.410066 5.78809 0.360352C5.8591 0.31064 5.94107 0.277156 6.02637 0.261719ZM7.53809 14.0195C7.59898 14.0196 7.65982 14.0181 7.7207 14.0166C7.65982 14.0181 7.59898 14.0196 7.53809 14.0195ZM7.2334 14.0117C7.28581 14.014 7.33818 14.0164 7.39062 14.0176C7.33818 14.0164 7.28581 14.014 7.2334 14.0117ZM7.85742 14.0127C7.89653 14.0109 7.93552 14.0073 7.97461 14.0049C7.93552 14.0073 7.89654 14.0109 7.85742 14.0127ZM6.91113 13.9902C6.97295 13.9958 7.03476 14.0009 7.09668 14.0049C7.03476 14.0009 6.97295 13.9958 6.91113 13.9902ZM6.6543 13.9619C6.6898 13.9665 6.72519 13.9716 6.76074 13.9756C6.72519 13.9716 6.6898 13.9665 6.6543 13.9619ZM5.91016 13.75C5.94027 13.7795 5.97474 13.8051 6.01172 13.8262L5.95898 13.791C5.94197 13.7782 5.92535 13.7649 5.91016 13.75ZM6.58008 12.9414H6.58105H6.58008ZM8.2002 1.41895C7.63858 1.33129 7.06722 1.32543 6.50391 1.40137L5.5127 3.10059C5.45667 3.19686 5.37383 3.27503 5.27539 3.32715C5.21254 3.36088 5.14878 3.39942 5.08594 3.43555L5.08496 3.43457C4.99197 3.48895 4.88605 3.51825 4.77832 3.51758L2.77637 3.50586C2.43354 3.9367 2.15694 4.41647 1.95508 4.92871L2.96875 6.66211H2.96973C3.01013 6.73278 3.03531 6.81132 3.04492 6.8916L3.04883 6.97461C3.04667 7.04613 3.0485 7.11658 3.05078 7.18945C3.0548 7.30124 3.02821 7.41268 2.97266 7.50977L1.99609 9.21289C2.21404 9.7388 2.50744 10.2299 2.86621 10.6719L4.88281 10.7012H4.88379C4.99002 10.7034 5.09368 10.7341 5.18457 10.7891L5.39258 10.9082C5.45916 10.9464 5.51715 10.9978 5.56445 11.0576L5.6084 11.1201L6.6416 12.8486C7.20362 12.9365 7.77513 12.9432 8.33887 12.8672L9.3291 11.1689C9.38528 11.0722 9.46843 10.9926 9.56738 10.9404C9.63017 10.9067 9.69505 10.8701 9.75781 10.834L9.8291 10.7988C9.90336 10.7678 9.98341 10.7514 10.0645 10.752L12.0664 10.7646C12.4092 10.3324 12.6847 9.85062 12.8857 9.33691L11.8711 7.60645L11.8721 7.60547C11.8181 7.51108 11.7903 7.40365 11.792 7.29492L11.791 7.29395C11.7932 7.22206 11.7923 7.15042 11.79 7.07715C11.7862 6.96565 11.8128 6.85466 11.8682 6.75781L12.8438 5.05371C12.6258 4.52811 12.3333 4.03648 11.9746 3.59473L9.95801 3.56641H9.95703C9.85067 3.56414 9.74722 3.53265 9.65625 3.47754V3.47852L9.45898 3.36426L9.39258 3.32129C9.32844 3.27486 9.27351 3.21669 9.23242 3.14844V3.14746L8.2002 1.41895ZM2.4668 11.7559L2.57031 11.7686H2.57129C2.50157 11.7675 2.43246 11.7518 2.36914 11.7227L2.4668 11.7559ZM1.78809 11.082V11.0811V11.082ZM13.0244 11.3203C13.0502 11.2862 13.0774 11.2533 13.1025 11.2188C13.0774 11.2533 13.0502 11.2862 13.0244 11.3203ZM13.2051 11.0713C13.2348 11.0279 13.2643 10.9845 13.293 10.9404C13.2643 10.9845 13.2348 11.0279 13.2051 11.0713ZM9.90918 10.876C9.90231 10.8782 9.89544 10.8803 9.88867 10.8828C9.89545 10.8803 9.90231 10.8782 9.90918 10.876ZM13.3535 10.8447C13.3903 10.7861 13.426 10.7268 13.4609 10.667C13.426 10.7268 13.3903 10.7861 13.3535 10.8447ZM13.5049 10.5928C13.5426 10.5264 13.5789 10.4593 13.6143 10.3916C13.5789 10.4593 13.5426 10.5264 13.5049 10.5928ZM13.6582 10.3066C13.695 10.2337 13.7305 10.1602 13.7646 10.0859C13.7305 10.1602 13.695 10.2337 13.6582 10.3066ZM7.2168 4.04004C7.82858 3.99994 8.43974 4.14269 8.9707 4.44922C9.68176 4.86085 10.2003 5.53844 10.4131 6.33203C10.6256 7.12573 10.5145 7.97155 10.1045 8.68359C9.79803 9.21429 9.34157 9.64291 8.79199 9.91406C8.24214 10.1852 7.62346 10.287 7.01562 10.207C6.40793 10.127 5.83684 9.86895 5.37598 9.46484C4.91529 9.06072 4.58448 8.52844 4.42578 7.93652C4.26721 7.34451 4.28843 6.71808 4.48535 6.1377C4.68236 5.55755 5.04627 5.04792 5.53223 4.6748C6.01845 4.30171 6.60526 4.08027 7.2168 4.04004ZM13.7852 10.041C13.8281 9.94559 13.8697 9.84945 13.9082 9.75195V9.75098C13.8696 9.84876 13.8283 9.94531 13.7852 10.041ZM6.40918 9.95703C6.46044 9.97542 6.51219 9.99222 6.56445 10.0078C6.51219 9.99225 6.46044 9.97539 6.40918 9.95703ZM6.20996 9.87695C6.25096 9.89508 6.2922 9.91244 6.33398 9.92871C6.2922 9.91247 6.25097 9.89505 6.20996 9.87695ZM6.02832 9.79004C6.0678 9.81077 6.10809 9.82969 6.14844 9.84863C6.10808 9.82972 6.06781 9.81074 6.02832 9.79004ZM5.84082 9.68262C5.87596 9.70443 5.9113 9.72578 5.94727 9.74609C5.91128 9.7258 5.87597 9.7044 5.84082 9.68262ZM12.9131 9.53613C12.9421 9.46825 12.9707 9.40012 12.9971 9.33105L12.9961 9.33008C12.9697 9.3993 12.9422 9.46808 12.9131 9.53613ZM5.66602 9.56543C5.7015 9.59105 5.73694 9.61662 5.77344 9.64062C5.73693 9.61664 5.70151 9.59104 5.66602 9.56543ZM1.97461 9.41699C1.99284 9.4575 2.01311 9.49704 2.03223 9.53711C1.98023 9.42813 1.93016 9.31814 1.88477 9.20605L1.97461 9.41699ZM5.59277 9.5127C5.59556 9.51484 5.59877 9.51642 5.60156 9.51855C5.54737 9.47722 5.49386 9.43478 5.44238 9.38965L5.59277 9.5127ZM8.03125 5.33496C7.67547 5.21424 7.29063 5.20159 6.92773 5.29883C6.56509 5.39617 6.23977 5.59952 5.99219 5.88184C5.74452 6.16433 5.58615 6.51424 5.53711 6.88672C5.48824 7.25901 5.54977 7.63783 5.71582 7.97461C5.88202 8.31152 6.14537 8.59145 6.4707 8.7793C6.90703 9.0311 7.42549 9.09913 7.91211 8.96875C8.39876 8.83831 8.81448 8.52031 9.06641 8.08398C9.25414 7.7587 9.3409 7.38453 9.31641 7.00977C9.2918 6.635 9.15631 6.27555 8.92773 5.97754C8.69908 5.67961 8.38685 5.45577 8.03125 5.33496ZM6.17676 8.69922C6.25355 8.76023 6.3343 8.81676 6.41992 8.86621L6.4209 8.86523C6.33525 8.81578 6.2536 8.76024 6.17676 8.69922ZM8.47754 8.83203V8.83105V8.83203ZM5.77637 8.27246C5.83227 8.35318 5.89399 8.4295 5.96094 8.50098L5.86426 8.38965C5.83359 8.35168 5.80422 8.31265 5.77637 8.27246ZM4.52246 7.91113C4.5608 8.0541 4.60948 8.19346 4.66797 8.32812C4.60945 8.19325 4.56083 8.05334 4.52246 7.91016V7.91113ZM9.40039 6.85645C9.40722 6.90519 9.41278 6.95457 9.41602 7.00391C9.41922 7.05311 9.42035 7.1023 9.41992 7.15137C9.42035 7.10204 9.41926 7.05239 9.41602 7.00293C9.41279 6.95379 9.40719 6.90498 9.40039 6.85645ZM11.9004 6.95215C11.8982 6.96247 11.897 6.97295 11.8955 6.9834C11.8971 6.97295 11.8982 6.96247 11.9004 6.95215ZM4.65137 5.97754C4.62849 6.03229 4.60852 6.08831 4.58887 6.14453C4.60851 6.0883 4.6285 6.03229 4.65137 5.97754ZM4.73633 5.79492C4.7241 5.81941 4.71274 5.8443 4.70117 5.86914C4.71273 5.8443 4.72411 5.81941 4.73633 5.79492ZM4.84473 5.59863C4.82627 5.62957 4.80836 5.66078 4.79102 5.69238C4.80835 5.66077 4.82628 5.62957 4.84473 5.59863ZM4.95605 5.42383C4.93113 5.45972 4.90714 5.49624 4.88379 5.5332C4.90712 5.49623 4.93114 5.45973 4.95605 5.42383ZM8.31445 4.27051C8.52443 4.33607 8.72746 4.42504 8.91992 4.53613L8.9209 4.53516C8.72801 4.42379 8.52395 4.33516 8.31348 4.26953L8.31445 4.27051ZM5.09082 5.24609C5.06172 5.28198 5.03326 5.3183 5.00586 5.35547C5.03325 5.31828 5.06173 5.28199 5.09082 5.24609ZM6.63965 5.29199C6.64276 5.29067 6.6463 5.29037 6.64941 5.28906C6.6463 5.29037 6.64276 5.29067 6.63965 5.29199ZM7.9209 5.19824H7.92188H7.9209ZM6.90234 5.20215H6.90332H6.90234ZM5.23145 5.08496C5.19896 5.11965 5.16651 5.15429 5.13574 5.19043C5.1665 5.15428 5.19897 5.11966 5.23145 5.08496ZM13.9766 4.93652V4.9375V4.93652ZM0.922852 4.53613C0.885573 4.63126 0.850299 4.72727 0.817383 4.82422V4.8252C0.850362 4.72803 0.885496 4.63148 0.922852 4.53613ZM2.01855 4.5293H2.01953H2.01855ZM1.04688 4.24316C1.02195 4.29878 0.998013 4.35481 0.974609 4.41113C0.998008 4.35481 1.02196 4.29878 1.04688 4.24316ZM7.22363 4.13965L7.22461 4.14062L7.22363 4.13965ZM7.66699 4.14453L7.66602 4.14355L7.66699 4.14453ZM1.17188 3.97852C1.1445 4.03303 1.11865 4.08828 1.09277 4.14355C1.11864 4.08828 1.14451 4.03304 1.17188 3.97852ZM12.4287 4.0498V4.04883V4.0498ZM12.6348 2.66992V2.6709C12.8546 2.91962 13.0566 3.1828 13.2383 3.45898C13.1171 3.27471 12.987 3.09618 12.8486 2.92383C12.7796 2.83782 12.708 2.75273 12.6348 2.66992ZM1.30859 3.72168C1.28765 3.75921 1.26729 3.79703 1.24707 3.83496C1.26728 3.79703 1.28765 3.75921 1.30859 3.72168ZM2.72656 3.40723V3.4082L4.7793 3.41797V3.41699L2.72656 3.40723ZM12.0234 3.49707C12.0719 3.55591 12.1198 3.61522 12.166 3.67578L12.0234 3.49609L9.95898 3.4668L12.0234 3.49707ZM1.47852 3.43457C1.45114 3.47831 1.42381 3.52205 1.39746 3.56641C1.4238 3.52204 1.45115 3.47831 1.47852 3.43457ZM9.78809 3.43164C9.79329 3.43365 9.79845 3.43566 9.80371 3.4375C9.79845 3.43567 9.79329 3.43365 9.78809 3.43164ZM5.22852 3.23926V3.24023V3.23926ZM1.64746 3.17676C1.61837 3.21879 1.58963 3.26104 1.56152 3.30371C1.58963 3.26104 1.61837 3.21879 1.64746 3.17676ZM2.11523 2.5752H2.11621H2.11523ZM8.94629 0.53418C8.96978 0.559626 8.99096 0.587273 9.00879 0.617188C8.97313 0.557368 8.92497 0.505135 8.86816 0.464844L8.94629 0.53418ZM6.37305 0.307617C6.26302 0.322319 6.15337 0.34041 6.04395 0.360352C6.15337 0.340409 6.26301 0.322304 6.37305 0.307617ZM8.35059 0.325195C8.25055 0.310024 8.15027 0.296933 8.0498 0.286133C8.15027 0.296945 8.25055 0.310026 8.35059 0.325195ZM7.92578 0.275391C7.85971 0.269476 7.79372 0.26282 7.72754 0.258789C7.79372 0.262834 7.85971 0.269466 7.92578 0.275391ZM6.9502 0.255859C6.89287 0.258741 6.83558 0.262311 6.77832 0.266602C6.83559 0.262325 6.89287 0.258726 6.9502 0.255859ZM7.58008 0.25293C7.53418 0.251105 7.4883 0.248968 7.44238 0.248047C7.4883 0.24898 7.53418 0.251094 7.58008 0.25293ZM7.12988 0.249023C7.17448 0.24794 7.21907 0.247302 7.26367 0.24707C7.21907 0.247314 7.17448 0.247928 7.12988 0.249023ZM6.67871 0.274414C6.57668 0.283521 6.47471 0.294033 6.37305 0.307617C6.47471 0.294047 6.57668 0.283499 6.67871 0.274414Z", fill: "#97A3B7" })), DI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 14, height: 15, viewBox: "0 0 14 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_189_1728)" }, /* @__PURE__ */ D.createElement("path", { d: "M2.33317 2.4672H11.6665V9.4672H3.01567L2.33317 10.1497V2.4672ZM2.33317 1.30054C1.6915 1.30054 1.17234 1.82554 1.17234 2.4672L1.1665 12.9672L3.49984 10.6339H11.6665C12.3082 10.6339 12.8332 10.1089 12.8332 9.4672V2.4672C12.8332 1.82554 12.3082 1.30054 11.6665 1.30054H2.33317ZM3.49984 7.13387H8.1665V8.30054H3.49984V7.13387ZM3.49984 5.38387H10.4998V6.55054H3.49984V5.38387ZM3.49984 3.63387H10.4998V4.80054H3.49984V3.63387Z", fill: "#97A3B7" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_189_1728" }, /* @__PURE__ */ D.createElement("rect", { width: 14, height: 14, fill: "white", transform: "translate(0 0.133789)" })))), FI = (e) => /* @__PURE__ */ D.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ D.createElement("g", { clipPath: "url(#clip0_3803_129233)" }, /* @__PURE__ */ D.createElement("path", { d: "M7.3335 4.66683H8.66683V6.00016H7.3335V4.66683ZM7.3335 7.3335H8.66683V11.3335H7.3335V7.3335ZM8.00016 1.3335C4.32016 1.3335 1.3335 4.32016 1.3335 8.00016C1.3335 11.6802 4.32016 14.6668 8.00016 14.6668C11.6802 14.6668 14.6668 11.6802 14.6668 8.00016C14.6668 4.32016 11.6802 1.3335 8.00016 1.3335ZM8.00016 13.3335C5.06016 13.3335 2.66683 10.9402 2.66683 8.00016C2.66683 5.06016 5.06016 2.66683 8.00016 2.66683C10.9402 2.66683 13.3335 5.06016 13.3335 8.00016C13.3335 10.9402 10.9402 13.3335 8.00016 13.3335Z", fill: "#6F7C90" })), /* @__PURE__ */ D.createElement("defs", null, /* @__PURE__ */ D.createElement("clipPath", { id: "clip0_3803_129233" }, /* @__PURE__ */ D.createElement("rect", { width: 16, height: 16, fill: "white" })))), NI = ({
|
|
19842
19842
|
analysisData: e,
|
|
19843
19843
|
isAdmin: t = !1,
|
|
19844
19844
|
conversationId: n,
|
|
@@ -19858,9 +19858,9 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19858
19858
|
} = e.cardData || {};
|
|
19859
19859
|
if (pe(() => {
|
|
19860
19860
|
var V, z, J;
|
|
19861
|
-
const
|
|
19862
|
-
if (
|
|
19863
|
-
const Y =
|
|
19861
|
+
const M = (J = (z = (V = e == null ? void 0 : e.cardData) == null ? void 0 : V.data) == null ? void 0 : z.flatDetails) == null ? void 0 : J.data;
|
|
19862
|
+
if (M) {
|
|
19863
|
+
const Y = M.sort((ee, de) => ee.priority - de.priority);
|
|
19864
19864
|
x(Y), c(Nn.OBJECT_HOVERED, { key: C, cardId: y });
|
|
19865
19865
|
}
|
|
19866
19866
|
}, [e, C, c, y]), !g || g.length === 0) return null;
|
|
@@ -19878,15 +19878,15 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19878
19878
|
connectorId: E,
|
|
19879
19879
|
externalResourceId: v
|
|
19880
19880
|
});
|
|
19881
|
-
}, w = (
|
|
19881
|
+
}, w = (M) => {
|
|
19882
19882
|
const V = {
|
|
19883
19883
|
card_id: y,
|
|
19884
19884
|
entity_id: v,
|
|
19885
|
-
comment:
|
|
19886
|
-
option:
|
|
19885
|
+
comment: M.feedbackComment,
|
|
19886
|
+
option: M.feedbackOption,
|
|
19887
19887
|
feedback_type: "entity_extraction"
|
|
19888
19888
|
};
|
|
19889
|
-
typeof
|
|
19889
|
+
typeof M.isThumbsUp < "u" && (V.positive_feedback = M.isThumbsUp), b(
|
|
19890
19890
|
{
|
|
19891
19891
|
conversationId: n,
|
|
19892
19892
|
feedbackData: V
|
|
@@ -19899,10 +19899,10 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19899
19899
|
connectorId: E,
|
|
19900
19900
|
key: C
|
|
19901
19901
|
};
|
|
19902
|
-
l ? c(Nn.FEEDBACK_OPTION_SUBMITTED, z) : u && c(Nn.NEGATIVE_FEEDBACK_SUBMITTED, z), a(!1), h(!1), We({ message:
|
|
19902
|
+
l ? c(Nn.FEEDBACK_OPTION_SUBMITTED, z) : u && c(Nn.NEGATIVE_FEEDBACK_SUBMITTED, z), a(!1), h(!1), We({ message: hI, type: _n });
|
|
19903
19903
|
},
|
|
19904
19904
|
onError: () => {
|
|
19905
|
-
We({ message:
|
|
19905
|
+
We({ message: pI, type: Et });
|
|
19906
19906
|
}
|
|
19907
19907
|
}
|
|
19908
19908
|
);
|
|
@@ -19913,34 +19913,34 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19913
19913
|
connectorId: E,
|
|
19914
19914
|
externalResourceId: v
|
|
19915
19915
|
});
|
|
19916
|
-
}, R = (
|
|
19917
|
-
w({ ...
|
|
19916
|
+
}, R = (M) => {
|
|
19917
|
+
w({ ...M, isThumbsUp: !1 });
|
|
19918
19918
|
}, L = () => {
|
|
19919
19919
|
o == null || o(E), s();
|
|
19920
19920
|
}, O = () => {
|
|
19921
19921
|
i == null || i();
|
|
19922
|
-
}, k = (
|
|
19922
|
+
}, k = (M) => {
|
|
19923
19923
|
c(Nn.PERMALINK_CLICKED, {
|
|
19924
19924
|
key: C,
|
|
19925
19925
|
cardId: y,
|
|
19926
|
-
clickedValue:
|
|
19926
|
+
clickedValue: M,
|
|
19927
19927
|
connectorId: E,
|
|
19928
19928
|
externalResourceId: v
|
|
19929
19929
|
});
|
|
19930
19930
|
};
|
|
19931
19931
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
19932
|
-
/* @__PURE__ */ m.jsxs(
|
|
19933
|
-
/* @__PURE__ */ m.jsxs(
|
|
19934
|
-
/* @__PURE__ */ m.jsxs(
|
|
19932
|
+
/* @__PURE__ */ m.jsxs(yI, { children: [
|
|
19933
|
+
/* @__PURE__ */ m.jsxs(II, { children: [
|
|
19934
|
+
/* @__PURE__ */ m.jsxs(CI, { children: [
|
|
19935
19935
|
/* @__PURE__ */ m.jsxs($, { flexDirection: "row", alignItems: "center", style: { height: "100%" }, children: [
|
|
19936
19936
|
f && /* @__PURE__ */ m.jsx("img", { src: f, alt: "Logo", style: { marginRight: 8 }, height: 18, width: 18 }),
|
|
19937
|
-
/* @__PURE__ */ m.jsx(Ge, { title: p, arrow: !0, placement: "top", children: /* @__PURE__ */ m.jsx(
|
|
19937
|
+
/* @__PURE__ */ m.jsx(Ge, { title: p, arrow: !0, placement: "top", children: /* @__PURE__ */ m.jsx(xI, { variant: "h3", color: X.palette.gray.black, width: r ? "100px" : "200px", children: p }) })
|
|
19938
19938
|
] }),
|
|
19939
|
-
r ? /* @__PURE__ */ m.jsx(
|
|
19939
|
+
r ? /* @__PURE__ */ m.jsx(SI, { variant: "text", size: "small", endIcon: /* @__PURE__ */ m.jsx(jt.ArrowForward, {}), onClick: O, children: sI }) : null
|
|
19940
19940
|
] }),
|
|
19941
|
-
/* @__PURE__ */ m.jsx(
|
|
19942
|
-
/* @__PURE__ */ m.jsx(fe, { paddingY: "16px", children: g.map(({ key:
|
|
19943
|
-
/* @__PURE__ */ m.jsxs(
|
|
19941
|
+
/* @__PURE__ */ m.jsx(EI, {}),
|
|
19942
|
+
/* @__PURE__ */ m.jsx(fe, { paddingY: "16px", children: g.map(({ key: M, value: V, label: z, deepLink: J }) => /* @__PURE__ */ m.jsxs(_I, { children: [
|
|
19943
|
+
/* @__PURE__ */ m.jsxs(wI, { children: [
|
|
19944
19944
|
z,
|
|
19945
19945
|
":"
|
|
19946
19946
|
] }),
|
|
@@ -19954,18 +19954,18 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19954
19954
|
onClick: () => k(V),
|
|
19955
19955
|
children: Ul(V || "N/A", Ca)
|
|
19956
19956
|
}
|
|
19957
|
-
) : /* @__PURE__ */ m.jsx(
|
|
19958
|
-
] },
|
|
19957
|
+
) : /* @__PURE__ */ m.jsx(AI, { children: Ul(V || "N/A", Ca) }) })
|
|
19958
|
+
] }, M)) })
|
|
19959
19959
|
] }),
|
|
19960
|
-
/* @__PURE__ */ m.jsxs(
|
|
19961
|
-
/* @__PURE__ */ m.jsx($, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ m.jsx(So, { arrow: !0, title: oI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { onClick: L, children: /* @__PURE__ */ m.jsx(
|
|
19960
|
+
/* @__PURE__ */ m.jsxs(TI, { children: [
|
|
19961
|
+
/* @__PURE__ */ m.jsx($, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ m.jsx(So, { arrow: !0, title: oI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { onClick: L, children: /* @__PURE__ */ m.jsx(RI, {}) }) }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
19962
19962
|
/* @__PURE__ */ m.jsx(ue, { color: X.palette.gray.gray3, fontSize: 12, children: aI }),
|
|
19963
|
-
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: iI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", children: /* @__PURE__ */ m.jsx(
|
|
19963
|
+
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: iI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", children: /* @__PURE__ */ m.jsx(FI, {}) }) })
|
|
19964
19964
|
] }) }),
|
|
19965
19965
|
/* @__PURE__ */ m.jsxs($, { flexDirection: "row", alignItems: "center", children: [
|
|
19966
|
-
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: tI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", disabled: d, onClick: _, children: /* @__PURE__ */ m.jsx(
|
|
19967
|
-
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: nI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", disabled: d, onClick: A, children: /* @__PURE__ */ m.jsx(
|
|
19968
|
-
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: rI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { onClick: I, size: "small", disabled: d, children: /* @__PURE__ */ m.jsx(
|
|
19966
|
+
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: tI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", disabled: d, onClick: _, children: /* @__PURE__ */ m.jsx(LI, {}) }) }),
|
|
19967
|
+
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: nI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { size: "small", disabled: d, onClick: A, children: /* @__PURE__ */ m.jsx(OI, {}) }) }),
|
|
19968
|
+
/* @__PURE__ */ m.jsx(So, { arrow: !0, title: rI, placement: "top", children: /* @__PURE__ */ m.jsx(ut, { onClick: I, size: "small", disabled: d, children: /* @__PURE__ */ m.jsx(DI, {}) }) })
|
|
19969
19969
|
] })
|
|
19970
19970
|
] })
|
|
19971
19971
|
] }),
|
|
@@ -19992,8 +19992,8 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
19992
19992
|
}, bd = (e, t, n, r = 10) => e >= n.left - r && e <= n.right + r && t >= n.top - r && t <= n.bottom + r, vd = (e, t = 350, n = 400) => {
|
|
19993
19993
|
const r = e.getBoundingClientRect(), o = window.innerHeight, i = window.innerWidth, s = r.top, c = o - r.bottom;
|
|
19994
19994
|
return c >= t || c > s ? r.left < n / 2 ? "bottom-start" : i - r.right < n / 2 ? "bottom-end" : "bottom" : r.left < n / 2 ? "top-start" : i - r.right < n / 2 ? "top-end" : "top";
|
|
19995
|
-
},
|
|
19996
|
-
[`& .${
|
|
19995
|
+
}, kI = F(({ className: e, ...t }) => /* @__PURE__ */ m.jsx(Ge, { ...t, classes: { popper: e } }))(() => ({
|
|
19996
|
+
[`& .${Pd.tooltip}`]: {
|
|
19997
19997
|
backgroundColor: "#fff",
|
|
19998
19998
|
padding: 0,
|
|
19999
19999
|
maxWidth: "288px",
|
|
@@ -20006,7 +20006,7 @@ const tI = "Everything looks good", nI = "Something is not working", rI = "Share
|
|
|
20006
20006
|
position: "relative"
|
|
20007
20007
|
}
|
|
20008
20008
|
}));
|
|
20009
|
-
function
|
|
20009
|
+
function PI({ elements: e, title: t, onKeyChange: n }) {
|
|
20010
20010
|
const [r, o] = U(!1), [i, s] = U(null), [c, l] = U(""), [a, u] = U("bottom"), [h, g] = U(!1), x = Ce.useRef(null), b = Ce.useRef({ x: 0, y: 0 }), d = Ce.useCallback(() => {
|
|
20011
20011
|
x.current && (clearTimeout(x.current), x.current = null);
|
|
20012
20012
|
}, []);
|
|
@@ -20030,7 +20030,7 @@ function kI({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20030
20030
|
break;
|
|
20031
20031
|
}
|
|
20032
20032
|
if (!L) {
|
|
20033
|
-
const O = document.querySelector(`.${
|
|
20033
|
+
const O = document.querySelector(`.${Pd.tooltip}`);
|
|
20034
20034
|
O && bd(_, R, O.getBoundingClientRect()) && (L = !0);
|
|
20035
20035
|
}
|
|
20036
20036
|
L || (o(!1), s(null));
|
|
@@ -20054,7 +20054,7 @@ function kI({ elements: e, title: t, onKeyChange: n }) {
|
|
|
20054
20054
|
o(!1), s(null);
|
|
20055
20055
|
}) : t, E = /* @__PURE__ */ m.jsx("div", { onMouseEnter: f, onMouseLeave: p, children: v });
|
|
20056
20056
|
return /* @__PURE__ */ m.jsx(
|
|
20057
|
-
|
|
20057
|
+
kI,
|
|
20058
20058
|
{
|
|
20059
20059
|
title: E,
|
|
20060
20060
|
open: r,
|
|
@@ -20083,22 +20083,22 @@ const MI = ({
|
|
|
20083
20083
|
redirectToAdmin: o,
|
|
20084
20084
|
sendTrackingEvent: i
|
|
20085
20085
|
}) => {
|
|
20086
|
-
const [s, c] = U(null), [l, a] = U([]), { data: u, isError: h } =
|
|
20086
|
+
const [s, c] = U(null), [l, a] = U([]), { data: u, isError: h } = q8(e, t);
|
|
20087
20087
|
return pe(() => {
|
|
20088
20088
|
u ? c(u) : h && c(null);
|
|
20089
20089
|
}, [u, h]), pe(() => {
|
|
20090
20090
|
let g = null;
|
|
20091
|
-
return s && Object.keys(s).length && e && (g = new
|
|
20091
|
+
return s && Object.keys(s).length && e && (g = new K8(Object.keys(s) || [], a), i(Nn.OBJECT_HIGHLIGHTED, { keys: Object.keys(s) })), () => {
|
|
20092
20092
|
g && g.destroy(), window.tooltipCleanup && delete window.tooltipCleanup;
|
|
20093
20093
|
};
|
|
20094
20094
|
}, [s, e, i]), /* @__PURE__ */ m.jsx("div", { children: /* @__PURE__ */ m.jsx(
|
|
20095
|
-
|
|
20095
|
+
PI,
|
|
20096
20096
|
{
|
|
20097
20097
|
elements: l,
|
|
20098
20098
|
title: (g, x) => {
|
|
20099
20099
|
var b;
|
|
20100
20100
|
return !s || !g || !((b = s[g]) != null && b.cardData) ? /* @__PURE__ */ m.jsx(ue, { variant: "body2", color: X.palette.gray.gray6, children: "Loading data..." }) : /* @__PURE__ */ m.jsx(
|
|
20101
|
-
|
|
20101
|
+
NI,
|
|
20102
20102
|
{
|
|
20103
20103
|
conversationId: e || "",
|
|
20104
20104
|
analysisData: s[g],
|
|
@@ -20112,7 +20112,7 @@ const MI = ({
|
|
|
20112
20112
|
}
|
|
20113
20113
|
}
|
|
20114
20114
|
) });
|
|
20115
|
-
},
|
|
20115
|
+
}, jI = ({ children: e }) => /* @__PURE__ */ m.jsx(Q0, { store: Eh, children: /* @__PURE__ */ m.jsx(kd, { custom: !0, children: /* @__PURE__ */ m.jsx(xh, { children: /* @__PURE__ */ m.jsx(Od, { fallback: /* @__PURE__ */ m.jsx(m.Fragment, {}), children: e }) }) }) }), qI = ({ conversationId: e, hasSmList: t, isAdmin: n, connectorFunctions: r }) => /* @__PURE__ */ m.jsx(Ih, { children: /* @__PURE__ */ m.jsxs(jI, { children: [
|
|
20116
20116
|
/* @__PURE__ */ m.jsx(
|
|
20117
20117
|
MI,
|
|
20118
20118
|
{
|
|
@@ -20143,15 +20143,15 @@ const MI = ({
|
|
|
20143
20143
|
] }) });
|
|
20144
20144
|
export {
|
|
20145
20145
|
gd as CONNECTORS_AGENT_EVENTS,
|
|
20146
|
-
|
|
20146
|
+
QI as ConnectorCardList,
|
|
20147
20147
|
at as HiverConnectorBifrostAuth,
|
|
20148
|
-
|
|
20149
|
-
|
|
20148
|
+
qI as IntegrationSense,
|
|
20149
|
+
WI as addNewConnectors,
|
|
20150
20150
|
Bp as dismissNotification,
|
|
20151
20151
|
wn as getConnectorsBifrostConfigs,
|
|
20152
|
-
|
|
20153
|
-
|
|
20154
|
-
|
|
20152
|
+
zI as getMetaData,
|
|
20153
|
+
XI as initConnectorsBifrost,
|
|
20154
|
+
ZI as setCaptureFeedbackOnDemand,
|
|
20155
20155
|
Xd as shouldCaptureFeedback,
|
|
20156
20156
|
jp as shouldShowNotification
|
|
20157
20157
|
};
|