@hiver/connector-agent 4.0.2-feedback-beta.0 → 4.0.2-feedback-beta.2

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.
Files changed (3) hide show
  1. package/index.es.js +413 -408
  2. package/index.umd.js +39 -39
  3. package/package.json +1 -1
package/index.es.js CHANGED
@@ -3,8 +3,8 @@ var nl = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
5
  var hh = (e, t, n) => t in e ? ph(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
- var Ds = (e, t, n) => hh(e, typeof t != "symbol" ? t + "" : t, n), Ns = (e, t, n) => t.has(e) || nl("Cannot " + n);
7
- var S = (e, t, n) => (Ns(e, t, "read from private field"), n ? n.call(e) : t.get(e)), se = (e, t, n) => t.has(e) ? nl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), q = (e, t, n, r) => (Ns(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ve = (e, t, n) => (Ns(e, t, "access private method"), n);
6
+ var Ns = (e, t, n) => hh(e, typeof t != "symbol" ? t + "" : t, n), ks = (e, t, n) => t.has(e) || nl("Cannot " + n);
7
+ var S = (e, t, n) => (ks(e, t, "read from private field"), n ? n.call(e) : t.get(e)), se = (e, t, n) => t.has(e) ? nl("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), q = (e, t, n, r) => (ks(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ve = (e, t, n) => (ks(e, t, "access private method"), n);
8
8
  var Ko = (e, t, n, r) => ({
9
9
  set _(o) {
10
10
  q(e, t, o, n);
@@ -14,10 +14,10 @@ var Ko = (e, t, n, r) => ({
14
14
  }
15
15
  });
16
16
  import * as F from "react";
17
- import _e, { useState as Y, useRef as ye, useSyncExternalStore as gh, useLayoutEffect as qr, useEffect as me, isValidElement as Sr, cloneElement as da, createContext as vd, useContext as Je, useCallback as Te, forwardRef as es, useMemo as Be, Component as mh, Fragment as fa, useReducer as bh, Suspense as vh } from "react";
17
+ import _e, { useState as Y, useRef as ye, useSyncExternalStore as gh, useLayoutEffect as qr, useEffect as me, isValidElement as Sr, cloneElement as fa, createContext as vd, useContext as Je, useCallback as Te, forwardRef as es, useMemo as Be, Component as mh, Fragment as pa, useReducer as bh, Suspense as vh } from "react";
18
18
  import { createPortal as ts } from "react-dom";
19
- import { keyframes as yd, styled as N, Stack as z, theme as J, IconButton as Wt, Box as be, Typography as pe, Tooltip as We, Button as pt, icons as Zt, Menu as yh, MenuItem as Ch, ListItemIcon as Ih, brandIcons as Cd, Grid as xh, Link as ns, Skeleton as pc, TableHead as Eh, TableCell as rs, TableRow as Id, palette as wh, Icon as xd, DatePicker as Ah, DateTextField as _h, InputAdornment as Th, Checkbox as Sh, TextField as Oh, TableContainer as Rh, Table as Lh, TableBody as Fh, Dialog as Dh, Paper as Nh, HiverProvider as kh } from "@hiver/hiver-ui-kit";
20
- var he = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, pa = { exports: {} }, po = {};
19
+ import { keyframes as yd, styled as N, Stack as z, theme as J, IconButton as Wt, Box as be, Typography as pe, Tooltip as We, Button as pt, icons as Zt, Menu as yh, MenuItem as Ch, ListItemIcon as Ih, brandIcons as Cd, Grid as xh, Link as ns, Skeleton as hc, TableHead as Eh, TableCell as rs, TableRow as Id, palette as wh, Icon as xd, DatePicker as Ah, DateTextField as _h, InputAdornment as Th, Checkbox as Sh, TextField as Oh, TableContainer as Rh, Table as Lh, TableBody as Fh, Dialog as Dh, Paper as Nh, HiverProvider as kh } from "@hiver/hiver-ui-kit";
20
+ var he = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ha = { exports: {} }, po = {};
21
21
  /**
22
22
  * @license React
23
23
  * react-jsx-runtime.production.min.js
@@ -411,7 +411,7 @@ function Mh() {
411
411
  Ct[Q] || (v('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', M(ue.current.type), _.ref), Ct[Q] = !0);
412
412
  }
413
413
  }
414
- function Os(_, V) {
414
+ function Rs(_, V) {
415
415
  {
416
416
  var Q = function() {
417
417
  ot || (ot = !0, v("%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)", V));
@@ -433,7 +433,7 @@ function Mh() {
433
433
  });
434
434
  }
435
435
  }
436
- var Rs = function(_, V, Q, fe, Fe, je, we) {
436
+ var Ls = function(_, V, Q, fe, Fe, je, we) {
437
437
  var Ce = {
438
438
  // This tag allows us to uniquely identify this as a React Element
439
439
  $$typeof: t,
@@ -475,9 +475,9 @@ function Mh() {
475
475
  }
476
476
  if (Ce || ht) {
477
477
  var Qe = typeof _ == "function" ? _.displayName || _.name || "Unknown" : _;
478
- Ce && Os(we, Qe), ht && Qo(we, Qe);
478
+ Ce && Rs(we, Qe), ht && Qo(we, Qe);
479
479
  }
480
- return Rs(_, Ce, ht, Fe, fe, ue.current, we);
480
+ return Ls(_, Ce, ht, Fe, fe, ue.current, we);
481
481
  }
482
482
  }
483
483
  var zn = p.ReactCurrentOwner, qo = p.ReactDebugCurrentFrame;
@@ -509,7 +509,7 @@ Check the render method of \`` + _ + "`.";
509
509
  return "";
510
510
  }
511
511
  var uo = {};
512
- function Ls(_) {
512
+ function Fs(_) {
513
513
  {
514
514
  var V = Ft();
515
515
  if (!V) {
@@ -526,7 +526,7 @@ Check the top-level render call using <` + Q + ">.");
526
526
  if (!_._store || _._store.validated || _.key != null)
527
527
  return;
528
528
  _._store.validated = !0;
529
- var Q = Ls(V);
529
+ var Q = Fs(V);
530
530
  if (uo[Q])
531
531
  return;
532
532
  uo[Q] = !0;
@@ -621,15 +621,15 @@ Check the top-level render call using <` + Q + ">.");
621
621
  if (lt.call(V, "key")) {
622
622
  var $n = M(_), It = Object.keys(V).filter(function(fh) {
623
623
  return fh !== "key";
624
- }), Fs = It.length > 0 ? "{key: someKey, " + It.join(": ..., ") + ": ...}" : "{key: someKey}";
625
- if (!el[$n + Fs]) {
624
+ }), Ds = It.length > 0 ? "{key: someKey, " + It.join(": ..., ") + ": ...}" : "{key: someKey}";
625
+ if (!el[$n + Ds]) {
626
626
  var dh = It.length > 0 ? "{" + It.join(": ..., ") + ": ...}" : "{}";
627
627
  v(`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} />`, Fs, $n, dh, $n), el[$n + Fs] = !0;
632
+ <%s key={someKey} {...props} />`, Ds, $n, dh, $n), el[$n + Ds] = !0;
633
633
  }
634
634
  }
635
635
  return _ === r ? sh(Qe) : ih(Qe), Qe;
@@ -645,8 +645,8 @@ React keys must be passed directly to JSX without using spread:
645
645
  ho.Fragment = r, ho.jsx = lh, ho.jsxs = uh;
646
646
  }()), ho;
647
647
  }
648
- process.env.NODE_ENV === "production" ? pa.exports = Ph() : pa.exports = Mh();
649
- var y = pa.exports;
648
+ process.env.NODE_ENV === "production" ? ha.exports = Ph() : ha.exports = Mh();
649
+ var y = ha.exports;
650
650
  function Ed(e) {
651
651
  var t, n, r = "";
652
652
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -660,7 +660,7 @@ function Bn() {
660
660
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Ed(e)) && (r && (r += " "), r += t);
661
661
  return r;
662
662
  }
663
- const Oo = (e) => typeof e == "number" && !isNaN(e), lr = (e) => typeof e == "string", Dt = (e) => typeof e == "function", di = (e) => lr(e) || Dt(e) ? e : null, ha = (e) => Sr(e) || lr(e) || Dt(e) || Oo(e);
663
+ const Oo = (e) => typeof e == "number" && !isNaN(e), lr = (e) => typeof e == "string", Dt = (e) => typeof e == "function", di = (e) => lr(e) || Dt(e) ? e : null, ga = (e) => Sr(e) || lr(e) || Dt(e) || Oo(e);
664
664
  function Bh(e, t, n) {
665
665
  n === void 0 && (n = 300);
666
666
  const { scrollHeight: r, style: o } = e;
@@ -693,7 +693,7 @@ function il(e, t) {
693
693
  }
694
694
  const bt = /* @__PURE__ */ new Map();
695
695
  let Ro = [];
696
- const ga = /* @__PURE__ */ new Set(), jh = (e) => ga.forEach((t) => t(e)), wd = () => bt.size > 0;
696
+ const ma = /* @__PURE__ */ new Set(), jh = (e) => ma.forEach((t) => t(e)), wd = () => bt.size > 0;
697
697
  function Ad(e, t) {
698
698
  var n;
699
699
  if (t) return !((n = bt.get(t)) == null || !n.isToastActive(e));
@@ -703,7 +703,7 @@ function Ad(e, t) {
703
703
  }), r;
704
704
  }
705
705
  function _d(e, t) {
706
- ha(e) && (wd() || Ro.push({ content: e, options: t }), bt.forEach((n) => {
706
+ ga(e) && (wd() || Ro.push({ content: e, options: t }), bt.forEach((n) => {
707
707
  n.buildToast(e, t);
708
708
  }));
709
709
  }
@@ -750,9 +750,9 @@ function Vh(e) {
750
750
  Dt(G) && G(Sr(B) && B.props), b(il(P, "removed")), g.delete(L), m--, m < 0 && (m = 0), d.length > 0 ? w(d.shift()) : C();
751
751
  } };
752
752
  var X, ne;
753
- U.closeButton = v.closeButton, T.closeButton === !1 || ha(T.closeButton) ? U.closeButton = T.closeButton : T.closeButton === !0 && (U.closeButton = !ha(v.closeButton) || v.closeButton);
753
+ U.closeButton = v.closeButton, T.closeButton === !1 || ga(T.closeButton) ? U.closeButton = T.closeButton : T.closeButton === !0 && (U.closeButton = !ga(v.closeButton) || v.closeButton);
754
754
  let le = A;
755
- Sr(A) && !lr(A.type) ? le = da(A, { closeToast: Z, toastProps: U, data: R }) : Dt(A) && (le = A({ closeToast: Z, toastProps: U, data: R }));
755
+ Sr(A) && !lr(A.type) ? le = fa(A, { closeToast: Z, toastProps: U, data: R }) : Dt(A) && (le = A({ closeToast: Z, toastProps: U, data: R }));
756
756
  const de = { content: le, props: U, staleId: M };
757
757
  v.limit && v.limit > 0 && m > v.limit && $ ? d.push(de) : Oo(H) ? setTimeout(() => {
758
758
  w(de);
@@ -897,14 +897,14 @@ ke.loading = (e, t) => Ao(e, Fi("default", { isLoading: !0, autoClose: !1, close
897
897
  }, ke.done = (e) => {
898
898
  ke.update(e, { progress: 1 });
899
899
  }, ke.onChange = function(e) {
900
- return ga.add(e), () => {
901
- ga.delete(e);
900
+ return ma.add(e), () => {
901
+ ma.delete(e);
902
902
  };
903
903
  }, ke.play = (e) => sl(!0, e), ke.pause = (e) => sl(!1, e);
904
904
  const Uh = typeof window < "u" ? qr : me, ti = (e) => {
905
905
  let { theme: t, type: n, isLoading: r, ...o } = e;
906
906
  return _e.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...o });
907
- }, ks = { info: function(e) {
907
+ }, Ps = { info: function(e) {
908
908
  return _e.createElement(ti, { ...e }, _e.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
909
909
  }, warning: function(e) {
910
910
  return _e.createElement(ti, { ...e }, _e.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
@@ -918,10 +918,10 @@ const Uh = typeof window < "u" ? qr : me, ti = (e) => {
918
918
  const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o, playToast: i } = Gh(e), { closeButton: s, children: c, autoClose: l, onClick: a, type: u, hideProgressBar: h, closeToast: b, transition: I, position: m, className: d, style: f, bodyClassName: p, bodyStyle: v, progressClassName: g, progressStyle: x, updateId: C, role: E, progress: w, rtl: A, toastId: T, deleteToast: L, isIn: O, isLoading: R, closeOnClick: M, theme: H } = e, Z = Bn("Toastify__toast", `Toastify__toast-theme--${H}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": A }, { "Toastify__toast--close-on-click": M }), $ = Dt(d) ? d({ rtl: A, position: m, type: u, defaultClassName: Z }) : Bn(Z, d), U = function(de) {
919
919
  let { theme: P, type: G, isLoading: B, icon: j } = de, K = null;
920
920
  const re = { theme: P, type: G };
921
- return j === !1 || (Dt(j) ? K = j({ ...re, isLoading: B }) : Sr(j) ? K = da(j, re) : B ? K = ks.spinner() : ((ie) => ie in ks)(G) && (K = ks[G](re))), K;
921
+ return j === !1 || (Dt(j) ? K = j({ ...re, isLoading: B }) : Sr(j) ? K = fa(j, re) : B ? K = Ps.spinner() : ((ie) => ie in Ps)(G) && (K = Ps[G](re))), K;
922
922
  }(e), X = !!w || !l, ne = { closeToast: b, type: u, theme: H };
923
923
  let le = null;
924
- return s === !1 || (le = Dt(s) ? s(ne) : Sr(s) ? da(s, ne) : function(de) {
924
+ return s === !1 || (le = Dt(s) ? s(ne) : Sr(s) ? fa(s, ne) : function(de) {
925
925
  let { closeToast: P, theme: G, ariaLabel: B = "close" } = de;
926
926
  return _e.createElement("button", { className: `Toastify__close-button Toastify__close-button--${G}`, type: "button", onClick: (j) => {
927
927
  j.stopPropagation(), P(j);
@@ -966,7 +966,7 @@ function Yh(e) {
966
966
  }));
967
967
  }));
968
968
  }
969
- const ma = (e, t) => t.some((n) => e instanceof n);
969
+ const ba = (e, t) => t.some((n) => e instanceof n);
970
970
  let al, cl;
971
971
  function Jh() {
972
972
  return al || (al = [
@@ -984,7 +984,7 @@ function Qh() {
984
984
  IDBCursor.prototype.continuePrimaryKey
985
985
  ]);
986
986
  }
987
- const ba = /* @__PURE__ */ new WeakMap(), Ps = /* @__PURE__ */ new WeakMap(), ss = /* @__PURE__ */ new WeakMap();
987
+ const va = /* @__PURE__ */ new WeakMap(), Ms = /* @__PURE__ */ new WeakMap(), ss = /* @__PURE__ */ new WeakMap();
988
988
  function qh(e) {
989
989
  const t = new Promise((n, r) => {
990
990
  const o = () => {
@@ -999,7 +999,7 @@ function qh(e) {
999
999
  return ss.set(t, e), t;
1000
1000
  }
1001
1001
  function Kh(e) {
1002
- if (ba.has(e))
1002
+ if (va.has(e))
1003
1003
  return;
1004
1004
  const t = new Promise((n, r) => {
1005
1005
  const o = () => {
@@ -1011,13 +1011,13 @@ function Kh(e) {
1011
1011
  };
1012
1012
  e.addEventListener("complete", i), e.addEventListener("error", s), e.addEventListener("abort", s);
1013
1013
  });
1014
- ba.set(e, t);
1014
+ va.set(e, t);
1015
1015
  }
1016
- let va = {
1016
+ let ya = {
1017
1017
  get(e, t, n) {
1018
1018
  if (e instanceof IDBTransaction) {
1019
1019
  if (t === "done")
1020
- return ba.get(e);
1020
+ return va.get(e);
1021
1021
  if (t === "store")
1022
1022
  return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
1023
1023
  }
@@ -1031,27 +1031,27 @@ let va = {
1031
1031
  }
1032
1032
  };
1033
1033
  function Sd(e) {
1034
- va = e(va);
1034
+ ya = e(ya);
1035
1035
  }
1036
1036
  function e1(e) {
1037
1037
  return Qh().includes(e) ? function(...t) {
1038
- return e.apply(ya(this), t), ur(this.request);
1038
+ return e.apply(Ca(this), t), ur(this.request);
1039
1039
  } : function(...t) {
1040
- return ur(e.apply(ya(this), t));
1040
+ return ur(e.apply(Ca(this), t));
1041
1041
  };
1042
1042
  }
1043
1043
  function t1(e) {
1044
- return typeof e == "function" ? e1(e) : (e instanceof IDBTransaction && Kh(e), ma(e, Jh()) ? new Proxy(e, va) : e);
1044
+ return typeof e == "function" ? e1(e) : (e instanceof IDBTransaction && Kh(e), ba(e, Jh()) ? new Proxy(e, ya) : e);
1045
1045
  }
1046
1046
  function ur(e) {
1047
1047
  if (e instanceof IDBRequest)
1048
1048
  return qh(e);
1049
- if (Ps.has(e))
1050
- return Ps.get(e);
1049
+ if (Ms.has(e))
1050
+ return Ms.get(e);
1051
1051
  const t = t1(e);
1052
- return t !== e && (Ps.set(e, t), ss.set(t, e)), t;
1052
+ return t !== e && (Ms.set(e, t), ss.set(t, e)), t;
1053
1053
  }
1054
- const ya = (e) => ss.get(e);
1054
+ const Ca = (e) => ss.get(e);
1055
1055
  function n1(e, t, { blocked: n, upgrade: r, blocking: o, terminated: i } = {}) {
1056
1056
  const s = indexedDB.open(e, t), c = ur(s);
1057
1057
  return r && s.addEventListener("upgradeneeded", (l) => {
@@ -1066,12 +1066,12 @@ function n1(e, t, { blocked: n, upgrade: r, blocking: o, terminated: i } = {}) {
1066
1066
  }).catch(() => {
1067
1067
  }), c;
1068
1068
  }
1069
- const r1 = ["get", "getKey", "getAll", "getAllKeys", "count"], o1 = ["put", "add", "delete", "clear"], Ms = /* @__PURE__ */ new Map();
1069
+ const r1 = ["get", "getKey", "getAll", "getAllKeys", "count"], o1 = ["put", "add", "delete", "clear"], Bs = /* @__PURE__ */ new Map();
1070
1070
  function ll(e, t) {
1071
1071
  if (!(e instanceof IDBDatabase && !(t in e) && typeof t == "string"))
1072
1072
  return;
1073
- if (Ms.get(t))
1074
- return Ms.get(t);
1073
+ if (Bs.get(t))
1074
+ return Bs.get(t);
1075
1075
  const n = t.replace(/FromIndex$/, ""), r = t !== n, o = o1.includes(n);
1076
1076
  if (
1077
1077
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
@@ -1086,20 +1086,20 @@ function ll(e, t) {
1086
1086
  o && l.done
1087
1087
  ]))[0];
1088
1088
  };
1089
- return Ms.set(t, i), i;
1089
+ return Bs.set(t, i), i;
1090
1090
  }
1091
1091
  Sd((e) => ({
1092
1092
  ...e,
1093
1093
  get: (t, n, r) => ll(t, n) || e.get(t, n, r),
1094
1094
  has: (t, n) => !!ll(t, n) || e.has(t, n)
1095
1095
  }));
1096
- const i1 = ["continue", "continuePrimaryKey", "advance"], ul = {}, Ca = /* @__PURE__ */ new WeakMap(), Od = /* @__PURE__ */ new WeakMap(), s1 = {
1096
+ const i1 = ["continue", "continuePrimaryKey", "advance"], ul = {}, Ia = /* @__PURE__ */ new WeakMap(), Od = /* @__PURE__ */ new WeakMap(), s1 = {
1097
1097
  get(e, t) {
1098
1098
  if (!i1.includes(t))
1099
1099
  return e[t];
1100
1100
  let n = ul[t];
1101
1101
  return n || (n = ul[t] = function(...r) {
1102
- Ca.set(this, Od.get(this)[t](...r));
1102
+ Ia.set(this, Od.get(this)[t](...r));
1103
1103
  }), n;
1104
1104
  }
1105
1105
  };
@@ -1109,11 +1109,11 @@ async function* a1(...e) {
1109
1109
  return;
1110
1110
  t = t;
1111
1111
  const n = new Proxy(t, s1);
1112
- for (Od.set(n, t), ss.set(n, ya(t)); t; )
1113
- yield n, t = await (Ca.get(n) || t.continue()), Ca.delete(n);
1112
+ for (Od.set(n, t), ss.set(n, Ca(t)); t; )
1113
+ yield n, t = await (Ia.get(n) || t.continue()), Ia.delete(n);
1114
1114
  }
1115
1115
  function dl(e, t) {
1116
- return t === Symbol.asyncIterator && ma(e, [IDBIndex, IDBObjectStore, IDBCursor]) || t === "iterate" && ma(e, [IDBIndex, IDBObjectStore]);
1116
+ return t === Symbol.asyncIterator && ba(e, [IDBIndex, IDBObjectStore, IDBCursor]) || t === "iterate" && ba(e, [IDBIndex, IDBObjectStore]);
1117
1117
  }
1118
1118
  Sd((e) => ({
1119
1119
  ...e,
@@ -1124,9 +1124,9 @@ Sd((e) => ({
1124
1124
  return dl(t, n) || e.has(t, n);
1125
1125
  }
1126
1126
  }));
1127
- const c1 = "connector-db", l1 = 1, hc = {
1127
+ const c1 = "connector-db", l1 = 1, gc = {
1128
1128
  FEEDBACK: "feedback"
1129
- }, Lo = `${hc.FEEDBACK}:data`, Di = `${hc.FEEDBACK}:last_submitted`, Fo = `${hc.FEEDBACK}:capture_on_demand`, u1 = 12 * 60 * 60 * 1e3, Ia = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= u1 : !0, Rd = (e) => e.captureFeedback && Ia(e.firstViewed) && (!e.lastSubmittedFeedback || Ia(e.lastSubmittedFeedback));
1129
+ }, Lo = `${gc.FEEDBACK}:data`, Di = `${gc.FEEDBACK}:last_submitted`, Fo = `${gc.FEEDBACK}:capture_on_demand`, u1 = 5 * 60 * 60 * 1e3, xa = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= u1 : !0, Rd = (e, t = !1) => e.captureFeedback && (xa(e.firstViewed) && (!e.lastSubmittedFeedback || xa(e.lastSubmittedFeedback)) || !!t);
1130
1130
  let Yn = null;
1131
1131
  const Kr = async () => {
1132
1132
  try {
@@ -1148,7 +1148,7 @@ const Kr = async () => {
1148
1148
  console.error("Error opening IndexedDB connection:", e);
1149
1149
  }
1150
1150
  return Yn;
1151
- }, gc = async (e) => {
1151
+ }, mc = async (e) => {
1152
1152
  if (!e) return [];
1153
1153
  const t = await Kr();
1154
1154
  if (!t) return [];
@@ -1166,7 +1166,7 @@ const Kr = async () => {
1166
1166
  } catch (n) {
1167
1167
  return console.error("Error fetching last submitted feedback:", n), null;
1168
1168
  }
1169
- }, mc = async (e) => {
1169
+ }, as = async (e) => {
1170
1170
  if (!e) return;
1171
1171
  const t = await Kr();
1172
1172
  if (t)
@@ -1181,7 +1181,7 @@ const Kr = async () => {
1181
1181
  const n = await Kr();
1182
1182
  if (n)
1183
1183
  try {
1184
- const r = await gc(e), o = new Set(r.map((s) => s.connectorId)), i = t.filter((s) => !o.has(s.connector_id)).map((s) => ({
1184
+ const r = await mc(e), o = new Set(r.map((s) => s.connectorId)), i = t.filter((s) => !o.has(s.connector_id)).map((s) => ({
1185
1185
  connectorId: s.connector_id,
1186
1186
  captureFeedback: !0,
1187
1187
  firstViewed: /* @__PURE__ */ new Date()
@@ -1198,8 +1198,8 @@ const Kr = async () => {
1198
1198
  const t = await Kr();
1199
1199
  if (t)
1200
1200
  try {
1201
- const n = await gc(e), r = await mc(e), o = /* @__PURE__ */ new Date(), i = n.map((s) => {
1202
- const c = Rd(s);
1201
+ const n = await mc(e), r = await as(e), o = /* @__PURE__ */ new Date(), i = n.map((s) => {
1202
+ const c = Rd(s, r);
1203
1203
  return {
1204
1204
  ...s,
1205
1205
  lastSubmittedFeedback: c ? o : s.lastSubmittedFeedback,
@@ -1220,27 +1220,32 @@ const Kr = async () => {
1220
1220
  } catch (r) {
1221
1221
  console.error("Error updating capture on demand:", r);
1222
1222
  }
1223
- }, h1 = async (e) => (await gc(e)).filter(Rd), g1 = async (e) => {
1223
+ }, h1 = async (e) => {
1224
+ const t = await mc(e), n = await as(e);
1225
+ return t.filter(
1226
+ (o) => Rd(o, n)
1227
+ );
1228
+ }, g1 = async (e) => {
1224
1229
  const t = await d1(e);
1225
- return t && !Ia(t) ? !1 : await mc(e) ? !0 : !!(await h1(e)).length;
1230
+ return t && !xa(t) ? !1 : await as(e) && !t ? !0 : !!(await h1(e)).length;
1226
1231
  }, RA = async (e, t) => {
1227
1232
  await f1(e, t);
1228
1233
  }, fi = async (e) => {
1229
1234
  e && await p1(e);
1230
1235
  }, LA = async (e, t) => {
1231
- const n = await mc(e);
1236
+ const n = await as(e);
1232
1237
  t ? n !== !1 && await fl(e, t) : await fl(e, void 0);
1233
1238
  };
1234
- var xa = {}, Jn = {};
1239
+ var Ea = {}, Jn = {};
1235
1240
  function Ld(e, t) {
1236
1241
  return function() {
1237
1242
  return e.apply(t, arguments);
1238
1243
  };
1239
1244
  }
1240
- const { toString: m1 } = Object.prototype, { getPrototypeOf: bc } = Object, as = /* @__PURE__ */ ((e) => (t) => {
1245
+ const { toString: m1 } = Object.prototype, { getPrototypeOf: bc } = Object, cs = /* @__PURE__ */ ((e) => (t) => {
1241
1246
  const n = m1.call(t);
1242
1247
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
1243
- })(/* @__PURE__ */ Object.create(null)), qt = (e) => (e = e.toLowerCase(), (t) => as(t) === e), cs = (e) => (t) => typeof t === e, { isArray: eo } = Array, Do = cs("undefined");
1248
+ })(/* @__PURE__ */ Object.create(null)), qt = (e) => (e = e.toLowerCase(), (t) => cs(t) === e), ls = (e) => (t) => typeof t === e, { isArray: eo } = Array, Do = ls("undefined");
1244
1249
  function b1(e) {
1245
1250
  return e !== null && !Do(e) && e.constructor !== null && !Do(e.constructor) && Pt(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1246
1251
  }
@@ -1249,14 +1254,14 @@ function v1(e) {
1249
1254
  let t;
1250
1255
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Fd(e.buffer), t;
1251
1256
  }
1252
- const y1 = cs("string"), Pt = cs("function"), Dd = cs("number"), ls = (e) => e !== null && typeof e == "object", C1 = (e) => e === !0 || e === !1, pi = (e) => {
1253
- if (as(e) !== "object")
1257
+ const y1 = ls("string"), Pt = ls("function"), Dd = ls("number"), us = (e) => e !== null && typeof e == "object", C1 = (e) => e === !0 || e === !1, pi = (e) => {
1258
+ if (cs(e) !== "object")
1254
1259
  return !1;
1255
1260
  const t = bc(e);
1256
1261
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1257
- }, I1 = qt("Date"), x1 = qt("File"), E1 = qt("Blob"), w1 = qt("FileList"), A1 = (e) => ls(e) && Pt(e.pipe), _1 = (e) => {
1262
+ }, I1 = qt("Date"), x1 = qt("File"), E1 = qt("Blob"), w1 = qt("FileList"), A1 = (e) => us(e) && Pt(e.pipe), _1 = (e) => {
1258
1263
  let t;
1259
- return e && (typeof FormData == "function" && e instanceof FormData || Pt(e.append) && ((t = as(e)) === "formdata" || // detect form-data instance
1264
+ return e && (typeof FormData == "function" && e instanceof FormData || Pt(e.append) && ((t = cs(e)) === "formdata" || // detect form-data instance
1260
1265
  t === "object" && Pt(e.toString) && e.toString() === "[object FormData]"));
1261
1266
  }, T1 = qt("URLSearchParams"), [S1, O1, R1, L1] = ["ReadableStream", "Request", "Response", "Headers"].map(qt), F1 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
1262
1267
  function Xo(e, t, { allOwnKeys: n = !1 } = {}) {
@@ -1283,10 +1288,10 @@ function Nd(e, t) {
1283
1288
  return null;
1284
1289
  }
1285
1290
  const er = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : he, kd = (e) => !Do(e) && e !== er;
1286
- function Ea() {
1291
+ function wa() {
1287
1292
  const { caseless: e } = kd(this) && this || {}, t = {}, n = (r, o) => {
1288
1293
  const i = e && Nd(t, o) || o;
1289
- pi(t[i]) && pi(r) ? t[i] = Ea(t[i], r) : pi(r) ? t[i] = Ea({}, r) : eo(r) ? t[i] = r.slice() : t[i] = r;
1294
+ pi(t[i]) && pi(r) ? t[i] = wa(t[i], r) : pi(r) ? t[i] = wa({}, r) : eo(r) ? t[i] = r.slice() : t[i] = r;
1290
1295
  };
1291
1296
  for (let r = 0, o = arguments.length; r < o; r++)
1292
1297
  arguments[r] && Xo(arguments[r], n);
@@ -1368,10 +1373,10 @@ const D1 = (e, t, n, { allOwnKeys: r } = {}) => (Xo(t, (o, i) => {
1368
1373
  };
1369
1374
  return eo(e) ? r(e) : r(String(e).split(t)), n;
1370
1375
  }, z1 = () => {
1371
- }, $1 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Bs = "abcdefghijklmnopqrstuvwxyz", hl = "0123456789", Md = {
1376
+ }, $1 = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, js = "abcdefghijklmnopqrstuvwxyz", hl = "0123456789", Md = {
1372
1377
  DIGIT: hl,
1373
- ALPHA: Bs,
1374
- ALPHA_DIGIT: Bs + Bs.toUpperCase() + hl
1378
+ ALPHA: js,
1379
+ ALPHA_DIGIT: js + js.toUpperCase() + hl
1375
1380
  }, Y1 = (e = 16, t = Md.ALPHA_DIGIT) => {
1376
1381
  let n = "";
1377
1382
  const { length: r } = t;
@@ -1384,7 +1389,7 @@ function J1(e) {
1384
1389
  }
1385
1390
  const Q1 = (e) => {
1386
1391
  const t = new Array(10), n = (r, o) => {
1387
- if (ls(r)) {
1392
+ if (us(r)) {
1388
1393
  if (t.indexOf(r) >= 0)
1389
1394
  return;
1390
1395
  if (!("toJSON" in r)) {
@@ -1399,7 +1404,7 @@ const Q1 = (e) => {
1399
1404
  return r;
1400
1405
  };
1401
1406
  return n(e, 0);
1402
- }, q1 = qt("AsyncFunction"), K1 = (e) => e && (ls(e) || Pt(e)) && Pt(e.then) && Pt(e.catch), Bd = ((e, t) => e ? setImmediate : t ? ((n, r) => (er.addEventListener("message", ({ source: o, data: i }) => {
1407
+ }, q1 = qt("AsyncFunction"), K1 = (e) => e && (us(e) || Pt(e)) && Pt(e.then) && Pt(e.catch), Bd = ((e, t) => e ? setImmediate : t ? ((n, r) => (er.addEventListener("message", ({ source: o, data: i }) => {
1403
1408
  o === er && i === n && r.length && r.shift()();
1404
1409
  }, !1), (o) => {
1405
1410
  r.push(o), er.postMessage(n, "*");
@@ -1416,7 +1421,7 @@ var D = {
1416
1421
  isString: y1,
1417
1422
  isNumber: Dd,
1418
1423
  isBoolean: C1,
1419
- isObject: ls,
1424
+ isObject: us,
1420
1425
  isPlainObject: pi,
1421
1426
  isReadableStream: S1,
1422
1427
  isRequest: O1,
@@ -1433,13 +1438,13 @@ var D = {
1433
1438
  isTypedArray: j1,
1434
1439
  isFileList: w1,
1435
1440
  forEach: Xo,
1436
- merge: Ea,
1441
+ merge: wa,
1437
1442
  extend: D1,
1438
1443
  trim: F1,
1439
1444
  stripBOM: N1,
1440
1445
  inherits: k1,
1441
1446
  toFlatObject: P1,
1442
- kindOf: as,
1447
+ kindOf: cs,
1443
1448
  kindOfTest: qt,
1444
1449
  endsWith: M1,
1445
1450
  toArray: B1,
@@ -1518,7 +1523,7 @@ ge.from = (e, t, n, r, o, i) => {
1518
1523
  }, (c) => c !== "isAxiosError"), ge.call(s, e.message, t, n, r, o), s.cause = e, s.name = e.name, i && Object.assign(s, i), s;
1519
1524
  };
1520
1525
  var t2 = null;
1521
- function wa(e) {
1526
+ function Aa(e) {
1522
1527
  return D.isPlainObject(e) || D.isArray(e);
1523
1528
  }
1524
1529
  function Gd(e) {
@@ -1530,12 +1535,12 @@ function gl(e, t, n) {
1530
1535
  }).join(n ? "." : "") : t;
1531
1536
  }
1532
1537
  function n2(e) {
1533
- return D.isArray(e) && !e.some(wa);
1538
+ return D.isArray(e) && !e.some(Aa);
1534
1539
  }
1535
1540
  const r2 = D.toFlatObject(D, {}, null, function(t) {
1536
1541
  return /^is[A-Z]/.test(t);
1537
1542
  });
1538
- function us(e, t, n) {
1543
+ function ds(e, t, n) {
1539
1544
  if (!D.isObject(e))
1540
1545
  throw new TypeError("target must be an object");
1541
1546
  t = t || new FormData(), n = D.toFlatObject(n, {
@@ -1570,12 +1575,12 @@ function us(e, t, n) {
1570
1575
  );
1571
1576
  }), !1;
1572
1577
  }
1573
- return wa(m) ? !0 : (t.append(gl(f, d, i), a(m)), !1);
1578
+ return Aa(m) ? !0 : (t.append(gl(f, d, i), a(m)), !1);
1574
1579
  }
1575
1580
  const h = [], b = Object.assign(r2, {
1576
1581
  defaultVisitor: u,
1577
1582
  convertValue: a,
1578
- isVisitable: wa
1583
+ isVisitable: Aa
1579
1584
  });
1580
1585
  function I(m, d) {
1581
1586
  if (!D.isUndefined(m)) {
@@ -1611,7 +1616,7 @@ function ml(e) {
1611
1616
  });
1612
1617
  }
1613
1618
  function vc(e, t) {
1614
- this._pairs = [], e && us(e, this, t);
1619
+ this._pairs = [], e && ds(e, this, t);
1615
1620
  }
1616
1621
  const Hd = vc.prototype;
1617
1622
  Hd.append = function(t, n) {
@@ -1706,21 +1711,21 @@ var bl = i2, Zd = {
1706
1711
  },
1707
1712
  protocols: ["http", "https", "file", "blob", "url", "data"]
1708
1713
  };
1709
- const yc = typeof window < "u" && typeof document < "u", Aa = typeof navigator == "object" && navigator || void 0, u2 = yc && (!Aa || ["ReactNative", "NativeScript", "NS"].indexOf(Aa.product) < 0), d2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1714
+ const yc = typeof window < "u" && typeof document < "u", _a = typeof navigator == "object" && navigator || void 0, u2 = yc && (!_a || ["ReactNative", "NativeScript", "NS"].indexOf(_a.product) < 0), d2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
1710
1715
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function", f2 = yc && window.location.href || "http://localhost";
1711
1716
  var p2 = /* @__PURE__ */ Object.freeze({
1712
1717
  __proto__: null,
1713
1718
  hasBrowserEnv: yc,
1714
1719
  hasStandardBrowserWebWorkerEnv: d2,
1715
1720
  hasStandardBrowserEnv: u2,
1716
- navigator: Aa,
1721
+ navigator: _a,
1717
1722
  origin: f2
1718
1723
  }), St = {
1719
1724
  ...p2,
1720
1725
  ...l2
1721
1726
  };
1722
1727
  function h2(e, t) {
1723
- return us(e, new St.classes.URLSearchParams(), Object.assign({
1728
+ return ds(e, new St.classes.URLSearchParams(), Object.assign({
1724
1729
  visitor: function(n, r, o, i) {
1725
1730
  return St.isNode && D.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
1726
1731
  }
@@ -1782,7 +1787,7 @@ const Cc = {
1782
1787
  return h2(t, this.formSerializer).toString();
1783
1788
  if ((c = D.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
1784
1789
  const l = this.env && this.env.FormData;
1785
- return us(
1790
+ return ds(
1786
1791
  c ? { "files[]": t } : t,
1787
1792
  l && new l(),
1788
1793
  this.formSerializer
@@ -1875,7 +1880,7 @@ function C2(e) {
1875
1880
  return t;
1876
1881
  }
1877
1882
  const I2 = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1878
- function js(e, t, n, r, o) {
1883
+ function Vs(e, t, n, r, o) {
1879
1884
  if (D.isFunction(r))
1880
1885
  return r.call(this, t, n);
1881
1886
  if (o && (t = n), !!D.isString(t)) {
@@ -1899,7 +1904,7 @@ function E2(e, t) {
1899
1904
  });
1900
1905
  });
1901
1906
  }
1902
- class ds {
1907
+ class fs {
1903
1908
  constructor(t) {
1904
1909
  t && this.set(t);
1905
1910
  }
@@ -1944,7 +1949,7 @@ class ds {
1944
1949
  has(t, n) {
1945
1950
  if (t = go(t), t) {
1946
1951
  const r = D.findKey(this, t);
1947
- return !!(r && this[r] !== void 0 && (!n || js(this, this[r], r, n)));
1952
+ return !!(r && this[r] !== void 0 && (!n || Vs(this, this[r], r, n)));
1948
1953
  }
1949
1954
  return !1;
1950
1955
  }
@@ -1954,7 +1959,7 @@ class ds {
1954
1959
  function i(s) {
1955
1960
  if (s = go(s), s) {
1956
1961
  const c = D.findKey(r, s);
1957
- c && (!n || js(r, r[c], c, n)) && (delete r[c], o = !0);
1962
+ c && (!n || Vs(r, r[c], c, n)) && (delete r[c], o = !0);
1958
1963
  }
1959
1964
  }
1960
1965
  return D.isArray(t) ? t.forEach(i) : i(t), o;
@@ -1964,7 +1969,7 @@ class ds {
1964
1969
  let r = n.length, o = !1;
1965
1970
  for (; r--; ) {
1966
1971
  const i = n[r];
1967
- (!t || js(this, this[i], i, t, !0)) && (delete this[i], o = !0);
1972
+ (!t || Vs(this, this[i], i, t, !0)) && (delete this[i], o = !0);
1968
1973
  }
1969
1974
  return o;
1970
1975
  }
@@ -2017,8 +2022,8 @@ class ds {
2017
2022
  return D.isArray(t) ? t.forEach(i) : i(t), this;
2018
2023
  }
2019
2024
  }
2020
- ds.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2021
- D.reduceDescriptors(ds.prototype, ({ value: e }, t) => {
2025
+ fs.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
2026
+ D.reduceDescriptors(fs.prototype, ({ value: e }, t) => {
2022
2027
  let n = t[0].toUpperCase() + t.slice(1);
2023
2028
  return {
2024
2029
  get: () => e,
@@ -2027,9 +2032,9 @@ D.reduceDescriptors(ds.prototype, ({ value: e }, t) => {
2027
2032
  }
2028
2033
  };
2029
2034
  });
2030
- D.freezeMethods(ds);
2031
- var Qt = ds;
2032
- function Vs(e, t) {
2035
+ D.freezeMethods(fs);
2036
+ var Qt = fs;
2037
+ function Gs(e, t) {
2033
2038
  const n = this || Ic, r = t || n, o = Qt.from(r.headers);
2034
2039
  let i = r.data;
2035
2040
  return D.forEach(e, function(c) {
@@ -2409,7 +2414,7 @@ const k2 = function* (e, t) {
2409
2414
  }, {
2410
2415
  highWaterMark: 2
2411
2416
  });
2412
- }, fs = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Jd = fs && typeof ReadableStream == "function", B2 = fs && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Qd = (e, ...t) => {
2417
+ }, ps = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Jd = ps && typeof ReadableStream == "function", B2 = ps && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Qd = (e, ...t) => {
2413
2418
  try {
2414
2419
  return !!e(...t);
2415
2420
  } catch {
@@ -2425,10 +2430,10 @@ const k2 = function* (e, t) {
2425
2430
  }
2426
2431
  }).headers.has("Content-Type");
2427
2432
  return e && !t;
2428
- }), El = 64 * 1024, _a = Jd && Qd(() => D.isReadableStream(new Response("").body)), ki = {
2429
- stream: _a && ((e) => e.body)
2433
+ }), El = 64 * 1024, Ta = Jd && Qd(() => D.isReadableStream(new Response("").body)), ki = {
2434
+ stream: Ta && ((e) => e.body)
2430
2435
  };
2431
- fs && ((e) => {
2436
+ ps && ((e) => {
2432
2437
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
2433
2438
  !ki[t] && (ki[t] = D.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
2434
2439
  throw new ge(`Response type '${t}' is not supported`, ge.ERR_NOT_SUPPORT, r);
@@ -2453,7 +2458,7 @@ const V2 = async (e) => {
2453
2458
  const n = D.toFiniteNumber(e.getContentLength());
2454
2459
  return n ?? V2(t);
2455
2460
  };
2456
- var H2 = fs && (async (e) => {
2461
+ var H2 = ps && (async (e) => {
2457
2462
  let {
2458
2463
  url: t,
2459
2464
  method: n,
@@ -2501,8 +2506,8 @@ var H2 = fs && (async (e) => {
2501
2506
  credentials: p ? h : void 0
2502
2507
  });
2503
2508
  let v = await fetch(m);
2504
- const g = _a && (a === "stream" || a === "response");
2505
- if (_a && (c || g && d)) {
2509
+ const g = Ta && (a === "stream" || a === "response");
2510
+ if (Ta && (c || g && d)) {
2506
2511
  const C = {};
2507
2512
  ["status", "statusText", "headers"].forEach((T) => {
2508
2513
  C[T] = v[T];
@@ -2539,12 +2544,12 @@ var H2 = fs && (async (e) => {
2539
2544
  ) : ge.from(p, p && p.code, e, m);
2540
2545
  }
2541
2546
  });
2542
- const Ta = {
2547
+ const Sa = {
2543
2548
  http: t2,
2544
2549
  xhr: F2,
2545
2550
  fetch: H2
2546
2551
  };
2547
- D.forEach(Ta, (e, t) => {
2552
+ D.forEach(Sa, (e, t) => {
2548
2553
  if (e) {
2549
2554
  try {
2550
2555
  Object.defineProperty(e, "name", { value: t });
@@ -2563,7 +2568,7 @@ var qd = {
2563
2568
  for (let i = 0; i < t; i++) {
2564
2569
  n = e[i];
2565
2570
  let s;
2566
- if (r = n, !W2(n) && (r = Ta[(s = String(n)).toLowerCase()], r === void 0))
2571
+ if (r = n, !W2(n) && (r = Sa[(s = String(n)).toLowerCase()], r === void 0))
2567
2572
  throw new ge(`Unknown adapter '${s}'`);
2568
2573
  if (r)
2569
2574
  break;
@@ -2583,24 +2588,24 @@ var qd = {
2583
2588
  }
2584
2589
  return r;
2585
2590
  },
2586
- adapters: Ta
2591
+ adapters: Sa
2587
2592
  };
2588
- function Gs(e) {
2593
+ function Hs(e) {
2589
2594
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
2590
2595
  throw new to(null, e);
2591
2596
  }
2592
2597
  function Al(e) {
2593
- return Gs(e), e.headers = Qt.from(e.headers), e.data = Vs.call(
2598
+ return Hs(e), e.headers = Qt.from(e.headers), e.data = Gs.call(
2594
2599
  e,
2595
2600
  e.transformRequest
2596
2601
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), qd.getAdapter(e.adapter || Ic.adapter)(e).then(function(r) {
2597
- return Gs(e), r.data = Vs.call(
2602
+ return Hs(e), r.data = Gs.call(
2598
2603
  e,
2599
2604
  e.transformResponse,
2600
2605
  r
2601
2606
  ), r.headers = Qt.from(r.headers), r;
2602
2607
  }, function(r) {
2603
- return Xd(r) || (Gs(e), r && r.response && (r.response.data = Vs.call(
2608
+ return Xd(r) || (Hs(e), r && r.response && (r.response.data = Gs.call(
2604
2609
  e,
2605
2610
  e.transformResponse,
2606
2611
  r.response
@@ -2649,11 +2654,11 @@ function Z2(e, t, n) {
2649
2654
  throw new ge("Unknown option " + i, ge.ERR_BAD_OPTION);
2650
2655
  }
2651
2656
  }
2652
- var Sa = {
2657
+ var Oa = {
2653
2658
  assertOptions: Z2,
2654
2659
  validators: xc
2655
2660
  };
2656
- const _n = Sa.validators;
2661
+ const _n = Oa.validators;
2657
2662
  let Pi = class {
2658
2663
  constructor(t) {
2659
2664
  this.defaults = t, this.interceptors = {
@@ -2689,13 +2694,13 @@ let Pi = class {
2689
2694
  _request(t, n) {
2690
2695
  typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = pr(this.defaults, n);
2691
2696
  const { transitional: r, paramsSerializer: o, headers: i } = n;
2692
- r !== void 0 && Sa.assertOptions(r, {
2697
+ r !== void 0 && Oa.assertOptions(r, {
2693
2698
  silentJSONParsing: _n.transitional(_n.boolean),
2694
2699
  forcedJSONParsing: _n.transitional(_n.boolean),
2695
2700
  clarifyTimeoutError: _n.transitional(_n.boolean)
2696
2701
  }, !1), o != null && (D.isFunction(o) ? n.paramsSerializer = {
2697
2702
  serialize: o
2698
- } : Sa.assertOptions(o, {
2703
+ } : Oa.assertOptions(o, {
2699
2704
  encode: _n.function,
2700
2705
  serialize: _n.function
2701
2706
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -2858,7 +2863,7 @@ function X2(e) {
2858
2863
  function z2(e) {
2859
2864
  return D.isObject(e) && e.isAxiosError === !0;
2860
2865
  }
2861
- const Oa = {
2866
+ const Ra = {
2862
2867
  Continue: 100,
2863
2868
  SwitchingProtocols: 101,
2864
2869
  Processing: 102,
@@ -2923,10 +2928,10 @@ const Oa = {
2923
2928
  NotExtended: 510,
2924
2929
  NetworkAuthenticationRequired: 511
2925
2930
  };
2926
- Object.entries(Oa).forEach(([e, t]) => {
2927
- Oa[t] = e;
2931
+ Object.entries(Ra).forEach(([e, t]) => {
2932
+ Ra[t] = e;
2928
2933
  });
2929
- var $2 = Oa;
2934
+ var $2 = Ra;
2930
2935
  function ef(e) {
2931
2936
  const t = new gi(e), n = Ld(gi.prototype.request, t);
2932
2937
  return D.extend(n, gi.prototype, t, { allOwnKeys: !0 }), D.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
@@ -2939,7 +2944,7 @@ Ke.CanceledError = to;
2939
2944
  Ke.CancelToken = U2;
2940
2945
  Ke.isCancel = Xd;
2941
2946
  Ke.VERSION = Kd;
2942
- Ke.toFormData = us;
2947
+ Ke.toFormData = ds;
2943
2948
  Ke.AxiosError = ge;
2944
2949
  Ke.Cancel = Ke.CanceledError;
2945
2950
  Ke.all = function(t) {
@@ -3526,7 +3531,7 @@ function rf() {
3526
3531
  };
3527
3532
  return Xt.logoutFromHeimdall = I, Xt;
3528
3533
  }
3529
- var ps = {}, Cg = he && he.__awaiter || function(e, t, n, r) {
3534
+ var hs = {}, Cg = he && he.__awaiter || function(e, t, n, r) {
3530
3535
  function o(i) {
3531
3536
  return i instanceof n ? i : new n(function(s) {
3532
3537
  s(i);
@@ -3612,8 +3617,8 @@ var ps = {}, Cg = he && he.__awaiter || function(e, t, n, r) {
3612
3617
  return { value: a[0] ? a[1] : void 0, done: !0 };
3613
3618
  }
3614
3619
  };
3615
- Object.defineProperty(ps, "__esModule", { value: !0 });
3616
- ps.subscribeToOnlineEvent = void 0;
3620
+ Object.defineProperty(hs, "__esModule", { value: !0 });
3621
+ hs.subscribeToOnlineEvent = void 0;
3617
3622
  var Sl = Hn, xg = fn, Eg = function(e, t) {
3618
3623
  switch (t === void 0 && (t = (0, xg.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
3619
3624
  case Sl.PLATFORM.WEB:
@@ -3636,7 +3641,7 @@ var Sl = Hn, xg = fn, Eg = function(e, t) {
3636
3641
  throw Error("Invalid PLATFORM ".concat(t));
3637
3642
  }
3638
3643
  };
3639
- ps.subscribeToOnlineEvent = Eg;
3644
+ hs.subscribeToOnlineEvent = Eg;
3640
3645
  var Ol;
3641
3646
  function of() {
3642
3647
  if (Ol) return mo;
@@ -3728,7 +3733,7 @@ function of() {
3728
3733
  }
3729
3734
  };
3730
3735
  Object.defineProperty(mo, "__esModule", { value: !0 }), mo.fetchAccessToken = void 0;
3731
- var n = rf(), r = Hn, o = Le, i = ps, s, c, l, a = function(m, d, f, p, v, g) {
3736
+ var n = rf(), r = Hn, o = Le, i = hs, s, c, l, a = function(m, d, f, p, v, g) {
3732
3737
  return g === void 0 && (g = r.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
3733
3738
  var x, C, E, w, A, T, L, O, R;
3734
3739
  return t(this, function(M) {
@@ -4225,7 +4230,7 @@ var Rg = he && he.__awaiter || function(e, t, n, r) {
4225
4230
  };
4226
4231
  Object.defineProperty(Ge, "__esModule", { value: !0 });
4227
4232
  Ge.expireToken = Ge.validateToken = Ge.validateAccount = Ge.getConfig = Ge.introduceDelay = Ge.isTokenInExpiryWindow = Ge.getStoredAuthData = Ge.setUserDetails = Ge.setTokenAndExpiry = Ge.getRandomDelay = Ge.hasValidToken = void 0;
4228
- var Hs = Ue, Qn = At, af = function() {
4233
+ var Ws = Ue, Qn = At, af = function() {
4229
4234
  var e = /* @__PURE__ */ new Date(), t = new Date(e.getTime() + e.getTimezoneOffset() * 6e4);
4230
4235
  return t;
4231
4236
  }, Tc = function(e) {
@@ -4298,11 +4303,11 @@ var jg = function(e) {
4298
4303
  Ge.introduceDelay = jg;
4299
4304
  var Vg = function(e, t, n) {
4300
4305
  switch (t) {
4301
- case Hs.TIERS.SIT:
4306
+ case Ws.TIERS.SIT:
4302
4307
  return console.log("ISHIVERAPIDOMAIN:", n, (0, Qn.getSitHqConfig)(e)), n ? (0, Qn.getSitApiConfig)(e) : (0, Qn.getSitHqConfig)(e);
4303
- case Hs.TIERS.PROD:
4308
+ case Ws.TIERS.PROD:
4304
4309
  return n ? (0, Qn.getProdApiConfig)() : (0, Qn.getProdHqConfig)();
4305
- case Hs.TIERS.DEV:
4310
+ case Ws.TIERS.DEV:
4306
4311
  default:
4307
4312
  return n ? (0, Qn.getDevApiConfig)() : (0, Qn.getDevHqConfig)();
4308
4313
  }
@@ -5068,7 +5073,7 @@ function uf() {
5068
5073
  }, I;
5069
5074
  }();
5070
5075
  e.Bifrost = b;
5071
- })(xa);
5076
+ })(Ea);
5072
5077
  const zt = {
5073
5078
  userId: "",
5074
5079
  userGroupId: "",
@@ -5089,11 +5094,11 @@ const zt = {
5089
5094
  tier: n,
5090
5095
  userId: r,
5091
5096
  userGroupId: o,
5092
- tenantPlatform: i = xa.TENANT_PLATFORM.GMAIL,
5097
+ tenantPlatform: i = Ea.TENANT_PLATFORM.GMAIL,
5093
5098
  withCredentials: s = !0,
5094
5099
  getTokenForLogin: c
5095
5100
  }) => {
5096
- zt.baseUrl = e, zt.appEnv = t, zt.tier = n, zt.userGroupId = o, zt.userId = r, zt.tenantPlatform = i, zt.bifrost = new xa.Bifrost(t, n, i, c, s), zt.isInitiated = !0;
5101
+ zt.baseUrl = e, zt.appEnv = t, zt.tier = n, zt.userGroupId = o, zt.userId = r, zt.tenantPlatform = i, zt.bifrost = new Ea.Bifrost(t, n, i, c, s), zt.isInitiated = !0;
5097
5102
  }, Hg = ({ configHiver: e }) => async (n) => {
5098
5103
  const r = xn();
5099
5104
  if (!r)
@@ -5124,7 +5129,7 @@ const zt = {
5124
5129
  isHiverApiDomain: !0
5125
5130
  },
5126
5131
  withCredentials: !0
5127
- }), Wg = (e) => /* @__PURE__ */ F.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ F.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ F.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), Zg = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ F.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), Ug = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ F.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ F.createElement("rect", { width: 24, height: 24, fill: "white" })))), Nl = "Share your feedback", Xg = "Got any feedback?", df = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", zg = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", $g = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", Yg = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Jg = "enable_connectors_clicked", Qg = "learn_more_clicked", qg = "connector_card_expand_clicked", Kg = "connector_card_collapsed_clicked", em = "connector_card_refresh_clicked", tm = "connector_cards_loaded", nm = "connector_whats_new_card_viewed", rm = "connector_whats_new_explore_now_clicked", om = "connector_whats_new_learn_more_clicked", im = "connector_whats_new_dismissed", sm = "connector_create_new_object_clicked", am = "connector_link_new_object_clicked", cm = "connector_new_object_created_by_form", lm = "connector_new_object_linked_by_form", um = "connector_object_unlinked_by_form", dm = "connector_link_preview_clicked", fm = "connector_create_panel_cancel_clicked", pm = "connector_create_panel_back_clicked", hm = "card_loaded_on_click", gm = "card_loaded", mm = "schedule_call_clicked", bm = "schedule_call_cross_clicked", ff = "CONNECTOR_EDIT_CLICKED", vm = "CONNECTOR_EDIT_REQUEST_SEND", ym = "CONNECTOR_EDIT_CANCELLED", Cm = "CONNECTOR_EDIT_BACK_CLICKED", Im = "CONNECTOR_EDIT_SUCCESS", xm = "connector_video_clicked", Em = "connector_card_error", Ra = "got_any_feedback_clicked", wm = "connector_deeplink_clicked", Am = "search_bar_tapped", _m = "search_suggestions_selected", Tm = "search_initiated", Sm = "no_results_found", Om = "search_results_found", Rm = "search_result_selected", Lm = "search_result_linked", Fm = "feedback_closed_clicked", Dm = "help_btn_clicked", Nm = "connector_chat_support_clicked", km = "missing_field_clicked", Pm = {
5132
+ }), Wg = (e) => /* @__PURE__ */ F.createElement("svg", { width: 17, height: 17, viewBox: "0 0 17 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_1180_840)" }, /* @__PURE__ */ F.createElement("path", { d: "M5.16667 10.12H9.83333V11.4533H5.16667V10.12ZM5.16667 7.45329H11.8333V8.78662H5.16667V7.45329ZM5.16667 4.78662H11.8333V6.11995H5.16667V4.78662ZM13.1667 2.11995H10.38C10.1 1.34662 9.36667 0.786621 8.5 0.786621C7.63333 0.786621 6.9 1.34662 6.62 2.11995H3.83333C3.74 2.11995 3.65333 2.12662 3.56667 2.14662C3.30667 2.19995 3.07333 2.33329 2.89333 2.51329C2.77333 2.63329 2.67333 2.77995 2.60667 2.93995C2.54 3.09329 2.5 3.26662 2.5 3.45329V12.7866C2.5 12.9666 2.54 13.1466 2.60667 13.3066C2.67333 13.4666 2.77333 13.6066 2.89333 13.7333C3.07333 13.9133 3.30667 14.0466 3.56667 14.1C3.65333 14.1133 3.74 14.12 3.83333 14.12H13.1667C13.9 14.12 14.5 13.52 14.5 12.7866V3.45329C14.5 2.71995 13.9 2.11995 13.1667 2.11995ZM8.5 1.95329C8.77333 1.95329 9 2.17995 9 2.45329C9 2.72662 8.77333 2.95329 8.5 2.95329C8.22667 2.95329 8 2.72662 8 2.45329C8 2.17995 8.22667 1.95329 8.5 1.95329ZM13.1667 12.7866H3.83333V3.45329H13.1667V12.7866Z", fill: "#343C45" })), /* @__PURE__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_1180_840" }, /* @__PURE__ */ F.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0.5 0.120117)" })))), Zg = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 22, viewBox: "0 0 24 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("rect", { x: 3.63636, y: 2.27393, width: 15.2727, height: 17.2308, rx: 2.90909, fill: "#F6C035" }), /* @__PURE__ */ F.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.4621 12.0506C22.1745 11.7669 21.7845 11.6074 21.3779 11.6074C20.9712 11.6074 20.5812 11.7669 20.2937 12.0506L19.9323 12.4079L22.4626 14.9057L22.8235 14.549C22.9659 14.4084 23.0789 14.2415 23.156 14.0578C23.2331 13.8741 23.2727 13.6773 23.2727 13.4784C23.2727 13.2796 23.2331 13.0827 23.156 12.8991C23.0789 12.7154 22.9659 12.5485 22.8235 12.4079L22.4621 12.0506ZM21.7393 15.6192L19.209 13.1214L14.5624 17.7088C14.4607 17.8092 14.3897 17.9358 14.3574 18.0742L13.8314 20.3222C13.8118 20.4056 13.814 20.4927 13.8379 20.575C13.8618 20.6574 13.9065 20.7324 13.9679 20.793C14.0293 20.8535 14.1052 20.8977 14.1887 20.9213C14.2721 20.9448 14.3603 20.9471 14.4448 20.9277L16.7226 20.409C16.8626 20.377 16.9906 20.3069 17.0922 20.2066L21.7393 15.6192Z", fill: "#FFE298" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 6.58154, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 10.1714, width: 10.1818, height: 1.4359, rx: 0.717949, fill: "#FFDC83" }), /* @__PURE__ */ F.createElement("rect", { x: 6.54546, y: 13.7612, width: 6.54545, height: 1.4359, rx: 0.717949, fill: "#FFDC83" })), Ug = (e) => /* @__PURE__ */ F.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ F.createElement("g", { clipPath: "url(#clip0_825_73646)" }, /* @__PURE__ */ F.createElement("path", { d: "M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z", fill: "#6F7C90" })), /* @__PURE__ */ F.createElement("defs", null, /* @__PURE__ */ F.createElement("clipPath", { id: "clip0_825_73646" }, /* @__PURE__ */ F.createElement("rect", { width: 24, height: 24, fill: "white" })))), Nl = "Share your feedback", Xg = "Got any feedback?", df = "https://txeep2wshyx.typeform.com/to/RuOwF9SG", zg = "https://txeep2wshyx.typeform.com/to/Tfa8IrCd", $g = "https://txeep2wshyx.typeform.com/to/bqhVSfDk", Yg = "https://cdn.hiverhq.com/chat-support/hiver-chat.html", Jg = "enable_connectors_clicked", Qg = "learn_more_clicked", qg = "connector_card_expand_clicked", Kg = "connector_card_collapsed_clicked", em = "connector_card_refresh_clicked", tm = "connector_cards_loaded", nm = "connector_whats_new_card_viewed", rm = "connector_whats_new_explore_now_clicked", om = "connector_whats_new_learn_more_clicked", im = "connector_whats_new_dismissed", sm = "connector_create_new_object_clicked", am = "connector_link_new_object_clicked", cm = "connector_new_object_created_by_form", lm = "connector_new_object_linked_by_form", um = "connector_object_unlinked_by_form", dm = "connector_link_preview_clicked", fm = "connector_create_panel_cancel_clicked", pm = "connector_create_panel_back_clicked", hm = "card_loaded_on_click", gm = "card_loaded", mm = "schedule_call_clicked", bm = "schedule_call_cross_clicked", ff = "CONNECTOR_EDIT_CLICKED", vm = "CONNECTOR_EDIT_REQUEST_SEND", ym = "CONNECTOR_EDIT_CANCELLED", Cm = "CONNECTOR_EDIT_BACK_CLICKED", Im = "CONNECTOR_EDIT_SUCCESS", xm = "connector_video_clicked", Em = "connector_card_error", La = "got_any_feedback_clicked", wm = "connector_deeplink_clicked", Am = "search_bar_tapped", _m = "search_suggestions_selected", Tm = "search_initiated", Sm = "no_results_found", Om = "search_results_found", Rm = "search_result_selected", Lm = "search_result_linked", Fm = "feedback_closed_clicked", Dm = "help_btn_clicked", Nm = "connector_chat_support_clicked", km = "missing_field_clicked", Pm = {
5128
5133
  email: "",
5129
5134
  baseUrls: {},
5130
5135
  currentSmIds: [],
@@ -5137,9 +5142,9 @@ const zt = {
5137
5142
  connectorFunctions: { redirectToAdmin: () => {
5138
5143
  } },
5139
5144
  stackingContext: {}
5140
- }, et = vd(Pm), mi = "hiver_connectors", La = {
5145
+ }, et = vd(Pm), mi = "hiver_connectors", Fa = {
5141
5146
  NOT_FOUND: 404
5142
- }, Mm = "ftr-connector-blue-dot", pf = "ftr-connectors-write-flow", Bm = "ftr-connectors-enhancements", jm = "ftr-connector-schedule-call-agent", Vm = "ftr-connectors-edit", Gm = "enableAllConnectorFtr", Hm = "ftr-cards-open-state", Wm = "ftr-connectors-global-search", Zm = "ftr-connectors-smart-suggestions", Um = "ftr-connectors-email-selection", Xm = "ftr-connector-agent-feedback", hs = "ftr-connector-unified-view", zm = "ftr-connectors-expanded-form", kl = "Please refresh and try again", $m = "No data available", bi = "-", hf = "Refresh", gf = "Minimize", Sc = "Expand", mf = "Connectors", Oc = "Apps", Ym = "Collapse", Jm = "Close", bf = "Link", Qm = "Create", qm = "Update", vf = "Unlink", yf = "Edit", Rc = "Cancel", Cf = "Create new object", If = "Link existing object", Km = "Are you sure you want to unlink this object?", eb = "The object will be removed from this conversation for all users. However the object will still be available on {{connectorName}} if you'd like to link it back in the future.", tb = "Edit card", nb = "bullet_list", rb = "Expanded", ob = "Collapsed", xf = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", Ef = "UNKNOWN_ERROR", ib = "https://help.hiverhq.com/custom-connectors/common-connector-errors", Pl = {
5147
+ }, Mm = "ftr-connector-blue-dot", pf = "ftr-connectors-write-flow", Bm = "ftr-connectors-enhancements", jm = "ftr-connector-schedule-call-agent", Vm = "ftr-connectors-edit", Gm = "enableAllConnectorFtr", Hm = "ftr-cards-open-state", Wm = "ftr-connectors-global-search", Zm = "ftr-connectors-smart-suggestions", Um = "ftr-connectors-email-selection", Xm = "ftr-connector-agent-feedback", gs = "ftr-connector-unified-view", zm = "ftr-connectors-expanded-form", kl = "Please refresh and try again", $m = "No data available", bi = "-", hf = "Refresh", gf = "Minimize", Sc = "Expand", mf = "Connectors", Oc = "Apps", Ym = "Collapse", Jm = "Close", bf = "Link", Qm = "Create", qm = "Update", vf = "Unlink", yf = "Edit", Rc = "Cancel", Cf = "Create new object", If = "Link existing object", Km = "Are you sure you want to unlink this object?", eb = "The object will be removed from this conversation for all users. However the object will still be available on {{connectorName}} if you'd like to link it back in the future.", tb = "Edit card", nb = "bullet_list", rb = "Expanded", ob = "Collapsed", xf = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", Ef = "UNKNOWN_ERROR", ib = "https://help.hiverhq.com/custom-connectors/common-connector-errors", Pl = {
5143
5148
  MAIN_BUTTON: "main_button",
5144
5149
  ICON: "create_icon"
5145
5150
  }, sb = "Missing any field? Inform us.", Lc = (e) => {
@@ -5151,7 +5156,7 @@ const zt = {
5151
5156
  }, cb = (e, t = wf()) => {
5152
5157
  const n = Lc(e);
5153
5158
  return ((n == null ? void 0 : n.isExtensionNew) ?? []).includes(t);
5154
- }, Ws = (e, t = !1, n = !1) => {
5159
+ }, Zs = (e, t = !1, n = !1) => {
5155
5160
  const r = wf(), o = Lc(e);
5156
5161
  if (t || !o) {
5157
5162
  localStorage.removeItem(mi);
@@ -5182,10 +5187,10 @@ const zt = {
5182
5187
  switch (e.cardType) {
5183
5188
  case "flat":
5184
5189
  if (Array.isArray(e.data.flatDisplay)) {
5185
- const t = e.data.flatDisplay.filter((n) => Number(n.statusCode) !== La.NOT_FOUND).sort((n, r) => n.priority - r.priority);
5190
+ const t = e.data.flatDisplay.filter((n) => Number(n.statusCode) !== Fa.NOT_FOUND).sort((n, r) => n.priority - r.priority);
5186
5191
  e.data.flatDisplay = { data: t };
5187
5192
  } else {
5188
- const t = e.data.flatDisplay.data.filter((n) => Number(n.statusCode) !== La.NOT_FOUND).sort((n, r) => n.priority - r.priority);
5193
+ const t = e.data.flatDisplay.data.filter((n) => Number(n.statusCode) !== Fa.NOT_FOUND).sort((n, r) => n.priority - r.priority);
5189
5194
  e.data.flatDisplay.data = t;
5190
5195
  }
5191
5196
  break;
@@ -5330,7 +5335,7 @@ const zt = {
5330
5335
  source: "collapsed_feedback_btn"
5331
5336
  }
5332
5337
  }), [l, a] = Y(t), [u, h] = Y(!1), [b, I] = Y(0), m = () => {
5333
- r(Ra, {
5338
+ r(La, {
5334
5339
  sm_ids: n,
5335
5340
  ug_id: i,
5336
5341
  connector_names: e,
@@ -5338,7 +5343,7 @@ const zt = {
5338
5343
  star_rating: 0
5339
5344
  }), fi(s);
5340
5345
  }, d = (v) => {
5341
- r(Ra, {
5346
+ r(La, {
5342
5347
  sm_ids: n,
5343
5348
  ug_id: i,
5344
5349
  connector_names: e,
@@ -5401,7 +5406,7 @@ const zt = {
5401
5406
  }
5402
5407
  ) })
5403
5408
  ] });
5404
- }, Ib = "Need setup help?", xb = "Expert setup assistance available! Book a 15 min call with our integration specialist.", Eb = "Schedule call", wb = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Bl = "agent_panel", Zs = "hiver_schedule_call_close_button_click", Ab = N(z)`
5409
+ }, Ib = "Need setup help?", xb = "Expert setup assistance available! Book a 15 min call with our integration specialist.", Eb = "Schedule call", wb = "https://calendly.com/aditya-s-grexit/15-min-connector-setup", Bl = "agent_panel", Us = "hiver_schedule_call_close_button_click", Ab = N(z)`
5405
5410
  padding: 12px;
5406
5411
  width: 250px;
5407
5412
  min-height: 151px;
@@ -5439,12 +5444,12 @@ const zt = {
5439
5444
  `, Lb = N(pe)`
5440
5445
  color: ${J.palette.gray.gray2};
5441
5446
  `, Fb = () => {
5442
- const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = Je(et), [r, o] = Y(() => !(localStorage.getItem(Zs) === "true") && ft(e, jm));
5447
+ const { availableFeatures: e, sendTrackingEvent: t, isAdmin: n } = Je(et), [r, o] = Y(() => !(localStorage.getItem(Us) === "true") && ft(e, jm));
5443
5448
  me(() => {
5444
- localStorage.getItem(Zs) === "true" && o(!1);
5449
+ localStorage.getItem(Us) === "true" && o(!1);
5445
5450
  }, []);
5446
5451
  const i = () => {
5447
- localStorage.setItem(Zs, "true"), o(!1), t(bm, {
5452
+ localStorage.setItem(Us, "true"), o(!1), t(bm, {
5448
5453
  source: Bl
5449
5454
  });
5450
5455
  }, s = () => {
@@ -5644,7 +5649,7 @@ const Hb = N(be)`
5644
5649
  transform: rotate(135deg);
5645
5650
  }
5646
5651
  }
5647
- `, jn = N(pc)`
5652
+ `, jn = N(hc)`
5648
5653
  display: block;
5649
5654
  margin: ${(e) => e.margin ? e.margin : 0};
5650
5655
  `, Yr = N(Wt)`
@@ -5836,7 +5841,7 @@ const Hb = N(be)`
5836
5841
  handleCreateNewObject: i,
5837
5842
  handleLinkNewObject: s
5838
5843
  }) => {
5839
- const c = ye(null), l = ye(null), [a, u] = Y(null), h = !!a, { availableFeatures: b, sendTrackingEvent: I, currentSmIds: m, email: d } = Je(et), { userGroupId: f, userId: p } = xn() || {}, v = ft(b, hs), g = [
5844
+ const c = ye(null), l = ye(null), [a, u] = Y(null), h = !!a, { availableFeatures: b, sendTrackingEvent: I, currentSmIds: m, email: d } = Je(et), { userGroupId: f, userId: p } = xn() || {}, v = ft(b, gs), g = [
5840
5845
  {
5841
5846
  id: "rate-experience",
5842
5847
  label: "Rate your experience",
@@ -5854,7 +5859,7 @@ const Hb = N(be)`
5854
5859
  source: "help_drop_down"
5855
5860
  }
5856
5861
  });
5857
- window.open(E, "_blank"), I(Ra, {
5862
+ window.open(E, "_blank"), I(La, {
5858
5863
  sm_ids: m,
5859
5864
  ug_id: f,
5860
5865
  connector_names: e,
@@ -5924,7 +5929,7 @@ const Hb = N(be)`
5924
5929
  ] })
5925
5930
  ] });
5926
5931
  };
5927
- var Fa = { exports: {} }, Us = {};
5932
+ var Da = { exports: {} }, Xs = {};
5928
5933
  /**
5929
5934
  * @license React
5930
5935
  * use-sync-external-store-with-selector.production.min.js
@@ -5936,14 +5941,14 @@ var Fa = { exports: {} }, Us = {};
5936
5941
  */
5937
5942
  var jl;
5938
5943
  function Cv() {
5939
- if (jl) return Us;
5944
+ if (jl) return Xs;
5940
5945
  jl = 1;
5941
5946
  var e = _e;
5942
5947
  function t(l, a) {
5943
5948
  return l === a && (l !== 0 || 1 / l === 1 / a) || l !== l && a !== a;
5944
5949
  }
5945
5950
  var n = typeof Object.is == "function" ? Object.is : t, r = e.useSyncExternalStore, o = e.useRef, i = e.useEffect, s = e.useMemo, c = e.useDebugValue;
5946
- return Us.useSyncExternalStoreWithSelector = function(l, a, u, h, b) {
5951
+ return Xs.useSyncExternalStoreWithSelector = function(l, a, u, h, b) {
5947
5952
  var I = o(null);
5948
5953
  if (I.current === null) {
5949
5954
  var m = { hasValue: !1, value: null };
@@ -5973,9 +5978,9 @@ function Cv() {
5973
5978
  return i(function() {
5974
5979
  m.hasValue = !0, m.value = d;
5975
5980
  }, [d]), c(d), d;
5976
- }, Us;
5981
+ }, Xs;
5977
5982
  }
5978
- var Xs = {};
5983
+ var zs = {};
5979
5984
  /**
5980
5985
  * @license React
5981
5986
  * use-sync-external-store-with-selector.development.js
@@ -6028,11 +6033,11 @@ function Iv() {
6028
6033
  d.hasValue = !0, d.value = g;
6029
6034
  }, [g]), c(g), g;
6030
6035
  }
6031
- Xs.useSyncExternalStoreWithSelector = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
6032
- }()), Xs;
6036
+ zs.useSyncExternalStoreWithSelector = l, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
6037
+ }()), zs;
6033
6038
  }
6034
- process.env.NODE_ENV === "production" ? Fa.exports = Cv() : Fa.exports = Iv();
6035
- var xv = Fa.exports, kt = (
6039
+ process.env.NODE_ENV === "production" ? Da.exports = Cv() : Da.exports = Iv();
6040
+ var xv = Da.exports, kt = (
6036
6041
  // prettier-ignore
6037
6042
  // @ts-ignore
6038
6043
  "default" in F ? F.default : F
@@ -6298,10 +6303,10 @@ const Kt = jv.withTypes(), Ae = Sv.withTypes(), Rt = {
6298
6303
  function at(e) {
6299
6304
  return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
6300
6305
  }
6301
- var Uv = typeof Symbol == "function" && Symbol.observable || "@@observable", Ul = Uv, zs = () => Math.random().toString(36).substring(7).split("").join("."), Xv = {
6302
- INIT: `@@redux/INIT${/* @__PURE__ */ zs()}`,
6303
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ zs()}`,
6304
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${zs()}`
6306
+ var Uv = typeof Symbol == "function" && Symbol.observable || "@@observable", Ul = Uv, $s = () => Math.random().toString(36).substring(7).split("").join("."), Xv = {
6307
+ INIT: `@@redux/INIT${/* @__PURE__ */ $s()}`,
6308
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ $s()}`,
6309
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${$s()}`
6305
6310
  }, dr = Xv;
6306
6311
  function zo(e) {
6307
6312
  if (typeof e != "object" || e === null)
@@ -6590,7 +6595,7 @@ function hr(e) {
6590
6595
  }
6591
6596
  function En(e) {
6592
6597
  var t;
6593
- return e ? Gf(e) || Array.isArray(e) || !!e[zl] || !!((t = e.constructor) != null && t[zl]) || ms(e) || bs(e) : !1;
6598
+ return e ? Gf(e) || Array.isArray(e) || !!e[zl] || !!((t = e.constructor) != null && t[zl]) || bs(e) || vs(e) : !1;
6594
6599
  }
6595
6600
  var ty = Object.prototype.constructor.toString();
6596
6601
  function Gf(e) {
@@ -6603,37 +6608,37 @@ function Gf(e) {
6603
6608
  return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === ty;
6604
6609
  }
6605
6610
  function ji(e, t) {
6606
- gs(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
6611
+ ms(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
6607
6612
  t(n, e[n], e);
6608
6613
  }) : e.forEach((n, r) => t(r, n, e));
6609
6614
  }
6610
- function gs(e) {
6615
+ function ms(e) {
6611
6616
  const t = e[Bt];
6612
- return t ? t.type_ : Array.isArray(e) ? 1 : ms(e) ? 2 : bs(e) ? 3 : 0;
6617
+ return t ? t.type_ : Array.isArray(e) ? 1 : bs(e) ? 2 : vs(e) ? 3 : 0;
6613
6618
  }
6614
- function Da(e, t) {
6615
- return gs(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
6619
+ function Na(e, t) {
6620
+ return ms(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
6616
6621
  }
6617
6622
  function Hf(e, t, n) {
6618
- const r = gs(e);
6623
+ const r = ms(e);
6619
6624
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
6620
6625
  }
6621
6626
  function ny(e, t) {
6622
6627
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
6623
6628
  }
6624
- function ms(e) {
6629
+ function bs(e) {
6625
6630
  return e instanceof Map;
6626
6631
  }
6627
- function bs(e) {
6632
+ function vs(e) {
6628
6633
  return e instanceof Set;
6629
6634
  }
6630
6635
  function qn(e) {
6631
6636
  return e.copy_ || e.base_;
6632
6637
  }
6633
- function Na(e, t) {
6634
- if (ms(e))
6635
- return new Map(e);
6638
+ function ka(e, t) {
6636
6639
  if (bs(e))
6640
+ return new Map(e);
6641
+ if (vs(e))
6637
6642
  return new Set(e);
6638
6643
  if (Array.isArray(e))
6639
6644
  return Array.prototype.slice.call(e);
@@ -6662,12 +6667,12 @@ function Na(e, t) {
6662
6667
  }
6663
6668
  }
6664
6669
  function Nc(e, t = !1) {
6665
- return vs(e) || hr(e) || !En(e) || (gs(e) > 1 && (e.set = e.add = e.clear = e.delete = ry), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => Nc(r, !0))), e;
6670
+ return ys(e) || hr(e) || !En(e) || (ms(e) > 1 && (e.set = e.add = e.clear = e.delete = ry), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => Nc(r, !0))), e;
6666
6671
  }
6667
6672
  function ry() {
6668
6673
  _t(2);
6669
6674
  }
6670
- function vs(e) {
6675
+ function ys(e) {
6671
6676
  return Object.isFrozen(e);
6672
6677
  }
6673
6678
  var oy = {};
@@ -6693,10 +6698,10 @@ function iy(e, t) {
6693
6698
  function $l(e, t) {
6694
6699
  t && (gr("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
6695
6700
  }
6696
- function ka(e) {
6697
- Pa(e), e.drafts_.forEach(sy), e.drafts_ = null;
6698
- }
6699
6701
  function Pa(e) {
6702
+ Ma(e), e.drafts_.forEach(sy), e.drafts_ = null;
6703
+ }
6704
+ function Ma(e) {
6700
6705
  e === No && (No = e.parent_);
6701
6706
  }
6702
6707
  function Yl(e) {
@@ -6709,15 +6714,15 @@ function sy(e) {
6709
6714
  function Jl(e, t) {
6710
6715
  t.unfinalizedDrafts_ = t.drafts_.length;
6711
6716
  const n = t.drafts_[0];
6712
- return e !== void 0 && e !== n ? (n[Bt].modified_ && (ka(t), _t(4)), En(e) && (e = Vi(t, e), t.parent_ || Gi(t, e)), t.patches_ && gr("Patches").generateReplacementPatches_(
6717
+ return e !== void 0 && e !== n ? (n[Bt].modified_ && (Pa(t), _t(4)), En(e) && (e = Vi(t, e), t.parent_ || Gi(t, e)), t.patches_ && gr("Patches").generateReplacementPatches_(
6713
6718
  n[Bt].base_,
6714
6719
  e,
6715
6720
  t.patches_,
6716
6721
  t.inversePatches_
6717
- )) : e = Vi(t, n, []), ka(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== Vf ? e : void 0;
6722
+ )) : e = Vi(t, n, []), Pa(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== Vf ? e : void 0;
6718
6723
  }
6719
6724
  function Vi(e, t, n) {
6720
- if (vs(t))
6725
+ if (ys(t))
6721
6726
  return t;
6722
6727
  const r = t[Bt];
6723
6728
  if (!r)
@@ -6748,13 +6753,13 @@ function Vi(e, t, n) {
6748
6753
  function Ql(e, t, n, r, o, i, s) {
6749
6754
  if (process.env.NODE_ENV !== "production" && o === n && _t(5), hr(o)) {
6750
6755
  const c = i && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
6751
- !Da(t.assigned_, r) ? i.concat(r) : void 0, l = Vi(e, o, c);
6756
+ !Na(t.assigned_, r) ? i.concat(r) : void 0, l = Vi(e, o, c);
6752
6757
  if (Hf(n, r, l), hr(l))
6753
6758
  e.canAutoFreeze_ = !1;
6754
6759
  else
6755
6760
  return;
6756
6761
  } else s && n.add(o);
6757
- if (En(o) && !vs(o)) {
6762
+ if (En(o) && !ys(o)) {
6758
6763
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
6759
6764
  return;
6760
6765
  Vi(e, o), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && Gi(e, o);
@@ -6797,10 +6802,10 @@ var kc = {
6797
6802
  if (t === Bt)
6798
6803
  return e;
6799
6804
  const n = qn(e);
6800
- if (!Da(n, t))
6805
+ if (!Na(n, t))
6801
6806
  return cy(e, n, t);
6802
6807
  const r = n[t];
6803
- return e.finalized_ || !En(r) ? r : r === $s(e.base_, t) ? (Ys(e), e.copy_[t] = Ba(r, e)) : r;
6808
+ return e.finalized_ || !En(r) ? r : r === Ys(e.base_, t) ? (Js(e), e.copy_[t] = ja(r, e)) : r;
6804
6809
  },
6805
6810
  has(e, t) {
6806
6811
  return t in qn(e);
@@ -6813,19 +6818,19 @@ var kc = {
6813
6818
  if (r != null && r.set)
6814
6819
  return r.set.call(e.draft_, n), !0;
6815
6820
  if (!e.modified_) {
6816
- const o = $s(qn(e), t), i = o == null ? void 0 : o[Bt];
6821
+ const o = Ys(qn(e), t), i = o == null ? void 0 : o[Bt];
6817
6822
  if (i && i.base_ === n)
6818
6823
  return e.copy_[t] = n, e.assigned_[t] = !1, !0;
6819
- if (ny(n, o) && (n !== void 0 || Da(e.base_, t)))
6824
+ if (ny(n, o) && (n !== void 0 || Na(e.base_, t)))
6820
6825
  return !0;
6821
- Ys(e), Ma(e);
6826
+ Js(e), Ba(e);
6822
6827
  }
6823
6828
  return e.copy_[t] === n && // special case: handle new props with value 'undefined'
6824
6829
  (n !== void 0 || t in e.copy_) || // special case: NaN
6825
6830
  Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_[t] = !0), !0;
6826
6831
  },
6827
6832
  deleteProperty(e, t) {
6828
- return $s(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Ys(e), Ma(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
6833
+ return Ys(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, Js(e), Ba(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
6829
6834
  },
6830
6835
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
6831
6836
  // the same guarantee in ES5 mode.
@@ -6859,7 +6864,7 @@ ko.deleteProperty = function(e, t) {
6859
6864
  ko.set = function(e, t, n) {
6860
6865
  return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && _t(14), kc.set.call(this, e[0], t, n, e[0]);
6861
6866
  };
6862
- function $s(e, t) {
6867
+ function Ys(e, t) {
6863
6868
  const n = e[Bt];
6864
6869
  return (n ? qn(n) : e)[t];
6865
6870
  }
@@ -6883,11 +6888,11 @@ function Zf(e, t) {
6883
6888
  n = Jr(n);
6884
6889
  }
6885
6890
  }
6886
- function Ma(e) {
6887
- e.modified_ || (e.modified_ = !0, e.parent_ && Ma(e.parent_));
6891
+ function Ba(e) {
6892
+ e.modified_ || (e.modified_ = !0, e.parent_ && Ba(e.parent_));
6888
6893
  }
6889
- function Ys(e) {
6890
- e.copy_ || (e.copy_ = Na(
6894
+ function Js(e) {
6895
+ e.copy_ || (e.copy_ = ka(
6891
6896
  e.base_,
6892
6897
  e.scope_.immer_.useStrictShallowCopy_
6893
6898
  ));
@@ -6906,12 +6911,12 @@ var ly = class {
6906
6911
  typeof n != "function" && _t(6), r !== void 0 && typeof r != "function" && _t(7);
6907
6912
  let o;
6908
6913
  if (En(t)) {
6909
- const i = Yl(this), s = Ba(t, void 0);
6914
+ const i = Yl(this), s = ja(t, void 0);
6910
6915
  let c = !0;
6911
6916
  try {
6912
6917
  o = n(s), c = !1;
6913
6918
  } finally {
6914
- c ? ka(i) : Pa(i);
6919
+ c ? Pa(i) : Ma(i);
6915
6920
  }
6916
6921
  return $l(i, r), Jl(o, i);
6917
6922
  } else if (!t || typeof t != "object") {
@@ -6933,8 +6938,8 @@ var ly = class {
6933
6938
  }
6934
6939
  createDraft(e) {
6935
6940
  En(e) || _t(8), hr(e) && (e = uy(e));
6936
- const t = Yl(this), n = Ba(e, void 0);
6937
- return n[Bt].isManual_ = !0, Pa(t), n;
6941
+ const t = Yl(this), n = ja(e, void 0);
6942
+ return n[Bt].isManual_ = !0, Ma(t), n;
6938
6943
  }
6939
6944
  finishDraft(e, t) {
6940
6945
  const n = e && e[Bt];
@@ -6975,24 +6980,24 @@ var ly = class {
6975
6980
  );
6976
6981
  }
6977
6982
  };
6978
- function Ba(e, t) {
6979
- const n = ms(e) ? gr("MapSet").proxyMap_(e, t) : bs(e) ? gr("MapSet").proxySet_(e, t) : ay(e, t);
6983
+ function ja(e, t) {
6984
+ const n = bs(e) ? gr("MapSet").proxyMap_(e, t) : vs(e) ? gr("MapSet").proxySet_(e, t) : ay(e, t);
6980
6985
  return (t ? t.scope_ : Wf()).drafts_.push(n), n;
6981
6986
  }
6982
6987
  function uy(e) {
6983
6988
  return hr(e) || _t(10, e), Uf(e);
6984
6989
  }
6985
6990
  function Uf(e) {
6986
- if (!En(e) || vs(e))
6991
+ if (!En(e) || ys(e))
6987
6992
  return e;
6988
6993
  const t = e[Bt];
6989
6994
  let n;
6990
6995
  if (t) {
6991
6996
  if (!t.modified_)
6992
6997
  return t.base_;
6993
- t.finalized_ = !0, n = Na(e, t.scope_.immer_.useStrictShallowCopy_);
6998
+ t.finalized_ = !0, n = ka(e, t.scope_.immer_.useStrictShallowCopy_);
6994
6999
  } else
6995
- n = Na(e, !0);
7000
+ n = ka(e, !0);
6996
7001
  return ji(n, (r, o) => {
6997
7002
  Hf(n, r, Uf(o));
6998
7003
  }), t && (t.finalized_ = !1), n;
@@ -7199,7 +7204,7 @@ function Kf(e) {
7199
7204
  const t = typeof e;
7200
7205
  return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || zo(e);
7201
7206
  }
7202
- function ja(e, t = "", n = Kf, r, o = [], i) {
7207
+ function Va(e, t = "", n = Kf, r, o = [], i) {
7203
7208
  let s;
7204
7209
  if (!n(e))
7205
7210
  return {
@@ -7216,7 +7221,7 @@ function ja(e, t = "", n = Kf, r, o = [], i) {
7216
7221
  keyPath: h,
7217
7222
  value: u
7218
7223
  };
7219
- if (typeof u == "object" && (s = ja(u, h, n, r, o, i), s))
7224
+ if (typeof u == "object" && (s = Va(u, h, n, r, o, i), s))
7220
7225
  return s;
7221
7226
  }
7222
7227
  }
@@ -7249,7 +7254,7 @@ function Cy(e = {}) {
7249
7254
  return b(I);
7250
7255
  const m = b(I), d = Yf(s, "SerializableStateInvariantMiddleware");
7251
7256
  return !l && !(r.length && r.indexOf(I.type) !== -1) && d.measureTime(() => {
7252
- const f = ja(I, "", t, n, o, u);
7257
+ const f = Va(I, "", t, n, o, u);
7253
7258
  if (f) {
7254
7259
  const {
7255
7260
  keyPath: p,
@@ -7261,7 +7266,7 @@ Take a look at the logic that dispatched this action: `, I, `
7261
7266
  (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
7262
7267
  }
7263
7268
  }), c || (d.measureTime(() => {
7264
- const f = h.getState(), p = ja(f, "", t, n, i, u);
7269
+ const f = h.getState(), p = Va(f, "", t, n, i, u);
7265
7270
  if (p) {
7266
7271
  const {
7267
7272
  keyPath: v,
@@ -7466,13 +7471,13 @@ var Ly = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Fy
7466
7471
  for (; n--; )
7467
7472
  t += Ly[Math.random() * 64 | 0];
7468
7473
  return t;
7469
- }, Dy = ["name", "message", "stack", "code"], Js = class {
7474
+ }, Dy = ["name", "message", "stack", "code"], Qs = class {
7470
7475
  constructor(e, t) {
7471
7476
  /*
7472
7477
  type-only property to distinguish between RejectWithValue and FulfillWithMeta
7473
7478
  does not exist at runtime
7474
7479
  */
7475
- Ds(this, "_type");
7480
+ Ns(this, "_type");
7476
7481
  this.payload = e, this.meta = t;
7477
7482
  }
7478
7483
  }, eu = class {
@@ -7481,7 +7486,7 @@ var Ly = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Fy
7481
7486
  type-only property to distinguish between RejectWithValue and FulfillWithMeta
7482
7487
  does not exist at runtime
7483
7488
  */
7484
- Ds(this, "_type");
7489
+ Ns(this, "_type");
7485
7490
  this.payload = e, this.meta = t;
7486
7491
  }
7487
7492
  }, Ny = (e) => {
@@ -7566,15 +7571,15 @@ var Ly = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", Fy
7566
7571
  requestId: b,
7567
7572
  signal: I.signal,
7568
7573
  abort: f,
7569
- rejectWithValue: (A, T) => new Js(A, T),
7574
+ rejectWithValue: (A, T) => new Qs(A, T),
7570
7575
  fulfillWithValue: (A, T) => new eu(A, T)
7571
7576
  })).then((A) => {
7572
- if (A instanceof Js)
7577
+ if (A instanceof Qs)
7573
7578
  throw A;
7574
7579
  return A instanceof eu ? o(A.payload, b, l, A.meta) : o(A, b, l);
7575
7580
  })]);
7576
7581
  } catch (E) {
7577
- v = E instanceof Js ? s(null, b, l, E.payload, E.meta) : s(E, b, l);
7582
+ v = E instanceof Qs ? s(null, b, l, E.payload, E.meta) : s(E, b, l);
7578
7583
  } finally {
7579
7584
  m && I.signal.removeEventListener("abort", m);
7580
7585
  }
@@ -7835,7 +7840,7 @@ function ri() {
7835
7840
  function Ve(e) {
7836
7841
  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. `;
7837
7842
  }
7838
- const Gn = "success", Tt = "error", r0 = "Some error occured. Please contact support@hiverhq.com", o0 = "Card refreshed successfully", Xy = "Card linked successfully", zy = "Error in linking the card", $y = "Card unlinked successfully", Yy = "Failed to unlink the card", ys = "Something went wrong", Jy = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", Qy = N(be)`
7843
+ const Gn = "success", Tt = "error", r0 = "Some error occured. Please contact support@hiverhq.com", o0 = "Card refreshed successfully", Xy = "Card linked successfully", zy = "Error in linking the card", $y = "Card unlinked successfully", Yy = "Failed to unlink the card", Cs = "Something went wrong", Jy = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%3e%3cpath%20fill='%23ffffff'%20fill-rule='nonzero'%20d='M8.821%207.496L14.716%201.6A.937.937%200%201%200%2013.391.275L7.496%206.17%201.6.275A.937.937%200%201%200%20.275%201.601L6.17%207.496.275%2013.39A.937.937%200%201%200%201.6%2014.716L7.496%208.82l5.895%205.895a.935.935%200%200%200%201.325%200%20.937.937%200%200%200%200-1.326L8.821%207.496z'%20opacity='.8'/%3e%3c/svg%3e", Qy = N(be)`
7839
7844
  display: flex;
7840
7845
  flex-direction: row;
7841
7846
  align-items: center;
@@ -7992,10 +7997,10 @@ const s3 = {
7992
7997
  }
7993
7998
  };
7994
7999
  };
7995
- var Va = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(Va || {});
8000
+ var Ga = /* @__PURE__ */ ((e) => (e.ADD = "ADD", e.MULTIPLY = "MULTIPLY", e))(Ga || {});
7996
8001
  const u3 = {
7997
- [Va.ADD]: (e, t) => e + t,
7998
- [Va.MULTIPLY]: (e, t) => e * t
8002
+ [Ga.ADD]: (e, t) => e + t,
8003
+ [Ga.MULTIPLY]: (e, t) => e * t
7999
8004
  }, d3 = (e) => e, nu = () => {
8000
8005
  if ("crypto" in window && "randomUUID" in window.crypto)
8001
8006
  return window.crypto.randomUUID();
@@ -8121,16 +8126,16 @@ function k3(e, t) {
8121
8126
  return c;
8122
8127
  }
8123
8128
  }
8124
- function Ga(e, t) {
8129
+ function Ha(e, t) {
8125
8130
  (t == null || t > e.length) && (t = e.length);
8126
8131
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
8127
8132
  return r;
8128
8133
  }
8129
8134
  function l0(e, t) {
8130
8135
  if (e) {
8131
- if (typeof e == "string") return Ga(e, t);
8136
+ if (typeof e == "string") return Ha(e, t);
8132
8137
  var n = {}.toString.call(e).slice(8, -1);
8133
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ga(e, t) : void 0;
8138
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Ha(e, t) : void 0;
8134
8139
  }
8135
8140
  }
8136
8141
  function P3() {
@@ -8203,10 +8208,10 @@ function V3(e, t, n) {
8203
8208
  writable: !1
8204
8209
  }), e;
8205
8210
  }
8206
- function Ha(e, t) {
8207
- return Ha = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
8211
+ function Wa(e, t) {
8212
+ return Wa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
8208
8213
  return n.__proto__ = r, n;
8209
- }, Ha(e, t);
8214
+ }, Wa(e, t);
8210
8215
  }
8211
8216
  function G3(e, t) {
8212
8217
  if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
@@ -8218,7 +8223,7 @@ function G3(e, t) {
8218
8223
  }
8219
8224
  }), Object.defineProperty(e, "prototype", {
8220
8225
  writable: !1
8221
- }), t && Ha(e, t);
8226
+ }), t && Wa(e, t);
8222
8227
  }
8223
8228
  function Hi(e) {
8224
8229
  return Hi = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
@@ -8256,7 +8261,7 @@ function Z3(e) {
8256
8261
  };
8257
8262
  }
8258
8263
  function U3(e) {
8259
- if (Array.isArray(e)) return Ga(e);
8264
+ if (Array.isArray(e)) return Ha(e);
8260
8265
  }
8261
8266
  function X3(e) {
8262
8267
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
@@ -8309,7 +8314,7 @@ var Q3 = /* @__PURE__ */ function() {
8309
8314
  return (o = r.parentNode) == null ? void 0 : o.removeChild(r);
8310
8315
  }), this.tags = [], this.ctr = 0;
8311
8316
  }, e;
8312
- }(), ut = "-ms-", Wi = "-moz-", Oe = "-webkit-", d0 = "comm", Bc = "rule", jc = "decl", q3 = "@import", f0 = "@keyframes", K3 = "@layer", eC = Math.abs, Cs = String.fromCharCode, tC = Object.assign;
8317
+ }(), ut = "-ms-", Wi = "-moz-", Oe = "-webkit-", d0 = "comm", Bc = "rule", jc = "decl", q3 = "@import", f0 = "@keyframes", K3 = "@layer", eC = Math.abs, Is = String.fromCharCode, tC = Object.assign;
8313
8318
  function nC(e, t) {
8314
8319
  return ct(e, 0) ^ 45 ? (((t << 2 ^ ct(e, 0)) << 2 ^ ct(e, 1)) << 2 ^ ct(e, 2)) << 2 ^ ct(e, 3) : 0;
8315
8320
  }
@@ -8322,7 +8327,7 @@ function rC(e, t) {
8322
8327
  function Re(e, t, n) {
8323
8328
  return e.replace(t, n);
8324
8329
  }
8325
- function Wa(e, t) {
8330
+ function Za(e, t) {
8326
8331
  return e.indexOf(t);
8327
8332
  }
8328
8333
  function ct(e, t) {
@@ -8343,21 +8348,21 @@ function ii(e, t) {
8343
8348
  function oC(e, t) {
8344
8349
  return e.map(t).join("");
8345
8350
  }
8346
- var Is = 1, Qr = 1, h0 = 0, Ot = 0, qe = 0, io = "";
8347
- function xs(e, t, n, r, o, i, s) {
8348
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Is, column: Qr, length: s, return: "" };
8351
+ var xs = 1, Qr = 1, h0 = 0, Ot = 0, qe = 0, io = "";
8352
+ function Es(e, t, n, r, o, i, s) {
8353
+ return { value: e, root: t, parent: n, type: r, props: o, children: i, line: xs, column: Qr, length: s, return: "" };
8349
8354
  }
8350
8355
  function yo(e, t) {
8351
- return tC(xs("", null, null, "", null, null, 0), e, { length: -e.length }, t);
8356
+ return tC(Es("", null, null, "", null, null, 0), e, { length: -e.length }, t);
8352
8357
  }
8353
8358
  function iC() {
8354
8359
  return qe;
8355
8360
  }
8356
8361
  function sC() {
8357
- return qe = Ot > 0 ? ct(io, --Ot) : 0, Qr--, qe === 10 && (Qr = 1, Is--), qe;
8362
+ return qe = Ot > 0 ? ct(io, --Ot) : 0, Qr--, qe === 10 && (Qr = 1, xs--), qe;
8358
8363
  }
8359
8364
  function Mt() {
8360
- return qe = Ot < h0 ? ct(io, Ot++) : 0, Qr++, qe === 10 && (Qr = 1, Is++), qe;
8365
+ return qe = Ot < h0 ? ct(io, Ot++) : 0, Qr++, qe === 10 && (Qr = 1, xs++), qe;
8361
8366
  }
8362
8367
  function pn() {
8363
8368
  return ct(io, Ot);
@@ -8401,13 +8406,13 @@ function Mo(e) {
8401
8406
  return 0;
8402
8407
  }
8403
8408
  function g0(e) {
8404
- return Is = Qr = 1, h0 = cn(io = e), Ot = 0, [];
8409
+ return xs = Qr = 1, h0 = cn(io = e), Ot = 0, [];
8405
8410
  }
8406
8411
  function m0(e) {
8407
8412
  return io = "", e;
8408
8413
  }
8409
8414
  function yi(e) {
8410
- return p0($o(Ot - 1, Za(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
8415
+ return p0($o(Ot - 1, Ua(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
8411
8416
  }
8412
8417
  function aC(e) {
8413
8418
  for (; (qe = pn()) && qe < 33; )
@@ -8419,17 +8424,17 @@ function cC(e, t) {
8419
8424
  ;
8420
8425
  return $o(e, vi() + (t < 6 && pn() == 32 && Mt() == 32));
8421
8426
  }
8422
- function Za(e) {
8427
+ function Ua(e) {
8423
8428
  for (; Mt(); )
8424
8429
  switch (qe) {
8425
8430
  case e:
8426
8431
  return Ot;
8427
8432
  case 34:
8428
8433
  case 39:
8429
- e !== 34 && e !== 39 && Za(qe);
8434
+ e !== 34 && e !== 39 && Ua(qe);
8430
8435
  break;
8431
8436
  case 40:
8432
- e === 41 && Za(e);
8437
+ e === 41 && Ua(e);
8433
8438
  break;
8434
8439
  case 92:
8435
8440
  Mt();
@@ -8441,7 +8446,7 @@ function lC(e, t) {
8441
8446
  for (; Mt() && e + qe !== 57; )
8442
8447
  if (e + qe === 84 && pn() === 47)
8443
8448
  break;
8444
- return "/*" + $o(t, Ot - 1) + "*" + Cs(e === 47 ? e : Mt());
8449
+ return "/*" + $o(t, Ot - 1) + "*" + Is(e === 47 ? e : Mt());
8445
8450
  }
8446
8451
  function uC(e) {
8447
8452
  for (; !Mo(pn()); )
@@ -8456,7 +8461,7 @@ function Ci(e, t, n, r, o, i, s, c, l) {
8456
8461
  switch (m = v, v = Mt()) {
8457
8462
  case 40:
8458
8463
  if (m != 108 && ct(w, h - 1) == 58) {
8459
- Wa(w += Re(yi(v), "&", "&\f"), "&\f") != -1 && (p = -1);
8464
+ Za(w += Re(yi(v), "&", "&\f"), "&\f") != -1 && (p = -1);
8460
8465
  break;
8461
8466
  }
8462
8467
  case 34:
@@ -8524,7 +8529,7 @@ function Ci(e, t, n, r, o, i, s, c, l) {
8524
8529
  else if (v == 125 && d++ == 0 && sC() == 125)
8525
8530
  continue;
8526
8531
  }
8527
- switch (w += Cs(v), v * d) {
8532
+ switch (w += Is(v), v * d) {
8528
8533
  case 38:
8529
8534
  p = u > 0 ? 1 : (w += "\f", -1);
8530
8535
  break;
@@ -8544,13 +8549,13 @@ function au(e, t, n, r, o, i, s, c, l, a, u) {
8544
8549
  for (var h = o - 1, b = o === 0 ? i : [""], I = Vc(b), m = 0, d = 0, f = 0; m < r; ++m)
8545
8550
  for (var p = 0, v = Po(e, h + 1, h = eC(d = s[m])), g = e; p < I; ++p)
8546
8551
  (g = p0(d > 0 ? b[p] + " " + v : Re(v, /&\f/g, b[p]))) && (l[f++] = g);
8547
- return xs(e, t, n, o === 0 ? Bc : c, l, a, u);
8552
+ return Es(e, t, n, o === 0 ? Bc : c, l, a, u);
8548
8553
  }
8549
8554
  function fC(e, t, n) {
8550
- return xs(e, t, n, d0, Cs(iC()), Po(e, 2, -2), 0);
8555
+ return Es(e, t, n, d0, Is(iC()), Po(e, 2, -2), 0);
8551
8556
  }
8552
8557
  function cu(e, t, n, r) {
8553
- return xs(e, t, n, jc, Po(e, 0, r), Po(e, r + 1, -1), r);
8558
+ return Es(e, t, n, jc, Po(e, 0, r), Po(e, r + 1, -1), r);
8554
8559
  }
8555
8560
  function Rr(e, t) {
8556
8561
  for (var n = "", r = Vc(e), o = 0; o < r; o++)
@@ -8612,7 +8617,7 @@ var bC = function(t, n, r) {
8612
8617
  break;
8613
8618
  }
8614
8619
  default:
8615
- t[r] += Cs(o);
8620
+ t[r] += Is(o);
8616
8621
  }
8617
8622
  while (o = Mt());
8618
8623
  return t;
@@ -8724,13 +8729,13 @@ function b0(e, t) {
8724
8729
  case 102:
8725
8730
  return Re(e, /(.+:)(.+)-([^]+)/, "$1" + Oe + "$2-$3$1" + Wi + (ct(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
8726
8731
  case 115:
8727
- return ~Wa(e, "stretch") ? b0(Re(e, "stretch", "fill-available"), t) + e : e;
8732
+ return ~Za(e, "stretch") ? b0(Re(e, "stretch", "fill-available"), t) + e : e;
8728
8733
  }
8729
8734
  break;
8730
8735
  case 4949:
8731
8736
  if (ct(e, t + 1) !== 115) break;
8732
8737
  case 6444:
8733
- switch (ct(e, cn(e) - 3 - (~Wa(e, "!important") && 10))) {
8738
+ switch (ct(e, cn(e) - 3 - (~Za(e, "!important") && 10))) {
8734
8739
  case 107:
8735
8740
  return Re(e, ":", ":" + Oe) + e;
8736
8741
  case 101:
@@ -8826,7 +8831,7 @@ var xC = function(t, n, r, o) {
8826
8831
  insert: l
8827
8832
  };
8828
8833
  return m.sheet.hydrate(c), m;
8829
- }, Ua = { exports: {} }, De = {};
8834
+ }, Xa = { exports: {} }, De = {};
8830
8835
  /** @license React v16.13.1
8831
8836
  * react-is.production.min.js
8832
8837
  *
@@ -8993,8 +8998,8 @@ function _C() {
8993
8998
  Ne.AsyncMode = C, Ne.ConcurrentMode = E, Ne.ContextConsumer = w, Ne.ContextProvider = A, Ne.Element = T, Ne.ForwardRef = L, Ne.Fragment = O, Ne.Lazy = R, Ne.Memo = M, Ne.Portal = H, Ne.Profiler = Z, Ne.StrictMode = $, Ne.Suspense = U, Ne.isAsyncMode = ne, Ne.isConcurrentMode = le, Ne.isContextConsumer = de, Ne.isContextProvider = P, Ne.isElement = G, Ne.isForwardRef = B, Ne.isFragment = j, Ne.isLazy = K, Ne.isMemo = re, Ne.isPortal = ie, Ne.isProfiler = k, Ne.isStrictMode = te, Ne.isSuspense = Ee, Ne.isValidElementType = g, Ne.typeOf = x;
8994
8999
  }()), Ne;
8995
9000
  }
8996
- process.env.NODE_ENV === "production" ? Ua.exports = AC() : Ua.exports = _C();
8997
- var TC = Ua.exports, v0 = TC, SC = {
9001
+ process.env.NODE_ENV === "production" ? Xa.exports = AC() : Xa.exports = _C();
9002
+ var TC = Xa.exports, v0 = TC, SC = {
8998
9003
  $$typeof: !0,
8999
9004
  render: !0,
9000
9005
  defaultProps: !0,
@@ -9111,7 +9116,7 @@ var NC = {
9111
9116
  return t.charCodeAt(1) === 45;
9112
9117
  }, fu = function(t) {
9113
9118
  return t != null && typeof t != "boolean";
9114
- }, Qs = /* @__PURE__ */ mC(function(e) {
9119
+ }, qs = /* @__PURE__ */ mC(function(e) {
9115
9120
  return I0(e) ? e : e.replace(PC, "-$&").toLowerCase();
9116
9121
  }), pu = function(t, n) {
9117
9122
  switch (t) {
@@ -9181,19 +9186,19 @@ function jC(e, t, n) {
9181
9186
  var s = n[i];
9182
9187
  if (typeof s != "object") {
9183
9188
  var c = s;
9184
- fu(c) && (r += Qs(i) + ":" + pu(i, c) + ";");
9189
+ fu(c) && (r += qs(i) + ":" + pu(i, c) + ";");
9185
9190
  } else {
9186
9191
  if (i === "NO_COMPONENT_SELECTOR" && kC)
9187
9192
  throw new Error(BC);
9188
9193
  if (Array.isArray(s) && typeof s[0] == "string" && t == null)
9189
9194
  for (var l = 0; l < s.length; l++)
9190
- fu(s[l]) && (r += Qs(i) + ":" + pu(i, s[l]) + ";");
9195
+ fu(s[l]) && (r += qs(i) + ":" + pu(i, s[l]) + ";");
9191
9196
  else {
9192
9197
  var a = Bo(e, t, s);
9193
9198
  switch (i) {
9194
9199
  case "animation":
9195
9200
  case "animationName": {
9196
- r += Qs(i) + ":" + a + ";";
9201
+ r += qs(i) + ":" + a + ";";
9197
9202
  break;
9198
9203
  }
9199
9204
  default:
@@ -9251,11 +9256,11 @@ var ZC = function(t) {
9251
9256
  var o = Je(E0);
9252
9257
  return t(n, o, r);
9253
9258
  });
9254
- }, UC = /* @__PURE__ */ F.createContext({}), Gc = {}.hasOwnProperty, Xa = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", XC = function(t, n) {
9259
+ }, UC = /* @__PURE__ */ F.createContext({}), Gc = {}.hasOwnProperty, za = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", XC = function(t, n) {
9255
9260
  var r = {};
9256
9261
  for (var o in n)
9257
9262
  Gc.call(n, o) && (r[o] = n[o]);
9258
- return r[Xa] = t, r;
9263
+ return r[za] = t, r;
9259
9264
  }, zC = function(t) {
9260
9265
  var n = t.cache, r = t.serialized, o = t.isStringTag;
9261
9266
  return C0(n, r, o), HC(function() {
@@ -9266,13 +9271,13 @@ var ZC = function(t) {
9266
9271
  function(e, t, n) {
9267
9272
  var r = e.css;
9268
9273
  typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
9269
- var o = e[Xa], i = [r], s = "";
9274
+ var o = e[za], i = [r], s = "";
9270
9275
  typeof e.className == "string" ? s = LC(t.registered, i, e.className) : e.className != null && (s = e.className + " ");
9271
9276
  var c = x0(i, void 0, F.useContext(UC));
9272
9277
  s += t.key + "-" + c.name;
9273
9278
  var l = {};
9274
9279
  for (var a in e)
9275
- Gc.call(e, a) && a !== "css" && a !== Xa && !WC && (l[a] = e[a]);
9280
+ Gc.call(e, a) && a !== "css" && a !== za && !WC && (l[a] = e[a]);
9276
9281
  return l.className = s, n && (l.ref = n), /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(zC, {
9277
9282
  cache: t,
9278
9283
  serialized: c,
@@ -9334,7 +9339,7 @@ function eI(e) {
9334
9339
  y: n
9335
9340
  };
9336
9341
  }
9337
- function Es() {
9342
+ function ws() {
9338
9343
  return typeof window < "u";
9339
9344
  }
9340
9345
  function w0(e) {
@@ -9349,16 +9354,16 @@ function A0(e) {
9349
9354
  return (t = (_0(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
9350
9355
  }
9351
9356
  function _0(e) {
9352
- return Es() ? e instanceof Node || e instanceof wn(e).Node : !1;
9357
+ return ws() ? e instanceof Node || e instanceof wn(e).Node : !1;
9353
9358
  }
9354
9359
  function tI(e) {
9355
- return Es() ? e instanceof Element || e instanceof wn(e).Element : !1;
9360
+ return ws() ? e instanceof Element || e instanceof wn(e).Element : !1;
9356
9361
  }
9357
9362
  function Wc(e) {
9358
- return Es() ? e instanceof HTMLElement || e instanceof wn(e).HTMLElement : !1;
9363
+ return ws() ? e instanceof HTMLElement || e instanceof wn(e).HTMLElement : !1;
9359
9364
  }
9360
9365
  function gu(e) {
9361
- return !Es() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof wn(e).ShadowRoot;
9366
+ return !ws() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof wn(e).ShadowRoot;
9362
9367
  }
9363
9368
  function T0(e) {
9364
9369
  const {
@@ -9399,12 +9404,12 @@ function Xi(e, t, n) {
9399
9404
  t === void 0 && (t = []), n === void 0 && (n = !0);
9400
9405
  const o = S0(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), s = wn(o);
9401
9406
  if (i) {
9402
- const c = za(s);
9407
+ const c = $a(s);
9403
9408
  return t.concat(s, s.visualViewport || [], T0(o) ? o : [], c && n ? Xi(c) : []);
9404
9409
  }
9405
9410
  return t.concat(o, Xi(o, [], n));
9406
9411
  }
9407
- function za(e) {
9412
+ function $a(e) {
9408
9413
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
9409
9414
  }
9410
9415
  function iI(e) {
@@ -9455,10 +9460,10 @@ function bu(e, t, n, r) {
9455
9460
  let l = (o.left + c.x) / s.x, a = (o.top + c.y) / s.y, u = o.width / s.x, h = o.height / s.y;
9456
9461
  if (i) {
9457
9462
  const b = wn(i), I = r;
9458
- let m = b, d = za(m);
9463
+ let m = b, d = $a(m);
9459
9464
  for (; d && r && I !== m; ) {
9460
9465
  const f = mu(d), p = d.getBoundingClientRect(), v = Zc(d), g = p.left + (d.clientLeft + parseFloat(v.paddingLeft)) * f.x, x = p.top + (d.clientTop + parseFloat(v.paddingTop)) * f.y;
9461
- l *= f.x, a *= f.y, u *= f.x, h *= f.y, l += g, a += x, m = wn(d), d = za(m);
9466
+ l *= f.x, a *= f.y, u *= f.x, h *= f.y, l += g, a += x, m = wn(d), d = $a(m);
9462
9467
  }
9463
9468
  }
9464
9469
  return eI({
@@ -9550,7 +9555,7 @@ function uI(e, t, n, r) {
9550
9555
  }), h == null || h(), (p = I) == null || p.disconnect(), I = null, l && cancelAnimationFrame(m);
9551
9556
  };
9552
9557
  }
9553
- var $a = qr, dI = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], zi = function() {
9558
+ var Ya = qr, dI = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], zi = function() {
9554
9559
  };
9555
9560
  function fI(e, t) {
9556
9561
  return t ? t[0] === "-" ? e + t : e + "__" + t : e;
@@ -9588,17 +9593,17 @@ function hI(e, t, n) {
9588
9593
  }
9589
9594
  return e;
9590
9595
  }
9591
- function ws(e) {
9596
+ function As(e) {
9592
9597
  return [document.documentElement, document.body, window].indexOf(e) > -1;
9593
9598
  }
9594
9599
  function gI(e) {
9595
- return ws(e) ? window.innerHeight : e.clientHeight;
9600
+ return As(e) ? window.innerHeight : e.clientHeight;
9596
9601
  }
9597
9602
  function R0(e) {
9598
- return ws(e) ? window.pageYOffset : e.scrollTop;
9603
+ return As(e) ? window.pageYOffset : e.scrollTop;
9599
9604
  }
9600
9605
  function Yi(e, t) {
9601
- if (ws(e)) {
9606
+ if (As(e)) {
9602
9607
  window.scrollTo(0, t);
9603
9608
  return;
9604
9609
  }
@@ -9771,7 +9776,7 @@ var F0 = function(t) {
9771
9776
  });
9772
9777
  }, D0 = /* @__PURE__ */ vd(null), RI = function(t) {
9773
9778
  var n = t.children, r = t.minMenuHeight, o = t.maxMenuHeight, i = t.menuPlacement, s = t.menuPosition, c = t.menuShouldScrollIntoView, l = t.theme, a = Je(D0) || {}, u = a.setPortalPlacement, h = ye(null), b = Y(o), I = it(b, 2), m = I[0], d = I[1], f = Y(null), p = it(f, 2), v = p[0], g = p[1], x = l.spacing.controlHeight;
9774
- return $a(function() {
9779
+ return Ya(function() {
9775
9780
  var C = h.current;
9776
9781
  if (C) {
9777
9782
  var E = s === "fixed", w = c && !E, A = TI({
@@ -9868,7 +9873,7 @@ var F0 = function(t) {
9868
9873
  });
9869
9874
  }
9870
9875
  }, [o, c, b, p == null ? void 0 : p.offset, p == null ? void 0 : p.rect.left, p == null ? void 0 : p.rect.width]);
9871
- $a(function() {
9876
+ Ya(function() {
9872
9877
  g();
9873
9878
  }, [g]);
9874
9879
  var x = Te(function() {
@@ -9876,7 +9881,7 @@ var F0 = function(t) {
9876
9881
  elementResize: "ResizeObserver" in window
9877
9882
  }));
9878
9883
  }, [o, g]);
9879
- $a(function() {
9884
+ Ya(function() {
9880
9885
  x();
9881
9886
  }, [x]);
9882
9887
  var C = Te(function(w) {
@@ -10036,7 +10041,7 @@ var JI = process.env.NODE_ENV === "production" ? {
10036
10041
  color: r ? s.neutral60 : s.neutral20,
10037
10042
  padding: c * 2
10038
10043
  });
10039
- }, qs = function(t) {
10044
+ }, Ks = function(t) {
10040
10045
  var n = t.delay, r = t.offset;
10041
10046
  return ae("span", {
10042
10047
  css: /* @__PURE__ */ Hc({
@@ -10059,13 +10064,13 @@ var JI = process.env.NODE_ENV === "production" ? {
10059
10064
  }), "loadingIndicator", {
10060
10065
  indicator: !0,
10061
10066
  "loading-indicator": !0
10062
- }), n), ae(qs, {
10067
+ }), n), ae(Ks, {
10063
10068
  delay: 0,
10064
10069
  offset: r
10065
- }), ae(qs, {
10070
+ }), ae(Ks, {
10066
10071
  delay: 160,
10067
10072
  offset: !0
10068
- }), ae(qs, {
10073
+ }), ae(Ks, {
10069
10074
  delay: 320,
10070
10075
  offset: !r
10071
10076
  }));
@@ -10521,7 +10526,7 @@ var W5 = process.env.NODE_ENV === "production" ? {
10521
10526
  });
10522
10527
  }
10523
10528
  return Z;
10524
- }, [E, r, o, m, d, f, p, A, c, x, R]), H = ae(fa, null, ae("span", {
10529
+ }, [E, r, o, m, d, f, p, A, c, x, R]), H = ae(pa, null, ae("span", {
10525
10530
  id: "aria-selection"
10526
10531
  }, T), ae("span", {
10527
10532
  id: "aria-focused"
@@ -10530,7 +10535,7 @@ var W5 = process.env.NODE_ENV === "production" ? {
10530
10535
  }, O), ae("span", {
10531
10536
  id: "aria-guidance"
10532
10537
  }, M));
10533
- return ae(fa, null, ae(xu, {
10538
+ return ae(pa, null, ae(xu, {
10534
10539
  id: a
10535
10540
  }, R && H), ae(xu, {
10536
10541
  "aria-live": w,
@@ -10538,7 +10543,7 @@ var W5 = process.env.NODE_ENV === "production" ? {
10538
10543
  "aria-relevant": "additions text",
10539
10544
  role: "log"
10540
10545
  }, s && !R && H));
10541
- }, z5 = X5, Ya = [{
10546
+ }, z5 = X5, Ja = [{
10542
10547
  base: "A",
10543
10548
  letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
10544
10549
  }, {
@@ -10790,12 +10795,12 @@ var W5 = process.env.NODE_ENV === "production" ? {
10790
10795
  }, {
10791
10796
  base: "z",
10792
10797
  letters: "zⓩzźẑżžẓẕƶȥɀⱬꝣ"
10793
- }], $5 = new RegExp("[" + Ya.map(function(e) {
10798
+ }], $5 = new RegExp("[" + Ja.map(function(e) {
10794
10799
  return e.letters;
10795
10800
  }).join("") + "]", "g"), V0 = {};
10796
- for (var Ks = 0; Ks < Ya.length; Ks++)
10797
- for (var ea = Ya[Ks], ta = 0; ta < ea.letters.length; ta++)
10798
- V0[ea.letters[ta]] = ea.base;
10801
+ for (var ea = 0; ea < Ja.length; ea++)
10802
+ for (var ta = Ja[ea], na = 0; na < ta.letters.length; na++)
10803
+ V0[ta.letters[na]] = ta.base;
10799
10804
  var G0 = function(t) {
10800
10805
  return t.replace($5, function(n) {
10801
10806
  return V0[n];
@@ -10969,7 +10974,7 @@ function sx(e) {
10969
10974
  }), h = function(I) {
10970
10975
  a(I), u(I);
10971
10976
  };
10972
- return ae(fa, null, n && ae("div", {
10977
+ return ae(pa, null, n && ae("div", {
10973
10978
  onClick: ox,
10974
10979
  css: ix
10975
10980
  }), t(h));
@@ -11072,7 +11077,7 @@ var gx = function(t) {
11072
11077
  baseUnit: U0,
11073
11078
  controlHeight: Cx,
11074
11079
  menuGutter: Ix
11075
- }, na = {
11080
+ }, ra = {
11076
11081
  borderRadius: yx,
11077
11082
  colors: vx,
11078
11083
  spacing: xx
@@ -11201,7 +11206,7 @@ function _x(e, t) {
11201
11206
  var n = e.focusedOption;
11202
11207
  return n && t.indexOf(n) > -1 ? n : t[0];
11203
11208
  }
11204
- var ra = function(t, n) {
11209
+ var oa = function(t, n) {
11205
11210
  var r, o = (r = t.find(function(i) {
11206
11211
  return i.data === n;
11207
11212
  })) === null || r === void 0 ? void 0 : r.id;
@@ -11229,7 +11234,7 @@ function J0(e, t, n) {
11229
11234
  var Q0 = function(t) {
11230
11235
  var n = t.hideSelectedOptions, r = t.isMulti;
11231
11236
  return n === void 0 ? r : n;
11232
- }, Tx = 1, As = /* @__PURE__ */ function(e) {
11237
+ }, Tx = 1, _s = /* @__PURE__ */ function(e) {
11233
11238
  G3(n, e);
11234
11239
  var t = Z3(n);
11235
11240
  function n(r) {
@@ -11311,7 +11316,7 @@ var Q0 = function(t) {
11311
11316
  removedValue: u
11312
11317
  });
11313
11318
  }, o.getFocusedOptionId = function(l) {
11314
- return ra(o.state.focusableOptionsWithIds, l);
11319
+ return oa(o.state.focusableOptionsWithIds, l);
11315
11320
  }, o.getFocusableOptionsWithIds = function() {
11316
11321
  return Fu(Ii(o.props, o.state.selectValue), o.getElementId("option"));
11317
11322
  }, o.getValue = function() {
@@ -11371,7 +11376,7 @@ var Q0 = function(t) {
11371
11376
  return o.focusInput();
11372
11377
  }));
11373
11378
  }, o.onScroll = function(l) {
11374
- typeof o.props.closeMenuOnScroll == "boolean" ? l.target instanceof HTMLElement && ws(l.target) && o.props.onMenuClose() : typeof o.props.closeMenuOnScroll == "function" && o.props.closeMenuOnScroll(l) && o.props.onMenuClose();
11379
+ typeof o.props.closeMenuOnScroll == "boolean" ? l.target instanceof HTMLElement && As(l.target) && o.props.onMenuClose() : typeof o.props.closeMenuOnScroll == "function" && o.props.closeMenuOnScroll(l) && o.props.onMenuClose();
11375
11380
  }, o.onCompositionStart = function() {
11376
11381
  o.isComposing = !0;
11377
11382
  }, o.onCompositionEnd = function() {
@@ -11516,7 +11521,7 @@ var Q0 = function(t) {
11516
11521
  }
11517
11522
  }, o.state.instancePrefix = "react-select-" + (o.props.instanceId || ++Tx), o.state.selectValue = $i(r.value), r.menuIsOpen && o.state.selectValue.length) {
11518
11523
  var i = o.getFocusableOptionsWithIds(), s = o.buildFocusableOptions(), c = s.indexOf(o.state.selectValue[0]);
11519
- o.state.focusableOptionsWithIds = i, o.state.focusedOption = s[c], o.state.focusedOptionId = ra(i, s[c]);
11524
+ o.state.focusableOptionsWithIds = i, o.state.focusedOption = s[c], o.state.focusedOptionId = oa(i, s[c]);
11520
11525
  }
11521
11526
  return o;
11522
11527
  }
@@ -11641,7 +11646,7 @@ var Q0 = function(t) {
11641
11646
  // Getters
11642
11647
  // ==============================
11643
11648
  function() {
11644
- return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(na) : oe(oe({}, na), this.props.theme) : na;
11649
+ return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(ra) : oe(oe({}, ra), this.props.theme) : ra;
11645
11650
  }
11646
11651
  )
11647
11652
  }, {
@@ -12110,7 +12115,7 @@ var Q0 = function(t) {
12110
12115
  value: function(o, i) {
12111
12116
  var s = i.prevProps, c = i.clearFocusValueOnUpdate, l = i.inputIsHiddenAfterUpdate, a = i.ariaSelection, u = i.isFocused, h = i.prevWasFocused, b = i.instancePrefix, I = o.options, m = o.value, d = o.menuIsOpen, f = o.inputValue, p = o.isMulti, v = $i(m), g = {};
12112
12117
  if (s && (m !== s.value || I !== s.options || d !== s.menuIsOpen || f !== s.inputValue)) {
12113
- var x = d ? wx(o, v) : [], C = d ? Fu(Ii(o, v), "".concat(b, "-option")) : [], E = c ? Ax(i, v) : null, w = _x(i, x), A = ra(C, w);
12118
+ var x = d ? wx(o, v) : [], C = d ? Fu(Ii(o, v), "".concat(b, "-option")) : [], E = c ? Ax(i, v) : null, w = _x(i, x), A = oa(C, w);
12114
12119
  g = {
12115
12120
  selectValue: v,
12116
12121
  focusedOption: w,
@@ -12136,10 +12141,10 @@ var Q0 = function(t) {
12136
12141
  }
12137
12142
  }]), n;
12138
12143
  }(mh);
12139
- As.defaultProps = Ex;
12144
+ _s.defaultProps = Ex;
12140
12145
  var Sx = /* @__PURE__ */ es(function(e, t) {
12141
12146
  var n = Mc(e);
12142
- return /* @__PURE__ */ F.createElement(As, ce({
12147
+ return /* @__PURE__ */ F.createElement(_s, ce({
12143
12148
  ref: t
12144
12149
  }, n));
12145
12150
  }), Ox = Sx;
@@ -12345,13 +12350,13 @@ function op(e) {
12345
12350
  }
12346
12351
  var Bx = /* @__PURE__ */ es(function(e, t) {
12347
12352
  var n = op(e), r = Mc(n);
12348
- return /* @__PURE__ */ F.createElement(As, ce({
12353
+ return /* @__PURE__ */ F.createElement(_s, ce({
12349
12354
  ref: t
12350
12355
  }, r));
12351
12356
  }), jx = Bx, Vx = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], ku = function() {
12352
12357
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, o = String(t).toLowerCase(), i = String(r.getOptionValue(n)).toLowerCase(), s = String(r.getOptionLabel(n)).toLowerCase();
12353
12358
  return i === o || s === o;
12354
- }, oa = {
12359
+ }, ia = {
12355
12360
  formatCreateLabel: function(t) {
12356
12361
  return 'Create "'.concat(t, '"');
12357
12362
  },
@@ -12371,7 +12376,7 @@ var Bx = /* @__PURE__ */ es(function(e, t) {
12371
12376
  }
12372
12377
  };
12373
12378
  function Gx(e) {
12374
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? oa.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? oa.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? oa.getNewOptionData : a, h = e.onCreateOption, b = e.options, I = b === void 0 ? [] : b, m = e.onChange, d = tn(e, Vx), f = d.getOptionValue, p = f === void 0 ? Z0 : f, v = d.getOptionLabel, g = v === void 0 ? W0 : v, x = d.inputValue, C = d.isLoading, E = d.isMulti, w = d.value, A = d.name, T = Be(function() {
12379
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, o = r === void 0 ? "last" : r, i = e.formatCreateLabel, s = i === void 0 ? ia.formatCreateLabel : i, c = e.isValidNewOption, l = c === void 0 ? ia.isValidNewOption : c, a = e.getNewOptionData, u = a === void 0 ? ia.getNewOptionData : a, h = e.onCreateOption, b = e.options, I = b === void 0 ? [] : b, m = e.onChange, d = tn(e, Vx), f = d.getOptionValue, p = f === void 0 ? Z0 : f, v = d.getOptionLabel, g = v === void 0 ? W0 : v, x = d.inputValue, C = d.isLoading, E = d.isMulti, w = d.value, A = d.name, T = Be(function() {
12375
12380
  return l(x, $i(w), I, {
12376
12381
  getOptionValue: p,
12377
12382
  getOptionLabel: g
@@ -12403,7 +12408,7 @@ function Gx(e) {
12403
12408
  }
12404
12409
  var Hx = /* @__PURE__ */ es(function(e, t) {
12405
12410
  var n = op(e), r = Mc(n), o = Gx(r);
12406
- return /* @__PURE__ */ F.createElement(As, ce({
12411
+ return /* @__PURE__ */ F.createElement(_s, ce({
12407
12412
  ref: t
12408
12413
  }, o));
12409
12414
  }), Wx = Hx;
@@ -12507,7 +12512,7 @@ function $x({ stackIndex: e, isScrollTarget: t, ...n }) {
12507
12512
  }
12508
12513
  );
12509
12514
  }
12510
- const so = "table-cell-form-field", _s = "60px", Ts = "24px", Yx = N(be)`
12515
+ const so = "table-cell-form-field", Ts = "60px", Ss = "24px", Yx = N(be)`
12511
12516
  width: 100%;
12512
12517
  `, Jx = N(be)`
12513
12518
  width: 100%;
@@ -12536,9 +12541,9 @@ const so = "table-cell-form-field", _s = "60px", Ts = "24px", Yx = N(be)`
12536
12541
  border-bottom: 0;
12537
12542
  }
12538
12543
  `, Kx = N(sp)`
12539
- --cell-padding: 10px ${Ts};
12544
+ --cell-padding: 10px ${Ss};
12540
12545
  border-bottom: 1px solid var(--border-color);
12541
- `, ia = N(be)`
12546
+ `, sa = N(be)`
12542
12547
  border: var(--border-size) solid transparent;
12543
12548
  border-right: var(--border-size) solid var(--border-color);
12544
12549
  padding: var(--cell-padding, 0);
@@ -12601,9 +12606,9 @@ const so = "table-cell-form-field", _s = "60px", Ts = "24px", Yx = N(be)`
12601
12606
  font-weight: bold;
12602
12607
  `, rE = N(Ah)`
12603
12608
  &.${so} .MuiInputBase-root {
12604
- height: ${_s};
12609
+ height: ${Ts};
12605
12610
  border: 0;
12606
- padding-left: ${Ts};
12611
+ padding-left: ${Ss};
12607
12612
  }
12608
12613
  `;
12609
12614
  function oE(e) {
@@ -12654,7 +12659,7 @@ function oE(e) {
12654
12659
  }
12655
12660
  const iE = N(Sh)`
12656
12661
  &.${so} {
12657
- --v-margin: calc((${_s} - 36px) / 2);
12662
+ --v-margin: calc((${Ts} - 36px) / 2);
12658
12663
  --h-margin: calc((100% - 36px) / 2);
12659
12664
  margin: var(--v-margin) var(--h-margin);
12660
12665
  }
@@ -12692,7 +12697,7 @@ const iE = N(Sh)`
12692
12697
  fixedRows: !1,
12693
12698
  cellWidth: lp,
12694
12699
  arithmeticOperation: []
12695
- }, Ss = ({
12700
+ }, Os = ({
12696
12701
  name: e,
12697
12702
  value: t,
12698
12703
  data: n = {},
@@ -12827,11 +12832,11 @@ const iE = N(Sh)`
12827
12832
  }, de = (P) => p.current === P;
12828
12833
  return /* @__PURE__ */ y.jsxs(Yx, { children: [
12829
12834
  /* @__PURE__ */ y.jsx(Jx, { ref: p, children: /* @__PURE__ */ y.jsxs(Qx, { gridColumns: E, minWidth: `calc( ${C} * ${w} )`, children: [
12830
- /* @__PURE__ */ y.jsx(Kx, { children: r.map(({ name: P, label: G, isRequired: B }) => /* @__PURE__ */ y.jsx(ia, { children: /* @__PURE__ */ y.jsx(cp, { label: G, isRequired: B }) }, P)) }),
12835
+ /* @__PURE__ */ y.jsx(Kx, { children: r.map(({ name: P, label: G, isRequired: B }) => /* @__PURE__ */ y.jsx(sa, { children: /* @__PURE__ */ y.jsx(cp, { label: G, isRequired: B }) }, P)) }),
12831
12836
  d.map(({ [Kn]: P, ...G }) => /* @__PURE__ */ y.jsxs(sp, { children: [
12832
12837
  r.map(({ name: B, key: j, ...K }) => {
12833
12838
  var re;
12834
- return /* @__PURE__ */ y.jsx(ia, { hasError: !!((re = g == null ? void 0 : g[P]) != null && re[B]), children: /* @__PURE__ */ y.jsx(
12839
+ return /* @__PURE__ */ y.jsx(sa, { hasError: !!((re = g == null ? void 0 : g[P]) != null && re[B]), children: /* @__PURE__ */ y.jsx(
12835
12840
  Vo,
12836
12841
  {
12837
12842
  name: B,
@@ -12857,7 +12862,7 @@ const iE = N(Sh)`
12857
12862
  }
12858
12863
  ) }, B ?? j);
12859
12864
  }),
12860
- s ? null : /* @__PURE__ */ y.jsx(ia, { children: /* @__PURE__ */ y.jsx(z, { width: "100%", height: "100%", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ y.jsx(ap, { onClick: () => R(P), children: /* @__PURE__ */ y.jsx(aE, {}) }) }) })
12865
+ s ? null : /* @__PURE__ */ y.jsx(sa, { children: /* @__PURE__ */ y.jsx(z, { width: "100%", height: "100%", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ y.jsx(ap, { onClick: () => R(P), children: /* @__PURE__ */ y.jsx(aE, {}) }) }) })
12861
12866
  ] }, P))
12862
12867
  ] }) }),
12863
12868
  /* @__PURE__ */ y.jsxs(qx, { children: [
@@ -12884,7 +12889,7 @@ const iE = N(Sh)`
12884
12889
  ] })
12885
12890
  ] });
12886
12891
  };
12887
- Ss.ROW_ID = Kn;
12892
+ Os.ROW_ID = Kn;
12888
12893
  const cE = N(be)`
12889
12894
  box-sizing: border-box;
12890
12895
  &:not(:has(.${so})) {
@@ -12893,11 +12898,11 @@ const cE = N(be)`
12893
12898
  }
12894
12899
  `, lE = N(Oh)`
12895
12900
  &.${so} {
12896
- height: ${_s};
12901
+ height: ${Ts};
12897
12902
  position: relative;
12898
12903
  & > div {
12899
12904
  height: 100%;
12900
- padding-left: ${Ts};
12905
+ padding-left: ${Ss};
12901
12906
  }
12902
12907
 
12903
12908
  fieldset.MuiOutlinedInput-notchedOutline {
@@ -13031,12 +13036,12 @@ const cE = N(be)`
13031
13036
  }
13032
13037
 
13033
13038
  & .${so} {
13034
- height: ${_s};
13039
+ height: ${Ts};
13035
13040
  .hiverFormField__control {
13036
13041
  height: 100%;
13037
13042
  border: 0;
13038
13043
  .hiverFormField__value-container {
13039
- padding-left: ${Ts};
13044
+ padding-left: ${Ss};
13040
13045
  }
13041
13046
  }
13042
13047
  .hiverFormField__indicators {
@@ -13188,7 +13193,7 @@ const cE = N(be)`
13188
13193
  $((te) => !te);
13189
13194
  }, ie = (k) => {
13190
13195
  if (w)
13191
- return /* @__PURE__ */ y.jsx(pc, { variant: "rounded", height: 29.69, animation: "wave" });
13196
+ return /* @__PURE__ */ y.jsx(hc, { variant: "rounded", height: 29.69, animation: "wave" });
13192
13197
  switch (k.type) {
13193
13198
  case "select":
13194
13199
  return /* @__PURE__ */ y.jsx(Pu, { children: /* @__PURE__ */ y.jsx(
@@ -13236,7 +13241,7 @@ const cE = N(be)`
13236
13241
  );
13237
13242
  case "table":
13238
13243
  return /* @__PURE__ */ y.jsx(
13239
- Ss,
13244
+ Os,
13240
13245
  {
13241
13246
  ...k,
13242
13247
  value: k.value,
@@ -13403,7 +13408,7 @@ const cE = N(be)`
13403
13408
  /* @__PURE__ */ y.jsx("img", { className: "preview-img", onError: () => r(!0), ...t }),
13404
13409
  /* @__PURE__ */ y.jsx(IE, { className: "play-icon" })
13405
13410
  ] });
13406
- }, Ja = (e, t, n) => {
13411
+ }, Qa = (e, t, n) => {
13407
13412
  let r = `${t}_${n}`;
13408
13413
  return Object.keys(e).forEach((o) => {
13409
13414
  r = `${r}_${o}:${e[o]}`;
@@ -13449,14 +13454,14 @@ const cE = N(be)`
13449
13454
  }), t;
13450
13455
  }, li = {
13451
13456
  isMultiSelect: (e) => Array.isArray(e) ? e.every((t) => typeof t == "object" && "label" in t && "value" in t) : !1,
13452
- isTable: (e) => Array.isArray(e) ? e.some((n) => !!n[Ss.ROW_ID]) : !1,
13457
+ isTable: (e) => Array.isArray(e) ? e.some((n) => !!n[Os.ROW_ID]) : !1,
13453
13458
  isSelect: (e) => !!e && typeof e == "object" && "label" in e,
13454
13459
  isDate: (e) => !!e && typeof e == "object" && "toISOString" in e
13455
13460
  }, xi = (e, t) => Object.keys(t).reduce(
13456
13461
  (n, r) => {
13457
13462
  const o = e.values[t[r]];
13458
13463
  let i;
13459
- return li.isMultiSelect(o) ? i = o.map((s) => s.value) : li.isTable(o) ? i = o.map(({ ...c }) => (delete c[Ss.ROW_ID], c)).filter((c) => Object.keys(c).length > 0) : li.isSelect(o) ? i = o.value : li.isDate(o) ? i = o.toISOString() : i = o || "", n[r] = i, n;
13464
+ return li.isMultiSelect(o) ? i = o.map((s) => s.value) : li.isTable(o) ? i = o.map(({ ...c }) => (delete c[Os.ROW_ID], c)).filter((c) => Object.keys(c).length > 0) : li.isSelect(o) ? i = o.value : li.isDate(o) ? i = o.toISOString() : i = o || "", n[r] = i, n;
13460
13465
  },
13461
13466
  {}
13462
13467
  ), wE = (e, t) => {
@@ -13579,7 +13584,7 @@ const cE = N(be)`
13579
13584
  args: l = {},
13580
13585
  createArgs: a = {},
13581
13586
  callback: u
13582
- } = e, h = Ja(l || {}, i, r), { common: b } = t(), { options: I = [], ...m } = ((d = b.optionsMap) == null ? void 0 : d[h]) || {};
13587
+ } = e, h = Qa(l || {}, i, r), { common: b } = t(), { options: I = [], ...m } = ((d = b.optionsMap) == null ? void 0 : d[h]) || {};
13583
13588
  try {
13584
13589
  const v = await LE(
13585
13590
  { fieldName: r, formId: s },
@@ -13595,7 +13600,7 @@ const cE = N(be)`
13595
13600
  };
13596
13601
  } catch (v) {
13597
13602
  u == null || u(I);
13598
- const g = v, x = (f = g == null ? void 0 : g.response) == null ? void 0 : f.data, C = typeof x == "string" ? x : (x == null ? void 0 : x.message) || ys;
13603
+ const g = v, x = (f = g == null ? void 0 : g.response) == null ? void 0 : f.data, C = typeof x == "string" ? x : (x == null ? void 0 : x.message) || Cs;
13599
13604
  return Xe({ message: C, type: Tt }), n((p = g == null ? void 0 : g.response) == null ? void 0 : p.status);
13600
13605
  }
13601
13606
  }
@@ -13613,7 +13618,7 @@ const cE = N(be)`
13613
13618
  interfaceId: a = "",
13614
13619
  pagination: u = { enabled: !1 },
13615
13620
  controller: h
13616
- } = e, b = Ja(l || {}, o, r), { common: I } = t();
13621
+ } = e, b = Qa(l || {}, o, r), { common: I } = t();
13617
13622
  let m = !1;
13618
13623
  s.meta && "showAvatar" in s.meta && typeof s.meta.showAvatar == "boolean" && (m = s.meta.showAvatar);
13619
13624
  const d = ((w = I.optionsMap) == null ? void 0 : w[b]) || {}, f = i === d.searchTerm ? d : {}, { options: p = [], hasMore: v = !0, currentPage: g = 0 } = f, { enabled: x, limit: C } = u, E = C || 10;
@@ -13654,7 +13659,7 @@ const cE = N(be)`
13654
13659
  var h;
13655
13660
  if (e.isScrollToBottomEvent)
13656
13661
  return !0;
13657
- const { fieldName: n, formId: r, searchTerm: o, callback: i, args: s } = e, c = Ja(s || {}, r, n), { common: l } = t(), a = (h = l.optionsMap) == null ? void 0 : h[c];
13662
+ const { fieldName: n, formId: r, searchTerm: o, callback: i, args: s } = e, c = Qa(s || {}, r, n), { common: l } = t(), a = (h = l.optionsMap) == null ? void 0 : h[c];
13658
13663
  if ((a == null ? void 0 : a.searchTerm) !== o)
13659
13664
  return !0;
13660
13665
  const u = (a == null ? void 0 : a.options) || [];
@@ -13992,7 +13997,7 @@ Do you want to continue?`, n4 = "Select an object to create", r4 = "Select an ob
13992
13997
  } : u.values[h] = b.label);
13993
13998
  }), { data: u, status: a };
13994
13999
  } catch (c) {
13995
- return Xe({ message: ys, type: Tt }), t(c);
14000
+ return Xe({ message: Cs, type: Tt }), t(c);
13996
14001
  }
13997
14002
  }
13998
14003
  ), { resetState: PA, setCurrentCardInEdit: Fr, resetCurrentResourceDetails: c4, setHasUnsavedChanges: Hu } = gp.actions, l4 = gp.reducer, u4 = () => {
@@ -14124,7 +14129,7 @@ Do you want to continue?`, n4 = "Select an object to create", r4 = "Select an ob
14124
14129
  L(le);
14125
14130
  }
14126
14131
  }, [t, r]);
14127
- const M = o == La.NOT_FOUND;
14132
+ const M = o == Fa.NOT_FOUND;
14128
14133
  let H = M ? bi : t;
14129
14134
  s === "date" && H && !M && (H = new Date(parseInt(H)).toLocaleDateString(navigator.language));
14130
14135
  const Z = !!n || l, $ = () => {
@@ -14487,7 +14492,7 @@ Do you want to continue?`, n4 = "Select an object to create", r4 = "Select an ob
14487
14492
  sm_ids: h
14488
14493
  });
14489
14494
  let te;
14490
- R === "flat" ? te = (O == null ? void 0 : O.flatDisplay.externalResourceId) ?? t.externalResourceId : R === "flat_with_list" && (te = (W = (Ee = O == null ? void 0 : O.listItems) == null ? void 0 : Ee.fields[0]) == null ? void 0 : W.externalResourceId), te ? c(Fr({ ...t, externalResourceId: te })) : Xe({ message: ys, type: Tt });
14495
+ R === "flat" ? te = (O == null ? void 0 : O.flatDisplay.externalResourceId) ?? t.externalResourceId : R === "flat_with_list" && (te = (W = (Ee = O == null ? void 0 : O.listItems) == null ? void 0 : Ee.fields[0]) == null ? void 0 : W.externalResourceId), te ? c(Fr({ ...t, externalResourceId: te })) : Xe({ message: Cs, type: Tt });
14491
14496
  }, j = (k) => {
14492
14497
  k.stopPropagation(), v(!0);
14493
14498
  }, K = () => {
@@ -14578,7 +14583,7 @@ Do you want to continue?`, n4 = "Select an object to create", r4 = "Select an ob
14578
14583
  }
14579
14584
  ) }, b);
14580
14585
  }) });
14581
- }, Qa = ({ children: e }) => {
14586
+ }, qa = ({ children: e }) => {
14582
14587
  if (!Array.isArray(e)) return e;
14583
14588
  let t = null;
14584
14589
  return e.find((r) => typeof (r == null ? void 0 : r.type) != "function" ? !1 : (r.props.fallback && (t = r), r.props.condition)) ?? t;
@@ -14590,7 +14595,7 @@ function _r({
14590
14595
  }) {
14591
14596
  return !t && !n ? null : e;
14592
14597
  }
14593
- Qa.CaseView = _r;
14598
+ qa.CaseView = _r;
14594
14599
  const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "Integrate tools like Salesforce, HubSpot, and Shopify to boost productivity", J4 = "Enable Connectors", Q4 = "Enable Apps", q4 = "Learn more", K4 = "https://help.hiverhq.com/custom-connectors/hiver-s-custom-connectors", ew = "Contact your admin to enable this", tw = "https://youtu.be/ODcJnzZLb50", nw = "connectors-module/assets/connectors-images/connector-mainpage.png", rw = "connectors-module/assets/connectors-images/connector-mainpage-apps.png", ow = "Explore connectors", iw = "Connectors", sw = N(be)`
14595
14600
  padding-top: 20px;
14596
14601
  `, aw = N(z)`
@@ -14644,7 +14649,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14644
14649
  `, pw = N(pe)`
14645
14650
  color: ${J.palette.gray.gray3};
14646
14651
  `, hw = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", gw = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: mw } = gw, $u = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
14647
- const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o } = Je(et), i = ft(r, Bm), s = ft(r, hs), c = (h) => {
14652
+ const { sendTrackingEvent: n, availableFeatures: r, connectorFunctions: o } = Je(et), i = ft(r, Bm), s = ft(r, gs), c = (h) => {
14648
14653
  h.stopPropagation(), n(Jg), o == null || o.redirectToAdmin();
14649
14654
  }, l = (h) => {
14650
14655
  h.stopPropagation(), n(Qg), window.open(K4, "_blank");
@@ -14686,7 +14691,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14686
14691
  ] })
14687
14692
  ] });
14688
14693
  }, bw = () => {
14689
- const { availableFeatures: e } = Je(et), t = ft(e, hs);
14694
+ const { availableFeatures: e } = Je(et), t = ft(e, gs);
14690
14695
  return /* @__PURE__ */ y.jsxs(Rf, { children: [
14691
14696
  /* @__PURE__ */ y.jsxs(
14692
14697
  z,
@@ -14716,7 +14721,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14716
14721
  [I]
14717
14722
  ), f = Be(() => (h == null ? void 0 : h.filter(({ isAdminPanelLink: x }) => !(!n && x))) ?? [], [h, n]);
14718
14723
  if (me(() => {
14719
- !d && a && Ws(I, !0);
14724
+ !d && a && Zs(I, !0);
14720
14725
  }, [d, I, a]), qr(() => {
14721
14726
  var x;
14722
14727
  (x = s.current) != null && x.scrollHeight && l(s.current.scrollHeight);
@@ -14725,7 +14730,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14725
14730
  }, []), !a || m) return null;
14726
14731
  const p = (x) => {
14727
14732
  var C;
14728
- x.stopPropagation(), i((E) => !E), (C = s.current) != null && C.scrollHeight && l(s.current.scrollHeight), Ws(I, !1, !0);
14733
+ x.stopPropagation(), i((E) => !E), (C = s.current) != null && C.scrollHeight && l(s.current.scrollHeight), Zs(I, !1, !0);
14729
14734
  }, v = (x, C = "", E = !1, w = !1) => {
14730
14735
  var A;
14731
14736
  if (x.stopPropagation(), E && w ? t(rm, { update_version_id: I }) : w && t(om, { update_version_id: I }), !E && C) {
@@ -14734,7 +14739,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14734
14739
  }
14735
14740
  g(x, !1), r == null || r.redirectToAdmin();
14736
14741
  }, g = (x, C = !0) => {
14737
- x.stopPropagation(), Ws(I, !1), i(!1), C && t(im, { update_version_id: I });
14742
+ x.stopPropagation(), Zs(I, !1), i(!1), C && t(im, { update_version_id: I });
14738
14743
  };
14739
14744
  return /* @__PURE__ */ y.jsxs(av, { children: [
14740
14745
  /* @__PURE__ */ y.jsxs(cv, { children: [
@@ -14885,7 +14890,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
14885
14890
  `, Sw = N(be)`
14886
14891
  margin-top: 12px;
14887
14892
  height: 100%;
14888
- `, Ow = "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", sa = ({
14893
+ `, Ow = "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", aa = ({
14889
14894
  children: e,
14890
14895
  isOpen: t,
14891
14896
  setIsOpen: n,
@@ -15740,7 +15745,7 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
15740
15745
  NoOptionsMessage: c,
15741
15746
  menuOpen: l
15742
15747
  }) => {
15743
- const { availableFeatures: a, sendTrackingEvent: u, currentSmIds: h } = Je(et), b = ft(a, hs), I = (f, { action: p }) => {
15748
+ const { availableFeatures: a, sendTrackingEvent: u, currentSmIds: h } = Je(et), b = ft(a, gs), I = (f, { action: p }) => {
15744
15749
  p === "input-change" && (i(f), f || s());
15745
15750
  }, m = (f) => {
15746
15751
  o(f), f || (i(""), s());
@@ -15852,14 +15857,14 @@ const z4 = "Bring your favourite tools into Hiver", $4 = "Plugin image", Y4 = "I
15852
15857
  validations: u
15853
15858
  }
15854
15859
  ) });
15855
- }, aa = "@connector-agent-global-search-priority", ca = l3(), d9 = ({ objectList: e }) => ({
15860
+ }, ca = "@connector-agent-global-search-priority", la = l3(), d9 = ({ objectList: e }) => ({
15856
15861
  sortedObjectList: Be(() => {
15857
- const r = ca.getItem(aa);
15862
+ const r = la.getItem(ca);
15858
15863
  return r ? [...e].sort((o, i) => (r[o.value] ?? 0) > (r[i.value] ?? 0) ? -1 : 1) : e;
15859
15864
  }, [e]),
15860
15865
  updatePriority: (r) => {
15861
- const o = ca.getItem(aa) ?? {};
15862
- o[r] || (o[r] = 0), o[r]++, ca.setItem(aa, o);
15866
+ const o = la.getItem(ca) ?? {};
15867
+ o[r] || (o[r] = 0), o[r]++, la.setItem(ca, o);
15863
15868
  }
15864
15869
  }), f9 = N(z)`
15865
15870
  padding: 8px 0;
@@ -15908,7 +15913,7 @@ function Ht() {
15908
15913
  function m9(e, t) {
15909
15914
  return typeof e == "function" ? e(t) : e;
15910
15915
  }
15911
- function qa(e) {
15916
+ function Ka(e) {
15912
15917
  return typeof e == "number" && e >= 0 && e !== 1 / 0;
15913
15918
  }
15914
15919
  function Gp(e, t) {
@@ -15962,22 +15967,22 @@ function Jc(e, t) {
15962
15967
  function vr(e) {
15963
15968
  return JSON.stringify(
15964
15969
  e,
15965
- (t, n) => ec(n) ? Object.keys(n).sort().reduce((r, o) => (r[o] = n[o], r), {}) : n
15970
+ (t, n) => tc(n) ? Object.keys(n).sort().reduce((r, o) => (r[o] = n[o], r), {}) : n
15966
15971
  );
15967
15972
  }
15968
15973
  function Go(e, t) {
15969
15974
  return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((n) => !Go(e[n], t[n])) : !1;
15970
15975
  }
15971
- function Ka(e, t) {
15976
+ function ec(e, t) {
15972
15977
  if (e === t)
15973
15978
  return e;
15974
15979
  const n = ed(e) && ed(t);
15975
- if (n || ec(e) && ec(t)) {
15980
+ if (n || tc(e) && tc(t)) {
15976
15981
  const r = n ? e : Object.keys(e), o = r.length, i = n ? t : Object.keys(t), s = i.length, c = n ? [] : {};
15977
15982
  let l = 0;
15978
15983
  for (let a = 0; a < s; a++) {
15979
15984
  const u = n ? a : i[a];
15980
- (!n && r.includes(u) || n) && e[u] === void 0 && t[u] === void 0 ? (c[u] = void 0, l++) : (c[u] = Ka(e[u], t[u]), c[u] === e[u] && e[u] !== void 0 && l++);
15985
+ (!n && r.includes(u) || n) && e[u] === void 0 && t[u] === void 0 ? (c[u] = void 0, l++) : (c[u] = ec(e[u], t[u]), c[u] === e[u] && e[u] !== void 0 && l++);
15981
15986
  }
15982
15987
  return o === s && l === o ? e : c;
15983
15988
  }
@@ -15994,7 +15999,7 @@ function Qi(e, t) {
15994
15999
  function ed(e) {
15995
16000
  return Array.isArray(e) && e.length === Object.keys(e).length;
15996
16001
  }
15997
- function ec(e) {
16002
+ function tc(e) {
15998
16003
  if (!td(e))
15999
16004
  return !1;
16000
16005
  const t = e.constructor;
@@ -16011,19 +16016,19 @@ function b9(e) {
16011
16016
  setTimeout(t, e);
16012
16017
  });
16013
16018
  }
16014
- function tc(e, t, n) {
16019
+ function nc(e, t, n) {
16015
16020
  if (typeof n.structuralSharing == "function")
16016
16021
  return n.structuralSharing(e, t);
16017
16022
  if (n.structuralSharing !== !1) {
16018
16023
  if (process.env.NODE_ENV !== "production")
16019
16024
  try {
16020
- return Ka(e, t);
16025
+ return ec(e, t);
16021
16026
  } catch (r) {
16022
16027
  console.error(
16023
16028
  `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`
16024
16029
  );
16025
16030
  }
16026
- return Ka(e, t);
16031
+ return ec(e, t);
16027
16032
  }
16028
16033
  return t;
16029
16034
  }
@@ -16117,7 +16122,7 @@ var tr, On, Nr, cd, C9 = (cd = class extends ao {
16117
16122
  return S(this, kr);
16118
16123
  }
16119
16124
  }, kr = new WeakMap(), Rn = new WeakMap(), Pr = new WeakMap(), ld), Ki = new I9();
16120
- function nc() {
16125
+ function rc() {
16121
16126
  let e, t;
16122
16127
  const n = new Promise((o, i) => {
16123
16128
  e = o, t = i;
@@ -16150,12 +16155,12 @@ var Zp = class extends Error {
16150
16155
  super("CancelledError"), this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
16151
16156
  }
16152
16157
  };
16153
- function la(e) {
16158
+ function ua(e) {
16154
16159
  return e instanceof Zp;
16155
16160
  }
16156
16161
  function Up(e) {
16157
16162
  let t = !1, n = 0, r = !1, o;
16158
- const i = nc(), s = (d) => {
16163
+ const i = rc(), s = (d) => {
16159
16164
  var f;
16160
16165
  r || (b(new Zp(d)), (f = e.abort) == null || f.call(e));
16161
16166
  }, c = () => {
@@ -16277,7 +16282,7 @@ var nt = E9(), nr, ud, Xp = (ud = class {
16277
16282
  this.clearGcTimeout();
16278
16283
  }
16279
16284
  scheduleGc() {
16280
- this.clearGcTimeout(), qa(this.gcTime) && q(this, nr, setTimeout(() => {
16285
+ this.clearGcTimeout(), Ka(this.gcTime) && q(this, nr, setTimeout(() => {
16281
16286
  this.optionalRemove();
16282
16287
  }, this.gcTime));
16283
16288
  }
@@ -16317,7 +16322,7 @@ var nt = E9(), nr, ud, Xp = (ud = class {
16317
16322
  !this.observers.length && this.state.fetchStatus === "idle" && S(this, Gt).remove(this);
16318
16323
  }
16319
16324
  setData(t, n) {
16320
- const r = tc(this.state.data, t, this.options);
16325
+ const r = nc(this.state.data, t, this.options);
16321
16326
  return ve(this, $t, bn).call(this, {
16322
16327
  data: r,
16323
16328
  type: "success",
@@ -16422,10 +16427,10 @@ var nt = E9(), nr, ud, Xp = (ud = class {
16422
16427
  ), q(this, Br, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((a = s.fetchOptions) == null ? void 0 : a.meta)) && ve(this, $t, bn).call(this, { type: "fetch", meta: (u = s.fetchOptions) == null ? void 0 : u.meta });
16423
16428
  const c = (h) => {
16424
16429
  var b, I, m, d;
16425
- la(h) && h.silent || ve(this, $t, bn).call(this, {
16430
+ ua(h) && h.silent || ve(this, $t, bn).call(this, {
16426
16431
  type: "error",
16427
16432
  error: h
16428
- }), la(h) || ((I = (b = S(this, Gt).config).onError) == null || I.call(
16433
+ }), ua(h) || ((I = (b = S(this, Gt).config).onError) == null || I.call(
16429
16434
  b,
16430
16435
  h,
16431
16436
  this
@@ -16519,7 +16524,7 @@ var nt = E9(), nr, ud, Xp = (ud = class {
16519
16524
  };
16520
16525
  case "error":
16521
16526
  const o = t.error;
16522
- return la(o) && o.revert && S(this, Br) ? { ...S(this, Br), fetchStatus: "idle" } : {
16527
+ return ua(o) && o.revert && S(this, Br) ? { ...S(this, Br), fetchStatus: "idle" } : {
16523
16528
  ...r,
16524
16529
  error: o,
16525
16530
  errorUpdateCount: r.errorUpdateCount + 1,
@@ -17224,7 +17229,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17224
17229
  clear() {
17225
17230
  S(this, Ze).clear(), S(this, Ln).clear();
17226
17231
  }
17227
- }, Ze = new WeakMap(), Ln = new WeakMap(), Fn = new WeakMap(), jr = new WeakMap(), Vr = new WeakMap(), Dn = new WeakMap(), Gr = new WeakMap(), Hr = new WeakMap(), gd), xt, xe, Zo, mt, sr, Wr, Nn, an, Uo, Zr, Ur, ar, cr, kn, Xr, Pe, wo, rc, oc, ic, sc, ac, cc, lc, Yp, md, L9 = (md = class extends ao {
17232
+ }, Ze = new WeakMap(), Ln = new WeakMap(), Fn = new WeakMap(), jr = new WeakMap(), Vr = new WeakMap(), Dn = new WeakMap(), Gr = new WeakMap(), Hr = new WeakMap(), gd), xt, xe, Zo, mt, sr, Wr, Nn, an, Uo, Zr, Ur, ar, cr, kn, Xr, Pe, wo, oc, ic, sc, ac, cc, lc, uc, Yp, md, L9 = (md = class extends ao {
17228
17233
  constructor(t, n) {
17229
17234
  super();
17230
17235
  se(this, Pe);
@@ -17245,7 +17250,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17245
17250
  se(this, cr);
17246
17251
  se(this, kn);
17247
17252
  se(this, Xr, /* @__PURE__ */ new Set());
17248
- this.options = n, q(this, xt, t), q(this, an, null), q(this, Nn, nc()), this.options.experimental_prefetchInRender || S(this, Nn).reject(
17253
+ this.options = n, q(this, xt, t), q(this, an, null), q(this, Nn, rc()), this.options.experimental_prefetchInRender || S(this, Nn).reject(
17249
17254
  new Error("experimental_prefetchInRender feature flag is not enabled")
17250
17255
  ), this.bindMethods(), this.setOptions(n);
17251
17256
  }
@@ -17253,27 +17258,27 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17253
17258
  this.refetch = this.refetch.bind(this);
17254
17259
  }
17255
17260
  onSubscribe() {
17256
- this.listeners.size === 1 && (S(this, xe).addObserver(this), od(S(this, xe), this.options) ? ve(this, Pe, wo).call(this) : this.updateResult(), ve(this, Pe, sc).call(this));
17261
+ this.listeners.size === 1 && (S(this, xe).addObserver(this), od(S(this, xe), this.options) ? ve(this, Pe, wo).call(this) : this.updateResult(), ve(this, Pe, ac).call(this));
17257
17262
  }
17258
17263
  onUnsubscribe() {
17259
17264
  this.hasListeners() || this.destroy();
17260
17265
  }
17261
17266
  shouldFetchOnReconnect() {
17262
- return uc(
17267
+ return dc(
17263
17268
  S(this, xe),
17264
17269
  this.options,
17265
17270
  this.options.refetchOnReconnect
17266
17271
  );
17267
17272
  }
17268
17273
  shouldFetchOnWindowFocus() {
17269
- return uc(
17274
+ return dc(
17270
17275
  S(this, xe),
17271
17276
  this.options,
17272
17277
  this.options.refetchOnWindowFocus
17273
17278
  );
17274
17279
  }
17275
17280
  destroy() {
17276
- this.listeners = /* @__PURE__ */ new Set(), ve(this, Pe, ac).call(this), ve(this, Pe, cc).call(this), S(this, xe).removeObserver(this);
17281
+ this.listeners = /* @__PURE__ */ new Set(), ve(this, Pe, cc).call(this), ve(this, Pe, lc).call(this), S(this, xe).removeObserver(this);
17277
17282
  }
17278
17283
  setOptions(t, n) {
17279
17284
  const r = this.options, o = S(this, xe);
@@ -17281,7 +17286,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17281
17286
  throw new Error(
17282
17287
  "Expected enabled to be a boolean or a callback that returns a boolean"
17283
17288
  );
17284
- ve(this, Pe, lc).call(this), S(this, xe).setOptions(this.options), r._defaulted && !Qi(this.options, r) && S(this, xt).getQueryCache().notify({
17289
+ ve(this, Pe, uc).call(this), S(this, xe).setOptions(this.options), r._defaulted && !Qi(this.options, r) && S(this, xt).getQueryCache().notify({
17285
17290
  type: "observerOptionsUpdated",
17286
17291
  query: S(this, xe),
17287
17292
  observer: this
@@ -17292,9 +17297,9 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17292
17297
  o,
17293
17298
  this.options,
17294
17299
  r
17295
- ) && ve(this, Pe, wo).call(this), this.updateResult(n), i && (S(this, xe) !== o || Jt(this.options.enabled, S(this, xe)) !== Jt(r.enabled, S(this, xe)) || Dr(this.options.staleTime, S(this, xe)) !== Dr(r.staleTime, S(this, xe))) && ve(this, Pe, rc).call(this);
17296
- const s = ve(this, Pe, oc).call(this);
17297
- i && (S(this, xe) !== o || Jt(this.options.enabled, S(this, xe)) !== Jt(r.enabled, S(this, xe)) || s !== S(this, kn)) && ve(this, Pe, ic).call(this, s);
17300
+ ) && ve(this, Pe, wo).call(this), this.updateResult(n), i && (S(this, xe) !== o || Jt(this.options.enabled, S(this, xe)) !== Jt(r.enabled, S(this, xe)) || Dr(this.options.staleTime, S(this, xe)) !== Dr(r.staleTime, S(this, xe))) && ve(this, Pe, oc).call(this);
17301
+ const s = ve(this, Pe, ic).call(this);
17302
+ i && (S(this, xe) !== o || Jt(this.options.enabled, S(this, xe)) !== Jt(r.enabled, S(this, xe)) || s !== S(this, kn)) && ve(this, Pe, sc).call(this, s);
17298
17303
  }
17299
17304
  getOptimisticResult(t) {
17300
17305
  const n = S(this, xt).getQueryCache().build(S(this, xt), t), r = this.createResult(n, t);
@@ -17351,7 +17356,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17351
17356
  I = S(this, Zr);
17352
17357
  else
17353
17358
  try {
17354
- q(this, Uo, n.select), I = n.select(h.data), I = tc(i == null ? void 0 : i.data, I, n), q(this, Zr, I), q(this, an, null);
17359
+ q(this, Uo, n.select), I = n.select(h.data), I = nc(i == null ? void 0 : i.data, I, n), q(this, Zr, I), q(this, an, null);
17355
17360
  } catch (T) {
17356
17361
  q(this, an, T);
17357
17362
  }
@@ -17370,7 +17375,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17370
17375
  } catch (L) {
17371
17376
  q(this, an, L);
17372
17377
  }
17373
- T !== void 0 && (f = "success", I = tc(
17378
+ T !== void 0 && (f = "success", I = nc(
17374
17379
  i == null ? void 0 : i.data,
17375
17380
  T,
17376
17381
  n
@@ -17408,7 +17413,7 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17408
17413
  const T = (R) => {
17409
17414
  w.status === "error" ? R.reject(w.error) : w.data !== void 0 && R.resolve(w.data);
17410
17415
  }, L = () => {
17411
- const R = q(this, Nn, w.promise = nc());
17416
+ const R = q(this, Nn, w.promise = rc());
17412
17417
  T(R);
17413
17418
  }, O = S(this, Nn);
17414
17419
  switch (O.status) {
@@ -17447,40 +17452,40 @@ var Ze, Ln, Fn, jr, Vr, Dn, Gr, Hr, gd, R9 = (gd = class {
17447
17452
  (t == null ? void 0 : t.listeners) !== !1 && i() && (o.listeners = !0), ve(this, Pe, Yp).call(this, { ...o, ...t });
17448
17453
  }
17449
17454
  onQueryUpdate() {
17450
- this.updateResult(), this.hasListeners() && ve(this, Pe, sc).call(this);
17455
+ this.updateResult(), this.hasListeners() && ve(this, Pe, ac).call(this);
17451
17456
  }
17452
17457
  }, xt = new WeakMap(), xe = new WeakMap(), Zo = new WeakMap(), mt = new WeakMap(), sr = new WeakMap(), Wr = new WeakMap(), Nn = new WeakMap(), an = new WeakMap(), Uo = new WeakMap(), Zr = new WeakMap(), Ur = new WeakMap(), ar = new WeakMap(), cr = new WeakMap(), kn = new WeakMap(), Xr = new WeakMap(), Pe = new WeakSet(), wo = function(t) {
17453
- ve(this, Pe, lc).call(this);
17458
+ ve(this, Pe, uc).call(this);
17454
17459
  let n = S(this, xe).fetch(
17455
17460
  this.options,
17456
17461
  t
17457
17462
  );
17458
17463
  return t != null && t.throwOnError || (n = n.catch(Ht)), n;
17459
- }, rc = function() {
17460
- ve(this, Pe, ac).call(this);
17464
+ }, oc = function() {
17465
+ ve(this, Pe, cc).call(this);
17461
17466
  const t = Dr(
17462
17467
  this.options.staleTime,
17463
17468
  S(this, xe)
17464
17469
  );
17465
- if (br || S(this, mt).isStale || !qa(t))
17470
+ if (br || S(this, mt).isStale || !Ka(t))
17466
17471
  return;
17467
17472
  const r = Gp(S(this, mt).dataUpdatedAt, t) + 1;
17468
17473
  q(this, ar, setTimeout(() => {
17469
17474
  S(this, mt).isStale || this.updateResult();
17470
17475
  }, r));
17471
- }, oc = function() {
17476
+ }, ic = function() {
17472
17477
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(S(this, xe)) : this.options.refetchInterval) ?? !1;
17473
- }, ic = function(t) {
17474
- ve(this, Pe, cc).call(this), q(this, kn, t), !(br || Jt(this.options.enabled, S(this, xe)) === !1 || !qa(S(this, kn)) || S(this, kn) === 0) && q(this, cr, setInterval(() => {
17478
+ }, sc = function(t) {
17479
+ ve(this, Pe, lc).call(this), q(this, kn, t), !(br || Jt(this.options.enabled, S(this, xe)) === !1 || !Ka(S(this, kn)) || S(this, kn) === 0) && q(this, cr, setInterval(() => {
17475
17480
  (this.options.refetchIntervalInBackground || Qc.isFocused()) && ve(this, Pe, wo).call(this);
17476
17481
  }, S(this, kn)));
17477
- }, sc = function() {
17478
- ve(this, Pe, rc).call(this), ve(this, Pe, ic).call(this, ve(this, Pe, oc).call(this));
17479
17482
  }, ac = function() {
17480
- S(this, ar) && (clearTimeout(S(this, ar)), q(this, ar, void 0));
17483
+ ve(this, Pe, oc).call(this), ve(this, Pe, sc).call(this, ve(this, Pe, ic).call(this));
17481
17484
  }, cc = function() {
17482
- S(this, cr) && (clearInterval(S(this, cr)), q(this, cr, void 0));
17485
+ S(this, ar) && (clearTimeout(S(this, ar)), q(this, ar, void 0));
17483
17486
  }, lc = function() {
17487
+ S(this, cr) && (clearInterval(S(this, cr)), q(this, cr, void 0));
17488
+ }, uc = function() {
17484
17489
  const t = S(this, xt).getQueryCache().build(S(this, xt), this.options);
17485
17490
  if (t === S(this, xe))
17486
17491
  return;
@@ -17500,9 +17505,9 @@ function F9(e, t) {
17500
17505
  return Jt(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
17501
17506
  }
17502
17507
  function od(e, t) {
17503
- return F9(e, t) || e.state.data !== void 0 && uc(e, t, t.refetchOnMount);
17508
+ return F9(e, t) || e.state.data !== void 0 && dc(e, t, t.refetchOnMount);
17504
17509
  }
17505
- function uc(e, t, n) {
17510
+ function dc(e, t, n) {
17506
17511
  if (Jt(t.enabled, e) !== !1) {
17507
17512
  const r = typeof n == "function" ? n(e) : n;
17508
17513
  return r === "always" || r !== !1 && qc(e, t);
@@ -17518,7 +17523,7 @@ function qc(e, t) {
17518
17523
  function D9(e, t) {
17519
17524
  return !Qi(e.getCurrentResult(), t);
17520
17525
  }
17521
- var Pn, Mn, Et, yn, In, Li, dc, bd, N9 = (bd = class extends ao {
17526
+ var Pn, Mn, Et, yn, In, Li, fc, bd, N9 = (bd = class extends ao {
17522
17527
  constructor(t, n) {
17523
17528
  super();
17524
17529
  se(this, In);
@@ -17545,14 +17550,14 @@ var Pn, Mn, Et, yn, In, Li, dc, bd, N9 = (bd = class extends ao {
17545
17550
  this.hasListeners() || (t = S(this, Et)) == null || t.removeObserver(this);
17546
17551
  }
17547
17552
  onMutationUpdate(t) {
17548
- ve(this, In, Li).call(this), ve(this, In, dc).call(this, t);
17553
+ ve(this, In, Li).call(this), ve(this, In, fc).call(this, t);
17549
17554
  }
17550
17555
  getCurrentResult() {
17551
17556
  return S(this, Mn);
17552
17557
  }
17553
17558
  reset() {
17554
17559
  var t;
17555
- (t = S(this, Et)) == null || t.removeObserver(this), q(this, Et, void 0), ve(this, In, Li).call(this), ve(this, In, dc).call(this);
17560
+ (t = S(this, Et)) == null || t.removeObserver(this), q(this, Et, void 0), ve(this, In, Li).call(this), ve(this, In, fc).call(this);
17556
17561
  }
17557
17562
  mutate(t, n) {
17558
17563
  var r;
@@ -17570,7 +17575,7 @@ var Pn, Mn, Et, yn, In, Li, dc, bd, N9 = (bd = class extends ao {
17570
17575
  mutate: this.mutate,
17571
17576
  reset: this.reset
17572
17577
  });
17573
- }, dc = function(t) {
17578
+ }, fc = function(t) {
17574
17579
  nt.batch(() => {
17575
17580
  var n, r, o, i, s, c, l, a;
17576
17581
  if (S(this, yn) && this.hasListeners()) {
@@ -17617,7 +17622,7 @@ var B9 = F.createContext(M9()), j9 = () => F.useContext(B9);
17617
17622
  function Kp(e, t) {
17618
17623
  return typeof e == "function" ? e(...t) : !!e;
17619
17624
  }
17620
- function fc() {
17625
+ function pc() {
17621
17626
  }
17622
17627
  var V9 = (e, t) => {
17623
17628
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
@@ -17659,7 +17664,7 @@ function X9(e, t, n) {
17659
17664
  if (F.useSyncExternalStore(
17660
17665
  F.useCallback(
17661
17666
  (f) => {
17662
- const p = u ? l.subscribe(nt.batchCalls(f)) : fc;
17667
+ const p = u ? l.subscribe(nt.batchCalls(f)) : pc;
17663
17668
  return l.updateResult(), p;
17664
17669
  },
17665
17670
  [l, u]
@@ -17690,7 +17695,7 @@ function X9(e, t, n) {
17690
17695
  // subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
17691
17696
  (d = r.getQueryCache().get(s.queryHash)) == null ? void 0 : d.promise
17692
17697
  );
17693
- f == null || f.catch(fc).finally(() => {
17698
+ f == null || f.catch(pc).finally(() => {
17694
17699
  l.updateResult();
17695
17700
  });
17696
17701
  }
@@ -17718,7 +17723,7 @@ function th(e, t) {
17718
17723
  () => r.getCurrentResult()
17719
17724
  ), i = F.useCallback(
17720
17725
  (s, c) => {
17721
- r.mutate(s, c).catch(fc);
17726
+ r.mutate(s, c).catch(pc);
17722
17727
  },
17723
17728
  [r]
17724
17729
  );
@@ -17971,14 +17976,14 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
17971
17976
  /* @__PURE__ */ y.jsx(be, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ y.jsx("img", { src: rA }) })
17972
17977
  ] }, I)) })
17973
17978
  ] }) : /* @__PURE__ */ y.jsx(uA, {});
17974
- }, ua = N(pc)`
17979
+ }, da = N(hc)`
17975
17980
  display: block;
17976
17981
  margin: ${(e) => e.margin ? e.margin : 0};
17977
17982
  `, fA = () => /* @__PURE__ */ y.jsxs(z, { marginTop: "12px", children: [
17978
- /* @__PURE__ */ y.jsx(ua, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
17983
+ /* @__PURE__ */ y.jsx(da, { variant: "rounded", width: "50%", height: "16px", animation: "wave", margin: "0 0 18px 0" }),
17979
17984
  /* @__PURE__ */ y.jsx(z, { gap: "17px", children: /* @__PURE__ */ y.jsxs(oh, { gap: "8px", disableHover: !0, children: [
17980
- /* @__PURE__ */ y.jsx(ua, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
17981
- /* @__PURE__ */ y.jsx(ua, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
17985
+ /* @__PURE__ */ y.jsx(da, { variant: "rounded", width: "30%", height: "16px", animation: "wave" }),
17986
+ /* @__PURE__ */ y.jsx(da, { variant: "rounded", width: "70%", height: "16px", animation: "wave" })
17982
17987
  ] }) })
17983
17988
  ] }), pA = async ({ id: e, searchString: t, args: n }) => {
17984
17989
  try {
@@ -17995,7 +18000,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
17995
18000
  let o = null;
17996
18001
  return r != null && r.data && "data" in r.data && (o = r.data.data), o;
17997
18002
  } catch (r) {
17998
- Xe({ message: ys, type: Tt }), console.error(r);
18003
+ Xe({ message: Cs, type: Tt }), console.error(r);
17999
18004
  }
18000
18005
  }, hA = (e, t) => th({
18001
18006
  mutationFn: pA,
@@ -18139,9 +18144,9 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18139
18144
  if (!($e instanceof CustomEvent))
18140
18145
  return;
18141
18146
  const Ft = (uo = $e.detail) == null ? void 0 : uo.connectorKey, Ir = P.find(
18142
- (Ls) => {
18147
+ (Fs) => {
18143
18148
  var fo;
18144
- return ((fo = Ls.connectorKey) == null ? void 0 : fo.toLowerCase()) === (Ft == null ? void 0 : Ft.toLowerCase());
18149
+ return ((fo = Fs.connectorKey) == null ? void 0 : fo.toLowerCase()) === (Ft == null ? void 0 : Ft.toLowerCase());
18145
18150
  }
18146
18151
  );
18147
18152
  Ir && (H(Ir), v(!0));
@@ -18174,15 +18179,15 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18174
18179
  });
18175
18180
  }
18176
18181
  K ? A(!0) : s(Fr(null));
18177
- }, Os = () => {
18182
+ }, Rs = () => {
18178
18183
  v(!1), s(Fr(null)), E(void 0), A(!1);
18179
18184
  }, Qo = () => {
18180
18185
  Ie(), s(Uu.clearConnectorList());
18181
- }, Rs = [
18186
+ }, Ls = [
18182
18187
  {
18183
18188
  label: "Go back",
18184
18189
  variant: "text",
18185
- action: Os
18190
+ action: Rs
18186
18191
  },
18187
18192
  {
18188
18193
  label: "Stay",
@@ -18213,7 +18218,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18213
18218
  setShown: A,
18214
18219
  title: e4,
18215
18220
  description: t4,
18216
- buttons: Rs
18221
+ buttons: Ls
18217
18222
  }
18218
18223
  ),
18219
18224
  /* @__PURE__ */ y.jsx(Gb, { onWheel: () => m(!0), ref: b, children: X ? /* @__PURE__ */ y.jsxs(y.Fragment, { children: [
@@ -18239,7 +18244,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18239
18244
  root: u.current
18240
18245
  }
18241
18246
  ) : null,
18242
- /* @__PURE__ */ y.jsxs(Qa, { children: [
18247
+ /* @__PURE__ */ y.jsxs(qa, { children: [
18243
18248
  /* @__PURE__ */ y.jsx(_r, { condition: te && Zn, children: /* @__PURE__ */ y.jsx(fA, {}) }, "search"),
18244
18249
  /* @__PURE__ */ y.jsx(_r, { condition: te && !!T && !Un, children: /* @__PURE__ */ y.jsx(
18245
18250
  dA,
@@ -18261,7 +18266,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18261
18266
  }
18262
18267
  ) : null,
18263
18268
  ie ? /* @__PURE__ */ y.jsx(vw, {}) : null,
18264
- /* @__PURE__ */ y.jsxs(Qa, { children: [
18269
+ /* @__PURE__ */ y.jsxs(qa, { children: [
18265
18270
  /* @__PURE__ */ y.jsxs(_r, { condition: !!U && U.length > 0, children: [
18266
18271
  /* @__PURE__ */ y.jsx(
18267
18272
  X4,
@@ -18281,7 +18286,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18281
18286
  ] })
18282
18287
  ] }) : /* @__PURE__ */ y.jsx($u, { isAdmin: e }) }),
18283
18288
  /* @__PURE__ */ y.jsx(
18284
- sa,
18289
+ aa,
18285
18290
  {
18286
18291
  onClose: () => Cr(Cm),
18287
18292
  isOpen: d,
@@ -18303,7 +18308,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18303
18308
  }
18304
18309
  ),
18305
18310
  /* @__PURE__ */ y.jsx(
18306
- sa,
18311
+ aa,
18307
18312
  {
18308
18313
  onClose: () => hn(pm),
18309
18314
  portalId: "connector-layover-portal",
@@ -18323,7 +18328,7 @@ const z9 = (e) => new Promise((t) => setTimeout(t, e)), $9 = ({
18323
18328
  }
18324
18329
  ),
18325
18330
  /* @__PURE__ */ y.jsx(
18326
- sa,
18331
+ aa,
18327
18332
  {
18328
18333
  onClose: () => x(!1),
18329
18334
  portalId: "connector-layover-portal",