@hiver/connector-admin 4.18.0-multiStore-beta.3 → 4.18.0-multiStore-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -17,7 +17,7 @@ import * as T from "react";
17
17
  import he, { useState as $, useRef as De, useSyncExternalStore as Tv, useLayoutEffect as tu, useEffect as Ee, isValidElement as SA, cloneElement as td, createContext as Ho, Suspense as wC, useContext as Ve, useMemo as Se, useCallback as Ze, memo as Sv, useReducer as TC, Fragment as Ec, Component as nu, forwardRef as ru } from "react";
18
18
  import * as _v from "react-dom";
19
19
  import VB, { unstable_batchedUpdates as Al, createPortal as ou, render as Rv, unmountComponentAtNode as Ov } from "react-dom";
20
- import { HiverProvider as iu, styled as w, Stack as V, Box as oe, Typography as ee, Skeleton as un, theme as q, Icon as cA, CircularProgress as Nr, palette as St, Button as tt, Tab as $A, Chip as Ca, Alert as _A, icons as gt, Dialog as js, Tooltip as st, IconButton as _n, brandIcons as GB, tooltipClasses as qr, Checkbox as Mo, TextField as Us, Autocomplete as ea, Tabs as Au, Grid as au, Switch as SC, DatePicker as Dv, DateTextField as Lv, InputAdornment as Fv, LinearProgress as Pv, ListSubheader as Fl, InputBase as HB, MenuItem as xA, FormControl as _C, Select as RC, Paper as Nv, Popper as kv, ClickAwayListener as Mv, Accordion as WB, AccordionSummary as zB, accordionSummaryClasses as YB, AccordionDetails as JB, Snackbar as XB, Link as KB, ScopedCssBaseline as jv, createTheme as Uv, DialogCloseButton as Vv, MenuSearch as Gv, MenuScrollable as Hv, RadioGroup as Wv, FormControlLabel as zv, Radio as Yv } from "@hiver/hiver-ui-kit";
20
+ import { HiverProvider as iu, styled as w, Stack as V, Box as oe, Typography as ee, Skeleton as un, theme as X, Icon as cA, CircularProgress as Nr, palette as St, Button as tt, Tab as $A, Chip as Ca, Alert as _A, icons as gt, Dialog as js, Tooltip as st, IconButton as _n, brandIcons as GB, tooltipClasses as qr, Checkbox as Mo, TextField as Us, Autocomplete as ea, Tabs as Au, Grid as au, Switch as SC, DatePicker as Dv, DateTextField as Lv, InputAdornment as Fv, LinearProgress as Pv, ListSubheader as Fl, InputBase as HB, MenuItem as xA, FormControl as _C, Select as RC, Paper as Nv, Popper as kv, ClickAwayListener as Mv, Accordion as WB, AccordionSummary as zB, accordionSummaryClasses as YB, AccordionDetails as JB, Snackbar as XB, Link as KB, ScopedCssBaseline as jv, createTheme as Uv, DialogCloseButton as Vv, MenuSearch as Gv, MenuScrollable as Hv, RadioGroup as Wv, FormControlLabel as zv, Radio as Yv } from "@hiver/hiver-ui-kit";
21
21
  var nt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
22
22
  function su(e) {
23
23
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -194,7 +194,7 @@ function Kv() {
194
194
  W++;
195
195
  }
196
196
  }
