@hiver/connector-agent 4.16.0-uauthv3-beta.0 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -14,10 +14,10 @@ var ts = (e, t, n, r) => ({
14
14
  }
15
15
  });
16
16
  import * as S from "react";
17
- import Ne, { createContext as Xl, useState as V, useContext as De, useEffect as ie, useRef as ge, useCallback as Ae, useSyncExternalStore as $1, useLayoutEffect as co, isValidElement as wo, cloneElement as Dc, useId as Hg, forwardRef as da, useMemo as fe, Component as Wg, Fragment as Nc, useReducer as Ug, memo as z1, Suspense as Yl } from "react";
18
- import { keyframes as Jl, styled as A, Stack as N, theme as P, IconButton as lt, Typography as X, Box as K, Tooltip as Ee, Button as Fe, icons as Ke, Menu as Zg, MenuItem as Co, ListItemIcon as $g, brandIcons as X1, Grid as zg, Link as zi, Skeleton as ql, TableHead as Xg, TableCell as fa, TableRow as Y1, palette as Yg, Icon as J1, DatePicker as Jg, DateTextField as qg, InputAdornment as Kg, Checkbox as Kl, TextField as Ql, tooltipClasses as eo, ListSubheader as ms, InputBase as Qg, CircularProgress as _i, FormControl as pa, Select as eu, Chip as em, Paper as tu, Popper as tm, ClickAwayListener as q1, Dialog as K1, TableContainer as nm, Table as rm, TableBody as om, HiverProvider as ha, RadioGroup as Q1, FormControlLabel as ef, Radio as tf, OutlinedInput as nf, Switch as rf, createTheme as im, ThemeProvider as sm } from "@hiver/hiver-ui-kit";
17
+ import Ne, { createContext as Xl, useState as V, useContext as De, useEffect as ie, useRef as ge, useCallback as Se, useSyncExternalStore as $1, useLayoutEffect as co, isValidElement as wo, cloneElement as Dc, useId as Hg, forwardRef as da, useMemo as fe, Component as Wg, Fragment as Nc, useReducer as Ug, memo as z1, Suspense as Yl } from "react";
18
+ import { keyframes as Jl, styled as A, Stack as N, theme as P, IconButton as lt, Typography as X, Box as K, Tooltip as we, Button as Fe, icons as Ke, Menu as Zg, MenuItem as Co, ListItemIcon as $g, brandIcons as X1, Grid as zg, Link as zi, Skeleton as ql, TableHead as Xg, TableCell as fa, TableRow as Y1, palette as Yg, Icon as J1, DatePicker as Jg, DateTextField as qg, InputAdornment as Kg, Checkbox as Kl, TextField as Ql, tooltipClasses as eo, ListSubheader as ms, InputBase as Qg, CircularProgress as _i, FormControl as pa, Select as eu, Chip as em, Paper as tu, Popper as tm, ClickAwayListener as q1, Dialog as K1, TableContainer as nm, Table as rm, TableBody as om, HiverProvider as ha, RadioGroup as Q1, FormControlLabel as ef, Radio as tf, OutlinedInput as nf, Switch as rf, createTheme as im, ThemeProvider as sm } from "@hiver/hiver-ui-kit";
19
19
  import am, { createPortal as Xi } from "react-dom";
20
- var Ce = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, jc = { exports: {} }, oi = {};
20
+ var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, jc = { exports: {} }, oi = {};
21
21
  /**
22
22
  * @license React
23
23
  * react-jsx-runtime.production.min.js
@@ -71,10 +71,10 @@ function lm() {
71
71
  }
72
72
  function y(R, $, ne) {
73
73
  {
74
- var me = g.ReactDebugCurrentFrame, Ie = me.getStackAddendum();
75
- Ie !== "" && ($ += "%s", ne = ne.concat([Ie]));
76
- var Pe = ne.map(function(_e) {
77
- return String(_e);
74
+ var me = g.ReactDebugCurrentFrame, _e = me.getStackAddendum();
75
+ _e !== "" && ($ += "%s", ne = ne.concat([_e]));
76
+ var Pe = ne.map(function(Ae) {
77
+ return String(Ae);
78
78
  });
79
79
  Pe.unshift("Warning: " + $), Function.prototype.apply.call(console[R], console, Pe);
80
80
  }
@@ -92,8 +92,8 @@ function lm() {
92
92
  var me = R.displayName;
93
93
  if (me)
94
94
  return me;
95
- var Ie = $.displayName || $.name || "";
96
- return Ie !== "" ? ne + "(" + Ie + ")" : ne;
95
+ var _e = $.displayName || $.name || "";
96
+ return _e !== "" ? ne + "(" + _e + ")" : ne;
97
97
  }
98
98
  function O(R) {
99
99
  return R.displayName || "Context";
@@ -133,9 +133,9 @@ function lm() {
133
133
  var me = R.displayName || null;
134
134
  return me !== null ? me : j(R.type) || "Memo";
135
135
  case b: {
136
- var Ie = R, Pe = Ie._payload, _e = Ie._init;
136
+ var _e = R, Pe = _e._payload, Ae = _e._init;
137
137
  try {
138
- return j(_e(Pe));
138
+ return j(Ae(Pe));
139
139
  } catch {
140
140
  return null;
141
141
  }
@@ -211,8 +211,8 @@ function lm() {
211
211
  if (ae === void 0)
212
212
  try {
213
213
  throw Error();
214
- } catch (Ie) {
215
- var me = Ie.stack.trim().match(/\n( *(at )?)/);
214
+ } catch (_e) {
215
+ var me = _e.stack.trim().match(/\n( *(at )?)/);
216
216
  ae = me && me[1] || "";
217
217
  }
218
218
  return `
@@ -234,33 +234,33 @@ function lm() {
234
234
  }
235
235
  var me;
236
236
  M = !0;
237
- var Ie = Error.prepareStackTrace;
237
+ var _e = Error.prepareStackTrace;
238
238
  Error.prepareStackTrace = void 0;
239
239
  var Pe;
240
240
  Pe = re.current, re.current = null, k();
241
241
  try {
242
242
  if ($) {
243
- var _e = function() {
243
+ var Ae = function() {
244
244
  throw Error();
245
245
  };
246
- if (Object.defineProperty(_e.prototype, "props", {
246
+ if (Object.defineProperty(Ae.prototype, "props", {
247
247
  set: function() {
248
248
  throw Error();
249
249
  }
250
250
  }), typeof Reflect == "object" && Reflect.construct) {
251
251
  try {
252
- Reflect.construct(_e, []);
252
+ Reflect.construct(Ae, []);
253
253
  } catch (Ct) {
254
254
  me = Ct;
255
255
  }
256
- Reflect.construct(R, [], _e);
256
+ Reflect.construct(R, [], Ae);
257
257
  } else {
258
258
  try {
259
- _e.call();
259
+ Ae.call();
260
260
  } catch (Ct) {
261
261
  me = Ct;
262
262
  }
263
- R.call(_e.prototype);
263
+ R.call(Ae.prototype);
264
264
  }
265
265
  } else {
266
266
  try {
@@ -272,17 +272,17 @@ function lm() {
272
272
  }
273
273
  } catch (Ct) {
274
274
  if (Ct && me && typeof Ct.stack == "string") {
275
- for (var Le = Ct.stack.split(`
275
+ for (var Re = Ct.stack.split(`
276
276
  `), yt = me.stack.split(`
277
- `), nt = Le.length - 1, it = yt.length - 1; nt >= 1 && it >= 0 && Le[nt] !== yt[it]; )
277
+ `), nt = Re.length - 1, it = yt.length - 1; nt >= 1 && it >= 0 && Re[nt] !== yt[it]; )
278
278
  it--;
279
279
  for (; nt >= 1 && it >= 0; nt--, it--)
280
- if (Le[nt] !== yt[it]) {
280
+ if (Re[nt] !== yt[it]) {
281
281
  if (nt !== 1 || it !== 1)
282
282
  do
283
- if (nt--, it--, it < 0 || Le[nt] !== yt[it]) {
283
+ if (nt--, it--, it < 0 || Re[nt] !== yt[it]) {
284
284
  var _t = `
285
- ` + Le[nt].replace(" at new ", " at ");
285
+ ` + Re[nt].replace(" at new ", " at ");
286
286
  return R.displayName && _t.includes("<anonymous>") && (_t = _t.replace("<anonymous>", R.displayName)), typeof R == "function" && le.set(R, _t), _t;
287
287
  }
288
288
  while (nt >= 1 && it >= 0);
@@ -290,10 +290,10 @@ function lm() {
290
290
  }
291
291
  }
292
292
  } finally {
293
- M = !1, re.current = Pe, Y(), Error.prepareStackTrace = Ie;
293
+ M = !1, re.current = Pe, Y(), Error.prepareStackTrace = _e;
294
294
  }
295
- var In = R ? R.displayName || R.name : "", Gn = In ? he(In) : "";
296
- return typeof R == "function" && le.set(R, Gn), Gn;
295
+ var _n = R ? R.displayName || R.name : "", Hn = _n ? he(_n) : "";
296
+ return typeof R == "function" && le.set(R, Hn), Hn;
297
297
  }
298
298
  function Ye(R, $, ne) {
299
299
  return z(R, !1);
@@ -322,16 +322,16 @@ function lm() {
322
322
  case p:
323
323
  return je(R.type, $, ne);
324
324
  case b: {
325
- var me = R, Ie = me._payload, Pe = me._init;
325
+ var me = R, _e = me._payload, Pe = me._init;
326
326
  try {
327
- return je(Pe(Ie), $, ne);
327
+ return je(Pe(_e), $, ne);
328
328
  } catch {
329
329
  }
330
330
  }
331
331
  }
332
332
  return "";
333
333
  }
334
- var Wt = Object.prototype.hasOwnProperty, Qn = {}, gt = g.ReactDebugCurrentFrame;
334
+ var Wt = Object.prototype.hasOwnProperty, er = {}, gt = g.ReactDebugCurrentFrame;
335
335
  function ft(R) {
336
336
  if (R) {
337
337
  var $ = R._owner, ne = je(R.type, R._source, $ ? $.type : null);
@@ -339,22 +339,22 @@ function lm() {
339
339
  } else
340
340
  gt.setExtraStackFrame(null);
341
341
  }
342
- function rt(R, $, ne, me, Ie) {
342
+ function rt(R, $, ne, me, _e) {
343
343
  {
344
344
  var Pe = Function.call.bind(Wt);
345
- for (var _e in R)
346
- if (Pe(R, _e)) {
347
- var Le = void 0;
345
+ for (var Ae in R)
346
+ if (Pe(R, Ae)) {
347
+ var Re = void 0;
348
348
  try {
349
- if (typeof R[_e] != "function") {
350
- var yt = Error((me || "React class") + ": " + ne + " type `" + _e + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof R[_e] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
349
+ if (typeof R[Ae] != "function") {
350
+ var yt = Error((me || "React class") + ": " + ne + " type `" + Ae + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof R[Ae] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
351
351
  throw yt.name = "Invariant Violation", yt;
352
352
  }
353
- Le = R[_e]($, _e, me, ne, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
353
+ Re = R[Ae]($, Ae, me, ne, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
354
354
  } catch (nt) {
355
- Le = nt;
355
+ Re = nt;
356
356
  }
357
- Le && !(Le instanceof Error) && (ft(Ie), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", me || "React class", ne, _e, typeof Le), ft(null)), Le instanceof Error && !(Le.message in Qn) && (Qn[Le.message] = !0, ft(Ie), x("Failed %s type: %s", ne, Le.message), ft(null));
357
+ Re && !(Re instanceof Error) && (ft(_e), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", me || "React class", ne, Ae, typeof Re), ft(null)), Re instanceof Error && !(Re.message in er) && (er[Re.message] = !0, ft(_e), x("Failed %s type: %s", ne, Re.message), ft(null));
358
358
  }
359
359
  }
360
360
  }
@@ -368,7 +368,7 @@ function lm() {
368
368
  return ne;
369
369
  }
370
370
  }
371
- function Mn(R) {
371
+ function Pn(R) {
372
372
  try {
373
373
  return Sr(R), !1;
374
374
  } catch {
@@ -378,8 +378,8 @@ function lm() {
378
378
  function Sr(R) {
379
379
  return "" + R;
380
380
  }
381
- function Pn(R) {
382
- if (Mn(R))
381
+ function Bn(R) {
382
+ if (Pn(R))
383
383
  return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ar(R)), Sr(R);
384
384
  }
385
385
  var wn = g.ReactCurrentOwner, Tt = {
@@ -387,7 +387,7 @@ function lm() {
387
387
  ref: !0,
388
388
  __self: !0,
389
389
  __source: !0
390
- }, Tr, er, Ut;
390
+ }, Tr, tr, Ut;
391
391
  Ut = {};
392
392
  function ni(R) {
393
393
  if (Wt.call(R, "ref")) {
@@ -411,7 +411,7 @@ function lm() {
411
411
  Ut[ne] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(wn.current.type), R.ref), Ut[ne] = !0);
412
412
  }
413
413
  }
414
- function Bn(R, $) {
414
+ function Vn(R, $) {
415
415
  {
416
416
  var ne = function() {
417
417
  Tr || (Tr = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $));
@@ -422,10 +422,10 @@ function lm() {
422
422
  });
423
423
  }
424
424
  }
425
- function tr(R, $) {
425
+ function nr(R, $) {
426
426
  {
427
427
  var ne = function() {
428
- er || (er = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $));
428
+ tr || (tr = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", $));
429
429
  };
430
430
  ne.isReactWarning = !0, Object.defineProperty(R, "ref", {
431
431
  get: ne,
@@ -433,51 +433,51 @@ function lm() {
433
433
  });
434
434
  }
435
435
  }
436
- var nr = function(R, $, ne, me, Ie, Pe, _e) {
437
- var Le = {
436
+ var In = function(R, $, ne, me, _e, Pe, Ae) {
437
+ var Re = {
438
438
  // This tag allows us to uniquely identify this as a React Element
439
439
  $$typeof: t,
440
440
  // Built-in properties that belong on the element
441
441
  type: R,
442
442
  key: $,
443
443
  ref: ne,
444
- props: _e,
444
+ props: Ae,
445
445
  // Record the component responsible for creating this element.
446
446
  _owner: Pe
447
447
  };
448
- return Le._store = {}, Object.defineProperty(Le._store, "validated", {
448
+ return Re._store = {}, Object.defineProperty(Re._store, "validated", {
449
449
  configurable: !1,
450
450
  enumerable: !1,
451
451
  writable: !0,
452
452
  value: !1
453
- }), Object.defineProperty(Le, "_self", {
453
+ }), Object.defineProperty(Re, "_self", {
454
454
  configurable: !1,
455
455
  enumerable: !1,
456
456
  writable: !1,
457
457
  value: me
458
- }), Object.defineProperty(Le, "_source", {
458
+ }), Object.defineProperty(Re, "_source", {
459
459
  configurable: !1,
460
460
  enumerable: !1,
461
461
  writable: !1,
462
- value: Ie
463
- }), Object.freeze && (Object.freeze(Le.props), Object.freeze(Le)), Le;
462
+ value: _e
463
+ }), Object.freeze && (Object.freeze(Re.props), Object.freeze(Re)), Re;
464
464
  };
465
- function tn(R, $, ne, me, Ie) {
465
+ function tn(R, $, ne, me, _e) {
466
466
  {
467
- var Pe, _e = {}, Le = null, yt = null;
468
- ne !== void 0 && (Pn(ne), Le = "" + ne), uo($) && (Pn($.key), Le = "" + $.key), ni($) && (yt = $.ref, Zt($, Ie));
467
+ var Pe, Ae = {}, Re = null, yt = null;
468
+ ne !== void 0 && (Bn(ne), Re = "" + ne), uo($) && (Bn($.key), Re = "" + $.key), ni($) && (yt = $.ref, Zt($, _e));
469
469
  for (Pe in $)
470
- Wt.call($, Pe) && !Tt.hasOwnProperty(Pe) && (_e[Pe] = $[Pe]);
470
+ Wt.call($, Pe) && !Tt.hasOwnProperty(Pe) && (Ae[Pe] = $[Pe]);
471
471
  if (R && R.defaultProps) {
472
472
  var nt = R.defaultProps;
473
473
  for (Pe in nt)
474
- _e[Pe] === void 0 && (_e[Pe] = nt[Pe]);
474
+ Ae[Pe] === void 0 && (Ae[Pe] = nt[Pe]);
475
475
  }
476
- if (Le || yt) {
476
+ if (Re || yt) {
477
477
  var it = typeof R == "function" ? R.displayName || R.name || "Unknown" : R;
478
- Le && Bn(_e, it), yt && tr(_e, it);
478
+ Re && Vn(Ae, it), yt && nr(Ae, it);
479
479
  }
480
- return nr(R, Le, yt, Ie, me, wn.current, _e);
480
+ return In(R, Re, yt, _e, me, wn.current, Ae);
481
481
  }
482
482
  }
483
483
  var rr = g.ReactCurrentOwner, fo = g.ReactDebugCurrentFrame;
@@ -488,8 +488,8 @@ function lm() {
488
488
  } else
489
489
  fo.setExtraStackFrame(null);
490
490
  }
491
- var Vn;
492
- Vn = !1;
491
+ var Gn;
492
+ Gn = !1;
493
493
  function Lr(R) {
494
494
  return typeof R == "object" && R !== null && R.$$typeof === t;
495
495
  }
@@ -546,10 +546,10 @@ Check the top-level render call using <` + ne + ">.");
546
546
  else if (Lr(R))
547
547
  R._store && (R._store.validated = !0);
548
548
  else if (R) {
549
- var Ie = f(R);
550
- if (typeof Ie == "function" && Ie !== R.entries)
551
- for (var Pe = Ie.call(R), _e; !(_e = Pe.next()).done; )
552
- Lr(_e.value) && go(_e.value, $);
549
+ var _e = f(R);
550
+ if (typeof _e == "function" && _e !== R.entries)
551
+ for (var Pe = _e.call(R), Ae; !(Ae = Pe.next()).done; )
552
+ Lr(Ae.value) && go(Ae.value, $);
553
553
  }
554
554
  }
555
555
  }
@@ -570,10 +570,10 @@ Check the top-level render call using <` + ne + ">.");
570
570
  if (ne) {
571
571
  var me = j($);
572
572
  rt(ne, R.props, "prop", me, R);
573
- } else if ($.PropTypes !== void 0 && !Vn) {
574
- Vn = !0;
575
- var Ie = j($);
576
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ie || "Unknown");
573
+ } else if ($.PropTypes !== void 0 && !Gn) {
574
+ Gn = !0;
575
+ var _e = j($);
576
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _e || "Unknown");
577
577
  }
578
578
  typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
579
579
  }
@@ -591,27 +591,27 @@ Check the top-level render call using <` + ne + ">.");
591
591
  }
592
592
  }
593
593
  var pe = {};
594
- function Te(R, $, ne, me, Ie, Pe) {
594
+ function Le(R, $, ne, me, _e, Pe) {
595
595
  {
596
- var _e = D(R);
597
- if (!_e) {
598
- var Le = "";
599
- (R === void 0 || typeof R == "object" && R !== null && Object.keys(R).length === 0) && (Le += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
+ var Ae = D(R);
597
+ if (!Ae) {
598
+ var Re = "";
599
+ (R === void 0 || typeof R == "object" && R !== null && Object.keys(R).length === 0) && (Re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
600
600
  var yt = po();
601
- yt ? Le += yt : Le += Rr();
601
+ yt ? Re += yt : Re += Rr();
602
602
  var nt;
603
- R === null ? nt = "null" : en(R) ? nt = "array" : R !== void 0 && R.$$typeof === t ? (nt = "<" + (j(R.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : nt = typeof R, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nt, Le);
603
+ R === null ? nt = "null" : en(R) ? nt = "array" : R !== void 0 && R.$$typeof === t ? (nt = "<" + (j(R.type) || "Unknown") + " />", Re = " Did you accidentally export a JSX literal instead of a component?") : nt = typeof R, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", nt, Re);
604
604
  }
605
- var it = tn(R, $, ne, Ie, Pe);
605
+ var it = tn(R, $, ne, _e, Pe);
606
606
  if (it == null)
607
607
  return it;
608
- if (_e) {
608
+ if (Ae) {
609
609
  var _t = $.children;
610
610
  if (_t !== void 0)
611
611
  if (me)
612
612
  if (en(_t)) {
613
- for (var In = 0; In < _t.length; In++)
614
- Fr(_t[In], R);
613
+ for (var _n = 0; _n < _t.length; _n++)
614
+ Fr(_t[_n], R);
615
615
  Object.freeze && Object.freeze(_t);
616
616
  } else
617
617
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -619,27 +619,27 @@ Check the top-level render call using <` + ne + ">.");
619
619
  Fr(_t, R);
620
620
  }
621
621
  if (Wt.call($, "key")) {
622
- var Gn = j(R), Ct = Object.keys($).filter(function(es) {
622
+ var Hn = j(R), Ct = Object.keys($).filter(function(es) {
623
623
  return es !== "key";
624
624
  }), ri = Ct.length > 0 ? "{key: someKey, " + Ct.join(": ..., ") + ": ...}" : "{key: someKey}";
625
- if (!pe[Gn + ri]) {
625
+ if (!pe[Hn + ri]) {
626
626
  var Xa = Ct.length > 0 ? "{" + Ct.join(": ..., ") + ": ...}" : "{}";
627
627
  x(`A props object containing a "key" prop is being spread into JSX:
628
628
  let props = %s;
629
629
  <%s {...props} />
630
630
  React keys must be passed directly to JSX without using spread:
631
631
  let props = %s;
632
- <%s key={someKey} {...props} />`, ri, Gn, Xa, Gn), pe[Gn + ri] = !0;
632
+ <%s key={someKey} {...props} />`, ri, Hn, Xa, Hn), pe[Hn + ri] = !0;
633
633
  }
634
634
  }
635
635
  return R === r ? kr(it) : mo(it), it;
636
636
  }
637
637
  }
638
638
  function ot(R, $, ne) {
639
- return Te(R, $, ne, !0);
639
+ return Le(R, $, ne, !0);
640
640
  }
641
641
  function nn(R, $, ne) {
642
- return Te(R, $, ne, !1);
642
+ return Le(R, $, ne, !1);
643
643
  }
644
644
  var mt = nn, tt = ot;
645
645
  ii.Fragment = r, ii.jsx = mt, ii.jsxs = tt;
@@ -1050,7 +1050,7 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1050
1050
  clearGcTimeout() {
1051
1051
  L(this, Hr) && (clearTimeout(L(this, Hr)), te(this, Hr, void 0));
1052
1052
  }
1053
- }, Hr = new WeakMap(), O1), Fo, ko, on, Wr, St, Vi, Ur, pn, Un, F1, xm = (F1 = class extends uf {
1053
+ }, Hr = new WeakMap(), O1), Fo, ko, on, Wr, St, Vi, Ur, pn, Zn, F1, xm = (F1 = class extends uf {
1054
1054
  constructor(t) {
1055
1055
  super();
1056
1056
  ue(this, pn);
@@ -1078,7 +1078,7 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1078
1078
  }
1079
1079
  setData(t, n) {
1080
1080
  const r = Bc(this.state.data, t, this.options);
1081
- return ye(this, pn, Un).call(this, {
1081
+ return ye(this, pn, Zn).call(this, {
1082
1082
  data: r,
1083
1083
  type: "success",
1084
1084
  dataUpdatedAt: n == null ? void 0 : n.updatedAt,
@@ -1086,7 +1086,7 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1086
1086
  }), r;
1087
1087
  }
1088
1088
  setState(t, n) {
1089
- ye(this, pn, Un).call(this, { type: "setState", state: t, setStateOptions: n });
1089
+ ye(this, pn, Zn).call(this, { type: "setState", state: t, setStateOptions: n });
1090
1090
  }
1091
1091
  cancel(t) {
1092
1092
  var r, o;
@@ -1135,7 +1135,7 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1135
1135
  return this.observers.length;
1136
1136
  }
1137
1137
  invalidate() {
1138
- this.state.isInvalidated || ye(this, pn, Un).call(this, { type: "invalidate" });
1138
+ this.state.isInvalidated || ye(this, pn, Zn).call(this, { type: "invalidate" });
1139
1139
  }
1140
1140
  fetch(t, n) {
1141
1141
  var c, u, d;
@@ -1179,10 +1179,10 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1179
1179
  o(s), (c = this.options.behavior) == null || c.onFetch(
1180
1180
  s,
1181
1181
  this
1182
- ), te(this, ko, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = s.fetchOptions) == null ? void 0 : u.meta)) && ye(this, pn, Un).call(this, { type: "fetch", meta: (d = s.fetchOptions) == null ? void 0 : d.meta });
1182
+ ), te(this, ko, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = s.fetchOptions) == null ? void 0 : u.meta)) && ye(this, pn, Zn).call(this, { type: "fetch", meta: (d = s.fetchOptions) == null ? void 0 : d.meta });
1183
1183
  const a = (p) => {
1184
1184
  var b, v, m, h;
1185
- Ja(p) && p.silent || ye(this, pn, Un).call(this, {
1185
+ Ja(p) && p.silent || ye(this, pn, Zn).call(this, {
1186
1186
  type: "error",
1187
1187
  error: p
1188
1188
  }), Ja(p) || ((v = (b = L(this, on).config).onError) == null || v.call(
@@ -1223,13 +1223,13 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1223
1223
  },
1224
1224
  onError: a,
1225
1225
  onFail: (p, b) => {
1226
- ye(this, pn, Un).call(this, { type: "failed", failureCount: p, error: b });
1226
+ ye(this, pn, Zn).call(this, { type: "failed", failureCount: p, error: b });
1227
1227
  },
1228
1228
  onPause: () => {
1229
- ye(this, pn, Un).call(this, { type: "pause" });
1229
+ ye(this, pn, Zn).call(this, { type: "pause" });
1230
1230
  },
1231
1231
  onContinue: () => {
1232
- ye(this, pn, Un).call(this, { type: "continue" });
1232
+ ye(this, pn, Zn).call(this, { type: "continue" });
1233
1233
  },
1234
1234
  retry: s.options.retry,
1235
1235
  retryDelay: s.options.retryDelay,
@@ -1237,7 +1237,7 @@ var ct = bm(), Hr, O1, uf = (O1 = class {
1237
1237
  canRun: () => !0
1238
1238
  })), L(this, St).start();
1239
1239
  }
1240
- }, Fo = new WeakMap(), ko = new WeakMap(), on = new WeakMap(), Wr = new WeakMap(), St = new WeakMap(), Vi = new WeakMap(), Ur = new WeakMap(), pn = new WeakSet(), Un = function(t) {
1240
+ }, Fo = new WeakMap(), ko = new WeakMap(), on = new WeakMap(), Wr = new WeakMap(), St = new WeakMap(), Vi = new WeakMap(), Ur = new WeakMap(), pn = new WeakSet(), Zn = function(t) {
1241
1241
  const n = (r) => {
1242
1242
  switch (t.type) {
1243
1243
  case "failed":
@@ -1335,11 +1335,11 @@ function vm(e) {
1335
1335
  fetchStatus: "idle"
1336
1336
  };
1337
1337
  }
1338
- var An, k1, ym = (k1 = class extends lo {
1338
+ var Sn, k1, ym = (k1 = class extends lo {
1339
1339
  constructor(t = {}) {
1340
1340
  super();
1341
- ue(this, An);
1342
- this.config = t, te(this, An, /* @__PURE__ */ new Map());
1341
+ ue(this, Sn);
1342
+ this.config = t, te(this, Sn, /* @__PURE__ */ new Map());
1343
1343
  }
1344
1344
  build(t, n, r) {
1345
1345
  const o = n.queryKey, i = n.queryHash ?? nu(o, n);
@@ -1354,14 +1354,14 @@ var An, k1, ym = (k1 = class extends lo {
1354
1354
  }), this.add(s)), s;
1355
1355
  }
