@alxxsck/ai-assistant 3.1.0 → 3.1.1
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/{Avatar-B9TOQAF_.js → Avatar-BEFdTGUO.js} +1 -1
- package/dist/{ChatWidgetContent-BuhVlKYA.js → ChatWidgetContent-DgqGYpfR.js} +325 -322
- package/dist/bridge-ai-chat-widget.es.js +1 -1
- package/dist/{index-DCsPGgIk.js → index-BjqiRD4Q.js} +21 -21
- package/dist/{mount-BpvW4tbc.js → mount-FL9HC10U.js} +4 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as K, jsxs as Ft, Fragment as pc } from "react/jsx-runtime";
|
|
2
2
|
import * as O from "react";
|
|
3
3
|
import st, { createContext as an, useContext as un, useState as be, useCallback as ce, useRef as q, useMemo as rn, useEffect as ae, useLayoutEffect as bn, useId as Yo, forwardRef as ah, Fragment as ii, isValidElement as uh, cloneElement as ch, createElement as xo, memo as lh, useSyncExternalStore as mc, Suspense as dh, lazy as hh, Component as fh } from "react";
|
|
4
|
-
import { l as pe, L as Gt, a as ph, n as mh, g as gh, i as bh, P as Ch, S as yh, b as Ih, c as vh, o as Ah } from "./index-
|
|
4
|
+
import { l as pe, L as Gt, a as ph, n as mh, g as gh, i as bh, P as Ch, S as yh, b as Ih, c as vh, o as Ah } from "./index-BjqiRD4Q.js";
|
|
5
5
|
import { createRoot as wh } from "react-dom/client";
|
|
6
6
|
function _a(t) {
|
|
7
7
|
return typeof t == "object" && t != null && "pathname" in t && "search" in t && "hash" in t && "state" in t && "key" in t;
|
|
@@ -18878,7 +18878,7 @@ function bI() {
|
|
|
18878
18878
|
});
|
|
18879
18879
|
let V = null;
|
|
18880
18880
|
const R = r.onAvatarLoadStarted();
|
|
18881
|
-
return import("./Avatar-
|
|
18881
|
+
return import("./Avatar-BEFdTGUO.js").then(({ Avatar: X }) => {
|
|
18882
18882
|
if (D) return;
|
|
18883
18883
|
const H = {
|
|
18884
18884
|
...r,
|
|
@@ -18930,7 +18930,7 @@ function bI() {
|
|
|
18930
18930
|
/* @__PURE__ */ Ft(
|
|
18931
18931
|
"div",
|
|
18932
18932
|
{
|
|
18933
|
-
className: "chat-avatar-stage__canvas absolute
|
|
18933
|
+
className: "chat-avatar-stage__canvas absolute",
|
|
18934
18934
|
"data-hidden": h || void 0,
|
|
18935
18935
|
children: [
|
|
18936
18936
|
/* @__PURE__ */ K(
|
|
@@ -23019,7 +23019,7 @@ function gA(t) {
|
|
|
23019
23019
|
...t.kind === "INFO" && t.message.ordinal !== void 0 ? { presentationOrdinal: t.message.ordinal } : {}
|
|
23020
23020
|
};
|
|
23021
23021
|
}
|
|
23022
|
-
const bA = 250, CA = hh(() => import("./ChatWidgetContent-
|
|
23022
|
+
const bA = 250, CA = hh(() => import("./ChatWidgetContent-DgqGYpfR.js")), yA = (t) => {
|
|
23023
23023
|
const e = /* @__PURE__ */ new Set(), n = t.getSnapshot(), r = new Set(
|
|
23024
23024
|
[n.active, ...n.queue].flatMap(
|
|
23025
23025
|
(s) => s?.messageId ? [s.messageId] : []
|