197
- function X() {
197
+ function K() {
198
198
  {
199
199
  if (W--, W === 0) {
200
200
  var S = {
@@ -248,7 +248,7 @@ function Kv() {
248
248
  var Ge = typeof WeakMap == "function" ? WeakMap : Map;
249
249
  Ie = new Ge();
250
250
  }
251
- function K(S, J) {
251
+ function q(S, J) {
252
252
  if (!S || ve)
253
253
  return "";
254
254
  {
@@ -314,13 +314,13 @@ function Kv() {
314
314
  }
315
315
  }
316
316
  } finally {
317
- ve = !1, re.current = Re, X(), Error.prepareStackTrace = fe;
317
+ ve = !1, re.current = Re, K(), Error.prepareStackTrace = fe;
318
318
  }
319
319
  var Ut = S ? S.displayName || S.name : "", vt = Ut ? de(Ut) : "";
320
320
  return typeof S == "function" && Ie.set(S, vt), vt;
321
321
  }
322
322
  function pe(S, J, ce) {
323
- return K(S, !1);
323
+ return q(S, !1);
324
324
  }
325
325
  function _e(S) {
326
326
  var J = S.prototype;
@@ -330,7 +330,7 @@ function Kv() {
330
330
  if (S == null)
331
331
  return "";
332
332
  if (typeof S == "function")
333
- return K(S, _e(S));
333
+ return q(S, _e(S));
334
334
  if (typeof S == "string")
335
335
  return de(S);
336
336
  switch (S) {
@@ -758,8 +758,8 @@ function $v(e) {
758
758
  E -= d.length, d = [];
759
759
  }, buildToast: (b, x) => {
760
760
  if (((L) => {
761
- let { containerId: F, toastId: U, updateId: X } = L;
762
- const re = F ? F !== u : u !== 1, ie = B.has(U) && X == null;
761
+ let { containerId: F, toastId: U, updateId: K } = L;
762
+ const re = F ? F !== u : u !== 1, ie = B.has(U) && K == null;
763
763
  return re || ie;
764
764
  })(x)) return;
765
765
  const { toastId: O, updateId: _, data: D, staleId: j, delay: R } = x, W = () => {
@@ -940,15 +940,15 @@ const oy = typeof window < "u" ? tu : Ee, sl = (e) => {
940
940
  return he.createElement("div", { className: "Toastify__spinner" });
941
941
  } }, iy = (e) => {
942
942
  const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = ey(e), { closeButton: A, children: a, autoClose: s, onClick: c, type: u, hideProgressBar: g, closeToast: f, transition: p, position: E, className: d, style: C, bodyClassName: h, bodyStyle: I, progressClassName: B, progressStyle: Q, updateId: m, role: y, progress: v, rtl: b, toastId: x, deleteToast: O, isIn: _, isLoading: D, closeOnClick: j, theme: R } = e, W = di("Toastify__toast", `Toastify__toast-theme--${R}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": b }, { "Toastify__toast--close-on-click": j }), Z = Ir(d) ? d({ rtl: b, position: E, type: u, defaultClassName: W }) : di(W, d), ne = function(H) {
943
- let { theme: L, type: F, isLoading: U, icon: X } = H, re = null;
943
+ let { theme: L, type: F, isLoading: U, icon: K } = H, re = null;
944
944
  const ie = { theme: L, type: F };
945
- return X === !1 || (Ir(X) ? re = X({ ...ie, isLoading: U }) : SA(X) ? re = td(X, ie) : U ? re = $u.spinner() : ((de) => de in $u)(F) && (re = $u[F](ie))), re;
945
+ return K === !1 || (Ir(K) ? re = K({ ...ie, isLoading: U }) : SA(K) ? re = td(K, ie) : U ? re = $u.spinner() : ((de) => de in $u)(F) && (re = $u[F](ie))), re;
946
946
  }(e), ge = !!v || !s, Y = { closeToast: f, type: u, theme: R };
947
947
  let P = null;
948
948
  return A === !1 || (P = Ir(A) ? A(Y) : SA(A) ? td(A, Y) : function(H) {
949
949
  let { closeToast: L, theme: F, ariaLabel: U = "close" } = H;
950
- return he.createElement("button", { className: `Toastify__close-button Toastify__close-button--${F}`, type: "button", onClick: (X) => {
951
- X.stopPropagation(), L(X);
950
+ return he.createElement("button", { className: `Toastify__close-button Toastify__close-button--${F}`, type: "button", onClick: (K) => {
951
+ K.stopPropagation(), L(K);
952
952
  }, "aria-label": U }, he.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, he.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
953
953
  }(Y)), he.createElement(p, { isIn: _, done: O, position: E, preventExitTransition: n, nodeRef: r, playToast: i }, he.createElement("div", { id: x, onClick: c, "data-in": _, className: Z, ...o, style: C, ref: r }, he.createElement("div", { ..._ && { role: y }, className: Ir(h) ? h({ type: u }) : di("Toastify__toast-body", h), style: I }, ne != null && he.createElement("div", { className: di("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !D }) }, ne), he.createElement("div", null, a)), P, he.createElement(ty, { ...m && !ge ? { key: `pb-${m}` } : {}, rtl: b, theme: R, delay: s, isRunning: t, isIn: _, closeToast: f, hide: g, type: u, style: Q, className: B, controlledProgress: ge, progress: v || 0 })));
954
954
  }, cu = function(e, t) {
@@ -9740,7 +9740,7 @@ function IS(e) {
9740
9740
  errors: e.hydrationData && e.hydrationData.errors || m,
9741
9741
  fetchers: /* @__PURE__ */ new Map(),
9742
9742
  blockers: /* @__PURE__ */ new Map()
9743
- }, x = fn.Pop, O = !1, _, D = !1, j = /* @__PURE__ */ new Map(), R = null, W = !1, Z = !1, ne = [], ge = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Map(), P = 0, H = -1, L = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Set(), U = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Map(), re = /* @__PURE__ */ new Set(), ie = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Map(), ve = /* @__PURE__ */ new Map(), Ie;
9743
+ }, x = fn.Pop, O = !1, _, D = !1, j = /* @__PURE__ */ new Map(), R = null, W = !1, Z = !1, ne = [], ge = /* @__PURE__ */ new Set(), Y = /* @__PURE__ */ new Map(), P = 0, H = -1, L = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Set(), U = /* @__PURE__ */ new Map(), K = /* @__PURE__ */ new Map(), re = /* @__PURE__ */ new Set(), ie = /* @__PURE__ */ new Map(), de = /* @__PURE__ */ new Map(), ve = /* @__PURE__ */ new Map(), Ie;
9744
9744
  function Ge() {
9745
9745
  if (f = e.history.listen((N) => {
9746
9746
  let {
@@ -9792,7 +9792,7 @@ function IS(e) {
9792
9792
  initialHydration: !0
9793
9793
  }), v;
9794
9794
  }
9795
- function K() {
9795
+ function q() {
9796
9796
  f && f(), R && R(), p.clear(), _ && _.abort(), b.fetchers.forEach((N, G) => oo(G)), b.blockers.forEach((N, G) => Kt(G));
9797
9797
  }
9798
9798
  function pe(N) {
@@ -10545,7 +10545,7 @@ function IS(e) {
10545
10545
  });
10546
10546
  }
10547
10547
  function So(N) {
10548
- return g.v7_fetcherPersist && (X.set(N, (X.get(N) || 0) + 1), re.has(N) && re.delete(N)), b.fetchers.get(N) || ES;
10548
+ return g.v7_fetcherPersist && (K.set(N, (K.get(N) || 0) + 1), re.has(N) && re.delete(N)), b.fetchers.get(N) || ES;
10549
10549
  }
10550
10550
  function oo(N) {
10551
10551
  let G = b.fetchers.get(N);
@@ -10553,8 +10553,8 @@ function IS(e) {
10553
10553
  }
10554
10554
  function qo(N) {
10555
10555
  if (g.v7_fetcherPersist) {
10556
- let G = (X.get(N) || 0) - 1;
10557
- G <= 0 ? (X.delete(N), re.add(N)) : X.set(N, G);
10556
+ let G = (K.get(N) || 0) - 1;
10557
+ G <= 0 ? (K.delete(N), re.add(N)) : K.set(N, G);
10558
10558
  } else
10559
10559
  oo(N);
10560
10560
  _e({
@@ -10778,7 +10778,7 @@ function IS(e) {
10778
10778
  encodeLocation: (N) => e.history.encodeLocation(N),
10779
10779
  getFetcher: So,
10780
10780
  deleteFetcher: qo,
10781
- dispose: K,
10781
+ dispose: q,
10782
10782
  getBlocker: wr,
10783
10783
  deleteBlocker: Kt,
10784
10784
  patchRoutes: jn,
@@ -12756,7 +12756,7 @@ const M6 = w(V)`
12756
12756
  `, B5 = w("li")`
12757
12757
  width: 252px;
12758
12758
  height: 187px;
12759
- border: 1px solid ${q.palette.gray.gray6};
12759
+ border: 1px solid ${X.palette.gray.gray6};
12760
12760
  border-radius: 8px;
12761
12761
  padding: 24px;
12762
12762
  box-sizing: border-box;
@@ -12790,14 +12790,14 @@ const M6 = w(V)`
12790
12790
  cursor: pointer;
12791
12791
  width: 252px;
12792
12792
  height: 187px;
12793
- border: 1px solid ${q.palette.gray.gray6};
12793
+ border: 1px solid ${X.palette.gray.gray6};
12794
12794
  border-radius: 8px;
12795
12795
  padding: 24px;
12796
12796
  box-sizing: border-box;
12797
12797
  flex: 1 1 100%;
12798
12798
  max-width: 252px;
12799
12799
  &:hover {
12800
- box-shadow: 0px 2px 4px 0px ${q.palette.gray.gray6};
12800
+ box-shadow: 0px 2px 4px 0px ${X.palette.gray.gray6};
12801
12801
  }
12802
12802
  `, v5 = w(cA)`
12803
12803
  width: 43px;
@@ -12916,23 +12916,23 @@ const M6 = w(V)`
12916
12916
  height: 36px;
12917
12917
  width: 201px;
12918
12918
  text-transform: none;
12919
- color: ${q.palette.gray.black};
12920
- border: 1px solid ${q.palette.gray.gray5};
12919
+ color: ${X.palette.gray.black};
12920
+ border: 1px solid ${X.palette.gray.gray5};
12921
12921
  white-space: pre;
12922
- background: ${q.palette.gray.white};
12922
+ background: ${X.palette.gray.white};
12923
12923
  box-shadow: none;
12924
12924
  &:hover {
12925
12925
  background-color: #e3e9ff !important;
12926
- color: ${q.palette.purple.primary} !important;
12927
- border: 1px solid ${q.palette.purple.primary} !important;
12926
+ color: ${X.palette.purple.primary} !important;
12927
+ border: 1px solid ${X.palette.purple.primary} !important;
12928
12928
  }
12929
12929
  `, c9 = w(tt)`
12930
12930
  width: 253px;
12931
12931
  height: 36px;
12932
12932
  text-transform: none;
12933
12933
  box-shadow: none;
12934
- color: ${q.palette.gray.black};
12935
- border: 1px solid ${q.palette.gray.gray5};
12934
+ color: ${X.palette.gray.black};
12935
+ border: 1px solid ${X.palette.gray.gray5};
12936
12936
  `, u9 = ({ setModalState: e }) => {
12937
12937
  const t = (n) => {
12938
12938
  n == null || n.stopPropagation(), e(!0);
@@ -12945,8 +12945,8 @@ const M6 = w(V)`
12945
12945
  "data-testid": "connector-not-available-request-new",
12946
12946
  children: [
12947
12947
  /* @__PURE__ */ l.jsxs(i9, { children: [
12948
- /* @__PURE__ */ l.jsx(A9, { variant: "h1", color: q.palette.gray.black, children: t5 }),
12949
- /* @__PURE__ */ l.jsx(a9, { variant: "body1", color: q.palette.gray.gray2, children: n5 }),
12948
+ /* @__PURE__ */ l.jsx(A9, { variant: "h1", color: X.palette.gray.black, children: t5 }),
12949
+ /* @__PURE__ */ l.jsx(a9, { variant: "body1", color: X.palette.gray.gray2, children: n5 }),
12950
12950
  /* @__PURE__ */ l.jsxs(s9, { direction: "row", justifyContent: "space-between", children: [
12951
12951
  /* @__PURE__ */ l.jsx(l9, { variant: "contained", onClick: t, children: rm }),
12952
12952
  /* @__PURE__ */ l.jsx(c9, { variant: "outlined", className: "create-own__btn", children: r5 })
@@ -12964,7 +12964,7 @@ const M6 = w(V)`
12964
12964
  Am.displayName = "SingletonProvider";
12965
12965
  const am = (e) => e.connectorLirary.connectorList, Tu = (e) => e.connectorLirary.connectors, sm = (e) => e.connectorLirary.connectorsApiStatus, g9 = (e) => e.connectorLirary.currentUpdatingConnectors, sE = (e) => e.connectorLirary.connectorDetailApiStatus, lm = (e) => e.connectorLirary.emailInboxDetails, cm = (e) => e.connectorLirary.rolesAndPermissions, d9 = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, C9 = (e) => e.connectorLirary.cardCustomFields, E9 = (e) => e.connectorLirary.cardCustomFieldsApiStatus, f9 = w(oe)`
12966
12966
  border-radius: 4px;
12967
- border: 1px solid ${q.palette.gray.gray5};
12967
+ border: 1px solid ${X.palette.gray.gray5};
12968
12968
  margin-bottom: 12px;
12969
12969
  &.noBorder {
12970
12970
  border: none;
@@ -12993,10 +12993,10 @@ const am = (e) => e.connectorLirary.connectorList, Tu = (e) => e.connectorLirary
12993
12993
  height: 70px;
12994
12994
  }
12995
12995
  &.connector-expanded {
12996
- background: ${q.palette.gray.gray6};
12996
+ background: ${X.palette.gray.gray6};
12997
12997
  }
12998
12998
  &:hover {
12999
- background: ${q.palette.gray.gray6};
12999
+ background: ${X.palette.gray.gray6};
13000
13000
  }
13001
13001
  &.connector-settings {
13002
13002
  padding-left: 0;
@@ -13080,7 +13080,7 @@ const am = (e) => e.connectorLirary.connectorList, Tu = (e) => e.connectorLirary
13080
13080
  }
13081
13081
  `, v9 = w(gt.InfoOutlined)`
13082
13082
  width: 16px;
13083
- color: ${q.palette.gray.gray3};
13083
+ color: ${X.palette.gray.gray3};
13084
13084
  `, oa = "success", jo = "error", um = "info-dark", y9 = "Error in toggling connector state", x9 = "Connector disabled successfully", w9 = "data:image/svg+xml,%3csvg%20width='22'%20height='22'%20viewBox='0%200%2022%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_3354_177467'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='22'%20height='22'%3e%3crect%20width='22'%20height='22'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3354_177467)'%3e%3cpath%20d='M15.5827%2015.584C15.9646%2015.584%2016.2893%2015.4503%2016.5566%2015.1829C16.824%2014.9156%2016.9577%2014.5909%2016.9577%2014.209C16.9577%2013.827%2016.824%2013.5024%2016.5566%2013.235C16.2893%2012.9677%2015.9646%2012.834%2015.5827%2012.834C15.2007%2012.834%2014.8761%2012.9677%2014.6087%2013.235C14.3414%2013.5024%2014.2077%2013.827%2014.2077%2014.209C14.2077%2014.5909%2014.3414%2014.9156%2014.6087%2015.1829C14.8761%2015.4503%2015.2007%2015.584%2015.5827%2015.584ZM15.5827%2018.334C16.0563%2018.334%2016.4917%2018.2232%2016.8889%2018.0017C17.2862%2017.7802%2017.607%2017.4861%2017.8514%2017.1194C17.5153%2016.9208%2017.1563%2016.768%2016.7743%2016.6611C16.3924%2016.5541%2015.9952%2016.5007%2015.5827%2016.5007C15.1702%2016.5007%2014.773%2016.5541%2014.391%2016.6611C14.0091%2016.768%2013.65%2016.9208%2013.3139%2017.1194C13.5584%2017.4861%2013.8792%2017.7802%2014.2764%2018.0017C14.6737%2018.2232%2015.1091%2018.334%2015.5827%2018.334ZM10.9993%2020.1673C8.87574%2019.6326%207.12261%2018.4142%205.73997%2016.5121C4.35734%2014.61%203.66602%2012.4979%203.66602%2010.1757V4.58398L10.9993%201.83398L18.3327%204.58398V9.78607C18.0424%209.66385%2017.7445%209.55308%2017.4389%209.45378C17.1334%209.35447%2016.8202%209.2819%2016.4993%209.23607V5.86732L10.9993%203.80482L5.49935%205.86732V10.1757C5.49935%2010.8937%205.59484%2011.6118%205.78581%2012.3298C5.97678%2013.0479%206.24414%2013.7316%206.58789%2014.3809C6.93164%2015.0302%207.34796%2015.6298%207.83685%2016.1798C8.32574%2016.7298%208.8681%2017.1882%209.46393%2017.5548C9.63199%2018.0437%209.85352%2018.5097%2010.1285%2018.9527C10.4035%2019.3958%2010.7167%2019.793%2011.0681%2020.1444C11.0528%2020.1444%2011.0414%2020.1482%2011.0337%2020.1559C11.0261%2020.1635%2011.0146%2020.1673%2010.9993%2020.1673ZM15.5827%2020.1673C14.3146%2020.1673%2013.2337%2019.7204%2012.34%2018.8267C11.4462%2017.9329%2010.9993%2016.852%2010.9993%2015.584C10.9993%2014.3159%2011.4462%2013.235%2012.34%2012.3413C13.2337%2011.4475%2014.3146%2011.0007%2015.5827%2011.0007C16.8507%2011.0007%2017.9316%2011.4475%2018.8254%2012.3413C19.7191%2013.235%2020.166%2014.3159%2020.166%2015.584C20.166%2016.852%2019.7191%2017.9329%2018.8254%2018.8267C17.9316%2019.7204%2016.8507%2020.1673%2015.5827%2020.1673Z'%20fill='%233E4C5A'/%3e%3c/g%3e%3c/svg%3e", gm = "data:image/svg+xml,%3csvg%20width='92'%20height='92'%20viewBox='0%200%2092%2092'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='46'%20cy='46'%20r='23'%20fill='%2336A40F'/%3e%3ccircle%20opacity='0.1'%20cx='45.5'%20cy='45.5'%20r='34.5'%20fill='%235AAA3D'/%3e%3ccircle%20opacity='0.1'%20cx='46'%20cy='46'%20r='46'%20fill='%232CAA00'/%3e%3cpath%20d='M37%2046L44%2053L58%2039'%20stroke='white'%20stroke-width='3'/%3e%3c/svg%3e", T9 = "Connector enabled", S9 = "Access and manage the information from the connector directly from Hiver’s right panel for seamless integration and easy reference.", _9 = "Got it", R9 = "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", lE = ({
13085
13085
  shown: e,
13086
13086
  setShown: t,
@@ -13116,8 +13116,8 @@ const am = (e) => e.connectorLirary.connectorList, Tu = (e) => e.connectorLirary
13116
13116
  `, D9 = w(tt)`
13117
13117
  &:hover {
13118
13118
  background-color: #e3e9ff !important;
13119
- color: ${q.palette.purple.primary} !important;
13120
- border: 1px solid ${q.palette.purple.primary} !important;
13119
+ color: ${X.palette.purple.primary} !important;
13120
+ border: 1px solid ${X.palette.purple.primary} !important;
13121
13121
  }
13122
13122
  `, L9 = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "Environment Variable from admin" }, F9 = ({ shown: e, connectorName: t, setShown: n }) => {
13123
13123
  const { VITE_HIVER_CDN_URL: r } = L9, o = r + "connectors-module/assets/ConnectorsEnabled.gif", i = () => {
@@ -13216,7 +13216,7 @@ const G9 = w(oe)`
13216
13216
  box-shadow: 0px 4px 4px 0px #00000014;
13217
13217
  `, W9 = w(ee)`
13218
13218
  margin-top: 9px;
13219
- color: ${q.palette.gray.gray3};
13219
+ color: ${X.palette.gray.gray3};
13220
13220
  `, z9 = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3297_163628)'%3e%3cpath%20d='M9.99967%205.41667C13.158%205.41667%2015.9747%207.19167%2017.3497%2010C15.9747%2012.8083%2013.1663%2014.5833%209.99967%2014.5833C6.83301%2014.5833%204.02467%2012.8083%202.64967%2010C4.02467%207.19167%206.84134%205.41667%209.99967%205.41667ZM9.99967%203.75C5.83301%203.75%202.27467%206.34167%200.833008%2010C2.27467%2013.6583%205.83301%2016.25%209.99967%2016.25C14.1663%2016.25%2017.7247%2013.6583%2019.1663%2010C17.7247%206.34167%2014.1663%203.75%209.99967%203.75ZM9.99967%207.91667C11.1497%207.91667%2012.083%208.85%2012.083%2010C12.083%2011.15%2011.1497%2012.0833%209.99967%2012.0833C8.84967%2012.0833%207.91634%2011.15%207.91634%2010C7.91634%208.85%208.84967%207.91667%209.99967%207.91667ZM9.99967%206.25C7.93301%206.25%206.24967%207.93333%206.24967%2010C6.24967%2012.0667%207.93301%2013.75%209.99967%2013.75C12.0663%2013.75%2013.7497%2012.0667%2013.7497%2010C13.7497%207.93333%2012.0663%206.25%209.99967%206.25Z'%20fill='%233E4C5A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3297_163628'%3e%3crect%20width='20'%20height='20'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Y9 = () => /* @__PURE__ */ l.jsxs(G9, { children: [
13221
13221
  /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", gap: 1, children: [
13222
13222
  /* @__PURE__ */ l.jsx(H9, { direction: "row", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ l.jsx("img", { src: z9, alt: "visibility" }) }),
@@ -15311,7 +15311,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15311
15311
  }, [v, _]), R = De(null), [W, Z] = $(null), [ne, ge] = $(null), Y = Ts(E, Object.values(E)), P = Js("DndDescribedBy", A), H = Se(() => O.getEnabled(), [O]), L = C_(f), {
15312
15312
  droppableRects: F,
15313
15313
  measureDroppableContainers: U,
15314
- measuringScheduled: X
15314
+ measuringScheduled: K
15315
15315
  } = J8(H, {
15316
15316
  dragging: y,
15317
15317
  dependencies: [x.x, x.y],
@@ -15323,7 +15323,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15323
15323
  initialRect: ve,
15324
15324
  measure: L.draggable.measure
15325
15325
  });
15326
- const Ie = op(re, L.draggable.measure, ve), Ge = op(re ? re.parentElement : null), K = De({
15326
+ const Ie = op(re, L.draggable.measure, ve), Ge = op(re ? re.parentElement : null), q = De({
15327
15327
  activatorEvent: null,
15328
15328
  active: null,
15329
15329
  activeNode: re,
@@ -15337,7 +15337,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15337
15337
  over: null,
15338
15338
  scrollableAncestors: [],
15339
15339
  scrollAdjustedTranslate: null
15340
- }), pe = O.getNodeFor((n = K.current.over) == null ? void 0 : n.id), _e = i_({
15340
+ }), pe = O.getNodeFor((n = q.current.over) == null ? void 0 : n.id), _e = i_({
15341
15341
  measure: L.dragOverlay.measure
15342
15342
  }), it = (r = _e.nodeRef.current) != null ? r : re, lt = y ? (o = _e.rect) != null ? o : Ie : null, ln = !!(_e.nodeRef.current && _e.rect), It = Z8(ln ? null : Ie), bt = Tm(it ? ur(it) : null), Rt = $8(y ? pe ?? re : null), Fn = r_(Rt), Pn = d_(p, {
15343
15343
  transform: {
@@ -15351,7 +15351,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15351
15351
  activeNodeRect: Ie,
15352
15352
  containerNodeRect: Ge,
15353
15353
  draggingNodeRect: lt,
15354
- over: K.current.over,
15354
+ over: q.current.over,
15355
15355
  overlayNodeRect: _e.rect,
15356
15356
  scrollableAncestors: Rt,
15357
15357
  scrollableAncestorRects: Fn,
@@ -15380,7 +15380,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15380
15380
  options: Rn,
15381
15381
  // Sensors need to be instantiated with refs for arguments that change over time
15382
15382
  // otherwise they are frozen in time with the stale arguments
15383
- context: K,
15383
+ context: q,
15384
15384
  onStart(Cn) {
15385
15385
  const Jt = R.current;
15386
15386
  if (Jt == null)
@@ -15426,7 +15426,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15426
15426
  collisions: Cr,
15427
15427
  over: jn,
15428
15428
  scrollAdjustedTranslate: N
15429
- } = K.current;
15429
+ } = q.current;
15430
15430
  let G = null;
15431
15431
  if (dr && N) {
15432
15432
  const {
@@ -15485,7 +15485,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15485
15485
  activatorEvent: Zt,
15486
15486
  collisions: Rn,
15487
15487
  over: cn
15488
- } = K.current;
15488
+ } = q.current;
15489
15489
  if (!qt || !Zt)
15490
15490
  return;
15491
15491
  const dn = {
@@ -15515,7 +15515,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15515
15515
  collisions: Zt,
15516
15516
  droppableContainers: Rn,
15517
15517
  scrollAdjustedTranslate: cn
15518
- } = K.current;
15518
+ } = q.current;
15519
15519
  if (!jt || R.current == null || !qt || !cn)
15520
15520
  return;
15521
15521
  const {
@@ -15545,7 +15545,7 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15545
15545
  // eslint-disable-next-line react-hooks/exhaustive-deps
15546
15546
  [kn]
15547
15547
  ), bo(() => {
15548
- K.current = {
15548
+ q.current = {
15549
15549
  activatorEvent: ne,
15550
15550
  active: j,
15551
15551
  activeNode: re,
@@ -15587,9 +15587,9 @@ const Jd = /* @__PURE__ */ Sv(function(t) {
15587
15587
  scrollableAncestors: Rt,
15588
15588
  scrollableAncestorRects: Fn,
15589
15589
  measuringConfiguration: L,
15590
- measuringScheduled: X,
15590
+ measuringScheduled: K,
15591
15591
  windowRect: bt
15592
- }), [j, re, Ie, ne, Nn, Ge, _e, b, O, F, Xt, U, Rt, Fn, L, X, bt]), Kt = Se(() => ({
15592
+ }), [j, re, Ie, ne, Nn, Ge, _e, b, O, F, Xt, U, Rt, Fn, L, K, bt]), Kt = Se(() => ({
15593
15593
  activatorEvent: ne,
15594
15594
  activators: Gr,
15595
15595
  active: j,
@@ -16021,7 +16021,7 @@ function IE(e) {
16021
16021
  ...n
16022
16022
  },
16023
16023
  disabled: B.draggable
16024
- }), H = e8(O, W), L = !!_, F = L && !E && fl(f) && fl(C), U = !h && ne, X = U && F ? P : null, ie = F ? X ?? (a ?? I)({
16024
+ }), H = e8(O, W), L = !!_, F = L && !E && fl(f) && fl(C), U = !h && ne, K = U && F ? P : null, ie = F ? K ?? (a ?? I)({
16025
16025
  rects: d,
16026
16026
  activeNodeRect: j,
16027
16027
  activeIndex: f,
@@ -16037,7 +16037,7 @@ function IE(e) {
16037
16037
  items: u,
16038
16038
  newIndex: de,
16039
16039
  containerId: g
16040
- }), Ge = u !== Ie.current.items, K = t({
16040
+ }), Ge = u !== Ie.current.items, q = t({
16041
16041
  active: _,
16042
16042
  containerId: g,
16043
16043
  isDragging: ne,
@@ -16051,7 +16051,7 @@ function IE(e) {
16051
16051
  transition: c,
16052
16052
  wasDragging: Ie.current.activeId != null
16053
16053
  }), pe = O_({
16054
- disabled: !K,
16054
+ disabled: !q,
16055
16055
  index: Q,
16056
16056
  node: b,
16057
16057
  rect: v
@@ -16099,7 +16099,7 @@ function IE(e) {
16099
16099
  Ge && Ie.current.newIndex === Q
16100
16100
  )
16101
16101
  return __;
16102
- if (!(U && !dE(D) || !c) && (L || K))
16102
+ if (!(U && !dE(D) || !c) && (L || q))
16103
16103
  return iA.Transition.toString({
16104
16104
  ...c,
16105
16105
  property: Lm
@@ -16291,8 +16291,8 @@ const L_ = w(V)`
16291
16291
  `, z_ = w(tt)`
16292
16292
  &:hover {
16293
16293
  background-color: #e3e9ff !important;
16294
- color: ${q.palette.purple.primary} !important;
16295
- border: 1px solid ${q.palette.purple.primary} !important;
16294
+ color: ${X.palette.purple.primary} !important;
16295
+ border: 1px solid ${X.palette.purple.primary} !important;
16296
16296
  }
16297
16297
  `, qd = w(Pm)`
16298
16298
  & .MuiOutlinedInput-root {
@@ -16456,8 +16456,8 @@ const L_ = w(V)`
16456
16456
  () => (p == null ? void 0 : p.find((F) => o == null ? void 0 : o.includes(F.name))) ?? {}
16457
16457
  ), [y, v] = $(
16458
16458
  () => {
16459
- var F, U, X;
16460
- return ((X = (U = (F = f == null ? void 0 : f[i]) == null ? void 0 : F.cardList) == null ? void 0 : U.find((re) => re.id === t)) == null ? void 0 : X.fields) ?? [];
16459
+ var F, U, K;
16460
+ return ((K = (U = (F = f == null ? void 0 : f[i]) == null ? void 0 : F.cardList) == null ? void 0 : U.find((re) => re.id === t)) == null ? void 0 : K.fields) ?? [];
16461
16461
  }
16462
16462
  ), [b, x] = $(Si.CARD_VISIBILITY.ID);
16463
16463
  Ee(() => {
@@ -16470,37 +16470,37 @@ const L_ = w(V)`
16470
16470
  if (!Array.isArray(a)) return !1;
16471
16471
  const U = lp(a, F);
16472
16472
  if (y.length != U.length) return !1;
16473
- for (let X = 0; X < U.length; X++) {
16474
- const re = U[X], ie = y[X];
16473
+ for (let K = 0; K < U.length; K++) {
16474
+ const re = U[K], ie = y[K];
16475
16475
  if (y && (re.key !== ie.key || re.enabled !== ie.enabled))
16476
16476
  return !1;
16477
16477
  }
16478
16478
  return !0;
16479
16479
  }, [a, y, d, t]), j = I.length !== 0 && y.filter((F) => F.enabled).length === 0, R = C === je.LOADING || O && _ && D || j, W = Se(() => !!(a != null && a.some((F) => F.isFieldNew)), [a]), Z = h && pE(t, h), ge = Qs(c) && W && !Z ? Nm : "", Y = (F) => {
16480
16480
  F.stopPropagation();
16481
- const U = Q != null && Q.name ? [Q.name] : [], X = I.map((ie) => ie.id), re = y.map((ie, de) => ({ ...ie, priority: de + 1 }));
16481
+ const U = Q != null && Q.name ? [Q.name] : [], K = I.map((ie) => ie.id), re = y.map((ie, de) => ({ ...ie, priority: de + 1 }));
16482
16482
  g(
16483
16483
  Gl({
16484
16484
  cardId: t,
16485
- data: { roles: U, inboxes: { email: X, chat: [] }, fields: re },
16485
+ data: { roles: U, inboxes: { email: K, chat: [] }, fields: re },
16486
16486
  currentConnector: i
16487
16487
  })
16488
16488
  ).unwrap().then(() => {
16489
16489
  var ve, Ie, Ge;
16490
16490
  const ie = (ve = f == null ? void 0 : f[i]) == null ? void 0 : ve.name, de = (Ge = (Ie = f == null ? void 0 : f[i]) == null ? void 0 : Ie.cardList) == null ? void 0 : Ge.some(
16491
- (K) => {
16491
+ (q) => {
16492
16492
  var ln;
16493
- if (K.id === t) return !1;
16494
- const { email: pe, chat: _e } = K.inboxes, it = !!(((pe == null ? void 0 : pe.length) ?? 0) + ((_e == null ? void 0 : _e.length) ?? 0)), lt = !!((ln = K == null ? void 0 : K.roles) != null && ln.length);
16493
+ if (q.id === t) return !1;
16494
+ const { email: pe, chat: _e } = q.inboxes, it = !!(((pe == null ? void 0 : pe.length) ?? 0) + ((_e == null ? void 0 : _e.length) ?? 0)), lt = !!((ln = q == null ? void 0 : q.roles) != null && ln.length);
16495
16495
  return it && lt;
16496
16496
  }
16497
16497
  );
16498
16498
  u(ht.CARD_VISIBILITY_UPDATED, {
16499
- new_status: X.length && (Q != null && Q.name) ? JI : XI,
16499
+ new_status: K.length && (Q != null && Q.name) ? JI : XI,
16500
16500
  pre_status: n != null && n.length && (p != null && p.length) ? JI : XI,
16501
16501
  connector_name: ie,
16502
16502
  card_title: A
16503
- }), !de && (Q != null && Q.name) && X.length ? r(!0) : ie && sr({
16503
+ }), !de && (Q != null && Q.name) && K.length ? r(!0) : ie && sr({
16504
16504
  message: k5.replace(N5, ie),
16505
16505
  type: oa
16506
16506
  });
@@ -16513,9 +16513,9 @@ const L_ = w(V)`
16513
16513
  x(U), U === Si.FIELD_VISIBILITY.ID && (u(ht.CONNECTOR_VISIBILITY_FIELD_TAB_CLICKED), s(!0));
16514
16514
  }, L = (F, U) => {
16515
16515
  var re;
16516
- const X = (re = Object.values(Si).find((ie) => ie.ID === F)) == null ? void 0 : re.LABEL;
16516
+ const K = (re = Object.values(Si).find((ie) => ie.ID === F)) == null ? void 0 : re.LABEL;
16517
16517
  return /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", gap: 1.25, children: [
16518
- X,
16518
+ K,
16519
16519
  U ? /* @__PURE__ */ l.jsx(ws, { label: U }) : null
16520
16520
  ] });
16521
16521
  };
@@ -16548,22 +16548,22 @@ const L_ = w(V)`
16548
16548
  flex-direction: row;
16549
16549
  justify-content: space-between;
16550
16550
  padding: 16px;
16551
- border-top: 1px solid ${q.palette.gray.gray5};
16551
+ border-top: 1px solid ${X.palette.gray.gray5};
16552
16552
  & .visibilityIcon path {
16553
- fill: ${q.palette.gray.gray3};
16553
+ fill: ${X.palette.gray.gray3};
16554
16554
  }
16555
16555
  & .hover__text {
16556
16556
  margin-right: 20px;
16557
16557
  visibility: hidden;
16558
- color: ${q.palette.gray.gray3};
16558
+ color: ${X.palette.gray.gray3};
16559
16559
  }
16560
16560
  &:hover {
16561
- background: ${q.palette.gray.gray6a};
16561
+ background: ${X.palette.gray.gray6a};
16562
16562
  & .hover__text {
16563
16563
  visibility: visible;
16564
16564
  }
16565
16565
  & .visibilityIcon path {
16566
- fill: ${q.palette.gray.gray1};
16566
+ fill: ${X.palette.gray.gray1};
16567
16567
  }
16568
16568
  }
16569
16569
  &.connector-settings {
@@ -16667,7 +16667,7 @@ const e7 = w(V)`
16667
16667
  e,
16668
16668
  " connector"
16669
16669
  ] }),
16670
- /* @__PURE__ */ l.jsx(i7, { variant: "body2", color: q.palette.gray.gray2, dangerouslySetInnerHTML: { __html: t } })
16670
+ /* @__PURE__ */ l.jsx(i7, { variant: "body2", color: X.palette.gray.gray2, dangerouslySetInnerHTML: { __html: t } })
16671
16671
  ] }), a7 = w(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(st, { ...t, classes: { popper: e } }))(() => ({
16672
16672
  [`& .${qr.tooltip}`]: {
16673
16673
  backgroundColor: "#fff",
@@ -16734,7 +16734,7 @@ const e7 = w(V)`
16734
16734
  gap: "4px",
16735
16735
  hidden: t || !u || x || !g,
16736
16736
  children: [
16737
- /* @__PURE__ */ l.jsx(ee, { variant: "body2", color: q.palette.gray.gray3, children: z5 }),
16737
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2", color: X.palette.gray.gray3, children: z5 }),
16738
16738
  /* @__PURE__ */ l.jsx(
16739
16739
  a7,
16740
16740
  {
@@ -16774,7 +16774,7 @@ const e7 = w(V)`
16774
16774
  )
16775
16775
  ] })
16776
16776
  ] }),
16777
- t ? /* @__PURE__ */ l.jsx(ee, { maxWidth: "577px", variant: "body1", color: q.palette.gray.gray3, className: "connector-grid", children: s }) : null
16777
+ t ? /* @__PURE__ */ l.jsx(ee, { maxWidth: "577px", variant: "body1", color: X.palette.gray.gray3, className: "connector-grid", children: s }) : null
16778
16778
  ] }),
16779
16779
  _ ? /* @__PURE__ */ l.jsx(
16780
16780
  o7,
@@ -16977,7 +16977,7 @@ const e7 = w(V)`
16977
16977
  height: 60px;
16978
16978
  gap: 12px;
16979
16979
  padding: 16px;
16980
- border: 1px solid ${q.palette.gray.gray6};
16980
+ border: 1px solid ${X.palette.gray.gray6};
16981
16981
  border-radius: 8px;
16982
16982
  box-sizing: border-box;
16983
16983
  `, y7 = () => /* @__PURE__ */ l.jsx(V, { marginTop: "28px", gap: "12px", "data-testid": "loading", children: Array(3).fill(0).map((e, t) => /* @__PURE__ */ l.jsx(v7, { justifyContent: "center", children: /* @__PURE__ */ l.jsx(b7, { variant: "rounded", maxWidth: "862px", height: "10px", animation: "wave" }) }, t)) }), x7 = "Limited time offer", w7 = ":", T7 = "Expert setup assistance available! Book a 15 min call with our integration specialist.", S7 = "Schedule call", _7 = "Setup guide video", R7 = "Help Article", O7 = "Contact Support", D7 = "https://help.hiverhq.com/custom-connectors", L7 = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", F7 = "https://calendar.app.google/V2cJcwKMV4ax9rpk9", mg = "hiver_schedule_call_close_button_click", P7 = "Need help?", N7 = w(V)`
@@ -17019,13 +17019,13 @@ const e7 = w(V)`
17019
17019
  `, M7 = w(tt)`
17020
17020
  gap: 8px;
17021
17021
  height: 28px;
17022
- color: ${q.palette.gray.black};
17023
- background-color: ${q.palette.gray.white};
17024
- border: 1px solid ${q.palette.gray.gray5};
17022
+ color: ${X.palette.gray.black};
17023
+ background-color: ${X.palette.gray.white};
17024
+ border: 1px solid ${X.palette.gray.gray5};
17025
17025
  &:hover {
17026
- color: ${q.palette.purple.primary};
17026
+ color: ${X.palette.purple.primary};
17027
17027
  background-color: #e3dfff;
17028
- border: 1px solid ${q.palette.purple.primary};
17028
+ border: 1px solid ${X.palette.purple.primary};
17029
17029
  box-shadow: none;
17030
17030
  }
17031
17031
  `, j7 = w(gt.Close)`
@@ -17055,7 +17055,7 @@ const e7 = w(V)`
17055
17055
  return c ? /* @__PURE__ */ l.jsxs(N7, { direction: "row", className: s, children: [
17056
17056
  /* @__PURE__ */ l.jsxs(k7, { className: s, children: [
17057
17057
  /* @__PURE__ */ l.jsxs("div", { children: [
17058
- /* @__PURE__ */ l.jsx(ee, { color: q.palette.gray.black, variant: "body2_medium", children: x7 + (t ? w7 : "") }),
17058
+ /* @__PURE__ */ l.jsx(ee, { color: X.palette.gray.black, variant: "body2_medium", children: x7 + (t ? w7 : "") }),
17059
17059
  /* @__PURE__ */ l.jsx(ee, { variant: "body2", children: T7 })
17060
17060
  ] }),
17061
17061
  /* @__PURE__ */ l.jsxs(M7, { onClick: g, variant: "outlined", size: "small", children: [
@@ -17097,7 +17097,7 @@ const e7 = w(V)`
17097
17097
  /* @__PURE__ */ l.jsxs(oe, { marginTop: "32px", children: [
17098
17098
  u ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
17099
17099
  /* @__PURE__ */ l.jsx(Q7, { variant: "h2", children: E7 }),
17100
- /* @__PURE__ */ l.jsx(m7, { variant: "body1", color: q.palette.gray.gray3, children: f7 })
17100
+ /* @__PURE__ */ l.jsx(m7, { variant: "body1", color: X.palette.gray.gray3, children: f7 })
17101
17101
  ] }) : null,
17102
17102
  /* @__PURE__ */ l.jsx(n9, {})
17103
17103
  ] }),
@@ -17196,7 +17196,7 @@ const e7 = w(V)`
17196
17196
  height: ${(e) => e.height ? e.height : "72px"};
17197
17197
  gap: 12px;
17198
17198
  padding: 16px;
17199
- border: 1px solid ${q.palette.gray.gray6};
17199
+ border: 1px solid ${X.palette.gray.gray6};
17200
17200
  border-radius: 8px;
17201
17201
  box-sizing: border-box;
17202
17202
  `, eR = () => /* @__PURE__ */ l.jsx(V, { marginTop: "28px", gap: "12px", children: Array(3).fill(0).map((e, t) => /* @__PURE__ */ l.jsxs($7, { children: [
@@ -17208,8 +17208,8 @@ const e7 = w(V)`
17208
17208
  height: 32px;
17209
17209
  &:hover {
17210
17210
  background-color: #e3e9ff !important;
17211
- color: ${q.palette.purple.primary} !important;
17212
- border: 1px solid ${q.palette.purple.primary} !important;
17211
+ color: ${X.palette.purple.primary} !important;
17212
+ border: 1px solid ${X.palette.purple.primary} !important;
17213
17213
  }
17214
17214
  `, rR = ({ connectorName: e, connectorType: t, apiList: n, isLoading: r = !1, isEdit: o = !1 }) => {
17215
17215
  const { sendTrackingEvent: i } = Ve(vn), A = K7.replace("{{connector}}", e ?? ""), [a, s] = $(!1), c = () => {
@@ -17340,16 +17340,16 @@ var dp;
17340
17340
  function iR() {
17341
17341
  return dp || (dp = 1, process.env.NODE_ENV !== "production" && function() {
17342
17342
  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, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
17343
- function B(K) {
17344
- return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
17345
- K === r || K === c || K === i || K === o || K === g || K === f || typeof K == "object" && K !== null && (K.$$typeof === E || K.$$typeof === p || K.$$typeof === A || K.$$typeof === a || K.$$typeof === u || K.$$typeof === C || K.$$typeof === h || K.$$typeof === I || K.$$typeof === d);
17343
+ function B(q) {
17344
+ return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
17345
+ q === r || q === c || q === i || q === o || q === g || q === f || typeof q == "object" && q !== null && (q.$$typeof === E || q.$$typeof === p || q.$$typeof === A || q.$$typeof === a || q.$$typeof === u || q.$$typeof === C || q.$$typeof === h || q.$$typeof === I || q.$$typeof === d);
17346
17346
  }
17347
- function Q(K) {
17348
- if (typeof K == "object" && K !== null) {
17349
- var pe = K.$$typeof;
17347
+ function Q(q) {
17348
+ if (typeof q == "object" && q !== null) {
17349
+ var pe = q.$$typeof;
17350
17350
  switch (pe) {
17351
17351
  case t:
17352
- var _e = K.type;
17352
+ var _e = q.type;
17353
17353
  switch (_e) {
17354
17354
  case s:
17355
17355
  case c:
@@ -17377,46 +17377,46 @@ function iR() {
17377
17377
  }
17378
17378
  }
17379
17379
  var m = s, y = c, v = a, b = A, x = t, O = u, _ = r, D = E, j = p, R = n, W = i, Z = o, ne = g, ge = !1;
17380
- function Y(K) {
17381
- return ge || (ge = !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.")), P(K) || Q(K) === s;
17380
+ function Y(q) {
17381
+ return ge || (ge = !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.")), P(q) || Q(q) === s;
17382
17382
  }
17383
- function P(K) {
17384
- return Q(K) === c;
17383
+ function P(q) {
17384
+ return Q(q) === c;
17385
17385
  }
17386
- function H(K) {
17387
- return Q(K) === a;
17386
+ function H(q) {
17387
+ return Q(q) === a;
17388
17388
  }
17389
- function L(K) {
17390
- return Q(K) === A;
17389
+ function L(q) {
17390
+ return Q(q) === A;
17391
17391
  }
17392
- function F(K) {
17393
- return typeof K == "object" && K !== null && K.$$typeof === t;
17392
+ function F(q) {
17393
+ return typeof q == "object" && q !== null && q.$$typeof === t;
17394
17394
  }
17395
- function U(K) {
17396
- return Q(K) === u;
17395
+ function U(q) {
17396
+ return Q(q) === u;
17397
17397
  }
17398
- function X(K) {
17399
- return Q(K) === r;
17398
+ function K(q) {
17399
+ return Q(q) === r;
17400
17400
  }
17401
- function re(K) {
17402
- return Q(K) === E;
17401
+ function re(q) {
17402
+ return Q(q) === E;
17403
17403
  }
17404
- function ie(K) {
17405
- return Q(K) === p;
17404
+ function ie(q) {
17405
+ return Q(q) === p;
17406
17406
  }
17407
- function de(K) {
17408
- return Q(K) === n;
17407
+ function de(q) {
17408
+ return Q(q) === n;
17409
17409
  }
17410
- function ve(K) {
17411
- return Q(K) === i;
17410
+ function ve(q) {
17411
+ return Q(q) === i;
17412
17412
  }
17413
- function Ie(K) {
17414
- return Q(K) === o;
17413
+ function Ie(q) {
17414
+ return Q(q) === o;
17415
17415
  }
17416
- function Ge(K) {
17417
- return Q(K) === g;
17416
+ function Ge(q) {
17417
+ return Q(q) === g;
17418
17418
  }
17419
- Dt.AsyncMode = m, Dt.ConcurrentMode = y, Dt.ContextConsumer = v, Dt.ContextProvider = b, Dt.Element = x, Dt.ForwardRef = O, Dt.Fragment = _, Dt.Lazy = D, Dt.Memo = j, Dt.Portal = R, Dt.Profiler = W, Dt.StrictMode = Z, Dt.Suspense = ne, Dt.isAsyncMode = Y, Dt.isConcurrentMode = P, Dt.isContextConsumer = H, Dt.isContextProvider = L, Dt.isElement = F, Dt.isForwardRef = U, Dt.isFragment = X, Dt.isLazy = re, Dt.isMemo = ie, Dt.isPortal = de, Dt.isProfiler = ve, Dt.isStrictMode = Ie, Dt.isSuspense = Ge, Dt.isValidElementType = B, Dt.typeOf = Q;
17419
+ Dt.AsyncMode = m, Dt.ConcurrentMode = y, Dt.ContextConsumer = v, Dt.ContextProvider = b, Dt.Element = x, Dt.ForwardRef = O, Dt.Fragment = _, Dt.Lazy = D, Dt.Memo = j, Dt.Portal = R, Dt.Profiler = W, Dt.StrictMode = Z, Dt.Suspense = ne, Dt.isAsyncMode = Y, Dt.isConcurrentMode = P, Dt.isContextConsumer = H, Dt.isContextProvider = L, Dt.isElement = F, Dt.isForwardRef = U, Dt.isFragment = K, Dt.isLazy = re, Dt.isMemo = ie, Dt.isPortal = de, Dt.isProfiler = ve, Dt.isStrictMode = Ie, Dt.isSuspense = Ge, Dt.isValidElementType = B, Dt.typeOf = Q;
17420
17420
  }()), Dt;
17421
17421
  }
17422
17422
  var Cp;
@@ -17589,13 +17589,13 @@ function sR() {
17589
17589
  function C(P) {
17590
17590
  if (process.env.NODE_ENV !== "production")
17591
17591
  var H = {}, L = 0;
17592
- function F(X, re, ie, de, ve, Ie, Ge) {
17592
+ function F(K, re, ie, de, ve, Ie, Ge) {
17593
17593
  if (de = de || f, Ie = Ie || ie, Ge !== n) {
17594
17594
  if (s) {
17595
- var K = new Error(
17595
+ var q = new Error(
17596
17596
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
17597
17597
  );
17598
- throw K.name = "Invariant Violation", K;
17598
+ throw q.name = "Invariant Violation", q;
17599
17599
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
17600
17600
  var pe = de + ":" + ie;
17601
17601
  !H[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -17604,18 +17604,18 @@ function sR() {
17604
17604
  ), H[pe] = !0, L++);
17605
17605
  }
17606
17606
  }
17607
- return re[ie] == null ? X ? re[ie] === null ? new d("The " + ve + " `" + Ie + "` is marked as required " + ("in `" + de + "`, but its value is `null`.")) : new d("The " + ve + " `" + Ie + "` is marked as required in " + ("`" + de + "`, but its value is `undefined`.")) : null : P(re, ie, de, ve, Ie);
17607
+ return re[ie] == null ? K ? re[ie] === null ? new d("The " + ve + " `" + Ie + "` is marked as required " + ("in `" + de + "`, but its value is `null`.")) : new d("The " + ve + " `" + Ie + "` is marked as required in " + ("`" + de + "`, but its value is `undefined`.")) : null : P(re, ie, de, ve, Ie);
17608
17608
  }
17609
17609
  var U = F.bind(null, !1);
17610
17610
  return U.isRequired = F.bind(null, !0), U;
17611
17611
  }
17612
17612
  function h(P) {
17613
- function H(L, F, U, X, re, ie) {
17613
+ function H(L, F, U, K, re, ie) {
17614
17614
  var de = L[F], ve = Z(de);
17615
17615
  if (ve !== P) {
17616
17616
  var Ie = ne(de);
17617
17617
  return new d(
17618
- "Invalid " + X + " `" + re + "` of type " + ("`" + Ie + "` supplied to `" + U + "`, expected ") + ("`" + P + "`."),
17618
+ "Invalid " + K + " `" + re + "` of type " + ("`" + Ie + "` supplied to `" + U + "`, expected ") + ("`" + P + "`."),
17619
17619
  { expectedType: P }
17620
17620
  );
17621
17621
  }
@@ -17627,16 +17627,16 @@ function sR() {
17627
17627
  return C(A);
17628
17628
  }
17629
17629
  function B(P) {
17630
- function H(L, F, U, X, re) {
17630
+ function H(L, F, U, K, re) {
17631
17631
  if (typeof P != "function")
17632
17632
  return new d("Property `" + re + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
17633
17633
  var ie = L[F];
17634
17634
  if (!Array.isArray(ie)) {
17635
17635
  var de = Z(ie);
17636
- return new d("Invalid " + X + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected an array."));
17636
+ return new d("Invalid " + K + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected an array."));
17637
17637
  }
17638
17638
  for (var ve = 0; ve < ie.length; ve++) {
17639
- var Ie = P(ie, ve, U, X, re + "[" + ve + "]", n);
17639
+ var Ie = P(ie, ve, U, K, re + "[" + ve + "]", n);
17640
17640
  if (Ie instanceof Error)
17641
17641
  return Ie;
17642
17642
  }
@@ -17645,32 +17645,32 @@ function sR() {
17645
17645
  return C(H);
17646
17646
  }
17647
17647
  function Q() {
17648
- function P(H, L, F, U, X) {
17648
+ function P(H, L, F, U, K) {
17649
17649
  var re = H[L];
17650
17650
  if (!a(re)) {
17651
17651
  var ie = Z(re);
17652
- return new d("Invalid " + U + " `" + X + "` of type " + ("`" + ie + "` supplied to `" + F + "`, expected a single ReactElement."));
17652
+ return new d("Invalid " + U + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + F + "`, expected a single ReactElement."));
17653
17653
  }
17654
17654
  return null;
17655
17655
  }
17656
17656
  return C(P);
17657
17657
  }
17658
17658
  function m() {
17659
- function P(H, L, F, U, X) {
17659
+ function P(H, L, F, U, K) {
17660
17660
  var re = H[L];
17661
17661
  if (!e.isValidElementType(re)) {
17662
17662
  var ie = Z(re);
17663
- return new d("Invalid " + U + " `" + X + "` of type " + ("`" + ie + "` supplied to `" + F + "`, expected a single ReactElement type."));
17663
+ return new d("Invalid " + U + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + F + "`, expected a single ReactElement type."));
17664
17664
  }
17665
17665
  return null;
17666
17666
  }
17667
17667
  return C(P);
17668
17668
  }
17669
17669
  function y(P) {
17670
- function H(L, F, U, X, re) {
17670
+ function H(L, F, U, K, re) {
17671
17671
  if (!(L[F] instanceof P)) {
17672
17672
  var ie = P.name || f, de = Y(L[F]);
17673
- return new d("Invalid " + X + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected ") + ("instance of `" + ie + "`."));
17673
+ return new d("Invalid " + K + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected ") + ("instance of `" + ie + "`."));
17674
17674
  }
17675
17675
  return null;
17676
17676
  }
@@ -17681,28 +17681,28 @@ function sR() {
17681
17681
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
17682
17682
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
17683
17683
  ) : i("Invalid argument supplied to oneOf, expected an array.")), A;
17684
- function H(L, F, U, X, re) {
17684
+ function H(L, F, U, K, re) {
17685
17685
  for (var ie = L[F], de = 0; de < P.length; de++)
17686
17686
  if (E(ie, P[de]))
17687
17687
  return null;
17688
- var ve = JSON.stringify(P, function(Ge, K) {
17689
- var pe = ne(K);
17690
- return pe === "symbol" ? String(K) : K;
17688
+ var ve = JSON.stringify(P, function(Ge, q) {
17689
+ var pe = ne(q);
17690
+ return pe === "symbol" ? String(q) : q;
17691
17691
  });
17692
- return new d("Invalid " + X + " `" + re + "` of value `" + String(ie) + "` " + ("supplied to `" + U + "`, expected one of " + ve + "."));
17692
+ return new d("Invalid " + K + " `" + re + "` of value `" + String(ie) + "` " + ("supplied to `" + U + "`, expected one of " + ve + "."));
17693
17693
  }
17694
17694
  return C(H);
17695
17695
  }
17696
17696
  function b(P) {
17697
- function H(L, F, U, X, re) {
17697
+ function H(L, F, U, K, re) {
17698
17698
  if (typeof P != "function")
17699
17699
  return new d("Property `" + re + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
17700
17700
  var ie = L[F], de = Z(ie);
17701
17701
  if (de !== "object")
17702
- return new d("Invalid " + X + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected an object."));
17702
+ return new d("Invalid " + K + " `" + re + "` of type " + ("`" + de + "` supplied to `" + U + "`, expected an object."));
17703
17703
  for (var ve in ie)
17704
17704
  if (r(ie, ve)) {
17705
- var Ie = P(ie, ve, U, X, re + "." + ve, n);
17705
+ var Ie = P(ie, ve, U, K, re + "." + ve, n);
17706
17706
  if (Ie instanceof Error)
17707
17707
  return Ie;
17708
17708
  }
@@ -17720,12 +17720,12 @@ function sR() {
17720
17720
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(L) + " at index " + H + "."
17721
17721
  ), A;
17722
17722
  }
17723
- function F(U, X, re, ie, de) {
17723
+ function F(U, K, re, ie, de) {
17724
17724
  for (var ve = [], Ie = 0; Ie < P.length; Ie++) {
17725
- var Ge = P[Ie], K = Ge(U, X, re, ie, de, n);
17726
- if (K == null)
17725
+ var Ge = P[Ie], q = Ge(U, K, re, ie, de, n);
17726
+ if (q == null)
17727
17727
  return null;
17728
- K.data && r(K.data, "expectedType") && ve.push(K.data.expectedType);
17728
+ q.data && r(q.data, "expectedType") && ve.push(q.data.expectedType);
17729
17729
  }
17730
17730
  var pe = ve.length > 0 ? ", expected one of type [" + ve.join(", ") + "]" : "";
17731
17731
  return new d("Invalid " + ie + " `" + de + "` supplied to " + ("`" + re + "`" + pe + "."));
@@ -17733,8 +17733,8 @@ function sR() {
17733
17733
  return C(F);
17734
17734
  }
17735
17735
  function O() {
17736
- function P(H, L, F, U, X) {
17737
- return R(H[L]) ? null : new d("Invalid " + U + " `" + X + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
17736
+ function P(H, L, F, U, K) {
17737
+ return R(H[L]) ? null : new d("Invalid " + U + " `" + K + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
17738
17738
  }
17739
17739
  return C(P);
17740
17740
  }
@@ -17744,15 +17744,15 @@ function sR() {
17744
17744
  );
17745
17745
  }
17746
17746
  function D(P) {
17747
- function H(L, F, U, X, re) {
17747
+ function H(L, F, U, K, re) {
17748
17748
  var ie = L[F], de = Z(ie);
17749
17749
  if (de !== "object")
17750
- return new d("Invalid " + X + " `" + re + "` of type `" + de + "` " + ("supplied to `" + U + "`, expected `object`."));
17750
+ return new d("Invalid " + K + " `" + re + "` of type `" + de + "` " + ("supplied to `" + U + "`, expected `object`."));
17751
17751
  for (var ve in P) {
17752
17752
  var Ie = P[ve];
17753
17753
  if (typeof Ie != "function")
17754
- return _(U, X, re, ve, ne(Ie));
17755
- var Ge = Ie(ie, ve, U, X, re + "." + ve, n);
17754
+ return _(U, K, re, ve, ne(Ie));
17755
+ var Ge = Ie(ie, ve, U, K, re + "." + ve, n);
17756
17756
  if (Ge)
17757
17757
  return Ge;
17758
17758
  }
@@ -17761,23 +17761,23 @@ function sR() {
17761
17761
  return C(H);
17762
17762
  }
17763
17763
  function j(P) {
17764
- function H(L, F, U, X, re) {
17764
+ function H(L, F, U, K, re) {
17765
17765
  var ie = L[F], de = Z(ie);
17766
17766
  if (de !== "object")
17767
- return new d("Invalid " + X + " `" + re + "` of type `" + de + "` " + ("supplied to `" + U + "`, expected `object`."));
17767
+ return new d("Invalid " + K + " `" + re + "` of type `" + de + "` " + ("supplied to `" + U + "`, expected `object`."));
17768
17768
  var ve = t({}, L[F], P);
17769
17769
  for (var Ie in ve) {
17770
17770
  var Ge = P[Ie];
17771
17771
  if (r(P, Ie) && typeof Ge != "function")
17772
- return _(U, X, re, Ie, ne(Ge));
17772
+ return _(U, K, re, Ie, ne(Ge));
17773
17773
  if (!Ge)
17774
17774
  return new d(
17775
- "Invalid " + X + " `" + re + "` key `" + Ie + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(L[F], null, " ") + `
17775
+ "Invalid " + K + " `" + re + "` key `" + Ie + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(L[F], null, " ") + `
17776
17776
  Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
17777
17777
  );
17778
- var K = Ge(ie, Ie, U, X, re + "." + Ie, n);
17779
- if (K)
17780
- return K;
17778
+ var q = Ge(ie, Ie, U, K, re + "." + Ie, n);
17779
+ if (q)
17780
+ return q;
17781
17781
  }
17782
17782
  return null;
17783
17783
  }
@@ -18307,7 +18307,7 @@ const hR = /* @__PURE__ */ su(Ym);
18307
18307
  return we.replace(/cross-fade\(/g, ye + "cross-fade(");
18308
18308
  });
18309
18309
  }
18310
- }), U = b(F), X = x(function(se, k) {
18310
+ }), U = b(F), K = x(function(se, k) {
18311
18311
  Object.defineProperty(k, "__esModule", {
18312
18312
  value: !0
18313
18313
  }), k.default = ae;
@@ -18323,7 +18323,7 @@ const hR = /* @__PURE__ */ su(Ym);
18323
18323
  return we + Ce;
18324
18324
  });
18325
18325
  }
18326
- }), re = b(X), ie = x(function(se, k) {
18326
+ }), re = b(K), ie = x(function(se, k) {
18327
18327
  Object.defineProperty(k, "__esModule", {
18328
18328
  value: !0
18329
18329
  }), k.default = ue;
@@ -18399,7 +18399,7 @@ const hR = /* @__PURE__ */ su(Ym);
18399
18399
  }
18400
18400
  }
18401
18401
  }
18402
- }), K = b(Ge), pe = x(function(se, k) {
18402
+ }), q = b(Ge), pe = x(function(se, k) {
18403
18403
  Object.defineProperty(k, "__esModule", {
18404
18404
  value: !0
18405
18405
  }), k.default = ae;
@@ -18686,7 +18686,7 @@ const hR = /* @__PURE__ */ su(Ym);
18686
18686
  }
18687
18687
  }
18688
18688
  }), _o = b(Mn), Ne = ["Webkit"], Gr = ["Moz"], wr = ["ms"], Kt = ["Webkit", "Moz"], Qt = ["Webkit", "ms"], jt = ["Webkit", "Moz", "ms"], qt = {
18689
- plugins: [Y, L, U, re, de, Ie, K, _e, lt, It, Rt, Pn, Xo, er, _o],
18689
+ plugins: [Y, L, U, re, de, Ie, q, _e, lt, It, Rt, Pn, Xo, er, _o],
18690
18690
  prefixMap: {
18691
18691
  transform: Qt,
18692
18692
  transformOrigin: Qt,
@@ -22515,15 +22515,15 @@ const CL = {
22515
22515
  text-wrap: nowrap;
22516
22516
  &:hover {
22517
22517
  background-color: #e3e9ff !important;
22518
- color: ${q.palette.purple.primary} !important;
22519
- border: 1px solid ${q.palette.purple.primary} !important;
22518
+ color: ${X.palette.purple.primary} !important;
22519
+ border: 1px solid ${X.palette.purple.primary} !important;
22520
22520
  box-shadow: none;
22521
22521
  }
22522
22522
  `, bL = w(gt.InfoOutlined)`
22523
22523
  flex-shrink: 0;
22524
22524
  width: 22px;
22525
22525
  height: 22px;
22526
- color: ${q.palette.gray.gray3};
22526
+ color: ${X.palette.gray.gray3};
22527
22527
  `, vL = ({ connectorName: e, onRequestClick: t }) => /* @__PURE__ */ l.jsxs(QL, { children: [
22528
22528
  /* @__PURE__ */ l.jsx(bL, {}),
22529
22529
  /* @__PURE__ */ l.jsx(ee, { children: BL(e) }),
@@ -22662,7 +22662,7 @@ const CL = {
22662
22662
  }, PL = w(V)`
22663
22663
  margin-bottom: 36px;
22664
22664
  .arrow {
22665
- border: solid ${q.palette.gray.gray3};
22665
+ border: solid ${X.palette.gray.gray3};
22666
22666
  border-width: 0 2px 2px 0;
22667
22667
  display: inline-block;
22668
22668
  padding: 3px;
@@ -22683,7 +22683,7 @@ const CL = {
22683
22683
  r && t(r);
22684
22684
  };
22685
22685
  return /* @__PURE__ */ l.jsx(PL, { direction: "row", alignItems: "center", "data-testid": "breadCrumbs", children: e.map(({ name: r, route: o }, i) => {
22686
- const A = i === e.length - 1, a = A ? q.palette.gray.black : q.palette.gray.gray4, s = A ? "lastCrumb" : `crumb-${i}`;
22686
+ const A = i === e.length - 1, a = A ? X.palette.gray.black : X.palette.gray.gray4, s = A ? "lastCrumb" : `crumb-${i}`;
22687
22687
  return /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", children: [
22688
22688
  /* @__PURE__ */ l.jsx(
22689
22689
  NL,
@@ -23580,16 +23580,16 @@ var Yp;
23580
23580
  function JF() {
23581
23581
  return Yp || (Yp = 1, process.env.NODE_ENV !== "production" && function() {
23582
23582
  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, A = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, I = e ? Symbol.for("react.scope") : 60119;
23583
- function B(K) {
23584
- return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
23585
- K === r || K === c || K === i || K === o || K === g || K === f || typeof K == "object" && K !== null && (K.$$typeof === E || K.$$typeof === p || K.$$typeof === A || K.$$typeof === a || K.$$typeof === u || K.$$typeof === C || K.$$typeof === h || K.$$typeof === I || K.$$typeof === d);
23583
+ function B(q) {
23584
+ return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
23585
+ q === r || q === c || q === i || q === o || q === g || q === f || typeof q == "object" && q !== null && (q.$$typeof === E || q.$$typeof === p || q.$$typeof === A || q.$$typeof === a || q.$$typeof === u || q.$$typeof === C || q.$$typeof === h || q.$$typeof === I || q.$$typeof === d);
23586
23586
  }
23587
- function Q(K) {
23588
- if (typeof K == "object" && K !== null) {
23589
- var pe = K.$$typeof;
23587
+ function Q(q) {
23588
+ if (typeof q == "object" && q !== null) {
23589
+ var pe = q.$$typeof;
23590
23590
  switch (pe) {
23591
23591
  case t:
23592
- var _e = K.type;
23592
+ var _e = q.type;
23593
23593
  switch (_e) {
23594
23594
  case s:
23595
23595
  case c:
@@ -23617,46 +23617,46 @@ function JF() {
23617
23617
  }
23618
23618
  }
23619
23619
  var m = s, y = c, v = a, b = A, x = t, O = u, _ = r, D = E, j = p, R = n, W = i, Z = o, ne = g, ge = !1;
23620
- function Y(K) {
23621
- return ge || (ge = !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.")), P(K) || Q(K) === s;
23620
+ function Y(q) {
23621
+ return ge || (ge = !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.")), P(q) || Q(q) === s;
23622
23622
  }
23623
- function P(K) {
23624
- return Q(K) === c;
23623
+ function P(q) {
23624
+ return Q(q) === c;
23625
23625
  }
23626
- function H(K) {
23627
- return Q(K) === a;
23626
+ function H(q) {
23627
+ return Q(q) === a;
23628
23628
  }
23629
- function L(K) {
23630
- return Q(K) === A;
23629
+ function L(q) {
23630
+ return Q(q) === A;
23631
23631
  }
23632
- function F(K) {
23633
- return typeof K == "object" && K !== null && K.$$typeof === t;
23632
+ function F(q) {
23633
+ return typeof q == "object" && q !== null && q.$$typeof === t;
23634
23634
  }
23635
- function U(K) {
23636
- return Q(K) === u;
23635
+ function U(q) {
23636
+ return Q(q) === u;
23637
23637
  }
23638
- function X(K) {
23639
- return Q(K) === r;
23638
+ function K(q) {
23639
+ return Q(q) === r;
23640
23640
  }
23641
- function re(K) {
23642
- return Q(K) === E;
23641
+ function re(q) {
23642
+ return Q(q) === E;
23643
23643
  }
23644
- function ie(K) {
23645
- return Q(K) === p;
23644
+ function ie(q) {
23645
+ return Q(q) === p;
23646
23646
  }
23647
- function de(K) {
23648
- return Q(K) === n;
23647
+ function de(q) {
23648
+ return Q(q) === n;
23649
23649
  }
23650
- function ve(K) {
23651
- return Q(K) === i;
23650
+ function ve(q) {
23651
+ return Q(q) === i;
23652
23652
  }
23653
- function Ie(K) {
23654
- return Q(K) === o;
23653
+ function Ie(q) {
23654
+ return Q(q) === o;
23655
23655
  }
23656
- function Ge(K) {
23657
- return Q(K) === g;
23656
+ function Ge(q) {
23657
+ return Q(q) === g;
23658
23658
  }
23659
- Ft.AsyncMode = m, Ft.ConcurrentMode = y, Ft.ContextConsumer = v, Ft.ContextProvider = b, Ft.Element = x, Ft.ForwardRef = O, Ft.Fragment = _, Ft.Lazy = D, Ft.Memo = j, Ft.Portal = R, Ft.Profiler = W, Ft.StrictMode = Z, Ft.Suspense = ne, Ft.isAsyncMode = Y, Ft.isConcurrentMode = P, Ft.isContextConsumer = H, Ft.isContextProvider = L, Ft.isElement = F, Ft.isForwardRef = U, Ft.isFragment = X, Ft.isLazy = re, Ft.isMemo = ie, Ft.isPortal = de, Ft.isProfiler = ve, Ft.isStrictMode = Ie, Ft.isSuspense = Ge, Ft.isValidElementType = B, Ft.typeOf = Q;
23659
+ Ft.AsyncMode = m, Ft.ConcurrentMode = y, Ft.ContextConsumer = v, Ft.ContextProvider = b, Ft.Element = x, Ft.ForwardRef = O, Ft.Fragment = _, Ft.Lazy = D, Ft.Memo = j, Ft.Portal = R, Ft.Profiler = W, Ft.StrictMode = Z, Ft.Suspense = ne, Ft.isAsyncMode = Y, Ft.isConcurrentMode = P, Ft.isContextConsumer = H, Ft.isContextProvider = L, Ft.isElement = F, Ft.isForwardRef = U, Ft.isFragment = K, Ft.isLazy = re, Ft.isMemo = ie, Ft.isPortal = de, Ft.isProfiler = ve, Ft.isStrictMode = Ie, Ft.isSuspense = Ge, Ft.isValidElementType = B, Ft.typeOf = Q;
23660
23660
  }()), Ft;
23661
23661
  }
23662
23662
  process.env.NODE_ENV === "production" ? CC.exports = YF() : CC.exports = JF();
@@ -25134,12 +25134,12 @@ var uk = process.env.NODE_ENV === "production" ? {
25134
25134
  if (n && b.onChange) {
25135
25135
  var Z = n.option, ne = n.options, ge = n.removedValue, Y = n.removedValues, P = n.value, H = function(de) {
25136
25136
  return Array.isArray(de) ? null : de;
25137
- }, L = ge || Z || H(P), F = L ? f(L) : "", U = ne || Y || void 0, X = U ? U.map(f) : [], re = He({
25137
+ }, L = ge || Z || H(P), F = L ? f(L) : "", U = ne || Y || void 0, K = U ? U.map(f) : [], re = He({
25138
25138
  // multiSelected items are usually items that have already been selected
25139
25139
  // or set by the user as a default value so we assume they are not disabled
25140
25140
  isDisabled: L && d(L, a),
25141
25141
  label: F,
25142
- labels: X
25142
+ labels: K
25143
25143
  }, n);
25144
25144
  W = b.onChange(re);
25145
25145
  }
@@ -26581,15 +26581,15 @@ var v2 = function(t) {
26581
26581
  var o = this, i = this.getComponents(), A = i.Group, a = i.GroupHeading, s = i.Menu, c = i.MenuList, u = i.MenuPortal, g = i.LoadingMessage, f = i.NoOptionsMessage, p = i.Option, E = this.commonProps, d = this.state.focusedOption, C = this.props, h = C.captureMenuScroll, I = C.inputValue, B = C.isLoading, Q = C.loadingMessage, m = C.minMenuHeight, y = C.maxMenuHeight, v = C.menuIsOpen, b = C.menuPlacement, x = C.menuPosition, O = C.menuPortalTarget, _ = C.menuShouldBlockScroll, D = C.menuShouldScrollIntoView, j = C.noOptionsMessage, R = C.onMenuScrollToTop, W = C.onMenuScrollToBottom;
26582
26582
  if (!v) return null;
26583
26583
  var Z = function(F, U) {
26584
- var X = F.type, re = F.data, ie = F.isDisabled, de = F.isSelected, ve = F.label, Ie = F.value, Ge = d === re, K = ie ? void 0 : function() {
26584
+ var K = F.type, re = F.data, ie = F.isDisabled, de = F.isSelected, ve = F.label, Ie = F.value, Ge = d === re, q = ie ? void 0 : function() {
26585
26585
  return o.onOptionHover(re);
26586
26586
  }, pe = ie ? void 0 : function() {
26587
26587
  return o.selectOption(re);
26588
26588
  }, _e = "".concat(o.getElementId("option"), "-").concat(U), it = {
26589
26589
  id: _e,
26590
26590
  onClick: pe,
26591
- onMouseMove: K,
26592
- onMouseOver: K,
26591
+ onMouseMove: q,
26592
+ onMouseOver: q,
26593
26593
  tabIndex: -1,
26594
26594
  role: "option",
26595
26595
  "aria-selected": o.isAppleDevice ? void 0 : de
@@ -26602,7 +26602,7 @@ var v2 = function(t) {
26602
26602
  isSelected: de,
26603
26603
  key: _e,
26604
26604
  label: ve,
26605
- type: X,
26605
+ type: K,
26606
26606
  value: Ie,
26607
26607
  isFocused: Ge,
26608
26608
  innerRef: Ge ? o.getFocusedOptionRef : void 0
@@ -26611,7 +26611,7 @@ var v2 = function(t) {
26611
26611
  if (this.hasOptions())
26612
26612
  ne = this.getCategorizedOptions().map(function(L) {
26613
26613
  if (L.type === "group") {
26614
- var F = L.data, U = L.options, X = L.index, re = "".concat(o.getElementId("group"), "-").concat(X), ie = "".concat(re, "-heading");
26614
+ var F = L.data, U = L.options, K = L.index, re = "".concat(o.getElementId("group"), "-").concat(K), ie = "".concat(re, "-heading");
26615
26615
  return /* @__PURE__ */ T.createElement(A, Ke({}, E, {
26616
26616
  key: re,
26617
26617
  data: F,
@@ -26623,7 +26623,7 @@ var v2 = function(t) {
26623
26623
  },
26624
26624
  label: o.formatGroupLabel(L.data)
26625
26625
  }), L.options.map(function(de) {
26626
- return Z(de, "".concat(X, "-").concat(de.index));
26626
+ return Z(de, "".concat(K, "-").concat(de.index));
26627
26627
  }));
26628
26628
  } else if (L.type === "option")
26629
26629
  return Z(L, "".concat(L.index));
@@ -26648,7 +26648,7 @@ var v2 = function(t) {
26648
26648
  menuPosition: x,
26649
26649
  menuShouldScrollIntoView: D
26650
26650
  }, H = /* @__PURE__ */ T.createElement(ZP, Ke({}, E, P), function(L) {
26651
- var F = L.ref, U = L.placerProps, X = U.placement, re = U.maxHeight;
26651
+ var F = L.ref, U = L.placerProps, K = U.placement, re = U.maxHeight;
26652
26652
  return /* @__PURE__ */ T.createElement(s, Ke({}, E, P, {
26653
26653
  innerRef: F,
26654
26654
  innerProps: {
@@ -26656,7 +26656,7 @@ var v2 = function(t) {
26656
26656
  onMouseMove: o.onMenuMouseMove
26657
26657
  },
26658
26658
  isLoading: B,
26659
- placement: X
26659
+ placement: K
26660
26660
  }), /* @__PURE__ */ T.createElement(Tk, {
26661
26661
  captureEnabled: h,
26662
26662
  onTopArrive: R,
@@ -26819,7 +26819,7 @@ const Zk = w(oe)`
26819
26819
  font-weight: 400;
26820
26820
  line-height: 19px;
26821
26821
  letter-spacing: -0.005em;
26822
- color: ${q.palette.gray.black};
26822
+ color: ${X.palette.gray.black};
26823
26823
  & > span {
26824
26824
  max-width: 100%;
26825
26825
  overflow-wrap: break-word;
@@ -26961,7 +26961,7 @@ const eM = w(oe)`
26961
26961
  ...n,
26962
26962
  ...(o = e == null ? void 0 : e.menuPortal) == null ? void 0 : o.call(e, n, r),
26963
26963
  zIndex: t,
26964
- fontFamily: q.typography.fontFamily,
26964
+ fontFamily: X.typography.fontFamily,
26965
26965
  fontSize: "13px"
26966
26966
  };
26967
26967
  }
@@ -27046,7 +27046,7 @@ var D2 = /* @__PURE__ */ ((e) => (e.DATE = "DD/MM/YYYY", e))(D2 || {}), AM = ["d
27046
27046
  function L2(e) {
27047
27047
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, r = e.cacheOptions, o = r === void 0 ? !1 : r, i = e.loadOptions;
27048
27048
  e.options;
27049
- var A = e.isLoading, a = A === void 0 ? !1 : A, s = e.onInputChange, c = e.filterOption, u = c === void 0 ? null : c, g = no(e, AM), f = g.inputValue, p = De(void 0), E = De(!1), d = $(Array.isArray(n) ? n : void 0), C = Tn(d, 2), h = C[0], I = C[1], B = $(typeof f < "u" ? f : ""), Q = Tn(B, 2), m = Q[0], y = Q[1], v = $(n === !0), b = Tn(v, 2), x = b[0], O = b[1], _ = $(void 0), D = Tn(_, 2), j = D[0], R = D[1], W = $([]), Z = Tn(W, 2), ne = Z[0], ge = Z[1], Y = $(!1), P = Tn(Y, 2), H = P[0], L = P[1], F = $({}), U = Tn(F, 2), X = U[0], re = U[1], ie = $(void 0), de = Tn(ie, 2), ve = de[0], Ie = de[1], Ge = $(void 0), K = Tn(Ge, 2), pe = K[0], _e = K[1];
27049
+ var A = e.isLoading, a = A === void 0 ? !1 : A, s = e.onInputChange, c = e.filterOption, u = c === void 0 ? null : c, g = no(e, AM), f = g.inputValue, p = De(void 0), E = De(!1), d = $(Array.isArray(n) ? n : void 0), C = Tn(d, 2), h = C[0], I = C[1], B = $(typeof f < "u" ? f : ""), Q = Tn(B, 2), m = Q[0], y = Q[1], v = $(n === !0), b = Tn(v, 2), x = b[0], O = b[1], _ = $(void 0), D = Tn(_, 2), j = D[0], R = D[1], W = $([]), Z = Tn(W, 2), ne = Z[0], ge = Z[1], Y = $(!1), P = Tn(Y, 2), H = P[0], L = P[1], F = $({}), U = Tn(F, 2), K = U[0], re = U[1], ie = $(void 0), de = Tn(ie, 2), ve = de[0], Ie = de[1], Ge = $(void 0), q = Tn(Ge, 2), pe = q[0], _e = q[1];
27050
27050
  o !== pe && (re({}), _e(o)), n !== ve && (I(Array.isArray(n) ? n : void 0), Ie(n)), Ee(function() {
27051
27051
  return E.current = !0, function() {
27052
27052
  E.current = !1;
@@ -27070,15 +27070,15 @@ function L2(e) {
27070
27070
  p.current = void 0, y(""), R(""), ge([]), O(!1), L(!1);
27071
27071
  return;
27072
27072
  }
27073
- if (o && X[Rt])
27074
- y(Rt), R(Rt), ge(X[Rt]), O(!1), L(!1);
27073
+ if (o && K[Rt])
27074
+ y(Rt), R(Rt), ge(K[Rt]), O(!1), L(!1);
27075
27075
  else {
27076
27076
  var Fn = p.current = {};
27077
27077
  y(Rt), O(!0), L(!j), it(Rt, function(Pn) {
27078
- E && Fn === p.current && (p.current = void 0, O(!1), R(Rt), ge(Pn || []), L(!1), re(Pn ? He(He({}, X), {}, TA({}, Rt, Pn)) : X));
27078
+ E && Fn === p.current && (p.current = void 0, O(!1), R(Rt), ge(Pn || []), L(!1), re(Pn ? He(He({}, K), {}, TA({}, Rt, Pn)) : K));
27079
27079
  });
27080
27080
  }
27081
- }, [o, it, j, X, s]), ln = H ? [] : m && j ? ne : h || [];
27081
+ }, [o, it, j, K, s]), ln = H ? [] : m && j ? ne : h || [];
27082
27082
  return He(He({}, g), {}, {
27083
27083
  options: ln,
27084
27084
  isLoading: x || a,
@@ -27347,7 +27347,7 @@ const qs = "table-cell-form-field", WE = "60px", Hu = "24px", IM = w(oe)`
27347
27347
  align-items: center;
27348
27348
  column-gap: 20px;
27349
27349
  min-height: 28px;
27350
- color: ${q.palette.gray.gray1};
27350
+ color: ${X.palette.gray.gray1};
27351
27351
  font-weight: bold;
27352
27352
  `, yM = w(Dv)`
27353
27353
  &.${qs} .MuiInputBase-root {
@@ -27745,7 +27745,7 @@ const FM = {
27745
27745
  {
27746
27746
  variant: "body_sm_medium",
27747
27747
  component: "label",
27748
- color: q.palette.gray.gray1,
27748
+ color: X.palette.gray.gray1,
27749
27749
  className: "hiver__field--label",
27750
27750
  ...r,
27751
27751
  children: [
@@ -27784,8 +27784,8 @@ const FM = {
27784
27784
  const d = t ?? [], C = (o == null ? void 0 : o.validations) ?? {}, h = De(), I = De({}), [B, Q] = $({}), { colsLength: m, colsTemplate: y, colWidth: v } = Se(() => {
27785
27785
  let L = 0, F = "";
27786
27786
  for (const U of r) {
27787
- let X = U.cols ? Number(U.cols) : 1;
27788
- isNaN(X) && (X = 1), L += X, F += `${U.cols ?? X}fr `;
27787
+ let K = U.cols ? Number(U.cols) : 1;
27788
+ isNaN(K) && (K = 1), L += K, F += `${U.cols ?? K}fr `;
27789
27789
  }
27790
27790
  return A || (L += 0.5, F += "0.5fr"), {
27791
27791
  colsLength: L,
@@ -27798,8 +27798,8 @@ const FM = {
27798
27798
  if (!U.valueConfig)
27799
27799
  continue;
27800
27800
  F[U.name] = U.valueConfig;
27801
- const X = U.valueConfig.columnNames;
27802
- for (const re of X)
27801
+ const K = U.valueConfig.columnNames;
27802
+ for (const re of K)
27803
27803
  L[re] || (L[re] = []), L[re].push(U.name);
27804
27804
  }
27805
27805
  return {
@@ -27835,27 +27835,27 @@ const FM = {
27835
27835
  U.startsWith(`${L}.`) && delete I.current[U];
27836
27836
  E == null || E(e, O());
27837
27837
  }, j = (L, { columnNames: F = [], operationType: U }) => {
27838
- const X = F.map((re) => L[re]);
27839
- return "" + hh(X, U);
27838
+ const K = F.map((re) => L[re]);
27839
+ return "" + hh(K, U);
27840
27840
  }, R = (L, F) => {
27841
- const U = d.map((X) => L !== X[Li] ? X : {
27842
- ...X,
27841
+ const U = d.map((K) => L !== K[Li] ? K : {
27842
+ ...K,
27843
27843
  ...F
27844
27844
  });
27845
27845
  f(U);
27846
27846
  }, W = (L, F) => {
27847
- const U = d.map((X) => {
27848
- if (L !== X[Li])
27849
- return X;
27850
- const re = { ...X };
27847
+ const U = d.map((K) => {
27848
+ if (L !== K[Li])
27849
+ return K;
27850
+ const re = { ...K };
27851
27851
  for (const ie of F)
27852
27852
  delete re[ie];
27853
27853
  return re;
27854
27854
  });
27855
27855
  f(U);
27856
- }, Z = (L, F, U, X) => {
27856
+ }, Z = (L, F, U, K) => {
27857
27857
  var de;
27858
- const re = ((de = X == null ? void 0 : X.target) == null ? void 0 : de.value) ?? "", ie = {
27858
+ const re = ((de = K == null ? void 0 : K.target) == null ? void 0 : de.value) ?? "", ie = {
27859
27859
  ...U,
27860
27860
  [F]: re
27861
27861
  };
@@ -27867,11 +27867,11 @@ const FM = {
27867
27867
  R(L, ie);
27868
27868
  }, ne = (L, F, U) => {
27869
27869
  R(L, { [F]: U });
27870
- }, ge = (L, F, U, X) => {
27871
- if (U && typeof U == "object" && "value" in U && typeof U.value == "string" && typeof X.name < "u") {
27870
+ }, ge = (L, F, U, K) => {
27871
+ if (U && typeof U == "object" && "value" in U && typeof U.value == "string" && typeof K.name < "u") {
27872
27872
  const re = "prefillValues" in U && U.prefillValues, ie = {
27873
27873
  ...F,
27874
- [X.name]: U.value,
27874
+ [K.name]: U.value,
27875
27875
  ...re
27876
27876
  };
27877
27877
  for (const de in ie)
@@ -27882,11 +27882,11 @@ const FM = {
27882
27882
  }
27883
27883
  R(L, ie);
27884
27884
  }
27885
- (X == null ? void 0 : X.action) === "clear" && X.name && W(L, [X.name]);
27885
+ (K == null ? void 0 : K.action) === "clear" && K.name && W(L, [K.name]);
27886
27886
  }, Y = (L, F, U) => {
27887
27887
  R(L, { [F]: (U == null ? void 0 : U.toISOString()) ?? "" });
27888
- }, P = (L, F, U, X) => {
27889
- X && Q((re) => {
27888
+ }, P = (L, F, U, K) => {
27889
+ K && Q((re) => {
27890
27890
  const ie = re[L] ?? {};
27891
27891
  return { ...re, [L]: { ...ie, [F]: U } };
27892
27892
  }), I.current = {
@@ -27898,7 +27898,7 @@ const FM = {
27898
27898
  /* @__PURE__ */ l.jsx(pM, { ref: h, children: /* @__PURE__ */ l.jsxs(hM, { gridColumns: y, minWidth: `calc( ${m} * ${v} )`, children: [
27899
27899
  /* @__PURE__ */ l.jsx(QM, { children: r.map(({ name: L, label: F, isRequired: U }) => /* @__PURE__ */ l.jsx(Vg, { children: /* @__PURE__ */ l.jsx(z2, { label: F, isRequired: U }) }, L)) }),
27900
27900
  d.map(({ [Li]: L, ...F }) => /* @__PURE__ */ l.jsxs(N2, { children: [
27901
- r.map(({ name: U, key: X, ...re }) => {
27901
+ r.map(({ name: U, key: K, ...re }) => {
27902
27902
  var ie;
27903
27903
  return /* @__PURE__ */ l.jsx(Vg, { hasError: !!((ie = B == null ? void 0 : B[L]) != null && ie[U]), children: /* @__PURE__ */ l.jsx(
27904
27904
  JE,
@@ -27924,7 +27924,7 @@ const FM = {
27924
27924
  stackIndex: g
27925
27925
  } : null
27926
27926
  }
27927
- ) }, U ?? X);
27927
+ ) }, U ?? K);
27928
27928
  }),
27929
27929
  A ? null : /* @__PURE__ */ l.jsx(Vg, { children: /* @__PURE__ */ l.jsx(V, { width: "100%", height: "100%", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ l.jsx(k2, { onClick: () => D(L), children: /* @__PURE__ */ l.jsx(YM, {}) }) }) })
27930
27930
  ] }, L))
@@ -27935,11 +27935,11 @@ const FM = {
27935
27935
  /* @__PURE__ */ l.jsx(ee, { children: "Add Line" })
27936
27936
  ] }),
27937
27937
  s.length ? /* @__PURE__ */ l.jsx(bM, { children: s.map(
27938
- ({ label: L, columnName: F, operationType: U, prefix: X = "", prefixKey: re, suffix: ie = "", suffixKey: de }) => /* @__PURE__ */ l.jsxs(vM, { children: [
27938
+ ({ label: L, columnName: F, operationType: U, prefix: K = "", prefixKey: re, suffix: ie = "", suffixKey: de }) => /* @__PURE__ */ l.jsxs(vM, { children: [
27939
27939
  /* @__PURE__ */ l.jsx(ee, { fontWeight: 500, children: L }),
27940
27940
  /* @__PURE__ */ l.jsxs(ee, { children: [
27941
27941
  /* @__PURE__ */ l.jsxs("span", { children: [
27942
- n[re] ?? X,
27942
+ n[re] ?? K,
27943
27943
  " "
27944
27944
  ] }),
27945
27945
  /* @__PURE__ */ l.jsx("span", { children: hh(
@@ -28221,11 +28221,11 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28221
28221
  `, Qh = w(oe)`
28222
28222
  font-size: 11px;
28223
28223
  line-height: 16px;
28224
- color: ${q.palette.gray.gray1};
28224
+ color: ${X.palette.gray.gray1};
28225
28225
  `, Ej = w(oe)`
28226
28226
  font-size: 11px;
28227
28227
  line-height: 16px;
28228
- color: ${q.palette.gray.gray1};
28228
+ color: ${X.palette.gray.gray1};
28229
28229
  margin-top: 4px;
28230
28230
  `, fj = w(Pv)`
28231
28231
  height: 4px;
@@ -28242,20 +28242,20 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28242
28242
  `, Bj = w(_n)`
28243
28243
  padding: 2px;
28244
28244
  `, Qj = w(tt)`
28245
- color: ${q.palette.red.primary};
28245
+ color: ${X.palette.red.primary};
28246
28246
  font-size: 12px;
28247
28247
  min-width: unset;
28248
28248
  padding: 2px 6px;
28249
28249
  `, mj = w(V)`
28250
28250
  width: fit-content;
28251
28251
  max-width: 80vw;
28252
- font-family: ${q.typography.fontFamily};
28252
+ font-family: ${X.typography.fontFamily};
28253
28253
  `, bj = w(V)`
28254
28254
  flex-direction: row;
28255
28255
  align-items: center;
28256
28256
  gap: 12px;
28257
28257
  padding: 12px 44px 12px 16px;
28258
- border-bottom: 1px solid ${q.palette.gray.gray5};
28258
+ border-bottom: 1px solid ${X.palette.gray.gray5};
28259
28259
  `, vj = w(oe)`
28260
28260
  font-size: 14px;
28261
28261
  font-weight: 600;
@@ -28266,11 +28266,11 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28266
28266
  min-width: 0;
28267
28267
  `, yj = w(oe)`
28268
28268
  font-size: 12px;
28269
- color: ${q.palette.gray.gray3};
28269
+ color: ${X.palette.gray.gray3};
28270
28270
  flex-shrink: 0;
28271
28271
  `, xj = w("a")`
28272
28272
  font-size: 12px;
28273
- color: ${q.palette.blue.primary};
28273
+ color: ${X.palette.blue.primary};
28274
28274
  text-decoration: none;
28275
28275
  flex-shrink: 0;
28276
28276
  &:hover {
@@ -28282,7 +28282,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28282
28282
  justify-content: center;
28283
28283
  box-sizing: border-box;
28284
28284
  padding: 12px;
28285
- background: ${q.palette.gray.gray6};
28285
+ background: ${X.palette.gray.gray6};
28286
28286
  overflow: auto;
28287
28287
 
28288
28288
  img {
@@ -28314,7 +28314,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28314
28314
  gap: 8px;
28315
28315
  padding: 32px;
28316
28316
  font-size: 13px;
28317
- color: ${q.palette.gray.gray3};
28317
+ color: ${X.palette.gray.gray3};
28318
28318
  text-align: center;
28319
28319
  `, Tj = w(_n)`
28320
28320
  position: absolute;
@@ -28698,7 +28698,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28698
28698
  `, yh = w(oe)`
28699
28699
  font-size: 12px;
28700
28700
  font-weight: 400;
28701
- font-family: ${q.typography.fontFamily};
28701
+ font-family: ${X.typography.fontFamily};
28702
28702
  margin: 2px 14px 0px 0px;
28703
28703
  text-align: left;
28704
28704
  position: absolute;
@@ -28735,7 +28735,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28735
28735
  }
28736
28736
  `, Wj = w(V)`
28737
28737
  position: relative;
28738
- font-family: ${q.typography.fontFamily};
28738
+ font-family: ${X.typography.fontFamily};
28739
28739
  &.expandable {
28740
28740
  display: grid;
28741
28741
  grid-template-columns: 1fr;
@@ -28830,7 +28830,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28830
28830
  R || W(!0), (_e = d.onBlur) == null || _e.call(d, pe), R && y && H(d.value);
28831
28831
  }, F = () => _ ? null : d.helperText ? /* @__PURE__ */ l.jsx(yh, { children: h }) : R && Z ? /* @__PURE__ */ l.jsx(yh, { className: "helper--error", children: Z }) : null, U = (pe) => {
28832
28832
  pe && !R && W(!0), a == null || a(pe), R && v && H(pe.target.value);
28833
- }, X = (pe, _e) => {
28833
+ }, K = (pe, _e) => {
28834
28834
  pe && !R && W(!0), g == null || g(pe, _e), R && v && H(_e);
28835
28835
  }, re = (pe, _e) => {
28836
28836
  s == null || s(pe, _e), pe && !R && W(!0), R && v && (Array.isArray(pe) ? H(pe) : pe && typeof pe == "object" && "value" in pe && H(pe.value));
@@ -28844,7 +28844,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28844
28844
  R && (A == null || A(pe, _e), ne(typeof _e == "string" ? _e : ""));
28845
28845
  }, Ge = (pe) => {
28846
28846
  Y((_e) => !_e);
28847
- }, K = (pe) => {
28847
+ }, q = (pe) => {
28848
28848
  if (O)
28849
28849
  return /* @__PURE__ */ l.jsx(un, { variant: "rounded", height: 29.69, animation: "wave" });
28850
28850
  switch (pe.type) {
@@ -28925,7 +28925,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28925
28925
  {
28926
28926
  ...pe,
28927
28927
  checked: !!pe.value,
28928
- onChange: X,
28928
+ onChange: K,
28929
28929
  onFocus: P,
28930
28930
  onBlur: L,
28931
28931
  styleOverrides: {
@@ -28979,7 +28979,7 @@ const ej = () => `att-${Date.now()}-${++$M}`, tj = ({
28979
28979
  }
28980
28980
  ),
28981
28981
  /* @__PURE__ */ l.jsxs(Gj, { className: "input-wrapper", children: [
28982
- /* @__PURE__ */ l.jsx(st, { title: d.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: K(d) }),
28982
+ /* @__PURE__ */ l.jsx(st, { title: d.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: q(d) }),
28983
28983
  r != null && r.icon ? /* @__PURE__ */ l.jsx(st, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ l.jsx(zj, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
28984
28984
  ] }),
28985
28985
  F()
@@ -29495,7 +29495,7 @@ const Kc = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29495
29495
  setSearch: p
29496
29496
  }) => {
29497
29497
  const E = new Set(t.map(String)), d = c && s.length === 0, C = i && g && !d && !r, h = /* @__PURE__ */ l.jsx(Fl, { sx: dU, style: { top: f }, children: /* @__PURE__ */ l.jsxs(oe, { sx: CU, children: [
29498
- /* @__PURE__ */ l.jsx(gt.Search, { sx: { fontSize: 18, color: q.palette.gray.gray3, flexShrink: 0 } }),
29498
+ /* @__PURE__ */ l.jsx(gt.Search, { sx: { fontSize: 18, color: X.palette.gray.gray3, flexShrink: 0 } }),
29499
29499
  /* @__PURE__ */ l.jsx(
29500
29500
  HB,
29501
29501
  {
@@ -29509,7 +29509,7 @@ const Kc = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29509
29509
  sx: EU
29510
29510
  }
29511
29511
  )
29512
- ] }) }), I = d ? /* @__PURE__ */ l.jsx(xA, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ l.jsx(Nr, { size: 24 }) }) : A.length === 0 ? /* @__PURE__ */ l.jsx(xA, { disabled: !0, value: rb, sx: { opacity: 1, color: q.palette.gray.gray3 }, children: /* @__PURE__ */ l.jsx(ee, { variant: "body2", fontSize: 14, children: "No results found" }) }) : A.map((Q) => {
29512
+ ] }) }), I = d ? /* @__PURE__ */ l.jsx(xA, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ l.jsx(Nr, { size: 24 }) }) : A.length === 0 ? /* @__PURE__ */ l.jsx(xA, { disabled: !0, value: rb, sx: { opacity: 1, color: X.palette.gray.gray3 }, children: /* @__PURE__ */ l.jsx(ee, { variant: "body2", fontSize: 14, children: "No results found" }) }) : A.map((Q) => {
29513
29513
  const m = String(Q.value), y = n ? E.has(m) : m === e;
29514
29514
  return /* @__PURE__ */ l.jsxs(xA, { value: m, sx: BU(y), children: [
29515
29515
  /* @__PURE__ */ l.jsx("span", { children: Q.label }),
@@ -29587,7 +29587,7 @@ const Kc = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29587
29587
  deleteIcon: /* @__PURE__ */ l.jsx(hU, { onMouseDown: (j) => j.stopPropagation() })
29588
29588
  },
29589
29589
  String(D.value)
29590
- )) }) : /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: q.palette.gray.gray4 }, children: r }) : t === "" ? /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: q.palette.gray.gray4 }, children: r }) : /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: q.palette.gray.gray1 }, children: v });
29590
+ )) }) : /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: X.palette.gray.gray4 }, children: r }) : t === "" ? /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: X.palette.gray.gray4 }, children: r }) : /* @__PURE__ */ l.jsx(ee, { component: "span", fontSize: 14, noWrap: !0, sx: { color: X.palette.gray.gray1 }, children: v });
29591
29591
  return /* @__PURE__ */ l.jsx(_C, { fullWidth: !0, disabled: i, sx: { m: 0, minWidth: 0 }, children: /* @__PURE__ */ l.jsx(
29592
29592
  RC,
29593
29593
  {
@@ -29978,7 +29978,7 @@ const Kc = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
29978
29978
  value: o,
29979
29979
  onChange: g,
29980
29980
  InputProps: {
29981
- startAdornment: /* @__PURE__ */ l.jsx(zU, { children: /* @__PURE__ */ l.jsx(gt.Search, { sx: { fontSize: 18, color: q.palette.gray.gray3, flexShrink: 0 } }) })
29981
+ startAdornment: /* @__PURE__ */ l.jsx(zU, { children: /* @__PURE__ */ l.jsx(gt.Search, { sx: { fontSize: 18, color: X.palette.gray.gray3, flexShrink: 0 } }) })
29982
29982
  },
29983
29983
  placeholder: "Search variables",
29984
29984
  variant: "outlined"
@@ -30308,7 +30308,7 @@ const Kc = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, Z
30308
30308
  g((b) => ({ ...b, [e.name]: v })), p(() => {
30309
30309
  f == null || f({ name: e.name, value: v, type: e.type });
30310
30310
  });
30311
- }, d = A[e.name], C = d ? /* @__PURE__ */ l.jsx(st, { title: d, placement: "bottom", children: /* @__PURE__ */ l.jsx(vU, { variant: "body2", fontSize: "13px", color: q.palette.error.main, children: d }) }) : null, h = Array.isArray(i) && i.length > 0, I = e.type === "multi-select" || !!e.isMulti, B = h && s && !I ? /* @__PURE__ */ l.jsx(
30311
+ }, d = A[e.name], C = d ? /* @__PURE__ */ l.jsx(st, { title: d, placement: "bottom", children: /* @__PURE__ */ l.jsx(vU, { variant: "body2", fontSize: "13px", color: X.palette.error.main, children: d }) }) : null, h = Array.isArray(i) && i.length > 0, I = e.type === "multi-select" || !!e.isMulti, B = h && s && !I ? /* @__PURE__ */ l.jsx(
30312
30312
  ZU,
30313
30313
  {
30314
30314
  customFields: i ?? [],
@@ -30547,14 +30547,14 @@ const ab = ({
30547
30547
  /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", gap: 2, children: [
30548
30548
  /* @__PURE__ */ l.jsx(tV, {}),
30549
30549
  /* @__PURE__ */ l.jsx(V, { gap: 0.5, flex: 1, minWidth: 0, children: /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", gap: 0.5, children: [
30550
- /* @__PURE__ */ l.jsx(ee, { variant: "h6", fontSize: 18, fontWeight: 600, color: q.palette.gray.gray1, children: a }),
30550
+ /* @__PURE__ */ l.jsx(ee, { variant: "h6", fontSize: 18, fontWeight: 600, color: X.palette.gray.gray1, children: a }),
30551
30551
  E && /* @__PURE__ */ l.jsx(
30552
30552
  st,
30553
30553
  {
30554
30554
  title: "Set default values to have them pre-filled every time you create a task.",
30555
30555
  placement: "top",
30556
30556
  slotProps: { tooltip: { sx: { maxWidth: "260px !important" } } },
30557
- children: /* @__PURE__ */ l.jsx(_n, { size: "small", "aria-label": "About mapping fields", sx: { padding: "4px" }, children: /* @__PURE__ */ l.jsx(gt.InfoOutlined, { sx: { fontSize: 18, color: q.palette.gray.gray3 } }) })
30557
+ children: /* @__PURE__ */ l.jsx(_n, { size: "small", "aria-label": "About mapping fields", sx: { padding: "4px" }, children: /* @__PURE__ */ l.jsx(gt.InfoOutlined, { sx: { fontSize: 18, color: X.palette.gray.gray3 } }) })
30558
30558
  }
30559
30559
  )
30560
30560
  ] }) })
@@ -30568,20 +30568,20 @@ const ab = ({
30568
30568
  direction: "row",
30569
30569
  padding: "16px 24px",
30570
30570
  sx: {
30571
- backgroundColor: q.palette.gray.gray6a,
30571
+ backgroundColor: X.palette.gray.gray6a,
30572
30572
  borderBottom: "1px solid #ECEFF6",
30573
30573
  borderRadius: "8px 8px 0 0"
30574
30574
  },
30575
30575
  children: [
30576
30576
  /* @__PURE__ */ l.jsx(rV, { src: i, alt: "Connector" }),
30577
- /* @__PURE__ */ l.jsx(ee, { variant: "caption", fontSize: 14, fontWeight: 600, color: q.palette.gray.gray3, flex: 1, children: "Field" }),
30577
+ /* @__PURE__ */ l.jsx(ee, { variant: "caption", fontSize: 14, fontWeight: 600, color: X.palette.gray.gray3, flex: 1, children: "Field" }),
30578
30578
  /* @__PURE__ */ l.jsx(
30579
30579
  ee,
30580
30580
  {
30581
30581
  variant: "caption",
30582
30582
  fontSize: 14,
30583
30583
  fontWeight: 600,
30584
- color: q.palette.gray.gray3,
30584
+ color: X.palette.gray.gray3,
30585
30585
  width: 320,
30586
30586
  children: "Value"
30587
30587
  }
@@ -30604,7 +30604,7 @@ const ab = ({
30604
30604
  "&:last-child": { borderBottom: "none" }
30605
30605
  },
30606
30606
  children: [
30607
- /* @__PURE__ */ l.jsx(uV, { children: /* @__PURE__ */ l.jsxs(ee, { variant: "body2", fontSize: 14, color: q.palette.gray.gray2, children: [
30607
+ /* @__PURE__ */ l.jsx(uV, { children: /* @__PURE__ */ l.jsxs(ee, { variant: "body2", fontSize: 14, color: X.palette.gray.gray2, children: [
30608
30608
  Z.label,
30609
30609
  g && ((P = Z.validations) != null && P.isRequired) ? /* @__PURE__ */ l.jsx(gV, {}) : null
30610
30610
  ] }) }),
@@ -30651,7 +30651,7 @@ const ab = ({
30651
30651
  color: "inherit",
30652
30652
  onClick: j,
30653
30653
  disabled: A,
30654
- sx: { textTransform: "none", padding: "3px 12px !important", borderColor: q.palette.gray.gray5 },
30654
+ sx: { textTransform: "none", padding: "3px 12px !important", borderColor: X.palette.gray.gray5 },
30655
30655
  children: "Cancel"
30656
30656
  }
30657
30657
  )
@@ -31362,12 +31362,12 @@ const yV = (e, t) => {
31362
31362
  }
31363
31363
  }, [r, C]);
31364
31364
  const y = (Y, P) => {
31365
- var X, re;
31365
+ var K, re;
31366
31366
  c({ type: fo.SET_FIELD_VALUE, payload: { value: P, name: Y } });
31367
31367
  const H = typeof P == "object" ? P.value : P, L = m[Y];
31368
31368
  if (!C || !(L != null && L.length))
31369
31369
  return;
31370
- const F = (X = s.values) == null ? void 0 : X.authType, U = Oh(typeof F == "object" ? F.value : void 0);
31370
+ const F = (K = s.values) == null ? void 0 : K.authType, U = Oh(typeof F == "object" ? F.value : void 0);
31371
31371
  for (const ie of L) {
31372
31372
  const de = U[ie] || Q[ie], ve = (re = r == null ? void 0 : r.interpolationFields) == null ? void 0 : re[ie];
31373
31373
  if (!de || !ve)
@@ -31402,8 +31402,8 @@ const yV = (e, t) => {
31402
31402
  if (C) {
31403
31403
  const L = typeof H == "object" ? H.value : void 0, F = [...es];
31404
31404
  L === Eo.apiToken.value ? F.push(...Lh) : L === Eo.oAuth2.value ? F.push(...Ph) : L === Eo.oAuth1.value ? F.push(...Fh) : F.push(...Nh);
31405
- const { basicFields: U, advancedConfigs: X } = mV(F, d, L);
31406
- Y.formFields.push(...U), P.push(...X), Y.formFields.length && P.push(Y);
31405
+ const { basicFields: U, advancedConfigs: K } = mV(F, d, L);
31406
+ Y.formFields.push(...U), P.push(...K), Y.formFields.length && P.push(Y);
31407
31407
  } else
31408
31408
  typeof H == "object" && H.value === Eo.apiToken.value ? P = [...P, ...es, ...Lh] : typeof H == "object" && H.value === Eo.oAuth2.value ? P = [...P, ...es, ...Ph] : typeof H == "object" && H.value === Eo.oAuth1.value ? P = [...P, ...es, ...Fh] : P = [...P, ...es, ...Nh];
31409
31409
  return P.map((L) => ({
@@ -31524,7 +31524,7 @@ const yV = (e, t) => {
31524
31524
  `, KV = w(V)`
31525
31525
  flex-shrink: 0;
31526
31526
  `, qV = w(ee)`
31527
- color: ${q.palette.gray.black};
31527
+ color: ${X.palette.gray.black};
31528
31528
  `, ZV = w(gt.ChevronRightOutlined)`
31529
31529
  height: 20px;
31530
31530
  width: 20px;
@@ -31615,11 +31615,11 @@ const nG = w(V)`
31615
31615
  /* @__PURE__ */ l.jsxs(V, { marginBottom: "20px", children: [
31616
31616
  /* @__PURE__ */ l.jsxs(V, { direction: "row", padding: "8px 0", gap: "4px", alignItems: "center", children: [
31617
31617
  /* @__PURE__ */ l.jsx(rG, {}),
31618
- /* @__PURE__ */ l.jsx(ee, { variant: "body1_medium", color: q.palette.gray.black, children: XL })
31618
+ /* @__PURE__ */ l.jsx(ee, { variant: "body1_medium", color: X.palette.gray.black, children: XL })
31619
31619
  ] }),
31620
31620
  /* @__PURE__ */ l.jsx(ee, { variant: "body2", children: KL })
31621
31621
  ] }),
31622
- /* @__PURE__ */ l.jsx(ee, { variant: "body2_medium", marginBottom: "8px", color: q.palette.gray.black, children: qL }),
31622
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2_medium", marginBottom: "8px", color: X.palette.gray.black, children: qL }),
31623
31623
  /* @__PURE__ */ l.jsx(iG, { variant: "body2", dangerouslySetInnerHTML: { __html: e } }),
31624
31624
  t ? /* @__PURE__ */ l.jsxs(oG, { target: "_blank", underline: "none", href: t, children: [
31625
31625
  /* @__PURE__ */ l.jsx(AG, {}),
@@ -31979,7 +31979,7 @@ const nG = w(V)`
31979
31979
  line-height: 12px;
31980
31980
  letter-spacing: 0.01px;
31981
31981
  `, TG = w(ee)`
31982
- color: ${q.palette.gray.gray2};
31982
+ color: ${X.palette.gray.gray2};
31983
31983
  margin-top: 8px;
31984
31984
  margin-bottom: 20px;
31985
31985
  `, SG = w(tt)`
@@ -31993,10 +31993,10 @@ const nG = w(V)`
31993
31993
  display: flex;
31994
31994
  align-items: center;
31995
31995
  margin-left: 12px;
31996
- border: 1px solid ${q.palette.gray.gray5};
31996
+ border: 1px solid ${X.palette.gray.gray5};
31997
31997
  color: black;
31998
31998
  &:hover {
31999
- border: 1px solid ${q.palette.gray.gray5};
31999
+ border: 1px solid ${X.palette.gray.gray5};
32000
32000
  color: black;
32001
32001
  background: white;
32002
32002
  }
@@ -33733,7 +33733,7 @@ const Vi = {
33733
33733
  letterSpacing: "0.4px"
33734
33734
  }
33735
33735
  };
33736
- Uv(q, { typography: NW });
33736
+ Uv(X, { typography: NW });
33737
33737
  const nf = (e) => {
33738
33738
  const t = (n) => {
33739
33739
  if (!n || typeof n != "object" || n.constructor !== Object) return n;
@@ -33742,7 +33742,7 @@ const nf = (e) => {
33742
33742
  r[o] = t(n[o]), o === "fontFamily" && typeof r[o] == "string" && (r[o] = e);
33743
33743
  return r;
33744
33744
  };
33745
- return t(q);
33745
+ return t(X);
33746
33746
  }, kW = (e) => {
33747
33747
  const n = e.overrideFont ?? !1 ? { theme: nf("Open Sans") } : { inter: !0 };
33748
33748
  return /* @__PURE__ */ l.jsx(iu, { ...n, children: /* @__PURE__ */ l.jsx(wC, { fallback: /* @__PURE__ */ l.jsx(l.Fragment, {}), children: /* @__PURE__ */ l.jsx(PW, { children: /* @__PURE__ */ l.jsx(FW, { ...e }) }) }) });
@@ -33833,8 +33833,8 @@ const nf = (e) => {
33833
33833
  background-color: white;
33834
33834
  &:hover {
33835
33835
  background-color: #e3e9ff !important;
33836
- color: ${q.palette.purple.primary} !important;
33837
- border: 1px solid ${q.palette.purple.primary} !important;
33836
+ color: ${X.palette.purple.primary} !important;
33837
+ border: 1px solid ${X.palette.purple.primary} !important;
33838
33838
  }
33839
33839
  `, rz = w(Ei)`
33840
33840
  max-width: ${(e) => e.maxWidth ? e.maxWidth : null};
@@ -33843,7 +33843,7 @@ const nf = (e) => {
33843
33843
  height: 60px;
33844
33844
  gap: 12px;
33845
33845
  padding: 16px;
33846
- border: 1px solid ${q.palette.gray.gray6};
33846
+ border: 1px solid ${X.palette.gray.gray6};
33847
33847
  border-radius: 8px;
33848
33848
  box-sizing: border-box;
33849
33849
  `, as = () => /* @__PURE__ */ l.jsx(V, { marginTop: "28px", gap: "12px", "data-testid": "loading", flexDirection: "row", flexWrap: "wrap", children: Array(6).fill(0).map((e, t) => /* @__PURE__ */ l.jsx(oz, { justifyContent: "center", children: /* @__PURE__ */ l.jsx(rz, { variant: "rounded", maxWidth: "260px", height: "60px", animation: "wave" }) }, t)) }), _b = (e) => e.connectorLirary.connectorList, ro = (e) => e.connectorLirary.connectors, of = (e) => e.connectorLirary.connectorsApiStatus, Rb = (e) => e.connectorLirary.currentUpdatingConnectors, La = (e) => e.connectorLirary.connectorDetailApiStatus, gA = (e) => e.connectorLirary.rolesAndPermissions ?? [], Af = (e) => e.connectorLirary.updateEnableConnectorsApiStatus, af = (e) => e.connectorLirary.cardCustomFields, iz = (e) => e.connectorLirary.cardCustomFieldsApiStatus, Az = (e) => e.connectorLirary.notAuthenticatedConnectors, az = (e) => e.connectorLirary.requireUpgradeConnectors, sz = (e) => e.connectorLirary.enableCustomCardApiStatus, lz = (e) => e.connectorLirary.updateConnectorByIdApiStatus, Hh = "Visibility not set", sf = "Configure visibility settings", cz = "Set the card visibility across shared mailboxes and roles to enable ${{connector}}", Ob = "Configure fields", uz = "Choose which fields your team can view in Hiver and which can be filled in when creating new ${{connector}} records.", Wh = "Contact your admin to configure visibility", gz = "Select inbox(es)", dz = "Select the inbox(es)", Cz = "Select the role", Ez = "Select role", zh = "inbox", fz = "roles", lf = "Close", $c = "${{connector}}", Db = "Visibility settings saved", Iz = "Field visibility settings saved", cf = "Some error occured. Please contact support@hiverhq.com", pz = "Selecting any lower role will automatically select the roles above it", hz = "Loading custom fields...", uf = "Save", ca = "enabled", ua = "disabled", Lb = "Select atleast one field to save", Yu = "New", Bz = "Upgrade now", Qz = "Authentication failed", mz = "More info about the current updates that will be there in this app", bz = "App's visibility & access", vz = "Set the card & field visibility across shared mailboxes and roles to enable the connector", yz = "Customer identity mapping", xz = "Choose how Hiver should identify customers when fetching data from connected apps.", wz = "Edit", Tz = "Save", Sz = "Matches with %s's", _z = "Customer identity mapping saved", Rz = "Failed to save. Please try again.", Oz = "Pre-fill fields", gf = w(oe)`
@@ -34343,8 +34343,8 @@ const Ub = {
34343
34343
  `, tY = w(tt)`
34344
34344
  &:hover {
34345
34345
  background-color: #e3e9ff !important;
34346
- color: ${q.palette.purple.primary} !important;
34347
- border: 1px solid ${q.palette.purple.primary} !important;
34346
+ color: ${X.palette.purple.primary} !important;
34347
+ border: 1px solid ${X.palette.purple.primary} !important;
34348
34348
  }
34349
34349
  `, nY = ({ handleClose: e }) => /* @__PURE__ */ l.jsx(V, { children: /* @__PURE__ */ l.jsxs(V, { padding: "30px", height: "100%", children: [
34350
34350
  /* @__PURE__ */ l.jsx(V, { width: "378px", height: "100%", justifyContent: "center", children: /* @__PURE__ */ l.jsxs(V, { gap: "14px", children: [
@@ -34452,13 +34452,13 @@ const Ub = {
34452
34452
  `, vY = w(tt)`
34453
34453
  gap: 8px;
34454
34454
  height: 28px;
34455
- color: ${q.palette.gray.black};
34456
- background-color: ${q.palette.gray.white};
34457
- border: 1px solid ${q.palette.gray.gray5};
34455
+ color: ${X.palette.gray.black};
34456
+ background-color: ${X.palette.gray.white};
34457
+ border: 1px solid ${X.palette.gray.gray5};
34458
34458
  &:hover {
34459
- color: ${q.palette.purple.primary};
34459
+ color: ${X.palette.purple.primary};
34460
34460
  background-color: #e3dfff;
34461
- border: 1px solid ${q.palette.purple.primary};
34461
+ border: 1px solid ${X.palette.purple.primary};
34462
34462
  box-shadow: none;
34463
34463
  }
34464
34464
  `, yY = w(gt.Close)`
@@ -34488,7 +34488,7 @@ const Ub = {
34488
34488
  return c ? /* @__PURE__ */ l.jsxs(mY, { direction: "row", className: s, children: [
34489
34489
  /* @__PURE__ */ l.jsxs(bY, { className: s, children: [
34490
34490
  /* @__PURE__ */ l.jsxs("div", { children: [
34491
- /* @__PURE__ */ l.jsx(ee, { color: q.palette.gray.black, variant: "body2_medium", children: gY + (t ? dY : "") }),
34491
+ /* @__PURE__ */ l.jsx(ee, { color: X.palette.gray.black, variant: "body2_medium", children: gY + (t ? dY : "") }),
34492
34492
  /* @__PURE__ */ l.jsx(ee, { variant: "body2", children: CY })
34493
34493
  ] }),
34494
34494
  /* @__PURE__ */ l.jsxs(vY, { onClick: g, variant: "outlined", size: "small", children: [
@@ -34508,11 +34508,11 @@ const Ub = {
34508
34508
  transform: "translateX(-50%)"
34509
34509
  },
34510
34510
  "& .MuiPaper-root.MuiDialog-paper": {
34511
- padding: q.spacing(2.5, 0),
34511
+ padding: X.spacing(2.5, 0),
34512
34512
  width: "320px",
34513
34513
  maxHeight: "480px",
34514
34514
  margin: "unset",
34515
- borderRadius: q.spacing(),
34515
+ borderRadius: X.spacing(),
34516
34516
  gap: "unset",
34517
34517
  height: "unset"
34518
34518
  },
@@ -34538,8 +34538,8 @@ const Ub = {
34538
34538
  {
34539
34539
  style: {
34540
34540
  margin: "unset",
34541
- top: q.spacing(1.5),
34542
- right: q.spacing(1.5)
34541
+ top: X.spacing(1.5),
34542
+ right: X.spacing(1.5)
34543
34543
  },
34544
34544
  onClick: a
34545
34545
  }
@@ -34551,20 +34551,20 @@ const Ub = {
34551
34551
  sx: {
34552
34552
  display: "flex",
34553
34553
  margin: "unset",
34554
- height: q.spacing(4.5),
34554
+ height: X.spacing(4.5),
34555
34555
  alignItems: "center"
34556
34556
  },
34557
34557
  onChange: (g) => {
34558
34558
  i(g.target.value);
34559
34559
  },
34560
34560
  children: [
34561
- /* @__PURE__ */ l.jsx(_n, { sx: { marginRight: q.spacing(0.5) }, children: /* @__PURE__ */ l.jsx(gt.Search, {}) }),
34561
+ /* @__PURE__ */ l.jsx(_n, { sx: { marginRight: X.spacing(0.5) }, children: /* @__PURE__ */ l.jsx(gt.Search, {}) }),
34562
34562
  /* @__PURE__ */ l.jsx(HB, { placeholder: "Search" })
34563
34563
  ]
34564
34564
  }
34565
34565
  )
34566
34566
  ] }),
34567
- /* @__PURE__ */ l.jsx(Hv, { spacing: 0.5, sx: { maxHeight: "480px" }, children: u ? /* @__PURE__ */ l.jsx(ee, { variant: "body2", sx: { padding: q.spacing(0, 2.5) }, children: r }) : c.map(s) })
34567
+ /* @__PURE__ */ l.jsx(Hv, { spacing: 0.5, sx: { maxHeight: "480px" }, children: u ? /* @__PURE__ */ l.jsx(ee, { variant: "body2", sx: { padding: X.spacing(0, 2.5) }, children: r }) : c.map(s) })
34568
34568
  ] });
34569
34569
  }, _Y = () => {
34570
34570
  const { nativeIntegrations: e, availableFeatures: t } = Ve(_t), [n, r] = $(!1), [o, i] = $(null), [A, a] = $(!1), s = en();
@@ -34713,7 +34713,7 @@ const Ub = {
34713
34713
  height: ${(e) => e.height ? e.height : "72px"};
34714
34714
  gap: 12px;
34715
34715
  padding: 16px;
34716
- border: 1px solid ${q.palette.gray.gray6};
34716
+ border: 1px solid ${X.palette.gray.gray6};
34717
34717
  border-radius: 8px;
34718
34718
  box-sizing: border-box;
34719
34719
  `, FY = () => /* @__PURE__ */ l.jsx(V, { marginTop: "28px", gap: "12px", children: Array(3).fill(0).map((e, t) => /* @__PURE__ */ l.jsxs(LY, { children: [
@@ -34725,8 +34725,8 @@ const Ub = {
34725
34725
  height: 32px;
34726
34726
  &:hover {
34727
34727
  background-color: #e3e9ff !important;
34728
- color: ${q.palette.purple.primary} !important;
34729
- border: 1px solid ${q.palette.purple.primary} !important;
34728
+ color: ${X.palette.purple.primary} !important;
34729
+ border: 1px solid ${X.palette.purple.primary} !important;
34730
34730
  }
34731
34731
  `, kY = ({ connectorName: e, connectorType: t, apiList: n, isLoading: r = !1, isEdit: o = !1 }) => {
34732
34732
  const { sendTrackingEvent: i } = Ve(_t), A = RY.replace("{{connector}}", e ?? ""), [a, s] = $(!1), { requestOptions: c, requestable: u } = Bf({ isApi: !0, connectorType: t }), g = () => {
@@ -34778,7 +34778,7 @@ const Ub = {
34778
34778
  ] }) });
34779
34779
  }, MY = w(oe)`
34780
34780
  border-radius: 4px;
34781
- border: 1px solid ${q.palette.gray.gray5};
34781
+ border: 1px solid ${X.palette.gray.gray5};
34782
34782
  margin-bottom: 12px;
34783
34783
  &.noBorder {
34784
34784
  border: none;
@@ -34804,10 +34804,10 @@ const Ub = {
34804
34804
  height: 70px;
34805
34805
  }
34806
34806
  &.connector-expanded {
34807
- background: ${q.palette.gray.gray6};
34807
+ background: ${X.palette.gray.gray6};
34808
34808
  }
34809
34809
  &:hover {
34810
- background: ${q.palette.gray.gray6};
34810
+ background: ${X.palette.gray.gray6};
34811
34811
  }
34812
34812
  &.connector-settings {
34813
34813
  padding-left: 0;
@@ -34889,7 +34889,7 @@ const Ub = {
34889
34889
  }
34890
34890
  `, YY = w(gt.InfoOutlined)`
34891
34891
  width: 16px;
34892
- color: ${q.palette.gray.gray3};
34892
+ color: ${X.palette.gray.gray3};
34893
34893
  `, JY = "data:image/svg+xml,%3csvg%20width='22'%20height='22'%20viewBox='0%200%2022%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_3354_177467'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='22'%20height='22'%3e%3crect%20width='22'%20height='22'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3354_177467)'%3e%3cpath%20d='M15.5827%2015.584C15.9646%2015.584%2016.2893%2015.4503%2016.5566%2015.1829C16.824%2014.9156%2016.9577%2014.5909%2016.9577%2014.209C16.9577%2013.827%2016.824%2013.5024%2016.5566%2013.235C16.2893%2012.9677%2015.9646%2012.834%2015.5827%2012.834C15.2007%2012.834%2014.8761%2012.9677%2014.6087%2013.235C14.3414%2013.5024%2014.2077%2013.827%2014.2077%2014.209C14.2077%2014.5909%2014.3414%2014.9156%2014.6087%2015.1829C14.8761%2015.4503%2015.2007%2015.584%2015.5827%2015.584ZM15.5827%2018.334C16.0563%2018.334%2016.4917%2018.2232%2016.8889%2018.0017C17.2862%2017.7802%2017.607%2017.4861%2017.8514%2017.1194C17.5153%2016.9208%2017.1563%2016.768%2016.7743%2016.6611C16.3924%2016.5541%2015.9952%2016.5007%2015.5827%2016.5007C15.1702%2016.5007%2014.773%2016.5541%2014.391%2016.6611C14.0091%2016.768%2013.65%2016.9208%2013.3139%2017.1194C13.5584%2017.4861%2013.8792%2017.7802%2014.2764%2018.0017C14.6737%2018.2232%2015.1091%2018.334%2015.5827%2018.334ZM10.9993%2020.1673C8.87574%2019.6326%207.12261%2018.4142%205.73997%2016.5121C4.35734%2014.61%203.66602%2012.4979%203.66602%2010.1757V4.58398L10.9993%201.83398L18.3327%204.58398V9.78607C18.0424%209.66385%2017.7445%209.55308%2017.4389%209.45378C17.1334%209.35447%2016.8202%209.2819%2016.4993%209.23607V5.86732L10.9993%203.80482L5.49935%205.86732V10.1757C5.49935%2010.8937%205.59484%2011.6118%205.78581%2012.3298C5.97678%2013.0479%206.24414%2013.7316%206.58789%2014.3809C6.93164%2015.0302%207.34796%2015.6298%207.83685%2016.1798C8.32574%2016.7298%208.8681%2017.1882%209.46393%2017.5548C9.63199%2018.0437%209.85352%2018.5097%2010.1285%2018.9527C10.4035%2019.3958%2010.7167%2019.793%2011.0681%2020.1444C11.0528%2020.1444%2011.0414%2020.1482%2011.0337%2020.1559C11.0261%2020.1635%2011.0146%2020.1673%2010.9993%2020.1673ZM15.5827%2020.1673C14.3146%2020.1673%2013.2337%2019.7204%2012.34%2018.8267C11.4462%2017.9329%2010.9993%2016.852%2010.9993%2015.584C10.9993%2014.3159%2011.4462%2013.235%2012.34%2012.3413C13.2337%2011.4475%2014.3146%2011.0007%2015.5827%2011.0007C16.8507%2011.0007%2017.9316%2011.4475%2018.8254%2012.3413C19.7191%2013.235%2020.166%2014.3159%2020.166%2015.584C20.166%2016.852%2019.7191%2017.9329%2018.8254%2018.8267C17.9316%2019.7204%2016.8507%2020.1673%2015.5827%2020.1673Z'%20fill='%233E4C5A'/%3e%3c/g%3e%3c/svg%3e", XY = "App is Enabled", KY = "View and manage App data right from Hiver’s side panel for smooth workflows and quick access.", qY = "Got it", ZY = w(oe)`
34894
34894
  .connector-enabled-img {
34895
34895
  width: 562px;
@@ -35140,7 +35140,7 @@ const Ub = {
35140
35140
  box-shadow 0.15s ease;
35141
35141
 
35142
35142
  &:focus-visible {
35143
- outline: 2px solid ${q.palette.purple.primary};
35143
+ outline: 2px solid ${X.palette.purple.primary};
35144
35144
  outline-offset: 2px;
35145
35145
  }
35146
35146
  `, IJ = [lA.STANDARD, lA.CUSTOM], pJ = ({ value: e, onTabClick: t }) => /* @__PURE__ */ l.jsx(EJ, { role: "group", "aria-label": "Field type", children: IJ.map((n) => {
@@ -35674,8 +35674,8 @@ const Ub = {
35674
35674
  fields: a,
35675
35675
  setVisitedFieldVisTab: s
35676
35676
  }) => {
35677
- var X, re;
35678
- const { availableFeatures: c, sendTrackingEvent: u } = Ve(_t), g = $n(), f = ke(ro), p = ke(gA) ?? [], E = ke(xi) ?? [], d = ke(af), C = ke(Af), { userId: h } = Mr() || {}, I = (re = (X = f == null ? void 0 : f[i]) == null ? void 0 : X.cardList) == null ? void 0 : re.find((ie) => ie.id === t), [B, Q] = $(
35677
+ var K, re;
35678
+ const { availableFeatures: c, sendTrackingEvent: u } = Ve(_t), g = $n(), f = ke(ro), p = ke(gA) ?? [], E = ke(xi) ?? [], d = ke(af), C = ke(Af), { userId: h } = Mr() || {}, I = (re = (K = f == null ? void 0 : f[i]) == null ? void 0 : K.cardList) == null ? void 0 : re.find((ie) => ie.id === t), [B, Q] = $(
35679
35679
  () => (E == null ? void 0 : E.filter((ie) => n == null ? void 0 : n.includes(ie.id))) ?? []
35680
35680
  ), [m, y] = $(
35681
35681
  () => (p == null ? void 0 : p.find((ie) => o == null ? void 0 : o.includes(ie.name))) ?? {}
@@ -35698,7 +35698,7 @@ const Ub = {
35698
35698
  return !0;
35699
35699
  }, [a, v, d, t]), R = B.length !== 0 && v.filter((ie) => ie.enabled).length === 0, W = C === be.LOADING || _ && D && j || R, Z = Se(() => !!(a != null && a.some((ie) => ie.isFieldNew)), [a]), ne = h && mf(t, h), Y = la(c) && Z && !ne ? ev : "", P = (ie) => {
35700
35700
  ie.stopPropagation();
35701
- const de = m != null && m.name ? [m.name] : [], ve = B.map((Ge) => Ge.id), Ie = v.map((Ge, K) => ({ ...Ge, priority: K + 1 }));
35701
+ const de = m != null && m.name ? [m.name] : [], ve = B.map((Ge) => Ge.id), Ie = v.map((Ge, q) => ({ ...Ge, priority: q + 1 }));
35702
35702
  g(
35703
35703
  NA({
35704
35704
  cardId: t,
@@ -35707,7 +35707,7 @@ const Ub = {
35707
35707
  })
35708
35708
  ).unwrap().then(() => {
35709
35709
  var pe, _e, it;
35710
- const Ge = (pe = f == null ? void 0 : f[i]) == null ? void 0 : pe.name, K = (it = (_e = f == null ? void 0 : f[i]) == null ? void 0 : _e.cardList) == null ? void 0 : it.some(
35710
+ const Ge = (pe = f == null ? void 0 : f[i]) == null ? void 0 : pe.name, q = (it = (_e = f == null ? void 0 : f[i]) == null ? void 0 : _e.cardList) == null ? void 0 : it.some(
35711
35711
  (lt) => {
35712
35712
  var Fn;
35713
35713
  if (lt.id === t) return !1;
@@ -35720,7 +35720,7 @@ const Ub = {
35720
35720
  pre_status: n != null && n.length && (p != null && p.length) ? ca : ua,
35721
35721
  connector_name: Ge,
35722
35722
  card_title: A
35723
- }), !K && (m != null && m.name) && ve.length ? r(!0) : Ge && Gt({
35723
+ }), !q && (m != null && m.name) && ve.length ? r(!0) : Ge && Gt({
35724
35724
  message: Db.replace($c, Ge),
35725
35725
  type: kr
35726
35726
  });
@@ -35814,7 +35814,7 @@ const Ub = {
35814
35814
  };
35815
35815
  return /* @__PURE__ */ l.jsx(gf, { children: /* @__PURE__ */ l.jsxs(Ef, { children: [
35816
35816
  /* @__PURE__ */ l.jsx(ee, { variant: "h2", children: sf }),
35817
- /* @__PURE__ */ l.jsx(ee, { variant: "body2", marginBottom: "24px", color: q.palette.gray.gray3, children: cz.replace($c, (E == null ? void 0 : E.name) ?? "") }),
35817
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2", marginBottom: "24px", color: X.palette.gray.gray3, children: cz.replace($c, (E == null ? void 0 : E.name) ?? "") }),
35818
35818
  /* @__PURE__ */ l.jsx("div", { style: { height: "100%" }, children: /* @__PURE__ */ l.jsx(
35819
35819
  $b,
35820
35820
  {
@@ -35899,7 +35899,7 @@ const Ub = {
35899
35899
  };
35900
35900
  return /* @__PURE__ */ l.jsx(gf, { children: /* @__PURE__ */ l.jsxs(Ef, { style: { height: "max-content" }, children: [
35901
35901
  /* @__PURE__ */ l.jsx(ee, { variant: "h2", children: Ob }),
35902
- /* @__PURE__ */ l.jsx(ee, { variant: "body2", marginBottom: "24px", color: q.palette.gray.gray3, children: uz.replace($c, (d == null ? void 0 : d.name) ?? "") }),
35902
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2", marginBottom: "24px", color: X.palette.gray.gray3, children: uz.replace($c, (d == null ? void 0 : d.name) ?? "") }),
35903
35903
  /* @__PURE__ */ l.jsx(
35904
35904
  Zb,
35905
35905
  {
@@ -35923,22 +35923,22 @@ const Ub = {
35923
35923
  flex-direction: row;
35924
35924
  justify-content: space-between;
35925
35925
  padding: 16px;
35926
- border-top: 1px solid ${q.palette.gray.gray5};
35926
+ border-top: 1px solid ${X.palette.gray.gray5};
35927
35927
  & .visibilityIcon path {
35928
- fill: ${q.palette.gray.gray3};
35928
+ fill: ${X.palette.gray.gray3};
35929
35929
  }
35930
35930
  & .hover__text {
35931
35931
  margin-right: 20px;
35932
35932
  visibility: hidden;
35933
- color: ${q.palette.gray.gray3};
35933
+ color: ${X.palette.gray.gray3};
35934
35934
  }
35935
35935
  &:hover {
35936
- background: ${q.palette.gray.gray6a};
35936
+ background: ${X.palette.gray.gray6a};
35937
35937
  & .hover__text {
35938
35938
  visibility: visible;
35939
35939
  }
35940
35940
  & .visibilityIcon path {
35941
- fill: ${q.palette.gray.gray1};
35941
+ fill: ${X.palette.gray.gray1};
35942
35942
  }
35943
35943
  }
35944
35944
  &.connector-settings {
@@ -35981,8 +35981,8 @@ const $h = w(_n)`
35981
35981
  formDefaultsEnabled: n,
35982
35982
  setShowEnabledModal: r
35983
35983
  }) => {
35984
- var Ge, K, pe;
35985
- const o = $n(), i = ((Ge = e.inboxes) == null ? void 0 : Ge.email) || [], A = ((K = e.inboxes) == null ? void 0 : K.chat) || [], a = e.roles ?? [], s = e.fields ?? [], { isCardNew: c = !1 } = e, u = i.length + A.length, g = u > 0 && a.length > 0, [f] = vi(), p = f.get("editCard"), E = p === e.key || p === e.id, d = De(!1), [C, h] = $(!1), [I, B] = $(!1), [Q, m] = $(!1), [y, v] = $(E), [b, x] = $(!1), { availableFeatures: O, userPermissions: _, sendTrackingEvent: D, variables: j = [] } = Ve(_t), R = qb(O), W = pH(_), Z = ke(sz), ne = ke(ro), ge = Se(
35984
+ var Ge, q, pe;
35985
+ const o = $n(), i = ((Ge = e.inboxes) == null ? void 0 : Ge.email) || [], A = ((q = e.inboxes) == null ? void 0 : q.chat) || [], a = e.roles ?? [], s = e.fields ?? [], { isCardNew: c = !1 } = e, u = i.length + A.length, g = u > 0 && a.length > 0, [f] = vi(), p = f.get("editCard"), E = p === e.key || p === e.id, d = De(!1), [C, h] = $(!1), [I, B] = $(!1), [Q, m] = $(!1), [y, v] = $(E), [b, x] = $(!1), { availableFeatures: O, userPermissions: _, sendTrackingEvent: D, variables: j = [] } = Ve(_t), R = qb(O), W = pH(_), Z = ke(sz), ne = ke(ro), ge = Se(
35986
35986
  () => Object.values(Z).some((_e) => _e === be.LOADING),
35987
35987
  [Z]
35988
35988
  ), Y = e.cardKey ? Z[e.cardKey] === be.LOADING : !1, { userId: P } = Mr() || {}, { data: H, isLoading: L } = iJ({
@@ -35993,7 +35993,7 @@ const $h = w(_n)`
35993
35993
  h(_e), !_e && P && e.isEnabledCustomCard && (_J(e.id, P), b && SJ(e.id, P));
35994
35994
  }, U = () => {
35995
35995
  R ? m(!0) : h(!0);
35996
- }, X = () => {
35996
+ }, K = () => {
35997
35997
  e.isEnabledCustomCard ? U() : o(lc({ connectorId: t, data: e })).unwrap().then(() => {
35998
35998
  U();
35999
35999
  }), D(rt.CONFIGURE_VISIBILITY_CLICKED);
@@ -36075,7 +36075,7 @@ const $h = w(_n)`
36075
36075
  $h,
36076
36076
  {
36077
36077
  className: "visibilityIcon",
36078
- onClick: X,
36078
+ onClick: K,
36079
36079
  disabled: !W || ge,
36080
36080
  children: Y ? /* @__PURE__ */ l.jsx(Nr, { size: 20 }) : g ? /* @__PURE__ */ l.jsx(tJ, {}) : /* @__PURE__ */ l.jsx(nJ, {})
36081
36081
  }
@@ -36215,7 +36215,7 @@ const $h = w(_n)`
36215
36215
  e,
36216
36216
  " app"
36217
36217
  ] }),
36218
- /* @__PURE__ */ l.jsx(VJ, { variant: "body2", color: q.palette.gray.gray2, dangerouslySetInnerHTML: { __html: t } })
36218
+ /* @__PURE__ */ l.jsx(VJ, { variant: "body2", color: X.palette.gray.gray2, dangerouslySetInnerHTML: { __html: t } })
36219
36219
  ] }), HJ = w(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(st, { ...t, classes: { popper: e } }))(() => ({
36220
36220
  [`& .${qr.tooltip}`]: {
36221
36221
  backgroundColor: "#fff",
@@ -36288,7 +36288,7 @@ const $h = w(_n)`
36288
36288
  gap: "4px",
36289
36289
  hidden: t || !u || x || !g,
36290
36290
  children: [
36291
- /* @__PURE__ */ l.jsx(ee, { variant: "body2", color: q.palette.gray.gray3, children: mz }),
36291
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2", color: X.palette.gray.gray3, children: mz }),
36292
36292
  /* @__PURE__ */ l.jsx(
36293
36293
  HJ,
36294
36294
  {
@@ -36328,7 +36328,7 @@ const $h = w(_n)`
36328
36328
  )
36329
36329
  ] })
36330
36330
  ] }),
36331
- t ? /* @__PURE__ */ l.jsx(ee, { maxWidth: "577px", variant: "body1", color: q.palette.gray.gray3, className: "connector-grid", children: s }) : null
36331
+ t ? /* @__PURE__ */ l.jsx(ee, { maxWidth: "577px", variant: "body1", color: X.palette.gray.gray3, className: "connector-grid", children: s }) : null
36332
36332
  ] }),
36333
36333
  _ ? /* @__PURE__ */ l.jsx(
36334
36334
  tv,
@@ -36410,15 +36410,15 @@ const $h = w(_n)`
36410
36410
  text-wrap: nowrap;
36411
36411
  &:hover {
36412
36412
  background-color: #e3e9ff !important;
36413
- color: ${q.palette.purple.primary} !important;
36414
- border: 1px solid ${q.palette.purple.primary} !important;
36413
+ color: ${X.palette.purple.primary} !important;
36414
+ border: 1px solid ${X.palette.purple.primary} !important;
36415
36415
  box-shadow: none;
36416
36416
  }
36417
36417
  `, eX = w(gt.InfoOutlined)`
36418
36418
  flex-shrink: 0;
36419
36419
  width: 22px;
36420
36420
  height: 22px;
36421
- color: ${q.palette.gray.gray3};
36421
+ color: ${X.palette.gray.gray3};
36422
36422
  `, tX = ({ connectorName: e, onRequestClick: t }) => /* @__PURE__ */ l.jsxs(ZJ, { children: [
36423
36423
  /* @__PURE__ */ l.jsx(eX, {}),
36424
36424
  /* @__PURE__ */ l.jsx(ee, { children: qJ(e) }),
@@ -36569,7 +36569,7 @@ const $h = w(_n)`
36569
36569
  ] });
36570
36570
  }, gX = w(V)`
36571
36571
  .arrow {
36572
- border: solid ${q.palette.gray.gray3};
36572
+ border: solid ${X.palette.gray.gray3};
36573
36573
  border-width: 0 2px 2px 0;
36574
36574
  display: inline-block;
36575
36575
  padding: 3px;
@@ -36590,7 +36590,7 @@ const $h = w(_n)`
36590
36590
  r && t(r);
36591
36591
  };
36592
36592
  return /* @__PURE__ */ l.jsx(gX, { direction: "row", alignItems: "center", "data-testid": "breadCrumbs", children: e.map(({ name: r, route: o }, i) => {
36593
- const A = i === e.length - 1, a = A ? q.palette.gray.black : q.palette.gray.gray4, s = A ? "lastCrumb" : `crumb-${i}`;
36593
+ const A = i === e.length - 1, a = A ? X.palette.gray.black : X.palette.gray.gray4, s = A ? "lastCrumb" : `crumb-${i}`;
36594
36594
  return /* @__PURE__ */ l.jsxs(V, { direction: "row", alignItems: "center", children: [
36595
36595
  /* @__PURE__ */ l.jsx(
36596
36596
  dX,
@@ -36607,13 +36607,13 @@ const $h = w(_n)`
36607
36607
  ] }, r.replace(/\s/g, ""));
36608
36608
  }) });
36609
36609
  }, EX = "Settings", fX = "Setup", IX = w(oe)`
36610
- background-color: ${({ active: e }) => e ? q.palette.green.primary : q.palette.gray.gray4};
36610
+ background-color: ${({ active: e }) => e ? X.palette.green.primary : X.palette.gray.gray4};
36611
36611
  `, pX = w(Ca)`
36612
- background-color: ${({ active: e }) => e ? "#BBF0BB80" : q.palette.gray.gray6};
36613
- color: ${({ active: e }) => e ? q.palette.gray.gray3 : q.palette.gray.gray4};
36612
+ background-color: ${({ active: e }) => e ? "#BBF0BB80" : X.palette.gray.gray6};
36613
+ color: ${({ active: e }) => e ? X.palette.gray.gray3 : X.palette.gray.gray4};
36614
36614
  height: 36px;
36615
36615
  &:hover {
36616
- background-color: ${({ active: e }) => e ? "#BBF0BB80" : q.palette.gray.gray6};
36616
+ background-color: ${({ active: e }) => e ? "#BBF0BB80" : X.palette.gray.gray6};
36617
36617
  }
36618
36618
  `, hX = ({ active: e, label: t }) => /* @__PURE__ */ l.jsx(
36619
36619
  pX,
@@ -36648,7 +36648,7 @@ const $h = w(_n)`
36648
36648
  `, Av = (e) => {
36649
36649
  const { isLoading: t = !1 } = e;
36650
36650
  return t ? /* @__PURE__ */ l.jsx(V, { className: "h-[38px] w-[58px] justify-center items-center", children: /* @__PURE__ */ l.jsx(BX, {}) }) : /* @__PURE__ */ l.jsx(SC, { ...e });
36651
- }, QX = "Add New Store", mX = "Add New Store", bX = "Each store has its own configuration. Choose a descriptive name to help distinguish it from other stores.", vX = "Enter Store name", yX = "Enter Store name", xX = "Submit", wX = "Cancel", TX = (e, t) => `${e}/${t} stores used`, SX = "Added successfully", tB = {
36651
+ }, QX = "Add New Store", mX = "Add New Store", bX = "Each instance has its own configuration. Choose a descriptive name to help distinguish it from other instances", vX = "Enter app name", yX = "App Name", xX = "Submit", wX = "Cancel", TX = (e, t) => `${e}/${t} stores used`, SX = (e) => `${e} added successfully`, tB = {
36652
36652
  NAME_TAKEN: "A connector with this name already exists.",
36653
36653
  LIMIT_REACHED: "You've reached the maximum number of stores.",
36654
36654
  MULTI_STORE_DISABLED: "Adding stores isn't available for this app.",
@@ -36665,6 +36665,7 @@ const $h = w(_n)`
36665
36665
  isSubmitting: r = !1,
36666
36666
  errorMessage: o
36667
36667
  }) => {
36668
+ var g, f;
36668
36669
  const [i, A] = $("");
36669
36670
  Ee(() => {
36670
36671
  e || A("");
@@ -36674,12 +36675,12 @@ const $h = w(_n)`
36674
36675
  }, u = () => {
36675
36676
  t(!1);
36676
36677
  };
36677
- return /* @__PURE__ */ l.jsx(fi, { shown: e, setShown: t, showCloseButton: !0, children: /* @__PURE__ */ l.jsxs(V, { "data-testid": "add-new-store-panel", padding: "30px", width: "440px", children: [
36678
- /* @__PURE__ */ l.jsxs(V, { gap: "4px", marginBottom: "24px", children: [
36678
+ return /* @__PURE__ */ l.jsx(fi, { shown: e, setShown: t, showCloseButton: !0, closeButtonSize: 20, children: /* @__PURE__ */ l.jsxs(V, { "data-testid": "add-new-store-panel", padding: "16px", width: "559px", children: [
36679
+ /* @__PURE__ */ l.jsxs(V, { marginBottom: "24px", children: [
36679
36680
  /* @__PURE__ */ l.jsx(ee, { variant: "h2", children: mX }),
36680
- /* @__PURE__ */ l.jsx(ee, { variant: "body2", children: bX })
36681
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2", style: { marginRight: "30px" }, children: bX })
36681
36682
  ] }),
36682
- /* @__PURE__ */ l.jsxs(V, { gap: "6px", marginBottom: "36px", children: [
36683
+ /* @__PURE__ */ l.jsxs(V, { gap: "8px", marginBottom: "16px", children: [
36683
36684
  /* @__PURE__ */ l.jsx(
36684
36685
  rf,
36685
36686
  {
@@ -36691,22 +36692,31 @@ const $h = w(_n)`
36691
36692
  disabled: r,
36692
36693
  error: !!o,
36693
36694
  inputProps: { "data-testid": "add-new-store-input" },
36694
- onChange: (g) => A(g.target.value)
36695
+ onChange: (p) => A(p.target.value)
36695
36696
  }
36696
36697
  ),
36697
36698
  o ? /* @__PURE__ */ l.jsx(ee, { "data-testid": "add-new-store-error", variant: "body2", color: "error", children: o }) : null
36698
36699
  ] }),
36699
- /* @__PURE__ */ l.jsxs(V, { direction: "row", justifyContent: "flex-end", gap: "12px", children: [
36700
+ /* @__PURE__ */ l.jsxs(V, { direction: "row", justifyContent: "flex-end", alignItems: "center", gap: "5px", children: [
36700
36701
  /* @__PURE__ */ l.jsx(
36701
36702
  tt,
36702
36703
  {
36703
36704
  "data-testid": "add-new-store-cancel-button",
36704
36705
  onClick: u,
36705
- variant: "outlined",
36706
- color: "tertiary",
36707
- size: "medium",
36706
+ variant: "text",
36707
+ disableRipple: !0,
36708
36708
  disabled: r,
36709
- sx: { height: "32px" },
36709
+ sx: {
36710
+ textTransform: "none",
36711
+ fontWeight: 500,
36712
+ fontSize: "14px",
36713
+ lineHeight: "18px",
36714
+ padding: "4px 20px",
36715
+ borderRadius: 0,
36716
+ color: ((g = X.palette.gray) == null ? void 0 : g.gray3) ?? "#6F7C90",
36717
+ backgroundColor: "transparent",
36718
+ "&:hover": { backgroundColor: "transparent", color: ((f = X.palette.gray) == null ? void 0 : f.gray2) ?? "#4D596C" }
36719
+ },
36710
36720
  children: wX
36711
36721
  }
36712
36722
  ),
@@ -36717,8 +36727,17 @@ const $h = w(_n)`
36717
36727
  onClick: c,
36718
36728
  variant: "contained",
36719
36729
  color: "primary",
36720
- size: "medium",
36721
- sx: { height: "32px" },
36730
+ sx: {
36731
+ textTransform: "none",
36732
+ fontWeight: 500,
36733
+ fontSize: "14px",
36734
+ lineHeight: "18px",
36735
+ padding: "9px 12px",
36736
+ borderRadius: "4px",
36737
+ minWidth: "89px",
36738
+ boxShadow: "none",
36739
+ "&:hover": { boxShadow: "none" }
36740
+ },
36722
36741
  disabled: !s,
36723
36742
  children: r ? /* @__PURE__ */ l.jsx(Nr, { sx: { color: "#97A3B7" }, size: 20 }) : /* @__PURE__ */ l.jsx("div", { children: xX })
36724
36743
  }
@@ -36740,37 +36759,37 @@ const $h = w(_n)`
36740
36759
  const t = DX(e);
36741
36760
  return av(t ? _X[t] : void 0);
36742
36761
  }, FX = ({ connectorDetails: e }) => {
36743
- const [t, n] = $(!1), [r, o] = $(!1), [i, A] = $(void 0), a = en(), s = $n(), c = !!(e != null && e.showAddStore), u = !!(e != null && e.isStore), g = async (B) => {
36762
+ const [t, n] = $(!1), [r, o] = $(!1), [i, A] = $(void 0), a = en(), s = $n(), c = !!(e != null && e.showAddStore), u = !!(e != null && e.isStore), g = !!(e != null && e.isAuthenticated) && !!(e != null && e.isEnabled), f = async (Q) => {
36744
36763
  if (!e) return;
36745
36764
  A(void 0), o(!0);
36746
- const Q = e.templateId ?? "";
36765
+ const m = e.templateId ?? "";
36747
36766
  try {
36748
- const { valid: m, reason: y } = await BW({
36749
- templateId: Q,
36767
+ const { valid: y, reason: v } = await BW({
36768
+ templateId: m,
36750
36769
  parentConnectorId: e.id,
36751
- name: B
36770
+ name: Q
36752
36771
  });
36753
- if (!m) {
36754
- A(av(y)), o(!1);
36772
+ if (!y) {
36773
+ A(av(v)), o(!1);
36755
36774
  return;
36756
36775
  }
36757
- await QW({ templateId: Q, parentConnectorId: e.id, name: B }), n(!1), Gt({ message: SX, type: kr }), s($i()), a(`${Me.BASEPATH}${Me.DASHBOARD}`);
36758
- } catch (m) {
36759
- A(LX(m)), o(!1);
36776
+ await QW({ templateId: m, parentConnectorId: e.id, name: Q }), n(!1), Gt({ message: SX(Q), type: kr }), s($i()), a(`${Me.BASEPATH}${Me.DASHBOARD}`);
36777
+ } catch (y) {
36778
+ A(LX(y)), o(!1);
36760
36779
  }
36761
36780
  };
36762
- if (!c || u)
36781
+ if (!c || u || !g)
36763
36782
  return null;
36764
- const f = !!(e != null && e.canAddStore), p = (e == null ? void 0 : e.storesUsed) ?? 0, E = (e == null ? void 0 : e.maxStores) ?? 0, d = !f, C = d ? TX(p, E) : "", h = () => {
36783
+ const p = !!(e != null && e.canAddStore), E = (e == null ? void 0 : e.storesUsed) ?? 0, d = (e == null ? void 0 : e.maxStores) ?? 0, C = !p, h = C ? TX(E, d) : "", I = () => {
36765
36784
  A(void 0), n(!0);
36766
- }, I = /* @__PURE__ */ l.jsx(
36785
+ }, B = /* @__PURE__ */ l.jsx(
36767
36786
  tt,
36768
36787
  {
36769
36788
  "data-testid": "add-new-store-button",
36770
36789
  variant: "outlined",
36771
36790
  color: "tertiary",
36772
36791
  size: "medium",
36773
- disabled: d,
36792
+ disabled: C,
36774
36793
  sx: {
36775
36794
  height: "32px",
36776
36795
  textTransform: "none",
@@ -36779,23 +36798,23 @@ const $h = w(_n)`
36779
36798
  color: "#343C45",
36780
36799
  "&:hover": { borderColor: "#D6DDE8" }
36781
36800
  },
36782
- onClick: h,
36801
+ onClick: I,
36783
36802
  children: QX
36784
36803
  }
36785
36804
  );
36786
36805
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
36787
- d ? (
36806
+ C ? (
36788
36807
  // MUI Tooltip does not fire on a disabled button; wrap in a span so the
36789
36808
  // usage tooltip still shows on hover.
36790
- /* @__PURE__ */ l.jsx(st, { title: C, placement: "bottom", children: /* @__PURE__ */ l.jsx("span", { "data-testid": "add-new-store-button-tooltip-wrapper", children: I }) })
36791
- ) : I,
36809
+ /* @__PURE__ */ l.jsx(st, { title: h, placement: "bottom", children: /* @__PURE__ */ l.jsx("span", { "data-testid": "add-new-store-button-tooltip-wrapper", children: B }) })
36810
+ ) : B,
36792
36811
  /* @__PURE__ */ l.jsx("div", { "data-testid": "add-new-store-divider", className: "w-px h-6 bg-[#D6DDE8] mx-2" }),
36793
36812
  /* @__PURE__ */ l.jsx(
36794
36813
  OX,
36795
36814
  {
36796
36815
  shown: t,
36797
36816
  setShown: n,
36798
- onSubmit: g,
36817
+ onSubmit: f,
36799
36818
  isSubmitting: r,
36800
36819
  errorMessage: i
36801
36820
  }
@@ -37601,10 +37620,10 @@ const pK = w(ee)`
37601
37620
  payload: { name: xe.oAuthRedirectUrl, value: r == null ? void 0 : r.redirectUrl }
37602
37621
  }), B && (r != null && r.interpolationFields) && (r != null && r.variables)) {
37603
37622
  const F = gB((L = r == null ? void 0 : r.authDetails) == null ? void 0 : L.authType);
37604
- Object.entries(r.interpolationFields).forEach(([U, X]) => {
37623
+ Object.entries(r.interpolationFields).forEach(([U, K]) => {
37605
37624
  const re = F[U];
37606
37625
  if (!re) return;
37607
- const ie = dB(X, r.variables);
37626
+ const ie = dB(K, r.variables);
37608
37627
  ie != null && u({
37609
37628
  type: Io.SET_FIELD_VALUE,
37610
37629
  payload: { name: re, value: ie }
@@ -37615,15 +37634,15 @@ const pK = w(ee)`
37615
37634
  const x = (L, F) => {
37616
37635
  var de, ve;
37617
37636
  u({ type: Io.SET_FIELD_VALUE, payload: { value: F, name: L } });
37618
- const U = typeof F == "object" ? F.value : F, X = y[L];
37619
- if (!B || !(X != null && X.length))
37637
+ const U = typeof F == "object" ? F.value : F, K = y[L];
37638
+ if (!B || !(K != null && K.length))
37620
37639
  return;
37621
37640
  const re = (de = c.values) == null ? void 0 : de.authType, ie = gB(typeof re == "object" ? re.value : void 0);
37622
- for (const Ie of X) {
37623
- const Ge = ie[Ie] || b[Ie], K = (ve = r == null ? void 0 : r.interpolationFields) == null ? void 0 : ve[Ie];
37624
- if (!Ge || !K)
37641
+ for (const Ie of K) {
37642
+ const Ge = ie[Ie] || b[Ie], q = (ve = r == null ? void 0 : r.interpolationFields) == null ? void 0 : ve[Ie];
37643
+ if (!Ge || !q)
37625
37644
  continue;
37626
- const pe = dB(K, {
37645
+ const pe = dB(q, {
37627
37646
  ...c.values,
37628
37647
  [L]: U ?? ""
37629
37648
  });
@@ -37643,23 +37662,23 @@ const pK = w(ee)`
37643
37662
  const L = { ...nK };
37644
37663
  if (v)
37645
37664
  if (B) {
37646
- const { advanced: X, basic: re } = lv(v, I);
37647
- ts.formFields = X, L.formFields = re;
37665
+ const { advanced: K, basic: re } = lv(v, I);
37666
+ ts.formFields = K, L.formFields = re;
37648
37667
  } else
37649
37668
  ts.formFields = [...v];
37650
37669
  let F = [];
37651
37670
  ts.formFields && ts.formFields.length && (F = [ts]);
37652
37671
  const U = c.values.authType;
37653
37672
  if (B) {
37654
- const X = typeof U == "object" ? U.value : void 0, re = [...BA];
37655
- X === Lr.apiToken.value ? re.push(...iB) : X === Lr.oAuth2.value ? re.push(...aB) : X === Lr.oAuth2Pat.value ? re.push(...sB) : X === Lr.oAuth1.value ? re.push(...AB) : re.push(...lB);
37656
- const { basicFields: ie, advancedConfigs: de } = uK(re, I, X);
37673
+ const K = typeof U == "object" ? U.value : void 0, re = [...BA];
37674
+ K === Lr.apiToken.value ? re.push(...iB) : K === Lr.oAuth2.value ? re.push(...aB) : K === Lr.oAuth2Pat.value ? re.push(...sB) : K === Lr.oAuth1.value ? re.push(...AB) : re.push(...lB);
37675
+ const { basicFields: ie, advancedConfigs: de } = uK(re, I, K);
37657
37676
  L.formFields.push(...ie), F.push(...de), L.formFields.length && F.push(L);
37658
37677
  } else
37659
37678
  typeof U == "object" && U.value === Lr.apiToken.value ? F = [...F, ...BA, ...iB] : typeof U == "object" && U.value === Lr.oAuth2.value ? F = [...F, ...BA, ...aB] : typeof U == "object" && U.value === Lr.oAuth2Pat.value ? F = [...F, ...BA, ...sB] : typeof U == "object" && U.value === Lr.oAuth1.value ? F = [...F, ...BA, ...AB] : F = [...F, ...BA, ...lB];
37660
- return F.map((X) => ({
37661
- ...X,
37662
- formFields: X.formFields.map((re) => ({
37679
+ return F.map((K) => ({
37680
+ ...K,
37681
+ formFields: K.formFields.map((re) => ({
37663
37682
  ...re,
37664
37683
  hideInUI: !!(Q && m.includes(re.name))
37665
37684
  }))
@@ -37669,9 +37688,9 @@ const pK = w(ee)`
37669
37688
  return typeof c.values.apiAddTo == "object" && c.values.apiAddTo.value === Xu.queryParam.value ? (L.apiHeaderPrefix = !1, L.apiHeaderName = !1) : L.apiParamName = !1, L;
37670
37689
  }, W = () => {
37671
37690
  const L = R(), F = Uh(j());
37672
- return !Object.keys(c.errors).filter((X) => !!c.errors[X]).filter((X) => X in L ? L[X] : !0).filter((X) => X in F).length;
37691
+ return !Object.keys(c.errors).filter((K) => !!c.errors[K]).filter((K) => K in L ? L[K] : !0).filter((K) => K in F).length;
37673
37692
  }, Z = () => {
37674
- var X;
37693
+ var K;
37675
37694
  const L = R(), F = Uh(j()), U = gK({
37676
37695
  isEdit: e,
37677
37696
  templateId: t,
@@ -37685,7 +37704,7 @@ const pK = w(ee)`
37685
37704
  }
37686
37705
  a(rt.SAVE_AUTHORIZE_CLICKED, {
37687
37706
  connector_name: p,
37688
- auth_type: ((X = c.values.authType) == null ? void 0 : X.label) ?? c.values.authType,
37707
+ auth_type: ((K = c.values.authType) == null ? void 0 : K.label) ?? c.values.authType,
37689
37708
  base_url: c.values.baseUrl
37690
37709
  }), !e && "templateId" in U ? A({ data: U }) : A({ data: U, connectorId: t });
37691
37710
  }, ne = () => {
@@ -37883,7 +37902,7 @@ const pK = w(ee)`
37883
37902
  {
37884
37903
  variant: "text",
37885
37904
  color: "primary",
37886
- style: { color: q.palette.gray.gray3 },
37905
+ style: { color: X.palette.gray.gray3 },
37887
37906
  disabled: n,
37888
37907
  onClick: E,
37889
37908
  children: "Cancel"
@@ -38278,7 +38297,7 @@ const YK = ({
38278
38297
  `, rq = w(V)`
38279
38298
  flex-shrink: 0;
38280
38299
  `, oq = w(ee)`
38281
- color: ${q.palette.gray.black};
38300
+ color: ${X.palette.gray.black};
38282
38301
  `, iq = w(gt.ChevronRightOutlined)`
38283
38302
  height: 20px;
38284
38303
  width: 20px;
@@ -38368,11 +38387,11 @@ const sq = w(V)`
38368
38387
  /* @__PURE__ */ l.jsxs(V, { marginBottom: "20px", children: [
38369
38388
  /* @__PURE__ */ l.jsxs(V, { direction: "row", padding: "8px 0", gap: "4px", alignItems: "center", children: [
38370
38389
  /* @__PURE__ */ l.jsx(lq, {}),
38371
- /* @__PURE__ */ l.jsx(ee, { variant: "body1_medium", color: q.palette.gray.black, children: HX })
38390
+ /* @__PURE__ */ l.jsx(ee, { variant: "body1_medium", color: X.palette.gray.black, children: HX })
38372
38391
  ] }),
38373
38392
  /* @__PURE__ */ l.jsx(ee, { variant: "body2", children: WX })
38374
38393
  ] }),
38375
- /* @__PURE__ */ l.jsx(ee, { variant: "body2_medium", marginBottom: "8px", color: q.palette.gray.black, children: zX }),
38394
+ /* @__PURE__ */ l.jsx(ee, { variant: "body2_medium", marginBottom: "8px", color: X.palette.gray.black, children: zX }),
38376
38395
  /* @__PURE__ */ l.jsx(uq, { variant: "body2", dangerouslySetInnerHTML: { __html: e } }),
38377
38396
  t ? /* @__PURE__ */ l.jsxs(cq, { target: "_blank", underline: "none", href: t, children: [
38378
38397
  /* @__PURE__ */ l.jsx(gq, {}),
@@ -38981,7 +39000,7 @@ const xC = w(oe)`
38981
39000
  display: inline-flex;
38982
39001
  align-items: center;
38983
39002
  gap: 16px;
38984
- color: ${((PB = q.palette.gray) == null ? void 0 : PB.gray3) ?? "#6F7C90"};
39003
+ color: ${((PB = X.palette.gray) == null ? void 0 : PB.gray3) ?? "#6F7C90"};
38985
39004
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
38986
39005
  font-size: 16px;
38987
39006
  line-height: 28px;
@@ -38989,7 +39008,7 @@ const xC = w(oe)`
38989
39008
  letter-spacing: 0.2px;
38990
39009
  cursor: pointer;
38991
39010
  &:hover {
38992
- color: ${((NB = q.palette.gray) == null ? void 0 : NB.gray1) ?? "#3D434C"};
39011
+ color: ${((NB = X.palette.gray) == null ? void 0 : NB.gray1) ?? "#3D434C"};
38993
39012
  }
38994
39013
  `, Bv = w(oe)`
38995
39014
  display: flex;
@@ -39010,7 +39029,7 @@ const Rq = w(oe)`
39010
39029
  width: 64px;
39011
39030
  height: 64px;
39012
39031
  border-radius: 6px;
39013
- background: ${((kB = q.palette.gray) == null ? void 0 : kB.gray6a) ?? "#F6F8FC"};
39032
+ background: ${((kB = X.palette.gray) == null ? void 0 : kB.gray6a) ?? "#F6F8FC"};
39014
39033
  display: flex;
39015
39034
  align-items: center;
39016
39035
  justify-content: center;
@@ -39040,12 +39059,12 @@ const Lq = w(tt)`
39040
39059
  font-size: 13px;
39041
39060
  line-height: 24px;
39042
39061
  letter-spacing: 0.2px;
39043
- background: ${q.palette.purple.primary};
39044
- color: ${((MB = q.palette.common) == null ? void 0 : MB.white) ?? "#FFFFFF"};
39062
+ background: ${X.palette.purple.primary};
39063
+ color: ${((MB = X.palette.common) == null ? void 0 : MB.white) ?? "#FFFFFF"};
39045
39064
  padding: 4px 20px;
39046
39065
  border-radius: 4px;
39047
39066
  &:hover {
39048
- background: ${q.palette.purple.hover ?? q.palette.purple.primary};
39067
+ background: ${X.palette.purple.hover ?? X.palette.purple.primary};
39049
39068
  }
39050
39069
  `, mv = w(oe)`
39051
39070
  display: grid;
@@ -39075,11 +39094,11 @@ var jB;
39075
39094
  w(oe)`
39076
39095
  height: 160px;
39077
39096
  border-radius: 12px;
39078
- background: ${q.palette.purple.light};
39097
+ background: ${X.palette.purple.light};
39079
39098
  display: flex;
39080
39099
  align-items: center;
39081
39100
  justify-content: center;
39082
- color: ${((jB = q.palette.gray) == null ? void 0 : jB.gray3) ?? "#5C6470"};
39101
+ color: ${((jB = X.palette.gray) == null ? void 0 : jB.gray3) ?? "#5C6470"};
39083
39102
  font-size: 13px;
39084
39103
  overflow: hidden;
39085
39104
  & > img {
@@ -39249,7 +39268,7 @@ const Pq = w(oe)`
39249
39268
  fontSize: "16px",
39250
39269
  lineHeight: "21px",
39251
39270
  letterSpacing: "-0.16px",
39252
- color: ((i = q.palette.gray) == null ? void 0 : i.gray2) ?? "#4D596C",
39271
+ color: ((i = X.palette.gray) == null ? void 0 : i.gray2) ?? "#4D596C",
39253
39272
  marginBottom: "8px"
39254
39273
  },
39255
39274
  children: e.title
@@ -39261,7 +39280,7 @@ const Pq = w(oe)`
39261
39280
  sx: {
39262
39281
  fontSize: "13px",
39263
39282
  lineHeight: "20px",
39264
- color: ((A = q.palette.gray) == null ? void 0 : A.gray3) ?? "#6F7C90",
39283
+ color: ((A = X.palette.gray) == null ? void 0 : A.gray3) ?? "#6F7C90",
39265
39284
  marginBottom: "24px"
39266
39285
  },
39267
39286
  children: e.subtitle
@@ -39278,7 +39297,7 @@ const Pq = w(oe)`
39278
39297
  fontSize: "13px",
39279
39298
  lineHeight: "19px",
39280
39299
  letterSpacing: "-0.065px",
39281
- color: ((c = q.palette.gray) == null ? void 0 : c.gray2) ?? "#4D596C"
39300
+ color: ((c = X.palette.gray) == null ? void 0 : c.gray2) ?? "#4D596C"
39282
39301
  },
39283
39302
  children: s.title
39284
39303
  }
@@ -39311,9 +39330,9 @@ const Pq = w(oe)`
39311
39330
  lineHeight: "18px",
39312
39331
  padding: "9px 12px",
39313
39332
  borderRadius: "6px",
39314
- background: q.palette.purple.primary,
39333
+ background: X.palette.purple.primary,
39315
39334
  boxShadow: "none",
39316
- "&:hover": { background: q.palette.purple.hover ?? q.palette.purple.primary, boxShadow: "none" }
39335
+ "&:hover": { background: X.palette.purple.hover ?? X.palette.purple.primary, boxShadow: "none" }
39317
39336
  },
39318
39337
  children: e.saveLabel ?? "Save"
39319
39338
  }
@@ -39330,7 +39349,7 @@ const Pq = w(oe)`
39330
39349
  fontSize: "14px",
39331
39350
  lineHeight: "18px",
39332
39351
  padding: "9px 12px",
39333
- color: ((a = q.palette.gray) == null ? void 0 : a.gray2) ?? "#4D596C"
39352
+ color: ((a = X.palette.gray) == null ? void 0 : a.gray2) ?? "#4D596C"
39334
39353
  },
39335
39354
  children: e.cancelLabel ?? "Cancel"
39336
39355
  }
@@ -39352,7 +39371,7 @@ const Pq = w(oe)`
39352
39371
  return /* @__PURE__ */ l.jsxs(mv, { children: [
39353
39372
  /* @__PURE__ */ l.jsxs("div", { children: [
39354
39373
  t ? /* @__PURE__ */ l.jsx(Fq, { children: /* @__PURE__ */ l.jsx("img", { src: t, alt: `${a ?? "App"} overview` }) }) : s.length > 0 && /* @__PURE__ */ l.jsx(nv, { previewList: s }),
39355
- o && /* @__PURE__ */ l.jsx(ee, { variant: "body2", sx: { color: (c = q.palette.gray) == null ? void 0 : c.gray1, marginTop: 2 }, children: /* @__PURE__ */ l.jsx("span", { dangerouslySetInnerHTML: { __html: o } }) }),
39374
+ o && /* @__PURE__ */ l.jsx(ee, { variant: "body2", sx: { color: (c = X.palette.gray) == null ? void 0 : c.gray1, marginTop: 2 }, children: /* @__PURE__ */ l.jsx("span", { dangerouslySetInnerHTML: { __html: o } }) }),
39356
39375
  i && i.length > 0 && /* @__PURE__ */ l.jsxs(Pq, { children: [
39357
39376
  /* @__PURE__ */ l.jsx(
39358
39377
  ee,
@@ -39376,7 +39395,7 @@ const Pq = w(oe)`
39376
39395
  sx: {
39377
39396
  fontSize: "13px",
39378
39397
  lineHeight: "20px",
39379
- color: ((f = q.palette.gray) == null ? void 0 : f.gray2) ?? "#4D596C"
39398
+ color: ((f = X.palette.gray) == null ? void 0 : f.gray2) ?? "#4D596C"
39380
39399
  },
39381
39400
  children: [
39382
39401
  g + 1,
@@ -39404,8 +39423,8 @@ const hB = {
39404
39423
  letterSpacing: "0.25px",
39405
39424
  minHeight: "auto",
39406
39425
  padding: "0",
39407
- color: ((UB = q.palette.gray) == null ? void 0 : UB.gray3) ?? "#6F7C90",
39408
- "&.Mui-selected": { color: q.palette.purple.primary }
39426
+ color: ((UB = X.palette.gray) == null ? void 0 : UB.gray3) ?? "#6F7C90",
39427
+ "&.Mui-selected": { color: X.palette.purple.primary }
39409
39428
  }, BB = ({ mode: e }) => {
39410
39429
  var u, g;
39411
39430
  const t = en(), n = $n(), { id: r = "" } = Yo(), o = ke(Da), i = ke(ro), A = ke(ef), a = ke(La), s = e === "template" ? (o == null ? void 0 : o[r]) ?? null : null, c = e === "connector" ? (i == null ? void 0 : i[r]) ?? null : null;
@@ -39418,7 +39437,7 @@ const hB = {
39418
39437
  "Apps Marketplace"
39419
39438
  ] }),
39420
39439
  /* @__PURE__ */ l.jsx(ee, { variant: "h6", sx: { marginTop: 2, fontWeight: 600 }, children: "Couldn’t load app" }),
39421
- /* @__PURE__ */ l.jsxs(ee, { variant: "body2", sx: { color: (u = q.palette.gray) == null ? void 0 : u.gray3 }, children: [
39440
+ /* @__PURE__ */ l.jsxs(ee, { variant: "body2", sx: { color: (u = X.palette.gray) == null ? void 0 : u.gray3 }, children: [
39422
39441
  "Template ID “",
39423
39442
  r,
39424
39443
  "” couldn’t be fetched. Try refreshing."
@@ -39429,7 +39448,7 @@ const hB = {
39429
39448
  "Apps Marketplace"
39430
39449
  ] }),
39431
39450
  /* @__PURE__ */ l.jsx(ee, { variant: "h6", sx: { marginTop: 2, fontWeight: 600 }, children: "Couldn’t load app" }),
39432
- /* @__PURE__ */ l.jsxs(ee, { variant: "body2", sx: { color: (g = q.palette.gray) == null ? void 0 : g.gray3 }, children: [
39451
+ /* @__PURE__ */ l.jsxs(ee, { variant: "body2", sx: { color: (g = X.palette.gray) == null ? void 0 : g.gray3 }, children: [
39433
39452
  "Connector ID “",
39434
39453
  r,
39435
39454
  "” couldn’t be fetched. Try refreshing."
@@ -39471,7 +39490,7 @@ const hB = {
39471
39490
  fontWeight: 400,
39472
39491
  fontSize: "14px",
39473
39492
  lineHeight: "20px",
39474
- color: ((d = q.palette.gray) == null ? void 0 : d.gray2) ?? "#4D596C"
39493
+ color: ((d = X.palette.gray) == null ? void 0 : d.gray2) ?? "#4D596C"
39475
39494
  },
39476
39495
  children: n.description
39477
39496
  }
@@ -39485,7 +39504,7 @@ const hB = {
39485
39504
  {
39486
39505
  value: g,
39487
39506
  onChange: p,
39488
- TabIndicatorProps: { sx: { backgroundColor: q.palette.purple.primary, height: "2px" } },
39507
+ TabIndicatorProps: { sx: { backgroundColor: X.palette.purple.primary, height: "2px" } },
39489
39508
  sx: {
39490
39509
  marginTop: 4,
39491
39510
  minHeight: "auto",
@@ -39624,7 +39643,7 @@ const hB = {
39624
39643
  line-height: 12px;
39625
39644
  letter-spacing: 0.01px;
39626
39645
  `, nZ = w(ee)`
39627
- color: ${q.palette.gray.gray2};
39646
+ color: ${X.palette.gray.gray2};
39628
39647
  margin-top: 8px;
39629
39648
  margin-bottom: 20px;
39630
39649
  `, rZ = w(tt)`
@@ -39638,10 +39657,10 @@ const hB = {
39638
39657
  display: flex;
39639
39658
  align-items: center;
39640
39659
  margin-left: 12px;
39641
- border: 1px solid ${q.palette.gray.gray5};
39660
+ border: 1px solid ${X.palette.gray.gray5};
39642
39661
  color: black;
39643
39662
  &:hover {
39644
- border: 1px solid ${q.palette.gray.gray5};
39663
+ border: 1px solid ${X.palette.gray.gray5};
39645
39664
  color: black;
39646
39665
  background: white;
39647
39666
  }
@@ -39658,14 +39677,14 @@ w(oe)`
39658
39677
  cursor: pointer;
39659
39678
  width: 252px;
39660
39679
  height: 187px;
39661
- border: 1px solid ${q.palette.gray.gray6};
39680
+ border: 1px solid ${X.palette.gray.gray6};
39662
39681
  border-radius: 8px;
39663
39682
  padding: 24px;
39664
39683
  box-sizing: border-box;
39665
39684
  flex: 1 1 100%;
39666
39685
  max-width: 252px;
39667
39686
  &:hover {
39668
- box-shadow: 0px 2px 4px 0px ${q.palette.gray.gray6};
39687
+ box-shadow: 0px 2px 4px 0px ${X.palette.gray.gray6};
39669
39688
  }
39670
39689
  `;
39671
39690
  w(cA)`