@hiver/connector-agent 4.20.0-themeMode-beta.4 → 4.20.0-themeMode-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.es.js CHANGED
@@ -5,7 +5,7 @@ var cc = (e) => {
5
5
  var x4 = (e, t, n) => t in e ? b4(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
6
  var Ye = (e, t, n) => x4(e, typeof t != "symbol" ? t + "" : t, n), Tf = (e, t, n) => t.has(e) || cc("Cannot " + n);
7
7
  var L = (e, t, n) => (Tf(e, t, "read from private field"), n ? n.call(e) : t.get(e)), me = (e, t, n) => t.has(e) ? cc("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), se = (e, t, n, u) => (Tf(e, t, "write to private field"), u ? u.call(e, n) : t.set(e, n), n), Te = (e, t, n) => (Tf(e, t, "access private method"), n);
8
- var ka = (e, t, n, u) => ({
8
+ var Ta = (e, t, n, u) => ({
9
9
  set _(r) {
10
10
  se(e, t, r, n);
11
11
  },
@@ -14,8 +14,8 @@ var ka = (e, t, n, u) => ({
14
14
  }
15
15
  });
16
16
  import * as I from "react";
17
- import Xe, { createContext as ga, useState as W, useContext as Ue, useEffect as oe, useRef as ie, useCallback as de, useSyncExternalStore as IA, useLayoutEffect as Nu, isValidElement as Hr, cloneElement as v1, useMemo as De, useId as v4, forwardRef as Wi, Component as y4, Fragment as y1, useReducer as B4, memo as SA, Suspense as ha } from "react";
18
- import { keyframes as es, styled as w, Stack as P, IconButton as at, Typography as Y, Box as j, Tooltip as Be, Button as Ie, icons as ct, Menu as kA, MenuItem as Ku, ListItemIcon as w4, brandIcons as TA, Grid as I4, Link as Fa, theme as k, Skeleton as Vi, TableHead as S4, TableCell as Gi, TableRow as LA, createTheme as Xi, HiverProvider as Dc, GlobalStyles as Ac, Icon as OA, DatePicker as k4, DateTextField as T4, InputAdornment as L4, LinearProgress as O4, Dialog as ts, TextField as ns, tooltipClasses as cu, ListSubheader as Xa, InputBase as R4, CircularProgress as so, FormControl as zi, Select as us, Chip as N4, Paper as rs, Popper as M4, ClickAwayListener as RA, TableContainer as Q4, Table as j4, TableBody as P4, RadioGroup as NA, FormControlLabel as MA, Radio as QA, Checkbox as jA, OutlinedInput as PA, Switch as _A, ThemeProvider as os, Popover as B1, Autocomplete as HA } from "@hiver/hiver-ui-kit";
17
+ import Xe, { createContext as ga, useState as W, useContext as Ue, useEffect as oe, useRef as ie, useCallback as de, useSyncExternalStore as IA, useLayoutEffect as Nu, isValidElement as Hr, cloneElement as v1, useMemo as De, useId as v4, forwardRef as Vi, Component as y4, Fragment as y1, useReducer as B4, memo as SA, Suspense as ha } from "react";
18
+ import { keyframes as es, styled as w, Stack as P, IconButton as at, Typography as Y, Box as j, Tooltip as Be, Button as Ie, icons as ct, Menu as kA, MenuItem as Ku, ListItemIcon as w4, brandIcons as TA, Grid as I4, Link as Fa, theme as k, Skeleton as Gi, TableHead as S4, TableCell as Xi, TableRow as LA, createTheme as zi, HiverProvider as Dc, GlobalStyles as Ac, Icon as OA, DatePicker as k4, DateTextField as T4, InputAdornment as L4, LinearProgress as O4, Dialog as ts, TextField as ns, tooltipClasses as cu, ListSubheader as za, InputBase as R4, CircularProgress as so, FormControl as Zi, Select as us, Chip as N4, Paper as rs, Popper as M4, ClickAwayListener as RA, TableContainer as Q4, Table as j4, TableBody as P4, RadioGroup as NA, FormControlLabel as MA, Radio as QA, Checkbox as jA, OutlinedInput as PA, Switch as _A, ThemeProvider as os, Popover as B1, Autocomplete as HA } from "@hiver/hiver-ui-kit";
19
19
  import _4, { createPortal as Mu } from "react-dom";
20
20
  var Ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
21
21
  function H4(e) {
@@ -642,8 +642,8 @@ Check the top-level render call using <` + $ + ">.");
642
642
  Ir(Dt, R);
643
643
  }
644
644
  if (We.call(G, "key")) {
645
- var Gt = N(R), kt = Object.keys(G).filter(function(Sa) {
646
- return Sa !== "key";
645
+ var Gt = N(R), kt = Object.keys(G).filter(function(ka) {
646
+ return ka !== "key";
647
647
  }), wo = kt.length > 0 ? "{key: someKey, " + kt.join(": ..., ") + ": ...}" : "{key: someKey}";
648
648
  if (!kr[Gt + wo]) {
649
649
  var Sf = kt.length > 0 ? "{" + kt.join(": ..., ") + ": ...}" : "{}";
@@ -751,7 +751,7 @@ function dr(e) {
751
751
  function Jo(e, t) {
752
752
  return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((n) => !Jo(e[n], t[n])) : !1;
753
753
  }
754
- function pi(e, t) {
754
+ function Ci(e, t) {
755
755
  if (e === t)
756
756
  return e;
757
757
  const n = gc(e) && gc(t);
@@ -760,13 +760,13 @@ function pi(e, t) {
760
760
  let s = 0;
761
761
  for (let c = 0; c < i; c++) {
762
762
  const D = n ? c : o[c];
763
- (!n && u.includes(D) || n) && e[D] === void 0 && t[D] === void 0 ? (f[D] = void 0, s++) : (f[D] = pi(e[D], t[D]), f[D] === e[D] && e[D] !== void 0 && s++);
763
+ (!n && u.includes(D) || n) && e[D] === void 0 && t[D] === void 0 ? (f[D] = void 0, s++) : (f[D] = Ci(e[D], t[D]), f[D] === e[D] && e[D] !== void 0 && s++);
764
764
  }
765
765
  return r === i && s === r ? e : f;
766
766
  }
767
767
  return t;
768
768
  }
769
- function Ci(e, t) {
769
+ function gi(e, t) {
770
770
  if (!t || Object.keys(e).length !== Object.keys(t).length)
771
771
  return !1;
772
772
  for (const n in e)
@@ -800,13 +800,13 @@ function k1(e, t, n) {
800
800
  if (n.structuralSharing !== !1) {
801
801
  if (process.env.NODE_ENV !== "production")
802
802
  try {
803
- return pi(e, t);
803
+ return Ci(e, t);
804
804
  } catch (u) {
805
805
  console.error(
806
806
  `Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${u}`
807
807
  );
808
808
  }
809
- return pi(e, t);
809
+ return Ci(e, t);
810
810
  }
811
811
  return t;
812
812
  }
@@ -818,11 +818,11 @@ function Z4(e, t, n = 0) {
818
818
  const u = [t, ...e];
819
819
  return n && u.length > n ? u.slice(0, -1) : u;
820
820
  }
821
- var gi = Symbol();
821
+ var hi = Symbol();
822
822
  function WA(e, t) {
823
- return process.env.NODE_ENV !== "production" && e.queryFn === gi && console.error(
823
+ return process.env.NODE_ENV !== "production" && e.queryFn === hi && console.error(
824
824
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
825
- ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === gi ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
825
+ ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === hi ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
826
826
  }
827
827
  var $u, bu, Zr, gA, J4 = (gA = class extends br {
828
828
  constructor() {
@@ -899,7 +899,7 @@ var $u, bu, Zr, gA, J4 = (gA = class extends br {
899
899
  isOnline() {
900
900
  return L(this, Jr);
901
901
  }
902
- }, Jr = new WeakMap(), xu = new WeakMap(), Kr = new WeakMap(), hA), hi = new K4();
902
+ }, Jr = new WeakMap(), xu = new WeakMap(), Kr = new WeakMap(), hA), Fi = new K4();
903
903
  function T1() {
904
904
  let e, t;
905
905
  const n = new Promise((r, o) => {
@@ -926,7 +926,7 @@ function Y4(e) {
926
926
  return Math.min(1e3 * 2 ** e, 3e4);
927
927
  }
928
928
  function VA(e) {
929
- return (e ?? "online") === "online" ? hi.isOnline() : !0;
929
+ return (e ?? "online") === "online" ? Fi.isOnline() : !0;
930
930
  }
931
931
  var GA = class extends Error {
932
932
  constructor(e) {
@@ -945,7 +945,7 @@ function XA(e) {
945
945
  t = !0;
946
946
  }, s = () => {
947
947
  t = !1;
948
- }, c = () => is.isFocused() && (e.networkMode === "always" || hi.isOnline()) && e.canRun(), D = () => VA(e.networkMode) && e.canRun(), A = (d) => {
948
+ }, c = () => is.isFocused() && (e.networkMode === "always" || Fi.isOnline()) && e.canRun(), D = () => VA(e.networkMode) && e.canRun(), A = (d) => {
949
949
  var l;
950
950
  u || (u = !0, (l = e.onSuccess) == null || l.call(e, d), r == null || r(), o.resolve(d));
951
951
  }, g = (d) => {
@@ -1128,7 +1128,7 @@ var ht = q4(), er, FA, zA = (FA = class {
1128
1128
  );
1129
1129
  }
1130
1130
  isDisabled() {
1131
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === gi || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
1131
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === hi || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
1132
1132
  }
1133
1133
  isStale() {
1134
1134
  return this.state.isInvalidated ? !0 : this.getObserversCount() > 0 ? this.observers.some(
@@ -1638,7 +1638,7 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1638
1638
  build(t, n, u) {
1639
1639
  const r = new tp({
1640
1640
  mutationCache: this,
1641
- mutationId: ++ka(this, Da)._,
1641
+ mutationId: ++Ta(this, Da)._,
1642
1642
  options: t.defaultMutationOptions(n),
1643
1643
  state: u
1644
1644
  });
@@ -1646,7 +1646,7 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1646
1646
  }
1647
1647
  add(t) {
1648
1648
  L(this, au).add(t);
1649
- const n = Ta(t);
1649
+ const n = La(t);
1650
1650
  if (typeof n == "string") {
1651
1651
  const u = L(this, Tn).get(n);
1652
1652
  u ? u.push(t) : L(this, Tn).set(n, [t]);
@@ -1655,7 +1655,7 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1655
1655
  }
1656
1656
  remove(t) {
1657
1657
  if (L(this, au).delete(t)) {
1658
- const n = Ta(t);
1658
+ const n = La(t);
1659
1659
  if (typeof n == "string") {
1660
1660
  const u = L(this, Tn).get(n);
1661
1661
  if (u)
@@ -1668,7 +1668,7 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1668
1668
  this.notify({ type: "removed", mutation: t });
1669
1669
  }
1670
1670
  canRun(t) {
1671
- const n = Ta(t);
1671
+ const n = La(t);
1672
1672
  if (typeof n == "string") {
1673
1673
  const u = L(this, Tn).get(n), r = u == null ? void 0 : u.find(
1674
1674
  (o) => o.state.status === "pending"
@@ -1679,7 +1679,7 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1679
1679
  }
1680
1680
  runNext(t) {
1681
1681
  var u;
1682
- const n = Ta(t);
1682
+ const n = La(t);
1683
1683
  if (typeof n == "string") {
1684
1684
  const r = (u = L(this, Tn).get(n)) == null ? void 0 : u.find((o) => o !== t && o.state.isPaused);
1685
1685
  return (r == null ? void 0 : r.continue()) ?? Promise.resolve();
@@ -1721,11 +1721,11 @@ var au, Tn, Da, xA, YA = (xA = class extends br {
1721
1721
  );
1722
1722
  }
1723
1723
  }, au = new WeakMap(), Tn = new WeakMap(), Da = new WeakMap(), xA);
1724
- function Ta(e) {
1724
+ function La(e) {
1725
1725
  var t;
1726
1726
  return (t = e.options.scope) == null ? void 0 : t.id;
1727
1727
  }
1728
- function Fi(e) {
1728
+ function Ei(e) {
1729
1729
  return {
1730
1730
  onFetch: (t, n) => {
1731
1731
  var D, A, g, h, p;
@@ -1827,15 +1827,15 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
1827
1827
  se(this, Ct, e.queryCache || new JA()), se(this, vu, e.mutationCache || new YA()), se(this, yu, e.defaultOptions || {}), se(this, $r, /* @__PURE__ */ new Map()), se(this, eo, /* @__PURE__ */ new Map()), se(this, Bu, 0);
1828
1828
  }
1829
1829
  mount() {
1830
- ka(this, Bu)._++, L(this, Bu) === 1 && (se(this, to, is.subscribe(async (e) => {
1830
+ Ta(this, Bu)._++, L(this, Bu) === 1 && (se(this, to, is.subscribe(async (e) => {
1831
1831
  e && (await this.resumePausedMutations(), L(this, Ct).onFocus());
1832
- })), se(this, no, hi.subscribe(async (e) => {
1832
+ })), se(this, no, Fi.subscribe(async (e) => {
1833
1833
  e && (await this.resumePausedMutations(), L(this, Ct).onOnline());
1834
1834
  })));
1835
1835
  }
1836
1836
  unmount() {
1837
1837
  var e, t;
1838
- ka(this, Bu)._--, L(this, Bu) === 0 && ((e = L(this, to)) == null || e.call(this), se(this, to, void 0), (t = L(this, no)) == null || t.call(this), se(this, no, void 0));
1838
+ Ta(this, Bu)._--, L(this, Bu) === 0 && ((e = L(this, to)) == null || e.call(this), se(this, to, void 0), (t = L(this, no)) == null || t.call(this), se(this, no, void 0));
1839
1839
  }
1840
1840
  isFetching(e) {
1841
1841
  return L(this, Ct).findAll({ ...e, fetchStatus: "fetching" }).length;
@@ -1941,16 +1941,16 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
1941
1941
  return this.fetchQuery(e).then(xn).catch(xn);
1942
1942
  }
1943
1943
  fetchInfiniteQuery(e) {
1944
- return e.behavior = Fi(e.pages), this.fetchQuery(e);
1944
+ return e.behavior = Ei(e.pages), this.fetchQuery(e);
1945
1945
  }
1946
1946
  prefetchInfiniteQuery(e) {
1947
1947
  return this.fetchInfiniteQuery(e).then(xn).catch(xn);
1948
1948
  }
1949
1949
  ensureInfiniteQueryData(e) {
1950
- return e.behavior = Fi(e.pages), this.ensureQueryData(e);
1950
+ return e.behavior = Ei(e.pages), this.ensureQueryData(e);
1951
1951
  }
1952
1952
  resumePausedMutations() {
1953
- return hi.isOnline() ? L(this, vu).resumePausedMutations() : Promise.resolve();
1953
+ return Fi.isOnline() ? L(this, vu).resumePausedMutations() : Promise.resolve();
1954
1954
  }
1955
1955
  getQueryCache() {
1956
1956
  return L(this, Ct);
@@ -2000,7 +2000,7 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
2000
2000
  return t.queryHash || (t.queryHash = as(
2001
2001
  t.queryKey,
2002
2002
  t
2003
- )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === gi && (t.enabled = !1), t;
2003
+ )), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === hi && (t.enabled = !1), t;
2004
2004
  }
2005
2005
  defaultMutationOptions(e) {
2006
2006
  return e != null && e._defaulted ? e : {
@@ -2013,7 +2013,7 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
2013
2013
  clear() {
2014
2014
  L(this, Ct).clear(), L(this, vu).clear();
2015
2015
  }
2016
- }, Ct = new WeakMap(), vu = new WeakMap(), yu = new WeakMap(), $r = new WeakMap(), eo = new WeakMap(), Bu = new WeakMap(), to = new WeakMap(), no = new WeakMap(), vA), Xt, Je, Aa, _t, rr, uo, wu, Gn, la, ro, oo, or, ar, Iu, ao, ot, Po, O1, R1, N1, M1, Q1, j1, P1, $A, yA, Zi = (yA = class extends br {
2016
+ }, Ct = new WeakMap(), vu = new WeakMap(), yu = new WeakMap(), $r = new WeakMap(), eo = new WeakMap(), Bu = new WeakMap(), to = new WeakMap(), no = new WeakMap(), vA), Xt, Je, Aa, _t, rr, uo, wu, Gn, la, ro, oo, or, ar, Iu, ao, ot, Po, O1, R1, N1, M1, Q1, j1, P1, $A, yA, Ji = (yA = class extends br {
2017
2017
  constructor(t, n) {
2018
2018
  super();
2019
2019
  me(this, ot);
@@ -2070,7 +2070,7 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
2070
2070
  throw new Error(
2071
2071
  "Expected enabled to be a boolean or a callback that returns a boolean"
2072
2072
  );
2073
- Te(this, ot, P1).call(this), L(this, Je).setOptions(this.options), u._defaulted && !Ci(this.options, u) && L(this, Xt).getQueryCache().notify({
2073
+ Te(this, ot, P1).call(this), L(this, Je).setOptions(this.options), u._defaulted && !gi(this.options, u) && L(this, Xt).getQueryCache().notify({
2074
2074
  type: "observerOptionsUpdated",
2075
2075
  query: L(this, Je),
2076
2076
  observer: this
@@ -2216,7 +2216,7 @@ var Ct, vu, yu, $r, eo, Bu, to, no, vA, rp = (vA = class {
2216
2216
  }
2217
2217
  updateResult(t) {
2218
2218
  const n = L(this, _t), u = this.createResult(L(this, Je), this.options);
2219
- if (se(this, rr, L(this, Je).state), se(this, uo, this.options), L(this, rr).data !== void 0 && se(this, oo, L(this, Je)), Ci(u, n))
2219
+ if (se(this, rr, L(this, Je).state), se(this, uo, this.options), L(this, rr).data !== void 0 && se(this, oo, L(this, Je)), gi(u, n))
2220
2220
  return;
2221
2221
  se(this, _t, u);
2222
2222
  const r = {}, o = () => {
@@ -2305,7 +2305,7 @@ function fs(e, t) {
2305
2305
  return Ln(t.enabled, e) !== !1 && e.isStaleByTime(Ur(t.staleTime, e));
2306
2306
  }
2307
2307
  function ap(e, t) {
2308
- return !Ci(e.getCurrentResult(), t);
2308
+ return !gi(e.getCurrentResult(), t);
2309
2309
  }
2310
2310
  function mc(e, t) {
2311
2311
  return e.filter((n) => !t.includes(n));
@@ -2401,7 +2401,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2401
2401
  });
2402
2402
  });
2403
2403
  }, U1 = function(t, n) {
2404
- return n ? ((!L(this, Su) || L(this, mn) !== L(this, pa) || n !== L(this, da)) && (se(this, da, n), se(this, pa, L(this, mn)), se(this, Su, pi(
2404
+ return n ? ((!L(this, Su) || L(this, mn) !== L(this, pa) || n !== L(this, da)) && (se(this, da, n), se(this, pa, L(this, mn)), se(this, Su, Ci(
2405
2405
  L(this, Su),
2406
2406
  n(t)
2407
2407
  ))), L(this, Su)) : t;
@@ -2416,7 +2416,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2416
2416
  observer: i
2417
2417
  }) : u.push({
2418
2418
  defaultedQueryOptions: o,
2419
- observer: new Zi(L(this, ir), o)
2419
+ observer: new Ji(L(this, ir), o)
2420
2420
  });
2421
2421
  }), u;
2422
2422
  }, V1 = function(t, n) {
@@ -2432,7 +2432,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2432
2432
  });
2433
2433
  });
2434
2434
  }
2435
- }, BA), sp = class extends Zi {
2435
+ }, BA), sp = class extends Ji {
2436
2436
  constructor(e, t) {
2437
2437
  super(e, t);
2438
2438
  }
@@ -2443,13 +2443,13 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2443
2443
  super.setOptions(
2444
2444
  {
2445
2445
  ...e,
2446
- behavior: Fi()
2446
+ behavior: Ei()
2447
2447
  },
2448
2448
  t
2449
2449
  );
2450
2450
  }
2451
2451
  getOptimisticResult(e) {
2452
- return e.behavior = Fi(), super.getOptimisticResult(e);
2452
+ return e.behavior = Ei(), super.getOptimisticResult(e);
2453
2453
  }
2454
2454
  fetchNextPage(e) {
2455
2455
  return this.fetch({
@@ -2484,7 +2484,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2484
2484
  isRefetching: o && !D && !g
2485
2485
  };
2486
2486
  }
2487
- }, ku, Tu, zt, iu, su, za, X1, wA, cp = (wA = class extends br {
2487
+ }, ku, Tu, zt, iu, su, Za, X1, wA, cp = (wA = class extends br {
2488
2488
  constructor(n, u) {
2489
2489
  super();
2490
2490
  me(this, su);
@@ -2492,7 +2492,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2492
2492
  me(this, Tu);
2493
2493
  me(this, zt);
2494
2494
  me(this, iu);
2495
- se(this, ku, n), this.setOptions(u), this.bindMethods(), Te(this, su, za).call(this);
2495
+ se(this, ku, n), this.setOptions(u), this.bindMethods(), Te(this, su, Za).call(this);
2496
2496
  }
2497
2497
  bindMethods() {
2498
2498
  this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
@@ -2500,7 +2500,7 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2500
2500
  setOptions(n) {
2501
2501
  var r;
2502
2502
  const u = this.options;
2503
- this.options = L(this, ku).defaultMutationOptions(n), Ci(this.options, u) || L(this, ku).getMutationCache().notify({
2503
+ this.options = L(this, ku).defaultMutationOptions(n), gi(this.options, u) || L(this, ku).getMutationCache().notify({
2504
2504
  type: "observerOptionsUpdated",
2505
2505
  mutation: L(this, zt),
2506
2506
  observer: this
@@ -2511,20 +2511,20 @@ var ir, mn, io, fo, bn, Su, da, pa, Ca, Ot, H1, U1, W1, V1, G1, BA, fp = (BA = c
2511
2511
  this.hasListeners() || (n = L(this, zt)) == null || n.removeObserver(this);
2512
2512
  }
2513
2513
  onMutationUpdate(n) {
2514
- Te(this, su, za).call(this), Te(this, su, X1).call(this, n);
2514
+ Te(this, su, Za).call(this), Te(this, su, X1).call(this, n);
2515
2515
  }
2516
2516
  getCurrentResult() {
2517
2517
  return L(this, Tu);
2518
2518
  }
2519
2519
  reset() {
2520
2520
  var n;
2521
- (n = L(this, zt)) == null || n.removeObserver(this), se(this, zt, void 0), Te(this, su, za).call(this), Te(this, su, X1).call(this);
2521
+ (n = L(this, zt)) == null || n.removeObserver(this), se(this, zt, void 0), Te(this, su, Za).call(this), Te(this, su, X1).call(this);
2522
2522
  }
2523
2523
  mutate(n, u) {
2524
2524
  var r;
2525
2525
  return se(this, iu, u), (r = L(this, zt)) == null || r.removeObserver(this), se(this, zt, L(this, ku).getMutationCache().build(L(this, ku), this.options)), L(this, zt).addObserver(this), L(this, zt).execute(n);
2526
2526
  }
2527
- }, ku = new WeakMap(), Tu = new WeakMap(), zt = new WeakMap(), iu = new WeakMap(), su = new WeakSet(), za = function() {
2527
+ }, ku = new WeakMap(), Tu = new WeakMap(), zt = new WeakMap(), iu = new WeakMap(), su = new WeakSet(), Za = function() {
2528
2528
  var u;
2529
2529
  const n = ((u = L(this, zt)) == null ? void 0 : u.state) ?? KA();
2530
2530
  se(this, Tu, {
@@ -2583,7 +2583,7 @@ var lp = I.createContext(Ap()), ul = () => I.useContext(lp);
2583
2583
  function rl(e, t) {
2584
2584
  return typeof e == "function" ? e(...t) : !!e;
2585
2585
  }
2586
- function Ei() {
2586
+ function mi() {
2587
2587
  }
2588
2588
  var ol = (e, t) => {
2589
2589
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
@@ -2600,7 +2600,7 @@ var ol = (e, t) => {
2600
2600
  }) => e.isError && !t.isReset() && !e.isFetching && u && (r && e.data === void 0 || rl(n, [e.error, u])), fl = (e) => {
2601
2601
  const t = e.staleTime;
2602
2602
  e.suspense && (e.staleTime = typeof t == "function" ? (...n) => Math.max(t(...n), 1e3) : Math.max(t ?? 1e3, 1e3), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3)));
2603
- }, sl = (e, t) => e.isLoading && e.isFetching && !t, z1 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, mi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
2603
+ }, sl = (e, t) => e.isLoading && e.isFetching && !t, z1 = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, bi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
2604
2604
  n.clearReset();
2605
2605
  });
2606
2606
  function dp({
@@ -2631,7 +2631,7 @@ function dp({
2631
2631
  ), A = !r && t.subscribed !== !1;
2632
2632
  I.useSyncExternalStore(
2633
2633
  I.useCallback(
2634
- (d) => A ? f.subscribe(ht.batchCalls(d)) : Ei,
2634
+ (d) => A ? f.subscribe(ht.batchCalls(d)) : mi,
2635
2635
  [f, A]
2636
2636
  ),
2637
2637
  () => f.getCurrentResult(),
@@ -2650,10 +2650,10 @@ function dp({
2650
2650
  ) ? s.flatMap((d, l) => {
2651
2651
  const C = i[l];
2652
2652
  if (C) {
2653
- const F = new Zi(u, C);
2653
+ const F = new Ji(u, C);
2654
2654
  if (z1(C, d))
2655
- return mi(C, F, o);
2656
- sl(d, r) && mi(C, F, o);
2655
+ return bi(C, F, o);
2656
+ sl(d, r) && bi(C, F, o);
2657
2657
  }
2658
2658
  return [];
2659
2659
  }) : [];
@@ -2697,7 +2697,7 @@ function cl(e, t, n) {
2697
2697
  if (I.useSyncExternalStore(
2698
2698
  I.useCallback(
2699
2699
  (l) => {
2700
- const C = D ? s.subscribe(ht.batchCalls(l)) : Ei;
2700
+ const C = D ? s.subscribe(ht.batchCalls(l)) : mi;
2701
2701
  return s.updateResult(), C;
2702
2702
  },
2703
2703
  [s, D]
@@ -2707,7 +2707,7 @@ function cl(e, t, n) {
2707
2707
  ), I.useEffect(() => {
2708
2708
  s.setOptions(i, { listeners: !1 });
2709
2709
  }, [i, s]), z1(i, c))
2710
- throw mi(i, s, o);
2710
+ throw bi(i, s, o);
2711
2711
  if (il({
2712
2712
  result: c,
2713
2713
  errorResetBoundary: o,
@@ -2723,19 +2723,19 @@ function cl(e, t, n) {
2723
2723
  ), i.experimental_prefetchInRender && !lr && sl(c, r)) {
2724
2724
  const l = f ? (
2725
2725
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
2726
- mi(i, s, o)
2726
+ bi(i, s, o)
2727
2727
  ) : (
2728
2728
  // subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
2729
2729
  (d = u.getQueryCache().get(i.queryHash)) == null ? void 0 : d.promise
2730
2730
  );
2731
- l == null || l.catch(Ei).finally(() => {
2731
+ l == null || l.catch(mi).finally(() => {
2732
2732
  s.updateResult();
2733
2733
  });
2734
2734
  }
2735
2735
  return i.notifyOnChangeProps ? c : s.trackResult(c);
2736
2736
  }
2737
2737
  function xt(e, t) {
2738
- return cl(e, Zi);
2738
+ return cl(e, Ji);
2739
2739
  }
2740
2740
  function yn(e, t) {
2741
2741
  const n = nn(), [u] = I.useState(
@@ -2756,7 +2756,7 @@ function yn(e, t) {
2756
2756
  () => u.getCurrentResult()
2757
2757
  ), o = I.useCallback(
2758
2758
  (i, f) => {
2759
- u.mutate(i, f).catch(Ei);
2759
+ u.mutate(i, f).catch(mi);
2760
2760
  },
2761
2761
  [u]
2762
2762
  );
@@ -2788,7 +2788,7 @@ function gp() {
2788
2788
  IDBCursor.prototype.continuePrimaryKey
2789
2789
  ]);
2790
2790
  }
2791
- const J1 = /* @__PURE__ */ new WeakMap(), Of = /* @__PURE__ */ new WeakMap(), Ji = /* @__PURE__ */ new WeakMap();
2791
+ const J1 = /* @__PURE__ */ new WeakMap(), Of = /* @__PURE__ */ new WeakMap(), Ki = /* @__PURE__ */ new WeakMap();
2792
2792
  function hp(e) {
2793
2793
  const t = new Promise((n, u) => {
2794
2794
  const r = () => {
@@ -2800,7 +2800,7 @@ function hp(e) {
2800
2800
  };
2801
2801
  e.addEventListener("success", o), e.addEventListener("error", i);
2802
2802
  });
2803
- return Ji.set(t, e), t;
2803
+ return Ki.set(t, e), t;
2804
2804
  }
2805
2805
  function Fp(e) {
2806
2806
  if (J1.has(e))
@@ -2853,9 +2853,9 @@ function fr(e) {
2853
2853
  if (Of.has(e))
2854
2854
  return Of.get(e);
2855
2855
  const t = mp(e);
2856
- return t !== e && (Of.set(e, t), Ji.set(t, e)), t;
2856
+ return t !== e && (Of.set(e, t), Ki.set(t, e)), t;
2857
2857
  }
2858
- const Y1 = (e) => Ji.get(e);
2858
+ const Y1 = (e) => Ki.get(e);
2859
2859
  function bp(e, t, { blocked: n, upgrade: u, blocking: r, terminated: o } = {}) {
2860
2860
  const i = indexedDB.open(e, t), f = fr(i);
2861
2861
  return u && i.addEventListener("upgradeneeded", (s) => {
@@ -2913,7 +2913,7 @@ async function* wp(...e) {
2913
2913
  return;
2914
2914
  t = t;
2915
2915
  const n = new Proxy(t, Bp);
2916
- for (Al.set(n, t), Ji.set(n, Y1(t)); t; )
2916
+ for (Al.set(n, t), Ki.set(n, Y1(t)); t; )
2917
2917
  yield n, t = await (q1.get(n) || t.continue()), q1.delete(n);
2918
2918
  }
2919
2919
  function Bc(e, t) {
@@ -2931,13 +2931,13 @@ Dl((e) => ({
2931
2931
  const Ip = "connector-db", Sp = 2, Ea = {
2932
2932
  FEEDBACK: "feedback",
2933
2933
  SLACK: "slack"
2934
- }, Ko = `${Ea.FEEDBACK}:data`, bi = `${Ea.FEEDBACK}:last_submitted`, Yo = `${Ea.FEEDBACK}:capture_on_demand`, qo = `${Ea.FEEDBACK}:show_notification`, pr = `${Ea.SLACK}:avatars`, wc = 500, kp = 12 * 60 * 60 * 1e3, $1 = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= kp : !0, ll = (e, t = !1) => e.captureFeedback && ($1(e.firstViewed) && (!e.lastSubmittedFeedback || $1(e.lastSubmittedFeedback)) || !!t);
2934
+ }, Ko = `${Ea.FEEDBACK}:data`, xi = `${Ea.FEEDBACK}:last_submitted`, Yo = `${Ea.FEEDBACK}:capture_on_demand`, qo = `${Ea.FEEDBACK}:show_notification`, pr = `${Ea.SLACK}:avatars`, wc = 500, kp = 12 * 60 * 60 * 1e3, $1 = (e, t = /* @__PURE__ */ new Date()) => e ? Math.abs(t.getTime() - e.getTime()) >= kp : !0, ll = (e, t = !1) => e.captureFeedback && ($1(e.firstViewed) && (!e.lastSubmittedFeedback || $1(e.lastSubmittedFeedback)) || !!t);
2935
2935
  let Uu = null;
2936
2936
  const $n = async () => {
2937
2937
  try {
2938
2938
  Uu || (Uu = await bp(Ip, Sp, {
2939
2939
  upgrade(e) {
2940
- e.objectStoreNames.contains(Ko) || e.createObjectStore(Ko), e.objectStoreNames.contains(bi) || e.createObjectStore(bi), e.objectStoreNames.contains(Yo) || e.createObjectStore(Yo), e.objectStoreNames.contains(qo) || e.createObjectStore(qo), e.objectStoreNames.contains(pr) || e.createObjectStore(pr, { keyPath: "key" }).createIndex("lastUsed", "lastUsed");
2940
+ e.objectStoreNames.contains(Ko) || e.createObjectStore(Ko), e.objectStoreNames.contains(xi) || e.createObjectStore(xi), e.objectStoreNames.contains(Yo) || e.createObjectStore(Yo), e.objectStoreNames.contains(qo) || e.createObjectStore(qo), e.objectStoreNames.contains(pr) || e.createObjectStore(pr, { keyPath: "key" }).createIndex("lastUsed", "lastUsed");
2941
2941
  },
2942
2942
  blocked() {
2943
2943
  console.warn("Upgrade blocked! Close other tabs using this DB.");
@@ -2967,11 +2967,11 @@ const $n = async () => {
2967
2967
  const t = await $n();
2968
2968
  if (!t) return null;
2969
2969
  try {
2970
- return await t.get(bi, e) || null;
2970
+ return await t.get(xi, e) || null;
2971
2971
  } catch (n) {
2972
2972
  return console.error("Error fetching last submitted feedback:", n), null;
2973
2973
  }
2974
- }, Ki = async (e) => {
2974
+ }, Yi = async (e) => {
2975
2975
  if (!e) return;
2976
2976
  const t = await $n();
2977
2977
  if (t)
@@ -3012,7 +3012,7 @@ const $n = async () => {
3012
3012
  const t = await $n();
3013
3013
  if (t)
3014
3014
  try {
3015
- const n = await ss(e), u = await Ki(e), r = /* @__PURE__ */ new Date(), o = n.map((i) => {
3015
+ const n = await ss(e), u = await Yi(e), r = /* @__PURE__ */ new Date(), o = n.map((i) => {
3016
3016
  const f = ll(i, u);
3017
3017
  return {
3018
3018
  ...i,
@@ -3021,7 +3021,7 @@ const $n = async () => {
3021
3021
  // XOR state toggle
3022
3022
  };
3023
3023
  });
3024
- await t.put(Ko, o, e), await t.put(bi, r, e), u && await t.put(Yo, !1, e);
3024
+ await t.put(Ko, o, e), await t.put(xi, r, e), u && await t.put(Yo, !1, e);
3025
3025
  } catch (n) {
3026
3026
  console.error("Error updating feedback submission date:", n);
3027
3027
  }
@@ -3076,19 +3076,19 @@ const $n = async () => {
3076
3076
  console.error("Error evicting avatars past cap:", t);
3077
3077
  }
3078
3078
  }, Pp = async (e) => {
3079
- const t = await ss(e), n = await Ki(e);
3079
+ const t = await ss(e), n = await Yi(e);
3080
3080
  return t.filter(
3081
3081
  (r) => ll(r, n)
3082
3082
  );
3083
3083
  }, dl = async (e) => {
3084
3084
  const t = await Tp(e);
3085
- return t && !$1(t) ? !1 : await Ki(e) && !t ? !0 : !!(await Pp(e)).length;
3085
+ return t && !$1(t) ? !1 : await Yi(e) && !t ? !0 : !!(await Pp(e)).length;
3086
3086
  }, ZP = async (e, t) => {
3087
3087
  await Op(e, t);
3088
- }, Za = async (e) => {
3088
+ }, Ja = async (e) => {
3089
3089
  e && await Rp(e);
3090
3090
  }, JP = async (e, t) => {
3091
- const n = await Ki(e);
3091
+ const n = await Yi(e);
3092
3092
  t ? n !== !1 && await Ic(e, t) : await Ic(e, void 0);
3093
3093
  }, _p = async (e) => await Lp(e) && await dl(e), Hp = async (e) => {
3094
3094
  await Np(e);
@@ -3099,10 +3099,10 @@ function pl(e, t) {
3099
3099
  return e.apply(t, arguments);
3100
3100
  };
3101
3101
  }
3102
- const { toString: Up } = Object.prototype, { getPrototypeOf: cs } = Object, Yi = /* @__PURE__ */ ((e) => (t) => {
3102
+ const { toString: Up } = Object.prototype, { getPrototypeOf: cs } = Object, qi = /* @__PURE__ */ ((e) => (t) => {
3103
3103
  const n = Up.call(t);
3104
3104
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
3105
- })(/* @__PURE__ */ Object.create(null)), Rn = (e) => (e = e.toLowerCase(), (t) => Yi(t) === e), qi = (e) => (t) => typeof t === e, { isArray: go } = Array, $o = qi("undefined");
3105
+ })(/* @__PURE__ */ Object.create(null)), Rn = (e) => (e = e.toLowerCase(), (t) => qi(t) === e), $i = (e) => (t) => typeof t === e, { isArray: go } = Array, $o = $i("undefined");
3106
3106
  function Wp(e) {
3107
3107
  return e !== null && !$o(e) && e.constructor !== null && !$o(e.constructor) && sn(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3108
3108
  }
@@ -3111,14 +3111,14 @@ function Vp(e) {
3111
3111
  let t;
3112
3112
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Cl(e.buffer), t;
3113
3113
  }
3114
- const Gp = qi("string"), sn = qi("function"), gl = qi("number"), $i = (e) => e !== null && typeof e == "object", Xp = (e) => e === !0 || e === !1, Ja = (e) => {
3115
- if (Yi(e) !== "object")
3114
+ const Gp = $i("string"), sn = $i("function"), gl = $i("number"), ef = (e) => e !== null && typeof e == "object", Xp = (e) => e === !0 || e === !1, Ka = (e) => {
3115
+ if (qi(e) !== "object")
3116
3116
  return !1;
3117
3117
  const t = cs(e);
3118
3118
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3119
- }, zp = Rn("Date"), Zp = Rn("File"), Jp = Rn("Blob"), Kp = Rn("FileList"), Yp = (e) => $i(e) && sn(e.pipe), qp = (e) => {
3119
+ }, zp = Rn("Date"), Zp = Rn("File"), Jp = Rn("Blob"), Kp = Rn("FileList"), Yp = (e) => ef(e) && sn(e.pipe), qp = (e) => {
3120
3120
  let t;
3121
- return e && (typeof FormData == "function" && e instanceof FormData || sn(e.append) && ((t = Yi(e)) === "formdata" || // detect form-data instance
3121
+ return e && (typeof FormData == "function" && e instanceof FormData || sn(e.append) && ((t = qi(e)) === "formdata" || // detect form-data instance
3122
3122
  t === "object" && sn(e.toString) && e.toString() === "[object FormData]"));
3123
3123
  }, $p = Rn("URLSearchParams"), [e6, t6, n6, u6] = ["ReadableStream", "Request", "Response", "Headers"].map(Rn), r6 = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3124
3124
  function ma(e, t, { allOwnKeys: n = !1 } = {}) {
@@ -3148,7 +3148,7 @@ const Yu = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
3148
3148
  function t0() {
3149
3149
  const { caseless: e } = Fl(this) && this || {}, t = {}, n = (u, r) => {
3150
3150
  const o = e && hl(t, r) || r;
3151
- Ja(t[o]) && Ja(u) ? t[o] = t0(t[o], u) : Ja(u) ? t[o] = t0({}, u) : go(u) ? t[o] = u.slice() : t[o] = u;
3151
+ Ka(t[o]) && Ka(u) ? t[o] = t0(t[o], u) : Ka(u) ? t[o] = t0({}, u) : go(u) ? t[o] = u.slice() : t[o] = u;
3152
3152
  };
3153
3153
  for (let u = 0, r = arguments.length; u < r; u++)
3154
3154
  arguments[u] && ma(arguments[u], n);
@@ -3246,7 +3246,7 @@ function b6(e) {
3246
3246
  }
3247
3247
  const x6 = (e) => {
3248
3248
  const t = new Array(10), n = (u, r) => {
3249
- if ($i(u)) {
3249
+ if (ef(u)) {
3250
3250
  if (t.indexOf(u) >= 0)
3251
3251
  return;
3252
3252
  if (!("toJSON" in u)) {
@@ -3261,7 +3261,7 @@ const x6 = (e) => {
3261
3261
  return u;
3262
3262
  };
3263
3263
  return n(e, 0);
3264
- }, v6 = Rn("AsyncFunction"), y6 = (e) => e && ($i(e) || sn(e)) && sn(e.then) && sn(e.catch), bl = ((e, t) => e ? setImmediate : t ? ((n, u) => (Yu.addEventListener("message", ({ source: r, data: o }) => {
3264
+ }, v6 = Rn("AsyncFunction"), y6 = (e) => e && (ef(e) || sn(e)) && sn(e.then) && sn(e.catch), bl = ((e, t) => e ? setImmediate : t ? ((n, u) => (Yu.addEventListener("message", ({ source: r, data: o }) => {
3265
3265
  r === Yu && o === n && u.length && u.shift()();
3266
3266
  }, !1), (r) => {
3267
3267
  u.push(r), Yu.postMessage(n, "*");
@@ -3277,8 +3277,8 @@ const x6 = (e) => {
3277
3277
  isString: Gp,
3278
3278
  isNumber: gl,
3279
3279
  isBoolean: Xp,
3280
- isObject: $i,
3281
- isPlainObject: Ja,
3280
+ isObject: ef,
3281
+ isPlainObject: Ka,
3282
3282
  isReadableStream: e6,
3283
3283
  isRequest: t6,
3284
3284
  isResponse: n6,
@@ -3300,7 +3300,7 @@ const x6 = (e) => {
3300
3300
  stripBOM: a6,
3301
3301
  inherits: i6,
3302
3302
  toFlatObject: f6,
3303
- kindOf: Yi,
3303
+ kindOf: qi,
3304
3304
  kindOfTest: Rn,
3305
3305
  endsWith: s6,
3306
3306
  toArray: c6,
@@ -3396,7 +3396,7 @@ function I6(e) {
3396
3396
  const S6 = Z.toFlatObject(Z, {}, null, function(t) {
3397
3397
  return /^is[A-Z]/.test(t);
3398
3398
  });
3399
- function ef(e, t, n) {
3399
+ function tf(e, t, n) {
3400
3400
  if (!Z.isObject(e))
3401
3401
  throw new TypeError("target must be an object");
3402
3402
  t = t || new FormData(), n = Z.toFlatObject(n, {
@@ -3472,7 +3472,7 @@ function Lc(e) {
3472
3472
  });
3473
3473
  }
3474
3474
  function Ds(e, t) {
3475
- this._pairs = [], e && ef(e, this, t);
3475
+ this._pairs = [], e && tf(e, this, t);
3476
3476
  }
3477
3477
  const Bl = Ds.prototype;
3478
3478
  Bl.append = function(t, n) {
@@ -3579,7 +3579,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Q6
3579
3579
  ...R6
3580
3580
  };
3581
3581
  function P6(e, t) {
3582
- return ef(e, new $t.classes.URLSearchParams(), Object.assign({
3582
+ return tf(e, new $t.classes.URLSearchParams(), Object.assign({
3583
3583
  visitor: function(n, u, r, o) {
3584
3584
  return $t.isNode && Z.isBuffer(n) ? (this.append(u, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
3585
3585
  }
@@ -3641,7 +3641,7 @@ const ba = {
3641
3641
  return P6(t, this.formSerializer).toString();
3642
3642
  if ((f = Z.isFileList(t)) || u.indexOf("multipart/form-data") > -1) {
3643
3643
  const s = this.env && this.env.FormData;
3644
- return ef(
3644
+ return tf(
3645
3645
  f ? { "files[]": t } : t,
3646
3646
  s && new s(),
3647
3647
  this.formSerializer
@@ -3720,8 +3720,8 @@ const W6 = Z.toObjectSet([
3720
3720
  function ko(e) {
3721
3721
  return e && String(e).trim().toLowerCase();
3722
3722
  }
3723
- function Ka(e) {
3724
- return e === !1 || e == null ? e : Z.isArray(e) ? e.map(Ka) : String(e);
3723
+ function Ya(e) {
3724
+ return e === !1 || e == null ? e : Z.isArray(e) ? e.map(Ya) : String(e);
3725
3725
  }
3726
3726
  function G6(e) {
3727
3727
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -3766,7 +3766,7 @@ let en = class {
3766
3766
  if (!D)
3767
3767
  throw new Error("header name must be a non-empty string");
3768
3768
  const A = Z.findKey(r, D);
3769
- (!A || r[A] === void 0 || c === !0 || c === void 0 && r[A] !== !1) && (r[A || s] = Ka(f));
3769
+ (!A || r[A] === void 0 || c === !0 || c === void 0 && r[A] !== !1) && (r[A || s] = Ya(f));
3770
3770
  }
3771
3771
  const i = (f, s) => Z.forEach(f, (c, D) => o(c, D, s));
3772
3772
  if (Z.isPlainObject(t) || t instanceof this.constructor)
@@ -3829,11 +3829,11 @@ let en = class {
3829
3829
  return Z.forEach(this, (r, o) => {
3830
3830
  const i = Z.findKey(u, o);
3831
3831
  if (i) {
3832
- n[i] = Ka(r), delete n[o];
3832
+ n[i] = Ya(r), delete n[o];
3833
3833
  return;
3834
3834
  }
3835
3835
  const f = t ? z6(o) : String(o).trim();
3836
- f !== o && delete n[o], n[f] = Ka(r), u[f] = !0;
3836
+ f !== o && delete n[o], n[f] = Ya(r), u[f] = !0;
3837
3837
  }), this;
3838
3838
  }
3839
3839
  concat(...t) {
@@ -3942,7 +3942,7 @@ function Y6(e, t) {
3942
3942
  }, u - A)));
3943
3943
  }, () => r && i(r)];
3944
3944
  }
3945
- const xi = (e, t, n = 3) => {
3945
+ const vi = (e, t, n = 3) => {
3946
3946
  let u = 0;
3947
3947
  const r = K6(50, 250);
3948
3948
  return Y6((o) => {
@@ -4168,7 +4168,7 @@ const Ol = (e) => {
4168
4168
  )), l = null;
4169
4169
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in l && Z.forEach(i.toJSON(), function(b, m) {
4170
4170
  l.setRequestHeader(m, b);
4171
- }), Z.isUndefined(r.withCredentials) || (l.withCredentials = !!r.withCredentials), f && f !== "json" && (l.responseType = r.responseType), c && ([g, p] = xi(c, !0), l.addEventListener("progress", g)), s && l.upload && ([A, h] = xi(s), l.upload.addEventListener("progress", A), l.upload.addEventListener("loadend", h)), (r.cancelToken || r.signal) && (D = (E) => {
4171
+ }), Z.isUndefined(r.withCredentials) || (l.withCredentials = !!r.withCredentials), f && f !== "json" && (l.responseType = r.responseType), c && ([g, p] = vi(c, !0), l.addEventListener("progress", g)), s && l.upload && ([A, h] = vi(s), l.upload.addEventListener("progress", A), l.upload.addEventListener("loadend", h)), (r.cancelToken || r.signal) && (D = (E) => {
4172
4172
  l && (u(!E || E.type ? new ho(null, e, l) : E), l.abort(), l = null);
4173
4173
  }, r.cancelToken && r.cancelToken.subscribe(D), r.signal && (r.signal.aborted ? D() : r.signal.addEventListener("abort", D)));
4174
4174
  const F = J6(r.url);
@@ -4258,7 +4258,7 @@ const Ol = (e) => {
4258
4258
  }, {
4259
4259
  highWaterMark: 2
4260
4260
  });
4261
- }, tf = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Rl = tf && typeof ReadableStream == "function", fC = tf && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Nl = (e, ...t) => {
4261
+ }, nf = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Rl = nf && typeof ReadableStream == "function", fC = nf && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Nl = (e, ...t) => {
4262
4262
  try {
4263
4263
  return !!e(...t);
4264
4264
  } catch {
@@ -4274,12 +4274,12 @@ const Ol = (e) => {
4274
4274
  }
4275
4275
  }).headers.has("Content-Type");
4276
4276
  return e && !t;
4277
- }), Pc = 64 * 1024, r0 = Rl && Nl(() => Z.isReadableStream(new Response("").body)), vi = {
4277
+ }), Pc = 64 * 1024, r0 = Rl && Nl(() => Z.isReadableStream(new Response("").body)), yi = {
4278
4278
  stream: r0 && ((e) => e.body)
4279
4279
  };
4280
- tf && ((e) => {
4280
+ nf && ((e) => {
4281
4281
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
4282
- !vi[t] && (vi[t] = Z.isFunction(e[t]) ? (n) => n[t]() : (n, u) => {
4282
+ !yi[t] && (yi[t] = Z.isFunction(e[t]) ? (n) => n[t]() : (n, u) => {
4283
4283
  throw new _e(`Response type '${t}' is not supported`, _e.ERR_NOT_SUPPORT, u);
4284
4284
  });
4285
4285
  });
@@ -4301,7 +4301,7 @@ const cC = async (e) => {
4301
4301
  }, DC = async (e, t) => {
4302
4302
  const n = Z.toFiniteNumber(e.getContentLength());
4303
4303
  return n ?? cC(t);
4304
- }, AC = tf && (async (e) => {
4304
+ }, AC = nf && (async (e) => {
4305
4305
  let {
4306
4306
  url: t,
4307
4307
  method: n,
@@ -4332,7 +4332,7 @@ const cC = async (e) => {
4332
4332
  if (Z.isFormData(u) && (x = m.headers.get("content-type")) && D.setContentType(x), m.body) {
4333
4333
  const [y, B] = Nc(
4334
4334
  l,
4335
- xi(Mc(s))
4335
+ vi(Mc(s))
4336
4336
  );
4337
4337
  u = jc(m.body, Pc, y, B);
4338
4338
  }
@@ -4357,7 +4357,7 @@ const cC = async (e) => {
4357
4357
  });
4358
4358
  const x = Z.toFiniteNumber(F.headers.get("content-length")), [y, B] = f && Nc(
4359
4359
  x,
4360
- xi(Mc(f), !0)
4360
+ vi(Mc(f), !0)
4361
4361
  ) || [];
4362
4362
  F = new Response(
4363
4363
  jc(F.body, Pc, y, () => {
@@ -4367,7 +4367,7 @@ const cC = async (e) => {
4367
4367
  );
4368
4368
  }
4369
4369
  c = c || "text";
4370
- let b = await vi[Z.findKey(vi, c) || "text"](F, e);
4370
+ let b = await yi[Z.findKey(yi, c) || "text"](F, e);
4371
4371
  return !E && d && d(), await new Promise((m, x) => {
4372
4372
  Tl(m, x, {
4373
4373
  data: b,
@@ -4781,7 +4781,7 @@ Et.CanceledError = ho;
4781
4781
  Et.CancelToken = pC;
4782
4782
  Et.isCancel = kl;
4783
4783
  Et.VERSION = Ql;
4784
- Et.toFormData = ef;
4784
+ Et.toFormData = tf;
4785
4785
  Et.AxiosError = _e;
4786
4786
  Et.Cancel = Et.CanceledError;
4787
4787
  Et.all = function(t) {
@@ -5405,7 +5405,7 @@ function Ul() {
5405
5405
  };
5406
5406
  return Sn.logoutFromHeimdall = h, Sn;
5407
5407
  }
5408
- var nf = {}, og = Ne && Ne.__awaiter || function(e, t, n, u) {
5408
+ var uf = {}, og = Ne && Ne.__awaiter || function(e, t, n, u) {
5409
5409
  function r(o) {
5410
5410
  return o instanceof n ? o : new n(function(i) {
5411
5411
  i(o);
@@ -5491,8 +5491,8 @@ var nf = {}, og = Ne && Ne.__awaiter || function(e, t, n, u) {
5491
5491
  return { value: c[0] ? c[1] : void 0, done: !0 };
5492
5492
  }
5493
5493
  };
5494
- Object.defineProperty(nf, "__esModule", { value: !0 });
5495
- nf.subscribeToOnlineEvent = void 0;
5494
+ Object.defineProperty(uf, "__esModule", { value: !0 });
5495
+ uf.subscribeToOnlineEvent = void 0;
5496
5496
  var Vc = Qu, ig = Kn, fg = function(e, t) {
5497
5497
  switch (t === void 0 && (t = (0, ig.getValue)("PLATFORM")), console.log("Online status detected. Fetching token..."), t) {
5498
5498
  case Vc.PLATFORM.WEB:
@@ -5515,7 +5515,7 @@ var Vc = Qu, ig = Kn, fg = function(e, t) {
5515
5515
  throw Error("Invalid PLATFORM ".concat(t));
5516
5516
  }
5517
5517
  };
5518
- nf.subscribeToOnlineEvent = fg;
5518
+ uf.subscribeToOnlineEvent = fg;
5519
5519
  var Gc;
5520
5520
  function Wl() {
5521
5521
  if (Gc) return To;
@@ -5607,7 +5607,7 @@ function Wl() {
5607
5607
  }
5608
5608
  };
5609
5609
  Object.defineProperty(To, "__esModule", { value: !0 }), To.fetchAccessToken = void 0;
5610
- var n = Ul(), u = Qu, r = et, o = nf, i, f, s, c = function(p, d, l, C, F, E) {
5610
+ var n = Ul(), u = Qu, r = et, o = uf, i, f, s, c = function(p, d, l, C, F, E) {
5611
5611
  return E === void 0 && (E = u.APP_UI.DEFAULT), e(void 0, void 0, void 0, function() {
5612
5612
  var b, m, x, y, B, S, O, M, T;
5613
5613
  return t(this, function(N) {
@@ -7026,13 +7026,13 @@ const Fn = {
7026
7026
  connectorFunctions: { redirectToAdmin: () => {
7027
7027
  } },
7028
7028
  stackingContext: {}
7029
- }, lt = ga(Th), Ya = "hiver_connectors", c0 = {
7029
+ }, lt = ga(Th), qa = "hiver_connectors", c0 = {
7030
7030
  NOT_FOUND: 404
7031
- }, Lh = "ftr-connector-blue-dot", ql = "ftr-connectors-write-flow", Oh = "ftr-connectors-enhancements", Rh = "ftr-connector-schedule-call-agent", Nh = "ftr-connectors-edit", Mh = "enableAllConnectorFtr", Qh = "ftr-cards-open-state", jh = "ftr-connectors-global-search", Ph = "ftr-connectors-smart-suggestions", _h = "ftr-connectors-email-selection", Hh = "ftr-connector-agent-feedback", uf = "ftr-connector-unified-view", Uh = "ftr-connectors-expanded-form", $c = "ftr-apps-lookup-revamp", Wh = "ftr-ci-configurable-fields", eD = "Please refresh and try again", Vh = "No data available", Xn = "-", $l = "Refresh", e2 = "Minimize", bs = "Expand", t2 = "Connectors", xs = "Apps", Gh = "Collapse", Xh = "Close", n2 = "Link", zh = "Create", Zh = "Update", u2 = "Unlink", r2 = "Edit", vs = "Cancel", ys = "Create new object", o2 = "Link existing object", Jh = "Are you sure you want to unlink this object?", Kh = "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.", Yh = "Edit card", qh = "bullet_list", $h = "Expanded", eF = "Collapsed", a2 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", i2 = "UNKNOWN_ERROR", tF = "WORKSPACE_ACCESS_DENIED", nF = "You don't have access to this card's workspace", uF = "https://help.hiverhq.com/custom-connectors/common-connector-errors", tD = {
7031
+ }, Lh = "ftr-connector-blue-dot", ql = "ftr-connectors-write-flow", Oh = "ftr-connectors-enhancements", Rh = "ftr-connector-schedule-call-agent", Nh = "ftr-connectors-edit", Mh = "enableAllConnectorFtr", Qh = "ftr-cards-open-state", jh = "ftr-connectors-global-search", Ph = "ftr-connectors-smart-suggestions", _h = "ftr-connectors-email-selection", Hh = "ftr-connector-agent-feedback", rf = "ftr-connector-unified-view", Uh = "ftr-connectors-expanded-form", $c = "ftr-apps-lookup-revamp", Wh = "ftr-ci-configurable-fields", eD = "Please refresh and try again", Vh = "No data available", Xn = "-", $l = "Refresh", e2 = "Minimize", bs = "Expand", t2 = "Connectors", xs = "Apps", Gh = "Collapse", Xh = "Close", n2 = "Link", zh = "Create", Zh = "Update", u2 = "Unlink", r2 = "Edit", vs = "Cancel", ys = "Create new object", o2 = "Link existing object", Jh = "Are you sure you want to unlink this object?", Kh = "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.", Yh = "Edit card", qh = "bullet_list", $h = "Expanded", eF = "Collapsed", a2 = "Something is wrong with the {{connector_name}} Connector setup. Please check our help guide <>here<>.", i2 = "UNKNOWN_ERROR", tF = "WORKSPACE_ACCESS_DENIED", nF = "You don't have access to this card's workspace", uF = "https://help.hiverhq.com/custom-connectors/common-connector-errors", tD = {
7032
7032
  MAIN_BUTTON: "main_button",
7033
7033
  ICON: "create_icon"
7034
7034
  }, rF = " Add custom field", Bs = (e) => {
7035
- let t = localStorage.getItem(Ya);
7035
+ let t = localStorage.getItem(qa);
7036
7036
  return t = t ? JSON.parse(t) : !1, t == null ? void 0 : t[e];
7037
7037
  }, oF = (e) => !!Bs(e), f2 = () => {
7038
7038
  const { userId: e = "" } = Dn() || {};
@@ -7043,14 +7043,14 @@ const Fn = {
7043
7043
  }, _f = (e, t = !1, n = !1) => {
7044
7044
  const u = f2(), r = Bs(e);
7045
7045
  if (t || !r) {
7046
- localStorage.removeItem(Ya);
7046
+ localStorage.removeItem(qa);
7047
7047
  const o = {
7048
7048
  [e]: {
7049
7049
  ...!n && { isExtensionNew: t ? [] : [u] },
7050
7050
  ...n && { extensionExpand: [u] }
7051
7051
  }
7052
7052
  };
7053
- localStorage.setItem(Ya, JSON.stringify(o));
7053
+ localStorage.setItem(qa, JSON.stringify(o));
7054
7054
  return;
7055
7055
  } else {
7056
7056
  const o = (r == null ? void 0 : r.isExtensionNew) ?? [], i = (r == null ? void 0 : r.extensionExpand) ?? [], f = {
@@ -7060,7 +7060,7 @@ const Fn = {
7060
7060
  ...n && { extensionExpand: [.../* @__PURE__ */ new Set([...i, u])] }
7061
7061
  }
7062
7062
  };
7063
- localStorage.setItem(Ya, JSON.stringify(f));
7063
+ localStorage.setItem(qa, JSON.stringify(f));
7064
7064
  return;
7065
7065
  }
7066
7066
  }, yt = (e = {}, t) => e && typeof e[t] > "u" ? (e == null ? void 0 : e[Mh]) === !0 : (e == null ? void 0 : e[t]) === !0, Bt = (e, t) => e.replace(/:(\w+)/g, (n, u) => String(t[u]) || ""), nD = (e, t, n, u = !1) => {
@@ -7112,14 +7112,16 @@ const fF = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
7112
7112
  pointer-events: none;
7113
7113
  height: 0;
7114
7114
  padding-top: 0;
7115
+ padding-bottom: 0;
7115
7116
  }
7116
7117
  to {
7117
7118
  transform: translateY(0);
7118
7119
  opacity: 1;
7119
7120
  display: flex;
7120
7121
  pointer-events: auto;
7121
- height: 48px;
7122
+ height: 56px;
7122
7123
  padding-top: 20px;
7124
+ padding-bottom: 8px;
7123
7125
  }
7124
7126
  `, DF = es`
7125
7127
  from {
@@ -7163,11 +7165,15 @@ const fF = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
7163
7165
  pointer-events: none;
7164
7166
  height: 0;
7165
7167
  padding-top: 0;
7168
+ padding-bottom: 0;
7166
7169
  &.fade-in {
7167
7170
  display: flex;
7168
7171
  pointer-events: auto;
7169
- height: 48px;
7172
+ /* 20px above + 4px below the 28px button — the container is the last thing in
7173
+ the panel, so without the bottom padding the button sits on its edge. */
7174
+ height: 56px;
7170
7175
  padding-top: 20px;
7176
+ padding-bottom: 8px;
7171
7177
  animation: ${cF} 0.4s ease-in forwards;
7172
7178
  }
7173
7179
  `, lF = w(P)`
@@ -7295,7 +7301,7 @@ const fF = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
7295
7301
  connector_names: e,
7296
7302
  source: "collapsed_feedback_btn",
7297
7303
  star_rating: 0
7298
- }), Za(i);
7304
+ }), Ja(i);
7299
7305
  }, d = (F) => {
7300
7306
  u(f0, {
7301
7307
  sm_ids: n,
@@ -7315,14 +7321,14 @@ const fF = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
7315
7321
  star_rating: String(F)
7316
7322
  }
7317
7323
  });
7318
- h(F), window.open(E, "_blank"), c(!1), Za(i);
7324
+ h(F), window.open(E, "_blank"), c(!1), Ja(i);
7319
7325
  }, l = () => {
7320
7326
  u(ph, {
7321
7327
  sm_ids: n,
7322
7328
  ug_id: o,
7323
7329
  connector_names: e,
7324
7330
  source: "expanded_feedback_btn"
7325
- }), A(!0), Za(i);
7331
+ }), A(!0), Ja(i);
7326
7332
  }, C = () => {
7327
7333
  D && (c(!1), A(!1));
7328
7334
  };
@@ -7486,7 +7492,7 @@ const fF = (e) => /* @__PURE__ */ I.createElement("svg", { width: 20, height: 21
7486
7492
  & > path:first-of-type {
7487
7493
  fill: currentColor;
7488
7494
  }
7489
- `, yi = w(Y)`
7495
+ `, Bi = w(Y)`
7490
7496
  text-align: left;
7491
7497
  color: var(--connector-text-primary);
7492
7498
  `, C2 = w(I4)`
@@ -7654,7 +7660,7 @@ const _F = w(j)`
7654
7660
  transform: rotate(135deg);
7655
7661
  }
7656
7662
  }
7657
- `, vn = w(Vi)`
7663
+ `, vn = w(Gi)`
7658
7664
  display: block;
7659
7665
  margin: ${(e) => e.margin ? e.margin : 0};
7660
7666
  `, Ao = w(at)`
@@ -7709,7 +7715,7 @@ const _F = w(j)`
7709
7715
  `, YF = w(S4)`
7710
7716
  background-color: var(--connector-surface);
7711
7717
  border-bottom: 1px solid var(--connector-border-strong);
7712
- `, qF = w(Gi)`
7718
+ `, qF = w(Xi)`
7713
7719
  height: 12px;
7714
7720
  padding: 12px 16px;
7715
7721
  border-top: 1px solid var(--connector-border-strong);
@@ -7739,7 +7745,7 @@ const _F = w(j)`
7739
7745
  border-radius: 0px 0px 5px 0px;
7740
7746
  }
7741
7747
  }
7742
- `, e9 = w(Gi)`
7748
+ `, e9 = w(Xi)`
7743
7749
  height: 32px;
7744
7750
  padding: 8px 16px;
7745
7751
  border-right: 1px solid var(--connector-border-strong);
@@ -7747,14 +7753,14 @@ const _F = w(j)`
7747
7753
  &:first-child {
7748
7754
  border-left: 1px solid var(--connector-border-strong);
7749
7755
  }
7750
- `, t9 = w(Gi)`
7756
+ `, t9 = w(Xi)`
7751
7757
  width: 34px;
7752
7758
  position: sticky;
7753
7759
  right: 0px;
7754
7760
  background-color: var(--connector-surface);
7755
7761
  border: none;
7756
7762
  padding: 0px 2px;
7757
- `, n9 = w(Gi)`
7763
+ `, n9 = w(Xi)`
7758
7764
  padding: 16px 19px;
7759
7765
  position: sticky;
7760
7766
  right: 0px;
@@ -7856,7 +7862,7 @@ const _F = w(j)`
7856
7862
  handleCreateNewObject: o,
7857
7863
  handleLinkNewObject: i
7858
7864
  }) => {
7859
- const f = ie(null), s = ie(null), [c, D] = W(null), A = !!c, { connectorName: g, connectorId: h, isReady: p } = A2(), { availableFeatures: d, sendTrackingEvent: l, currentSmIds: C, userEmail: F } = Ue(lt), { userGroupId: E, userId: b } = Dn() || {}, m = yt(d, uf), x = [
7865
+ const f = ie(null), s = ie(null), [c, D] = W(null), A = !!c, { connectorName: g, connectorId: h, isReady: p } = A2(), { availableFeatures: d, sendTrackingEvent: l, currentSmIds: C, userEmail: F } = Ue(lt), { userGroupId: E, userId: b } = Dn() || {}, m = yt(d, rf), x = [
7860
7866
  {
7861
7867
  id: "rate-experience",
7862
7868
  label: "Rate your experience",
@@ -7879,7 +7885,7 @@ const _F = w(j)`
7879
7885
  ug_id: E,
7880
7886
  connector_names: e,
7881
7887
  source: "help_drop_down"
7882
- }), Za(b);
7888
+ }), Ja(b);
7883
7889
  }
7884
7890
  },
7885
7891
  {
@@ -7930,9 +7936,9 @@ const _F = w(j)`
7930
7936
  }
7931
7937
  ),
7932
7938
  /* @__PURE__ */ a.jsxs(MF, { ref: f, children: [
7933
- g && h ? /* @__PURE__ */ a.jsx(P, { direction: "row", alignItems: "center", gap: "8px", minHeight: "36px", children: /* @__PURE__ */ a.jsx(yi, { variant: "body_sm_medium", children: g }) }) : /* @__PURE__ */ a.jsxs(P, { direction: "row", alignItems: "center", gap: "8px", children: [
7939
+ g && h ? /* @__PURE__ */ a.jsx(P, { direction: "row", alignItems: "center", gap: "8px", minHeight: "36px", children: /* @__PURE__ */ a.jsx(Bi, { variant: "body_sm_medium", children: g }) }) : /* @__PURE__ */ a.jsxs(P, { direction: "row", alignItems: "center", gap: "8px", children: [
7934
7940
  m ? /* @__PURE__ */ a.jsx(p2, { width: "20px", height: "20px" }) : /* @__PURE__ */ a.jsx(d2, {}),
7935
- /* @__PURE__ */ a.jsx(yi, { variant: "body_sm_medium", children: m ? xs : t2 })
7941
+ /* @__PURE__ */ a.jsx(Bi, { variant: "body_sm_medium", children: m ? xs : t2 })
7936
7942
  ] }),
7937
7943
  /* @__PURE__ */ a.jsxs(P, { direction: "row", children: [
7938
7944
  /* @__PURE__ */ a.jsx(Be, { title: Lg, placement: "bottom", children: /* @__PURE__ */ a.jsx(at, { onClick: B, id: "help-button", sx: Uf, children: /* @__PURE__ */ a.jsx(LF, { "aria-hidden": !0 }) }) }),
@@ -8542,7 +8548,7 @@ function v2(e) {
8542
8548
  return c = c || u.length !== Object.keys(f).length, c ? D : f;
8543
8549
  };
8544
8550
  }
8545
- function Bi(...e) {
8551
+ function wi(...e) {
8546
8552
  return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, n) => (...u) => t(n(...u)));
8547
8553
  }
8548
8554
  function K9(...e) {
@@ -8555,7 +8561,7 @@ function K9(...e) {
8555
8561
  getState: r.getState,
8556
8562
  dispatch: (s, ...c) => o(s, ...c)
8557
8563
  }, f = e.map((s) => s(i));
8558
- return o = Bi(...f)(r.dispatch), {
8564
+ return o = wi(...f)(r.dispatch), {
8559
8565
  ...r,
8560
8566
  dispatch: o
8561
8567
  };
@@ -8610,7 +8616,7 @@ function gr(e) {
8610
8616
  }
8611
8617
  function Du(e) {
8612
8618
  var t;
8613
- return e ? w2(e) || Array.isArray(e) || !!e[lD] || !!((t = e.constructor) != null && t[lD]) || of(e) || af(e) : !1;
8619
+ return e ? w2(e) || Array.isArray(e) || !!e[lD] || !!((t = e.constructor) != null && t[lD]) || af(e) || ff(e) : !1;
8614
8620
  }
8615
8621
  var q9 = Object.prototype.constructor.toString();
8616
8622
  function w2(e) {
@@ -8622,38 +8628,38 @@ function w2(e) {
8622
8628
  const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
8623
8629
  return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === q9;
8624
8630
  }
8625
- function wi(e, t) {
8626
- rf(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
8631
+ function Ii(e, t) {
8632
+ of(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
8627
8633
  t(n, e[n], e);
8628
8634
  }) : e.forEach((n, u) => t(u, n, e));
8629
8635
  }
8630
- function rf(e) {
8636
+ function of(e) {
8631
8637
  const t = e[An];
8632
- return t ? t.type_ : Array.isArray(e) ? 1 : of(e) ? 2 : af(e) ? 3 : 0;
8638
+ return t ? t.type_ : Array.isArray(e) ? 1 : af(e) ? 2 : ff(e) ? 3 : 0;
8633
8639
  }
8634
8640
  function d0(e, t) {
8635
- return rf(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
8641
+ return of(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
8636
8642
  }
8637
8643
  function I2(e, t, n) {
8638
- const u = rf(e);
8644
+ const u = of(e);
8639
8645
  u === 2 ? e.set(t, n) : u === 3 ? e.add(n) : e[t] = n;
8640
8646
  }
8641
8647
  function $9(e, t) {
8642
8648
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
8643
8649
  }
8644
- function of(e) {
8650
+ function af(e) {
8645
8651
  return e instanceof Map;
8646
8652
  }
8647
- function af(e) {
8653
+ function ff(e) {
8648
8654
  return e instanceof Set;
8649
8655
  }
8650
8656
  function zu(e) {
8651
8657
  return e.copy_ || e.base_;
8652
8658
  }
8653
8659
  function p0(e, t) {
8654
- if (of(e))
8655
- return new Map(e);
8656
8660
  if (af(e))
8661
+ return new Map(e);
8662
+ if (ff(e))
8657
8663
  return new Set(e);
8658
8664
  if (Array.isArray(e))
8659
8665
  return Array.prototype.slice.call(e);
@@ -8682,12 +8688,12 @@ function p0(e, t) {
8682
8688
  }
8683
8689
  }
8684
8690
  function Ss(e, t = !1) {
8685
- return ff(e) || gr(e) || !Du(e) || (rf(e) > 1 && (e.set = e.add = e.clear = e.delete = eE), Object.freeze(e), t && Object.entries(e).forEach(([n, u]) => Ss(u, !0))), e;
8691
+ return sf(e) || gr(e) || !Du(e) || (of(e) > 1 && (e.set = e.add = e.clear = e.delete = eE), Object.freeze(e), t && Object.entries(e).forEach(([n, u]) => Ss(u, !0))), e;
8686
8692
  }
8687
8693
  function eE() {
8688
8694
  Yt(2);
8689
8695
  }
8690
- function ff(e) {
8696
+ function sf(e) {
8691
8697
  return Object.isFrozen(e);
8692
8698
  }
8693
8699
  var tE = {};
@@ -8729,34 +8735,34 @@ function uE(e) {
8729
8735
  function CD(e, t) {
8730
8736
  t.unfinalizedDrafts_ = t.drafts_.length;
8731
8737
  const n = t.drafts_[0];
8732
- return e !== void 0 && e !== n ? (n[An].modified_ && (C0(t), Yt(4)), Du(e) && (e = Ii(t, e), t.parent_ || Si(t, e)), t.patches_ && hr("Patches").generateReplacementPatches_(
8738
+ return e !== void 0 && e !== n ? (n[An].modified_ && (C0(t), Yt(4)), Du(e) && (e = Si(t, e), t.parent_ || ki(t, e)), t.patches_ && hr("Patches").generateReplacementPatches_(
8733
8739
  n[An].base_,
8734
8740
  e,
8735
8741
  t.patches_,
8736
8742
  t.inversePatches_
8737
- )) : e = Ii(t, n, []), C0(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== B2 ? e : void 0;
8743
+ )) : e = Si(t, n, []), C0(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== B2 ? e : void 0;
8738
8744
  }
8739
- function Ii(e, t, n) {
8740
- if (ff(t))
8745
+ function Si(e, t, n) {
8746
+ if (sf(t))
8741
8747
  return t;
8742
8748
  const u = t[An];
8743
8749
  if (!u)
8744
- return wi(
8750
+ return Ii(
8745
8751
  t,
8746
8752
  (r, o) => gD(e, u, t, r, o, n)
8747
8753
  ), t;
8748
8754
  if (u.scope_ !== e)
8749
8755
  return t;
8750
8756
  if (!u.modified_)
8751
- return Si(e, u.base_, !0), u.base_;
8757
+ return ki(e, u.base_, !0), u.base_;
8752
8758
  if (!u.finalized_) {
8753
8759
  u.finalized_ = !0, u.scope_.unfinalizedDrafts_--;
8754
8760
  const r = u.copy_;
8755
8761
  let o = r, i = !1;
8756
- u.type_ === 3 && (o = new Set(r), r.clear(), i = !0), wi(
8762
+ u.type_ === 3 && (o = new Set(r), r.clear(), i = !0), Ii(
8757
8763
  o,
8758
8764
  (f, s) => gD(e, u, r, f, s, n, i)
8759
- ), Si(e, r, !1), n && e.patches_ && hr("Patches").generatePatches_(
8765
+ ), ki(e, r, !1), n && e.patches_ && hr("Patches").generatePatches_(
8760
8766
  u,
8761
8767
  n,
8762
8768
  e.patches_,
@@ -8768,19 +8774,19 @@ function Ii(e, t, n) {
8768
8774
  function gD(e, t, n, u, r, o, i) {
8769
8775
  if (process.env.NODE_ENV !== "production" && r === n && Yt(5), gr(r)) {
8770
8776
  const f = o && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
8771
- !d0(t.assigned_, u) ? o.concat(u) : void 0, s = Ii(e, r, f);
8777
+ !d0(t.assigned_, u) ? o.concat(u) : void 0, s = Si(e, r, f);
8772
8778
  if (I2(n, u, s), gr(s))
8773
8779
  e.canAutoFreeze_ = !1;
8774
8780
  else
8775
8781
  return;
8776
8782
  } else i && n.add(r);
8777
- if (Du(r) && !ff(r)) {
8783
+ if (Du(r) && !sf(r)) {
8778
8784
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
8779
8785
  return;
8780
- Ii(e, r), (!t || !t.scope_.parent_) && typeof u != "symbol" && Object.prototype.propertyIsEnumerable.call(n, u) && Si(e, r);
8786
+ Si(e, r), (!t || !t.scope_.parent_) && typeof u != "symbol" && Object.prototype.propertyIsEnumerable.call(n, u) && ki(e, r);
8781
8787
  }
8782
8788
  }
8783
- function Si(e, t, n = !1) {
8789
+ function ki(e, t, n = !1) {
8784
8790
  !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Ss(t, n);
8785
8791
  }
8786
8792
  function rE(e, t) {
@@ -8868,7 +8874,7 @@ var ks = {
8868
8874
  Yt(12);
8869
8875
  }
8870
8876
  }, ta = {};
8871
- wi(ks, (e, t) => {
8877
+ Ii(ks, (e, t) => {
8872
8878
  ta[e] = function() {
8873
8879
  return arguments[0] = arguments[0][0], t.apply(this, arguments);
8874
8880
  };
@@ -8996,14 +9002,14 @@ var aE = class {
8996
9002
  }
8997
9003
  };
8998
9004
  function F0(e, t) {
8999
- const n = of(e) ? hr("MapSet").proxyMap_(e, t) : af(e) ? hr("MapSet").proxySet_(e, t) : rE(e, t);
9005
+ const n = af(e) ? hr("MapSet").proxyMap_(e, t) : ff(e) ? hr("MapSet").proxySet_(e, t) : rE(e, t);
9000
9006
  return (t ? t.scope_ : S2()).drafts_.push(n), n;
9001
9007
  }
9002
9008
  function iE(e) {
9003
9009
  return gr(e) || Yt(10, e), T2(e);
9004
9010
  }
9005
9011
  function T2(e) {
9006
- if (!Du(e) || ff(e))
9012
+ if (!Du(e) || sf(e))
9007
9013
  return e;
9008
9014
  const t = e[An];
9009
9015
  let n;
@@ -9013,7 +9019,7 @@ function T2(e) {
9013
9019
  t.finalized_ = !0, n = p0(e, t.scope_.immer_.useStrictShallowCopy_);
9014
9020
  } else
9015
9021
  n = p0(e, !0);
9016
- return wi(n, (u, r) => {
9022
+ return Ii(n, (u, r) => {
9017
9023
  I2(n, u, T2(r));
9018
9024
  }), t && (t.finalized_ = !1), n;
9019
9025
  }
@@ -9031,7 +9037,7 @@ function O2(e) {
9031
9037
  }
9032
9038
  var fE = O2(), sE = O2, cE = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
9033
9039
  if (arguments.length !== 0)
9034
- return typeof arguments[0] == "object" ? Bi : Bi.apply(null, arguments);
9040
+ return typeof arguments[0] == "object" ? wi : wi.apply(null, arguments);
9035
9041
  }, R2 = (e) => e && typeof e.match == "function";
9036
9042
  function Wo(e, t) {
9037
9043
  function n(...u) {
@@ -9295,7 +9301,7 @@ Take a look at the reducer(s) handling this action type: ${h.type}.
9295
9301
  };
9296
9302
  }
9297
9303
  }
9298
- function La(e) {
9304
+ function Oa(e) {
9299
9305
  return typeof e == "boolean";
9300
9306
  }
9301
9307
  var hE = () => function(t) {
@@ -9306,18 +9312,18 @@ var hE = () => function(t) {
9306
9312
  actionCreatorCheck: o = !0
9307
9313
  } = t ?? {};
9308
9314
  let i = new M2();
9309
- if (n && (La(n) ? i.push(fE) : i.push(sE(n.extraArgument))), process.env.NODE_ENV !== "production") {
9315
+ if (n && (Oa(n) ? i.push(fE) : i.push(sE(n.extraArgument))), process.env.NODE_ENV !== "production") {
9310
9316
  if (u) {
9311
9317
  let f = {};
9312
- La(u) || (f = u), i.unshift(CE(f));
9318
+ Oa(u) || (f = u), i.unshift(CE(f));
9313
9319
  }
9314
9320
  if (r) {
9315
9321
  let f = {};
9316
- La(r) || (f = r), i.push(gE(f));
9322
+ Oa(r) || (f = r), i.push(gE(f));
9317
9323
  }
9318
9324
  if (o) {
9319
9325
  let f = {};
9320
- La(o) || (f = o), i.unshift(lE(f));
9326
+ Oa(o) || (f = o), i.unshift(lE(f));
9321
9327
  }
9322
9328
  }
9323
9329
  return i;
@@ -9383,7 +9389,7 @@ function xE(e) {
9383
9389
  s = t();
9384
9390
  if (process.env.NODE_ENV !== "production" && s.some((p) => typeof p != "function"))
9385
9391
  throw new Error(process.env.NODE_ENV === "production" ? st(4) : "each middleware provided to configureStore must be a function");
9386
- let c = Bi;
9392
+ let c = wi;
9387
9393
  r && (c = cE({
9388
9394
  // Enable capture of stack traces for dispatched Redux actions
9389
9395
  trace: process.env.NODE_ENV !== "production",
@@ -9777,7 +9783,7 @@ function QE(e, t, n, u) {
9777
9783
  }
9778
9784
  return r.unwrapped = e, r;
9779
9785
  }
9780
- var sf = /* @__PURE__ */ ME();
9786
+ var cf = /* @__PURE__ */ ME();
9781
9787
  function jE() {
9782
9788
  function e(t, n) {
9783
9789
  return {
@@ -9844,13 +9850,13 @@ function UE({
9844
9850
  options: D
9845
9851
  } = n, A = r(e, o, D);
9846
9852
  u.exposeAction(t, A), i && u.addCase(A.fulfilled, i), f && u.addCase(A.pending, f), s && u.addCase(A.rejected, s), c && u.addMatcher(A.settled, c), u.exposeCaseReducer(t, {
9847
- fulfilled: i || Oa,
9848
- pending: f || Oa,
9849
- rejected: s || Oa,
9850
- settled: c || Oa
9853
+ fulfilled: i || Ra,
9854
+ pending: f || Ra,
9855
+ rejected: s || Ra,
9856
+ settled: c || Ra
9851
9857
  });
9852
9858
  }
9853
- function Oa() {
9859
+ function Ra() {
9854
9860
  }
9855
9861
  function st(e) {
9856
9862
  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. `;
@@ -9869,7 +9875,7 @@ function Lu() {
9869
9875
  for (var e, t, n = 0, u = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = G2(e)) && (u && (u += " "), u += t);
9870
9876
  return u;
9871
9877
  }
9872
- const na = (e) => typeof e == "number" && !isNaN(e), Dr = (e) => typeof e == "string", fn = (e) => typeof e == "function", qa = (e) => Dr(e) || fn(e) ? e : null, m0 = (e) => Hr(e) || Dr(e) || fn(e) || na(e);
9878
+ const na = (e) => typeof e == "number" && !isNaN(e), Dr = (e) => typeof e == "string", fn = (e) => typeof e == "function", $a = (e) => Dr(e) || fn(e) ? e : null, m0 = (e) => Hr(e) || Dr(e) || fn(e) || na(e);
9873
9879
  function zE(e, t, n) {
9874
9880
  n === void 0 && (n = 300);
9875
9881
  const { scrollHeight: u, style: r } = e;
@@ -9879,7 +9885,7 @@ function zE(e, t, n) {
9879
9885
  });
9880
9886
  });
9881
9887
  }
9882
- function cf(e) {
9888
+ function Df(e) {
9883
9889
  let { enter: t, exit: n, appendPosition: u = !1, collapse: r = !0, collapseDuration: o = 300 } = e;
9884
9890
  return function(i) {
9885
9891
  let { children: f, position: s, preventExitTransition: c, done: D, nodeRef: A, isIn: g, playToast: h } = i;
@@ -9954,7 +9960,7 @@ function JE(e) {
9954
9960
  const K = { ...F, style: F.toastStyle, key: h++, ...Object.fromEntries(Object.entries(S).filter((H) => {
9955
9961
  let [ee, z] = H;
9956
9962
  return z != null;
9957
- })), toastId: O, updateId: M, data: T, closeToast: _, isIn: !1, className: qa(S.className || F.toastClassName), bodyClassName: qa(S.bodyClassName || F.bodyClassName), progressClassName: qa(S.progressClassName || F.progressClassName), autoClose: !S.isLoading && (U = S.autoClose, J = F.autoClose, U === !1 || na(U) && U > 0 ? U : J), deleteToast() {
9963
+ })), toastId: O, updateId: M, data: T, closeToast: _, isIn: !1, className: $a(S.className || F.toastClassName), bodyClassName: $a(S.bodyClassName || F.bodyClassName), progressClassName: $a(S.progressClassName || F.progressClassName), autoClose: !S.isLoading && (U = S.autoClose, J = F.autoClose, U === !1 || na(U) && U > 0 ? U : J), deleteToast() {
9958
9964
  const H = E.get(O), { onClose: ee, children: z } = H.props;
9959
9965
  fn(ee) && ee(Hr(z) && z.props), g(mD(H, "removed")), E.delete(O), p--, p < 0 && (p = 0), d.length > 0 ? y(d.shift()) : m();
9960
9966
  } };
@@ -10053,16 +10059,16 @@ function $E(e) {
10053
10059
  function Vo(e, t) {
10054
10060
  return Z2(e, t), t.toastId;
10055
10061
  }
10056
- function ki(e, t) {
10062
+ function Ti(e, t) {
10057
10063
  return { ...t, type: t && t.type || e, toastId: $E(t) };
10058
10064
  }
10059
- function Ra(e) {
10060
- return (t, n) => Vo(t, ki(e, n));
10065
+ function Na(e) {
10066
+ return (t, n) => Vo(t, Ti(e, n));
10061
10067
  }
10062
10068
  function rt(e, t) {
10063
- return Vo(e, ki("default", t));
10069
+ return Vo(e, Ti("default", t));
10064
10070
  }
10065
- rt.loading = (e, t) => Vo(e, ki("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), rt.promise = function(e, t, n) {
10071
+ rt.loading = (e, t) => Vo(e, Ti("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), rt.promise = function(e, t, n) {
10066
10072
  let u, { pending: r, error: o, success: i } = t;
10067
10073
  r && (u = Dr(r) ? rt.loading(r, n) : rt.loading(r.render, { ...n, ...r }));
10068
10074
  const f = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, s = (D, A, g) => {
@@ -10071,7 +10077,7 @@ rt.loading = (e, t) => Vo(e, ki("default", { isLoading: !0, autoClose: !1, close
10071
10077
  return u ? rt.update(u, { ...h, ...p }) : rt(p.render, { ...h, ...p }), g;
10072
10078
  }, c = fn(e) ? e() : e;
10073
10079
  return c.then((D) => s("success", i, D)).catch((D) => s("error", o, D)), c;
10074
- }, rt.success = Ra("success"), rt.info = Ra("info"), rt.error = Ra("error"), rt.warning = Ra("warning"), rt.warn = rt.warning, rt.dark = (e, t) => Vo(e, ki("default", { theme: "dark", ...t })), rt.dismiss = function(e) {
10080
+ }, rt.success = Na("success"), rt.info = Na("info"), rt.error = Na("error"), rt.warning = Na("warning"), rt.warn = rt.warning, rt.dark = (e, t) => Vo(e, Ti("default", { theme: "dark", ...t })), rt.dismiss = function(e) {
10075
10081
  (function(t) {
10076
10082
  var n;
10077
10083
  if (X2()) {
@@ -10110,17 +10116,17 @@ rt.loading = (e, t) => Vo(e, ki("default", { isLoading: !0, autoClose: !1, close
10110
10116
  b0.delete(e);
10111
10117
  };
10112
10118
  }, rt.play = (e) => bD(!0, e), rt.pause = (e) => bD(!1, e);
10113
- const em = typeof window < "u" ? Nu : oe, Na = (e) => {
10119
+ const em = typeof window < "u" ? Nu : oe, Ma = (e) => {
10114
10120
  let { theme: t, type: n, isLoading: u, ...r } = e;
10115
10121
  return Xe.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${n})`, ...r });
10116
10122
  }, Jf = { info: function(e) {
10117
- return Xe.createElement(Na, { ...e }, Xe.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" }));
10123
+ return Xe.createElement(Ma, { ...e }, Xe.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" }));
10118
10124
  }, warning: function(e) {
10119
- return Xe.createElement(Na, { ...e }, Xe.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" }));
10125
+ return Xe.createElement(Ma, { ...e }, Xe.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" }));
10120
10126
  }, success: function(e) {
10121
- return Xe.createElement(Na, { ...e }, Xe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
10127
+ return Xe.createElement(Ma, { ...e }, Xe.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
10122
10128
  }, error: function(e) {
10123
- return Xe.createElement(Na, { ...e }, Xe.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
10129
+ return Xe.createElement(Ma, { ...e }, Xe.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
10124
10130
  }, spinner: function() {
10125
10131
  return Xe.createElement("div", { className: "Toastify__spinner" });
10126
10132
  } }, tm = (e) => {
@@ -10136,19 +10142,19 @@ const em = typeof window < "u" ? Nu : oe, Na = (e) => {
10136
10142
  V.stopPropagation(), H(V);
10137
10143
  }, "aria-label": z }, Xe.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Xe.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
10138
10144
  }(J)), Xe.createElement(h, { isIn: M, done: O, position: p, preventExitTransition: n, nodeRef: u, playToast: o }, Xe.createElement("div", { id: S, onClick: c, "data-in": M, className: X, ...r, style: l, ref: u }, Xe.createElement("div", { ...M && { role: x }, className: fn(C) ? C({ type: D }) : Lu("Toastify__toast-body", C), style: F }, K != null && Xe.createElement("div", { className: Lu("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !T }) }, K), Xe.createElement("div", null, f)), te, Xe.createElement(YE, { ...m && !U ? { key: `pb-${m}` } : {}, rtl: B, theme: Q, delay: s, isRunning: t, isIn: M, closeToast: g, hide: A, type: D, style: b, className: E, controlledProgress: U, progress: y || 0 })));
10139
- }, Df = function(e, t) {
10145
+ }, Af = function(e, t) {
10140
10146
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
10141
- }, nm = cf(Df("bounce", !0));
10142
- cf(Df("slide", !0));
10143
- cf(Df("zoom"));
10144
- cf(Df("flip"));
10147
+ }, nm = Df(Af("bounce", !0));
10148
+ Df(Af("slide", !0));
10149
+ Df(Af("zoom"));
10150
+ Df(Af("flip"));
10145
10151
  const um = { position: "top-right", transition: nm, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
10146
10152
  function Ts(e) {
10147
10153
  let t = { ...um, ...e };
10148
10154
  const n = e.stacked, [u, r] = W(!0), o = ie(null), { getToastToRender: i, isToastActive: f, count: s } = JE(t), { className: c, style: D, rtl: A, containerId: g } = t;
10149
10155
  function h(d) {
10150
10156
  const l = Lu("Toastify__toast-container", `Toastify__toast-container--${d}`, { "Toastify__toast-container--rtl": A });
10151
- return fn(c) ? c({ position: d, rtl: A, defaultClassName: l }) : Lu(l, qa(c));
10157
+ return fn(c) ? c({ position: d, rtl: A, defaultClassName: l }) : Lu(l, $a(c));
10152
10158
  }
10153
10159
  function p() {
10154
10160
  n && (r(!0), rt.play());
@@ -10197,7 +10203,7 @@ const rm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
10197
10203
  fill: ${k.palette.gray.white};
10198
10204
  width: 10px;
10199
10205
  }
10200
- `, sm = (e, { closeToast: t }) => /* @__PURE__ */ a.jsx(fm, { children: /* @__PURE__ */ a.jsx("img", { src: rm, onClick: t }) }), Ma = ({ message: e }) => /* @__PURE__ */ a.jsxs(om, { children: [
10206
+ `, sm = (e, { closeToast: t }) => /* @__PURE__ */ a.jsx(fm, { children: /* @__PURE__ */ a.jsx("img", { src: rm, onClick: t }) }), Qa = ({ message: e }) => /* @__PURE__ */ a.jsxs(om, { children: [
10201
10207
  /* @__PURE__ */ a.jsx(im, {}),
10202
10208
  /* @__PURE__ */ a.jsx(am, { children: e })
10203
10209
  ] }), bo = w(j)`
@@ -11259,7 +11265,7 @@ const rm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
11259
11265
  }), u;
11260
11266
  }, lm = (e, t) => {
11261
11267
  const n = Am(e, t);
11262
- return Xi(k, {
11268
+ return zi(k, {
11263
11269
  typography: {
11264
11270
  ...k.typography,
11265
11271
  fontFamily: "Inter, Roboto, sans-serif"
@@ -11732,7 +11738,7 @@ const rm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
11732
11738
  let Ro = null, Go = !1;
11733
11739
  const q2 = () => v0.forEach((e) => e()), dm = () => {
11734
11740
  Go || (Go = !0, q2());
11735
- }, Af = ({ zIndex: e }) => {
11741
+ }, lf = ({ zIndex: e }) => {
11736
11742
  const { mode: t } = Y2(), n = v4(), [u, r] = W(!1), [o, i] = W(Go);
11737
11743
  return oe(() => {
11738
11744
  const f = () => {
@@ -11776,15 +11782,15 @@ function Ge(e) {
11776
11782
  let o;
11777
11783
  switch (n) {
11778
11784
  case "success": {
11779
- o = rt.success(/* @__PURE__ */ a.jsx(Ma, { message: t }), { ...r, icon: !1 });
11785
+ o = rt.success(/* @__PURE__ */ a.jsx(Qa, { message: t }), { ...r, icon: !1 });
11780
11786
  break;
11781
11787
  }
11782
11788
  case "error": {
11783
- o = rt.error(/* @__PURE__ */ a.jsx(Ma, { message: t }), { ...r, icon: !1 });
11789
+ o = rt.error(/* @__PURE__ */ a.jsx(Qa, { message: t }), { ...r, icon: !1 });
11784
11790
  break;
11785
11791
  }
11786
11792
  case "info-dark": {
11787
- o = rt.info(/* @__PURE__ */ a.jsx(Ma, { message: t }), {
11793
+ o = rt.info(/* @__PURE__ */ a.jsx(Qa, { message: t }), {
11788
11794
  ...r,
11789
11795
  icon: !1,
11790
11796
  className: "toast_dark"
@@ -11792,7 +11798,7 @@ function Ge(e) {
11792
11798
  break;
11793
11799
  }
11794
11800
  default: {
11795
- o = rt.info(/* @__PURE__ */ a.jsx(Ma, { message: t }), { ...r, icon: !1 });
11801
+ o = rt.info(/* @__PURE__ */ a.jsx(Qa, { message: t }), { ...r, icon: !1 });
11796
11802
  break;
11797
11803
  }
11798
11804
  }
@@ -12309,10 +12315,10 @@ function ib(e, t) {
12309
12315
  writable: !1
12310
12316
  }), t && w0(e, t);
12311
12317
  }
12312
- function Ti(e) {
12313
- return Ti = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
12318
+ function Li(e) {
12319
+ return Li = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
12314
12320
  return t.__proto__ || Object.getPrototypeOf(t);
12315
- }, Ti(e);
12321
+ }, Li(e);
12316
12322
  }
12317
12323
  function ld() {
12318
12324
  try {
@@ -12336,9 +12342,9 @@ function sb(e, t) {
12336
12342
  function cb(e) {
12337
12343
  var t = ld();
12338
12344
  return function() {
12339
- var n, u = Ti(e);
12345
+ var n, u = Li(e);
12340
12346
  if (t) {
12341
- var r = Ti(this).constructor;
12347
+ var r = Li(this).constructor;
12342
12348
  n = Reflect.construct(u, arguments, r);
12343
12349
  } else n = u.apply(this, arguments);
12344
12350
  return sb(this, n);
@@ -12398,7 +12404,7 @@ var gb = /* @__PURE__ */ function() {
12398
12404
  return (r = u.parentNode) == null ? void 0 : r.removeChild(u);
12399
12405
  }), this.tags = [], this.ctr = 0;
12400
12406
  }, e;
12401
- }(), Rt = "-ms-", Li = "-moz-", qe = "-webkit-", dd = "comm", Ms = "rule", Qs = "decl", hb = "@import", pd = "@keyframes", Fb = "@layer", Eb = Math.abs, lf = String.fromCharCode, mb = Object.assign;
12407
+ }(), Rt = "-ms-", Oi = "-moz-", qe = "-webkit-", dd = "comm", Ms = "rule", Qs = "decl", hb = "@import", pd = "@keyframes", Fb = "@layer", Eb = Math.abs, df = String.fromCharCode, mb = Object.assign;
12402
12408
  function bb(e, t) {
12403
12409
  return Lt(e, 0) ^ 45 ? (((t << 2 ^ Lt(e, 0)) << 2 ^ Lt(e, 1)) << 2 ^ Lt(e, 2)) << 2 ^ Lt(e, 3) : 0;
12404
12410
  }
@@ -12426,32 +12432,32 @@ function zn(e) {
12426
12432
  function js(e) {
12427
12433
  return e.length;
12428
12434
  }
12429
- function Qa(e, t) {
12435
+ function ja(e, t) {
12430
12436
  return t.push(e), e;
12431
12437
  }
12432
12438
  function vb(e, t) {
12433
12439
  return e.map(t).join("");
12434
12440
  }
12435
- var df = 1, po = 1, gd = 0, tn = 0, bt = 0, xo = "";
12436
- function pf(e, t, n, u, r, o, i) {
12437
- return { value: e, root: t, parent: n, type: u, props: r, children: o, line: df, column: po, length: i, return: "" };
12441
+ var pf = 1, po = 1, gd = 0, tn = 0, bt = 0, xo = "";
12442
+ function Cf(e, t, n, u, r, o, i) {
12443
+ return { value: e, root: t, parent: n, type: u, props: r, children: o, line: pf, column: po, length: i, return: "" };
12438
12444
  }
12439
12445
  function No(e, t) {
12440
- return mb(pf("", null, null, "", null, null, 0), e, { length: -e.length }, t);
12446
+ return mb(Cf("", null, null, "", null, null, 0), e, { length: -e.length }, t);
12441
12447
  }
12442
12448
  function yb() {
12443
12449
  return bt;
12444
12450
  }
12445
12451
  function Bb() {
12446
- return bt = tn > 0 ? Lt(xo, --tn) : 0, po--, bt === 10 && (po = 1, df--), bt;
12452
+ return bt = tn > 0 ? Lt(xo, --tn) : 0, po--, bt === 10 && (po = 1, pf--), bt;
12447
12453
  }
12448
12454
  function cn() {
12449
- return bt = tn < gd ? Lt(xo, tn++) : 0, po++, bt === 10 && (po = 1, df++), bt;
12455
+ return bt = tn < gd ? Lt(xo, tn++) : 0, po++, bt === 10 && (po = 1, pf++), bt;
12450
12456
  }
12451
12457
  function Yn() {
12452
12458
  return Lt(xo, tn);
12453
12459
  }
12454
- function $a() {
12460
+ function ei() {
12455
12461
  return tn;
12456
12462
  }
12457
12463
  function va(e, t) {
@@ -12490,12 +12496,12 @@ function aa(e) {
12490
12496
  return 0;
12491
12497
  }
12492
12498
  function hd(e) {
12493
- return df = po = 1, gd = zn(xo = e), tn = 0, [];
12499
+ return pf = po = 1, gd = zn(xo = e), tn = 0, [];
12494
12500
  }
12495
12501
  function Fd(e) {
12496
12502
  return xo = "", e;
12497
12503
  }
12498
- function ei(e) {
12504
+ function ti(e) {
12499
12505
  return Cd(va(tn - 1, S0(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
12500
12506
  }
12501
12507
  function wb(e) {
@@ -12506,7 +12512,7 @@ function wb(e) {
12506
12512
  function Ib(e, t) {
12507
12513
  for (; --t && cn() && !(bt < 48 || bt > 102 || bt > 57 && bt < 65 || bt > 70 && bt < 97); )
12508
12514
  ;
12509
- return va(e, $a() + (t < 6 && Yn() == 32 && cn() == 32));
12515
+ return va(e, ei() + (t < 6 && Yn() == 32 && cn() == 32));
12510
12516
  }
12511
12517
  function S0(e) {
12512
12518
  for (; cn(); )
@@ -12530,7 +12536,7 @@ function Sb(e, t) {
12530
12536
  for (; cn() && e + bt !== 57; )
12531
12537
  if (e + bt === 84 && Yn() === 47)
12532
12538
  break;
12533
- return "/*" + va(t, tn - 1) + "*" + lf(e === 47 ? e : cn());
12539
+ return "/*" + va(t, tn - 1) + "*" + df(e === 47 ? e : cn());
12534
12540
  }
12535
12541
  function kb(e) {
12536
12542
  for (; !aa(Yn()); )
@@ -12538,20 +12544,20 @@ function kb(e) {
12538
12544
  return va(e, tn);
12539
12545
  }
12540
12546
  function Tb(e) {
12541
- return Fd(ti("", null, null, null, [""], e = hd(e), 0, [0], e));
12547
+ return Fd(ni("", null, null, null, [""], e = hd(e), 0, [0], e));
12542
12548
  }
12543
- function ti(e, t, n, u, r, o, i, f, s) {
12549
+ function ni(e, t, n, u, r, o, i, f, s) {
12544
12550
  for (var c = 0, D = 0, A = i, g = 0, h = 0, p = 0, d = 1, l = 1, C = 1, F = 0, E = "", b = r, m = o, x = u, y = E; l; )
12545
12551
  switch (p = F, F = cn()) {
12546
12552
  case 40:
12547
12553
  if (p != 108 && Lt(y, A - 1) == 58) {
12548
- I0(y += $e(ei(F), "&", "&\f"), "&\f") != -1 && (C = -1);
12554
+ I0(y += $e(ti(F), "&", "&\f"), "&\f") != -1 && (C = -1);
12549
12555
  break;
12550
12556
  }
12551
12557
  case 34:
12552
12558
  case 39:
12553
12559
  case 91:
12554
- y += ei(F);
12560
+ y += ti(F);
12555
12561
  break;
12556
12562
  case 9:
12557
12563
  case 10:
@@ -12560,13 +12566,13 @@ function ti(e, t, n, u, r, o, i, f, s) {
12560
12566
  y += wb(p);
12561
12567
  break;
12562
12568
  case 92:
12563
- y += Ib($a() - 1, 7);
12569
+ y += Ib(ei() - 1, 7);
12564
12570
  continue;
12565
12571
  case 47:
12566
12572
  switch (Yn()) {
12567
12573
  case 42:
12568
12574
  case 47:
12569
- Qa(Lb(Sb(cn(), $a()), t, n), s);
12575
+ ja(Lb(Sb(cn(), ei()), t, n), s);
12570
12576
  break;
12571
12577
  default:
12572
12578
  y += "/";
@@ -12582,24 +12588,24 @@ function ti(e, t, n, u, r, o, i, f, s) {
12582
12588
  case 125:
12583
12589
  l = 0;
12584
12590
  case 59 + D:
12585
- C == -1 && (y = $e(y, /\f/g, "")), h > 0 && zn(y) - A && Qa(h > 32 ? TD(y + ";", u, n, A - 1) : TD($e(y, " ", "") + ";", u, n, A - 2), s);
12591
+ C == -1 && (y = $e(y, /\f/g, "")), h > 0 && zn(y) - A && ja(h > 32 ? TD(y + ";", u, n, A - 1) : TD($e(y, " ", "") + ";", u, n, A - 2), s);
12586
12592
  break;
12587
12593
  case 59:
12588
12594
  y += ";";
12589
12595
  default:
12590
- if (Qa(x = kD(y, t, n, c, D, r, f, E, b = [], m = [], A), o), F === 123)
12596
+ if (ja(x = kD(y, t, n, c, D, r, f, E, b = [], m = [], A), o), F === 123)
12591
12597
  if (D === 0)
12592
- ti(y, t, x, x, b, o, A, f, m);
12598
+ ni(y, t, x, x, b, o, A, f, m);
12593
12599
  else
12594
12600
  switch (g === 99 && Lt(y, 3) === 110 ? 100 : g) {
12595
12601
  case 100:
12596
12602
  case 108:
12597
12603
  case 109:
12598
12604
  case 115:
12599
- ti(e, x, x, u && Qa(kD(e, x, x, 0, 0, r, f, E, r, b = [], A), m), r, m, A, f, u ? b : m);
12605
+ ni(e, x, x, u && ja(kD(e, x, x, 0, 0, r, f, E, r, b = [], A), m), r, m, A, f, u ? b : m);
12600
12606
  break;
12601
12607
  default:
12602
- ti(y, x, x, x, [""], m, 0, f, m);
12608
+ ni(y, x, x, x, [""], m, 0, f, m);
12603
12609
  }
12604
12610
  }
12605
12611
  c = D = h = 0, d = C = 1, E = y = "", A = i;
@@ -12613,7 +12619,7 @@ function ti(e, t, n, u, r, o, i, f, s) {
12613
12619
  else if (F == 125 && d++ == 0 && Bb() == 125)
12614
12620
  continue;
12615
12621
  }
12616
- switch (y += lf(F), F * d) {
12622
+ switch (y += df(F), F * d) {
12617
12623
  case 38:
12618
12624
  C = D > 0 ? 1 : (y += "\f", -1);
12619
12625
  break;
@@ -12621,7 +12627,7 @@ function ti(e, t, n, u, r, o, i, f, s) {
12621
12627
  f[c++] = (zn(y) - 1) * C, C = 1;
12622
12628
  break;
12623
12629
  case 64:
12624
- Yn() === 45 && (y += ei(cn())), g = Yn(), D = A = zn(E = y += kb($a())), F++;
12630
+ Yn() === 45 && (y += ti(cn())), g = Yn(), D = A = zn(E = y += kb(ei())), F++;
12625
12631
  break;
12626
12632
  case 45:
12627
12633
  p === 45 && zn(y) == 2 && (d = 0);
@@ -12633,13 +12639,13 @@ function kD(e, t, n, u, r, o, i, f, s, c, D) {
12633
12639
  for (var A = r - 1, g = r === 0 ? o : [""], h = js(g), p = 0, d = 0, l = 0; p < u; ++p)
12634
12640
  for (var C = 0, F = oa(e, A + 1, A = Eb(d = i[p])), E = e; C < h; ++C)
12635
12641
  (E = Cd(d > 0 ? g[C] + " " + F : $e(F, /&\f/g, g[C]))) && (s[l++] = E);
12636
- return pf(e, t, n, r === 0 ? Ms : f, s, c, D);
12642
+ return Cf(e, t, n, r === 0 ? Ms : f, s, c, D);
12637
12643
  }
12638
12644
  function Lb(e, t, n) {
12639
- return pf(e, t, n, dd, lf(yb()), oa(e, 2, -2), 0);
12645
+ return Cf(e, t, n, dd, df(yb()), oa(e, 2, -2), 0);
12640
12646
  }
12641
12647
  function TD(e, t, n, u) {
12642
- return pf(e, t, n, Qs, oa(e, 0, u), oa(e, u + 1, -1), u);
12648
+ return Cf(e, t, n, Qs, oa(e, 0, u), oa(e, u + 1, -1), u);
12643
12649
  }
12644
12650
  function Vr(e, t) {
12645
12651
  for (var n = "", u = js(e), r = 0; r < u; r++)
@@ -12693,7 +12699,7 @@ var Qb = function(t, n, u) {
12693
12699
  r === 38 && Yn() === 12 && (n[u] = 1), t[u] += Qb(tn - 1, n, u);
12694
12700
  break;
12695
12701
  case 2:
12696
- t[u] += ei(r);
12702
+ t[u] += ti(r);
12697
12703
  break;
12698
12704
  case 4:
12699
12705
  if (r === 44) {
@@ -12701,7 +12707,7 @@ var Qb = function(t, n, u) {
12701
12707
  break;
12702
12708
  }
12703
12709
  default:
12704
- t[u] += lf(r);
12710
+ t[u] += df(r);
12705
12711
  }
12706
12712
  while (r = cn());
12707
12713
  return t;
@@ -12763,7 +12769,7 @@ function Ed(e, t) {
12763
12769
  case 4810:
12764
12770
  case 6968:
12765
12771
  case 2756:
12766
- return qe + e + Li + e + Rt + e + e;
12772
+ return qe + e + Oi + e + Rt + e + e;
12767
12773
  case 6828:
12768
12774
  case 4268:
12769
12775
  return qe + e + Rt + e + e;
@@ -12811,7 +12817,7 @@ function Ed(e, t) {
12811
12817
  case 109:
12812
12818
  if (Lt(e, t + 4) !== 45) break;
12813
12819
  case 102:
12814
- return $e(e, /(.+:)(.+)-([^]+)/, "$1" + qe + "$2-$3$1" + Li + (Lt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
12820
+ return $e(e, /(.+:)(.+)-([^]+)/, "$1" + qe + "$2-$3$1" + Oi + (Lt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
12815
12821
  case 115:
12816
12822
  return ~I0(e, "stretch") ? Ed($e(e, "stretch", "fill-available"), t) + e : e;
12817
12823
  }
@@ -12854,13 +12860,13 @@ var Ub = function(t, n, u, r) {
12854
12860
  case ":read-only":
12855
12861
  case ":read-write":
12856
12862
  return Vr([No(t, {
12857
- props: [$e(o, /:(read-\w+)/, ":" + Li + "$1")]
12863
+ props: [$e(o, /:(read-\w+)/, ":" + Oi + "$1")]
12858
12864
  })], r);
12859
12865
  case "::placeholder":
12860
12866
  return Vr([No(t, {
12861
12867
  props: [$e(o, /:(plac\w+)/, ":" + qe + "input-$1")]
12862
12868
  }), No(t, {
12863
- props: [$e(o, /:(plac\w+)/, ":" + Li + "$1")]
12869
+ props: [$e(o, /:(plac\w+)/, ":" + Oi + "$1")]
12864
12870
  }), No(t, {
12865
12871
  props: [$e(o, /:(plac\w+)/, Rt + "input-$1")]
12866
12872
  })], r);
@@ -13336,7 +13342,7 @@ var a7 = function(t) {
13336
13342
  );
13337
13343
  Bd.Provider;
13338
13344
  var c7 = function(t) {
13339
- return /* @__PURE__ */ Wi(function(n, u) {
13345
+ return /* @__PURE__ */ Vi(function(n, u) {
13340
13346
  var r = Ue(Bd);
13341
13347
  return t(n, r, u);
13342
13348
  });
@@ -13401,7 +13407,7 @@ function g7(e, t) {
13401
13407
  }
13402
13408
  }));
13403
13409
  }
13404
- const h7 = Math.min, F7 = Math.max, Oi = Math.round, ja = Math.floor, Ri = (e) => ({
13410
+ const h7 = Math.min, F7 = Math.max, Ri = Math.round, Pa = Math.floor, Ni = (e) => ({
13405
13411
  x: e,
13406
13412
  y: e
13407
13413
  });
@@ -13423,7 +13429,7 @@ function E7(e) {
13423
13429
  y: n
13424
13430
  };
13425
13431
  }
13426
- function Cf() {
13432
+ function gf() {
13427
13433
  return typeof window < "u";
13428
13434
  }
13429
13435
  function wd(e) {
@@ -13438,16 +13444,16 @@ function Id(e) {
13438
13444
  return (t = (Sd(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
13439
13445
  }
13440
13446
  function Sd(e) {
13441
- return Cf() ? e instanceof Node || e instanceof Au(e).Node : !1;
13447
+ return gf() ? e instanceof Node || e instanceof Au(e).Node : !1;
13442
13448
  }
13443
13449
  function m7(e) {
13444
- return Cf() ? e instanceof Element || e instanceof Au(e).Element : !1;
13450
+ return gf() ? e instanceof Element || e instanceof Au(e).Element : !1;
13445
13451
  }
13446
13452
  function Hs(e) {
13447
- return Cf() ? e instanceof HTMLElement || e instanceof Au(e).HTMLElement : !1;
13453
+ return gf() ? e instanceof HTMLElement || e instanceof Au(e).HTMLElement : !1;
13448
13454
  }
13449
13455
  function jD(e) {
13450
- return !Cf() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Au(e).ShadowRoot;
13456
+ return !gf() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Au(e).ShadowRoot;
13451
13457
  }
13452
13458
  function kd(e) {
13453
13459
  const {
@@ -13483,15 +13489,15 @@ function Td(e) {
13483
13489
  const t = v7(e);
13484
13490
  return x7(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Hs(t) && kd(t) ? t : Td(t);
13485
13491
  }
13486
- function Ni(e, t, n) {
13492
+ function Mi(e, t, n) {
13487
13493
  var u;
13488
13494
  t === void 0 && (t = []), n === void 0 && (n = !0);
13489
13495
  const r = Td(e), o = r === ((u = e.ownerDocument) == null ? void 0 : u.body), i = Au(r);
13490
13496
  if (o) {
13491
13497
  const f = L0(i);
13492
- return t.concat(i, i.visualViewport || [], kd(r) ? r : [], f && n ? Ni(f) : []);
13498
+ return t.concat(i, i.visualViewport || [], kd(r) ? r : [], f && n ? Mi(f) : []);
13493
13499
  }
13494
- return t.concat(r, Ni(r, [], n));
13500
+ return t.concat(r, Mi(r, [], n));
13495
13501
  }
13496
13502
  function L0(e) {
13497
13503
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
@@ -13499,7 +13505,7 @@ function L0(e) {
13499
13505
  function y7(e) {
13500
13506
  const t = Us(e);
13501
13507
  let n = parseFloat(t.width) || 0, u = parseFloat(t.height) || 0;
13502
- const r = Hs(e), o = r ? e.offsetWidth : n, i = r ? e.offsetHeight : u, f = Oi(n) !== o || Oi(u) !== i;
13508
+ const r = Hs(e), o = r ? e.offsetWidth : n, i = r ? e.offsetHeight : u, f = Ri(n) !== o || Ri(u) !== i;
13503
13509
  return f && (n = o, u = i), {
13504
13510
  width: n,
13505
13511
  height: u,
@@ -13512,19 +13518,19 @@ function Ws(e) {
13512
13518
  function PD(e) {
13513
13519
  const t = Ws(e);
13514
13520
  if (!Hs(t))
13515
- return Ri(1);
13521
+ return Ni(1);
13516
13522
  const n = t.getBoundingClientRect(), {
13517
13523
  width: u,
13518
13524
  height: r,
13519
13525
  $: o
13520
13526
  } = y7(t);
13521
- let i = (o ? Oi(n.width) : n.width) / u, f = (o ? Oi(n.height) : n.height) / r;
13527
+ let i = (o ? Ri(n.width) : n.width) / u, f = (o ? Ri(n.height) : n.height) / r;
13522
13528
  return (!i || !Number.isFinite(i)) && (i = 1), (!f || !Number.isFinite(f)) && (f = 1), {
13523
13529
  x: i,
13524
13530
  y: f
13525
13531
  };
13526
13532
  }
13527
- const B7 = /* @__PURE__ */ Ri(0);
13533
+ const B7 = /* @__PURE__ */ Ni(0);
13528
13534
  function w7(e) {
13529
13535
  const t = Au(e);
13530
13536
  return !b7() || !t.visualViewport ? B7 : {
@@ -13538,9 +13544,9 @@ function I7(e, t, n) {
13538
13544
  function _D(e, t, n, u) {
13539
13545
  t === void 0 && (t = !1);
13540
13546
  const r = e.getBoundingClientRect(), o = Ws(e);
13541
- let i = Ri(1);
13547
+ let i = Ni(1);
13542
13548
  t && (i = PD(e));
13543
- const f = I7() ? w7(o) : Ri(0);
13549
+ const f = I7() ? w7(o) : Ni(0);
13544
13550
  let s = (r.left + f.x) / i.x, c = (r.top + f.y) / i.y, D = r.width / i.x, A = r.height / i.y;
13545
13551
  if (o) {
13546
13552
  const g = Au(o), h = u;
@@ -13574,7 +13580,7 @@ function S7(e, t) {
13574
13580
  } = e.getBoundingClientRect();
13575
13581
  if (f || t(), !A || !g)
13576
13582
  return;
13577
- const h = ja(D), p = ja(r.clientWidth - (c + A)), d = ja(r.clientHeight - (D + g)), l = ja(c), F = {
13583
+ const h = Pa(D), p = Pa(r.clientWidth - (c + A)), d = Pa(r.clientHeight - (D + g)), l = Pa(c), F = {
13578
13584
  rootMargin: -h + "px " + -p + "px " + -d + "px " + -l + "px",
13579
13585
  threshold: F7(0, h7(1, s)) || 1
13580
13586
  };
@@ -13611,7 +13617,7 @@ function k7(e, t, n, u) {
13611
13617
  elementResize: i = typeof ResizeObserver == "function",
13612
13618
  layoutShift: f = typeof IntersectionObserver == "function",
13613
13619
  animationFrame: s = !1
13614
- } = u, c = Ws(e), D = r || o ? [...c ? Ni(c) : [], ...Ni(t)] : [];
13620
+ } = u, c = Ws(e), D = r || o ? [...c ? Mi(c) : [], ...Mi(t)] : [];
13615
13621
  D.forEach((C) => {
13616
13622
  r && C.addEventListener("scroll", n, {
13617
13623
  passive: !0
@@ -13639,7 +13645,7 @@ function k7(e, t, n, u) {
13639
13645
  }), A == null || A(), (C = h) == null || C.disconnect(), h = null, s && cancelAnimationFrame(p);
13640
13646
  };
13641
13647
  }
13642
- var O0 = Nu, T7 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Mi = function() {
13648
+ var O0 = Nu, T7 = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Qi = function() {
13643
13649
  };
13644
13650
  function L7(e, t) {
13645
13651
  return t ? t[0] === "-" ? e + t : e + "__" + t : e;
@@ -13657,7 +13663,7 @@ function O7(e, t) {
13657
13663
  return String(f).trim();
13658
13664
  }).join(" ");
13659
13665
  }
13660
- var Qi = function(t) {
13666
+ var ji = function(t) {
13661
13667
  return W7(t) ? t.filter(Boolean) : Fr(t) === "object" && t !== null ? [t] : [];
13662
13668
  }, Ld = function(t) {
13663
13669
  t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
@@ -13677,17 +13683,17 @@ function R7(e, t, n) {
13677
13683
  }
13678
13684
  return e;
13679
13685
  }
13680
- function gf(e) {
13686
+ function hf(e) {
13681
13687
  return [document.documentElement, document.body, window].indexOf(e) > -1;
13682
13688
  }
13683
13689
  function N7(e) {
13684
- return gf(e) ? window.innerHeight : e.clientHeight;
13690
+ return hf(e) ? window.innerHeight : e.clientHeight;
13685
13691
  }
13686
13692
  function Od(e) {
13687
- return gf(e) ? window.pageYOffset : e.scrollTop;
13693
+ return hf(e) ? window.pageYOffset : e.scrollTop;
13688
13694
  }
13689
- function ji(e, t) {
13690
- if (gf(e)) {
13695
+ function Pi(e, t) {
13696
+ if (hf(e)) {
13691
13697
  window.scrollTo(0, t);
13692
13698
  return;
13693
13699
  }
@@ -13704,18 +13710,18 @@ function M7(e) {
13704
13710
  function Q7(e, t, n, u) {
13705
13711
  return n * ((e = e / u - 1) * e * e + 1) + t;
13706
13712
  }
13707
- function Pa(e, t) {
13708
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Mi, r = Od(e), o = t - r, i = 10, f = 0;
13713
+ function _a(e, t) {
13714
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, u = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Qi, r = Od(e), o = t - r, i = 10, f = 0;
13709
13715
  function s() {
13710
13716
  f += i;
13711
13717
  var c = Q7(f, r, o, n);
13712
- ji(e, c), f < n ? window.requestAnimationFrame(s) : u(e);
13718
+ Pi(e, c), f < n ? window.requestAnimationFrame(s) : u(e);
13713
13719
  }
13714
13720
  s();
13715
13721
  }
13716
13722
  function HD(e, t) {
13717
13723
  var n = e.getBoundingClientRect(), u = t.getBoundingClientRect(), r = t.offsetHeight / 3;
13718
- u.bottom + r > n.bottom ? ji(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + r, e.scrollHeight)) : u.top - r < n.top && ji(e, Math.max(t.offsetTop - r, 0));
13724
+ u.bottom + r > n.bottom ? Pi(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + r, e.scrollHeight)) : u.top - r < n.top && Pi(e, Math.max(t.offsetTop - r, 0));
13719
13725
  }
13720
13726
  function j7(e) {
13721
13727
  var t = e.getBoundingClientRect();
@@ -13746,8 +13752,8 @@ var Rd = !1, _7 = {
13746
13752
  get passive() {
13747
13753
  return Rd = !0;
13748
13754
  }
13749
- }, _a = typeof window < "u" ? window : {};
13750
- _a.addEventListener && _a.removeEventListener && (_a.addEventListener("p", Mi, _7), _a.removeEventListener("p", Mi, !1));
13755
+ }, Ha = typeof window < "u" ? window : {};
13756
+ Ha.addEventListener && Ha.removeEventListener && (Ha.addEventListener("p", Qi, _7), Ha.removeEventListener("p", Qi, !1));
13751
13757
  var H7 = Rd;
13752
13758
  function U7(e) {
13753
13759
  return e != null;
@@ -13786,12 +13792,12 @@ function z7(e) {
13786
13792
  maxHeight: t
13787
13793
  };
13788
13794
  if (S >= p && !i)
13789
- return o && Pa(s, O, T), {
13795
+ return o && _a(s, O, T), {
13790
13796
  placement: "bottom",
13791
13797
  maxHeight: t
13792
13798
  };
13793
13799
  if (!i && S >= u || i && y >= u) {
13794
- o && Pa(s, O, T);
13800
+ o && _a(s, O, T);
13795
13801
  var N = i ? y - b : S - b;
13796
13802
  return {
13797
13803
  placement: "bottom",
@@ -13806,7 +13812,7 @@ function z7(e) {
13806
13812
  };
13807
13813
  }
13808
13814
  if (r === "bottom")
13809
- return o && ji(s, O), {
13815
+ return o && Pi(s, O), {
13810
13816
  placement: "bottom",
13811
13817
  maxHeight: t
13812
13818
  };
@@ -13818,13 +13824,13 @@ function z7(e) {
13818
13824
  maxHeight: t
13819
13825
  };
13820
13826
  if (B >= p && !i)
13821
- return o && Pa(s, M, T), {
13827
+ return o && _a(s, M, T), {
13822
13828
  placement: "top",
13823
13829
  maxHeight: t
13824
13830
  };
13825
13831
  if (!i && B >= u || i && x >= u) {
13826
13832
  var X = t;
13827
- return (!i && B >= u || i && x >= u) && (X = i ? x - m : B - m), o && Pa(s, M, T), {
13833
+ return (!i && B >= u || i && x >= u) && (X = i ? x - m : B - m), o && _a(s, M, T), {
13828
13834
  placement: "top",
13829
13835
  maxHeight: X
13830
13836
  };
@@ -15214,7 +15220,7 @@ var Nv = function(t) {
15214
15220
  unstyled: !1
15215
15221
  };
15216
15222
  function e3(e, t, n, u) {
15217
- var r = Yd(e, t, n), o = qd(e, t, n), i = Kd(e, t), f = Pi(e, t);
15223
+ var r = Yd(e, t, n), o = qd(e, t, n), i = Kd(e, t), f = _i(e, t);
15218
15224
  return {
15219
15225
  type: "option",
15220
15226
  data: t,
@@ -15225,7 +15231,7 @@ function e3(e, t, n, u) {
15225
15231
  index: u
15226
15232
  };
15227
15233
  }
15228
- function ni(e, t) {
15234
+ function ui(e, t) {
15229
15235
  return e.options.map(function(n, u) {
15230
15236
  if ("options" in n) {
15231
15237
  var r = n.options.map(function(i, f) {
@@ -15265,7 +15271,7 @@ function t3(e, t) {
15265
15271
  }, []);
15266
15272
  }
15267
15273
  function Vv(e, t) {
15268
- return Jd(ni(e, t));
15274
+ return Jd(ui(e, t));
15269
15275
  }
15270
15276
  function n3(e, t) {
15271
15277
  var n = e.inputValue, u = n === void 0 ? "" : n, r = t.data, o = t.isSelected, i = t.label, f = t.value;
@@ -15297,7 +15303,7 @@ var u1 = function(t, n) {
15297
15303
  return r || null;
15298
15304
  }, Kd = function(t, n) {
15299
15305
  return t.getOptionLabel(n);
15300
- }, Pi = function(t, n) {
15306
+ }, _i = function(t, n) {
15301
15307
  return t.getOptionValue(n);
15302
15308
  };
15303
15309
  function Yd(e, t, n) {
@@ -15307,9 +15313,9 @@ function qd(e, t, n) {
15307
15313
  if (n.indexOf(t) > -1) return !0;
15308
15314
  if (typeof e.isOptionSelected == "function")
15309
15315
  return e.isOptionSelected(t, n);
15310
- var u = Pi(e, t);
15316
+ var u = _i(e, t);
15311
15317
  return n.some(function(r) {
15312
- return Pi(e, r) === u;
15318
+ return _i(e, r) === u;
15313
15319
  });
15314
15320
  }
15315
15321
  function $d(e, t, n) {
@@ -15318,7 +15324,7 @@ function $d(e, t, n) {
15318
15324
  var e8 = function(t) {
15319
15325
  var n = t.hideSelectedOptions, u = t.isMulti;
15320
15326
  return n === void 0 ? u : n;
15321
- }, zv = 1, hf = /* @__PURE__ */ function(e) {
15327
+ }, zv = 1, Ff = /* @__PURE__ */ function(e) {
15322
15328
  ib(n, e);
15323
15329
  var t = cb(n);
15324
15330
  function n(u) {
@@ -15402,7 +15408,7 @@ var e8 = function(t) {
15402
15408
  }, r.getFocusedOptionId = function(s) {
15403
15409
  return u1(r.state.focusableOptionsWithIds, s);
15404
15410
  }, r.getFocusableOptionsWithIds = function() {
15405
- return t3(ni(r.props, r.state.selectValue), r.getElementId("option"));
15411
+ return t3(ui(r.props, r.state.selectValue), r.getElementId("option"));
15406
15412
  }, r.getValue = function() {
15407
15413
  return r.state.selectValue;
15408
15414
  }, r.cx = function() {
@@ -15412,7 +15418,7 @@ var e8 = function(t) {
15412
15418
  }, r.getOptionLabel = function(s) {
15413
15419
  return Kd(r.props, s);
15414
15420
  }, r.getOptionValue = function(s) {
15415
- return Pi(r.props, s);
15421
+ return _i(r.props, s);
15416
15422
  }, r.getStyles = function(s, c) {
15417
15423
  var D = r.props.unstyled, A = Qv[s](c, D);
15418
15424
  A.boxSizing = "border-box";
@@ -15426,7 +15432,7 @@ var e8 = function(t) {
15426
15432
  }, r.getComponents = function() {
15427
15433
  return rv(r.props);
15428
15434
  }, r.buildCategorizedOptions = function() {
15429
- return ni(r.props, r.state.selectValue);
15435
+ return ui(r.props, r.state.selectValue);
15430
15436
  }, r.getCategorizedOptions = function() {
15431
15437
  return r.props.menuIsOpen ? r.buildCategorizedOptions() : [];
15432
15438
  }, r.buildFocusableOptions = function() {
@@ -15460,7 +15466,7 @@ var e8 = function(t) {
15460
15466
  return r.focusInput();
15461
15467
  }));
15462
15468
  }, r.onScroll = function(s) {
15463
- typeof r.props.closeMenuOnScroll == "boolean" ? s.target instanceof HTMLElement && gf(s.target) && r.props.onMenuClose() : typeof r.props.closeMenuOnScroll == "function" && r.props.closeMenuOnScroll(s) && r.props.onMenuClose();
15469
+ typeof r.props.closeMenuOnScroll == "boolean" ? s.target instanceof HTMLElement && hf(s.target) && r.props.onMenuClose() : typeof r.props.closeMenuOnScroll == "function" && r.props.closeMenuOnScroll(s) && r.props.onMenuClose();
15464
15470
  }, r.onCompositionStart = function() {
15465
15471
  r.isComposing = !0;
15466
15472
  }, r.onCompositionEnd = function() {
@@ -15603,7 +15609,7 @@ var e8 = function(t) {
15603
15609
  }
15604
15610
  s.preventDefault();
15605
15611
  }
15606
- }, r.state.instancePrefix = "react-select-" + (r.props.instanceId || ++zv), r.state.selectValue = Qi(u.value), u.menuIsOpen && r.state.selectValue.length) {
15612
+ }, r.state.instancePrefix = "react-select-" + (r.props.instanceId || ++zv), r.state.selectValue = ji(u.value), u.menuIsOpen && r.state.selectValue.length) {
15607
15613
  var o = r.getFocusableOptionsWithIds(), i = r.buildFocusableOptions(), f = i.indexOf(r.state.selectValue[0]);
15608
15614
  r.state.focusableOptionsWithIds = o, r.state.focusedOption = i[f], r.state.focusedOptionId = u1(o, i[f]);
15609
15615
  }
@@ -15883,7 +15889,7 @@ var e8 = function(t) {
15883
15889
  id: E,
15884
15890
  innerRef: this.getInputRef,
15885
15891
  onBlur: this.onInputBlur,
15886
- onChange: Mi,
15892
+ onChange: Qi,
15887
15893
  onFocus: this.onInputFocus,
15888
15894
  disabled: o,
15889
15895
  tabIndex: c,
@@ -16197,9 +16203,9 @@ var e8 = function(t) {
16197
16203
  }], [{
16198
16204
  key: "getDerivedStateFromProps",
16199
16205
  value: function(r, o) {
16200
- var i = o.prevProps, f = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, c = o.ariaSelection, D = o.isFocused, A = o.prevWasFocused, g = o.instancePrefix, h = r.options, p = r.value, d = r.menuIsOpen, l = r.inputValue, C = r.isMulti, F = Qi(p), E = {};
16206
+ var i = o.prevProps, f = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, c = o.ariaSelection, D = o.isFocused, A = o.prevWasFocused, g = o.instancePrefix, h = r.options, p = r.value, d = r.menuIsOpen, l = r.inputValue, C = r.isMulti, F = ji(p), E = {};
16201
16207
  if (i && (p !== i.value || h !== i.options || d !== i.menuIsOpen || l !== i.inputValue)) {
16202
- var b = d ? Vv(r, F) : [], m = d ? t3(ni(r, F), "".concat(g, "-option")) : [], x = f ? Gv(o, F) : null, y = Xv(o, b), B = u1(m, y);
16208
+ var b = d ? Vv(r, F) : [], m = d ? t3(ui(r, F), "".concat(g, "-option")) : [], x = f ? Gv(o, F) : null, y = Xv(o, b), B = u1(m, y);
16203
16209
  E = {
16204
16210
  selectValue: F,
16205
16211
  focusedOption: y,
@@ -16225,10 +16231,10 @@ var e8 = function(t) {
16225
16231
  }
16226
16232
  }]), n;
16227
16233
  }(y4);
16228
- hf.defaultProps = Wv;
16229
- var Zv = /* @__PURE__ */ Wi(function(e, t) {
16234
+ Ff.defaultProps = Wv;
16235
+ var Zv = /* @__PURE__ */ Vi(function(e, t) {
16230
16236
  var n = Ns(e);
16231
- return /* @__PURE__ */ I.createElement(hf, we({
16237
+ return /* @__PURE__ */ I.createElement(Ff, we({
16232
16238
  ref: t
16233
16239
  }, n));
16234
16240
  }), Jv = Zv;
@@ -16306,7 +16312,7 @@ const qv = w(j)`
16306
16312
  &:after {
16307
16313
  transform: translate(-50%, -50%) rotate(-45deg);
16308
16314
  }
16309
- `, r8 = (e) => /* @__PURE__ */ a.jsx(Qn.MultiValueRemove, { ...e, children: /* @__PURE__ */ a.jsx($v, {}) }), Ha = (e, t) => {
16315
+ `, r8 = (e) => /* @__PURE__ */ a.jsx(Qn.MultiValueRemove, { ...e, children: /* @__PURE__ */ a.jsx($v, {}) }), Ua = (e, t) => {
16310
16316
  const n = (Array.isArray(t) ? t : []).filter(
16311
16317
  (o) => !!o && typeof o == "object" && "value" in o && "label" in o
16312
16318
  );
@@ -16510,9 +16516,9 @@ function s8(e) {
16510
16516
  filterOption: D
16511
16517
  });
16512
16518
  }
16513
- var oy = /* @__PURE__ */ Wi(function(e, t) {
16519
+ var oy = /* @__PURE__ */ Vi(function(e, t) {
16514
16520
  var n = s8(e), u = Ns(n);
16515
- return /* @__PURE__ */ I.createElement(hf, we({
16521
+ return /* @__PURE__ */ I.createElement(Ff, we({
16516
16522
  ref: t
16517
16523
  }, u));
16518
16524
  }), ay = oy, iy = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"], r3 = function() {
@@ -16539,7 +16545,7 @@ var oy = /* @__PURE__ */ Wi(function(e, t) {
16539
16545
  };
16540
16546
  function fy(e) {
16541
16547
  var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, u = e.createOptionPosition, r = u === void 0 ? "last" : u, o = e.formatCreateLabel, i = o === void 0 ? r1.formatCreateLabel : o, f = e.isValidNewOption, s = f === void 0 ? r1.isValidNewOption : f, c = e.getNewOptionData, D = c === void 0 ? r1.getNewOptionData : c, A = e.onCreateOption, g = e.options, h = g === void 0 ? [] : g, p = e.onChange, d = Mn(e, iy), l = d.getOptionValue, C = l === void 0 ? zd : l, F = d.getOptionLabel, E = F === void 0 ? Xd : F, b = d.inputValue, m = d.isLoading, x = d.isMulti, y = d.value, B = d.name, S = De(function() {
16542
- return s(b, Qi(y), h, {
16548
+ return s(b, ji(y), h, {
16543
16549
  getOptionValue: C,
16544
16550
  getOptionLabel: E
16545
16551
  }) ? D(b, i(b)) : void 0;
@@ -16557,7 +16563,7 @@ function fy(e) {
16557
16563
  name: B,
16558
16564
  option: _
16559
16565
  };
16560
- p(Ho(x, [].concat(Wr(Qi(y)), [_]), _), X);
16566
+ p(Ho(x, [].concat(Wr(ji(y)), [_]), _), X);
16561
16567
  }
16562
16568
  return;
16563
16569
  }
@@ -16568,9 +16574,9 @@ function fy(e) {
16568
16574
  onChange: M
16569
16575
  });
16570
16576
  }
16571
- var sy = /* @__PURE__ */ Wi(function(e, t) {
16577
+ var sy = /* @__PURE__ */ Vi(function(e, t) {
16572
16578
  var n = s8(e), u = Ns(n), r = fy(u);
16573
- return /* @__PURE__ */ I.createElement(hf, we({
16579
+ return /* @__PURE__ */ I.createElement(Ff, we({
16574
16580
  ref: t
16575
16581
  }, r));
16576
16582
  }), cy = sy;
@@ -16616,12 +16622,12 @@ function dy({ stackIndex: e, isScrollTarget: t, ...n }) {
16616
16622
  } = n, { getValue: l, closeMenuOnScroll: C } = a8({ options: u, isMulti: D, isScrollTarget: t }), F = (N, Q, _) => (c.current && c.current.abort("stale data"), c.current = new AbortController(), g == null ? void 0 : g(N, Q, _, c.current)), E = c8(
16617
16623
  (N, Q) => {
16618
16624
  if (i(N), u.length > 0 && !h) {
16619
- const X = N.trim().toLowerCase(), K = D ? Ha(u, n.value) : u, U = X ? K.filter((J) => "label" in J && String(J.label).toLowerCase().includes(X)) : K;
16625
+ const X = N.trim().toLowerCase(), K = D ? Ua(u, n.value) : u, U = X ? K.filter((J) => "label" in J && String(J.label).toLowerCase().includes(X)) : K;
16620
16626
  Q(U);
16621
16627
  return;
16622
16628
  }
16623
16629
  const _ = (X) => {
16624
- Q(D ? Ha(X, n.value) : X), r(X);
16630
+ Q(D ? Ua(X, n.value) : X), r(X);
16625
16631
  };
16626
16632
  F == null || F(N, _, !1);
16627
16633
  },
@@ -16667,7 +16673,7 @@ function dy({ stackIndex: e, isScrollTarget: t, ...n }) {
16667
16673
  onFocus: B,
16668
16674
  onMenuOpen: M,
16669
16675
  isLoading: f,
16670
- defaultOptions: u.length ? D ? Ha(u, n.value) : u : n.defaultOptions || !1,
16676
+ defaultOptions: u.length ? D ? Ua(u, n.value) : u : n.defaultOptions || !1,
16671
16677
  hideSelectedOptions: D ? !1 : n.hideSelectedOptions,
16672
16678
  closeMenuOnSelect: D ? !1 : n.closeMenuOnSelect,
16673
16679
  styles: o8(n.styles, e),
@@ -16684,12 +16690,12 @@ function dy({ stackIndex: e, isScrollTarget: t, ...n }) {
16684
16690
  createOptionPosition: "first",
16685
16691
  allowCreateWhileLoading: !1,
16686
16692
  onCreateOption: O,
16687
- options: D ? Ha(u, n.value) : u
16693
+ options: D ? Ua(u, n.value) : u
16688
16694
  } : null
16689
16695
  }
16690
16696
  );
16691
16697
  }
16692
- const Ff = "table-cell-form-field", Xs = "60px", Ef = "24px", py = w(j)`
16698
+ const ya = "table-cell-form-field", Xs = "60px", Ef = "24px", py = w(j)`
16693
16699
  width: 100%;
16694
16700
  `, Cy = w(j)`
16695
16701
  width: 100%;
@@ -16784,7 +16790,7 @@ const Ff = "table-cell-form-field", Xs = "60px", Ef = "24px", py = w(j)`
16784
16790
  color: var(--connector-text-primary, ${k.palette.gray.gray1});
16785
16791
  font-weight: bold;
16786
16792
  `, xy = w(k4)`
16787
- &.${Ff} .MuiInputBase-root {
16793
+ &.${ya} .MuiInputBase-root {
16788
16794
  height: ${Xs};
16789
16795
  border: 0;
16790
16796
  padding-left: ${Ef};
@@ -17082,7 +17088,7 @@ const yy = (e, t) => ({
17082
17088
  name: z,
17083
17089
  value: ee[z],
17084
17090
  ...ae,
17085
- className: Ff,
17091
+ className: ya,
17086
17092
  label: "",
17087
17093
  hideHelperText: !0,
17088
17094
  validation: l == null ? void 0 : l[z],
@@ -17774,7 +17780,7 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
17774
17780
  }, EB = w(j)`
17775
17781
  box-sizing: border-box;
17776
17782
  `, mB = w(ns)`
17777
- &.${Ff} {
17783
+ &.${ya} {
17778
17784
  height: ${Xs};
17779
17785
  position: relative;
17780
17786
  & > div {
@@ -17810,17 +17816,6 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
17810
17816
  line-height: 19px;
17811
17817
  color: var(--connector-text-primary, ${k.palette.gray.gray1});
17812
17818
  background-color: var(--connector-surface, ${k.palette.gray.white});
17813
- &::before {
17814
- content: '';
17815
- position: absolute;
17816
- top: -5px;
17817
- right: 0;
17818
- left: 0;
17819
- height: 5px;
17820
- pointer-events: none;
17821
- background-color: var(--connector-surface, ${k.palette.gray.white});
17822
- border-radius: ${k.shape.borderRadius}px ${k.shape.borderRadius}px 0 0;
17823
- }
17824
17819
  & .MuiOutlinedInput-notchedOutline {
17825
17820
  border-color: var(--connector-border-strong, ${k.palette.gray.gray5});
17826
17821
  }
@@ -17845,6 +17840,20 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
17845
17840
  &.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
17846
17841
  border-width: 1px;
17847
17842
  }
17843
+ /* MUI lifts the notched outline 5px above the input root to leave room for a
17844
+ floating label, and the ui-kit trims the same 5px off the root's padding-top
17845
+ to keep the text centred. Our label always sits above the field, so that
17846
+ overhang only eats 5px out of the label↔field gap — a text input ends up
17847
+ visibly tighter to its label than a select, whose border hugs its own box.
17848
+ Drop the outline back onto the root and put the 5px back as padding, so the
17849
+ field keeps its height while the gap matches the select fields. Table cells
17850
+ keep the compact padding — their outline is hidden and the row height fixed. */
17851
+ &:not(.${ya}) .MuiOutlinedInput-root {
17852
+ padding-top: ${k.spacing()};
17853
+ & .MuiOutlinedInput-notchedOutline {
17854
+ top: 0;
17855
+ }
17856
+ }
17848
17857
  `, s3 = w(j)`
17849
17858
  & .hiverFormField__placeholder {
17850
17859
  color: var(--connector-text-muted, ${k.palette.gray.gray4});
@@ -17945,7 +17954,7 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
17945
17954
  border-radius: ${k.shape.borderRadius}px;
17946
17955
  }
17947
17956
 
17948
- & .${Ff} {
17957
+ & .${ya} {
17949
17958
  height: ${Xs};
17950
17959
  .hiverFormField__control {
17951
17960
  height: 100%;
@@ -18111,7 +18120,7 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
18111
18120
  J((he) => !he);
18112
18121
  }, ne = (ue) => {
18113
18122
  if (O)
18114
- return /* @__PURE__ */ a.jsx(Vi, { variant: "rounded", height: 29.69, animation: "wave" });
18123
+ return /* @__PURE__ */ a.jsx(Gi, { variant: "rounded", height: 34.69, animation: "wave" });
18115
18124
  switch (ue.type) {
18116
18125
  case "select":
18117
18126
  return /* @__PURE__ */ a.jsx(s3, { children: /* @__PURE__ */ a.jsx(
@@ -18368,7 +18377,7 @@ const jy = () => `att-${Date.now()}-${++Qy}`, Py = ({
18368
18377
  function NB(e) {
18369
18378
  return !!e.interfaceDetails || !!e.searchInterfaceDetails;
18370
18379
  }
18371
- const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B8 = (e) => typeof e == "string" && e.startsWith("{{") && e.endsWith("}}") && e.includes("."), MB = (e) => {
18380
+ const Hi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B8 = (e) => typeof e == "string" && e.startsWith("{{") && e.endsWith("}}") && e.includes("."), MB = (e) => {
18372
18381
  if (!e || !B8(e.value)) return null;
18373
18382
  const t = String(e.value).replace(/\{|\}/g, "").split("."), n = e.label.split(".");
18374
18383
  return {
@@ -18408,11 +18417,11 @@ const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B
18408
18417
  for (const i in e) {
18409
18418
  const f = e[i], s = n[f];
18410
18419
  if (!s) return { args: {}, enabled: !1 };
18411
- o[i] = _i(s) ? s.value : s;
18420
+ o[i] = Hi(s) ? s.value : s;
18412
18421
  }
18413
18422
  for (const i in t) {
18414
18423
  const f = t[i], s = n[f];
18415
- o[i] = _i(s) ? s.value : s, o[i] || (o[i] = null);
18424
+ o[i] = Hi(s) ? s.value : s, o[i] || (o[i] = null);
18416
18425
  }
18417
18426
  return { args: o, enabled: !0 };
18418
18427
  }, [e, t, n]);
@@ -18503,7 +18512,7 @@ const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B
18503
18512
  var x;
18504
18513
  const [f, s] = W(""), { selectedOption: c, selectedOptions: D, selectedValue: A, selectedValues: g } = De(() => {
18505
18514
  if (t) {
18506
- const y = Array.isArray(e) ? e.filter(_i) : [];
18515
+ const y = Array.isArray(e) ? e.filter(Hi) : [];
18507
18516
  return {
18508
18517
  selectedOption: null,
18509
18518
  selectedOptions: y,
@@ -18511,7 +18520,7 @@ const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B
18511
18520
  selectedValues: y.map((B) => B.value)
18512
18521
  };
18513
18522
  }
18514
- return _i(e) ? {
18523
+ return Hi(e) ? {
18515
18524
  selectedOption: e,
18516
18525
  selectedOptions: [],
18517
18526
  selectedValue: e.value,
@@ -18766,7 +18775,7 @@ const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B
18766
18775
  searchOffset: g = 0,
18767
18776
  setSearch: h
18768
18777
  }) => {
18769
- const p = new Set(t.map(String)), d = c && s.length === 0, l = o && A && !d && !u, C = /* @__PURE__ */ a.jsx(Xa, { sx: JB, style: { top: g }, children: /* @__PURE__ */ a.jsxs(j, { sx: KB, children: [
18778
+ const p = new Set(t.map(String)), d = c && s.length === 0, l = o && A && !d && !u, C = /* @__PURE__ */ a.jsx(za, { sx: JB, style: { top: g }, children: /* @__PURE__ */ a.jsxs(j, { sx: KB, children: [
18770
18779
  /* @__PURE__ */ a.jsx(ct.Search, { sx: { fontSize: 18, color: "var(--connector-icon-secondary, #6C7B94)", flexShrink: 0 } }),
18771
18780
  /* @__PURE__ */ a.jsx(
18772
18781
  R4,
@@ -18860,7 +18869,7 @@ const _i = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, B
18860
18869
  },
18861
18870
  String(T.value)
18862
18871
  )) }) : /* @__PURE__ */ a.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: "var(--connector-text-muted, #6C7B94)" }, children: u }) : t === "" ? /* @__PURE__ */ a.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: "var(--connector-text-muted, #6C7B94)" }, children: u }) : /* @__PURE__ */ a.jsx(Y, { component: "span", fontSize: 14, noWrap: !0, sx: { color: "var(--connector-text-primary, #202124)" }, children: y });
18863
- return /* @__PURE__ */ a.jsx(zi, { fullWidth: !0, disabled: o, sx: { m: 0, minWidth: 0 }, children: /* @__PURE__ */ a.jsx(
18872
+ return /* @__PURE__ */ a.jsx(Zi, { fullWidth: !0, disabled: o, sx: { m: 0, minWidth: 0 }, children: /* @__PURE__ */ a.jsx(
18864
18873
  us,
18865
18874
  {
18866
18875
  displayEmpty: !0,
@@ -19087,7 +19096,7 @@ const Dw = { m: 0, minWidth: 0, width: "100%" }, Aw = {
19087
19096
  color: var(--connector-text-primary, ${k.palette.gray.black});
19088
19097
  font-size: ${k.typography.body1.fontSize}px;
19089
19098
  min-height: 36px;
19090
- `, Ua = w(Y)`
19099
+ `, Wa = w(Y)`
19091
19100
  font-size: ${k.typography.body1.fontSize}px;
19092
19101
  line-height: 36px;
19093
19102
  min-height: 36px;
@@ -19482,19 +19491,19 @@ const Dw = { m: 0, minWidth: 0, width: "100%" }, Aw = {
19482
19491
  te.preventDefault(), te.stopPropagation(), d(J), E();
19483
19492
  }, K = p === "custom" && Array.isArray(l == null ? void 0 : l.options) && l.options.length > 0, U = () => {
19484
19493
  var q;
19485
- if (!t) return /* @__PURE__ */ a.jsx(Ua, { children: n });
19494
+ if (!t) return /* @__PURE__ */ a.jsx(Wa, { children: n });
19486
19495
  const [J = "", te = ""] = ((q = t.label) == null ? void 0 : q.split(" > ")) ?? [];
19487
19496
  return b ? /* @__PURE__ */ a.jsxs(Ew, { children: [
19488
- /* @__PURE__ */ a.jsx(Ua, { children: J }),
19497
+ /* @__PURE__ */ a.jsx(Wa, { children: J }),
19489
19498
  /* @__PURE__ */ a.jsx(ct.ChevronRightOutlined, { sx: { fontSize: "18px" } }),
19490
- /* @__PURE__ */ a.jsx(Ua, { children: te })
19491
- ] }) : /* @__PURE__ */ a.jsx(Ua, { children: t.label });
19499
+ /* @__PURE__ */ a.jsx(Wa, { children: te })
19500
+ ] }) : /* @__PURE__ */ a.jsx(Wa, { children: t.label });
19492
19501
  };
19493
19502
  return oe(() => {
19494
19503
  if (!(t != null && t.value) || !g) return;
19495
19504
  const J = B8(t.value) ? "custom" : "options";
19496
19505
  d(J);
19497
- }, [t, g]), /* @__PURE__ */ a.jsxs(zi, { fullWidth: !0, sx: Dw, className: f, children: [
19506
+ }, [t, g]), /* @__PURE__ */ a.jsxs(Zi, { fullWidth: !0, sx: Dw, className: f, children: [
19498
19507
  /* @__PURE__ */ a.jsxs(
19499
19508
  us,
19500
19509
  {
@@ -19525,7 +19534,7 @@ const Dw = { m: 0, minWidth: 0, width: "100%" }, Aw = {
19525
19534
  },
19526
19535
  onChange: _,
19527
19536
  children: [
19528
- /* @__PURE__ */ a.jsx(Xa, { sx: cw, children: /* @__PURE__ */ a.jsxs(j, { sx: pw, children: [
19537
+ /* @__PURE__ */ a.jsx(za, { sx: cw, children: /* @__PURE__ */ a.jsxs(j, { sx: pw, children: [
19529
19538
  /* @__PURE__ */ a.jsx(
19530
19539
  j,
19531
19540
  {
@@ -19575,10 +19584,10 @@ const Dw = { m: 0, minWidth: 0, width: "100%" }, Aw = {
19575
19584
  optionsProps: y,
19576
19585
  setSearch: T,
19577
19586
  searchOffset: 52
19578
- }) : /* @__PURE__ */ a.jsx(Xa, { sx: { padding: "12px 0 0" }, children: i.map((J) => {
19587
+ }) : /* @__PURE__ */ a.jsx(za, { sx: { padding: "12px 0 0" }, children: i.map((J) => {
19579
19588
  const te = J.options.length > 0;
19580
19589
  return /* @__PURE__ */ a.jsxs(
19581
- Xa,
19590
+ za,
19582
19591
  {
19583
19592
  onPointerEnter: (q) => {
19584
19593
  q.pointerType === "touch" || !te || F({ field: J, currentTarget: q.currentTarget });
@@ -20220,7 +20229,7 @@ const Yw = ({
20220
20229
  previewCardData: null,
20221
20230
  previewCardApiStatus: ge.IDLE,
20222
20231
  selectedSuggestionType: "basic"
20223
- }, Q8 = sf({
20232
+ }, Q8 = cf({
20224
20233
  name: "commonSlice",
20225
20234
  initialState: C3,
20226
20235
  reducers: {
@@ -20245,9 +20254,9 @@ const Yw = ({
20245
20254
  }
20246
20255
  },
20247
20256
  extraReducers: (e) => {
20248
- e.addCase(ui.pending, (t) => {
20257
+ e.addCase(ri.pending, (t) => {
20249
20258
  t.createOptionApi = ge.LOADING;
20250
- }).addCase(ui.fulfilled, (t, n) => {
20259
+ }).addCase(ri.fulfilled, (t, n) => {
20251
20260
  const u = t.optionsMap || {}, { optionsList: r, key: o } = n.payload;
20252
20261
  t.createOptionApi = ge.IDLE, t.optionsMap = {
20253
20262
  ...u,
@@ -20256,7 +20265,7 @@ const Yw = ({
20256
20265
  options: r
20257
20266
  }
20258
20267
  };
20259
- }).addCase(ui.rejected, (t) => {
20268
+ }).addCase(ri.rejected, (t) => {
20260
20269
  t.createOptionApi = ge.FAILED;
20261
20270
  }).addCase(Ar.pending, (t) => {
20262
20271
  t.dropdownOptionsApis = ge.LOADING;
@@ -20282,7 +20291,7 @@ const Yw = ({
20282
20291
  t.previewCardApiStatus = ge.FAILED;
20283
20292
  });
20284
20293
  }
20285
- }), ui = Nn(
20294
+ }), ri = Nn(
20286
20295
  "commonSlice/createDropDownOption",
20287
20296
  async (e, { getState: t, rejectWithValue: n }) => {
20288
20297
  var d, l, C;
@@ -20551,7 +20560,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20551
20560
  n = { ...e };
20552
20561
  }
20553
20562
  return "value" in n && (n.defaultValue = n.value, delete n.value), { ...n, ...t };
20554
- }, H8 = sf({
20563
+ }, H8 = cf({
20555
20564
  name: "writeCapability",
20556
20565
  initialState: xD,
20557
20566
  reducers: {
@@ -20567,9 +20576,9 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20567
20576
  }
20568
20577
  },
20569
20578
  extraReducers: (e) => {
20570
- e.addCase(ri.pending, (t) => {
20579
+ e.addCase(oi.pending, (t) => {
20571
20580
  t.objectListApiStatus = ge.LOADING;
20572
- }).addCase(ri.fulfilled, (t, n) => {
20581
+ }).addCase(oi.fulfilled, (t, n) => {
20573
20582
  const {
20574
20583
  createObjectList: u,
20575
20584
  createObjectConnectorNamesList: r,
@@ -20581,7 +20590,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20581
20590
  dependentFieldsMap: D
20582
20591
  } = n.payload;
20583
20592
  t.objectListApiStatus = ge.IDLE, t.createObjectList = u, t.createObjectConnectorNamesList = r, t.linkObjectList = o, t.editObjectList = i, t.searchObjectList = f, t.formFields = s, t.objectDict = c, t.dependentFieldsMap = D;
20584
- }).addCase(ri.rejected, (t) => {
20593
+ }).addCase(oi.rejected, (t) => {
20585
20594
  t.objectListApiStatus = ge.FAILED;
20586
20595
  }).addCase(Ar.pending, (t) => {
20587
20596
  t.dropdownOptionsApis = ge.LOADING;
@@ -20597,40 +20606,40 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20597
20606
  };
20598
20607
  }).addCase(Ar.rejected, (t) => {
20599
20608
  t.dropdownOptionsApis = ge.FAILED;
20600
- }).addCase(oi.pending, (t) => {
20609
+ }).addCase(ai.pending, (t) => {
20601
20610
  t.createFormApiStatus = ge.LOADING;
20602
- }).addCase(oi.fulfilled, (t) => {
20611
+ }).addCase(ai.fulfilled, (t) => {
20603
20612
  t.createFormApiStatus = ge.IDLE;
20604
- }).addCase(oi.rejected, (t) => {
20613
+ }).addCase(ai.rejected, (t) => {
20605
20614
  t.createFormApiStatus = ge.FAILED;
20606
- }).addCase(fi.pending, (t) => {
20615
+ }).addCase(si.pending, (t) => {
20607
20616
  t.linkCardApiStatus = ge.LOADING;
20608
- }).addCase(fi.fulfilled, (t) => {
20617
+ }).addCase(si.fulfilled, (t) => {
20609
20618
  t.linkCardApiStatus = ge.IDLE;
20610
- }).addCase(fi.rejected, (t) => {
20619
+ }).addCase(si.rejected, (t) => {
20611
20620
  t.linkCardApiStatus = ge.FAILED;
20612
- }).addCase(ii.pending, (t) => {
20621
+ }).addCase(fi.pending, (t) => {
20613
20622
  t.unlinkCardApiStatus = ge.LOADING;
20614
- }).addCase(ii.fulfilled, (t) => {
20623
+ }).addCase(fi.fulfilled, (t) => {
20615
20624
  t.unlinkCardApiStatus = ge.IDLE;
20616
- }).addCase(ii.rejected, (t) => {
20625
+ }).addCase(fi.rejected, (t) => {
20617
20626
  t.unlinkCardApiStatus = ge.FAILED;
20618
- }).addCase(ai.pending, (t) => {
20627
+ }).addCase(ii.pending, (t) => {
20619
20628
  t.updateFormApiStatus = ge.LOADING;
20620
- }).addCase(ai.fulfilled, (t) => {
20629
+ }).addCase(ii.fulfilled, (t) => {
20621
20630
  t.updateFormApiStatus = ge.IDLE;
20622
- }).addCase(ai.rejected, (t) => {
20631
+ }).addCase(ii.rejected, (t) => {
20623
20632
  t.updateFormApiStatus = ge.FAILED;
20624
- }).addCase(si.pending, (t) => {
20633
+ }).addCase(ci.pending, (t) => {
20625
20634
  t.currentResourceDetailsApiStatus = ge.LOADING;
20626
- }).addCase(si.fulfilled, (t, n) => {
20635
+ }).addCase(ci.fulfilled, (t, n) => {
20627
20636
  const { data: u } = n.payload;
20628
20637
  u && (t.currentResourceDetails = u), t.currentResourceDetailsApiStatus = ge.IDLE;
20629
- }).addCase(si.rejected, (t) => {
20638
+ }).addCase(ci.rejected, (t) => {
20630
20639
  t.currentResourceDetailsApiStatus = ge.FAILED;
20631
20640
  });
20632
20641
  }
20633
- }), ri = Nn(
20642
+ }), oi = Nn(
20634
20643
  "writeCapability/fetchObjectList",
20635
20644
  async (e) => {
20636
20645
  const { inboxIds: t, channelType: n, conversationId: u, isExpandedFormEnabled: r, connectorId: o } = e, i = await wI({ inboxIds: t, channelType: n, conversationId: u, connectorId: o });
@@ -20703,7 +20712,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20703
20712
  }, W8 = (e, t) => {
20704
20713
  const n = e.map((u) => (t == null ? void 0 : t[u]) ?? u);
20705
20714
  return `${ZI} ${n.join(", ")}`;
20706
- }, oi = Nn(
20715
+ }, ai = Nn(
20707
20716
  "writeCapability/createForm",
20708
20717
  async (e, { rejectWithValue: t }) => {
20709
20718
  var c, D;
@@ -20728,7 +20737,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20728
20737
  return Ge({ message: p, type: dt }), t(A);
20729
20738
  }
20730
20739
  }
20731
- ), ai = Nn(
20740
+ ), ii = Nn(
20732
20741
  "writeCapability/updateForm",
20733
20742
  async (e, { rejectWithValue: t }) => {
20734
20743
  var A;
@@ -20754,7 +20763,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20754
20763
  return Ge({ message: zI, type: dt }), t(g);
20755
20764
  }
20756
20765
  }
20757
- ), ii = Nn(
20766
+ ), fi = Nn(
20758
20767
  "writeCapability/unlinkCard",
20759
20768
  async ({
20760
20769
  id: e,
@@ -20764,7 +20773,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20764
20773
  }) => {
20765
20774
  await II(e, t, n, u);
20766
20775
  }
20767
- ), fi = Nn(
20776
+ ), si = Nn(
20768
20777
  "writeCapability/linkCard",
20769
20778
  async ({
20770
20779
  id: e,
@@ -20782,7 +20791,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20782
20791
  });
20783
20792
  }
20784
20793
  }
20785
- ), si = Nn(
20794
+ ), ci = Nn(
20786
20795
  "connectorCardLibrary/fetchCurrentResourceDetails",
20787
20796
  async (e, { rejectWithValue: t }) => {
20788
20797
  const { id: n, channelType: u, conversationId: r, externalResourceId: o, contactEmail: i } = e;
@@ -20860,7 +20869,7 @@ Do you want to continue?`, UI = "Select an object to create", WI = "Select an ob
20860
20869
  e.removeEventListener("scroll", c), o && window.clearTimeout(o), f && window.clearTimeout(f);
20861
20870
  };
20862
20871
  }, [e]), [n, r];
20863
- }, eS = (e) => /* @__PURE__ */ I.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M5.8016 11.709L12.3416 5.16893L11.4298 4.25712L4.88979 10.7972V11.709H5.8016ZM6.33618 12.9987H3.6001V10.2626L10.9739 2.88875C11.0948 2.76786 11.2588 2.69995 11.4298 2.69995C11.6008 2.69995 11.7648 2.76786 11.8857 2.88875L13.71 4.71302C13.8309 4.83395 13.8988 4.99794 13.8988 5.16893C13.8988 5.33992 13.8309 5.50391 13.71 5.62484L6.33618 12.9987ZM3.6001 14.2884H15.2073V15.578H3.6001V14.2884Z", fill: "var(--connector-neutral-icon, #6C7B94)" })), V8 = /^No\s.+\sfound\sfor\s(email|Email)\s.+@.+\..+$/, Hi = (e) => typeof e == "boolean" ? e ? "Yes" : "No" : String(e), G8 = (e) => {
20872
+ }, eS = (e) => /* @__PURE__ */ I.createElement("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M5.8016 11.709L12.3416 5.16893L11.4298 4.25712L4.88979 10.7972V11.709H5.8016ZM6.33618 12.9987H3.6001V10.2626L10.9739 2.88875C11.0948 2.76786 11.2588 2.69995 11.4298 2.69995C11.6008 2.69995 11.7648 2.76786 11.8857 2.88875L13.71 4.71302C13.8309 4.83395 13.8988 4.99794 13.8988 5.16893C13.8988 5.33992 13.8309 5.50391 13.71 5.62484L6.33618 12.9987ZM3.6001 14.2884H15.2073V15.578H3.6001V14.2884Z", fill: "var(--connector-neutral-icon, #6C7B94)" })), V8 = /^No\s.+\sfound\sfor\s(email|Email)\s.+@.+\..+$/, Ui = (e) => typeof e == "boolean" ? e ? "Yes" : "No" : String(e), G8 = (e) => {
20864
20873
  const t = /\(Error code: (.*?)\)$/, n = e.match(t), u = n ? n[1] : null, r = n ? e.replace(t, "").trim() : e;
20865
20874
  return { error_code: u, error_message: r };
20866
20875
  }, tS = (e, t) => `${a2} (Error code: ${e})`.replace(/{{connector_name}}/g, (t == null ? void 0 : t[0]) || ""), nS = (e, t) => {
@@ -20911,8 +20920,8 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
20911
20920
  return C.data.forEach((E, b) => {
20912
20921
  if (h[b]) {
20913
20922
  let m = E.value == null || E.value === void 0 || E.value === "" ? Xn : Array.isArray(E.value) ? E.value.map(
20914
- (x) => typeof x == "object" && x !== null ? x.filename : Hi(x)
20915
- ).join(", ") : Hi(E.value);
20923
+ (x) => typeof x == "object" && x !== null ? x.filename : Ui(x)
20924
+ ).join(", ") : Ui(E.value);
20916
20925
  if (m && m !== Xn && E.type === "date") {
20917
20926
  const x = new Date(parseInt(m));
20918
20927
  m = isNaN(x.getTime()) ? Xn : x.toLocaleDateString(navigator.language);
@@ -20970,7 +20979,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
20970
20979
  return r && r.length > 0 ? g = r[Math.min(D - 1, r.length - 1)] : (t += u, g = t), lS(g).then(() => c(D));
20971
20980
  };
20972
20981
  return c();
20973
- }, ya = "/v1/api", dS = `${ya}/connectors/cards`, pS = `${ya}/connectors/cards/:id/data`, CS = `${ya}/connectors/cards/:cardId/attachment-data`, gS = [2e3, 5e3, 1e4, 15e3, 2e4], hS = 5, FS = `${ya}/connectors/:connectorId/user-auth/status`, ES = `${ya}/connectors/:connectorId/user-auth/start`, mS = async ({
20982
+ }, Ba = "/v1/api", dS = `${Ba}/connectors/cards`, pS = `${Ba}/connectors/cards/:id/data`, CS = `${Ba}/connectors/cards/:cardId/attachment-data`, gS = [2e3, 5e3, 1e4, 15e3, 2e4], hS = 5, FS = `${Ba}/connectors/:connectorId/user-auth/status`, ES = `${Ba}/connectors/:connectorId/user-auth/start`, mS = async ({
20974
20983
  cardId: e,
20975
20984
  key: t,
20976
20985
  conversationId: n,
@@ -21232,7 +21241,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21232
21241
  }
21233
21242
  }, [t, u]);
21234
21243
  const Q = r == c0.NOT_FOUND, _ = !Q && (i === "attachment" || Array.isArray(t) && t.length > 0 && t.every((H) => H !== null && typeof H == "object" && "filename" in H && "url" in H)), X = !Q && Array.isArray(t) && t.every((H) => typeof H == "string" || typeof H == "number" || typeof H == "boolean");
21235
- let K = Q || t == null || t === void 0 || Array.isArray(t) ? Xn : Hi(t);
21244
+ let K = Q || t == null || t === void 0 || Array.isArray(t) ? Xn : Ui(t);
21236
21245
  if (i === "date" && K && K !== Xn && !Q) {
21237
21246
  const H = new Date(parseInt(K));
21238
21247
  K = isNaN(H.getTime()) ? Xn : H.toLocaleDateString(navigator.language);
@@ -21273,7 +21282,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21273
21282
  );
21274
21283
  } else if (X) {
21275
21284
  const H = t;
21276
- return H.length ? /* @__PURE__ */ a.jsx(ZF, { children: H.map((ee, z) => /* @__PURE__ */ a.jsx(JF, { children: Hi(ee) }, `${z}_${String(ee)}`)) }) : /* @__PURE__ */ a.jsx(A0, { variant: "caption_regular", children: Xn });
21285
+ return H.length ? /* @__PURE__ */ a.jsx(ZF, { children: H.map((ee, z) => /* @__PURE__ */ a.jsx(JF, { children: Ui(ee) }, `${z}_${String(ee)}`)) }) : /* @__PURE__ */ a.jsx(A0, { variant: "caption_regular", children: Xn });
21277
21286
  }
21278
21287
  return /* @__PURE__ */ a.jsx(Be, { title: O ? K : null, placement: "bottom", children: u ? /* @__PURE__ */ a.jsx(
21279
21288
  F2,
@@ -21430,7 +21439,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21430
21439
  url: `${pS.replace(":id", e)}?${r.toString()}`,
21431
21440
  method: Me.GET
21432
21441
  });
21433
- }, J8 = sf({
21442
+ }, J8 = cf({
21434
21443
  name: "connectorCardLibrary",
21435
21444
  initialState: OS,
21436
21445
  reducers: {
@@ -21443,11 +21452,11 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21443
21452
  }
21444
21453
  },
21445
21454
  extraReducers: (e) => {
21446
- e.addCase(ci.pending, (t) => {
21455
+ e.addCase(Di.pending, (t) => {
21447
21456
  t.connectorApiStatus = ge.LOADING;
21448
- }).addCase(ci.fulfilled, (t, n) => {
21457
+ }).addCase(Di.fulfilled, (t, n) => {
21449
21458
  t.connectorApiStatus = ge.IDLE, t.connectorCards = n.payload.cards, t.connectorsEnabled = n.payload.connectorsEnabled;
21450
- }).addCase(ci.rejected, (t) => {
21459
+ }).addCase(Di.rejected, (t) => {
21451
21460
  t.connectorApiStatus = ge.FAILED;
21452
21461
  }).addCase(zo.pending, (t, n) => {
21453
21462
  const { id: u, externalResourceId: r = "" } = n.meta.arg;
@@ -21482,7 +21491,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21482
21491
  };
21483
21492
  });
21484
21493
  }
21485
- }), ci = Nn(
21494
+ }), Di = Nn(
21486
21495
  "connectorCardLibrary/fetchAllCard",
21487
21496
  async ({
21488
21497
  inboxIds: e,
@@ -21536,7 +21545,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21536
21545
  connectorName: i
21537
21546
  }) => {
21538
21547
  const f = Ut(), { sendTrackingEvent: s } = Ue(lt), D = Qe(WS) === ge.LOADING, A = () => {
21539
- o && r && f(ii({ id: n, conversationId: o, externalResourceId: r })).unwrap().then(() => {
21548
+ o && r && f(fi({ id: n, conversationId: o, externalResourceId: r })).unwrap().then(() => {
21540
21549
  s(Jg, {
21541
21550
  connector_name: i,
21542
21551
  conversation_id: o
@@ -21733,7 +21742,7 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21733
21742
  // own Cancel button left the popup parked on its app without redirecting
21734
21743
  // back to us (so we can't auto-detect it). Recoverable → Sign-in card.
21735
21744
  "cancelled"
21736
- ]), n5 = sf({
21745
+ ]), n5 = cf({
21737
21746
  name: "userAuth",
21738
21747
  initialState: ek,
21739
21748
  reducers: {
@@ -21806,17 +21815,17 @@ const oS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
21806
21815
  userAuthCompleted: n_,
21807
21816
  userAuthFailed: jr,
21808
21817
  userAuthReset: u_
21809
- } = n5.actions, rk = n5.reducer, ok = { state: "unknown" }, Ba = (e, t) => e.userAuth.byConnectorId[t] || ok, ak = /* @__PURE__ */ new Set([
21818
+ } = n5.actions, rk = n5.reducer, ok = { state: "unknown" }, wa = (e, t) => e.userAuth.byConnectorId[t] || ok, ak = /* @__PURE__ */ new Set([
21810
21819
  "disconnected",
21811
21820
  "in_progress",
21812
21821
  "reauth_required",
21813
21822
  "workspace_mismatch"
21814
- ]), ik = (e, t) => ak.has(Ba(e, t).state), fk = (e) => {
21823
+ ]), ik = (e, t) => ak.has(wa(e, t).state), fk = (e) => {
21815
21824
  for (const [t, n] of Object.entries(e.userAuth.byConnectorId))
21816
21825
  if (n.state === "in_progress") return t;
21817
21826
  }, sk = 2e3, ck = 5 * 60 * 1e3;
21818
- function wa(e, t = {}) {
21819
- const n = Ut(), u = nn(), r = Qe((A) => Ba(A, e)), { onConnected: o } = t, i = ie(!1), f = ie(null), s = ie(null), c = ie(!1);
21827
+ function Ia(e, t = {}) {
21828
+ const n = Ut(), u = nn(), r = Qe((A) => wa(A, e)), { onConnected: o } = t, i = ie(!1), f = ie(null), s = ie(null), c = ie(!1);
21820
21829
  oe(() => {
21821
21830
  r.state !== "connected" && (c.current = !1);
21822
21831
  }, [r.state]), xt({
@@ -22032,7 +22041,7 @@ const Ak = w(j)`
22032
22041
  onConnected: o
22033
22042
  }) => {
22034
22043
  var g;
22035
- const { connect: i } = wa(e, { onConnected: o }), f = de(() => {
22044
+ const { connect: i } = Ia(e, { onConnected: o }), f = de(() => {
22036
22045
  i();
22037
22046
  }, [i]);
22038
22047
  if (u === "connected") return null;
@@ -22145,7 +22154,7 @@ const Ak = w(j)`
22145
22154
  onCardUnlinking: o,
22146
22155
  isPrimaryUserAuthCard: i = !0
22147
22156
  }) => {
22148
- const f = nn(), s = e.connectorId ?? "", c = !!e.userAuthEnabled && !!s, { isLoading: D } = xf(s, c), A = Qe((h) => Ba(h, s));
22157
+ const f = nn(), s = e.connectorId ?? "", c = !!e.userAuthEnabled && !!s, { isLoading: D } = xf(s, c), A = Qe((h) => wa(h, s));
22149
22158
  if (!c)
22150
22159
  return /* @__PURE__ */ a.jsx(
22151
22160
  y3,
@@ -22221,7 +22230,7 @@ const Ak = w(j)`
22221
22230
  onConnected: t
22222
22231
  }) => {
22223
22232
  xf(e.connectorId, !0);
22224
- const n = Qe((u) => Ba(u, e.connectorId));
22233
+ const n = Qe((u) => wa(u, e.connectorId));
22225
22234
  return o5.has(n.state) ? /* @__PURE__ */ a.jsx(j, { sx: { flexGrow: 1, display: "flex", flexDirection: "column", justifyContent: "flex-start" }, children: /* @__PURE__ */ a.jsx(
22226
22235
  r5,
22227
22236
  {
@@ -22235,7 +22244,7 @@ const Ak = w(j)`
22235
22244
  ) }) : null;
22236
22245
  }, bk = ({ connectors: e, onConnected: t, children: n }) => {
22237
22246
  const u = Qe(
22238
- (r) => e.some((o) => o5.has(Ba(r, o.connectorId).state))
22247
+ (r) => e.some((o) => o5.has(wa(r, o.connectorId).state))
22239
22248
  );
22240
22249
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
22241
22250
  e.map((r) => /* @__PURE__ */ a.jsx(mk, { connector: r, onConnected: t }, r.connectorId)),
@@ -22404,7 +22413,7 @@ const yk = "Bring your favourite tools into Hiver", Bk = "Plugin image", wk = "I
22404
22413
  `, zk = w(Y)`
22405
22414
  color: var(--connector-text-secondary);
22406
22415
  `, Zk = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", Jk = { 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: Kk } = Jk, I3 = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
22407
- const { sendTrackingEvent: n, availableFeatures: u, connectorFunctions: r, connectorId: o } = Ue(lt), i = yt(u, Oh), f = yt(u, uf), s = (h) => {
22416
+ const { sendTrackingEvent: n, availableFeatures: u, connectorFunctions: r, connectorId: o } = Ue(lt), i = yt(u, Oh), f = yt(u, rf), s = (h) => {
22408
22417
  h.stopPropagation(), n(Ng), o ? r == null || r.redirectToAdmin(o, { isEdit: !0, tabIndex: 2 }) : r == null || r.redirectToAdmin();
22409
22418
  }, c = (h) => {
22410
22419
  h.stopPropagation(), n(Mg), window.open(Lk, "_blank");
@@ -22447,7 +22456,7 @@ const yk = "Bring your favourite tools into Hiver", Bk = "Plugin image", wk = "I
22447
22456
  ] })
22448
22457
  ] });
22449
22458
  }, Yk = () => {
22450
- const { availableFeatures: e } = Ue(lt), t = yt(e, uf), { connectorName: n, connectorId: u, isReady: r } = A2();
22459
+ const { availableFeatures: e } = Ue(lt), t = yt(e, rf), { connectorName: n, connectorId: u, isReady: r } = A2();
22451
22460
  return r ? /* @__PURE__ */ a.jsxs(C2, { children: [
22452
22461
  /* @__PURE__ */ a.jsx(
22453
22462
  P,
@@ -22459,9 +22468,9 @@ const yk = "Bring your favourite tools into Hiver", Bk = "Plugin image", wk = "I
22459
22468
  height: "36px",
22460
22469
  gap: "8px",
22461
22470
  alignItems: "center",
22462
- children: n && u ? /* @__PURE__ */ a.jsx(yi, { variant: "body_sm_medium", children: n }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
22471
+ children: n && u ? /* @__PURE__ */ a.jsx(Bi, { variant: "body_sm_medium", children: n }) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
22463
22472
  t ? /* @__PURE__ */ a.jsx(p2, { width: "20px", height: "20px" }) : /* @__PURE__ */ a.jsx(d2, {}),
22464
- /* @__PURE__ */ a.jsx(yi, { variant: "body_sm_medium", children: t ? xs : t2 })
22473
+ /* @__PURE__ */ a.jsx(Bi, { variant: "body_sm_medium", children: t ? xs : t2 })
22465
22474
  ] })
22466
22475
  }
22467
22476
  ),
@@ -22957,7 +22966,7 @@ const fT = w(rs)`
22957
22966
  if (!s) return;
22958
22967
  const D = { values: { name: i.name, value: s }, errors: {} };
22959
22968
  r(
22960
- ui({
22969
+ ri({
22961
22970
  fieldName: i.name,
22962
22971
  formId: String(t),
22963
22972
  interfaceId: f.id,
@@ -23562,7 +23571,7 @@ const ST = w(P)`
23562
23571
  pe
23563
23572
  );
23564
23573
  ze(
23565
- ai({
23574
+ ii({
23566
23575
  formId: String(Mt),
23567
23576
  conversationId: F,
23568
23577
  args: it,
@@ -23609,7 +23618,7 @@ const ST = w(P)`
23609
23618
  pe
23610
23619
  );
23611
23620
  ze(
23612
- oi({
23621
+ ai({
23613
23622
  formId: String(A.value),
23614
23623
  conversationId: F,
23615
23624
  args: ke,
@@ -23890,7 +23899,7 @@ const RT = w(P)`
23890
23899
  (T == null ? void 0 : T.status) === 400 ? Ge({ message: g3, type: dt }) : Ge({ message: TI, type: dt });
23891
23900
  })), s((T) => !T);
23892
23901
  }, x = () => {
23893
- c && "value" in c && d && n(fi({ id: String(c.value), externalResourceId: A, conversationId: d, email: C })).unwrap().then(() => {
23902
+ c && "value" in c && d && n(si({ id: String(c.value), externalResourceId: A, conversationId: d, email: C })).unwrap().then(() => {
23894
23903
  l(Zg, {
23895
23904
  object_type: c.label,
23896
23905
  input_type: A
@@ -24161,7 +24170,7 @@ const RT = w(P)`
24161
24170
  NoOptionsMessage: f,
24162
24171
  menuOpen: s
24163
24172
  }) => {
24164
- const { availableFeatures: c, sendTrackingEvent: D, currentSmIds: A } = Ue(lt), g = yt(c, uf), h = (l, { action: C }) => {
24173
+ const { availableFeatures: c, sendTrackingEvent: D, currentSmIds: A } = Ue(lt), g = yt(c, rf), h = (l, { action: C }) => {
24165
24174
  C === "input-change" && (o(l), l || i());
24166
24175
  }, p = (l) => {
24167
24176
  r(l), l || (o(""), i());
@@ -24541,7 +24550,7 @@ const RT = w(P)`
24541
24550
  /* @__PURE__ */ a.jsx(j, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ a.jsx(Ks, { width: "20px", height: "20px", "aria-hidden": !0 }) })
24542
24551
  ] }, h)) })
24543
24552
  ] }) : /* @__PURE__ */ a.jsx(wL, {});
24544
- }, Xr = w(Vi)`
24553
+ }, Xr = w(Gi)`
24545
24554
  display: block;
24546
24555
  margin: ${(e) => e.margin ? e.margin : 0};
24547
24556
  `, SL = () => /* @__PURE__ */ a.jsxs(P, { marginTop: "12px", children: [
@@ -24773,8 +24782,8 @@ const U0 = /* @__PURE__ */ new Set(), kL = (e, t) => {
24773
24782
  return () => n.unregister(i);
24774
24783
  }, [n, e, u, r]);
24775
24784
  }, XL = ({ isAdmin: e = !1 }) => {
24776
- var Sa, fc;
24777
- const { email: t, currentSmIds: n, sendTrackingEvent: u, availableFeatures: r, conversationId: o, connectorId: i } = Ue(lt), f = Ut(), { userGroupId: s, userId: c } = Dn() || {}, D = ie(!1), A = ie(null), g = ie(null), h = ie(null), [p, d] = W({}), [l, C] = W(!1), [F, E] = W(!1), [b, m] = W(!1), [x, y] = W(!1), [B, S] = W(), [O, M] = W(!1), [T, N] = W(null), [Q, _] = W(), [X, K] = W(null), [U, J] = W(!1), [te, q] = W(!1), [H, ee] = W(!1), [z, V] = W(!1), [ae, le] = W(void 0), Ee = ie(), re = Qe(z8), fe = Qe(aS), Ae = Qe(fS), ne = Qe(sS), ue = Qe(DS), he = Qe(iS), He = Qe(Y8), We = Qe(PS), pt = Qe(q8), Ve = Qe($8), pe = Qe(e5), Ke = Qe(DT), wt = yt(r, Lh), mt = yt(r, ql), It = yt(r, jh), jn = yt(r, _h), dn = yt(r, Hh), eu = yt(r, Uh), pn = (Sa = Dn()) == null ? void 0 : Sa.tenantPlatform, Wt = yt(
24785
+ var ka, fc;
24786
+ const { email: t, currentSmIds: n, sendTrackingEvent: u, availableFeatures: r, conversationId: o, connectorId: i } = Ue(lt), f = Ut(), { userGroupId: s, userId: c } = Dn() || {}, D = ie(!1), A = ie(null), g = ie(null), h = ie(null), [p, d] = W({}), [l, C] = W(!1), [F, E] = W(!1), [b, m] = W(!1), [x, y] = W(!1), [B, S] = W(), [O, M] = W(!1), [T, N] = W(null), [Q, _] = W(), [X, K] = W(null), [U, J] = W(!1), [te, q] = W(!1), [H, ee] = W(!1), [z, V] = W(!1), [ae, le] = W(void 0), Ee = ie(), re = Qe(z8), fe = Qe(aS), Ae = Qe(fS), ne = Qe(sS), ue = Qe(DS), he = Qe(iS), He = Qe(Y8), We = Qe(PS), pt = Qe(q8), Ve = Qe($8), pe = Qe(e5), Ke = Qe(DT), wt = yt(r, Lh), mt = yt(r, ql), It = yt(r, jh), jn = yt(r, _h), dn = yt(r, Hh), eu = yt(r, Uh), pn = (ka = Dn()) == null ? void 0 : ka.tenantPlatform, Wt = yt(
24778
24787
  r,
24779
24788
  pn === "HIVERWEB" ? `hot-${$c}` : $c
24780
24789
  ), { data: wn } = xt({
@@ -24866,7 +24875,7 @@ const U0 = /* @__PURE__ */ new Set(), kL = (e, t) => {
24866
24875
  Sr(), N(null);
24867
24876
  }, [Sr, N]), nu = nn(), Qt = de(() => {
24868
24877
  if (t && n.length && o) {
24869
- const Fe = f(ci({ inboxIds: n, conversationId: o, connectorId: i }));
24878
+ const Fe = f(Di({ inboxIds: n, conversationId: o, connectorId: i }));
24870
24879
  return () => Fe.abort();
24871
24880
  }
24872
24881
  }, [f, t, n, o, i]), R = de(() => {
@@ -24876,7 +24885,7 @@ const U0 = /* @__PURE__ */ new Set(), kL = (e, t) => {
24876
24885
  }, [nu, Qt]), $ = de(
24877
24886
  (Fe, je) => {
24878
24887
  Fe && o && je && f(
24879
- si({
24888
+ ci({
24880
24889
  id: Fe,
24881
24890
  channelType: "email",
24882
24891
  conversationId: o,
@@ -24934,7 +24943,7 @@ const U0 = /* @__PURE__ */ new Set(), kL = (e, t) => {
24934
24943
  }, [ue, re, Pn, u, n, i]), oe(() => {
24935
24944
  if (o && n && n.length) {
24936
24945
  const Fe = f(
24937
- ri({
24946
+ oi({
24938
24947
  inboxIds: n,
24939
24948
  conversationId: o,
24940
24949
  channelType: "email",
@@ -25385,7 +25394,7 @@ const vo = ({ children: e }) => {
25385
25394
  theme: c,
25386
25395
  children: [
25387
25396
  /* @__PURE__ */ a.jsx(XL, { isAdmin: u == null ? void 0 : u.isAdmin }, D || "root"),
25388
- /* @__PURE__ */ a.jsx(Af, { zIndex: i.toastMessage }),
25397
+ /* @__PURE__ */ a.jsx(lf, { zIndex: i.toastMessage }),
25389
25398
  /* @__PURE__ */ a.jsx("div", { "data-connectorid": "connector-layover-portal" })
25390
25399
  ]
25391
25400
  }
@@ -25664,7 +25673,7 @@ const uO = "Everything looks good", rO = "Something is not working", oO = "Share
25664
25673
  return /* @__PURE__ */ a.jsxs(gO, { children: [
25665
25674
  /* @__PURE__ */ a.jsx(Y, { variant: "h3", children: r }),
25666
25675
  /* @__PURE__ */ a.jsx(hO, {}),
25667
- u ? /* @__PURE__ */ a.jsx(zi, { children: /* @__PURE__ */ a.jsx(
25676
+ u ? /* @__PURE__ */ a.jsx(Zi, { children: /* @__PURE__ */ a.jsx(
25668
25677
  NA,
25669
25678
  {
25670
25679
  "aria-labelledby": "demo-controlled-radio-buttons-group",
@@ -26103,7 +26112,7 @@ const MO = ({
26103
26112
  sendTrackingEvent: r.sendTrackingEvent
26104
26113
  }
26105
26114
  ),
26106
- /* @__PURE__ */ a.jsx(Af, {})
26115
+ /* @__PURE__ */ a.jsx(lf, {})
26107
26116
  ] })
26108
26117
  }
26109
26118
  ), Q3 = {
@@ -26191,7 +26200,7 @@ class f_ {
26191
26200
  this._listeners.clear(), this._queue = [];
26192
26201
  }
26193
26202
  }
26194
- var Se = /* @__PURE__ */ ((e) => (e.NOT_LOGGED = "NOT_LOGGED", e.PENDING = "PENDING", e.LOGGED = "LOGGED", e.ERROR = "ERROR", e.UNAUTHENTICATED = "UNAUTHENTICATED", e.PAUSED = "PAUSED", e))(Se || {}), Ui = /* @__PURE__ */ ((e) => (e.ENABLED = "enabled", e.UNAUTHENTICATED = "unauthenticated", e.DISABLED = "disabled", e))(Ui || {});
26203
+ var Se = /* @__PURE__ */ ((e) => (e.NOT_LOGGED = "NOT_LOGGED", e.PENDING = "PENDING", e.LOGGED = "LOGGED", e.ERROR = "ERROR", e.UNAUTHENTICATED = "UNAUTHENTICATED", e.PAUSED = "PAUSED", e))(Se || {}), Wi = /* @__PURE__ */ ((e) => (e.ENABLED = "enabled", e.UNAUTHENTICATED = "unauthenticated", e.DISABLED = "disabled", e))(Wi || {});
26195
26204
  const _O = (e) => {
26196
26205
  const t = [], n = {};
26197
26206
  for (const u of e) {
@@ -26208,7 +26217,7 @@ const _O = (e) => {
26208
26217
  return t;
26209
26218
  }, j5 = (e) => {
26210
26219
  const { emailLogSettings: t, messageLogStatus: n, selectedEntities: u, autoLogEnabled: r } = e;
26211
- return (t == null ? void 0 : t.connectorStatus) === Ui.UNAUTHENTICATED ? Se.UNAUTHENTICATED : n.pending > 0 ? Se.PENDING : n.failed ? Se.ERROR : u.length === 0 ? Se.NOT_LOGGED : r ? Se.LOGGED : Se.PAUSED;
26220
+ return (t == null ? void 0 : t.connectorStatus) === Wi.UNAUTHENTICATED ? Se.UNAUTHENTICATED : n.pending > 0 ? Se.PENDING : n.failed ? Se.ERROR : u.length === 0 ? Se.NOT_LOGGED : r ? Se.LOGGED : Se.PAUSED;
26212
26221
  }, W0 = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 14, height: 14, viewBox: "0 0 14 14", fill: "#D24B58", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M6.3335 8.99967H7.66683V10.333H6.3335V8.99967ZM6.3335 3.66634H7.66683V7.66634H6.3335V3.66634ZM6.9935 0.333008C3.3135 0.333008 0.333496 3.31967 0.333496 6.99967C0.333496 10.6797 3.3135 13.6663 6.9935 13.6663C10.6802 13.6663 13.6668 10.6797 13.6668 6.99967C13.6668 3.31967 10.6802 0.333008 6.9935 0.333008ZM7.00016 12.333C4.0535 12.333 1.66683 9.94634 1.66683 6.99967C1.66683 4.05301 4.0535 1.66634 7.00016 1.66634C9.94683 1.66634 12.3335 4.05301 12.3335 6.99967C12.3335 9.94634 9.94683 12.333 7.00016 12.333Z" })), HO = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 12, height: 10, viewBox: "0 0 12 10", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M4.0001 8.0299L1.2201 5.2499L0.273438 6.1899L4.0001 9.91656L12.0001 1.91656L11.0601 0.976562L4.0001 8.0299Z", fill: "white" })), UO = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 19, height: 18, viewBox: "0 0 19 18", fill: "var(--connector-neutral-icon, #6F7C90)", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#clip0_532_206243)" }, /* @__PURE__ */ I.createElement("path", { d: "M9.94092 3V0.75L6.94092 3.75L9.94092 6.75V4.5C12.4234 4.5 14.4409 6.5175 14.4409 9C14.4409 9.7575 14.2534 10.4775 13.9159 11.1L15.0109 12.195C15.5959 11.2725 15.9409 10.1775 15.9409 9C15.9409 5.685 13.2559 3 9.94092 3ZM9.94092 13.5C7.45842 13.5 5.44092 11.4825 5.44092 9C5.44092 8.2425 5.62842 7.5225 5.96592 6.9L4.87092 5.805C4.28592 6.7275 3.94092 7.8225 3.94092 9C3.94092 12.315 6.62592 15 9.94092 15V17.25L12.9409 14.25L9.94092 11.25V13.5Z" })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "clip0_532_206243" }, /* @__PURE__ */ I.createElement("rect", { width: 18, height: 18, fill: "white", transform: "translate(0.940918)" })))), WO = (e) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", ...e }, /* @__PURE__ */ I.createElement("g", { clipPath: "url(#clip0_1_11813)" }, /* @__PURE__ */ I.createElement("path", { d: "M9.05859 0C4.09059 0 0.0585938 4.032 0.0585938 9C0.0585938 13.968 4.09059 18 9.05859 18C14.0266 18 18.0586 13.968 18.0586 9C18.0586 4.032 14.0266 0 9.05859 0ZM8.15859 12.6H6.35859V5.4H8.15859V12.6ZM11.7586 12.6H9.95859V5.4H11.7586V12.6Z", fill: "#F2A579" })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "clip0_1_11813" }, /* @__PURE__ */ I.createElement("rect", { width: 18, height: 18, fill: "white" })))), Bf = es`
26213
26222
  from {
26214
26223
  transform: rotate(0deg);
@@ -26468,7 +26477,7 @@ const _O = (e) => {
26468
26477
  retry: r,
26469
26478
  renderEntities: o
26470
26479
  }) => {
26471
- const { connectorFunctions: i } = Ue(Bn), f = i == null ? void 0 : i.sendTrackingEvent, [s, c] = W(() => localStorage.getItem(j3) === "true"), [D, A] = W(!1), { connectorId: g, connectorName: h, connectorStatus: p } = n ?? {}, d = t || p !== Ui.DISABLED, l = p === Ui.UNAUTHENTICATED, C = u === Se.PENDING, F = () => {
26480
+ const { connectorFunctions: i } = Ue(Bn), f = i == null ? void 0 : i.sendTrackingEvent, [s, c] = W(() => localStorage.getItem(j3) === "true"), [D, A] = W(!1), { connectorId: g, connectorName: h, connectorStatus: p } = n ?? {}, d = t || p !== Wi.DISABLED, l = p === Wi.UNAUTHENTICATED, C = u === Se.PENDING, F = () => {
26472
26481
  localStorage.setItem(j3, "true"), c(!0), A(!0), f == null || f(qt.email_logging_intro_popup_continue_clicked, { app_name: h });
26473
26482
  };
26474
26483
  return s ? l ? /* @__PURE__ */ a.jsx(QR, { connectorId: g, connectorName: h, isAdmin: t, isAuthenticated: !1, children: e }) : r ? /* @__PURE__ */ a.jsx(Be, { title: aR, children: e }) : C ? /* @__PURE__ */ a.jsx(Be, { title: oR.replace(":connectorName", h), children: e }) : o ? /* @__PURE__ */ a.jsx($O, { defaultOpen: D, renderTooltip: o, children: e }) : /* @__PURE__ */ a.jsx(a.Fragment, { children: e }) : /* @__PURE__ */ a.jsx(IR, { onContinue: d ? F : void 0, connectorName: h, children: e });
@@ -26809,7 +26818,7 @@ const nN = w(P)`
26809
26818
  }, FN = (e) => {
26810
26819
  var t;
26811
26820
  return e ? !((t = e == null ? void 0 : e.messageLogStatus) != null && t.pending) : !1;
26812
- }, Ia = ({ conversationId: e }) => {
26821
+ }, Sa = ({ conversationId: e }) => {
26813
26822
  const t = nn(), { queryKey: n, polledLogsStatus: u } = De(() => {
26814
26823
  const o = ["EmailLogger", "PolledLogsStatus", e], i = bf({
26815
26824
  intervalMillis: 1e3,
@@ -26864,7 +26873,7 @@ const nN = w(P)`
26864
26873
  }
26865
26874
  }
26866
26875
  `, xN = ({ checkedEntities: e, close: t, connectorName: n, connectorId: u }) => {
26867
- const { conversationId: r, connectorFunctions: o } = Ue(Bn), { refetch: i } = Ia({ conversationId: r }), f = o == null ? void 0 : o.sendTrackingEvent, s = () => {
26876
+ const { conversationId: r, connectorFunctions: o } = Ue(Bn), { refetch: i } = Sa({ conversationId: r }), f = o == null ? void 0 : o.sendTrackingEvent, s = () => {
26868
26877
  i(), t();
26869
26878
  const p = Object.values(e), d = p.map((C) => C.displayValue).join(", "), l = Array.from(new Set(p.map((C) => C == null ? void 0 : C.entityType)));
26870
26879
  f == null || f(qt.email_logging_log_config_saved, {
@@ -26949,7 +26958,7 @@ const nN = w(P)`
26949
26958
  return /* @__PURE__ */ a.jsxs(yN, { width: o, children: [
26950
26959
  /* @__PURE__ */ a.jsx(Y, { variant: "h3", children: r }),
26951
26960
  /* @__PURE__ */ a.jsx(BN, {}),
26952
- u ? /* @__PURE__ */ a.jsx(zi, { children: /* @__PURE__ */ a.jsx(
26961
+ u ? /* @__PURE__ */ a.jsx(Zi, { children: /* @__PURE__ */ a.jsx(
26953
26962
  NA,
26954
26963
  {
26955
26964
  "aria-labelledby": "demo-controlled-radio-buttons-group",
@@ -27268,7 +27277,7 @@ const TN = w(P)`
27268
27277
  data: b,
27269
27278
  isError: m,
27270
27279
  isLoading: x
27271
- } = MN({ conversationId: l, enabled: !c }), { refetch: y } = Ia({ conversationId: l }), B = () => {
27280
+ } = MN({ conversationId: l, enabled: !c }), { refetch: y } = Sa({ conversationId: l }), B = () => {
27272
27281
  E == null || E(qt.email_logging_search_results_found, {
27273
27282
  app_name: i,
27274
27283
  search_keyword: D
@@ -27431,7 +27440,7 @@ const TN = w(P)`
27431
27440
  Se.NOT_LOGGED,
27432
27441
  Se.PAUSED
27433
27442
  ], rM = [Se.LOGGED, Se.PAUSED], oM = ({ status: e, emailLogStatus: t }) => {
27434
- const { isAdmin: n, conversationId: u, connectorFunctions: r } = Ue(Bn), o = r == null ? void 0 : r.sendTrackingEvent, { refetch: i } = Ia({ conversationId: u }), { mutate: f, isPending: s } = H5({ onSuccess: i }), c = zO[e], D = KO[e], A = JO[e], { emailLogSettings: g, messageLogStatus: h } = t, { connectorName: p } = g ?? {}, { logged: d, total: l } = h ?? {}, C = rM.includes(e) && l ? ` (${d}/${l})` : "", F = e === Se.ERROR, E = uM.includes(e), b = ({ close: x }) => /* @__PURE__ */ a.jsx(_5, { close: x, emailLogStatus: t }), m = () => {
27443
+ const { isAdmin: n, conversationId: u, connectorFunctions: r } = Ue(Bn), o = r == null ? void 0 : r.sendTrackingEvent, { refetch: i } = Sa({ conversationId: u }), { mutate: f, isPending: s } = H5({ onSuccess: i }), c = zO[e], D = KO[e], A = JO[e], { emailLogSettings: g, messageLogStatus: h } = t, { connectorName: p } = g ?? {}, { logged: d, total: l } = h ?? {}, C = rM.includes(e) && l ? ` (${d}/${l})` : "", F = e === Se.ERROR, E = uM.includes(e), b = ({ close: x }) => /* @__PURE__ */ a.jsx(_5, { close: x, emailLogStatus: t }), m = () => {
27435
27444
  f({ conversationId: u }), o == null || o(qt.email_logging_failed_clicked, { app_name: p });
27436
27445
  };
27437
27446
  return /* @__PURE__ */ a.jsx(
@@ -27467,7 +27476,7 @@ const TN = w(P)`
27467
27476
  );
27468
27477
  }, aM = ({ observer: e }) => {
27469
27478
  var h;
27470
- const [t, n] = W({}), [u, r] = W({}), [o, i] = W({}), { conversationId: f } = Ue(Bn), { data: s } = Ia({ conversationId: f }), c = (h = s == null ? void 0 : s.emailLogSettings) == null ? void 0 : h.enabled, D = (p) => {
27479
+ const [t, n] = W({}), [u, r] = W({}), [o, i] = W({}), { conversationId: f } = Ue(Bn), { data: s } = Sa({ conversationId: f }), c = (h = s == null ? void 0 : s.emailLogSettings) == null ? void 0 : h.enabled, D = (p) => {
27471
27480
  n((d) => ({ ...d, ...p }));
27472
27481
  }, A = (p) => {
27473
27482
  r((d) => ({ ...d, ...p }));
@@ -27514,7 +27523,7 @@ const TN = w(P)`
27514
27523
  [e, t, n, u]
27515
27524
  );
27516
27525
  return /* @__PURE__ */ a.jsx(Bn.Provider, { value: o, children: r });
27517
- }, U5 = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(iM, { ...n, children: e }) }) }) }) }), Wa = ".hiver-log-crm-button", Va = ".hiver-log-crm-compose-button", Z3 = ".hiver-log-crm-subject-button";
27526
+ }, U5 = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(iM, { ...n, children: e }) }) }) }) }), Va = ".hiver-log-crm-button", Ga = ".hiver-log-crm-compose-button", Z3 = ".hiver-log-crm-subject-button";
27518
27527
  class s_ {
27519
27528
  constructor({
27520
27529
  emailNodeFilter: t,
@@ -27543,15 +27552,15 @@ class s_ {
27543
27552
  Ye(this, "_addLogButtonsOnEmail", () => {
27544
27553
  if (this.disableAutoLogInEmail)
27545
27554
  return;
27546
- document.querySelectorAll(Wa).forEach((u) => u.remove());
27555
+ document.querySelectorAll(Va).forEach((u) => u.remove());
27547
27556
  const n = document.querySelectorAll(this.emailMessageContainerSelector);
27548
27557
  n.length && n.forEach((u) => {
27549
27558
  var s;
27550
27559
  const r = u.querySelector(this.emailHeaderTargetSelector), o = u.getAttribute("data-message-id") || null, i = u.getAttribute("data-legacy-message-id") || null;
27551
- if (r != null && r.querySelector(Wa))
27560
+ if (r != null && r.querySelector(Va))
27552
27561
  return;
27553
27562
  const f = document.createElement("div");
27554
- f.classList.add(Wa.slice(1)), f.style.display = "inline-block", f.style.marginLeft = "8px", r == null || r.appendChild(f), (s = this.setEmailButtonContainers) == null || s.call(this, {
27563
+ f.classList.add(Va.slice(1)), f.style.display = "inline-block", f.style.marginLeft = "8px", r == null || r.appendChild(f), (s = this.setEmailButtonContainers) == null || s.call(this, {
27555
27564
  [o ?? ""]: { element: f, messageId: o, legacyMessageId: i }
27556
27565
  });
27557
27566
  });
@@ -27559,14 +27568,14 @@ class s_ {
27559
27568
  Ye(this, "_addLogButtonsOnCompose", () => {
27560
27569
  if (this.disableAutoLogInCompose)
27561
27570
  return;
27562
- document.querySelectorAll(Va).forEach((u) => u.remove());
27571
+ document.querySelectorAll(Ga).forEach((u) => u.remove());
27563
27572
  const n = document.querySelectorAll(this.composeHeaderTargetSelector);
27564
27573
  n.length && n.forEach((u, r) => {
27565
27574
  var i;
27566
- if (u.querySelector(Va))
27575
+ if (u.querySelector(Ga))
27567
27576
  return;
27568
27577
  const o = document.createElement("div");
27569
- o.classList.add(Va.slice(1)), o.style.display = "inline-block", u.appendChild(o), (i = this.setComposeButtonContainers) == null || i.call(this, { ["_compose_" + r]: { element: o } });
27578
+ o.classList.add(Ga.slice(1)), o.style.display = "inline-block", u.appendChild(o), (i = this.setComposeButtonContainers) == null || i.call(this, { ["_compose_" + r]: { element: o } });
27570
27579
  });
27571
27580
  });
27572
27581
  Ye(this, "_addLogButtonOnSubject", () => {
@@ -27609,7 +27618,7 @@ class s_ {
27609
27618
  this.setComposeButtonContainers = t, this.setEmailButtonContainers = n, this.setSubjectButtonContainers = u, this._init(), (!this.disableAutoLogInEmail || !this.disableAutoLogInCompose) && this._initMutationObserver();
27610
27619
  }
27611
27620
  destroy() {
27612
- document.querySelectorAll(Wa).forEach((u) => u.remove()), document.querySelectorAll(Va).forEach((u) => u.remove()), this.observer && (this.observer.disconnect(), this.observer = null);
27621
+ document.querySelectorAll(Va).forEach((u) => u.remove()), document.querySelectorAll(Ga).forEach((u) => u.remove()), this.observer && (this.observer.disconnect(), this.observer = null);
27613
27622
  }
27614
27623
  }
27615
27624
  const c_ = ({
@@ -27624,7 +27633,7 @@ const c_ = ({
27624
27633
  style: Ru(t.mode, xr(t)),
27625
27634
  children: /* @__PURE__ */ a.jsxs(U5, { ...n, theme: t, children: [
27626
27635
  /* @__PURE__ */ a.jsx(aM, { observer: e }),
27627
- /* @__PURE__ */ a.jsx(Af, {})
27636
+ /* @__PURE__ */ a.jsx(lf, {})
27628
27637
  ] })
27629
27638
  }
27630
27639
  );
@@ -28440,7 +28449,7 @@ const gM = w("div")`
28440
28449
  ] });
28441
28450
  }, J3 = 288, wM = 405, IM = 4, SM = ({ onVisibilityChange: e } = {}) => {
28442
28451
  var b, m;
28443
- const { conversationId: t, connectorFunctions: n } = Ue(Bn), { data: u, refetch: r } = Ia({ conversationId: t }), o = nn(), [i, f] = W(!1), s = ie(null), c = ie(null), [D, A] = W({ top: 0, left: 0 }), g = !!t && !!((b = u == null ? void 0 : u.emailLogSettings) != null && b.enabled);
28452
+ const { conversationId: t, connectorFunctions: n } = Ue(Bn), { data: u, refetch: r } = Sa({ conversationId: t }), o = nn(), [i, f] = W(!1), s = ie(null), c = ie(null), [D, A] = W({ top: 0, left: 0 }), g = !!t && !!((b = u == null ? void 0 : u.emailLogSettings) != null && b.enabled);
28444
28453
  oe(() => {
28445
28454
  e == null || e(g);
28446
28455
  }, [g, e]);
@@ -28473,7 +28482,7 @@ const gM = w("div")`
28473
28482
  return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
28474
28483
  }, [i]);
28475
28484
  const l = De(
28476
- () => Xi({
28485
+ () => zi({
28477
28486
  ...k,
28478
28487
  zIndex: { ...k.zIndex, tooltip: 2100, modal: 2100 }
28479
28488
  }),
@@ -28531,7 +28540,7 @@ const gM = w("div")`
28531
28540
  style: Ru(t.mode, xr(t)),
28532
28541
  children: /* @__PURE__ */ a.jsxs(U5, { ...n, tenant: "HIVERWEB", theme: t, children: [
28533
28542
  /* @__PURE__ */ a.jsx(SM, { onVisibilityChange: e }),
28534
- /* @__PURE__ */ a.jsx(Af, {})
28543
+ /* @__PURE__ */ a.jsx(lf, {})
28535
28544
  ] })
28536
28545
  }
28537
28546
  ), kM = (e) => "external_user_id" in e, TM = (e) => kM(e) ? {
@@ -28943,7 +28952,7 @@ const KM = w(j)`
28943
28952
  height: 100%;
28944
28953
  background: ${v.color.slateSurfaceWhite};
28945
28954
  font-family: ${v.font.family};
28946
- `, Ga = w(P)`
28955
+ `, Xa = w(P)`
28947
28956
  flex: 1;
28948
28957
  align-items: center;
28949
28958
  justify-content: center;
@@ -29400,17 +29409,17 @@ function xQ(e, t) {
29400
29409
  function $3(e) {
29401
29410
  return Ju.get(e) ?? null;
29402
29411
  }
29403
- let Di = 0;
29412
+ let Ai = 0;
29404
29413
  const o4 = [];
29405
29414
  function vQ() {
29406
- return Di < mQ ? (Di += 1, Promise.resolve()) : new Promise((e) => {
29415
+ return Ai < mQ ? (Ai += 1, Promise.resolve()) : new Promise((e) => {
29407
29416
  o4.push(() => {
29408
- Di += 1, e();
29417
+ Ai += 1, e();
29409
29418
  });
29410
29419
  });
29411
29420
  }
29412
29421
  function yQ() {
29413
- Di -= 1;
29422
+ Ai -= 1;
29414
29423
  const e = o4.shift();
29415
29424
  e && e();
29416
29425
  }
@@ -32137,7 +32146,7 @@ const OQ = /* @__PURE__ */ H4(LQ), nc = new OQ();
32137
32146
  nc.replace_mode = "unified";
32138
32147
  nc.allow_native = !0;
32139
32148
  const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @__PURE__ */ a.jsx(
32140
- Vi,
32149
+ Gi,
32141
32150
  {
32142
32151
  variant: "rounded",
32143
32152
  animation: "wave",
@@ -32165,16 +32174,16 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
32165
32174
  }, f4 = (e) => {
32166
32175
  const t = /^\d+\.\d+$/.test(e) ? new Date(parseFloat(e) * 1e3) : new Date(e);
32167
32176
  return Number.isNaN(t.getTime()) ? null : t;
32168
- }, NQ = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], Z0 = (e) => String(e).padStart(2, "0"), Ai = (e) => `${NQ[e.getMonth()]} ${Z0(e.getDate())}`, J0 = (e) => {
32177
+ }, NQ = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], Z0 = (e) => String(e).padStart(2, "0"), li = (e) => `${NQ[e.getMonth()]} ${Z0(e.getDate())}`, J0 = (e) => {
32169
32178
  const t = e.getHours(), n = t % 12 === 0 ? 12 : t % 12;
32170
32179
  return `${Z0(n)}:${Z0(e.getMinutes())} ${t < 12 ? "AM" : "PM"}`;
32171
32180
  }, K0 = (e) => e.getFullYear() === (/* @__PURE__ */ new Date()).getFullYear(), MQ = (e, t) => e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), s4 = (e, t = !1) => {
32172
32181
  const n = f4(e);
32173
- return n ? t ? MQ(n, /* @__PURE__ */ new Date()) ? J0(n) : K0(n) ? Ai(n) : String(n.getFullYear()) : K0(n) ? `${Ai(n)}, ${J0(n)}` : `${Ai(n)}, ${n.getFullYear()}` : "";
32182
+ return n ? t ? MQ(n, /* @__PURE__ */ new Date()) ? J0(n) : K0(n) ? li(n) : String(n.getFullYear()) : K0(n) ? `${li(n)}, ${J0(n)}` : `${li(n)}, ${n.getFullYear()}` : "";
32174
32183
  }, QQ = (e) => {
32175
32184
  const t = f4(e);
32176
32185
  if (!t) return "";
32177
- const n = `${Ai(t)}, ${t.getFullYear()}`;
32186
+ const n = `${li(t)}, ${t.getFullYear()}`;
32178
32187
  return K0(t) ? `${n}, ${J0(t)}` : n;
32179
32188
  }, jQ = ({
32180
32189
  shown: e,
@@ -32380,7 +32389,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
32380
32389
  align-items: baseline;
32381
32390
  gap: ${v.space.md}px;
32382
32391
  min-width: 0;
32383
- `, li = w(j, {
32392
+ `, di = w(j, {
32384
32393
  shouldForwardProp: (e) => e !== "boxed"
32385
32394
  })`
32386
32395
  flex: 1 1 auto;
@@ -32848,7 +32857,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
32848
32857
  let n = e;
32849
32858
  for (const u of t) n = n.replace(u.displayText, `<@${u.externalUserId}>`);
32850
32859
  return n;
32851
- }, oj = [8203, 8204, 8205, 8288, 65279, 160], aj = new RegExp(`[${oj.map((e) => String.fromCodePoint(e)).join("")}]`, "g"), di = (e) => e.replace(aj, "").trim().length > 0, ij = (e) => /* @__PURE__ */ I.createElement("svg", { preserveAspectRatio: "none", width: "100%", height: "100%", overflow: "visible", style: {
32860
+ }, oj = [8203, 8204, 8205, 8288, 65279, 160], aj = new RegExp(`[${oj.map((e) => String.fromCodePoint(e)).join("")}]`, "g"), pi = (e) => e.replace(aj, "").trim().length > 0, ij = (e) => /* @__PURE__ */ I.createElement("svg", { preserveAspectRatio: "none", width: "100%", height: "100%", overflow: "visible", style: {
32852
32861
  display: "block"
32853
32862
  }, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("g", { id: "Frame", clipPath: "url(#clip0_0_32)" }, /* @__PURE__ */ I.createElement("path", { id: "Vector", d: "M5.33301 9.33398C5.33301 9.33398 6.33301 10.6673 7.99967 10.6673C9.66634 10.6673 10.6663 9.33398 10.6663 9.33398M9.99967 6.00065H10.0063M5.99967 6.00065H6.00634M14.6663 8.00065C14.6663 11.6825 11.6815 14.6673 7.99967 14.6673C4.31777 14.6673 1.33301 11.6825 1.33301 8.00065C1.33301 4.31875 4.31777 1.33398 7.99967 1.33398C11.6815 1.33398 14.6663 4.31875 14.6663 8.00065ZM10.333 6.00065C10.333 6.18474 10.1837 6.33398 9.99967 6.33398C9.81561 6.33398 9.66634 6.18474 9.66634 6.00065C9.66634 5.81656 9.81561 5.66732 9.99967 5.66732C10.1837 5.66732 10.333 5.81656 10.333 6.00065ZM6.33301 6.00065C6.33301 6.18474 6.18377 6.33398 5.99967 6.33398C5.81558 6.33398 5.66634 6.18474 5.66634 6.00065C5.66634 5.81656 5.81558 5.66732 5.99967 5.66732C6.18377 5.66732 6.33301 5.81656 6.33301 6.00065Z", stroke: "var(--connector-neutral-icon, #5C5C5C)", strokeWidth: 1.4, strokeLinecap: "round", strokeLinejoin: "round" })), /* @__PURE__ */ I.createElement("defs", null, /* @__PURE__ */ I.createElement("clipPath", { id: "clip0_0_32" }, /* @__PURE__ */ I.createElement("rect", { width: 16, height: 16, fill: "white" })))), A4 = ({
32854
32863
  anchor: e,
@@ -33020,7 +33029,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33020
33029
  linkType: i,
33021
33030
  disabled: f
33022
33031
  }) => {
33023
- const { hiverConvId: s, sendTrackingEvent: c, openEmojiPicker: D, boxedMessages: A } = pu(), g = u || A ? 2 : 4, h = u || A ? 40 : 80, p = yf(), d = nn(), [l, C] = W(""), [F, E] = W(!1), [b, m] = W([]), [x, y] = W(null), [B, S] = W(null), [O, M] = W(""), [T, N] = W(0), Q = ie(null), _ = ie(null), X = ie(null), [K, U] = W([]), J = ie(null), te = di(l) && !F && !f, q = De(() => uc(K, O), [K, O]);
33032
+ const { hiverConvId: s, sendTrackingEvent: c, openEmojiPicker: D, boxedMessages: A } = pu(), g = u || A ? 2 : 4, h = u || A ? 40 : 80, p = yf(), d = nn(), [l, C] = W(""), [F, E] = W(!1), [b, m] = W([]), [x, y] = W(null), [B, S] = W(null), [O, M] = W(""), [T, N] = W(0), Q = ie(null), _ = ie(null), X = ie(null), [K, U] = W([]), J = ie(null), te = pi(l) && !F && !f, q = De(() => uc(K, O), [K, O]);
33024
33033
  oe(() => {
33025
33034
  N(0);
33026
33035
  }, [O, K.length]);
@@ -33703,7 +33712,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33703
33712
  ]
33704
33713
  }
33705
33714
  ) }),
33706
- /* @__PURE__ */ a.jsx(li, { ref: p, onScroll: B, boxed: c, children: A.isLoading ? /* @__PURE__ */ a.jsx(hj, { boxed: c }) : A.data ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
33715
+ /* @__PURE__ */ a.jsx(di, { ref: p, onScroll: B, boxed: c, children: A.isLoading ? /* @__PURE__ */ a.jsx(hj, { boxed: c }) : A.data ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
33707
33716
  /* @__PURE__ */ a.jsx(zr, { message: A.data.root, memberNames: h, mentionsResolving: n }),
33708
33717
  (m || E || b) && /* @__PURE__ */ a.jsx(q0, { isLoading: E, error: b, onLoad: F }),
33709
33718
  x.length > 0 && /* @__PURE__ */ a.jsx(GQ, { children: x.map(
@@ -33927,7 +33936,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33927
33936
  threadTs: (gn = s.data) == null ? void 0 : gn.externalThreadTs,
33928
33937
  targetKind: (Mt = s.data) == null ? void 0 : Mt.targetKind
33929
33938
  }), pn = i && ((In = s.data) != null && In.channelName) ? /* @__PURE__ */ a.jsx(Aj, { channelName: s.data.channelName, channelUrl: eu }) : null;
33930
- return s.isLoading ? /* @__PURE__ */ a.jsx(dn, { children: /* @__PURE__ */ a.jsx(li, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: "var(--connector-text-secondary)", padding: "12px 20px" }, children: "Loading messages…" }) }) }) : s.data && S ? /* @__PURE__ */ a.jsxs(dn, { children: [
33939
+ return s.isLoading ? /* @__PURE__ */ a.jsx(dn, { children: /* @__PURE__ */ a.jsx(di, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: "var(--connector-text-secondary)", padding: "12px 20px" }, children: "Loading messages…" }) }) }) : s.data && S ? /* @__PURE__ */ a.jsxs(dn, { children: [
33931
33940
  /* @__PURE__ */ a.jsx(gQ, { variant: S }),
33932
33941
  M()
33933
33942
  ] }) : s.data && C ? F ? /* @__PURE__ */ a.jsx(
@@ -33959,7 +33968,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33959
33968
  ] }),
33960
33969
  M()
33961
33970
  ] }) : !s.data || !T ? /* @__PURE__ */ a.jsxs(dn, { children: [
33962
- /* @__PURE__ */ a.jsx(li, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: "var(--connector-text-secondary)", padding: "12px 20px" }, children: "No messages in this thread yet." }) }),
33971
+ /* @__PURE__ */ a.jsx(di, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: "var(--connector-text-secondary)", padding: "12px 20px" }, children: "No messages in this thread yet." }) }),
33963
33972
  M()
33964
33973
  ] }) : /* @__PURE__ */ a.jsxs(dn, { ref: ue, children: [
33965
33974
  pn,
@@ -33973,7 +33982,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33973
33982
  collapsible: !0
33974
33983
  }
33975
33984
  ) }),
33976
- /* @__PURE__ */ a.jsxs(li, { ref: Q, onScroll: le, boxed: f, children: [
33985
+ /* @__PURE__ */ a.jsxs(di, { ref: Q, onScroll: le, boxed: f, children: [
33977
33986
  (q || J || te) && /* @__PURE__ */ a.jsx(q0, { isLoading: J, error: te, onLoad: U }),
33978
33987
  H.map((Ce) => /* @__PURE__ */ a.jsx(
33979
33988
  zr,
@@ -33997,7 +34006,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
33997
34006
  onConnected: u,
33998
34007
  sendTrackingEvent: r
33999
34008
  }) => {
34000
- const { state: o, connect: i } = wa(e, { onConnected: u }), f = o === "reauth_required" || o === "workspace_mismatch", s = de(() => {
34009
+ const { state: o, connect: i } = Ia(e, { onConnected: u }), f = o === "reauth_required" || o === "workspace_mismatch", s = de(() => {
34001
34010
  r == null || r(Es, { is_reauth: f }), i();
34002
34011
  }, [i, r, f]);
34003
34012
  if (!t) return null;
@@ -34075,7 +34084,7 @@ const z0 = (e) => nc.replace_colons(e), eA = /<@([A-Z0-9]+)>/g, RQ = (e) => /* @
34075
34084
  style: { width: "100%", maxWidth: e, height: "auto" }
34076
34085
  }
34077
34086
  ) }), wj = ({ connectorId: e, sendTrackingEvent: t }) => {
34078
- const { state: n, connect: u } = wa(e), r = n === "in_progress", o = de(() => {
34087
+ const { state: n, connect: u } = Ia(e), r = n === "in_progress", o = de(() => {
34079
34088
  t == null || t(Es, { is_reauth: !0 }), u();
34080
34089
  }, [u, t]);
34081
34090
  return /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(V0, { children: /* @__PURE__ */ a.jsxs(G0, { children: [
@@ -34997,7 +35006,7 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
34997
35006
  g("thread"), C(null), E(""), m(""), y({ channelName: "", channelType: "private", members: [], message: "", messageSlack: "" }), S(null), p(!1);
34998
35007
  }, []), _ = de(() => {
34999
35008
  Q(), t();
35000
- }, [Q, t]), X = !h && (A === "thread" ? !!l && di(F) : di(x.channelName) && di(x.message)), K = async () => {
35009
+ }, [Q, t]), X = !h && (A === "thread" ? !!l && pi(F) : pi(x.channelName) && pi(x.message)), K = async () => {
35001
35010
  if (X) {
35002
35011
  S(null), p(!0);
35003
35012
  try {
@@ -35109,7 +35118,7 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
35109
35118
  n,
35110
35119
  /* enabled */
35111
35120
  !0
35112
- ), { state: D } = wa(n, {
35121
+ ), { state: D } = Ia(n, {
35113
35122
  onConnected: () => o == null ? void 0 : o(ms)
35114
35123
  }), A = wf(
35115
35124
  t,
@@ -35135,15 +35144,15 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
35135
35144
  C(!0), A.refetch();
35136
35145
  }, [A]);
35137
35146
  if (s.isLoading)
35138
- return /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Ga, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) });
35147
+ return /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Xa, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) });
35139
35148
  if (s.data && !s.data.enabled) {
35140
35149
  const B = aP[s.data.reason] ?? "Slack isn’t available for you right now.";
35141
- return /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsxs(Ga, { children: [
35150
+ return /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsxs(Xa, { children: [
35142
35151
  /* @__PURE__ */ a.jsx(Y, { variant: "subtitle1", sx: { fontWeight: 600 }, children: "Slack" }),
35143
35152
  /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody, maxWidth: 320 }, children: B })
35144
35153
  ] }) });
35145
35154
  }
35146
- return c && D === "unknown" ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Ga, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) }) : m ? /* @__PURE__ */ a.jsx(wj, { connectorId: n, sendTrackingEvent: o }) : D === "connected" && A.isLoading ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Ga, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) }) : D === "connected" && A.data ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(bj, {}) }) : D === "connected" && l && !A.data ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(V0, { children: /* @__PURE__ */ a.jsxs(G0, { children: [
35155
+ return c && D === "unknown" ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Xa, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) }) : m ? /* @__PURE__ */ a.jsx(wj, { connectorId: n, sendTrackingEvent: o }) : D === "connected" && A.isLoading ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(Xa, { children: /* @__PURE__ */ a.jsx(Y, { variant: "body2", sx: { color: v.color.slateTextBody }, children: "Loading…" }) }) }) : D === "connected" && A.data ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(bj, {}) }) : D === "connected" && l && !A.data ? /* @__PURE__ */ a.jsx(mu, { children: /* @__PURE__ */ a.jsx(V0, { children: /* @__PURE__ */ a.jsxs(G0, { children: [
35147
35156
  /* @__PURE__ */ a.jsx(q3, { boxed: !!f }),
35148
35157
  /* @__PURE__ */ a.jsx(P, { gap: 2, alignItems: "center", children: /* @__PURE__ */ a.jsxs(
35149
35158
  Y,
@@ -35195,7 +35204,7 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
35195
35204
  MuiMenuItem: { styleOverrides: { root: { fontFamily: `${Mr} !important` } } },
35196
35205
  MuiChip: { styleOverrides: { root: { fontFamily: `${Mr} !important` } } }
35197
35206
  }
35198
- }, fP = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(os, { theme: (u) => Xi(u, iP), children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(O5, { value: n, children: e }) }) }) }) }) }), A_ = ({ theme: e = { mode: "light" }, ...t }) => /* @__PURE__ */ a.jsx(
35207
+ }, fP = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(os, { theme: (u) => zi(u, iP), children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(O5, { value: n, children: e }) }) }) }) }) }), A_ = ({ theme: e = { mode: "light" }, ...t }) => /* @__PURE__ */ a.jsx(
35199
35208
  bo,
35200
35209
  {
35201
35210
  className: "connector-theme-root",
@@ -35252,7 +35261,7 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
35252
35261
  MuiMenuItem: { styleOverrides: { root: { fontFamily: `${Qr} !important` } } },
35253
35262
  MuiChip: { styleOverrides: { root: { fontFamily: `${Qr} !important` } } }
35254
35263
  }
35255
- }, ic = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(os, { theme: (u) => Xi(u, sP), children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(O5, { value: { ...n, showChannelHeader: !0, boxedMessages: !0 }, children: e }) }) }) }) }) }), d_ = ({ theme: e = { mode: "light" }, ...t }) => /* @__PURE__ */ a.jsx(
35264
+ }, ic = ({ children: e, theme: t, ...n }) => /* @__PURE__ */ a.jsx(mo, { store: yr, children: /* @__PURE__ */ a.jsx(vr, { config: t, children: /* @__PURE__ */ a.jsx(os, { theme: (u) => zi(u, sP), children: /* @__PURE__ */ a.jsx(vo, { children: /* @__PURE__ */ a.jsx(ha, { fallback: /* @__PURE__ */ a.jsx(a.Fragment, {}), children: /* @__PURE__ */ a.jsx(O5, { value: { ...n, showChannelHeader: !0, boxedMessages: !0 }, children: e }) }) }) }) }) }), d_ = ({ theme: e = { mode: "light" }, ...t }) => /* @__PURE__ */ a.jsx(
35256
35265
  bo,
35257
35266
  {
35258
35267
  className: "connector-theme-root",
@@ -35501,7 +35510,7 @@ const oP = ({ channelId: e, message: t, onChannelChange: n, onMessageChange: u }
35501
35510
  /* enabled */
35502
35511
  !0
35503
35512
  );
35504
- const { state: D, connect: A } = wa(u, {
35513
+ const { state: D, connect: A } = Ia(u, {
35505
35514
  onConnected: () => i == null ? void 0 : i(ms)
35506
35515
  }), g = D === "connected", h = wf(n, g, s ? zM : 0), { data: p, isLoading: d } = e4(n, g && !!h.data), l = (Q = h.data) == null ? void 0 : Q.mentions, C = De(() => {
35507
35516
  const _ = /* @__PURE__ */ new Map();