@altimateai/ui-components 0.0.5 → 0.0.6-beta.3
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/dist/CoachForm.js +3667 -3759
- package/dist/Label.js +23 -0
- package/dist/NativeSelect.js +1358 -1569
- package/dist/Tooltip.js +1747 -1536
- package/dist/assets/icons/index.js +1 -1
- package/dist/index.js +24 -24
- package/dist/index2.js +4 -4
- package/dist/lineage/index.d.ts +7 -3
- package/dist/lineage/index.js +1494 -1413
- package/dist/main.js +144 -144
- package/dist/redux-toolkit.modern.js +1078 -986
- package/dist/shadcn/index.js +1412 -1428
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Card as vt, CardBody as an, CardTitle as un, FormGroup as Pt, Input as Ft, FormFeedback as
|
|
2
|
-
import { g as mt, a as cn, A as ve, C as nr, I as Ie, T as rr } from "./redux-toolkit.modern.js";
|
|
3
|
-
import { O as
|
|
1
|
+
import { Card as vt, CardBody as an, CardTitle as un, FormGroup as Pt, Input as Ft, FormFeedback as Kn, Collapse as Gn, Alert as ln, Col as Zn, CardImg as Qn, CardSubtitle as Jn, CardText as er, Row as tr } from "reactstrap";
|
|
2
|
+
import { g as mt, a as cn, A as ve, C as nr, I as Ie, u as dn, S as se, T as rr } from "./redux-toolkit.modern.js";
|
|
3
|
+
import { O as fn, P as lt, T as or, V as ir, W as sr, X as ar, Y as ur, Z as lr, _ as cr, $ as tt, a0 as dr, a1 as fr } from "./CoachForm.js";
|
|
4
4
|
import { j as v, A as pn, i as pr, k as gr, b as hr, C as vr, D as mr, E as Er, e as yr, d as br } from "./index2.js";
|
|
5
5
|
import * as te from "react";
|
|
6
6
|
import Z, { createContext as _e, useReducer as gn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as Cr, useEffect as le, useRef as Se, useId as hn, useInsertionEffect as Sr, Children as De, isValidElement as _r, useState as re, lazy as Ar } from "react";
|
|
7
7
|
import Tr, { createPortal as Et } from "react-dom";
|
|
8
|
-
import { E as ye,
|
|
8
|
+
import { E as ye, Q as Ir, M as vn, W as mn } from "./Tooltip.js";
|
|
9
9
|
import { useFormik as xr } from "formik";
|
|
10
|
-
import {
|
|
10
|
+
import { ay as Mt } from "./NativeSelect.js";
|
|
11
11
|
import './main.css';var yt = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(yt || {});
|
|
12
12
|
const Or = () => {
|
|
13
13
|
var r, i, n;
|
|
@@ -336,12 +336,12 @@ var En = { exports: {} };
|
|
|
336
336
|
}, b.setOption = function(T) {
|
|
337
337
|
b.options = u(u({}, b.options), T), b.painter = new h.default({ $root: b.options.$root, wrapTag: b.options.wrapTag, className: b.options.style.className, exceptSelectors: b.options.exceptSelectors }, b.hooks);
|
|
338
338
|
}, b.fromRange = function(T) {
|
|
339
|
-
var P = { $node: T.startContainer, offset: T.startOffset }, q = { $node: T.endContainer, offset: T.endOffset },
|
|
339
|
+
var P = { $node: T.startContainer, offset: T.startOffset }, q = { $node: T.endContainer, offset: T.endOffset }, W = T.toString(), F = b.hooks.Render.UUID.call(P, q, W);
|
|
340
340
|
F = F ?? f.default();
|
|
341
|
-
var V = new a.default(P, q,
|
|
341
|
+
var V = new a.default(P, q, W, F);
|
|
342
342
|
return V ? b._highlightFromHRange(V) : (E.eventEmitter.emit(E.INTERNAL_ERROR_EVENT, { type: C.ERROR.RANGE_INVALID }), null);
|
|
343
|
-
}, b.fromStore = function(T, P, q,
|
|
344
|
-
var V = new c.default(T, P, q,
|
|
343
|
+
}, b.fromStore = function(T, P, q, W, F) {
|
|
344
|
+
var V = new c.default(T, P, q, W, F);
|
|
345
345
|
try {
|
|
346
346
|
return b._highlightFromHSource(V), V;
|
|
347
347
|
} catch (N) {
|
|
@@ -631,8 +631,8 @@ var En = { exports: {} };
|
|
|
631
631
|
var C, S, I = new RegExp("(" + E + "\\" + p.ID_DIVISION + "|\\" + p.ID_DIVISION + "?" + E + "$)"), y = this.hooks, A = this.options.wrapTag, D = document.querySelectorAll(A + "[data-" + p.DATASET_IDENTIFIER + "]"), b = [], w = [], T = [];
|
|
632
632
|
try {
|
|
633
633
|
for (var P = o(D), q = P.next(); !q.done; q = P.next()) {
|
|
634
|
-
var
|
|
635
|
-
F !== E || V ? F === E ? w.push(
|
|
634
|
+
var W = q.value, F = W.dataset[p.CAMEL_DATASET_IDENTIFIER], V = W.dataset[p.CAMEL_DATASET_IDENTIFIER_EXTRA];
|
|
635
|
+
F !== E || V ? F === E ? w.push(W) : F !== E && I.test(V) && T.push(W) : b.push(W);
|
|
636
636
|
}
|
|
637
637
|
} catch (N) {
|
|
638
638
|
C = { error: N };
|
|
@@ -727,13 +727,13 @@ var En = { exports: {} };
|
|
|
727
727
|
if (T === C) {
|
|
728
728
|
if (T.nodeType === 3) {
|
|
729
729
|
T.splitText(I);
|
|
730
|
-
var
|
|
731
|
-
D.push({ $node:
|
|
730
|
+
var W = T.nextSibling;
|
|
731
|
+
D.push({ $node: W, type: u.SelectedNodeType.text, splitType: u.SplitType.head });
|
|
732
732
|
}
|
|
733
733
|
w = !0;
|
|
734
734
|
} else {
|
|
735
735
|
if (T === S) {
|
|
736
|
-
T.nodeType === 3 && ((
|
|
736
|
+
T.nodeType === 3 && ((W = T).splitText(y), D.push({ $node: W, type: u.SelectedNodeType.text, splitType: u.SplitType.tail }));
|
|
737
737
|
break;
|
|
738
738
|
}
|
|
739
739
|
w && T.nodeType === 3 && D.push({ $node: T, type: u.SelectedNodeType.text, splitType: u.SplitType.none });
|
|
@@ -757,12 +757,12 @@ var En = { exports: {} };
|
|
|
757
757
|
var T = b.dataset, P = T[d.CAMEL_DATASET_IDENTIFIER];
|
|
758
758
|
return T[d.CAMEL_DATASET_IDENTIFIER] = A.id, T[d.CAMEL_DATASET_IDENTIFIER_EXTRA] = T[d.CAMEL_DATASET_IDENTIFIER_EXTRA] ? P + d.ID_DIVISION + T[d.CAMEL_DATASET_IDENTIFIER_EXTRA] : P, w;
|
|
759
759
|
}(p, m, h) : function(y, A, D, b) {
|
|
760
|
-
var w = document.createElement(b), T = y.$node.parentNode, P = y.$node.previousSibling, q = y.$node.nextSibling,
|
|
760
|
+
var w = document.createElement(b), T = y.$node.parentNode, P = y.$node.previousSibling, q = y.$node.nextSibling, W = document.createDocumentFragment(), F = T.dataset[d.CAMEL_DATASET_IDENTIFIER], V = T.dataset[d.CAMEL_DATASET_IDENTIFIER_EXTRA], N = V ? F + d.ID_DIVISION + V : F;
|
|
761
761
|
w.setAttribute("data-" + d.DATASET_IDENTIFIER, A.id), w.setAttribute("data-" + d.DATASET_IDENTIFIER_EXTRA, N), w.appendChild(y.$node.cloneNode(!1));
|
|
762
762
|
var j, $ = !1, G = !1;
|
|
763
|
-
P && ((_ = T.cloneNode(!1)).textContent = P.textContent,
|
|
763
|
+
P && ((_ = T.cloneNode(!1)).textContent = P.textContent, W.appendChild(_), $ = !0);
|
|
764
764
|
var _, x = [];
|
|
765
|
-
return Array.isArray(D) ? x.push.apply(x, s(D)) : x.push(D), f(w, a.unique(x)),
|
|
765
|
+
return Array.isArray(D) ? x.push.apply(x, s(D)) : x.push(D), f(w, a.unique(x)), W.appendChild(w), q && ((_ = T.cloneNode(!1)).textContent = q.textContent, W.appendChild(_), G = !0), j = $ && G ? u.SplitType.both : $ ? u.SplitType.head : G ? u.SplitType.tail : u.SplitType.none, w.setAttribute("data-" + d.DATASET_SPLIT_TYPE, j), T.parentNode.replaceChild(W, T), w;
|
|
766
766
|
}(p, m, h, E) : function(y, A, D, b) {
|
|
767
767
|
var w = document.createElement(b);
|
|
768
768
|
return f(w, D), w.appendChild(y.$node.cloneNode(!1)), y.$node.parentNode.replaceChild(w, y.$node), w.setAttribute("data-" + d.DATASET_IDENTIFIER, A.id), w.setAttribute("data-" + d.DATASET_SPLIT_TYPE, y.splitType), w.setAttribute("data-" + d.DATASET_IDENTIFIER_EXTRA, ""), w;
|
|
@@ -902,7 +902,7 @@ const Br = {
|
|
|
902
902
|
codeblockLoaded: !1,
|
|
903
903
|
source: yt.DBT_DOCS,
|
|
904
904
|
manifest: {}
|
|
905
|
-
},
|
|
905
|
+
}, Xe = cn({
|
|
906
906
|
name: "appState",
|
|
907
907
|
initialState: Br,
|
|
908
908
|
reducers: {
|
|
@@ -1009,8 +1009,8 @@ const Br = {
|
|
|
1009
1009
|
refetchConversations: Sn,
|
|
1010
1010
|
setConversationSource: ws,
|
|
1011
1011
|
setManifest: Ur
|
|
1012
|
-
} =
|
|
1013
|
-
state:
|
|
1012
|
+
} = Xe.actions, Je = _e({
|
|
1013
|
+
state: Xe.getInitialState(),
|
|
1014
1014
|
dispatch: () => null,
|
|
1015
1015
|
getValue: () => null
|
|
1016
1016
|
}), qr = ({
|
|
@@ -1020,8 +1020,8 @@ const Br = {
|
|
|
1020
1020
|
conversationGroupId: n,
|
|
1021
1021
|
source: t
|
|
1022
1022
|
}) => {
|
|
1023
|
-
const [o, s] = gn(
|
|
1024
|
-
...
|
|
1023
|
+
const [o, s] = gn(Xe.reducer, {
|
|
1024
|
+
...Xe.getInitialState(),
|
|
1025
1025
|
shareId: r,
|
|
1026
1026
|
currentUserId: i,
|
|
1027
1027
|
selectedConversationId: n,
|
|
@@ -1051,11 +1051,11 @@ process.env.NODE_ENV !== "production" && (_n = (e, r) => {
|
|
|
1051
1051
|
if (!e)
|
|
1052
1052
|
throw new Error(r);
|
|
1053
1053
|
});
|
|
1054
|
-
const
|
|
1054
|
+
const Wr = _e(null), Yr = _e({}), Xr = _e({
|
|
1055
1055
|
transformPagePoint: (e) => e,
|
|
1056
1056
|
isStatic: !1,
|
|
1057
1057
|
reducedMotion: "never"
|
|
1058
|
-
}),
|
|
1058
|
+
}), Kr = typeof window < "u", Gr = Kr ? Cr : le;
|
|
1059
1059
|
function An(e) {
|
|
1060
1060
|
const r = Se(null);
|
|
1061
1061
|
return r.current === null && (r.current = e()), r.current;
|
|
@@ -1084,7 +1084,7 @@ function Qr({ children: e, isPresent: r }) {
|
|
|
1084
1084
|
height: 0,
|
|
1085
1085
|
top: 0,
|
|
1086
1086
|
left: 0
|
|
1087
|
-
}), { nonce: o } = be(
|
|
1087
|
+
}), { nonce: o } = be(Xr);
|
|
1088
1088
|
return Sr(() => {
|
|
1089
1089
|
const { width: s, height: u, top: l, left: d } = t.current;
|
|
1090
1090
|
if (r || !n.current || !s || !u)
|
|
@@ -1131,7 +1131,7 @@ const Jr = ({ children: e, initial: r, isPresent: i, onExitComplete: n, custom:
|
|
|
1131
1131
|
u.forEach((a, c) => u.set(c, !1));
|
|
1132
1132
|
}, [i]), te.useEffect(() => {
|
|
1133
1133
|
!i && !u.size && n && n();
|
|
1134
|
-
}, [i]), s === "popLayout" && (e = v.jsx(Qr, { isPresent: i, children: e })), v.jsx(
|
|
1134
|
+
}, [i]), s === "popLayout" && (e = v.jsx(Qr, { isPresent: i, children: e })), v.jsx(Wr.Provider, { value: d, children: e });
|
|
1135
1135
|
};
|
|
1136
1136
|
function eo() {
|
|
1137
1137
|
return /* @__PURE__ */ new Map();
|
|
@@ -1164,7 +1164,7 @@ const to = ({ children: e, exitBeforeEnter: r, custom: i, initial: n = !0, onExi
|
|
|
1164
1164
|
return;
|
|
1165
1165
|
}
|
|
1166
1166
|
process.env.NODE_ENV !== "production" && s === "wait" && p.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
1167
|
-
const { forceRender: E } = be(
|
|
1167
|
+
const { forceRender: E } = be(Yr);
|
|
1168
1168
|
return v.jsx(v.Fragment, { children: p.map((C) => {
|
|
1169
1169
|
const S = ke(C), I = u === p || l.includes(S), y = () => {
|
|
1170
1170
|
if (c.has(S))
|
|
@@ -1411,7 +1411,7 @@ function Do(e) {
|
|
|
1411
1411
|
function Ro() {
|
|
1412
1412
|
throw new TypeError("Invalid attempt to spread non-iterable instance");
|
|
1413
1413
|
}
|
|
1414
|
-
function
|
|
1414
|
+
function Ke(e) {
|
|
1415
1415
|
return Oo(e) || Do(e) || Ro();
|
|
1416
1416
|
}
|
|
1417
1417
|
function ue() {
|
|
@@ -1589,22 +1589,22 @@ function dt(e, r) {
|
|
|
1589
1589
|
function Vo(e) {
|
|
1590
1590
|
if (Array.isArray(e)) return dt(e);
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function Wo(e) {
|
|
1593
1593
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
1594
1594
|
}
|
|
1595
|
-
function
|
|
1595
|
+
function Yo(e, r) {
|
|
1596
1596
|
if (e) {
|
|
1597
1597
|
if (typeof e == "string") return dt(e, r);
|
|
1598
1598
|
var i = {}.toString.call(e).slice(8, -1);
|
|
1599
1599
|
return i === "Object" && e.constructor && (i = e.constructor.name), i === "Map" || i === "Set" ? Array.from(e) : i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i) ? dt(e, r) : void 0;
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function Xo() {
|
|
1603
1603
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1604
1604
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1605
1605
|
}
|
|
1606
1606
|
function he(e) {
|
|
1607
|
-
return Vo(e) ||
|
|
1607
|
+
return Vo(e) || Wo(e) || Yo(e) || Xo();
|
|
1608
1608
|
}
|
|
1609
1609
|
var Ne = function(r) {
|
|
1610
1610
|
return r === Object(r) ? Object.keys(r) : [];
|
|
@@ -1613,8 +1613,8 @@ var Ne = function(r) {
|
|
|
1613
1613
|
};
|
|
1614
1614
|
function xn(e, r) {
|
|
1615
1615
|
var i = Object.assign({}, e);
|
|
1616
|
-
return
|
|
1617
|
-
|
|
1616
|
+
return We(e) && We(r) && Ne(r).forEach(function(n) {
|
|
1617
|
+
We(r[n]) ? n in e ? i[n] = xn(e[n], r[n]) : Object.assign(i, Le({}, n, r[n])) : Object.assign(i, Le({}, n, r[n]));
|
|
1618
1618
|
}), i;
|
|
1619
1619
|
}
|
|
1620
1620
|
var ft = function(r) {
|
|
@@ -1623,13 +1623,13 @@ var ft = function(r) {
|
|
|
1623
1623
|
return n.reduce(function(o, s) {
|
|
1624
1624
|
return xn(o, s);
|
|
1625
1625
|
}, r);
|
|
1626
|
-
},
|
|
1626
|
+
}, Ko = function(r, i) {
|
|
1627
1627
|
var n = Object.assign({}, r);
|
|
1628
1628
|
if (i)
|
|
1629
1629
|
for (var t = 0; t < i.length; t++)
|
|
1630
1630
|
delete n[i[t]];
|
|
1631
1631
|
return n;
|
|
1632
|
-
},
|
|
1632
|
+
}, We = function(r) {
|
|
1633
1633
|
return r === Object(r) && !(r instanceof Date) && !Array.isArray(r);
|
|
1634
1634
|
}, Go = function(r) {
|
|
1635
1635
|
return (r || []).filter(Boolean);
|
|
@@ -1657,7 +1657,7 @@ var ft = function(r) {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
return o;
|
|
1659
1659
|
}, Jo = function e(r, i) {
|
|
1660
|
-
for (var n = ft.apply(void 0, [{},
|
|
1660
|
+
for (var n = ft.apply(void 0, [{}, Ko(r, i)].concat(he(In(On(r, i))))), t = Ne(n).filter(Ot), o = 0, s = t.length; o < s; o += 1) {
|
|
1661
1661
|
var u = t[o], l = e(n[u], i);
|
|
1662
1662
|
i.indexOf(u) >= 0 ? (delete n[u], n = ft({}, n, l)) : n[u] = l;
|
|
1663
1663
|
}
|
|
@@ -1752,7 +1752,7 @@ var ri = function(r) {
|
|
|
1752
1752
|
function Nn(e) {
|
|
1753
1753
|
var r = e.style, i = e.className, n = e.classNames, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Dn, o = i || ri(n) || (r == null ? void 0 : r.className), s = typeof r == "function" ? r : ni(function(c, f) {
|
|
1754
1754
|
var g = wn(c);
|
|
1755
|
-
Re(Array.isArray(g), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Re(!f ||
|
|
1755
|
+
Re(Array.isArray(g), "First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."), Re(!f || We(f), "Optional second parameter must be a plain object.");
|
|
1756
1756
|
var p = g.filter(Ot), m = g.filter(Zo), h = m.length > 0 ? function(S) {
|
|
1757
1757
|
return In(On(S, m));
|
|
1758
1758
|
} : function(S) {
|
|
@@ -1899,9 +1899,9 @@ var J = {};
|
|
|
1899
1899
|
* This source code is licensed under the MIT license found in the
|
|
1900
1900
|
* LICENSE file in the root directory of this source tree.
|
|
1901
1901
|
*/
|
|
1902
|
-
var
|
|
1902
|
+
var Wt;
|
|
1903
1903
|
function ai() {
|
|
1904
|
-
return
|
|
1904
|
+
return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1905
1905
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, a = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
1906
1906
|
function S(R) {
|
|
1907
1907
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -1939,7 +1939,7 @@ function ai() {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
|
-
var y = l, A = d, D = u, b = s, w = r, T = a, P = n, q = p,
|
|
1942
|
+
var y = l, A = d, D = u, b = s, w = r, T = a, P = n, q = p, W = g, F = i, V = o, N = t, j = c, $ = !1;
|
|
1943
1943
|
function G(R) {
|
|
1944
1944
|
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(R) || I(R) === l;
|
|
1945
1945
|
}
|
|
@@ -1958,7 +1958,7 @@ function ai() {
|
|
|
1958
1958
|
function M(R) {
|
|
1959
1959
|
return I(R) === a;
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1961
|
+
function Y(R) {
|
|
1962
1962
|
return I(R) === n;
|
|
1963
1963
|
}
|
|
1964
1964
|
function U(R) {
|
|
@@ -1967,34 +1967,34 @@ function ai() {
|
|
|
1967
1967
|
function z(R) {
|
|
1968
1968
|
return I(R) === g;
|
|
1969
1969
|
}
|
|
1970
|
-
function
|
|
1970
|
+
function X(R) {
|
|
1971
1971
|
return I(R) === i;
|
|
1972
1972
|
}
|
|
1973
1973
|
function ee(R) {
|
|
1974
1974
|
return I(R) === o;
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1976
|
+
function K(R) {
|
|
1977
1977
|
return I(R) === t;
|
|
1978
1978
|
}
|
|
1979
1979
|
function ie(R) {
|
|
1980
1980
|
return I(R) === c;
|
|
1981
1981
|
}
|
|
1982
|
-
J.AsyncMode = y, J.ConcurrentMode = A, J.ContextConsumer = D, J.ContextProvider = b, J.Element = w, J.ForwardRef = T, J.Fragment = P, J.Lazy = q, J.Memo =
|
|
1982
|
+
J.AsyncMode = y, J.ConcurrentMode = A, J.ContextConsumer = D, J.ContextProvider = b, J.Element = w, J.ForwardRef = T, J.Fragment = P, J.Lazy = q, J.Memo = W, J.Portal = F, J.Profiler = V, J.StrictMode = N, J.Suspense = j, J.isAsyncMode = G, J.isConcurrentMode = _, J.isContextConsumer = x, J.isContextProvider = L, J.isElement = B, J.isForwardRef = M, J.isFragment = Y, J.isLazy = U, J.isMemo = z, J.isPortal = X, J.isProfiler = ee, J.isStrictMode = K, J.isSuspense = ie, J.isValidElementType = S, J.typeOf = I;
|
|
1983
1983
|
}()), J;
|
|
1984
1984
|
}
|
|
1985
|
-
var
|
|
1985
|
+
var Yt;
|
|
1986
1986
|
function jn() {
|
|
1987
|
-
return
|
|
1987
|
+
return Yt || (Yt = 1, process.env.NODE_ENV === "production" ? Ue.exports = si() : Ue.exports = ai()), Ue.exports;
|
|
1988
1988
|
}
|
|
1989
1989
|
/*
|
|
1990
1990
|
object-assign
|
|
1991
1991
|
(c) Sindre Sorhus
|
|
1992
1992
|
@license MIT
|
|
1993
1993
|
*/
|
|
1994
|
-
var nt,
|
|
1994
|
+
var nt, Xt;
|
|
1995
1995
|
function ui() {
|
|
1996
|
-
if (
|
|
1997
|
-
|
|
1996
|
+
if (Xt) return nt;
|
|
1997
|
+
Xt = 1;
|
|
1998
1998
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
1999
1999
|
function n(o) {
|
|
2000
2000
|
if (o == null)
|
|
@@ -2037,10 +2037,10 @@ function ui() {
|
|
|
2037
2037
|
return l;
|
|
2038
2038
|
}, nt;
|
|
2039
2039
|
}
|
|
2040
|
-
var rt,
|
|
2040
|
+
var rt, Kt;
|
|
2041
2041
|
function Rt() {
|
|
2042
|
-
if (
|
|
2043
|
-
|
|
2042
|
+
if (Kt) return rt;
|
|
2043
|
+
Kt = 1;
|
|
2044
2044
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
2045
2045
|
return rt = e, rt;
|
|
2046
2046
|
}
|
|
@@ -2140,7 +2140,7 @@ function ci() {
|
|
|
2140
2140
|
oneOf: D,
|
|
2141
2141
|
oneOfType: w,
|
|
2142
2142
|
shape: q,
|
|
2143
|
-
exact:
|
|
2143
|
+
exact: W
|
|
2144
2144
|
};
|
|
2145
2145
|
function p(_, x) {
|
|
2146
2146
|
return _ === x ? _ !== 0 || 1 / _ === 1 / x : _ !== _ && x !== x;
|
|
@@ -2152,33 +2152,33 @@ function ci() {
|
|
|
2152
2152
|
function h(_) {
|
|
2153
2153
|
if (process.env.NODE_ENV !== "production")
|
|
2154
2154
|
var x = {}, L = 0;
|
|
2155
|
-
function B(
|
|
2156
|
-
if (
|
|
2155
|
+
function B(Y, U, z, X, ee, K, ie) {
|
|
2156
|
+
if (X = X || f, K = K || z, ie !== i) {
|
|
2157
2157
|
if (l) {
|
|
2158
2158
|
var R = new Error(
|
|
2159
2159
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
2160
2160
|
);
|
|
2161
2161
|
throw R.name = "Invariant Violation", R;
|
|
2162
2162
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
2163
|
-
var pe =
|
|
2163
|
+
var pe = X + ":" + z;
|
|
2164
2164
|
!x[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
2165
2165
|
L < 3 && (o(
|
|
2166
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
2166
|
+
"You are manually calling a React.PropTypes validation function for the `" + K + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
2167
2167
|
), x[pe] = !0, L++);
|
|
2168
2168
|
}
|
|
2169
2169
|
}
|
|
2170
|
-
return U[z] == null ?
|
|
2170
|
+
return U[z] == null ? Y ? U[z] === null ? new m("The " + ee + " `" + K + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new m("The " + ee + " `" + K + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : _(U, z, X, ee, K);
|
|
2171
2171
|
}
|
|
2172
2172
|
var M = B.bind(null, !1);
|
|
2173
2173
|
return M.isRequired = B.bind(null, !0), M;
|
|
2174
2174
|
}
|
|
2175
2175
|
function E(_) {
|
|
2176
|
-
function x(L, B, M,
|
|
2177
|
-
var
|
|
2176
|
+
function x(L, B, M, Y, U, z) {
|
|
2177
|
+
var X = L[B], ee = N(X);
|
|
2178
2178
|
if (ee !== _) {
|
|
2179
|
-
var
|
|
2179
|
+
var K = j(X);
|
|
2180
2180
|
return new m(
|
|
2181
|
-
"Invalid " +
|
|
2181
|
+
"Invalid " + Y + " `" + U + "` of type " + ("`" + K + "` supplied to `" + M + "`, expected ") + ("`" + _ + "`."),
|
|
2182
2182
|
{ expectedType: _ }
|
|
2183
2183
|
);
|
|
2184
2184
|
}
|
|
@@ -2190,50 +2190,50 @@ function ci() {
|
|
|
2190
2190
|
return h(s);
|
|
2191
2191
|
}
|
|
2192
2192
|
function S(_) {
|
|
2193
|
-
function x(L, B, M,
|
|
2193
|
+
function x(L, B, M, Y, U) {
|
|
2194
2194
|
if (typeof _ != "function")
|
|
2195
2195
|
return new m("Property `" + U + "` of component `" + M + "` has invalid PropType notation inside arrayOf.");
|
|
2196
2196
|
var z = L[B];
|
|
2197
2197
|
if (!Array.isArray(z)) {
|
|
2198
|
-
var
|
|
2199
|
-
return new m("Invalid " +
|
|
2198
|
+
var X = N(z);
|
|
2199
|
+
return new m("Invalid " + Y + " `" + U + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected an array."));
|
|
2200
2200
|
}
|
|
2201
2201
|
for (var ee = 0; ee < z.length; ee++) {
|
|
2202
|
-
var
|
|
2203
|
-
if (
|
|
2204
|
-
return
|
|
2202
|
+
var K = _(z, ee, M, Y, U + "[" + ee + "]", i);
|
|
2203
|
+
if (K instanceof Error)
|
|
2204
|
+
return K;
|
|
2205
2205
|
}
|
|
2206
2206
|
return null;
|
|
2207
2207
|
}
|
|
2208
2208
|
return h(x);
|
|
2209
2209
|
}
|
|
2210
2210
|
function I() {
|
|
2211
|
-
function _(x, L, B, M,
|
|
2211
|
+
function _(x, L, B, M, Y) {
|
|
2212
2212
|
var U = x[L];
|
|
2213
2213
|
if (!u(U)) {
|
|
2214
2214
|
var z = N(U);
|
|
2215
|
-
return new m("Invalid " + M + " `" +
|
|
2215
|
+
return new m("Invalid " + M + " `" + Y + "` of type " + ("`" + z + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
2216
2216
|
}
|
|
2217
2217
|
return null;
|
|
2218
2218
|
}
|
|
2219
2219
|
return h(_);
|
|
2220
2220
|
}
|
|
2221
2221
|
function y() {
|
|
2222
|
-
function _(x, L, B, M,
|
|
2222
|
+
function _(x, L, B, M, Y) {
|
|
2223
2223
|
var U = x[L];
|
|
2224
2224
|
if (!e.isValidElementType(U)) {
|
|
2225
2225
|
var z = N(U);
|
|
2226
|
-
return new m("Invalid " + M + " `" +
|
|
2226
|
+
return new m("Invalid " + M + " `" + Y + "` of type " + ("`" + z + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
2227
2227
|
}
|
|
2228
2228
|
return null;
|
|
2229
2229
|
}
|
|
2230
2230
|
return h(_);
|
|
2231
2231
|
}
|
|
2232
2232
|
function A(_) {
|
|
2233
|
-
function x(L, B, M,
|
|
2233
|
+
function x(L, B, M, Y, U) {
|
|
2234
2234
|
if (!(L[B] instanceof _)) {
|
|
2235
|
-
var z = _.name || f,
|
|
2236
|
-
return new m("Invalid " +
|
|
2235
|
+
var z = _.name || f, X = G(L[B]);
|
|
2236
|
+
return new m("Invalid " + Y + " `" + U + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected ") + ("instance of `" + z + "`."));
|
|
2237
2237
|
}
|
|
2238
2238
|
return null;
|
|
2239
2239
|
}
|
|
@@ -2244,30 +2244,30 @@ function ci() {
|
|
|
2244
2244
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
2245
2245
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2246
2246
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
2247
|
-
function x(L, B, M,
|
|
2248
|
-
for (var z = L[B],
|
|
2249
|
-
if (p(z, _[
|
|
2247
|
+
function x(L, B, M, Y, U) {
|
|
2248
|
+
for (var z = L[B], X = 0; X < _.length; X++)
|
|
2249
|
+
if (p(z, _[X]))
|
|
2250
2250
|
return null;
|
|
2251
2251
|
var ee = JSON.stringify(_, function(ie, R) {
|
|
2252
2252
|
var pe = j(R);
|
|
2253
2253
|
return pe === "symbol" ? String(R) : R;
|
|
2254
2254
|
});
|
|
2255
|
-
return new m("Invalid " +
|
|
2255
|
+
return new m("Invalid " + Y + " `" + U + "` of value `" + String(z) + "` " + ("supplied to `" + M + "`, expected one of " + ee + "."));
|
|
2256
2256
|
}
|
|
2257
2257
|
return h(x);
|
|
2258
2258
|
}
|
|
2259
2259
|
function b(_) {
|
|
2260
|
-
function x(L, B, M,
|
|
2260
|
+
function x(L, B, M, Y, U) {
|
|
2261
2261
|
if (typeof _ != "function")
|
|
2262
2262
|
return new m("Property `" + U + "` of component `" + M + "` has invalid PropType notation inside objectOf.");
|
|
2263
|
-
var z = L[B],
|
|
2264
|
-
if (
|
|
2265
|
-
return new m("Invalid " +
|
|
2263
|
+
var z = L[B], X = N(z);
|
|
2264
|
+
if (X !== "object")
|
|
2265
|
+
return new m("Invalid " + Y + " `" + U + "` of type " + ("`" + X + "` supplied to `" + M + "`, expected an object."));
|
|
2266
2266
|
for (var ee in z)
|
|
2267
2267
|
if (n(z, ee)) {
|
|
2268
|
-
var
|
|
2269
|
-
if (
|
|
2270
|
-
return
|
|
2268
|
+
var K = _(z, ee, M, Y, U + "." + ee, i);
|
|
2269
|
+
if (K instanceof Error)
|
|
2270
|
+
return K;
|
|
2271
2271
|
}
|
|
2272
2272
|
return null;
|
|
2273
2273
|
}
|
|
@@ -2283,21 +2283,21 @@ function ci() {
|
|
|
2283
2283
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(L) + " at index " + x + "."
|
|
2284
2284
|
), s;
|
|
2285
2285
|
}
|
|
2286
|
-
function B(M,
|
|
2287
|
-
for (var ee = [],
|
|
2288
|
-
var ie = _[
|
|
2286
|
+
function B(M, Y, U, z, X) {
|
|
2287
|
+
for (var ee = [], K = 0; K < _.length; K++) {
|
|
2288
|
+
var ie = _[K], R = ie(M, Y, U, z, X, i);
|
|
2289
2289
|
if (R == null)
|
|
2290
2290
|
return null;
|
|
2291
2291
|
R.data && n(R.data, "expectedType") && ee.push(R.data.expectedType);
|
|
2292
2292
|
}
|
|
2293
2293
|
var pe = ee.length > 0 ? ", expected one of type [" + ee.join(", ") + "]" : "";
|
|
2294
|
-
return new m("Invalid " + z + " `" +
|
|
2294
|
+
return new m("Invalid " + z + " `" + X + "` supplied to " + ("`" + U + "`" + pe + "."));
|
|
2295
2295
|
}
|
|
2296
2296
|
return h(B);
|
|
2297
2297
|
}
|
|
2298
2298
|
function T() {
|
|
2299
|
-
function _(x, L, B, M,
|
|
2300
|
-
return F(x[L]) ? null : new m("Invalid " + M + " `" +
|
|
2299
|
+
function _(x, L, B, M, Y) {
|
|
2300
|
+
return F(x[L]) ? null : new m("Invalid " + M + " `" + Y + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
2301
2301
|
}
|
|
2302
2302
|
return h(_);
|
|
2303
2303
|
}
|
|
@@ -2307,15 +2307,15 @@ function ci() {
|
|
|
2307
2307
|
);
|
|
2308
2308
|
}
|
|
2309
2309
|
function q(_) {
|
|
2310
|
-
function x(L, B, M,
|
|
2311
|
-
var z = L[B],
|
|
2312
|
-
if (
|
|
2313
|
-
return new m("Invalid " +
|
|
2310
|
+
function x(L, B, M, Y, U) {
|
|
2311
|
+
var z = L[B], X = N(z);
|
|
2312
|
+
if (X !== "object")
|
|
2313
|
+
return new m("Invalid " + Y + " `" + U + "` of type `" + X + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
2314
2314
|
for (var ee in _) {
|
|
2315
|
-
var
|
|
2316
|
-
if (typeof
|
|
2317
|
-
return P(M,
|
|
2318
|
-
var ie =
|
|
2315
|
+
var K = _[ee];
|
|
2316
|
+
if (typeof K != "function")
|
|
2317
|
+
return P(M, Y, U, ee, j(K));
|
|
2318
|
+
var ie = K(z, ee, M, Y, U + "." + ee, i);
|
|
2319
2319
|
if (ie)
|
|
2320
2320
|
return ie;
|
|
2321
2321
|
}
|
|
@@ -2323,22 +2323,22 @@ function ci() {
|
|
|
2323
2323
|
}
|
|
2324
2324
|
return h(x);
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2327
|
-
function x(L, B, M,
|
|
2328
|
-
var z = L[B],
|
|
2329
|
-
if (
|
|
2330
|
-
return new m("Invalid " +
|
|
2326
|
+
function W(_) {
|
|
2327
|
+
function x(L, B, M, Y, U) {
|
|
2328
|
+
var z = L[B], X = N(z);
|
|
2329
|
+
if (X !== "object")
|
|
2330
|
+
return new m("Invalid " + Y + " `" + U + "` of type `" + X + "` " + ("supplied to `" + M + "`, expected `object`."));
|
|
2331
2331
|
var ee = r({}, L[B], _);
|
|
2332
|
-
for (var
|
|
2333
|
-
var ie = _[
|
|
2334
|
-
if (n(_,
|
|
2335
|
-
return P(M,
|
|
2332
|
+
for (var K in ee) {
|
|
2333
|
+
var ie = _[K];
|
|
2334
|
+
if (n(_, K) && typeof ie != "function")
|
|
2335
|
+
return P(M, Y, U, K, j(ie));
|
|
2336
2336
|
if (!ie)
|
|
2337
2337
|
return new m(
|
|
2338
|
-
"Invalid " +
|
|
2338
|
+
"Invalid " + Y + " `" + U + "` key `" + K + "` supplied to `" + M + "`.\nBad object: " + JSON.stringify(L[B], null, " ") + `
|
|
2339
2339
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
2340
2340
|
);
|
|
2341
|
-
var R = ie(z,
|
|
2341
|
+
var R = ie(z, K, M, Y, U + "." + K, i);
|
|
2342
2342
|
if (R)
|
|
2343
2343
|
return R;
|
|
2344
2344
|
}
|
|
@@ -2473,7 +2473,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2473
2473
|
pt.exports = di()();
|
|
2474
2474
|
var gi = pt.exports;
|
|
2475
2475
|
const O = /* @__PURE__ */ mt(gi);
|
|
2476
|
-
var
|
|
2476
|
+
var Ye = function(r) {
|
|
2477
2477
|
return r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
2478
2478
|
}, ge = {
|
|
2479
2479
|
id: "__id__",
|
|
@@ -2567,8 +2567,8 @@ var We = function(r) {
|
|
|
2567
2567
|
var n = Pe(r, i), t = n[n.length - 1];
|
|
2568
2568
|
return t ? t.plainTextIndex + t.display.length : 0;
|
|
2569
2569
|
}, yi = function(r) {
|
|
2570
|
-
var i =
|
|
2571
|
-
return new RegExp(i.replace(ge.display, "([^".concat(
|
|
2570
|
+
var i = Ye(r), n = r[r.indexOf(ge.display) + ge.display.length], t = r[r.indexOf(ge.id) + ge.id.length];
|
|
2571
|
+
return new RegExp(i.replace(ge.display, "([^".concat(Ye(n || ""), "]+?)")).replace(ge.id, "([^".concat(Ye(t || ""), "]+?)")));
|
|
2572
2572
|
}, Ee = function(r) {
|
|
2573
2573
|
return De.toArray(r).map(function(i) {
|
|
2574
2574
|
var n = i.props, t = n.markup, o = n.regex, s = n.displayTransform;
|
|
@@ -3078,7 +3078,7 @@ function Hn(e) {
|
|
|
3078
3078
|
"aria-label": t
|
|
3079
3079
|
}, C("list")), Object.values(n).reduce(function($, G) {
|
|
3080
3080
|
var _ = G.results, x = G.queryInfo;
|
|
3081
|
-
return [].concat(
|
|
3081
|
+
return [].concat(Ke($), Ke(_.map(function(L, B) {
|
|
3082
3082
|
return P(L, x, $.length + B);
|
|
3083
3083
|
})));
|
|
3084
3084
|
}, []));
|
|
@@ -3099,7 +3099,7 @@ function Hn(e) {
|
|
|
3099
3099
|
return F(j, $);
|
|
3100
3100
|
},
|
|
3101
3101
|
onMouseEnter: function() {
|
|
3102
|
-
return
|
|
3102
|
+
return W(G);
|
|
3103
3103
|
}
|
|
3104
3104
|
});
|
|
3105
3105
|
}, q = function() {
|
|
@@ -3107,7 +3107,7 @@ function Hn(e) {
|
|
|
3107
3107
|
return /* @__PURE__ */ Z.createElement(ji, {
|
|
3108
3108
|
style: C("loadingIndicator")
|
|
3109
3109
|
});
|
|
3110
|
-
},
|
|
3110
|
+
}, W = function(j, $) {
|
|
3111
3111
|
y && y(j);
|
|
3112
3112
|
}, F = function(j, $) {
|
|
3113
3113
|
p(j, $);
|
|
@@ -3201,7 +3201,7 @@ var $i = function(r) {
|
|
|
3201
3201
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3202
3202
|
if (r instanceof RegExp)
|
|
3203
3203
|
return r;
|
|
3204
|
-
var n = i.allowSpaceInQuery, t =
|
|
3204
|
+
var n = i.allowSpaceInQuery, t = Ye(r);
|
|
3205
3205
|
return new RegExp("(?:^|\\s)(".concat(t, "([^").concat(n ? "" : "\\s").concat(t, "]*))$"));
|
|
3206
3206
|
}, Hi = function(r, i) {
|
|
3207
3207
|
return r instanceof Array ? function(n, t) {
|
|
@@ -3420,7 +3420,7 @@ var $i = function(r) {
|
|
|
3420
3420
|
}), H(k(t), "selectFocused", function() {
|
|
3421
3421
|
var o = t.state, s = o.suggestions, u = o.focusIndex, l = Object.values(s).reduce(function(c, f) {
|
|
3422
3422
|
var g = f.results, p = f.queryInfo;
|
|
3423
|
-
return [].concat(
|
|
3423
|
+
return [].concat(Ke(c), Ke(g.map(function(m) {
|
|
3424
3424
|
return {
|
|
3425
3425
|
result: m,
|
|
3426
3426
|
queryInfo: p
|
|
@@ -3546,8 +3546,8 @@ var $i = function(r) {
|
|
|
3546
3546
|
target: {
|
|
3547
3547
|
value: b
|
|
3548
3548
|
}
|
|
3549
|
-
}, q = Pe(b, p),
|
|
3550
|
-
t.executeOnChange(P, b,
|
|
3549
|
+
}, q = Pe(b, p), W = Fe(f, a, c, w);
|
|
3550
|
+
t.executeOnChange(P, b, W, q), I && I(u, l, y, A), t.clearSuggestions();
|
|
3551
3551
|
}), H(k(t), "isLoading", function() {
|
|
3552
3552
|
var o = !1;
|
|
3553
3553
|
return Z.Children.forEach(t.props.children, function(s) {
|
|
@@ -3773,7 +3773,7 @@ const Vi = {
|
|
|
3773
3773
|
}
|
|
3774
3774
|
}
|
|
3775
3775
|
}
|
|
3776
|
-
},
|
|
3776
|
+
}, Wi = ({
|
|
3777
3777
|
value: e,
|
|
3778
3778
|
setValue: r,
|
|
3779
3779
|
users: i,
|
|
@@ -3829,7 +3829,7 @@ const Vi = {
|
|
|
3829
3829
|
}) => /* @__PURE__ */ v.jsxs("div", { className: me.conversationInputForm, children: [
|
|
3830
3830
|
t ? /* @__PURE__ */ v.jsx(Tn, { user: t }) : null,
|
|
3831
3831
|
/* @__PURE__ */ v.jsx(
|
|
3832
|
-
|
|
3832
|
+
Wi,
|
|
3833
3833
|
{
|
|
3834
3834
|
value: e,
|
|
3835
3835
|
setValue: r,
|
|
@@ -3838,7 +3838,7 @@ const Vi = {
|
|
|
3838
3838
|
onEnterKeypress: s
|
|
3839
3839
|
}
|
|
3840
3840
|
),
|
|
3841
|
-
/* @__PURE__ */ v.jsx(
|
|
3841
|
+
/* @__PURE__ */ v.jsx(fn, { loading: i, color: "primary", children: /* @__PURE__ */ v.jsx(gr, {}) })
|
|
3842
3842
|
] }), qn = ({
|
|
3843
3843
|
meta: { highlight: e, filePath: r, field: i, column: n }
|
|
3844
3844
|
}) => {
|
|
@@ -3855,7 +3855,7 @@ const Vi = {
|
|
|
3855
3855
|
theme: "light"
|
|
3856
3856
|
}
|
|
3857
3857
|
) });
|
|
3858
|
-
},
|
|
3858
|
+
}, Yi = () => {
|
|
3859
3859
|
const e = ne((a) => a.users), r = ne(
|
|
3860
3860
|
(a) => a.newConversation
|
|
3861
3861
|
), i = ne(
|
|
@@ -3908,7 +3908,7 @@ const Vi = {
|
|
|
3908
3908
|
}
|
|
3909
3909
|
)
|
|
3910
3910
|
] }) }) });
|
|
3911
|
-
},
|
|
3911
|
+
}, Xi = ({
|
|
3912
3912
|
conversationGroupId: e,
|
|
3913
3913
|
shareId: r
|
|
3914
3914
|
}) => {
|
|
@@ -3941,8 +3941,8 @@ const Vi = {
|
|
|
3941
3941
|
] }),
|
|
3942
3942
|
/* @__PURE__ */ v.jsx("span", { children: lt(r).format("HH:mm, DD MMM YY") })
|
|
3943
3943
|
] }),
|
|
3944
|
-
i ? /* @__PURE__ */ v.jsx(
|
|
3945
|
-
] }),
|
|
3944
|
+
i ? /* @__PURE__ */ v.jsx(Xi, { conversationGroupId: n, shareId: t }) : null
|
|
3945
|
+
] }), Ki = ({ conversation: e, shareId: r }) => {
|
|
3946
3946
|
const { users: i } = Be(), n = fe(() => {
|
|
3947
3947
|
if (e != null && e.user_id)
|
|
3948
3948
|
return i[e.user_id];
|
|
@@ -4017,7 +4017,7 @@ const Vi = {
|
|
|
4017
4017
|
/* @__PURE__ */ v.jsx(qn, { meta: e.meta }),
|
|
4018
4018
|
/* @__PURE__ */ v.jsx("p", { children: d.message.replace(/@\[(.*?)\]\((.*?)\)/g, "@$2") }),
|
|
4019
4019
|
/* @__PURE__ */ v.jsx(ye, { onClick: () => u((g) => !g), variant: "link", children: c }),
|
|
4020
|
-
a.length ? /* @__PURE__ */ v.jsx(v.Fragment, { children: s ? /* @__PURE__ */ v.jsx(v.Fragment, { children: a.map((g) => /* @__PURE__ */ v.jsx(
|
|
4020
|
+
a.length ? /* @__PURE__ */ v.jsx(v.Fragment, { children: s ? /* @__PURE__ */ v.jsx(v.Fragment, { children: a.map((g) => /* @__PURE__ */ v.jsx(Ki, { conversation: g, shareId: r }, g.conversation_id)) }) : null }) : null,
|
|
4021
4021
|
s ? /* @__PURE__ */ v.jsx(
|
|
4022
4022
|
Gi,
|
|
4023
4023
|
{
|
|
@@ -4130,7 +4130,7 @@ const Vi = {
|
|
|
4130
4130
|
),
|
|
4131
4131
|
/* @__PURE__ */ v.jsxs("div", { className: me.conversationRightPanel, children: [
|
|
4132
4132
|
/* @__PURE__ */ v.jsx("h3", { children: "Comments" }),
|
|
4133
|
-
i ? /* @__PURE__ */ v.jsx(
|
|
4133
|
+
i ? /* @__PURE__ */ v.jsx(Yi, {}) : /* @__PURE__ */ v.jsx(Ji, {})
|
|
4134
4134
|
] })
|
|
4135
4135
|
] }) : null;
|
|
4136
4136
|
}, ts = 10, ns = () => {
|
|
@@ -4169,7 +4169,7 @@ const Vi = {
|
|
|
4169
4169
|
}, os = () => (rs(), ns(), /* @__PURE__ */ v.jsxs("div", { children: [
|
|
4170
4170
|
/* @__PURE__ */ v.jsx(es, {}),
|
|
4171
4171
|
/* @__PURE__ */ v.jsx(go, {})
|
|
4172
|
-
] })),
|
|
4172
|
+
] })), Wn = ({ target: e, ...r }) => Et(
|
|
4173
4173
|
/* @__PURE__ */ v.jsx(Ie, { className: me.hotspotButton, title: "Click to start conversation", ...r, children: /* @__PURE__ */ v.jsx(pn, {}) }),
|
|
4174
4174
|
e
|
|
4175
4175
|
), is = () => {
|
|
@@ -4211,7 +4211,7 @@ const Vi = {
|
|
|
4211
4211
|
return o.addEventListener("mousemove", u), () => {
|
|
4212
4212
|
o.removeEventListener("mousemove", u);
|
|
4213
4213
|
};
|
|
4214
|
-
}, [r, o, u]), !r || !o ? null : /* @__PURE__ */ v.jsx(
|
|
4214
|
+
}, [r, o, u]), !r || !o ? null : /* @__PURE__ */ v.jsx(Wn, { target: o, onClick: s, style: { top: n * 21.2 } });
|
|
4215
4215
|
}, ss = () => {
|
|
4216
4216
|
const e = ce(), r = ne(
|
|
4217
4217
|
(t) => t.codeblockLoaded
|
|
@@ -4222,7 +4222,7 @@ const Vi = {
|
|
|
4222
4222
|
};
|
|
4223
4223
|
e(xt({ meta: t }));
|
|
4224
4224
|
};
|
|
4225
|
-
return !r || !i ? null : /* @__PURE__ */ v.jsx(
|
|
4225
|
+
return !r || !i ? null : /* @__PURE__ */ v.jsx(Wn, { target: i, onClick: n });
|
|
4226
4226
|
}, as = () => /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
4227
4227
|
/* @__PURE__ */ v.jsx(ss, {}),
|
|
4228
4228
|
/* @__PURE__ */ v.jsx(is, {})
|
|
@@ -4250,18 +4250,18 @@ const Vi = {
|
|
|
4250
4250
|
source: n,
|
|
4251
4251
|
children: /* @__PURE__ */ v.jsx(ls, {})
|
|
4252
4252
|
}
|
|
4253
|
-
) }),
|
|
4253
|
+
) }), Yn = {
|
|
4254
4254
|
showCoachingForm: !1
|
|
4255
4255
|
}, ht = cn({
|
|
4256
4256
|
name: "teamMate",
|
|
4257
|
-
initialState:
|
|
4257
|
+
initialState: Yn,
|
|
4258
4258
|
reducers: {
|
|
4259
4259
|
setShowCoachingForm: (e, r) => {
|
|
4260
4260
|
e.showCoachingForm = r.payload;
|
|
4261
4261
|
}
|
|
4262
4262
|
}
|
|
4263
|
-
}), cs = ht.actions,
|
|
4264
|
-
state:
|
|
4263
|
+
}), cs = ht.actions, Xn = _e({
|
|
4264
|
+
state: Yn,
|
|
4265
4265
|
dispatch: () => null
|
|
4266
4266
|
}), js = ({ children: e }) => {
|
|
4267
4267
|
const [r, i] = gn(ht.reducer, ht.getInitialState()), n = fe(
|
|
@@ -4271,11 +4271,11 @@ const Vi = {
|
|
|
4271
4271
|
}),
|
|
4272
4272
|
[r, i]
|
|
4273
4273
|
);
|
|
4274
|
-
return /* @__PURE__ */ v.jsx(
|
|
4274
|
+
return /* @__PURE__ */ v.jsx(Xn.Provider, { value: n, children: e });
|
|
4275
4275
|
}, ds = (e) => /* @__PURE__ */ te.createElement("svg", { width: 131, height: 131, viewBox: "0 0 131 131", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ te.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#EAEEF9" }), /* @__PURE__ */ te.createElement("mask", { id: "mask0_3506_13710", style: {
|
|
4276
4276
|
maskType: "alpha"
|
|
4277
4277
|
}, maskUnits: "userSpaceOnUse", x: -1, y: -1, width: 132, height: 132 }, /* @__PURE__ */ te.createElement("path", { d: "M65 130C100.899 130 130 100.899 130 65C130 29.1015 100.899 0 65 0C29.1015 0 0 29.1015 0 65C0 100.899 29.1015 130 65 130Z", fill: "#F1F3F9", stroke: "#D6DCE8", strokeWidth: 2, strokeMiterlimit: 10 })), /* @__PURE__ */ te.createElement("g", { mask: "url(#mask0_3506_13710)" }, /* @__PURE__ */ te.createElement("g", { filter: "url(#filter0_d_3506_13710)" }, /* @__PURE__ */ te.createElement("path", { d: "M110.116 47.3781L111.286 125.57C111.286 128.145 109.179 130.252 106.37 130.252H30.051C27.4758 130.252 25.1348 128.145 25.1348 125.57V25.138C25.1348 22.5628 27.2417 20.4559 30.051 20.4559H85.3002L110.116 47.3781Z", fill: "url(#paint0_linear_3506_13710)" })), /* @__PURE__ */ te.createElement("path", { d: "M85.3008 20.4559V41.9937C85.3008 45.0371 87.876 47.3782 90.9193 47.3782H110.116", fill: "#D5DDEA" })), /* @__PURE__ */ te.createElement("path", { d: "M119.221 27.592L120.664 26.951C121.144 26.7908 121.144 26.1498 120.664 25.9896L119.221 25.3486C117.459 24.5475 116.017 23.1053 115.215 21.3427L114.575 19.9006C114.414 19.4199 113.773 19.4199 113.613 19.9006L112.972 21.3427C112.171 23.1053 110.729 24.5475 108.966 25.3486L107.524 25.9896C107.043 26.1498 107.043 26.7908 107.524 26.951L108.966 27.592C110.729 28.3931 112.171 29.8353 112.972 31.5979L113.613 33.04C113.773 33.5207 114.414 33.5207 114.575 33.04L115.215 31.5979C115.856 29.8353 117.299 28.3931 119.221 27.592Z", fill: "#989FB0" }), /* @__PURE__ */ te.createElement("path", { d: "M103.678 18.4585L104.64 17.9777C104.96 17.8175 104.96 17.497 104.64 17.3368L103.678 17.0163C102.397 16.5356 101.435 15.5742 100.954 14.2923L100.474 13.3309C100.313 13.0104 99.993 13.0104 99.8327 13.3309L99.5123 14.2923C98.8713 15.5742 97.9099 16.5356 96.7882 17.0163L95.6666 17.497C95.5063 17.497 95.5063 17.9777 95.6666 17.9777L96.628 18.4585C97.9099 18.9392 98.8713 19.9006 99.5123 21.1825L99.993 22.1439C100.153 22.4644 100.474 22.4644 100.634 22.1439L100.954 21.1825C101.435 19.9006 102.397 18.9392 103.678 18.4585Z", fill: "#989FB0" }), /* @__PURE__ */ te.createElement("path", { d: "M116.016 9.16483L116.817 8.84435C116.978 8.68412 116.978 8.52388 116.817 8.36364L116.016 8.04317C115.055 7.7227 114.414 6.92151 113.933 5.96009L113.613 5.1589C113.452 4.99867 113.292 4.99867 113.132 5.1589L112.811 5.96009C112.491 6.92151 111.69 7.56246 110.728 8.04317L110.248 8.36364C109.927 8.52388 109.927 8.84435 110.248 8.84435L111.049 9.16483C112.01 9.4853 112.651 10.2865 113.132 11.2479L113.452 12.0491C113.613 12.2093 113.773 12.2093 113.933 12.0491L114.254 11.2479C114.414 10.2865 115.215 9.4853 116.016 9.16483Z", fill: "#989FB0" }), /* @__PURE__ */ te.createElement("path", { d: "M53.7864 71.8552C50.2113 71.8552 47.2082 69.5695 46.0642 66.2838C45.7782 65.5695 46.2072 64.8552 46.9222 64.5695C47.6372 64.2838 48.3523 64.7124 48.6383 65.4266C49.3533 67.5695 51.4983 69.1409 53.7864 69.1409C56.0744 69.1409 58.2195 67.7124 58.9345 65.4266C59.2205 64.7124 59.9355 64.2838 60.6506 64.5695C61.3656 64.8552 61.7946 65.5695 61.5086 66.2838C60.3646 69.7124 57.3615 71.8552 53.7864 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ te.createElement("path", { d: "M75.3801 71.8552C71.805 71.8552 68.802 69.5695 67.6579 66.2838C67.3719 65.5695 67.8009 64.8552 68.516 64.5695C69.231 64.2838 69.946 64.7124 70.232 65.4266C70.947 67.5695 73.0921 69.1409 75.3801 69.1409C77.6682 69.1409 79.8133 67.7124 80.5283 65.4266C80.8143 64.7124 81.5293 64.2838 82.2443 64.5695C82.9593 64.8552 83.3883 65.5695 83.1023 66.2838C81.9583 69.7124 78.9552 71.8552 75.3801 71.8552Z", fill: "#ADB6C8" }), /* @__PURE__ */ te.createElement("path", { d: "M64.6548 89.3467C66.4713 89.3467 67.9439 87.8756 67.9439 86.061C67.9439 84.2463 66.4713 82.7752 64.6548 82.7752C62.8383 82.7752 61.3657 84.2463 61.3657 86.061C61.3657 87.8756 62.8383 89.3467 64.6548 89.3467Z", fill: "#ADB6C8" }), /* @__PURE__ */ te.createElement("defs", null, /* @__PURE__ */ te.createElement("filter", { id: "filter0_d_3506_13710", x: 3.13477, y: 9.45586, width: 130.151, height: 153.796, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ te.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ te.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ te.createElement("feOffset", { dy: 11 }), /* @__PURE__ */ te.createElement("feGaussianBlur", { stdDeviation: 11 }), /* @__PURE__ */ te.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0" }), /* @__PURE__ */ te.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_3506_13710" }), /* @__PURE__ */ te.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_3506_13710", result: "shape" })), /* @__PURE__ */ te.createElement("linearGradient", { id: "paint0_linear_3506_13710", x1: 68.1823, y1: 17.9162, x2: 68.1823, y2: 131.436, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ te.createElement("stop", { stopColor: "#FDFEFF" }), /* @__PURE__ */ te.createElement("stop", { offset: 0.9964, stopColor: "#ECF0F5" })))), fs = () => {
|
|
4278
|
-
const e = be(
|
|
4278
|
+
const e = be(Xn);
|
|
4279
4279
|
if (e === void 0)
|
|
4280
4280
|
throw new Error("useTeamMateContext must be used within a TeamMateProvider");
|
|
4281
4281
|
return e;
|
|
@@ -4297,7 +4297,7 @@ const Vi = {
|
|
|
4297
4297
|
`coach/training/${e.train_doc_uid}`,
|
|
4298
4298
|
{},
|
|
4299
4299
|
{ method: "DELETE" }
|
|
4300
|
-
), { loading: p, error: m, mutate: h } =
|
|
4300
|
+
), { loading: p, error: m, mutate: h } = dn({
|
|
4301
4301
|
queryFn: g,
|
|
4302
4302
|
onSuccess: r
|
|
4303
4303
|
}), E = (A) => {
|
|
@@ -4326,7 +4326,7 @@ const Vi = {
|
|
|
4326
4326
|
style: { fieldSizing: "content" }
|
|
4327
4327
|
}
|
|
4328
4328
|
),
|
|
4329
|
-
s.content ? /* @__PURE__ */ v.jsx(
|
|
4329
|
+
s.content ? /* @__PURE__ */ v.jsx(Kn, { children: s.content }) : null
|
|
4330
4330
|
] }) : /* @__PURE__ */ v.jsx("h6", { className: y ? "" : "lines-2", children: a.content }) }),
|
|
4331
4331
|
/* @__PURE__ */ v.jsx(se, { children: /* @__PURE__ */ v.jsxs("dl", { children: [
|
|
4332
4332
|
/* @__PURE__ */ v.jsxs(se, { children: [
|
|
@@ -4487,7 +4487,7 @@ const Vi = {
|
|
|
4487
4487
|
/* @__PURE__ */ v.jsx("h4", { children: "No learnings added yet!" })
|
|
4488
4488
|
] }) });
|
|
4489
4489
|
}, gs = ({ config: e, client: r, onSelect: i }) => {
|
|
4490
|
-
const n = async () => await i(e, tt.REQUEST_ACCESS), { loading: t, mutate: o, data: s } =
|
|
4490
|
+
const n = async () => await i(e, tt.REQUEST_ACCESS), { loading: t, mutate: o, data: s } = dn({
|
|
4491
4491
|
queryFn: n
|
|
4492
4492
|
}), u = typeof e.comingSoon == "function" ? e.comingSoon() : e.comingSoon;
|
|
4493
4493
|
return /* @__PURE__ */ v.jsx(Zn, { children: /* @__PURE__ */ v.jsxs(vt, { children: [
|
|
@@ -4506,7 +4506,7 @@ const Vi = {
|
|
|
4506
4506
|
/* @__PURE__ */ v.jsxs(se, { className: "justify-content-start align-items-center", children: [
|
|
4507
4507
|
u ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
4508
4508
|
/* @__PURE__ */ v.jsx(
|
|
4509
|
-
|
|
4509
|
+
fn,
|
|
4510
4510
|
{
|
|
4511
4511
|
size: "sm",
|
|
4512
4512
|
className: "cursor-pointer",
|