@hiver/connector-agent 4.15.1-checkboxFix-beta.7 → 4.15.1-checkboxFix-beta.8
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 +761 -752
- package/index.umd.js +32 -32
- package/package.json +1 -1
package/index.es.js
CHANGED
|
@@ -15,7 +15,7 @@ var ns = (e, t, n, r) => ({
|
|
|
15
15
|
});
|
|
16
16
|
import * as S from "react";
|
|
17
17
|
import Me, { createContext as Xl, useState as V, useContext as je, useEffect as oe, useRef as ge, useCallback as Ae, useSyncExternalStore as z1, useLayoutEffect as uo, isValidElement as Ao, cloneElement as Dc, useId as $g, forwardRef as fa, useMemo as fe, Component as Xg, Fragment as Nc, useReducer as Yg, memo as $1, Suspense as Yl } from "react";
|
|
18
|
-
import { keyframes as Jl, styled as A, Stack as N, theme as P, IconButton as lt, Typography as
|
|
18
|
+
import { keyframes as Jl, styled as A, Stack as N, theme as P, IconButton as lt, Typography as Y, Box as Q, Tooltip as we, Button as ke, icons as rt, Menu as Jg, MenuItem as Io, ListItemIcon as qg, brandIcons as X1, Grid as Kg, Link as $i, Skeleton as ql, TableHead as Qg, TableCell as pa, TableRow as Y1, palette as em, Icon as J1, DatePicker as tm, DateTextField as nm, InputAdornment as rm, TextField as Kl, tooltipClasses as no, ListSubheader as bs, InputBase as om, CircularProgress as _i, FormControl as ha, Select as Ql, Chip as im, Paper as eu, Popper as sm, ClickAwayListener as q1, Dialog as K1, TableContainer as am, Table as cm, TableBody as lm, HiverProvider as ga, RadioGroup as Q1, FormControlLabel as ef, Radio as tf, Checkbox as nf, OutlinedInput as rf, Switch as of, createTheme as um, ThemeProvider as dm } from "@hiver/hiver-ui-kit";
|
|
19
19
|
import fm, { createPortal as Xi } from "react-dom";
|
|
20
20
|
var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, jc = { exports: {} }, oi = {};
|
|
21
21
|
/**
|
|
@@ -143,18 +143,18 @@ function hm() {
|
|
|
143
143
|
}
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
var
|
|
147
|
-
function
|
|
146
|
+
var H = Object.assign, U = 0, Z, $, G, J, ee, ie, W;
|
|
147
|
+
function K() {
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
K.__reactDisabledLog = !0;
|
|
150
150
|
function k() {
|
|
151
151
|
{
|
|
152
|
-
if (
|
|
153
|
-
|
|
152
|
+
if (U === 0) {
|
|
153
|
+
Z = console.log, $ = console.info, G = console.warn, J = console.error, ee = console.group, ie = console.groupCollapsed, W = console.groupEnd;
|
|
154
154
|
var R = {
|
|
155
155
|
configurable: !0,
|
|
156
156
|
enumerable: !0,
|
|
157
|
-
value:
|
|
157
|
+
value: K,
|
|
158
158
|
writable: !0
|
|
159
159
|
};
|
|
160
160
|
Object.defineProperties(console, {
|
|
@@ -167,42 +167,42 @@ function hm() {
|
|
|
167
167
|
groupEnd: R
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
U++;
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function q() {
|
|
174
174
|
{
|
|
175
|
-
if (
|
|
175
|
+
if (U--, U === 0) {
|
|
176
176
|
var R = {
|
|
177
177
|
configurable: !0,
|
|
178
178
|
enumerable: !0,
|
|
179
179
|
writable: !0
|
|
180
180
|
};
|
|
181
181
|
Object.defineProperties(console, {
|
|
182
|
-
log:
|
|
183
|
-
value: Y
|
|
184
|
-
}),
|
|
185
|
-
info: G({}, R, {
|
|
182
|
+
log: H({}, R, {
|
|
186
183
|
value: Z
|
|
187
184
|
}),
|
|
188
|
-
|
|
189
|
-
value:
|
|
185
|
+
info: H({}, R, {
|
|
186
|
+
value: $
|
|
187
|
+
}),
|
|
188
|
+
warn: H({}, R, {
|
|
189
|
+
value: G
|
|
190
190
|
}),
|
|
191
|
-
error:
|
|
192
|
-
value:
|
|
191
|
+
error: H({}, R, {
|
|
192
|
+
value: J
|
|
193
193
|
}),
|
|
194
|
-
group:
|
|
194
|
+
group: H({}, R, {
|
|
195
195
|
value: ee
|
|
196
196
|
}),
|
|
197
|
-
groupCollapsed:
|
|
197
|
+
groupCollapsed: H({}, R, {
|
|
198
198
|
value: ie
|
|
199
199
|
}),
|
|
200
|
-
groupEnd:
|
|
200
|
+
groupEnd: H({}, R, {
|
|
201
201
|
value: W
|
|
202
202
|
})
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
U < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
var re = g.ReactCurrentDispatcher, ae;
|
|
@@ -224,7 +224,7 @@ function hm() {
|
|
|
224
224
|
var Oe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
225
225
|
le = new Oe();
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function X(R, z) {
|
|
228
228
|
if (!R || M)
|
|
229
229
|
return "";
|
|
230
230
|
{
|
|
@@ -290,13 +290,13 @@ function hm() {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
} finally {
|
|
293
|
-
M = !1, re.current = Le,
|
|
293
|
+
M = !1, re.current = Le, q(), Error.prepareStackTrace = Fe;
|
|
294
294
|
}
|
|
295
295
|
var Sn = R ? R.displayName || R.name : "", Bn = Sn ? he(Sn) : "";
|
|
296
296
|
return typeof R == "function" && le.set(R, Bn), Bn;
|
|
297
297
|
}
|
|
298
298
|
function Ye(R, z, ne) {
|
|
299
|
-
return
|
|
299
|
+
return X(R, !1);
|
|
300
300
|
}
|
|
301
301
|
function et(R) {
|
|
302
302
|
var z = R.prototype;
|
|
@@ -306,7 +306,7 @@ function hm() {
|
|
|
306
306
|
if (R == null)
|
|
307
307
|
return "";
|
|
308
308
|
if (typeof R == "function")
|
|
309
|
-
return
|
|
309
|
+
return X(R, et(R));
|
|
310
310
|
if (typeof R == "string")
|
|
311
311
|
return he(R);
|
|
312
312
|
switch (R) {
|
|
@@ -5588,7 +5588,7 @@ function op() {
|
|
|
5588
5588
|
});
|
|
5589
5589
|
}, p = function(m, h, f, g, x, y, E, C, w) {
|
|
5590
5590
|
return C === void 0 && (C = "default"), e(void 0, void 0, void 0, function() {
|
|
5591
|
-
var _, I, T, D, F, O, j,
|
|
5591
|
+
var _, I, T, D, F, O, j, H, U, Z, $, G, J, ee;
|
|
5592
5592
|
return t(this, function(ie) {
|
|
5593
5593
|
switch (ie.label) {
|
|
5594
5594
|
case 0:
|
|
@@ -5596,17 +5596,17 @@ function op() {
|
|
|
5596
5596
|
case 1:
|
|
5597
5597
|
return _ = ie.sent(), I = _.atToken, T = _.expiryTime, D = _.userId, F = _.userGroupId, I && T && (0, o.setTokenAndExpiry)(I, T), D && F && (0, o.setUserDetails)(D, F), m = r.INITIAL_RETRY_DELAY, h = r.INITIAL_RETRY_DELAY, f = 0, [3, 12];
|
|
5598
5598
|
case 2:
|
|
5599
|
-
return O = ie.sent(), console.log("ERROR: Heimdall fetch token", O), ((
|
|
5599
|
+
return O = ie.sent(), console.log("ERROR: Heimdall fetch token", O), ((U = O.response) === null || U === void 0 ? void 0 : U.status) === 401 || ((Z = O.request) === null || Z === void 0 ? void 0 : Z.status) === 401 ? (j = 1, [4, u(g, x, j, y, E, w)]) : [3, 4];
|
|
5600
5600
|
case 3:
|
|
5601
5601
|
return ie.sent(), [3, 11];
|
|
5602
5602
|
case 4:
|
|
5603
|
-
return ((
|
|
5603
|
+
return (($ = O.response) === null || $ === void 0 ? void 0 : $.status) === 409 || ((G = O.request) === null || G === void 0 ? void 0 : G.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), H = { retryDelay: m, configs: g, apiParams: x, appUI: w }, [4, d(h, f, H, y, E)]) : [3, 6];
|
|
5604
5604
|
case 5:
|
|
5605
5605
|
if (ie.sent(), f >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
5606
5606
|
throw O;
|
|
5607
5607
|
return [3, 11];
|
|
5608
5608
|
case 6:
|
|
5609
|
-
if (!(((
|
|
5609
|
+
if (!(((J = O.response) === null || J === void 0 ? void 0 : J.status) === 422 || ((ee = O.request) === null || ee === void 0 ? void 0 : ee.status) === 422)) return [3, 7];
|
|
5610
5610
|
throw console.log("ERROR: Throwing error", O.response.status), O;
|
|
5611
5611
|
case 7:
|
|
5612
5612
|
return m <= r.MAX_RETRY_DELAY ? [4, new Promise(function(W) {
|
|
@@ -6450,34 +6450,34 @@ function cp() {
|
|
|
6450
6450
|
});
|
|
6451
6451
|
}, d = function(v, m, h, f, g, x, y) {
|
|
6452
6452
|
return x === void 0 && (x = "default"), e(void 0, void 0, void 0, function() {
|
|
6453
|
-
var E, C, w, _, I, T, D, F, O, j,
|
|
6454
|
-
return t(this, function(
|
|
6455
|
-
switch (
|
|
6453
|
+
var E, C, w, _, I, T, D, F, O, j, H, U, Z, $;
|
|
6454
|
+
return t(this, function(G) {
|
|
6455
|
+
switch (G.label) {
|
|
6456
6456
|
case 0:
|
|
6457
|
-
return
|
|
6457
|
+
return G.trys.push([0, 2, , 12]), console.log("Heimdall: Interval Set on fetch token in fetchAndSaveToken:", a), [4, (0, n.getAccessToken)(r.CONFIG_HIVER, f, g, x)];
|
|
6458
6458
|
case 1:
|
|
6459
|
-
return E =
|
|
6459
|
+
return E = G.sent(), C = E.atToken, w = E.expiryTime, _ = E.userId, I = E.userGroupId, C && w && (0, o.setTokenAndExpiry)(C, w), _ && I && (0, o.setUserDetails)(_, I), v = r.INITIAL_RETRY_DELAY, m = r.INITIAL_RETRY_DELAY, h = 0, [3, 12];
|
|
6460
6460
|
case 2:
|
|
6461
|
-
return T =
|
|
6461
|
+
return T = G.sent(), console.log("ERROR: Heimdall fetch token", T), ((O = T.response) === null || O === void 0 ? void 0 : O.status) === 401 || ((j = T.request) === null || j === void 0 ? void 0 : j.status) === 401 ? (D = 1, [4, c(f, D, y)]) : [3, 4];
|
|
6462
6462
|
case 3:
|
|
6463
|
-
return
|
|
6463
|
+
return G.sent(), [3, 11];
|
|
6464
6464
|
case 4:
|
|
6465
|
-
return ((
|
|
6465
|
+
return ((H = T.response) === null || H === void 0 ? void 0 : H.status) === 409 || ((U = T.request) === null || U === void 0 ? void 0 : U.status) === 409 ? (console.log("Heimdall: Fetching token post 409 in fetch And Save Token"), F = { retryDelay: v, configs: f, api_params: g, appUI: y }, [4, u(m, h, F)]) : [3, 6];
|
|
6466
6466
|
case 5:
|
|
6467
|
-
if (
|
|
6467
|
+
if (G.sent(), h >= r.MAX_CONFLICT_RETRY_DELAY)
|
|
6468
6468
|
throw T;
|
|
6469
6469
|
return [3, 11];
|
|
6470
6470
|
case 6:
|
|
6471
|
-
if (!(((
|
|
6471
|
+
if (!(((Z = T.response) === null || Z === void 0 ? void 0 : Z.status) === 422 || (($ = T.request) === null || $ === void 0 ? void 0 : $.status) === 422)) return [3, 7];
|
|
6472
6472
|
throw console.log("ERROR: Throwing error", T.response.status), T;
|
|
6473
6473
|
case 7:
|
|
6474
|
-
return v <= r.MAX_RETRY_DELAY ? [4, new Promise(function(
|
|
6475
|
-
return setTimeout(
|
|
6474
|
+
return v <= r.MAX_RETRY_DELAY ? [4, new Promise(function(J) {
|
|
6475
|
+
return setTimeout(J, v);
|
|
6476
6476
|
})] : [3, 10];
|
|
6477
6477
|
case 8:
|
|
6478
|
-
return
|
|
6478
|
+
return G.sent(), v *= 2, console.log("Heimdall: Fetch token post doubling retry delay", v), [4, d(v, m, h, f, g, y)];
|
|
6479
6479
|
case 9:
|
|
6480
|
-
return
|
|
6480
|
+
return G.sent(), [3, 11];
|
|
6481
6481
|
case 10:
|
|
6482
6482
|
throw T;
|
|
6483
6483
|
case 11:
|
|
@@ -7146,7 +7146,7 @@ const p6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
|
|
|
7146
7146
|
&:hover svg {
|
|
7147
7147
|
transform: scale(1.1);
|
|
7148
7148
|
}
|
|
7149
|
-
`, E6 = A(
|
|
7149
|
+
`, E6 = A(Y)`
|
|
7150
7150
|
letter-spacing: 0.042px;
|
|
7151
7151
|
`, w6 = ({ rating: e, setRating: t, count: n = 5 }) => {
|
|
7152
7152
|
const [r, o] = V(e), i = r ?? e, s = (u) => {
|
|
@@ -7249,12 +7249,12 @@ const p6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
|
|
|
7249
7249
|
children: [
|
|
7250
7250
|
/* @__PURE__ */ l.jsxs(N, { width: "100%", direction: "row", gap: "8px", children: [
|
|
7251
7251
|
/* @__PURE__ */ l.jsx(Bb, {}),
|
|
7252
|
-
/* @__PURE__ */ l.jsxs(
|
|
7252
|
+
/* @__PURE__ */ l.jsxs(Q, { width: "175px", children: [
|
|
7253
7253
|
/* @__PURE__ */ l.jsx(E6, { variant: "h3", children: Gb }),
|
|
7254
7254
|
/* @__PURE__ */ l.jsx(w6, { rating: b, setRating: h })
|
|
7255
7255
|
] })
|
|
7256
7256
|
] }),
|
|
7257
|
-
/* @__PURE__ */ l.jsx(
|
|
7257
|
+
/* @__PURE__ */ l.jsx(Q, { position: "relative", children: /* @__PURE__ */ l.jsx(we, { title: "Close", children: /* @__PURE__ */ l.jsx(v6, { onClick: f, children: /* @__PURE__ */ l.jsx(Vb, { width: "16px", height: "16px" }) }) }) })
|
|
7258
7258
|
]
|
|
7259
7259
|
}
|
|
7260
7260
|
),
|
|
@@ -7296,9 +7296,9 @@ const p6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
|
|
|
7296
7296
|
`, k6 = A(rt.CalendarTodayOutlinedIcon)`
|
|
7297
7297
|
height: 16px;
|
|
7298
7298
|
width: 16px;
|
|
7299
|
-
`, D6 = A(
|
|
7299
|
+
`, D6 = A(Y)`
|
|
7300
7300
|
color: ${P.palette.gray.black};
|
|
7301
|
-
`, N6 = A(
|
|
7301
|
+
`, N6 = A(Y)`
|
|
7302
7302
|
color: ${P.palette.gray.gray2};
|
|
7303
7303
|
`, j6 = () => {
|
|
7304
7304
|
const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = je(Qe), [r, o] = V(() => !(localStorage.getItem(ic) === "true") && mt(e, B5));
|
|
@@ -7368,7 +7368,7 @@ const p6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
|
|
|
7368
7368
|
}, Sp = A(X1.Connector)`
|
|
7369
7369
|
width: 20px;
|
|
7370
7370
|
height: 20px;
|
|
7371
|
-
`, Xs = A(
|
|
7371
|
+
`, Xs = A(Y)`
|
|
7372
7372
|
text-align: left;
|
|
7373
7373
|
color: ${P.palette.gray.black};
|
|
7374
7374
|
`, Tp = A(Kg)`
|
|
@@ -7385,18 +7385,18 @@ const p6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
|
|
|
7385
7385
|
}
|
|
7386
7386
|
display: flex;
|
|
7387
7387
|
flex-direction: column;
|
|
7388
|
-
`, Z6 = A(
|
|
7388
|
+
`, Z6 = A(Q)`
|
|
7389
7389
|
flex-grow: 1;
|
|
7390
7390
|
overflow-y: auto;
|
|
7391
7391
|
overflow-x: hidden;
|
|
7392
7392
|
display: flex;
|
|
7393
7393
|
flex-direction: column;
|
|
7394
7394
|
`;
|
|
7395
|
-
A(
|
|
7395
|
+
A(Q)`
|
|
7396
7396
|
width: inherit;
|
|
7397
7397
|
height: inherit;
|
|
7398
7398
|
`;
|
|
7399
|
-
const z6 = A(
|
|
7399
|
+
const z6 = A(Q)`
|
|
7400
7400
|
margin-top: 12px;
|
|
7401
7401
|
border: 1px solid ${P.palette.gray.gray5};
|
|
7402
7402
|
border-radius: 8px;
|
|
@@ -7427,14 +7427,14 @@ const z6 = A(K)`
|
|
|
7427
7427
|
height: 16px;
|
|
7428
7428
|
flex-shrink: 0;
|
|
7429
7429
|
}
|
|
7430
|
-
`, Y6 = A(
|
|
7430
|
+
`, Y6 = A(Y)`
|
|
7431
7431
|
max-width: 150px;
|
|
7432
7432
|
min-width: 0;
|
|
7433
7433
|
letter-spacing: 0.5px;
|
|
7434
7434
|
text-overflow: ellipsis;
|
|
7435
7435
|
white-space: nowrap;
|
|
7436
7436
|
overflow: hidden;
|
|
7437
|
-
`, J6 = A(
|
|
7437
|
+
`, J6 = A(Q)`
|
|
7438
7438
|
box-sizing: border-box;
|
|
7439
7439
|
overflow-y: hidden;
|
|
7440
7440
|
height: ${(e) => e.height ? `${e.height}px` : "0px"};
|
|
@@ -7443,10 +7443,10 @@ const z6 = A(K)`
|
|
|
7443
7443
|
&.slideUp {
|
|
7444
7444
|
height: 0;
|
|
7445
7445
|
}
|
|
7446
|
-
`, q6 = A(
|
|
7446
|
+
`, q6 = A(Y)`
|
|
7447
7447
|
text-transform: uppercase;
|
|
7448
7448
|
color: ${P.palette.gray.gray3};
|
|
7449
|
-
`, Rp = A(
|
|
7449
|
+
`, Rp = A(Y)`
|
|
7450
7450
|
color: ${P.palette.gray.gray4};
|
|
7451
7451
|
overflow: hidden;
|
|
7452
7452
|
word-break: break-word;
|
|
@@ -7456,7 +7456,7 @@ const z6 = A(K)`
|
|
|
7456
7456
|
whitespace: nowrap;
|
|
7457
7457
|
cursor: pointer;
|
|
7458
7458
|
text-decoration: none;
|
|
7459
|
-
`, Q6 = A(
|
|
7459
|
+
`, Q6 = A(Y)`
|
|
7460
7460
|
&.ellipsisClass {
|
|
7461
7461
|
text-overflow: ellipsis;
|
|
7462
7462
|
white-space: nowrap;
|
|
@@ -7470,7 +7470,7 @@ const z6 = A(K)`
|
|
|
7470
7470
|
text-overflow: ellipsis;
|
|
7471
7471
|
-webkit-line-clamp: 3;
|
|
7472
7472
|
cursor: pointer;
|
|
7473
|
-
`, Vd = A(
|
|
7473
|
+
`, Vd = A(Y)`
|
|
7474
7474
|
display: -webkit-box;
|
|
7475
7475
|
-webkit-box-orient: vertical;
|
|
7476
7476
|
overflow: hidden;
|
|
@@ -7478,12 +7478,12 @@ const z6 = A(K)`
|
|
|
7478
7478
|
text-overflow: ellipsis;
|
|
7479
7479
|
-webkit-line-clamp: 3;
|
|
7480
7480
|
color: ${P.palette.gray.gray1};
|
|
7481
|
-
`, e9 = A(
|
|
7481
|
+
`, e9 = A(Q)`
|
|
7482
7482
|
display: flex;
|
|
7483
7483
|
flex-wrap: wrap;
|
|
7484
7484
|
gap: 4px;
|
|
7485
7485
|
margin-top: 2px;
|
|
7486
|
-
`, t9 = A(
|
|
7486
|
+
`, t9 = A(Q)`
|
|
7487
7487
|
display: inline-flex;
|
|
7488
7488
|
align-items: center;
|
|
7489
7489
|
max-width: 100%;
|
|
@@ -7495,7 +7495,7 @@ const z6 = A(K)`
|
|
|
7495
7495
|
line-height: 18px;
|
|
7496
7496
|
font-family: ${P.typography.fontFamily};
|
|
7497
7497
|
word-break: break-word;
|
|
7498
|
-
`, Cu = A(
|
|
7498
|
+
`, Cu = A(Q)`
|
|
7499
7499
|
position: relative;
|
|
7500
7500
|
top: 1px;
|
|
7501
7501
|
content: '';
|
|
@@ -7633,19 +7633,19 @@ const z6 = A(K)`
|
|
|
7633
7633
|
`, l9 = A("img")`
|
|
7634
7634
|
transition: transform 0.3s;
|
|
7635
7635
|
transform: rotate(${(e) => e.transformAngle}deg);
|
|
7636
|
-
`, u9 = A(
|
|
7636
|
+
`, u9 = A(Y)`
|
|
7637
7637
|
display: flex;
|
|
7638
7638
|
color: ${P.palette.blue.primary};
|
|
7639
7639
|
justify-content: flex-end;
|
|
7640
7640
|
align-items: center;
|
|
7641
7641
|
margin: 0 12px 12px 12px;
|
|
7642
7642
|
cursor: pointer;
|
|
7643
|
-
`, d9 = A(
|
|
7643
|
+
`, d9 = A(Y)`
|
|
7644
7644
|
display: flex;
|
|
7645
7645
|
align-items: center;
|
|
7646
7646
|
line-height: 28px;
|
|
7647
7647
|
font-weight: 600;
|
|
7648
|
-
`, f9 = A(
|
|
7648
|
+
`, f9 = A(Q)`
|
|
7649
7649
|
margin-top: 12px;
|
|
7650
7650
|
border: 1px solid ${em.gray.gray5};
|
|
7651
7651
|
border-radius: 4px;
|
|
@@ -7657,7 +7657,7 @@ const z6 = A(K)`
|
|
|
7657
7657
|
box-sizing: border-box;
|
|
7658
7658
|
height: 48px;
|
|
7659
7659
|
justify-content: space-between;
|
|
7660
|
-
`, h9 = A(
|
|
7660
|
+
`, h9 = A(Q)`
|
|
7661
7661
|
overflow: hidden;
|
|
7662
7662
|
transition: max-height 300ms;
|
|
7663
7663
|
&.slideUp {
|
|
@@ -7666,11 +7666,11 @@ const z6 = A(K)`
|
|
|
7666
7666
|
&.slideDown {
|
|
7667
7667
|
max-height: ${({ height: e }) => e ? `${e}px` : "0px"};
|
|
7668
7668
|
}
|
|
7669
|
-
`, g9 = A(
|
|
7669
|
+
`, g9 = A(Q)`
|
|
7670
7670
|
background-color: #f0f3ff99;
|
|
7671
7671
|
padding: 14px 12px 8px 12px;
|
|
7672
7672
|
box-sizing: border-box;
|
|
7673
|
-
`, m9 = A(
|
|
7673
|
+
`, m9 = A(Q)`
|
|
7674
7674
|
margin-bottom: 12px;
|
|
7675
7675
|
margin-top: 8px;
|
|
7676
7676
|
li {
|
|
@@ -7692,14 +7692,14 @@ const z6 = A(K)`
|
|
|
7692
7692
|
height: 28px;
|
|
7693
7693
|
max-width: 115px;
|
|
7694
7694
|
white-space: pre;
|
|
7695
|
-
`, v9 = A(
|
|
7695
|
+
`, v9 = A(Y)`
|
|
7696
7696
|
font-weight: 500;
|
|
7697
7697
|
height: 100%;
|
|
7698
|
-
`, y9 = A(
|
|
7698
|
+
`, y9 = A(Q)`
|
|
7699
7699
|
&:last-child {
|
|
7700
7700
|
margin-bottom: 16px;
|
|
7701
7701
|
}
|
|
7702
|
-
`, C9 = A(
|
|
7702
|
+
`, C9 = A(Y)`
|
|
7703
7703
|
white-space: nowrap;
|
|
7704
7704
|
overflow: hidden;
|
|
7705
7705
|
text-overflow: ellipsis;
|
|
@@ -7709,7 +7709,7 @@ const z6 = A(K)`
|
|
|
7709
7709
|
`, E9 = A(N)`
|
|
7710
7710
|
padding: 8px 16px;
|
|
7711
7711
|
color: ${P.palette.gray.black};
|
|
7712
|
-
`, w9 = A(
|
|
7712
|
+
`, w9 = A(Y)`
|
|
7713
7713
|
white-space: nowrap;
|
|
7714
7714
|
overflow: hidden;
|
|
7715
7715
|
text-overflow: ellipsis;
|
|
@@ -7772,8 +7772,8 @@ const z6 = A(K)`
|
|
|
7772
7772
|
const F = new IntersectionObserver(
|
|
7773
7773
|
(O) => {
|
|
7774
7774
|
const j = a.current;
|
|
7775
|
-
for (const
|
|
7776
|
-
j == null || j.classList.toggle(Ap,
|
|
7775
|
+
for (const H of O)
|
|
7776
|
+
j == null || j.classList.toggle(Ap, H.intersectionRatio === 0);
|
|
7777
7777
|
},
|
|
7778
7778
|
{
|
|
7779
7779
|
root: D
|
|
@@ -7901,11 +7901,11 @@ function A9() {
|
|
|
7901
7901
|
}
|
|
7902
7902
|
return w = O, O;
|
|
7903
7903
|
}
|
|
7904
|
-
var
|
|
7905
|
-
if (n(
|
|
7906
|
-
return
|
|
7907
|
-
var
|
|
7908
|
-
return v !== void 0 && v(
|
|
7904
|
+
var H = C, U = w;
|
|
7905
|
+
if (n(H, F))
|
|
7906
|
+
return U;
|
|
7907
|
+
var Z = b(F);
|
|
7908
|
+
return v !== void 0 && v(U, Z) ? U : (C = F, w = Z, Z);
|
|
7909
7909
|
}, I = p === void 0 ? null : p, T = function() {
|
|
7910
7910
|
return _(d());
|
|
7911
7911
|
}, D = I === null ? void 0 : function() {
|
|
@@ -9802,7 +9802,7 @@ function nv(e) {
|
|
|
9802
9802
|
f = I == null ? [] : f.filter((T) => T !== I), C();
|
|
9803
9803
|
}, _ = (I) => {
|
|
9804
9804
|
const { toastId: T, onOpen: D, updateId: F, children: O } = I.props, j = F == null;
|
|
9805
|
-
I.staleId && y.delete(I.staleId), y.set(T, I), f = [...f, I.props.toastId].filter((
|
|
9805
|
+
I.staleId && y.delete(I.staleId), y.set(T, I), f = [...f, I.props.toastId].filter((H) => H !== I.staleId), C(), b(r0(I, j ? "added" : "updated")), j && Xt(D) && D(Ao(O) && O.props);
|
|
9806
9806
|
};
|
|
9807
9807
|
return { id: d, props: x, observe: (I) => (E.add(I), () => E.delete(I)), toggle: (I, T) => {
|
|
9808
9808
|
y.forEach((D) => {
|
|
@@ -9812,29 +9812,29 @@ function nv(e) {
|
|
|
9812
9812
|
m -= h.length, h = [];
|
|
9813
9813
|
}, buildToast: (I, T) => {
|
|
9814
9814
|
if (((W) => {
|
|
9815
|
-
let { containerId:
|
|
9816
|
-
const re =
|
|
9815
|
+
let { containerId: K, toastId: k, updateId: q } = W;
|
|
9816
|
+
const re = K ? K !== d : d !== 1, ae = y.has(k) && q == null;
|
|
9817
9817
|
return re || ae;
|
|
9818
9818
|
})(T)) return;
|
|
9819
|
-
const { toastId: D, updateId: F, data: O, staleId: j, delay:
|
|
9819
|
+
const { toastId: D, updateId: F, data: O, staleId: j, delay: H } = T, U = () => {
|
|
9820
9820
|
w(D);
|
|
9821
|
-
},
|
|
9822
|
-
|
|
9823
|
-
const
|
|
9824
|
-
let [
|
|
9821
|
+
}, Z = F == null;
|
|
9822
|
+
Z && m++;
|
|
9823
|
+
const $ = { ...x, style: x.toastStyle, key: v++, ...Object.fromEntries(Object.entries(T).filter((W) => {
|
|
9824
|
+
let [K, k] = W;
|
|
9825
9825
|
return k != null;
|
|
9826
|
-
})), toastId: D, updateId: F, data: O, closeToast:
|
|
9827
|
-
const W = y.get(D), { onClose:
|
|
9828
|
-
Xt(
|
|
9826
|
+
})), toastId: D, updateId: F, data: O, closeToast: U, isIn: !1, className: Is(T.className || x.toastClassName), bodyClassName: Is(T.bodyClassName || x.bodyClassName), progressClassName: Is(T.progressClassName || x.progressClassName), autoClose: !T.isLoading && (G = T.autoClose, J = x.autoClose, G === !1 || ki(G) && G > 0 ? G : J), deleteToast() {
|
|
9827
|
+
const W = y.get(D), { onClose: K, children: k } = W.props;
|
|
9828
|
+
Xt(K) && K(Ao(k) && k.props), b(r0(W, "removed")), y.delete(D), m--, m < 0 && (m = 0), h.length > 0 ? _(h.shift()) : C();
|
|
9829
9829
|
} };
|
|
9830
|
-
var
|
|
9831
|
-
|
|
9830
|
+
var G, J;
|
|
9831
|
+
$.closeButton = x.closeButton, T.closeButton === !1 || Tl(T.closeButton) ? $.closeButton = T.closeButton : T.closeButton === !0 && ($.closeButton = !Tl(x.closeButton) || x.closeButton);
|
|
9832
9832
|
let ee = I;
|
|
9833
|
-
Ao(I) && !eo(I.type) ? ee = Dc(I, { closeToast:
|
|
9834
|
-
const ie = { content: ee, props:
|
|
9835
|
-
x.limit && x.limit > 0 && m > x.limit &&
|
|
9833
|
+
Ao(I) && !eo(I.type) ? ee = Dc(I, { closeToast: U, toastProps: $, data: O }) : Xt(I) && (ee = I({ closeToast: U, toastProps: $, data: O }));
|
|
9834
|
+
const ie = { content: ee, props: $, staleId: j };
|
|
9835
|
+
x.limit && x.limit > 0 && m > x.limit && Z ? h.push(ie) : ki(H) ? setTimeout(() => {
|
|
9836
9836
|
_(ie);
|
|
9837
|
-
},
|
|
9837
|
+
}, H) : _(ie);
|
|
9838
9838
|
}, setProps(I) {
|
|
9839
9839
|
x = I;
|
|
9840
9840
|
}, setToggle: (I, T) => {
|
|
@@ -9993,18 +9993,18 @@ const av = typeof window < "u" ? uo : oe, as = (e) => {
|
|
|
9993
9993
|
}, spinner: function() {
|
|
9994
9994
|
return Me.createElement("div", { className: "Toastify__spinner" });
|
|
9995
9995
|
} }, cv = (e) => {
|
|
9996
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = rv(e), { closeButton: s, children: a, autoClose: c, onClick: u, type: d, hideProgressBar: p, closeToast: b, transition: v, position: m, className: h, style: f, bodyClassName: g, bodyStyle: x, progressClassName: y, progressStyle: E, updateId: C, role: w, progress: _, rtl: I, toastId: T, deleteToast: D, isIn: F, isLoading: O, closeOnClick: j, theme:
|
|
9997
|
-
let { theme: W, type:
|
|
9998
|
-
const ae = { theme: W, type:
|
|
9999
|
-
return
|
|
10000
|
-
}(e),
|
|
9996
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = rv(e), { closeButton: s, children: a, autoClose: c, onClick: u, type: d, hideProgressBar: p, closeToast: b, transition: v, position: m, className: h, style: f, bodyClassName: g, bodyStyle: x, progressClassName: y, progressStyle: E, updateId: C, role: w, progress: _, rtl: I, toastId: T, deleteToast: D, isIn: F, isLoading: O, closeOnClick: j, theme: H } = e, U = br("Toastify__toast", `Toastify__toast-theme--${H}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": I }, { "Toastify__toast--close-on-click": j }), Z = Xt(h) ? h({ rtl: I, position: m, type: d, defaultClassName: U }) : br(U, h), $ = function(ie) {
|
|
9997
|
+
let { theme: W, type: K, isLoading: k, icon: q } = ie, re = null;
|
|
9998
|
+
const ae = { theme: W, type: K };
|
|
9999
|
+
return q === !1 || (Xt(q) ? re = q({ ...ae, isLoading: k }) : Ao(q) ? re = Dc(q, ae) : k ? re = pc.spinner() : ((he) => he in pc)(K) && (re = pc[K](ae))), re;
|
|
10000
|
+
}(e), G = !!_ || !c, J = { closeToast: b, type: d, theme: H };
|
|
10001
10001
|
let ee = null;
|
|
10002
|
-
return s === !1 || (ee = Xt(s) ? s(
|
|
10003
|
-
let { closeToast: W, theme:
|
|
10004
|
-
return Me.createElement("button", { className: `Toastify__close-button Toastify__close-button--${
|
|
10005
|
-
|
|
10002
|
+
return s === !1 || (ee = Xt(s) ? s(J) : Ao(s) ? Dc(s, J) : function(ie) {
|
|
10003
|
+
let { closeToast: W, theme: K, ariaLabel: k = "close" } = ie;
|
|
10004
|
+
return Me.createElement("button", { className: `Toastify__close-button Toastify__close-button--${K}`, type: "button", onClick: (q) => {
|
|
10005
|
+
q.stopPropagation(), W(q);
|
|
10006
10006
|
}, "aria-label": k }, Me.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Me.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" })));
|
|
10007
|
-
}(
|
|
10007
|
+
}(J)), Me.createElement(v, { isIn: F, done: D, position: m, preventExitTransition: n, nodeRef: r, playToast: i }, Me.createElement("div", { id: T, onClick: u, "data-in": F, className: Z, ...o, style: f, ref: r }, Me.createElement("div", { ...F && { role: w }, className: Xt(g) ? g({ type: d }) : br("Toastify__toast-body", g), style: x }, $ != null && Me.createElement("div", { className: br("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !O }) }, $), Me.createElement("div", null, a)), ee, Me.createElement(ov, { ...C && !G ? { key: `pb-${C}` } : {}, rtl: I, theme: H, delay: c, isRunning: t, isIn: F, closeToast: b, hide: p, type: d, style: E, className: y, controlledProgress: G, progress: _ || 0 })));
|
|
10008
10008
|
}, Da = function(e, t) {
|
|
10009
10009
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
10010
10010
|
}, lv = ka(Da("bounce", !0));
|
|
@@ -10044,11 +10044,11 @@ function dv(e) {
|
|
|
10044
10044
|
}));
|
|
10045
10045
|
}));
|
|
10046
10046
|
}
|
|
10047
|
-
const fv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", pv = A(
|
|
10047
|
+
const fv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", pv = A(Q)`
|
|
10048
10048
|
display: flex;
|
|
10049
10049
|
flex-direction: row;
|
|
10050
10050
|
align-items: center;
|
|
10051
|
-
`, hv = A(
|
|
10051
|
+
`, hv = A(Q)`
|
|
10052
10052
|
padding: 5px 8px;
|
|
10053
10053
|
color: white;
|
|
10054
10054
|
`, gv = A(X1.Logo)(() => ({
|
|
@@ -10069,7 +10069,7 @@ const fv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
10069
10069
|
`, bv = (e, { closeToast: t }) => /* @__PURE__ */ l.jsx(mv, { children: /* @__PURE__ */ l.jsx("img", { src: fv, onClick: t }) }), cs = ({ message: e }) => /* @__PURE__ */ l.jsxs(pv, { children: [
|
|
10070
10070
|
/* @__PURE__ */ l.jsx(gv, {}),
|
|
10071
10071
|
/* @__PURE__ */ l.jsx(hv, { children: e })
|
|
10072
|
-
] }), Na = A(
|
|
10072
|
+
] }), Na = A(Q)`
|
|
10073
10073
|
height: inherit;
|
|
10074
10074
|
.MuiScopedCssBaseline-root {
|
|
10075
10075
|
height: inherit;
|
|
@@ -10177,7 +10177,7 @@ const fv = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
10177
10177
|
[hidden] {
|
|
10178
10178
|
display: none;
|
|
10179
10179
|
}
|
|
10180
|
-
`, xv = A(
|
|
10180
|
+
`, xv = A(Q)`
|
|
10181
10181
|
:root {
|
|
10182
10182
|
--toastify-color-light: #fff;
|
|
10183
10183
|
--toastify-color-dark: #121212;
|
|
@@ -11477,24 +11477,24 @@ function Cn(e, t) {
|
|
|
11477
11477
|
}
|
|
11478
11478
|
var uy = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
11479
11479
|
function Su(e) {
|
|
11480
|
-
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, a = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, p = e.onMenuClose, b = e.onMenuOpen, v = e.value, m = Cn(e, uy), h = V(a !== void 0 ? a : n), f = gt(h, 2), g = f[0], x = f[1], y = V(c !== void 0 ? c : o), E = gt(y, 2), C = E[0], w = E[1], _ = V(v !== void 0 ? v : s), I = gt(_, 2), T = I[0], D = I[1], F = Ae(function(
|
|
11481
|
-
typeof u == "function" && u(
|
|
11482
|
-
}, [u]), O = Ae(function(
|
|
11480
|
+
var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, a = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, p = e.onMenuClose, b = e.onMenuOpen, v = e.value, m = Cn(e, uy), h = V(a !== void 0 ? a : n), f = gt(h, 2), g = f[0], x = f[1], y = V(c !== void 0 ? c : o), E = gt(y, 2), C = E[0], w = E[1], _ = V(v !== void 0 ? v : s), I = gt(_, 2), T = I[0], D = I[1], F = Ae(function(G, J) {
|
|
11481
|
+
typeof u == "function" && u(G, J), D(G);
|
|
11482
|
+
}, [u]), O = Ae(function(G, J) {
|
|
11483
11483
|
var ee;
|
|
11484
|
-
typeof d == "function" && (ee = d(
|
|
11484
|
+
typeof d == "function" && (ee = d(G, J)), x(ee !== void 0 ? ee : G);
|
|
11485
11485
|
}, [d]), j = Ae(function() {
|
|
11486
11486
|
typeof b == "function" && b(), w(!0);
|
|
11487
|
-
}, [b]),
|
|
11487
|
+
}, [b]), H = Ae(function() {
|
|
11488
11488
|
typeof p == "function" && p(), w(!1);
|
|
11489
|
-
}, [p]),
|
|
11489
|
+
}, [p]), U = a !== void 0 ? a : g, Z = c !== void 0 ? c : C, $ = v !== void 0 ? v : T;
|
|
11490
11490
|
return pe(pe({}, m), {}, {
|
|
11491
|
-
inputValue:
|
|
11492
|
-
menuIsOpen:
|
|
11491
|
+
inputValue: U,
|
|
11492
|
+
menuIsOpen: Z,
|
|
11493
11493
|
onChange: F,
|
|
11494
11494
|
onInputChange: O,
|
|
11495
|
-
onMenuClose:
|
|
11495
|
+
onMenuClose: H,
|
|
11496
11496
|
onMenuOpen: j,
|
|
11497
|
-
value:
|
|
11497
|
+
value: $
|
|
11498
11498
|
});
|
|
11499
11499
|
}
|
|
11500
11500
|
function xe() {
|
|
@@ -12231,16 +12231,16 @@ var m0;
|
|
|
12231
12231
|
function Ky() {
|
|
12232
12232
|
return m0 || (m0 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
12233
12233
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
12234
|
-
function y(
|
|
12235
|
-
return typeof
|
|
12236
|
-
|
|
12234
|
+
function y(X) {
|
|
12235
|
+
return typeof X == "string" || typeof X == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
12236
|
+
X === r || X === u || X === i || X === o || X === p || X === b || typeof X == "object" && X !== null && (X.$$typeof === m || X.$$typeof === v || X.$$typeof === s || X.$$typeof === a || X.$$typeof === d || X.$$typeof === f || X.$$typeof === g || X.$$typeof === x || X.$$typeof === h);
|
|
12237
12237
|
}
|
|
12238
|
-
function E(
|
|
12239
|
-
if (typeof
|
|
12240
|
-
var Ye =
|
|
12238
|
+
function E(X) {
|
|
12239
|
+
if (typeof X == "object" && X !== null) {
|
|
12240
|
+
var Ye = X.$$typeof;
|
|
12241
12241
|
switch (Ye) {
|
|
12242
12242
|
case t:
|
|
12243
|
-
var et =
|
|
12243
|
+
var et = X.type;
|
|
12244
12244
|
switch (et) {
|
|
12245
12245
|
case c:
|
|
12246
12246
|
case u:
|
|
@@ -12267,47 +12267,47 @@ function Ky() {
|
|
|
12267
12267
|
}
|
|
12268
12268
|
}
|
|
12269
12269
|
}
|
|
12270
|
-
var C = c, w = u, _ = a, I = s, T = t, D = d, F = r, O = m, j = v,
|
|
12271
|
-
function
|
|
12272
|
-
return
|
|
12270
|
+
var C = c, w = u, _ = a, I = s, T = t, D = d, F = r, O = m, j = v, H = n, U = i, Z = o, $ = p, G = !1;
|
|
12271
|
+
function J(X) {
|
|
12272
|
+
return G || (G = !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.")), ee(X) || E(X) === c;
|
|
12273
12273
|
}
|
|
12274
|
-
function ee(
|
|
12275
|
-
return E(
|
|
12274
|
+
function ee(X) {
|
|
12275
|
+
return E(X) === u;
|
|
12276
12276
|
}
|
|
12277
|
-
function ie(
|
|
12278
|
-
return E(
|
|
12277
|
+
function ie(X) {
|
|
12278
|
+
return E(X) === a;
|
|
12279
12279
|
}
|
|
12280
|
-
function W(
|
|
12281
|
-
return E(
|
|
12280
|
+
function W(X) {
|
|
12281
|
+
return E(X) === s;
|
|
12282
12282
|
}
|
|
12283
|
-
function
|
|
12284
|
-
return typeof
|
|
12283
|
+
function K(X) {
|
|
12284
|
+
return typeof X == "object" && X !== null && X.$$typeof === t;
|
|
12285
12285
|
}
|
|
12286
|
-
function k(
|
|
12287
|
-
return E(
|
|
12286
|
+
function k(X) {
|
|
12287
|
+
return E(X) === d;
|
|
12288
12288
|
}
|
|
12289
|
-
function
|
|
12290
|
-
return E(
|
|
12289
|
+
function q(X) {
|
|
12290
|
+
return E(X) === r;
|
|
12291
12291
|
}
|
|
12292
|
-
function re(
|
|
12293
|
-
return E(
|
|
12292
|
+
function re(X) {
|
|
12293
|
+
return E(X) === m;
|
|
12294
12294
|
}
|
|
12295
|
-
function ae(
|
|
12296
|
-
return E(
|
|
12295
|
+
function ae(X) {
|
|
12296
|
+
return E(X) === v;
|
|
12297
12297
|
}
|
|
12298
|
-
function he(
|
|
12299
|
-
return E(
|
|
12298
|
+
function he(X) {
|
|
12299
|
+
return E(X) === n;
|
|
12300
12300
|
}
|
|
12301
|
-
function M(
|
|
12302
|
-
return E(
|
|
12301
|
+
function M(X) {
|
|
12302
|
+
return E(X) === i;
|
|
12303
12303
|
}
|
|
12304
|
-
function le(
|
|
12305
|
-
return E(
|
|
12304
|
+
function le(X) {
|
|
12305
|
+
return E(X) === o;
|
|
12306
12306
|
}
|
|
12307
|
-
function Oe(
|
|
12308
|
-
return E(
|
|
12307
|
+
function Oe(X) {
|
|
12308
|
+
return E(X) === p;
|
|
12309
12309
|
}
|
|
12310
|
-
ze.AsyncMode = C, ze.ConcurrentMode = w, ze.ContextConsumer = _, ze.ContextProvider = I, ze.Element = T, ze.ForwardRef = D, ze.Fragment = F, ze.Lazy = O, ze.Memo = j, ze.Portal =
|
|
12310
|
+
ze.AsyncMode = C, ze.ConcurrentMode = w, ze.ContextConsumer = _, ze.ContextProvider = I, ze.Element = T, ze.ForwardRef = D, ze.Fragment = F, ze.Lazy = O, ze.Memo = j, ze.Portal = H, ze.Profiler = U, ze.StrictMode = Z, ze.Suspense = $, ze.isAsyncMode = J, ze.isConcurrentMode = ee, ze.isContextConsumer = ie, ze.isContextProvider = W, ze.isElement = K, ze.isForwardRef = k, ze.isFragment = q, ze.isLazy = re, ze.isMemo = ae, ze.isPortal = he, ze.isProfiler = M, ze.isStrictMode = le, ze.isSuspense = Oe, ze.isValidElementType = y, ze.typeOf = E;
|
|
12311
12311
|
}()), ze;
|
|
12312
12312
|
}
|
|
12313
12313
|
process.env.NODE_ENV === "production" ? jl.exports = qy() : jl.exports = Ky();
|
|
@@ -13027,10 +13027,10 @@ function Q8(e) {
|
|
|
13027
13027
|
};
|
|
13028
13028
|
}
|
|
13029
13029
|
if (o === "auto" || s) {
|
|
13030
|
-
var
|
|
13031
|
-
return
|
|
13030
|
+
var H = t, U = s ? w : I;
|
|
13031
|
+
return U >= r && (H = Math.min(U - E - a, t)), {
|
|
13032
13032
|
placement: "top",
|
|
13033
|
-
maxHeight:
|
|
13033
|
+
maxHeight: H
|
|
13034
13034
|
};
|
|
13035
13035
|
}
|
|
13036
13036
|
if (o === "bottom")
|
|
@@ -13051,10 +13051,10 @@ function Q8(e) {
|
|
|
13051
13051
|
maxHeight: t
|
|
13052
13052
|
};
|
|
13053
13053
|
if (!s && I >= r || s && w >= r) {
|
|
13054
|
-
var
|
|
13055
|
-
return (!s && I >= r || s && w >= r) && (
|
|
13054
|
+
var Z = t;
|
|
13055
|
+
return (!s && I >= r || s && w >= r) && (Z = s ? w - C : I - C), i && ds(c, F, O), {
|
|
13056
13056
|
placement: "top",
|
|
13057
|
-
maxHeight:
|
|
13057
|
+
maxHeight: Z
|
|
13058
13058
|
};
|
|
13059
13059
|
}
|
|
13060
13060
|
return {
|
|
@@ -13781,55 +13781,55 @@ var g7 = process.env.NODE_ENV === "production" ? {
|
|
|
13781
13781
|
var n = t.ariaSelection, r = t.focusedOption, o = t.focusedValue, i = t.focusableOptions, s = t.isFocused, a = t.selectValue, c = t.selectProps, u = t.id, d = t.isAppleDevice, p = c.ariaLiveMessages, b = c.getOptionLabel, v = c.inputValue, m = c.isMulti, h = c.isOptionDisabled, f = c.isSearchable, g = c.menuIsOpen, x = c.options, y = c.screenReaderStatus, E = c.tabSelectsValue, C = c.isLoading, w = c["aria-label"], _ = c["aria-live"], I = fe(function() {
|
|
13782
13782
|
return pe(pe({}, b7), p || {});
|
|
13783
13783
|
}, [p]), T = fe(function() {
|
|
13784
|
-
var
|
|
13784
|
+
var U = "";
|
|
13785
13785
|
if (n && I.onChange) {
|
|
13786
|
-
var
|
|
13786
|
+
var Z = n.option, $ = n.options, G = n.removedValue, J = n.removedValues, ee = n.value, ie = function(he) {
|
|
13787
13787
|
return Array.isArray(he) ? null : he;
|
|
13788
|
-
}, W =
|
|
13788
|
+
}, W = G || Z || ie(ee), K = W ? b(W) : "", k = $ || J || void 0, q = k ? k.map(b) : [], re = pe({
|
|
13789
13789
|
// multiSelected items are usually items that have already been selected
|
|
13790
13790
|
// or set by the user as a default value so we assume they are not disabled
|
|
13791
13791
|
isDisabled: W && h(W, a),
|
|
13792
|
-
label:
|
|
13793
|
-
labels:
|
|
13792
|
+
label: K,
|
|
13793
|
+
labels: q
|
|
13794
13794
|
}, n);
|
|
13795
|
-
|
|
13795
|
+
U = I.onChange(re);
|
|
13796
13796
|
}
|
|
13797
|
-
return
|
|
13797
|
+
return U;
|
|
13798
13798
|
}, [n, I, h, a, b]), D = fe(function() {
|
|
13799
|
-
var
|
|
13800
|
-
if (
|
|
13801
|
-
var
|
|
13802
|
-
focused:
|
|
13803
|
-
label: b(
|
|
13804
|
-
isDisabled: h(
|
|
13805
|
-
isSelected:
|
|
13799
|
+
var U = "", Z = r || o, $ = !!(r && a && a.includes(r));
|
|
13800
|
+
if (Z && I.onFocus) {
|
|
13801
|
+
var G = {
|
|
13802
|
+
focused: Z,
|
|
13803
|
+
label: b(Z),
|
|
13804
|
+
isDisabled: h(Z, a),
|
|
13805
|
+
isSelected: $,
|
|
13806
13806
|
options: i,
|
|
13807
|
-
context:
|
|
13807
|
+
context: Z === r ? "menu" : "value",
|
|
13808
13808
|
selectValue: a,
|
|
13809
13809
|
isAppleDevice: d
|
|
13810
13810
|
};
|
|
13811
|
-
|
|
13811
|
+
U = I.onFocus(G);
|
|
13812
13812
|
}
|
|
13813
|
-
return
|
|
13813
|
+
return U;
|
|
13814
13814
|
}, [r, o, b, h, I, i, a, d]), F = fe(function() {
|
|
13815
|
-
var
|
|
13815
|
+
var U = "";
|
|
13816
13816
|
if (g && x.length && !C && I.onFilter) {
|
|
13817
|
-
var
|
|
13817
|
+
var Z = y({
|
|
13818
13818
|
count: i.length
|
|
13819
13819
|
});
|
|
13820
|
-
|
|
13820
|
+
U = I.onFilter({
|
|
13821
13821
|
inputValue: v,
|
|
13822
|
-
resultsMessage:
|
|
13822
|
+
resultsMessage: Z
|
|
13823
13823
|
});
|
|
13824
13824
|
}
|
|
13825
|
-
return
|
|
13825
|
+
return U;
|
|
13826
13826
|
}, [i, v, g, I, x, y, C]), O = (n == null ? void 0 : n.action) === "initial-input-focus", j = fe(function() {
|
|
13827
|
-
var
|
|
13827
|
+
var U = "";
|
|
13828
13828
|
if (I.guidance) {
|
|
13829
|
-
var
|
|
13830
|
-
|
|
13829
|
+
var Z = o ? "value" : g ? "menu" : "input";
|
|
13830
|
+
U = I.guidance({
|
|
13831
13831
|
"aria-label": w,
|
|
13832
|
-
context:
|
|
13832
|
+
context: Z,
|
|
13833
13833
|
isDisabled: r && h(r, a),
|
|
13834
13834
|
isMulti: m,
|
|
13835
13835
|
isSearchable: f,
|
|
@@ -13837,8 +13837,8 @@ var g7 = process.env.NODE_ENV === "production" ? {
|
|
|
13837
13837
|
isInitialFocus: O
|
|
13838
13838
|
});
|
|
13839
13839
|
}
|
|
13840
|
-
return
|
|
13841
|
-
}, [w, r, o, m, h, f, g, I, a, E, O]),
|
|
13840
|
+
return U;
|
|
13841
|
+
}, [w, r, o, m, h, f, g, I, a, E, O]), H = be(Nc, null, be("span", {
|
|
13842
13842
|
id: "aria-selection"
|
|
13843
13843
|
}, T), be("span", {
|
|
13844
13844
|
id: "aria-focused"
|
|
@@ -13849,12 +13849,12 @@ var g7 = process.env.NODE_ENV === "production" ? {
|
|
|
13849
13849
|
}, j));
|
|
13850
13850
|
return be(Nc, null, be(S0, {
|
|
13851
13851
|
id: u
|
|
13852
|
-
}, O &&
|
|
13852
|
+
}, O && H), be(S0, {
|
|
13853
13853
|
"aria-live": _,
|
|
13854
13854
|
"aria-atomic": "false",
|
|
13855
13855
|
"aria-relevant": "additions text",
|
|
13856
13856
|
role: "log"
|
|
13857
|
-
}, s && !O &&
|
|
13857
|
+
}, s && !O && H));
|
|
13858
13858
|
}, v7 = x7, Vl = [{
|
|
13859
13859
|
base: "A",
|
|
13860
13860
|
letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
|
|
@@ -15229,18 +15229,18 @@ var u2 = function(t) {
|
|
|
15229
15229
|
}, {
|
|
15230
15230
|
key: "renderMenu",
|
|
15231
15231
|
value: function() {
|
|
15232
|
-
var o = this, i = this.getComponents(), s = i.Group, a = i.GroupHeading, c = i.Menu, u = i.MenuList, d = i.MenuPortal, p = i.LoadingMessage, b = i.NoOptionsMessage, v = i.Option, m = this.commonProps, h = this.state.focusedOption, f = this.props, g = f.captureMenuScroll, x = f.inputValue, y = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, w = f.maxMenuHeight, _ = f.menuIsOpen, I = f.menuPlacement, T = f.menuPosition, D = f.menuPortalTarget, F = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, j = f.noOptionsMessage,
|
|
15232
|
+
var o = this, i = this.getComponents(), s = i.Group, a = i.GroupHeading, c = i.Menu, u = i.MenuList, d = i.MenuPortal, p = i.LoadingMessage, b = i.NoOptionsMessage, v = i.Option, m = this.commonProps, h = this.state.focusedOption, f = this.props, g = f.captureMenuScroll, x = f.inputValue, y = f.isLoading, E = f.loadingMessage, C = f.minMenuHeight, w = f.maxMenuHeight, _ = f.menuIsOpen, I = f.menuPlacement, T = f.menuPosition, D = f.menuPortalTarget, F = f.menuShouldBlockScroll, O = f.menuShouldScrollIntoView, j = f.noOptionsMessage, H = f.onMenuScrollToTop, U = f.onMenuScrollToBottom;
|
|
15233
15233
|
if (!_) return null;
|
|
15234
|
-
var
|
|
15235
|
-
var
|
|
15234
|
+
var Z = function(K, k) {
|
|
15235
|
+
var q = K.type, re = K.data, ae = K.isDisabled, he = K.isSelected, M = K.label, le = K.value, Oe = h === re, X = ae ? void 0 : function() {
|
|
15236
15236
|
return o.onOptionHover(re);
|
|
15237
15237
|
}, Ye = ae ? void 0 : function() {
|
|
15238
15238
|
return o.selectOption(re);
|
|
15239
15239
|
}, et = "".concat(o.getElementId("option"), "-").concat(k), Ne = {
|
|
15240
15240
|
id: et,
|
|
15241
15241
|
onClick: Ye,
|
|
15242
|
-
onMouseMove:
|
|
15243
|
-
onMouseOver:
|
|
15242
|
+
onMouseMove: X,
|
|
15243
|
+
onMouseOver: X,
|
|
15244
15244
|
tabIndex: -1,
|
|
15245
15245
|
role: "option",
|
|
15246
15246
|
"aria-selected": o.isAppleDevice ? void 0 : he
|
|
@@ -15253,19 +15253,19 @@ var u2 = function(t) {
|
|
|
15253
15253
|
isSelected: he,
|
|
15254
15254
|
key: et,
|
|
15255
15255
|
label: M,
|
|
15256
|
-
type:
|
|
15256
|
+
type: q,
|
|
15257
15257
|
value: le,
|
|
15258
15258
|
isFocused: Oe,
|
|
15259
15259
|
innerRef: Oe ? o.getFocusedOptionRef : void 0
|
|
15260
|
-
}), o.formatOptionLabel(
|
|
15261
|
-
},
|
|
15260
|
+
}), o.formatOptionLabel(K.data, "menu"));
|
|
15261
|
+
}, $;
|
|
15262
15262
|
if (this.hasOptions())
|
|
15263
|
-
|
|
15263
|
+
$ = this.getCategorizedOptions().map(function(W) {
|
|
15264
15264
|
if (W.type === "group") {
|
|
15265
|
-
var
|
|
15265
|
+
var K = W.data, k = W.options, q = W.index, re = "".concat(o.getElementId("group"), "-").concat(q), ae = "".concat(re, "-heading");
|
|
15266
15266
|
return /* @__PURE__ */ S.createElement(s, xe({}, m, {
|
|
15267
15267
|
key: re,
|
|
15268
|
-
data:
|
|
15268
|
+
data: K,
|
|
15269
15269
|
options: k,
|
|
15270
15270
|
Heading: a,
|
|
15271
15271
|
headingProps: {
|
|
@@ -15274,23 +15274,23 @@ var u2 = function(t) {
|
|
|
15274
15274
|
},
|
|
15275
15275
|
label: o.formatGroupLabel(W.data)
|
|
15276
15276
|
}), W.options.map(function(he) {
|
|
15277
|
-
return
|
|
15277
|
+
return Z(he, "".concat(q, "-").concat(he.index));
|
|
15278
15278
|
}));
|
|
15279
15279
|
} else if (W.type === "option")
|
|
15280
|
-
return
|
|
15280
|
+
return Z(W, "".concat(W.index));
|
|
15281
15281
|
});
|
|
15282
15282
|
else if (y) {
|
|
15283
|
-
var
|
|
15283
|
+
var G = E({
|
|
15284
15284
|
inputValue: x
|
|
15285
15285
|
});
|
|
15286
|
-
if (
|
|
15287
|
-
|
|
15286
|
+
if (G === null) return null;
|
|
15287
|
+
$ = /* @__PURE__ */ S.createElement(p, m, G);
|
|
15288
15288
|
} else {
|
|
15289
|
-
var
|
|
15289
|
+
var J = j({
|
|
15290
15290
|
inputValue: x
|
|
15291
15291
|
});
|
|
15292
|
-
if (
|
|
15293
|
-
|
|
15292
|
+
if (J === null) return null;
|
|
15293
|
+
$ = /* @__PURE__ */ S.createElement(b, m, J);
|
|
15294
15294
|
}
|
|
15295
15295
|
var ee = {
|
|
15296
15296
|
minMenuHeight: C,
|
|
@@ -15299,19 +15299,19 @@ var u2 = function(t) {
|
|
|
15299
15299
|
menuPosition: T,
|
|
15300
15300
|
menuShouldScrollIntoView: O
|
|
15301
15301
|
}, ie = /* @__PURE__ */ S.createElement(nC, xe({}, m, ee), function(W) {
|
|
15302
|
-
var
|
|
15302
|
+
var K = W.ref, k = W.placerProps, q = k.placement, re = k.maxHeight;
|
|
15303
15303
|
return /* @__PURE__ */ S.createElement(c, xe({}, m, ee, {
|
|
15304
|
-
innerRef:
|
|
15304
|
+
innerRef: K,
|
|
15305
15305
|
innerProps: {
|
|
15306
15306
|
onMouseDown: o.onMenuMouseDown,
|
|
15307
15307
|
onMouseMove: o.onMenuMouseMove
|
|
15308
15308
|
},
|
|
15309
15309
|
isLoading: y,
|
|
15310
|
-
placement:
|
|
15310
|
+
placement: q
|
|
15311
15311
|
}), /* @__PURE__ */ S.createElement(F7, {
|
|
15312
15312
|
captureEnabled: g,
|
|
15313
|
-
onTopArrive:
|
|
15314
|
-
onBottomArrive:
|
|
15313
|
+
onTopArrive: H,
|
|
15314
|
+
onBottomArrive: U,
|
|
15315
15315
|
lockEnabled: F
|
|
15316
15316
|
}, function(ae) {
|
|
15317
15317
|
return /* @__PURE__ */ S.createElement(u, xe({}, m, {
|
|
@@ -15326,7 +15326,7 @@ var u2 = function(t) {
|
|
|
15326
15326
|
isLoading: y,
|
|
15327
15327
|
maxHeight: re,
|
|
15328
15328
|
focusedOption: h
|
|
15329
|
-
}),
|
|
15329
|
+
}), $);
|
|
15330
15330
|
}));
|
|
15331
15331
|
});
|
|
15332
15332
|
return D || T === "fixed" ? /* @__PURE__ */ S.createElement(d, xe({}, m, {
|
|
@@ -15460,7 +15460,7 @@ var eE = /* @__PURE__ */ fa(function(e, t) {
|
|
|
15460
15460
|
ref: t
|
|
15461
15461
|
}, n));
|
|
15462
15462
|
}), tE = eE;
|
|
15463
|
-
const nE = A(
|
|
15463
|
+
const nE = A(Q)`
|
|
15464
15464
|
display: flex;
|
|
15465
15465
|
align-items: center;
|
|
15466
15466
|
width: 100%;
|
|
@@ -15489,7 +15489,7 @@ function f2(e) {
|
|
|
15489
15489
|
n ? /* @__PURE__ */ l.jsx(d2, { fill: "#97A3B7", style: { marginLeft: "auto", flexShrink: 0 } }) : null
|
|
15490
15490
|
] }) });
|
|
15491
15491
|
}
|
|
15492
|
-
const oE = A(
|
|
15492
|
+
const oE = A(Q)`
|
|
15493
15493
|
height: 24px;
|
|
15494
15494
|
width: 24px;
|
|
15495
15495
|
border-radius: 50%;
|
|
@@ -15514,7 +15514,7 @@ const oE = A(K)`
|
|
|
15514
15514
|
&:after {
|
|
15515
15515
|
transform: rotate(-45deg);
|
|
15516
15516
|
}
|
|
15517
|
-
`, p2 = (e) => /* @__PURE__ */ l.jsx(En.ClearIndicator, { ...e, children: /* @__PURE__ */ l.jsx(oE, {}) }), iE = A(
|
|
15517
|
+
`, p2 = (e) => /* @__PURE__ */ l.jsx(En.ClearIndicator, { ...e, children: /* @__PURE__ */ l.jsx(oE, {}) }), iE = A(Q)`
|
|
15518
15518
|
position: relative;
|
|
15519
15519
|
height: 14px;
|
|
15520
15520
|
width: 14px;
|
|
@@ -15697,7 +15697,7 @@ var x2 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(x2 || {}), uE = ["d
|
|
|
15697
15697
|
function v2(e) {
|
|
15698
15698
|
var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
|
|
15699
15699
|
e.options;
|
|
15700
|
-
var s = e.isLoading, a = s === void 0 ? !1 : s, c = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, p = Cn(e, uE), b = p.inputValue, v = ge(void 0), m = ge(!1), h = V(Array.isArray(n) ? n : void 0), f = gt(h, 2), g = f[0], x = f[1], y = V(typeof b < "u" ? b : ""), E = gt(y, 2), C = E[0], w = E[1], _ = V(n === !0), I = gt(_, 2), T = I[0], D = I[1], F = V(void 0), O = gt(F, 2), j = O[0],
|
|
15700
|
+
var s = e.isLoading, a = s === void 0 ? !1 : s, c = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, p = Cn(e, uE), b = p.inputValue, v = ge(void 0), m = ge(!1), h = V(Array.isArray(n) ? n : void 0), f = gt(h, 2), g = f[0], x = f[1], y = V(typeof b < "u" ? b : ""), E = gt(y, 2), C = E[0], w = E[1], _ = V(n === !0), I = gt(_, 2), T = I[0], D = I[1], F = V(void 0), O = gt(F, 2), j = O[0], H = O[1], U = V([]), Z = gt(U, 2), $ = Z[0], G = Z[1], J = V(!1), ee = gt(J, 2), ie = ee[0], W = ee[1], K = V({}), k = gt(K, 2), q = k[0], re = k[1], ae = V(void 0), he = gt(ae, 2), M = he[0], le = he[1], Oe = V(void 0), X = gt(Oe, 2), Ye = X[0], et = X[1];
|
|
15701
15701
|
o !== Ye && (re({}), et(o)), n !== M && (x(Array.isArray(n) ? n : void 0), le(n)), oe(function() {
|
|
15702
15702
|
return m.current = !0, function() {
|
|
15703
15703
|
m.current = !1;
|
|
@@ -15718,18 +15718,18 @@ function v2(e) {
|
|
|
15718
15718
|
var Wt = Ae(function(xt, ht) {
|
|
15719
15719
|
var Ke = V8(xt, ht, c);
|
|
15720
15720
|
if (!Ke) {
|
|
15721
|
-
v.current = void 0, w(""),
|
|
15721
|
+
v.current = void 0, w(""), H(""), G([]), D(!1), W(!1);
|
|
15722
15722
|
return;
|
|
15723
15723
|
}
|
|
15724
|
-
if (o &&
|
|
15725
|
-
w(Ke),
|
|
15724
|
+
if (o && q[Ke])
|
|
15725
|
+
w(Ke), H(Ke), G(q[Ke]), D(!1), W(!1);
|
|
15726
15726
|
else {
|
|
15727
15727
|
var Kn = v.current = {};
|
|
15728
15728
|
w(Ke), D(!0), W(!j), Ne(Ke, function(en) {
|
|
15729
|
-
m && Kn === v.current && (v.current = void 0, D(!1),
|
|
15729
|
+
m && Kn === v.current && (v.current = void 0, D(!1), H(Ke), G(en || []), W(!1), re(en ? pe(pe({}, q), {}, _o({}, Ke, en)) : q));
|
|
15730
15730
|
});
|
|
15731
15731
|
}
|
|
15732
|
-
}, [o, Ne, j,
|
|
15732
|
+
}, [o, Ne, j, q, c]), wn = ie ? [] : C && j ? $ : g || [];
|
|
15733
15733
|
return pe(pe({}, p), {}, {
|
|
15734
15734
|
options: wn,
|
|
15735
15735
|
isLoading: T || a,
|
|
@@ -15775,16 +15775,16 @@ function hE(e) {
|
|
|
15775
15775
|
}, [n, o, C, T, v]), F = Ae(function(O, j) {
|
|
15776
15776
|
if (j.action !== "select-option")
|
|
15777
15777
|
return m(O, j);
|
|
15778
|
-
var
|
|
15779
|
-
if (
|
|
15778
|
+
var H = Array.isArray(O) ? O : [O];
|
|
15779
|
+
if (H[H.length - 1] === T) {
|
|
15780
15780
|
if (p) p(E);
|
|
15781
15781
|
else {
|
|
15782
|
-
var
|
|
15782
|
+
var U = d(E, E), Z = {
|
|
15783
15783
|
action: "create-option",
|
|
15784
15784
|
name: I,
|
|
15785
|
-
option:
|
|
15785
|
+
option: U
|
|
15786
15786
|
};
|
|
15787
|
-
m(xi(w, [].concat(To(sa(_)), [
|
|
15787
|
+
m(xi(w, [].concat(To(sa(_)), [U]), U), Z);
|
|
15788
15788
|
}
|
|
15789
15789
|
return;
|
|
15790
15790
|
}
|
|
@@ -15801,7 +15801,7 @@ var gE = /* @__PURE__ */ fa(function(e, t) {
|
|
|
15801
15801
|
ref: t
|
|
15802
15802
|
}, o));
|
|
15803
15803
|
}), mE = gE;
|
|
15804
|
-
const bE = A(
|
|
15804
|
+
const bE = A(Y)`
|
|
15805
15805
|
display: block;
|
|
15806
15806
|
white-space: nowrap;
|
|
15807
15807
|
overflow: hidden;
|
|
@@ -15832,41 +15832,41 @@ function yE({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
15832
15832
|
isApiSearchEnabled: v = !1,
|
|
15833
15833
|
isInfiniteScrollable: m = !1,
|
|
15834
15834
|
loadOptionsOnFocus: h = !1
|
|
15835
|
-
} = n, { getValue: f, closeMenuOnScroll: g } = m2({ options: r, isMulti: d, isScrollTarget: t }), x = (j,
|
|
15836
|
-
(j,
|
|
15835
|
+
} = n, { getValue: f, closeMenuOnScroll: g } = m2({ options: r, isMulti: d, isScrollTarget: t }), x = (j, H, U) => (u.current && u.current.abort("stale data"), u.current = new AbortController(), b == null ? void 0 : b(j, H, U, u.current)), y = y2(
|
|
15836
|
+
(j, H) => {
|
|
15837
15837
|
if (s(j), r.length > 0 && !v) {
|
|
15838
|
-
const
|
|
15839
|
-
G
|
|
15838
|
+
const Z = j.trim().toLowerCase(), $ = d ? ps(r, n.value) : r, G = Z ? $.filter((J) => "label" in J && String(J.label).toLowerCase().includes(Z)) : $;
|
|
15839
|
+
H(G);
|
|
15840
15840
|
return;
|
|
15841
15841
|
}
|
|
15842
|
-
const
|
|
15843
|
-
|
|
15842
|
+
const U = (Z) => {
|
|
15843
|
+
H(d ? ps(Z, n.value) : Z), o(Z);
|
|
15844
15844
|
};
|
|
15845
|
-
x == null || x(j,
|
|
15845
|
+
x == null || x(j, U, !1);
|
|
15846
15846
|
},
|
|
15847
15847
|
300
|
|
15848
|
-
), E = (j,
|
|
15849
|
-
c(!1), !(
|
|
15848
|
+
), E = (j, H) => {
|
|
15849
|
+
c(!1), !(H && "isError" in H && H.isError) && o(j);
|
|
15850
15850
|
}, C = (j) => {
|
|
15851
|
-
var G;
|
|
15852
|
-
(G = n.onMenuScrollToBottom) == null || G.call(n, j), m && b && !a && (c(!0), x(i, E, !0));
|
|
15853
|
-
}, w = (j, G) => {
|
|
15854
15851
|
var H;
|
|
15855
|
-
(H = n.
|
|
15852
|
+
(H = n.onMenuScrollToBottom) == null || H.call(n, j), m && b && !a && (c(!0), x(i, E, !0));
|
|
15853
|
+
}, w = (j, H) => {
|
|
15854
|
+
var U;
|
|
15855
|
+
(U = n.onInputChange) == null || U.call(n, j, H), H.action === "input-change" && v && (s(j), o([]), j || (c(!0), y(j, E)));
|
|
15856
15856
|
}, _ = (j) => {
|
|
15857
|
-
var
|
|
15858
|
-
s(""), (
|
|
15857
|
+
var H;
|
|
15858
|
+
s(""), (H = n.onBlur) == null || H.call(n, j);
|
|
15859
15859
|
}, I = (j) => {
|
|
15860
|
-
var
|
|
15861
|
-
(
|
|
15862
|
-
}, T = (j) => (
|
|
15863
|
-
var
|
|
15864
|
-
const
|
|
15865
|
-
!n.isMulti &&
|
|
15860
|
+
var H;
|
|
15861
|
+
(H = n.onFocus) == null || H.call(n, j), !a && h && (o([]), c(!0), x == null || x(i, E, !1));
|
|
15862
|
+
}, T = (j) => (H) => {
|
|
15863
|
+
var Z;
|
|
15864
|
+
const U = H.find(($) => $.label === j);
|
|
15865
|
+
!n.isMulti && U && ((Z = n.onChange) == null || Z.call(n, U, {
|
|
15866
15866
|
action: "select-option",
|
|
15867
15867
|
name: n.name,
|
|
15868
|
-
option:
|
|
15869
|
-
})), o(
|
|
15868
|
+
option: U
|
|
15869
|
+
})), o(H), c(!1);
|
|
15870
15870
|
}, D = (j) => {
|
|
15871
15871
|
c(!0), p == null || p(j, T(j));
|
|
15872
15872
|
}, F = () => {
|
|
@@ -15908,12 +15908,12 @@ function yE({ stackIndex: e, isScrollTarget: t, ...n }) {
|
|
|
15908
15908
|
}
|
|
15909
15909
|
);
|
|
15910
15910
|
}
|
|
15911
|
-
const Ki = "table-cell-form-field", Pu = "60px", Wa = "24px", CE = A(
|
|
15911
|
+
const Ki = "table-cell-form-field", Pu = "60px", Wa = "24px", CE = A(Q)`
|
|
15912
15912
|
width: 100%;
|
|
15913
|
-
`, EE = A(
|
|
15913
|
+
`, EE = A(Q)`
|
|
15914
15914
|
width: 100%;
|
|
15915
15915
|
overflow-x: auto;
|
|
15916
|
-
`, wE = A(
|
|
15916
|
+
`, wE = A(Q)`
|
|
15917
15917
|
--border-color: rgb(214, 221, 232);
|
|
15918
15918
|
--border-size: 1px;
|
|
15919
15919
|
display: grid;
|
|
@@ -15927,7 +15927,7 @@ const Ki = "table-cell-form-field", Pu = "60px", Wa = "24px", CE = A(K)`
|
|
|
15927
15927
|
&:empty {
|
|
15928
15928
|
margin-top: 0;
|
|
15929
15929
|
}
|
|
15930
|
-
`, E2 = A(
|
|
15930
|
+
`, E2 = A(Q)`
|
|
15931
15931
|
--cell-padding: 0;
|
|
15932
15932
|
display: grid;
|
|
15933
15933
|
grid-template-columns: subgrid;
|
|
@@ -15939,7 +15939,7 @@ const Ki = "table-cell-form-field", Pu = "60px", Wa = "24px", CE = A(K)`
|
|
|
15939
15939
|
`, _E = A(E2)`
|
|
15940
15940
|
--cell-padding: 10px ${Wa};
|
|
15941
15941
|
border-bottom: 1px solid var(--border-color);
|
|
15942
|
-
`, wc = A(
|
|
15942
|
+
`, wc = A(Q)`
|
|
15943
15943
|
border: var(--border-size) solid transparent;
|
|
15944
15944
|
border-right: var(--border-size) solid var(--border-color);
|
|
15945
15945
|
padding: var(--cell-padding, 0);
|
|
@@ -15988,7 +15988,7 @@ const Ki = "table-cell-form-field", Pu = "60px", Wa = "24px", CE = A(K)`
|
|
|
15988
15988
|
width: 20px;
|
|
15989
15989
|
height: 20px;
|
|
15990
15990
|
}
|
|
15991
|
-
`, SE = A(
|
|
15991
|
+
`, SE = A(Q)`
|
|
15992
15992
|
margin-left: auto;
|
|
15993
15993
|
`, TE = A(N)`
|
|
15994
15994
|
box-sizing: content-box;
|
|
@@ -16107,10 +16107,10 @@ const OE = (e, t) => ({
|
|
|
16107
16107
|
};
|
|
16108
16108
|
s == null || s(p, u);
|
|
16109
16109
|
};
|
|
16110
|
-
return /* @__PURE__ */ l.jsx(
|
|
16110
|
+
return /* @__PURE__ */ l.jsx(Q, { sx: OE(n, o), className: r, role: "radiogroup", "aria-label": e, children: kE.map((u) => {
|
|
16111
16111
|
const d = u.value === a;
|
|
16112
16112
|
return /* @__PURE__ */ l.jsx(
|
|
16113
|
-
|
|
16113
|
+
Q,
|
|
16114
16114
|
{
|
|
16115
16115
|
component: "button",
|
|
16116
16116
|
type: "button",
|
|
@@ -16120,7 +16120,7 @@ const OE = (e, t) => ({
|
|
|
16120
16120
|
sx: FE(d, i),
|
|
16121
16121
|
onClick: c(u.value),
|
|
16122
16122
|
children: /* @__PURE__ */ l.jsx(
|
|
16123
|
-
|
|
16123
|
+
Y,
|
|
16124
16124
|
{
|
|
16125
16125
|
variant: "caption",
|
|
16126
16126
|
fontSize: (o == null ? void 0 : o.fontSize) || 13,
|
|
@@ -16134,7 +16134,7 @@ const OE = (e, t) => ({
|
|
|
16134
16134
|
);
|
|
16135
16135
|
}) });
|
|
16136
16136
|
}, _2 = ({ label: e, isRequired: t, prefixNode: n, ...r }) => e ? /* @__PURE__ */ l.jsxs(
|
|
16137
|
-
|
|
16137
|
+
Y,
|
|
16138
16138
|
{
|
|
16139
16139
|
variant: "body_sm_medium",
|
|
16140
16140
|
component: "label",
|
|
@@ -16175,43 +16175,43 @@ const OE = (e, t) => ({
|
|
|
16175
16175
|
onValidationError: m
|
|
16176
16176
|
}) => {
|
|
16177
16177
|
const h = t ?? [], f = (o == null ? void 0 : o.validations) ?? {}, g = ge(), x = ge({}), [y, E] = V({}), { colsLength: C, colsTemplate: w, colWidth: _ } = fe(() => {
|
|
16178
|
-
let W = 0,
|
|
16178
|
+
let W = 0, K = "";
|
|
16179
16179
|
for (const k of r) {
|
|
16180
|
-
let
|
|
16181
|
-
isNaN(
|
|
16180
|
+
let q = k.cols ? Number(k.cols) : 1;
|
|
16181
|
+
isNaN(q) && (q = 1), W += q, K += `${k.cols ?? q}fr `;
|
|
16182
16182
|
}
|
|
16183
|
-
return s || (W += 0.5,
|
|
16183
|
+
return s || (W += 0.5, K += "0.5fr"), {
|
|
16184
16184
|
colsLength: W,
|
|
16185
|
-
colsTemplate:
|
|
16185
|
+
colsTemplate: K.trim(),
|
|
16186
16186
|
colWidth: `${isNaN(a) ? A2 : a}px`
|
|
16187
16187
|
};
|
|
16188
16188
|
}, [r, a, s]), { fieldDependency: I, fieldConfigs: T } = fe(() => {
|
|
16189
|
-
const W = {},
|
|
16189
|
+
const W = {}, K = {};
|
|
16190
16190
|
for (const k of r) {
|
|
16191
16191
|
if (!k.valueConfig)
|
|
16192
16192
|
continue;
|
|
16193
|
-
|
|
16194
|
-
const
|
|
16195
|
-
for (const re of
|
|
16193
|
+
K[k.name] = k.valueConfig;
|
|
16194
|
+
const q = k.valueConfig.columnNames;
|
|
16195
|
+
for (const re of q)
|
|
16196
16196
|
W[re] || (W[re] = []), W[re].push(k.name);
|
|
16197
16197
|
}
|
|
16198
16198
|
return {
|
|
16199
16199
|
fieldDependency: W,
|
|
16200
|
-
fieldConfigs:
|
|
16200
|
+
fieldConfigs: K
|
|
16201
16201
|
};
|
|
16202
16202
|
}, [r]);
|
|
16203
16203
|
oe(() => {
|
|
16204
16204
|
if (t)
|
|
16205
16205
|
return;
|
|
16206
16206
|
const W = [];
|
|
16207
|
-
for (let
|
|
16207
|
+
for (let K = 0; K < i; K++) {
|
|
16208
16208
|
const k = a0();
|
|
16209
16209
|
W.push({ [Vr]: k });
|
|
16210
16210
|
}
|
|
16211
16211
|
b(W);
|
|
16212
16212
|
}, [t, b, i]);
|
|
16213
16213
|
const D = () => {
|
|
16214
|
-
const W = Object.entries(x.current).filter((
|
|
16214
|
+
const W = Object.entries(x.current).filter((K) => !!K[1])[0];
|
|
16215
16215
|
return (W == null ? void 0 : W[1]) ?? "";
|
|
16216
16216
|
}, F = () => {
|
|
16217
16217
|
const W = {
|
|
@@ -16219,52 +16219,52 @@ const OE = (e, t) => ({
|
|
|
16219
16219
|
};
|
|
16220
16220
|
b([...h, W]);
|
|
16221
16221
|
}, O = (W) => {
|
|
16222
|
-
const
|
|
16223
|
-
b(
|
|
16222
|
+
const K = h.filter((k) => k[Vr] !== W);
|
|
16223
|
+
b(K), E((k) => ({
|
|
16224
16224
|
...k,
|
|
16225
16225
|
[W]: {}
|
|
16226
16226
|
}));
|
|
16227
16227
|
for (const k in x.current)
|
|
16228
16228
|
k.startsWith(`${W}.`) && delete x.current[k];
|
|
16229
16229
|
m == null || m(e, D());
|
|
16230
|
-
}, j = (W, { columnNames:
|
|
16231
|
-
const
|
|
16232
|
-
return "" + c0(
|
|
16233
|
-
},
|
|
16234
|
-
const k = h.map((
|
|
16235
|
-
...
|
|
16236
|
-
...
|
|
16230
|
+
}, j = (W, { columnNames: K = [], operationType: k }) => {
|
|
16231
|
+
const q = K.map((re) => W[re]);
|
|
16232
|
+
return "" + c0(q, k);
|
|
16233
|
+
}, H = (W, K) => {
|
|
16234
|
+
const k = h.map((q) => W !== q[Vr] ? q : {
|
|
16235
|
+
...q,
|
|
16236
|
+
...K
|
|
16237
16237
|
});
|
|
16238
16238
|
b(k);
|
|
16239
|
-
},
|
|
16240
|
-
const k = h.map((
|
|
16241
|
-
if (W !==
|
|
16242
|
-
return
|
|
16243
|
-
const re = { ...
|
|
16244
|
-
for (const ae of
|
|
16239
|
+
}, U = (W, K) => {
|
|
16240
|
+
const k = h.map((q) => {
|
|
16241
|
+
if (W !== q[Vr])
|
|
16242
|
+
return q;
|
|
16243
|
+
const re = { ...q };
|
|
16244
|
+
for (const ae of K)
|
|
16245
16245
|
delete re[ae];
|
|
16246
16246
|
return re;
|
|
16247
16247
|
});
|
|
16248
16248
|
b(k);
|
|
16249
|
-
},
|
|
16249
|
+
}, Z = (W, K, k, q) => {
|
|
16250
16250
|
var he;
|
|
16251
|
-
const re = ((he =
|
|
16251
|
+
const re = ((he = q == null ? void 0 : q.target) == null ? void 0 : he.value) ?? "", ae = {
|
|
16252
16252
|
...k,
|
|
16253
|
-
[
|
|
16253
|
+
[K]: re
|
|
16254
16254
|
};
|
|
16255
|
-
if (I[
|
|
16256
|
-
for (const M of I[
|
|
16255
|
+
if (I[K])
|
|
16256
|
+
for (const M of I[K]) {
|
|
16257
16257
|
const le = j(ae, T[M]);
|
|
16258
16258
|
ae[M] = le;
|
|
16259
16259
|
}
|
|
16260
|
-
|
|
16261
|
-
},
|
|
16262
|
-
|
|
16263
|
-
},
|
|
16264
|
-
if (k && typeof k == "object" && "value" in k && typeof k.value == "string" && typeof
|
|
16260
|
+
H(W, ae);
|
|
16261
|
+
}, $ = (W, K, k) => {
|
|
16262
|
+
H(W, { [K]: k });
|
|
16263
|
+
}, G = (W, K, k, q) => {
|
|
16264
|
+
if (k && typeof k == "object" && "value" in k && typeof k.value == "string" && typeof q.name < "u") {
|
|
16265
16265
|
const re = "prefillValues" in k && k.prefillValues, ae = {
|
|
16266
|
-
...
|
|
16267
|
-
[
|
|
16266
|
+
...K,
|
|
16267
|
+
[q.name]: k.value,
|
|
16268
16268
|
...re
|
|
16269
16269
|
};
|
|
16270
16270
|
for (const he in ae)
|
|
@@ -16273,41 +16273,41 @@ const OE = (e, t) => ({
|
|
|
16273
16273
|
const le = j(ae, T[M]);
|
|
16274
16274
|
ae[M] = le;
|
|
16275
16275
|
}
|
|
16276
|
-
|
|
16276
|
+
H(W, ae);
|
|
16277
16277
|
}
|
|
16278
|
-
(
|
|
16279
|
-
},
|
|
16280
|
-
|
|
16281
|
-
}, ee = (W,
|
|
16282
|
-
|
|
16278
|
+
(q == null ? void 0 : q.action) === "clear" && q.name && U(W, [q.name]);
|
|
16279
|
+
}, J = (W, K, k) => {
|
|
16280
|
+
H(W, { [K]: (k == null ? void 0 : k.toISOString()) ?? "" });
|
|
16281
|
+
}, ee = (W, K, k, q) => {
|
|
16282
|
+
q && E((re) => {
|
|
16283
16283
|
const ae = re[W] ?? {};
|
|
16284
|
-
return { ...re, [W]: { ...ae, [
|
|
16284
|
+
return { ...re, [W]: { ...ae, [K]: k } };
|
|
16285
16285
|
}), x.current = {
|
|
16286
16286
|
...x.current,
|
|
16287
|
-
[`${W}.${
|
|
16287
|
+
[`${W}.${K}`]: typeof k == "string" ? k : ""
|
|
16288
16288
|
}, m == null || m(e, D());
|
|
16289
16289
|
}, ie = (W) => g.current === W;
|
|
16290
16290
|
return /* @__PURE__ */ l.jsxs(CE, { children: [
|
|
16291
16291
|
/* @__PURE__ */ l.jsx(EE, { ref: g, children: /* @__PURE__ */ l.jsxs(wE, { gridColumns: w, minWidth: `calc( ${C} * ${_} )`, children: [
|
|
16292
|
-
/* @__PURE__ */ l.jsx(_E, { children: r.map(({ name: W, label:
|
|
16293
|
-
h.map(({ [Vr]: W, ...
|
|
16294
|
-
r.map(({ name: k, key:
|
|
16292
|
+
/* @__PURE__ */ l.jsx(_E, { children: r.map(({ name: W, label: K, isRequired: k }) => /* @__PURE__ */ l.jsx(wc, { children: /* @__PURE__ */ l.jsx(_2, { label: K, isRequired: k }) }, W)) }),
|
|
16293
|
+
h.map(({ [Vr]: W, ...K }) => /* @__PURE__ */ l.jsxs(E2, { children: [
|
|
16294
|
+
r.map(({ name: k, key: q, ...re }) => {
|
|
16295
16295
|
var ae;
|
|
16296
16296
|
return /* @__PURE__ */ l.jsx(wc, { hasError: !!((ae = y == null ? void 0 : y[W]) != null && ae[k]), children: /* @__PURE__ */ l.jsx(
|
|
16297
16297
|
lo,
|
|
16298
16298
|
{
|
|
16299
16299
|
name: k,
|
|
16300
|
-
value:
|
|
16300
|
+
value: K[k],
|
|
16301
16301
|
...re,
|
|
16302
16302
|
className: Ki,
|
|
16303
16303
|
label: "",
|
|
16304
16304
|
hideHelperText: !0,
|
|
16305
16305
|
validation: f == null ? void 0 : f[k],
|
|
16306
16306
|
onFocus: v,
|
|
16307
|
-
inputChangeHandler: (he) =>
|
|
16308
|
-
checkboxChangeHandler: (...he) =>
|
|
16309
|
-
selectChangeHandler: (...he) =>
|
|
16310
|
-
dateChangeHandler: (he, M) =>
|
|
16307
|
+
inputChangeHandler: (he) => Z(W, k, K, he),
|
|
16308
|
+
checkboxChangeHandler: (...he) => $(W, k, he[1]),
|
|
16309
|
+
selectChangeHandler: (...he) => G(W, K, ...he),
|
|
16310
|
+
dateChangeHandler: (he, M) => J(W, he, M),
|
|
16311
16311
|
onValidationError: (...he) => ee(W, ...he),
|
|
16312
16312
|
fetchConfig: u == null ? void 0 : u[k],
|
|
16313
16313
|
createConfig: d == null ? void 0 : d[k],
|
|
@@ -16317,7 +16317,7 @@ const OE = (e, t) => ({
|
|
|
16317
16317
|
stackIndex: p
|
|
16318
16318
|
} : null
|
|
16319
16319
|
}
|
|
16320
|
-
) }, k ??
|
|
16320
|
+
) }, k ?? q);
|
|
16321
16321
|
}),
|
|
16322
16322
|
s ? null : /* @__PURE__ */ l.jsx(wc, { children: /* @__PURE__ */ l.jsx(N, { width: "100%", height: "100%", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ l.jsx(w2, { onClick: () => O(W), children: /* @__PURE__ */ l.jsx(DE, {}) }) }) })
|
|
16323
16323
|
] }, W))
|
|
@@ -16325,18 +16325,18 @@ const OE = (e, t) => ({
|
|
|
16325
16325
|
/* @__PURE__ */ l.jsxs(IE, { children: [
|
|
16326
16326
|
s ? null : /* @__PURE__ */ l.jsxs(AE, { onClick: F, children: [
|
|
16327
16327
|
/* @__PURE__ */ l.jsx(C2, {}),
|
|
16328
|
-
/* @__PURE__ */ l.jsx(
|
|
16328
|
+
/* @__PURE__ */ l.jsx(Y, { children: "Add Line" })
|
|
16329
16329
|
] }),
|
|
16330
16330
|
c.length ? /* @__PURE__ */ l.jsx(SE, { children: c.map(
|
|
16331
|
-
({ label: W, columnName:
|
|
16332
|
-
/* @__PURE__ */ l.jsx(
|
|
16333
|
-
/* @__PURE__ */ l.jsxs(
|
|
16331
|
+
({ label: W, columnName: K, operationType: k, prefix: q = "", prefixKey: re, suffix: ae = "", suffixKey: he }) => /* @__PURE__ */ l.jsxs(TE, { children: [
|
|
16332
|
+
/* @__PURE__ */ l.jsx(Y, { fontWeight: 500, children: W }),
|
|
16333
|
+
/* @__PURE__ */ l.jsxs(Y, { children: [
|
|
16334
16334
|
/* @__PURE__ */ l.jsxs("span", { children: [
|
|
16335
|
-
n[re] ??
|
|
16335
|
+
n[re] ?? q,
|
|
16336
16336
|
" "
|
|
16337
16337
|
] }),
|
|
16338
16338
|
/* @__PURE__ */ l.jsx("span", { children: c0(
|
|
16339
|
-
h.map((M) => M[
|
|
16339
|
+
h.map((M) => M[K]),
|
|
16340
16340
|
k
|
|
16341
16341
|
) }),
|
|
16342
16342
|
/* @__PURE__ */ l.jsx("span", { children: n[he] ?? ae })
|
|
@@ -16347,7 +16347,7 @@ const OE = (e, t) => ({
|
|
|
16347
16347
|
] });
|
|
16348
16348
|
};
|
|
16349
16349
|
Ua.ROW_ID = Vr;
|
|
16350
|
-
const NE = A(
|
|
16350
|
+
const NE = A(Q)`
|
|
16351
16351
|
box-sizing: border-box;
|
|
16352
16352
|
&:not(:has(.${Ki})) {
|
|
16353
16353
|
transform: translate(0, 5px);
|
|
@@ -16398,7 +16398,7 @@ const NE = A(K)`
|
|
|
16398
16398
|
&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
|
|
16399
16399
|
border-width: 1px;
|
|
16400
16400
|
}
|
|
16401
|
-
`, G0 = A(
|
|
16401
|
+
`, G0 = A(Q)`
|
|
16402
16402
|
& .hiverFormField__placeholder {
|
|
16403
16403
|
color: #97a3b7;
|
|
16404
16404
|
}
|
|
@@ -16506,7 +16506,7 @@ const NE = A(K)`
|
|
|
16506
16506
|
height: 100%;
|
|
16507
16507
|
}
|
|
16508
16508
|
}
|
|
16509
|
-
`, H0 = A(
|
|
16509
|
+
`, H0 = A(Q)`
|
|
16510
16510
|
font-size: 12px;
|
|
16511
16511
|
font-weight: 400;
|
|
16512
16512
|
font-family: ${P.typography.fontFamily};
|
|
@@ -16518,7 +16518,7 @@ const NE = A(K)`
|
|
|
16518
16518
|
&.helper--error {
|
|
16519
16519
|
color: #d32f2f;
|
|
16520
16520
|
}
|
|
16521
|
-
`, BE = A(
|
|
16521
|
+
`, BE = A(Q)`
|
|
16522
16522
|
width: 100%;
|
|
16523
16523
|
position: relative;
|
|
16524
16524
|
& .MuiInputBase-root {
|
|
@@ -16532,7 +16532,7 @@ const NE = A(K)`
|
|
|
16532
16532
|
position: absolute;
|
|
16533
16533
|
margin-left: 5px;
|
|
16534
16534
|
}
|
|
16535
|
-
`, VE = A(
|
|
16535
|
+
`, VE = A(Q)`
|
|
16536
16536
|
display: inline-block;
|
|
16537
16537
|
margin-right: 9px;
|
|
16538
16538
|
width: 9px;
|
|
@@ -16611,45 +16611,45 @@ const NE = A(K)`
|
|
|
16611
16611
|
showGlobalLoader: _ = !1,
|
|
16612
16612
|
hideHelperText: I = !1,
|
|
16613
16613
|
meta: { isExpandable: T = x === "table", isExpanded: D = !0 } = {}
|
|
16614
|
-
} = b, [F, O] = V(!1), [j,
|
|
16614
|
+
} = b, [F, O] = V(!1), [j, H] = V(""), [U, Z] = V(D);
|
|
16615
16615
|
oe(() => {
|
|
16616
|
-
F ||
|
|
16616
|
+
F || G(b.value, !1);
|
|
16617
16617
|
}, [F, b.value]);
|
|
16618
|
-
const
|
|
16618
|
+
const $ = (M) => {
|
|
16619
16619
|
var le;
|
|
16620
16620
|
M && !F && O(!0), (le = b.onFocus) == null || le.call(b, M);
|
|
16621
16621
|
};
|
|
16622
|
-
function
|
|
16623
|
-
let
|
|
16622
|
+
function G(M, le = !0, Oe) {
|
|
16623
|
+
let X = "";
|
|
16624
16624
|
const Ye = M == null || M === "" || Array.isArray(M) && M.length === 0;
|
|
16625
|
-
if ((v != null && v.isRequired || C) && (
|
|
16625
|
+
if ((v != null && v.isRequired || C) && (X = Ye ? B0 : "", Ye && typeof (v == null ? void 0 : v.isRequired) == "function")) {
|
|
16626
16626
|
const Ne = v.isRequired(M);
|
|
16627
|
-
Ne && typeof Ne == "boolean" ?
|
|
16627
|
+
Ne && typeof Ne == "boolean" ? X = B0 : Ne && (X = Ne);
|
|
16628
16628
|
}
|
|
16629
16629
|
let et = { id: h, name: g, label: f };
|
|
16630
|
-
if (b.type === "date" ? et = { ...et, disableFuture: b.disableFuture, disablePast: b.disablePast } : b.type === "number" ? et = { ...et, min: b.min, max: b.max } : b.type === "text" && b.multiline && (et = { ...et, maxCharacters: b.maxCharacters }), M &&
|
|
16630
|
+
if (b.type === "date" ? et = { ...et, disableFuture: b.disableFuture, disablePast: b.disablePast } : b.type === "number" ? et = { ...et, min: b.min, max: b.max } : b.type === "text" && b.multiline && (et = { ...et, maxCharacters: b.maxCharacters }), M && !X && (v != null && v.validate)) {
|
|
16631
16631
|
const Ne = v.validate(M, { ...et, ...Oe });
|
|
16632
|
-
typeof Ne == "boolean" && Ne === !1 ?
|
|
16632
|
+
typeof Ne == "boolean" && Ne === !1 ? X = lE : typeof Ne == "string" && (X = Ne);
|
|
16633
16633
|
}
|
|
16634
|
-
le &&
|
|
16634
|
+
le && H(X), s == null || s(g, X, le);
|
|
16635
16635
|
}
|
|
16636
|
-
const
|
|
16636
|
+
const J = (M) => {
|
|
16637
16637
|
var le;
|
|
16638
|
-
F || O(!0), (le = b.onBlur) == null || le.call(b, M), F && y &&
|
|
16638
|
+
F || O(!0), (le = b.onBlur) == null || le.call(b, M), F && y && G(b.value);
|
|
16639
16639
|
}, ee = () => I ? null : b.helperText ? /* @__PURE__ */ l.jsx(H0, { children: m }) : F && j ? /* @__PURE__ */ l.jsx(H0, { className: "helper--error", children: j }) : null, ie = (M) => {
|
|
16640
|
-
M && !F && O(!0), a == null || a(M), F && E &&
|
|
16640
|
+
M && !F && O(!0), a == null || a(M), F && E && G(M.target.value);
|
|
16641
16641
|
}, W = (M, le) => {
|
|
16642
|
-
M && !F && O(!0), p == null || p(M, le), F && E &&
|
|
16643
|
-
},
|
|
16644
|
-
c == null || c(M, le), M && !F && O(!0), F && E && (Array.isArray(M) ?
|
|
16642
|
+
M && !F && O(!0), p == null || p(M, le), F && E && G(le);
|
|
16643
|
+
}, K = (M, le) => {
|
|
16644
|
+
c == null || c(M, le), M && !F && O(!0), F && E && (Array.isArray(M) ? G(M) : M && typeof M == "object" && "value" in M && G(M.value));
|
|
16645
16645
|
}, k = (M, le) => {
|
|
16646
|
-
u == null || u(g, M, le), M && !F && O(!0), F && E &&
|
|
16647
|
-
},
|
|
16646
|
+
u == null || u(g, M, le), M && !F && O(!0), F && E && G(M);
|
|
16647
|
+
}, q = (M) => {
|
|
16648
16648
|
d == null || d(g, M);
|
|
16649
16649
|
}, re = (M, le) => {
|
|
16650
|
-
F && (s == null || s(M, le),
|
|
16650
|
+
F && (s == null || s(M, le), H(typeof le == "string" ? le : ""));
|
|
16651
16651
|
}, ae = (M) => {
|
|
16652
|
-
|
|
16652
|
+
Z((le) => !le);
|
|
16653
16653
|
}, he = (M) => {
|
|
16654
16654
|
if (_)
|
|
16655
16655
|
return /* @__PURE__ */ l.jsx(ql, { variant: "rounded", height: 29.69, animation: "wave" });
|
|
@@ -16663,9 +16663,9 @@ const NE = A(K)`
|
|
|
16663
16663
|
isScrollTarget: i,
|
|
16664
16664
|
className: `formField__select ${j && F ? "formField__select--error" : ""} ${M.className || ""}`,
|
|
16665
16665
|
classNamePrefix: "hiverFormField",
|
|
16666
|
-
onBlur:
|
|
16667
|
-
onChange:
|
|
16668
|
-
onFocus:
|
|
16666
|
+
onBlur: J,
|
|
16667
|
+
onChange: K,
|
|
16668
|
+
onFocus: $,
|
|
16669
16669
|
menuPortalTarget: n
|
|
16670
16670
|
}
|
|
16671
16671
|
) });
|
|
@@ -16678,9 +16678,9 @@ const NE = A(K)`
|
|
|
16678
16678
|
isScrollTarget: i,
|
|
16679
16679
|
className: `formField__select ${j && F ? "formField__select--error" : ""} ${M.className || ""}`,
|
|
16680
16680
|
classNamePrefix: "hiverFormField",
|
|
16681
|
-
onBlur:
|
|
16682
|
-
onChange:
|
|
16683
|
-
onFocus:
|
|
16681
|
+
onBlur: J,
|
|
16682
|
+
onChange: K,
|
|
16683
|
+
onFocus: $,
|
|
16684
16684
|
loadOptions: e == null ? void 0 : e.loadOptions,
|
|
16685
16685
|
createOption: t == null ? void 0 : t.createOption,
|
|
16686
16686
|
menuPortalTarget: n
|
|
@@ -16692,8 +16692,8 @@ const NE = A(K)`
|
|
|
16692
16692
|
{
|
|
16693
16693
|
...M,
|
|
16694
16694
|
label: void 0,
|
|
16695
|
-
onBlur:
|
|
16696
|
-
onFocus:
|
|
16695
|
+
onBlur: J,
|
|
16696
|
+
onFocus: $,
|
|
16697
16697
|
onChange: k,
|
|
16698
16698
|
error: !!(j && F)
|
|
16699
16699
|
}
|
|
@@ -16704,8 +16704,8 @@ const NE = A(K)`
|
|
|
16704
16704
|
{
|
|
16705
16705
|
...M,
|
|
16706
16706
|
value: M.value,
|
|
16707
|
-
onChange:
|
|
16708
|
-
onFocus:
|
|
16707
|
+
onChange: q,
|
|
16708
|
+
onFocus: $,
|
|
16709
16709
|
onValidationError: re,
|
|
16710
16710
|
fetchConfig: e == null ? void 0 : e.loadOptionsList,
|
|
16711
16711
|
createConfig: t == null ? void 0 : t.createOptionList,
|
|
@@ -16719,8 +16719,8 @@ const NE = A(K)`
|
|
|
16719
16719
|
...M,
|
|
16720
16720
|
checked: !!M.value,
|
|
16721
16721
|
onChange: W,
|
|
16722
|
-
onFocus:
|
|
16723
|
-
onBlur:
|
|
16722
|
+
onFocus: $,
|
|
16723
|
+
onBlur: J,
|
|
16724
16724
|
styleOverrides: {
|
|
16725
16725
|
marginTop: "2px"
|
|
16726
16726
|
}
|
|
@@ -16736,9 +16736,9 @@ const NE = A(K)`
|
|
|
16736
16736
|
...M,
|
|
16737
16737
|
value: M.value,
|
|
16738
16738
|
label: void 0,
|
|
16739
|
-
onBlur:
|
|
16739
|
+
onBlur: J,
|
|
16740
16740
|
onChange: ie,
|
|
16741
|
-
onFocus:
|
|
16741
|
+
onFocus: $,
|
|
16742
16742
|
error: !!(j && F),
|
|
16743
16743
|
inputProps: {
|
|
16744
16744
|
type: M.type,
|
|
@@ -16756,7 +16756,7 @@ const NE = A(K)`
|
|
|
16756
16756
|
spacing: w,
|
|
16757
16757
|
useFlexGap: !0,
|
|
16758
16758
|
...T && {
|
|
16759
|
-
className: `expandable ${
|
|
16759
|
+
className: `expandable ${U ? "open" : "close"}`
|
|
16760
16760
|
},
|
|
16761
16761
|
children: [
|
|
16762
16762
|
/* @__PURE__ */ l.jsx(
|
|
@@ -16792,7 +16792,7 @@ const NE = A(K)`
|
|
|
16792
16792
|
--field-space: calc( ${e - 1} * var(--field-gap));
|
|
16793
16793
|
--field-width: calc( ( 100% - var(--field-space) ) / ${e} );
|
|
16794
16794
|
`}
|
|
16795
|
-
`, zE = A(
|
|
16795
|
+
`, zE = A(Q)`
|
|
16796
16796
|
--cols: ${({ cols: e }) => e};
|
|
16797
16797
|
--include-gap: calc((var(--cols) - 1) * var(--field-gap));
|
|
16798
16798
|
--include-width: calc(var(--cols) * var(--field-width));
|
|
@@ -16823,7 +16823,7 @@ const NE = A(K)`
|
|
|
16823
16823
|
n == null || n(C, w, E);
|
|
16824
16824
|
};
|
|
16825
16825
|
return /* @__PURE__ */ l.jsx(UE, { spacing: b, children: e.map(({ id: E, title: C, formFields: w }) => w.every((I) => I.hideInUI) ? null : /* @__PURE__ */ l.jsxs(Me.Fragment, { children: [
|
|
16826
|
-
C && w.length ? /* @__PURE__ */ l.jsx(
|
|
16826
|
+
C && w.length ? /* @__PURE__ */ l.jsx(Y, { variant: "h3", className: "authform__section-title", children: C }) : null,
|
|
16827
16827
|
/* @__PURE__ */ l.jsx(ZE, { useFlexGap: !0, spacing: v, cols: x, children: w.map((I) => {
|
|
16828
16828
|
var T;
|
|
16829
16829
|
return a && typeof a == "object" && I.name in a && a[I.name] === !1 || I.hideInUI ? null : /* @__PURE__ */ l.jsx(zE, { cols: I.cols ?? 1, children: /* @__PURE__ */ l.jsx(
|
|
@@ -16849,7 +16849,7 @@ const NE = A(K)`
|
|
|
16849
16849
|
) }, ((T = h == null ? void 0 : h[I.name]) == null ? void 0 : T.key) || I.name);
|
|
16850
16850
|
}) })
|
|
16851
16851
|
] }, E)) });
|
|
16852
|
-
}, $E = A(
|
|
16852
|
+
}, $E = A(Q)`
|
|
16853
16853
|
width: 100%;
|
|
16854
16854
|
aspect-ratio: ${({ aspectRatio: e }) => e};
|
|
16855
16855
|
border-radius: 8px;
|
|
@@ -17189,7 +17189,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17189
17189
|
"& .MuiChip-deleteIcon": {
|
|
17190
17190
|
margin: "0 0 0 4px"
|
|
17191
17191
|
}
|
|
17192
|
-
}, mw = A(
|
|
17192
|
+
}, mw = A(Q)`
|
|
17193
17193
|
position: relative;
|
|
17194
17194
|
height: 14px;
|
|
17195
17195
|
width: 14px;
|
|
@@ -17235,7 +17235,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17235
17235
|
backgroundColor: "#F6F8FC"
|
|
17236
17236
|
}
|
|
17237
17237
|
}
|
|
17238
|
-
}), k2 = A(
|
|
17238
|
+
}), k2 = A(Q)`
|
|
17239
17239
|
height: 28px;
|
|
17240
17240
|
width: 28px;
|
|
17241
17241
|
border-radius: 50%;
|
|
@@ -17280,7 +17280,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17280
17280
|
searchOffset: b = 0,
|
|
17281
17281
|
setSearch: v
|
|
17282
17282
|
}) => {
|
|
17283
|
-
const m = new Set(t.map(String)), h = u && c.length === 0, f = i && p && !h && !r, g = /* @__PURE__ */ l.jsx(bs, { sx: uw, style: { top: b }, children: /* @__PURE__ */ l.jsxs(
|
|
17283
|
+
const m = new Set(t.map(String)), h = u && c.length === 0, f = i && p && !h && !r, g = /* @__PURE__ */ l.jsx(bs, { sx: uw, style: { top: b }, children: /* @__PURE__ */ l.jsxs(Q, { sx: dw, children: [
|
|
17284
17284
|
/* @__PURE__ */ l.jsx(rt.Search, { sx: { fontSize: 18, color: P.palette.gray.gray3, flexShrink: 0 } }),
|
|
17285
17285
|
/* @__PURE__ */ l.jsx(
|
|
17286
17286
|
om,
|
|
@@ -17295,7 +17295,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17295
17295
|
sx: fw
|
|
17296
17296
|
}
|
|
17297
17297
|
)
|
|
17298
|
-
] }) }), x = h ? /* @__PURE__ */ l.jsx(Io, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ l.jsx(_i, { size: 24 }) }) : s.length === 0 ? /* @__PURE__ */ l.jsx(Io, { disabled: !0, value: D2, sx: { opacity: 1, color: P.palette.gray.gray3 }, children: /* @__PURE__ */ l.jsx(
|
|
17298
|
+
] }) }), x = h ? /* @__PURE__ */ l.jsx(Io, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ l.jsx(_i, { size: 24 }) }) : s.length === 0 ? /* @__PURE__ */ l.jsx(Io, { disabled: !0, value: D2, sx: { opacity: 1, color: P.palette.gray.gray3 }, children: /* @__PURE__ */ l.jsx(Y, { variant: "body2", fontSize: 14, children: "No results found" }) }) : s.map((E) => {
|
|
17299
17299
|
const C = String(E.value), w = n ? m.has(C) : C === e;
|
|
17300
17300
|
return /* @__PURE__ */ l.jsxs(Io, { value: C, sx: bw(w), children: [
|
|
17301
17301
|
/* @__PURE__ */ l.jsx("span", { children: E.label }),
|
|
@@ -17315,7 +17315,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17315
17315
|
opacity: 1,
|
|
17316
17316
|
cursor: "default"
|
|
17317
17317
|
},
|
|
17318
|
-
children: d ? /* @__PURE__ */ l.jsx(_i, { size: 20 }) : /* @__PURE__ */ l.jsx(
|
|
17318
|
+
children: d ? /* @__PURE__ */ l.jsx(_i, { size: 20 }) : /* @__PURE__ */ l.jsx(Q, { sx: { minHeight: 1, width: "100%" }, "aria-hidden": !0 })
|
|
17319
17319
|
}
|
|
17320
17320
|
) : null];
|
|
17321
17321
|
}, W0 = String(Symbol("_no_results")), xw = (e) => !!e && typeof e == "object" && "label" in e && "value" in e, vw = ({
|
|
@@ -17354,15 +17354,15 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17354
17354
|
}), { parentRef: w } = g, _ = fe(() => xw(t) ? t.label : y[String(t)] ?? String(t), [y, t]), I = (O) => {
|
|
17355
17355
|
const j = O.target.value;
|
|
17356
17356
|
if (n) {
|
|
17357
|
-
const
|
|
17358
|
-
d(
|
|
17357
|
+
const Z = (Array.isArray(j) ? j : [j]).map(String).filter(($) => $ !== W0).map(($) => m.find((J) => String(J.value) === $) ?? { value: $, label: y[$] ?? $ });
|
|
17358
|
+
d(Z);
|
|
17359
17359
|
return;
|
|
17360
17360
|
}
|
|
17361
|
-
const
|
|
17362
|
-
|
|
17361
|
+
const H = String(j);
|
|
17362
|
+
H !== W0 && d({ value: H, label: y[H] });
|
|
17363
17363
|
}, T = (O) => {
|
|
17364
17364
|
d(m.filter((j) => String(j.value) !== String(O)));
|
|
17365
|
-
}, D = n ? v.length > 0 : !!b, F = () => n ? m.length ? /* @__PURE__ */ l.jsx(
|
|
17365
|
+
}, D = n ? v.length > 0 : !!b, F = () => n ? m.length ? /* @__PURE__ */ l.jsx(Q, { sx: hw, children: m.map((O) => /* @__PURE__ */ l.jsx(
|
|
17366
17366
|
im,
|
|
17367
17367
|
{
|
|
17368
17368
|
label: O.label,
|
|
@@ -17373,7 +17373,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17373
17373
|
deleteIcon: /* @__PURE__ */ l.jsx(mw, { onMouseDown: (j) => j.stopPropagation() })
|
|
17374
17374
|
},
|
|
17375
17375
|
String(O.value)
|
|
17376
|
-
)) }) : /* @__PURE__ */ l.jsx(
|
|
17376
|
+
)) }) : /* @__PURE__ */ l.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: P.palette.gray.gray4 }, children: r }) : t === "" ? /* @__PURE__ */ l.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: P.palette.gray.gray4 }, children: r }) : /* @__PURE__ */ l.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: P.palette.gray.gray1 }, children: _ });
|
|
17377
17377
|
return /* @__PURE__ */ l.jsx(ha, { fullWidth: !0, disabled: i, sx: { m: 0, minWidth: 0 }, children: /* @__PURE__ */ l.jsx(
|
|
17378
17378
|
Ql,
|
|
17379
17379
|
{
|
|
@@ -17441,7 +17441,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17441
17441
|
height: 56px !important;
|
|
17442
17442
|
box-sizing: content-box !important;
|
|
17443
17443
|
}
|
|
17444
|
-
`, Cw = A(
|
|
17444
|
+
`, Cw = A(Y)`
|
|
17445
17445
|
position: absolute;
|
|
17446
17446
|
top: 100%;
|
|
17447
17447
|
left: 0;
|
|
@@ -17591,7 +17591,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17591
17591
|
color: #343c45;
|
|
17592
17592
|
font-size: 14px;
|
|
17593
17593
|
min-height: 36px;
|
|
17594
|
-
`, hs = A(
|
|
17594
|
+
`, hs = A(Y)`
|
|
17595
17595
|
font-size: 14px;
|
|
17596
17596
|
line-height: 36px;
|
|
17597
17597
|
min-height: 36px;
|
|
@@ -17632,7 +17632,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17632
17632
|
},
|
|
17633
17633
|
onPointerEnter: () => s(),
|
|
17634
17634
|
onPointerLeave: () => a(),
|
|
17635
|
-
children: i && i.options.length > 0 ? /* @__PURE__ */ l.jsx(
|
|
17635
|
+
children: i && i.options.length > 0 ? /* @__PURE__ */ l.jsx(Q, { role: "list", sx: Fw, children: i.options.map((u) => {
|
|
17636
17636
|
var p;
|
|
17637
17637
|
const d = (t == null ? void 0 : t.name) === i.name && ((p = t == null ? void 0 : t.option) == null ? void 0 : p.value) === u.value;
|
|
17638
17638
|
return /* @__PURE__ */ l.jsx(
|
|
@@ -17647,7 +17647,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17647
17647
|
},
|
|
17648
17648
|
u.value
|
|
17649
17649
|
);
|
|
17650
|
-
}) }) : i && i.options.length === 0 ? /* @__PURE__ */ l.jsx(
|
|
17650
|
+
}) }) : i && i.options.length === 0 ? /* @__PURE__ */ l.jsx(Q, { sx: Dw, children: "No options" }) : null
|
|
17651
17651
|
}
|
|
17652
17652
|
)
|
|
17653
17653
|
}
|
|
@@ -17663,7 +17663,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17663
17663
|
overflow-y: auto;
|
|
17664
17664
|
overflow-x: hidden;
|
|
17665
17665
|
padding: 8px 0 16px;
|
|
17666
|
-
`, Z0 = A(
|
|
17666
|
+
`, Z0 = A(Q)`
|
|
17667
17667
|
padding: 8px 20px;
|
|
17668
17668
|
width: 100%;
|
|
17669
17669
|
flex-shrink: 0;
|
|
@@ -17683,7 +17683,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17683
17683
|
return ((n = (t = e.palette) == null ? void 0 : t.gray) == null ? void 0 : n.gray6) || "#f5f5f5";
|
|
17684
17684
|
}};
|
|
17685
17685
|
}
|
|
17686
|
-
`, z0 = A(
|
|
17686
|
+
`, z0 = A(Y)`
|
|
17687
17687
|
color: #343c45;
|
|
17688
17688
|
font-size: 14px;
|
|
17689
17689
|
font-weight: 400;
|
|
@@ -17692,7 +17692,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17692
17692
|
overflow: hidden;
|
|
17693
17693
|
text-overflow: ellipsis;
|
|
17694
17694
|
white-space: nowrap;
|
|
17695
|
-
`, Vw = A(
|
|
17695
|
+
`, Vw = A(Q)`
|
|
17696
17696
|
box-sizing: border-box;
|
|
17697
17697
|
background-color: white;
|
|
17698
17698
|
border: 1px solid #d6dde8;
|
|
@@ -17737,12 +17737,12 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17737
17737
|
border-radius: 8px;
|
|
17738
17738
|
border: 1px solid #eceff6;
|
|
17739
17739
|
}
|
|
17740
|
-
`, Ww = A(
|
|
17740
|
+
`, Ww = A(Q)`
|
|
17741
17741
|
padding: 8px 0 8px 8px;
|
|
17742
17742
|
display: flex;
|
|
17743
17743
|
align-items: center;
|
|
17744
17744
|
justify-content: center;
|
|
17745
|
-
`, $0 = A(
|
|
17745
|
+
`, $0 = A(Y)`
|
|
17746
17746
|
padding: 8px 20px;
|
|
17747
17747
|
color: #97a3b7;
|
|
17748
17748
|
font-size: 13px;
|
|
@@ -17820,7 +17820,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17820
17820
|
onClickAway: () => {
|
|
17821
17821
|
i(!1);
|
|
17822
17822
|
},
|
|
17823
|
-
children: /* @__PURE__ */ l.jsx(
|
|
17823
|
+
children: /* @__PURE__ */ l.jsx(Q, { children: /* @__PURE__ */ l.jsx(
|
|
17824
17824
|
we,
|
|
17825
17825
|
{
|
|
17826
17826
|
title: /* @__PURE__ */ l.jsx(Uw, { name: e, variables: t, customFields: n, onOptionClick: s }),
|
|
@@ -17841,7 +17841,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17841
17841
|
}
|
|
17842
17842
|
}
|
|
17843
17843
|
},
|
|
17844
|
-
children: /* @__PURE__ */ l.jsx(
|
|
17844
|
+
children: /* @__PURE__ */ l.jsx(Q, { children: /* @__PURE__ */ l.jsx(Zw, { setOpen: i }) })
|
|
17845
17845
|
}
|
|
17846
17846
|
) })
|
|
17847
17847
|
}
|
|
@@ -17948,31 +17948,31 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17948
17948
|
fieldKey: e,
|
|
17949
17949
|
hasApiSearch: c,
|
|
17950
17950
|
fetchOptions: d
|
|
17951
|
-
}), { parentRef: j } = I,
|
|
17952
|
-
const ee = R2(
|
|
17951
|
+
}), { parentRef: j } = I, H = (J) => {
|
|
17952
|
+
const ee = R2(J);
|
|
17953
17953
|
ee && (p(ee), y(), v(!1));
|
|
17954
|
-
},
|
|
17955
|
-
const ee = String(
|
|
17954
|
+
}, U = (J) => {
|
|
17955
|
+
const ee = String(J.target.value);
|
|
17956
17956
|
if (ee === D2)
|
|
17957
17957
|
return;
|
|
17958
17958
|
const ie = F[ee];
|
|
17959
17959
|
p({ value: ee, label: ie }), y(), v(!1);
|
|
17960
|
-
},
|
|
17961
|
-
ee.preventDefault(), ee.stopPropagation(), h(
|
|
17962
|
-
},
|
|
17960
|
+
}, Z = (J) => (ee) => {
|
|
17961
|
+
ee.preventDefault(), ee.stopPropagation(), h(J), y();
|
|
17962
|
+
}, $ = m === "custom" && Array.isArray(f == null ? void 0 : f.options) && f.options.length > 0, G = () => {
|
|
17963
17963
|
var ie;
|
|
17964
17964
|
if (!t) return /* @__PURE__ */ l.jsx(hs, { children: n });
|
|
17965
|
-
const [
|
|
17965
|
+
const [J = "", ee = ""] = ((ie = t.label) == null ? void 0 : ie.split(" > ")) ?? [];
|
|
17966
17966
|
return E ? /* @__PURE__ */ l.jsxs(Nw, { children: [
|
|
17967
|
-
/* @__PURE__ */ l.jsx(hs, { children:
|
|
17967
|
+
/* @__PURE__ */ l.jsx(hs, { children: J }),
|
|
17968
17968
|
/* @__PURE__ */ l.jsx(rt.ChevronRightOutlined, { sx: { fontSize: "18px" } }),
|
|
17969
17969
|
/* @__PURE__ */ l.jsx(hs, { children: ee })
|
|
17970
17970
|
] }) : /* @__PURE__ */ l.jsx(hs, { children: t.label });
|
|
17971
17971
|
};
|
|
17972
17972
|
return oe(() => {
|
|
17973
17973
|
if (!(t != null && t.value) || !b) return;
|
|
17974
|
-
const
|
|
17975
|
-
h(
|
|
17974
|
+
const J = L2(t.value) ? "custom" : "options";
|
|
17975
|
+
h(J);
|
|
17976
17976
|
}, [t, b]), /* @__PURE__ */ l.jsxs(ha, { fullWidth: !0, sx: Aw, className: a, children: [
|
|
17977
17977
|
/* @__PURE__ */ l.jsxs(
|
|
17978
17978
|
Ql,
|
|
@@ -17990,7 +17990,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
17990
17990
|
onClose: () => {
|
|
17991
17991
|
v(!1), y();
|
|
17992
17992
|
},
|
|
17993
|
-
renderValue:
|
|
17993
|
+
renderValue: G,
|
|
17994
17994
|
endAdornment: t ? /* @__PURE__ */ l.jsx(k2, { onClick: () => p(null) }) : null,
|
|
17995
17995
|
MenuProps: {
|
|
17996
17996
|
autoFocus: !1,
|
|
@@ -18001,27 +18001,27 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
18001
18001
|
ref: j
|
|
18002
18002
|
}
|
|
18003
18003
|
},
|
|
18004
|
-
onChange:
|
|
18004
|
+
onChange: U,
|
|
18005
18005
|
children: [
|
|
18006
|
-
/* @__PURE__ */ l.jsx(bs, { sx: _w, children: /* @__PURE__ */ l.jsxs(
|
|
18006
|
+
/* @__PURE__ */ l.jsx(bs, { sx: _w, children: /* @__PURE__ */ l.jsxs(Q, { sx: Rw, children: [
|
|
18007
18007
|
/* @__PURE__ */ l.jsx(
|
|
18008
|
-
|
|
18008
|
+
Q,
|
|
18009
18009
|
{
|
|
18010
18010
|
component: "button",
|
|
18011
18011
|
type: "button",
|
|
18012
18012
|
sx: U0(m === "options"),
|
|
18013
|
-
onClick:
|
|
18014
|
-
children: /* @__PURE__ */ l.jsx(
|
|
18013
|
+
onClick: Z("options"),
|
|
18014
|
+
children: /* @__PURE__ */ l.jsx(Y, { variant: "caption", fontSize: 14, fontWeight: 400, color: "inherit", children: "Options" })
|
|
18015
18015
|
}
|
|
18016
18016
|
),
|
|
18017
18017
|
/* @__PURE__ */ l.jsx(
|
|
18018
|
-
|
|
18018
|
+
Q,
|
|
18019
18019
|
{
|
|
18020
18020
|
component: "button",
|
|
18021
18021
|
type: "button",
|
|
18022
18022
|
sx: U0(m === "custom"),
|
|
18023
|
-
onClick:
|
|
18024
|
-
children: /* @__PURE__ */ l.jsx(
|
|
18023
|
+
onClick: Z("custom"),
|
|
18024
|
+
children: /* @__PURE__ */ l.jsx(Y, { variant: "caption", fontSize: 14, fontWeight: 400, color: "inherit", children: "Custom Object" })
|
|
18025
18025
|
}
|
|
18026
18026
|
)
|
|
18027
18027
|
] }) }),
|
|
@@ -18035,25 +18035,25 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
18035
18035
|
optionsProps: _,
|
|
18036
18036
|
setSearch: O,
|
|
18037
18037
|
searchOffset: 52
|
|
18038
|
-
}) : /* @__PURE__ */ l.jsx(bs, { sx: { padding: "12px 0 0" }, children: s.map((
|
|
18039
|
-
const ee =
|
|
18038
|
+
}) : /* @__PURE__ */ l.jsx(bs, { sx: { padding: "12px 0 0" }, children: s.map((J) => {
|
|
18039
|
+
const ee = J.options.length > 0;
|
|
18040
18040
|
return /* @__PURE__ */ l.jsxs(
|
|
18041
18041
|
bs,
|
|
18042
18042
|
{
|
|
18043
18043
|
onPointerEnter: (ie) => {
|
|
18044
|
-
ie.pointerType === "touch" || !ee || x({ field:
|
|
18044
|
+
ie.pointerType === "touch" || !ee || x({ field: J, currentTarget: ie.currentTarget });
|
|
18045
18045
|
},
|
|
18046
18046
|
onPointerLeave: (ie) => {
|
|
18047
18047
|
ie.pointerType === "touch" || !ee || y();
|
|
18048
18048
|
},
|
|
18049
|
-
sx: Lw(ee && (f == null ? void 0 : f.id) ===
|
|
18050
|
-
"data-field-id":
|
|
18049
|
+
sx: Lw(ee && (f == null ? void 0 : f.id) === J.id),
|
|
18050
|
+
"data-field-id": J.id,
|
|
18051
18051
|
children: [
|
|
18052
|
-
/* @__PURE__ */ l.jsx("span", { style: { minWidth: 0, flex: 1, textAlign: "left" }, children:
|
|
18052
|
+
/* @__PURE__ */ l.jsx("span", { style: { minWidth: 0, flex: 1, textAlign: "left" }, children: J.name }),
|
|
18053
18053
|
ee ? /* @__PURE__ */ l.jsx(rt.PlayArrow, { sx: Ow }) : null
|
|
18054
18054
|
]
|
|
18055
18055
|
},
|
|
18056
|
-
|
|
18056
|
+
J.id
|
|
18057
18057
|
);
|
|
18058
18058
|
}) })
|
|
18059
18059
|
]
|
|
@@ -18064,13 +18064,13 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
18064
18064
|
{
|
|
18065
18065
|
name: e,
|
|
18066
18066
|
customValue: E,
|
|
18067
|
-
popperOpen:
|
|
18067
|
+
popperOpen: $,
|
|
18068
18068
|
anchorEl: g,
|
|
18069
18069
|
zIndex: u,
|
|
18070
18070
|
activeField: f,
|
|
18071
18071
|
onEnter: x,
|
|
18072
18072
|
onLeave: y,
|
|
18073
|
-
onChange:
|
|
18073
|
+
onChange: H
|
|
18074
18074
|
}
|
|
18075
18075
|
)
|
|
18076
18076
|
] });
|
|
@@ -18190,7 +18190,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
18190
18190
|
display: "block"
|
|
18191
18191
|
}
|
|
18192
18192
|
}
|
|
18193
|
-
}, Kw = () => /* @__PURE__ */ l.jsx(
|
|
18193
|
+
}, Kw = () => /* @__PURE__ */ l.jsx(Q, { "aria-hidden": !0, component: "span", sx: _c.outer, children: /* @__PURE__ */ l.jsx(Q, { component: "span", sx: _c.frame, children: /* @__PURE__ */ l.jsx(Q, { component: "span", sx: _c.rotate, children: /* @__PURE__ */ l.jsx(qw, {}) }) }) }), Qw = A("img")`
|
|
18194
18194
|
width: 16px;
|
|
18195
18195
|
height: auto;
|
|
18196
18196
|
object-fit: cover;
|
|
@@ -18230,7 +18230,7 @@ const la = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, L
|
|
|
18230
18230
|
padding: 16px 32px;
|
|
18231
18231
|
gap: 10px;
|
|
18232
18232
|
border-top: 1px solid ${({ theme: e }) => e.palette.gray.gray5};
|
|
18233
|
-
`, aI = A(
|
|
18233
|
+
`, aI = A(Q)`
|
|
18234
18234
|
width: 320px;
|
|
18235
18235
|
flex-shrink: 0;
|
|
18236
18236
|
padding-left: 20px;
|
|
@@ -18287,56 +18287,65 @@ const fI = ({
|
|
|
18287
18287
|
checkMandatory: p = !1,
|
|
18288
18288
|
className: b,
|
|
18289
18289
|
customFieldsInDropdown: v = !0,
|
|
18290
|
-
|
|
18291
|
-
|
|
18292
|
-
|
|
18293
|
-
|
|
18290
|
+
showInfo: m = !0,
|
|
18291
|
+
fetchOptions: h,
|
|
18292
|
+
onSave: f,
|
|
18293
|
+
onCancel: g,
|
|
18294
|
+
onFieldChange: x
|
|
18294
18295
|
}) => {
|
|
18295
|
-
const [
|
|
18296
|
+
const [y, E] = V({}), [C, w] = V({}), [_, I] = V(!1), T = fe(() => mh(500), []), D = fe(() => {
|
|
18296
18297
|
if (!Array.isArray(r) || !r.length) return [];
|
|
18297
|
-
const
|
|
18298
|
-
return r.filter((
|
|
18299
|
-
}, [r]),
|
|
18300
|
-
|
|
18301
|
-
const
|
|
18302
|
-
return
|
|
18298
|
+
const Z = /* @__PURE__ */ new Set();
|
|
18299
|
+
return r.filter((G) => Z.has(G.name) ? !1 : (Z.add(G.name), !0)).sort((G, J) => G.priority - J.priority);
|
|
18300
|
+
}, [r]), F = ({ name: Z, value: $ }) => {
|
|
18301
|
+
w((G) => {
|
|
18302
|
+
const J = { ...G };
|
|
18303
|
+
return $ ? J[Z] = $ : delete J[Z], J;
|
|
18303
18304
|
});
|
|
18304
18305
|
};
|
|
18305
18306
|
oe(() => {
|
|
18306
|
-
u && e &&
|
|
18307
|
+
u && e && E({ ...u });
|
|
18307
18308
|
}, [u, e]), oe(() => () => {
|
|
18308
|
-
e || (
|
|
18309
|
+
e || (E({}), w({}));
|
|
18309
18310
|
}, [e]), oe(() => {
|
|
18310
|
-
p &&
|
|
18311
|
-
const
|
|
18312
|
-
var
|
|
18313
|
-
return !!((
|
|
18314
|
-
}).filter((
|
|
18315
|
-
|
|
18311
|
+
p && T(() => {
|
|
18312
|
+
const $ = r.filter((G) => {
|
|
18313
|
+
var J;
|
|
18314
|
+
return !!((J = G.validations) != null && J.isRequired);
|
|
18315
|
+
}).filter((G) => !y[G.name]);
|
|
18316
|
+
I($.length > 0);
|
|
18316
18317
|
});
|
|
18317
|
-
}, [
|
|
18318
|
-
const
|
|
18319
|
-
t(),
|
|
18320
|
-
}, O = () => {
|
|
18321
|
-
f == null || f(), y({}), t();
|
|
18318
|
+
}, [T, y, r, p]);
|
|
18319
|
+
const O = () => {
|
|
18320
|
+
t(), E({});
|
|
18322
18321
|
}, j = () => {
|
|
18323
|
-
|
|
18324
|
-
|
|
18325
|
-
|
|
18326
|
-
|
|
18327
|
-
|
|
18328
|
-
|
|
18329
|
-
|
|
18330
|
-
|
|
18322
|
+
g == null || g(), E({}), t();
|
|
18323
|
+
}, H = () => {
|
|
18324
|
+
const Z = { ...y };
|
|
18325
|
+
for (const $ in Z) {
|
|
18326
|
+
const G = Z[$];
|
|
18327
|
+
(G === "" || G === null || G === void 0) && delete Z[$];
|
|
18328
|
+
}
|
|
18329
|
+
f(Z);
|
|
18330
|
+
}, U = Object.keys(C).length > 0 || _;
|
|
18331
|
+
return /* @__PURE__ */ l.jsx(K1, { className: b, open: e, onClose: O, PaperProps: { sx: uI }, maxWidth: !1, children: c ? /* @__PURE__ */ l.jsx(Q, { sx: { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", width: "615px" }, children: /* @__PURE__ */ l.jsx(_i, {}) }) : /* @__PURE__ */ l.jsxs(nI, { children: [
|
|
18331
18332
|
/* @__PURE__ */ l.jsxs(rI, { children: [
|
|
18332
18333
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: 2, children: [
|
|
18333
18334
|
/* @__PURE__ */ l.jsx(Kw, {}),
|
|
18334
18335
|
/* @__PURE__ */ l.jsx(N, { gap: 0.5, flex: 1, minWidth: 0, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: 0.5, children: [
|
|
18335
|
-
/* @__PURE__ */ l.jsx(
|
|
18336
|
-
|
|
18336
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h6", fontSize: 18, fontWeight: 600, color: P.palette.gray.gray1, children: a }),
|
|
18337
|
+
m && /* @__PURE__ */ l.jsx(
|
|
18338
|
+
we,
|
|
18339
|
+
{
|
|
18340
|
+
title: "Set default values to have them pre-filled every time you create a task.",
|
|
18341
|
+
placement: "top",
|
|
18342
|
+
slotProps: { tooltip: { sx: { maxWidth: "260px !important" } } },
|
|
18343
|
+
children: /* @__PURE__ */ l.jsx(lt, { size: "small", "aria-label": "About mapping fields", sx: { padding: "4px" }, children: /* @__PURE__ */ l.jsx(rt.InfoOutlined, { sx: { fontSize: 18, color: P.palette.gray.gray3 } }) })
|
|
18344
|
+
}
|
|
18345
|
+
)
|
|
18337
18346
|
] }) })
|
|
18338
18347
|
] }),
|
|
18339
|
-
/* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick:
|
|
18348
|
+
/* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: O, size: "small", "aria-label": "Close", children: /* @__PURE__ */ l.jsx(rt.Close, { sx: { fontSize: 20 } }) }) })
|
|
18340
18349
|
] }),
|
|
18341
18350
|
/* @__PURE__ */ l.jsx(oI, { children: /* @__PURE__ */ l.jsxs(iI, { children: [
|
|
18342
18351
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -18351,24 +18360,24 @@ const fI = ({
|
|
|
18351
18360
|
},
|
|
18352
18361
|
children: [
|
|
18353
18362
|
/* @__PURE__ */ l.jsx(eI, { src: i, alt: "Connector" }),
|
|
18354
|
-
/* @__PURE__ */ l.jsx(
|
|
18363
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "caption", fontSize: 14, fontWeight: 600, color: P.palette.gray.gray3, flex: 1, children: "Field" }),
|
|
18355
18364
|
/* @__PURE__ */ l.jsx(
|
|
18356
|
-
|
|
18365
|
+
Y,
|
|
18357
18366
|
{
|
|
18358
18367
|
variant: "caption",
|
|
18359
18368
|
fontSize: 14,
|
|
18360
18369
|
fontWeight: 600,
|
|
18361
18370
|
color: P.palette.gray.gray3,
|
|
18362
18371
|
width: 320,
|
|
18363
|
-
children: "
|
|
18372
|
+
children: "Value"
|
|
18364
18373
|
}
|
|
18365
18374
|
)
|
|
18366
18375
|
]
|
|
18367
18376
|
}
|
|
18368
18377
|
),
|
|
18369
|
-
|
|
18370
|
-
var
|
|
18371
|
-
const
|
|
18378
|
+
D.map((Z, $) => {
|
|
18379
|
+
var ee;
|
|
18380
|
+
const G = dI(Z), J = y[G] ?? "";
|
|
18372
18381
|
return /* @__PURE__ */ l.jsxs(
|
|
18373
18382
|
N,
|
|
18374
18383
|
{
|
|
@@ -18377,36 +18386,36 @@ const fI = ({
|
|
|
18377
18386
|
padding: "24px",
|
|
18378
18387
|
gap: 2,
|
|
18379
18388
|
sx: {
|
|
18380
|
-
borderBottom:
|
|
18389
|
+
borderBottom: $ < D.length - 1 ? "1px solid #F6F8FC" : void 0,
|
|
18381
18390
|
"&:last-child": { borderBottom: "none" }
|
|
18382
18391
|
},
|
|
18383
18392
|
children: [
|
|
18384
|
-
/* @__PURE__ */ l.jsx(cI, { children: /* @__PURE__ */ l.jsxs(
|
|
18385
|
-
|
|
18386
|
-
p && ((
|
|
18393
|
+
/* @__PURE__ */ l.jsx(cI, { children: /* @__PURE__ */ l.jsxs(Y, { variant: "body2", fontSize: 14, color: P.palette.gray.gray2, children: [
|
|
18394
|
+
Z.label,
|
|
18395
|
+
p && ((ee = Z.validations) != null && ee.isRequired) ? /* @__PURE__ */ l.jsx(lI, {}) : null
|
|
18387
18396
|
] }) }),
|
|
18388
18397
|
/* @__PURE__ */ l.jsx(tI, { width: 20, height: 20 }),
|
|
18389
18398
|
/* @__PURE__ */ l.jsx(aI, { children: /* @__PURE__ */ l.jsx(
|
|
18390
18399
|
Jw,
|
|
18391
18400
|
{
|
|
18392
|
-
field:
|
|
18401
|
+
field: Z,
|
|
18393
18402
|
formId: String(n),
|
|
18394
|
-
value:
|
|
18395
|
-
formValues:
|
|
18403
|
+
value: J,
|
|
18404
|
+
formValues: y,
|
|
18396
18405
|
variables: o,
|
|
18397
18406
|
customFields: d,
|
|
18398
|
-
errors:
|
|
18407
|
+
errors: C,
|
|
18399
18408
|
checkMandatory: p,
|
|
18400
18409
|
customFieldsInDropdown: v,
|
|
18401
|
-
setError:
|
|
18402
|
-
fetchOptions:
|
|
18403
|
-
setFormValues:
|
|
18404
|
-
onFieldChange:
|
|
18410
|
+
setError: F,
|
|
18411
|
+
fetchOptions: h,
|
|
18412
|
+
setFormValues: E,
|
|
18413
|
+
onFieldChange: x
|
|
18405
18414
|
}
|
|
18406
18415
|
) })
|
|
18407
18416
|
]
|
|
18408
18417
|
},
|
|
18409
|
-
|
|
18418
|
+
G
|
|
18410
18419
|
);
|
|
18411
18420
|
})
|
|
18412
18421
|
] }) }),
|
|
@@ -18415,9 +18424,9 @@ const fI = ({
|
|
|
18415
18424
|
ke,
|
|
18416
18425
|
{
|
|
18417
18426
|
variant: "contained",
|
|
18418
|
-
onClick:
|
|
18427
|
+
onClick: H,
|
|
18419
18428
|
sx: { textTransform: "none", padding: "3px 32px !important" },
|
|
18420
|
-
disabled: s ||
|
|
18429
|
+
disabled: s || U,
|
|
18421
18430
|
children: "Save"
|
|
18422
18431
|
}
|
|
18423
18432
|
),
|
|
@@ -18426,7 +18435,7 @@ const fI = ({
|
|
|
18426
18435
|
{
|
|
18427
18436
|
variant: "outlined",
|
|
18428
18437
|
color: "inherit",
|
|
18429
|
-
onClick:
|
|
18438
|
+
onClick: j,
|
|
18430
18439
|
disabled: s,
|
|
18431
18440
|
sx: { textTransform: "none", padding: "3px 12px !important", borderColor: P.palette.gray.gray5 },
|
|
18432
18441
|
children: "Cancel"
|
|
@@ -18434,11 +18443,11 @@ const fI = ({
|
|
|
18434
18443
|
)
|
|
18435
18444
|
] })
|
|
18436
18445
|
] }) });
|
|
18437
|
-
}, pI = A(
|
|
18446
|
+
}, pI = A(Q)`
|
|
18438
18447
|
position: fixed;
|
|
18439
18448
|
inset: 0;
|
|
18440
18449
|
z-index: ${({ zIndex: e }) => e};
|
|
18441
|
-
`, hI = A(
|
|
18450
|
+
`, hI = A(Q)`
|
|
18442
18451
|
position: fixed;
|
|
18443
18452
|
top: ${({ top: e }) => `${e}px`};
|
|
18444
18453
|
left: ${({ left: e }) => `${e}px`};
|
|
@@ -18728,25 +18737,25 @@ const fI = ({
|
|
|
18728
18737
|
if (x && (D = await B2({ fieldName: r, formId: o }, { pagination: O || {}, args: c, interfaceId: u })), F != null && F.aborted)
|
|
18729
18738
|
throw F.reason;
|
|
18730
18739
|
if (!D || !D.data || !("data" in D.data) || !Array.isArray(D.data.data) || !D.data.data.length) {
|
|
18731
|
-
const { common:
|
|
18732
|
-
return a == null || a(
|
|
18733
|
-
...
|
|
18734
|
-
optionsList:
|
|
18740
|
+
const { common: G } = t(), J = (I = G.optionsMap) == null ? void 0 : I[b];
|
|
18741
|
+
return a == null || a(J.options ?? []), {
|
|
18742
|
+
...J,
|
|
18743
|
+
optionsList: J.options ?? [],
|
|
18735
18744
|
key: b,
|
|
18736
18745
|
hasMore: !1
|
|
18737
18746
|
};
|
|
18738
18747
|
}
|
|
18739
|
-
const
|
|
18740
|
-
...
|
|
18741
|
-
avatarUrl:
|
|
18742
|
-
} : (delete
|
|
18743
|
-
return a == null || a(
|
|
18744
|
-
optionsList:
|
|
18748
|
+
const H = D.data.data.map((G) => m ? {
|
|
18749
|
+
...G,
|
|
18750
|
+
avatarUrl: G.avatarUrl || LI
|
|
18751
|
+
} : (delete G.avatarUrl, G)), U = [...g, ...H], Z = E ? H.length >= w : !1, $ = hh(U, (G) => G.value);
|
|
18752
|
+
return a == null || a($), {
|
|
18753
|
+
optionsList: $,
|
|
18745
18754
|
fieldName: r,
|
|
18746
18755
|
formId: o,
|
|
18747
18756
|
searchTerm: i,
|
|
18748
18757
|
currentPage: y + 1,
|
|
18749
|
-
hasMore:
|
|
18758
|
+
hasMore: Z,
|
|
18750
18759
|
key: b
|
|
18751
18760
|
};
|
|
18752
18761
|
} catch (D) {
|
|
@@ -19223,7 +19232,7 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19223
19232
|
};
|
|
19224
19233
|
}
|
|
19225
19234
|
}), x;
|
|
19226
|
-
}), [e, v]), h = (g, x) => /* @__PURE__ */ l.jsx(s9, { align: "left", children: g.deepLink ? /* @__PURE__ */ l.jsx($i, { target: "_blank", underline: "none", href: g.deepLink, children: g.label }) : /* @__PURE__ */ l.jsx(
|
|
19235
|
+
}), [e, v]), h = (g, x) => /* @__PURE__ */ l.jsx(s9, { align: "left", children: g.deepLink ? /* @__PURE__ */ l.jsx($i, { target: "_blank", underline: "none", href: g.deepLink, children: g.label }) : /* @__PURE__ */ l.jsx(Y, { variant: "body2", color: "gray.black", children: g.label }) }, `${x}_${g.label}`), f = (g) => {
|
|
19227
19236
|
!g || !n || (r(!1), i(dp, {
|
|
19228
19237
|
card_title: n.title,
|
|
19229
19238
|
connector_name: n.connectorName,
|
|
@@ -19232,10 +19241,10 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19232
19241
|
}), o(Hr({ ...n, externalResourceId: g })));
|
|
19233
19242
|
};
|
|
19234
19243
|
return /* @__PURE__ */ l.jsxs(N, { maxHeight: "340px", maxWidth: "700px", padding: "32px 0px 32px 32px", overflow: "auto", children: [
|
|
19235
|
-
/* @__PURE__ */ l.jsx(
|
|
19244
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h2", color: "gray.black", marginBottom: "16px", children: t }),
|
|
19236
19245
|
/* @__PURE__ */ l.jsx(am, { ref: u, children: /* @__PURE__ */ l.jsxs(cm, { stickyHeader: !0, children: [
|
|
19237
19246
|
/* @__PURE__ */ l.jsx(r9, { children: /* @__PURE__ */ l.jsxs(Y1, { children: [
|
|
19238
|
-
v.map((g) => /* @__PURE__ */ l.jsx(o9, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ l.jsx(
|
|
19247
|
+
v.map((g) => /* @__PURE__ */ l.jsx(o9, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ l.jsx(Y, { variant: "overline", color: "gray.gray3", children: g }) }, g)),
|
|
19239
19248
|
/* @__PURE__ */ l.jsx(c9, {})
|
|
19240
19249
|
] }) }),
|
|
19241
19250
|
/* @__PURE__ */ l.jsx(lm, { children: m.map((g, x) => /* @__PURE__ */ l.jsxs(i9, { children: [
|
|
@@ -19300,38 +19309,38 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19300
19309
|
D(ie);
|
|
19301
19310
|
}
|
|
19302
19311
|
}, [t, r]);
|
|
19303
|
-
const j = o == xl.NOT_FOUND,
|
|
19304
|
-
let
|
|
19305
|
-
if (s === "date" &&
|
|
19306
|
-
const ee = new Date(parseInt(
|
|
19307
|
-
|
|
19312
|
+
const j = o == xl.NOT_FOUND, H = !j && Array.isArray(t) && t.every((ee) => typeof ee == "string" || typeof ee == "number" || typeof ee == "boolean");
|
|
19313
|
+
let U = j || t == null || t === void 0 || Array.isArray(t) ? Un : ua(t);
|
|
19314
|
+
if (s === "date" && U && U !== Un && !j) {
|
|
19315
|
+
const ee = new Date(parseInt(U));
|
|
19316
|
+
U = isNaN(ee.getTime()) ? Un : ee.toLocaleDateString(navigator.language);
|
|
19308
19317
|
}
|
|
19309
|
-
const
|
|
19318
|
+
const Z = !!n || c, $ = () => {
|
|
19310
19319
|
a ? w == null || w.redirectToAdmin() : window.open(c6, "_blank");
|
|
19311
|
-
},
|
|
19320
|
+
}, G = () => {
|
|
19312
19321
|
C == null || C(x5, {
|
|
19313
19322
|
sm_ids: y,
|
|
19314
19323
|
card_title: d,
|
|
19315
19324
|
field_name: m
|
|
19316
19325
|
});
|
|
19317
|
-
},
|
|
19326
|
+
}, J = (ee) => {
|
|
19318
19327
|
const ie = /<>(.*?)<>/g, W = ee.split(ie);
|
|
19319
19328
|
return /* @__PURE__ */ l.jsx(Me.Fragment, { children: W.map(
|
|
19320
|
-
(
|
|
19329
|
+
(K, k) => k % 2 === 1 ? /* @__PURE__ */ l.jsx(K6, { variant: "body2", onClick: $, children: K }, k) : K
|
|
19321
19330
|
) });
|
|
19322
19331
|
};
|
|
19323
19332
|
if (i)
|
|
19324
19333
|
return /* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: 16, animation: "wave", margin: "4px 0 0 0" });
|
|
19325
|
-
if (
|
|
19334
|
+
if (Z)
|
|
19326
19335
|
return /* @__PURE__ */ l.jsxs(Lp, { gap: "7px", children: [
|
|
19327
19336
|
h ? /* @__PURE__ */ l.jsx(N, { marginTop: "3px", flexShrink: "0", children: /* @__PURE__ */ l.jsx("img", { src: __, width: "18px", height: "18px" }) }) : null,
|
|
19328
|
-
/* @__PURE__ */ l.jsx(Rp, { variant: "body_sm_regular", children: F ?
|
|
19337
|
+
/* @__PURE__ */ l.jsx(Rp, { variant: "body_sm_regular", children: F ? J(F) : Nd })
|
|
19329
19338
|
] });
|
|
19330
|
-
if (
|
|
19339
|
+
if (H) {
|
|
19331
19340
|
const ee = t;
|
|
19332
19341
|
return ee.length ? /* @__PURE__ */ l.jsx(e9, { children: ee.map((ie, W) => /* @__PURE__ */ l.jsx(t9, { children: ua(ie) }, `${W}_${String(ie)}`)) }) : /* @__PURE__ */ l.jsx(Vd, { variant: "caption_regular", children: Un });
|
|
19333
19342
|
}
|
|
19334
|
-
return /* @__PURE__ */ l.jsx(we, { title: T ?
|
|
19343
|
+
return /* @__PURE__ */ l.jsx(we, { title: T ? U : null, placement: "bottom", children: r ? /* @__PURE__ */ l.jsx(
|
|
19335
19344
|
Op,
|
|
19336
19345
|
{
|
|
19337
19346
|
ref: g,
|
|
@@ -19339,10 +19348,10 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19339
19348
|
underline: "none",
|
|
19340
19349
|
href: r,
|
|
19341
19350
|
fontSize: "13px",
|
|
19342
|
-
onClick:
|
|
19343
|
-
children:
|
|
19351
|
+
onClick: G,
|
|
19352
|
+
children: U || Un
|
|
19344
19353
|
}
|
|
19345
|
-
) : /* @__PURE__ */ l.jsx(Vd, { ref: f, variant: "caption_regular", children:
|
|
19354
|
+
) : /* @__PURE__ */ l.jsx(Vd, { ref: f, variant: "caption_regular", children: U || Un }) });
|
|
19346
19355
|
}, Y2 = "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", vr = ({
|
|
19347
19356
|
shown: e,
|
|
19348
19357
|
setShown: t,
|
|
@@ -19366,28 +19375,28 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19366
19375
|
},
|
|
19367
19376
|
sx: { ...i },
|
|
19368
19377
|
children: /* @__PURE__ */ l.jsxs(N, { direction: "row", children: [
|
|
19369
|
-
r && /* @__PURE__ */ l.jsx(
|
|
19378
|
+
r && /* @__PURE__ */ l.jsx(Q, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: () => t(!1), children: /* @__PURE__ */ l.jsx("img", { src: Y2 }) }) }) }),
|
|
19370
19379
|
n
|
|
19371
19380
|
] })
|
|
19372
19381
|
}
|
|
19373
19382
|
), J2 = (e) => {
|
|
19374
|
-
var W,
|
|
19383
|
+
var W, K, k;
|
|
19375
19384
|
const { id: t, cardTitle: n, specificCardData: r, specificConnectorApiStatus: o, isOpen: i, currentCard: s } = e, a = 24, c = (o == null ? void 0 : o[t]) === se.IDLE, u = (o == null ? void 0 : o[t]) === se.LOADING, d = (o == null ? void 0 : o[t]) === se.FAILED, { cardType: p, data: b, cardErrorMessage: v, redirectToAdminTab: m, connectorNames: h } = (r == null ? void 0 : r[t]) || {}, f = p === "flat", [g, x] = V(!1), [y, E] = V(!1), [C, w] = V(!1), [_, I] = V(!1), T = ((W = b == null ? void 0 : b.listItems) == null ? void 0 : W.statusCode) !== 401, D = fe(() => {
|
|
19376
|
-
var
|
|
19377
|
-
return f && ((
|
|
19378
|
-
}, [f, b]), F = fe(() => D == null ? void 0 : D.slice(0, 5), [D]), [O, j] = V([]),
|
|
19385
|
+
var q, re, ae, he;
|
|
19386
|
+
return f && ((q = b == null ? void 0 : b.flatDisplay) != null && q.data) ? b.flatDisplay.data : !f && ((he = (ae = (re = b == null ? void 0 : b.listItems) == null ? void 0 : re.fields) == null ? void 0 : ae[0]) != null && he.data) ? b.listItems.fields[0].data : [];
|
|
19387
|
+
}, [f, b]), F = fe(() => D == null ? void 0 : D.slice(0, 5), [D]), [O, j] = V([]), H = ge(null), [U, Z] = V(0), $ = g ? -180 : 0, G = f ? !1 : !!((K = b == null ? void 0 : b.listItems) != null && K.errorMessage), J = G || d || v, ee = c && !G && i && (C || y);
|
|
19379
19388
|
uo(() => {
|
|
19380
|
-
var
|
|
19381
|
-
(
|
|
19382
|
-
}, [o == null ? void 0 : o[t], O,
|
|
19389
|
+
var q;
|
|
19390
|
+
(q = H.current) != null && q.scrollHeight && Z(H.current.scrollHeight + a);
|
|
19391
|
+
}, [o == null ? void 0 : o[t], O, H]), oe(() => {
|
|
19383
19392
|
var he, M;
|
|
19384
|
-
const
|
|
19385
|
-
w(
|
|
19393
|
+
const q = ((D == null ? void 0 : D.length) || 0) > 5, re = !f && (((M = (he = b == null ? void 0 : b.listItems) == null ? void 0 : he.fields) == null ? void 0 : M.length) || 0) > 1;
|
|
19394
|
+
w(q && !re), E(re);
|
|
19386
19395
|
}, [b, f, D == null ? void 0 : D.length]), oe(() => {
|
|
19387
19396
|
j(g ? D : F);
|
|
19388
19397
|
}, [b, g, F, D]);
|
|
19389
19398
|
const ie = () => {
|
|
19390
|
-
C ? x((
|
|
19399
|
+
C ? x((q) => !q) : I((q) => !q);
|
|
19391
19400
|
};
|
|
19392
19401
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
19393
19402
|
/* @__PURE__ */ l.jsx(vr, { shown: _, setShown: I, showCloseButton: !0, borderRadius: 12, children: /* @__PURE__ */ l.jsx(
|
|
@@ -19399,10 +19408,10 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19399
19408
|
setShowModal: I
|
|
19400
19409
|
}
|
|
19401
19410
|
) }),
|
|
19402
|
-
/* @__PURE__ */ l.jsx(J6, { className: i ? "" : "slideUp", height:
|
|
19411
|
+
/* @__PURE__ */ l.jsx(J6, { className: i ? "" : "slideUp", height: U, children: /* @__PURE__ */ l.jsx(N, { ref: H, gap: 1, margin: "12px", children: u && !(O != null && O.length) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
19403
19412
|
/* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: 20, animation: "wave" }),
|
|
19404
19413
|
/* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: 20, animation: "wave" })
|
|
19405
|
-
] }) : /* @__PURE__ */ l.jsx(l.Fragment, { children:
|
|
19414
|
+
] }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: J ? /* @__PURE__ */ l.jsx(Q, { margin: "8px 0", children: /* @__PURE__ */ l.jsx(
|
|
19406
19415
|
K0,
|
|
19407
19416
|
{
|
|
19408
19417
|
error: v,
|
|
@@ -19416,8 +19425,8 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19416
19425
|
currentCard: s,
|
|
19417
19426
|
isCardLevelError: !0
|
|
19418
19427
|
}
|
|
19419
|
-
) }) : O != null && O.length ? O == null ? void 0 : O.map((
|
|
19420
|
-
const { value: re, label: ae, deepLink: he, type: M } =
|
|
19428
|
+
) }) : O != null && O.length ? O == null ? void 0 : O.map((q) => {
|
|
19429
|
+
const { value: re, label: ae, deepLink: he, type: M } = q, le = "errorMessage" in q ? q.errorMessage : null, Oe = "statusCode" in q ? q.statusCode : null;
|
|
19421
19430
|
return /* @__PURE__ */ l.jsxs("div", { children: [
|
|
19422
19431
|
/* @__PURE__ */ l.jsx(q6, { variant: "overline_medium", children: ae }),
|
|
19423
19432
|
/* @__PURE__ */ l.jsx(
|
|
@@ -19436,10 +19445,10 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19436
19445
|
}
|
|
19437
19446
|
)
|
|
19438
19447
|
] }, ae);
|
|
19439
|
-
}) : /* @__PURE__ */ l.jsx(
|
|
19448
|
+
}) : /* @__PURE__ */ l.jsx(Q, { margin: "8px 0", children: /* @__PURE__ */ l.jsx(Rp, { variant: "body_sm_regular", children: Y5 }) }) }) }) }),
|
|
19440
19449
|
!v && ee && /* @__PURE__ */ l.jsx(u9, { variant: "body_xs_medium", onClick: ie, children: C ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
19441
19450
|
g ? Z9 : zd,
|
|
19442
|
-
/* @__PURE__ */ l.jsx(l9, { src: U9, transformAngle:
|
|
19451
|
+
/* @__PURE__ */ l.jsx(l9, { src: U9, transformAngle: $ })
|
|
19443
19452
|
] }) : zd })
|
|
19444
19453
|
] });
|
|
19445
19454
|
}, A_ = {
|
|
@@ -19591,8 +19600,8 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19591
19600
|
});
|
|
19592
19601
|
};
|
|
19593
19602
|
return /* @__PURE__ */ l.jsx(vr, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ l.jsxs(N, { width: "400px", padding: "20px", gap: "8px", children: [
|
|
19594
|
-
/* @__PURE__ */ l.jsx(
|
|
19595
|
-
/* @__PURE__ */ l.jsx(
|
|
19603
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h2", children: e6 }),
|
|
19604
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", children: $_(s) }),
|
|
19596
19605
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", gap: "8px", marginTop: "20px", justifyContent: "flex-end", children: [
|
|
19597
19606
|
/* @__PURE__ */ l.jsx(ke, { variant: "text", onClick: () => t(!1), children: xu }),
|
|
19598
19607
|
/* @__PURE__ */ l.jsx(ke, { disabled: d, color: "error", onClick: p, children: bp })
|
|
@@ -19618,9 +19627,9 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19618
19627
|
} = e, a = Rt(), { availableFeatures: c, sendTrackingEvent: u, conversationId: d, currentSmIds: p } = je(Qe), { userGroupId: b } = cn() || {}, [v, m] = V(!!i), [h, f] = V(!1), [g, x] = V(!1), [y, E] = V(!1), { id: C, title: w, externalResourceId: _ = "", forms: I = [], logoUrl: T } = t;
|
|
19619
19628
|
let D = C;
|
|
19620
19629
|
_ && (D = `${D}_${_}`);
|
|
19621
|
-
const { data: F, cardType: O, cardErrorMessage: j, connectorNames:
|
|
19630
|
+
const { data: F, cardType: O, cardErrorMessage: j, connectorNames: H } = (n == null ? void 0 : n[D]) ?? {}, U = (H == null ? void 0 : H[0]) || "", Z = (o == null ? void 0 : o[D]) === se.LOADING, $ = (o == null ? void 0 : o[D]) === se.FAILED, G = !!(mt(c, fp) && _), J = fe(() => {
|
|
19622
19631
|
var M, le;
|
|
19623
|
-
if (j ||
|
|
19632
|
+
if (j || $ || !(mt(c, V5) && I.some((Oe) => Oe.type === "edit")))
|
|
19624
19633
|
return !1;
|
|
19625
19634
|
switch (O) {
|
|
19626
19635
|
case "flat":
|
|
@@ -19630,21 +19639,21 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19630
19639
|
default:
|
|
19631
19640
|
return !1;
|
|
19632
19641
|
}
|
|
19633
|
-
}, [F, O, c, I, t, j,
|
|
19642
|
+
}, [F, O, c, I, t, j, $]), ee = Ae(
|
|
19634
19643
|
(M = !1) => {
|
|
19635
19644
|
const le = M ? u5 : l5;
|
|
19636
19645
|
r && C && d && a(Ii({ id: C, email: r, conversationId: d, externalResourceId: _ })).unwrap().then((Oe) => {
|
|
19637
|
-
const
|
|
19646
|
+
const X = {
|
|
19638
19647
|
...Md(Oe, w, M, !0),
|
|
19639
19648
|
sm_ids: p
|
|
19640
19649
|
};
|
|
19641
|
-
u(le,
|
|
19650
|
+
u(le, X);
|
|
19642
19651
|
}).catch((Oe) => {
|
|
19643
|
-
const
|
|
19652
|
+
const X = {
|
|
19644
19653
|
...Md(Oe, w, M, !1),
|
|
19645
19654
|
sm_ids: p
|
|
19646
19655
|
};
|
|
19647
|
-
u(le,
|
|
19656
|
+
u(le, X);
|
|
19648
19657
|
});
|
|
19649
19658
|
},
|
|
19650
19659
|
[a, r, C, w, u, d, _, p]
|
|
@@ -19653,33 +19662,33 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19653
19662
|
v && ee(!0);
|
|
19654
19663
|
}, [v, ee]);
|
|
19655
19664
|
const ie = (M, le) => {
|
|
19656
|
-
var
|
|
19665
|
+
var X;
|
|
19657
19666
|
M == null || M.stopPropagation(), a(Ii({ id: le, email: r, conversationId: d, isRefresh: !0, externalResourceId: _ })).unwrap().then(() => {
|
|
19658
19667
|
u(Jb, {
|
|
19659
19668
|
id: le
|
|
19660
19669
|
});
|
|
19661
19670
|
});
|
|
19662
|
-
const Oe = M.target.tagName === "BUTTON" ? (
|
|
19671
|
+
const Oe = M.target.tagName === "BUTTON" ? (X = M.target) == null ? void 0 : X.firstChild : M.target;
|
|
19663
19672
|
Oe.className && (Oe.className = ""), setTimeout(() => Oe.className = "selected", 1);
|
|
19664
19673
|
}, W = (M, le) => {
|
|
19665
|
-
M.stopPropagation(), !(n != null && n[le]) && !
|
|
19674
|
+
M.stopPropagation(), !(n != null && n[le]) && !Z && ee(), u(v ? Yb : Xb, {
|
|
19666
19675
|
id: le
|
|
19667
19676
|
}), m((Oe) => !Oe);
|
|
19668
|
-
},
|
|
19677
|
+
}, K = (M) => {
|
|
19669
19678
|
M.stopPropagation();
|
|
19670
19679
|
const le = M.currentTarget.offsetWidth < M.currentTarget.scrollWidth;
|
|
19671
19680
|
f(!!le);
|
|
19672
19681
|
}, k = (M) => {
|
|
19673
|
-
var Oe,
|
|
19682
|
+
var Oe, X;
|
|
19674
19683
|
M.stopPropagation(), u(dp, {
|
|
19675
19684
|
card_title: w,
|
|
19676
|
-
connector_name:
|
|
19685
|
+
connector_name: U,
|
|
19677
19686
|
ug_id: b,
|
|
19678
19687
|
sm_ids: p
|
|
19679
19688
|
});
|
|
19680
19689
|
let le;
|
|
19681
|
-
O === "flat" ? le = (F == null ? void 0 : F.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (le = (
|
|
19682
|
-
},
|
|
19690
|
+
O === "flat" ? le = (F == null ? void 0 : F.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (le = (X = (Oe = F == null ? void 0 : F.listItems) == null ? void 0 : Oe.fields[0]) == null ? void 0 : X.externalResourceId), le ? a(Hr({ ...t, externalResourceId: le })) : Be({ message: qn, type: dt });
|
|
19691
|
+
}, q = (M) => {
|
|
19683
19692
|
M.stopPropagation(), x(!0);
|
|
19684
19693
|
}, re = () => {
|
|
19685
19694
|
E(!0);
|
|
@@ -19689,15 +19698,15 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19689
19698
|
{
|
|
19690
19699
|
id: "unlink",
|
|
19691
19700
|
label: bp,
|
|
19692
|
-
disabled:
|
|
19693
|
-
shown:
|
|
19701
|
+
disabled: Z,
|
|
19702
|
+
shown: G,
|
|
19694
19703
|
iconSrc: D_,
|
|
19695
|
-
action: (M) =>
|
|
19704
|
+
action: (M) => q(M)
|
|
19696
19705
|
},
|
|
19697
19706
|
{
|
|
19698
19707
|
id: "refresh",
|
|
19699
19708
|
label: pp,
|
|
19700
|
-
disabled:
|
|
19709
|
+
disabled: Z,
|
|
19701
19710
|
shown: !0,
|
|
19702
19711
|
iconSrc: K2,
|
|
19703
19712
|
action: (M) => ie(M, C)
|
|
@@ -19705,8 +19714,8 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19705
19714
|
{
|
|
19706
19715
|
id: "edit",
|
|
19707
19716
|
label: xp,
|
|
19708
|
-
disabled:
|
|
19709
|
-
shown:
|
|
19717
|
+
disabled: Z,
|
|
19718
|
+
shown: J,
|
|
19710
19719
|
iconSrc: N_,
|
|
19711
19720
|
action: (M) => k(M)
|
|
19712
19721
|
}
|
|
@@ -19719,8 +19728,8 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19719
19728
|
Y6,
|
|
19720
19729
|
{
|
|
19721
19730
|
variant: "body_sm_regular",
|
|
19722
|
-
onMouseOver: (M) =>
|
|
19723
|
-
onMouseLeave: (M) =>
|
|
19731
|
+
onMouseOver: (M) => K(M),
|
|
19732
|
+
onMouseLeave: (M) => K(M),
|
|
19724
19733
|
children: w
|
|
19725
19734
|
}
|
|
19726
19735
|
) })
|
|
@@ -19750,7 +19759,7 @@ const x_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
|
|
|
19750
19759
|
onCardUnlinking: s,
|
|
19751
19760
|
conversationId: d,
|
|
19752
19761
|
externalResourceId: _,
|
|
19753
|
-
connectorName:
|
|
19762
|
+
connectorName: U
|
|
19754
19763
|
}
|
|
19755
19764
|
)
|
|
19756
19765
|
] });
|
|
@@ -19991,7 +20000,7 @@ function uA(e) {
|
|
|
19991
20000
|
}).some((r) => r.isLoading) };
|
|
19992
20001
|
}
|
|
19993
20002
|
var V1, G1;
|
|
19994
|
-
const dA = A(
|
|
20003
|
+
const dA = A(Q)`
|
|
19995
20004
|
display: flex;
|
|
19996
20005
|
flex-direction: column;
|
|
19997
20006
|
align-items: stretch;
|
|
@@ -20006,7 +20015,7 @@ const dA = A(K)`
|
|
|
20006
20015
|
gap: 16px;
|
|
20007
20016
|
`;
|
|
20008
20017
|
var H1, W1;
|
|
20009
|
-
const fA = A(
|
|
20018
|
+
const fA = A(Q)`
|
|
20010
20019
|
background: ${((H1 = P.palette.common) == null ? void 0 : H1.white) ?? "#FFFFFF"};
|
|
20011
20020
|
border: 1px solid ${((W1 = P.palette.gray) == null ? void 0 : W1.gray6) ?? "#ECEFF6"};
|
|
20012
20021
|
border-radius: 10px;
|
|
@@ -20142,7 +20151,7 @@ const gA = A(ke)`
|
|
|
20142
20151
|
/* @__PURE__ */ l.jsxs(N, { gap: "16px", alignItems: "center", sx: { width: "100%", padding: "0 8px" }, children: [
|
|
20143
20152
|
/* @__PURE__ */ l.jsxs(N, { gap: "6px", alignItems: "center", sx: { width: "100%", textAlign: "center" }, children: [
|
|
20144
20153
|
/* @__PURE__ */ l.jsx(
|
|
20145
|
-
|
|
20154
|
+
Y,
|
|
20146
20155
|
{
|
|
20147
20156
|
sx: {
|
|
20148
20157
|
fontWeight: 600,
|
|
@@ -20154,7 +20163,7 @@ const gA = A(ke)`
|
|
|
20154
20163
|
}
|
|
20155
20164
|
),
|
|
20156
20165
|
/* @__PURE__ */ l.jsx(
|
|
20157
|
-
|
|
20166
|
+
Y,
|
|
20158
20167
|
{
|
|
20159
20168
|
sx: {
|
|
20160
20169
|
fontWeight: 500,
|
|
@@ -20214,11 +20223,11 @@ const gA = A(ke)`
|
|
|
20214
20223
|
onCardUnlinking: i
|
|
20215
20224
|
}
|
|
20216
20225
|
);
|
|
20217
|
-
return p.state === "connected" ? b : p.state === "unknown" ? d ? s ? /* @__PURE__ */ l.jsxs(
|
|
20226
|
+
return p.state === "connected" ? b : p.state === "unknown" ? d ? s ? /* @__PURE__ */ l.jsxs(Q, { sx: { flexGrow: 1, display: "flex", flexDirection: "column", gap: "12px" }, children: [
|
|
20218
20227
|
/* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
|
|
20219
20228
|
/* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" }),
|
|
20220
20229
|
/* @__PURE__ */ l.jsx(mn, { variant: "rounded", width: "100%", height: "46px", animation: "wave" })
|
|
20221
|
-
] }) : null : b : s ? /* @__PURE__ */ l.jsx(
|
|
20230
|
+
] }) : null : b : s ? /* @__PURE__ */ l.jsx(Q, { sx: { flexGrow: 1, display: "flex", flexDirection: "column", justifyContent: "flex-start" }, children: /* @__PURE__ */ l.jsx(
|
|
20222
20231
|
sg,
|
|
20223
20232
|
{
|
|
20224
20233
|
connectorId: c,
|
|
@@ -20241,7 +20250,7 @@ const gA = A(ke)`
|
|
|
20241
20250
|
const { availableFeatures: i } = je(Qe), a = mt(i, H5) ? xA : 1, c = (d) => d.externalResourceId ? `${d.id}_${d.externalResourceId}` : d.id, u = /* @__PURE__ */ new Map();
|
|
20242
20251
|
return e.forEach((d) => {
|
|
20243
20252
|
d.userAuthEnabled && d.connectorId && !u.has(d.connectorId) && u.set(d.connectorId, c(d));
|
|
20244
|
-
}), /* @__PURE__ */ l.jsx(
|
|
20253
|
+
}), /* @__PURE__ */ l.jsx(Q, { sx: { flexGrow: 1, display: "flex", flexDirection: "column" }, children: e.map((d, p) => {
|
|
20245
20254
|
const b = c(d);
|
|
20246
20255
|
return /* @__PURE__ */ l.jsx("div", { style: { display: "contents" }, children: /* @__PURE__ */ l.jsx(
|
|
20247
20256
|
bA,
|
|
@@ -20267,7 +20276,7 @@ const gA = A(ke)`
|
|
|
20267
20276
|
}) => {
|
|
20268
20277
|
ig(e.connectorId, !0);
|
|
20269
20278
|
const n = Ie((r) => Qi(r, e.connectorId));
|
|
20270
|
-
return ag.has(n.state) ? /* @__PURE__ */ l.jsx(
|
|
20279
|
+
return ag.has(n.state) ? /* @__PURE__ */ l.jsx(Q, { sx: { flexGrow: 1, display: "flex", flexDirection: "column", justifyContent: "flex-start" }, children: /* @__PURE__ */ l.jsx(
|
|
20271
20280
|
sg,
|
|
20272
20281
|
{
|
|
20273
20282
|
connectorId: e.connectorId,
|
|
@@ -20351,7 +20360,7 @@ const gA = A(ke)`
|
|
|
20351
20360
|
),
|
|
20352
20361
|
/* @__PURE__ */ l.jsxs(N, { gap: "8px", alignItems: "center", children: [
|
|
20353
20362
|
/* @__PURE__ */ l.jsx(
|
|
20354
|
-
|
|
20363
|
+
Y,
|
|
20355
20364
|
{
|
|
20356
20365
|
sx: {
|
|
20357
20366
|
fontWeight: 500,
|
|
@@ -20364,7 +20373,7 @@ const gA = A(ke)`
|
|
|
20364
20373
|
}
|
|
20365
20374
|
),
|
|
20366
20375
|
/* @__PURE__ */ l.jsx(
|
|
20367
|
-
|
|
20376
|
+
Y,
|
|
20368
20377
|
{
|
|
20369
20378
|
sx: {
|
|
20370
20379
|
fontWeight: 400,
|
|
@@ -20394,7 +20403,7 @@ function Wn({
|
|
|
20394
20403
|
return !t && !n ? null : e;
|
|
20395
20404
|
}
|
|
20396
20405
|
qo.CaseView = Wn;
|
|
20397
|
-
const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", SA = "Enable Connectors", TA = "Enable Apps", LA = "Enable Cards", RA = "Learn more", OA = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", FA = "Contact your admin to enable this", kA = "https://youtu.be/ODcJnzZLb50", DA = "connectors-module/assets/connectors-images/connector-mainpage.png", NA = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", jA = "Explore connectors", MA = "Connectors", PA = A(
|
|
20406
|
+
const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", SA = "Enable Connectors", TA = "Enable Apps", LA = "Enable Cards", RA = "Learn more", OA = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", FA = "Contact your admin to enable this", kA = "https://youtu.be/ODcJnzZLb50", DA = "connectors-module/assets/connectors-images/connector-mainpage.png", NA = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", jA = "Explore connectors", MA = "Connectors", PA = A(Q)`
|
|
20398
20407
|
padding-top: 20px;
|
|
20399
20408
|
`, BA = A(N)`
|
|
20400
20409
|
width: 100%;
|
|
@@ -20412,7 +20421,7 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20412
20421
|
height: 56px;
|
|
20413
20422
|
width: 102px;
|
|
20414
20423
|
}
|
|
20415
|
-
`, VA = A(
|
|
20424
|
+
`, VA = A(Y)`
|
|
20416
20425
|
color: ${P.palette.gray.gray1};
|
|
20417
20426
|
height: 54px;
|
|
20418
20427
|
width: 120px;
|
|
@@ -20422,7 +20431,7 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20422
20431
|
width: 100%;
|
|
20423
20432
|
margin-bottom: 20px;
|
|
20424
20433
|
margin-top: 12px;
|
|
20425
|
-
`, HA = A(
|
|
20434
|
+
`, HA = A(Y)`
|
|
20426
20435
|
color: ${P.palette.gray.gray1};
|
|
20427
20436
|
font-size: 13px;
|
|
20428
20437
|
margin-bottom: 24px;
|
|
@@ -20444,7 +20453,7 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20444
20453
|
`, UA = A(rt.InfoOutlined)`
|
|
20445
20454
|
width: 18px;
|
|
20446
20455
|
color: ${P.palette.gray.gray3};
|
|
20447
|
-
`, ZA = A(
|
|
20456
|
+
`, ZA = A(Y)`
|
|
20448
20457
|
color: ${P.palette.gray.gray3};
|
|
20449
20458
|
`, zA = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", $A = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: XA } = $A, i1 = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
|
|
20450
20459
|
const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o, connectorId: i } = je(Qe), s = mt(r, P5), a = mt(r, Sa), c = (b) => {
|
|
@@ -20458,7 +20467,7 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20458
20467
|
}, p = a ? NA : DA;
|
|
20459
20468
|
return /* @__PURE__ */ l.jsxs(PA, { "data-testid": "noConnectors", children: [
|
|
20460
20469
|
s ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
20461
|
-
t ? null : /* @__PURE__ */ l.jsx(
|
|
20470
|
+
t ? null : /* @__PURE__ */ l.jsx(Y, { variant: "h2", children: a ? bu : MA }),
|
|
20462
20471
|
/* @__PURE__ */ l.jsx(GA, { onClick: d, href: kA, target: "_blank", children: /* @__PURE__ */ l.jsx(
|
|
20463
20472
|
YE,
|
|
20464
20473
|
{
|
|
@@ -20542,14 +20551,14 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20542
20551
|
return /* @__PURE__ */ l.jsxs(f9, { children: [
|
|
20543
20552
|
/* @__PURE__ */ l.jsxs(p9, { children: [
|
|
20544
20553
|
/* @__PURE__ */ l.jsx(d9, { variant: "h3", children: b }),
|
|
20545
|
-
/* @__PURE__ */ l.jsxs(
|
|
20554
|
+
/* @__PURE__ */ l.jsxs(Q, { children: [
|
|
20546
20555
|
o ? /* @__PURE__ */ l.jsx(we, { title: q5, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: y, children: /* @__PURE__ */ l.jsx(rt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
|
|
20547
20556
|
/* @__PURE__ */ l.jsx(we, { title: o ? J5 : mu, placement: "bottom", children: /* @__PURE__ */ l.jsx(Xo, { onClick: g, children: /* @__PURE__ */ l.jsx(Cu, { className: o ? "" : "hiver-up" }) }) })
|
|
20548
20557
|
] })
|
|
20549
20558
|
] }),
|
|
20550
20559
|
/* @__PURE__ */ l.jsx(h9, { className: o ? "slideDown" : "slideUp", ref: s, height: a, children: /* @__PURE__ */ l.jsxs(g9, { children: [
|
|
20551
20560
|
d.map(({ title: E, items: C, type: w }) => /* @__PURE__ */ l.jsxs(y9, { children: [
|
|
20552
|
-
/* @__PURE__ */ l.jsx(
|
|
20561
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2_medium", children: E }),
|
|
20553
20562
|
C.map((_) => {
|
|
20554
20563
|
const I = w === r6, { deeplink: T, textHtml: D, imageUrl: F } = _, O = () => /* @__PURE__ */ l.jsx(
|
|
20555
20564
|
Q6,
|
|
@@ -20595,7 +20604,7 @@ const IA = "Bring your favourite tools into Hiver", _A = "Plugin image", AA = "I
|
|
|
20595
20604
|
const { textRef: t, isOverflow: n } = lg(e.data.label);
|
|
20596
20605
|
return /* @__PURE__ */ l.jsx(we, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ l.jsx(C9, { ref: t, variant: "body_sm_regular", paddingTop: n ? "5px" : "0px", children: e.data.label }) });
|
|
20597
20606
|
}, eS = (e) => /* @__PURE__ */ l.jsxs(En.MenuList, { ...e, children: [
|
|
20598
|
-
/* @__PURE__ */ l.jsx(E9, { children: /* @__PURE__ */ l.jsx(
|
|
20607
|
+
/* @__PURE__ */ l.jsx(E9, { children: /* @__PURE__ */ l.jsx(Y, { variant: "body_sm_medium", children: X9 }) }),
|
|
20599
20608
|
e.children
|
|
20600
20609
|
] }), tS = (e) => {
|
|
20601
20610
|
const { isSelected: t } = e, { textRef: n, isOverflow: r } = lg(e.data.label);
|
|
@@ -20712,14 +20721,14 @@ const sS = A(eu)`
|
|
|
20712
20721
|
`, aS = A("img")`
|
|
20713
20722
|
height: 16px;
|
|
20714
20723
|
width: 16px;
|
|
20715
|
-
`, cS = A(
|
|
20724
|
+
`, cS = A(Q)`
|
|
20716
20725
|
margin-top: 12px;
|
|
20717
20726
|
height: 100%;
|
|
20718
20727
|
`, lS = "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", Ac = ({ children: e, rightNode: t, title: n = "Back", backButtonTooltip: r, onClose: o }) => /* @__PURE__ */ l.jsxs(sS, { children: [
|
|
20719
20728
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", justifyContent: "space-between", children: [
|
|
20720
20729
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
|
|
20721
20730
|
/* @__PURE__ */ l.jsx(we, { title: r, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(aS, { src: lS }) }) }),
|
|
20722
|
-
/* @__PURE__ */ l.jsx(
|
|
20731
|
+
/* @__PURE__ */ l.jsx(Y, { children: n })
|
|
20723
20732
|
] }),
|
|
20724
20733
|
/* @__PURE__ */ l.jsx(N, { direction: "row", alignItems: "center", children: t })
|
|
20725
20734
|
] }),
|
|
@@ -20776,7 +20785,7 @@ const sS = A(eu)`
|
|
|
20776
20785
|
] }) : /* @__PURE__ */ l.jsxs(hS, { children: [
|
|
20777
20786
|
p && /* @__PURE__ */ l.jsx("img", { src: p, alt: d }),
|
|
20778
20787
|
/* @__PURE__ */ l.jsx(we, { title: i ? d : "", children: /* @__PURE__ */ l.jsx(
|
|
20779
|
-
|
|
20788
|
+
Y,
|
|
20780
20789
|
{
|
|
20781
20790
|
variant: "h4",
|
|
20782
20791
|
onMouseOver: (h) => v(h),
|
|
@@ -21201,11 +21210,11 @@ const sS = A(eu)`
|
|
|
21201
21210
|
})), O = ry(D, F);
|
|
21202
21211
|
E(O);
|
|
21203
21212
|
}, I = async ({ args: D, pagination: F }, { formId: O, fieldName: j }) => {
|
|
21204
|
-
const
|
|
21213
|
+
const H = await B2(
|
|
21205
21214
|
{ formId: O, fieldName: j },
|
|
21206
21215
|
{ pagination: F, args: D }
|
|
21207
|
-
),
|
|
21208
|
-
return { options:
|
|
21216
|
+
), U = Array.isArray(H == null ? void 0 : H.data.data) ? H.data.data : [];
|
|
21217
|
+
return { options: U, hasMore: !!U.length };
|
|
21209
21218
|
}, T = (D) => {
|
|
21210
21219
|
if (D.type === "multi-select") {
|
|
21211
21220
|
v((O) => ({ ...O, [D.name]: D.value }));
|
|
@@ -21265,7 +21274,7 @@ const sS = A(eu)`
|
|
|
21265
21274
|
padding-bottom: 12px;
|
|
21266
21275
|
margin-bottom: 20px;
|
|
21267
21276
|
`;
|
|
21268
|
-
A(
|
|
21277
|
+
A(Q)`
|
|
21269
21278
|
display: flex;
|
|
21270
21279
|
align-items: center;
|
|
21271
21280
|
justify-content: center;
|
|
@@ -21303,7 +21312,7 @@ const _S = A(N)`
|
|
|
21303
21312
|
return /* @__PURE__ */ l.jsx(IS, { children: /* @__PURE__ */ l.jsxs(_S, { children: [
|
|
21304
21313
|
/* @__PURE__ */ l.jsxs(AS, { children: [
|
|
21305
21314
|
/* @__PURE__ */ l.jsxs(
|
|
21306
|
-
|
|
21315
|
+
Y,
|
|
21307
21316
|
{
|
|
21308
21317
|
variant: "body2",
|
|
21309
21318
|
sx: {
|
|
@@ -21319,7 +21328,7 @@ const _S = A(N)`
|
|
|
21319
21328
|
}
|
|
21320
21329
|
),
|
|
21321
21330
|
/* @__PURE__ */ l.jsxs(
|
|
21322
|
-
|
|
21331
|
+
Y,
|
|
21323
21332
|
{
|
|
21324
21333
|
variant: "caption",
|
|
21325
21334
|
color: P.palette.gray.gray3,
|
|
@@ -21338,9 +21347,9 @@ const _S = A(N)`
|
|
|
21338
21347
|
] })
|
|
21339
21348
|
] }) });
|
|
21340
21349
|
}, Cg = ({ setShown: e, shown: t, title: n, description: r, buttons: o }) => /* @__PURE__ */ l.jsx(vr, { shown: t, setShown: e, showCloseButton: !0, children: /* @__PURE__ */ l.jsxs(N, { width: "400px", padding: "20px", children: [
|
|
21341
|
-
/* @__PURE__ */ l.jsx(
|
|
21350
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h2", marginBottom: "8px", children: n }),
|
|
21342
21351
|
/* @__PURE__ */ l.jsx(N, { gap: "4px", marginBottom: "20px", children: r.split(`
|
|
21343
|
-
`).map((i, s) => /* @__PURE__ */ l.jsx(
|
|
21352
|
+
`).map((i, s) => /* @__PURE__ */ l.jsx(Y, { variant: "body2", children: i }, s)) }),
|
|
21344
21353
|
/* @__PURE__ */ l.jsx(N, { direction: "row", justifyContent: "flex-end", gap: "8px", children: o.map((i) => /* @__PURE__ */ l.jsx(
|
|
21345
21354
|
ke,
|
|
21346
21355
|
{
|
|
@@ -21373,9 +21382,9 @@ const _S = A(N)`
|
|
|
21373
21382
|
stackingContext: T,
|
|
21374
21383
|
isAdmin: D,
|
|
21375
21384
|
variables: F
|
|
21376
|
-
} = je(Qe), [O, j] = hg(),
|
|
21385
|
+
} = je(Qe), [O, j] = hg(), H = Ie(tg), U = Ie(t ? M_ : Q2), Z = Ie(P_), $ = Ie(Vu), G = Ie(G_), J = Ie(H_), ee = Ie(W_), ie = Ie(U_), W = Ie(Z_), K = Ie(ng), k = $ == null ? void 0 : $[(p == null ? void 0 : p.value) ?? ""];
|
|
21377
21386
|
u == null || u(k);
|
|
21378
|
-
const
|
|
21387
|
+
const q = mt(y, X5), re = (k == null ? void 0 : k.hasCustomFields) ?? !1, { customFieldsArgsPresent: ae, customFieldsArgs: he } = fe(() => {
|
|
21379
21388
|
if (!re) return { customFieldsArgsPresent: !1, customFieldsArgs: {} };
|
|
21380
21389
|
const de = Object.values((k == null ? void 0 : k.customFieldsArgs) ?? {}).every(
|
|
21381
21390
|
(Ft) => !!O.values[Ft]
|
|
@@ -21383,13 +21392,13 @@ const _S = A(N)`
|
|
|
21383
21392
|
if (!de) return { customFieldsArgsPresent: !1, customFieldsArgs: {} };
|
|
21384
21393
|
const Te = (k == null ? void 0 : k.customFieldsArgs) ?? {}, ot = vi(O, Te);
|
|
21385
21394
|
return { customFieldsArgsPresent: de, customFieldsArgs: ot };
|
|
21386
|
-
}, [re, O, k == null ? void 0 : k.customFieldsArgs]), M = re && ae &&
|
|
21395
|
+
}, [re, O, k == null ? void 0 : k.customFieldsArgs]), M = re && ae && q, { data: le } = wS({
|
|
21387
21396
|
formId: String(p == null ? void 0 : p.value),
|
|
21388
21397
|
args: he,
|
|
21389
21398
|
enabled: M
|
|
21390
|
-
}), Oe = fe(() => M ? le ?? [] : [], [M, le]),
|
|
21391
|
-
if (p && "value" in p &&
|
|
21392
|
-
const Te = [...
|
|
21399
|
+
}), Oe = fe(() => M ? le ?? [] : [], [M, le]), X = k == null ? void 0 : k.expandedView, { formConfigs: Ye, formViewConfigs: et } = fe(() => {
|
|
21400
|
+
if (p && "value" in p && Z && Z[p.value] && Array.isArray(Z[p.value])) {
|
|
21401
|
+
const Te = [...Z[p.value], ...Oe], ot = [
|
|
21393
21402
|
{
|
|
21394
21403
|
id: p.value,
|
|
21395
21404
|
formFields: Te
|
|
@@ -21397,7 +21406,7 @@ const _S = A(N)`
|
|
|
21397
21406
|
];
|
|
21398
21407
|
return {
|
|
21399
21408
|
formConfigs: ot,
|
|
21400
|
-
formViewConfigs:
|
|
21409
|
+
formViewConfigs: X ? xI(Te, J0) : ot
|
|
21401
21410
|
};
|
|
21402
21411
|
}
|
|
21403
21412
|
const de = [{ id: "emptyFormId", formFields: [] }];
|
|
@@ -21405,7 +21414,7 @@ const _S = A(N)`
|
|
|
21405
21414
|
formConfigs: de,
|
|
21406
21415
|
formViewConfigs: de
|
|
21407
21416
|
};
|
|
21408
|
-
}, [
|
|
21417
|
+
}, [Z, Oe, p, X]), Ne = (kr = Ye[0]) == null ? void 0 : kr.formFields, Wt = fe(
|
|
21409
21418
|
() => new Set((Ne ?? []).filter((de) => de.isMulti).map((de) => de.name)),
|
|
21410
21419
|
[Ne]
|
|
21411
21420
|
), wn = fe(
|
|
@@ -21444,12 +21453,12 @@ const _S = A(N)`
|
|
|
21444
21453
|
formId: Ye[0].id,
|
|
21445
21454
|
formState: O,
|
|
21446
21455
|
conversationId: x
|
|
21447
|
-
}), Ot = (Dr =
|
|
21456
|
+
}), Ot = (Dr = H == null ? void 0 : H.forms.find((de) => de.type === "edit")) == null ? void 0 : Dr.id, { externalResourceId: nr } = H ?? {}, rr = [J, ee, W].includes(se.LOADING), Tr = fe(() => !X || !_ ? null : _(), [X, _]), Zt = Rt();
|
|
21448
21457
|
oe(() => {
|
|
21449
21458
|
Zt(FI());
|
|
21450
|
-
}, []), oe(() => (
|
|
21451
|
-
|
|
21452
|
-
}), [
|
|
21459
|
+
}, []), oe(() => (X && I && I(!0), () => {
|
|
21460
|
+
X && I && I(!1);
|
|
21461
|
+
}), [X, I]), oe(() => {
|
|
21453
21462
|
Zt(
|
|
21454
21463
|
q0(
|
|
21455
21464
|
t ? !(ie && "values" in ie && "values" in O && t1(O.values, ie.values)) : (e == null ? void 0 : e.fields_filled) !== void 0 && e.fields_filled > 0
|
|
@@ -21467,8 +21476,8 @@ const _S = A(N)`
|
|
|
21467
21476
|
}, [O, Ye, s]), oe(() => {
|
|
21468
21477
|
if (n && !t)
|
|
21469
21478
|
return b(n);
|
|
21470
|
-
|
|
21471
|
-
}, [
|
|
21479
|
+
U && U.length && b(t && Ot ? U.find((de) => de.value === Ot) ?? null : (de) => de || !$ ? de : U.length === 1 ? U[0] : U.find((ot) => !$[ot.value].expandedView) ?? null);
|
|
21480
|
+
}, [U, $, t, Ot, n]);
|
|
21472
21481
|
const Lr = () => {
|
|
21473
21482
|
b(g.current), m(!1), j({ type: jt.RESET_STATE });
|
|
21474
21483
|
}, _n = (de, Te) => {
|
|
@@ -21476,10 +21485,10 @@ const _S = A(N)`
|
|
|
21476
21485
|
}, An = (de, Te, ot) => {
|
|
21477
21486
|
if (!!ot && !!ot.isMulti && Te.name && Te.name !== "form-object") {
|
|
21478
21487
|
const tt = Array.isArray(de) ? de.map((R) => ({ value: R.value, label: R.label })) : [];
|
|
21479
|
-
Ke(Te.name, tt), p != null && p.value && Qn(Te.name,
|
|
21488
|
+
Ke(Te.name, tt), p != null && p.value && Qn(Te.name, G == null ? void 0 : G[p.value]);
|
|
21480
21489
|
return;
|
|
21481
21490
|
}
|
|
21482
|
-
if (Te.action === "clear" && Te.name && (Ke(Te.name, ""), p != null && p.value && Qn(Te.name,
|
|
21491
|
+
if (Te.action === "clear" && Te.name && (Ke(Te.name, ""), p != null && p.value && Qn(Te.name, G == null ? void 0 : G[p.value]), ht[Te.name].isRequired && er(Te.name, !0)), de && typeof de == "object" && "label" in de && typeof de.label == "string" && "value" in de && (typeof de.value == "string" || typeof de.value == "number") && typeof Te.name < "u")
|
|
21483
21492
|
if (Te.name === "form-object") {
|
|
21484
21493
|
if (g.current = { value: de.value, label: de.label }, O.values && de.value !== (p == null ? void 0 : p.value)) {
|
|
21485
21494
|
const tt = Object.values(O.values).filter((ne) => ne !== "").length;
|
|
@@ -21490,18 +21499,18 @@ const _S = A(N)`
|
|
|
21490
21499
|
if (Ke(Te.name, z), R)
|
|
21491
21500
|
for (const ne in R)
|
|
21492
21501
|
Ke(ne, R[ne]);
|
|
21493
|
-
p != null && p.value && Qn(Te.name,
|
|
21502
|
+
p != null && p.value && Qn(Te.name, G == null ? void 0 : G[p.value]);
|
|
21494
21503
|
}
|
|
21495
21504
|
}, Rr = () => {
|
|
21496
|
-
if (!un() && Ot && (
|
|
21497
|
-
const { connectorName: de, title: Te } =
|
|
21505
|
+
if (!un() && Ot && ($ != null && $[Ot]) && x && nr) {
|
|
21506
|
+
const { connectorName: de, title: Te } = H;
|
|
21498
21507
|
E(p5, {
|
|
21499
21508
|
connector_name: de,
|
|
21500
21509
|
card_title: Te,
|
|
21501
21510
|
sm_ids: C,
|
|
21502
21511
|
ug_id: po
|
|
21503
21512
|
});
|
|
21504
|
-
const ot =
|
|
21513
|
+
const ot = $[Ot].interfaceDetails;
|
|
21505
21514
|
if (!ot || !ie)
|
|
21506
21515
|
return;
|
|
21507
21516
|
const { id: Ft, args: tt = {}, previousArgs: R = {} } = ot, z = vi(
|
|
@@ -21545,8 +21554,8 @@ const _S = A(N)`
|
|
|
21545
21554
|
});
|
|
21546
21555
|
}
|
|
21547
21556
|
}, Or = () => {
|
|
21548
|
-
if (!un() && p && (
|
|
21549
|
-
const de =
|
|
21557
|
+
if (!un() && p && ($ != null && $[p.value]) && x) {
|
|
21558
|
+
const de = $ == null ? void 0 : $[p.value].interfaceDetails;
|
|
21550
21559
|
if (!de)
|
|
21551
21560
|
return;
|
|
21552
21561
|
const { id: Te, args: ot = {} } = de, Ft = vi(O, ot, Wt, wn);
|
|
@@ -21606,7 +21615,7 @@ const _S = A(N)`
|
|
|
21606
21615
|
fields_configured_count: Te,
|
|
21607
21616
|
has_system_variable: ot
|
|
21608
21617
|
});
|
|
21609
|
-
}, bo = D &&
|
|
21618
|
+
}, bo = D && q && (k == null ? void 0 : k.cardAccessMode) === "read_write", xo = !h && (C == null ? void 0 : C.length) > 1 && Object.keys(Ut ?? {}).length > 0, vo = /* @__PURE__ */ l.jsxs(Ag, { className: X ? Eg : "", children: [
|
|
21610
21619
|
a && /* @__PURE__ */ l.jsx(
|
|
21611
21620
|
CS,
|
|
21612
21621
|
{
|
|
@@ -21642,8 +21651,8 @@ const _S = A(N)`
|
|
|
21642
21651
|
buttons: go
|
|
21643
21652
|
}
|
|
21644
21653
|
),
|
|
21645
|
-
|
|
21646
|
-
/* @__PURE__ */ l.jsxs(
|
|
21654
|
+
X ? /* @__PURE__ */ l.jsxs(RS, { children: [
|
|
21655
|
+
/* @__PURE__ */ l.jsxs(Y, { variant: "body_sm_medium", children: [
|
|
21647
21656
|
t ? "Edit" : "Add",
|
|
21648
21657
|
" to ",
|
|
21649
21658
|
k.connectorName
|
|
@@ -21651,12 +21660,12 @@ const _S = A(N)`
|
|
|
21651
21660
|
/* @__PURE__ */ l.jsx(we, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(OS, { src: Y2 }) }) })
|
|
21652
21661
|
] }) : null,
|
|
21653
21662
|
/* @__PURE__ */ l.jsxs(_g, { spacing: 3, children: [
|
|
21654
|
-
!t &&
|
|
21663
|
+
!t && !X ? /* @__PURE__ */ l.jsx(
|
|
21655
21664
|
lo,
|
|
21656
21665
|
{
|
|
21657
21666
|
type: "select",
|
|
21658
21667
|
placeholder: W2,
|
|
21659
|
-
options:
|
|
21668
|
+
options: U,
|
|
21660
21669
|
value: p,
|
|
21661
21670
|
name: "form-object",
|
|
21662
21671
|
selectChangeHandler: An,
|
|
@@ -21682,7 +21691,7 @@ const _S = A(N)`
|
|
|
21682
21691
|
createConfig: Sr,
|
|
21683
21692
|
values: O.values,
|
|
21684
21693
|
validations: ht,
|
|
21685
|
-
|
|
21694
|
+
...X ? {
|
|
21686
21695
|
cols: J0,
|
|
21687
21696
|
stackIndex: T.expandedForm
|
|
21688
21697
|
} : null
|
|
@@ -21691,24 +21700,24 @@ const _S = A(N)`
|
|
|
21691
21700
|
bo ? /* @__PURE__ */ l.jsx(N, { marginTop: "28px", width: "100%", justifyContent: "center", children: /* @__PURE__ */ l.jsx(ke, { variant: "text", startIcon: /* @__PURE__ */ l.jsx(FS, {}), onClick: Fr, size: "small", children: l6 }) }) : null
|
|
21692
21701
|
] }),
|
|
21693
21702
|
xo ? /* @__PURE__ */ l.jsxs(LS, { children: [
|
|
21694
|
-
/* @__PURE__ */ l.jsx(
|
|
21703
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray1, children: l_ }),
|
|
21695
21704
|
/* @__PURE__ */ l.jsx(lt, { onClick: () => f(!0), children: /* @__PURE__ */ l.jsx(rt.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) })
|
|
21696
21705
|
] }) : null,
|
|
21697
21706
|
/* @__PURE__ */ l.jsxs(Ig, { children: [
|
|
21698
21707
|
/* @__PURE__ */ l.jsx(
|
|
21699
21708
|
ke,
|
|
21700
21709
|
{
|
|
21701
|
-
disabled: un() || rr || !
|
|
21710
|
+
disabled: un() || rr || !K,
|
|
21702
21711
|
onClick: t ? Rr : Or,
|
|
21703
21712
|
size: "small",
|
|
21704
|
-
|
|
21713
|
+
...X ? { style: { order: 2 } } : null,
|
|
21705
21714
|
children: t ? Q5 : K5
|
|
21706
21715
|
}
|
|
21707
21716
|
),
|
|
21708
21717
|
/* @__PURE__ */ l.jsx(Sg, { variant: "outlined", color: "tertiary", size: "small", onClick: o, disabled: rr, children: xu })
|
|
21709
21718
|
] })
|
|
21710
21719
|
] });
|
|
21711
|
-
return
|
|
21720
|
+
return X && Tr ? Xi(vo, Tr) : vo;
|
|
21712
21721
|
}, wg = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M9.70785 5.66671H5.70785V9.66671H4.37451V5.66671H0.374512V4.33337H4.37451V0.333374H5.70785V4.33337H9.70785V5.66671Z", fill: "#4D596C" })), LS = A(N)`
|
|
21713
21722
|
box-sizing: border-box;
|
|
21714
21723
|
width: 100%;
|
|
@@ -21723,7 +21732,7 @@ const _S = A(N)`
|
|
|
21723
21732
|
& > :first-child {
|
|
21724
21733
|
flex-grow: 1;
|
|
21725
21734
|
}
|
|
21726
|
-
`, Ig = A(
|
|
21735
|
+
`, Ig = A(Q)`
|
|
21727
21736
|
box-sizing: border-box;
|
|
21728
21737
|
height: 52px;
|
|
21729
21738
|
background-color: var(--form-background-color, inherit);
|
|
@@ -21825,8 +21834,8 @@ const FS = A(wg)`
|
|
|
21825
21834
|
const { value: j } = (O == null ? void 0 : O.target) || {};
|
|
21826
21835
|
b(j), c(!1);
|
|
21827
21836
|
}, D = (O, j) => {
|
|
21828
|
-
m((
|
|
21829
|
-
...
|
|
21837
|
+
m((H) => ({
|
|
21838
|
+
...H,
|
|
21830
21839
|
[O]: !!j
|
|
21831
21840
|
}));
|
|
21832
21841
|
}, F = () => Object.keys(v).filter((j) => v[j]).length > 0;
|
|
@@ -21907,7 +21916,7 @@ const FS = A(wg)`
|
|
|
21907
21916
|
fetchOnMount: !1
|
|
21908
21917
|
});
|
|
21909
21918
|
return i ? /* @__PURE__ */ l.jsx(
|
|
21910
|
-
|
|
21919
|
+
Y,
|
|
21911
21920
|
{
|
|
21912
21921
|
variant: "body2",
|
|
21913
21922
|
color: "primary.main",
|
|
@@ -21949,7 +21958,7 @@ const FS = A(wg)`
|
|
|
21949
21958
|
haveCreateObjects: n,
|
|
21950
21959
|
haveLinkObjects: r
|
|
21951
21960
|
}) => /* @__PURE__ */ l.jsxs(N, { gap: 2, marginTop: "12px", children: [
|
|
21952
|
-
/* @__PURE__ */ l.jsx(
|
|
21961
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray1, children: qI }),
|
|
21953
21962
|
/* @__PURE__ */ l.jsxs(N, { gap: "12px", children: [
|
|
21954
21963
|
n ? /* @__PURE__ */ l.jsxs(jS, { fullWidth: !0, onClick: e, size: "medium", children: [
|
|
21955
21964
|
/* @__PURE__ */ l.jsx(MS, {}),
|
|
@@ -21993,8 +22002,8 @@ const FS = A(wg)`
|
|
|
21993
22002
|
return /* @__PURE__ */ l.jsxs(JS, { isSelected: n, onClick: p, children: [
|
|
21994
22003
|
/* @__PURE__ */ l.jsx(qS, { src: u, alt: "option" }),
|
|
21995
22004
|
/* @__PURE__ */ l.jsxs(N, { children: [
|
|
21996
|
-
/* @__PURE__ */ l.jsx(
|
|
21997
|
-
/* @__PURE__ */ l.jsx(
|
|
22005
|
+
/* @__PURE__ */ l.jsx(Y, { color: P.palette.gray.gray1, children: a }),
|
|
22006
|
+
/* @__PURE__ */ l.jsx(Y, { color: P.palette.gray.gray3, fontSize: "12px", children: c })
|
|
21998
22007
|
] })
|
|
21999
22008
|
] });
|
|
22000
22009
|
}, KS = A(N)`
|
|
@@ -22114,7 +22123,7 @@ const FS = A(wg)`
|
|
|
22114
22123
|
);
|
|
22115
22124
|
oe(() => {
|
|
22116
22125
|
const C = r.values, w = u.id, _ = u.formFields;
|
|
22117
|
-
if (Object.values(C).filter((
|
|
22126
|
+
if (Object.values(C).filter((H) => !!H).length < _.length || !s || f()) {
|
|
22118
22127
|
i.current && clearTimeout(i.current);
|
|
22119
22128
|
return;
|
|
22120
22129
|
}
|
|
@@ -22166,11 +22175,11 @@ const FS = A(wg)`
|
|
|
22166
22175
|
}
|
|
22167
22176
|
}), aT = A(N)`
|
|
22168
22177
|
padding: 8px 0;
|
|
22169
|
-
`, cT = A(
|
|
22178
|
+
`, cT = A(Y)`
|
|
22170
22179
|
padding: 6px 16px;
|
|
22171
22180
|
color: ${P.palette.gray.gray4};
|
|
22172
22181
|
font-size: 13px;
|
|
22173
|
-
`, lT = A(
|
|
22182
|
+
`, lT = A(Y)`
|
|
22174
22183
|
padding: 6px 16px;
|
|
22175
22184
|
color: ${P.palette.gray.gray3};
|
|
22176
22185
|
font-size: 11px;
|
|
@@ -22370,7 +22379,7 @@ const FS = A(wg)`
|
|
|
22370
22379
|
return /* @__PURE__ */ l.jsxs(N, { gap: "12px", marginTop: "12px", children: [
|
|
22371
22380
|
/* @__PURE__ */ l.jsxs(IT, { onClick: o, children: [
|
|
22372
22381
|
/* @__PURE__ */ l.jsx("img", { src: wT, width: "16px", height: "16px" }),
|
|
22373
|
-
/* @__PURE__ */ l.jsx(
|
|
22382
|
+
/* @__PURE__ */ l.jsx(Y, { children: XS })
|
|
22374
22383
|
] }),
|
|
22375
22384
|
/* @__PURE__ */ l.jsxs(N, { gap: "24px", children: [
|
|
22376
22385
|
/* @__PURE__ */ l.jsx(
|
|
@@ -22401,9 +22410,9 @@ const FS = A(wg)`
|
|
|
22401
22410
|
}
|
|
22402
22411
|
}
|
|
22403
22412
|
`};
|
|
22404
|
-
`, AT = "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", ST = () => /* @__PURE__ */ l.jsxs(K, { justifyItems: "center", marginTop: "40px", children: [
|
|
22413
|
+
`, AT = "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", ST = () => /* @__PURE__ */ l.jsxs(Q, { justifyItems: "center", marginTop: "40px", children: [
|
|
22405
22414
|
/* @__PURE__ */ l.jsx("img", { src: AT, width: 124, height: 107 }),
|
|
22406
|
-
/* @__PURE__ */ l.jsx(
|
|
22415
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray3, children: YS })
|
|
22407
22416
|
] }), TT = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: r }) => {
|
|
22408
22417
|
const o = Rt(), { sendTrackingEvent: i, currentSmIds: s } = je(Qe), [a, c] = V(null), u = bt($S, {
|
|
22409
22418
|
count: e.length.toString(),
|
|
@@ -22428,13 +22437,13 @@ const FS = A(wg)`
|
|
|
22428
22437
|
n(), r(), p();
|
|
22429
22438
|
};
|
|
22430
22439
|
return e.length ? a ? /* @__PURE__ */ l.jsx(_T, { meta: a, onBack: p, onLink: b }) : /* @__PURE__ */ l.jsxs(N, { gap: "14px", marginTop: "12px", children: [
|
|
22431
|
-
/* @__PURE__ */ l.jsx(
|
|
22440
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", children: u }),
|
|
22432
22441
|
/* @__PURE__ */ l.jsx(N, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: v, name: m, description: h }) => /* @__PURE__ */ l.jsxs(kg, { onClick: () => d(v, m), direction: "row", children: [
|
|
22433
22442
|
/* @__PURE__ */ l.jsxs(N, { flexGrow: 1, children: [
|
|
22434
|
-
/* @__PURE__ */ l.jsx(
|
|
22435
|
-
/* @__PURE__ */ l.jsx(
|
|
22443
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray1, children: m }),
|
|
22444
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "caption", color: P.palette.gray.gray3, children: h })
|
|
22436
22445
|
] }),
|
|
22437
|
-
/* @__PURE__ */ l.jsx(
|
|
22446
|
+
/* @__PURE__ */ l.jsx(Q, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ l.jsx("img", { src: yT }) })
|
|
22438
22447
|
] }, v)) })
|
|
22439
22448
|
] }) : /* @__PURE__ */ l.jsx(ST, {});
|
|
22440
22449
|
}, Lc = A(ql)`
|
|
@@ -22576,17 +22585,17 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22576
22585
|
children: (t.presets ?? []).map((c) => /* @__PURE__ */ l.jsx(Io, { value: c.hiverParam, sx: { fontSize: "14px" }, children: c.label }, c.hiverParam))
|
|
22577
22586
|
}
|
|
22578
22587
|
),
|
|
22579
|
-
/* @__PURE__ */ l.jsx(
|
|
22588
|
+
/* @__PURE__ */ l.jsx(Q, { sx: d1 }),
|
|
22580
22589
|
/* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "4px", padding: "4px 12px", sx: GT, children: [
|
|
22581
22590
|
t.logo && /* @__PURE__ */ l.jsx("img", { src: t.logo, width: 16, height: 16, alt: t.connectorName }),
|
|
22582
|
-
/* @__PURE__ */ l.jsxs(
|
|
22591
|
+
/* @__PURE__ */ l.jsxs(Y, { variant: "body2", color: P.palette.gray.gray3, children: [
|
|
22583
22592
|
"Matches with ",
|
|
22584
22593
|
t.connectorName,
|
|
22585
22594
|
"'s"
|
|
22586
22595
|
] })
|
|
22587
22596
|
] }),
|
|
22588
|
-
/* @__PURE__ */ l.jsx(
|
|
22589
|
-
/* @__PURE__ */ l.jsx(
|
|
22597
|
+
/* @__PURE__ */ l.jsx(Q, { sx: d1 }),
|
|
22598
|
+
/* @__PURE__ */ l.jsx(Q, { sx: HT, children: /* @__PURE__ */ l.jsx(Y, { variant: "body2", fontSize: 14, children: i }) })
|
|
22590
22599
|
] });
|
|
22591
22600
|
}), UT = $1(function({
|
|
22592
22601
|
open: t,
|
|
@@ -22639,8 +22648,8 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22639
22648
|
[n]
|
|
22640
22649
|
);
|
|
22641
22650
|
return /* @__PURE__ */ l.jsx(vr, { shown: t, setShown: v, showCloseButton: !1, children: /* @__PURE__ */ l.jsxs(N, { padding: "24px 20px", gap: "16px", sx: { minWidth: "800px" }, children: [
|
|
22642
|
-
/* @__PURE__ */ l.jsx(
|
|
22643
|
-
/* @__PURE__ */ l.jsx(
|
|
22651
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h2", children: "Customer identity mapping" }),
|
|
22652
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", children: "Choose how Hiver should identify customers when fetching data from connected apps." }),
|
|
22644
22653
|
r.some((m) => {
|
|
22645
22654
|
var h;
|
|
22646
22655
|
return ((h = m.presets) == null ? void 0 : h.length) > 1;
|
|
@@ -22672,7 +22681,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22672
22681
|
}, [n, e]);
|
|
22673
22682
|
}, zT = ({ isAdmin: e = !1 }) => {
|
|
22674
22683
|
var ts, zu;
|
|
22675
|
-
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = je(Qe), a = Rt(), { userGroupId: c, userId: u } = cn() || {}, d = ge(!1), p = ge(null), b = ge(null), v = ge(null), [m, h] = V({}), [f, g] = V(!1), [x, y] = V(!1), [E, C] = V(!1), [w, _] = V(!1), [I, T] = V(), [D, F] = V(!1), [O, j] = V(null), [
|
|
22684
|
+
const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = je(Qe), a = Rt(), { userGroupId: c, userId: u } = cn() || {}, d = ge(!1), p = ge(null), b = ge(null), v = ge(null), [m, h] = V({}), [f, g] = V(!1), [x, y] = V(!1), [E, C] = V(!1), [w, _] = V(!1), [I, T] = V(), [D, F] = V(!1), [O, j] = V(null), [H, U] = V(), [Z, $] = V(null), [G, J] = V(!1), [ee, ie] = V(!1), [W, K] = V(!1), [k, q] = V(!1), [re, ae] = V(void 0), he = ge(), M = Ie(X2), le = Ie(v_), Oe = Ie(C_), X = Ie(E_), Ye = Ie(I_), et = Ie(y_), Ne = Ie(Q2), Wt = Ie(j_), wn = Ie(eg), xt = Ie(tg), ht = Ie(ng), Ke = Ie(uS), Kn = mt(o, M5), en = mt(o, fp), _r = mt(o, W5), Ar = mt(o, Z5), Qn = mt(o, z5), er = mt(o, $5), un = (ts = cn()) == null ? void 0 : ts.tenantPlatform, In = mt(
|
|
22676
22685
|
o,
|
|
22677
22686
|
un === "HIVERWEB" ? `hot-${Dd}` : Dd
|
|
22678
22687
|
), { data: Ut } = qt({
|
|
@@ -22693,7 +22702,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22693
22702
|
openCreateForm: () => C(!0),
|
|
22694
22703
|
enabled: le
|
|
22695
22704
|
});
|
|
22696
|
-
const Sr = fe(() => !M || !M.length ? null : b_(M, Oe,
|
|
22705
|
+
const Sr = fe(() => !M || !M.length ? null : b_(M, Oe, X), [M, Oe, X]), Ot = f6(Oe), nr = Ie(Vu), rr = fe(() => {
|
|
22697
22706
|
if (!nr) return [];
|
|
22698
22707
|
const ce = /* @__PURE__ */ new Map();
|
|
22699
22708
|
return Object.values(nr).forEach((Re) => {
|
|
@@ -22712,12 +22721,12 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22712
22721
|
senderEmail: t,
|
|
22713
22722
|
conversationId: String(i),
|
|
22714
22723
|
enabled: Ar && !!t
|
|
22715
|
-
}), { emailHeaders: Rr, selectedEmail: Or } = _n ?? {}, { scrollOnceAfterLoad: go, resetScrollState: Fr } = DT(b), mo = et !== se.LOADING && (
|
|
22724
|
+
}), { emailHeaders: Rr, selectedEmail: Or } = _n ?? {}, { scrollOnceAfterLoad: go, resetScrollState: Fr } = DT(b), mo = et !== se.LOADING && (!X || !Object.values(X).some((ce) => ce === se.LOADING)) && M && M.length > 0;
|
|
22716
22725
|
uo(() => {
|
|
22717
22726
|
var ce;
|
|
22718
|
-
|
|
22727
|
+
G && !f && ee && ((ce = v == null ? void 0 : v.current) != null && ce.scrollHeight) && go(!!mo, "smooth");
|
|
22719
22728
|
}, [
|
|
22720
|
-
|
|
22729
|
+
G,
|
|
22721
22730
|
f,
|
|
22722
22731
|
ee,
|
|
22723
22732
|
mo,
|
|
@@ -22780,13 +22789,13 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22780
22789
|
);
|
|
22781
22790
|
if (oe(() => {
|
|
22782
22791
|
(async () => {
|
|
22783
|
-
u && (
|
|
22792
|
+
u && (J(await Rf(u)), ie(await l3(u)));
|
|
22784
22793
|
})();
|
|
22785
22794
|
}, [u]), oe(() => {
|
|
22786
|
-
An ||
|
|
22795
|
+
An || U(Or || t);
|
|
22787
22796
|
}, [t, Or, An]), oe(() => {
|
|
22788
|
-
|
|
22789
|
-
}, [
|
|
22797
|
+
H && i && RT(String(i), H);
|
|
22798
|
+
}, [H, i]), oe(() => {
|
|
22790
22799
|
ee && u && u3(u);
|
|
22791
22800
|
}, [ee, u]), oe(() => {
|
|
22792
22801
|
a(Hr(null));
|
|
@@ -22855,7 +22864,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22855
22864
|
return ((Vn = kt.connectorKey) == null ? void 0 : Vn.toLowerCase()) === (ce == null ? void 0 : ce.toLowerCase());
|
|
22856
22865
|
}
|
|
22857
22866
|
);
|
|
22858
|
-
Re && (
|
|
22867
|
+
Re && ($(Re), C(!0));
|
|
22859
22868
|
}, [Ne, m]), !t.length || et === se.LOADING || Lr)
|
|
22860
22869
|
return /* @__PURE__ */ l.jsx(YA, {});
|
|
22861
22870
|
const me = (ce) => {
|
|
@@ -22869,7 +22878,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22869
22878
|
}, Le = () => {
|
|
22870
22879
|
_(!0), _e(Od), Ce(Fd), r(r5);
|
|
22871
22880
|
}, _e = (ce) => {
|
|
22872
|
-
r(ce, I), ht ? F(!0) : (C(!1),
|
|
22881
|
+
r(ce, I), ht ? F(!0) : (C(!1), $(null));
|
|
22873
22882
|
}, Ce = (ce) => {
|
|
22874
22883
|
if (xt) {
|
|
22875
22884
|
const { connectorName: Re, title: kt } = xt;
|
|
@@ -22905,7 +22914,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22905
22914
|
onLinkClick: () => _(!0)
|
|
22906
22915
|
}
|
|
22907
22916
|
) : /* @__PURE__ */ l.jsx(i1, { isAdmin: e, hideHeading: !0 }), ri = () => {
|
|
22908
|
-
|
|
22917
|
+
K(!0);
|
|
22909
22918
|
const ce = he.current, Re = ce == null ? void 0 : ce.connectorName, kt = ce == null ? void 0 : ce.name;
|
|
22910
22919
|
r(D5, { entry_point: "agent", app_name: Re, object_type: kt });
|
|
22911
22920
|
}, Xa = (ce) => {
|
|
@@ -22986,10 +22995,10 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
22986
22995
|
onCreateSuccess: nt,
|
|
22987
22996
|
metaData: I,
|
|
22988
22997
|
setMetaData: T,
|
|
22989
|
-
defaultOption:
|
|
22998
|
+
defaultOption: Z,
|
|
22990
22999
|
connectors: Ot,
|
|
22991
23000
|
mapFormOpen: W,
|
|
22992
|
-
setMapFormOpen:
|
|
23001
|
+
setMapFormOpen: K,
|
|
22993
23002
|
setCreateFormId: ae,
|
|
22994
23003
|
syncCurrentObject: Xa
|
|
22995
23004
|
}
|
|
@@ -23022,10 +23031,10 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
23022
23031
|
iS,
|
|
23023
23032
|
{
|
|
23024
23033
|
emailHeaders: Rr,
|
|
23025
|
-
selectedEmail:
|
|
23034
|
+
selectedEmail: H,
|
|
23026
23035
|
root: p.current,
|
|
23027
23036
|
isLoading: An,
|
|
23028
|
-
setSelectedEmail:
|
|
23037
|
+
setSelectedEmail: U
|
|
23029
23038
|
}
|
|
23030
23039
|
) }),
|
|
23031
23040
|
In && ho && e && /* @__PURE__ */ l.jsx(we, { title: "Update customer identity mapping", placement: "top", children: /* @__PURE__ */ l.jsx(
|
|
@@ -23034,7 +23043,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
23034
23043
|
"aria-label": "Open customer identity mapping settings",
|
|
23035
23044
|
sx: { height: "32px", width: "32px", marginTop: "12px", flexShrink: 0 },
|
|
23036
23045
|
onClick: () => {
|
|
23037
|
-
r(kd, { page: "agent_connector_panel" }),
|
|
23046
|
+
r(kd, { page: "agent_connector_panel" }), q(!0);
|
|
23038
23047
|
},
|
|
23039
23048
|
children: /* @__PURE__ */ l.jsx(rt.SettingsOutlined, { sx: { height: "20px", width: "20px" } })
|
|
23040
23049
|
}
|
|
@@ -23063,7 +23072,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
23063
23072
|
}
|
|
23064
23073
|
},
|
|
23065
23074
|
onClick: () => {
|
|
23066
|
-
r(kd, { page: "agent_connector_panel" }),
|
|
23075
|
+
r(kd, { page: "agent_connector_panel" }), q(!0);
|
|
23067
23076
|
},
|
|
23068
23077
|
children: "Customer identity mapping"
|
|
23069
23078
|
}
|
|
@@ -23076,12 +23085,12 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
23076
23085
|
{
|
|
23077
23086
|
cards: M,
|
|
23078
23087
|
specificCardData: Oe,
|
|
23079
|
-
email:
|
|
23080
|
-
specificConnectorApiStatus:
|
|
23088
|
+
email: H ?? "",
|
|
23089
|
+
specificConnectorApiStatus: X,
|
|
23081
23090
|
onCardUnlinking: tt
|
|
23082
23091
|
}
|
|
23083
23092
|
),
|
|
23084
|
-
/* @__PURE__ */ l.jsx("div", { ref: b, children: Qn ? /* @__PURE__ */ l.jsx(I6, { connectors: Ot, expanded:
|
|
23093
|
+
/* @__PURE__ */ l.jsx("div", { ref: b, children: Qn ? /* @__PURE__ */ l.jsx(I6, { connectors: Ot, expanded: G }) : null })
|
|
23085
23094
|
] }, "cards-list"),
|
|
23086
23095
|
/* @__PURE__ */ l.jsx(Wn, { condition: !(M != null && M.length) && en, children: rr.length > 0 ? /* @__PURE__ */ l.jsx(CA, { connectors: rr, onConnected: z, children: yt() }) : yt() }, "create-banner")
|
|
23087
23096
|
] })
|
|
@@ -23093,7 +23102,7 @@ const zl = /* @__PURE__ */ new Set(), RT = (e, t) => {
|
|
|
23093
23102
|
UT,
|
|
23094
23103
|
{
|
|
23095
23104
|
open: k,
|
|
23096
|
-
onClose: () =>
|
|
23105
|
+
onClose: () => q(!1),
|
|
23097
23106
|
connectors: (tn == null ? void 0 : tn.connectors) ?? [],
|
|
23098
23107
|
onSaveSuccess: R
|
|
23099
23108
|
}
|
|
@@ -23483,7 +23492,7 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23483
23492
|
FEEDBACK_OPTION_SUBMITTED: "app_object_detection_general_feedback_submitted",
|
|
23484
23493
|
DATA_CARD_DURATION: "app_object_detection_data_card_duration",
|
|
23485
23494
|
DATA_CARD_SCROLLED: "app_object_detection_data_card_scrolled"
|
|
23486
|
-
}, Ng = (e) => /* @__PURE__ */ l.jsx(ke, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ l.jsx(_i, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), bL = A(
|
|
23495
|
+
}, Ng = (e) => /* @__PURE__ */ l.jsx(ke, { ...e, disabled: e.isLoading || e.disabled, children: e.isLoading ? /* @__PURE__ */ l.jsx(_i, { sx: { color: "#97A3B7" }, size: 20 }) : e.label }), bL = A(Q)`
|
|
23487
23496
|
max-height: 340px;
|
|
23488
23497
|
width: 440px;
|
|
23489
23498
|
border-radius: 12px;
|
|
@@ -23497,10 +23506,10 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23497
23506
|
flex-direction: row;
|
|
23498
23507
|
margin-bottom: 12px;
|
|
23499
23508
|
}
|
|
23500
|
-
`, xL = A(
|
|
23509
|
+
`, xL = A(Q)`
|
|
23501
23510
|
border-bottom: 1px solid ${P.palette.gray.gray6};
|
|
23502
23511
|
margin: 12px -16px;
|
|
23503
|
-
`, vL = A(
|
|
23512
|
+
`, vL = A(Q)`
|
|
23504
23513
|
display: flex;
|
|
23505
23514
|
justify-content: flex-end;
|
|
23506
23515
|
margin-top: 30px;
|
|
@@ -23518,7 +23527,7 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23518
23527
|
e == null || e();
|
|
23519
23528
|
}, v = r ? !i : !a;
|
|
23520
23529
|
return /* @__PURE__ */ l.jsxs(bL, { children: [
|
|
23521
|
-
/* @__PURE__ */ l.jsx(
|
|
23530
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h3", children: o }),
|
|
23522
23531
|
/* @__PURE__ */ l.jsx(xL, {}),
|
|
23523
23532
|
r ? /* @__PURE__ */ l.jsx(ha, { children: /* @__PURE__ */ l.jsx(
|
|
23524
23533
|
Q1,
|
|
@@ -23569,7 +23578,7 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23569
23578
|
)
|
|
23570
23579
|
] })
|
|
23571
23580
|
] });
|
|
23572
|
-
}, yL = A(
|
|
23581
|
+
}, yL = A(Q)`
|
|
23573
23582
|
border-radius: 12px;
|
|
23574
23583
|
max-height: 298px;
|
|
23575
23584
|
width: 288px;
|
|
@@ -23579,29 +23588,29 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23579
23588
|
& > * {
|
|
23580
23589
|
box-sizing: border-box;
|
|
23581
23590
|
}
|
|
23582
|
-
`, CL = A(
|
|
23591
|
+
`, CL = A(Q)`
|
|
23583
23592
|
height: 24px;
|
|
23584
23593
|
display: flex;
|
|
23585
23594
|
align-items: center;
|
|
23586
23595
|
justify-content: space-between;
|
|
23587
23596
|
padding: 12px 0px;
|
|
23588
|
-
`, EL = A(
|
|
23597
|
+
`, EL = A(Y)`
|
|
23589
23598
|
white-space: nowrap;
|
|
23590
23599
|
overflow: hidden;
|
|
23591
23600
|
text-overflow: ellipsis;
|
|
23592
23601
|
width: ${(e) => e.width || "200px"};
|
|
23593
23602
|
line-height: 18px;
|
|
23594
|
-
`, wL = A(
|
|
23603
|
+
`, wL = A(Q)`
|
|
23595
23604
|
height: 1px;
|
|
23596
23605
|
background-color: ${P.palette.gray.gray6};
|
|
23597
23606
|
margin: 0 -16px;
|
|
23598
|
-
`, IL = A(
|
|
23607
|
+
`, IL = A(Q)`
|
|
23599
23608
|
padding: 0px 16px;
|
|
23600
23609
|
border-radius: 12px;
|
|
23601
23610
|
height: calc(100% - 82px);
|
|
23602
23611
|
overflow-y: auto;
|
|
23603
23612
|
scrollbar-width: thin;
|
|
23604
|
-
`, _L = A(
|
|
23613
|
+
`, _L = A(Y)`
|
|
23605
23614
|
font-size: 12px;
|
|
23606
23615
|
font-weight: 400;
|
|
23607
23616
|
color: ${P.palette.gray.gray1};
|
|
@@ -23609,7 +23618,7 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23609
23618
|
min-width: 80px;
|
|
23610
23619
|
margin-right: 12px;
|
|
23611
23620
|
text-align: left;
|
|
23612
|
-
`, AL = A(
|
|
23621
|
+
`, AL = A(Y)`
|
|
23613
23622
|
font-size: 12px;
|
|
23614
23623
|
font-weight: 400;
|
|
23615
23624
|
color: ${P.palette.gray.black};
|
|
@@ -23618,11 +23627,11 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23618
23627
|
margin-right: 0px;
|
|
23619
23628
|
word-break: 'break-word';
|
|
23620
23629
|
text-align: right;
|
|
23621
|
-
`, SL = A(
|
|
23630
|
+
`, SL = A(Q)`
|
|
23622
23631
|
display: flex;
|
|
23623
23632
|
justify-content: space-between;
|
|
23624
23633
|
margin-bottom: 20px;
|
|
23625
|
-
`, TL = A(
|
|
23634
|
+
`, TL = A(Q)`
|
|
23626
23635
|
display: flex;
|
|
23627
23636
|
justify-content: space-between;
|
|
23628
23637
|
align-items: center;
|
|
@@ -23671,15 +23680,15 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23671
23680
|
[_, E, y, w, C, r, n]
|
|
23672
23681
|
);
|
|
23673
23682
|
if (oe(() => {
|
|
23674
|
-
const
|
|
23683
|
+
const G = Date.now();
|
|
23675
23684
|
return () => {
|
|
23676
|
-
c(Tn.DATA_CARD_DURATION, { ...I, duration: Date.now() -
|
|
23685
|
+
c(Tn.DATA_CARD_DURATION, { ...I, duration: Date.now() - G });
|
|
23677
23686
|
};
|
|
23678
23687
|
}, [c]), oe(() => {
|
|
23679
|
-
var
|
|
23680
|
-
const
|
|
23681
|
-
if (
|
|
23682
|
-
const W =
|
|
23688
|
+
var J, ee, ie;
|
|
23689
|
+
const G = (ie = (ee = (J = e == null ? void 0 : e.cardData) == null ? void 0 : J.data) == null ? void 0 : ee.flatDetails) == null ? void 0 : ie.data;
|
|
23690
|
+
if (G) {
|
|
23691
|
+
const W = G.sort((K, k) => K.priority - k.priority);
|
|
23683
23692
|
h(W), c(Tn.OBJECT_HOVERED, I);
|
|
23684
23693
|
}
|
|
23685
23694
|
}, [e, c, I]), !m || m.length === 0) return null;
|
|
@@ -23687,18 +23696,18 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23687
23696
|
d(!0), c(Tn.FEEDBACK_OPTION_CLICKED, I);
|
|
23688
23697
|
}, D = () => {
|
|
23689
23698
|
v(!0), c(Tn.NEGATIVE_FEEDBACK_CLICKED, I);
|
|
23690
|
-
}, F = (
|
|
23691
|
-
const
|
|
23699
|
+
}, F = (G) => {
|
|
23700
|
+
const J = {
|
|
23692
23701
|
card_id: E,
|
|
23693
23702
|
entity_id: C,
|
|
23694
|
-
comment:
|
|
23695
|
-
option:
|
|
23703
|
+
comment: G.feedbackComment,
|
|
23704
|
+
option: G.feedbackOption,
|
|
23696
23705
|
feedback_type: "entity_extraction"
|
|
23697
23706
|
};
|
|
23698
|
-
typeof
|
|
23707
|
+
typeof G.isThumbsUp < "u" && (J.positive_feedback = G.isThumbsUp), f(
|
|
23699
23708
|
{
|
|
23700
23709
|
conversationId: r,
|
|
23701
|
-
feedbackData:
|
|
23710
|
+
feedbackData: J
|
|
23702
23711
|
},
|
|
23703
23712
|
{
|
|
23704
23713
|
onSuccess: () => {
|
|
@@ -23711,52 +23720,52 @@ const rL = "Everything looks good", oL = "Something is not working", iL = "Share
|
|
|
23711
23720
|
);
|
|
23712
23721
|
}, O = () => {
|
|
23713
23722
|
F({ isThumbsUp: !0 }), c(Tn.POSITIVE_FEEDBACK_CLICKED, I);
|
|
23714
|
-
}, j = (
|
|
23715
|
-
F({ ...
|
|
23716
|
-
}, G = () => {
|
|
23717
|
-
i == null || i(w), a();
|
|
23723
|
+
}, j = (G) => {
|
|
23724
|
+
F({ ...G, isThumbsUp: !1 });
|
|
23718
23725
|
}, H = () => {
|
|
23726
|
+
i == null || i(w), a();
|
|
23727
|
+
}, U = () => {
|
|
23719
23728
|
s == null || s();
|
|
23720
|
-
},
|
|
23729
|
+
}, Z = (G) => {
|
|
23721
23730
|
c(Tn.PERMALINK_CLICKED, {
|
|
23722
23731
|
...I,
|
|
23723
|
-
clicked_value:
|
|
23732
|
+
clicked_value: G
|
|
23724
23733
|
});
|
|
23725
|
-
},
|
|
23734
|
+
}, $ = () => {
|
|
23726
23735
|
p.current || (c(Tn.DATA_CARD_SCROLLED, I), p.current = !0);
|
|
23727
23736
|
};
|
|
23728
23737
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
23729
23738
|
/* @__PURE__ */ l.jsxs(yL, { children: [
|
|
23730
|
-
/* @__PURE__ */ l.jsxs(IL, { onScroll:
|
|
23739
|
+
/* @__PURE__ */ l.jsxs(IL, { onScroll: $, children: [
|
|
23731
23740
|
/* @__PURE__ */ l.jsxs(CL, { children: [
|
|
23732
23741
|
/* @__PURE__ */ l.jsxs(N, { flexDirection: "row", alignItems: "center", style: { height: "100%" }, children: [
|
|
23733
23742
|
x && /* @__PURE__ */ l.jsx("img", { src: x, alt: "Logo", style: { marginRight: 8 }, height: 18, width: 18 }),
|
|
23734
23743
|
/* @__PURE__ */ l.jsx(we, { title: y, arrow: !0, placement: "top", children: /* @__PURE__ */ l.jsx(EL, { variant: "h3", color: P.palette.gray.black, width: o ? "100px" : "200px", children: y }) })
|
|
23735
23744
|
] }),
|
|
23736
|
-
o ? /* @__PURE__ */ l.jsx(LL, { variant: "text", size: "small", endIcon: /* @__PURE__ */ l.jsx(rt.ArrowForward, {}), onClick:
|
|
23745
|
+
o ? /* @__PURE__ */ l.jsx(LL, { variant: "text", size: "small", endIcon: /* @__PURE__ */ l.jsx(rt.ArrowForward, {}), onClick: U, children: cL }) : null
|
|
23737
23746
|
] }),
|
|
23738
23747
|
/* @__PURE__ */ l.jsx(wL, {}),
|
|
23739
|
-
/* @__PURE__ */ l.jsx(
|
|
23748
|
+
/* @__PURE__ */ l.jsx(Q, { paddingY: "16px", children: m.map(({ key: G, value: J, label: ee, deepLink: ie }) => /* @__PURE__ */ l.jsxs(SL, { children: [
|
|
23740
23749
|
/* @__PURE__ */ l.jsxs(_L, { children: [
|
|
23741
23750
|
ee,
|
|
23742
23751
|
":"
|
|
23743
23752
|
] }),
|
|
23744
|
-
/* @__PURE__ */ l.jsx(we, { title: (
|
|
23753
|
+
/* @__PURE__ */ l.jsx(we, { title: (J == null ? void 0 : J.length) > Rc ? J : "", arrow: !0, placement: "top", children: ie ? /* @__PURE__ */ l.jsx(
|
|
23745
23754
|
$i,
|
|
23746
23755
|
{
|
|
23747
23756
|
href: ie,
|
|
23748
23757
|
target: "_blank",
|
|
23749
23758
|
rel: "noopener noreferrer",
|
|
23750
23759
|
style: { textDecoration: "none", color: P.palette.primary.main },
|
|
23751
|
-
onClick: () =>
|
|
23752
|
-
children: Pd(
|
|
23760
|
+
onClick: () => Z(J),
|
|
23761
|
+
children: Pd(J || "N/A", Rc)
|
|
23753
23762
|
}
|
|
23754
|
-
) : /* @__PURE__ */ l.jsx(AL, { children: Pd(
|
|
23755
|
-
] },
|
|
23763
|
+
) : /* @__PURE__ */ l.jsx(AL, { children: Pd(J || "N/A", Rc) }) })
|
|
23764
|
+
] }, G)) })
|
|
23756
23765
|
] }),
|
|
23757
23766
|
/* @__PURE__ */ l.jsxs(TL, { children: [
|
|
23758
|
-
/* @__PURE__ */ l.jsx(N, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ l.jsx(gi, { arrow: !0, title: sL, placement: "top", children: /* @__PURE__ */ l.jsx(lt, { onClick:
|
|
23759
|
-
/* @__PURE__ */ l.jsx(
|
|
23767
|
+
/* @__PURE__ */ l.jsx(N, { flexDirection: "row", alignItems: "center", children: t ? /* @__PURE__ */ l.jsx(gi, { arrow: !0, title: sL, placement: "top", children: /* @__PURE__ */ l.jsx(lt, { onClick: H, children: /* @__PURE__ */ l.jsx(RL, {}) }) }) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
23768
|
+
/* @__PURE__ */ l.jsx(Y, { color: P.palette.gray.gray3, fontSize: 12, children: lL }),
|
|
23760
23769
|
/* @__PURE__ */ l.jsx(gi, { arrow: !0, title: aL, placement: "top", children: /* @__PURE__ */ l.jsx(lt, { size: "small", children: /* @__PURE__ */ l.jsx(FL, {}) }) })
|
|
23761
23770
|
] }) }),
|
|
23762
23771
|
/* @__PURE__ */ l.jsxs(N, { flexDirection: "row", alignItems: "center", children: [
|
|
@@ -23913,7 +23922,7 @@ const jL = ({
|
|
|
23913
23922
|
elements: u,
|
|
23914
23923
|
title: (v, m) => {
|
|
23915
23924
|
var h;
|
|
23916
|
-
return !a || !v || !((h = a[v]) != null && h.cardData) ? /* @__PURE__ */ l.jsx(
|
|
23925
|
+
return !a || !v || !((h = a[v]) != null && h.cardData) ? /* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray6, children: "Loading data..." }) : /* @__PURE__ */ l.jsx(
|
|
23917
23926
|
kL,
|
|
23918
23927
|
{
|
|
23919
23928
|
smIds: n,
|
|
@@ -24036,7 +24045,7 @@ const BL = (e) => {
|
|
|
24036
24045
|
[ve.ERROR]: /* @__PURE__ */ l.jsx($l, { width: 16, height: 16 }),
|
|
24037
24046
|
[ve.UNAUTHENTICATED]: /* @__PURE__ */ l.jsx($l, { width: 16, height: 16 }),
|
|
24038
24047
|
[ve.PAUSED]: /* @__PURE__ */ l.jsx(HL, { width: 16, height: 16 })
|
|
24039
|
-
}, Bg = A(
|
|
24048
|
+
}, Bg = A(Y)`
|
|
24040
24049
|
font-size: 13px;
|
|
24041
24050
|
line-height: 24px;
|
|
24042
24051
|
font-weight: 500;
|
|
@@ -24070,7 +24079,7 @@ const BL = (e) => {
|
|
|
24070
24079
|
border: `1px solid ${P.palette.gray.gray6}`,
|
|
24071
24080
|
position: "relative"
|
|
24072
24081
|
}
|
|
24073
|
-
})), qL = A(
|
|
24082
|
+
})), qL = A(Q)`
|
|
24074
24083
|
width: fit-content;
|
|
24075
24084
|
height: fit-content;
|
|
24076
24085
|
`, KL = ({ children: e, renderTooltip: t, defaultOpen: n }) => {
|
|
@@ -24084,7 +24093,7 @@ const BL = (e) => {
|
|
|
24084
24093
|
disableHoverListener: !0,
|
|
24085
24094
|
disableFocusListener: !0,
|
|
24086
24095
|
disableTouchListener: !0,
|
|
24087
|
-
title: /* @__PURE__ */ l.jsx(
|
|
24096
|
+
title: /* @__PURE__ */ l.jsx(Q, { onClick: a, height: "100%", children: t({ close: i }) }),
|
|
24088
24097
|
placement: "bottom-start",
|
|
24089
24098
|
PopperProps: {
|
|
24090
24099
|
modifiers: [
|
|
@@ -24147,14 +24156,14 @@ const BL = (e) => {
|
|
|
24147
24156
|
border-radius: 8px;
|
|
24148
24157
|
background: #ecedff;
|
|
24149
24158
|
object-fit: cover;
|
|
24150
|
-
`, wR = A(
|
|
24159
|
+
`, wR = A(Y)`
|
|
24151
24160
|
margin-top: 10px;
|
|
24152
24161
|
color: #343c45;
|
|
24153
24162
|
font-size: 14px;
|
|
24154
24163
|
font-weight: 600;
|
|
24155
24164
|
line-height: 18px;
|
|
24156
24165
|
letter-spacing: -0.28px;
|
|
24157
|
-
`, IR = A(
|
|
24166
|
+
`, IR = A(Y)`
|
|
24158
24167
|
margin-top: 6px;
|
|
24159
24168
|
color: #3e4c5a;
|
|
24160
24169
|
font-size: 13px;
|
|
@@ -24205,20 +24214,20 @@ const BL = (e) => {
|
|
|
24205
24214
|
padding: "0px"
|
|
24206
24215
|
}, LR = {
|
|
24207
24216
|
color: "#fff !important"
|
|
24208
|
-
}, RR = A(
|
|
24217
|
+
}, RR = A(Q)`
|
|
24209
24218
|
padding: 16px;
|
|
24210
|
-
`, OR = A(
|
|
24219
|
+
`, OR = A(Y)`
|
|
24211
24220
|
font-weight: 600;
|
|
24212
24221
|
font-size: 14px;
|
|
24213
24222
|
line-height: 130%;
|
|
24214
24223
|
color: ${P.palette.gray.gray1};
|
|
24215
|
-
`, FR = A(
|
|
24224
|
+
`, FR = A(Y)`
|
|
24216
24225
|
font-weight: 400;
|
|
24217
24226
|
font-size: 13px;
|
|
24218
24227
|
line-height: 135%;
|
|
24219
24228
|
color: ${P.palette.gray.gray3};
|
|
24220
24229
|
margin-top: 6px;
|
|
24221
|
-
`, kR = A(
|
|
24230
|
+
`, kR = A(Q)`
|
|
24222
24231
|
display: flex;
|
|
24223
24232
|
justify-content: space-between;
|
|
24224
24233
|
align-items: center;
|
|
@@ -24275,7 +24284,7 @@ const BL = (e) => {
|
|
|
24275
24284
|
maskType: "luminance"
|
|
24276
24285
|
}, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ S.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ S.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ S.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ S.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ S.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ S.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ S.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ S.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ S.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ S.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), Uu = ({ message: e }) => /* @__PURE__ */ l.jsxs(N, { justifyContent: "center", alignItems: "center", height: "100%", "data-section": "empty", children: [
|
|
24277
24286
|
/* @__PURE__ */ l.jsx(PR, { width: 124, height: 107, className: "empty-illustration" }),
|
|
24278
|
-
/* @__PURE__ */ l.jsx(
|
|
24287
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", color: P.palette.gray.gray3, children: e })
|
|
24279
24288
|
] }), Ir = "/v1/api", BR = `${Ir}/connector/conversation/:conversationId/email_log_status`, VR = `${Ir}/connector/conversation/:conversationId/entity_recommendations`, GR = `${Ir}/connector/conversation/:conversationId/retry_emails_log`, HR = `${Ir}/connector/conversation/:conversationId/validate_entity`, WR = `${Ir}/connectors/forms/:formId/search`, UR = `${Ir}/connector/conversation/:conversationId/log_emails`, ZR = `${Ir}/connector/feedback/conversation/:conversationId`, zR = `${Ir}/connector/conversation/:conversationId/log_emails`, $R = async ({
|
|
24280
24289
|
payload: e,
|
|
24281
24290
|
entity: t,
|
|
@@ -24338,7 +24347,7 @@ const BL = (e) => {
|
|
|
24338
24347
|
height: 16px;
|
|
24339
24348
|
fill: #506dff;
|
|
24340
24349
|
animation: ${$a} 1s linear infinite;
|
|
24341
|
-
`, KR = A(
|
|
24350
|
+
`, KR = A(Y)`
|
|
24342
24351
|
font-size: 13px;
|
|
24343
24352
|
overflow: hidden;
|
|
24344
24353
|
text-overflow: ellipsis;
|
|
@@ -24415,7 +24424,7 @@ const tO = A(N)`
|
|
|
24415
24424
|
transform-origin: center;
|
|
24416
24425
|
transition: transform 300ms ease-out;
|
|
24417
24426
|
}
|
|
24418
|
-
`, rO = A(
|
|
24427
|
+
`, rO = A(Y)`
|
|
24419
24428
|
font-size: 13px;
|
|
24420
24429
|
line-height: 18px;
|
|
24421
24430
|
font-weight: 400;
|
|
@@ -24470,8 +24479,8 @@ const tO = A(N)`
|
|
|
24470
24479
|
z-index: -1;
|
|
24471
24480
|
}
|
|
24472
24481
|
`, aO = ({ searchText: e, connectorName: t, formData: n, onClick: r }) => /* @__PURE__ */ l.jsxs(sO, { onClick: r, "data-section": "search-option", children: [
|
|
24473
|
-
/* @__PURE__ */ l.jsx(
|
|
24474
|
-
/* @__PURE__ */ l.jsxs(
|
|
24482
|
+
/* @__PURE__ */ l.jsx(Y, { color: P.palette.gray.gray1, children: e }),
|
|
24483
|
+
/* @__PURE__ */ l.jsxs(Y, { color: P.palette.gray.gray3, fontSize: "12px", textTransform: "capitalize", children: [
|
|
24475
24484
|
t,
|
|
24476
24485
|
" - ",
|
|
24477
24486
|
n == null ? void 0 : n.searchObject
|
|
@@ -24520,7 +24529,7 @@ const tO = A(N)`
|
|
|
24520
24529
|
`, fO = ({ entity: e, onLog: t }) => {
|
|
24521
24530
|
const { externalResourceId: n, name: r } = e;
|
|
24522
24531
|
return /* @__PURE__ */ l.jsxs(lO, { onClick: t, direction: "row", children: [
|
|
24523
|
-
/* @__PURE__ */ l.jsx(N, { flexGrow: 1, children: /* @__PURE__ */ l.jsx(
|
|
24532
|
+
/* @__PURE__ */ l.jsx(N, { flexGrow: 1, children: /* @__PURE__ */ l.jsx(Y, { variant: "body2", fontSize: "13px", color: "#343C45", children: r }) }),
|
|
24524
24533
|
/* @__PURE__ */ l.jsx(Vg, {})
|
|
24525
24534
|
] }, n);
|
|
24526
24535
|
}, pO = ({ connectorName: e, results: t, formId: n, searchObject: r, addEntity: o }) => {
|
|
@@ -24535,7 +24544,7 @@ const tO = A(N)`
|
|
|
24535
24544
|
});
|
|
24536
24545
|
};
|
|
24537
24546
|
return /* @__PURE__ */ l.jsxs(uO, { children: [
|
|
24538
|
-
/* @__PURE__ */ l.jsxs(
|
|
24547
|
+
/* @__PURE__ */ l.jsxs(Y, { variant: "body2", color: "#3E4C5A", children: [
|
|
24539
24548
|
i,
|
|
24540
24549
|
" Results found in ",
|
|
24541
24550
|
e
|
|
@@ -24566,7 +24575,7 @@ const tO = A(N)`
|
|
|
24566
24575
|
animation: ${$a} 1s linear infinite;
|
|
24567
24576
|
`, mO = ({ message: e = "Fetching details" }) => /* @__PURE__ */ l.jsxs(hO, { children: [
|
|
24568
24577
|
/* @__PURE__ */ l.jsx(gO, {}),
|
|
24569
|
-
/* @__PURE__ */ l.jsx(
|
|
24578
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "body2", fontSize: "12px", color: "#6F7C90", children: e })
|
|
24570
24579
|
] }), bO = async ({ conversationId: e }) => {
|
|
24571
24580
|
try {
|
|
24572
24581
|
if (!e)
|
|
@@ -24677,7 +24686,7 @@ const tO = A(N)`
|
|
|
24677
24686
|
}
|
|
24678
24687
|
)
|
|
24679
24688
|
] });
|
|
24680
|
-
}, wO = "Tell us more (optional)", IO = A(
|
|
24689
|
+
}, wO = "Tell us more (optional)", IO = A(Q)`
|
|
24681
24690
|
width: ${({ width: e }) => e || "440px"};
|
|
24682
24691
|
border-radius: 12px;
|
|
24683
24692
|
padding: 16px;
|
|
@@ -24690,10 +24699,10 @@ const tO = A(N)`
|
|
|
24690
24699
|
flex-direction: row;
|
|
24691
24700
|
margin-bottom: 12px;
|
|
24692
24701
|
}
|
|
24693
|
-
`, _O = A(
|
|
24702
|
+
`, _O = A(Q)`
|
|
24694
24703
|
border-bottom: 1px solid ${P.palette.gray.gray6};
|
|
24695
24704
|
margin: 12px -16px;
|
|
24696
|
-
`, AO = A(
|
|
24705
|
+
`, AO = A(Q)`
|
|
24697
24706
|
display: flex;
|
|
24698
24707
|
justify-content: flex-end;
|
|
24699
24708
|
margin-top: 30px;
|
|
@@ -24720,7 +24729,7 @@ const tO = A(N)`
|
|
|
24720
24729
|
e == null || e();
|
|
24721
24730
|
}, f = r ? !c : !d;
|
|
24722
24731
|
return /* @__PURE__ */ l.jsxs(IO, { width: i, children: [
|
|
24723
|
-
/* @__PURE__ */ l.jsx(
|
|
24732
|
+
/* @__PURE__ */ l.jsx(Y, { variant: "h3", children: o }),
|
|
24724
24733
|
/* @__PURE__ */ l.jsx(_O, {}),
|
|
24725
24734
|
r ? /* @__PURE__ */ l.jsx(ha, { children: /* @__PURE__ */ l.jsx(
|
|
24726
24735
|
Q1,
|
|
@@ -24806,7 +24815,7 @@ const RO = A(N)`
|
|
|
24806
24815
|
&:disabled {
|
|
24807
24816
|
opacity: 0.4;
|
|
24808
24817
|
}
|
|
24809
|
-
`, OO = A(
|
|
24818
|
+
`, OO = A(Y)`
|
|
24810
24819
|
color: #6f7c90;
|
|
24811
24820
|
font-size: 11px;
|
|
24812
24821
|
font-weight: 400;
|
|
@@ -25052,39 +25061,39 @@ const RO = A(N)`
|
|
|
25052
25061
|
isPending: F,
|
|
25053
25062
|
isIdle: O,
|
|
25054
25063
|
reset: j
|
|
25055
|
-
} = MO({ onSuccess: I }), { mutate:
|
|
25064
|
+
} = MO({ onSuccess: I }), { mutate: H, isPending: U } = BO({
|
|
25056
25065
|
onSuccess: _
|
|
25057
|
-
}), { results:
|
|
25058
|
-
const k = {},
|
|
25066
|
+
}), { results: Z = [], ...$ } = D ?? {}, G = fe(() => {
|
|
25067
|
+
const k = {}, q = [];
|
|
25059
25068
|
for (const re of b) {
|
|
25060
25069
|
const ae = re.entityType + re.displayValue;
|
|
25061
|
-
k[ae] ||
|
|
25070
|
+
k[ae] || q.push(re), k[ae] = re;
|
|
25062
25071
|
}
|
|
25063
25072
|
for (const re of E ?? []) {
|
|
25064
25073
|
const ae = re.entityType + re.displayValue;
|
|
25065
|
-
k[ae] ||
|
|
25074
|
+
k[ae] || q.push(re), k[ae] = re;
|
|
25066
25075
|
}
|
|
25067
|
-
return
|
|
25068
|
-
}, [E, b]),
|
|
25076
|
+
return q;
|
|
25077
|
+
}, [E, b]), J = (k) => {
|
|
25069
25078
|
p(k.target.value), O || j();
|
|
25070
25079
|
}, ee = (k) => {
|
|
25071
|
-
const { entityType:
|
|
25072
|
-
h((ae) => ({ ...ae, [
|
|
25080
|
+
const { entityType: q, displayValue: re } = k;
|
|
25081
|
+
h((ae) => ({ ...ae, [q + re]: k })), v((ae) => [k, ...ae]), p(""), j();
|
|
25073
25082
|
}, ie = () => {
|
|
25074
25083
|
y == null || y(Vt.email_logging_search_initiated, { app_name: s });
|
|
25075
25084
|
}, W = () => {
|
|
25076
|
-
|
|
25085
|
+
H({ payload: { autoLogEnabled: !r }, conversationId: f });
|
|
25077
25086
|
const k = r ? Vt.email_logging_auto_log_disabled : Vt.email_logging_auto_log_enabled;
|
|
25078
25087
|
y == null || y(k, { app_name: s });
|
|
25079
|
-
},
|
|
25088
|
+
}, K = w || F;
|
|
25080
25089
|
return /* @__PURE__ */ l.jsxs(VO, { "data-tenant": x ?? "GMAIL", "data-section": "root", children: [
|
|
25081
25090
|
/* @__PURE__ */ l.jsxs(GO, { "data-section": "header", children: [
|
|
25082
25091
|
/* @__PURE__ */ l.jsxs(HO, { children: [
|
|
25083
25092
|
/* @__PURE__ */ l.jsx(UO, { children: /* @__PURE__ */ l.jsx(ZO, { src: c, alt: "connector" }) }),
|
|
25084
|
-
/* @__PURE__ */ l.jsx(
|
|
25093
|
+
/* @__PURE__ */ l.jsx(Y, { children: "Sync conversation" })
|
|
25085
25094
|
] }),
|
|
25086
25095
|
/* @__PURE__ */ l.jsxs(WO, { children: [
|
|
25087
|
-
|
|
25096
|
+
U ? /* @__PURE__ */ l.jsx(KO, {}) : null,
|
|
25088
25097
|
u ? /* @__PURE__ */ l.jsx(
|
|
25089
25098
|
we,
|
|
25090
25099
|
{
|
|
@@ -25097,7 +25106,7 @@ const RO = A(N)`
|
|
|
25097
25106
|
checked: r,
|
|
25098
25107
|
value: r,
|
|
25099
25108
|
onClick: W,
|
|
25100
|
-
disabled:
|
|
25109
|
+
disabled: U
|
|
25101
25110
|
}
|
|
25102
25111
|
) })
|
|
25103
25112
|
}
|
|
@@ -25116,21 +25125,21 @@ const RO = A(N)`
|
|
|
25116
25125
|
type: "text",
|
|
25117
25126
|
name: "search",
|
|
25118
25127
|
value: d,
|
|
25119
|
-
onChange:
|
|
25128
|
+
onChange: J,
|
|
25120
25129
|
onFocus: ie,
|
|
25121
25130
|
startAdornment: /* @__PURE__ */ l.jsx(YO, { children: /* @__PURE__ */ l.jsx(Lg, {}) }),
|
|
25122
25131
|
size: "small"
|
|
25123
25132
|
}
|
|
25124
25133
|
) }),
|
|
25125
25134
|
/* @__PURE__ */ l.jsx(I1, { children: /* @__PURE__ */ l.jsx(_1, { "data-section": "scrollable", children: /* @__PURE__ */ l.jsxs(qo, { children: [
|
|
25126
|
-
/* @__PURE__ */ l.jsx(Pr, { condition:
|
|
25127
|
-
/* @__PURE__ */ l.jsx(Pr, { condition: d === "" &&
|
|
25135
|
+
/* @__PURE__ */ l.jsx(Pr, { condition: K, children: /* @__PURE__ */ l.jsx(mO, { message: F ? "Searching..." : "Loading..." }) }, "loading"),
|
|
25136
|
+
/* @__PURE__ */ l.jsx(Pr, { condition: d === "" && G.length > 0, children: /* @__PURE__ */ l.jsx(
|
|
25128
25137
|
C1,
|
|
25129
25138
|
{
|
|
25130
25139
|
connectorName: s,
|
|
25131
25140
|
checkedEntities: m,
|
|
25132
25141
|
setCheckedEntities: h,
|
|
25133
|
-
entities:
|
|
25142
|
+
entities: G ?? []
|
|
25134
25143
|
}
|
|
25135
25144
|
) }, "entity-suggestions"),
|
|
25136
25145
|
/* @__PURE__ */ l.jsx(Pr, { condition: !!d && O, children: /* @__PURE__ */ l.jsx(
|
|
@@ -25146,12 +25155,12 @@ const RO = A(N)`
|
|
|
25146
25155
|
pO,
|
|
25147
25156
|
{
|
|
25148
25157
|
connectorName: s,
|
|
25149
|
-
results:
|
|
25150
|
-
|
|
25158
|
+
results: Z,
|
|
25159
|
+
...$,
|
|
25151
25160
|
addEntity: ee
|
|
25152
25161
|
}
|
|
25153
25162
|
) }, "search-results"),
|
|
25154
|
-
/* @__PURE__ */ l.jsx(Pr, { condition: !
|
|
25163
|
+
/* @__PURE__ */ l.jsx(Pr, { condition: !G.length && C, children: /* @__PURE__ */ l.jsx(Uu, { message: qn }) }, "error")
|
|
25155
25164
|
] }) }) }),
|
|
25156
25165
|
d ? null : /* @__PURE__ */ l.jsx(
|
|
25157
25166
|
EO,
|
|
@@ -25423,7 +25432,7 @@ A("img")`
|
|
|
25423
25432
|
height: 18.578px;
|
|
25424
25433
|
object-fit: contain;
|
|
25425
25434
|
`;
|
|
25426
|
-
A(
|
|
25435
|
+
A(Y)`
|
|
25427
25436
|
flex: 1 0 0;
|
|
25428
25437
|
min-width: 0;
|
|
25429
25438
|
font-family: 'Hanken Grotesk', sans-serif;
|
|
@@ -25552,7 +25561,7 @@ A(N)`
|
|
|
25552
25561
|
flex-direction: column;
|
|
25553
25562
|
align-items: stretch;
|
|
25554
25563
|
`;
|
|
25555
|
-
A(
|
|
25564
|
+
A(Y)`
|
|
25556
25565
|
font-family: 'Hanken Grotesk', sans-serif;
|
|
25557
25566
|
font-size: 14px;
|
|
25558
25567
|
font-weight: 400;
|
|
@@ -25573,7 +25582,7 @@ A(N)`
|
|
|
25573
25582
|
background-color: #f8fafc;
|
|
25574
25583
|
}
|
|
25575
25584
|
`;
|
|
25576
|
-
A(
|
|
25585
|
+
A(Y)`
|
|
25577
25586
|
font-family: 'Hanken Grotesk', sans-serif;
|
|
25578
25587
|
font-size: 14px;
|
|
25579
25588
|
font-weight: 400;
|
|
@@ -25649,7 +25658,7 @@ A(ke)`
|
|
|
25649
25658
|
color: #94a3b8;
|
|
25650
25659
|
}
|
|
25651
25660
|
`;
|
|
25652
|
-
A(
|
|
25661
|
+
A(Y)`
|
|
25653
25662
|
margin: 12px 0;
|
|
25654
25663
|
padding: 8px 12px;
|
|
25655
25664
|
font-family: 'Hanken Grotesk', sans-serif;
|
|
@@ -26359,12 +26368,12 @@ const mF = A("div")`
|
|
|
26359
26368
|
gap: 6px;
|
|
26360
26369
|
width: 290px;
|
|
26361
26370
|
padding: 16px;
|
|
26362
|
-
`, DF = A(
|
|
26371
|
+
`, DF = A(Y)`
|
|
26363
26372
|
font-size: 14px;
|
|
26364
26373
|
font-weight: 600;
|
|
26365
26374
|
line-height: 20px;
|
|
26366
26375
|
letter-spacing: -0.28px;
|
|
26367
|
-
`, NF = A(
|
|
26376
|
+
`, NF = A(Y)`
|
|
26368
26377
|
font-size: 13px;
|
|
26369
26378
|
font-weight: 400;
|
|
26370
26379
|
line-height: 20px;
|