1356
1356
  add(t) {
1357
- L(this, An).has(t.queryHash) || (L(this, An).set(t.queryHash, t), this.notify({
1357
+ L(this, Sn).has(t.queryHash) || (L(this, Sn).set(t.queryHash, t), this.notify({
1358
1358
  type: "added",
1359
1359
  query: t
1360
1360
  }));
1361
1361
  }
1362
1362
  remove(t) {
1363
- const n = L(this, An).get(t.queryHash);
1364
- n && (t.destroy(), n === t && L(this, An).delete(t.queryHash), this.notify({ type: "removed", query: t }));
1363
+ const n = L(this, Sn).get(t.queryHash);
1364
+ n && (t.destroy(), n === t && L(this, Sn).delete(t.queryHash), this.notify({ type: "removed", query: t }));
1365
1365
  }
1366
1366
  clear() {
1367
1367
  ct.batch(() => {
@@ -1371,10 +1371,10 @@ var An, k1, ym = (k1 = class extends lo {
1371
1371
  });
1372
1372
  }
1373
1373
  get(t) {
1374
- return L(this, An).get(t);
1374
+ return L(this, Sn).get(t);
1375
1375
  }
1376
1376
  getAll() {
1377
- return [...L(this, An).values()];
1377
+ return [...L(this, Sn).values()];
1378
1378
  }
1379
1379
  find(t) {
1380
1380
  const n = { exact: !0, ...t };
@@ -1407,14 +1407,14 @@ var An, k1, ym = (k1 = class extends lo {
1407
1407
  });
1408
1408
  });
1409
1409
  }
1410
- }, An = new WeakMap(), k1), Sn, Lt, Zr, Tn, ir, D1, Cm = (D1 = class extends uf {
1410
+ }, Sn = new WeakMap(), k1), Tn, Lt, Zr, Ln, ir, D1, Cm = (D1 = class extends uf {
1411
1411
  constructor(t) {
1412
1412
  super();
1413
+ ue(this, Ln);
1413
1414
  ue(this, Tn);
1414
- ue(this, Sn);
1415
1415
  ue(this, Lt);
1416
1416
  ue(this, Zr);
1417
- this.mutationId = t.mutationId, te(this, Lt, t.mutationCache), te(this, Sn, []), this.state = t.state || ff(), this.setOptions(t.options), this.scheduleGc();
1417
+ this.mutationId = t.mutationId, te(this, Lt, t.mutationCache), te(this, Tn, []), this.state = t.state || ff(), this.setOptions(t.options), this.scheduleGc();
1418
1418
  }
1419
1419
  setOptions(t) {
1420
1420
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -1423,21 +1423,21 @@ var An, k1, ym = (k1 = class extends lo {
1423
1423
  return this.options.meta;
1424
1424
  }
1425
1425
  addObserver(t) {
1426
- L(this, Sn).includes(t) || (L(this, Sn).push(t), this.clearGcTimeout(), L(this, Lt).notify({
1426
+ L(this, Tn).includes(t) || (L(this, Tn).push(t), this.clearGcTimeout(), L(this, Lt).notify({
1427
1427
  type: "observerAdded",
1428
1428
  mutation: this,
1429
1429
  observer: t
1430
1430
  }));
1431
1431
  }
1432
1432
  removeObserver(t) {
1433
- te(this, Sn, L(this, Sn).filter((n) => n !== t)), this.scheduleGc(), L(this, Lt).notify({
1433
+ te(this, Tn, L(this, Tn).filter((n) => n !== t)), this.scheduleGc(), L(this, Lt).notify({
1434
1434
  type: "observerRemoved",
1435
1435
  mutation: this,
1436
1436
  observer: t
1437
1437
  });
1438
1438
  }
1439
1439
  optionalRemove() {
1440
- L(this, Sn).length || (this.state.status === "pending" ? this.scheduleGc() : L(this, Lt).remove(this));
1440
+ L(this, Tn).length || (this.state.status === "pending" ? this.scheduleGc() : L(this, Lt).remove(this));
1441
1441
  }
1442
1442
  continue() {
1443
1443
  var t;
@@ -1449,13 +1449,13 @@ var An, k1, ym = (k1 = class extends lo {
1449
1449
  te(this, Zr, lf({
1450
1450
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
1451
1451
  onFail: (I, T) => {
1452
- ye(this, Tn, ir).call(this, { type: "failed", failureCount: I, error: T });
1452
+ ye(this, Ln, ir).call(this, { type: "failed", failureCount: I, error: T });
1453
1453
  },
1454
1454
  onPause: () => {
1455
- ye(this, Tn, ir).call(this, { type: "pause" });
1455
+ ye(this, Ln, ir).call(this, { type: "pause" });
1456
1456
  },
1457
1457
  onContinue: () => {
1458
- ye(this, Tn, ir).call(this, { type: "continue" });
1458
+ ye(this, Ln, ir).call(this, { type: "continue" });
1459
1459
  },
1460
1460
  retry: this.options.retry ?? 0,
1461
1461
  retryDelay: this.options.retryDelay,
@@ -1465,13 +1465,13 @@ var An, k1, ym = (k1 = class extends lo {
1465
1465
  const n = this.state.status === "pending", r = !L(this, Zr).canStart();
1466
1466
  try {
1467
1467
  if (!n) {
1468
- ye(this, Tn, ir).call(this, { type: "pending", variables: t, isPaused: r }), await ((i = (o = L(this, Lt).config).onMutate) == null ? void 0 : i.call(
1468
+ ye(this, Ln, ir).call(this, { type: "pending", variables: t, isPaused: r }), await ((i = (o = L(this, Lt).config).onMutate) == null ? void 0 : i.call(
1469
1469
  o,
1470
1470
  t,
1471
1471
  this
1472
1472
  ));
1473
1473
  const T = await ((a = (s = this.options).onMutate) == null ? void 0 : a.call(s, t));
1474
- T !== this.state.context && ye(this, Tn, ir).call(this, {
1474
+ T !== this.state.context && ye(this, Ln, ir).call(this, {
1475
1475
  type: "pending",
1476
1476
  context: T,
1477
1477
  variables: t,
@@ -1492,7 +1492,7 @@ var An, k1, ym = (k1 = class extends lo {
1492
1492
  this.state.variables,
1493
1493
  this.state.context,
1494
1494
  this
1495
- )), await ((h = (m = this.options).onSettled) == null ? void 0 : h.call(m, I, null, t, this.state.context)), ye(this, Tn, ir).call(this, { type: "success", data: I }), I;
1495
+ )), await ((h = (m = this.options).onSettled) == null ? void 0 : h.call(m, I, null, t, this.state.context)), ye(this, Ln, ir).call(this, { type: "success", data: I }), I;
1496
1496
  } catch (I) {
1497
1497
  try {
1498
1498
  throw await ((g = (f = L(this, Lt).config).onError) == null ? void 0 : g.call(
@@ -1521,13 +1521,13 @@ var An, k1, ym = (k1 = class extends lo {
1521
1521
  this.state.context
1522
1522
  )), I;
1523
1523
  } finally {
1524
- ye(this, Tn, ir).call(this, { type: "error", error: I });
1524
+ ye(this, Ln, ir).call(this, { type: "error", error: I });
1525
1525
  }
1526
1526
  } finally {
1527
1527
  L(this, Lt).runNext(this);
1528
1528
  }
1529
1529
  }
1530
- }, Sn = new WeakMap(), Lt = new WeakMap(), Zr = new WeakMap(), Tn = new WeakSet(), ir = function(t) {
1530
+ }, Tn = new WeakMap(), Lt = new WeakMap(), Zr = new WeakMap(), Ln = new WeakSet(), ir = function(t) {
1531
1531
  const n = (r) => {
1532
1532
  switch (t.type) {
1533
1533
  case "failed":
@@ -1582,7 +1582,7 @@ var An, k1, ym = (k1 = class extends lo {
1582
1582
  }
1583
1583
  };
1584
1584
  this.state = n(this.state), ct.batch(() => {
1585
- L(this, Sn).forEach((r) => {
1585
+ L(this, Tn).forEach((r) => {
1586
1586
  r.onMutationUpdate(t);
1587
1587
  }), L(this, Lt).notify({
1588
1588
  mutation: this,
@@ -1604,13 +1604,13 @@ function ff() {
1604
1604
  submittedAt: 0
1605
1605
  };
1606
1606
  }
1607
- var $n, hn, Gi, N1, Em = (N1 = class extends lo {
1607
+ var zn, hn, Gi, N1, Em = (N1 = class extends lo {
1608
1608
  constructor(t = {}) {
1609
1609
  super();
1610
- ue(this, $n);
1610
+ ue(this, zn);
1611
1611
  ue(this, hn);
1612
1612
  ue(this, Gi);
1613
- this.config = t, te(this, $n, /* @__PURE__ */ new Set()), te(this, hn, /* @__PURE__ */ new Map()), te(this, Gi, 0);
1613
+ this.config = t, te(this, zn, /* @__PURE__ */ new Set()), te(this, hn, /* @__PURE__ */ new Map()), te(this, Gi, 0);
1614
1614
  }
1615
1615
  build(t, n, r) {
1616
1616
  const o = new Cm({
@@ -1622,7 +1622,7 @@ var $n, hn, Gi, N1, Em = (N1 = class extends lo {
1622
1622
  return this.add(o), o;
1623
1623
  }
1624
1624
  add(t) {
1625
- L(this, $n).add(t);
1625
+ L(this, zn).add(t);
1626
1626
  const n = ns(t);
1627
1627
  if (typeof n == "string") {
1628
1628
  const r = L(this, hn).get(n);
@@ -1631,7 +1631,7 @@ var $n, hn, Gi, N1, Em = (N1 = class extends lo {
1631
1631
  this.notify({ type: "added", mutation: t });
1632
1632
  }
1633
1633
  remove(t) {
1634
- if (L(this, $n).delete(t)) {
1634
+ if (L(this, zn).delete(t)) {
1635
1635
  const n = ns(t);
1636
1636
  if (typeof n == "string") {
1637
1637
  const r = L(this, hn).get(n);
@@ -1665,13 +1665,13 @@ var $n, hn, Gi, N1, Em = (N1 = class extends lo {
1665
1665
  }
1666
1666
  clear() {
1667
1667
  ct.batch(() => {
1668
- L(this, $n).forEach((t) => {
1668
+ L(this, zn).forEach((t) => {
1669
1669
  this.notify({ type: "removed", mutation: t });
1670
- }), L(this, $n).clear(), L(this, hn).clear();
1670
+ }), L(this, zn).clear(), L(this, hn).clear();
1671
1671
  });
1672
1672
  }
1673
1673
  getAll() {
1674
- return Array.from(L(this, $n));
1674
+ return Array.from(L(this, zn));
1675
1675
  }
1676
1676
  find(t) {
1677
1677
  const n = { exact: !0, ...t };
@@ -1697,7 +1697,7 @@ var $n, hn, Gi, N1, Em = (N1 = class extends lo {
1697
1697
  )
1698
1698
  );
1699
1699
  }
1700
- }, $n = new WeakMap(), hn = new WeakMap(), Gi = new WeakMap(), N1);
1700
+ }, zn = new WeakMap(), hn = new WeakMap(), Gi = new WeakMap(), N1);
1701
1701
  function ns(e) {
1702
1702
  var t;
1703
1703
  return (t = e.options.scope) == null ? void 0 : t.id;
@@ -1990,7 +1990,7 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
1990
1990
  clear() {
1991
1991
  L(this, st).clear(), L(this, lr).clear();
1992
1992
  }
1993
- }, st = new WeakMap(), lr = new WeakMap(), ur = new WeakMap(), Do = new WeakMap(), No = new WeakMap(), dr = new WeakMap(), jo = new WeakMap(), Mo = new WeakMap(), j1), Dt, Me, Hi, Rt, $r, Po, fr, Ln, Wi, Bo, Vo, zr, Xr, pr, Go, Xe, gi, Hc, Wc, Uc, Zc, $c, zc, Xc, hf, M1, ga = (M1 = class extends lo {
1993
+ }, st = new WeakMap(), lr = new WeakMap(), ur = new WeakMap(), Do = new WeakMap(), No = new WeakMap(), dr = new WeakMap(), jo = new WeakMap(), Mo = new WeakMap(), j1), Dt, Me, Hi, Rt, $r, Po, fr, Rn, Wi, Bo, Vo, zr, Xr, pr, Go, Xe, gi, Hc, Wc, Uc, Zc, $c, zc, Xc, hf, M1, ga = (M1 = class extends lo {
1994
1994
  constructor(t, n) {
1995
1995
  super();
1996
1996
  ue(this, Xe);
@@ -2001,7 +2001,7 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2001
2001
  ue(this, $r);
2002
2002
  ue(this, Po);
2003
2003
  ue(this, fr);
2004
- ue(this, Ln);
2004
+ ue(this, Rn);
2005
2005
  ue(this, Wi);
2006
2006
  ue(this, Bo);
2007
2007
  // This property keeps track of the last query with defined data.
@@ -2011,7 +2011,7 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2011
2011
  ue(this, Xr);
2012
2012
  ue(this, pr);
2013
2013
  ue(this, Go, /* @__PURE__ */ new Set());
2014
- this.options = n, te(this, Dt, t), te(this, Ln, null), te(this, fr, Vc()), this.options.experimental_prefetchInRender || L(this, fr).reject(
2014
+ this.options = n, te(this, Dt, t), te(this, Rn, null), te(this, fr, Vc()), this.options.experimental_prefetchInRender || L(this, fr).reject(
2015
2015
  new Error("experimental_prefetchInRender feature flag is not enabled")
2016
2016
  ), this.bindMethods(), this.setOptions(n);
2017
2017
  }
@@ -2117,9 +2117,9 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2117
2117
  v = L(this, Bo);
2118
2118
  else
2119
2119
  try {
2120
- te(this, Wi, n.select), v = n.select(p.data), v = Bc(i == null ? void 0 : i.data, v, n), te(this, Bo, v), te(this, Ln, null);
2120
+ te(this, Wi, n.select), v = n.select(p.data), v = Bc(i == null ? void 0 : i.data, v, n), te(this, Bo, v), te(this, Rn, null);
2121
2121
  } catch (T) {
2122
- te(this, Ln, T);
2122
+ te(this, Rn, T);
2123
2123
  }
2124
2124
  else
2125
2125
  v = p.data;
@@ -2132,9 +2132,9 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2132
2132
  L(this, Vo)
2133
2133
  ) : n.placeholderData, n.select && T !== void 0)
2134
2134
  try {
2135
- T = n.select(T), te(this, Ln, null);
2135
+ T = n.select(T), te(this, Rn, null);
2136
2136
  } catch (D) {
2137
- te(this, Ln, D);
2137
+ te(this, Rn, D);
2138
2138
  }
2139
2139
  T !== void 0 && (f = "success", v = Bc(
2140
2140
  i == null ? void 0 : i.data,
@@ -2142,7 +2142,7 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2142
2142
  n
2143
2143
  ), b = !0);
2144
2144
  }
2145
- L(this, Ln) && (m = L(this, Ln), v = L(this, Bo), h = Date.now(), f = "error");
2145
+ L(this, Rn) && (m = L(this, Rn), v = L(this, Bo), h = Date.now(), f = "error");
2146
2146
  const g = p.fetchStatus === "fetching", x = f === "pending", y = f === "error", E = x && g, C = v !== void 0, _ = {
2147
2147
  status: f,
2148
2148
  fetchStatus: p.fetchStatus,
@@ -2215,7 +2215,7 @@ var st, lr, ur, Do, No, dr, jo, Mo, j1, _m = (j1 = class {
2215
2215
  onQueryUpdate() {
2216
2216
  this.updateResult(), this.hasListeners() && ye(this, Xe, Zc).call(this);
2217
2217
  }
2218
- }, Dt = new WeakMap(), Me = new WeakMap(), Hi = new WeakMap(), Rt = new WeakMap(), $r = new WeakMap(), Po = new WeakMap(), fr = new WeakMap(), Ln = new WeakMap(), Wi = new WeakMap(), Bo = new WeakMap(), Vo = new WeakMap(), zr = new WeakMap(), Xr = new WeakMap(), pr = new WeakMap(), Go = new WeakMap(), Xe = new WeakSet(), gi = function(t) {
2218
+ }, Dt = new WeakMap(), Me = new WeakMap(), Hi = new WeakMap(), Rt = new WeakMap(), $r = new WeakMap(), Po = new WeakMap(), fr = new WeakMap(), Rn = new WeakMap(), Wi = new WeakMap(), Bo = new WeakMap(), Vo = new WeakMap(), zr = new WeakMap(), Xr = new WeakMap(), pr = new WeakMap(), Go = new WeakMap(), Xe = new WeakSet(), gi = function(t) {
2219
2219
  ye(this, Xe, Xc).call(this);
2220
2220
  let n = L(this, Me).fetch(
2221
2221
  this.options,
@@ -2461,15 +2461,15 @@ var Yr, sn, Ho, Wo, an, hr, Ui, Zi, $i, It, Jc, qc, Kc, Qc, el, P1, Lm = (P1 = c
2461
2461
  isRefetching: i && !d && !b
2462
2462
  };
2463
2463
  }
2464
- }, gr, mr, Nt, zn, Yn, bs, tl, B1, Om = (B1 = class extends lo {
2464
+ }, gr, mr, Nt, Xn, Jn, bs, tl, B1, Om = (B1 = class extends lo {
2465
2465
  constructor(n, r) {
2466
2466
  super();
2467
- ue(this, Yn);
2467
+ ue(this, Jn);
2468
2468
  ue(this, gr);
2469
2469
  ue(this, mr);
2470
2470
  ue(this, Nt);
2471
- ue(this, zn);
2472
- te(this, gr, n), this.setOptions(r), this.bindMethods(), ye(this, Yn, bs).call(this);
2471
+ ue(this, Xn);
2472
+ te(this, gr, n), this.setOptions(r), this.bindMethods(), ye(this, Jn, bs).call(this);
2473
2473
  }
2474
2474
  bindMethods() {
2475
2475
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -2488,20 +2488,20 @@ var Yr, sn, Ho, Wo, an, hr, Ui, Zi, $i, It, Jc, qc, Kc, Qc, el, P1, Lm = (P1 = c
2488
2488
  this.hasListeners() || (n = L(this, Nt)) == null || n.removeObserver(this);
2489
2489
  }
2490
2490
  onMutationUpdate(n) {
2491
- ye(this, Yn, bs).call(this), ye(this, Yn, tl).call(this, n);
2491
+ ye(this, Jn, bs).call(this), ye(this, Jn, tl).call(this, n);
2492
2492
  }
2493
2493
  getCurrentResult() {
2494
2494
  return L(this, mr);
2495
2495
  }
2496
2496
  reset() {
2497
2497
  var n;
2498
- (n = L(this, Nt)) == null || n.removeObserver(this), te(this, Nt, void 0), ye(this, Yn, bs).call(this), ye(this, Yn, tl).call(this);
2498
+ (n = L(this, Nt)) == null || n.removeObserver(this), te(this, Nt, void 0), ye(this, Jn, bs).call(this), ye(this, Jn, tl).call(this);
2499
2499
  }
2500
2500
  mutate(n, r) {
2501
2501
  var o;
2502
- return te(this, zn, r), (o = L(this, Nt)) == null || o.removeObserver(this), te(this, Nt, L(this, gr).getMutationCache().build(L(this, gr), this.options)), L(this, Nt).addObserver(this), L(this, Nt).execute(n);
2502
+ return te(this, Xn, r), (o = L(this, Nt)) == null || o.removeObserver(this), te(this, Nt, L(this, gr).getMutationCache().build(L(this, gr), this.options)), L(this, Nt).addObserver(this), L(this, Nt).execute(n);
2503
2503
  }
2504
- }, gr = new WeakMap(), mr = new WeakMap(), Nt = new WeakMap(), zn = new WeakMap(), Yn = new WeakSet(), bs = function() {
2504
+ }, gr = new WeakMap(), mr = new WeakMap(), Nt = new WeakMap(), Xn = new WeakMap(), Jn = new WeakSet(), bs = function() {
2505
2505
  var r;
2506
2506
  const n = ((r = L(this, Nt)) == null ? void 0 : r.state) ?? ff();
2507
2507
  te(this, mr, {
@@ -2516,9 +2516,9 @@ var Yr, sn, Ho, Wo, an, hr, Ui, Zi, $i, It, Jc, qc, Kc, Qc, el, P1, Lm = (P1 = c
2516
2516
  }, tl = function(n) {
2517
2517
  ct.batch(() => {
2518
2518
  var r, o, i, s, a, c, u, d;
2519
- if (L(this, zn) && this.hasListeners()) {
2519
+ if (L(this, Xn) && this.hasListeners()) {
2520
2520
  const p = L(this, mr).variables, b = L(this, mr).context;
2521
- (n == null ? void 0 : n.type) === "success" ? ((o = (r = L(this, zn)).onSuccess) == null || o.call(r, n.data, p, b), (s = (i = L(this, zn)).onSettled) == null || s.call(i, n.data, null, p, b)) : (n == null ? void 0 : n.type) === "error" && ((c = (a = L(this, zn)).onError) == null || c.call(a, n.error, p, b), (d = (u = L(this, zn)).onSettled) == null || d.call(
2521
+ (n == null ? void 0 : n.type) === "success" ? ((o = (r = L(this, Xn)).onSuccess) == null || o.call(r, n.data, p, b), (s = (i = L(this, Xn)).onSettled) == null || s.call(i, n.data, null, p, b)) : (n == null ? void 0 : n.type) === "error" && ((c = (a = L(this, Xn)).onError) == null || c.call(a, n.error, p, b), (d = (u = L(this, Xn)).onSettled) == null || d.call(
2522
2522
  u,
2523
2523
  void 0,
2524
2524
  n.error,
@@ -2532,7 +2532,7 @@ var Yr, sn, Ho, Wo, an, hr, Ui, Zi, $i, It, Jc, qc, Kc, Qc, el, P1, Lm = (P1 = c
2532
2532
  });
2533
2533
  }, B1), gf = S.createContext(
2534
2534
  void 0
2535
- ), Nn = (e) => {
2535
+ ), jn = (e) => {
2536
2536
  const t = S.useContext(gf);
2537
2537
  if (!t)
2538
2538
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
@@ -2584,7 +2584,7 @@ function Nm({
2584
2584
  queries: e,
2585
2585
  ...t
2586
2586
  }, n) {
2587
- const r = Nn(), o = bf(), i = xf(), s = S.useMemo(
2587
+ const r = jn(), o = bf(), i = xf(), s = S.useMemo(
2588
2588
  () => e.map((h) => {
2589
2589
  const f = r.defaultQueryOptions(
2590
2590
  h
@@ -2658,7 +2658,7 @@ function _f(e, t, n) {
2658
2658
  throw new Error(
2659
2659
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
2660
2660
  );
2661
- const r = Nn(), o = bf(), i = xf(), s = r.defaultQueryOptions(e);
2661
+ const r = jn(), o = bf(), i = xf(), s = r.defaultQueryOptions(e);
2662
2662
  (b = (p = r.getDefaultOptions().queries) == null ? void 0 : p._experimental_beforeQuery) == null || b.call(
2663
2663
  p,
2664
2664
  s
@@ -2715,7 +2715,7 @@ function qt(e, t) {
2715
2715
  return _f(e, ga);
2716
2716
  }
2717
2717
  function vn(e, t) {
2718
- const n = Nn(), [r] = S.useState(
2718
+ const n = jn(), [r] = S.useState(
2719
2719
  () => new Om(
2720
2720
  n,
2721
2721
  e
@@ -3088,7 +3088,7 @@ function kf(e, t) {
3088
3088
  return o;
3089
3089
  return null;
3090
3090
  }
3091
- const Vr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Ce, Df = (e) => !Ri(e) && e !== Vr;
3091
+ const Vr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : Ee, Df = (e) => !Ri(e) && e !== Vr;
3092
3092
  function ul() {
3093
3093
  const { caseless: e } = Df(this) && this || {}, t = {}, n = (r, o) => {
3094
3094
  const i = e && kf(t, o) || o;
@@ -3273,10 +3273,10 @@ var B = {
3273
3273
  setImmediate: Mf,
3274
3274
  asap: U3
3275
3275
  };
3276
- function Se(e, t, n, r, o) {
3276
+ function Te(e, t, n, r, o) {
3277
3277
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
3278
3278
  }
3279
- B.inherits(Se, Error, {
3279
+ B.inherits(Te, Error, {
3280
3280
  toJSON: function() {
3281
3281
  return {
3282
3282
  // Standard
@@ -3297,7 +3297,7 @@ B.inherits(Se, Error, {
3297
3297
  };
3298
3298
  }
3299
3299
  });
3300
- const Pf = Se.prototype, Bf = {};
3300
+ const Pf = Te.prototype, Bf = {};
3301
3301
  [
3302
3302
  "ERR_BAD_OPTION_VALUE",
3303
3303
  "ERR_BAD_OPTION",
@@ -3315,13 +3315,13 @@ const Pf = Se.prototype, Bf = {};
3315
3315
  ].forEach((e) => {
3316
3316
  Bf[e] = { value: e };
3317
3317
  });
3318
- Object.defineProperties(Se, Bf);
3318
+ Object.defineProperties(Te, Bf);
3319
3319
  Object.defineProperty(Pf, "isAxiosError", { value: !0 });
3320
- Se.from = (e, t, n, r, o, i) => {
3320
+ Te.from = (e, t, n, r, o, i) => {
3321
3321
  const s = Object.create(Pf);
3322
3322
  return B.toFlatObject(e, s, function(c) {
3323
3323
  return c !== Error.prototype;
3324
- }, (a) => a !== "isAxiosError"), Se.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
3324
+ }, (a) => a !== "isAxiosError"), Te.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
3325
3325
  };
3326
3326
  var Z3 = null;
3327
3327
  function dl(e) {
@@ -3359,7 +3359,7 @@ function Ea(e, t, n) {
3359
3359
  if (B.isDate(m))
3360
3360
  return m.toISOString();
3361
3361
  if (!c && B.isBlob(m))
3362
- throw new Se("Blob is not supported. Use a Buffer instead.");
3362
+ throw new Te("Blob is not supported. Use a Buffer instead.");
3363
3363
  return B.isArrayBuffer(m) || B.isTypedArray(m) ? c && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
3364
3364
  }
3365
3365
  function d(m, h, f) {
@@ -3607,7 +3607,7 @@ const lu = {
3607
3607
  return JSON.parse(t);
3608
3608
  } catch (a) {
3609
3609
  if (s)
3610
- throw a.name === "SyntaxError" ? Se.from(a, Se.ERR_BAD_RESPONSE, this, null, this.response) : a;
3610
+ throw a.name === "SyntaxError" ? Te.from(a, Te.ERR_BAD_RESPONSE, this, null, this.response) : a;
3611
3611
  }
3612
3612
  }
3613
3613
  return t;
@@ -3846,16 +3846,16 @@ function Zf(e) {
3846
3846
  return !!(e && e.__CANCEL__);
3847
3847
  }
3848
3848
  function qo(e, t, n) {
3849
- Se.call(this, e ?? "canceled", Se.ERR_CANCELED, t, n), this.name = "CanceledError";
3849
+ Te.call(this, e ?? "canceled", Te.ERR_CANCELED, t, n), this.name = "CanceledError";
3850
3850
  }
3851
- B.inherits(qo, Se, {
3851
+ B.inherits(qo, Te, {
3852
3852
  __CANCEL__: !0
3853
3853
  });
3854
3854
  function $f(e, t, n) {
3855
3855
  const r = n.config.validateStatus;
3856
- !n.status || !r || r(n.status) ? e(n) : t(new Se(
3856
+ !n.status || !r || r(n.status) ? e(n) : t(new Te(
3857
3857
  "Request failed with status code " + n.status,
3858
- [Se.ERR_BAD_REQUEST, Se.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
3858
+ [Te.ERR_BAD_REQUEST, Te.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
3859
3859
  n.config,
3860
3860
  n.request,
3861
3861
  n
@@ -4108,15 +4108,15 @@ var E4 = C4 && function(e) {
4108
4108
  "onloadend" in f ? f.onloadend = g : f.onreadystatechange = function() {
4109
4109
  !f || f.readyState !== 4 || f.status === 0 && !(f.responseURL && f.responseURL.indexOf("file:") === 0) || setTimeout(g);
4110
4110
  }, f.onabort = function() {
4111
- f && (r(new Se("Request aborted", Se.ECONNABORTED, e, f)), f = null);
4111
+ f && (r(new Te("Request aborted", Te.ECONNABORTED, e, f)), f = null);
4112
4112
  }, f.onerror = function() {
4113
- r(new Se("Network Error", Se.ERR_NETWORK, e, f)), f = null;
4113
+ r(new Te("Network Error", Te.ERR_NETWORK, e, f)), f = null;
4114
4114
  }, f.ontimeout = function() {
4115
4115
  let E = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
4116
4116
  const C = o.transitional || Wf;
4117
- o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new Se(
4117
+ o.timeoutErrorMessage && (E = o.timeoutErrorMessage), r(new Te(
4118
4118
  E,
4119
- C.clarifyTimeoutError ? Se.ETIMEDOUT : Se.ECONNABORTED,
4119
+ C.clarifyTimeoutError ? Te.ETIMEDOUT : Te.ECONNABORTED,
4120
4120
  e,
4121
4121
  f
4122
4122
  )), f = null;
@@ -4127,7 +4127,7 @@ var E4 = C4 && function(e) {
4127
4127
  }, o.cancelToken && o.cancelToken.subscribe(d), o.signal && (o.signal.aborted ? d() : o.signal.addEventListener("abort", d)));
4128
4128
  const x = h4(o.url);
4129
4129
  if (x && Gt.protocols.indexOf(x) === -1) {
4130
- r(new Se("Unsupported protocol " + x + ":", Se.ERR_BAD_REQUEST, e));
4130
+ r(new Te("Unsupported protocol " + x + ":", Te.ERR_BAD_REQUEST, e));
4131
4131
  return;
4132
4132
  }
4133
4133
  f.send(i || null);
@@ -4141,11 +4141,11 @@ const w4 = (e, t) => {
4141
4141
  if (!o) {
4142
4142
  o = !0, a();
4143
4143
  const d = u instanceof Error ? u : this.reason;
4144
- r.abort(d instanceof Se ? d : new qo(d instanceof Error ? d.message : d));
4144
+ r.abort(d instanceof Te ? d : new qo(d instanceof Error ? d.message : d));
4145
4145
  }
4146
4146
  };
4147
4147
  let s = t && setTimeout(() => {
4148
- s = null, i(new Se(`timeout ${t} of ms exceeded`, Se.ETIMEDOUT));
4148
+ s = null, i(new Te(`timeout ${t} of ms exceeded`, Te.ETIMEDOUT));
4149
4149
  }, t);
4150
4150
  const a = () => {
4151
4151
  e && (s && clearTimeout(s), s = null, e.forEach((u) => {
@@ -4237,7 +4237,7 @@ const _4 = function* (e, t) {
4237
4237
  Ia && ((e) => {
4238
4238
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
4239
4239
  !Zs[t] && (Zs[t] = B.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
4240
- throw new Se(`Response type '${t}' is not supported`, Se.ERR_NOT_SUPPORT, r);
4240
+ throw new Te(`Response type '${t}' is not supported`, Te.ERR_NOT_SUPPORT, r);
4241
4241
  });
4242
4242
  });
4243
4243
  })(new Response());
@@ -4338,11 +4338,11 @@ var F4 = Ia && (async (e) => {
4338
4338
  });
4339
4339
  } catch (g) {
4340
4340
  throw h && h(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
4341
- new Se("Network Error", Se.ERR_NETWORK, e, m),
4341
+ new Te("Network Error", Te.ERR_NETWORK, e, m),
4342
4342
  {
4343
4343
  cause: g.cause || g
4344
4344
  }
4345
- ) : Se.from(g, g && g.code, e, m);
4345
+ ) : Te.from(g, g && g.code, e, m);
4346
4346
  }
4347
4347
  });
4348
4348
  const hl = {
@@ -4370,7 +4370,7 @@ var qf = {
4370
4370
  n = e[i];
4371
4371
  let s;
4372
4372
  if (r = n, !k4(n) && (r = hl[(s = String(n)).toLowerCase()], r === void 0))
4373
- throw new Se(`Unknown adapter '${s}'`);
4373
+ throw new Te(`Unknown adapter '${s}'`);
4374
4374
  if (r)
4375
4375
  break;
4376
4376
  o[s || "#" + i] = r;
@@ -4382,7 +4382,7 @@ var qf = {
4382
4382
  let s = t ? i.length > 1 ? `since :
4383
4383
  ` + i.map(Cd).join(`
4384
4384
  `) : " " + Cd(i[0]) : "as no adapter specified";
4385
- throw new Se(
4385
+ throw new Te(
4386
4386
  "There is no suitable adapter to dispatch the request " + s,
4387
4387
  "ERR_NOT_SUPPORT"
4388
4388
  );
@@ -4426,9 +4426,9 @@ du.transitional = function(t, n, r) {
4426
4426
  }
4427
4427
  return (i, s, a) => {
4428
4428
  if (t === !1)
4429
- throw new Se(
4429
+ throw new Te(
4430
4430
  o(s, " has been removed" + (n ? " in " + n : "")),
4431
- Se.ERR_DEPRECATED
4431
+ Te.ERR_DEPRECATED
4432
4432
  );
4433
4433
  return n && !wd[s] && (wd[s] = !0, console.warn(
4434
4434
  o(
@@ -4440,7 +4440,7 @@ du.transitional = function(t, n, r) {
4440
4440
  };
4441
4441
  function D4(e, t, n) {
4442
4442
  if (typeof e != "object")
4443
- throw new Se("options must be an object", Se.ERR_BAD_OPTION_VALUE);
4443
+ throw new Te("options must be an object", Te.ERR_BAD_OPTION_VALUE);
4444
4444
  const r = Object.keys(e);
4445
4445
  let o = r.length;
4446
4446
  for (; o-- > 0; ) {
@@ -4448,11 +4448,11 @@ function D4(e, t, n) {
4448
4448
  if (s) {
4449
4449
  const a = e[i], c = a === void 0 || s(a, i, e);
4450
4450
  if (c !== !0)
4451
- throw new Se("option " + i + " must be " + c, Se.ERR_BAD_OPTION_VALUE);
4451
+ throw new Te("option " + i + " must be " + c, Te.ERR_BAD_OPTION_VALUE);
4452
4452
  continue;
4453
4453
  }
4454
4454
  if (n !== !0)
4455
- throw new Se("Unknown option " + i, Se.ERR_BAD_OPTION);
4455
+ throw new Te("Unknown option " + i, Te.ERR_BAD_OPTION);
4456
4456
  }
4457
4457
  }
4458
4458
  var gl = {
@@ -4746,7 +4746,7 @@ ht.CancelToken = N4;
4746
4746
  ht.isCancel = Zf;
4747
4747
  ht.VERSION = Kf;
4748
4748
  ht.toFormData = Ea;
4749
- ht.AxiosError = Se;
4749
+ ht.AxiosError = Te;
4750
4750
  ht.Cancel = ht.CanceledError;
4751
4751
  ht.all = function(t) {
4752
4752
  return Promise.all(t);
@@ -4854,25 +4854,25 @@ var U4 = function() {
4854
4854
  };
4855
4855
  };
4856
4856
  Mt.getProdHqConfig = U4;
4857
- var Fn = {}, kn = {};
4858
- Object.defineProperty(kn, "__esModule", { value: !0 });
4859
- kn.removeValue = kn.getValue = kn.setValue = void 0;
4857
+ var kn = {}, Dn = {};
4858
+ Object.defineProperty(Dn, "__esModule", { value: !0 });
4859
+ Dn.removeValue = Dn.getValue = Dn.setValue = void 0;
4860
4860
  var pu = {};
4861
4861
  function Z4(e, t) {
4862
4862
  pu[e] = t;
4863
4863
  }
4864
- kn.setValue = Z4;
4864
+ Dn.setValue = Z4;
4865
4865
  function $4(e) {
4866
4866
  return pu[e];
4867
4867
  }
4868
- kn.getValue = $4;
4868
+ Dn.getValue = $4;
4869
4869
  function z4(e) {
4870
4870
  delete pu[e];
4871
4871
  }
4872
- kn.removeValue = z4;
4873
- Object.defineProperty(Fn, "__esModule", { value: !0 });
4874
- Fn.removeItemFromStorage = Fn.setItemInStorage = Fn.getItemFromStorage = void 0;
4875
- var Uo = Cr, Zo = kn, X4 = function(e, t) {
4872
+ Dn.removeValue = z4;
4873
+ Object.defineProperty(kn, "__esModule", { value: !0 });
4874
+ kn.removeItemFromStorage = kn.setItemInStorage = kn.getItemFromStorage = void 0;
4875
+ var Uo = Cr, Zo = Dn, X4 = function(e, t) {
4876
4876
  switch (t === void 0 && (t = (0, Zo.getValue)("PLATFORM")), t) {
4877
4877
  case Uo.PLATFORM.WEB:
4878
4878
  return sessionStorage.getItem(e);
@@ -4882,7 +4882,7 @@ var Uo = Cr, Zo = kn, X4 = function(e, t) {
4882
4882
  throw Error("Invalid PLATFORM ".concat(t));
4883
4883
  }
4884
4884
  };
4885
- Fn.getItemFromStorage = X4;
4885
+ kn.getItemFromStorage = X4;
4886
4886
  var Y4 = function(e, t, n) {
4887
4887
  switch (n === void 0 && (n = (0, Zo.getValue)("PLATFORM")), n) {
4888
4888
  case Uo.PLATFORM.WEB:
@@ -4893,7 +4893,7 @@ var Y4 = function(e, t, n) {
4893
4893
  throw Error("Invalid PLATFORM ".concat(n));
4894
4894
  }
4895
4895
  };
4896
- Fn.setItemInStorage = Y4;
4896
+ kn.setItemInStorage = Y4;
4897
4897
  var J4 = function(e, t) {
4898
4898
  switch (t === void 0 && (t = (0, Zo.getValue)("PLATFORM")), t) {
4899
4899
  case Uo.PLATFORM.WEB:
@@ -4906,8 +4906,8 @@ var J4 = function(e, t) {
4906
4906
  throw Error("Invalid PLATFORM ".concat(t));
4907
4907
  }
4908
4908
  };
4909
- Fn.removeItemFromStorage = J4;
4910
- var q4 = Ce && Ce.__awaiter || function(e, t, n, r) {
4909
+ kn.removeItemFromStorage = J4;
4910
+ var q4 = Ee && Ee.__awaiter || function(e, t, n, r) {
4911
4911
  function o(i) {
4912
4912
  return i instanceof n ? i : new n(function(s) {
4913
4913
  s(i);
@@ -4933,7 +4933,7 @@ var q4 = Ce && Ce.__awaiter || function(e, t, n, r) {
4933
4933
  }
4934
4934
  u((r = r.apply(e, t || [])).next());
4935
4935
  });
4936
- }, K4 = Ce && Ce.__generator || function(e, t) {
4936
+ }, K4 = Ee && Ee.__generator || function(e, t) {
4937
4937
  var n = { label: 0, sent: function() {
4938
4938
  if (i[0] & 1) throw i[1];
4939
4939
  return i[1];
@@ -4995,7 +4995,7 @@ var q4 = Ce && Ce.__awaiter || function(e, t, n, r) {
4995
4995
  };
4996
4996
  Object.defineProperty(We, "__esModule", { value: !0 });
4997
4997
  We.expireToken = We.invalidateToken = We.validateToken = We.validateAccount = We.getConfig = We.introduceDelay = We.isTokenInExpiryWindow = We.getStoredAuthData = We.setUserDetails = We.getRefreshInterval = We.setTokenAndExpiry = We.getRandomDelay = We.hasValidToken = void 0;
4998
- var Xn = Cr, bo = Mt, $t = Fn, hu = function() {
4998
+ var Yn = Cr, bo = Mt, $t = kn, hu = function() {
4999
4999
  var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
5000
5000
  return t;
5001
5001
  }, gu = function(e) {
@@ -5071,13 +5071,13 @@ var ab = function(e) {
5071
5071
  We.introduceDelay = ab;
5072
5072
  var cb = function(e, t, n) {
5073
5073
  switch (n === void 0 && (n = !0), t) {
5074
- case Xn.TIERS.SIT:
5075
- case Xn.TIERS.QA:
5074
+ case Yn.TIERS.SIT:
5075
+ case Yn.TIERS.QA:
5076
5076
  return n ? (0, bo.getSitApiConfig)(e) : (0, bo.getSitHqConfig)(e);
5077
- case Xn.TIERS.PRODUCTION:
5078
- case Xn.TIERS.PROD:
5077
+ case Yn.TIERS.PRODUCTION:
5078
+ case Yn.TIERS.PROD:
5079
5079
  return n ? (0, bo.getProdApiConfig)() : (0, bo.getProdHqConfig)();
5080
- case Xn.TIERS.DEV:
5080
+ case Yn.TIERS.DEV:
5081
5081
  default:
5082
5082
  return n ? (0, bo.getDevApiConfig)() : (0, bo.getDevHqConfig)();
5083
5083
  }
@@ -5087,11 +5087,11 @@ var lb = function() {
5087
5087
  try {
5088
5088
  var e = (0, $t.getItemFromStorage)("hiverAuthTokenExpiry");
5089
5089
  if (!e)
5090
- return Xn.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY;
5090
+ return Yn.RETRY_DELAY_IN_CASE_OF_CORRUPTED_EXPIRY;
5091
5091
  var t = new Date(e), n = hu();
5092
- return t.getTime() - n.getTime() > Xn.TWO_MINUTES_IN_MS ? t.getTime() - Xn.TWO_MINUTES_IN_MS : t.getTime() - n.getTime();
5092
+ return t.getTime() - n.getTime() > Yn.TWO_MINUTES_IN_MS ? t.getTime() - Yn.TWO_MINUTES_IN_MS : t.getTime() - n.getTime();
5093
5093
  } catch (r) {
5094
- return console.error("Heimdall: Error in getRefreshInterval", r), Xn.REFETCH_CHECK_DELAY;
5094
+ return console.error("Heimdall: Error in getRefreshInterval", r), Yn.REFETCH_CHECK_DELAY;
5095
5095
  }
5096
5096
  };
5097
5097
  We.getRefreshInterval = lb;
@@ -5099,7 +5099,7 @@ var ai = {}, fn = {}, Id;
5099
5099
  function np() {
5100
5100
  if (Id) return fn;
5101
5101
  Id = 1;
5102
- var e = Ce && Ce.__awaiter || function(m, h, f, g) {
5102
+ var e = Ee && Ee.__awaiter || function(m, h, f, g) {
5103
5103
  function x(y) {
5104
5104
  return y instanceof f ? y : new f(function(E) {
5105
5105
  E(y);
@@ -5125,7 +5125,7 @@ function np() {
5125
5125
  }
5126
5126
  _((g = g.apply(m, h || [])).next());
5127
5127
  });
5128
- }, t = Ce && Ce.__generator || function(m, h) {
5128
+ }, t = Ee && Ee.__generator || function(m, h) {
5129
5129
  var f = { label: 0, sent: function() {
5130
5130
  if (y[0] & 1) throw y[1];
5131
5131
  return y[1];
@@ -5332,7 +5332,7 @@ function np() {
5332
5332
  };
5333
5333
  return fn.logoutFromHeimdall = v, fn;
5334
5334
  }
5335
- var _a = {}, ub = Ce && Ce.__awaiter || function(e, t, n, r) {
5335
+ var _a = {}, ub = Ee && Ee.__awaiter || function(e, t, n, r) {
5336
5336
  function o(i) {
5337
5337
  return i instanceof n ? i : new n(function(s) {
5338
5338
  s(i);
@@ -5358,7 +5358,7 @@ var _a = {}, ub = Ce && Ce.__awaiter || function(e, t, n, r) {
5358
5358
  }
5359
5359
  u((r = r.apply(e, t || [])).next());
5360
5360
  });
5361
- }, db = Ce && Ce.__generator || function(e, t) {
5361
+ }, db = Ee && Ee.__generator || function(e, t) {
5362
5362
  var n = { label: 0, sent: function() {
5363
5363
  if (i[0] & 1) throw i[1];
5364
5364
  return i[1];
@@ -5420,7 +5420,7 @@ var _a = {}, ub = Ce && Ce.__awaiter || function(e, t, n, r) {
5420
5420
  };
5421
5421
  Object.defineProperty(_a, "__esModule", { value: !0 });
5422
5422
  _a.subscribeToOnlineEvent = void 0;
5423
- var _d = Cr, fb = kn, pb = function(e, t) {
5423
+ var _d = Cr, fb = Dn, pb = function(e, t) {
5424
5424
  switch (t === void 0 && (t = (0, fb.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
5425
5425
  case _d.PLATFORM.WEB:
5426
5426
  return window.addEventListener("online", function() {
@@ -5447,7 +5447,7 @@ var Ad;
5447
5447
  function rp() {
5448
5448
  if (Ad) return ai;
5449
5449
  Ad = 1;
5450
- var e = Ce && Ce.__awaiter || function(m, h, f, g) {
5450
+ var e = Ee && Ee.__awaiter || function(m, h, f, g) {
5451
5451
  function x(y) {
5452
5452
  return y instanceof f ? y : new f(function(E) {
5453
5453
  E(y);
@@ -5473,7 +5473,7 @@ function rp() {
5473
5473
  }
5474
5474
  _((g = g.apply(m, h || [])).next());
5475
5475
  });
5476
- }, t = Ce && Ce.__generator || function(m, h) {
5476
+ }, t = Ee && Ee.__generator || function(m, h) {
5477
5477
  var f = { label: 0, sent: function() {
5478
5478
  if (y[0] & 1) throw y[1];
5479
5479
  return y[1];
@@ -5683,7 +5683,7 @@ var Sd;
5683
5683
  function op() {
5684
5684
  if (Sd) return Nr;
5685
5685
  Sd = 1;
5686
- var e = Ce && Ce.__assign || function() {
5686
+ var e = Ee && Ee.__assign || function() {
5687
5687
  return e = Object.assign || function(h) {
5688
5688
  for (var f, g = 1, x = arguments.length; g < x; g++) {
5689
5689
  f = arguments[g];
@@ -5691,7 +5691,7 @@ function op() {
5691
5691
  }
5692
5692
  return h;
5693
5693
  }, e.apply(this, arguments);
5694
- }, t = Ce && Ce.__awaiter || function(h, f, g, x) {
5694
+ }, t = Ee && Ee.__awaiter || function(h, f, g, x) {
5695
5695
  function y(E) {
5696
5696
  return E instanceof g ? E : new g(function(C) {
5697
5697
  C(E);
@@ -5717,7 +5717,7 @@ function op() {
5717
5717
  }
5718
5718
  I((x = x.apply(h, f || [])).next());
5719
5719
  });
5720
- }, n = Ce && Ce.__generator || function(h, f) {
5720
+ }, n = Ee && Ee.__generator || function(h, f) {
5721
5721
  var g = { label: 0, sent: function() {
5722
5722
  if (E[0] & 1) throw E[1];
5723
5723
  return E[1];
@@ -5778,7 +5778,7 @@ function op() {
5778
5778
  }
5779
5779
  };
5780
5780
  Object.defineProperty(Nr, "__esModule", { value: !0 }), Nr.hiverAxiosCall = Nr.performAxiosCall = void 0;
5781
- var r = ep, o = We, i = rp(), s = Fn, a = Cr, c, u = 2, d = function(h, f) {
5781
+ var r = ep, o = We, i = rp(), s = kn, a = Cr, c, u = 2, d = function(h, f) {
5782
5782
  var g = f.fetchCsrfToken();
5783
5783
  h.formData ? h.formData.append("_csrf_token", g) : (h.data = h.data || {}, h.data._csrf_token = g);
5784
5784
  }, p = function(h, f) {
@@ -5943,7 +5943,7 @@ var vb = function() {
5943
5943
  };
5944
5944
  };
5945
5945
  Pt.getProdHqConfig = vb;
5946
- var yb = Ce && Ce.__awaiter || function(e, t, n, r) {
5946
+ var yb = Ee && Ee.__awaiter || function(e, t, n, r) {
5947
5947
  function o(i) {
5948
5948
  return i instanceof n ? i : new n(function(s) {
5949
5949
  s(i);
@@ -5969,7 +5969,7 @@ var yb = Ce && Ce.__awaiter || function(e, t, n, r) {
5969
5969
  }
5970
5970
  u((r = r.apply(e, t || [])).next());
5971
5971
  });
5972
- }, Cb = Ce && Ce.__generator || function(e, t) {
5972
+ }, Cb = Ee && Ee.__generator || function(e, t) {
5973
5973
  var n = { label: 0, sent: function() {
5974
5974
  if (i[0] & 1) throw i[1];
5975
5975
  return i[1];
@@ -6114,11 +6114,11 @@ var Rb = function(e, t, n) {
6114
6114
  }
6115
6115
  };
6116
6116
  qe.getConfig = Rb;
6117
- var li = {}, Wn = {}, Td;
6117
+ var li = {}, Un = {}, Td;
6118
6118
  function Ob() {
6119
- if (Td) return Wn;
6119
+ if (Td) return Un;
6120
6120
  Td = 1;
6121
- var e = Ce && Ce.__awaiter || function(b, v, m, h) {
6121
+ var e = Ee && Ee.__awaiter || function(b, v, m, h) {
6122
6122
  function f(g) {
6123
6123
  return g instanceof m ? g : new m(function(x) {
6124
6124
  x(g);
@@ -6144,7 +6144,7 @@ function Ob() {
6144
6144
  }
6145
6145
  C((h = h.apply(b, v || [])).next());
6146
6146
  });
6147
- }, t = Ce && Ce.__generator || function(b, v) {
6147
+ }, t = Ee && Ee.__generator || function(b, v) {
6148
6148
  var m = { label: 0, sent: function() {
6149
6149
  if (g[0] & 1) throw g[1];
6150
6150
  return g[1];
@@ -6204,7 +6204,7 @@ function Ob() {
6204
6204
  return { value: C[0] ? C[1] : void 0, done: !0 };
6205
6205
  }
6206
6206
  };
6207
- Object.defineProperty(Wn, "__esModule", { value: !0 }), Wn.getV2LoginCode = Wn.getLoginToken = Wn.getAccessToken = void 0;
6207
+ Object.defineProperty(Un, "__esModule", { value: !0 }), Un.getV2LoginCode = Un.getLoginToken = Un.getAccessToken = void 0;
6208
6208
  var n = at, r = cp(), o = qe, i = function(b, v, m) {
6209
6209
  var h = (0, o.getStoredAuthData)();
6210
6210
  return {
@@ -6266,7 +6266,7 @@ function Ob() {
6266
6266
  });
6267
6267
  });
6268
6268
  };
6269
- Wn.getAccessToken = u;
6269
+ Un.getAccessToken = u;
6270
6270
  var d = function(b, v, m) {
6271
6271
  return e(void 0, void 0, void 0, function() {
6272
6272
  var h, f, g, x, y, E, C;
@@ -6291,7 +6291,7 @@ function Ob() {
6291
6291
  });
6292
6292
  });
6293
6293
  };
6294
- Wn.getLoginToken = d;
6294
+ Un.getLoginToken = d;
6295
6295
  var p = function(b, v, m) {
6296
6296
  return e(void 0, void 0, void 0, function() {
6297
6297
  var h, f, g;
@@ -6309,13 +6309,13 @@ function Ob() {
6309
6309
  });
6310
6310
  });
6311
6311
  };
6312
- return Wn.getV2LoginCode = p, Wn;
6312
+ return Un.getV2LoginCode = p, Un;
6313
6313
  }
6314
6314
  var Ld;
6315
6315
  function ap() {
6316
6316
  if (Ld) return li;
6317
6317
  Ld = 1;
6318
- var e = Ce && Ce.__awaiter || function(v, m, h, f) {
6318
+ var e = Ee && Ee.__awaiter || function(v, m, h, f) {
6319
6319
  function g(x) {
6320
6320
  return x instanceof h ? x : new h(function(y) {
6321
6321
  y(x);
@@ -6341,7 +6341,7 @@ function ap() {
6341
6341
  }
6342
6342
  w((f = f.apply(v, m || [])).next());
6343
6343
  });
6344
- }, t = Ce && Ce.__generator || function(v, m) {
6344
+ }, t = Ee && Ee.__generator || function(v, m) {
6345
6345
  var h = { label: 0, sent: function() {
6346
6346
  if (x[0] & 1) throw x[1];
6347
6347
  return x[1];
@@ -6545,7 +6545,7 @@ var Rd;
6545
6545
  function cp() {
6546
6546
  if (Rd) return ci;
6547
6547
  Rd = 1;
6548
- var e = Ce && Ce.__assign || function() {
6548
+ var e = Ee && Ee.__assign || function() {
6549
6549
  return e = Object.assign || function(b) {
6550
6550
  for (var v, m = 1, h = arguments.length; m < h; m++) {
6551
6551
  v = arguments[m];
@@ -6553,7 +6553,7 @@ function cp() {
6553
6553
  }
6554
6554
  return b;
6555
6555
  }, e.apply(this, arguments);
6556
- }, t = Ce && Ce.__awaiter || function(b, v, m, h) {
6556
+ }, t = Ee && Ee.__awaiter || function(b, v, m, h) {
6557
6557
  function f(g) {
6558
6558
  return g instanceof m ? g : new m(function(x) {
6559
6559
  x(g);
@@ -6579,7 +6579,7 @@ function cp() {
6579
6579
  }
6580
6580
  C((h = h.apply(b, v || [])).next());
6581
6581
  });
6582
- }, n = Ce && Ce.__generator || function(b, v) {
6582
+ }, n = Ee && Ee.__generator || function(b, v) {
6583
6583
  var m = { label: 0, sent: function() {
6584
6584
  if (g[0] & 1) throw g[1];
6585
6585
  return g[1];
@@ -6694,7 +6694,7 @@ function cp() {
6694
6694
  return ci.makeAxiosCall = p, ci;
6695
6695
  }
6696
6696
  (function(e) {
6697
- var t = Ce && Ce.__awaiter || function(v, m, h, f) {
6697
+ var t = Ee && Ee.__awaiter || function(v, m, h, f) {
6698
6698
  function g(x) {
6699
6699
  return x instanceof h ? x : new h(function(y) {
6700
6700
  y(x);
@@ -6720,7 +6720,7 @@ function cp() {
6720
6720
  }
6721
6721
  w((f = f.apply(v, m || [])).next());
6722
6722
  });
6723
- }, n = Ce && Ce.__generator || function(v, m) {
6723
+ }, n = Ee && Ee.__generator || function(v, m) {
6724
6724
  var h = { label: 0, sent: function() {
6725
6725
  if (x[0] & 1) throw x[1];
6726
6726
  return x[1];
@@ -6787,7 +6787,7 @@ function cp() {
6787
6787
  } }), Object.defineProperty(e, "DEFAULT_INIT_CONFIG_HIVER", { enumerable: !0, get: function() {
6788
6788
  return i.DEFAULT_INIT_CONFIG_HIVER;
6789
6789
  } });
6790
- var s = np(), a = We, c = Fn, u = cp();
6790
+ var s = np(), a = We, c = kn, u = cp();
6791
6791
  Object.defineProperty(e, "makeAxiosCall", { enumerable: !0, get: function() {
6792
6792
  return u.makeAxiosCall;
6793
6793
  } });
@@ -6795,7 +6795,7 @@ function cp() {
6795
6795
  Object.defineProperty(e, "fetchToken", { enumerable: !0, get: function() {
6796
6796
  return d.fetchToken;
6797
6797
  } });
6798
- var p = kn, b = function() {
6798
+ var p = Dn, b = function() {
6799
6799
  function v(m, h, f, g, x, y) {
6800
6800
  f === void 0 && (f = i.TENANT_PLATFORM.GMAIL), g === void 0 && (g = null), x === void 0 && (x = !0), y === void 0 && (y = !1), this.setEnvironment(), this.appEnv = m, this.tier = h, this.tenantPlatform = f, this.authTokenFetchingInProgress = !1, this.getTokenForLogin = g, this.withCredentials = x, this.csrfToken = y;
6801
6801
  }
@@ -7254,7 +7254,7 @@ const c6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
7254
7254
  /* @__PURE__ */ l.jsx(x6, { rating: b, setRating: h })
7255
7255
  ] })
7256
7256
  ] }),
7257
- /* @__PURE__ */ l.jsx(K, { position: "relative", children: /* @__PURE__ */ l.jsx(Ee, { title: "Close", children: /* @__PURE__ */ l.jsx(h6, { onClick: f, children: /* @__PURE__ */ l.jsx(Nb, { width: "16px", height: "16px" }) }) }) })
7257
+ /* @__PURE__ */ l.jsx(K, { position: "relative", children: /* @__PURE__ */ l.jsx(we, { title: "Close", children: /* @__PURE__ */ l.jsx(h6, { onClick: f, children: /* @__PURE__ */ l.jsx(Nb, { width: "16px", height: "16px" }) }) }) })
7258
7258
  ]
7259
7259
  }
7260
7260
  ),
@@ -7318,7 +7318,7 @@ const c6 = (e) => /* @__PURE__ */ S.createElement("svg", { width: 20, height: 21
7318
7318
  /* @__PURE__ */ l.jsxs(_6, { gap: "4px", children: [
7319
7319
  /* @__PURE__ */ l.jsxs(N, { direction: "row", justifyContent: "space-between", children: [
7320
7320
  /* @__PURE__ */ l.jsx(L6, { variant: "body1_medium", children: y6 }),
7321
- /* @__PURE__ */ l.jsx(N, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ l.jsx(Ee, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { children: /* @__PURE__ */ l.jsx(S6, {}) }) }) })
7321
+ /* @__PURE__ */ l.jsx(N, { onClick: i, position: "absolute", top: "4px", right: "4px", children: /* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { children: /* @__PURE__ */ l.jsx(S6, {}) }) }) })
7322
7322
  ] }),
7323
7323
  /* @__PURE__ */ l.jsx(R6, { variant: "body2", children: C6 })
7324
7324
  ] }),
@@ -7764,7 +7764,7 @@ const G6 = A(K)`
7764
7764
  });
7765
7765
  }
7766
7766
  }
7767
- ], _ = Ae((T) => {
7767
+ ], _ = Se((T) => {
7768
7768
  const D = document.getElementById("connector-agent-container");
7769
7769
  if (!T || !D)
7770
7770
  return;
@@ -7804,10 +7804,10 @@ const G6 = A(K)`
7804
7804
  /* @__PURE__ */ l.jsx(zs, { variant: "body_sm_medium", children: C ? xu : hp })
7805
7805
  ] }),
7806
7806
  /* @__PURE__ */ l.jsxs(N, { direction: "row", children: [
7807
- /* @__PURE__ */ l.jsx(Ee, { title: Pb, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: I, id: "help-button", sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: k6, alt: "Help", height: "20px" }) }) }),
7807
+ /* @__PURE__ */ l.jsx(we, { title: Pb, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: I, id: "help-button", sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: k6, alt: "Help", height: "20px" }) }) }),
7808
7808
  t && (o != null && o.length) ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7809
- r ? /* @__PURE__ */ l.jsx(Ee, { title: xp, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: s, sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: j6, alt: "Link Task", height: "20px" }) }) }) : null,
7810
- n ? /* @__PURE__ */ l.jsx(Ee, { title: yu, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: i, sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: F6, alt: "Add", height: "20px" }) }) }) : null
7809
+ r ? /* @__PURE__ */ l.jsx(we, { title: xp, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: s, sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: j6, alt: "Link Task", height: "20px" }) }) }) : null,
7810
+ n ? /* @__PURE__ */ l.jsx(we, { title: yu, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: i, sx: sc, children: /* @__PURE__ */ l.jsx("img", { src: F6, alt: "Add", height: "20px" }) }) }) : null
7811
7811
  ] }) : null
7812
7812
  ] })
7813
7813
  ] })
@@ -8173,7 +8173,7 @@ function M9(e = xr) {
8173
8173
  }
8174
8174
  var P9 = /* @__PURE__ */ M9();
8175
8175
  _9(E9.useSyncExternalStoreWithSelector);
8176
- const Ft = P9.withTypes(), we = T9.withTypes(), Ve = {
8176
+ const Ft = P9.withTypes(), Ie = T9.withTypes(), Ve = {
8177
8177
  GET: "GET",
8178
8178
  POST: "POST",
8179
8179
  DELETE: "DELETE",
@@ -8477,7 +8477,7 @@ var zo = Object.getPrototypeOf;
8477
8477
  function oo(e) {
8478
8478
  return !!e && !!e[Kt];
8479
8479
  }
8480
- function Jn(e) {
8480
+ function qn(e) {
8481
8481
  var t;
8482
8482
  return e ? Pp(e) || Array.isArray(e) || !!e[Yd] || !!((t = e.constructor) != null && t[Yd]) || Ta(e) || La(e) : !1;
8483
8483
  }
@@ -8551,7 +8551,7 @@ function El(e, t) {
8551
8551
  }
8552
8552
  }
8553
8553
  function _u(e, t = !1) {
8554
- return Ra(e) || oo(e) || !Jn(e) || (Sa(e) > 1 && (e.set = e.add = e.clear = e.delete = nx), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => _u(r, !0))), e;
8554
+ return Ra(e) || oo(e) || !qn(e) || (Sa(e) > 1 && (e.set = e.add = e.clear = e.delete = nx), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => _u(r, !0))), e;
8555
8555
  }
8556
8556
  function nx() {
8557
8557
  Bt(2);
@@ -8598,7 +8598,7 @@ function ix(e) {
8598
8598
  function Kd(e, t) {
8599
8599
  t.unfinalizedDrafts_ = t.drafts_.length;
8600
8600
  const n = t.drafts_[0];
8601
- return e !== void 0 && e !== n ? (n[Kt].modified_ && (wl(t), Bt(4)), Jn(e) && (e = Js(t, e), t.parent_ || qs(t, e)), t.patches_ && io("Patches").generateReplacementPatches_(
8601
+ return e !== void 0 && e !== n ? (n[Kt].modified_ && (wl(t), Bt(4)), qn(e) && (e = Js(t, e), t.parent_ || qs(t, e)), t.patches_ && io("Patches").generateReplacementPatches_(
8602
8602
  n[Kt].base_,
8603
8603
  e,
8604
8604
  t.patches_,
@@ -8643,7 +8643,7 @@ function Qd(e, t, n, r, o, i, s) {
8643
8643
  else
8644
8644
  return;
8645
8645
  } else s && n.add(o);
8646
- if (Jn(o) && !Ra(o)) {
8646
+ if (qn(o) && !Ra(o)) {
8647
8647
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
8648
8648
  return;
8649
8649
  Js(e, o), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && qs(e, o);
@@ -8689,7 +8689,7 @@ var Au = {
8689
8689
  if (!Cl(n, t))
8690
8690
  return ax(e, n, t);
8691
8691
  const r = n[t];
8692
- return e.finalized_ || !Jn(r) ? r : r === uc(e.base_, t) ? (dc(e), e.copy_[t] = Al(r, e)) : r;
8692
+ return e.finalized_ || !qn(r) ? r : r === uc(e.base_, t) ? (dc(e), e.copy_[t] = Al(r, e)) : r;
8693
8693
  },
8694
8694
  has(e, t) {
8695
8695
  return t in Pr(e);
@@ -8794,7 +8794,7 @@ var cx = class {
8794
8794
  }
8795
8795
  typeof n != "function" && Bt(6), r !== void 0 && typeof r != "function" && Bt(7);
8796
8796
  let o;
8797
- if (Jn(t)) {
8797
+ if (qn(t)) {
8798
8798
  const i = qd(this), s = Al(t, void 0);
8799
8799
  let a = !0;
8800
8800
  try {
@@ -8821,7 +8821,7 @@ var cx = class {
8821
8821
  }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
8822
8822
  }
8823
8823
  createDraft(e) {
8824
- Jn(e) || Bt(8), oo(e) && (e = lx(e));
8824
+ qn(e) || Bt(8), oo(e) && (e = lx(e));
8825
8825
  const t = qd(this), n = Al(e, void 0);
8826
8826
  return n[Kt].isManual_ = !0, Il(t), n;
8827
8827
  }
@@ -8872,7 +8872,7 @@ function lx(e) {
8872
8872
  return oo(e) || Bt(10, e), Hp(e);
8873
8873
  }
8874
8874
  function Hp(e) {
8875
- if (!Jn(e) || Ra(e))
8875
+ if (!qn(e) || Ra(e))
8876
8876
  return e;
8877
8877
  const t = e[Kt];
8878
8878
  let n;
@@ -8977,7 +8977,7 @@ var zp = class bi extends Array {
8977
8977
  }
8978
8978
  };
8979
8979
  function e0(e) {
8980
- return Jn(e) ? Wp(e, () => {
8980
+ return qn(e) ? Wp(e, () => {
8981
8981
  }) : e;
8982
8982
  }
8983
8983
  function t0(e, t, n) {
@@ -9329,7 +9329,7 @@ function Sx(e, t) {
9329
9329
  const v = p(d, c);
9330
9330
  return v === void 0 ? d : v;
9331
9331
  } else {
9332
- if (Jn(d))
9332
+ if (qn(d))
9333
9333
  return Wp(d, (b) => p(b, c));
9334
9334
  {
9335
9335
  const b = p(d, c);
@@ -9724,7 +9724,7 @@ function os() {
9724
9724
  function Je(e) {
9725
9725
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
9726
9726
  }
9727
- const xn = "success", dt = "error", eh = "Some error occured. Please contact support@hiverhq.com", th = "Card refreshed successfully", Zx = "Card linked successfully", $x = "Error in linking the card", zx = "Card unlinked successfully", Xx = "Failed to unlink the card", Kn = "Something went wrong";
9727
+ const xn = "success", dt = "error", eh = "Some error occured. Please contact support@hiverhq.com", th = "Card refreshed successfully", Zx = "Card linked successfully", $x = "Error in linking the card", zx = "Card unlinked successfully", Xx = "Failed to unlink the card", Qn = "Something went wrong";
9728
9728
  function nh(e) {
9729
9729
  var t, n, r = "";
9730
9730
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -11466,14 +11466,14 @@ function En(e, t) {
11466
11466
  }
11467
11467
  var iy = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
11468
11468
  function Tu(e) {
11469
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, a = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, p = e.onMenuClose, b = e.onMenuOpen, v = e.value, m = En(e, iy), h = V(a !== void 0 ? a : n), f = bt(h, 2), g = f[0], x = f[1], y = V(c !== void 0 ? c : o), E = bt(y, 2), C = E[0], w = E[1], _ = V(v !== void 0 ? v : s), I = bt(_, 2), T = I[0], D = I[1], F = Ae(function(U, Q) {
11469
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, o = r === void 0 ? !1 : r, i = e.defaultValue, s = i === void 0 ? null : i, a = e.inputValue, c = e.menuIsOpen, u = e.onChange, d = e.onInputChange, p = e.onMenuClose, b = e.onMenuOpen, v = e.value, m = En(e, iy), h = V(a !== void 0 ? a : n), f = bt(h, 2), g = f[0], x = f[1], y = V(c !== void 0 ? c : o), E = bt(y, 2), C = E[0], w = E[1], _ = V(v !== void 0 ? v : s), I = bt(_, 2), T = I[0], D = I[1], F = Se(function(U, Q) {
11470
11470
  typeof u == "function" && u(U, Q), D(U);
11471
- }, [u]), O = Ae(function(U, Q) {
11471
+ }, [u]), O = Se(function(U, Q) {
11472
11472
  var ee;
11473
11473
  typeof d == "function" && (ee = d(U, Q)), x(ee !== void 0 ? ee : U);
11474
- }, [d]), j = Ae(function() {
11474
+ }, [d]), j = Se(function() {
11475
11475
  typeof b == "function" && b(), w(!0);
11476
- }, [b]), G = Ae(function() {
11476
+ }, [b]), G = Se(function() {
11477
11477
  typeof p == "function" && p(), w(!1);
11478
11478
  }, [p]), H = a !== void 0 ? a : g, J = c !== void 0 ? c : C, Z = v !== void 0 ? v : T;
11479
11479
  return de(de({}, m), {}, {
@@ -11637,7 +11637,7 @@ function wt(e, t) {
11637
11637
  function ji(e, t, n) {
11638
11638
  return e.slice(t, n);
11639
11639
  }
11640
- function Rn(e) {
11640
+ function On(e) {
11641
11641
  return e.length;
11642
11642
  }
11643
11643
  function Ou(e) {
@@ -11665,7 +11665,7 @@ function Sy() {
11665
11665
  function Jt() {
11666
11666
  return pt = Ht < _h ? wt(ei, Ht++) : 0, Xo++, pt === 10 && (Xo = 1, Ma++), pt;
11667
11667
  }
11668
- function Dn() {
11668
+ function Nn() {
11669
11669
  return wt(ei, Ht);
11670
11670
  }
11671
11671
  function Is() {
@@ -11707,7 +11707,7 @@ function Mi(e) {
11707
11707
  return 0;
11708
11708
  }
11709
11709
  function Ah(e) {
11710
- return Ma = Xo = 1, _h = Rn(ei = e), Ht = 0, [];
11710
+ return Ma = Xo = 1, _h = On(ei = e), Ht = 0, [];
11711
11711
  }
11712
11712
  function Sh(e) {
11713
11713
  return ei = "", e;
@@ -11716,14 +11716,14 @@ function _s(e) {
11716
11716
  return Ih(qi(Ht - 1, Nl(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
11717
11717
  }
11718
11718
  function Ty(e) {
11719
- for (; (pt = Dn()) && pt < 33; )
11719
+ for (; (pt = Nn()) && pt < 33; )
11720
11720
  Jt();
11721
11721
  return Mi(e) > 2 || Mi(pt) > 3 ? "" : " ";
11722
11722
  }
11723
11723
  function Ly(e, t) {
11724
11724
  for (; --t && Jt() && !(pt < 48 || pt > 102 || pt > 57 && pt < 65 || pt > 70 && pt < 97); )
11725
11725
  ;
11726
- return qi(e, Is() + (t < 6 && Dn() == 32 && Jt() == 32));
11726
+ return qi(e, Is() + (t < 6 && Nn() == 32 && Jt() == 32));
11727
11727
  }
11728
11728
  function Nl(e) {
11729
11729
  for (; Jt(); )
@@ -11745,12 +11745,12 @@ function Nl(e) {
11745
11745
  }
11746
11746
  function Ry(e, t) {
11747
11747
  for (; Jt() && e + pt !== 57; )
11748
- if (e + pt === 84 && Dn() === 47)
11748
+ if (e + pt === 84 && Nn() === 47)
11749
11749
  break;
11750
11750
  return "/*" + qi(t, Ht - 1) + "*" + ja(e === 47 ? e : Jt());
11751
11751
  }
11752
11752
  function Oy(e) {
11753
- for (; !Mi(Dn()); )
11753
+ for (; !Mi(Nn()); )
11754
11754
  Jt();
11755
11755
  return qi(e, Ht);
11756
11756
  }
@@ -11780,7 +11780,7 @@ function As(e, t, n, r, o, i, s, a, c) {
11780
11780
  _ += Ly(Is() - 1, 7);
11781
11781
  continue;
11782
11782
  case 47:
11783
- switch (Dn()) {
11783
+ switch (Nn()) {
11784
11784
  case 42:
11785
11785
  case 47:
11786
11786
  cs(ky(Ry(Jt(), Is()), t, n), c);
@@ -11790,7 +11790,7 @@ function As(e, t, n, r, o, i, s, a, c) {
11790
11790
  }
11791
11791
  break;
11792
11792
  case 123 * h:
11793
- a[u++] = Rn(_) * g;
11793
+ a[u++] = On(_) * g;
11794
11794
  case 125 * h:
11795
11795
  case 59:
11796
11796
  case 0:
@@ -11799,7 +11799,7 @@ function As(e, t, n, r, o, i, s, a, c) {
11799
11799
  case 125:
11800
11800
  f = 0;
11801
11801
  case 59 + d:
11802
- g == -1 && (_ = He(_, /\f/g, "")), v > 0 && Rn(_) - p && cs(v > 32 ? p0(_ + ";", r, n, p - 1) : p0(He(_, " ", "") + ";", r, n, p - 2), c);
11802
+ g == -1 && (_ = He(_, /\f/g, "")), v > 0 && On(_) - p && cs(v > 32 ? p0(_ + ";", r, n, p - 1) : p0(He(_, " ", "") + ";", r, n, p - 2), c);
11803
11803
  break;
11804
11804
  case 59:
11805
11805
  _ += ";";
@@ -11822,7 +11822,7 @@ function As(e, t, n, r, o, i, s, a, c) {
11822
11822
  u = d = v = 0, h = g = 1, y = _ = "", p = s;
11823
11823
  break;
11824
11824
  case 58:
11825
- p = 1 + Rn(_), v = m;
11825
+ p = 1 + On(_), v = m;
11826
11826
  default:
11827
11827
  if (h < 1) {
11828
11828
  if (x == 123)
@@ -11835,13 +11835,13 @@ function As(e, t, n, r, o, i, s, a, c) {
11835
11835
  g = d > 0 ? 1 : (_ += "\f", -1);
11836
11836
  break;
11837
11837
  case 44:
11838
- a[u++] = (Rn(_) - 1) * g, g = 1;
11838
+ a[u++] = (On(_) - 1) * g, g = 1;
11839
11839
  break;
11840
11840
  case 64:
11841
- Dn() === 45 && (_ += _s(Jt())), b = Dn(), d = p = Rn(y = _ += Oy(Is())), x++;
11841
+ Nn() === 45 && (_ += _s(Jt())), b = Nn(), d = p = On(y = _ += Oy(Is())), x++;
11842
11842
  break;
11843
11843
  case 45:
11844
- m === 45 && Rn(_) == 2 && (h = 0);
11844
+ m === 45 && On(_) == 2 && (h = 0);
11845
11845
  }
11846
11846
  }
11847
11847
  return i;
@@ -11877,7 +11877,7 @@ function Dy(e, t, n, r) {
11877
11877
  case Lu:
11878
11878
  e.value = e.props.join(",");
11879
11879
  }
11880
- return Rn(n = Ao(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
11880
+ return On(n = Ao(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
11881
11881
  }
11882
11882
  function Ny(e) {
11883
11883
  var t = Ou(e);
@@ -11899,7 +11899,7 @@ function My(e) {
11899
11899
  };
11900
11900
  }
11901
11901
  var Py = function(t, n, r) {
11902
- for (var o = 0, i = 0; o = i, i = Dn(), o === 38 && i === 12 && (n[r] = 1), !Mi(i); )
11902
+ for (var o = 0, i = 0; o = i, i = Nn(), o === 38 && i === 12 && (n[r] = 1), !Mi(i); )
11903
11903
  Jt();
11904
11904
  return qi(t, Ht);
11905
11905
  }, By = function(t, n) {
@@ -11907,14 +11907,14 @@ var Py = function(t, n, r) {
11907
11907
  do
11908
11908
  switch (Mi(o)) {
11909
11909
  case 0:
11910
- o === 38 && Dn() === 12 && (n[r] = 1), t[r] += Py(Ht - 1, n, r);
11910
+ o === 38 && Nn() === 12 && (n[r] = 1), t[r] += Py(Ht - 1, n, r);
11911
11911
  break;
11912
11912
  case 2:
11913
11913
  t[r] += _s(o);
11914
11914
  break;
11915
11915
  case 4:
11916
11916
  if (o === 44) {
11917
- t[++r] = Dn() === 58 ? "&\f" : "", n[r] = t[r].length;
11917
+ t[++r] = Nn() === 58 ? "&\f" : "", n[r] = t[r].length;
11918
11918
  break;
11919
11919
  }
11920
11920
  default:
@@ -12024,7 +12024,7 @@ function Th(e, t) {
12024
12024
  case 5789:
12025
12025
  case 5021:
12026
12026
  case 4765:
12027
- if (Rn(e) - 1 - t > 6) switch (wt(e, t + 1)) {
12027
+ if (On(e) - 1 - t > 6) switch (wt(e, t + 1)) {
12028
12028
  case 109:
12029
12029
  if (wt(e, t + 4) !== 45) break;
12030
12030
  case 102:
@@ -12036,7 +12036,7 @@ function Th(e, t) {
12036
12036
  case 4949:
12037
12037
  if (wt(e, t + 1) !== 115) break;
12038
12038
  case 6444:
12039
- switch (wt(e, Rn(e) - 3 - (~Dl(e, "!important") && 10))) {
12039
+ switch (wt(e, On(e) - 3 - (~Dl(e, "!important") && 10))) {
12040
12040
  case 107:
12041
12041
  return He(e, ":", ":" + Ge) + e;
12042
12042
  case 101:
@@ -12425,10 +12425,10 @@ var t8 = {
12425
12425
  case "animationName":
12426
12426
  if (typeof n == "string")
12427
12427
  return n.replace(o8, function(r, o, i) {
12428
- return On = {
12428
+ return Fn = {
12429
12429
  name: o,
12430
12430
  styles: i,
12431
- next: On
12431
+ next: Fn
12432
12432
  }, o;
12433
12433
  });
12434
12434
  }
@@ -12446,20 +12446,20 @@ function Pi(e, t, n) {
12446
12446
  case "object": {
12447
12447
  var o = n;
12448
12448
  if (o.anim === 1)
12449
- return On = {
12449
+ return Fn = {
12450
12450
  name: o.name,
12451
12451
  styles: o.styles,
12452
- next: On
12452
+ next: Fn
12453
12453
  }, o.name;
12454
12454
  var i = n;
12455
12455
  if (i.styles !== void 0) {
12456
12456
  var s = i.next;
12457
12457
  if (s !== void 0)
12458
12458
  for (; s !== void 0; )
12459
- On = {
12459
+ Fn = {
12460
12460
  name: s.name,
12461
12461
  styles: s.styles,
12462
- next: On
12462
+ next: Fn
12463
12463
  }, s = s.next;
12464
12464
  var a = i.styles + ";";
12465
12465
  return a;
@@ -12468,8 +12468,8 @@ function Pi(e, t, n) {
12468
12468
  }
12469
12469
  case "function": {
12470
12470
  if (e !== void 0) {
12471
- var c = On, u = n(e);
12472
- return On = c, Pi(e, t, u);
12471
+ var c = Fn, u = n(e);
12472
+ return Fn = c, Pi(e, t, u);
12473
12473
  }
12474
12474
  break;
12475
12475
  }
@@ -12510,12 +12510,12 @@ function s8(e, t, n) {
12510
12510
  }
12511
12511
  return r;
12512
12512
  }
12513
- var v0 = /label:\s*([^\s;{]+)\s*(;|$)/g, On;
12513
+ var v0 = /label:\s*([^\s;{]+)\s*(;|$)/g, Fn;
12514
12514
  function kh(e, t, n) {
12515
12515
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
12516
12516
  return e[0];
12517
12517
  var r = !0, o = "";
12518
- On = void 0;
12518
+ Fn = void 0;
12519
12519
  var i = e[0];
12520
12520
  if (i == null || i.raw === void 0)
12521
12521
  r = !1, o += Pi(n, t, i);
@@ -12535,7 +12535,7 @@ function kh(e, t, n) {
12535
12535
  return {
12536
12536
  name: p,
12537
12537
  styles: o,
12538
- next: On
12538
+ next: Fn
12539
12539
  };
12540
12540
  }
12541
12541
  var a8 = function(t) {
@@ -12646,7 +12646,7 @@ function Ba() {
12646
12646
  function Nh(e) {
12647
12647
  return Mh(e) ? (e.nodeName || "").toLowerCase() : "#document";
12648
12648
  }
12649
- function qn(e) {
12649
+ function Kn(e) {
12650
12650
  var t;
12651
12651
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
12652
12652
  }
@@ -12655,16 +12655,16 @@ function jh(e) {
12655
12655
  return (t = (Mh(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
12656
12656
  }
12657
12657
  function Mh(e) {
12658
- return Ba() ? e instanceof Node || e instanceof qn(e).Node : !1;
12658
+ return Ba() ? e instanceof Node || e instanceof Kn(e).Node : !1;
12659
12659
  }
12660
12660
  function E8(e) {
12661
- return Ba() ? e instanceof Element || e instanceof qn(e).Element : !1;
12661
+ return Ba() ? e instanceof Element || e instanceof Kn(e).Element : !1;
12662
12662
  }
12663
12663
  function Du(e) {
12664
- return Ba() ? e instanceof HTMLElement || e instanceof qn(e).HTMLElement : !1;
12664
+ return Ba() ? e instanceof HTMLElement || e instanceof Kn(e).HTMLElement : !1;
12665
12665
  }
12666
12666
  function y0(e) {
12667
- return !Ba() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof qn(e).ShadowRoot;
12667
+ return !Ba() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Kn(e).ShadowRoot;
12668
12668
  }
12669
12669
  function Ph(e) {
12670
12670
  const {
@@ -12682,7 +12682,7 @@ function I8(e) {
12682
12682
  return ["html", "body", "#document"].includes(Nh(e));
12683
12683
  }
12684
12684
  function Nu(e) {
12685
- return qn(e).getComputedStyle(e);
12685
+ return Kn(e).getComputedStyle(e);
12686
12686
  }
12687
12687
  function _8(e) {
12688
12688
  if (Nh(e) === "html")
@@ -12703,7 +12703,7 @@ function Bh(e) {
12703
12703
  function ra(e, t, n) {
12704
12704
  var r;
12705
12705
  t === void 0 && (t = []), n === void 0 && (n = !0);
12706
- const o = Bh(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = qn(o);
12706
+ const o = Bh(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = Kn(o);
12707
12707
  if (i) {
12708
12708
  const a = Pl(s);
12709
12709
  return t.concat(s, s.visualViewport || [], Ph(o) ? o : [], a && n ? ra(a) : []);
@@ -12743,7 +12743,7 @@ function C0(e) {
12743
12743
  }
12744
12744
  const S8 = /* @__PURE__ */ na(0);
12745
12745
  function T8(e) {
12746
- const t = qn(e);
12746
+ const t = Kn(e);
12747
12747
  return !w8() || !t.visualViewport ? S8 : {
12748
12748
  x: t.visualViewport.offsetLeft,
12749
12749
  y: t.visualViewport.offsetTop
@@ -12760,11 +12760,11 @@ function E0(e, t, n, r) {
12760
12760
  const a = L8() ? T8(i) : na(0);
12761
12761
  let c = (o.left + a.x) / s.x, u = (o.top + a.y) / s.y, d = o.width / s.x, p = o.height / s.y;
12762
12762
  if (i) {
12763
- const b = qn(i), v = r;
12763
+ const b = Kn(i), v = r;
12764
12764
  let m = b, h = Pl(m);
12765
12765
  for (; h && r && v !== m; ) {
12766
12766
  const f = C0(h), g = h.getBoundingClientRect(), x = Nu(h), y = g.left + (h.clientLeft + parseFloat(x.paddingLeft)) * f.x, E = g.top + (h.clientTop + parseFloat(x.paddingTop)) * f.y;
12767
- c *= f.x, u *= f.y, d *= f.x, p *= f.y, c += y, u += E, m = qn(h), h = Pl(m);
12767
+ c *= f.x, u *= f.y, d *= f.x, p *= f.y, c += y, u += E, m = Kn(h), h = Pl(m);
12768
12768
  }
12769
12769
  }
12770
12770
  return C8({
@@ -13165,7 +13165,7 @@ var Wh = function(t) {
13165
13165
  return {
13166
13166
  setPortalPlacement: v
13167
13167
  };
13168
- }, []), h = V(null), f = bt(h, 2), g = f[0], x = f[1], y = Ae(function() {
13168
+ }, []), h = V(null), f = bt(h, 2), g = f[0], x = f[1], y = Se(function() {
13169
13169
  if (o) {
13170
13170
  var _ = B8(o), I = a === "fixed" ? 0 : window.pageYOffset, T = _[b] + I;
13171
13171
  (T !== (g == null ? void 0 : g.offset) || _.left !== (g == null ? void 0 : g.rect.left) || _.width !== (g == null ? void 0 : g.rect.width)) && x({
@@ -13177,7 +13177,7 @@ var Wh = function(t) {
13177
13177
  Bl(function() {
13178
13178
  y();
13179
13179
  }, [y]);
13180
- var E = Ae(function() {
13180
+ var E = Se(function() {
13181
13181
  typeof u.current == "function" && (u.current(), u.current = null), o && c.current && (u.current = O8(o, c.current, y, {
13182
13182
  elementResize: "ResizeObserver" in window
13183
13183
  }));
@@ -13185,7 +13185,7 @@ var Wh = function(t) {
13185
13185
  Bl(function() {
13186
13186
  E();
13187
13187
  }, [E]);
13188
- var C = Ae(function(_) {
13188
+ var C = Se(function(_) {
13189
13189
  c.current = _, E();
13190
13190
  }, [E]);
13191
13191
  if (!n && a !== "fixed" || !g) return null;
@@ -13643,7 +13643,7 @@ var XC = function(t) {
13643
13643
  "single-value": !0,
13644
13644
  "single-value--is-disabled": r
13645
13645
  }), o), n);
13646
- }, o7 = r7, jn = {
13646
+ }, o7 = r7, Mn = {
13647
13647
  ClearIndicator: CC,
13648
13648
  Control: LC,
13649
13649
  DropdownIndicator: vC,
@@ -13670,7 +13670,7 @@ var XC = function(t) {
13670
13670
  SingleValue: o7,
13671
13671
  ValueContainer: dC
13672
13672
  }, i7 = function(t) {
13673
- return de(de({}, jn), t.components);
13673
+ return de(de({}, Mn), t.components);
13674
13674
  }, A0 = Number.isNaN || function(t) {
13675
13675
  return typeof t == "number" && t !== t;
13676
13676
  };
@@ -14155,26 +14155,26 @@ var C7 = function(t) {
14155
14155
  t.cancelable && t.preventDefault(), t.stopPropagation();
14156
14156
  };
14157
14157
  function E7(e) {
14158
- var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, o = e.onTopArrive, i = e.onTopLeave, s = ge(!1), a = ge(!1), c = ge(0), u = ge(null), d = Ae(function(f, g) {
14158
+ var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, o = e.onTopArrive, i = e.onTopLeave, s = ge(!1), a = ge(!1), c = ge(0), u = ge(null), d = Se(function(f, g) {
14159
14159
  if (u.current !== null) {
14160
14160
  var x = u.current, y = x.scrollTop, E = x.scrollHeight, C = x.clientHeight, w = u.current, _ = g > 0, I = E - C - y, T = !1;
14161
14161
  I > g && s.current && (r && r(f), s.current = !1), _ && a.current && (i && i(f), a.current = !1), _ && g > I ? (n && !s.current && n(f), w.scrollTop = E, T = !0, s.current = !0) : !_ && -g > y && (o && !a.current && o(f), w.scrollTop = 0, T = !0, a.current = !0), T && C7(f);
14162
14162
  }
14163
- }, [n, r, o, i]), p = Ae(function(f) {
14163
+ }, [n, r, o, i]), p = Se(function(f) {
14164
14164
  d(f, f.deltaY);
14165
- }, [d]), b = Ae(function(f) {
14165
+ }, [d]), b = Se(function(f) {
14166
14166
  c.current = f.changedTouches[0].clientY;
14167
- }, []), v = Ae(function(f) {
14167
+ }, []), v = Se(function(f) {
14168
14168
  var g = c.current - f.changedTouches[0].clientY;
14169
14169
  d(f, g);
14170
- }, [d]), m = Ae(function(f) {
14170
+ }, [d]), m = Se(function(f) {
14171
14171
  if (f) {
14172
14172
  var g = H8 ? {
14173
14173
  passive: !1
14174
14174
  } : !1;
14175
14175
  f.addEventListener("wheel", p, g), f.addEventListener("touchstart", b, g), f.addEventListener("touchmove", v, g);
14176
14176
  }
14177
- }, [v, b, p]), h = Ae(function(f) {
14177
+ }, [v, b, p]), h = Se(function(f) {
14178
14178
  f && (f.removeEventListener("wheel", p, !1), f.removeEventListener("touchstart", b, !1), f.removeEventListener("touchmove", v, !1));
14179
14179
  }, [v, b, p]);
14180
14180
  return ie(function() {
@@ -14213,7 +14213,7 @@ var N0 = !!(typeof window < "u" && window.document && window.document.createElem
14213
14213
  passive: !1
14214
14214
  };
14215
14215
  function w7(e) {
14216
- var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, o = ge({}), i = ge(null), s = Ae(function(c) {
14216
+ var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, o = ge({}), i = ge(null), s = Se(function(c) {
14217
14217
  if (N0) {
14218
14218
  var u = document.body, d = u && u.style;
14219
14219
  if (r && L0.forEach(function(m) {
@@ -14228,7 +14228,7 @@ function w7(e) {
14228
14228
  }
14229
14229
  u && D0() && (u.addEventListener("touchmove", O0, vo), c && (c.addEventListener("touchstart", k0, vo), c.addEventListener("touchmove", F0, vo))), fi += 1;
14230
14230
  }
14231
- }, [r]), a = Ae(function(c) {
14231
+ }, [r]), a = Se(function(c) {
14232
14232
  if (N0) {
14233
14233
  var u = document.body, d = u && u.style;
14234
14234
  fi = Math.max(fi - 1, 0), r && fi < 1 && L0.forEach(function(p) {
@@ -15471,7 +15471,7 @@ const q7 = A(K)`
15471
15471
  `;
15472
15472
  function l2(e) {
15473
15473
  const { data: t } = e;
15474
- return /* @__PURE__ */ l.jsx(jn.Option, { ...e, children: /* @__PURE__ */ l.jsxs(q7, { children: [
15474
+ return /* @__PURE__ */ l.jsx(Mn.Option, { ...e, children: /* @__PURE__ */ l.jsxs(q7, { children: [
15475
15475
  t.avatarUrl ? /* @__PURE__ */ l.jsx(K7, { className: "selectField__avatar", src: t.avatarUrl, alt: `${e.label}'s avatar` }) : null,
15476
15476
  /* @__PURE__ */ l.jsx("span", { children: e.children })
15477
15477
  ] }) });
@@ -15501,7 +15501,7 @@ const Q7 = A(K)`
15501
15501
  &:after {
15502
15502
  transform: rotate(-45deg);
15503
15503
  }
15504
- `, u2 = (e) => /* @__PURE__ */ l.jsx(jn.ClearIndicator, { ...e, children: /* @__PURE__ */ l.jsx(Q7, {}) }), d2 = (e, t) => ({
15504
+ `, u2 = (e) => /* @__PURE__ */ l.jsx(Mn.ClearIndicator, { ...e, children: /* @__PURE__ */ l.jsx(Q7, {}) }), d2 = (e, t) => ({
15505
15505
  ...e,
15506
15506
  placeholder: (n, r) => {
15507
15507
  var o;
@@ -15549,7 +15549,7 @@ const Q7 = A(K)`
15549
15549
  width: 0;
15550
15550
  height: 0;
15551
15551
  `, tE = ({ root: e, rootMargin: t, callback: n }) => {
15552
- const r = ge(null), o = Ae(
15552
+ const r = ge(null), o = Se(
15553
15553
  (i) => {
15554
15554
  if (!i || !e)
15555
15555
  return;
@@ -15589,7 +15589,7 @@ const Q7 = A(K)`
15589
15589
  return !n || !c ? !1 : n(c);
15590
15590
  } : void 0
15591
15591
  };
15592
- }, nE = (e) => /* @__PURE__ */ l.jsx(jn.DropdownIndicator, { ...e, children: /* @__PURE__ */ l.jsx(J1, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, {}) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, {}) }) }), p2 = () => ({
15592
+ }, nE = (e) => /* @__PURE__ */ l.jsx(Mn.DropdownIndicator, { ...e, children: /* @__PURE__ */ l.jsx(J1, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, {}) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, {}) }) }), p2 = () => ({
15593
15593
  ClearIndicator: u2,
15594
15594
  DropdownIndicator: nE,
15595
15595
  IndicatorSeparator: () => null,
@@ -15599,7 +15599,7 @@ const Q7 = A(K)`
15599
15599
  isScrollTarget: t,
15600
15600
  ...n
15601
15601
  }) => {
15602
- const { value: r, options: o, isMulti: i } = n, [s, a] = V(!1), c = Ae((p) => {
15602
+ const { value: r, options: o, isMulti: i } = n, [s, a] = V(!1), c = Se((p) => {
15603
15603
  a(!p.isIntersecting);
15604
15604
  }, []), { getValue: u, closeMenuOnScroll: d } = f2({ options: o, isMulti: i, isScrollTarget: t });
15605
15605
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -15630,7 +15630,7 @@ function g2(e) {
15630
15630
  m.current = !1;
15631
15631
  };
15632
15632
  }, []);
15633
- var je = Ae(function(gt, ft) {
15633
+ var je = Se(function(gt, ft) {
15634
15634
  if (!i) return ft();
15635
15635
  var rt = i(gt, ft);
15636
15636
  rt && typeof rt.then == "function" && rt.then(ft, function() {
@@ -15642,7 +15642,7 @@ function g2(e) {
15642
15642
  m.current && (x(gt || []), D(!!v.current));
15643
15643
  });
15644
15644
  }, []);
15645
- var Wt = Ae(function(gt, ft) {
15645
+ var Wt = Se(function(gt, ft) {
15646
15646
  var rt = N8(gt, ft, c);
15647
15647
  if (!rt) {
15648
15648
  v.current = void 0, w(""), G(""), U([]), D(!1), W(!1);
@@ -15656,9 +15656,9 @@ function g2(e) {
15656
15656
  m && _r === v.current && (v.current = void 0, D(!1), G(rt), U(en || []), W(!1), re(en ? de(de({}, Y), {}, Eo({}, rt, en)) : Y));
15657
15657
  });
15658
15658
  }
15659
- }, [o, je, j, Y, c]), Qn = oe ? [] : C && j ? Z : g || [];
15659
+ }, [o, je, j, Y, c]), er = oe ? [] : C && j ? Z : g || [];
15660
15660
  return de(de({}, p), {}, {
15661
- options: Qn,
15661
+ options: er,
15662
15662
  isLoading: T || a,
15663
15663
  onInputChange: Wt,
15664
15664
  filterOption: d
@@ -15699,7 +15699,7 @@ function cE(e) {
15699
15699
  }) ? d(E, s(E)) : void 0;
15700
15700
  }, [s, d, y, g, E, c, v, _]), D = fe(function() {
15701
15701
  return (n || !C) && T ? o === "first" ? [T].concat(_o(v)) : [].concat(_o(v), [T]) : v;
15702
- }, [n, o, C, T, v]), F = Ae(function(O, j) {
15702
+ }, [n, o, C, T, v]), F = Se(function(O, j) {
15703
15703
  if (j.action !== "select-option")
15704
15704
  return m(O, j);
15705
15705
  var G = Array.isArray(O) ? O : [O];
@@ -15742,7 +15742,7 @@ const dE = A(X)`
15742
15742
  };
15743
15743
  }, b2 = (e) => /* @__PURE__ */ S.createElement("svg", { width: "8px", height: "8px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" }));
15744
15744
  function fE(e) {
15745
- return /* @__PURE__ */ l.jsx(jn.DropdownIndicator, { ...e, children: /* @__PURE__ */ l.jsx(J1, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, {}) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, {}) }) });
15745
+ return /* @__PURE__ */ l.jsx(Mn.DropdownIndicator, { ...e, children: /* @__PURE__ */ l.jsx(J1, { children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, {}) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, {}) }) });
15746
15746
  }
15747
15747
  const pE = (e) => /* @__PURE__ */ l.jsxs(N, { direction: "row", flexWrap: "nowrap", alignItems: "center", width: "100%", children: [
15748
15748
  /* @__PURE__ */ l.jsx(N, { flexShrink: 0, children: /* @__PURE__ */ l.jsx(b2, { width: 14, height: 14, fill: "rgb(80, 109, 255)" }) }),
@@ -16623,8 +16623,8 @@ const TE = A(K)`
16623
16623
  }
16624
16624
  ),
16625
16625
  /* @__PURE__ */ l.jsxs(FE, { className: "input-wrapper", children: [
16626
- /* @__PURE__ */ l.jsx(Ee, { title: b.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: he(b) }),
16627
- r != null && r.icon ? /* @__PURE__ */ l.jsx(Ee, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ l.jsx(NE, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
16626
+ /* @__PURE__ */ l.jsx(we, { title: b.toolTipTitle, arrow: !0, placement: "right-end", disableHoverListener: !0, children: he(b) }),
16627
+ r != null && r.icon ? /* @__PURE__ */ l.jsx(we, { title: r.toolTipText, placement: "bottom", children: /* @__PURE__ */ l.jsx(NE, { className: "form--sideIcon", children: r == null ? void 0 : r.icon }) }) : null
16628
16628
  ] }),
16629
16629
  ee()
16630
16630
  ]
@@ -16730,7 +16730,7 @@ const TE = A(K)`
16730
16730
  /* @__PURE__ */ l.jsx("img", { className: "preview-img", onError: () => r(!0), ...t }),
16731
16731
  /* @__PURE__ */ l.jsx(GE, { className: "play-icon" })
16732
16732
  ] });
16733
- }, w2 = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(Ee, { ...t, classes: { popper: e } }))(({ tooltipStyle: e, arrowStyle: t }) => ({
16733
+ }, w2 = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(we, { ...t, classes: { popper: e } }))(({ tooltipStyle: e, arrowStyle: t }) => ({
16734
16734
  [`& .${eo.arrow}`]: {
16735
16735
  ...t
16736
16736
  },
@@ -16838,7 +16838,7 @@ const ca = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, I
16838
16838
  }) => {
16839
16839
  const [o, i] = V(!1), s = ge(null), a = ge(null), c = ge(e);
16840
16840
  c.current = e;
16841
- const u = Ae(
16841
+ const u = Se(
16842
16842
  (p) => {
16843
16843
  Ic(p) && (a.current || (a.current = new IntersectionObserver(
16844
16844
  (b) => {
@@ -16854,7 +16854,7 @@ const ca = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, I
16854
16854
  ), i(!0)));
16855
16855
  },
16856
16856
  [t, n]
16857
- ), d = Ae(
16857
+ ), d = Se(
16858
16858
  (p) => {
16859
16859
  var b, v;
16860
16860
  Ic(s.current) && ((b = a.current) == null || b.unobserve(s.current)), Ic(p) && r && o && ((v = a.current) == null || v.observe(p));
@@ -17601,10 +17601,10 @@ const ca = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, I
17601
17601
  }
17602
17602
  ),
17603
17603
  v && /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(z0, { variant: "body2_medium", children: "Variables" }) }),
17604
- s.map(({ value: h, title: f }, g) => /* @__PURE__ */ l.jsx(Ee, { title: f, placement: "top", arrow: !0, children: /* @__PURE__ */ l.jsx(Z0, { onClick: () => r({ title: f, value: h }), children: /* @__PURE__ */ l.jsx($0, { variant: "body2", children: f }) }) }, `${f}-${h}-${g}`)),
17604
+ s.map(({ value: h, title: f }, g) => /* @__PURE__ */ l.jsx(we, { title: f, placement: "top", arrow: !0, children: /* @__PURE__ */ l.jsx(Z0, { onClick: () => r({ title: f, value: h }), children: /* @__PURE__ */ l.jsx($0, { variant: "body2", children: f }) }) }, `${f}-${h}-${g}`)),
17605
17605
  v && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
17606
17606
  /* @__PURE__ */ l.jsx(z0, { variant: "h2", children: "Custom Objects" }),
17607
- n == null ? void 0 : n.map(({ id: h, name: f, options: g }) => /* @__PURE__ */ l.jsx(Ee, { title: f, placement: "top", arrow: !0, children: /* @__PURE__ */ l.jsx(
17607
+ n == null ? void 0 : n.map(({ id: h, name: f, options: g }) => /* @__PURE__ */ l.jsx(we, { title: f, placement: "top", arrow: !0, children: /* @__PURE__ */ l.jsx(
17608
17608
  Z0,
17609
17609
  {
17610
17610
  onPointerEnter: (x) => {
@@ -17651,7 +17651,7 @@ const ca = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, I
17651
17651
  i(!1);
17652
17652
  },
17653
17653
  children: /* @__PURE__ */ l.jsx(K, { children: /* @__PURE__ */ l.jsx(
17654
- Ee,
17654
+ we,
17655
17655
  {
17656
17656
  title: /* @__PURE__ */ l.jsx(Mw, { name: e, variables: t, customFields: n, onOptionClick: s }),
17657
17657
  placement: "bottom-end",
@@ -17924,7 +17924,7 @@ const ca = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, I
17924
17924
  p((I) => ({ ...I, [e.name]: _ })), v(() => {
17925
17925
  b == null || b({ name: e.name, value: _, type: e.type });
17926
17926
  });
17927
- }, h = s[e.name], f = h ? /* @__PURE__ */ l.jsx(Ee, { title: h, placement: "bottom", children: /* @__PURE__ */ l.jsx(hw, { variant: "body2", fontSize: "13px", color: P.palette.error.main, children: h }) }) : null, g = Array.isArray(i) && i.length > 0, x = e.type === "multi-select" || !!e.isMulti, y = g && c && !x ? /* @__PURE__ */ l.jsx(
17927
+ }, h = s[e.name], f = h ? /* @__PURE__ */ l.jsx(we, { title: h, placement: "bottom", children: /* @__PURE__ */ l.jsx(hw, { variant: "body2", fontSize: "13px", color: P.palette.error.main, children: h }) }) : null, g = Array.isArray(i) && i.length > 0, x = e.type === "multi-select" || !!e.isMulti, y = g && c && !x ? /* @__PURE__ */ l.jsx(
17928
17928
  Hw,
17929
17929
  {
17930
17930
  customFields: i ?? [],
@@ -18144,10 +18144,10 @@ const iI = ({
18144
18144
  /* @__PURE__ */ l.jsx(Zw, {}),
18145
18145
  /* @__PURE__ */ l.jsx(N, { gap: 0.5, flex: 1, minWidth: 0, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: 0.5, children: [
18146
18146
  /* @__PURE__ */ l.jsx(X, { variant: "h6", fontSize: 18, fontWeight: 600, color: P.palette.gray.gray1, children: a }),
18147
- /* @__PURE__ */ l.jsx(Ee, { title: "Assign default values to create fields", placement: "top", children: /* @__PURE__ */ l.jsx(lt, { size: "small", "aria-label": "About mapping fields", sx: { padding: "4px" }, children: /* @__PURE__ */ l.jsx(Ke.InfoOutlined, { sx: { fontSize: 18, color: P.palette.gray.gray3 } }) }) })
18147
+ /* @__PURE__ */ l.jsx(we, { title: "Assign default values to create fields", placement: "top", children: /* @__PURE__ */ l.jsx(lt, { size: "small", "aria-label": "About mapping fields", sx: { padding: "4px" }, children: /* @__PURE__ */ l.jsx(Ke.InfoOutlined, { sx: { fontSize: 18, color: P.palette.gray.gray3 } }) }) })
18148
18148
  ] }) })
18149
18149
  ] }),
18150
- /* @__PURE__ */ l.jsx(Ee, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: F, size: "small", "aria-label": "Close", children: /* @__PURE__ */ l.jsx(Ke.Close, { sx: { fontSize: 20 } }) }) })
18150
+ /* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: F, size: "small", "aria-label": "Close", children: /* @__PURE__ */ l.jsx(Ke.Close, { sx: { fontSize: 20 } }) }) })
18151
18151
  ] }),
18152
18152
  /* @__PURE__ */ l.jsx(qw, { children: /* @__PURE__ */ l.jsxs(Kw, { children: [
18153
18153
  /* @__PURE__ */ l.jsxs(
@@ -18510,7 +18510,7 @@ const iI = ({
18510
18510
  };
18511
18511
  } catch (x) {
18512
18512
  d == null || d(v);
18513
- const y = x, E = (f = y == null ? void 0 : y.response) == null ? void 0 : f.data, C = typeof E == "string" ? E : (E == null ? void 0 : E.message) || Kn;
18513
+ const y = x, E = (f = y == null ? void 0 : y.response) == null ? void 0 : f.data, C = typeof E == "string" ? E : (E == null ? void 0 : E.message) || Qn;
18514
18514
  return Be({ message: C, type: dt }), n((g = y == null ? void 0 : y.response) == null ? void 0 : g.status);
18515
18515
  }
18516
18516
  }
@@ -18651,7 +18651,11 @@ Do you want to continue?`, YI = "Select an object to create", JI = "Select an ob
18651
18651
  isClearable: !1,
18652
18652
  placeholder: "No access",
18653
18653
  validations: {},
18654
- ...t
18654
+ ...t,
18655
+ // Informational-only: never retain or submit a value, and don't let
18656
+ // overrides reintroduce one.
18657
+ value: void 0,
18658
+ defaultValue: void 0
18655
18659
  };
18656
18660
  let n = {};
18657
18661
  switch (e.type) {
@@ -18926,7 +18930,7 @@ Do you want to continue?`, YI = "Select an object to create", JI = "Select an ob
18926
18930
  } : d.values[p] = b.label;
18927
18931
  }), { data: d, status: u };
18928
18932
  } catch (a) {
18929
- return Be({ message: Kn, type: dt }), t(a);
18933
+ return Be({ message: Qn, type: dt }), t(a);
18930
18934
  }
18931
18935
  }
18932
18936
  ), { resetState: UF, setCurrentCardInEdit: To, resetCurrentResourceDetails: r_, setHasUnsavedChanges: q0 } = B2.actions, o_ = B2.reducer, i_ = () => {
@@ -18934,7 +18938,7 @@ Do you want to continue?`, YI = "Select an object to create", JI = "Select an ob
18934
18938
  isVertical: !1,
18935
18939
  isHorizontal: !1,
18936
18940
  isScrolling: !1
18937
- }), o = Ae((i) => {
18941
+ }), o = Se((i) => {
18938
18942
  t(i);
18939
18943
  }, []);
18940
18944
  return ie(() => {
@@ -19036,7 +19040,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19036
19040
  ] }) }),
19037
19041
  /* @__PURE__ */ l.jsx(om, { children: m.map((g, x) => /* @__PURE__ */ l.jsxs(e9, { children: [
19038
19042
  Object.values(g.cells).map((y, E) => h(y, E)),
19039
- /* @__PURE__ */ l.jsx(n9, { children: !b && g.externalResourceId && /* @__PURE__ */ l.jsx(Ee, { title: bp, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { className: "row-edit", onClick: () => f(g.externalResourceId), children: /* @__PURE__ */ l.jsx("img", { src: s_ }) }) }) })
19043
+ /* @__PURE__ */ l.jsx(n9, { children: !b && g.externalResourceId && /* @__PURE__ */ l.jsx(we, { title: bp, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { className: "row-edit", onClick: () => f(g.externalResourceId), children: /* @__PURE__ */ l.jsx("img", { src: s_ }) }) }) })
19040
19044
  ] }, `id_${x}`)) })
19041
19045
  ] }) })
19042
19046
  ] });
@@ -19062,7 +19066,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19062
19066
  isCardLevelError: v,
19063
19067
  fieldName: m,
19064
19068
  showErrorIcon: h
19065
- } = e, f = ge(null), g = ge(null), { email: x, currentSmIds: y, conversationId: E, sendTrackingEvent: C, connectorFunctions: w } = De(Qe), _ = we(m_), I = _ == null ? void 0 : _[b], [T, D] = V(!1), F = fe(() => n && v ? c_(n, p == null ? void 0 : p.userAuthEnabled) : c ? vp.replace(/{{connector_name}}/g, (u == null ? void 0 : u[0]) || "") : Nd, [n, c, u, v, p == null ? void 0 : p.userAuthEnabled]), O = Ae(() => {
19069
+ } = e, f = ge(null), g = ge(null), { email: x, currentSmIds: y, conversationId: E, sendTrackingEvent: C, connectorFunctions: w } = De(Qe), _ = Ie(m_), I = _ == null ? void 0 : _[b], [T, D] = V(!1), F = fe(() => n && v ? c_(n, p == null ? void 0 : p.userAuthEnabled) : c ? vp.replace(/{{connector_name}}/g, (u == null ? void 0 : u[0]) || "") : Nd, [n, c, u, v, p == null ? void 0 : p.userAuthEnabled]), O = Se(() => {
19066
19070
  const ee = n || a_(I, u), { error_code: oe, error_message: W } = G2(ee);
19067
19071
  C == null || C(f5, {
19068
19072
  sm_ids: y,
@@ -19124,7 +19128,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19124
19128
  const ee = t;
19125
19129
  return ee.length ? /* @__PURE__ */ l.jsx(Y6, { children: ee.map((oe, W) => /* @__PURE__ */ l.jsx(J6, { children: la(oe) }, `${W}_${String(oe)}`)) }) : /* @__PURE__ */ l.jsx(Vd, { variant: "caption_regular", children: mi });
19126
19130
  }
19127
- return /* @__PURE__ */ l.jsx(Ee, { title: T ? H : null, placement: "bottom", children: r ? /* @__PURE__ */ l.jsx(
19131
+ return /* @__PURE__ */ l.jsx(we, { title: T ? H : null, placement: "bottom", children: r ? /* @__PURE__ */ l.jsx(
19128
19132
  Rp,
19129
19133
  {
19130
19134
  ref: g,
@@ -19159,7 +19163,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19159
19163
  },
19160
19164
  sx: { ...i },
19161
19165
  children: /* @__PURE__ */ l.jsxs(N, { direction: "row", children: [
19162
- r && /* @__PURE__ */ l.jsx(K, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ l.jsx(Ee, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: () => t(!1), children: /* @__PURE__ */ l.jsx("img", { src: U2 }) }) }) }),
19166
+ r && /* @__PURE__ */ l.jsx(K, { position: "absolute", right: 10, top: 10, children: /* @__PURE__ */ l.jsx(we, { title: "Close", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: () => t(!1), children: /* @__PURE__ */ l.jsx("img", { src: U2 }) }) }) }),
19163
19167
  n
19164
19168
  ] })
19165
19169
  }
@@ -19367,7 +19371,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19367
19371
  conversationId: i,
19368
19372
  connectorName: s
19369
19373
  }) => {
19370
- const a = Ft(), { sendTrackingEvent: c } = De(Qe), d = we(k_) === se.LOADING, p = () => {
19374
+ const a = Ft(), { sendTrackingEvent: c } = De(Qe), d = Ie(k_) === se.LOADING, p = () => {
19371
19375
  i && o && a(Fs({ id: n, conversationId: i, externalResourceId: o })).unwrap().then(() => {
19372
19376
  c(t5, {
19373
19377
  connector_name: s,
@@ -19397,8 +19401,8 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19397
19401
  return null;
19398
19402
  const o = r[r.length - 1], i = r.slice(0, -1), s = t ? (i.length + 1) * 32 : 32;
19399
19403
  return /* @__PURE__ */ l.jsxs(q6, { width: s, isHovered: t, children: [
19400
- /* @__PURE__ */ l.jsx("div", { className: "hidden-actions", children: i.map(({ id: a, disabled: c, label: u, iconSrc: d, action: p }) => /* @__PURE__ */ l.jsx(Ee, { title: u, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: p, disabled: c, children: /* @__PURE__ */ l.jsx("img", { src: d }) }) }, a)) }),
19401
- o && /* @__PURE__ */ l.jsx(Ee, { title: o.label, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: o.action, disabled: o.disabled, children: /* @__PURE__ */ l.jsx("img", { src: o.iconSrc }) }) }, o.id)
19404
+ /* @__PURE__ */ l.jsx("div", { className: "hidden-actions", children: i.map(({ id: a, disabled: c, label: u, iconSrc: d, action: p }) => /* @__PURE__ */ l.jsx(we, { title: u, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: p, disabled: c, children: /* @__PURE__ */ l.jsx("img", { src: d }) }) }, a)) }),
19405
+ o && /* @__PURE__ */ l.jsx(we, { title: o.label, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: o.action, disabled: o.disabled, children: /* @__PURE__ */ l.jsx("img", { src: o.iconSrc }) }) }, o.id)
19402
19406
  ] });
19403
19407
  }, n1 = (e) => {
19404
19408
  const {
@@ -19423,7 +19427,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19423
19427
  default:
19424
19428
  return !1;
19425
19429
  }
19426
- }, [F, O, c, I, t, j, Z]), ee = Ae(
19430
+ }, [F, O, c, I, t, j, Z]), ee = Se(
19427
19431
  (M = !1) => {
19428
19432
  const le = M ? i5 : o5;
19429
19433
  r && C && d && a(Ii({ id: C, email: r, conversationId: d, externalResourceId: _ })).unwrap().then((Oe) => {
@@ -19471,7 +19475,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19471
19475
  sm_ids: p
19472
19476
  });
19473
19477
  let le;
19474
- O === "flat" ? le = (F == null ? void 0 : F.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (le = (z = (Oe = F == null ? void 0 : F.listItems) == null ? void 0 : Oe.fields[0]) == null ? void 0 : z.externalResourceId), le ? a(To({ ...t, externalResourceId: le })) : Be({ message: Kn, type: dt });
19478
+ O === "flat" ? le = (F == null ? void 0 : F.flatDisplay.externalResourceId) ?? t.externalResourceId : O === "flat_with_list" && (le = (z = (Oe = F == null ? void 0 : F.listItems) == null ? void 0 : Oe.fields[0]) == null ? void 0 : z.externalResourceId), le ? a(To({ ...t, externalResourceId: le })) : Be({ message: Qn, type: dt });
19475
19479
  }, Y = (M) => {
19476
19480
  M.stopPropagation(), x(!0);
19477
19481
  }, re = () => {
@@ -19508,7 +19512,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19508
19512
  /* @__PURE__ */ l.jsxs(H6, { className: v ? "hiver-card-expanded" : "", onClick: (M) => W(M, D), children: [
19509
19513
  /* @__PURE__ */ l.jsxs(W6, { children: [
19510
19514
  T && /* @__PURE__ */ l.jsx("img", { src: T, alt: w }),
19511
- /* @__PURE__ */ l.jsx(Ee, { title: h ? w : "", placement: "bottom", children: /* @__PURE__ */ l.jsx(
19515
+ /* @__PURE__ */ l.jsx(we, { title: h ? w : "", placement: "bottom", children: /* @__PURE__ */ l.jsx(
19512
19516
  U6,
19513
19517
  {
19514
19518
  variant: "body_sm_regular",
@@ -19520,7 +19524,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19520
19524
  ] }),
19521
19525
  /* @__PURE__ */ l.jsxs(Tp, { children: [
19522
19526
  /* @__PURE__ */ l.jsx(H_, { actions: he, isHovered: y }),
19523
- /* @__PURE__ */ l.jsx(Ee, { title: v ? pp : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: (M) => W(M, D), children: /* @__PURE__ */ l.jsx(Eu, { className: v ? "" : "hiver-up" }) }) })
19527
+ /* @__PURE__ */ l.jsx(we, { title: v ? pp : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: (M) => W(M, D), children: /* @__PURE__ */ l.jsx(Eu, { className: v ? "" : "hiver-up" }) }) })
19524
19528
  ] })
19525
19529
  ] }),
19526
19530
  /* @__PURE__ */ l.jsx(
@@ -19649,7 +19653,7 @@ const d_ = ({ data: e, title: t, currentCard: n, setShowModal: r }) => {
19649
19653
  if (n.state === "in_progress") return t;
19650
19654
  }, eA = 2e3, tA = 5 * 60 * 1e3;
19651
19655
  function nA(e, t = {}) {
19652
- const n = Ft(), r = Nn(), o = we((p) => Ki(p, e)), { onConnected: i } = t, s = ge(!1), a = ge(null), c = ge(null), u = ge(!1);
19656
+ const n = Ft(), r = jn(), o = Ie((p) => Ki(p, e)), { onConnected: i } = t, s = ge(!1), a = ge(null), c = ge(null), u = ge(!1);
19653
19657
  ie(() => {
19654
19658
  o.state !== "connected" && (u.current = !1);
19655
19659
  }, [o.state]), qt({
@@ -19719,7 +19723,7 @@ function nA(e, t = {}) {
19719
19723
  }, 800);
19720
19724
  return () => clearInterval(p);
19721
19725
  }, [o.state, e, n, i]);
19722
- const d = Ae(async () => {
19726
+ const d = Se(async () => {
19723
19727
  if (!s.current) {
19724
19728
  s.current = !0, n(X_({ connectorId: e }));
19725
19729
  try {
@@ -19870,7 +19874,7 @@ const cA = A(Fe)`
19870
19874
  onConnected: i
19871
19875
  }) => {
19872
19876
  var b, v;
19873
- const { connect: s } = nA(e, { onConnected: i }), a = Ae(() => {
19877
+ const { connect: s } = nA(e, { onConnected: i }), a = Se(() => {
19874
19878
  s();
19875
19879
  }, [s]);
19876
19880
  if (r === "connected") return null;
@@ -19983,7 +19987,7 @@ const cA = A(Fe)`
19983
19987
  onCardUnlinking: i,
19984
19988
  isPrimaryUserAuthCard: s = !0
19985
19989
  }) => {
19986
- const a = Nn(), c = e.connectorId ?? "", u = !!e.userAuthEnabled && !!c, { isLoading: d } = eg(c, u), p = we((v) => Ki(v, c));
19990
+ const a = jn(), c = e.connectorId ?? "", u = !!e.userAuthEnabled && !!c, { isLoading: d } = eg(c, u), p = Ie((v) => Ki(v, c));
19987
19991
  if (!u)
19988
19992
  return /* @__PURE__ */ l.jsx(
19989
19993
  n1,
@@ -20059,7 +20063,7 @@ const cA = A(Fe)`
20059
20063
  onConnected: t
20060
20064
  }) => {
20061
20065
  eg(e.connectorId, !0);
20062
- const n = we((r) => Ki(r, e.connectorId));
20066
+ const n = Ie((r) => Ki(r, e.connectorId));
20063
20067
  return ng.has(n.state) ? /* @__PURE__ */ l.jsx(K, { sx: { flexGrow: 1, display: "flex", flexDirection: "column", justifyContent: "flex-start" }, children: /* @__PURE__ */ l.jsx(
20064
20068
  tg,
20065
20069
  {
@@ -20072,7 +20076,7 @@ const cA = A(Fe)`
20072
20076
  }
20073
20077
  ) }) : null;
20074
20078
  }, hA = ({ connectors: e, onConnected: t, children: n }) => {
20075
- const r = we(
20079
+ const r = Ie(
20076
20080
  (o) => e.some((i) => ng.has(Ki(o, i.connectorId).state))
20077
20081
  );
20078
20082
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -20084,10 +20088,10 @@ const cA = A(Fe)`
20084
20088
  /* @__PURE__ */ l.jsx("path", { d: "M21 9l-3.99-4v3H10v2h7.01v3L21 9z", fill: e })
20085
20089
  ] }), mA = () => {
20086
20090
  var a, c, u;
20087
- const e = Ft(), t = we(Q_), n = we(W2), r = fe(() => {
20091
+ const e = Ft(), t = Ie(Q_), n = Ie(W2), r = fe(() => {
20088
20092
  if (!(!t || !n))
20089
20093
  return n.find((d) => d.id === t || d.connectorId === t);
20090
- }, [t, n]), o = we(Vu), i = fe(() => {
20094
+ }, [t, n]), o = Ie(Vu), i = fe(() => {
20091
20095
  var d;
20092
20096
  if (r != null && r.logoUrl) return r.logoUrl;
20093
20097
  if (!(!t || !o))
@@ -20179,14 +20183,14 @@ const cA = A(Fe)`
20179
20183
  let t = null;
20180
20184
  return e.find((r) => typeof (r == null ? void 0 : r.type) != "function" ? !1 : (r.props.fallback && (t = r), r.props.condition)) ?? t;
20181
20185
  };
20182
- function Zn({
20186
+ function $n({
20183
20187
  children: e,
20184
20188
  condition: t,
20185
20189
  fallback: n = !1
20186
20190
  }) {
20187
20191
  return !t && !n ? null : e;
20188
20192
  }
20189
- Yo.CaseView = Zn;
20193
+ Yo.CaseView = $n;
20190
20194
  const bA = "Bring your favourite tools into Hiver", xA = "Plugin image", vA = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", yA = "Enable Connectors", CA = "Enable Apps", EA = "Enable Cards", wA = "Learn more", IA = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", _A = "Contact your admin to enable this", AA = "https://youtu.be/ODcJnzZLb50", SA = "connectors-module/assets/connectors-images/connector-mainpage.png", TA = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", LA = "Explore connectors", RA = "Connectors", OA = A(K)`
20191
20195
  padding-top: 20px;
20192
20196
  `, FA = A(N)`
@@ -20336,8 +20340,8 @@ const bA = "Bring your favourite tools into Hiver", xA = "Plugin image", vA = "I
20336
20340
  /* @__PURE__ */ l.jsxs(c9, { children: [
20337
20341
  /* @__PURE__ */ l.jsx(s9, { variant: "h3", children: b }),
20338
20342
  /* @__PURE__ */ l.jsxs(K, { children: [
20339
- o ? /* @__PURE__ */ l.jsx(Ee, { title: $5, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: y, children: /* @__PURE__ */ l.jsx(Ke.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
20340
- /* @__PURE__ */ l.jsx(Ee, { title: o ? Z5 : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: g, children: /* @__PURE__ */ l.jsx(Eu, { className: o ? "" : "hiver-up" }) }) })
20343
+ o ? /* @__PURE__ */ l.jsx(we, { title: $5, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: y, children: /* @__PURE__ */ l.jsx(Ke.Close, { sx: { height: "16px", width: "16px", opacity: "0.8" } }) }) }) : null,
20344
+ /* @__PURE__ */ l.jsx(we, { title: o ? Z5 : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: g, children: /* @__PURE__ */ l.jsx(Eu, { className: o ? "" : "hiver-up" }) }) })
20341
20345
  ] })
20342
20346
  ] }),
20343
20347
  /* @__PURE__ */ l.jsx(l9, { className: o ? "slideDown" : "slideUp", ref: s, height: a, children: /* @__PURE__ */ l.jsxs(u9, { children: [
@@ -20386,20 +20390,20 @@ const bA = "Bring your favourite tools into Hiver", xA = "Plugin image", vA = "I
20386
20390
  }, [e]), { textRef: t, isOverflow: n };
20387
20391
  }, $A = (e) => {
20388
20392
  const { textRef: t, isOverflow: n } = og(e.data.label);
20389
- return /* @__PURE__ */ l.jsx(Ee, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ l.jsx(m9, { ref: t, variant: "body_sm_regular", paddingTop: n ? "5px" : "0px", children: e.data.label }) });
20390
- }, zA = (e) => /* @__PURE__ */ l.jsxs(jn.MenuList, { ...e, children: [
20393
+ return /* @__PURE__ */ l.jsx(we, { title: n ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ l.jsx(m9, { ref: t, variant: "body_sm_regular", paddingTop: n ? "5px" : "0px", children: e.data.label }) });
20394
+ }, zA = (e) => /* @__PURE__ */ l.jsxs(Mn.MenuList, { ...e, children: [
20391
20395
  /* @__PURE__ */ l.jsx(b9, { children: /* @__PURE__ */ l.jsx(X, { variant: "body_sm_medium", children: W9 }) }),
20392
20396
  e.children
20393
20397
  ] }), XA = (e) => {
20394
20398
  const { isSelected: t } = e, { textRef: n, isOverflow: r } = og(e.data.label);
20395
- return /* @__PURE__ */ l.jsx(jn.Option, { ...e, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
20396
- /* @__PURE__ */ l.jsx(Ee, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ l.jsx(x9, { ref: n, className: "dropdown-item-text", variant: "body_sm_regular", children: e.data.label }) }),
20399
+ return /* @__PURE__ */ l.jsx(Mn.Option, { ...e, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", gap: "5px", justifyContent: "space-between", alignItems: "center", children: [
20400
+ /* @__PURE__ */ l.jsx(we, { title: r ? e.data.value : null, placement: "bottom", children: /* @__PURE__ */ l.jsx(x9, { ref: n, className: "dropdown-item-text", variant: "body_sm_regular", children: e.data.label }) }),
20397
20401
  t ? /* @__PURE__ */ l.jsx("img", { src: ZA, width: "14px", height: "14px" }) : null
20398
20402
  ] }) });
20399
- }, YA = (e) => /* @__PURE__ */ l.jsx(jn.ValueContainer, { ...e, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "4px", children: [
20403
+ }, YA = (e) => /* @__PURE__ */ l.jsx(Mn.ValueContainer, { ...e, children: /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "4px", children: [
20400
20404
  /* @__PURE__ */ l.jsx(Ke.AccountCircle, { sx: { height: "20px", width: "20px", color: P.palette.gray.gray3, flexShrink: 0 } }),
20401
20405
  /* @__PURE__ */ l.jsx(N, { direction: "row", alignItems: "center", sx: { flex: 1, minWidth: 0, overflow: "hidden" }, children: e.children })
20402
- ] }) }), JA = (e) => /* @__PURE__ */ l.jsx(jn.DropdownIndicator, { ...e, children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, { sx: { height: "18px", width: "18px", color: P.palette.gray.gray3 } }) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, { sx: { height: "18px", width: "18px", color: P.palette.gray.gray3 } }) }), qA = {
20406
+ ] }) }), JA = (e) => /* @__PURE__ */ l.jsx(Mn.DropdownIndicator, { ...e, children: e.selectProps.menuIsOpen ? /* @__PURE__ */ l.jsx(Ke.ArrowDropUp, { sx: { height: "18px", width: "18px", color: P.palette.gray.gray3 } }) : /* @__PURE__ */ l.jsx(Ke.ArrowDropDown, { sx: { height: "18px", width: "18px", color: P.palette.gray.gray3 } }) }), qA = {
20403
20407
  control: (e, t) => ({
20404
20408
  ...e,
20405
20409
  border: `1px solid ${t.isFocused ? P.palette.gray.gray3 : P.palette.gray.gray5}`,
@@ -20458,7 +20462,7 @@ const bA = "Bring your favourite tools into Hiver", xA = "Plugin image", vA = "I
20458
20462
  const u = String((c == null ? void 0 : c.value) || "");
20459
20463
  u && i && UA({ selectedEmail: u, conversationId: i }), o(u);
20460
20464
  };
20461
- return /* @__PURE__ */ l.jsx(Ee, { title: "Selected email", placement: "top", children: /* @__PURE__ */ l.jsx("div", { style: { marginTop: "12px" }, children: /* @__PURE__ */ l.jsx(
20465
+ return /* @__PURE__ */ l.jsx(we, { title: "Selected email", placement: "top", children: /* @__PURE__ */ l.jsx("div", { style: { marginTop: "12px" }, children: /* @__PURE__ */ l.jsx(
20462
20466
  Bi,
20463
20467
  {
20464
20468
  options: s,
@@ -20511,7 +20515,7 @@ const QA = A(tu)`
20511
20515
  `, nS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4735_44625)'%3e%3cpath%20d='M7.9987%2013.334L8.9387%2012.394L5.2187%208.66732H13.332V7.33398L5.2187%207.33398L8.9387%203.60732L7.9987%202.66732L2.66537%208.00065L7.9987%2013.334Z'%20fill='%234D596C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4735_44625'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='matrix(-1%200%200%20-1%2016%2016)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ac = ({ children: e, rightNode: t, title: n = "Back", backButtonTooltip: r, onClose: o }) => /* @__PURE__ */ l.jsxs(QA, { children: [
20512
20516
  /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", justifyContent: "space-between", children: [
20513
20517
  /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", marginLeft: "-8px", children: [
20514
- /* @__PURE__ */ l.jsx(Ee, { title: r, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(eS, { src: nS }) }) }),
20518
+ /* @__PURE__ */ l.jsx(we, { title: r, placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(eS, { src: nS }) }) }),
20515
20519
  /* @__PURE__ */ l.jsx(X, { children: n })
20516
20520
  ] }),
20517
20521
  /* @__PURE__ */ l.jsx(N, { direction: "row", alignItems: "center", children: t })
@@ -20568,7 +20572,7 @@ const QA = A(tu)`
20568
20572
  /* @__PURE__ */ l.jsx(bn, { width: "100px", height: "24px" })
20569
20573
  ] }) : /* @__PURE__ */ l.jsxs(aS, { children: [
20570
20574
  p && /* @__PURE__ */ l.jsx("img", { src: p, alt: d }),
20571
- /* @__PURE__ */ l.jsx(Ee, { title: i ? d : "", children: /* @__PURE__ */ l.jsx(
20575
+ /* @__PURE__ */ l.jsx(we, { title: i ? d : "", children: /* @__PURE__ */ l.jsx(
20572
20576
  X,
20573
20577
  {
20574
20578
  variant: "h4",
@@ -20579,8 +20583,8 @@ const QA = A(tu)`
20579
20583
  ) })
20580
20584
  ] }),
20581
20585
  /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", children: [
20582
- a ? /* @__PURE__ */ l.jsx(Ee, { title: fp, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: (h) => m(h), children: /* @__PURE__ */ l.jsx("img", { src: z2 }) }) }) : null,
20583
- /* @__PURE__ */ l.jsx(Ee, { title: a ? pp : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: () => c((h) => !h), children: /* @__PURE__ */ l.jsx(Eu, { className: a ? "" : "hiver-up" }) }) })
20586
+ a ? /* @__PURE__ */ l.jsx(we, { title: fp, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: (h) => m(h), children: /* @__PURE__ */ l.jsx("img", { src: z2 }) }) }) : null,
20587
+ /* @__PURE__ */ l.jsx(we, { title: a ? pp : bu, placement: "bottom", children: /* @__PURE__ */ l.jsx($o, { onClick: () => c((h) => !h), children: /* @__PURE__ */ l.jsx(Eu, { className: a ? "" : "hiver-up" }) }) })
20584
20588
  ] })
20585
20589
  ] }),
20586
20590
  /* @__PURE__ */ l.jsx(
@@ -20682,12 +20686,12 @@ const QA = A(tu)`
20682
20686
  }, lg = () => Ug(cS, cg), ug = ({ state: e, dispatch: t, validations: n, dynamicFields: r }) => {
20683
20687
  const o = e.errors, i = (v, m) => {
20684
20688
  t({ type: jt.SET_FIELD_VALUE, payload: { value: { value: m, name: v } } });
20685
- }, s = Ae(
20689
+ }, s = Se(
20686
20690
  (v) => {
20687
20691
  t({ type: jt.SET_FORM_DEFAULTS, payload: { values: v } });
20688
20692
  },
20689
20693
  [t]
20690
- ), a = Ae(() => Object.keys(o).filter((m) => !!o[m]).length > 0, [o]), c = (v) => {
20694
+ ), a = Se(() => Object.keys(o).filter((m) => !!o[m]).length > 0, [o]), c = (v) => {
20691
20695
  v.stopPropagation();
20692
20696
  const { name: m, value: h } = (v == null ? void 0 : v.target) || {};
20693
20697
  i(m, h);
@@ -20939,7 +20943,7 @@ const QA = A(tu)`
20939
20943
  onSuccess: r,
20940
20944
  onError: o
20941
20945
  }) => {
20942
- const i = Nn();
20946
+ const i = jn();
20943
20947
  return vn({
20944
20948
  mutationFn: (s) => fS({ formId: e, data: s }),
20945
20949
  onSuccess: (s) => {
@@ -21166,7 +21170,7 @@ const xS = A(N)`
21166
21170
  stackingContext: T,
21167
21171
  isAdmin: D,
21168
21172
  variables: F
21169
- } = De(Qe), [O, j] = lg(), G = we(J2), H = we(t ? R_ : X2), J = we(O_), Z = we(Vu), U = we(D_), Q = we(N_), ee = we(j_), oe = we(M_), W = we(P_), q = we(q2), k = Z == null ? void 0 : Z[(p == null ? void 0 : p.value) ?? ""];
21173
+ } = De(Qe), [O, j] = lg(), G = Ie(J2), H = Ie(t ? R_ : X2), J = Ie(O_), Z = Ie(Vu), U = Ie(D_), Q = Ie(N_), ee = Ie(j_), oe = Ie(M_), W = Ie(P_), q = Ie(q2), k = Z == null ? void 0 : Z[(p == null ? void 0 : p.value) ?? ""];
21170
21174
  u == null || u(k);
21171
21175
  const Y = xt(y, W5), re = (k == null ? void 0 : k.hasCustomFields) ?? !1, { customFieldsArgsPresent: ae, customFieldsArgs: he } = fe(() => {
21172
21176
  if (!re) return { customFieldsArgsPresent: !1, customFieldsArgs: {} };
@@ -21174,7 +21178,7 @@ const xS = A(N)`
21174
21178
  (nn) => !!O.values[nn]
21175
21179
  );
21176
21180
  if (!pe) return { customFieldsArgsPresent: !1, customFieldsArgs: {} };
21177
- const Te = (k == null ? void 0 : k.customFieldsArgs) ?? {}, ot = vi(O, Te);
21181
+ const Le = (k == null ? void 0 : k.customFieldsArgs) ?? {}, ot = vi(O, Le);
21178
21182
  return { customFieldsArgsPresent: pe, customFieldsArgs: ot };
21179
21183
  }, [re, O, k == null ? void 0 : k.customFieldsArgs]), M = re && ae && Y, { data: le } = mS({
21180
21184
  formId: String(p == null ? void 0 : p.value),
@@ -21182,15 +21186,15 @@ const xS = A(N)`
21182
21186
  enabled: M
21183
21187
  }), Oe = fe(() => M ? le ?? [] : [], [M, le]), z = k == null ? void 0 : k.expandedView, { formConfigs: Ye, formViewConfigs: et } = fe(() => {
21184
21188
  if (p && "value" in p && J && J[p.value] && Array.isArray(J[p.value])) {
21185
- const Te = [...J[p.value], ...Oe], ot = [
21189
+ const Le = [...J[p.value], ...Oe], ot = [
21186
21190
  {
21187
21191
  id: p.value,
21188
- formFields: Te
21192
+ formFields: Le
21189
21193
  }
21190
21194
  ];
21191
21195
  return {
21192
21196
  formConfigs: ot,
21193
- formViewConfigs: z ? dI(Te, J0) : ot
21197
+ formViewConfigs: z ? dI(Le, J0) : ot
21194
21198
  };
21195
21199
  }
21196
21200
  const pe = [{ id: "emptyFormId", formFields: [] }];
@@ -21201,9 +21205,9 @@ const xS = A(N)`
21201
21205
  }, [J, Oe, p, z]), je = (mo = Ye[0]) == null ? void 0 : mo.formFields, Wt = fe(
21202
21206
  () => new Set((je ?? []).filter((pe) => pe.isMulti).map((pe) => pe.name)),
21203
21207
  [je]
21204
- ), Qn = fe(() => (je ?? []).filter((Te) => !Te.isFieldCustom), [je]), gt = fe(() => {
21205
- var Te;
21206
- const pe = ((Te = Ye == null ? void 0 : Ye[0]) == null ? void 0 : Te.formFields) || [];
21208
+ ), er = fe(() => (je ?? []).filter((Le) => !Le.isFieldCustom), [je]), gt = fe(() => {
21209
+ var Le;
21210
+ const pe = ((Le = Ye == null ? void 0 : Ye[0]) == null ? void 0 : Le.formFields) || [];
21207
21211
  return Bu({ formFields: pe });
21208
21212
  }, [Ye]), {
21209
21213
  setValue: ft,
@@ -21211,13 +21215,13 @@ const xS = A(N)`
21211
21215
  inputChangeHandler: _r,
21212
21216
  checkboxChangeHandler: en,
21213
21217
  dateChangeHandler: Ar,
21214
- clearDependentFields: Mn,
21218
+ clearDependentFields: Pn,
21215
21219
  handleValidationError: Sr,
21216
- isErrorInValidations: Pn
21220
+ isErrorInValidations: Bn
21217
21221
  } = ug({ state: O, dispatch: j, validations: gt, dynamicFields: Oe }), wn = Ye[0].id !== "emptyFormId" ? Ye[0].id : p == null ? void 0 : p.value, {
21218
21222
  data: Tt,
21219
21223
  isNudgeRequired: Tr,
21220
- enabledRef: er
21224
+ enabledRef: tr
21221
21225
  } = gg({
21222
21226
  formId: wn,
21223
21227
  conversationId: x,
@@ -21234,7 +21238,7 @@ const xS = A(N)`
21234
21238
  formId: Ye[0].id,
21235
21239
  formState: O,
21236
21240
  conversationId: x
21237
- }), Zt = (kr = G == null ? void 0 : G.forms.find((pe) => pe.type === "edit")) == null ? void 0 : kr.id, { externalResourceId: Bn } = G ?? {}, tr = [Q, ee, W].includes(se.LOADING), nr = fe(() => !z || !_ ? null : _(), [z, _]), tn = Ft();
21241
+ }), Zt = (kr = G == null ? void 0 : G.forms.find((pe) => pe.type === "edit")) == null ? void 0 : kr.id, { externalResourceId: Vn } = G ?? {}, nr = [Q, ee, W].includes(se.LOADING), In = fe(() => !z || !_ ? null : _(), [z, _]), tn = Ft();
21238
21242
  ie(() => {
21239
21243
  tn(_I());
21240
21244
  }, []), ie(() => (z && I && I(!0), () => {
@@ -21252,7 +21256,7 @@ const xS = A(N)`
21252
21256
  }, [p, s]), ie(() => {
21253
21257
  if (O.values) {
21254
21258
  const pe = k2(Ye[0].formFields, O.values);
21255
- s((Te) => ({ ...Te, fields_filled: pe }));
21259
+ s((Le) => ({ ...Le, fields_filled: pe }));
21256
21260
  }
21257
21261
  }, [O, Ye, s]), ie(() => {
21258
21262
  if (n && !t)
@@ -21261,33 +21265,33 @@ const xS = A(N)`
21261
21265
  }, [H, Z, t, Zt, n]);
21262
21266
  const rr = () => {
21263
21267
  b(g.current), m(!1), j({ type: jt.RESET_STATE });
21264
- }, fo = (pe, Te) => {
21265
- ft(pe, Te);
21266
- }, dn = (pe, Te, ot) => {
21267
- if (!!ot && !!ot.isMulti && Te.name && Te.name !== "form-object") {
21268
+ }, fo = (pe, Le) => {
21269
+ ft(pe, Le);
21270
+ }, dn = (pe, Le, ot) => {
21271
+ if (!!ot && !!ot.isMulti && Le.name && Le.name !== "form-object") {
21268
21272
  const mt = Array.isArray(pe) ? pe.map((tt) => ({ value: tt.value, label: tt.label })) : [];
21269
- ft(Te.name, mt), p != null && p.value && Mn(Te.name, U == null ? void 0 : U[p.value]);
21273
+ ft(Le.name, mt), p != null && p.value && Pn(Le.name, U == null ? void 0 : U[p.value]);
21270
21274
  return;
21271
21275
  }
21272
- if (Te.action === "clear" && Te.name && (ft(Te.name, ""), p != null && p.value && Mn(Te.name, U == null ? void 0 : U[p.value]), gt[Te.name].isRequired && Sr(Te.name, !0)), pe && typeof pe == "object" && "label" in pe && typeof pe.label == "string" && "value" in pe && (typeof pe.value == "string" || typeof pe.value == "number") && typeof Te.name < "u")
21273
- if (Te.name === "form-object") {
21276
+ if (Le.action === "clear" && Le.name && (ft(Le.name, ""), p != null && p.value && Pn(Le.name, U == null ? void 0 : U[p.value]), gt[Le.name].isRequired && Sr(Le.name, !0)), pe && typeof pe == "object" && "label" in pe && typeof pe.label == "string" && "value" in pe && (typeof pe.value == "string" || typeof pe.value == "number") && typeof Le.name < "u")
21277
+ if (Le.name === "form-object") {
21274
21278
  if (g.current = { value: pe.value, label: pe.label }, O.values && pe.value !== (p == null ? void 0 : p.value)) {
21275
21279
  const mt = Object.values(O.values).filter(($) => $ !== "").length;
21276
21280
  (Object.values(Tt ?? {}).filter(($) => !!$).length > 0 ? !t1(O.values, Tt) : mt > 0) ? m(!0) : rr();
21277
21281
  }
21278
21282
  } else {
21279
21283
  const mt = !!ot && !!ot.isMultiSelect, tt = !mt && "prefillValues" in pe && pe.prefillValues, R = mt ? [{ value: pe.value, label: pe.label }] : { value: pe.value, label: pe.label };
21280
- if (ft(Te.name, R), tt)
21284
+ if (ft(Le.name, R), tt)
21281
21285
  for (const $ in tt)
21282
21286
  ft($, tt[$]);
21283
- p != null && p.value && Mn(Te.name, U == null ? void 0 : U[p.value]);
21287
+ p != null && p.value && Pn(Le.name, U == null ? void 0 : U[p.value]);
21284
21288
  }
21285
- }, Vn = () => {
21286
- if (!Pn() && Zt && (Z != null && Z[Zt]) && x && Bn) {
21287
- const { connectorName: pe, title: Te } = G;
21289
+ }, Gn = () => {
21290
+ if (!Bn() && Zt && (Z != null && Z[Zt]) && x && Vn) {
21291
+ const { connectorName: pe, title: Le } = G;
21288
21292
  E(c5, {
21289
21293
  connector_name: pe,
21290
- card_title: Te,
21294
+ card_title: Le,
21291
21295
  sm_ids: C,
21292
21296
  ug_id: Ut
21293
21297
  });
@@ -21301,7 +21305,7 @@ const xS = A(N)`
21301
21305
  conversationId: x,
21302
21306
  args: $,
21303
21307
  previousArgs: R,
21304
- externalResourceId: Bn,
21308
+ externalResourceId: Vn,
21305
21309
  interfaceId: nn,
21306
21310
  successCallback: () => {
21307
21311
  i();
@@ -21311,11 +21315,11 @@ const xS = A(N)`
21311
21315
  var Pe;
21312
21316
  E(u5, {
21313
21317
  connector_name: pe,
21314
- card_title: Te,
21318
+ card_title: Le,
21315
21319
  sm_ids: C,
21316
21320
  ug_id: Ut
21317
21321
  });
21318
- const ne = ((Pe = Ye[0].formFields) == null ? void 0 : Pe.filter((_e) => _e.isFieldCustom)) ?? [], me = ne.length > 0, Ie = ne.some((_e) => O.values[_e.name]);
21322
+ const ne = ((Pe = Ye[0].formFields) == null ? void 0 : Pe.filter((Ae) => Ae.isFieldCustom)) ?? [], me = ne.length > 0, _e = ne.some((Ae) => O.values[Ae.name]);
21319
21323
  E(A5, {
21320
21324
  sm_ids: C,
21321
21325
  ug_id: d,
@@ -21323,24 +21327,24 @@ const xS = A(N)`
21323
21327
  form_object: k == null ? void 0 : k.name,
21324
21328
  object_type: p == null ? void 0 : p.label,
21325
21329
  has_custom_fields: me,
21326
- custom_fields_used: Ie
21330
+ custom_fields_used: _e
21327
21331
  });
21328
21332
  }).finally(() => {
21329
21333
  tn(To(null));
21330
21334
  });
21331
21335
  }
21332
21336
  }, Lr = () => {
21333
- if (!Pn() && p && (Z != null && Z[p.value]) && x) {
21337
+ if (!Bn() && p && (Z != null && Z[p.value]) && x) {
21334
21338
  const pe = Z == null ? void 0 : Z[p.value].interfaceDetails;
21335
21339
  if (!pe)
21336
21340
  return;
21337
- const { id: Te, args: ot = {} } = pe, nn = vi(O, ot, Wt);
21341
+ const { id: Le, args: ot = {} } = pe, nn = vi(O, ot, Wt);
21338
21342
  tn(
21339
21343
  Rs({
21340
21344
  formId: String(p.value),
21341
21345
  conversationId: x,
21342
21346
  args: nn,
21343
- interfaceId: Te,
21347
+ interfaceId: Le,
21344
21348
  successCallback: () => {
21345
21349
  i();
21346
21350
  }
@@ -21350,9 +21354,9 @@ const xS = A(N)`
21350
21354
  E(Qb, {
21351
21355
  object_type: p
21352
21356
  });
21353
- const mt = ((me = Ye[0].formFields) == null ? void 0 : me.filter((Ie) => Ie.isFieldCustom)) ?? [], tt = mt.length > 0, R = mt.some((Ie) => O.values[Ie.name]), ne = Object.entries(Tt ?? {}).filter(([Ie, Pe]) => {
21354
- if (O.values[Ie] === Pe) return !0;
21355
- }).map(([Ie]) => Ie);
21357
+ const mt = ((me = Ye[0].formFields) == null ? void 0 : me.filter((_e) => _e.isFieldCustom)) ?? [], tt = mt.length > 0, R = mt.some((_e) => O.values[_e.name]), ne = Object.entries(Tt ?? {}).filter(([_e, Pe]) => {
21358
+ if (O.values[_e] === Pe) return !0;
21359
+ }).map(([_e]) => _e);
21356
21360
  E(_5, {
21357
21361
  sm_ids: C,
21358
21362
  ug_id: d,
@@ -21383,12 +21387,12 @@ const xS = A(N)`
21383
21387
  form_object: k == null ? void 0 : k.name
21384
21388
  });
21385
21389
  }, Or = ({ data: pe }) => {
21386
- er.current = !0, a == null || a(!1);
21387
- const { fields_configured_count: Te, has_system_variable: ot } = Qv(pe);
21390
+ tr.current = !0, a == null || a(!1);
21391
+ const { fields_configured_count: Le, has_system_variable: ot } = Qv(pe);
21388
21392
  E(R5, {
21389
21393
  app_name: k == null ? void 0 : k.connectorName,
21390
21394
  object_type: k == null ? void 0 : k.name,
21391
- fields_configured_count: Te,
21395
+ fields_configured_count: Le,
21392
21396
  has_system_variable: ot
21393
21397
  });
21394
21398
  }, ho = D && Y && (k == null ? void 0 : k.cardAccessMode) === "read_write", go = !h && (C == null ? void 0 : C.length) > 1 && Object.keys(Tt ?? {}).length > 0, Fr = /* @__PURE__ */ l.jsxs(Cg, { className: z ? bg : "", children: [
@@ -21397,7 +21401,7 @@ const xS = A(N)`
21397
21401
  {
21398
21402
  open: r ?? !1,
21399
21403
  isEdit: t,
21400
- fields: Qn,
21404
+ fields: er,
21401
21405
  variables: F ?? [],
21402
21406
  title: (k == null ? void 0 : k.name) || "Pre-fill fields",
21403
21407
  connectorLogo: (k == null ? void 0 : k.logoUrl) ?? "",
@@ -21433,7 +21437,7 @@ const xS = A(N)`
21433
21437
  " to ",
21434
21438
  k.connectorName
21435
21439
  ] }),
21436
- /* @__PURE__ */ l.jsx(Ee, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(IS, { src: U2 }) }) })
21440
+ /* @__PURE__ */ l.jsx(we, { title: "Close Popup", placement: "bottom", children: /* @__PURE__ */ l.jsx(lt, { onClick: o, children: /* @__PURE__ */ l.jsx(IS, { src: U2 }) }) })
21437
21441
  ] }) : null,
21438
21442
  /* @__PURE__ */ l.jsxs(yg, { spacing: 3, children: [
21439
21443
  !t && !z ? /* @__PURE__ */ l.jsx(
@@ -21483,17 +21487,17 @@ const xS = A(N)`
21483
21487
  /* @__PURE__ */ l.jsx(
21484
21488
  Fe,
21485
21489
  {
21486
- disabled: Pn() || tr || !q,
21487
- onClick: t ? Vn : Lr,
21490
+ disabled: Bn() || nr || !q,
21491
+ onClick: t ? Gn : Lr,
21488
21492
  size: "small",
21489
21493
  ...z ? { style: { order: 2 } } : null,
21490
21494
  children: t ? X5 : z5
21491
21495
  }
21492
21496
  ),
21493
- /* @__PURE__ */ l.jsx(Eg, { variant: "outlined", color: "tertiary", size: "small", onClick: o, disabled: tr, children: vu })
21497
+ /* @__PURE__ */ l.jsx(Eg, { variant: "outlined", color: "tertiary", size: "small", onClick: o, disabled: nr, children: vu })
21494
21498
  ] })
21495
21499
  ] });
21496
- return z && nr ? Xi(Fr, nr) : Fr;
21500
+ return z && In ? Xi(Fr, In) : Fr;
21497
21501
  }, xg = (e) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M9.70785 5.66671H5.70785V9.66671H4.37451V5.66671H0.374512V4.33337H4.37451V0.333374H5.70785V4.33337H9.70785V5.66671Z", fill: "#4D596C" })), ES = A(N)`
21498
21502
  box-sizing: border-box;
21499
21503
  width: 100%;
@@ -21582,7 +21586,7 @@ const _S = A(xg)`
21582
21586
  fill: ${P.palette.purple.primary} !important;
21583
21587
  }
21584
21588
  `, AS = ({ setOpenTaskLinking: e, onLinkingSuccess: t }) => {
21585
- const n = Ft(), r = we(ig), o = we(sg), i = we(F_), s = we(Y2), [a, c] = V(!1), [u, d] = V(null), [p, b] = V(""), [v, m] = V({}), { conversationId: h, sendTrackingEvent: f, email: g } = De(Qe);
21589
+ const n = Ft(), r = Ie(ig), o = Ie(sg), i = Ie(F_), s = Ie(Y2), [a, c] = V(!1), [u, d] = V(null), [p, b] = V(""), [v, m] = V({}), { conversationId: h, sendTrackingEvent: f, email: g } = De(Qe);
21586
21590
  ie(() => {
21587
21591
  s && s.length && d(s[0]);
21588
21592
  }, [s]);
@@ -21784,7 +21788,7 @@ const _S = A(xg)`
21784
21788
  ] });
21785
21789
  }, ZS = A(N)`
21786
21790
  padding: 10px 0 10px 10px;
21787
- `, { Control: $S } = jn, zS = ({ children: e, ...t }) => /* @__PURE__ */ l.jsxs($S, { ...t, children: [
21791
+ `, { Control: $S } = Mn, zS = ({ children: e, ...t }) => /* @__PURE__ */ l.jsxs($S, { ...t, children: [
21788
21792
  /* @__PURE__ */ l.jsx(ZS, { children: /* @__PURE__ */ l.jsx(Ig, {}) }),
21789
21793
  e
21790
21794
  ] }), XS = (e) => {
@@ -21872,7 +21876,7 @@ const _S = A(xg)`
21872
21876
  margin: ${({ isEmpty: e }) => e ? "0" : "12px 0"};
21873
21877
  `, KS = ({ objectId: e, searchString: t, fetchSearchResults: n }) => {
21874
21878
  var E;
21875
- const [r, o] = lg(), i = ge(null), s = we(wg), a = we(DS), c = we(NS), u = fe(() => e && a && a[e] && Array.isArray(a[e]) ? {
21879
+ const [r, o] = lg(), i = ge(null), s = Ie(wg), a = Ie(DS), c = Ie(NS), u = fe(() => e && a && a[e] && Array.isArray(a[e]) ? {
21876
21880
  id: e,
21877
21881
  formFields: a[e]
21878
21882
  } : { id: "emptyFormId", formFields: [] }, [a, e]), d = fe(() => {
@@ -21889,7 +21893,7 @@ const _S = A(xg)`
21889
21893
  formState: r,
21890
21894
  formFields: u.formFields,
21891
21895
  formId: u.id
21892
- }), x = Ae(
21896
+ }), x = Se(
21893
21897
  (C) => {
21894
21898
  i.current && clearTimeout(i.current), i.current = setTimeout(() => {
21895
21899
  n(C);
@@ -22055,7 +22059,7 @@ const _S = A(xg)`
22055
22059
  fetchSearchResults: r,
22056
22060
  onReset: o
22057
22061
  }) => {
22058
- const [i, s] = V(""), { conversationId: a, email: c, availableFeatures: u } = De(Qe), d = we(kS), p = we(wg), b = xt(u, B5), { sortedObjectList: v, updatePriority: m } = QS({ objectList: d }), { data: h } = dT({
22062
+ const [i, s] = V(""), { conversationId: a, email: c, availableFeatures: u } = De(Qe), d = Ie(kS), p = Ie(wg), b = xt(u, B5), { sortedObjectList: v, updatePriority: m } = QS({ objectList: d }), { data: h } = dT({
22059
22063
  enabled: b && !!a,
22060
22064
  conversationId: String(a),
22061
22065
  senderEmail: c
@@ -22132,7 +22136,7 @@ const _S = A(xg)`
22132
22136
  onBack: o,
22133
22137
  onLink: i
22134
22138
  }) => {
22135
- const s = Ft(), { conversationId: a, currentSmIds: c, sendTrackingEvent: u, email: d } = De(Qe), p = we(ig), b = we(sg), { mutate: v, isPending: m } = gT({ onSuccess: i }), h = b === se.LOADING, f = {
22139
+ const s = Ft(), { conversationId: a, currentSmIds: c, sendTrackingEvent: u, email: d } = De(Qe), p = Ie(ig), b = Ie(sg), { mutate: v, isPending: m } = gT({ onSuccess: i }), h = b === se.LOADING, f = {
22136
22140
  externalResourceId: e
22137
22141
  };
22138
22142
  ie(() => {
@@ -22250,7 +22254,7 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22250
22254
  let o = null;
22251
22255
  return r != null && r.data && "data" in r.data && (o = r.data.data), o;
22252
22256
  } catch (r) {
22253
- Be({ message: Kn, type: dt }), console.error(r);
22257
+ Be({ message: Qn, type: dt }), console.error(r);
22254
22258
  }
22255
22259
  }, AT = (e, t) => vn({
22256
22260
  mutationFn: _T,
@@ -22272,20 +22276,20 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22272
22276
  */
22273
22277
  OPEN_FORM_VIEW: "connector-agent-open-form-view"
22274
22278
  }, ST = (e, t = {}) => {
22275
- const { delayAfterLoad: n = 1e3 } = t, r = ge(!1), o = ge(void 0), i = Ae(
22279
+ const { delayAfterLoad: n = 1e3 } = t, r = ge(!1), o = ge(void 0), i = Se(
22276
22280
  (c = "auto") => {
22277
22281
  const u = e.current;
22278
22282
  u && u.scrollIntoView({ behavior: c });
22279
22283
  },
22280
22284
  [e]
22281
- ), s = Ae(
22285
+ ), s = Se(
22282
22286
  (c, u = "smooth") => {
22283
22287
  r.current || (o.current !== void 0 && clearTimeout(o.current), c && (o.current = setTimeout(() => {
22284
22288
  i(u), r.current = !0;
22285
22289
  }, n)));
22286
22290
  },
22287
22291
  [i, n]
22288
- ), a = Ae(() => {
22292
+ ), a = Se(() => {
22289
22293
  r.current = !1, o.current !== void 0 && clearTimeout(o.current);
22290
22294
  }, []);
22291
22295
  return ie(() => () => {
@@ -22330,7 +22334,7 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22330
22334
  sendTrackingEvent: o
22331
22335
  }) {
22332
22336
  var a;
22333
- const i = ((a = (t.presets ?? []).find((c) => c.hiverParam === n)) == null ? void 0 : a.objectParamLabel) ?? "", s = Ae(
22337
+ const i = ((a = (t.presets ?? []).find((c) => c.hiverParam === n)) == null ? void 0 : a.objectParamLabel) ?? "", s = Se(
22334
22338
  (c) => {
22335
22339
  o(S5, {
22336
22340
  hiver_param: c.target.value,
@@ -22391,7 +22395,7 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22391
22395
  }), a(m);
22392
22396
  }
22393
22397
  }, [t, r]);
22394
- const c = Nn(), { mutate: u, isPending: d } = vn({
22398
+ const c = jn(), { mutate: u, isPending: d } = vn({
22395
22399
  mutationFn: OT,
22396
22400
  onSuccess: (m) => {
22397
22401
  const h = {};
@@ -22409,15 +22413,15 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22409
22413
  onError: () => {
22410
22414
  Be({ message: "Failed to save identity mapping", type: "error" });
22411
22415
  }
22412
- }), p = Ae(() => {
22416
+ }), p = Se(() => {
22413
22417
  const m = Object.entries(s).map(([h, f]) => ({
22414
22418
  connector_id: h,
22415
22419
  hiver_param: f
22416
22420
  }));
22417
22421
  u(m);
22418
- }, [s, u]), b = Ae((m, h) => {
22422
+ }, [s, u]), b = Se((m, h) => {
22419
22423
  a((f) => ({ ...f, [m]: h }));
22420
- }, []), v = Ae(
22424
+ }, []), v = Se(
22421
22425
  (m) => {
22422
22426
  m || n();
22423
22427
  },
@@ -22457,46 +22461,48 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22457
22461
  }, [n, e]);
22458
22462
  }, BT = ({ isAdmin: e = !1 }) => {
22459
22463
  var es, $u;
22460
- const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = De(Qe), a = Ft(), { userGroupId: c, userId: u } = ln() || {}, d = ge(!1), p = ge(null), b = ge(null), v = ge(null), [m, h] = V({}), [f, g] = V(!1), [x, y] = V(!1), [E, C] = V(!1), [w, _] = V(!1), [I, T] = V(), [D, F] = V(!1), [O, j] = V(null), [G, H] = V(), [J, Z] = V(null), [U, Q] = V(!1), [ee, oe] = V(!1), [W, q] = V(!1), [k, Y] = V(!1), [re, ae] = V(void 0), he = ge(), M = we(W2), le = we(f_), Oe = we(h_), z = we(g_), Ye = we(b_), et = we(p_), je = we(X2), Wt = we(L_), Qn = we(Y2), gt = we(J2), ft = we(q2), rt = we(rS), _r = xt(o, F5), en = xt(o, dp), Ar = xt(o, P5), Mn = xt(o, V5), Sr = xt(o, G5), Pn = xt(o, H5), wn = (es = ln()) == null ? void 0 : es.tenantPlatform, Tt = xt(
22464
+ const { email: t, currentSmIds: n, sendTrackingEvent: r, availableFeatures: o, conversationId: i, connectorId: s } = De(Qe), a = Ft(), { userGroupId: c, userId: u } = ln() || {}, d = ge(!1), p = ge(null), b = ge(null), v = ge(null), [m, h] = V({}), [f, g] = V(!1), [x, y] = V(!1), [E, C] = V(!1), [w, _] = V(!1), [I, T] = V(), [D, F] = V(!1), [O, j] = V(null), [G, H] = V(), [J, Z] = V(null), [U, Q] = V(!1), [ee, oe] = V(!1), [W, q] = V(!1), [k, Y] = V(!1), [re, ae] = V(void 0), he = ge(), M = Ie(W2), le = Ie(f_), Oe = Ie(h_), z = Ie(g_), Ye = Ie(b_), et = Ie(p_), je = Ie(X2), Wt = Ie(L_), er = Ie(Y2), gt = Ie(J2), ft = Ie(q2), rt = Ie(rS), _r = xt(o, F5), en = xt(o, dp), Ar = xt(o, P5), Pn = xt(o, V5), Sr = xt(o, G5), Bn = xt(o, H5), wn = (es = ln()) == null ? void 0 : es.tenantPlatform, Tt = xt(
22461
22465
  o,
22462
22466
  wn === "HIVERWEB" ? `hot-${Dd}` : Dd
22463
22467
  ), { data: Tr } = qt({
22464
22468
  queryKey: ["connectors", "enabledAuthenticated"],
22465
22469
  queryFn: () => fh(),
22466
22470
  enabled: Tt && e
22467
- }), er = fe(() => (Tr ?? []).map((ce) => ce.id), [Tr]), { data: Ut, isSuccess: ni } = qt({
22468
- queryKey: ["lookup", "bulk", er.join(",")],
22469
- queryFn: () => RT(er),
22470
- enabled: er.length > 0 && Tt && e,
22471
+ }), tr = fe(() => (Tr ?? []).map((ce) => ce.id), [Tr]), { data: Ut, isSuccess: ni } = qt({
22472
+ queryKey: ["lookup", "bulk", tr.join(",")],
22473
+ queryFn: () => RT(tr),
22474
+ enabled: tr.length > 0 && Tt && e,
22471
22475
  refetchOnMount: !1
22472
22476
  }), uo = ni && ((Ut == null ? void 0 : Ut.connectors) ?? []).some((ce) => {
22473
- var Re;
22474
- return (((Re = ce.presets) == null ? void 0 : Re.length) ?? 0) > 1;
22477
+ var Ce;
22478
+ return (((Ce = ce.presets) == null ? void 0 : Ce.length) ?? 0) > 1;
22475
22479
  });
22476
22480
  PT({
22477
22481
  conversationId: i,
22478
22482
  openCreateForm: () => C(!0),
22479
22483
  enabled: le
22480
22484
  });
22481
- const Zt = fe(() => !M || !M.length ? null : u_(M, Oe, z), [M, Oe, z]), Bn = a6(Oe), tr = we(Vu), nr = fe(() => {
22482
- if (!tr) return [];
22485
+ const Zt = fe(() => !M || !M.length ? null : u_(M, Oe, z), [M, Oe, z]), Vn = a6(Oe), nr = Ie(Vu), In = fe(() => {
22486
+ if (!nr) return [];
22483
22487
  const ce = /* @__PURE__ */ new Map();
22484
- return Object.values(tr).forEach((Re) => {
22485
- Re.userAuthEnabled && Re.connectorId && !ce.has(Re.connectorId) && ce.set(Re.connectorId, {
22486
- connectorId: Re.connectorId,
22487
- connectorName: Re.connectorName ?? Re.name,
22488
- connectorLogo: Re.logoUrl ?? ""
22488
+ return Object.values(nr).forEach((Ce) => {
22489
+ Ce.userAuthEnabled && Ce.connectorId && !ce.has(Ce.connectorId) && ce.set(Ce.connectorId, {
22490
+ connectorId: Ce.connectorId,
22491
+ connectorName: Ce.connectorName ?? Ce.name,
22492
+ connectorLogo: Ce.logoUrl ?? ""
22489
22493
  });
22490
22494
  }), Array.from(ce.values());
22491
- }, [tr]), tn = we(
22492
- (ce) => nr.some((Re) => K_(ce, Re.connectorId))
22493
- ), rr = fe(
22494
- () => (M ?? []).filter((ce) => ce.userAuthEnabled && ce.connectorId).map((ce) => ce.connectorId),
22495
- [M]
22496
- ), { isResolving: fo } = rA(rr), { data: dn, isLoading: Vn } = Ag({
22495
+ }, [nr]), tn = Ie(
22496
+ (ce) => In.some((Ce) => K_(ce, Ce.connectorId))
22497
+ ), rr = fe(() => {
22498
+ const ce = /* @__PURE__ */ new Set();
22499
+ return (M ?? []).forEach((Ce) => {
22500
+ Ce.userAuthEnabled && Ce.connectorId && ce.add(Ce.connectorId);
22501
+ }), In.forEach((Ce) => ce.add(Ce.connectorId)), Array.from(ce);
22502
+ }, [M, In]), { isResolving: fo } = rA(rr), { data: dn, isLoading: Gn } = Ag({
22497
22503
  senderEmail: t,
22498
22504
  conversationId: String(i),
22499
- enabled: Mn && !!t
22505
+ enabled: Pn && !!t
22500
22506
  }), { emailHeaders: Lr, selectedEmail: Rr } = dn ?? {}, { scrollOnceAfterLoad: po, resetScrollState: Or } = ST(b), ho = et !== se.LOADING && (!z || !Object.values(z).some((ce) => ce === se.LOADING)) && M && M.length > 0;
22501
22507
  co(() => {
22502
22508
  var ce;
@@ -22510,21 +22516,21 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22510
22516
  ($u = v == null ? void 0 : v.current) == null ? void 0 : $u.scrollHeight,
22511
22517
  u
22512
22518
  ]);
22513
- const go = (ce, Re) => {
22519
+ const go = (ce, Ce) => {
22514
22520
  r(m5, {
22515
22521
  search_keyword: ce,
22516
22522
  sm_ids: n,
22517
- connector_name: Re,
22523
+ connector_name: Ce,
22518
22524
  suggestion_type: rt
22519
22525
  });
22520
- }, Fr = (ce, Re, kt) => {
22521
- !Array.isArray(Re) || !Re.length ? r(b5, {
22526
+ }, Fr = (ce, Ce, kt) => {
22527
+ !Array.isArray(Ce) || !Ce.length ? r(b5, {
22522
22528
  search_keyword: ce,
22523
22529
  sm_ids: n,
22524
22530
  connector_name: kt,
22525
22531
  suggestion_type: rt
22526
- }) : Re.length && r(x5, {
22527
- num_of_results: Re.length,
22532
+ }) : Ce.length && r(x5, {
22533
+ num_of_results: Ce.length,
22528
22534
  search_keyword: ce,
22529
22535
  sm_ids: n,
22530
22536
  connector_name: kt,
@@ -22534,27 +22540,27 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22534
22540
  mutate: mo,
22535
22541
  reset: kr,
22536
22542
  data: pe,
22537
- isPending: Te,
22543
+ isPending: Le,
22538
22544
  isIdle: ot
22539
- } = AT(go, Fr), nn = Ae(() => {
22545
+ } = AT(go, Fr), nn = Se(() => {
22540
22546
  kr(), j(null);
22541
- }, [kr, j]), mt = Nn(), tt = Ae(() => {
22547
+ }, [kr, j]), mt = jn(), tt = Se(() => {
22542
22548
  if (t && n.length && i) {
22543
22549
  const ce = a(Ns({ inboxIds: n, conversationId: i, connectorId: s }));
22544
22550
  return () => ce.abort();
22545
22551
  }
22546
- }, [a, t, n, i, s]), R = Ae(() => {
22552
+ }, [a, t, n, i, s]), R = Se(() => {
22547
22553
  mt.invalidateQueries({ queryKey: ["lookup", "bulk"] }), tt();
22548
- }, [mt, tt]), $ = Ae(() => {
22554
+ }, [mt, tt]), $ = Se(() => {
22549
22555
  mt.invalidateQueries({ queryKey: ["lookup", "bulk"] }), tt();
22550
- }, [mt, tt]), ne = Ae(
22551
- (ce, Re) => {
22552
- ce && i && Re && a(
22556
+ }, [mt, tt]), ne = Se(
22557
+ (ce, Ce) => {
22558
+ ce && i && Ce && a(
22553
22559
  Ds({
22554
22560
  id: ce,
22555
22561
  channelType: "email",
22556
22562
  conversationId: i,
22557
- externalResourceId: Re,
22563
+ externalResourceId: Ce,
22558
22564
  contactEmail: t
22559
22565
  })
22560
22566
  ).unwrap().catch(() => {
@@ -22568,8 +22574,8 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22568
22574
  u && (Q(await Lf(u)), oe(await o3(u)));
22569
22575
  })();
22570
22576
  }, [u]), ie(() => {
22571
- Vn || H(Rr || t);
22572
- }, [t, Rr, Vn]), ie(() => {
22577
+ Gn || H(Rr || t);
22578
+ }, [t, Rr, Gn]), ie(() => {
22573
22579
  G && i && wT(String(i), G);
22574
22580
  }, [G, i]), ie(() => {
22575
22581
  ee && u && i3(u);
@@ -22577,8 +22583,8 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22577
22583
  var ce;
22578
22584
  if (gt) {
22579
22585
  y(!0);
22580
- const { externalResourceId: Re } = gt, kt = (ce = gt.forms.find((Hn) => Hn.type === "edit")) == null ? void 0 : ce.id;
22581
- ne(kt, Re);
22586
+ const { externalResourceId: Ce } = gt, kt = (ce = gt.forms.find((Wn) => Wn.type === "edit")) == null ? void 0 : ce.id;
22587
+ ne(kt, Ce);
22582
22588
  } else
22583
22589
  y(!1), a(r_());
22584
22590
  }, [gt, ne, a]), ie(() => {
@@ -22589,13 +22595,13 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22589
22595
  }, [a, tt, Or]), ie(() => {
22590
22596
  var ce;
22591
22597
  if (Ye && M && M.length && Zt && !d.current) {
22592
- const { cards_per_app: Re, total_empty_cards: kt, total_cards_with_errors: Hn } = Zt, zu = s ? (ce = Re[0]) == null ? void 0 : ce.app_name : null;
22598
+ const { cards_per_app: Ce, total_empty_cards: kt, total_cards_with_errors: Wn } = Zt, zu = s ? (ce = Ce[0]) == null ? void 0 : ce.app_name : null;
22593
22599
  r($b, {
22594
22600
  numOfCards: M.length,
22595
22601
  total_cards_loaded: M.length,
22596
22602
  total_empty_cards: kt,
22597
- total_cards_with_errors: Hn,
22598
- cards_per_app: Re,
22603
+ total_cards_with_errors: Wn,
22604
+ cards_per_app: Ce,
22599
22605
  sm_ids: n,
22600
22606
  ...zu ? { app_name: zu } : null
22601
22607
  }), d.current = !0;
@@ -22610,18 +22616,18 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22610
22616
  inboxIds: n,
22611
22617
  conversationId: i,
22612
22618
  channelType: "email",
22613
- isExpandedFormEnabled: Pn,
22619
+ isExpandedFormEnabled: Bn,
22614
22620
  connectorId: s
22615
22621
  })
22616
22622
  );
22617
22623
  return () => ce.abort();
22618
22624
  }
22619
- }, [a, n, i, Pn, s]), ie(() => {
22620
- const ce = (Re) => {
22621
- var Hn;
22622
- if (!(Re instanceof CustomEvent))
22625
+ }, [a, n, i, Bn, s]), ie(() => {
22626
+ const ce = (Ce) => {
22627
+ var Wn;
22628
+ if (!(Ce instanceof CustomEvent))
22623
22629
  return;
22624
- const kt = (Hn = Re.detail) == null ? void 0 : Hn.connectorKey;
22630
+ const kt = (Wn = Ce.detail) == null ? void 0 : Wn.connectorKey;
22625
22631
  h({ connectorKey: kt });
22626
22632
  };
22627
22633
  return window.addEventListener(u1.OPEN_FORM_VIEW, ce), () => {
@@ -22632,13 +22638,13 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22632
22638
  return;
22633
22639
  const ce = m.connectorKey;
22634
22640
  h({});
22635
- const Re = je.find(
22641
+ const Ce = je.find(
22636
22642
  (kt) => {
22637
- var Hn;
22638
- return ((Hn = kt.connectorKey) == null ? void 0 : Hn.toLowerCase()) === (ce == null ? void 0 : ce.toLowerCase());
22643
+ var Wn;
22644
+ return ((Wn = kt.connectorKey) == null ? void 0 : Wn.toLowerCase()) === (ce == null ? void 0 : ce.toLowerCase());
22639
22645
  }
22640
22646
  );
22641
- Re && (Z(Re), C(!0));
22647
+ Ce && (Z(Ce), C(!0));
22642
22648
  }, [je, m]), !t.length || et === se.LOADING || fo)
22643
22649
  return /* @__PURE__ */ l.jsx(HA, {});
22644
22650
  const me = (ce) => {
@@ -22647,17 +22653,17 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22647
22653
  source: ce,
22648
22654
  sm_ids: n
22649
22655
  });
22650
- }, Ie = (ce) => {
22656
+ }, _e = (ce) => {
22651
22657
  C(!0), me(ce);
22652
22658
  }, Pe = () => {
22653
- _(!0), _e(Od), Le(Fd), r(Kb);
22654
- }, _e = (ce) => {
22659
+ _(!0), Ae(Od), Re(Fd), r(Kb);
22660
+ }, Ae = (ce) => {
22655
22661
  r(ce, I), ft ? F(!0) : (C(!1), Z(null));
22656
- }, Le = (ce) => {
22662
+ }, Re = (ce) => {
22657
22663
  if (gt) {
22658
- const { connectorName: Re, title: kt } = gt;
22664
+ const { connectorName: Ce, title: kt } = gt;
22659
22665
  r(ce, {
22660
- connector_name: Re,
22666
+ connector_name: Ce,
22661
22667
  card_title: kt,
22662
22668
  sm_ids: n,
22663
22669
  ug_id: c
@@ -22679,18 +22685,18 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22679
22685
  variant: "contained",
22680
22686
  action: () => F(!1)
22681
22687
  }
22682
- ], _t = je.length > 0, In = Qn.length > 0, Gn = E || x || w, Ct = () => _t || In ? /* @__PURE__ */ l.jsx(
22688
+ ], _t = je.length > 0, _n = er.length > 0, Hn = E || x || w, Ct = () => _t || _n ? /* @__PURE__ */ l.jsx(
22683
22689
  FS,
22684
22690
  {
22685
22691
  haveCreateObjects: _t,
22686
- haveLinkObjects: In,
22687
- onCreateClick: () => Ie(jd.MAIN_BUTTON),
22692
+ haveLinkObjects: _n,
22693
+ onCreateClick: () => _e(jd.MAIN_BUTTON),
22688
22694
  onLinkClick: () => _(!0)
22689
22695
  }
22690
22696
  ) : /* @__PURE__ */ l.jsx(i1, { isAdmin: e, hideHeading: !0 }), ri = () => {
22691
22697
  q(!0);
22692
- const ce = he.current, Re = ce == null ? void 0 : ce.connectorName, kt = ce == null ? void 0 : ce.name;
22693
- r(L5, { entry_point: "agent", app_name: Re, object_type: kt });
22698
+ const ce = he.current, Ce = ce == null ? void 0 : ce.connectorName, kt = ce == null ? void 0 : ce.name;
22699
+ r(L5, { entry_point: "agent", app_name: Ce, object_type: kt });
22694
22700
  }, Xa = (ce) => {
22695
22701
  he.current = ce;
22696
22702
  };
@@ -22717,16 +22723,16 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22717
22723
  !tn && /* @__PURE__ */ l.jsx(
22718
22724
  v9,
22719
22725
  {
22720
- connectors: Bn,
22726
+ connectors: Vn,
22721
22727
  isWriteFlowEnabled: en,
22722
22728
  haveCreateObjects: _t,
22723
- haveLinkObjects: In,
22729
+ haveLinkObjects: _n,
22724
22730
  cards: M,
22725
- handleCreateNewObject: () => Ie(jd.ICON),
22731
+ handleCreateNewObject: () => _e(jd.ICON),
22726
22732
  handleLinkNewObject: Pe
22727
22733
  }
22728
22734
  ),
22729
- Ar && !Gn ? /* @__PURE__ */ l.jsx(
22735
+ Ar && !Hn ? /* @__PURE__ */ l.jsx(
22730
22736
  fT,
22731
22737
  {
22732
22738
  selectedObject: O,
@@ -22737,8 +22743,8 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22737
22743
  }
22738
22744
  ) : null,
22739
22745
  /* @__PURE__ */ l.jsxs(Yo, { children: [
22740
- /* @__PURE__ */ l.jsx(Zn, { condition: Ar && Te, children: /* @__PURE__ */ l.jsx(ET, {}) }, "search"),
22741
- /* @__PURE__ */ l.jsx(Zn, { condition: Ar && !!O && !ot, children: /* @__PURE__ */ l.jsx(
22746
+ /* @__PURE__ */ l.jsx($n, { condition: Ar && Le, children: /* @__PURE__ */ l.jsx(ET, {}) }, "search"),
22747
+ /* @__PURE__ */ l.jsx($n, { condition: Ar && !!O && !ot, children: /* @__PURE__ */ l.jsx(
22742
22748
  CT,
22743
22749
  {
22744
22750
  searchResults: pe ?? [],
@@ -22747,10 +22753,10 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22747
22753
  fetchCards: tt
22748
22754
  }
22749
22755
  ) }, "results"),
22750
- /* @__PURE__ */ l.jsx(Zn, { condition: E, children: /* @__PURE__ */ l.jsx(
22756
+ /* @__PURE__ */ l.jsx($n, { condition: E, children: /* @__PURE__ */ l.jsx(
22751
22757
  Ac,
22752
22758
  {
22753
- onClose: () => _e(Od),
22759
+ onClose: () => Ae(Od),
22754
22760
  title: yu,
22755
22761
  rightNode: /* @__PURE__ */ l.jsx(
22756
22762
  SS,
@@ -22765,12 +22771,12 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22765
22771
  children: /* @__PURE__ */ l.jsx(
22766
22772
  l1,
22767
22773
  {
22768
- onClose: () => _e(r5),
22774
+ onClose: () => Ae(r5),
22769
22775
  onCreateSuccess: nt,
22770
22776
  metaData: I,
22771
22777
  setMetaData: T,
22772
22778
  defaultOption: J,
22773
- connectors: Bn,
22779
+ connectors: Vn,
22774
22780
  mapFormOpen: W,
22775
22781
  setMapFormOpen: q,
22776
22782
  setCreateFormId: ae,
@@ -22779,39 +22785,39 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22779
22785
  )
22780
22786
  }
22781
22787
  ) }, "create-form"),
22782
- /* @__PURE__ */ l.jsx(Zn, { condition: x, children: /* @__PURE__ */ l.jsx(
22788
+ /* @__PURE__ */ l.jsx($n, { condition: x, children: /* @__PURE__ */ l.jsx(
22783
22789
  Ac,
22784
22790
  {
22785
- onClose: () => Le(Fd),
22791
+ onClose: () => Re(Fd),
22786
22792
  title: q5,
22787
22793
  backButtonTooltip: "Back",
22788
22794
  children: /* @__PURE__ */ l.jsx(
22789
22795
  l1,
22790
22796
  {
22791
22797
  isEdit: !0,
22792
- onClose: () => Le(l5),
22798
+ onClose: () => Re(l5),
22793
22799
  onCreateSuccess: nt,
22794
22800
  metaData: I,
22795
22801
  setMetaData: T,
22796
- connectors: Bn
22802
+ connectors: Vn
22797
22803
  }
22798
22804
  )
22799
22805
  }
22800
22806
  ) }, "edit-form"),
22801
- /* @__PURE__ */ l.jsx(Zn, { condition: w, children: /* @__PURE__ */ l.jsx(Ac, { onClose: () => _(!1), children: /* @__PURE__ */ l.jsx(AS, { setOpenTaskLinking: _, onLinkingSuccess: tt }) }) }, "link-form"),
22802
- /* @__PURE__ */ l.jsxs(Zn, { fallback: !0, children: [
22803
- Mn && (M != null && M.length) && !tn ? /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "8px", children: [
22807
+ /* @__PURE__ */ l.jsx($n, { condition: w, children: /* @__PURE__ */ l.jsx(Ac, { onClose: () => _(!1), children: /* @__PURE__ */ l.jsx(AS, { setOpenTaskLinking: _, onLinkingSuccess: tt }) }) }, "link-form"),
22808
+ /* @__PURE__ */ l.jsxs($n, { fallback: !0, children: [
22809
+ Pn && (M != null && M.length) && !tn ? /* @__PURE__ */ l.jsxs(N, { direction: "row", alignItems: "center", gap: "8px", children: [
22804
22810
  /* @__PURE__ */ l.jsx(N, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ l.jsx(
22805
22811
  KA,
22806
22812
  {
22807
22813
  emailHeaders: Lr,
22808
22814
  selectedEmail: G,
22809
22815
  root: p.current,
22810
- isLoading: Vn,
22816
+ isLoading: Gn,
22811
22817
  setSelectedEmail: H
22812
22818
  }
22813
22819
  ) }),
22814
- Tt && uo && e && /* @__PURE__ */ l.jsx(Ee, { title: "Update customer identity mapping", placement: "top", children: /* @__PURE__ */ l.jsx(
22820
+ Tt && uo && e && /* @__PURE__ */ l.jsx(we, { title: "Update customer identity mapping", placement: "top", children: /* @__PURE__ */ l.jsx(
22815
22821
  lt,
22816
22822
  {
22817
22823
  "aria-label": "Open customer identity mapping settings",
@@ -22823,7 +22829,7 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22823
22829
  }
22824
22830
  ) })
22825
22831
  ] }) : null,
22826
- !Mn && Tt && uo && e && (M != null && M.length) ? /* @__PURE__ */ l.jsx(
22832
+ !Pn && Tt && uo && e && (M != null && M.length) ? /* @__PURE__ */ l.jsx(
22827
22833
  Fe,
22828
22834
  {
22829
22835
  fullWidth: !0,
@@ -22853,7 +22859,7 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22853
22859
  ) : null,
22854
22860
  _r ? /* @__PURE__ */ l.jsx(WA, {}) : null,
22855
22861
  /* @__PURE__ */ l.jsxs(Yo, { children: [
22856
- /* @__PURE__ */ l.jsxs(Zn, { condition: !!M && M.length > 0, children: [
22862
+ /* @__PURE__ */ l.jsxs($n, { condition: !!M && M.length > 0, children: [
22857
22863
  /* @__PURE__ */ l.jsx(
22858
22864
  fA,
22859
22865
  {
@@ -22864,9 +22870,9 @@ const $l = /* @__PURE__ */ new Set(), wT = (e, t) => {
22864
22870
  onCardUnlinking: tt
22865
22871
  }
22866
22872
  ),
22867
- /* @__PURE__ */ l.jsx("div", { ref: b, children: Sr ? /* @__PURE__ */ l.jsx(v6, { connectors: Bn, expanded: U }) : null })
22873
+ /* @__PURE__ */ l.jsx("div", { ref: b, children: Sr ? /* @__PURE__ */ l.jsx(v6, { connectors: Vn, expanded: U }) : null })
22868
22874
  ] }, "cards-list"),
22869
- /* @__PURE__ */ l.jsx(Zn, { condition: !(M != null && M.length) && en, children: nr.length > 0 ? /* @__PURE__ */ l.jsx(hA, { connectors: nr, onConnected: $, children: Ct() }) : Ct() }, "create-banner")
22875
+ /* @__PURE__ */ l.jsx($n, { condition: !(M != null && M.length) && en, children: In.length > 0 ? /* @__PURE__ */ l.jsx(hA, { connectors: In, onConnected: $, children: Ct() }) : Ct() }, "create-banner")
22870
22876
  ] })
22871
22877
  ] }, "cards")
22872
22878
  ] })
@@ -23255,7 +23261,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23255
23261
  { label: "Data is not accurate", value: "Data is not accurate" },
23256
23262
  { label: "Data is from the wrong App", value: "Data is from the wrong App" },
23257
23263
  { label: "Other", value: "other" }
23258
- ], sL = "Tell us more (optional)", aL = "Enter your feedback", Rc = 40, cL = "Feedback submitted", lL = "Failed to submit feedback", _n = {
23264
+ ], sL = "Tell us more (optional)", aL = "Enter your feedback", Rc = 40, cL = "Feedback submitted", lL = "Failed to submit feedback", An = {
23259
23265
  OBJECT_HIGHLIGHTED: "app_object_detection_highlighted",
23260
23266
  OBJECT_HOVERED: "app_object_detection_hovered",
23261
23267
  PERMALINK_CLICKED: "app_object_detection_permalink_clicked",
@@ -23413,7 +23419,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23413
23419
  width: 100%;
23414
23420
  min-height: 40px;
23415
23421
  background-color: ${P.palette.gray.gray6a};
23416
- `, hi = A(Ee)`
23422
+ `, hi = A(we)`
23417
23423
  padding: 6px;
23418
23424
  border-radius: 6px;
23419
23425
  `, EL = A(Fe)`
@@ -23456,20 +23462,20 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23456
23462
  if (ie(() => {
23457
23463
  const U = Date.now();
23458
23464
  return () => {
23459
- c(_n.DATA_CARD_DURATION, { ...I, duration: Date.now() - U });
23465
+ c(An.DATA_CARD_DURATION, { ...I, duration: Date.now() - U });
23460
23466
  };
23461
23467
  }, [c]), ie(() => {
23462
23468
  var Q, ee, oe;
23463
23469
  const U = (oe = (ee = (Q = e == null ? void 0 : e.cardData) == null ? void 0 : Q.data) == null ? void 0 : ee.flatDetails) == null ? void 0 : oe.data;
23464
23470
  if (U) {
23465
23471
  const W = U.sort((q, k) => q.priority - k.priority);
23466
- h(W), c(_n.OBJECT_HOVERED, I);
23472
+ h(W), c(An.OBJECT_HOVERED, I);
23467
23473
  }
23468
23474
  }, [e, c, I]), !m || m.length === 0) return null;
23469
23475
  const T = () => {
23470
- d(!0), c(_n.FEEDBACK_OPTION_CLICKED, I);
23476
+ d(!0), c(An.FEEDBACK_OPTION_CLICKED, I);
23471
23477
  }, D = () => {
23472
- v(!0), c(_n.NEGATIVE_FEEDBACK_CLICKED, I);
23478
+ v(!0), c(An.NEGATIVE_FEEDBACK_CLICKED, I);
23473
23479
  }, F = (U) => {
23474
23480
  const Q = {
23475
23481
  card_id: E,
@@ -23485,7 +23491,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23485
23491
  },
23486
23492
  {
23487
23493
  onSuccess: () => {
23488
- u ? c(_n.FEEDBACK_OPTION_SUBMITTED, I) : b && c(_n.NEGATIVE_FEEDBACK_SUBMITTED, I), d(!1), v(!1), Be({ message: cL, type: xn });
23494
+ u ? c(An.FEEDBACK_OPTION_SUBMITTED, I) : b && c(An.NEGATIVE_FEEDBACK_SUBMITTED, I), d(!1), v(!1), Be({ message: cL, type: xn });
23489
23495
  },
23490
23496
  onError: () => {
23491
23497
  Be({ message: lL, type: dt });
@@ -23493,7 +23499,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23493
23499
  }
23494
23500
  );
23495
23501
  }, O = () => {
23496
- F({ isThumbsUp: !0 }), c(_n.POSITIVE_FEEDBACK_CLICKED, I);
23502
+ F({ isThumbsUp: !0 }), c(An.POSITIVE_FEEDBACK_CLICKED, I);
23497
23503
  }, j = (U) => {
23498
23504
  F({ ...U, isThumbsUp: !1 });
23499
23505
  }, G = () => {
@@ -23501,12 +23507,12 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23501
23507
  }, H = () => {
23502
23508
  s == null || s();
23503
23509
  }, J = (U) => {
23504
- c(_n.PERMALINK_CLICKED, {
23510
+ c(An.PERMALINK_CLICKED, {
23505
23511
  ...I,
23506
23512
  clicked_value: U
23507
23513
  });
23508
23514
  }, Z = () => {
23509
- p.current || (c(_n.DATA_CARD_SCROLLED, I), p.current = !0);
23515
+ p.current || (c(An.DATA_CARD_SCROLLED, I), p.current = !0);
23510
23516
  };
23511
23517
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
23512
23518
  /* @__PURE__ */ l.jsxs(pL, { children: [
@@ -23514,7 +23520,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23514
23520
  /* @__PURE__ */ l.jsxs(hL, { children: [
23515
23521
  /* @__PURE__ */ l.jsxs(N, { flexDirection: "row", alignItems: "center", style: { height: "100%" }, children: [
23516
23522
  x && /* @__PURE__ */ l.jsx("img", { src: x, alt: "Logo", style: { marginRight: 8 }, height: 18, width: 18 }),
23517
- /* @__PURE__ */ l.jsx(Ee, { title: y, arrow: !0, placement: "top", children: /* @__PURE__ */ l.jsx(gL, { variant: "h3", color: P.palette.gray.black, width: o ? "100px" : "200px", children: y }) })
23523
+ /* @__PURE__ */ l.jsx(we, { title: y, arrow: !0, placement: "top", children: /* @__PURE__ */ l.jsx(gL, { variant: "h3", color: P.palette.gray.black, width: o ? "100px" : "200px", children: y }) })
23518
23524
  ] }),
23519
23525
  o ? /* @__PURE__ */ l.jsx(EL, { variant: "text", size: "small", endIcon: /* @__PURE__ */ l.jsx(Ke.ArrowForward, {}), onClick: H, children: tL }) : null
23520
23526
  ] }),
@@ -23524,7 +23530,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23524
23530
  ee,
23525
23531
  ":"
23526
23532
  ] }),
23527
- /* @__PURE__ */ l.jsx(Ee, { title: (Q == null ? void 0 : Q.length) > Rc ? Q : "", arrow: !0, placement: "top", children: oe ? /* @__PURE__ */ l.jsx(
23533
+ /* @__PURE__ */ l.jsx(we, { title: (Q == null ? void 0 : Q.length) > Rc ? Q : "", arrow: !0, placement: "top", children: oe ? /* @__PURE__ */ l.jsx(
23528
23534
  zi,
23529
23535
  {
23530
23536
  href: oe,
@@ -23572,7 +23578,7 @@ const JT = "Everything looks good", qT = "Something is not working", KT = "Share
23572
23578
  }, p1 = (e, t, n, r = 10) => e >= n.left - r && e <= n.right + r && t >= n.top - r && t <= n.bottom + r, h1 = (e, t = 350, n = 400) => {
23573
23579
  const r = e.getBoundingClientRect(), o = window.innerHeight, i = window.innerWidth, s = r.top, a = o - r.bottom;
23574
23580
  return a >= t || a > s ? r.left < n / 2 ? "bottom-start" : i - r.right < n / 2 ? "bottom-end" : "bottom" : r.left < n / 2 ? "top-start" : i - r.right < n / 2 ? "top-end" : "top";
23575
- }, SL = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(Ee, { ...t, classes: { popper: e } }))(() => ({
23581
+ }, SL = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(we, { ...t, classes: { popper: e } }))(() => ({
23576
23582
  [`& .${eo.tooltip}`]: {
23577
23583
  backgroundColor: "#fff",
23578
23584
  padding: 0,
@@ -23680,7 +23686,7 @@ const LL = ({
23680
23686
  connector_id: f.connectorId
23681
23687
  };
23682
23688
  });
23683
- s(_n.OBJECT_HIGHLIGHTED, {
23689
+ s(An.OBJECT_HIGHLIGHTED, {
23684
23690
  conversation_id: e,
23685
23691
  sm_id: n[0],
23686
23692
  all_sm_ids: n,
@@ -23840,7 +23846,7 @@ const FL = (e) => {
23840
23846
  [ve.PAUSED]: "Synced",
23841
23847
  [ve.ERROR]: "Syncing failed",
23842
23848
  [ve.UNAUTHENTICATED]: "Sync conversation"
23843
- }, un = Xl({}), WL = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(Ee, { ...t, classes: { popper: e } }))(() => ({
23849
+ }, un = Xl({}), WL = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(we, { ...t, classes: { popper: e } }))(() => ({
23844
23850
  [`& .${eo.tooltip}`]: {
23845
23851
  backgroundColor: "#fff",
23846
23852
  padding: 0,
@@ -24053,7 +24059,7 @@ const FL = (e) => {
24053
24059
  const { connectorFunctions: s } = De(un), a = s == null ? void 0 : s.sendTrackingEvent, [c, u] = V(() => localStorage.getItem(m1) === "true"), [d, p] = V(!1), { connectorId: b, connectorName: v, connectorStatus: m } = n ?? {}, h = t || m !== ua.DISABLED, f = m === ua.UNAUTHENTICATED, g = r === ve.PENDING, x = () => {
24054
24060
  localStorage.setItem(m1, "true"), u(!0), p(!0), a == null || a(Vt.email_logging_intro_popup_continue_clicked, { app_name: v });
24055
24061
  };
24056
- return c ? f ? /* @__PURE__ */ l.jsx(LR, { connectorId: b, connectorName: v, isAdmin: t, isAuthenticated: !1, children: e }) : o ? /* @__PURE__ */ l.jsx(Ee, { title: KL, children: e }) : g ? /* @__PURE__ */ l.jsx(Ee, { title: qL.replace(":connectorName", v), children: e }) : i ? /* @__PURE__ */ l.jsx(ZL, { defaultOpen: d, renderTooltip: i, children: e }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: e }) : /* @__PURE__ */ l.jsx(yR, { onContinue: h ? x : void 0, connectorName: v, children: e });
24062
+ return c ? f ? /* @__PURE__ */ l.jsx(LR, { connectorId: b, connectorName: v, isAdmin: t, isAuthenticated: !1, children: e }) : o ? /* @__PURE__ */ l.jsx(we, { title: KL, children: e }) : g ? /* @__PURE__ */ l.jsx(we, { title: qL.replace(":connectorName", v), children: e }) : i ? /* @__PURE__ */ l.jsx(ZL, { defaultOpen: d, renderTooltip: i, children: e }) : /* @__PURE__ */ l.jsx(l.Fragment, { children: e }) : /* @__PURE__ */ l.jsx(yR, { onContinue: h ? x : void 0, connectorName: v, children: e });
24057
24063
  }, OR = (e) => /* @__PURE__ */ S.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M28.6168 54.7446C28.6931 52.5589 31.0146 51.1102 33.0842 51.8174C35.9985 52.8133 40.0375 53.9024 44.0621 54.043C48.0034 54.1806 51.968 53.4097 54.8762 52.6339C57.0264 52.0602 59.2927 53.6932 59.215 55.9172C59.1742 57.0856 58.4742 58.1269 57.3723 58.5178C54.8051 59.4284 49.7633 60.8927 44.3075 60.7022C38.7694 60.5088 33.1999 58.6241 30.4004 57.5311C29.2637 57.0873 28.5742 55.9641 28.6168 54.7446Z", fill: "url(#paint0_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "url(#paint1_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("mask", { id: "mask0_8481_102191", style: {
24058
24064
  maskType: "luminance"
24059
24065
  }, maskUnits: "userSpaceOnUse", x: 46, y: 14, width: 60, height: 79 }, /* @__PURE__ */ S.createElement("path", { d: "M47.223 43.6373C44.4928 30.7926 52.6922 18.1666 65.5368 15.4364C78.3815 12.7062 91.0075 20.9055 93.7377 33.7502L105.079 87.1053L84.1844 91.5466C70.0346 94.5542 56.1258 85.5217 53.1182 71.3719L47.223 43.6373Z", fill: "white" })), /* @__PURE__ */ S.createElement("g", { mask: "url(#mask0_8481_102191)" }, /* @__PURE__ */ S.createElement("ellipse", { cx: 63.7775, cy: 46.8684, rx: 1.48152, ry: 1.39438, transform: "rotate(-12 63.7775 46.8684)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 47.4368, y: 59.3203, width: 53.657, height: 13.2235, transform: "rotate(-12 47.4368 59.3203)", fill: "url(#paint2_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 51.1907, y: 76.9824, width: 53.657, height: 10.4263, transform: "rotate(-12 51.1907 76.9824)", fill: "url(#paint3_linear_8481_102191)" })), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M113.939 51.0679C114.775 55 112.265 58.865 108.333 59.7008L107.842 59.8052C103.639 60.6986 99.5073 58.0155 98.6139 53.8123L97.205 47.1837L105.307 45.4616C109.239 44.6259 113.104 47.1359 113.939 51.0679Z", fill: "url(#paint4_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M68.7215 66.4138C67.1801 64.8725 67.6745 62.2062 69.587 61.1603C72.4457 59.5969 76.2861 57.1773 79.3785 54.0849C82.4099 51.0535 84.752 47.3461 86.2775 44.5465C87.3388 42.5989 90.0598 42.0819 91.6282 43.6503C92.4782 44.5003 92.758 45.7623 92.2604 46.8566C91.0829 49.4466 88.5191 54.344 84.4346 58.4285C80.2853 62.5778 74.8639 65.591 72.0553 66.9952C70.9363 67.5548 69.6062 67.2985 68.7215 66.4138Z", fill: "url(#paint5_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 48.7264, y: 33.7744, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 48.7264 33.7744)", fill: "url(#paint6_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 50.0175, y: 35.8193, width: 4.0158, height: 3.84848, rx: 1.92424, transform: "rotate(-12 50.0175 35.8193)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("rect", { x: 59.2875, y: 31.5723, width: 11.2108, height: 11.2108, rx: 5.59457, transform: "rotate(-12 59.2875 31.5723)", fill: "#FFFEFE" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.883952, d: "M111.25 38.5376C110.415 34.6055 106.55 32.0955 102.618 32.9313L102.127 33.0356C97.9234 33.9291 95.2403 38.0607 96.1337 42.2639L97.5426 48.8925L105.644 47.1705C109.576 46.3347 112.086 42.4696 111.25 38.5376Z", fill: "url(#paint7_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("rect", { x: 60.0181, y: 33.8037, width: 3.84848, height: 3.84848, rx: 1.90724, transform: "rotate(-12 60.0181 33.8037)", fill: "#435C71" }), /* @__PURE__ */ S.createElement("path", { d: "M36.9246 59.1604C36.4487 60.717 34.7371 61.6271 33.1805 61.1512C32.3613 60.9007 31.7241 60.3475 31.3259 59.5987L25.2059 46.7983C24.9784 46.3703 25.1286 45.8788 25.5566 45.6513L28.338 44.1724C28.7659 43.9449 29.2574 44.0951 29.4849 44.5231L36.6496 56.8367C37.0728 57.5036 37.15 58.423 36.9246 59.1604Z", fill: "#FFDF9F" }), /* @__PURE__ */ S.createElement("rect", { x: 27.9973, y: 44.333, width: 2.39869, height: 3.59807, transform: "rotate(152 27.9973 44.333)", fill: "#FF9090" }), /* @__PURE__ */ S.createElement("path", { d: "M26.6628 44.3769L26.9472 44.9118L28.0169 44.343L26.3106 41.1338L24.171 42.2714L25.0243 43.876C25.6661 43.5347 26.3215 43.7351 26.6628 44.3769Z", fill: "#FFB19F" }), /* @__PURE__ */ S.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.26386 27.248C9.3428 20.4481 16.5101 16.6372 23.31 18.7161C30.11 20.7951 33.9209 27.9624 31.8419 34.7623C29.763 41.5622 22.5956 45.3731 15.7958 43.2942C8.99587 41.2152 5.18493 34.0479 7.26386 27.248ZM9.72157 27.9983C8.06843 33.4055 11.1399 39.1821 16.5471 40.8352C21.9543 42.4884 27.7309 39.4168 29.384 34.0096C31.0372 28.6024 27.9657 22.8258 22.5585 21.1727C17.1513 19.5196 11.3747 22.5911 9.72157 27.9983Z", fill: "#FFE69F" }), /* @__PURE__ */ S.createElement("circle", { opacity: 0.414016, cx: 19.5529, cy: 31.0039, r: 10.2804, transform: "rotate(17 19.5529 31.0039)", fill: "#BBDEFC" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3685 30.6746C15.7299 27.6867 18.9391 25.9803 22.1776 26.5225L22.2595 26.5475C23.7024 26.8095 24.3854 24.8682 23.1497 24.2218C22.3806 23.8074 21.5613 23.557 20.717 23.3884C17.3715 22.9031 14.0553 24.6664 12.6939 27.6543C12.2796 28.4235 12.0859 29.3497 12.0244 30.1372C11.8444 31.6051 13.8607 32.0424 14.4503 30.6997C14.3434 30.7566 14.3685 30.6746 14.3685 30.6746Z", fill: "#F6FBFF" }), /* @__PURE__ */ S.createElement("path", { d: "M10.2904 29.0679C11.9436 23.6607 17.7202 20.5893 23.1274 22.2424C25.6671 23.0189 27.5785 24.6783 28.9301 26.704C27.7539 24.1048 25.508 22.0744 22.5586 21.1727C17.1514 19.5196 11.3748 22.591 9.72165 27.9982C8.81993 30.9476 9.32924 33.97 10.7444 36.3735C9.82081 34.1203 9.51395 31.6077 10.2904 29.0679Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.406087, d: "M36.4864 56.8021L36.1373 56.2691C36.3845 56.8563 36.428 57.5516 36.2372 58.1754C35.9273 59.189 34.5593 59.1971 34.0713 58.2806L28.3787 47.5877C28.0534 46.9767 27.3508 46.7619 26.7395 47.0866L25.7206 47.6277L31.4395 59.3516C31.7648 59.9627 32.27 60.5434 32.8706 60.8123C33.7054 61.1528 34.6593 61.1034 35.3726 60.7247C36.0858 60.3459 36.6602 59.5837 36.8444 58.7021C37.0351 58.0783 36.8117 57.4132 36.4864 56.8021Z", fill: "white" }), /* @__PURE__ */ S.createElement("path", { d: "M29.8826 48.4977C29.8006 48.4726 29.6368 48.4225 29.5799 48.3155L28.1579 45.6411C28.0442 45.4272 28.1193 45.1814 28.3332 45.0677C28.5472 44.9539 28.7929 45.0291 28.9067 45.243L30.3287 47.9174C30.4424 48.1313 30.3673 48.3771 30.1534 48.4908C30.1284 48.5728 29.9645 48.5227 29.8826 48.4977Z", fill: "#FFF5EB" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 29.2637, cy: 54.631, rx: 1.50593, ry: 3.17918, transform: "rotate(-23 29.2637 54.631)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("ellipse", { cx: 34.0592, cy: 52.4078, rx: 0.920288, ry: 1.67325, transform: "rotate(106 34.0592 52.4078)", fill: "#FFC478" }), /* @__PURE__ */ S.createElement("path", { d: "M89.1282 19.2055L68.2257 26.8725L45.9197 28.3898L44.4929 16.4082C44.3371 13.798 47.5283 11.4502 50.9859 11.6309L65.1429 12.369L67.3969 12.4869C68.5309 12.5463 69.7066 12.3289 70.7522 11.8627L78.6899 8.34726C81.725 6.99992 85.3012 7.87475 86.2125 10.1876L89.1282 19.2055Z", fill: "url(#paint8_linear_8481_102191)" }), /* @__PURE__ */ S.createElement("path", { opacity: 0.479771, d: "M88.6262 19.0953L68.3101 26.5288L65.3314 12.5149L67.5211 12.6263C68.6228 12.6824 69.7652 12.471 70.7816 12.0192L78.4972 8.61266C81.4474 7.30707 84.9208 8.14856 85.8036 10.3829L88.6262 19.0953Z", fill: "#ADCBE7" }), /* @__PURE__ */ S.createElement("path", { d: "M91.6332 26.6212L46.9517 36.1186L46.0387 28.4438L89.2535 19.2582L91.6332 26.6212Z", fill: "#717DAD" }), /* @__PURE__ */ S.createElement("path", { d: "M102.961 24.2033C103.125 24.9722 102.371 25.7829 101.278 26.015L37.9675 39.4722C36.8754 39.7043 35.8568 39.2704 35.6933 38.5015C35.5301 37.7336 36.284 36.922 37.3761 36.6898L100.687 23.2327C101.779 23.0005 102.798 23.4354 102.961 24.2033Z", fill: "#9ED1FF" }), /* @__PURE__ */ S.createElement("path", { d: "M102.703 24.1718C102.838 24.805 102.067 25.5045 100.983 25.7349L69.5583 32.4144L69.0712 30.123L100.496 23.4436C101.58 23.2131 102.569 23.5394 102.703 24.1718Z", fill: "#78AFE1" }), /* @__PURE__ */ S.createElement("defs", null, /* @__PURE__ */ S.createElement("linearGradient", { id: "paint0_linear_8481_102191", x1: 32.2665, y1: 59.6553, x2: 59.0518, y2: 60.5906, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint1_linear_8481_102191", x1: 67.3434, y1: 85.966, x2: 103.216, y2: 78.3411, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFABC" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFA650" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint2_linear_8481_102191", x1: 51.4347, y1: 74.8197, x2: 91.1539, y2: 74.8197, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint3_linear_8481_102191", x1: 55.1887, y1: 89.2031, x2: 94.9078, y2: 89.2031, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#A3C1FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#4243FF" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint4_linear_8481_102191", x1: 94.5023, y1: 53.1799, x2: 106.762, y2: 58.7056, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint5_linear_8481_102191", x1: 74.9906, y1: 66.9871, x2: 94.9778, y2: 46.9999, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FFFDE0" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFB362" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint6_linear_8481_102191", x1: 50.5805, y1: 44.0581, x2: 59.9372, y2: 44.0581, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "white" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#E3EEF3" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint7_linear_8481_102191", x1: 88.4187, y1: 43.3906, x2: 99.3981, y2: 25.1833, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#FF9498" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#FFD671" })), /* @__PURE__ */ S.createElement("linearGradient", { id: "paint8_linear_8481_102191", x1: 56.4985, y1: 29.5482, x2: 100.532, y2: 20.1885, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ S.createElement("stop", { stopColor: "#ECF7FF" }), /* @__PURE__ */ S.createElement("stop", { offset: 1, stopColor: "#C2E0FF" })))), Uu = ({ message: e }) => /* @__PURE__ */ l.jsxs(N, { justifyContent: "center", alignItems: "center", height: "100%", "data-section": "empty", children: [
@@ -24155,11 +24161,11 @@ const FL = (e) => {
24155
24161
  conversationId: i
24156
24162
  })));
24157
24163
  };
24158
- return /* @__PURE__ */ l.jsx(Ee, { title: r ? eR : "", placement: "top", children: /* @__PURE__ */ l.jsxs(HR, { disabled: m || h, onClick: x, "data-section": "entity-row", children: [
24164
+ return /* @__PURE__ */ l.jsx(we, { title: r ? eR : "", placement: "top", children: /* @__PURE__ */ l.jsxs(HR, { disabled: m || h, onClick: x, "data-section": "entity-row", children: [
24159
24165
  /* @__PURE__ */ l.jsx(WR, { value: n, checked: n, disabled: r }),
24160
- /* @__PURE__ */ l.jsx(Ee, { title: (c == null ? void 0 : c.length) > 30 ? c : null, placement: "right", children: /* @__PURE__ */ l.jsx(ZR, { variant: "body2", children: c }) }),
24166
+ /* @__PURE__ */ l.jsx(we, { title: (c == null ? void 0 : c.length) > 30 ? c : null, placement: "right", children: /* @__PURE__ */ l.jsx(ZR, { variant: "body2", children: c }) }),
24161
24167
  m ? /* @__PURE__ */ l.jsx(y1, { "data-section": "row-action", children: /* @__PURE__ */ l.jsx(UR, {}) }) : null,
24162
- h ? /* @__PURE__ */ l.jsx(Ee, { title: g, children: /* @__PURE__ */ l.jsx(y1, { "data-section": "row-action", children: /* @__PURE__ */ l.jsx(zl, {}) }) }) : null
24168
+ h ? /* @__PURE__ */ l.jsx(we, { title: g, children: /* @__PURE__ */ l.jsx(y1, { "data-section": "row-action", children: /* @__PURE__ */ l.jsx(zl, {}) }) }) : null
24163
24169
  ] }) });
24164
24170
  }, zR = A(N)`
24165
24171
  color: #343c45;
@@ -24368,7 +24374,7 @@ const XR = A(N)`
24368
24374
  var t;
24369
24375
  return e ? !((t = e == null ? void 0 : e.messageLogStatus) != null && t.pending) : !1;
24370
24376
  }, Qi = ({ conversationId: e }) => {
24371
- const t = Nn(), { queryKey: n, polledLogsStatus: r } = fe(() => {
24377
+ const t = jn(), { queryKey: n, polledLogsStatus: r } = fe(() => {
24372
24378
  const i = ["EmailLogger", "PolledLogsStatus", e], s = Gu({
24373
24379
  intervalMillis: 1e3,
24374
24380
  maxRetries: 10,
@@ -24399,7 +24405,7 @@ const XR = A(N)`
24399
24405
  });
24400
24406
  return n == null ? void 0 : n.data;
24401
24407
  } catch (n) {
24402
- throw Be({ message: Kn, type: dt }), console.error(n), n;
24408
+ throw Be({ message: Qn, type: dt }), console.error(n), n;
24403
24409
  }
24404
24410
  }, pO = ({ onSuccess: e }) => vn({
24405
24411
  mutationFn: fO,
@@ -24597,7 +24603,7 @@ const wO = A(N)`
24597
24603
  font-weight: 400;
24598
24604
  line-height: 12px;
24599
24605
  letter-spacing: 0;
24600
- `, w1 = A(Ee)`
24606
+ `, w1 = A(we)`
24601
24607
  padding: 6px;
24602
24608
  border-radius: 6px;
24603
24609
  `, _O = () => {
@@ -24698,7 +24704,7 @@ const wO = A(N)`
24698
24704
  formId: e
24699
24705
  };
24700
24706
  } catch (r) {
24701
- throw Be({ message: Kn, type: dt }), console.error(r), r;
24707
+ throw Be({ message: Qn, type: dt }), console.error(r), r;
24702
24708
  }
24703
24709
  }, RO = ({ onSuccess: e }) => vn({
24704
24710
  mutationFn: LO,
@@ -24714,7 +24720,7 @@ const wO = A(N)`
24714
24720
  });
24715
24721
  return n == null ? void 0 : n.data;
24716
24722
  } catch (n) {
24717
- throw Be({ message: Kn, type: dt }), console.error(n), n;
24723
+ throw Be({ message: Qn, type: dt }), console.error(n), n;
24718
24724
  }
24719
24725
  }, FO = ({ onSuccess: e }) => vn({
24720
24726
  mutationFn: OO,
@@ -24871,7 +24877,7 @@ const wO = A(N)`
24871
24877
  /* @__PURE__ */ l.jsxs(jO, { children: [
24872
24878
  H ? /* @__PURE__ */ l.jsx(ZO, {}) : null,
24873
24879
  u ? /* @__PURE__ */ l.jsx(
24874
- Ee,
24880
+ we,
24875
24881
  {
24876
24882
  arrow: !0,
24877
24883
  title: r ? $L : zL,
@@ -24936,7 +24942,7 @@ const wO = A(N)`
24936
24942
  addEntity: ee
24937
24943
  }
24938
24944
  ) }, "search-results"),
24939
- /* @__PURE__ */ l.jsx(Mr, { condition: !U.length && C, children: /* @__PURE__ */ l.jsx(Uu, { message: Kn }) }, "error")
24945
+ /* @__PURE__ */ l.jsx(Mr, { condition: !U.length && C, children: /* @__PURE__ */ l.jsx(Uu, { message: Qn }) }, "error")
24940
24946
  ] }) }) }),
24941
24947
  d ? null : /* @__PURE__ */ l.jsx(
24942
24948
  gO,
@@ -24960,7 +24966,7 @@ const wO = A(N)`
24960
24966
  });
24961
24967
  return t == null ? void 0 : t.data;
24962
24968
  } catch (t) {
24963
- throw Be({ message: Kn, type: dt }), console.error(t), t;
24969
+ throw Be({ message: Qn, type: dt }), console.error(t), t;
24964
24970
  }
24965
24971
  }, Mg = ({ onSuccess: e }) => vn({
24966
24972
  mutationFn: $O,
@@ -25976,7 +25982,7 @@ const lF = A("div")`
25976
25982
  ] });
25977
25983
  }, S1 = 288, vF = 405, yF = 4, CF = ({ onVisibilityChange: e } = {}) => {
25978
25984
  var E, C;
25979
- const { conversationId: t, connectorFunctions: n } = De(un), { data: r, refetch: o } = Qi({ conversationId: t }), i = Nn(), [s, a] = V(!1), c = ge(null), u = ge(null), [d, p] = V({ top: 0, left: 0 }), b = !!t && !!((E = r == null ? void 0 : r.emailLogSettings) != null && E.enabled);
25985
+ const { conversationId: t, connectorFunctions: n } = De(un), { data: r, refetch: o } = Qi({ conversationId: t }), i = jn(), [s, a] = V(!1), c = ge(null), u = ge(null), [d, p] = V({ top: 0, left: 0 }), b = !!t && !!((E = r == null ? void 0 : r.emailLogSettings) != null && E.enabled);
25980
25986
  ie(() => {
25981
25987
  e == null || e(b);
25982
25988
  }, [b, e]);
@@ -26124,7 +26130,7 @@ const lF = A("div")`
26124
26130
  u.lastAccessed = d, o(c);
26125
26131
  };
26126
26132
  return n.subscribe(i, "connectors"), n.subscribe(() => o(), "sideBarTabs", !1), n.subscribe(s, "connectorId", !1), n.subscribe(r, "inboxIds", !1), n;
26127
- }, IF = ({ children: e }) => /* @__PURE__ */ l.jsx(ha, { inter: !0, children: e }), _F = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(Ee, { ...t, classes: { popper: e } }))(() => ({
26133
+ }, IF = ({ children: e }) => /* @__PURE__ */ l.jsx(ha, { inter: !0, children: e }), _F = A(({ className: e, ...t }) => /* @__PURE__ */ l.jsx(we, { ...t, classes: { popper: e } }))(() => ({
26128
26134
  [`& .${eo.tooltip}`]: {
26129
26135
  backgroundColor: "#fff",
26130
26136
  padding: 0,